@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,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useInputGroupContext
|
|
3
|
+
} from "./chunk-34VGG7AK.mjs";
|
|
1
4
|
import {
|
|
2
5
|
useControlledState
|
|
3
6
|
} from "./chunk-WHYHLUXG.mjs";
|
|
@@ -19,7 +22,7 @@ import {
|
|
|
19
22
|
} from "@expcat/tigercat-core";
|
|
20
23
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
24
|
var Input = ({
|
|
22
|
-
size
|
|
25
|
+
size,
|
|
23
26
|
type = "text",
|
|
24
27
|
status = "default",
|
|
25
28
|
errorMessage,
|
|
@@ -51,6 +54,8 @@ var Input = ({
|
|
|
51
54
|
...props
|
|
52
55
|
}) => {
|
|
53
56
|
injectShakeStyle();
|
|
57
|
+
const inputGroup = useInputGroupContext();
|
|
58
|
+
const effectiveSize = size ?? inputGroup?.size ?? "md";
|
|
54
59
|
const wrapperRef = useRef(null);
|
|
55
60
|
const inputRef = useRef(null);
|
|
56
61
|
const reactId = useId();
|
|
@@ -92,21 +97,21 @@ var Input = ({
|
|
|
92
97
|
const showPasswordToggle = showPassword && type === "password" && !disabled;
|
|
93
98
|
const effectiveType = showPassword && type === "password" ? passwordVisible ? "text" : "password" : type;
|
|
94
99
|
const inputClasses = getInputClasses({
|
|
95
|
-
size,
|
|
100
|
+
size: effectiveSize,
|
|
96
101
|
status,
|
|
97
102
|
hasPrefix,
|
|
98
103
|
hasSuffix
|
|
99
104
|
});
|
|
100
105
|
const renderSuffix = () => {
|
|
101
106
|
if (activeError) {
|
|
102
|
-
return /* @__PURE__ */ jsx("div", { id: errorMsgId, className: getInputErrorClasses(
|
|
107
|
+
return /* @__PURE__ */ jsx("div", { id: errorMsgId, className: getInputErrorClasses(effectiveSize), children: errorMessage });
|
|
103
108
|
}
|
|
104
109
|
if (showClear) {
|
|
105
110
|
return /* @__PURE__ */ jsx(
|
|
106
111
|
"button",
|
|
107
112
|
{
|
|
108
113
|
type: "button",
|
|
109
|
-
className: getInputClearButtonClasses(
|
|
114
|
+
className: getInputClearButtonClasses(effectiveSize),
|
|
110
115
|
onClick: handleClear,
|
|
111
116
|
"aria-label": "Clear input",
|
|
112
117
|
tabIndex: -1,
|
|
@@ -119,7 +124,7 @@ var Input = ({
|
|
|
119
124
|
"button",
|
|
120
125
|
{
|
|
121
126
|
type: "button",
|
|
122
|
-
className: getInputPasswordToggleClasses(
|
|
127
|
+
className: getInputPasswordToggleClasses(effectiveSize),
|
|
123
128
|
onClick: togglePasswordVisibility,
|
|
124
129
|
"aria-label": passwordVisible ? "Hide password" : "Show password",
|
|
125
130
|
tabIndex: -1,
|
|
@@ -128,7 +133,7 @@ var Input = ({
|
|
|
128
133
|
);
|
|
129
134
|
}
|
|
130
135
|
if (suffix) {
|
|
131
|
-
return /* @__PURE__ */ jsx("div", { className: getInputAffixClasses("suffix",
|
|
136
|
+
return /* @__PURE__ */ jsx("div", { className: getInputAffixClasses("suffix", effectiveSize), children: suffix });
|
|
132
137
|
}
|
|
133
138
|
return null;
|
|
134
139
|
};
|
|
@@ -140,7 +145,7 @@ var Input = ({
|
|
|
140
145
|
style,
|
|
141
146
|
onAnimationEnd: handleAnimationEnd,
|
|
142
147
|
children: [
|
|
143
|
-
hasPrefix && /* @__PURE__ */ jsx("div", { className: getInputAffixClasses("prefix",
|
|
148
|
+
hasPrefix && /* @__PURE__ */ jsx("div", { className: getInputAffixClasses("prefix", effectiveSize), children: prefix }),
|
|
144
149
|
/* @__PURE__ */ jsx(
|
|
145
150
|
"input",
|
|
146
151
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkHFGTJEQWjs = require('./chunk-HFGTJEQW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk5ALMTE35js = require('./chunk-5ALMTE35.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBR3WLDH7js = require('./chunk-BR3WLDH7.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkLZG24TDBjs = require('./chunk-LZG24TDB.js');
|
|
@@ -38,6 +38,7 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -123,6 +124,9 @@ var LoadingSpinner = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
|
123
124
|
|
|
124
125
|
|
|
125
126
|
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
126
130
|
function useTableState(input) {
|
|
127
131
|
const {
|
|
128
132
|
columns,
|
|
@@ -238,7 +242,7 @@ function useTableState(input) {
|
|
|
238
242
|
}, [columns, fixedOverrides, effectiveHiddenColumnKeys]);
|
|
239
243
|
const totalColumnCount = _react.useMemo.call(void 0, () => {
|
|
240
244
|
let count = displayColumns.length;
|
|
241
|
-
if (
|
|
245
|
+
if (_tigercatcore.hasTableSelectionColumn.call(void 0, rowSelection)) count++;
|
|
242
246
|
if (expandable) count++;
|
|
243
247
|
return count;
|
|
244
248
|
}, [displayColumns.length, rowSelection, expandable]);
|
|
@@ -281,14 +285,14 @@ function useTableState(input) {
|
|
|
281
285
|
if (filterMode === "advanced" && advancedFilterRules.length > 0) {
|
|
282
286
|
data = _tigercatcore.filterDataAdvanced.call(void 0, data, advancedFilterRules);
|
|
283
287
|
} else {
|
|
284
|
-
data = _tigercatcore.
|
|
288
|
+
data = _tigercatcore.filterTableData.call(void 0, data, columns, filterState);
|
|
285
289
|
}
|
|
286
290
|
if (sortState.key && sortState.direction) {
|
|
287
291
|
const column = columnByKey[sortState.key];
|
|
288
292
|
data = _tigercatcore.sortData.call(void 0, data, sortState.key, sortState.direction, _optionalChain([column, 'optionalAccess', _25 => _25.sortFn]));
|
|
289
293
|
}
|
|
290
294
|
return data;
|
|
291
|
-
}, [dataSource, filterState, sortState, columnByKey, filterMode, advancedFilterRules]);
|
|
295
|
+
}, [dataSource, columns, filterState, sortState, columnByKey, filterMode, advancedFilterRules]);
|
|
292
296
|
const paginatedData = _react.useMemo.call(void 0, () => {
|
|
293
297
|
if (pagination === false) {
|
|
294
298
|
return processedData;
|
|
@@ -406,28 +410,28 @@ function useTableState(input) {
|
|
|
406
410
|
}
|
|
407
411
|
_optionalChain([onSelectionChange, 'optionalCall', _41 => _41(newKeys)]);
|
|
408
412
|
}
|
|
413
|
+
const selectionState = _react.useMemo.call(void 0,
|
|
414
|
+
() => _tigercatcore.getTableSelectionState.call(void 0, {
|
|
415
|
+
records: paginatedData,
|
|
416
|
+
rowKeys: pageRowKeys,
|
|
417
|
+
selectedRowKeys,
|
|
418
|
+
getCheckboxProps: _optionalChain([rowSelection, 'optionalAccess', _42 => _42.getCheckboxProps])
|
|
419
|
+
}),
|
|
420
|
+
[paginatedData, pageRowKeys, selectedRowKeys, rowSelection]
|
|
421
|
+
);
|
|
409
422
|
function handleSelectAll(checked) {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
if (!isSelectionControlled) {
|
|
418
|
-
setUncontrolledSelectedRowKeys([]);
|
|
419
|
-
}
|
|
420
|
-
_optionalChain([onSelectionChange, 'optionalCall', _43 => _43([])]);
|
|
423
|
+
const newKeys = _tigercatcore.getNextTableSelectAllKeys.call(void 0,
|
|
424
|
+
selectedRowKeys,
|
|
425
|
+
selectionState.selectableRowKeys,
|
|
426
|
+
checked
|
|
427
|
+
);
|
|
428
|
+
if (!isSelectionControlled) {
|
|
429
|
+
setUncontrolledSelectedRowKeys(newKeys);
|
|
421
430
|
}
|
|
431
|
+
_optionalChain([onSelectionChange, 'optionalCall', _43 => _43(newKeys)]);
|
|
422
432
|
}
|
|
423
|
-
const allSelected =
|
|
424
|
-
|
|
425
|
-
return pageRowKeys.every((key) => selectedRowKeySet.has(key));
|
|
426
|
-
}, [pageRowKeys, selectedRowKeySet]);
|
|
427
|
-
const someSelected = _react.useMemo.call(void 0,
|
|
428
|
-
() => selectedRowKeys.length > 0 && !allSelected,
|
|
429
|
-
[selectedRowKeys.length, allSelected]
|
|
430
|
-
);
|
|
433
|
+
const allSelected = selectionState.allSelected;
|
|
434
|
+
const someSelected = selectionState.someSelected;
|
|
431
435
|
const [editingCell, setEditingCell] = _react.useState.call(void 0,
|
|
432
436
|
null
|
|
433
437
|
);
|
|
@@ -557,9 +561,10 @@ function renderTableHeader(ctx, view) {
|
|
|
557
561
|
columnLockable,
|
|
558
562
|
columnDraggable,
|
|
559
563
|
lockColumnAriaLabel,
|
|
560
|
-
unlockColumnAriaLabel
|
|
564
|
+
unlockColumnAriaLabel,
|
|
565
|
+
labels
|
|
561
566
|
} = view;
|
|
562
|
-
const expandHeaderTh = expandable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { className: _tigercatcore.getExpandIconCellClasses.call(void 0, size), "aria-label":
|
|
567
|
+
const expandHeaderTh = expandable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { className: _tigercatcore.getExpandIconCellClasses.call(void 0, size), "aria-label": labels.expandText }) : null;
|
|
563
568
|
const expandAtStart = _optionalChain([expandable, 'optionalAccess', _52 => _52.expandIconPosition]) !== "end";
|
|
564
569
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { className: _tigercatcore.getTableHeaderClasses.call(void 0, stickyHeader), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { children: [
|
|
565
570
|
expandAtStart && expandHeaderTh,
|
|
@@ -640,7 +645,7 @@ function renderTableHeader(ctx, view) {
|
|
|
640
645
|
onChange: (e) => ctx.handleFilter(column.key, e.target.value),
|
|
641
646
|
onClick: (e) => e.stopPropagation(),
|
|
642
647
|
children: [
|
|
643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "option", { value: "", children:
|
|
648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "option", { value: "", children: labels.allText }),
|
|
644
649
|
column.filter.options.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "option", { value: opt.value, children: opt.label }, opt.value))
|
|
645
650
|
]
|
|
646
651
|
}
|
|
@@ -649,7 +654,7 @@ function renderTableHeader(ctx, view) {
|
|
|
649
654
|
{
|
|
650
655
|
type: "text",
|
|
651
656
|
className: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
|
|
652
|
-
placeholder: column.filter.placeholder ||
|
|
657
|
+
placeholder: column.filter.placeholder || labels.filterPlaceholder,
|
|
653
658
|
onInput: (e) => ctx.handleFilter(column.key, e.target.value),
|
|
654
659
|
onClick: (e) => e.stopPropagation()
|
|
655
660
|
}
|
|
@@ -682,6 +687,7 @@ function renderTableHeader(ctx, view) {
|
|
|
682
687
|
|
|
683
688
|
|
|
684
689
|
|
|
690
|
+
|
|
685
691
|
function renderTableBody(ctx, view) {
|
|
686
692
|
const {
|
|
687
693
|
size,
|
|
@@ -691,8 +697,11 @@ function renderTableBody(ctx, view) {
|
|
|
691
697
|
emptyText,
|
|
692
698
|
rowSelection,
|
|
693
699
|
expandable,
|
|
700
|
+
labels,
|
|
694
701
|
rowClassName,
|
|
695
|
-
rowDraggable
|
|
702
|
+
rowDraggable,
|
|
703
|
+
interactiveRows,
|
|
704
|
+
virtualWindow
|
|
696
705
|
} = view;
|
|
697
706
|
if (loading) {
|
|
698
707
|
return null;
|
|
@@ -744,7 +753,7 @@ function renderTableBody(ctx, view) {
|
|
|
744
753
|
{
|
|
745
754
|
type: "button",
|
|
746
755
|
className: "inline-flex items-center justify-center",
|
|
747
|
-
"aria-label": isExpanded ?
|
|
756
|
+
"aria-label": isExpanded ? labels.collapseRowAriaLabel : labels.expandRowAriaLabel,
|
|
748
757
|
"aria-expanded": isExpanded,
|
|
749
758
|
onClick: (e) => {
|
|
750
759
|
e.stopPropagation();
|
|
@@ -762,6 +771,15 @@ function renderTableBody(ctx, view) {
|
|
|
762
771
|
_tigercatcore.getTableRowClasses.call(void 0, hoverable, striped, index % 2 === 0, rowClass),
|
|
763
772
|
ctx.fixedColumnsInfo.hasFixedColumns && "group"
|
|
764
773
|
),
|
|
774
|
+
"aria-selected": rowSelection ? isSelected : void 0,
|
|
775
|
+
tabIndex: interactiveRows ? 0 : void 0,
|
|
776
|
+
onKeyDown: interactiveRows ? (e) => {
|
|
777
|
+
if (e.target !== e.currentTarget) return;
|
|
778
|
+
if (_tigercatcore.isActivationKey.call(void 0, e)) {
|
|
779
|
+
e.preventDefault();
|
|
780
|
+
ctx.handleRowClick(record, index, key);
|
|
781
|
+
}
|
|
782
|
+
} : void 0,
|
|
765
783
|
draggable: rowDraggable ? true : void 0,
|
|
766
784
|
children: [
|
|
767
785
|
expandAtStart && expandToggleCell,
|
|
@@ -862,6 +880,33 @@ function renderTableBody(ctx, view) {
|
|
|
862
880
|
}
|
|
863
881
|
);
|
|
864
882
|
}
|
|
883
|
+
if (virtualWindow && virtualWindow.endIndex >= virtualWindow.startIndex) {
|
|
884
|
+
const { startIndex, endIndex, topPad, bottomPad } = virtualWindow;
|
|
885
|
+
const windowed = [];
|
|
886
|
+
if (topPad > 0) {
|
|
887
|
+
windowed.push(
|
|
888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { colSpan: ctx.totalColumnCount, style: { height: `${topPad}px`, padding: 0 } }) }, "virtual-top")
|
|
889
|
+
);
|
|
890
|
+
}
|
|
891
|
+
for (let index = startIndex; index <= endIndex; index++) {
|
|
892
|
+
windowed.push(renderDataRow(ctx.paginatedData[index], index));
|
|
893
|
+
}
|
|
894
|
+
if (bottomPad > 0) {
|
|
895
|
+
windowed.push(
|
|
896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { colSpan: ctx.totalColumnCount, style: { height: `${bottomPad}px`, padding: 0 } }) }, "virtual-bottom")
|
|
897
|
+
);
|
|
898
|
+
}
|
|
899
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
900
|
+
"tbody",
|
|
901
|
+
{
|
|
902
|
+
onClick: handleBodyClick,
|
|
903
|
+
onDragStart: rowDraggable ? handleBodyDragStart : void 0,
|
|
904
|
+
onDragOver: rowDraggable ? handleBodyDragOver : void 0,
|
|
905
|
+
onDrop: rowDraggable ? handleBodyDrop : void 0,
|
|
906
|
+
children: windowed
|
|
907
|
+
}
|
|
908
|
+
);
|
|
909
|
+
}
|
|
865
910
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
866
911
|
"tbody",
|
|
867
912
|
{
|
|
@@ -1031,7 +1076,7 @@ function Table({
|
|
|
1031
1076
|
virtual = false,
|
|
1032
1077
|
autoVirtual = true,
|
|
1033
1078
|
virtualHeight = 400,
|
|
1034
|
-
virtualItemHeight
|
|
1079
|
+
virtualItemHeight = 40,
|
|
1035
1080
|
autoVirtualThreshold = 1e4,
|
|
1036
1081
|
virtualThreshold = 1e3,
|
|
1037
1082
|
editable = false,
|
|
@@ -1184,6 +1229,16 @@ function Table({
|
|
|
1184
1229
|
[autoVirtual, autoVirtualThreshold, dataSource.length, virtual, virtualThreshold]
|
|
1185
1230
|
);
|
|
1186
1231
|
const effectiveVirtual = virtualRecommendation.enabled;
|
|
1232
|
+
const [virtualScrollTop, setVirtualScrollTop] = _react.useState.call(void 0, 0);
|
|
1233
|
+
const virtualWindow = _react.useMemo.call(void 0,
|
|
1234
|
+
() => effectiveVirtual ? _tigercatcore.getTableVirtualWindow.call(void 0,
|
|
1235
|
+
virtualScrollTop,
|
|
1236
|
+
typeof virtualHeight === "number" ? virtualHeight : 400,
|
|
1237
|
+
virtualItemHeight,
|
|
1238
|
+
ctx.paginatedData.length
|
|
1239
|
+
) : void 0,
|
|
1240
|
+
[effectiveVirtual, virtualScrollTop, virtualHeight, virtualItemHeight, ctx.paginatedData.length]
|
|
1241
|
+
);
|
|
1187
1242
|
const wrapperStyle = _react.useMemo.call(void 0, () => {
|
|
1188
1243
|
if (effectiveVirtual) {
|
|
1189
1244
|
return {
|
|
@@ -1222,6 +1277,7 @@ function Table({
|
|
|
1222
1277
|
maxHeight || (virtual ? virtualHeight : void 0)
|
|
1223
1278
|
),
|
|
1224
1279
|
style: wrapperStyle,
|
|
1280
|
+
onScroll: effectiveVirtual ? (e) => setVirtualScrollTop(e.target.scrollTop) : void 0,
|
|
1225
1281
|
"data-tiger-virtual": virtualRecommendation.enabled ? "enabled" : void 0,
|
|
1226
1282
|
"data-tiger-virtual-auto": virtualRecommendation.autoEnabled ? "true" : void 0,
|
|
1227
1283
|
"data-tiger-virtual-recommended": virtualRecommendation.recommended ? "true" : void 0,
|
|
@@ -1229,7 +1285,16 @@ function Table({
|
|
|
1229
1285
|
"data-tiger-measured-row-height": measuredRowHeights[0] || void 0,
|
|
1230
1286
|
"aria-busy": loading,
|
|
1231
1287
|
children: [
|
|
1232
|
-
exportable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1288
|
+
exportable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-2 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1289
|
+
"button",
|
|
1290
|
+
{
|
|
1291
|
+
type: "button",
|
|
1292
|
+
className: _tigercatcore.tableExportButtonClasses,
|
|
1293
|
+
"aria-label": exportFormat === "excel" ? tableLabels.exportExcelAriaLabel : tableLabels.exportCsvAriaLabel,
|
|
1294
|
+
onClick: ctx.handleExport,
|
|
1295
|
+
children: exportFormat === "excel" ? tableLabels.exportExcelText : tableLabels.exportCsvText
|
|
1296
|
+
}
|
|
1297
|
+
) }),
|
|
1233
1298
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1234
1299
|
"table",
|
|
1235
1300
|
{
|
|
@@ -1267,7 +1332,8 @@ function Table({
|
|
|
1267
1332
|
columnLockable,
|
|
1268
1333
|
columnDraggable,
|
|
1269
1334
|
lockColumnAriaLabel: tableLabels.lockColumnAriaLabel,
|
|
1270
|
-
unlockColumnAriaLabel: tableLabels.unlockColumnAriaLabel
|
|
1335
|
+
unlockColumnAriaLabel: tableLabels.unlockColumnAriaLabel,
|
|
1336
|
+
labels: tableLabels
|
|
1271
1337
|
}),
|
|
1272
1338
|
renderTableBody(ctx, {
|
|
1273
1339
|
size,
|
|
@@ -1277,8 +1343,11 @@ function Table({
|
|
|
1277
1343
|
emptyText: tableLabels.emptyText,
|
|
1278
1344
|
rowSelection: internalRowSelection,
|
|
1279
1345
|
expandable: internalExpandable,
|
|
1346
|
+
labels: tableLabels,
|
|
1280
1347
|
rowClassName: internalRowClassName,
|
|
1281
|
-
rowDraggable
|
|
1348
|
+
rowDraggable,
|
|
1349
|
+
interactiveRows: !!onRowClick || !!internalRowSelection,
|
|
1350
|
+
virtualWindow
|
|
1282
1351
|
}),
|
|
1283
1352
|
renderSummaryRow(ctx, {
|
|
1284
1353
|
size,
|
|
@@ -1306,7 +1375,7 @@ function Table({
|
|
|
1306
1375
|
}
|
|
1307
1376
|
) }) : null,
|
|
1308
1377
|
ctx.displayColumns.some((column) => column.sortable) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] px-3 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1309
|
-
|
|
1378
|
+
_chunkHFGTJEQWjs.Select,
|
|
1310
1379
|
{
|
|
1311
1380
|
size: "sm",
|
|
1312
1381
|
value: ctx.sortState.key && ctx.sortState.direction ? `${ctx.sortState.key}:${ctx.sortState.direction}` : "",
|
|
@@ -1337,7 +1406,7 @@ function Table({
|
|
|
1337
1406
|
}
|
|
1338
1407
|
}
|
|
1339
1408
|
) }) : null,
|
|
1340
|
-
ctx.paginatedData.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.getTableResponsiveCardClasses.call(void 0, cardPadding), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1409
|
+
ctx.paginatedData.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.getTableResponsiveCardClasses.call(void 0, cardPadding), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBR3WLDH7js.Empty, { showImage: false, description: tableLabels.emptyText }) }) : ctx.paginatedData.map((record, index) => {
|
|
1341
1410
|
const key = ctx.pageRowKeys[index];
|
|
1342
1411
|
const isExpanded = ctx.expandedRowKeySet.has(key);
|
|
1343
1412
|
const isSelected = ctx.selectedRowKeySet.has(key);
|
|
@@ -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;
|
|
@@ -238,7 +238,7 @@ function useTimePickerState(allProps) {
|
|
|
238
238
|
updateTime(hours24, selectedMinutes, selectedSeconds);
|
|
239
239
|
};
|
|
240
240
|
const updateTime = (hours, minutes, seconds) => {
|
|
241
|
-
if (!isTimeInRange(hours, minutes, minTime, maxTime)) {
|
|
241
|
+
if (!isTimeInRange(hours, minutes, minTime, maxTime, seconds)) {
|
|
242
242
|
return;
|
|
243
243
|
}
|
|
244
244
|
let timeString = formatTime(hours, minutes, seconds, showSeconds);
|
|
@@ -305,10 +305,13 @@ function useTimePickerState(allProps) {
|
|
|
305
305
|
};
|
|
306
306
|
const isHourDisabled = (hour) => {
|
|
307
307
|
const hours24 = format === "12" ? to24HourFormat(hour, selectedPeriod) : hour;
|
|
308
|
-
return !isTimeInRange(hours24, selectedMinutes, minTime, maxTime);
|
|
308
|
+
return !isTimeInRange(hours24, selectedMinutes, minTime, maxTime, selectedSeconds);
|
|
309
309
|
};
|
|
310
310
|
const isMinuteDisabled = (minute) => {
|
|
311
|
-
return !isTimeInRange(selectedHours, minute, minTime, maxTime);
|
|
311
|
+
return !isTimeInRange(selectedHours, minute, minTime, maxTime, selectedSeconds);
|
|
312
|
+
};
|
|
313
|
+
const isSecondDisabled = (second) => {
|
|
314
|
+
return !isTimeInRange(selectedHours, selectedMinutes, minTime, maxTime, second);
|
|
312
315
|
};
|
|
313
316
|
const handleInputClick = () => {
|
|
314
317
|
togglePanel();
|
|
@@ -391,7 +394,8 @@ function useTimePickerState(allProps) {
|
|
|
391
394
|
selectSecond,
|
|
392
395
|
selectPeriod,
|
|
393
396
|
isHourDisabled,
|
|
394
|
-
isMinuteDisabled
|
|
397
|
+
isMinuteDisabled,
|
|
398
|
+
isSecondDisabled
|
|
395
399
|
};
|
|
396
400
|
}
|
|
397
401
|
|
|
@@ -432,7 +436,7 @@ function renderTimePickerMobile(ctx) {
|
|
|
432
436
|
value: ctx.selectedSeconds,
|
|
433
437
|
"aria-label": ctx.labels.second,
|
|
434
438
|
onChange: (event) => ctx.selectSecond(Number(event.target.value)),
|
|
435
|
-
children: ctx.secondsList.map((second) => /* @__PURE__ */ jsx("option", { value: second, children: padTwo(second) }, second))
|
|
439
|
+
children: ctx.secondsList.map((second) => /* @__PURE__ */ jsx("option", { value: second, disabled: ctx.isSecondDisabled(second), children: padTwo(second) }, second))
|
|
436
440
|
}
|
|
437
441
|
),
|
|
438
442
|
ctx.format === "12" && /* @__PURE__ */ jsxs(
|
|
@@ -523,11 +527,13 @@ function renderTimePickerDesktop(ctx) {
|
|
|
523
527
|
/* @__PURE__ */ jsx2("div", { className: timePickerColumnHeaderClasses, children: ctx.labels.second }),
|
|
524
528
|
/* @__PURE__ */ jsx2("div", { className: timePickerColumnListClasses, children: ctx.secondsList.map((second) => {
|
|
525
529
|
const isSelected = ctx.selectedSeconds === second;
|
|
530
|
+
const isDisabled = ctx.isSecondDisabled(second);
|
|
526
531
|
return /* @__PURE__ */ jsx2(
|
|
527
532
|
"button",
|
|
528
533
|
{
|
|
529
534
|
type: "button",
|
|
530
|
-
className: getTimePickerItemClasses(isSelected,
|
|
535
|
+
className: getTimePickerItemClasses(isSelected, isDisabled),
|
|
536
|
+
disabled: isDisabled,
|
|
531
537
|
onClick: () => ctx.selectSecond(second),
|
|
532
538
|
"data-tiger-timepicker-unit": "second",
|
|
533
539
|
"aria-label": getTimePickerOptionAriaLabel(
|
|
@@ -25,9 +25,17 @@ import {
|
|
|
25
25
|
normalizeStringOption,
|
|
26
26
|
createInstanceCounter
|
|
27
27
|
} from "@expcat/tigercat-core";
|
|
28
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
29
29
|
var MESSAGE_CONTAINER_ID = "tiger-message-container";
|
|
30
30
|
var MESSAGE_CLOSE_ARIA_LABEL = "Close message";
|
|
31
|
+
var MESSAGE_POSITIONS = [
|
|
32
|
+
"top",
|
|
33
|
+
"top-left",
|
|
34
|
+
"top-right",
|
|
35
|
+
"bottom",
|
|
36
|
+
"bottom-left",
|
|
37
|
+
"bottom-right"
|
|
38
|
+
];
|
|
31
39
|
var messageInstances = [];
|
|
32
40
|
var containerRoot = null;
|
|
33
41
|
var updateCallback = null;
|
|
@@ -91,17 +99,12 @@ var MessageItem = ({ message, onClose }) => {
|
|
|
91
99
|
}
|
|
92
100
|
);
|
|
93
101
|
};
|
|
94
|
-
var MessageContainer = ({
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
setMessages([...messageInstances]);
|
|
99
|
-
};
|
|
100
|
-
return () => {
|
|
101
|
-
updateCallback = null;
|
|
102
|
-
};
|
|
103
|
-
}, []);
|
|
102
|
+
var MessageContainer = ({
|
|
103
|
+
position = "top",
|
|
104
|
+
messages = messageInstances.filter((message) => message.position === position)
|
|
105
|
+
}) => {
|
|
104
106
|
const containerClasses = classNames(messageContainerBaseClasses, messagePositionClasses[position]);
|
|
107
|
+
const containerId = position === "top" ? MESSAGE_CONTAINER_ID : `${MESSAGE_CONTAINER_ID}-${position}`;
|
|
105
108
|
const handleRemove = useCallback((id) => {
|
|
106
109
|
removeMessage(id);
|
|
107
110
|
}, []);
|
|
@@ -109,14 +112,31 @@ var MessageContainer = ({ position = "top" }) => {
|
|
|
109
112
|
"div",
|
|
110
113
|
{
|
|
111
114
|
className: containerClasses,
|
|
112
|
-
id:
|
|
115
|
+
id: containerId,
|
|
113
116
|
"aria-live": "polite",
|
|
114
117
|
"aria-relevant": "additions",
|
|
118
|
+
"data-tiger-message-position": position,
|
|
115
119
|
"data-tiger-message-container": true,
|
|
116
120
|
children: messages.map((message) => /* @__PURE__ */ jsx(MessageItem, { message, onClose: handleRemove }, message.id))
|
|
117
121
|
}
|
|
118
122
|
);
|
|
119
123
|
};
|
|
124
|
+
var MessageHost = () => {
|
|
125
|
+
const [messages, setMessages] = useState(() => [...messageInstances]);
|
|
126
|
+
useEffect(() => {
|
|
127
|
+
updateCallback = () => {
|
|
128
|
+
setMessages([...messageInstances]);
|
|
129
|
+
};
|
|
130
|
+
return () => {
|
|
131
|
+
updateCallback = null;
|
|
132
|
+
};
|
|
133
|
+
}, []);
|
|
134
|
+
return /* @__PURE__ */ jsx(Fragment, { children: MESSAGE_POSITIONS.map((position) => {
|
|
135
|
+
const positionedMessages = messages.filter((message) => message.position === position);
|
|
136
|
+
if (positionedMessages.length === 0) return null;
|
|
137
|
+
return /* @__PURE__ */ jsx(MessageContainer, { position, messages: positionedMessages }, position);
|
|
138
|
+
}) });
|
|
139
|
+
};
|
|
120
140
|
function ensureContainer() {
|
|
121
141
|
if (!isBrowser()) {
|
|
122
142
|
return;
|
|
@@ -138,7 +158,7 @@ function ensureContainer() {
|
|
|
138
158
|
}
|
|
139
159
|
containerRoot = createRoot(rootEl);
|
|
140
160
|
flushSync(() => {
|
|
141
|
-
containerRoot?.render(/* @__PURE__ */ jsx(
|
|
161
|
+
containerRoot?.render(/* @__PURE__ */ jsx(MessageHost, {}));
|
|
142
162
|
});
|
|
143
163
|
}
|
|
144
164
|
function addMessage(config) {
|
|
@@ -151,7 +171,8 @@ function addMessage(config) {
|
|
|
151
171
|
closable: config.closable || false,
|
|
152
172
|
onClose: config.onClose,
|
|
153
173
|
icon: config.icon,
|
|
154
|
-
className: config.className
|
|
174
|
+
className: config.className,
|
|
175
|
+
position: config.position ?? "top"
|
|
155
176
|
};
|
|
156
177
|
messageInstances.push(instance);
|
|
157
178
|
const rootId = `${MESSAGE_CONTAINER_ID}-root`;
|