@pisell/materials 1.0.998 → 1.0.999
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 +13 -13
- package/build/lowcode/assets-dev.json +4 -4
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +20 -20
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +21 -21
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.js +1041 -0
- package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +18 -7
- package/es/components/PisellCards/components/TextCard/TextCard.js +1 -2
- package/es/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
- package/es/components/PisellCards/components/TextCard/TextCard.stories.js +1024 -0
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +1 -0
- package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.js +17 -8
- package/es/components/PisellCards/components/TextCard/components/TextContent.js +1 -1
- package/es/components/PisellCards/components/TextCard/types.d.ts +14 -7
- package/es/components/PisellSuperTabs/PisellSuperTabs.js +1 -1
- package/es/components/PisellTabbar/constants.d.ts +4 -4
- package/es/components/PisellTabbar/constants.js +5 -5
- package/es/components/PisellTabbar/index.d.ts +2 -0
- package/es/components/PisellTabbar/index.js +2 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +427 -0
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/es/components/PisellTabbar/template/Template1/constants.js +33 -0
- package/es/components/PisellTabbar/template/Template1/index.d.ts +6 -0
- package/es/components/PisellTabbar/template/Template1/index.js +7 -0
- package/es/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
- package/es/components/PisellTabbar/template/Template1/utils/index.js +96 -0
- package/es/components/PisellTabbar/utils/index.d.ts +33 -0
- package/es/components/PisellTabbar/utils/index.js +3 -2
- 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/dataSourceForm/formItem.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +10 -10
- 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/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/media/index.d.ts +18 -0
- package/es/components/media/index.js +340 -0
- package/es/components/media/index.less +100 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.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/pisellDatePicker/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/pisellTooltip/index.d.ts +0 -1
- package/es/components/pisellUpload/index.d.ts +0 -1
- package/es/components/pisellVHFix/index.d.ts +13 -0
- package/es/components/pisellVHFix/index.js +36 -0
- package/es/components/pisellVHFix/index.less +10 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/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/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/resources/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/components/Action/index.d.ts +0 -1
- package/es/components/productCard/components/Divider/index.d.ts +0 -1
- package/es/components/productCard/components/Header/EditButton/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/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/Group/PopoverContent.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/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 +2 -3
- 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/summary/index.d.ts +0 -1
- package/es/components/table/TableFilter/SortIcon.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/versionSelect/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/index.d.ts +2 -1
- package/es/index.js +2 -1
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.js +870 -0
- package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +18 -7
- package/lib/components/PisellCards/components/TextCard/TextCard.js +0 -1
- package/lib/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
- package/lib/components/PisellCards/components/TextCard/TextCard.stories.js +653 -0
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +1 -0
- package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.js +8 -4
- package/lib/components/PisellCards/components/TextCard/components/TextContent.js +1 -1
- package/lib/components/PisellCards/components/TextCard/types.d.ts +14 -7
- package/lib/components/PisellSuperTabs/PisellSuperTabs.js +2 -2
- package/lib/components/PisellTabbar/constants.d.ts +4 -4
- package/lib/components/PisellTabbar/constants.js +5 -5
- package/lib/components/PisellTabbar/index.d.ts +2 -0
- package/lib/components/PisellTabbar/index.js +6 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +436 -0
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/lib/components/PisellTabbar/template/Template1/constants.js +60 -0
- package/lib/components/PisellTabbar/template/Template1/index.d.ts +6 -0
- package/lib/components/PisellTabbar/template/Template1/index.js +36 -0
- package/lib/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
- package/lib/components/PisellTabbar/template/Template1/utils/index.js +68 -0
- package/lib/components/PisellTabbar/utils/index.d.ts +33 -0
- package/lib/components/PisellTabbar/utils/index.js +4 -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/dataSourceForm/formItem.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +10 -10
- 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/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/media/index.d.ts +18 -0
- package/lib/components/media/index.js +265 -0
- package/lib/components/media/index.less +100 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.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/pisellDatePicker/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/pisellTooltip/index.d.ts +0 -1
- package/lib/components/pisellUpload/index.d.ts +0 -1
- package/lib/components/pisellVHFix/index.d.ts +13 -0
- package/lib/components/pisellVHFix/index.js +56 -0
- package/lib/components/pisellVHFix/index.less +10 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/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/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/resources/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/components/Action/index.d.ts +0 -1
- package/lib/components/productCard/components/Divider/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/EditButton/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/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/Group/PopoverContent.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/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 +2 -3
- 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/summary/index.d.ts +0 -1
- package/lib/components/table/TableFilter/SortIcon.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/versionSelect/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/index.d.ts +2 -1
- package/lib/index.js +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/PisellCards/components/TextCard/TextCard.stories.tsx
|
|
30
|
+
var TextCard_stories_exports = {};
|
|
31
|
+
__export(TextCard_stories_exports, {
|
|
32
|
+
BadgeDot: () => BadgeDot,
|
|
33
|
+
BadgeLargeNumber: () => BadgeLargeNumber,
|
|
34
|
+
BadgeNumber: () => BadgeNumber,
|
|
35
|
+
BadgePositions: () => BadgePositions,
|
|
36
|
+
BadgeSizeAndOffset: () => BadgeSizeAndOffset,
|
|
37
|
+
BadgeText: () => BadgeText,
|
|
38
|
+
BadgeZero: () => BadgeZero,
|
|
39
|
+
BothIcons: () => BothIcons,
|
|
40
|
+
ClickInteraction: () => ClickInteraction,
|
|
41
|
+
CompleteExample: () => CompleteExample,
|
|
42
|
+
Default: () => Default,
|
|
43
|
+
IconConfig: () => IconConfig,
|
|
44
|
+
MultipleCards: () => MultipleCards,
|
|
45
|
+
NotClickable: () => NotClickable,
|
|
46
|
+
PrefixIcon: () => PrefixIcon,
|
|
47
|
+
PrefixSlot: () => PrefixSlot,
|
|
48
|
+
ReactNodeText: () => ReactNodeText,
|
|
49
|
+
SizeDefault: () => SizeDefault,
|
|
50
|
+
SizeLarge: () => SizeLarge,
|
|
51
|
+
SizeSmall: () => SizeSmall,
|
|
52
|
+
StateActive: () => StateActive,
|
|
53
|
+
StateDisabled: () => StateDisabled,
|
|
54
|
+
StateLoading: () => StateLoading,
|
|
55
|
+
StatePriority: () => StatePriority,
|
|
56
|
+
SuffixIcon: () => SuffixIcon,
|
|
57
|
+
SuffixSlot: () => SuffixSlot,
|
|
58
|
+
TabNavigation: () => TabNavigation,
|
|
59
|
+
TextConfig: () => TextConfig,
|
|
60
|
+
VariantDashed: () => VariantDashed,
|
|
61
|
+
VariantFilled: () => VariantFilled,
|
|
62
|
+
VariantGradient: () => VariantGradient,
|
|
63
|
+
VariantLight: () => VariantLight,
|
|
64
|
+
VariantOutlined: () => VariantOutlined,
|
|
65
|
+
VariantText: () => VariantText,
|
|
66
|
+
VerticalNavigation: () => VerticalNavigation,
|
|
67
|
+
VeryLongText: () => VeryLongText,
|
|
68
|
+
VeryLongTextMultiLine: () => VeryLongTextMultiLine,
|
|
69
|
+
VeryLongTextWithLargeBadgeAndIcon: () => VeryLongTextWithLargeBadgeAndIcon,
|
|
70
|
+
VeryLongTextWithWidth: () => VeryLongTextWithWidth,
|
|
71
|
+
WidthModeAuto: () => WidthModeAuto,
|
|
72
|
+
WidthModeFixed: () => WidthModeFixed,
|
|
73
|
+
WidthModeFull: () => WidthModeFull,
|
|
74
|
+
WithTag: () => WithTag,
|
|
75
|
+
default: () => TextCard_stories_default
|
|
76
|
+
});
|
|
77
|
+
module.exports = __toCommonJS(TextCard_stories_exports);
|
|
78
|
+
var import_react = __toESM(require("react"));
|
|
79
|
+
var import_test = require("@storybook/test");
|
|
80
|
+
var import_icons = require("@ant-design/icons");
|
|
81
|
+
var import_antd = require("antd");
|
|
82
|
+
var import_TextCard = __toESM(require("./TextCard"));
|
|
83
|
+
var meta = {
|
|
84
|
+
title: "Atom Components/PisellCards/TextCard",
|
|
85
|
+
component: import_TextCard.default,
|
|
86
|
+
parameters: {
|
|
87
|
+
layout: "padded",
|
|
88
|
+
docs: {
|
|
89
|
+
description: {
|
|
90
|
+
component: "文本卡片组件,用于展示带图标、文本、标签和角标的信息项。支持 6 种样式变体、3 种尺寸、4 种状态。"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
tags: ["autodocs"],
|
|
95
|
+
argTypes: {
|
|
96
|
+
text: {
|
|
97
|
+
control: "text",
|
|
98
|
+
description: "卡片显示的文本内容(必填)"
|
|
99
|
+
},
|
|
100
|
+
variant: {
|
|
101
|
+
control: "select",
|
|
102
|
+
options: ["text", "filled", "light", "outlined", "gradient", "dashed"],
|
|
103
|
+
description: "卡片样式变体"
|
|
104
|
+
},
|
|
105
|
+
size: {
|
|
106
|
+
control: "select",
|
|
107
|
+
options: ["small", "default", "large"],
|
|
108
|
+
description: "卡片尺寸"
|
|
109
|
+
},
|
|
110
|
+
clickable: {
|
|
111
|
+
control: "boolean",
|
|
112
|
+
description: "是否可点击"
|
|
113
|
+
},
|
|
114
|
+
widthMode: {
|
|
115
|
+
control: "select",
|
|
116
|
+
options: ["auto", "fixed", "full"],
|
|
117
|
+
description: "宽度模式"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
var TextCard_stories_default = meta;
|
|
122
|
+
var Default = {
|
|
123
|
+
args: {
|
|
124
|
+
text: "Tab title"
|
|
125
|
+
},
|
|
126
|
+
play: async ({ canvasElement }) => {
|
|
127
|
+
const canvas = (0, import_test.within)(canvasElement);
|
|
128
|
+
await (0, import_test.expect)(canvas.getByText("Tab title")).toBeInTheDocument();
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
var MultipleCards = {
|
|
132
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Tab title" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Another tab" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "More tab" }))
|
|
133
|
+
};
|
|
134
|
+
var ReactNodeText = {
|
|
135
|
+
args: {
|
|
136
|
+
text: /* @__PURE__ */ import_react.default.createElement("span", { style: { color: "blue" } }, "Custom Text")
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
var VariantText = {
|
|
140
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", variant: "text" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Active", variant: "text", active: { value: true } }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Disabled", variant: "text", disabled: { value: true } }))
|
|
141
|
+
};
|
|
142
|
+
var VariantFilled = {
|
|
143
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", variant: "filled" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Active", variant: "filled", active: { value: true } }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Disabled", variant: "filled", disabled: { value: true } }))
|
|
144
|
+
};
|
|
145
|
+
var VariantLight = {
|
|
146
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", variant: "light" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Active", variant: "light", active: { value: true } }))
|
|
147
|
+
};
|
|
148
|
+
var VariantOutlined = {
|
|
149
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", variant: "outlined" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Active", variant: "outlined", active: { value: true } }))
|
|
150
|
+
};
|
|
151
|
+
var VariantGradient = {
|
|
152
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", variant: "gradient" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Active", variant: "gradient", active: { value: true } }))
|
|
153
|
+
};
|
|
154
|
+
var VariantDashed = {
|
|
155
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", variant: "dashed" }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Active", variant: "dashed", active: { value: true } }))
|
|
156
|
+
};
|
|
157
|
+
var SizeSmall = {
|
|
158
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Small", size: "small", variant: "filled" }), /* @__PURE__ */ import_react.default.createElement(
|
|
159
|
+
import_TextCard.default,
|
|
160
|
+
{
|
|
161
|
+
text: "Small Active",
|
|
162
|
+
size: "small",
|
|
163
|
+
variant: "filled",
|
|
164
|
+
active: { value: true }
|
|
165
|
+
}
|
|
166
|
+
))
|
|
167
|
+
};
|
|
168
|
+
var SizeDefault = {
|
|
169
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Default", size: "default", variant: "filled" }), /* @__PURE__ */ import_react.default.createElement(
|
|
170
|
+
import_TextCard.default,
|
|
171
|
+
{
|
|
172
|
+
text: "Default Active",
|
|
173
|
+
size: "default",
|
|
174
|
+
variant: "filled",
|
|
175
|
+
active: { value: true }
|
|
176
|
+
}
|
|
177
|
+
))
|
|
178
|
+
};
|
|
179
|
+
var SizeLarge = {
|
|
180
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Large", size: "large", variant: "filled" }), /* @__PURE__ */ import_react.default.createElement(
|
|
181
|
+
import_TextCard.default,
|
|
182
|
+
{
|
|
183
|
+
text: "Large Active",
|
|
184
|
+
size: "large",
|
|
185
|
+
variant: "filled",
|
|
186
|
+
active: { value: true }
|
|
187
|
+
}
|
|
188
|
+
))
|
|
189
|
+
};
|
|
190
|
+
var StateActive = {
|
|
191
|
+
render: () => {
|
|
192
|
+
const [activeKey, setActiveKey] = (0, import_react.useState)("tab1");
|
|
193
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
194
|
+
import_TextCard.default,
|
|
195
|
+
{
|
|
196
|
+
text: "Tab 1",
|
|
197
|
+
variant: "filled",
|
|
198
|
+
active: { value: activeKey === "tab1" },
|
|
199
|
+
onClick: () => setActiveKey("tab1")
|
|
200
|
+
}
|
|
201
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
202
|
+
import_TextCard.default,
|
|
203
|
+
{
|
|
204
|
+
text: "Tab 2",
|
|
205
|
+
variant: "filled",
|
|
206
|
+
active: { value: activeKey === "tab2" },
|
|
207
|
+
onClick: () => setActiveKey("tab2")
|
|
208
|
+
}
|
|
209
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
210
|
+
import_TextCard.default,
|
|
211
|
+
{
|
|
212
|
+
text: "Tab 3",
|
|
213
|
+
variant: "filled",
|
|
214
|
+
active: { value: activeKey === "tab3" },
|
|
215
|
+
onClick: () => setActiveKey("tab3")
|
|
216
|
+
}
|
|
217
|
+
));
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
var StateDisabled = {
|
|
221
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Disabled", variant: "filled", disabled: { value: true } }), /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Normal", variant: "filled" }))
|
|
222
|
+
};
|
|
223
|
+
var StateLoading = {
|
|
224
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
225
|
+
import_TextCard.default,
|
|
226
|
+
{
|
|
227
|
+
text: "Loading",
|
|
228
|
+
variant: "filled",
|
|
229
|
+
loading: {
|
|
230
|
+
value: true,
|
|
231
|
+
extra: /* @__PURE__ */ import_react.default.createElement(import_antd.Spin, { size: "small", style: { marginLeft: 8 } })
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
))
|
|
235
|
+
};
|
|
236
|
+
var StatePriority = {
|
|
237
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { direction: "vertical" }, /* @__PURE__ */ import_react.default.createElement(
|
|
238
|
+
import_TextCard.default,
|
|
239
|
+
{
|
|
240
|
+
text: "Loading > Disabled > Active",
|
|
241
|
+
variant: "filled",
|
|
242
|
+
active: { value: true, extra: /* @__PURE__ */ import_react.default.createElement("span", null, "Active") },
|
|
243
|
+
disabled: { value: true, extra: /* @__PURE__ */ import_react.default.createElement("span", null, "Disabled") },
|
|
244
|
+
loading: { value: true, extra: /* @__PURE__ */ import_react.default.createElement("span", null, "Loading") }
|
|
245
|
+
}
|
|
246
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
247
|
+
import_TextCard.default,
|
|
248
|
+
{
|
|
249
|
+
text: "Disabled > Active",
|
|
250
|
+
variant: "filled",
|
|
251
|
+
active: { value: true, extra: /* @__PURE__ */ import_react.default.createElement("span", null, "Active") },
|
|
252
|
+
disabled: { value: true, extra: /* @__PURE__ */ import_react.default.createElement("span", null, "Disabled") }
|
|
253
|
+
}
|
|
254
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
255
|
+
import_TextCard.default,
|
|
256
|
+
{
|
|
257
|
+
text: "Active",
|
|
258
|
+
variant: "filled",
|
|
259
|
+
active: { value: true, extra: /* @__PURE__ */ import_react.default.createElement("span", null, "Active") }
|
|
260
|
+
}
|
|
261
|
+
))
|
|
262
|
+
};
|
|
263
|
+
var PrefixIcon = {
|
|
264
|
+
args: {
|
|
265
|
+
text: "Password",
|
|
266
|
+
variant: "filled",
|
|
267
|
+
prefixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.BellOutlined, null)
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
var SuffixIcon = {
|
|
271
|
+
args: {
|
|
272
|
+
text: "Password",
|
|
273
|
+
variant: "filled",
|
|
274
|
+
suffixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.DownOutlined, null)
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
var BothIcons = {
|
|
278
|
+
args: {
|
|
279
|
+
text: "Password",
|
|
280
|
+
variant: "filled",
|
|
281
|
+
prefixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.BellOutlined, null),
|
|
282
|
+
suffixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.DownOutlined, null)
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
var IconConfig = {
|
|
286
|
+
args: {
|
|
287
|
+
text: "Password",
|
|
288
|
+
variant: "filled",
|
|
289
|
+
prefixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.BellOutlined, null),
|
|
290
|
+
iconConfig: { size: 20, color: "#ff4d4f" }
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
var WithTag = {
|
|
294
|
+
args: {
|
|
295
|
+
text: "Password",
|
|
296
|
+
variant: "filled",
|
|
297
|
+
tag: /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, { color: "blue" }, "2")
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
var BadgeDot = {
|
|
301
|
+
args: {
|
|
302
|
+
text: "Password",
|
|
303
|
+
variant: "filled",
|
|
304
|
+
badge: { type: "dot" }
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
var BadgeNumber = {
|
|
308
|
+
args: {
|
|
309
|
+
text: "Password",
|
|
310
|
+
variant: "filled",
|
|
311
|
+
badge: { type: "number", content: 99 }
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
var BadgeText = {
|
|
315
|
+
args: {
|
|
316
|
+
text: "Password",
|
|
317
|
+
variant: "filled",
|
|
318
|
+
badge: { type: "text", content: "New" }
|
|
319
|
+
}
|
|
320
|
+
};
|
|
321
|
+
var BadgePositions = {
|
|
322
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { direction: "vertical" }, /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
323
|
+
import_TextCard.default,
|
|
324
|
+
{
|
|
325
|
+
text: "Top Right (默认)",
|
|
326
|
+
variant: "filled",
|
|
327
|
+
badge: { type: "number", content: 99 }
|
|
328
|
+
}
|
|
329
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
330
|
+
import_TextCard.default,
|
|
331
|
+
{
|
|
332
|
+
text: "Top Left",
|
|
333
|
+
variant: "filled",
|
|
334
|
+
badge: { type: "number", content: 99, offset: [-10, 0] }
|
|
335
|
+
}
|
|
336
|
+
)), /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
337
|
+
import_TextCard.default,
|
|
338
|
+
{
|
|
339
|
+
text: "Bottom Right",
|
|
340
|
+
variant: "filled",
|
|
341
|
+
badge: { type: "number", content: 99, offset: [0, 10] }
|
|
342
|
+
}
|
|
343
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
344
|
+
import_TextCard.default,
|
|
345
|
+
{
|
|
346
|
+
text: "Bottom Left",
|
|
347
|
+
variant: "filled",
|
|
348
|
+
badge: { type: "number", content: 99, offset: [-10, 10] }
|
|
349
|
+
}
|
|
350
|
+
)))
|
|
351
|
+
};
|
|
352
|
+
var PrefixSlot = {
|
|
353
|
+
args: {
|
|
354
|
+
text: "Custom Prefix",
|
|
355
|
+
variant: "filled",
|
|
356
|
+
prefixSlot: /* @__PURE__ */ import_react.default.createElement("div", { style: { color: "red" } }, "🔥"),
|
|
357
|
+
prefixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.BellOutlined, null)
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
var SuffixSlot = {
|
|
361
|
+
args: {
|
|
362
|
+
text: "Custom Suffix",
|
|
363
|
+
variant: "filled",
|
|
364
|
+
suffixSlot: /* @__PURE__ */ import_react.default.createElement("div", { style: { color: "green" } }, "✓"),
|
|
365
|
+
suffixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.DownOutlined, null),
|
|
366
|
+
tag: /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, null, "Tag")
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
var TextConfig = {
|
|
370
|
+
args: {
|
|
371
|
+
text: "Custom Font",
|
|
372
|
+
variant: "filled",
|
|
373
|
+
textConfig: {
|
|
374
|
+
fontSize: 18,
|
|
375
|
+
fontWeight: "bold",
|
|
376
|
+
color: "#ff4d4f"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
var WidthModeAuto = {
|
|
381
|
+
args: {
|
|
382
|
+
text: "Auto Width",
|
|
383
|
+
variant: "filled",
|
|
384
|
+
widthMode: "auto",
|
|
385
|
+
maxWidth: 300
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
var WidthModeFixed = {
|
|
389
|
+
args: {
|
|
390
|
+
text: "Fixed Width",
|
|
391
|
+
variant: "filled",
|
|
392
|
+
widthMode: "fixed",
|
|
393
|
+
width: 200
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
var WidthModeFull = {
|
|
397
|
+
render: () => /* @__PURE__ */ import_react.default.createElement("div", { style: { width: "100%", border: "1px dashed #ccc", padding: 16 } }, /* @__PURE__ */ import_react.default.createElement(import_TextCard.default, { text: "Full Width", variant: "filled", widthMode: "full" }))
|
|
398
|
+
};
|
|
399
|
+
var ClickInteraction = {
|
|
400
|
+
render: () => {
|
|
401
|
+
const [clicked, setClicked] = (0, import_react.useState)(false);
|
|
402
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { direction: "vertical" }, /* @__PURE__ */ import_react.default.createElement(
|
|
403
|
+
import_TextCard.default,
|
|
404
|
+
{
|
|
405
|
+
text: "Click Me",
|
|
406
|
+
variant: "filled",
|
|
407
|
+
onClick: () => setClicked(true)
|
|
408
|
+
}
|
|
409
|
+
), clicked && /* @__PURE__ */ import_react.default.createElement("div", null, "已点击!"));
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
var NotClickable = {
|
|
413
|
+
args: {
|
|
414
|
+
text: "Not Clickable",
|
|
415
|
+
variant: "filled",
|
|
416
|
+
clickable: false
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
var CompleteExample = {
|
|
420
|
+
args: {
|
|
421
|
+
text: "Complete Example",
|
|
422
|
+
variant: "filled",
|
|
423
|
+
size: "large",
|
|
424
|
+
prefixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.BellOutlined, null),
|
|
425
|
+
suffixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.DownOutlined, null),
|
|
426
|
+
tag: /* @__PURE__ */ import_react.default.createElement(import_antd.Tag, { color: "blue" }, "Hot"),
|
|
427
|
+
badge: { type: "number", content: 99 },
|
|
428
|
+
active: { value: true },
|
|
429
|
+
onClick: () => console.log("clicked")
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
var TabNavigation = {
|
|
433
|
+
render: () => {
|
|
434
|
+
const [activeKey, setActiveKey] = (0, import_react.useState)("tab1");
|
|
435
|
+
const tabs = [
|
|
436
|
+
{ key: "tab1", label: "My details" },
|
|
437
|
+
{ key: "tab2", label: "Profile" },
|
|
438
|
+
{ key: "tab3", label: "Password" },
|
|
439
|
+
{ key: "tab4", label: "Team", badge: 2 },
|
|
440
|
+
{ key: "tab5", label: "Plan" },
|
|
441
|
+
{ key: "tab6", label: "Billing" },
|
|
442
|
+
{ key: "tab7", label: "Email" },
|
|
443
|
+
{ key: "tab8", label: "Notifications", badge: 2 },
|
|
444
|
+
{ key: "tab9", label: "Integrations" },
|
|
445
|
+
{ key: "tab10", label: "API" }
|
|
446
|
+
];
|
|
447
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { wrap: true }, tabs.map((tab) => /* @__PURE__ */ import_react.default.createElement(
|
|
448
|
+
import_TextCard.default,
|
|
449
|
+
{
|
|
450
|
+
key: tab.key,
|
|
451
|
+
text: tab.label,
|
|
452
|
+
variant: "filled",
|
|
453
|
+
active: { value: activeKey === tab.key },
|
|
454
|
+
onClick: () => setActiveKey(tab.key),
|
|
455
|
+
badge: tab.badge ? { type: "number", content: tab.badge } : void 0
|
|
456
|
+
}
|
|
457
|
+
)));
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
var VerticalNavigation = {
|
|
461
|
+
render: () => {
|
|
462
|
+
const [activeKey, setActiveKey] = (0, import_react.useState)("item1");
|
|
463
|
+
const items = [
|
|
464
|
+
{ key: "item1", label: "My details" },
|
|
465
|
+
{ key: "item2", label: "Profile" },
|
|
466
|
+
{ key: "item3", label: "Password" },
|
|
467
|
+
{ key: "item4", label: "Team", badge: 2 },
|
|
468
|
+
{ key: "item5", label: "Plan" },
|
|
469
|
+
{ key: "item6", label: "Billing" },
|
|
470
|
+
{ key: "item7", label: "Email" },
|
|
471
|
+
{ key: "item8", label: "Notifications", badge: 2 },
|
|
472
|
+
{ key: "item9", label: "Integrations" },
|
|
473
|
+
{ key: "item10", label: "API" }
|
|
474
|
+
];
|
|
475
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { direction: "vertical", style: { width: 200 } }, items.map((item) => /* @__PURE__ */ import_react.default.createElement(
|
|
476
|
+
import_TextCard.default,
|
|
477
|
+
{
|
|
478
|
+
key: item.key,
|
|
479
|
+
text: item.label,
|
|
480
|
+
variant: "light",
|
|
481
|
+
widthMode: "full",
|
|
482
|
+
active: { value: activeKey === item.key },
|
|
483
|
+
onClick: () => setActiveKey(item.key),
|
|
484
|
+
badge: item.badge ? { type: "number", content: item.badge } : void 0
|
|
485
|
+
}
|
|
486
|
+
)));
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
var BadgeZero = {
|
|
490
|
+
args: {
|
|
491
|
+
text: "Notifications",
|
|
492
|
+
variant: "filled",
|
|
493
|
+
badge: { type: "number", content: 0 }
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
var BadgeLargeNumber = {
|
|
497
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(
|
|
498
|
+
import_TextCard.default,
|
|
499
|
+
{
|
|
500
|
+
text: "Messages",
|
|
501
|
+
variant: "filled",
|
|
502
|
+
badge: { type: "number", content: 999999 }
|
|
503
|
+
}
|
|
504
|
+
)
|
|
505
|
+
};
|
|
506
|
+
var VeryLongText = {
|
|
507
|
+
args: {
|
|
508
|
+
text: "这是一段非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常 very long text content",
|
|
509
|
+
variant: "filled"
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
var VeryLongTextWithWidth = {
|
|
513
|
+
args: {
|
|
514
|
+
text: "这是一段非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常 very long text content",
|
|
515
|
+
variant: "filled",
|
|
516
|
+
textConfig: { maxLines: 1, ellipsis: true },
|
|
517
|
+
style: { width: 200 }
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
var VeryLongTextMultiLine = {
|
|
521
|
+
args: {
|
|
522
|
+
text: "这是一段非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常 very long text content",
|
|
523
|
+
variant: "filled",
|
|
524
|
+
textConfig: { maxLines: 2, ellipsis: true },
|
|
525
|
+
style: { width: 300 }
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
var BadgeSizeAndOffset = {
|
|
529
|
+
render: () => /* @__PURE__ */ import_react.default.createElement(import_antd.Space, { direction: "vertical", size: "large" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h4", null, "角标大小(通过 size 属性控制)"), /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
530
|
+
import_TextCard.default,
|
|
531
|
+
{
|
|
532
|
+
text: "Small Badge",
|
|
533
|
+
variant: "filled",
|
|
534
|
+
badge: { type: "number", content: 99, size: "small" }
|
|
535
|
+
}
|
|
536
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
537
|
+
import_TextCard.default,
|
|
538
|
+
{
|
|
539
|
+
text: "Default Badge",
|
|
540
|
+
variant: "filled",
|
|
541
|
+
badge: { type: "number", content: "default" }
|
|
542
|
+
}
|
|
543
|
+
))), /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h4", null, "角标 offset 位置(通过 offset 控制位置)"), /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
544
|
+
import_TextCard.default,
|
|
545
|
+
{
|
|
546
|
+
text: "Offset [0, 0] (默认)",
|
|
547
|
+
variant: "filled",
|
|
548
|
+
badge: { type: "number", content: 99, offset: [0, 0] }
|
|
549
|
+
}
|
|
550
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
551
|
+
import_TextCard.default,
|
|
552
|
+
{
|
|
553
|
+
text: "Offset [5, 5]",
|
|
554
|
+
variant: "filled",
|
|
555
|
+
badge: { type: "number", content: 99, offset: [5, 5] }
|
|
556
|
+
}
|
|
557
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
558
|
+
import_TextCard.default,
|
|
559
|
+
{
|
|
560
|
+
text: "Offset [10, 10]",
|
|
561
|
+
variant: "filled",
|
|
562
|
+
badge: { type: "number", content: 99, offset: [10, 10] }
|
|
563
|
+
}
|
|
564
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
565
|
+
import_TextCard.default,
|
|
566
|
+
{
|
|
567
|
+
text: "Offset [-5, -5]",
|
|
568
|
+
variant: "filled",
|
|
569
|
+
badge: { type: "number", content: 99, offset: [-5, -5] }
|
|
570
|
+
}
|
|
571
|
+
))), /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h4", null, "角标 offset 和大小组合"), /* @__PURE__ */ import_react.default.createElement(import_antd.Space, null, /* @__PURE__ */ import_react.default.createElement(
|
|
572
|
+
import_TextCard.default,
|
|
573
|
+
{
|
|
574
|
+
text: "Small + Offset",
|
|
575
|
+
variant: "filled",
|
|
576
|
+
badge: {
|
|
577
|
+
type: "number",
|
|
578
|
+
content: 99,
|
|
579
|
+
size: "small",
|
|
580
|
+
offset: [5, 5]
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
), /* @__PURE__ */ import_react.default.createElement(
|
|
584
|
+
import_TextCard.default,
|
|
585
|
+
{
|
|
586
|
+
text: "Default + Offset",
|
|
587
|
+
variant: "filled",
|
|
588
|
+
badge: {
|
|
589
|
+
type: "number",
|
|
590
|
+
content: 99,
|
|
591
|
+
size: "default",
|
|
592
|
+
offset: [10, 10]
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
))))
|
|
596
|
+
};
|
|
597
|
+
var VeryLongTextWithLargeBadgeAndIcon = {
|
|
598
|
+
args: {
|
|
599
|
+
text: "这是一段非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常非常 very long text content",
|
|
600
|
+
variant: "filled",
|
|
601
|
+
prefixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.BellOutlined, null),
|
|
602
|
+
suffixIcon: /* @__PURE__ */ import_react.default.createElement(import_icons.DownOutlined, null),
|
|
603
|
+
badge: { type: "number", content: 999999, offset: [10, 10] },
|
|
604
|
+
textConfig: { maxLines: 1, ellipsis: true },
|
|
605
|
+
style: { width: 200 }
|
|
606
|
+
}
|
|
607
|
+
};
|
|
608
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
609
|
+
0 && (module.exports = {
|
|
610
|
+
BadgeDot,
|
|
611
|
+
BadgeLargeNumber,
|
|
612
|
+
BadgeNumber,
|
|
613
|
+
BadgePositions,
|
|
614
|
+
BadgeSizeAndOffset,
|
|
615
|
+
BadgeText,
|
|
616
|
+
BadgeZero,
|
|
617
|
+
BothIcons,
|
|
618
|
+
ClickInteraction,
|
|
619
|
+
CompleteExample,
|
|
620
|
+
Default,
|
|
621
|
+
IconConfig,
|
|
622
|
+
MultipleCards,
|
|
623
|
+
NotClickable,
|
|
624
|
+
PrefixIcon,
|
|
625
|
+
PrefixSlot,
|
|
626
|
+
ReactNodeText,
|
|
627
|
+
SizeDefault,
|
|
628
|
+
SizeLarge,
|
|
629
|
+
SizeSmall,
|
|
630
|
+
StateActive,
|
|
631
|
+
StateDisabled,
|
|
632
|
+
StateLoading,
|
|
633
|
+
StatePriority,
|
|
634
|
+
SuffixIcon,
|
|
635
|
+
SuffixSlot,
|
|
636
|
+
TabNavigation,
|
|
637
|
+
TextConfig,
|
|
638
|
+
VariantDashed,
|
|
639
|
+
VariantFilled,
|
|
640
|
+
VariantGradient,
|
|
641
|
+
VariantLight,
|
|
642
|
+
VariantOutlined,
|
|
643
|
+
VariantText,
|
|
644
|
+
VerticalNavigation,
|
|
645
|
+
VeryLongText,
|
|
646
|
+
VeryLongTextMultiLine,
|
|
647
|
+
VeryLongTextWithLargeBadgeAndIcon,
|
|
648
|
+
VeryLongTextWithWidth,
|
|
649
|
+
WidthModeAuto,
|
|
650
|
+
WidthModeFixed,
|
|
651
|
+
WidthModeFull,
|
|
652
|
+
WithTag
|
|
653
|
+
});
|