@expcat/tigercat-react 1.4.0 → 1.5.0
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/dist/{chunk-WV5XHYW6.js → chunk-23XPDNCA.js} +6 -4
- package/dist/{chunk-UAM3RQY4.js → chunk-24NDLFPK.js} +22 -28
- package/dist/{chunk-NMKFR435.js → chunk-2LKX6CE7.js} +7 -4
- package/dist/{chunk-BEZO5IE4.js → chunk-2PV3F47T.js} +2 -2
- package/dist/{chunk-ANN5P7TJ.js → chunk-2ZA4MUO2.js} +72 -29
- package/dist/{chunk-H4AR4GXH.js → chunk-3NVMKDMH.js} +1 -8
- package/dist/{chunk-7CHTTM6D.js → chunk-3RQ3FHJ7.js} +2 -2
- package/dist/{chunk-ELRZ2ZHM.mjs → chunk-4DRJA5ZK.mjs} +15 -17
- package/dist/{chunk-J3N24I7A.mjs → chunk-4F3UTDFE.mjs} +24 -6
- package/dist/{chunk-56CTXEJS.mjs → chunk-4HMMH4XS.mjs} +24 -11
- package/dist/{chunk-ZQSMJS2Q.mjs → chunk-4MREOFVE.mjs} +3 -3
- package/dist/{chunk-EEF26RBA.mjs → chunk-4SU6D2E7.mjs} +15 -3
- package/dist/{chunk-ZZAR4IDS.js → chunk-4TPRBVW7.js} +19 -2
- package/dist/{chunk-NSEO2B74.mjs → chunk-4V5RL25M.mjs} +8 -5
- package/dist/{chunk-AUW7DCXL.js → chunk-5JYVN65W.js} +24 -6
- package/dist/{chunk-YRVAF2ID.js → chunk-5QLSTNA3.js} +7 -1
- package/dist/chunk-5SX2M3LU.mjs +319 -0
- package/dist/{chunk-FI53LYZ6.js → chunk-5UREMEDS.js} +24 -8
- package/dist/chunk-6LGCAGNG.js +312 -0
- package/dist/{chunk-KED5S2WG.mjs → chunk-6REMGSLS.mjs} +22 -11
- package/dist/{chunk-PNAWOJ32.js → chunk-6S5QOTXZ.js} +14 -2
- package/dist/{chunk-4AMSYFYC.js → chunk-6SG2N4WF.js} +7 -7
- package/dist/{chunk-YSGM22AH.mjs → chunk-6UIVNRAR.mjs} +7 -4
- package/dist/{chunk-IZGXDHPB.mjs → chunk-7RI5W465.mjs} +19 -25
- package/dist/{chunk-DCKBVRLI.js → chunk-7UZ7O7KX.js} +63 -16
- package/dist/{chunk-WZUADPYB.js → chunk-7YI5TAPT.js} +2 -5
- package/dist/chunk-AI4V7L6K.mjs +230 -0
- package/dist/chunk-AQOXANET.mjs +222 -0
- package/dist/{chunk-HHMYERHY.mjs → chunk-ATSI3UKS.mjs} +2 -1
- package/dist/{chunk-ZRHDNGWO.js → chunk-BR3WLDH7.js} +16 -2
- package/dist/{chunk-2Y5NIPHB.mjs → chunk-BRPOEVRT.mjs} +32 -3
- package/dist/{chunk-I7FEGKX2.mjs → chunk-CR4QBH46.mjs} +36 -11
- package/dist/{chunk-7U6VWD4H.mjs → chunk-CSJGNEHR.mjs} +2 -2
- package/dist/{chunk-ANBNSUSR.js → chunk-CXXOZLP4.js} +31 -21
- package/dist/{chunk-DVEK5SO6.mjs → chunk-D4X3NBAI.mjs} +8 -3
- package/dist/{chunk-QIL24WZD.mjs → chunk-DEQZZKY5.mjs} +12 -7
- package/dist/{chunk-TEYL5X56.js → chunk-DH4B2COV.js} +105 -36
- package/dist/{chunk-BONUUJU3.mjs → chunk-DJOFM2VO.mjs} +1 -8
- package/dist/{chunk-SQTOVSDU.mjs → chunk-DO3MVZZN.mjs} +12 -6
- package/dist/{chunk-SDZKL3IB.mjs → chunk-E355NVP7.mjs} +35 -14
- package/dist/{chunk-CNNEUJR2.js → chunk-ENJMHEQU.js} +44 -19
- package/dist/{chunk-BRA3PO53.js → chunk-FBIBHTBG.js} +2 -2
- package/dist/{chunk-P36GX65N.js → chunk-FCCHM2B4.js} +40 -4
- package/dist/{chunk-4LIDROT4.js → chunk-FFDK6PEP.js} +7 -4
- package/dist/{chunk-R2KUNFDN.mjs → chunk-GA4YOE57.mjs} +2 -2
- package/dist/{chunk-3E76U2RG.js → chunk-GADCSCH2.js} +33 -5
- package/dist/{chunk-JOB47R6Q.mjs → chunk-GCOA4AO6.mjs} +72 -29
- package/dist/{chunk-M6YXUNOU.mjs → chunk-GOUSXJEY.mjs} +2 -2
- package/dist/{chunk-GDPU5MYA.js → chunk-GPAY5F7D.js} +11 -6
- package/dist/{chunk-TNTOSFGN.mjs → chunk-GQPKHMHA.mjs} +1 -1
- package/dist/{chunk-NKSYX4R7.mjs → chunk-GTDLZF7K.mjs} +2 -2
- package/dist/{chunk-OXQOKKTP.mjs → chunk-H7D7UBDC.mjs} +2 -2
- package/dist/{chunk-KYNWNTGO.js → chunk-HFGTJEQW.js} +82 -29
- package/dist/{chunk-J6OZWT3P.js → chunk-HVAG26CK.js} +3 -3
- package/dist/{chunk-SLEXEH7R.mjs → chunk-HWZSMV2M.mjs} +3 -11
- package/dist/{chunk-EJKOUI26.js → chunk-I5UB4FN3.js} +3 -3
- package/dist/{chunk-NVI2P7VH.js → chunk-I6VHGILW.js} +21 -9
- package/dist/{chunk-EOU6WZTS.js → chunk-I7OSNH5T.js} +34 -5
- package/dist/{chunk-L24PPXLV.js → chunk-IFB3OECJ.js} +1 -0
- package/dist/{chunk-376X7SDZ.mjs → chunk-IXAPFTTD.mjs} +7 -6
- package/dist/{chunk-EHIXCFD7.js → chunk-JHRFG5PG.js} +57 -12
- package/dist/{chunk-3EB42WFR.mjs → chunk-KCPGFO5R.mjs} +2 -2
- package/dist/{chunk-G3PBQ4B4.mjs → chunk-KQ4ZKXXN.mjs} +52 -2
- package/dist/{chunk-MC26ORSN.js → chunk-KSXGH3FO.js} +7 -7
- package/dist/{chunk-X7JAYXPY.js → chunk-KVWSVDAJ.js} +4 -4
- package/dist/{chunk-OFRKYQOZ.mjs → chunk-LACDTZTE.mjs} +4 -4
- package/dist/{chunk-YH57D4AV.mjs → chunk-LAKPYMBZ.mjs} +1 -0
- package/dist/{chunk-6GU5NH5F.mjs → chunk-LBXNMCXN.mjs} +33 -5
- package/dist/{chunk-KGMVRIYC.mjs → chunk-LOM6NNQK.mjs} +29 -16
- package/dist/{chunk-WFWEMXO7.mjs → chunk-LUABLBKS.mjs} +83 -30
- package/dist/{chunk-K2TXT5HQ.js → chunk-M577W3TS.js} +101 -85
- package/dist/{chunk-3EDASNTG.js → chunk-MOYZF62V.js} +29 -16
- package/dist/{chunk-ZDNQGS4O.js → chunk-MQIVMK24.js} +4 -4
- package/dist/{chunk-WMPCN7OF.mjs → chunk-MZCGQED3.mjs} +15 -3
- package/dist/{chunk-KDXKF6B2.mjs → chunk-MZPKFMQC.mjs} +1 -1
- package/dist/{chunk-AG4HRAW2.mjs → chunk-NEHSCSQP.mjs} +2 -2
- package/dist/chunk-NG3OBMKV.js +319 -0
- package/dist/{chunk-RFHPG4KN.js → chunk-NGSJGXUZ.js} +15 -17
- package/dist/{chunk-WIWTY74F.mjs → chunk-NJHZQBA7.mjs} +16 -2
- package/dist/{chunk-EQD2U4KM.js → chunk-O2N7ITWQ.js} +63 -16
- package/dist/{chunk-NASC6XHN.mjs → chunk-O6YIPNXX.mjs} +24 -15
- package/dist/{chunk-VHGCWZ6V.mjs → chunk-OTRPN5ZG.mjs} +58 -13
- package/dist/{chunk-QIKR5EFI.js → chunk-OVJO5NYW.js} +4 -4
- package/dist/{chunk-KXT2TP6A.mjs → chunk-P2WQIVXD.mjs} +22 -10
- package/dist/{chunk-PT5T5F4H.js → chunk-PQF5VLNX.js} +22 -11
- package/dist/chunk-PQOUWJAT.mjs +211 -0
- package/dist/{chunk-OS6M3IZF.js → chunk-PSCPLUGP.js} +5 -13
- package/dist/{chunk-ULWT6W6M.mjs → chunk-PZB24FST.mjs} +10 -5
- package/dist/{chunk-BO45CU4Q.js → chunk-PZWI4YNN.js} +6 -4
- package/dist/{chunk-PFYK2V3E.js → chunk-Q2OXQNWU.js} +73 -9
- package/dist/{chunk-VM4ZQHT5.mjs → chunk-QANWBRNU.mjs} +59 -12
- package/dist/{chunk-XBM76P27.mjs → chunk-QFUIGOOM.mjs} +4 -2
- package/dist/{chunk-BN4ZKCAI.mjs → chunk-QKNORS26.mjs} +49 -36
- package/dist/{chunk-LROHXQWX.js → chunk-R4PMBWU3.js} +2 -2
- package/dist/chunk-R56UOY6C.js +222 -0
- package/dist/chunk-RNHC7BON.js +230 -0
- package/dist/{chunk-7PXALKLM.js → chunk-RRO752KE.js} +11 -10
- package/dist/{chunk-RVLV63SI.mjs → chunk-S4NGDDAM.mjs} +105 -36
- package/dist/{chunk-D5MQBUP2.js → chunk-SA3N2LUB.js} +22 -17
- package/dist/{chunk-BROIZ266.js → chunk-SFBSI3J7.js} +6 -3
- package/dist/{chunk-RVO6R37N.mjs → chunk-SHDQJ5BJ.mjs} +1 -1
- package/dist/{chunk-N2JYU4JI.js → chunk-SHU7L4NM.js} +52 -2
- package/dist/{chunk-M3MOSUZO.mjs → chunk-SI3P3V75.mjs} +16 -6
- package/dist/{chunk-UVMQJOTX.js → chunk-SK7PXSVE.js} +23 -14
- package/dist/{chunk-U356F7GU.js → chunk-SO2ADQTB.js} +52 -11
- package/dist/{chunk-NKKIJQMV.mjs → chunk-SPIPFOGD.mjs} +4 -2
- package/dist/{chunk-NQNHM4OL.mjs → chunk-SRC7JHME.mjs} +1 -1
- package/dist/{chunk-2RBHQBSG.js → chunk-SXTMVZ4W.js} +25 -12
- package/dist/{chunk-BEM7XG2L.js → chunk-SYJJKI7U.js} +35 -14
- package/dist/{chunk-RYNLPRUM.mjs → chunk-SYVMCKPR.mjs} +1 -1
- package/dist/{chunk-SY23FAXK.mjs → chunk-T6HNFCOW.mjs} +24 -8
- package/dist/{chunk-ZITBUGBH.mjs → chunk-TBMDIAZI.mjs} +59 -12
- package/dist/{chunk-B63GEB2Y.js → chunk-TIDVBSXR.js} +47 -34
- package/dist/{chunk-ZJI2VLIL.js → chunk-TLDTBCT6.js} +15 -3
- package/dist/{chunk-XFPJYKBQ.js → chunk-TN7GMDME.js} +13 -9
- package/dist/{chunk-M3FVPPMM.js → chunk-TO4SSBAJ.js} +17 -12
- package/dist/{chunk-XTQUPDRI.js → chunk-TPU6S7G7.js} +2 -2
- package/dist/{chunk-NEZ445D4.mjs → chunk-TRXNHYWB.mjs} +3 -3
- package/dist/{chunk-H6NC6SBX.js → chunk-TVEO2CFD.js} +2 -2
- package/dist/{chunk-6QQBMZQ6.mjs → chunk-U2ZXZ2KQ.mjs} +74 -10
- package/dist/{chunk-AVLIUHOS.mjs → chunk-U337RHJB.mjs} +4 -4
- package/dist/{chunk-VC26SAXB.js → chunk-UQZ4RLTI.js} +12 -6
- package/dist/{chunk-PXO2F2CS.mjs → chunk-V23KR23W.mjs} +47 -4
- package/dist/{chunk-BA6TJQZL.js → chunk-V3QEV3TL.js} +6 -6
- package/dist/{chunk-GG72T6JK.js → chunk-VOSN3IQC.js} +47 -4
- package/dist/{chunk-J4OQ2VRH.mjs → chunk-W6T3CG7U.mjs} +45 -4
- package/dist/{chunk-OTEM4FVX.mjs → chunk-WGKNAOW7.mjs} +11 -7
- package/dist/chunk-WLFLQB4R.mjs +312 -0
- package/dist/{chunk-W6AWN7BC.js → chunk-WLORVPTR.js} +4 -4
- package/dist/{chunk-J5N5OQWB.mjs → chunk-WOEX4S6J.mjs} +5 -2
- package/dist/{chunk-CAQPYJFA.mjs → chunk-WT72F56O.mjs} +1 -1
- package/dist/{chunk-7Z64GEMN.js → chunk-WTASPL6V.js} +3 -1
- package/dist/{chunk-2LYV6NBJ.mjs → chunk-WTIEJCRV.mjs} +7 -1
- package/dist/{chunk-L6KSO66F.mjs → chunk-WYPTAUCX.mjs} +2 -5
- package/dist/{chunk-CC5GFX6F.js → chunk-XKMZ5AMS.js} +2 -1
- package/dist/{chunk-WCTNQYXO.js → chunk-XMD7CQQ2.js} +12 -7
- package/dist/{chunk-7DUHHRAU.mjs → chunk-Y5X3G2LD.mjs} +41 -5
- package/dist/{chunk-ZA5EFHET.mjs → chunk-Z6BDNV3S.mjs} +18 -1
- package/dist/{chunk-UBP7HZSU.mjs → chunk-ZG2W4HS5.mjs} +6 -4
- package/dist/{chunk-UIIOZEUP.js → chunk-ZLCVJXGL.js} +4 -4
- package/dist/{chunk-CME2IFUT.mjs → chunk-ZLP4XEAO.mjs} +21 -16
- package/dist/{chunk-YID7J6ZK.js → chunk-ZXVLZKLT.js} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.js +3 -2
- package/dist/components/AutoComplete.mjs +2 -1
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Breadcrumb.d.ts +1 -1
- package/dist/components/Calendar.d.mts +2 -10
- package/dist/components/Calendar.d.ts +2 -10
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Cascader.js +2 -2
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartAxis.d.mts +1 -2
- package/dist/components/ChartAxis.d.ts +1 -2
- package/dist/components/ChartGrid.d.mts +1 -2
- package/dist/components/ChartGrid.d.ts +1 -2
- package/dist/components/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartSeries.d.mts +1 -2
- package/dist/components/ChartSeries.d.ts +1 -2
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.js +8 -6
- package/dist/components/ChatWindow.mjs +7 -5
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/CommentThread.js +6 -4
- package/dist/components/CommentThread.mjs +5 -3
- package/dist/components/CropUpload.d.mts +6 -2
- package/dist/components/CropUpload.d.ts +6 -2
- package/dist/components/CropUpload.js +4 -4
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.d.mts +1 -2
- package/dist/components/DataTableWithToolbar.d.ts +1 -2
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +3 -23
- package/dist/components/FileManager.d.ts +3 -23
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.js +2 -2
- package/dist/components/Form.mjs +1 -1
- package/dist/components/FormItem.js +3 -3
- package/dist/components/FormItem.mjs +2 -2
- package/dist/components/FormWizard.js +3 -3
- package/dist/components/FormWizard.mjs +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.js +3 -3
- package/dist/components/HeatmapChart.mjs +2 -2
- package/dist/components/Image.js +5 -4
- package/dist/components/Image.mjs +4 -3
- package/dist/components/ImageAnnotation.d.mts +1 -1
- package/dist/components/ImageAnnotation.d.ts +1 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.js +3 -2
- package/dist/components/ImageCropper.mjs +2 -1
- package/dist/components/ImageGroup.js +4 -3
- package/dist/components/ImageGroup.mjs +3 -2
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +2 -0
- package/dist/components/ImageViewer.d.ts +2 -0
- package/dist/components/ImageViewer.js +3 -2
- package/dist/components/ImageViewer.mjs +2 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +5 -1
- package/dist/components/Kanban.d.ts +5 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/List.d.mts +1 -2
- package/dist/components/List.d.ts +1 -2
- package/dist/components/List.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/Loading.js +2 -2
- package/dist/components/Loading.mjs +1 -1
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Menu.d.mts +2 -2
- package/dist/components/Menu.d.ts +2 -2
- package/dist/components/MenuItem.d.mts +1 -1
- package/dist/components/MenuItem.d.ts +1 -1
- package/dist/components/MenuItemGroup.d.mts +1 -1
- package/dist/components/MenuItemGroup.d.ts +1 -1
- package/dist/components/Message.d.mts +2 -1
- package/dist/components/Message.d.ts +2 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.js +2 -2
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/NotificationCenter.js +6 -6
- package/dist/components/NotificationCenter.mjs +5 -5
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/QRCode.d.mts +2 -1
- package/dist/components/QRCode.d.ts +2 -1
- package/dist/components/QRCode.js +3 -2
- package/dist/components/QRCode.mjs +2 -1
- package/dist/components/RadarChart.js +4 -4
- package/dist/components/RadarChart.mjs +3 -3
- package/dist/components/Rate.js +2 -2
- package/dist/components/Rate.mjs +1 -1
- package/dist/components/Resizable.js +2 -2
- package/dist/components/Resizable.mjs +1 -1
- package/dist/components/Result.js +2 -2
- package/dist/components/Result.mjs +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/Segmented.d.mts +1 -1
- package/dist/components/Segmented.d.ts +1 -1
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.js +2 -2
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Splitter.js +2 -2
- package/dist/components/Splitter.mjs +1 -1
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +2 -2
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SubMenu.d.mts +1 -1
- package/dist/components/SubMenu.d.ts +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +2 -2
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.d.ts +2 -2
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +0 -4
- package/dist/components/Tabs.d.ts +0 -4
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +3 -1
- package/dist/components/TaskBoard.d.ts +3 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.js +2 -2
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Timeline.d.mts +5 -1
- package/dist/components/Timeline.d.ts +5 -1
- package/dist/components/Timeline.js +3 -2
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tour.js +4 -3
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.js +3 -3
- package/dist/components/Tree.mjs +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +7 -2
- package/dist/components/VirtualTable.d.ts +7 -2
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +52 -53
- package/dist/index.d.ts +52 -53
- package/dist/index.js +81 -81
- package/dist/index.mjs +80 -80
- package/dist/{types-DaC4a0Ny.d.ts → types-CcgZY0mv.d.mts} +2 -2
- package/dist/{types-DaC4a0Ny.d.mts → types-CcgZY0mv.d.ts} +2 -2
- package/package.json +6 -6
- package/dist/chunk-5EVHVZG5.js +0 -131
- package/dist/chunk-AF2AEZKM.js +0 -165
- package/dist/chunk-CDRQSKXT.mjs +0 -195
- package/dist/chunk-EPJ6W4VI.mjs +0 -165
- package/dist/chunk-GYQ2DN6Z.mjs +0 -174
- package/dist/chunk-MTIGGMHG.mjs +0 -180
- package/dist/chunk-NDGA3N6H.js +0 -180
- package/dist/chunk-S5Y6UHAK.mjs +0 -131
- package/dist/chunk-T7KO6EVK.js +0 -174
|
@@ -16,7 +16,7 @@ var ChartLegend = ({
|
|
|
16
16
|
const containerClasses = _react.useMemo.call(void 0,
|
|
17
17
|
() => _tigercatcore.classNames.call(void 0,
|
|
18
18
|
"flex flex-wrap",
|
|
19
|
-
position === "right" || position === "left" ? "flex-col
|
|
19
|
+
position === "right" || position === "left" ? "flex-col" : "flex-row",
|
|
20
20
|
className
|
|
21
21
|
),
|
|
22
22
|
[position, className]
|
|
@@ -43,8 +43,9 @@ var ChartLegend = ({
|
|
|
43
43
|
"div",
|
|
44
44
|
{
|
|
45
45
|
className: containerClasses,
|
|
46
|
-
role: "list",
|
|
46
|
+
role: interactive ? "group" : "list",
|
|
47
47
|
"aria-label": "Chart legend",
|
|
48
|
+
style: { gap: `${gap}px` },
|
|
48
49
|
"data-chart-legend": "true",
|
|
49
50
|
children: items.map((item) => {
|
|
50
51
|
const ItemComponent = interactive ? "button" : "div";
|
|
@@ -58,7 +59,8 @@ var ChartLegend = ({
|
|
|
58
59
|
interactive ? "cursor-pointer hover:text-[color:var(--tiger-text,#374151)] hover:bg-[var(--tiger-chart-legend-row-hover-bg,transparent)] transition-colors" : "cursor-default",
|
|
59
60
|
item.active === false ? "opacity-50" : void 0
|
|
60
61
|
),
|
|
61
|
-
role: "listitem",
|
|
62
|
+
role: interactive ? void 0 : "listitem",
|
|
63
|
+
"aria-pressed": interactive ? item.active !== false : void 0,
|
|
62
64
|
"data-legend-item": "true",
|
|
63
65
|
onClick: interactive ? () => handleClick(item) : void 0,
|
|
64
66
|
onMouseEnter: interactive ? () => handleHover(item) : void 0,
|
|
@@ -78,7 +80,7 @@ var ChartLegend = ({
|
|
|
78
80
|
"data-legend-marker": "true"
|
|
79
81
|
}
|
|
80
82
|
),
|
|
81
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", {
|
|
83
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item.label })
|
|
82
84
|
]
|
|
83
85
|
},
|
|
84
86
|
`legend-${item.index}`
|
|
@@ -70,18 +70,15 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
70
70
|
[config.locale, locale]
|
|
71
71
|
);
|
|
72
72
|
const [errors, setErrors] = _react.useState.call(void 0, []);
|
|
73
|
-
const [formValues, setFormValues] = _react.useState.call(void 0, model);
|
|
74
73
|
const fieldRulesRef = _react2.default.useRef({});
|
|
75
74
|
const fieldConditionsRef = _react2.default.useRef({});
|
|
76
75
|
const formValuesRef = _react2.default.useRef(model);
|
|
76
|
+
const initialValuesRef = _react2.default.useRef({ ...model });
|
|
77
77
|
const validationDebouncerRef = _react2.default.useRef(
|
|
78
78
|
_tigercatcore.createFormValidationDebouncer.call(void 0, { delay: validateDebounce })
|
|
79
79
|
);
|
|
80
80
|
const errorsByField = _react.useMemo.call(void 0, () => _tigercatcore.createFormErrorMap.call(void 0, errors), [errors]);
|
|
81
81
|
const [historyState, setHistoryState] = _react.useState.call(void 0, () => _tigercatcore.createFormHistory.call(void 0, model, maxHistorySize));
|
|
82
|
-
_react2.default.useEffect(() => {
|
|
83
|
-
setFormValues(model);
|
|
84
|
-
}, [model]);
|
|
85
82
|
_react2.default.useEffect(() => {
|
|
86
83
|
validationDebouncerRef.current.cancel();
|
|
87
84
|
validationDebouncerRef.current = _tigercatcore.createFormValidationDebouncer.call(void 0, { delay: validateDebounce });
|
|
@@ -286,27 +283,28 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
286
283
|
}, []);
|
|
287
284
|
const resetFields = _react.useCallback.call(void 0, () => {
|
|
288
285
|
clearValidate();
|
|
289
|
-
|
|
290
|
-
|
|
286
|
+
const next = { ...initialValuesRef.current };
|
|
287
|
+
formValuesRef.current = next;
|
|
288
|
+
_optionalChain([onChange, 'optionalCall', _11 => _11(next)]);
|
|
289
|
+
if (undoable) {
|
|
290
|
+
setHistoryState(_tigercatcore.createFormHistory.call(void 0, next, maxHistorySize));
|
|
291
|
+
}
|
|
292
|
+
}, [clearValidate, onChange, undoable, maxHistorySize]);
|
|
291
293
|
const addField = _react.useCallback.call(void 0,
|
|
292
294
|
(fieldName, defaultValue) => {
|
|
293
295
|
if (!fieldName) return;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
return next;
|
|
298
|
-
});
|
|
296
|
+
const next = { ...formValuesRef.current, [fieldName]: _nullishCoalesce(defaultValue, () => ( null)) };
|
|
297
|
+
formValuesRef.current = next;
|
|
298
|
+
_optionalChain([onChange, 'optionalCall', _12 => _12(next)]);
|
|
299
299
|
},
|
|
300
300
|
[onChange]
|
|
301
301
|
);
|
|
302
302
|
const removeField = _react.useCallback.call(void 0,
|
|
303
303
|
(fieldName) => {
|
|
304
304
|
if (!fieldName) return;
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
return next;
|
|
309
|
-
});
|
|
305
|
+
const { [fieldName]: _, ...next } = formValuesRef.current;
|
|
306
|
+
formValuesRef.current = next;
|
|
307
|
+
_optionalChain([onChange, 'optionalCall', _13 => _13(next)]);
|
|
310
308
|
clearValidate(fieldName);
|
|
311
309
|
},
|
|
312
310
|
[onChange, clearValidate]
|
|
@@ -337,11 +335,9 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
337
335
|
}
|
|
338
336
|
return clone;
|
|
339
337
|
};
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
return newValues;
|
|
344
|
-
});
|
|
338
|
+
const newValues = setValueByPath(formValuesRef.current, fieldName, value);
|
|
339
|
+
formValuesRef.current = newValues;
|
|
340
|
+
_optionalChain([onChange, 'optionalCall', _14 => _14(newValues)]);
|
|
345
341
|
},
|
|
346
342
|
[onChange]
|
|
347
343
|
);
|
|
@@ -354,9 +350,8 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
354
350
|
setHistoryState((prev) => {
|
|
355
351
|
const result = _tigercatcore.undoFormHistory.call(void 0, prev);
|
|
356
352
|
if (result) {
|
|
357
|
-
setFormValues(result.present);
|
|
358
353
|
formValuesRef.current = result.present;
|
|
359
|
-
_optionalChain([onChange, 'optionalCall',
|
|
354
|
+
_optionalChain([onChange, 'optionalCall', _15 => _15(result.present)]);
|
|
360
355
|
return result;
|
|
361
356
|
}
|
|
362
357
|
return prev;
|
|
@@ -367,9 +362,8 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
367
362
|
setHistoryState((prev) => {
|
|
368
363
|
const result = _tigercatcore.redoFormHistory.call(void 0, prev);
|
|
369
364
|
if (result) {
|
|
370
|
-
setFormValues(result.present);
|
|
371
365
|
formValuesRef.current = result.present;
|
|
372
|
-
_optionalChain([onChange, 'optionalCall',
|
|
366
|
+
_optionalChain([onChange, 'optionalCall', _16 => _16(result.present)]);
|
|
373
367
|
return result;
|
|
374
368
|
}
|
|
375
369
|
return prev;
|
|
@@ -380,7 +374,7 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
380
374
|
event.preventDefault();
|
|
381
375
|
if (loading) return;
|
|
382
376
|
const result = await runValidation();
|
|
383
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
377
|
+
_optionalChain([onSubmit, 'optionalCall', _17 => _17({ ...result, values: formValuesRef.current })]);
|
|
384
378
|
},
|
|
385
379
|
[runValidation, onSubmit, loading]
|
|
386
380
|
);
|
|
@@ -416,7 +410,7 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
416
410
|
);
|
|
417
411
|
const contextValue = _react.useMemo.call(void 0,
|
|
418
412
|
() => ({
|
|
419
|
-
model
|
|
413
|
+
model,
|
|
420
414
|
rules,
|
|
421
415
|
labelWidth,
|
|
422
416
|
labelPosition,
|
|
@@ -436,7 +430,7 @@ var Form = _react.forwardRef.call(void 0,
|
|
|
436
430
|
updateValue
|
|
437
431
|
}),
|
|
438
432
|
[
|
|
439
|
-
|
|
433
|
+
model,
|
|
440
434
|
rules,
|
|
441
435
|
labelWidth,
|
|
442
436
|
labelPosition,
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunkXTV5JLLCjs = require('./chunk-XTV5JLLC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk23XPDNCAjs = require('./chunk-23XPDNCA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkAX5XRD2Qjs = require('./chunk-AX5XRD2Q.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkSK7PXSVEjs = require('./chunk-SK7PXSVE.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkE5GD3H7Ljs = require('./chunk-E5GD3H7L.js');
|
|
@@ -302,6 +302,9 @@ var BarChart = ({
|
|
|
302
302
|
} : null
|
|
303
303
|
},
|
|
304
304
|
tabIndex: selectable ? 0 : void 0,
|
|
305
|
+
role: selectable ? "button" : "img",
|
|
306
|
+
"aria-label": _nullishCoalesce(bar.datum.label, () => ( String(bar.datum.x))),
|
|
307
|
+
"data-bar-index": bar.index,
|
|
305
308
|
onMouseEnter: (e) => handleMouseEnter(bar.index, e),
|
|
306
309
|
onMouseMove: handleMouseMove,
|
|
307
310
|
onMouseLeave: handleMouseLeave,
|
|
@@ -333,7 +336,7 @@ var BarChart = ({
|
|
|
333
336
|
}
|
|
334
337
|
);
|
|
335
338
|
const tooltip = showTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
336
|
-
|
|
339
|
+
_chunkSK7PXSVEjs.ChartTooltip,
|
|
337
340
|
{
|
|
338
341
|
content: tooltipContent,
|
|
339
342
|
visible: hoverable && resolvedHoveredIndex !== null && tooltipContent !== "",
|
|
@@ -350,7 +353,7 @@ var BarChart = ({
|
|
|
350
353
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: wrapperClasses, children: [
|
|
351
354
|
chart,
|
|
352
355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
353
|
-
|
|
356
|
+
_chunk23XPDNCAjs.ChartLegend,
|
|
354
357
|
{
|
|
355
358
|
items: legendItems,
|
|
356
359
|
position: legendPosition,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkI6VHGILWjs = require('./chunk-I6VHGILW.js');
|
|
4
4
|
|
|
5
5
|
// src/components/ImageGroup.tsx
|
|
6
6
|
var _react = require('react');
|
|
@@ -44,7 +44,7 @@ var ImageGroup = ({
|
|
|
44
44
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ImageGroupContext.Provider, { value: contextValue, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getImageGroupClasses.call(void 0, className), role: "group", children: [
|
|
45
45
|
children,
|
|
46
46
|
preview && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47
|
-
|
|
47
|
+
_chunkI6VHGILWjs.ImagePreview,
|
|
48
48
|
{
|
|
49
49
|
open: previewVisible,
|
|
50
50
|
images: imagesRef.current,
|
|
@@ -24,6 +24,11 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
27
32
|
|
|
28
33
|
|
|
29
34
|
|
|
@@ -90,7 +95,9 @@ var ColumnItem = _react2.default.memo(
|
|
|
90
95
|
dragStateId,
|
|
91
96
|
kbDragStateId,
|
|
92
97
|
showCardCount,
|
|
93
|
-
allowAddCard
|
|
98
|
+
allowAddCard,
|
|
99
|
+
swimlanes,
|
|
100
|
+
swimlaneField
|
|
94
101
|
}) => {
|
|
95
102
|
const wipOver = _tigercatcore.isWipExceeded.call(void 0, column);
|
|
96
103
|
const cardCount = showCardCount ? _tigercatcore.getColumnCardCount.call(void 0, column) : null;
|
|
@@ -99,32 +106,61 @@ var ColumnItem = _react2.default.memo(
|
|
|
99
106
|
isDropTarget && _tigercatcore.taskBoardColumnDropTargetClasses,
|
|
100
107
|
isColDragging && _tigercatcore.taskBoardColumnDraggingClasses
|
|
101
108
|
);
|
|
109
|
+
const renderCardNode = (card, originalIndex) => {
|
|
110
|
+
const nodes = [];
|
|
111
|
+
if (isDropTarget && dropIdx === originalIndex) {
|
|
112
|
+
nodes.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.taskBoardDropIndicatorClasses }, `drop-${originalIndex}`));
|
|
113
|
+
}
|
|
114
|
+
const isDragging = dragStateId === card.id;
|
|
115
|
+
const isKbGrabbed = kbDragStateId === card.id;
|
|
116
|
+
nodes.push(
|
|
117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
118
|
+
CardItem,
|
|
119
|
+
{
|
|
120
|
+
card,
|
|
121
|
+
column,
|
|
122
|
+
isDragging,
|
|
123
|
+
isKbGrabbed,
|
|
124
|
+
draggable,
|
|
125
|
+
dragHintText: labels.dragHintText,
|
|
126
|
+
renderCard: renderCardProp,
|
|
127
|
+
dragCtrl
|
|
128
|
+
},
|
|
129
|
+
String(card.id)
|
|
130
|
+
)
|
|
131
|
+
);
|
|
132
|
+
return nodes;
|
|
133
|
+
};
|
|
102
134
|
let cardsContent;
|
|
103
135
|
if (column.cards.length > 0) {
|
|
104
|
-
const nodes =
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
136
|
+
const nodes = swimlanes && swimlaneField ? _tigercatcore.groupBySwimlane.call(void 0, column.cards, swimlanes, swimlaneField).map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
137
|
+
"div",
|
|
138
|
+
{
|
|
139
|
+
className: _tigercatcore.kanbanSwimlaneClasses,
|
|
140
|
+
"data-tiger-kanban-swimlane": "",
|
|
141
|
+
"data-tiger-kanban-swimlane-id": String(group.swimlane.id),
|
|
142
|
+
children: [
|
|
143
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.kanbanSwimlaneHeaderClasses, children: [
|
|
144
|
+
group.swimlane.color && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
145
|
+
"span",
|
|
146
|
+
{
|
|
147
|
+
className: _tigercatcore.kanbanSwimlaneDotClasses,
|
|
148
|
+
style: { backgroundColor: group.swimlane.color }
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: group.swimlane.label }),
|
|
152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto text-xs text-[var(--tiger-text-muted,#6b7280)]", children: group.cards.length })
|
|
153
|
+
] }),
|
|
154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: group.swimlane.collapsed ? _tigercatcore.kanbanSwimlaneCollapsedClasses : "", children: group.cards.flatMap(
|
|
155
|
+
(card) => renderCardNode(
|
|
156
|
+
card,
|
|
157
|
+
column.cards.findIndex((item) => item.id === card.id)
|
|
158
|
+
)
|
|
159
|
+
) })
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
String(group.swimlane.id)
|
|
163
|
+
)) : column.cards.flatMap((card, i) => renderCardNode(card, i));
|
|
128
164
|
if (isDropTarget && dropIdx >= column.cards.length) {
|
|
129
165
|
nodes.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.taskBoardDropIndicatorClasses }, "drop-end"));
|
|
130
166
|
}
|
|
@@ -245,7 +281,7 @@ var ColumnItem = _react2.default.memo(
|
|
|
245
281
|
}
|
|
246
282
|
);
|
|
247
283
|
},
|
|
248
|
-
(prev, next) => prev.column === next.column && prev.colIndex === next.colIndex && prev.isDropTarget === next.isDropTarget && prev.isColDragging === next.isColDragging && prev.dropIdx === next.dropIdx && prev.draggable === next.draggable && prev.columnDraggable === next.columnDraggable && prev.dragType === next.dragType && prev.dragStateId === next.dragStateId && prev.kbDragStateId === next.kbDragStateId && prev.onCardAdd === next.onCardAdd && prev.showCardCount === next.showCardCount && prev.allowAddCard === next.allowAddCard
|
|
284
|
+
(prev, next) => prev.column === next.column && prev.colIndex === next.colIndex && prev.isDropTarget === next.isDropTarget && prev.isColDragging === next.isColDragging && prev.dropIdx === next.dropIdx && prev.draggable === next.draggable && prev.columnDraggable === next.columnDraggable && prev.dragType === next.dragType && prev.dragStateId === next.dragStateId && prev.kbDragStateId === next.kbDragStateId && prev.onCardAdd === next.onCardAdd && prev.showCardCount === next.showCardCount && prev.allowAddCard === next.allowAddCard && prev.swimlanes === next.swimlanes && prev.swimlaneField === next.swimlaneField
|
|
249
285
|
);
|
|
250
286
|
ColumnItem.displayName = "TaskBoardColumnItem";
|
|
251
287
|
var TaskBoard = ({
|
|
@@ -270,6 +306,8 @@ var TaskBoard = ({
|
|
|
270
306
|
renderColumnHeader,
|
|
271
307
|
renderColumnFooter,
|
|
272
308
|
renderEmptyColumn,
|
|
309
|
+
swimlanes,
|
|
310
|
+
swimlaneField,
|
|
273
311
|
locale,
|
|
274
312
|
labels: labelsOverride,
|
|
275
313
|
className,
|
|
@@ -410,12 +448,14 @@ var TaskBoard = ({
|
|
|
410
448
|
dragStateId,
|
|
411
449
|
kbDragStateId,
|
|
412
450
|
showCardCount,
|
|
413
|
-
allowAddCard
|
|
451
|
+
allowAddCard,
|
|
452
|
+
swimlanes,
|
|
453
|
+
swimlaneField
|
|
414
454
|
},
|
|
415
455
|
String(col.id)
|
|
416
456
|
);
|
|
417
457
|
}),
|
|
418
|
-
allowAddColumn && /* @__PURE__ */ _jsxruntime.
|
|
458
|
+
allowAddColumn && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
419
459
|
"div",
|
|
420
460
|
{
|
|
421
461
|
className: _tigercatcore.kanbanAddColumnClasses,
|
|
@@ -428,7 +468,10 @@ var TaskBoard = ({
|
|
|
428
468
|
_optionalChain([onColumnAdd, 'optionalCall', _19 => _19()]);
|
|
429
469
|
}
|
|
430
470
|
},
|
|
431
|
-
children:
|
|
471
|
+
children: [
|
|
472
|
+
"+ ",
|
|
473
|
+
_tigercatcore.resolveLocaleText.call(void 0, labels.addColumnText)
|
|
474
|
+
]
|
|
432
475
|
}
|
|
433
476
|
)
|
|
434
477
|
]
|
|
@@ -43,14 +43,7 @@ var Splitter = ({
|
|
|
43
43
|
const totalGutter = (paneCount2 - 1) * gutterSize;
|
|
44
44
|
const total = direction === "horizontal" ? el.clientWidth - totalGutter : el.clientHeight - totalGutter;
|
|
45
45
|
if (controlledSizes && controlledSizes.length > 0) {
|
|
46
|
-
|
|
47
|
-
const sum = controlledSizes.reduce((a, b) => a + b, 0);
|
|
48
|
-
if (sum > 0) {
|
|
49
|
-
setPaneSizes(controlledSizes.map((s) => s / sum * total));
|
|
50
|
-
}
|
|
51
|
-
} else {
|
|
52
|
-
setPaneSizes([...controlledSizes]);
|
|
53
|
-
}
|
|
46
|
+
setPaneSizes([...controlledSizes]);
|
|
54
47
|
} else {
|
|
55
48
|
if (total > 0) {
|
|
56
49
|
const eachSize = total / paneCount2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFCCHM2B4js = require('./chunk-FCCHM2B4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
|
|
@@ -608,7 +608,7 @@ var Tree = (props) => {
|
|
|
608
608
|
}
|
|
609
609
|
),
|
|
610
610
|
ctx.virtual ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
611
|
-
|
|
611
|
+
_chunkFCCHM2B4js.VirtualList,
|
|
612
612
|
{
|
|
613
613
|
itemCount: ctx.visibleItems.length,
|
|
614
614
|
itemHeight: ctx.itemHeight,
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
getGestureTouchPoint,
|
|
24
24
|
resolveSwipeGesture,
|
|
25
25
|
isKeyActive,
|
|
26
|
+
getNextActiveKey,
|
|
26
27
|
tabAddButtonClasses,
|
|
27
28
|
tabCloseButtonClasses,
|
|
28
29
|
tabContentBaseClasses
|
|
@@ -43,8 +44,7 @@ var TabPane = ({
|
|
|
43
44
|
children,
|
|
44
45
|
renderMode = "pane",
|
|
45
46
|
tabId,
|
|
46
|
-
panelId
|
|
47
|
-
tabIndex
|
|
47
|
+
panelId
|
|
48
48
|
}) => {
|
|
49
49
|
const tabsContext = useTabsContext();
|
|
50
50
|
if (!tabsContext) {
|
|
@@ -90,10 +90,8 @@ var TabPane = ({
|
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
const tabList = event.currentTarget?.closest('[role="tablist"]');
|
|
93
|
-
const tabButtons = Array.from(
|
|
94
|
-
|
|
95
|
-
);
|
|
96
|
-
const enabled = tabButtons.filter((button) => !button.disabled);
|
|
93
|
+
const tabButtons = Array.from(tabList?.querySelectorAll('[role="tab"]') ?? []);
|
|
94
|
+
const enabled = tabButtons.filter((button) => button.getAttribute("aria-disabled") !== "true");
|
|
97
95
|
const currentIndex = enabled.findIndex((button) => button.id === tabId);
|
|
98
96
|
if (currentIndex === -1) {
|
|
99
97
|
return;
|
|
@@ -125,23 +123,22 @@ var TabPane = ({
|
|
|
125
123
|
}
|
|
126
124
|
};
|
|
127
125
|
const handleClose = (event) => {
|
|
126
|
+
event.stopPropagation();
|
|
128
127
|
if (!disabled) {
|
|
129
128
|
tabsContext.handleTabClose(tabKey, event);
|
|
130
129
|
}
|
|
131
130
|
};
|
|
132
131
|
if (renderMode === "tab") {
|
|
133
132
|
return /* @__PURE__ */ jsxs(
|
|
134
|
-
"
|
|
133
|
+
"div",
|
|
135
134
|
{
|
|
136
|
-
type: "button",
|
|
137
135
|
className: tabItemClasses,
|
|
138
136
|
role: "tab",
|
|
139
137
|
id: tabId,
|
|
140
138
|
"aria-controls": panelId,
|
|
141
139
|
"aria-selected": isActive,
|
|
142
140
|
"aria-disabled": disabled,
|
|
143
|
-
disabled,
|
|
144
|
-
tabIndex: typeof tabIndex === "number" ? tabIndex : isActive ? 0 : -1,
|
|
141
|
+
tabIndex: disabled ? -1 : isActive ? 0 : -1,
|
|
145
142
|
"data-tiger-tabs-id": tabsContext.idBase,
|
|
146
143
|
"data-tiger-tab-key": typeof tabKey === "number" ? `n:${tabKey}` : `s:${tabKey}`,
|
|
147
144
|
onClick: handleClick,
|
|
@@ -150,9 +147,9 @@ var TabPane = ({
|
|
|
150
147
|
icon && /* @__PURE__ */ jsx("span", { className: "flex items-center", children: icon }),
|
|
151
148
|
/* @__PURE__ */ jsx("span", { children: label }),
|
|
152
149
|
isClosable && /* @__PURE__ */ jsx(
|
|
153
|
-
"
|
|
150
|
+
"button",
|
|
154
151
|
{
|
|
155
|
-
|
|
152
|
+
type: "button",
|
|
156
153
|
className: tabCloseButtonClasses,
|
|
157
154
|
"aria-label": `Close ${String(label)}`,
|
|
158
155
|
tabIndex: -1,
|
|
@@ -234,7 +231,6 @@ var Tabs = ({
|
|
|
234
231
|
if (firstKey === void 0) firstKey = key;
|
|
235
232
|
keys.push(key);
|
|
236
233
|
if (!child.props.disabled) enabledKeys.push(key);
|
|
237
|
-
const resolvedActiveKey = controlledActiveKey ?? defaultActiveKey ?? firstKey;
|
|
238
234
|
const tabId = `${idBase}-tab-${String(key)}`;
|
|
239
235
|
const panelId = `${idBase}-panel-${String(key)}`;
|
|
240
236
|
items.push(
|
|
@@ -242,8 +238,7 @@ var Tabs = ({
|
|
|
242
238
|
key: `tab-${String(key)}`,
|
|
243
239
|
renderMode: "tab",
|
|
244
240
|
tabId,
|
|
245
|
-
panelId
|
|
246
|
-
tabIndex: key === resolvedActiveKey ? 0 : -1
|
|
241
|
+
panelId
|
|
247
242
|
})
|
|
248
243
|
);
|
|
249
244
|
panes.push(
|
|
@@ -262,7 +257,7 @@ var Tabs = ({
|
|
|
262
257
|
tabKeys: keys,
|
|
263
258
|
enabledTabKeys: enabledKeys
|
|
264
259
|
};
|
|
265
|
-
}, [children,
|
|
260
|
+
}, [children, idBase]);
|
|
266
261
|
const activeKey = controlledActiveKey !== void 0 ? controlledActiveKey : internalActiveKey !== void 0 ? internalActiveKey : firstTabKey;
|
|
267
262
|
const activeTabIndex = useMemo(() => tabKeys.indexOf(activeKey ?? ""), [tabKeys, activeKey]);
|
|
268
263
|
const handleTabClick = useCallback(
|
|
@@ -281,9 +276,12 @@ var Tabs = ({
|
|
|
281
276
|
const handleTabClose = useCallback(
|
|
282
277
|
(key, event) => {
|
|
283
278
|
event.stopPropagation();
|
|
279
|
+
if (controlledActiveKey === void 0 && key === activeKey) {
|
|
280
|
+
setInternalActiveKey(getNextActiveKey(key, activeKey, tabKeys));
|
|
281
|
+
}
|
|
284
282
|
onEdit?.({ targetKey: key, action: "remove" });
|
|
285
283
|
},
|
|
286
|
-
[onEdit]
|
|
284
|
+
[onEdit, controlledActiveKey, activeKey, tabKeys]
|
|
287
285
|
);
|
|
288
286
|
const handleTabAdd = useCallback(() => {
|
|
289
287
|
onEdit?.({ targetKey: void 0, action: "add" });
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-QAIBQHIO.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/QRCode.tsx
|
|
2
6
|
import { useMemo } from "react";
|
|
3
|
-
import { classNames } from "@expcat/tigercat-core";
|
|
7
|
+
import { classNames, mergeTigerLocale, resolveLocaleText } from "@expcat/tigercat-core";
|
|
4
8
|
import {
|
|
5
9
|
qrcodeContainerClasses,
|
|
6
10
|
qrcodeOverlayClasses,
|
|
@@ -17,11 +21,25 @@ var QRCode = ({
|
|
|
17
21
|
level: _level = "M",
|
|
18
22
|
status = "active",
|
|
19
23
|
onRefresh,
|
|
20
|
-
className
|
|
24
|
+
className,
|
|
25
|
+
locale
|
|
21
26
|
}) => {
|
|
27
|
+
const config = useTigerConfig();
|
|
28
|
+
const mergedLocale = useMemo(
|
|
29
|
+
() => mergeTigerLocale(config.locale, locale),
|
|
30
|
+
[config.locale, locale]
|
|
31
|
+
);
|
|
22
32
|
const matrix = useMemo(() => generateQRMatrix(value), [value]);
|
|
23
33
|
const moduleSize = useMemo(() => size / matrix.length, [size, matrix.length]);
|
|
24
34
|
const containerClass = classNames(qrcodeContainerClasses, className);
|
|
35
|
+
const ariaLabel = resolveLocaleText("QR Code", mergedLocale?.qrcode?.ariaLabel);
|
|
36
|
+
const expiredText = resolveLocaleText("QR code expired", mergedLocale?.qrcode?.expiredText);
|
|
37
|
+
const refreshText = resolveLocaleText("Refresh", mergedLocale?.qrcode?.refreshText);
|
|
38
|
+
const loadingText = resolveLocaleText(
|
|
39
|
+
"Loading...",
|
|
40
|
+
mergedLocale?.qrcode?.loadingText,
|
|
41
|
+
mergedLocale?.common?.loadingText
|
|
42
|
+
);
|
|
25
43
|
return /* @__PURE__ */ jsxs("div", { className: containerClass, style: { width: size, height: size }, children: [
|
|
26
44
|
/* @__PURE__ */ jsxs(
|
|
27
45
|
"svg",
|
|
@@ -31,7 +49,7 @@ var QRCode = ({
|
|
|
31
49
|
viewBox: `0 0 ${size} ${size}`,
|
|
32
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
33
51
|
role: "img",
|
|
34
|
-
"aria-label":
|
|
52
|
+
"aria-label": ariaLabel,
|
|
35
53
|
children: [
|
|
36
54
|
/* @__PURE__ */ jsx("rect", { width: size, height: size, fill: bgColor }),
|
|
37
55
|
matrix.flatMap(
|
|
@@ -53,10 +71,10 @@ var QRCode = ({
|
|
|
53
71
|
}
|
|
54
72
|
),
|
|
55
73
|
status === "expired" && /* @__PURE__ */ jsxs("div", { className: qrcodeOverlayClasses, children: [
|
|
56
|
-
/* @__PURE__ */ jsx("span", { className: qrcodeExpiredTextClasses, children:
|
|
57
|
-
/* @__PURE__ */ jsx("span", { className: qrcodeRefreshClasses, onClick: onRefresh, children:
|
|
74
|
+
/* @__PURE__ */ jsx("span", { className: qrcodeExpiredTextClasses, children: expiredText }),
|
|
75
|
+
/* @__PURE__ */ jsx("span", { className: qrcodeRefreshClasses, onClick: onRefresh, children: refreshText })
|
|
58
76
|
] }),
|
|
59
|
-
status === "loading" && /* @__PURE__ */ jsx("div", { className: qrcodeOverlayClasses, children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-500", children:
|
|
77
|
+
status === "loading" && /* @__PURE__ */ jsx("div", { className: qrcodeOverlayClasses, children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-500", children: loadingText }) })
|
|
60
78
|
] });
|
|
61
79
|
};
|
|
62
80
|
var QRCode_default = QRCode;
|