@pisell/materials 6.11.34 → 6.11.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +3 -1
- package/build/lowcode/render/default/view.js +17 -17
- package/build/lowcode/view.css +3 -1
- package/build/lowcode/view.js +17 -17
- package/es/components/Pagination/index.d.ts +1 -0
- package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
- package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
- package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
- package/es/components/PisellCards/index.d.ts +1 -0
- package/es/components/PisellFields/index.d.ts +1 -0
- package/es/components/PisellLayouts/index.d.ts +1 -0
- package/es/components/PisellMetrics/index.d.ts +1 -0
- package/es/components/appVersionControl/index.d.ts +1 -0
- package/es/components/auto-complete-number/index.d.ts +1 -0
- package/es/components/badge/index.d.ts +1 -0
- package/es/components/batch-editor/fields/index.d.ts +1 -0
- package/es/components/batch-editor/index.d.ts +1 -0
- package/es/components/calendar/index.d.ts +1 -0
- package/es/components/cardPro/index.d.ts +1 -0
- package/es/components/checkbox/index.d.ts +1 -0
- package/es/components/classicLayout/index.d.ts +1 -0
- package/es/components/colorPicker/index.d.ts +1 -0
- package/es/components/config-provider/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +1 -0
- package/es/components/date-picker/datePickerCpt.d.ts +1 -0
- package/es/components/date-picker/index.d.ts +1 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/dropdown/index.d.ts +1 -0
- package/es/components/filter/components/items/index.d.ts +1 -0
- package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
- package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
- package/es/components/filter/components/items/text/index.d.ts +1 -0
- package/es/components/filter/index.d.ts +1 -0
- package/es/components/list/index.d.ts +1 -0
- package/es/components/lowCodePage/index.d.ts +1 -0
- package/es/components/page/index.d.ts +1 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.d.ts +1 -0
- package/es/components/pisellCard/index.d.ts +1 -0
- package/es/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +1 -0
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/es/components/pisellDatePicker/index.d.ts +1 -0
- package/es/components/pisellFilter/index.d.ts +1 -0
- package/es/components/pisellGridPro/GridView/index.d.ts +1 -0
- package/es/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
- package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/es/components/pisellInput/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +1 -0
- package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/index.d.ts +1 -0
- package/es/components/pisellRecordBoard/index.d.ts +2 -1
- package/es/components/pisellRecordBoard/index.js +1 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +1 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +420 -35
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +52 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +525 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +16 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +5 -0
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +48 -40
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +25 -2
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +81 -3
- package/es/components/pisellRecordBoard/types.d.ts +34 -1
- package/es/components/pisellRecordBoard/types.js +126 -1
- package/es/components/pisellSort/index.d.ts +1 -0
- package/es/components/pisellTooltip/index.d.ts +1 -0
- package/es/components/pisellUpload/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/es/components/productCard/components/Action/index.d.ts +1 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/components/Divider/index.d.ts +1 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/index.d.ts +1 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -0
- package/es/components/qrcode/index.d.ts +1 -0
- package/es/components/radio/index.d.ts +1 -0
- package/es/components/segmented/index.d.ts +1 -0
- package/es/components/select-time/RightPanel/index.d.ts +1 -0
- package/es/components/select-time/index.d.ts +1 -0
- package/es/components/skeleton/index.d.ts +1 -0
- package/es/components/slider/index.d.ts +1 -0
- package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/es/components/table/Actions/component/Group/index.d.ts +1 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/es/components/table/Actions/index.d.ts +1 -0
- package/es/components/table/BasicTable/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/es/components/table/Summary/index.d.ts +1 -0
- package/es/components/table/Table/SelectField/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
- package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/time-picker/index.d.ts +1 -0
- package/es/components/upload/index.d.ts +1 -0
- package/es/components/versionSelect/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
- package/es/components/walletCard/Guest/index.d.ts +1 -0
- package/es/components/walletCard/Guide/index.d.ts +1 -0
- package/es/index.d.ts +4 -1
- package/es/index.js +2 -0
- package/es/locales/en-US.d.ts +81 -0
- package/es/locales/en-US.js +82 -0
- package/es/locales/ja.d.ts +81 -0
- package/es/locales/ja.js +81 -0
- package/es/locales/pt.d.ts +81 -0
- package/es/locales/pt.js +81 -0
- package/es/locales/zh-CN.d.ts +81 -0
- package/es/locales/zh-CN.js +82 -0
- package/es/locales/zh-TW.d.ts +81 -0
- package/es/locales/zh-TW.js +82 -0
- package/es/pisell-materials.tw.css +3 -1
- package/es/tailwind-input.css +3 -1
- package/lib/components/Pagination/index.d.ts +1 -0
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
- package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +1 -0
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
- package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +1 -0
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -0
- package/lib/components/PisellCards/index.d.ts +1 -0
- package/lib/components/PisellFields/index.d.ts +1 -0
- package/lib/components/PisellLayouts/index.d.ts +1 -0
- package/lib/components/PisellMetrics/index.d.ts +1 -0
- package/lib/components/appVersionControl/index.d.ts +1 -0
- package/lib/components/auto-complete-number/index.d.ts +1 -0
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/batch-editor/fields/index.d.ts +1 -0
- package/lib/components/batch-editor/index.d.ts +1 -0
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/cardPro/index.d.ts +1 -0
- package/lib/components/checkbox/index.d.ts +1 -0
- package/lib/components/classicLayout/index.d.ts +1 -0
- package/lib/components/colorPicker/index.d.ts +1 -0
- package/lib/components/config-provider/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +1 -0
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/dropdown/index.d.ts +1 -0
- package/lib/components/filter/components/items/index.d.ts +1 -0
- package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
- package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
- package/lib/components/filter/components/items/text/index.d.ts +1 -0
- package/lib/components/filter/index.d.ts +1 -0
- package/lib/components/list/index.d.ts +1 -0
- package/lib/components/lowCodePage/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
- package/lib/components/pisellCard/index.d.ts +1 -0
- package/lib/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +1 -0
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/lib/components/pisellDatePicker/index.d.ts +1 -0
- package/lib/components/pisellFilter/index.d.ts +1 -0
- package/lib/components/pisellGridPro/GridView/index.d.ts +1 -0
- package/lib/components/pisellGridPro/components/DataCard/index.d.ts +1 -0
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/lib/components/pisellInput/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +1 -0
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/index.d.ts +1 -0
- package/lib/components/pisellRecordBoard/index.d.ts +2 -1
- package/lib/components/pisellRecordBoard/index.js +3 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +1 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +429 -29
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +52 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +493 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +16 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +5 -0
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +54 -38
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +25 -2
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +56 -5
- package/lib/components/pisellRecordBoard/types.d.ts +34 -1
- package/lib/components/pisellRecordBoard/types.js +19 -0
- package/lib/components/pisellSort/index.d.ts +1 -0
- package/lib/components/pisellTooltip/index.d.ts +1 -0
- package/lib/components/pisellUpload/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/lib/components/productCard/components/Action/index.d.ts +1 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/components/Divider/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/index.d.ts +1 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -0
- package/lib/components/qrcode/index.d.ts +1 -0
- package/lib/components/radio/index.d.ts +1 -0
- package/lib/components/segmented/index.d.ts +1 -0
- package/lib/components/select-time/RightPanel/index.d.ts +1 -0
- package/lib/components/select-time/index.d.ts +1 -0
- package/lib/components/skeleton/index.d.ts +1 -0
- package/lib/components/slider/index.d.ts +1 -0
- package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/lib/components/table/Actions/index.d.ts +1 -0
- package/lib/components/table/BasicTable/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/lib/components/table/Summary/index.d.ts +1 -0
- package/lib/components/table/Table/SelectField/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
- package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/time-picker/index.d.ts +1 -0
- package/lib/components/upload/index.d.ts +1 -0
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
- package/lib/components/walletCard/Guest/index.d.ts +1 -0
- package/lib/components/walletCard/Guide/index.d.ts +1 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.js +8 -0
- package/lib/locales/en-US.d.ts +81 -0
- package/lib/locales/en-US.js +82 -0
- package/lib/locales/ja.d.ts +81 -0
- package/lib/locales/ja.js +81 -0
- package/lib/locales/pt.d.ts +81 -0
- package/lib/locales/pt.js +81 -0
- package/lib/locales/zh-CN.d.ts +81 -0
- package/lib/locales/zh-CN.js +82 -0
- package/lib/locales/zh-TW.d.ts +81 -0
- package/lib/locales/zh-TW.js +82 -0
- package/lib/pisell-materials.tw.css +3 -1
- package/lib/tailwind-input.css +3 -1
- package/lowcode/pisell-record-board-calendar-view/meta.ts +81 -1
- package/package.json +2 -2
|
@@ -33,6 +33,7 @@ __export(VenueWallCard_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(VenueWallCard_exports);
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_locales = require("../../../../locales");
|
|
36
37
|
var import_NoteTicker = require("./NoteTicker");
|
|
37
38
|
var import_venueWallUtils = require("./venueWallUtils");
|
|
38
39
|
function useVenueWallClockNow() {
|
|
@@ -71,9 +72,15 @@ var VenueWallCard = ({
|
|
|
71
72
|
boardingSoonBeforeMin = 10,
|
|
72
73
|
occupiedCardColor = DEFAULT_OCCUPIED,
|
|
73
74
|
availableCardColor = DEFAULT_AVAILABLE,
|
|
74
|
-
heroMaxWidthRatio = 0.6
|
|
75
|
+
heroMaxWidthRatio = 0.6,
|
|
76
|
+
statusToneMap: statusToneMapProp,
|
|
77
|
+
appearance = "light"
|
|
75
78
|
}) => {
|
|
76
79
|
var _a, _b;
|
|
80
|
+
const toneMap = statusToneMapProp ?? (0, import_venueWallUtils.getVenueWallStatusToneMap)();
|
|
81
|
+
const isDark = appearance === "dark";
|
|
82
|
+
const idleMain = isDark ? "#e2e8f0" : "#0f172a";
|
|
83
|
+
const idleSub = isDark ? "#94a3b8" : "#94a3b8";
|
|
77
84
|
const cardRef = (0, import_react.useRef)(null);
|
|
78
85
|
const [cardSize, setCardSize] = (0, import_react.useState)({ width: 420, height: 300 });
|
|
79
86
|
(0, import_react.useEffect)(() => {
|
|
@@ -110,16 +117,16 @@ var VenueWallCard = ({
|
|
|
110
117
|
...card,
|
|
111
118
|
remainingMin: liveRemainingMin
|
|
112
119
|
});
|
|
113
|
-
const tone =
|
|
120
|
+
const tone = toneMap[statusKey] ?? toneMap.inUse;
|
|
114
121
|
const isOccupied = ["inUse", "endingSoon", "expired"].includes(statusKey);
|
|
115
|
-
let heroText = isOccupied ? (0, import_venueWallUtils.formatVenueWallCountdown)(liveRemainingMin) : "
|
|
116
|
-
let heroColor = isOccupied ? statusKey === "inUse" ? "#ffffff" : tone.color :
|
|
117
|
-
let noteText = isOccupied ? tone.note :
|
|
118
|
-
let noteTextColor = isOccupied ? "#ffffff" :
|
|
122
|
+
let heroText = isOccupied ? (0, import_venueWallUtils.formatVenueWallCountdown)(liveRemainingMin) : (0, import_locales.getText)("pisell-resource-wall-card-hero-available");
|
|
123
|
+
let heroColor = isOccupied ? statusKey === "inUse" ? "#ffffff" : tone.color : toneMap.available.color;
|
|
124
|
+
let noteText = isOccupied ? tone.note : toneMap.available.note;
|
|
125
|
+
let noteTextColor = isOccupied ? "#ffffff" : idleMain;
|
|
119
126
|
let noteBg = isOccupied ? tone.noteBg : (0, import_venueWallUtils.alphaColor)(availableCardColor, 0.2);
|
|
120
|
-
const subColor = isOccupied ? "rgba(255,255,255,0.80)" :
|
|
121
|
-
const mainColor = isOccupied ? "#ffffff" :
|
|
122
|
-
let currentLabel = "
|
|
127
|
+
const subColor = isOccupied ? "rgba(255,255,255,0.80)" : idleSub;
|
|
128
|
+
const mainColor = isOccupied ? "#ffffff" : idleMain;
|
|
129
|
+
let currentLabel = (0, import_locales.getText)("pisell-resource-wall-card-label-current");
|
|
123
130
|
let currentTime = card.currentTime ?? "";
|
|
124
131
|
let currentName = isOccupied ? card.currentBooking ?? "" : "";
|
|
125
132
|
let currentNameColor = mainColor;
|
|
@@ -133,47 +140,53 @@ var VenueWallCard = ({
|
|
|
133
140
|
const nextItem = (_a = card.nextList) == null ? void 0 : _a[0];
|
|
134
141
|
const nextCountLabel = nextItem ? `1/${((_b = card.nextList) == null ? void 0 : _b.length) ?? 0}` : "";
|
|
135
142
|
if (statusKey === "boardingSoon") {
|
|
136
|
-
heroText =
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
heroText = (0, import_locales.getText)("pisell-resource-wall-card-starts-in").replace(
|
|
144
|
+
"{n}",
|
|
145
|
+
String(liveStartsInMin)
|
|
146
|
+
);
|
|
147
|
+
heroColor = toneMap.boardingSoon.color;
|
|
148
|
+
noteText = toneMap.boardingSoon.note;
|
|
149
|
+
noteTextColor = toneMap.boardingSoon.color;
|
|
150
|
+
noteBg = (0, import_venueWallUtils.alphaColor)(toneMap.boardingSoon.color, 0.18);
|
|
151
|
+
currentLabel = (0, import_locales.getText)("pisell-resource-wall-card-label-next");
|
|
142
152
|
currentName = card.currentBooking ?? "";
|
|
143
|
-
currentNameColor =
|
|
144
|
-
nextNameColor =
|
|
153
|
+
currentNameColor = toneMap.boardingSoon.color;
|
|
154
|
+
nextNameColor = toneMap.boardingSoon.color;
|
|
145
155
|
progress = (0, import_venueWallUtils.clamp)(
|
|
146
156
|
(boardingSoonBeforeMin - liveStartsInMin) / boardingSoonBeforeMin * 100,
|
|
147
157
|
0,
|
|
148
158
|
100
|
|
149
159
|
);
|
|
150
|
-
progressColor =
|
|
151
|
-
rightTag =
|
|
152
|
-
rightTagColor =
|
|
153
|
-
rightTagBg = (0, import_venueWallUtils.alphaColor)(
|
|
154
|
-
rightTagBorder = (0, import_venueWallUtils.alphaColor)(
|
|
160
|
+
progressColor = toneMap.boardingSoon.color;
|
|
161
|
+
rightTag = toneMap.boardingSoon.label;
|
|
162
|
+
rightTagColor = toneMap.boardingSoon.color;
|
|
163
|
+
rightTagBg = (0, import_venueWallUtils.alphaColor)(toneMap.boardingSoon.color, 0.12);
|
|
164
|
+
rightTagBorder = (0, import_venueWallUtils.alphaColor)(toneMap.boardingSoon.color, 0.35);
|
|
155
165
|
}
|
|
156
166
|
if (statusKey === "late") {
|
|
157
|
-
heroText =
|
|
167
|
+
heroText = (0, import_locales.getText)("pisell-resource-wall-card-late").replace(
|
|
168
|
+
"{n}",
|
|
169
|
+
String(liveLateMin)
|
|
170
|
+
);
|
|
158
171
|
heroColor = "rgb(239, 68, 68)";
|
|
159
|
-
noteText =
|
|
160
|
-
noteTextColor =
|
|
161
|
-
noteBg =
|
|
162
|
-
currentLabel = "
|
|
172
|
+
noteText = toneMap.late.note;
|
|
173
|
+
noteTextColor = toneMap.available.color;
|
|
174
|
+
noteBg = toneMap.available.noteBg;
|
|
175
|
+
currentLabel = (0, import_locales.getText)("pisell-resource-wall-card-label-next");
|
|
163
176
|
currentName = card.currentBooking ?? "";
|
|
164
|
-
currentNameColor =
|
|
165
|
-
nextNameColor =
|
|
177
|
+
currentNameColor = toneMap.available.color;
|
|
178
|
+
nextNameColor = toneMap.available.color;
|
|
166
179
|
progress = 100;
|
|
167
|
-
progressColor =
|
|
168
|
-
rightTag =
|
|
169
|
-
rightTagColor =
|
|
170
|
-
rightTagBg = (0, import_venueWallUtils.alphaColor)(
|
|
171
|
-
rightTagBorder = (0, import_venueWallUtils.alphaColor)(
|
|
180
|
+
progressColor = toneMap.available.color;
|
|
181
|
+
rightTag = toneMap.late.label;
|
|
182
|
+
rightTagColor = toneMap.available.color;
|
|
183
|
+
rightTagBg = (0, import_venueWallUtils.alphaColor)(toneMap.available.color, 0.12);
|
|
184
|
+
rightTagBorder = (0, import_venueWallUtils.alphaColor)(toneMap.available.color, 0.35);
|
|
172
185
|
}
|
|
173
186
|
if (statusKey === "expired") {
|
|
174
|
-
heroText = liveRemainingMin < 0 ? (0, import_venueWallUtils.formatVenueWallCountdown)(liveRemainingMin) : liveRemainingMin === 0 ? "
|
|
187
|
+
heroText = liveRemainingMin < 0 ? (0, import_venueWallUtils.formatVenueWallCountdown)(liveRemainingMin) : liveRemainingMin === 0 ? (0, import_locales.getText)("pisell-resource-wall-countdown-zero-overtime") : (0, import_venueWallUtils.formatVenueWallCountdown)(liveRemainingMin);
|
|
175
188
|
}
|
|
176
|
-
const surfaceAccentColor = statusKey === "late" ? availableCardColor : statusKey === "boardingSoon" ?
|
|
189
|
+
const surfaceAccentColor = statusKey === "late" ? availableCardColor : statusKey === "boardingSoon" ? toneMap.boardingSoon.color : availableCardColor;
|
|
177
190
|
const cardBg = isOccupied ? `linear-gradient(180deg, ${(0, import_venueWallUtils.alphaColor)(occupiedCardColor, 0.96)} 0%, ${(0, import_venueWallUtils.alphaColor)(occupiedCardColor, 0.88)} 100%)` : (0, import_venueWallUtils.alphaColor)(
|
|
178
191
|
surfaceAccentColor,
|
|
179
192
|
statusKey === "boardingSoon" || statusKey === "late" ? 0.06 : 0.03
|
|
@@ -240,7 +253,7 @@ var VenueWallCard = ({
|
|
|
240
253
|
borderWidth: 1,
|
|
241
254
|
borderStyle: "solid",
|
|
242
255
|
borderColor: cardBorder,
|
|
243
|
-
boxShadow: "0 18px 48px rgba(15,23,42,0.06)"
|
|
256
|
+
boxShadow: isDark ? "0 18px 48px rgba(0,0,0,0.35)" : "0 18px 48px rgba(15,23,42,0.06)"
|
|
244
257
|
}
|
|
245
258
|
},
|
|
246
259
|
/* @__PURE__ */ import_react.default.createElement(
|
|
@@ -532,7 +545,10 @@ var VenueWallCard = ({
|
|
|
532
545
|
color: subColor
|
|
533
546
|
}
|
|
534
547
|
},
|
|
535
|
-
(nextItem == null ? void 0 : nextItem.time) ?
|
|
548
|
+
(nextItem == null ? void 0 : nextItem.time) ? (0, import_locales.getText)("pisell-resource-wall-card-next-line").replace(
|
|
549
|
+
"{time}",
|
|
550
|
+
nextItem.time
|
|
551
|
+
) : (0, import_locales.getText)("pisell-resource-wall-card-label-next")
|
|
536
552
|
),
|
|
537
553
|
/* @__PURE__ */ import_react.default.createElement(
|
|
538
554
|
"div",
|
|
@@ -1,14 +1,37 @@
|
|
|
1
1
|
import type { RecordBoardResourceWallCardModel } from '../../types';
|
|
2
2
|
export declare type VenueWallStatusKey = 'inUse' | 'endingSoon' | 'expired' | 'available' | 'boardingSoon' | 'late';
|
|
3
|
-
|
|
3
|
+
/** 单态展示配置(与 {@link VENUE_WALL_STATUS_COLOR_MAP} 值同形) */
|
|
4
|
+
export declare type VenueWallStatusTone = {
|
|
4
5
|
key: VenueWallStatusKey;
|
|
5
6
|
label: string;
|
|
6
7
|
note: string;
|
|
7
8
|
color: string;
|
|
8
9
|
noteBg: string;
|
|
9
|
-
}
|
|
10
|
+
};
|
|
11
|
+
/** 仅覆盖部分字段;用于 Control Panel / localStorage */
|
|
12
|
+
export declare type VenueWallStatusToneOverrides = Partial<Record<VenueWallStatusKey, Partial<VenueWallStatusTone>>>;
|
|
13
|
+
/** 单外观(浅 / 深)下的占用/空闲色与六态覆盖;持久化时 light、dark 各存一份 */
|
|
14
|
+
export declare type VenueWallAppearanceSlot = {
|
|
15
|
+
occupiedCardColor?: string;
|
|
16
|
+
availableCardColor?: string;
|
|
17
|
+
statusToneOverrides?: VenueWallStatusToneOverrides;
|
|
18
|
+
};
|
|
19
|
+
export declare type VenueWallAppearanceTheme = {
|
|
20
|
+
light?: VenueWallAppearanceSlot;
|
|
21
|
+
dark?: VenueWallAppearanceSlot;
|
|
22
|
+
};
|
|
23
|
+
export declare const VENUE_WALL_STATUS_KEYS: VenueWallStatusKey[];
|
|
24
|
+
export declare const VENUE_WALL_STATUS_COLOR_MAP: Record<VenueWallStatusKey, VenueWallStatusTone>;
|
|
10
25
|
export declare function alphaColor(hex: string, alpha: number): string;
|
|
11
26
|
export declare const clamp: (value: number, min: number, max: number) => number;
|
|
12
27
|
/** 由卡片字段推导状态键(与演示页 test.tsx 规则一致) */
|
|
13
28
|
export declare function deriveVenueWallStatus(card: RecordBoardResourceWallCardModel): VenueWallStatusKey;
|
|
14
29
|
export declare function formatVenueWallCountdown(min: number): string;
|
|
30
|
+
/**
|
|
31
|
+
* 合并默认六态配色与业务覆盖,供 {@link VenueWallCard} 与 Control Panel 表单初值共用。
|
|
32
|
+
*/
|
|
33
|
+
export declare function getVenueWallStatusToneMap(overrides?: VenueWallStatusToneOverrides | null): Record<VenueWallStatusKey, VenueWallStatusTone>;
|
|
34
|
+
/**
|
|
35
|
+
* 将编辑后的完整六态表压成「相对默认」的 overrides,便于持久化与 props 传递。
|
|
36
|
+
*/
|
|
37
|
+
export declare function diffVenueWallStatusToneOverrides(draft: Record<VenueWallStatusKey, VenueWallStatusTone>): VenueWallStatusToneOverrides;
|
|
@@ -20,12 +20,24 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
var venueWallUtils_exports = {};
|
|
21
21
|
__export(venueWallUtils_exports, {
|
|
22
22
|
VENUE_WALL_STATUS_COLOR_MAP: () => VENUE_WALL_STATUS_COLOR_MAP,
|
|
23
|
+
VENUE_WALL_STATUS_KEYS: () => VENUE_WALL_STATUS_KEYS,
|
|
23
24
|
alphaColor: () => alphaColor,
|
|
24
25
|
clamp: () => clamp,
|
|
25
26
|
deriveVenueWallStatus: () => deriveVenueWallStatus,
|
|
26
|
-
|
|
27
|
+
diffVenueWallStatusToneOverrides: () => diffVenueWallStatusToneOverrides,
|
|
28
|
+
formatVenueWallCountdown: () => formatVenueWallCountdown,
|
|
29
|
+
getVenueWallStatusToneMap: () => getVenueWallStatusToneMap
|
|
27
30
|
});
|
|
28
31
|
module.exports = __toCommonJS(venueWallUtils_exports);
|
|
32
|
+
var import_locales = require("../../../../locales");
|
|
33
|
+
var VENUE_WALL_STATUS_KEYS = [
|
|
34
|
+
"inUse",
|
|
35
|
+
"endingSoon",
|
|
36
|
+
"expired",
|
|
37
|
+
"available",
|
|
38
|
+
"boardingSoon",
|
|
39
|
+
"late"
|
|
40
|
+
];
|
|
29
41
|
var VENUE_WALL_STATUS_COLOR_MAP = {
|
|
30
42
|
inUse: {
|
|
31
43
|
key: "inUse",
|
|
@@ -96,15 +108,54 @@ function deriveVenueWallStatus(card) {
|
|
|
96
108
|
return "inUse";
|
|
97
109
|
}
|
|
98
110
|
function formatVenueWallCountdown(min) {
|
|
99
|
-
if (min < 0)
|
|
100
|
-
|
|
101
|
-
|
|
111
|
+
if (min < 0) {
|
|
112
|
+
const n = String(Math.abs(min));
|
|
113
|
+
return (0, import_locales.getText)("pisell-resource-wall-countdown-overtime").replace("{n}", n);
|
|
114
|
+
}
|
|
115
|
+
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("{n}", String(min));
|
|
117
|
+
}
|
|
118
|
+
function cloneTone(t) {
|
|
119
|
+
return { ...t };
|
|
120
|
+
}
|
|
121
|
+
function getVenueWallStatusToneMap(overrides) {
|
|
122
|
+
const out = {};
|
|
123
|
+
for (const key of VENUE_WALL_STATUS_KEYS) {
|
|
124
|
+
const base = cloneTone(VENUE_WALL_STATUS_COLOR_MAP[key]);
|
|
125
|
+
base.label = (0, import_locales.getText)(`pisell-resource-wall-tone-${key}-label`);
|
|
126
|
+
base.note = (0, import_locales.getText)(`pisell-resource-wall-tone-${key}-note`);
|
|
127
|
+
const patch = overrides == null ? void 0 : overrides[key];
|
|
128
|
+
out[key] = patch ? {
|
|
129
|
+
...base,
|
|
130
|
+
...patch,
|
|
131
|
+
key
|
|
132
|
+
} : base;
|
|
133
|
+
}
|
|
134
|
+
return out;
|
|
135
|
+
}
|
|
136
|
+
function diffVenueWallStatusToneOverrides(draft) {
|
|
137
|
+
const defaults = getVenueWallStatusToneMap();
|
|
138
|
+
const out = {};
|
|
139
|
+
for (const k of VENUE_WALL_STATUS_KEYS) {
|
|
140
|
+
const d = draft[k];
|
|
141
|
+
const b = defaults[k];
|
|
142
|
+
const patch = {};
|
|
143
|
+
if (d.label !== b.label) patch.label = d.label;
|
|
144
|
+
if (d.note !== b.note) patch.note = d.note;
|
|
145
|
+
if (d.color !== b.color) patch.color = d.color;
|
|
146
|
+
if (d.noteBg !== b.noteBg) patch.noteBg = d.noteBg;
|
|
147
|
+
if (Object.keys(patch).length > 0) out[k] = patch;
|
|
148
|
+
}
|
|
149
|
+
return out;
|
|
102
150
|
}
|
|
103
151
|
// Annotate the CommonJS export names for ESM import in node:
|
|
104
152
|
0 && (module.exports = {
|
|
105
153
|
VENUE_WALL_STATUS_COLOR_MAP,
|
|
154
|
+
VENUE_WALL_STATUS_KEYS,
|
|
106
155
|
alphaColor,
|
|
107
156
|
clamp,
|
|
108
157
|
deriveVenueWallStatus,
|
|
109
|
-
|
|
158
|
+
diffVenueWallStatusToneOverrides,
|
|
159
|
+
formatVenueWallCountdown,
|
|
160
|
+
getVenueWallStatusToneMap
|
|
110
161
|
});
|
|
@@ -3,6 +3,7 @@ import type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapDataSo
|
|
|
3
3
|
import type { TableProps } from 'antd';
|
|
4
4
|
import type { CalendarPersistContextValue } from './shellFrame/Calendar/calendarPersistGuard';
|
|
5
5
|
import type { TimeRangeOption } from '../pisellTimeNavigator/types';
|
|
6
|
+
import type { VenueWallAppearanceTheme, VenueWallStatusToneOverrides } from './shellFrame/ResourceWall/venueWallUtils';
|
|
6
7
|
/**
|
|
7
8
|
* 布局类型:一种 layout 对应一种「视图的集合」
|
|
8
9
|
* - grid: 搜索 + 表格 + 分页
|
|
@@ -337,9 +338,23 @@ export interface RecordBoardResourceWallCardModel {
|
|
|
337
338
|
/** @deprecated */
|
|
338
339
|
lightOffInMin?: number;
|
|
339
340
|
}
|
|
341
|
+
/**
|
|
342
|
+
* 控制台「Resource & Layout」中与版式/轮播相关的可持久化字段(不含资源多选,其走 filter;不含配色,其走 appearanceTheme)。
|
|
343
|
+
*/
|
|
344
|
+
export interface RecordBoardResourceWallLayoutPersist {
|
|
345
|
+
layoutKey: string;
|
|
346
|
+
customCols: number;
|
|
347
|
+
customRows: number;
|
|
348
|
+
pageDurationSec: number;
|
|
349
|
+
boardingSoonBeforeMin: number;
|
|
350
|
+
heroMaxWidthRatio: number;
|
|
351
|
+
}
|
|
352
|
+
/** {@link RecordBoardResourceWallLayoutPersist} 默认值,与 {@link PisellRecordBoardResourceWallView} 历史初始 state 一致 */
|
|
353
|
+
export declare const DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST: RecordBoardResourceWallLayoutPersist;
|
|
340
354
|
/**
|
|
341
355
|
* 大屏资源墙视图 props;与 Shell 内 `PisellRecordBoard.ResourceWall` 合并(子优先)。
|
|
342
|
-
*
|
|
356
|
+
* 展示顺序由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)非空 `string[]` 决定;
|
|
357
|
+
* **未写该键、值非数组、或 `[]`**:不展示卡片。每个 id 优先用 `cards` 中同 `resourceId` 的项,否则用占位卡(仅 id)。
|
|
343
358
|
*/
|
|
344
359
|
export interface RecordBoardResourceWallProps {
|
|
345
360
|
className?: string;
|
|
@@ -352,6 +367,24 @@ export interface RecordBoardResourceWallProps {
|
|
|
352
367
|
* @default 'resource_wall_resource_ids'
|
|
353
368
|
*/
|
|
354
369
|
filterFieldKey?: string;
|
|
370
|
+
/** 六态文案/配色覆盖(与默认 map 浅合并);通常由宿主从 localStorage 水合 */
|
|
371
|
+
statusToneOverrides?: VenueWallStatusToneOverrides;
|
|
372
|
+
/** 覆盖变更时回调,宿主可写入 localStorage */
|
|
373
|
+
onStatusToneOverridesChange?: (next: VenueWallStatusToneOverrides) => void;
|
|
374
|
+
/**
|
|
375
|
+
* 浅 / 深外观各自的卡面主色与六态覆盖;与 {@link onAppearanceThemeChange} 配合由宿主持久化。
|
|
376
|
+
* 未传入时由视图内部维护(刷新丢失)。
|
|
377
|
+
*/
|
|
378
|
+
appearanceTheme?: VenueWallAppearanceTheme;
|
|
379
|
+
onAppearanceThemeChange?: (next: VenueWallAppearanceTheme) => void;
|
|
380
|
+
/** 当前大屏外观:浅色 / 深色;与 {@link onAppearanceModeChange} 一并由宿主导入 localStorage */
|
|
381
|
+
appearanceMode?: 'light' | 'dark';
|
|
382
|
+
onAppearanceModeChange?: (mode: 'light' | 'dark') => void;
|
|
383
|
+
/**
|
|
384
|
+
* 版式与轮播等;与 {@link onResourceWallLayoutChange} 由宿主导入 localStorage(预约页)。
|
|
385
|
+
*/
|
|
386
|
+
resourceWallLayout?: Partial<RecordBoardResourceWallLayoutPersist>;
|
|
387
|
+
onResourceWallLayoutChange?: (next: RecordBoardResourceWallLayoutPersist) => void;
|
|
355
388
|
}
|
|
356
389
|
/**
|
|
357
390
|
* RecordBoard 容器 Context 值
|
|
@@ -2,6 +2,10 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
5
9
|
var __copyProps = (to, from, except, desc) => {
|
|
6
10
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
11
|
for (let key of __getOwnPropNames(from))
|
|
@@ -14,4 +18,19 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
14
18
|
|
|
15
19
|
// src/components/pisellRecordBoard/types.ts
|
|
16
20
|
var types_exports = {};
|
|
21
|
+
__export(types_exports, {
|
|
22
|
+
DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST: () => DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST
|
|
23
|
+
});
|
|
17
24
|
module.exports = __toCommonJS(types_exports);
|
|
25
|
+
var DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST = {
|
|
26
|
+
layoutKey: "2x3",
|
|
27
|
+
customCols: 3,
|
|
28
|
+
customRows: 2,
|
|
29
|
+
pageDurationSec: 10,
|
|
30
|
+
boardingSoonBeforeMin: 10,
|
|
31
|
+
heroMaxWidthRatio: 0.6
|
|
32
|
+
};
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST
|
|
36
|
+
});
|
|
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
|
17
17
|
* @Author: WangHan
|
|
18
18
|
* @Date: 2024-11-22 10:58
|
|
19
19
|
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) =>
|
|
20
|
+
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
|
17
17
|
* @Author: WangHan
|
|
18
18
|
* @Date: 2024-11-22 10:58
|
|
19
19
|
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) =>
|
|
20
|
+
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './index.less';
|
|
2
3
|
declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
3
4
|
export default SelectHolder;
|
package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
2
3
|
export default SelectHolderMultiple;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './index.less';
|
|
2
3
|
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
3
4
|
export default Time;
|