@pisell/materials 6.0.21 → 6.1.1
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 +5 -5
- package/build/lowcode/preview.js +34 -14
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +35 -25
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +35 -25
- package/dist/umd/materials.min.css +1 -0
- package/dist/umd/materials.min.js +1 -0
- package/dist/umd/static/DotsSix.57d66266.svg +1 -0
- package/dist/umd/static/arrow-left.e542294f.svg +1 -0
- package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
- package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
- package/dist/umd/static/help-circle.31c9be40.svg +1 -0
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
- package/es/components/DragSortList/index.js +6 -6
- package/es/components/TimeResourceSelector/index.js +115 -0
- package/es/components/TimeResourceSelector/index.less +59 -0
- package/es/components/cardMetricItem/index.less +0 -1
- package/es/components/classicLayout/index.js +5 -4
- package/es/components/collapse/index.js +103 -0
- package/es/components/collapse/index.less +0 -0
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +6 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +1 -1
- package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +12 -4
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +4 -4
- package/es/components/dataSourceComponents/fields/utils.js +5 -0
- package/es/components/date-picker/datePickerCpt.js +1 -1
- package/es/components/div/index.d.ts +13 -2
- package/es/components/div/index.js +45 -8
- package/es/components/icon/index.js +5 -5
- package/es/components/iconfont/index.js +1 -1
- package/es/components/list/index.js +6 -6
- package/es/components/pisell-config-provider/index.js +3 -1
- package/es/components/pisellAnchor/index.js +109 -199
- package/es/components/pisellAnchor/index.less +3 -6
- package/es/components/pisellAvatar/index.js +3 -2
- package/es/components/pisellAvatar/index.less +2 -1
- package/es/components/pisellCard/index.js +34 -5
- package/es/components/pisellCard/index.less +31 -4
- package/es/components/pisellCardList/index.d.ts +31 -1
- package/es/components/pisellCardList/index.js +29 -19
- package/es/components/pisellCardList/index.less +75 -75
- package/es/components/pisellCheckboxGroup/index.d.ts +3 -1
- package/es/components/pisellCheckboxGroup/index.js +32 -8
- package/es/components/pisellCheckboxGroup/index.less +1 -0
- package/es/components/pisellCustomCheckboxGroup/index.js +75 -0
- package/es/components/pisellCustomCheckboxGroup/index.less +0 -0
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +3 -3
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +4 -3
- package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +1 -0
- package/es/components/pisellDraggable/components/TreeItem/index.d.ts +1 -1
- package/es/components/pisellDraggable/components/TreeItem/index.js +1 -1
- package/es/components/pisellDraggable/index.d.ts +5 -2
- package/es/components/pisellDraggable/index.js +165 -127
- package/es/components/pisellDropSort/PisellDropSort.js +10 -3
- package/es/components/pisellDropSort/components/SortableItem/index.d.ts +1 -0
- package/es/components/pisellDropSort/components/SortableItem/index.js +6 -1
- package/es/components/pisellDropSort/components/SortableItem/index.less +0 -1
- package/es/components/pisellDropSort/types.d.ts +6 -0
- package/es/components/pisellDropdown/index.js +51 -0
- package/es/components/pisellDropdown/index.less +44 -0
- package/es/components/pisellGoodPassCard/index.d.ts +49 -0
- package/es/components/pisellGoodPassCard/index.js +122 -0
- package/es/components/pisellGoodPassCard/index.less +58 -0
- package/es/components/pisellHeaderProgressBar/index.js +76 -0
- package/es/components/pisellHeaderProgressBar/index.less +18 -0
- package/es/components/pisellImageCarousels/index.js +108 -0
- package/es/components/pisellImageCarousels/index.less +92 -0
- package/es/components/pisellInformationEntry/hooks/useNativeScanner.js +35 -0
- package/es/components/pisellInformationEntry/index.js +16 -2
- package/es/components/pisellList01/index.js +105 -0
- package/es/components/pisellList01/index.less +53 -0
- package/es/components/pisellMenu/PisellMenu.d.ts +6 -4
- package/es/components/pisellMenu/PisellMenu.js +1 -0
- package/es/components/pisellMenu/types.d.ts +1 -0
- package/es/components/pisellModal/components/MobileModal/index.less +4 -0
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +79 -11
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.less +14 -0
- package/es/components/pisellNavigationMenu/types.d.ts +21 -0
- package/es/components/pisellQrcode/index.less +0 -2
- package/es/components/pisellSectionHeaders/index.js +35 -0
- package/es/components/pisellSectionHeaders/index.less +46 -0
- package/es/components/pisellText/components/Amount/index.js +1 -1
- package/es/components/pisellWalletPassCard/index.d.ts +31 -1
- package/es/components/pisellWalletPassCard/index.js +452 -47
- package/es/components/pisellWalletPassCard/index.less +154 -28
- package/es/components/productCard/components/Action/index.js +21 -0
- package/es/components/productCard/components/Action/index.less +14 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +3 -0
- package/es/components/productCard/components/AmountFooter/index.js +58 -0
- package/es/components/productCard/components/AmountFooter/index.less +50 -0
- package/es/components/productCard/components/Divider/index.js +11 -0
- package/es/components/productCard/components/Divider/index.less +13 -0
- package/es/components/productCard/components/Header/DeleteButton/index.js +21 -0
- package/es/components/productCard/components/Header/DeleteButton/index.less +15 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/EditButton/index.js +22 -0
- package/es/components/productCard/components/Header/EditButton/index.less +26 -0
- package/es/components/productCard/components/Header/index.d.ts +3 -0
- package/es/components/productCard/components/Header/index.js +94 -0
- package/es/components/productCard/components/Header/index.less +57 -0
- package/es/components/productCard/components/MultiDay/index.js +80 -0
- package/es/components/productCard/components/MultiDay/index.less +34 -0
- package/es/components/productCard/components/MultiDay/utils.js +56 -0
- package/es/components/productCard/components/Note/index.d.ts +3 -0
- package/es/components/productCard/components/Note/index.js +25 -0
- package/es/components/productCard/components/Note/index.less +20 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +96 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/index.less +52 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +40 -0
- package/es/components/productCard/components/Packages/components/options/index.js +23 -0
- package/es/components/productCard/components/Packages/components/options/index.less +29 -0
- package/es/components/productCard/components/Packages/index.d.ts +3 -0
- package/es/components/productCard/components/Packages/index.js +31 -0
- package/es/components/productCard/components/Packages/index.less +17 -0
- package/es/components/productCard/components/Packages/utils.d.ts +20 -0
- package/es/components/productCard/components/Packages/utils.js +40 -0
- package/es/components/productCard/components/Sales/index.d.ts +3 -0
- package/es/components/productCard/components/Sales/index.js +40 -0
- package/es/components/productCard/components/Sales/index.less +18 -0
- package/es/components/productCard/components/Time/components/Like/index.js +30 -0
- package/es/components/productCard/components/Time/components/Like/index.less +27 -0
- package/es/components/productCard/components/Time/components/Like/like-heart.png +0 -0
- package/es/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.js +143 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.less +62 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +157 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +39 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.js +144 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.js +119 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.less +20 -0
- package/es/components/productCard/components/Time/index.js +140 -0
- package/es/components/productCard/components/Time/index.less +56 -0
- package/es/components/productCard/hooks/useOpenNote.d.ts +3 -0
- package/es/components/productCard/hooks/useOpenNote.js +67 -0
- package/es/components/productCard/index.d.ts +5 -0
- package/es/components/productCard/index.js +176 -0
- package/es/components/productCard/index.less +82 -0
- package/es/components/productCard/locales.js +122 -0
- package/es/components/productCard/status.js +68 -0
- package/es/components/productCard/types.js +1 -0
- package/es/components/productCard/utils.d.ts +31 -0
- package/es/components/productCard/utils.js +147 -0
- package/es/components/profileMenu/index.less +2 -5
- package/es/components/qrcode/index.js +1 -1
- package/es/components/record-view/index.less +0 -2
- package/es/components/section-footers/index.js +17 -0
- package/es/components/section-footers/index.less +5 -0
- package/es/components/sort/components/InlineMenu/index.js +1 -1
- package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
- package/es/components/table/Actions/component/ExportImport/utils/index.js +11 -0
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
- package/es/components/table/Header/Buttons/index.js +5 -5
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
- package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
- package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
- package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
- package/es/components/table/hooks/useTransFilterSetting.js +5 -5
- package/es/components/tabs/index.js +6 -1
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/walletCard/Guide/index.js +87 -0
- package/es/components/walletCard/Guide/index.less +71 -0
- package/es/components/walletCard/index.js +87 -50
- package/es/components/walletCard/index.less +3 -5
- package/es/hooks/useResponsive.js +2 -2
- package/es/index.d.ts +11 -1
- package/es/index.js +14 -2
- package/es/locales/en-US.d.ts +16 -1
- package/es/locales/en-US.js +18 -2
- package/es/locales/zh-CN.d.ts +16 -1
- package/es/locales/zh-CN.js +18 -2
- package/es/locales/zh-TW.d.ts +16 -1
- package/es/locales/zh-TW.js +17 -2
- package/es/utils/hoc.js +1 -1
- package/es/utils/miniRedux.js +9 -8
- package/lib/components/TimeResourceSelector/index.js +109 -0
- package/lib/components/TimeResourceSelector/index.less +59 -0
- package/lib/components/cardMetricItem/index.less +0 -1
- package/lib/components/collapse/index.js +109 -0
- package/lib/components/collapse/index.less +0 -0
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +6 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +1 -1
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +15 -7
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +4 -4
- package/lib/components/dataSourceComponents/fields/utils.js +5 -0
- package/lib/components/date-picker/datePickerCpt.js +1 -1
- package/lib/components/div/index.d.ts +13 -2
- package/lib/components/div/index.js +33 -3
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/lowCodePage/index.js +2 -1
- package/lib/components/pisell-config-provider/index.js +3 -1
- package/lib/components/pisellAnchor/index.js +64 -131
- package/lib/components/pisellAnchor/index.less +3 -6
- package/lib/components/pisellAvatar/index.js +2 -2
- package/lib/components/pisellAvatar/index.less +2 -1
- package/lib/components/pisellCard/index.js +30 -7
- package/lib/components/pisellCard/index.less +31 -4
- package/lib/components/pisellCardList/index.d.ts +31 -1
- package/lib/components/pisellCardList/index.js +48 -43
- package/lib/components/pisellCardList/index.less +75 -75
- package/lib/components/pisellCheckboxGroup/index.d.ts +3 -1
- package/lib/components/pisellCheckboxGroup/index.js +30 -7
- package/lib/components/pisellCheckboxGroup/index.less +1 -0
- package/lib/components/pisellCustomCheckboxGroup/index.js +71 -0
- package/lib/components/pisellCustomCheckboxGroup/index.less +0 -0
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +3 -3
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +4 -7
- package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +1 -0
- package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +1 -1
- package/lib/components/pisellDraggable/components/TreeItem/index.js +12 -2
- package/lib/components/pisellDraggable/index.d.ts +5 -2
- package/lib/components/pisellDraggable/index.js +114 -80
- package/lib/components/pisellDropSort/PisellDropSort.js +9 -3
- package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +1 -0
- package/lib/components/pisellDropSort/components/SortableItem/index.js +5 -0
- package/lib/components/pisellDropSort/components/SortableItem/index.less +0 -1
- package/lib/components/pisellDropSort/types.d.ts +6 -0
- package/lib/components/pisellDropdown/index.js +72 -0
- package/lib/components/pisellDropdown/index.less +44 -0
- package/lib/components/pisellEmpty/index.js +9 -1
- package/lib/components/pisellGoodPassCard/index.d.ts +49 -0
- package/lib/components/pisellGoodPassCard/index.js +111 -0
- package/lib/components/pisellGoodPassCard/index.less +58 -0
- package/lib/components/pisellHeaderProgressBar/index.js +88 -0
- package/lib/components/pisellHeaderProgressBar/index.less +18 -0
- package/lib/components/pisellImageCarousels/index.js +108 -0
- package/lib/components/pisellImageCarousels/index.less +92 -0
- package/lib/components/pisellInformationEntry/hooks/useNativeScanner.js +75 -0
- package/lib/components/pisellInformationEntry/index.js +14 -9
- package/lib/components/pisellList01/index.js +113 -0
- package/lib/components/pisellList01/index.less +53 -0
- package/lib/components/pisellMenu/PisellMenu.d.ts +6 -4
- package/lib/components/pisellMenu/PisellMenu.js +1 -0
- package/lib/components/pisellMenu/types.d.ts +1 -0
- package/lib/components/pisellModal/components/MobileModal/index.less +4 -0
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +64 -9
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.less +14 -0
- package/lib/components/pisellNavigationMenu/types.d.ts +21 -0
- package/lib/components/pisellQrcode/index.less +0 -2
- package/lib/components/pisellSectionHeaders/index.js +52 -0
- package/lib/components/pisellSectionHeaders/index.less +46 -0
- package/lib/components/pisellText/components/Amount/index.js +2 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +31 -1
- package/lib/components/pisellWalletPassCard/index.js +397 -23
- package/lib/components/pisellWalletPassCard/index.less +154 -28
- package/lib/components/productCard/components/Action/index.js +55 -0
- package/lib/components/productCard/components/Action/index.less +14 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +3 -0
- package/lib/components/productCard/components/AmountFooter/index.js +84 -0
- package/lib/components/productCard/components/AmountFooter/index.less +50 -0
- package/lib/components/productCard/components/Divider/index.js +50 -0
- package/lib/components/productCard/components/Divider/index.less +13 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.js +53 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.less +15 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/EditButton/index.js +62 -0
- package/lib/components/productCard/components/Header/EditButton/index.less +26 -0
- package/lib/components/productCard/components/Header/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/index.js +103 -0
- package/lib/components/productCard/components/Header/index.less +57 -0
- package/lib/components/productCard/components/MultiDay/index.js +72 -0
- package/lib/components/productCard/components/MultiDay/index.less +34 -0
- package/lib/components/productCard/components/MultiDay/utils.js +77 -0
- package/lib/components/productCard/components/Note/index.d.ts +3 -0
- package/lib/components/productCard/components/Note/index.js +56 -0
- package/lib/components/productCard/components/Note/index.less +20 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.js +93 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.less +52 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +54 -0
- package/lib/components/productCard/components/Packages/components/options/index.js +73 -0
- package/lib/components/productCard/components/Packages/components/options/index.less +29 -0
- package/lib/components/productCard/components/Packages/index.d.ts +3 -0
- package/lib/components/productCard/components/Packages/index.js +56 -0
- package/lib/components/productCard/components/Packages/index.less +17 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +20 -0
- package/lib/components/productCard/components/Packages/utils.js +44 -0
- package/lib/components/productCard/components/Sales/index.d.ts +3 -0
- package/lib/components/productCard/components/Sales/index.js +61 -0
- package/lib/components/productCard/components/Sales/index.less +18 -0
- package/lib/components/productCard/components/Time/components/Like/index.js +72 -0
- package/lib/components/productCard/components/Time/components/Like/index.less +27 -0
- package/lib/components/productCard/components/Time/components/Like/like-heart.png +0 -0
- package/lib/components/productCard/components/Time/components/Like/like-hide-heart.png +0 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.js +162 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.less +62 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +177 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +39 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +2 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.js +152 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.js +124 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.less +20 -0
- package/lib/components/productCard/components/Time/index.js +203 -0
- package/lib/components/productCard/components/Time/index.less +56 -0
- package/lib/components/productCard/hooks/useOpenNote.d.ts +3 -0
- package/lib/components/productCard/hooks/useOpenNote.js +85 -0
- package/lib/components/productCard/index.d.ts +5 -0
- package/lib/components/productCard/index.js +207 -0
- package/lib/components/productCard/index.less +82 -0
- package/lib/components/productCard/locales.js +104 -0
- package/lib/components/productCard/status.js +72 -0
- package/lib/components/productCard/types.js +17 -0
- package/lib/components/productCard/utils.d.ts +31 -0
- package/lib/components/productCard/utils.js +142 -0
- package/lib/components/profileMenu/index.less +2 -5
- package/lib/components/record-view/index.less +0 -2
- package/lib/components/section-footers/index.js +44 -0
- package/lib/components/section-footers/index.less +5 -0
- package/lib/components/table/Actions/component/ExportImport/utils/index.js +31 -0
- package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
- package/lib/components/table/Table/fields/utils/index.js +2 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/tabs/index.js +1 -0
- package/lib/components/walletCard/Guide/index.js +136 -0
- package/lib/components/walletCard/Guide/index.less +71 -0
- package/lib/components/walletCard/index.js +46 -7
- package/lib/components/walletCard/index.less +3 -5
- package/lib/hooks/useResponsive.js +6 -3
- package/lib/index.d.ts +11 -1
- package/lib/index.js +29 -1
- package/lib/locales/en-US.d.ts +16 -1
- package/lib/locales/en-US.js +18 -2
- package/lib/locales/zh-CN.d.ts +16 -1
- package/lib/locales/zh-CN.js +18 -2
- package/lib/locales/zh-TW.d.ts +16 -1
- package/lib/locales/zh-TW.js +17 -2
- package/lowcode/collapse/meta.ts +85 -1
- package/lowcode/date-picker.range-picker/meta.ts +20 -0
- package/lowcode/div/meta.ts +39 -4
- package/lowcode/pisell-card-list/meta.ts +222 -136
- package/lowcode/pisell-custom-checkbox-group/__screenshots__/card-1.png +0 -0
- package/lowcode/pisell-custom-checkbox-group/meta.ts +204 -0
- package/lowcode/pisell-custom-checkbox-group/snippets.ts +56 -0
- package/lowcode/pisell-dropdown/__screenshots__/dropdown-1.png +0 -0
- package/lowcode/pisell-dropdown/meta.ts +180 -0
- package/lowcode/pisell-dropdown/snippets.ts +69 -0
- package/lowcode/pisell-good-pass-card/meta.ts +38 -0
- package/lowcode/pisell-good-pass-card/snippets.ts +9 -0
- package/lowcode/pisell-header-progress-bar/meta.ts +116 -0
- package/lowcode/pisell-header-progress-bar/snippets.ts +24 -0
- package/lowcode/pisell-image-carousels/meta.ts +143 -0
- package/lowcode/pisell-image-carousels/snippets.ts +20 -0
- package/lowcode/pisell-list01/meta.ts +74 -0
- package/lowcode/pisell-list01/snippets.ts +35 -0
- package/lowcode/pisell-navigation-menu/meta.ts +12 -0
- package/lowcode/pisell-section-headers/meta.ts +91 -0
- package/lowcode/pisell-section-headers/snippets.ts +22 -0
- package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +217 -0
- package/lowcode/pisell-wallet-pass-card/meta.ts +178 -129
- package/lowcode/product-card/meta.ts +145 -0
- package/lowcode/product-card/snippets.ts +36 -0
- package/package.json +3 -3
- package/es/components/appVersionControl/index.d.ts +0 -4
- package/es/components/badge/index.d.ts +0 -7
- package/es/components/buttonGroupEdit/index.d.ts +0 -8
- package/es/components/buttonGroupPreview/index.d.ts +0 -19
- package/es/components/cardPro/index.d.ts +0 -3
- package/es/components/cropPhoto/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
- package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
- package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
- package/es/components/drag-sort-tree/index.d.ts +0 -4
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/page/index.d.ts +0 -5
- package/es/components/pisell-config-provider/index.d.ts +0 -12
- package/es/components/pisellAnchor/index.d.ts +0 -23
- package/es/components/pisellAvatar/index.d.ts +0 -19
- package/es/components/pisellCard/index.d.ts +0 -11
- package/es/components/pisellEmpty/index.d.ts +0 -18
- package/es/components/pisellInformationEntry/index.d.ts +0 -31
- package/es/components/pisellQrcode/index.d.ts +0 -10
- package/es/components/pisellStatisticList/index.d.ts +0 -21
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/hooks/useTableSetting.d.ts +0 -22
- package/es/components/table/types.d.ts +0 -251
- package/es/components/tabs/index.d.ts +0 -16
- package/es/components/versionModal/index.d.ts +0 -23
- package/es/components/walletCard/Guest/index.d.ts +0 -3
- package/es/components/walletCard/index.d.ts +0 -65
- package/lib/components/appVersionControl/index.d.ts +0 -4
- package/lib/components/badge/index.d.ts +0 -7
- package/lib/components/buttonGroupEdit/index.d.ts +0 -8
- package/lib/components/buttonGroupPreview/index.d.ts +0 -19
- package/lib/components/cardPro/index.d.ts +0 -3
- package/lib/components/cropPhoto/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
- package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
- package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
- package/lib/components/drag-sort-tree/index.d.ts +0 -4
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/page/index.d.ts +0 -5
- package/lib/components/pisell-config-provider/index.d.ts +0 -12
- package/lib/components/pisellAnchor/index.d.ts +0 -23
- package/lib/components/pisellAvatar/index.d.ts +0 -19
- package/lib/components/pisellCard/index.d.ts +0 -11
- package/lib/components/pisellEmpty/index.d.ts +0 -18
- package/lib/components/pisellInformationEntry/index.d.ts +0 -31
- package/lib/components/pisellQrcode/index.d.ts +0 -10
- package/lib/components/pisellStatisticList/index.d.ts +0 -21
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
- package/lib/components/table/types.d.ts +0 -251
- package/lib/components/tabs/index.d.ts +0 -16
- package/lib/components/versionModal/index.d.ts +0 -23
- package/lib/components/walletCard/Guest/index.d.ts +0 -3
- package/lib/components/walletCard/index.d.ts +0 -65
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { isMobile } from "../../../utils/platform";
|
|
9
9
|
var useTransFilterSetting = function useTransFilterSetting(params) {
|
|
@@ -78,7 +78,12 @@ var Tabs = /*#__PURE__*/function (_Component) {
|
|
|
78
78
|
onClick: function onClick(e) {
|
|
79
79
|
return props.onTabClick(item.key, e);
|
|
80
80
|
}
|
|
81
|
-
}, /*#__PURE__*/React.createElement(
|
|
81
|
+
}, /*#__PURE__*/React.createElement(Badge, {
|
|
82
|
+
count: item.badge,
|
|
83
|
+
offset: [0, 6]
|
|
84
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
85
|
+
className: "".concat(prefix, "tab-bar-icon-wrap")
|
|
86
|
+
}, item.icon)), /*#__PURE__*/React.createElement("span", {
|
|
82
87
|
className: "".concat(prefix, "tab-bar-label")
|
|
83
88
|
}, item.label));
|
|
84
89
|
}), props.extra);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
var _excluded = ["value", "onChange"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
-
function ownKeys(
|
|
5
|
-
function _objectSpread(
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
9
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10
10
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
11
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
|
-
function _iterableToArrayLimit(
|
|
13
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
14
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
15
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -63,8 +63,8 @@ var Translation = function Translation(props) {
|
|
|
63
63
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
64
64
|
_value = _useState4[0],
|
|
65
65
|
set_value = _useState4[1];
|
|
66
|
-
var store = context === null || context === void 0
|
|
67
|
-
var _ref = (store === null || store === void 0
|
|
66
|
+
var store = context === null || context === void 0 ? void 0 : (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.store;
|
|
67
|
+
var _ref = (store === null || store === void 0 ? void 0 : (_store$getState = store.getState()) === null || _store$getState === void 0 ? void 0 : _store$getState.global) || defaultGlobal,
|
|
68
68
|
shopLanguages = _ref.shopLanguages;
|
|
69
69
|
useEffect(function () {
|
|
70
70
|
var _newValue = _objectSpread({}, value);
|
|
@@ -101,7 +101,7 @@ var Translation = function Translation(props) {
|
|
|
101
101
|
} else {
|
|
102
102
|
newValue[currentLocale] = e || "";
|
|
103
103
|
}
|
|
104
|
-
onChange === null || onChange === void 0
|
|
104
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
105
105
|
};
|
|
106
106
|
var isActive = useMemo(function () {
|
|
107
107
|
var bol = false;
|
|
@@ -113,7 +113,7 @@ var Translation = function Translation(props) {
|
|
|
113
113
|
return bol;
|
|
114
114
|
}, [value, currentLocale]);
|
|
115
115
|
var _onOk = function _onOk() {
|
|
116
|
-
onChange === null || onChange === void 0
|
|
116
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
117
117
|
setOpen(false);
|
|
118
118
|
};
|
|
119
119
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Input, _extends({}, others, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
7
|
export var locales = {
|
|
8
8
|
en: "",
|
|
9
9
|
"zh-CN": "",
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
|
+
import useEngineContext from "../../../hooks/useEngineContext";
|
|
3
|
+
import Button from "../../button";
|
|
4
|
+
import "./index.less";
|
|
5
|
+
var Guide = function Guide(props) {
|
|
6
|
+
var _utils$translation, _utils$translation2, _utils$translation3, _utils$translation4, _utils$translation5, _setting$titleConfig, _utils$translation6, _setting$subtitleConf, _utils$translation7, _setting$buttonConfig, _utils$translation8, _setting$buttonConfig2;
|
|
7
|
+
var setting = props.setting;
|
|
8
|
+
var context = useEngineContext();
|
|
9
|
+
var _ref = context.appHelper || {},
|
|
10
|
+
utils = _ref.utils;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @title: 样式处理
|
|
14
|
+
* @description:
|
|
15
|
+
* @param {any} config
|
|
16
|
+
* @return {*}
|
|
17
|
+
* @Author: WangHan
|
|
18
|
+
* @Date: 2025-03-13 15:39
|
|
19
|
+
*/
|
|
20
|
+
var getTextStyle = function getTextStyle(config, otherConfig) {
|
|
21
|
+
return {
|
|
22
|
+
color: (config === null || config === void 0 ? void 0 : config.color) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.color) || '#fff',
|
|
23
|
+
fontSize: (config === null || config === void 0 ? void 0 : config.size) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.size) || 14,
|
|
24
|
+
fontWeight: (config === null || config === void 0 ? void 0 : config.weight) || (otherConfig === null || otherConfig === void 0 ? void 0 : otherConfig.weight) || 400,
|
|
25
|
+
fontStyle: (config === null || config === void 0 ? void 0 : config.style) || 'normal'
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
var _setting = useMemo(function () {
|
|
29
|
+
return (setting === null || setting === void 0 ? void 0 : setting.walletGuideConfig) || {};
|
|
30
|
+
}, [setting === null || setting === void 0 ? void 0 : setting.walletGuideConfig]);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @title: 跳转链接
|
|
34
|
+
* @description:
|
|
35
|
+
* @return {*}
|
|
36
|
+
* @Author: WangHan
|
|
37
|
+
* @Date: 2025-06-09 14:36
|
|
38
|
+
*/
|
|
39
|
+
var handleClick = function handleClick(e) {
|
|
40
|
+
var _setting$skipLink;
|
|
41
|
+
e.stopPropagation();
|
|
42
|
+
if (!(_setting !== null && _setting !== void 0 && (_setting$skipLink = _setting.skipLink) !== null && _setting$skipLink !== void 0 && _setting$skipLink.page)) return;
|
|
43
|
+
utils === null || utils === void 0 || utils.jumpPageByLink(_setting === null || _setting === void 0 ? void 0 : _setting.skipLink);
|
|
44
|
+
};
|
|
45
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
className: "pisell-wallet-guide-wrap",
|
|
47
|
+
style: {
|
|
48
|
+
backgroundColor: _setting === null || _setting === void 0 ? void 0 : _setting.backgroundColor
|
|
49
|
+
},
|
|
50
|
+
onClick: function onClick(e) {
|
|
51
|
+
return handleClick(e);
|
|
52
|
+
}
|
|
53
|
+
}, utils !== null && utils !== void 0 && (_utils$translation = utils.translation) !== null && _utils$translation !== void 0 && _utils$translation.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImage) ? /*#__PURE__*/React.createElement("img", {
|
|
54
|
+
className: "pisell-wallet-guide-bg",
|
|
55
|
+
src: (utils === null || utils === void 0 || (_utils$translation2 = utils.translation) === null || _utils$translation2 === void 0 ? void 0 : _utils$translation2.call(utils, _setting.backgroundImage)) || '',
|
|
56
|
+
alt: (utils === null || utils === void 0 || (_utils$translation3 = utils.translation) === null || _utils$translation3 === void 0 ? void 0 : _utils$translation3.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImageAlt)) || '',
|
|
57
|
+
title: (utils === null || utils === void 0 || (_utils$translation4 = utils.translation) === null || _utils$translation4 === void 0 ? void 0 : _utils$translation4.call(utils, _setting === null || _setting === void 0 ? void 0 : _setting.backgroundImageAlt)) || ''
|
|
58
|
+
}) : null, /*#__PURE__*/React.createElement("div", {
|
|
59
|
+
className: "pisell-wallet-guide-content ".concat(_setting.align === 'center' ? 'pisell-wallet-guide-center' : '')
|
|
60
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
61
|
+
className: "pisell-wallet-guide-title",
|
|
62
|
+
style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.titleConfig, {
|
|
63
|
+
size: 18,
|
|
64
|
+
weight: 600
|
|
65
|
+
})
|
|
66
|
+
}, (utils === null || utils === void 0 || (_utils$translation5 = utils.translation) === null || _utils$translation5 === void 0 ? void 0 : _utils$translation5.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.title) || (_setting === null || _setting === void 0 || (_setting$titleConfig = _setting.titleConfig) === null || _setting$titleConfig === void 0 ? void 0 : _setting$titleConfig.text))) || ''), /*#__PURE__*/React.createElement("div", {
|
|
67
|
+
className: "pisell-wallet-guide-subtitle",
|
|
68
|
+
style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.subtitleConfig, {
|
|
69
|
+
color: '#D0D5DD'
|
|
70
|
+
})
|
|
71
|
+
}, (utils === null || utils === void 0 || (_utils$translation6 = utils.translation) === null || _utils$translation6 === void 0 ? void 0 : _utils$translation6.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.subtitle) || (_setting === null || _setting === void 0 || (_setting$subtitleConf = _setting.subtitleConfig) === null || _setting$subtitleConf === void 0 ? void 0 : _setting$subtitleConf.text))) || '')), utils !== null && utils !== void 0 && (_utils$translation7 = utils.translation) !== null && _utils$translation7 !== void 0 && _utils$translation7.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.buttonText) || (_setting === null || _setting === void 0 || (_setting$buttonConfig = _setting.buttonConfig) === null || _setting$buttonConfig === void 0 ? void 0 : _setting$buttonConfig.text)) ? /*#__PURE__*/React.createElement("div", {
|
|
72
|
+
className: "pisell-wallet-guide-button-wrap"
|
|
73
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
74
|
+
style: {
|
|
75
|
+
backgroundColor: (_setting === null || _setting === void 0 ? void 0 : _setting.buttonColor) || '#7F56D9',
|
|
76
|
+
borderColor: (_setting === null || _setting === void 0 ? void 0 : _setting.buttonBorderColor) || '#7F56D9'
|
|
77
|
+
},
|
|
78
|
+
onClick: function onClick(e) {
|
|
79
|
+
return handleClick(e);
|
|
80
|
+
}
|
|
81
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
82
|
+
style: getTextStyle(_setting === null || _setting === void 0 ? void 0 : _setting.buttonConfig, {
|
|
83
|
+
weight: 600
|
|
84
|
+
})
|
|
85
|
+
}, (utils === null || utils === void 0 || (_utils$translation8 = utils.translation) === null || _utils$translation8 === void 0 ? void 0 : _utils$translation8.call(utils, (_setting === null || _setting === void 0 ? void 0 : _setting.buttonText) || (_setting === null || _setting === void 0 || (_setting$buttonConfig2 = _setting.buttonConfig) === null || _setting$buttonConfig2 === void 0 ? void 0 : _setting$buttonConfig2.text))) || ''))) : null));
|
|
86
|
+
};
|
|
87
|
+
export default Guide;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
.pisell-wallet-guide-wrap {
|
|
2
|
+
background-repeat: no-repeat;
|
|
3
|
+
background-position: center center;
|
|
4
|
+
background-size: contain;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
position: relative;
|
|
7
|
+
min-height: 136px;
|
|
8
|
+
display: flex;
|
|
9
|
+
padding: 16px 18px;
|
|
10
|
+
|
|
11
|
+
.pisell-wallet-guide-bg {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 50%;
|
|
14
|
+
left: 50%;
|
|
15
|
+
transform: translate(-50%, -50%);
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
object-fit: contain;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.pisell-wallet-guide-content {
|
|
22
|
+
position: relative;
|
|
23
|
+
text-align: left;
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
flex: 1;
|
|
28
|
+
width: 100%;
|
|
29
|
+
|
|
30
|
+
&.pisell-wallet-guide-center {
|
|
31
|
+
text-align: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.pisell-wallet-guide-title {
|
|
36
|
+
line-height: 28px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.pisell-wallet-guide-subtitle {
|
|
40
|
+
line-height: 20px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.pisell-wallet-guide-button-wrap {
|
|
44
|
+
display: flex;
|
|
45
|
+
width: fit-content;
|
|
46
|
+
max-width: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pisell-lowcode-btn-default {
|
|
50
|
+
margin-top: 8px;
|
|
51
|
+
display: flex;
|
|
52
|
+
padding: 10px 16px;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
align-items: center;
|
|
55
|
+
background: transparent;
|
|
56
|
+
border-color: transparent;
|
|
57
|
+
border-radius: 8px;
|
|
58
|
+
border: 1px solid var(--Primary-600, #7f56d9);
|
|
59
|
+
background: var(--Primary-600, #7f56d9);
|
|
60
|
+
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
|
|
61
|
+
max-width: 100%;
|
|
62
|
+
width: auto;
|
|
63
|
+
> div {
|
|
64
|
+
max-width: 100%;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
text-overflow: ellipsis;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -24,6 +24,7 @@ import PisellModal from "./../pisellModal";
|
|
|
24
24
|
import Amount from "./../pisellText/components/Amount";
|
|
25
25
|
import useEngineContext from "../../hooks/useEngineContext";
|
|
26
26
|
import Guest from "./Guest";
|
|
27
|
+
import Guide from "./Guide";
|
|
27
28
|
import "./index.less";
|
|
28
29
|
|
|
29
30
|
// 添加JSX类型声明
|
|
@@ -76,13 +77,34 @@ var toBooleanValue = function toBooleanValue(value) {
|
|
|
76
77
|
};
|
|
77
78
|
|
|
78
79
|
// 自定义钩子:处理二维码/条形码模态框
|
|
79
|
-
var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
|
|
80
|
+
var useCodeModal = function useCodeModal(cardNo, onCodeClick, codeType) {
|
|
81
|
+
var _context$appHelper;
|
|
80
82
|
var _useState = useState(false),
|
|
81
83
|
_useState2 = _slicedToArray(_useState, 2),
|
|
82
84
|
isModalOpen = _useState2[0],
|
|
83
85
|
setIsModalOpen = _useState2[1];
|
|
86
|
+
var context = useEngineContext();
|
|
87
|
+
var _ref = ((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils) || {},
|
|
88
|
+
interaction = _ref.interaction;
|
|
84
89
|
var handleCodeClick = function handleCodeClick(e) {
|
|
90
|
+
var _interaction$utils, _interaction$utils$is;
|
|
85
91
|
e.stopPropagation();
|
|
92
|
+
if (interaction !== null && interaction !== void 0 && (_interaction$utils = interaction.utils) !== null && _interaction$utils !== void 0 && (_interaction$utils$is = _interaction$utils.isAppEnv) !== null && _interaction$utils$is !== void 0 && _interaction$utils$is.call(_interaction$utils)) {
|
|
93
|
+
var _interaction$utils2, _interaction$utils2$p;
|
|
94
|
+
var typeMap = {
|
|
95
|
+
orCode: 'qrCode',
|
|
96
|
+
barCode: 'barCode'
|
|
97
|
+
};
|
|
98
|
+
interaction === null || interaction === void 0 || (_interaction$utils2 = interaction.utils) === null || _interaction$utils2 === void 0 || (_interaction$utils2$p = _interaction$utils2.postMessageToApp) === null || _interaction$utils2$p === void 0 || _interaction$utils2$p.call(_interaction$utils2, {
|
|
99
|
+
module: 'global',
|
|
100
|
+
key: 'openCodeModal',
|
|
101
|
+
data: {
|
|
102
|
+
type: typeMap[codeType] || codeType,
|
|
103
|
+
value: cardNo
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
86
108
|
if (onCodeClick) {
|
|
87
109
|
onCodeClick();
|
|
88
110
|
} else {
|
|
@@ -101,32 +123,32 @@ var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
|
|
|
101
123
|
};
|
|
102
124
|
|
|
103
125
|
// 子组件:卡片头部
|
|
104
|
-
var CardHeader = function CardHeader(
|
|
105
|
-
var
|
|
106
|
-
showIcon =
|
|
107
|
-
|
|
108
|
-
showWalletName =
|
|
109
|
-
|
|
110
|
-
showShopName =
|
|
111
|
-
|
|
112
|
-
showCardNo =
|
|
113
|
-
|
|
114
|
-
showCode =
|
|
115
|
-
iconImg =
|
|
116
|
-
mode =
|
|
117
|
-
|
|
118
|
-
walletName =
|
|
119
|
-
|
|
120
|
-
shopName =
|
|
121
|
-
|
|
122
|
-
cardNo =
|
|
123
|
-
|
|
124
|
-
cardStyle =
|
|
125
|
-
|
|
126
|
-
codeType =
|
|
127
|
-
onCodeClick =
|
|
128
|
-
|
|
129
|
-
isLogin =
|
|
126
|
+
var CardHeader = function CardHeader(_ref2) {
|
|
127
|
+
var _ref2$showIcon = _ref2.showIcon,
|
|
128
|
+
showIcon = _ref2$showIcon === void 0 ? true : _ref2$showIcon,
|
|
129
|
+
_ref2$showWalletName = _ref2.showWalletName,
|
|
130
|
+
showWalletName = _ref2$showWalletName === void 0 ? true : _ref2$showWalletName,
|
|
131
|
+
_ref2$showShopName = _ref2.showShopName,
|
|
132
|
+
showShopName = _ref2$showShopName === void 0 ? true : _ref2$showShopName,
|
|
133
|
+
_ref2$showCardNo = _ref2.showCardNo,
|
|
134
|
+
showCardNo = _ref2$showCardNo === void 0 ? true : _ref2$showCardNo,
|
|
135
|
+
_ref2$showCode = _ref2.showCode,
|
|
136
|
+
showCode = _ref2$showCode === void 0 ? true : _ref2$showCode,
|
|
137
|
+
iconImg = _ref2.iconImg,
|
|
138
|
+
mode = _ref2.mode,
|
|
139
|
+
_ref2$walletName = _ref2.walletName,
|
|
140
|
+
walletName = _ref2$walletName === void 0 ? 'Level' : _ref2$walletName,
|
|
141
|
+
_ref2$shopName = _ref2.shopName,
|
|
142
|
+
shopName = _ref2$shopName === void 0 ? 'Store name' : _ref2$shopName,
|
|
143
|
+
_ref2$cardNo = _ref2.cardNo,
|
|
144
|
+
cardNo = _ref2$cardNo === void 0 ? 'Wallet number' : _ref2$cardNo,
|
|
145
|
+
_ref2$cardStyle = _ref2.cardStyle,
|
|
146
|
+
cardStyle = _ref2$cardStyle === void 0 ? 'normal' : _ref2$cardStyle,
|
|
147
|
+
_ref2$codeType = _ref2.codeType,
|
|
148
|
+
codeType = _ref2$codeType === void 0 ? 'barCode' : _ref2$codeType,
|
|
149
|
+
onCodeClick = _ref2.onCodeClick,
|
|
150
|
+
_ref2$isLogin = _ref2.isLogin,
|
|
151
|
+
isLogin = _ref2$isLogin === void 0 ? false : _ref2$isLogin;
|
|
130
152
|
// 处理可能为0/1的布尔值
|
|
131
153
|
var processedShowIcon = toBooleanValue(showIcon);
|
|
132
154
|
var processedShowWalletName = toBooleanValue(showWalletName);
|
|
@@ -165,9 +187,9 @@ var CardHeader = function CardHeader(_ref) {
|
|
|
165
187
|
};
|
|
166
188
|
|
|
167
189
|
// 子组件:卡片内容项
|
|
168
|
-
var CardItem = function CardItem(
|
|
169
|
-
var item =
|
|
170
|
-
symbol =
|
|
190
|
+
var CardItem = function CardItem(_ref3) {
|
|
191
|
+
var item = _ref3.item,
|
|
192
|
+
symbol = _ref3.symbol;
|
|
171
193
|
var key = item.key,
|
|
172
194
|
label = item.label,
|
|
173
195
|
value = item.value;
|
|
@@ -188,9 +210,9 @@ var CardItem = function CardItem(_ref2) {
|
|
|
188
210
|
};
|
|
189
211
|
|
|
190
212
|
// 子组件:卡片内容
|
|
191
|
-
var CardContent = function CardContent(
|
|
192
|
-
var items =
|
|
193
|
-
symbol =
|
|
213
|
+
var CardContent = function CardContent(_ref4) {
|
|
214
|
+
var items = _ref4.items,
|
|
215
|
+
symbol = _ref4.symbol;
|
|
194
216
|
// 定义期望的顺序
|
|
195
217
|
var expectedOrder = ['piont', 'balance', 'discount', 'voucher'];
|
|
196
218
|
|
|
@@ -218,9 +240,9 @@ var CardContent = function CardContent(_ref3) {
|
|
|
218
240
|
};
|
|
219
241
|
|
|
220
242
|
// 子组件:二维码/条形码显示
|
|
221
|
-
var CodeDisplay = function CodeDisplay(
|
|
222
|
-
var codeType =
|
|
223
|
-
cardNo =
|
|
243
|
+
var CodeDisplay = function CodeDisplay(_ref5) {
|
|
244
|
+
var codeType = _ref5.codeType,
|
|
245
|
+
cardNo = _ref5.cardNo;
|
|
224
246
|
if (!cardNo) return null;
|
|
225
247
|
return /*#__PURE__*/React.createElement("div", {
|
|
226
248
|
className: "pisell-wallet-card-code"
|
|
@@ -250,12 +272,12 @@ var blockEvent = function blockEvent(e) {
|
|
|
250
272
|
};
|
|
251
273
|
|
|
252
274
|
// 子组件:二维码/条形码模态框
|
|
253
|
-
var CodeModal = function CodeModal(
|
|
254
|
-
var isOpen =
|
|
255
|
-
onClose =
|
|
256
|
-
codeType =
|
|
257
|
-
cardNo =
|
|
258
|
-
platform =
|
|
275
|
+
var CodeModal = function CodeModal(_ref6) {
|
|
276
|
+
var isOpen = _ref6.isOpen,
|
|
277
|
+
onClose = _ref6.onClose,
|
|
278
|
+
codeType = _ref6.codeType,
|
|
279
|
+
cardNo = _ref6.cardNo,
|
|
280
|
+
platform = _ref6.platform;
|
|
259
281
|
return /*#__PURE__*/React.createElement(PisellModal, {
|
|
260
282
|
title: getText(codeType === 'barCode' ? 'walletCard-barcode' : 'walletCard-qrcode'),
|
|
261
283
|
platform: platform,
|
|
@@ -290,6 +312,7 @@ var CodeModal = function CodeModal(_ref5) {
|
|
|
290
312
|
|
|
291
313
|
// 主组件
|
|
292
314
|
var WalletCard = function WalletCard(props) {
|
|
315
|
+
var _props$walletGuideCon2;
|
|
293
316
|
var mergedProps = _objectSpread(_objectSpread({}, DEFAULT_PROPS), props);
|
|
294
317
|
var symbol = mergedProps.symbol,
|
|
295
318
|
mode = mergedProps.mode,
|
|
@@ -306,7 +329,8 @@ var WalletCard = function WalletCard(props) {
|
|
|
306
329
|
onCodeClick = mergedProps.onCodeClick,
|
|
307
330
|
onClick = mergedProps.onClick,
|
|
308
331
|
className = mergedProps.className,
|
|
309
|
-
style = mergedProps.style
|
|
332
|
+
style = mergedProps.style,
|
|
333
|
+
isGuide = mergedProps.isGuide;
|
|
310
334
|
|
|
311
335
|
// 处理可能为0/1的布尔值props
|
|
312
336
|
var showIcon = toBooleanValue(mergedProps.showIcon);
|
|
@@ -316,10 +340,10 @@ var WalletCard = function WalletCard(props) {
|
|
|
316
340
|
var showCode = toBooleanValue(mergedProps.showCode);
|
|
317
341
|
var isLogin = toBooleanValue(mergedProps.isLogin);
|
|
318
342
|
var context = useEngineContext();
|
|
319
|
-
var
|
|
320
|
-
utils =
|
|
343
|
+
var _ref7 = context.appHelper || {},
|
|
344
|
+
utils = _ref7.utils;
|
|
321
345
|
// 使用自定义钩子处理模态框逻辑
|
|
322
|
-
var _useCodeModal = useCodeModal(cardNo, onCodeClick),
|
|
346
|
+
var _useCodeModal = useCodeModal(cardNo, onCodeClick, codeType),
|
|
323
347
|
isModalOpen = _useCodeModal.isModalOpen,
|
|
324
348
|
handleCodeClick = _useCodeModal.handleCodeClick,
|
|
325
349
|
closeModal = _useCodeModal.closeModal;
|
|
@@ -331,12 +355,23 @@ var WalletCard = function WalletCard(props) {
|
|
|
331
355
|
backgroundImage: "url(".concat(props.customBackgroundImage, ")")
|
|
332
356
|
};
|
|
333
357
|
} else {
|
|
358
|
+
var _props$walletGuideCon;
|
|
359
|
+
// 如果游客和引导页设置了背景色,则不展示背景图
|
|
360
|
+
if (props !== null && props !== void 0 && (_props$walletGuideCon = props.walletGuideConfig) !== null && _props$walletGuideCon !== void 0 && _props$walletGuideCon.backgroundColor && isGuide || props !== null && props !== void 0 && props.backgroundColor && !isLogin) {
|
|
361
|
+
return {
|
|
362
|
+
backgroundImage: 'none'
|
|
363
|
+
};
|
|
364
|
+
}
|
|
334
365
|
return {
|
|
335
366
|
backgroundImage: "url(https://file.mypisell-dev.com/pisel/image/9/".concat(mode === 'dark' ? '3d039c83ff5b84fadafb8a23c33d6cc42025_02_26_00_42_53_288_08413160975__720_456__' : '61dcbe950c9451164a6bb1d17d5bc5f02025_02_26_00_43_42_741_04853453608__720_456__', ".png)")
|
|
336
367
|
};
|
|
337
368
|
}
|
|
338
|
-
}, [props.customBackgroundImage, mode]);
|
|
369
|
+
}, [props.customBackgroundImage, mode, props === null || props === void 0 || (_props$walletGuideCon2 = props.walletGuideConfig) === null || _props$walletGuideCon2 === void 0 ? void 0 : _props$walletGuideCon2.backgroundColor, props === null || props === void 0 ? void 0 : props.backgroundColor, isLogin, isGuide]);
|
|
339
370
|
var goWallet = function goWallet() {
|
|
371
|
+
// 未开启任何一个wallet pass展示,则不跳转
|
|
372
|
+
if (!(items !== null && items !== void 0 && items.length)) {
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
340
375
|
utils === null || utils === void 0 || utils.action({
|
|
341
376
|
type: 'pisell1.goWallet',
|
|
342
377
|
data: {},
|
|
@@ -360,9 +395,9 @@ var WalletCard = function WalletCard(props) {
|
|
|
360
395
|
flexDirection: codeDirection === 'top' ? 'column-reverse' : 'column'
|
|
361
396
|
}
|
|
362
397
|
}, /*#__PURE__*/React.createElement("div", {
|
|
363
|
-
className: classNames('pisell-wallet-card-content', mode, !isLogin && 'pisell-wallet-card-guest-content'),
|
|
398
|
+
className: classNames('pisell-wallet-card-content', mode, (!isLogin || isGuide) && 'pisell-wallet-card-guest-content'),
|
|
364
399
|
style: backgroundStyle
|
|
365
|
-
}, isLogin ? /*#__PURE__*/React.createElement("div", {
|
|
400
|
+
}, isLogin ? !isGuide ? /*#__PURE__*/React.createElement("div", {
|
|
366
401
|
onClick: function onClick() {
|
|
367
402
|
goWallet();
|
|
368
403
|
}
|
|
@@ -384,7 +419,9 @@ var WalletCard = function WalletCard(props) {
|
|
|
384
419
|
}), /*#__PURE__*/React.createElement(CardContent, {
|
|
385
420
|
items: items,
|
|
386
421
|
symbol: symbol
|
|
387
|
-
})) : /*#__PURE__*/React.createElement(
|
|
422
|
+
})) : /*#__PURE__*/React.createElement(Guide, {
|
|
423
|
+
setting: props
|
|
424
|
+
}) : /*#__PURE__*/React.createElement(Guest, {
|
|
388
425
|
setting: props
|
|
389
426
|
})), cardStyle === 'full' && isLogin && /*#__PURE__*/React.createElement("div", {
|
|
390
427
|
className: classNames('pisell-wallet-card-showCode', codeDirection === 'top' ? 'code-top' : 'code-bottom')
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
// 暗色主题
|
|
22
22
|
&.dark {
|
|
23
|
-
background-color:
|
|
23
|
+
background-color: transparent;
|
|
24
24
|
|
|
25
25
|
.pisell-wallet-card-header-left {
|
|
26
26
|
color: #fff;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
// 亮色主题
|
|
41
41
|
&.light {
|
|
42
|
-
background-color:
|
|
42
|
+
background-color: transparent;
|
|
43
43
|
|
|
44
44
|
.pisell-wallet-card-header-left {
|
|
45
45
|
color: #101828;
|
|
@@ -210,7 +210,6 @@
|
|
|
210
210
|
|
|
211
211
|
text {
|
|
212
212
|
fill: #000;
|
|
213
|
-
font-family: Inter;
|
|
214
213
|
font-size: 12px;
|
|
215
214
|
font-style: normal;
|
|
216
215
|
font-weight: 400;
|
|
@@ -223,7 +222,6 @@
|
|
|
223
222
|
// 二维码下方文本样式
|
|
224
223
|
.pisell-wallet-card-code-qrcode-value {
|
|
225
224
|
color: #000;
|
|
226
|
-
font-family: Inter;
|
|
227
225
|
font-size: 12px;
|
|
228
226
|
text-align: center;
|
|
229
227
|
font-style: normal;
|
|
@@ -240,7 +238,7 @@
|
|
|
240
238
|
|
|
241
239
|
// 二维码模态框
|
|
242
240
|
.pisell-qrcode-modal {
|
|
243
|
-
.pisell-qrcode-modal-content{
|
|
241
|
+
.pisell-qrcode-modal-content {
|
|
244
242
|
pointer-events: auto;
|
|
245
243
|
touch-action: none;
|
|
246
244
|
overscroll-behavior: none;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _iterableToArrayLimit(
|
|
3
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
4
4
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
5
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(
|
|
5
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
6
6
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
import { useEffect, useState, useMemo } from 'react';
|
package/es/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col,
|
|
1
|
+
export { Affix, Alert, Anchor, Avatar, Breadcrumb, Card, Carousel, Col, ColorPicker, Descriptions, Divider, Empty, Grid, InputNumber, Mentions, Menu, Pagination, Popconfirm, Popover, Progress, Rate, Result, Row, Space, Spin, Statistic, Steps, Switch, Tag, Timeline, Tooltip, Transfer, Tree, message, notification, version, } from 'antd';
|
|
2
2
|
export { default as AutoComplete } from './components/auto-complete';
|
|
3
3
|
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
4
4
|
export { default as Badge } from './components/badge';
|
|
@@ -129,3 +129,13 @@ export { default as PisellNavigationMenu } from './components/pisellNavigationMe
|
|
|
129
129
|
export { default as PisellAppCard } from './components/pisellAppCard';
|
|
130
130
|
export type { PisellAppCardProps } from './components/pisellAppCard/types';
|
|
131
131
|
export { default as BaseTranslation } from './components/dataSourceComponents/fields/Translation/BaseTranslation';
|
|
132
|
+
export { default as PisellCustomCheckboxGroup } from './components/pisellCustomCheckboxGroup';
|
|
133
|
+
export { default as PisellDropdown } from './components/pisellDropdown';
|
|
134
|
+
export { default as PisellSectionHeaders } from './components/pisellSectionHeaders';
|
|
135
|
+
export { default as PisellImageCarousels } from './components/pisellImageCarousels';
|
|
136
|
+
export { default as PisellHeaderProgressBar } from './components/pisellHeaderProgressBar';
|
|
137
|
+
export { default as PisellList01 } from './components/pisellList01';
|
|
138
|
+
export { default as SectionFooters } from './components/section-footers';
|
|
139
|
+
export { default as ProductCard } from './components/productCard';
|
|
140
|
+
export { default as Collapse } from './components/collapse';
|
|
141
|
+
export { default as PisellGoodPassCard } from './components/pisellGoodPassCard';
|