@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
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
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
|
-
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkSTTQ5LXXjs = require('./chunk-STTQ5LXX.js');
|
|
4
7
|
|
|
5
8
|
|
|
6
9
|
var _chunkHQ3QOT7Hjs = require('./chunk-HQ3QOT7H.js');
|
|
7
10
|
|
|
11
|
+
|
|
12
|
+
var _chunkTDODFBBOjs = require('./chunk-TDODFBBO.js');
|
|
13
|
+
|
|
8
14
|
// src/components/Tour.tsx
|
|
9
15
|
var _react = require('react');
|
|
10
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
|
|
@@ -50,9 +58,10 @@ var Tour = ({
|
|
|
50
58
|
() => _tigercatcore.mergeTigerLocale.call(void 0, config.locale, locale),
|
|
51
59
|
[config.locale, locale]
|
|
52
60
|
);
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
61
|
+
const labels = _react.useMemo.call(void 0,
|
|
62
|
+
() => _tigercatcore.getTourLabels.call(void 0, mergedLocale, { nextText, prevText, finishText }),
|
|
63
|
+
[finishText, mergedLocale, nextText, prevText]
|
|
64
|
+
);
|
|
56
65
|
const [internalStep, setInternalStep] = _react.useState.call(void 0, 0);
|
|
57
66
|
const [resolvedSteps, setResolvedSteps] = _react.useState.call(void 0, steps);
|
|
58
67
|
const currentStep = _nullishCoalesce(controlledCurrent, () => ( internalStep));
|
|
@@ -61,10 +70,12 @@ var Tour = ({
|
|
|
61
70
|
() => _tigercatcore.getCurrentActiveTourStep.call(void 0, activeSteps, currentStep, resolvedSteps.length),
|
|
62
71
|
[activeSteps, currentStep, resolvedSteps.length]
|
|
63
72
|
);
|
|
64
|
-
const activeStepPosition = _tigercatcore.getActiveTourStepPosition.call(void 0, activeSteps, _optionalChain([activeStepInfo, 'optionalAccess',
|
|
65
|
-
const step = _optionalChain([activeStepInfo, 'optionalAccess',
|
|
73
|
+
const activeStepPosition = _tigercatcore.getActiveTourStepPosition.call(void 0, activeSteps, _optionalChain([activeStepInfo, 'optionalAccess', _ => _.index]));
|
|
74
|
+
const step = _optionalChain([activeStepInfo, 'optionalAccess', _2 => _2.step]);
|
|
66
75
|
const [targetRect, setTargetRect] = _react.useState.call(void 0, );
|
|
67
76
|
const popoverRef = _react.useRef.call(void 0, null);
|
|
77
|
+
const closeButtonRef = _react.useRef.call(void 0, null);
|
|
78
|
+
const previousActiveElementRef = _react.useRef.call(void 0, null);
|
|
68
79
|
_react.useEffect.call(void 0, () => {
|
|
69
80
|
if (!loadSteps) {
|
|
70
81
|
setResolvedSteps(steps);
|
|
@@ -82,7 +93,7 @@ var Tour = ({
|
|
|
82
93
|
};
|
|
83
94
|
}, [loadSteps, open, steps]);
|
|
84
95
|
const updateRect = _react.useCallback.call(void 0, () => {
|
|
85
|
-
if (_optionalChain([step, 'optionalAccess',
|
|
96
|
+
if (_optionalChain([step, 'optionalAccess', _3 => _3.target])) {
|
|
86
97
|
setTargetRect(_tigercatcore.getTourTargetRect.call(void 0, step.target));
|
|
87
98
|
} else {
|
|
88
99
|
setTargetRect(void 0);
|
|
@@ -104,7 +115,7 @@ var Tour = ({
|
|
|
104
115
|
const goTo = _react.useCallback.call(void 0,
|
|
105
116
|
(idx) => {
|
|
106
117
|
setInternalStep(idx);
|
|
107
|
-
_optionalChain([onChange, 'optionalCall',
|
|
118
|
+
_optionalChain([onChange, 'optionalCall', _4 => _4(idx)]);
|
|
108
119
|
},
|
|
109
120
|
[onChange]
|
|
110
121
|
);
|
|
@@ -113,9 +124,9 @@ var Tour = ({
|
|
|
113
124
|
if (nextStep) {
|
|
114
125
|
goTo(nextStep.index);
|
|
115
126
|
} else {
|
|
116
|
-
_optionalChain([onFinish, 'optionalCall',
|
|
117
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
118
|
-
_optionalChain([onClose, 'optionalCall',
|
|
127
|
+
_optionalChain([onFinish, 'optionalCall', _5 => _5()]);
|
|
128
|
+
_optionalChain([onOpenChange, 'optionalCall', _6 => _6(false)]);
|
|
129
|
+
_optionalChain([onClose, 'optionalCall', _7 => _7()]);
|
|
119
130
|
}
|
|
120
131
|
}, [activeSteps, activeStepPosition, goTo, onFinish, onOpenChange, onClose]);
|
|
121
132
|
const prev = _react.useCallback.call(void 0, () => {
|
|
@@ -123,9 +134,22 @@ var Tour = ({
|
|
|
123
134
|
if (prevStep) goTo(prevStep.index);
|
|
124
135
|
}, [activeSteps, activeStepPosition, goTo]);
|
|
125
136
|
const close = _react.useCallback.call(void 0, () => {
|
|
126
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
127
|
-
_optionalChain([onClose, 'optionalCall',
|
|
137
|
+
_optionalChain([onOpenChange, 'optionalCall', _8 => _8(false)]);
|
|
138
|
+
_optionalChain([onClose, 'optionalCall', _9 => _9()]);
|
|
128
139
|
}, [onOpenChange, onClose]);
|
|
140
|
+
_react.useEffect.call(void 0, () => {
|
|
141
|
+
if (open) {
|
|
142
|
+
previousActiveElementRef.current = _tigercatcore.captureActiveElement.call(void 0, );
|
|
143
|
+
const timer = setTimeout(() => {
|
|
144
|
+
_tigercatcore.focusFirst.call(void 0, [closeButtonRef.current, popoverRef.current]);
|
|
145
|
+
}, 0);
|
|
146
|
+
return () => clearTimeout(timer);
|
|
147
|
+
}
|
|
148
|
+
_tigercatcore.restoreFocus.call(void 0, previousActiveElementRef.current);
|
|
149
|
+
}, [open]);
|
|
150
|
+
_chunkSTTQ5LXXjs.useEscapeKey.call(void 0, { enabled: open, onEscape: close });
|
|
151
|
+
_chunkSTTQ5LXXjs.useBodyScrollLock.call(void 0, { enabled: open });
|
|
152
|
+
_chunkSTTQ5LXXjs.useFocusTrap.call(void 0, { enabled: open, containerRef: popoverRef });
|
|
129
153
|
if (!open || !step) return null;
|
|
130
154
|
if (!_tigercatcore.isBrowser.call(void 0, )) return null;
|
|
131
155
|
const placement = _nullishCoalesce(step.placement, () => ( "bottom"));
|
|
@@ -159,9 +183,10 @@ var Tour = ({
|
|
|
159
183
|
closable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
160
184
|
"button",
|
|
161
185
|
{
|
|
186
|
+
ref: closeButtonRef,
|
|
162
187
|
className: _tigercatcore.tourCloseButtonClasses,
|
|
163
188
|
type: "button",
|
|
164
|
-
"aria-label":
|
|
189
|
+
"aria-label": labels.closeAriaLabel,
|
|
165
190
|
onClick: close,
|
|
166
191
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQ3QOT7Hjs.StatusIcon, { path: _tigercatcore.closeIconPathD, className: "h-4 w-4" })
|
|
167
192
|
}
|
|
@@ -181,7 +206,7 @@ var Tour = ({
|
|
|
181
206
|
type: "button",
|
|
182
207
|
className: "px-3 py-1.5 text-sm rounded-md border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors mr-2",
|
|
183
208
|
onClick: prev,
|
|
184
|
-
children:
|
|
209
|
+
children: labels.prevText
|
|
185
210
|
}
|
|
186
211
|
),
|
|
187
212
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -190,7 +215,7 @@ var Tour = ({
|
|
|
190
215
|
type: "button",
|
|
191
216
|
className: "px-3 py-1.5 text-sm rounded-md bg-[var(--tiger-primary,#2563eb)] text-white hover:bg-[var(--tiger-primary-hover,#1d4ed8)] transition-colors",
|
|
192
217
|
onClick: next,
|
|
193
|
-
children: isLast ?
|
|
218
|
+
children: isLast ? labels.finishText : labels.nextText
|
|
194
219
|
}
|
|
195
220
|
)
|
|
196
221
|
] })
|
|
@@ -199,7 +224,7 @@ var Tour = ({
|
|
|
199
224
|
}
|
|
200
225
|
)
|
|
201
226
|
] });
|
|
202
|
-
return
|
|
227
|
+
return _chunkSTTQ5LXXjs.renderBodyPortal.call(void 0, content);
|
|
203
228
|
};
|
|
204
229
|
|
|
205
230
|
|
|
@@ -394,7 +394,7 @@ var Upload = ({
|
|
|
394
394
|
const imageUrl = file.url || (file.file ? URL.createObjectURL(file.file) : "");
|
|
395
395
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getPictureCardClasses.call(void 0, file.status), children: [
|
|
396
396
|
imageUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: imageUrl, alt: file.name, className: "w-full h-full object-cover" }),
|
|
397
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-black
|
|
397
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-black/0 hover:bg-black/50 transition-all flex items-center justify-center space-x-2 opacity-0 hover:opacity-100", children: [
|
|
398
398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
399
|
"button",
|
|
400
400
|
{
|
|
@@ -456,7 +456,7 @@ var Upload = ({
|
|
|
456
456
|
}
|
|
457
457
|
)
|
|
458
458
|
] }),
|
|
459
|
-
file.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-white
|
|
459
|
+
file.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-white/75 flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
460
460
|
"svg",
|
|
461
461
|
{
|
|
462
462
|
className: _tigercatcore.getUploadStatusIconClasses.call(void 0, "uploading", "lg", {
|
|
@@ -22,7 +22,10 @@ var VirtualList = ({
|
|
|
22
22
|
onScroll
|
|
23
23
|
}) => {
|
|
24
24
|
const [scrollTop, setScrollTop] = _react.useState.call(void 0, 0);
|
|
25
|
+
const [measureVersion, setMeasureVersion] = _react.useState.call(void 0, 0);
|
|
25
26
|
const containerRef = _react.useRef.call(void 0, null);
|
|
27
|
+
const itemRefs = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
28
|
+
const isDynamic = !customStrategy && !getItemHeight && estimatedItemHeight !== void 0;
|
|
26
29
|
const strategy = _react.useMemo.call(void 0, () => {
|
|
27
30
|
if (customStrategy) return customStrategy;
|
|
28
31
|
if (getItemHeight) return _tigercatcore.variableSizeStrategy.call(void 0, getItemHeight, itemCount);
|
|
@@ -32,8 +35,23 @@ var VirtualList = ({
|
|
|
32
35
|
}, [customStrategy, getItemHeight, estimatedItemHeight, itemHeight, itemCount]);
|
|
33
36
|
const range = _react.useMemo.call(void 0,
|
|
34
37
|
() => strategy.getRange(scrollTop, height, itemCount, overscan),
|
|
35
|
-
|
|
38
|
+
// measureVersion participates so re-measured heights recompute the window.
|
|
39
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
40
|
+
[scrollTop, height, itemCount, overscan, strategy, measureVersion]
|
|
36
41
|
);
|
|
42
|
+
_react.useLayoutEffect.call(void 0, () => {
|
|
43
|
+
if (!isDynamic || !strategy.updateItemHeight) return;
|
|
44
|
+
let changed = false;
|
|
45
|
+
itemRefs.current.forEach((el, i) => {
|
|
46
|
+
if (!el) return;
|
|
47
|
+
const measured = el.offsetHeight;
|
|
48
|
+
if (measured > 0 && measured !== strategy.getItemHeight(i)) {
|
|
49
|
+
strategy.updateItemHeight(i, measured);
|
|
50
|
+
changed = true;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
if (changed) setMeasureVersion((v) => v + 1);
|
|
54
|
+
}, [isDynamic, strategy]);
|
|
37
55
|
const handleScroll = _react.useCallback.call(void 0, () => {
|
|
38
56
|
if (containerRef.current) {
|
|
39
57
|
const st = containerRef.current.scrollTop;
|
|
@@ -45,9 +63,27 @@ var VirtualList = ({
|
|
|
45
63
|
const items = [];
|
|
46
64
|
for (let i = startIndex; i <= endIndex; i++) {
|
|
47
65
|
const itemH = strategy.getItemHeight(i);
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
66
|
+
if (isDynamic) {
|
|
67
|
+
const index = i;
|
|
68
|
+
items.push(
|
|
69
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
ref: (el) => {
|
|
73
|
+
if (el) itemRefs.current.set(index, el);
|
|
74
|
+
else itemRefs.current.delete(index);
|
|
75
|
+
},
|
|
76
|
+
style: { width: "100%" },
|
|
77
|
+
children: renderItem({ index })
|
|
78
|
+
},
|
|
79
|
+
index
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
} else {
|
|
83
|
+
items.push(
|
|
84
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { height: `${itemH}px`, width: "100%" }, children: renderItem({ index: i }) }, i)
|
|
85
|
+
);
|
|
86
|
+
}
|
|
51
87
|
}
|
|
52
88
|
const offsetTop = startIndex >= 0 ? strategy.getItemOffset(startIndex) : 0;
|
|
53
89
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9,6 +9,7 @@ var _react = require('react');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
13
14
|
var _jsxruntime = require('react/jsx-runtime');
|
|
14
15
|
var DefaultIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24,7 +25,7 @@ var DefaultIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
|
24
25
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { strokeLinecap: "round", strokeLinejoin: "round", d: _tigercatcore.backTopIconPath })
|
|
25
26
|
}
|
|
26
27
|
);
|
|
27
|
-
var getDefaultTarget = () => window;
|
|
28
|
+
var getDefaultTarget = () => _tigercatcore.isBrowser.call(void 0, ) ? window : null;
|
|
28
29
|
var BackTop = ({
|
|
29
30
|
visibilityHeight = 400,
|
|
30
31
|
target = getDefaultTarget,
|
|
@@ -36,8 +37,10 @@ var BackTop = ({
|
|
|
36
37
|
...props
|
|
37
38
|
}) => {
|
|
38
39
|
const [visible, setVisible] = _react.useState.call(void 0, false);
|
|
40
|
+
const [targetElement, setTargetElement] = _react.useState.call(void 0, null);
|
|
39
41
|
_react.useEffect.call(void 0, () => {
|
|
40
42
|
const el = target();
|
|
43
|
+
setTargetElement(el);
|
|
41
44
|
if (!el) return;
|
|
42
45
|
const visibilityController = _tigercatcore.createBackTopVisibilityController.call(void 0, {
|
|
43
46
|
target: el,
|
|
@@ -49,6 +52,7 @@ var BackTop = ({
|
|
|
49
52
|
return () => {
|
|
50
53
|
el.removeEventListener("scroll", visibilityController.schedule);
|
|
51
54
|
visibilityController.cancel();
|
|
55
|
+
setTargetElement(null);
|
|
52
56
|
};
|
|
53
57
|
}, [target, visibilityHeight]);
|
|
54
58
|
const handleClick = _react.useCallback.call(void 0,
|
|
@@ -60,14 +64,13 @@ var BackTop = ({
|
|
|
60
64
|
[target, duration, onClick]
|
|
61
65
|
);
|
|
62
66
|
const buttonClasses = _react.useMemo.call(void 0, () => {
|
|
63
|
-
const
|
|
64
|
-
const positionClasses = !el || el === window ? _tigercatcore.backTopButtonClasses : _tigercatcore.backTopContainerClasses;
|
|
67
|
+
const positionClasses = !targetElement || targetElement === window ? _tigercatcore.backTopButtonClasses : _tigercatcore.backTopContainerClasses;
|
|
65
68
|
return _tigercatcore.classNames.call(void 0,
|
|
66
69
|
positionClasses,
|
|
67
70
|
visible ? _tigercatcore.backTopVisibleClasses : _tigercatcore.backTopHiddenClasses,
|
|
68
71
|
className
|
|
69
72
|
);
|
|
70
|
-
}, [
|
|
73
|
+
}, [targetElement, visible, className]);
|
|
71
74
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
75
|
"button",
|
|
73
76
|
{
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-6QML6T3Y.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZG2W4HS5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartTooltip
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O6YIPNXX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartCanvas
|
|
12
12
|
} from "./chunk-DKNVSQSV.mjs";
|
|
@@ -11,6 +11,8 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
|
|
15
|
+
|
|
14
16
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
15
17
|
var _jsxruntime = require('react/jsx-runtime');
|
|
16
18
|
var CodeEditor = ({
|
|
@@ -25,6 +27,7 @@ var CodeEditor = ({
|
|
|
25
27
|
wordWrap = false,
|
|
26
28
|
minLines = 3,
|
|
27
29
|
maxLines = 0,
|
|
30
|
+
highlightActiveLine = true,
|
|
28
31
|
disabled = false,
|
|
29
32
|
className,
|
|
30
33
|
style,
|
|
@@ -32,6 +35,7 @@ var CodeEditor = ({
|
|
|
32
35
|
highlighter
|
|
33
36
|
}) => {
|
|
34
37
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
38
|
+
const [activeLine, setActiveLine] = _react.useState.call(void 0, 0);
|
|
35
39
|
const textareaRef = _react.useRef.call(void 0, null);
|
|
36
40
|
const code = controlledValue !== void 0 ? controlledValue : internalValue;
|
|
37
41
|
const lines = _react.useMemo.call(void 0, () => code.split("\n"), [code]);
|
|
@@ -48,11 +52,17 @@ var CodeEditor = ({
|
|
|
48
52
|
if (maxLines > 0) s.maxHeight = `${maxLines * lineHeight + 1.5}rem`;
|
|
49
53
|
return s;
|
|
50
54
|
}, [minLines, maxLines, style]);
|
|
55
|
+
const updateActiveLine = _react.useCallback.call(void 0, () => {
|
|
56
|
+
const ta = textareaRef.current;
|
|
57
|
+
if (!ta) return;
|
|
58
|
+
setActiveLine(_tigercatcore.getActiveLineIndex.call(void 0, ta.value, ta.selectionStart));
|
|
59
|
+
}, []);
|
|
51
60
|
const handleInput = _react.useCallback.call(void 0,
|
|
52
61
|
(e) => {
|
|
53
62
|
const val = e.target.value;
|
|
54
63
|
setInternalValue(val);
|
|
55
64
|
_optionalChain([onChange, 'optionalCall', _ => _(val)]);
|
|
65
|
+
setActiveLine(_tigercatcore.getActiveLineIndex.call(void 0, val, e.target.selectionStart));
|
|
56
66
|
},
|
|
57
67
|
[onChange]
|
|
58
68
|
);
|
|
@@ -74,27 +84,42 @@ var CodeEditor = ({
|
|
|
74
84
|
[tabSize, onChange]
|
|
75
85
|
);
|
|
76
86
|
const wrapClass = wordWrap ? "whitespace-pre-wrap break-all" : "";
|
|
87
|
+
const showActiveLine = highlightActiveLine && !disabled;
|
|
88
|
+
const activeLineClass = _tigercatcore.getCodeEditorActiveLineClasses.call(void 0, theme);
|
|
77
89
|
const renderToken = (token, idx) => {
|
|
78
90
|
const cls = _tigercatcore.getTokenClasses.call(void 0, token.type, theme);
|
|
79
91
|
return cls ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: cls, children: token.value }, idx) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: token.value }, idx);
|
|
80
92
|
};
|
|
81
93
|
const renderLine = (line, lineIndex) => {
|
|
94
|
+
const lineClass = _tigercatcore.classNames.call(void 0,
|
|
95
|
+
"min-h-[1.625rem]",
|
|
96
|
+
showActiveLine && lineIndex === activeLine && activeLineClass
|
|
97
|
+
);
|
|
82
98
|
if (_optionalChain([highlighter, 'optionalAccess', _3 => _3.highlightLine])) {
|
|
83
99
|
const html = highlighter.highlightLine(line, language, theme) || (line === "" ? "\n" : "");
|
|
84
100
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
85
101
|
"div",
|
|
86
102
|
{
|
|
87
|
-
className:
|
|
103
|
+
className: lineClass,
|
|
104
|
+
"data-active-line": showActiveLine && lineIndex === activeLine ? "" : void 0,
|
|
88
105
|
dangerouslySetInnerHTML: { __html: html }
|
|
89
106
|
},
|
|
90
107
|
lineIndex
|
|
91
108
|
);
|
|
92
109
|
}
|
|
93
110
|
const tokens = _tigercatcore.tokenizeLine.call(void 0, line, language);
|
|
94
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
111
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
112
|
+
"div",
|
|
113
|
+
{
|
|
114
|
+
className: lineClass,
|
|
115
|
+
"data-active-line": showActiveLine && lineIndex === activeLine ? "" : void 0,
|
|
116
|
+
children: [
|
|
117
|
+
tokens.map(renderToken),
|
|
118
|
+
line === "" ? "\n" : null
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
lineIndex
|
|
122
|
+
);
|
|
98
123
|
};
|
|
99
124
|
const blockHtml = highlighter && !highlighter.highlightLine && highlighter.highlightCode ? highlighter.highlightCode(code, language, theme) : null;
|
|
100
125
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -123,6 +148,9 @@ var CodeEditor = ({
|
|
|
123
148
|
value: code,
|
|
124
149
|
onChange: handleInput,
|
|
125
150
|
onKeyDown: handleKeyDown,
|
|
151
|
+
onSelect: updateActiveLine,
|
|
152
|
+
onClick: updateActiveLine,
|
|
153
|
+
onKeyUp: updateActiveLine,
|
|
126
154
|
readOnly: readOnly || disabled,
|
|
127
155
|
disabled,
|
|
128
156
|
placeholder,
|
|
@@ -22,8 +22,13 @@ import {
|
|
|
22
22
|
taskBoardWipExceededClasses,
|
|
23
23
|
taskBoardAddCardClasses,
|
|
24
24
|
kanbanCardCountClasses,
|
|
25
|
+
kanbanSwimlaneClasses,
|
|
26
|
+
kanbanSwimlaneHeaderClasses,
|
|
27
|
+
kanbanSwimlaneDotClasses,
|
|
28
|
+
kanbanSwimlaneCollapsedClasses,
|
|
25
29
|
kanbanAddColumnClasses,
|
|
26
30
|
filterColumns,
|
|
31
|
+
groupBySwimlane,
|
|
27
32
|
getColumnCardCount,
|
|
28
33
|
moveCard,
|
|
29
34
|
reorderColumns,
|
|
@@ -90,7 +95,9 @@ var ColumnItem = React.memo(
|
|
|
90
95
|
dragStateId,
|
|
91
96
|
kbDragStateId,
|
|
92
97
|
showCardCount,
|
|
93
|
-
allowAddCard
|
|
98
|
+
allowAddCard,
|
|
99
|
+
swimlanes,
|
|
100
|
+
swimlaneField
|
|
94
101
|
}) => {
|
|
95
102
|
const wipOver = isWipExceeded(column);
|
|
96
103
|
const cardCount = showCardCount ? getColumnCardCount(column) : null;
|
|
@@ -99,32 +106,61 @@ var ColumnItem = React.memo(
|
|
|
99
106
|
isDropTarget && taskBoardColumnDropTargetClasses,
|
|
100
107
|
isColDragging && taskBoardColumnDraggingClasses
|
|
101
108
|
);
|
|
109
|
+
const renderCardNode = (card, originalIndex) => {
|
|
110
|
+
const nodes = [];
|
|
111
|
+
if (isDropTarget && dropIdx === originalIndex) {
|
|
112
|
+
nodes.push(/* @__PURE__ */ jsx("div", { className: taskBoardDropIndicatorClasses }, `drop-${originalIndex}`));
|
|
113
|
+
}
|
|
114
|
+
const isDragging = dragStateId === card.id;
|
|
115
|
+
const isKbGrabbed = kbDragStateId === card.id;
|
|
116
|
+
nodes.push(
|
|
117
|
+
/* @__PURE__ */ jsx(
|
|
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 ? groupBySwimlane(column.cards, swimlanes, swimlaneField).map((group) => /* @__PURE__ */ jsxs(
|
|
137
|
+
"div",
|
|
138
|
+
{
|
|
139
|
+
className: kanbanSwimlaneClasses,
|
|
140
|
+
"data-tiger-kanban-swimlane": "",
|
|
141
|
+
"data-tiger-kanban-swimlane-id": String(group.swimlane.id),
|
|
142
|
+
children: [
|
|
143
|
+
/* @__PURE__ */ jsxs("div", { className: kanbanSwimlaneHeaderClasses, children: [
|
|
144
|
+
group.swimlane.color && /* @__PURE__ */ jsx(
|
|
145
|
+
"span",
|
|
146
|
+
{
|
|
147
|
+
className: kanbanSwimlaneDotClasses,
|
|
148
|
+
style: { backgroundColor: group.swimlane.color }
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
/* @__PURE__ */ jsx("span", { children: group.swimlane.label }),
|
|
152
|
+
/* @__PURE__ */ jsx("span", { className: "ml-auto text-xs text-[var(--tiger-text-muted,#6b7280)]", children: group.cards.length })
|
|
153
|
+
] }),
|
|
154
|
+
/* @__PURE__ */ jsx("div", { className: group.swimlane.collapsed ? 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__ */ jsx("div", { className: taskBoardDropIndicatorClasses }, "drop-end"));
|
|
130
166
|
}
|
|
@@ -245,7 +281,7 @@ var ColumnItem = React.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__ */
|
|
458
|
+
allowAddColumn && /* @__PURE__ */ jsxs(
|
|
419
459
|
"div",
|
|
420
460
|
{
|
|
421
461
|
className: kanbanAddColumnClasses,
|
|
@@ -428,7 +468,10 @@ var TaskBoard = ({
|
|
|
428
468
|
onColumnAdd?.();
|
|
429
469
|
}
|
|
430
470
|
},
|
|
431
|
-
children:
|
|
471
|
+
children: [
|
|
472
|
+
"+ ",
|
|
473
|
+
resolveLocaleText(labels.addColumnText)
|
|
474
|
+
]
|
|
432
475
|
}
|
|
433
476
|
)
|
|
434
477
|
]
|
|
@@ -1,5 +1,8 @@
|
|
|
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 _chunkI3CDTF4Ujs = require('./chunk-I3CDTF4U.js');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkL3WPA2RPjs = require('./chunk-L3WPA2RP.js');
|
|
4
7
|
|
|
5
8
|
// src/components/Textarea.tsx
|
|
@@ -12,7 +15,7 @@ var _tigercatcore = require('@expcat/tigercat-core');
|
|
|
12
15
|
var _jsxruntime = require('react/jsx-runtime');
|
|
13
16
|
var Textarea = _react.forwardRef.call(void 0,
|
|
14
17
|
({
|
|
15
|
-
size
|
|
18
|
+
size,
|
|
16
19
|
disabled = false,
|
|
17
20
|
readonly = false,
|
|
18
21
|
required = false,
|
|
@@ -33,6 +36,8 @@ var Textarea = _react.forwardRef.call(void 0,
|
|
|
33
36
|
className,
|
|
34
37
|
...props
|
|
35
38
|
}, ref) => {
|
|
39
|
+
const inputGroup = _chunkI3CDTF4Ujs.useInputGroupContext.call(void 0, );
|
|
40
|
+
const effectiveSize = _nullishCoalesce(_nullishCoalesce(size, () => ( _optionalChain([inputGroup, 'optionalAccess', _ => _.size]))), () => ( "md"));
|
|
36
41
|
const textareaRef = _react.useRef.call(void 0, null);
|
|
37
42
|
const [currentValue, setValue] = _chunkL3WPA2RPjs.useControlledState.call(void 0, value, defaultValue || "");
|
|
38
43
|
const setRefs = (node) => {
|
|
@@ -47,20 +52,20 @@ var Textarea = _react.forwardRef.call(void 0,
|
|
|
47
52
|
const textareaClasses = _react.useMemo.call(void 0,
|
|
48
53
|
() => _tigercatcore.classNames.call(void 0,
|
|
49
54
|
"block",
|
|
50
|
-
_tigercatcore.getInputClasses.call(void 0, { size }),
|
|
55
|
+
_tigercatcore.getInputClasses.call(void 0, { size: effectiveSize }),
|
|
51
56
|
autoResize ? "resize-none" : "resize-y",
|
|
52
57
|
className
|
|
53
58
|
),
|
|
54
|
-
[
|
|
59
|
+
[effectiveSize, autoResize, className]
|
|
55
60
|
);
|
|
56
61
|
const handleInput = (event) => {
|
|
57
62
|
setValue(event.currentTarget.value);
|
|
58
|
-
_optionalChain([onInput, 'optionalCall',
|
|
63
|
+
_optionalChain([onInput, 'optionalCall', _2 => _2(event)]);
|
|
59
64
|
};
|
|
60
65
|
const handleChange = (event) => {
|
|
61
|
-
_optionalChain([onChange, 'optionalCall',
|
|
66
|
+
_optionalChain([onChange, 'optionalCall', _3 => _3(event)]);
|
|
62
67
|
};
|
|
63
|
-
const currentLength = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
68
|
+
const currentLength = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _4 => _4.length]), () => ( 0));
|
|
64
69
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full", children: [
|
|
65
70
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
66
71
|
"textarea",
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-6QML6T3Y.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegend
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZG2W4HS5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ChartTooltip
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O6YIPNXX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ChartCanvas
|
|
12
12
|
} from "./chunk-DKNVSQSV.mjs";
|