@pisell/materials 6.11.35 → 6.11.37
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/Pagination/index.d.ts +0 -1
- package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +0 -1
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
- package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +0 -1
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
- package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +0 -1
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +0 -1
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -1
- package/es/components/PisellCards/index.d.ts +0 -1
- package/es/components/PisellFields/index.d.ts +0 -1
- package/es/components/PisellLayouts/index.d.ts +0 -1
- package/es/components/appVersionControl/index.d.ts +0 -1
- package/es/components/auto-complete-number/index.d.ts +0 -1
- package/es/components/badge/index.d.ts +0 -1
- package/es/components/batch-editor/fields/index.d.ts +0 -1
- package/es/components/batch-editor/index.d.ts +0 -1
- package/es/components/calendar/index.d.ts +0 -1
- package/es/components/cardPro/index.d.ts +0 -1
- package/es/components/checkbox/index.d.ts +0 -1
- package/es/components/classicLayout/index.d.ts +0 -1
- package/es/components/colorPicker/index.d.ts +0 -1
- package/es/components/config-provider/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/date-picker/datePickerCpt.d.ts +0 -1
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
- package/es/components/drag-sort-tree/index.d.ts +0 -1
- package/es/components/dropdown/index.d.ts +0 -1
- package/es/components/filter/components/items/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/es/components/filter/components/items/text/index.d.ts +0 -1
- package/es/components/filter/index.d.ts +0 -1
- package/es/components/list/index.d.ts +0 -1
- package/es/components/lowCodePage/index.d.ts +0 -1
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/index.d.ts +0 -1
- package/es/components/pisellCard/index.d.ts +0 -1
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- package/es/components/pisellFilter/index.d.ts +0 -1
- package/es/components/pisellGridPro/GridView/index.d.ts +0 -1
- package/es/components/pisellGridPro/components/DataCard/index.d.ts +0 -1
- package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/pisellLoading/index.d.ts +0 -1
- package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/index.d.ts +0 -1
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +57 -18
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -2
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +31 -119
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +21 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +9 -1
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +10 -2
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +9 -3
- package/es/components/pisellRecordBoard/types.d.ts +2 -1
- package/es/components/pisellRecordBoard/types.js +2 -1
- package/es/components/pisellSort/index.d.ts +0 -1
- package/es/components/pisellTooltip/index.d.ts +0 -1
- package/es/components/pisellUpload/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/es/components/productCard/components/Action/index.d.ts +0 -1
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/components/Divider/index.d.ts +0 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/es/components/productCard/components/Header/index.d.ts +0 -1
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/index.d.ts +0 -1
- package/es/components/productCard/components/Sales/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
- package/es/components/productCard/components/Time/index.d.ts +0 -1
- package/es/components/qrcode/index.d.ts +0 -1
- package/es/components/radio/index.d.ts +0 -1
- package/es/components/segmented/index.d.ts +0 -1
- package/es/components/select-time/RightPanel/index.d.ts +0 -1
- package/es/components/select-time/index.d.ts +0 -1
- package/es/components/skeleton/index.d.ts +0 -1
- package/es/components/slider/index.d.ts +0 -1
- package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
- package/es/components/table/Actions/component/Group/index.d.ts +0 -1
- package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/es/components/table/Actions/index.d.ts +0 -1
- package/es/components/table/BasicTable/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/es/components/table/Summary/index.d.ts +0 -1
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/TableFilter/SortIcon.d.ts +0 -1
- package/es/components/table/View/index.d.ts +0 -1
- package/es/components/time-picker/index.d.ts +0 -1
- package/es/components/upload/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
- package/es/components/walletCard/Guest/index.d.ts +0 -1
- package/es/components/walletCard/Guide/index.d.ts +0 -1
- package/es/locales/en-US.d.ts +2 -0
- package/es/locales/en-US.js +5 -3
- package/es/locales/ja.d.ts +2 -0
- package/es/locales/ja.js +5 -3
- package/es/locales/pt.d.ts +2 -0
- package/es/locales/pt.js +4 -2
- package/es/locales/zh-CN.d.ts +2 -0
- package/es/locales/zh-CN.js +6 -4
- package/es/locales/zh-TW.d.ts +2 -0
- package/es/locales/zh-TW.js +6 -4
- package/es/pisell-materials.tw.css +1 -1
- package/lib/components/Pagination/index.d.ts +0 -1
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +0 -1
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
- package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +0 -1
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +0 -1
- package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +0 -1
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +0 -1
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -1
- package/lib/components/PisellCards/index.d.ts +0 -1
- package/lib/components/PisellFields/index.d.ts +0 -1
- package/lib/components/PisellLayouts/index.d.ts +0 -1
- package/lib/components/appVersionControl/index.d.ts +0 -1
- package/lib/components/auto-complete-number/index.d.ts +0 -1
- package/lib/components/badge/index.d.ts +0 -1
- package/lib/components/batch-editor/fields/index.d.ts +0 -1
- package/lib/components/batch-editor/index.d.ts +0 -1
- package/lib/components/calendar/index.d.ts +0 -1
- package/lib/components/cardPro/index.d.ts +0 -1
- package/lib/components/checkbox/index.d.ts +0 -1
- package/lib/components/classicLayout/index.d.ts +0 -1
- package/lib/components/colorPicker/index.d.ts +0 -1
- package/lib/components/config-provider/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/index.d.ts +0 -1
- package/lib/components/dropdown/index.d.ts +0 -1
- package/lib/components/filter/components/items/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/index.d.ts +0 -1
- package/lib/components/filter/index.d.ts +0 -1
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/lowCodePage/index.d.ts +0 -1
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
- package/lib/components/pisellCard/index.d.ts +0 -1
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
- package/lib/components/pisellFilter/index.d.ts +0 -1
- package/lib/components/pisellGridPro/GridView/index.d.ts +0 -1
- package/lib/components/pisellGridPro/components/DataCard/index.d.ts +0 -1
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/pisellLoading/index.d.ts +0 -1
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/index.d.ts +0 -1
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +38 -13
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -2
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +5 -92
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +21 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +6 -1
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +12 -2
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +3 -1
- package/lib/components/pisellRecordBoard/types.d.ts +2 -1
- package/lib/components/pisellSort/index.d.ts +0 -1
- package/lib/components/pisellTooltip/index.d.ts +0 -1
- package/lib/components/pisellUpload/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/lib/components/productCard/components/Action/index.d.ts +0 -1
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/components/Divider/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/index.d.ts +0 -1
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/index.d.ts +0 -1
- package/lib/components/productCard/components/Sales/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/index.d.ts +0 -1
- package/lib/components/qrcode/index.d.ts +0 -1
- package/lib/components/radio/index.d.ts +0 -1
- package/lib/components/segmented/index.d.ts +0 -1
- package/lib/components/select-time/RightPanel/index.d.ts +0 -1
- package/lib/components/select-time/index.d.ts +0 -1
- package/lib/components/skeleton/index.d.ts +0 -1
- package/lib/components/slider/index.d.ts +0 -1
- package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
- package/lib/components/table/Actions/index.d.ts +0 -1
- package/lib/components/table/BasicTable/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/lib/components/table/Summary/index.d.ts +0 -1
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/TableFilter/SortIcon.d.ts +0 -1
- package/lib/components/table/View/index.d.ts +0 -1
- package/lib/components/time-picker/index.d.ts +0 -1
- package/lib/components/upload/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
- package/lib/components/walletCard/Guest/index.d.ts +0 -1
- package/lib/components/walletCard/Guide/index.d.ts +0 -1
- package/lib/locales/en-US.d.ts +2 -0
- package/lib/locales/en-US.js +5 -3
- package/lib/locales/ja.d.ts +2 -0
- package/lib/locales/ja.js +5 -3
- package/lib/locales/pt.d.ts +2 -0
- package/lib/locales/pt.js +4 -2
- package/lib/locales/zh-CN.d.ts +2 -0
- package/lib/locales/zh-CN.js +6 -4
- package/lib/locales/zh-TW.d.ts +2 -0
- package/lib/locales/zh-TW.js +6 -4
- package/lib/pisell-materials.tw.css +1 -1
- package/package.json +3 -3
|
@@ -130,18 +130,12 @@ var PisellRecordBoardResourceWallView = (props) => {
|
|
|
130
130
|
if (!wallSelectedIds.length) {
|
|
131
131
|
return [];
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
const hit = cardByResourceId.get(
|
|
136
|
-
if (hit)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
return {
|
|
140
|
-
resourceId: key,
|
|
141
|
-
resource: key,
|
|
142
|
-
status: "available"
|
|
143
|
-
};
|
|
144
|
-
});
|
|
133
|
+
const result = [];
|
|
134
|
+
for (const id of wallSelectedIds) {
|
|
135
|
+
const hit = cardByResourceId.get(String(id));
|
|
136
|
+
if (hit) result.push(hit);
|
|
137
|
+
}
|
|
138
|
+
return result;
|
|
145
139
|
}, [cardByResourceId, wallSelectedIds]);
|
|
146
140
|
const [now, setNow] = (0, import_react.useState)(() => /* @__PURE__ */ new Date());
|
|
147
141
|
(0, import_react.useEffect)(() => {
|
|
@@ -165,6 +159,20 @@ var PisellRecordBoardResourceWallView = (props) => {
|
|
|
165
159
|
setShowControlPanel(false);
|
|
166
160
|
}, []);
|
|
167
161
|
const [currentPage, setCurrentPage] = (0, import_react.useState)(0);
|
|
162
|
+
const [pseudoFullscreen, setPseudoFullscreen] = (0, import_react.useState)(false);
|
|
163
|
+
const shellRef = (0, import_react.useRef)(null);
|
|
164
|
+
(0, import_react.useEffect)(() => {
|
|
165
|
+
const cls = "pisell-resource-wall-fixed-viewport";
|
|
166
|
+
if (typeof document === "undefined") return;
|
|
167
|
+
if (pseudoFullscreen) {
|
|
168
|
+
document.body.classList.add(cls);
|
|
169
|
+
} else {
|
|
170
|
+
document.body.classList.remove(cls);
|
|
171
|
+
}
|
|
172
|
+
return () => {
|
|
173
|
+
document.body.classList.remove(cls);
|
|
174
|
+
};
|
|
175
|
+
}, [pseudoFullscreen]);
|
|
168
176
|
const layoutPersisted = onResourceWallLayoutChange != null;
|
|
169
177
|
const [internalLayout, setInternalLayout] = (0, import_react.useState)(() => ({
|
|
170
178
|
...import_types.DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST
|
|
@@ -323,6 +331,7 @@ var PisellRecordBoardResourceWallView = (props) => {
|
|
|
323
331
|
const shell = /* @__PURE__ */ import_react.default.createElement(
|
|
324
332
|
"div",
|
|
325
333
|
{
|
|
334
|
+
ref: shellRef,
|
|
326
335
|
className,
|
|
327
336
|
style: {
|
|
328
337
|
flex: 1,
|
|
@@ -420,6 +429,23 @@ var PisellRecordBoardResourceWallView = (props) => {
|
|
|
420
429
|
},
|
|
421
430
|
(0, import_locales.getText)("pisell-resource-wall-appearance-dark")
|
|
422
431
|
)
|
|
432
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
433
|
+
"button",
|
|
434
|
+
{
|
|
435
|
+
type: "button",
|
|
436
|
+
onClick: () => setPseudoFullscreen((v) => !v),
|
|
437
|
+
style: {
|
|
438
|
+
borderRadius: 6,
|
|
439
|
+
padding: "6px 14px",
|
|
440
|
+
fontSize: 13,
|
|
441
|
+
fontWeight: 500,
|
|
442
|
+
cursor: "pointer",
|
|
443
|
+
border: toolbarBtnBorder,
|
|
444
|
+
background: pseudoFullscreen ? toolbarBtnBgActive : toolbarBtnBg,
|
|
445
|
+
color: clockColor
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
pseudoFullscreen ? (0, import_locales.getText)("pisell-resource-wall-fullscreen-exit") : (0, import_locales.getText)("pisell-resource-wall-fullscreen-enter")
|
|
423
449
|
), /* @__PURE__ */ import_react.default.createElement(
|
|
424
450
|
"button",
|
|
425
451
|
{
|
|
@@ -519,7 +545,6 @@ var PisellRecordBoardResourceWallView = (props) => {
|
|
|
519
545
|
open: showControlPanel,
|
|
520
546
|
onClose: closeControlPanel,
|
|
521
547
|
isDark,
|
|
522
|
-
cards,
|
|
523
548
|
layoutPresets: layoutPresetsWithI18n,
|
|
524
549
|
layoutKey,
|
|
525
550
|
customCols,
|
package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { RecordBoardResourceWallCardModel } from '../../types';
|
|
3
2
|
import { type VenueWallStatusToneOverrides } from './venueWallUtils';
|
|
4
3
|
export declare type ResourceWallLayoutPreset = {
|
|
5
4
|
key: string;
|
|
@@ -24,7 +23,6 @@ export interface ResourceWallControlPanelProps {
|
|
|
24
23
|
open: boolean;
|
|
25
24
|
onClose: () => void;
|
|
26
25
|
isDark: boolean;
|
|
27
|
-
cards: RecordBoardResourceWallCardModel[];
|
|
28
26
|
layoutPresets: readonly ResourceWallLayoutPreset[];
|
|
29
27
|
layoutKey: string;
|
|
30
28
|
customCols: number;
|
package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js
CHANGED
|
@@ -33,14 +33,13 @@ __export(ResourceWallControlPanel_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(ResourceWallControlPanel_exports);
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_antd = require("antd");
|
|
37
36
|
var import_react_dom = require("react-dom");
|
|
38
37
|
var import_locales = require("../../../../locales");
|
|
39
38
|
var import_pisellNumber = require("../../../pisellNumber");
|
|
40
39
|
var import_pisellSingleSelect = require("../../../pisellSingleSelect");
|
|
41
40
|
var import_venueWallUtils = require("./venueWallUtils");
|
|
42
|
-
var buildApplyPayload = (draft, boardingSoonBeforeMin) => ({
|
|
43
|
-
resourceIds: [...
|
|
41
|
+
var buildApplyPayload = (resourceIds, draft, boardingSoonBeforeMin) => ({
|
|
42
|
+
resourceIds: [...resourceIds],
|
|
44
43
|
layoutKey: draft.draftLayoutKey,
|
|
45
44
|
customCols: Math.max(1, Math.min(6, draft.draftCustomCols)),
|
|
46
45
|
customRows: Math.max(1, Math.min(6, draft.draftCustomRows)),
|
|
@@ -55,7 +54,6 @@ var ResourceWallControlPanel = ({
|
|
|
55
54
|
open,
|
|
56
55
|
onClose,
|
|
57
56
|
isDark,
|
|
58
|
-
cards,
|
|
59
57
|
layoutPresets,
|
|
60
58
|
layoutKey,
|
|
61
59
|
customCols,
|
|
@@ -73,7 +71,6 @@ var ResourceWallControlPanel = ({
|
|
|
73
71
|
const [adminTab, setAdminTab] = (0, import_react.useState)(
|
|
74
72
|
"resource_layout"
|
|
75
73
|
);
|
|
76
|
-
const [draftIds, setDraftIds] = (0, import_react.useState)([]);
|
|
77
74
|
const [draftLayoutKey, setDraftLayoutKey] = (0, import_react.useState)(layoutKey);
|
|
78
75
|
const [draftCustomCols, setDraftCustomCols] = (0, import_react.useState)(customCols);
|
|
79
76
|
const [draftCustomRows, setDraftCustomRows] = (0, import_react.useState)(customRows);
|
|
@@ -81,12 +78,8 @@ var ResourceWallControlPanel = ({
|
|
|
81
78
|
const [draftOcc, setDraftOcc] = (0, import_react.useState)(occupiedCardColor);
|
|
82
79
|
const [draftAvail, setDraftAvail] = (0, import_react.useState)(availableCardColor);
|
|
83
80
|
const [draftHeroRatio, setDraftHeroRatio] = (0, import_react.useState)(heroMaxWidthRatioProp);
|
|
84
|
-
const [draftHeroBenchmark, setDraftHeroBenchmark] = (0, import_react.useState)(
|
|
85
|
-
() => (0, import_locales.getText)("pisell-resource-wall-hero-benchmark-sample")
|
|
86
|
-
);
|
|
87
81
|
const [draftTones, setDraftTones] = (0, import_react.useState)(() => (0, import_venueWallUtils.getVenueWallStatusToneMap)());
|
|
88
82
|
const draftBootstrapRef = (0, import_react.useRef)({
|
|
89
|
-
selectedResourceIds,
|
|
90
83
|
layoutKey,
|
|
91
84
|
customCols,
|
|
92
85
|
customRows,
|
|
@@ -97,7 +90,6 @@ var ResourceWallControlPanel = ({
|
|
|
97
90
|
heroMaxWidthRatioProp
|
|
98
91
|
});
|
|
99
92
|
draftBootstrapRef.current = {
|
|
100
|
-
selectedResourceIds,
|
|
101
93
|
layoutKey,
|
|
102
94
|
customCols,
|
|
103
95
|
customRows,
|
|
@@ -118,7 +110,6 @@ var ResourceWallControlPanel = ({
|
|
|
118
110
|
}
|
|
119
111
|
hasOpenedRef.current = true;
|
|
120
112
|
const b = draftBootstrapRef.current;
|
|
121
|
-
setDraftIds([...b.selectedResourceIds]);
|
|
122
113
|
setDraftLayoutKey(b.layoutKey);
|
|
123
114
|
setDraftCustomCols(b.customCols);
|
|
124
115
|
setDraftCustomRows(b.customRows);
|
|
@@ -132,8 +123,8 @@ var ResourceWallControlPanel = ({
|
|
|
132
123
|
const flushApplyAndClose = (0, import_react.useCallback)(() => {
|
|
133
124
|
onApply(
|
|
134
125
|
buildApplyPayload(
|
|
126
|
+
selectedResourceIds,
|
|
135
127
|
{
|
|
136
|
-
draftIds,
|
|
137
128
|
draftLayoutKey,
|
|
138
129
|
draftCustomCols,
|
|
139
130
|
draftCustomRows,
|
|
@@ -148,7 +139,7 @@ var ResourceWallControlPanel = ({
|
|
|
148
139
|
);
|
|
149
140
|
onClose();
|
|
150
141
|
}, [
|
|
151
|
-
|
|
142
|
+
selectedResourceIds,
|
|
152
143
|
draftLayoutKey,
|
|
153
144
|
draftCustomCols,
|
|
154
145
|
draftCustomRows,
|
|
@@ -169,8 +160,6 @@ var ResourceWallControlPanel = ({
|
|
|
169
160
|
window.addEventListener("keydown", onKey);
|
|
170
161
|
return () => window.removeEventListener("keydown", onKey);
|
|
171
162
|
}, [open, flushApplyAndClose]);
|
|
172
|
-
const selectedPreset = layoutPresets.find((p) => p.key === draftLayoutKey) ?? layoutPresets[2];
|
|
173
|
-
const pageCapacity = draftLayoutKey === "custom" ? Math.max(1, Math.min(6, draftCustomCols)) * Math.max(1, Math.min(6, draftCustomRows)) : selectedPreset.cols * selectedPreset.rows;
|
|
174
163
|
const shellBg = isDark ? "bg-slate-900 border-slate-800" : "bg-white border-slate-200";
|
|
175
164
|
const divider = isDark ? "border-slate-800" : "border-slate-200";
|
|
176
165
|
const headerText = isDark ? "text-slate-100" : "text-slate-900";
|
|
@@ -179,23 +168,6 @@ var ResourceWallControlPanel = ({
|
|
|
179
168
|
const adminSectionBg = isDark ? "bg-slate-950 border-slate-800" : "bg-slate-50 border-slate-200";
|
|
180
169
|
const cur = carouselPager.currentPage + 1;
|
|
181
170
|
const tot = Math.max(1, carouselPager.totalPages);
|
|
182
|
-
const toggleResource = (id, checked) => {
|
|
183
|
-
setDraftIds((prev) => {
|
|
184
|
-
const set = new Set(prev);
|
|
185
|
-
if (checked) {
|
|
186
|
-
set.add(id);
|
|
187
|
-
} else {
|
|
188
|
-
set.delete(id);
|
|
189
|
-
}
|
|
190
|
-
return Array.from(set);
|
|
191
|
-
});
|
|
192
|
-
};
|
|
193
|
-
const selectAllDisplayed = () => {
|
|
194
|
-
setDraftIds(cards.map((c) => String(c.resourceId)));
|
|
195
|
-
};
|
|
196
|
-
const clearResources = () => {
|
|
197
|
-
setDraftIds([]);
|
|
198
|
-
};
|
|
199
171
|
if (!open) return null;
|
|
200
172
|
const modal = /* @__PURE__ */ import_react.default.createElement(
|
|
201
173
|
"div",
|
|
@@ -316,66 +288,7 @@ var ResourceWallControlPanel = ({
|
|
|
316
288
|
},
|
|
317
289
|
Math.round(draftHeroRatio * 100),
|
|
318
290
|
"%"
|
|
319
|
-
)), /* @__PURE__ */ import_react.default.createElement("div", { className: `text-[11px] mt-2 ${mutedText}` }, (0, import_locales.getText)("pisell-resource-wall-hero-width-hint")), /* @__PURE__ */ import_react.default.createElement(
|
|
320
|
-
"input",
|
|
321
|
-
{
|
|
322
|
-
type: "text",
|
|
323
|
-
value: draftHeroBenchmark,
|
|
324
|
-
onChange: (e) => setDraftHeroBenchmark(e.target.value),
|
|
325
|
-
className: `mt-3 w-full rounded-xl border px-3 py-2 outline-none ${adminInputBg}`,
|
|
326
|
-
placeholder: (0, import_locales.getText)("pisell-resource-wall-hero-benchmark-placeholder")
|
|
327
|
-
}
|
|
328
|
-
)), /* @__PURE__ */ import_react.default.createElement("div", { className: `rounded-2xl border p-3 ${adminInputBg}` }, /* @__PURE__ */ import_react.default.createElement("div", { className: "mb-3 flex items-center justify-between gap-3" }, /* @__PURE__ */ import_react.default.createElement("div", { className: `text-xs ${mutedText}` }, (0, import_locales.getText)("pisell-resource-wall-resources-select-with-count").replace(
|
|
329
|
-
"{n}",
|
|
330
|
-
String(cards.length)
|
|
331
|
-
), /* @__PURE__ */ import_react.default.createElement("span", { className: "mt-1 block text-[11px] opacity-70" }, (0, import_locales.getText)("pisell-resource-wall-resources-capacity-carousel-hint").replace(
|
|
332
|
-
"{cap}",
|
|
333
|
-
String(pageCapacity)
|
|
334
|
-
))), /* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ import_react.default.createElement(
|
|
335
|
-
"button",
|
|
336
|
-
{
|
|
337
|
-
type: "button",
|
|
338
|
-
onClick: selectAllDisplayed,
|
|
339
|
-
className: "rounded-full border px-3 py-1.5 text-xs hover:bg-slate-100"
|
|
340
|
-
},
|
|
341
|
-
(0, import_locales.getText)("pisell-resource-wall-modal-select-all")
|
|
342
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
343
|
-
"button",
|
|
344
|
-
{
|
|
345
|
-
type: "button",
|
|
346
|
-
onClick: clearResources,
|
|
347
|
-
className: "rounded-full border px-3 py-1.5 text-xs hover:bg-slate-100"
|
|
348
|
-
},
|
|
349
|
-
(0, import_locales.getText)("pisell-resource-wall-modal-clear-all")
|
|
350
|
-
))), /* @__PURE__ */ import_react.default.createElement("div", { className: "grid grid-cols-4 gap-2" }, cards.map((card) => {
|
|
351
|
-
const id = String(card.resourceId);
|
|
352
|
-
const checked = draftIds.includes(id);
|
|
353
|
-
const label = card.resource || id;
|
|
354
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
355
|
-
"div",
|
|
356
|
-
{
|
|
357
|
-
key: id,
|
|
358
|
-
className: `flex min-w-0 items-center gap-1.5 rounded-xl border px-2 py-2 ${adminInputBg}`
|
|
359
|
-
},
|
|
360
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
361
|
-
import_antd.Checkbox,
|
|
362
|
-
{
|
|
363
|
-
checked,
|
|
364
|
-
onChange: (e) => toggleResource(id, e.target.checked),
|
|
365
|
-
className: "shrink-0"
|
|
366
|
-
}
|
|
367
|
-
),
|
|
368
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
369
|
-
"span",
|
|
370
|
-
{
|
|
371
|
-
className: "min-w-0 flex-1 cursor-pointer truncate text-left text-sm",
|
|
372
|
-
title: label,
|
|
373
|
-
onClick: () => toggleResource(id, !checked)
|
|
374
|
-
},
|
|
375
|
-
label
|
|
376
|
-
)
|
|
377
|
-
);
|
|
378
|
-
})))) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("section", { className: `rounded-2xl border p-4 space-y-4 ${adminSectionBg}` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `text-sm font-semibold ${headerText}` }, (0, import_locales.getText)("pisell-resource-wall-tab-colors")), /* @__PURE__ */ import_react.default.createElement("div", { className: "grid grid-cols-2 gap-3" }, /* @__PURE__ */ import_react.default.createElement("label", { className: `rounded-2xl border p-3 block ${adminInputBg}` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `text-xs mb-2 ${mutedText}` }, (0, import_locales.getText)("pisell-resource-wall-occupied-card-color-label")), /* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ import_react.default.createElement(
|
|
291
|
+
)), /* @__PURE__ */ import_react.default.createElement("div", { className: `text-[11px] mt-2 ${mutedText}` }, (0, import_locales.getText)("pisell-resource-wall-hero-width-hint")))) : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("section", { className: `rounded-2xl border p-4 space-y-4 ${adminSectionBg}` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `text-sm font-semibold ${headerText}` }, (0, import_locales.getText)("pisell-resource-wall-tab-colors")), /* @__PURE__ */ import_react.default.createElement("div", { className: "grid grid-cols-2 gap-3" }, /* @__PURE__ */ import_react.default.createElement("label", { className: `rounded-2xl border p-3 block ${adminInputBg}` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `text-xs mb-2 ${mutedText}` }, (0, import_locales.getText)("pisell-resource-wall-occupied-card-color-label")), /* @__PURE__ */ import_react.default.createElement("div", { className: "flex items-center gap-3" }, /* @__PURE__ */ import_react.default.createElement(
|
|
379
292
|
"input",
|
|
380
293
|
{
|
|
381
294
|
type: "color",
|
|
@@ -14,3 +14,24 @@
|
|
|
14
14
|
animation-timing-function: linear;
|
|
15
15
|
animation-iteration-count: infinite;
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 资源墙伪全屏:不调用 Fullscreen API。
|
|
20
|
+
* 通过给 `body` 打标记,选择器固定 `.pisell-shell-frame-body` 铺满视口(width/height 均为 100%)。
|
|
21
|
+
*/
|
|
22
|
+
body.pisell-resource-wall-fixed-viewport {
|
|
23
|
+
overflow: hidden !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
body.pisell-resource-wall-fixed-viewport .pisell-shell-frame-body {
|
|
27
|
+
position: fixed;
|
|
28
|
+
inset: 0;
|
|
29
|
+
z-index: 2000;
|
|
30
|
+
padding: 0;
|
|
31
|
+
margin: 0;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
max-width: 100%;
|
|
35
|
+
max-height: 100%;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
@@ -237,6 +237,10 @@ var VenueWallCard = ({
|
|
|
237
237
|
const nextBlockPad = Math.max(unit * 0.16, Math.min(unit * 0.24, 16));
|
|
238
238
|
const noteSize = (0, import_venueWallUtils.clamp)(noteHeight * 0.28 * fitScale, 10, 18);
|
|
239
239
|
const tagFont = Math.max(8, tagSize * 0.68);
|
|
240
|
+
const gridTemplateRows = `${headerHeight}px minmax(${Math.max(
|
|
241
|
+
120,
|
|
242
|
+
currentHeight
|
|
243
|
+
)}px, 4fr) minmax(${Math.max(72, nextHeight)}px, 2fr) ${noteHeight}px`;
|
|
240
244
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
241
245
|
"div",
|
|
242
246
|
{
|
|
@@ -263,9 +267,10 @@ var VenueWallCard = ({
|
|
|
263
267
|
flex: 1,
|
|
264
268
|
display: "grid",
|
|
265
269
|
minHeight: 0,
|
|
270
|
+
height: "100%",
|
|
266
271
|
padding: shellPad,
|
|
267
272
|
gap: sectionGap,
|
|
268
|
-
gridTemplateRows
|
|
273
|
+
gridTemplateRows
|
|
269
274
|
}
|
|
270
275
|
},
|
|
271
276
|
/* @__PURE__ */ import_react.default.createElement(
|
|
@@ -107,13 +107,23 @@ function deriveVenueWallStatus(card) {
|
|
|
107
107
|
if (rm != null && rm <= 10) return "endingSoon";
|
|
108
108
|
return "inUse";
|
|
109
109
|
}
|
|
110
|
+
function formatDurationHM(minAbs) {
|
|
111
|
+
const safe = Number.isFinite(minAbs) ? Math.max(0, Math.floor(minAbs)) : 0;
|
|
112
|
+
if (safe < 60) return `${safe}m`;
|
|
113
|
+
const h = Math.floor(safe / 60);
|
|
114
|
+
const m = safe % 60;
|
|
115
|
+
return `${h}h ${String(m).padStart(2, "0")}m`;
|
|
116
|
+
}
|
|
110
117
|
function formatVenueWallCountdown(min) {
|
|
111
118
|
if (min < 0) {
|
|
112
|
-
const n =
|
|
119
|
+
const n = formatDurationHM(Math.abs(min));
|
|
113
120
|
return (0, import_locales.getText)("pisell-resource-wall-countdown-overtime").replace("{n}", n);
|
|
114
121
|
}
|
|
115
122
|
if (min === 0) return (0, import_locales.getText)("pisell-resource-wall-countdown-ending-now");
|
|
116
|
-
return (0, import_locales.getText)("pisell-resource-wall-countdown-left").replace(
|
|
123
|
+
return (0, import_locales.getText)("pisell-resource-wall-countdown-left").replace(
|
|
124
|
+
"{n}",
|
|
125
|
+
formatDurationHM(min)
|
|
126
|
+
);
|
|
117
127
|
}
|
|
118
128
|
function cloneTone(t) {
|
|
119
129
|
return { ...t };
|
|
@@ -271,7 +271,9 @@ var RecordBoardToolBar = (props) => {
|
|
|
271
271
|
let outOther = otherFilter;
|
|
272
272
|
if (bodyView === "resourceWall") {
|
|
273
273
|
outQuick = [];
|
|
274
|
-
outOther = quickFilterList.
|
|
274
|
+
outOther = quickFilterList.filter(
|
|
275
|
+
(item) => (item.key ?? item.name ?? "") === resourceWallFilterFieldKey
|
|
276
|
+
).map((item) => ({ ...item }));
|
|
275
277
|
}
|
|
276
278
|
return {
|
|
277
279
|
...base,
|
|
@@ -354,7 +354,8 @@ export declare const DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST: RecordBoardResourceWa
|
|
|
354
354
|
/**
|
|
355
355
|
* 大屏资源墙视图 props;与 Shell 内 `PisellRecordBoard.ResourceWall` 合并(子优先)。
|
|
356
356
|
* 展示顺序由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)非空 `string[]` 决定;
|
|
357
|
-
* **未写该键、值非数组、或 `[]
|
|
357
|
+
* **未写该键、值非数组、或 `[]`**:不展示卡片。**仅渲染 `cards` 中能按 `resourceId` 命中的项**;
|
|
358
|
+
* 命中不到的 id(例如磁盘残留的旧店铺 / 已删资源)直接剔除、不再回退成「数字占位卡」,磁盘清洗由宿主负责。
|
|
358
359
|
*/
|
|
359
360
|
export interface RecordBoardResourceWallProps {
|
|
360
361
|
className?: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import './index.less';
|
|
3
2
|
declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
4
3
|
export default SelectHolder;
|
package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
3
2
|
export default SelectHolderMultiple;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import './index.less';
|
|
3
2
|
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
4
3
|
export default Time;
|