kts-component-invoice-operate 3.2.258 → 3.2.260
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/.dumi/theme/builtins/API.tsx +66 -66
- package/.editorconfig +16 -16
- package/.fatherrc.ts +4 -4
- package/.prettierignore +7 -7
- package/.prettierrc +11 -11
- package/.umirc.ts +8 -8
- package/.vscode/settings.json +13 -13
- package/BRANCH.md +4 -4
- package/README.md +12 -12
- package/dist/Invoice/Invoice-digtal/_test/passenger/index.d.ts +4 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/PassengerListState/IColumnsReplenish/index.d.ts +6 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/PassengerListState/IGood/index.d.ts +24 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/PassengerListState/index.d.ts +44 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/index.d.ts +5 -0
- package/dist/Invoice/InvoiceController/fns/addPassenger.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/delPassenger.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/saveEditPassenger.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/setEditPassenger.d.ts +6 -0
- package/dist/Invoice/InvoiceController/index.d.ts +12 -0
- package/dist/Invoice/index.d.ts +2 -0
- package/dist/Invoice/ui/components/CustomCascader/index.d.ts +20 -0
- package/dist/Invoice/ui/default/ImportPassengerDrawer/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/PassengerList/hook/useColumns/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/PassengerList/hook/useColumns/ui/TitleText/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/PassengerList/hook/useOnRow/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/PassengerList/hook/useRowSelection/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/PassengerList/hook/useWindowClick/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/PassengerList/index.d.ts +18 -0
- package/dist/Invoice/ui/digtal/PassengerList/ui/AddRowButton/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/PassengerList/ui/BatchImportButton/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/PassengerList/ui/BulkMenu/hooks/useDelRowButton/index.d.ts +6 -0
- package/dist/Invoice/ui/digtal/PassengerList/ui/BulkMenu/hooks/useEmptyRefill/index.d.ts +6 -0
- package/dist/Invoice/ui/digtal/PassengerList/ui/TableRow/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/PassengerList/ui/TableVirtual/index.d.ts +4 -0
- package/dist/index.esm.js +3478 -41
- package/dist/index.js +3468 -31
- package/docs/index.md +5 -5
- package/docs-dist/404.html +33 -33
- package/docs-dist/index.html +33 -33
- package/docs-dist/static/arrowDown.a1cbf0d8.svg +2 -2
- package/docs-dist/static/arrowUp.4c482054.svg +2 -2
- package/docs-dist/static/fork.5431267d.svg +11 -11
- package/docs-dist/static/plus.44013ce3.svg +11 -11
- package/docs-dist/static/plus.4fd1af30.svg +11 -11
- package/docs-dist/umi.css +18 -18
- package/index.html +12 -12
- package/package.json +62 -62
- package/src/Invoice/Invoice-digtal/_test/architecture/index.tsx +21 -21
- package/src/Invoice/Invoice-digtal/_test/disabled/index.tsx +40 -40
- package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +214 -214
- package/src/Invoice/Invoice-digtal/_test/freight/index.tsx +14592 -14592
- package/src/Invoice/Invoice-digtal/_test/header/index.tsx +84 -84
- package/src/Invoice/Invoice-digtal/_test/importGoods/index.tsx +1635 -1635
- package/src/Invoice/Invoice-digtal/_test/importStakeholder/index.tsx +18 -18
- package/src/Invoice/Invoice-digtal/_test/lineCredit/index.tsx +19 -19
- package/src/Invoice/Invoice-digtal/_test/passenger/index.tsx +14602 -0
- package/src/Invoice/Invoice-digtal/_test/pay/index.tsx +14644 -14644
- package/src/Invoice/Invoice-digtal/_test/prefab/index.tsx +150 -150
- package/src/Invoice/Invoice-digtal/_test/readOnly/index.tsx +55 -55
- package/src/Invoice/Invoice-digtal/_test/realEstateInfo/index.tsx +83 -83
- package/src/Invoice/Invoice-digtal/_test/realEstateSales/index.tsx +76 -76
- package/src/Invoice/Invoice-digtal/_test/stakeholder/index.tsx +12 -12
- package/src/Invoice/Invoice-digtal/_test/typeSelection/index.tsx +29 -29
- package/src/Invoice/Invoice-digtal/index.md +49 -46
- package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +128 -117
- package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +26 -26
- package/src/Invoice/InvoiceController/InvoiceControllerState/BuyerState/index.tsx +88 -88
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IColumnsReplenish/index.ts +10 -10
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IGood/index.ts +33 -33
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/ImportGoods/index.ts +81 -81
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/index.ts +39 -39
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.ts +15 -15
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode/index.tsx +104 -104
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IColumnsReplenish/index.ts +10 -10
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +93 -93
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +84 -84
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/LineAttributeType/index.ts +7 -7
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.ts +9 -9
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +150 -150
- package/src/Invoice/InvoiceController/InvoiceControllerState/PassengerListState/IColumnsReplenish/index.ts +10 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/PassengerListState/IGood/index.ts +34 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/PassengerListState/index.ts +179 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/IColumnsReplenish/index.ts +10 -10
- package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/IGood/index.ts +35 -35
- package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/ImportGoods/index.ts +81 -81
- package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/index.ts +39 -39
- package/src/Invoice/InvoiceController/InvoiceControllerState/Stakeholder/index.ts +13 -13
- package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +82 -76
- package/src/Invoice/InvoiceController/fns/addFreight.ts +11 -11
- package/src/Invoice/InvoiceController/fns/addGood.ts +11 -11
- package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +126 -126
- package/src/Invoice/InvoiceController/fns/addGoodDiscountV2.ts +86 -86
- package/src/Invoice/InvoiceController/fns/addPassenger.ts +11 -0
- package/src/Invoice/InvoiceController/fns/addPay.ts +11 -11
- package/src/Invoice/InvoiceController/fns/delFreight.ts +38 -38
- package/src/Invoice/InvoiceController/fns/delGood.ts +41 -41
- package/src/Invoice/InvoiceController/fns/delPassenger.ts +38 -0
- package/src/Invoice/InvoiceController/fns/delPay.ts +38 -38
- package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +26 -26
- package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +86 -86
- package/src/Invoice/InvoiceController/fns/itemBlur.ts +47 -47
- package/src/Invoice/InvoiceController/fns/mergeDetails.ts +201 -201
- package/src/Invoice/InvoiceController/fns/mergeDiscount.ts +35 -35
- package/src/Invoice/InvoiceController/fns/saveEditFreight.ts +24 -24
- package/src/Invoice/InvoiceController/fns/saveEditGood.ts +24 -24
- package/src/Invoice/InvoiceController/fns/saveEditPassenger.ts +24 -0
- package/src/Invoice/InvoiceController/fns/saveEditPay.ts +23 -23
- package/src/Invoice/InvoiceController/fns/setEditFreight.ts +16 -16
- package/src/Invoice/InvoiceController/fns/setEditGood.ts +16 -16
- package/src/Invoice/InvoiceController/fns/setEditPassenger.ts +16 -0
- package/src/Invoice/InvoiceController/fns/setEditPay.ts +16 -16
- package/src/Invoice/InvoiceController/fns/setFreight.ts +10 -10
- package/src/Invoice/InvoiceController/fns/setGoods.ts +10 -10
- package/src/Invoice/InvoiceController/fns/setPay.ts +10 -10
- package/src/Invoice/InvoiceController/fns/updateInvoiceNo.ts +8 -8
- package/src/Invoice/InvoiceController/index.ts +149 -127
- package/src/Invoice/_test/buyerNameSearch/index.tsx +42 -42
- package/src/Invoice/_test/children/index.tsx +214 -214
- package/src/Invoice/_test/deduction/index.tsx +956 -956
- package/src/Invoice/_test/draft/index.tsx +40 -40
- package/src/Invoice/_test/easiest/index.tsx +5 -5
- package/src/Invoice/_test/endowCode/index.tsx +1158 -1158
- package/src/Invoice/_test/goodsMenuExpand/index.tsx +32 -32
- package/src/Invoice/_test/importBuyer/index.tsx +75 -75
- package/src/Invoice/_test/importGoods/index.tsx +1375 -1375
- package/src/Invoice/_test/invoiceType/index.tsx +59 -59
- package/src/Invoice/_test/isInvoiceNo/index.tsx +12 -12
- package/src/Invoice/_test/replaceHead/index.tsx +22 -22
- package/src/Invoice/_test/retrieveData/index.tsx +22 -22
- package/src/Invoice/_test/seller/index.tsx +28 -28
- package/src/Invoice/_test/setDataSource/index.tsx +73 -73
- package/src/Invoice/_test/unit/index.tsx +19 -19
- package/src/Invoice/index.less +31 -31
- package/src/Invoice/index.md +56 -56
- package/src/Invoice/index.tsx +216 -211
- package/src/Invoice/tools/calculate/index.ts +144 -144
- package/src/Invoice/tools/coolingFn/index.ts +17 -17
- package/src/Invoice/tools/evaluate/index.ts +7 -7
- package/src/Invoice/tools/idGenerator/index.ts +2 -2
- package/src/Invoice/tools/itemName/index.ts +55 -55
- package/src/Invoice/tools/lazyFn/index.ts +19 -19
- package/src/Invoice/tools/mounting/index.ts +13 -13
- package/src/Invoice/tools/strringFn/index.ts +40 -40
- package/src/Invoice/tools/useToGenerateId/index.ts +12 -12
- package/src/Invoice/tools/utils/index.ts +1 -1
- package/src/Invoice/tools/utils/money/index.ts +20 -20
- package/src/Invoice/ui/components/CustomCascader/index.tsx +356 -0
- package/src/Invoice/ui/default/AddComparisonDrawer/index.tsx +149 -149
- package/src/Invoice/ui/default/Buyer/index.less +219 -219
- package/src/Invoice/ui/default/Buyer/index.tsx +114 -114
- package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +166 -166
- package/src/Invoice/ui/default/Buyer/ui/ImportBuyerButton/index.tsx +21 -21
- package/src/Invoice/ui/default/EndowCodeDrawer/index.less +8 -8
- package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +620 -620
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +690 -690
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +773 -773
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/index.tsx +57 -57
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -18
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +49 -49
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +17 -17
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +91 -91
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +118 -118
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/dist/index.js +32 -32
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +25 -25
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +99 -99
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/default/GoodsList/hook/useDeduction/index.tsx +24 -24
- package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +52 -52
- package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +120 -120
- package/src/Invoice/ui/default/GoodsList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/default/GoodsList/index.less +185 -185
- package/src/Invoice/ui/default/GoodsList/index.tsx +207 -207
- package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +72 -72
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.less +21 -21
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +244 -244
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +69 -69
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +65 -65
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +91 -91
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDiscount/index.tsx +36 -36
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesDiscount/index.tsx +109 -109
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesGifts/index.tsx +94 -94
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +37 -37
- package/src/Invoice/ui/default/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
- package/src/Invoice/ui/default/GoodsList/ui/Search/index.less +10 -10
- package/src/Invoice/ui/default/GoodsList/ui/Search/index.tsx +52 -52
- package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.less +18 -18
- package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +114 -114
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +40 -40
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +71 -71
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +130 -130
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.less +44 -44
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
- package/src/Invoice/ui/default/GoodsList/ui/TaxIncludedSwitch/index.tsx +31 -31
- package/src/Invoice/ui/default/ImportBuyerDrawer/index.tsx +75 -75
- package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +207 -207
- package/src/Invoice/ui/default/ImportPassengerDrawer/index.tsx +213 -0
- package/src/Invoice/ui/default/InvoiceHeader/index.less +68 -68
- package/src/Invoice/ui/default/InvoiceHeader/index.tsx +246 -246
- package/src/Invoice/ui/default/MeiTanModal/index.less +39 -39
- package/src/Invoice/ui/default/MeiTanModal/index.tsx +165 -165
- package/src/Invoice/ui/default/Seller/index.less +113 -113
- package/src/Invoice/ui/default/Seller/index.tsx +98 -98
- package/src/Invoice/ui/default/Sign/index.less +14 -14
- package/src/Invoice/ui/default/Sign/index.tsx +71 -71
- package/src/Invoice/ui/digtal/Architecture/index.less +22 -22
- package/src/Invoice/ui/digtal/Architecture/index.tsx +227 -227
- package/src/Invoice/ui/digtal/FreightList/hook/useColumns/dist/index.js +616 -616
- package/src/Invoice/ui/digtal/FreightList/hook/useColumns/index.tsx +246 -246
- package/src/Invoice/ui/digtal/FreightList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/digtal/FreightList/hook/useOnRow/index.tsx +37 -37
- package/src/Invoice/ui/digtal/FreightList/hook/useRowSelection/index.tsx +119 -119
- package/src/Invoice/ui/digtal/FreightList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/digtal/FreightList/index.less +72 -72
- package/src/Invoice/ui/digtal/FreightList/index.tsx +129 -129
- package/src/Invoice/ui/digtal/FreightList/ui/AddRowButton/index.tsx +74 -74
- package/src/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
- package/src/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +36 -36
- package/src/Invoice/ui/digtal/FreightList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/digtal/FreightList/ui/TableRow/index.tsx +20 -20
- package/src/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.tsx +108 -108
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +690 -690
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/dist/index.js +616 -616
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +720 -720
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +9 -9
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +87 -87
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +34 -34
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/digtal/GoodsList/hook/useOnRow/index.tsx +51 -51
- package/src/Invoice/ui/digtal/GoodsList/hook/useRowSelection/index.tsx +121 -121
- package/src/Invoice/ui/digtal/GoodsList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/digtal/GoodsList/index.less +56 -56
- package/src/Invoice/ui/digtal/GoodsList/index.tsx +181 -181
- package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +87 -87
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +340 -340
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/svg/add.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +37 -37
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +82 -82
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useReselectInvoiceType/index.tsx +57 -57
- package/src/Invoice/ui/digtal/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
- package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.less +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +60 -60
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.less +53 -53
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +100 -100
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/svg/fork.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +52 -52
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +113 -113
- package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +34 -34
- package/src/Invoice/ui/digtal/InvoiceHeader/index.less +57 -57
- package/src/Invoice/ui/digtal/InvoiceHeader/index.tsx +77 -77
- package/src/Invoice/ui/digtal/PassengerList/hook/useColumns/index.tsx +428 -0
- package/src/Invoice/ui/digtal/PassengerList/hook/useColumns/ui/TitleText/index.tsx +20 -0
- package/src/Invoice/ui/digtal/PassengerList/hook/useOnRow/index.tsx +37 -0
- package/src/Invoice/ui/digtal/PassengerList/hook/useRowSelection/index.tsx +120 -0
- package/src/Invoice/ui/digtal/PassengerList/hook/useWindowClick/index.tsx +23 -0
- package/src/Invoice/ui/digtal/PassengerList/index.less +73 -0
- package/src/Invoice/ui/digtal/PassengerList/index.tsx +152 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/AddRowButton/index.tsx +75 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/BatchImportButton/index.tsx +74 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +37 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/TableRow/index.less +29 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/TableRow/index.tsx +21 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/TableVirtual/index.less +39 -0
- package/src/Invoice/ui/digtal/PassengerList/ui/TableVirtual/index.tsx +109 -0
- package/src/Invoice/ui/digtal/PayList/hook/useColumns/dist/index.js +616 -616
- package/src/Invoice/ui/digtal/PayList/hook/useColumns/index.tsx +168 -168
- package/src/Invoice/ui/digtal/PayList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/digtal/PayList/hook/useOnRow/index.tsx +37 -37
- package/src/Invoice/ui/digtal/PayList/hook/useRowSelection/index.tsx +119 -119
- package/src/Invoice/ui/digtal/PayList/hook/useWindowClick/index.tsx +19 -19
- package/src/Invoice/ui/digtal/PayList/index.less +72 -72
- package/src/Invoice/ui/digtal/PayList/index.tsx +132 -132
- package/src/Invoice/ui/digtal/PayList/ui/AddRowButton/index.tsx +74 -74
- package/src/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
- package/src/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +36 -36
- package/src/Invoice/ui/digtal/PayList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/digtal/PayList/ui/TableRow/index.tsx +20 -20
- package/src/Invoice/ui/digtal/PayList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/digtal/PayList/ui/TableVirtual/index.tsx +108 -108
- package/src/Invoice/ui/digtal/RealEstateInfo/index.less +21 -21
- package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +451 -451
- package/src/Invoice/ui/digtal/RealEstateSales/index.less +21 -21
- package/src/Invoice/ui/digtal/RealEstateSales/index.tsx +301 -301
- package/src/Invoice/ui/digtal/Sign/index.less +48 -48
- package/src/Invoice/ui/digtal/Sign/index.tsx +99 -99
- package/src/Invoice/ui/digtal/StakeFarmerholder/index.less +99 -99
- package/src/Invoice/ui/digtal/StakeFarmerholder/index.tsx +1102 -1102
- package/src/Invoice/ui/digtal/StakeFarmerholder/svg/arrowDown.svg +2 -2
- package/src/Invoice/ui/digtal/StakeFarmerholder/svg/arrowUp.svg +2 -2
- package/src/Invoice/ui/digtal/StakeFarmerholder/svg/plus.svg +11 -11
- package/src/Invoice/ui/digtal/Stakeholder/index.less +99 -99
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +458 -458
- package/src/Invoice/ui/digtal/Stakeholder/svg/arrowDown.svg +2 -2
- package/src/Invoice/ui/digtal/Stakeholder/svg/arrowUp.svg +2 -2
- package/src/Invoice/ui/digtal/Stakeholder/svg/plus.svg +11 -11
- package/src/InvoiceTypeModal/_test/easiest/index.tsx +31 -31
- package/src/InvoiceTypeModal/dist/index.js +92 -92
- package/src/InvoiceTypeModal/index.less +7 -7
- package/src/InvoiceTypeModal/index.md +5 -5
- package/src/InvoiceTypeModal/index.tsx +161 -161
- package/src/TaxClassificationCodeModal/_test/easiest/index.tsx +184 -184
- package/src/TaxClassificationCodeModal/index.less +17 -17
- package/src/TaxClassificationCodeModal/index.md +6 -6
- package/src/TaxClassificationCodeModal/index.tsx +152 -152
- package/src/index.ts +13 -13
- package/tsconfig.json +31 -31
- package/typings.d.ts +3 -3
- package/docs-dist/static/arrowDown.22c7885c.svg +0 -3
- package/docs-dist/static/arrowUp.d707a3e4.svg +0 -3
- package/docs-dist/static/download.18f10f45.svg +0 -1
- package/docs-dist/static/fork.43eb4ffa.svg +0 -12
- package/docs-dist/static/plus.0e60e9ea.svg +0 -12
- package/docs-dist/static/plus.384f41d9.svg +0 -12
- package/docs-dist/static/upload.d7ea1893.svg +0 -1
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Drawer, Input, Tree, Form, Button, Card, FormReadOnly } from "kts-xui";
|
|
4
|
-
import { Icon, message } from "kts-components-antd-x3";
|
|
5
|
-
import './index.less';
|
|
6
|
-
export interface TaxClassificationProps {
|
|
7
|
-
|
|
8
|
-
/** 是否开启 */
|
|
9
|
-
open?: boolean;
|
|
10
|
-
|
|
11
|
-
/** 数据 */
|
|
12
|
-
list?: any[];
|
|
13
|
-
|
|
14
|
-
/** 点击了取消 */
|
|
15
|
-
onCancel?: () => void;
|
|
16
|
-
|
|
17
|
-
/** 点击了选择 */
|
|
18
|
-
onSelect?: (key: any, info: any) => void;
|
|
19
|
-
|
|
20
|
-
/** 点击了提交 */
|
|
21
|
-
onSubmit?: (key: any, info: any) => void;
|
|
22
|
-
|
|
23
|
-
/** 点击了加载 */
|
|
24
|
-
onLoad: (value: any) => Promise<any[]>;
|
|
25
|
-
|
|
26
|
-
/** 点击了搜索 */
|
|
27
|
-
onSearch?: (value?: any) => void;
|
|
28
|
-
|
|
29
|
-
info?: any;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default function TaxClassificationModal(props: TaxClassificationProps) {
|
|
33
|
-
const [form] = Form.useForm<any>();
|
|
34
|
-
|
|
35
|
-
const searchTax = React.useCallback(async (value?: any) => {
|
|
36
|
-
if(!value?.target?.value) {
|
|
37
|
-
form.resetFields();
|
|
38
|
-
}
|
|
39
|
-
props.onSearch && props.onSearch(value);
|
|
40
|
-
}, [props.onSearch, form]);
|
|
41
|
-
|
|
42
|
-
React.useEffect(() => {
|
|
43
|
-
if (!props.open) {
|
|
44
|
-
setTimeout(()=> {
|
|
45
|
-
form.resetFields();
|
|
46
|
-
}, 500)
|
|
47
|
-
}
|
|
48
|
-
}, [form, props.open]);
|
|
49
|
-
|
|
50
|
-
// const [childrenDrawer, setChildrenDrawer] = React.useState(false);
|
|
51
|
-
|
|
52
|
-
const showChildrenDrawer = (key: any, info: any) => {
|
|
53
|
-
if(props.onSelect){
|
|
54
|
-
props.onSelect(key, info);
|
|
55
|
-
}
|
|
56
|
-
// setChildrenDrawer(true);
|
|
57
|
-
};
|
|
58
|
-
const onChildrenDrawerClose = () => {
|
|
59
|
-
// setChildrenDrawer(false);
|
|
60
|
-
if(props.onCancel){
|
|
61
|
-
props.onCancel();
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
const layout = {
|
|
66
|
-
labelCol: { span: 8 },
|
|
67
|
-
wrapperCol: { span: 16 },
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const sureTaxCodeSubmit = () => {
|
|
71
|
-
form.validateFields().then(values => {
|
|
72
|
-
if(!values.taxCategoryCode){
|
|
73
|
-
message.warn('请选择税收分类编码');
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
onChildrenDrawerClose();
|
|
77
|
-
props.onSubmit && props.onSubmit(props.info?.key, {...props.info,...values});
|
|
78
|
-
}).catch(errorInfo => {
|
|
79
|
-
console.log('errorInfo', errorInfo);
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
React.useEffect(() => {
|
|
83
|
-
form.setFieldsValue({
|
|
84
|
-
...form.getFieldsValue(),
|
|
85
|
-
taxCategoryCode: props?.info?.taxCategoryCode,
|
|
86
|
-
productName: props?.info?.productName,
|
|
87
|
-
shorthand: props?.info?.shorthand,
|
|
88
|
-
taxDesc: props?.info?.taxDesc,
|
|
89
|
-
})
|
|
90
|
-
},[props?.info?.key])
|
|
91
|
-
return (
|
|
92
|
-
<Drawer
|
|
93
|
-
title="商品和服务税收分类编码"
|
|
94
|
-
placement="right"
|
|
95
|
-
open={props.open}
|
|
96
|
-
width={743}
|
|
97
|
-
onClose={props.onCancel}
|
|
98
|
-
footer={
|
|
99
|
-
<div
|
|
100
|
-
style={{
|
|
101
|
-
textAlign: 'right',
|
|
102
|
-
}}
|
|
103
|
-
>
|
|
104
|
-
<Button onClick={onChildrenDrawerClose} style={{ marginRight: 8 }}>
|
|
105
|
-
取消
|
|
106
|
-
</Button>
|
|
107
|
-
<Button onClick={sureTaxCodeSubmit} type="primary">
|
|
108
|
-
确定
|
|
109
|
-
</Button>
|
|
110
|
-
</div>
|
|
111
|
-
}
|
|
112
|
-
>
|
|
113
|
-
<div className="taxdetailsbox">
|
|
114
|
-
<Form
|
|
115
|
-
style={{width: 330}}
|
|
116
|
-
form={form}
|
|
117
|
-
>
|
|
118
|
-
<Form.Item name='search'>
|
|
119
|
-
<Input
|
|
120
|
-
placeholder="请输入税收分类编码、税收分类名称进行检索"
|
|
121
|
-
onChange={searchTax}
|
|
122
|
-
/>
|
|
123
|
-
</Form.Item>
|
|
124
|
-
<Form.Item name='tree'>
|
|
125
|
-
<Tree
|
|
126
|
-
onSelect={(key: any, info: any)=>{showChildrenDrawer(key, info)}}
|
|
127
|
-
loadData={props.onLoad}
|
|
128
|
-
treeData={props.list}
|
|
129
|
-
switcherIcon={<Icon type="down" />}
|
|
130
|
-
/>
|
|
131
|
-
</Form.Item>
|
|
132
|
-
</Form>
|
|
133
|
-
<Card className="taxrightbox">
|
|
134
|
-
<Form form={form} {...layout} initialValues={props.info} >
|
|
135
|
-
<Form.Item name={"taxCategoryCode"} label="编码">
|
|
136
|
-
<FormReadOnly />
|
|
137
|
-
</Form.Item>
|
|
138
|
-
<Form.Item name={"productName"} label="货物和劳务名称">
|
|
139
|
-
<FormReadOnly />
|
|
140
|
-
</Form.Item>
|
|
141
|
-
<Form.Item name={"shorthand"} label="简称">
|
|
142
|
-
<FormReadOnly />
|
|
143
|
-
</Form.Item>
|
|
144
|
-
<Form.Item name={"taxDesc"} className="taxdesc" label="说明">
|
|
145
|
-
<FormReadOnly />
|
|
146
|
-
</Form.Item>
|
|
147
|
-
</Form>
|
|
148
|
-
</Card>
|
|
149
|
-
</div>
|
|
150
|
-
</Drawer>
|
|
151
|
-
)
|
|
152
|
-
}
|
|
1
|
+
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Drawer, Input, Tree, Form, Button, Card, FormReadOnly } from "kts-xui";
|
|
4
|
+
import { Icon, message } from "kts-components-antd-x3";
|
|
5
|
+
import './index.less';
|
|
6
|
+
export interface TaxClassificationProps {
|
|
7
|
+
|
|
8
|
+
/** 是否开启 */
|
|
9
|
+
open?: boolean;
|
|
10
|
+
|
|
11
|
+
/** 数据 */
|
|
12
|
+
list?: any[];
|
|
13
|
+
|
|
14
|
+
/** 点击了取消 */
|
|
15
|
+
onCancel?: () => void;
|
|
16
|
+
|
|
17
|
+
/** 点击了选择 */
|
|
18
|
+
onSelect?: (key: any, info: any) => void;
|
|
19
|
+
|
|
20
|
+
/** 点击了提交 */
|
|
21
|
+
onSubmit?: (key: any, info: any) => void;
|
|
22
|
+
|
|
23
|
+
/** 点击了加载 */
|
|
24
|
+
onLoad: (value: any) => Promise<any[]>;
|
|
25
|
+
|
|
26
|
+
/** 点击了搜索 */
|
|
27
|
+
onSearch?: (value?: any) => void;
|
|
28
|
+
|
|
29
|
+
info?: any;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default function TaxClassificationModal(props: TaxClassificationProps) {
|
|
33
|
+
const [form] = Form.useForm<any>();
|
|
34
|
+
|
|
35
|
+
const searchTax = React.useCallback(async (value?: any) => {
|
|
36
|
+
if(!value?.target?.value) {
|
|
37
|
+
form.resetFields();
|
|
38
|
+
}
|
|
39
|
+
props.onSearch && props.onSearch(value);
|
|
40
|
+
}, [props.onSearch, form]);
|
|
41
|
+
|
|
42
|
+
React.useEffect(() => {
|
|
43
|
+
if (!props.open) {
|
|
44
|
+
setTimeout(()=> {
|
|
45
|
+
form.resetFields();
|
|
46
|
+
}, 500)
|
|
47
|
+
}
|
|
48
|
+
}, [form, props.open]);
|
|
49
|
+
|
|
50
|
+
// const [childrenDrawer, setChildrenDrawer] = React.useState(false);
|
|
51
|
+
|
|
52
|
+
const showChildrenDrawer = (key: any, info: any) => {
|
|
53
|
+
if(props.onSelect){
|
|
54
|
+
props.onSelect(key, info);
|
|
55
|
+
}
|
|
56
|
+
// setChildrenDrawer(true);
|
|
57
|
+
};
|
|
58
|
+
const onChildrenDrawerClose = () => {
|
|
59
|
+
// setChildrenDrawer(false);
|
|
60
|
+
if(props.onCancel){
|
|
61
|
+
props.onCancel();
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
const layout = {
|
|
66
|
+
labelCol: { span: 8 },
|
|
67
|
+
wrapperCol: { span: 16 },
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const sureTaxCodeSubmit = () => {
|
|
71
|
+
form.validateFields().then(values => {
|
|
72
|
+
if(!values.taxCategoryCode){
|
|
73
|
+
message.warn('请选择税收分类编码');
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
onChildrenDrawerClose();
|
|
77
|
+
props.onSubmit && props.onSubmit(props.info?.key, {...props.info,...values});
|
|
78
|
+
}).catch(errorInfo => {
|
|
79
|
+
console.log('errorInfo', errorInfo);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
React.useEffect(() => {
|
|
83
|
+
form.setFieldsValue({
|
|
84
|
+
...form.getFieldsValue(),
|
|
85
|
+
taxCategoryCode: props?.info?.taxCategoryCode,
|
|
86
|
+
productName: props?.info?.productName,
|
|
87
|
+
shorthand: props?.info?.shorthand,
|
|
88
|
+
taxDesc: props?.info?.taxDesc,
|
|
89
|
+
})
|
|
90
|
+
},[props?.info?.key])
|
|
91
|
+
return (
|
|
92
|
+
<Drawer
|
|
93
|
+
title="商品和服务税收分类编码"
|
|
94
|
+
placement="right"
|
|
95
|
+
open={props.open}
|
|
96
|
+
width={743}
|
|
97
|
+
onClose={props.onCancel}
|
|
98
|
+
footer={
|
|
99
|
+
<div
|
|
100
|
+
style={{
|
|
101
|
+
textAlign: 'right',
|
|
102
|
+
}}
|
|
103
|
+
>
|
|
104
|
+
<Button onClick={onChildrenDrawerClose} style={{ marginRight: 8 }}>
|
|
105
|
+
取消
|
|
106
|
+
</Button>
|
|
107
|
+
<Button onClick={sureTaxCodeSubmit} type="primary">
|
|
108
|
+
确定
|
|
109
|
+
</Button>
|
|
110
|
+
</div>
|
|
111
|
+
}
|
|
112
|
+
>
|
|
113
|
+
<div className="taxdetailsbox">
|
|
114
|
+
<Form
|
|
115
|
+
style={{width: 330}}
|
|
116
|
+
form={form}
|
|
117
|
+
>
|
|
118
|
+
<Form.Item name='search'>
|
|
119
|
+
<Input
|
|
120
|
+
placeholder="请输入税收分类编码、税收分类名称进行检索"
|
|
121
|
+
onChange={searchTax}
|
|
122
|
+
/>
|
|
123
|
+
</Form.Item>
|
|
124
|
+
<Form.Item name='tree'>
|
|
125
|
+
<Tree
|
|
126
|
+
onSelect={(key: any, info: any)=>{showChildrenDrawer(key, info)}}
|
|
127
|
+
loadData={props.onLoad}
|
|
128
|
+
treeData={props.list}
|
|
129
|
+
switcherIcon={<Icon type="down" />}
|
|
130
|
+
/>
|
|
131
|
+
</Form.Item>
|
|
132
|
+
</Form>
|
|
133
|
+
<Card className="taxrightbox">
|
|
134
|
+
<Form form={form} {...layout} initialValues={props.info} >
|
|
135
|
+
<Form.Item name={"taxCategoryCode"} label="编码">
|
|
136
|
+
<FormReadOnly />
|
|
137
|
+
</Form.Item>
|
|
138
|
+
<Form.Item name={"productName"} label="货物和劳务名称">
|
|
139
|
+
<FormReadOnly />
|
|
140
|
+
</Form.Item>
|
|
141
|
+
<Form.Item name={"shorthand"} label="简称">
|
|
142
|
+
<FormReadOnly />
|
|
143
|
+
</Form.Item>
|
|
144
|
+
<Form.Item name={"taxDesc"} className="taxdesc" label="说明">
|
|
145
|
+
<FormReadOnly />
|
|
146
|
+
</Form.Item>
|
|
147
|
+
</Form>
|
|
148
|
+
</Card>
|
|
149
|
+
</div>
|
|
150
|
+
</Drawer>
|
|
151
|
+
)
|
|
152
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import 'kts-components-antd-x3/dist/kts-components-antd-x3.css';
|
|
3
|
-
|
|
4
|
-
export { default as Invoice } from './Invoice';
|
|
5
|
-
export { default as InvoiceController } from './Invoice/InvoiceController';
|
|
6
|
-
export type { default as IGood } from './Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood';
|
|
7
|
-
|
|
8
|
-
export { default as InvoiceTypeModal } from './InvoiceTypeModal';
|
|
9
|
-
export type { IInvoiceTypeModalProps } from './InvoiceTypeModal';
|
|
10
|
-
|
|
11
|
-
export { default as TaxClassificationModal } from './TaxClassificationCodeModal';
|
|
12
|
-
export type { TaxClassificationProps } from './TaxClassificationCodeModal';
|
|
13
|
-
|
|
1
|
+
|
|
2
|
+
import 'kts-components-antd-x3/dist/kts-components-antd-x3.css';
|
|
3
|
+
|
|
4
|
+
export { default as Invoice } from './Invoice';
|
|
5
|
+
export { default as InvoiceController } from './Invoice/InvoiceController';
|
|
6
|
+
export type { default as IGood } from './Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood';
|
|
7
|
+
|
|
8
|
+
export { default as InvoiceTypeModal } from './InvoiceTypeModal';
|
|
9
|
+
export type { IInvoiceTypeModalProps } from './InvoiceTypeModal';
|
|
10
|
+
|
|
11
|
+
export { default as TaxClassificationModal } from './TaxClassificationCodeModal';
|
|
12
|
+
export type { TaxClassificationProps } from './TaxClassificationCodeModal';
|
|
13
|
+
|
package/tsconfig.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"importHelpers": true,
|
|
7
|
-
"jsx": "react",
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"baseUrl": "./",
|
|
11
|
-
"strict": true,
|
|
12
|
-
"paths": {
|
|
13
|
-
"@/*": ["src/*"],
|
|
14
|
-
"@@/*": ["src/.umi/*"],
|
|
15
|
-
"kts-component-invoice-operate": ["src/*"]
|
|
16
|
-
},
|
|
17
|
-
"experimentalDecorators": true,
|
|
18
|
-
"allowSyntheticDefaultImports": true
|
|
19
|
-
},
|
|
20
|
-
"exclude": [
|
|
21
|
-
"node_modules",
|
|
22
|
-
"lib",
|
|
23
|
-
"es",
|
|
24
|
-
"dist",
|
|
25
|
-
"typings",
|
|
26
|
-
"**/__test__",
|
|
27
|
-
"test",
|
|
28
|
-
"docs",
|
|
29
|
-
"tests"
|
|
30
|
-
]
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "esnext",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"importHelpers": true,
|
|
7
|
+
"jsx": "react",
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"baseUrl": "./",
|
|
11
|
+
"strict": true,
|
|
12
|
+
"paths": {
|
|
13
|
+
"@/*": ["src/*"],
|
|
14
|
+
"@@/*": ["src/.umi/*"],
|
|
15
|
+
"kts-component-invoice-operate": ["src/*"]
|
|
16
|
+
},
|
|
17
|
+
"experimentalDecorators": true,
|
|
18
|
+
"allowSyntheticDefaultImports": true
|
|
19
|
+
},
|
|
20
|
+
"exclude": [
|
|
21
|
+
"node_modules",
|
|
22
|
+
"lib",
|
|
23
|
+
"es",
|
|
24
|
+
"dist",
|
|
25
|
+
"typings",
|
|
26
|
+
"**/__test__",
|
|
27
|
+
"test",
|
|
28
|
+
"docs",
|
|
29
|
+
"tests"
|
|
30
|
+
]
|
|
31
|
+
}
|
package/typings.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare module '*.css';
|
|
2
|
-
declare module '*.less';
|
|
3
|
-
declare module '*.svg';
|
|
1
|
+
declare module '*.css';
|
|
2
|
+
declare module '*.less';
|
|
3
|
+
declare module '*.svg';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13" fill="none">
|
|
2
|
-
<path d="M2.94338 4.42663C3.03458 4.42662 3.12571 4.46481 3.19459 4.54096L5.99164 7.6327L8.78868 4.54096C8.92463 4.39067 9.14733 4.38824 9.28606 4.53554C9.4248 4.68285 9.42705 4.92408 9.29107 5.07437L6.24283 8.44378C6.17667 8.5169 6.08613 8.55811 5.99164 8.55811C5.89714 8.55811 5.80659 8.5169 5.74044 8.44378L2.69221 5.07437C2.55623 4.92408 2.55849 4.68285 2.69722 4.53554C2.76567 4.46287 2.85455 4.42665 2.94338 4.42663Z"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13" fill="none">
|
|
2
|
-
<path d="M9.55662 8.57337C9.46542 8.57338 9.37429 8.53519 9.30541 8.45904L6.50836 5.3673L3.71132 8.45904C3.57537 8.60933 3.35267 8.61176 3.21394 8.46446C3.0752 8.31715 3.07295 8.07592 3.20893 7.92563L6.25717 4.55622C6.32333 4.4831 6.41387 4.44189 6.50836 4.44189C6.60286 4.44189 6.69341 4.4831 6.75956 4.55622L9.80779 7.92563C9.94377 8.07592 9.94151 8.31715 9.80278 8.46446C9.73433 8.53713 9.64545 8.57335 9.55662 8.57337Z"/>
|
|
3
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg t="1670833534624" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8020" width="200" height="200"><path d="M748.51214222 770.64874667h-70.48760889v-45.43829334h70.48760889c109.51793778 0 198.64689778-89.12896 198.64689778-198.64689778 0-106.60522667-83.30353778-193.98656-189.90876445-198.64689777l-16.31118222-0.58254223-4.66033778-15.72864c-30.87473778-110.10048-132.81962667-187.57859555-247.58044444-187.57859555-140.97521778 0-256.31857778 114.76081778-256.90112 255.15349333v16.89372445l-16.89372444 4.66033777c-69.90506667 19.80643555-118.25607111 83.88608-118.25607112 156.12131556 0 89.71150222 72.81777778 162.52928 162.52928 162.52928h82.13845334v45.43829334H259.17667555c-114.76081778 0-207.96757333-93.20675555-207.96757333-207.96757334 0-46.02083555 14.56355555-89.71150222 43.10812445-126.41166222 23.88423111-30.87473778 55.92405333-54.75896889 92.62421333-68.15744 4.66033778-73.98286222 35.53507555-143.30538667 88.54641778-196.31672889 57.08913778-56.50659555 132.81962667-87.96387555 213.21045333-87.96387555 67.57489778 0 131.072 21.55406222 184.08334222 62.33201777 47.18592 36.11761778 83.30353778 86.79879111 102.52743112 142.72284445 56.50659555 6.40796445 109.51793778 32.03982222 149.13080888 73.40032 43.69066667 45.43829333 68.15744 105.44014222 68.15744 168.93724444 0 65.24472889-25.63185778 126.41166222-71.65269333 172.43249778-46.02083555 47.18592-107.18776889 72.81777778-172.43249778 72.81777778z" p-id="8021"></path><path d="M539.96202667 785.21230222H494.52373333V479.37763555h45.43829334v305.83466667z" p-id="8022"></path><path d="M600.54641778 704.82147555l31.45728 32.62236445-118.83861333 115.34336-111.26556445-115.92590222 32.62236445-31.45728 79.80828444 83.30353777 86.21624889-83.88608z" p-id="8023"></path></svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
-
<g clip-path="url(#clip0_695_1221)">
|
|
3
|
-
<path d="M7.99978 0.888916C4.08867 0.888916 0.888672 4.08892 0.888672 8.00003C0.888672 11.9111 4.08867 15.1111 7.99978 15.1111C11.9109 15.1111 15.1109 11.9111 15.1109 8.00003C15.1109 4.08892 11.9109 0.888916 7.99978 0.888916ZM7.99978 14.2222C4.53312 14.2222 1.77756 11.4667 1.77756 8.00003C1.77756 4.53336 4.53312 1.7778 7.99978 1.7778C11.4664 1.7778 14.222 4.53336 14.222 8.00003C14.222 11.4667 11.4664 14.2222 7.99978 14.2222Z" fill="#333333"/>
|
|
4
|
-
<path d="M10.7019 11.3288L4.72949 5.35818L5.35794 4.72974L11.3295 10.7004L10.7019 11.3288Z" fill="#333333"/>
|
|
5
|
-
<path d="M4.66895 10.7023L10.6396 4.73071L11.2681 5.35916L5.29739 11.3307L4.66895 10.7023Z" fill="#333333"/>
|
|
6
|
-
</g>
|
|
7
|
-
<defs>
|
|
8
|
-
<clipPath id="clip0_695_1221">
|
|
9
|
-
<rect width="16" height="16" fill="white"/>
|
|
10
|
-
</clipPath>
|
|
11
|
-
</defs>
|
|
12
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
|
|
2
|
-
<g clip-path="url(#clip0_715_360)">
|
|
3
|
-
<path d="M8 14.5312C4.11687 14.5312 0.96875 11.3831 0.96875 7.5C0.96875 3.61687 4.11687 0.46875 8 0.46875C11.8831 0.46875 15.0312 3.61687 15.0312 7.5C15.0312 11.3831 11.8831 14.5312 8 14.5312ZM8 13.5938C11.3656 13.5938 14.0938 10.8656 14.0938 7.5C14.0938 4.13438 11.3656 1.40625 8 1.40625C4.63438 1.40625 1.90625 4.13438 1.90625 7.5C1.90625 10.8656 4.63438 13.5938 8 13.5938Z"/>
|
|
4
|
-
<path d="M4.25 7.96875C4.12568 7.96875 4.00645 7.91936 3.91854 7.83146C3.83064 7.74355 3.78125 7.62432 3.78125 7.5C3.78125 7.37568 3.83064 7.25645 3.91854 7.16854C4.00645 7.08064 4.12568 7.03125 4.25 7.03125H11.75C11.8743 7.03125 11.9935 7.08064 12.0815 7.16854C12.1694 7.25645 12.2188 7.37568 12.2188 7.5C12.2188 7.62432 12.1694 7.74355 12.0815 7.83146C11.9935 7.91936 11.8743 7.96875 11.75 7.96875H4.25Z"/>
|
|
5
|
-
<path d="M7.53125 3.75C7.53125 3.62568 7.58064 3.50645 7.66854 3.41854C7.75645 3.33064 7.87568 3.28125 8 3.28125C8.12432 3.28125 8.24355 3.33064 8.33146 3.41854C8.41936 3.50645 8.46875 3.62568 8.46875 3.75V11.25C8.46875 11.3743 8.41936 11.4935 8.33146 11.5815C8.24355 11.6694 8.12432 11.7188 8 11.7188C7.87568 11.7188 7.75645 11.6694 7.66854 11.5815C7.58064 11.4935 7.53125 11.3743 7.53125 11.25V3.75Z"/>
|
|
6
|
-
</g>
|
|
7
|
-
<defs>
|
|
8
|
-
<clipPath id="clip0_715_360">
|
|
9
|
-
<rect width="15" height="15" transform="translate(0.5)"/>
|
|
10
|
-
</clipPath>
|
|
11
|
-
</defs>
|
|
12
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15">
|
|
2
|
-
<g clip-path="url(#clip0_715_360)">
|
|
3
|
-
<path d="M8 14.5312C4.11687 14.5312 0.96875 11.3831 0.96875 7.5C0.96875 3.61687 4.11687 0.46875 8 0.46875C11.8831 0.46875 15.0312 3.61687 15.0312 7.5C15.0312 11.3831 11.8831 14.5312 8 14.5312ZM8 13.5938C11.3656 13.5938 14.0938 10.8656 14.0938 7.5C14.0938 4.13438 11.3656 1.40625 8 1.40625C4.63438 1.40625 1.90625 4.13438 1.90625 7.5C1.90625 10.8656 4.63438 13.5938 8 13.5938Z"/>
|
|
4
|
-
<path d="M4.25 7.96875C4.12568 7.96875 4.00645 7.91936 3.91854 7.83146C3.83064 7.74355 3.78125 7.62432 3.78125 7.5C3.78125 7.37568 3.83064 7.25645 3.91854 7.16854C4.00645 7.08064 4.12568 7.03125 4.25 7.03125H11.75C11.8743 7.03125 11.9935 7.08064 12.0815 7.16854C12.1694 7.25645 12.2188 7.37568 12.2188 7.5C12.2188 7.62432 12.1694 7.74355 12.0815 7.83146C11.9935 7.91936 11.8743 7.96875 11.75 7.96875H4.25Z"/>
|
|
5
|
-
<path d="M7.53125 3.75C7.53125 3.62568 7.58064 3.50645 7.66854 3.41854C7.75645 3.33064 7.87568 3.28125 8 3.28125C8.12432 3.28125 8.24355 3.33064 8.33146 3.41854C8.41936 3.50645 8.46875 3.62568 8.46875 3.75V11.25C8.46875 11.3743 8.41936 11.4935 8.33146 11.5815C8.24355 11.6694 8.12432 11.7188 8 11.7188C7.87568 11.7188 7.75645 11.6694 7.66854 11.5815C7.58064 11.4935 7.53125 11.3743 7.53125 11.25V3.75Z"/>
|
|
6
|
-
</g>
|
|
7
|
-
<defs>
|
|
8
|
-
<clipPath id="clip0_715_360">
|
|
9
|
-
<rect width="15" height="15" transform="translate(0.5)"/>
|
|
10
|
-
</clipPath>
|
|
11
|
-
</defs>
|
|
12
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg t="1670833567548" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8168" width="200" height="200"><path d="M748.43022222 770.38933333h-70.42844444v-45.51111111h70.42844444c109.568 0 198.656-89.088 198.656-198.656 0-106.60977778-83.39911111-193.76355555-189.78133333-198.42844444l-16.49777778-0.68266667-4.43733333-15.81511111c-30.94755555-110.36444445-132.77866667-187.50577778-247.58044445-187.50577778-140.85688889 0-256.11377778 114.57422222-257.13777778 255.31733333l-0.11377777 17.06666667-16.49777778 4.66488889c-69.632 19.68355555-118.21511111 83.968-118.21511111 156.33066667 0 89.54311111 72.93155555 162.47466667 162.47466666 162.47466667h82.37511112v45.5111111H259.41333333c-114.688 0-207.98577778-93.29777778-207.98577778-207.98577777 0-46.19377778 14.79111111-89.99822222 42.89422223-126.52088889 23.77955555-30.94755555 56.09244445-54.72711111 92.38755555-68.38044444 4.43733333-74.18311111 35.61244445-143.24622222 88.74666667-196.03911112 57.11644445-56.66133333 132.77866667-87.95022222 213.33333333-87.95022222 67.35644445 0 131.072 21.61777778 184.32 62.57777778 47.33155555 36.40888889 83.17155555 86.58488889 102.28622222 142.79111111 56.77511111 6.25777778 109.22666667 32.08533333 149.16266667 73.61422222 43.80444445 45.62488889 67.92533333 105.69955555 67.92533333 168.96 0 65.19466667-25.37244445 126.52088889-71.45244444 172.60088889-46.08 46.19377778-107.40622222 71.56622222-172.60088889 71.56622222z" p-id="8169"></path><path d="M494.36444445 546.816h45.5111111v306.06222222h-45.5111111z" p-id="8170"></path><path d="M433.60711111 627.37066667l-31.63022222-32.65422222 118.89777778-115.48444445 111.38844444 116.05333333-32.768 31.51644445-79.75822222-83.05777778z" p-id="8171"></path></svg>
|