@expcat/tigercat-vue 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-EIH6ABOR.js → chunk-2FYVPPTD.js} +44 -15
- package/dist/{chunk-KY6AJRGT.mjs → chunk-2HRJGOAV.mjs} +4 -4
- package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-NCT5FXQB.js → chunk-2RCBEBBR.js} +6 -3
- package/dist/{chunk-6K4UE5MK.mjs → chunk-2YPPXZ4I.mjs} +59 -5
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-L6ZD3ZCO.mjs → chunk-4QCJUILG.mjs} +1 -1
- package/dist/{chunk-NWS45JQP.mjs → chunk-4RK5BDGR.mjs} +58 -10
- package/dist/{chunk-RKZN3URO.js → chunk-55BSMMUN.js} +27 -6
- package/dist/{chunk-NHBN6VAY.mjs → chunk-57VPT3MN.mjs} +2 -2
- package/dist/{chunk-7VSNXYFM.mjs → chunk-5CHHWMES.mjs} +27 -9
- package/dist/chunk-5FTM7R3P.js +142 -0
- package/dist/{chunk-CGZPOI6H.js → chunk-5PVDNJA5.js} +12 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
- package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
- package/dist/{chunk-BYX756N5.mjs → chunk-6FV2OMB7.mjs} +22 -7
- package/dist/{chunk-VN4SKDFO.mjs → chunk-6G5FEZLT.mjs} +2 -12
- package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
- package/dist/{chunk-OTNVA2UT.js → chunk-7J7JIIHX.js} +28 -10
- package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-Z6MMA7ZE.js → chunk-7RMBEWN2.js} +2 -2
- package/dist/{chunk-SYTYUC67.js → chunk-AF7JZUTA.js} +2 -2
- package/dist/{chunk-3UQECWNL.mjs → chunk-ALFEFDVG.mjs} +103 -12
- package/dist/{chunk-E6RGBYI3.mjs → chunk-ALIUAGJO.mjs} +7 -0
- package/dist/{chunk-WUEP3PFN.js → chunk-ANQRW442.js} +31 -8
- package/dist/{chunk-X5CFXNVK.js → chunk-APBWQGXW.js} +14 -10
- package/dist/{chunk-IZF4VHJ2.mjs → chunk-ASOJXXU6.mjs} +2 -2
- package/dist/{chunk-6FXYRDYH.js → chunk-AWXSJNNP.js} +22 -2
- package/dist/{chunk-ZOUJFFG4.js → chunk-AYQER5UD.js} +17 -14
- package/dist/{chunk-GRP54POG.mjs → chunk-BJV62I73.mjs} +5 -5
- package/dist/{chunk-PGOTPYRG.js → chunk-BNUR72YP.js} +1 -0
- package/dist/{chunk-W5DLRGQL.js → chunk-BPJOIFND.js} +28 -19
- package/dist/{chunk-OKR3GRG5.mjs → chunk-BRGQXIKA.mjs} +58 -10
- package/dist/{chunk-QYSFZA5V.js → chunk-BV6XWFRF.js} +14 -7
- package/dist/{chunk-ODQOYMUQ.js → chunk-BYNTPLGC.js} +8 -1
- package/dist/{chunk-SVWZOIBI.js → chunk-BZ56UKUK.js} +4 -4
- package/dist/{chunk-6NJXI66G.mjs → chunk-CF4GX6BD.mjs} +36 -4
- package/dist/{chunk-RLPSCEBP.js → chunk-CFJST2X2.js} +98 -26
- package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
- package/dist/{chunk-DSNPEWYP.mjs → chunk-CIDINFA2.mjs} +31 -3
- package/dist/{chunk-WZRC7PJH.mjs → chunk-CVFXUYH2.mjs} +38 -5
- package/dist/{chunk-QKP5C26H.mjs → chunk-CW5TEG7N.mjs} +2 -2
- package/dist/{chunk-OUBJHKWX.js → chunk-D43IFX7J.js} +1 -4
- package/dist/{chunk-TXQEHRQB.js → chunk-D6Y3KVJF.js} +5 -1
- package/dist/{chunk-MOLGN476.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-62ZSNASF.mjs → chunk-E7NE5HEC.mjs} +140 -7
- package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
- package/dist/{chunk-RHLP2ED5.mjs → chunk-EVIZXEB2.mjs} +15 -8
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-PPEAQDD5.mjs → chunk-FAQL7HFW.mjs} +8 -0
- package/dist/{chunk-PTAWLJCV.mjs → chunk-FT2HWF7P.mjs} +1 -1
- package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
- package/dist/{chunk-WGRNO4PB.js → chunk-GBYNY77G.js} +3 -3
- package/dist/{chunk-NTZ7LQTY.js → chunk-GJ5HJOQP.js} +61 -32
- package/dist/{chunk-QZQYKC2N.js → chunk-GV3LRZSR.js} +35 -9
- package/dist/{chunk-W6ZFHHD3.mjs → chunk-GZWZP5AL.mjs} +9 -2
- package/dist/{chunk-BYNMOQBB.js → chunk-H2XEJHGR.js} +23 -9
- package/dist/{chunk-FMH4CLSA.mjs → chunk-H6FZBFRT.mjs} +27 -6
- package/dist/{chunk-FUI6WG2F.js → chunk-H7GAWNOW.js} +35 -5
- package/dist/{chunk-HMYVPBWI.js → chunk-HI45DI7S.js} +2 -2
- package/dist/{chunk-HKRMZODL.mjs → chunk-HIXWZVE5.mjs} +14 -10
- package/dist/{chunk-VVS2CQS4.mjs → chunk-HLPSHCXO.mjs} +8 -3
- package/dist/{chunk-PENI3H3I.mjs → chunk-HS4YQGZQ.mjs} +45 -11
- package/dist/{chunk-6Y4NWO4I.mjs → chunk-HWL36OCD.mjs} +7 -4
- package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
- package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
- package/dist/{chunk-HZBE2RY4.js → chunk-J77GQQEC.js} +31 -3
- package/dist/{chunk-TUSWQVI2.mjs → chunk-JCGWN7WV.mjs} +1 -0
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
- package/dist/{chunk-WYVA3JBH.js → chunk-JICPYKCT.js} +103 -12
- package/dist/{chunk-2MLORMN2.js → chunk-JMRR4KDB.js} +2 -2
- package/dist/{chunk-KDA4XDXT.js → chunk-K2NJI5MW.js} +2 -2
- package/dist/{chunk-ACYYQJ6M.js → chunk-KLOUOXNA.js} +8 -3
- package/dist/{chunk-G6ULKE6H.mjs → chunk-KRWKO2JQ.mjs} +17 -3
- package/dist/{chunk-PJ66WE62.js → chunk-KTNT2JHB.js} +143 -10
- package/dist/{chunk-KH2CF6JU.mjs → chunk-LGDJDBE3.mjs} +90 -35
- package/dist/{chunk-IKEZDGRO.mjs → chunk-LHZ5MRFQ.mjs} +2 -2
- package/dist/{chunk-5F6P5Y4K.js → chunk-LKRT27JW.js} +45 -11
- package/dist/{chunk-FP7SBCPO.js → chunk-LODEICSN.js} +4 -4
- package/dist/{chunk-DOBGVCZJ.mjs → chunk-LOX2KCML.mjs} +7 -6
- package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
- package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
- package/dist/{chunk-M2ECZQ2D.mjs → chunk-MF7BKYGN.mjs} +27 -18
- package/dist/chunk-MNVMGJUF.js +341 -0
- package/dist/{chunk-LYF6AAQ7.js → chunk-MPVL53GP.js} +59 -5
- package/dist/{chunk-BHNBLQ5S.mjs → chunk-N2QGYEOQ.mjs} +17 -19
- package/dist/{chunk-SGXLMKMO.js → chunk-NQYE64IF.js} +15 -8
- package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
- package/dist/{chunk-DUMPRNDR.js → chunk-OQBWITHA.js} +17 -19
- package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
- package/dist/{chunk-RKL4Y7CW.mjs → chunk-OSPHI5TV.mjs} +110 -3
- package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-LG55VN6B.js → chunk-PFZFPN7M.js} +7 -7
- package/dist/{chunk-SJIW7SNA.js → chunk-PH6ERFC7.js} +22 -7
- package/dist/{chunk-Y3BQSELH.mjs → chunk-PJX2DHO5.mjs} +2 -2
- package/dist/{chunk-HVVPFQW2.mjs → chunk-PLUABMUD.mjs} +16 -2
- package/dist/{chunk-RFFPMC22.mjs → chunk-PMN2MQ26.mjs} +1 -1
- package/dist/{chunk-QAMXVTNN.mjs → chunk-QH3YF5B6.mjs} +95 -23
- package/dist/{chunk-FGM7KB2Q.js → chunk-QKJATAJP.js} +113 -6
- package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
- package/dist/{chunk-DOJPPVAN.mjs → chunk-RTZUIWCN.mjs} +5 -1
- package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
- package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
- package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
- package/dist/{chunk-GY75BFAV.js → chunk-SOSHYDIX.js} +9 -9
- package/dist/{chunk-KN64NDJS.js → chunk-TCB3WFYM.js} +12 -11
- package/dist/{chunk-A6T2IHFC.mjs → chunk-TM73IWEY.mjs} +51 -11
- package/dist/{chunk-24CBIC75.js → chunk-TNKULOHK.js} +8 -0
- package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
- package/dist/{chunk-RPWKAGN5.mjs → chunk-TRN5PL5D.mjs} +2 -2
- package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
- package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
- package/dist/{chunk-NEVDRG6C.js → chunk-U5TSCS34.js} +5 -15
- package/dist/{chunk-SLYUQ67P.js → chunk-UKR3IJF3.js} +3 -1
- package/dist/{chunk-M5PGWW25.mjs → chunk-UTGFGMZT.mjs} +33 -3
- package/dist/chunk-V5ANPH5R.mjs +341 -0
- package/dist/{chunk-AZ6SASY5.mjs → chunk-V5ZEPAWV.mjs} +44 -15
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-RUXIQ5EP.js → chunk-VDKUKZS2.js} +110 -55
- package/dist/{chunk-ZQD2MCNX.mjs → chunk-VJJ7RAC6.mjs} +34 -8
- package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
- package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
- package/dist/{chunk-NHNJUBYZ.js → chunk-VXRFE72I.js} +38 -5
- package/dist/{chunk-OOS3QQFK.mjs → chunk-VYBRLIKF.mjs} +64 -35
- package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
- package/dist/{chunk-E363N2BJ.mjs → chunk-WBT3WSRE.mjs} +1 -4
- package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-J6YCXMVY.mjs → chunk-WSUCJHJX.mjs} +1 -1
- package/dist/{chunk-KY3O3FWK.mjs → chunk-WWB7VKKH.mjs} +24 -11
- package/dist/{chunk-GQAVLQEZ.mjs → chunk-X43QLJ5E.mjs} +1 -1
- package/dist/{chunk-ULUH6UNV.js → chunk-X73BZFBH.js} +4 -4
- package/dist/{chunk-KA7DILCI.js → chunk-X7PQRYUS.js} +61 -13
- package/dist/chunk-XFNHZ7SV.mjs +142 -0
- package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
- package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/{chunk-T5N2UHVP.js → chunk-YI25YL5W.js} +2 -2
- package/dist/{chunk-TAAHD4R7.js → chunk-YLMQZR6F.js} +36 -4
- package/dist/{chunk-WNYWWGNM.js → chunk-YMUYN4IR.js} +51 -11
- package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
- package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
- package/dist/{chunk-VPHM5WEL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/components/ActivityFeed.js +6 -6
- package/dist/components/ActivityFeed.mjs +5 -5
- package/dist/components/Anchor.js +2 -2
- package/dist/components/Anchor.mjs +1 -1
- package/dist/components/AnchorLink.js +3 -3
- package/dist/components/AnchorLink.mjs +1 -1
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +2 -2
- package/dist/components/AutoComplete.d.ts +2 -2
- package/dist/components/AutoComplete.js +2 -2
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Avatar.mjs +2 -2
- package/dist/components/AvatarGroup.js +2 -2
- package/dist/components/AvatarGroup.mjs +1 -1
- package/dist/components/BackTop.d.mts +2 -2
- package/dist/components/BackTop.d.ts +2 -2
- package/dist/components/BackTop.js +2 -2
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/Badge.d.mts +10 -1
- package/dist/components/Badge.d.ts +10 -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.js +2 -2
- package/dist/components/Breadcrumb.mjs +1 -1
- package/dist/components/BreadcrumbItem.js +3 -3
- package/dist/components/BreadcrumbItem.mjs +1 -1
- package/dist/components/Calendar.d.mts +16 -6
- package/dist/components/Calendar.d.ts +16 -6
- 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/ChartLegend.js +2 -2
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChartTooltip.js +2 -2
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +7 -7
- package/dist/components/ChatWindow.d.ts +7 -7
- package/dist/components/ChatWindow.js +10 -8
- package/dist/components/ChatWindow.mjs +9 -7
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ColorSwatch.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +5 -1
- package/dist/components/CommentThread.d.ts +5 -1
- package/dist/components/CommentThread.js +8 -6
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CronEditor.d.mts +1 -1
- package/dist/components/CronEditor.d.ts +1 -1
- package/dist/components/CropUpload.d.mts +13 -3
- package/dist/components/CropUpload.d.ts +13 -3
- package/dist/components/CropUpload.js +3 -3
- package/dist/components/CropUpload.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +223 -1
- package/dist/components/DataTableWithToolbar.d.ts +223 -1
- package/dist/components/DataTableWithToolbar.js +7 -6
- package/dist/components/DataTableWithToolbar.mjs +6 -5
- package/dist/components/DatePicker.d.mts +6 -1
- package/dist/components/DatePicker.d.ts +6 -1
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/DonutChart.d.mts +9 -0
- package/dist/components/DonutChart.d.ts +9 -0
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/DropdownItem.js +3 -3
- package/dist/components/DropdownItem.mjs +2 -2
- package/dist/components/DropdownMenu.js +3 -3
- package/dist/components/DropdownMenu.mjs +1 -1
- package/dist/components/Empty.d.mts +11 -1
- package/dist/components/Empty.d.ts +11 -1
- package/dist/components/Empty.js +3 -2
- package/dist/components/Empty.mjs +2 -1
- package/dist/components/FileManager.d.mts +19 -19
- package/dist/components/FileManager.d.ts +19 -19
- package/dist/components/FileManager.js +2 -2
- package/dist/components/FileManager.mjs +1 -1
- package/dist/components/FloatButton.d.mts +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- 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/Gantt.d.mts +1 -1
- package/dist/components/Gantt.d.ts +1 -1
- package/dist/components/GaugeChart.d.mts +15 -0
- package/dist/components/GaugeChart.d.ts +15 -0
- 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/Icon.d.mts +1 -1
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/Image.js +4 -3
- package/dist/components/Image.mjs +3 -2
- package/dist/components/ImageAnnotation.d.mts +11 -1
- package/dist/components/ImageAnnotation.d.ts +11 -1
- package/dist/components/ImageAnnotation.js +3 -2
- package/dist/components/ImageAnnotation.mjs +2 -1
- package/dist/components/ImageCropper.d.mts +11 -0
- package/dist/components/ImageCropper.d.ts +11 -0
- 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.d.mts +11 -0
- package/dist/components/ImagePreview.d.ts +11 -0
- package/dist/components/ImagePreview.js +3 -2
- package/dist/components/ImagePreview.mjs +2 -1
- package/dist/components/ImageViewer.d.mts +1 -0
- package/dist/components/ImageViewer.d.ts +1 -0
- package/dist/components/ImageViewer.js +2 -2
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/InfiniteScroll.js +2 -2
- package/dist/components/InfiniteScroll.mjs +1 -1
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputNumber.d.mts +21 -1
- package/dist/components/InputNumber.d.ts +21 -1
- package/dist/components/InputNumber.js +3 -2
- package/dist/components/InputNumber.mjs +2 -1
- package/dist/components/Kanban.d.mts +21 -1
- package/dist/components/Kanban.d.ts +21 -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.js +3 -3
- package/dist/components/List.mjs +2 -2
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Message.d.mts +11 -1
- package/dist/components/Message.d.ts +11 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/NotificationCenter.js +5 -5
- package/dist/components/NotificationCenter.mjs +4 -4
- package/dist/components/NumberKeyboard.d.mts +2 -2
- package/dist/components/NumberKeyboard.d.ts +2 -2
- package/dist/components/OrgChart.d.mts +1 -1
- package/dist/components/OrgChart.d.ts +1 -1
- package/dist/components/PieChart.d.mts +9 -0
- package/dist/components/PieChart.d.ts +9 -0
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Progress.d.mts +1 -1
- package/dist/components/Progress.d.ts +1 -1
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/QRCode.js +2 -2
- package/dist/components/QRCode.mjs +1 -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.d.mts +1 -1
- package/dist/components/Result.d.ts +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/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.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/Signature.d.mts +1 -1
- package/dist/components/Signature.d.ts +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +3 -3
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SunburstChart.js +4 -4
- package/dist/components/SunburstChart.mjs +3 -3
- package/dist/components/TabPane.js +3 -3
- package/dist/components/TabPane.mjs +1 -1
- package/dist/components/Table.js +4 -4
- package/dist/components/Table.mjs +3 -3
- package/dist/components/Tabs.d.mts +2 -0
- package/dist/components/Tabs.d.ts +2 -0
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +13 -3
- package/dist/components/Tag.d.ts +13 -3
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +21 -1
- package/dist/components/TaskBoard.d.ts +21 -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.js +2 -2
- package/dist/components/Timeline.mjs +1 -1
- package/dist/components/Tour.d.mts +1 -3
- package/dist/components/Tour.d.ts +1 -3
- package/dist/components/Tour.js +3 -2
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +19 -2
- package/dist/components/Transfer.d.ts +19 -2
- package/dist/components/Transfer.js +2 -2
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- 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.d.mts +1 -1
- package/dist/components/Upload.d.ts +1 -1
- package/dist/components/Upload.js +2 -2
- package/dist/components/Upload.mjs +1 -1
- package/dist/components/VirtualList.d.mts +11 -0
- package/dist/components/VirtualList.d.ts +11 -0
- package/dist/components/VirtualList.js +2 -2
- package/dist/components/VirtualList.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +30 -0
- package/dist/components/VirtualTable.d.ts +30 -0
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.d.mts +134 -134
- package/dist/index.d.ts +134 -134
- package/dist/index.js +80 -80
- package/dist/index.mjs +79 -79
- package/package.json +6 -6
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
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
|
var _chunkSJSZHQWXjs = require('./chunk-SJSZHQWX.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkANQRW442js = require('./chunk-ANQRW442.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
13
|
+
|
|
11
14
|
// src/components/CropUpload.ts
|
|
12
15
|
var _vue = require('vue');
|
|
13
16
|
|
|
@@ -22,11 +25,17 @@ var _vue = require('vue');
|
|
|
22
25
|
|
|
23
26
|
|
|
24
27
|
|
|
28
|
+
|
|
29
|
+
|
|
25
30
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
26
31
|
var CropUpload = _vue.defineComponent.call(void 0, {
|
|
27
32
|
name: "TigerCropUpload",
|
|
28
33
|
inheritAttrs: false,
|
|
29
34
|
props: {
|
|
35
|
+
locale: {
|
|
36
|
+
type: Object,
|
|
37
|
+
default: void 0
|
|
38
|
+
},
|
|
30
39
|
accept: { type: String, default: "image/*" },
|
|
31
40
|
disabled: { type: Boolean, default: false },
|
|
32
41
|
maxSize: { type: Number, default: void 0 },
|
|
@@ -34,7 +43,7 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
34
43
|
type: Object,
|
|
35
44
|
default: void 0
|
|
36
45
|
},
|
|
37
|
-
modalTitle: { type: String, default:
|
|
46
|
+
modalTitle: { type: String, default: void 0 },
|
|
38
47
|
modalWidth: { type: Number, default: 520 },
|
|
39
48
|
className: { type: String, default: void 0 },
|
|
40
49
|
style: {
|
|
@@ -44,6 +53,9 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
44
53
|
},
|
|
45
54
|
emits: ["crop-complete", "error"],
|
|
46
55
|
setup(props, { slots, emit, attrs }) {
|
|
56
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
57
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
58
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getImageEditorLabels.call(void 0, mergedLocale.value));
|
|
47
59
|
const fileInputRef = _vue.ref.call(void 0, null);
|
|
48
60
|
const modalVisible = _vue.ref.call(void 0, false);
|
|
49
61
|
const imageSrc = _vue.ref.call(void 0, "");
|
|
@@ -120,7 +132,7 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
120
132
|
onClick: handleTriggerClick,
|
|
121
133
|
role: "button",
|
|
122
134
|
tabindex: props.disabled ? -1 : 0,
|
|
123
|
-
"aria-label":
|
|
135
|
+
"aria-label": labels.value.selectImageAriaLabel,
|
|
124
136
|
"aria-disabled": props.disabled ? "true" : void 0,
|
|
125
137
|
onKeydown: (e) => {
|
|
126
138
|
if (_tigercatcore.isActivationKey.call(void 0, e)) {
|
|
@@ -139,7 +151,7 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
139
151
|
onClick: handleTriggerClick,
|
|
140
152
|
role: "button",
|
|
141
153
|
tabindex: props.disabled ? -1 : 0,
|
|
142
|
-
"aria-label":
|
|
154
|
+
"aria-label": labels.value.selectImageAriaLabel,
|
|
143
155
|
"aria-disabled": props.disabled ? "true" : void 0,
|
|
144
156
|
onKeydown: (e) => {
|
|
145
157
|
if (_tigercatcore.isActivationKey.call(void 0, e)) {
|
|
@@ -167,7 +179,7 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
167
179
|
})
|
|
168
180
|
]
|
|
169
181
|
),
|
|
170
|
-
_vue.h.call(void 0, "span", null,
|
|
182
|
+
_vue.h.call(void 0, "span", null, labels.value.selectImageText)
|
|
171
183
|
]
|
|
172
184
|
);
|
|
173
185
|
const modal = _vue.h.call(void 0,
|
|
@@ -175,7 +187,8 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
175
187
|
{
|
|
176
188
|
open: modalVisible.value,
|
|
177
189
|
size: "lg",
|
|
178
|
-
|
|
190
|
+
width: props.modalWidth,
|
|
191
|
+
title: _nullishCoalesce(props.modalTitle, () => ( labels.value.cropModalTitle)),
|
|
179
192
|
closable: true,
|
|
180
193
|
maskClosable: false,
|
|
181
194
|
showDefaultFooter: false,
|
|
@@ -185,17 +198,22 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
185
198
|
}
|
|
186
199
|
},
|
|
187
200
|
{
|
|
188
|
-
default: () => imageSrc.value ? _vue.h.call(void 0,
|
|
201
|
+
default: () => imageSrc.value ? _vue.h.call(void 0, _chunkANQRW442js.ImageCropper, {
|
|
189
202
|
ref: cropperRef,
|
|
190
203
|
src: imageSrc.value,
|
|
204
|
+
locale: props.locale,
|
|
191
205
|
...props.cropperProps
|
|
192
206
|
}) : null,
|
|
193
207
|
footer: ({ cancel: _cancel }) => _vue.h.call(void 0, "div", { class: _tigercatcore.modalFooterClasses }, [
|
|
194
|
-
_vue.h.call(void 0,
|
|
208
|
+
_vue.h.call(void 0,
|
|
209
|
+
_chunkHA5QZ76Mjs.Button,
|
|
210
|
+
{ variant: "secondary", onClick: handleCancel },
|
|
211
|
+
{ default: () => labels.value.cropCancelText }
|
|
212
|
+
),
|
|
195
213
|
_vue.h.call(void 0,
|
|
196
214
|
_chunkHA5QZ76Mjs.Button,
|
|
197
215
|
{ onClick: handleConfirm, loading: cropping.value },
|
|
198
|
-
{ default: () =>
|
|
216
|
+
{ default: () => labels.value.cropConfirmText }
|
|
199
217
|
)
|
|
200
218
|
])
|
|
201
219
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunk2VOZFFW6js = require('./chunk-2VOZFFW6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkKLOUOXNAjs = require('./chunk-KLOUOXNA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkHBFFINAIjs = require('./chunk-HBFFINAI.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkAYQER5UDjs = require('./chunk-AYQER5UD.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunk5PXTMXXSjs = require('./chunk-5PXTMXXS.js');
|
|
@@ -330,7 +330,7 @@ var ScatterChart = _vue.defineComponent.call(void 0, {
|
|
|
330
330
|
].filter(Boolean)
|
|
331
331
|
}
|
|
332
332
|
);
|
|
333
|
-
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0,
|
|
333
|
+
const tooltip = props.showTooltip && props.hoverable ? _vue.h.call(void 0, _chunkAYQER5UDjs.ChartTooltip, {
|
|
334
334
|
content: tooltipContent.value,
|
|
335
335
|
visible: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
|
|
336
336
|
x: tooltipPosition.value.x,
|
|
@@ -341,7 +341,7 @@ var ScatterChart = _vue.defineComponent.call(void 0, {
|
|
|
341
341
|
}
|
|
342
342
|
return _vue.h.call(void 0, "div", { class: wrapperClasses.value }, [
|
|
343
343
|
chart,
|
|
344
|
-
_vue.h.call(void 0,
|
|
344
|
+
_vue.h.call(void 0, _chunkKLOUOXNAjs.ChartLegend, {
|
|
345
345
|
items: legendItems.value,
|
|
346
346
|
position: props.legendPosition,
|
|
347
347
|
markerSize: props.legendMarkerSize,
|
|
@@ -57,6 +57,34 @@ var Rate = defineComponent({
|
|
|
57
57
|
hoverValue.value = 0;
|
|
58
58
|
emit("hover-change", 0);
|
|
59
59
|
}
|
|
60
|
+
function handleKeydown(e) {
|
|
61
|
+
if (props.disabled) return;
|
|
62
|
+
const step = props.allowHalf ? 0.5 : 1;
|
|
63
|
+
let next = props.modelValue;
|
|
64
|
+
switch (e.key) {
|
|
65
|
+
case "ArrowRight":
|
|
66
|
+
case "ArrowUp":
|
|
67
|
+
next = Math.min(props.count, props.modelValue + step);
|
|
68
|
+
break;
|
|
69
|
+
case "ArrowLeft":
|
|
70
|
+
case "ArrowDown":
|
|
71
|
+
next = Math.max(0, props.modelValue - step);
|
|
72
|
+
break;
|
|
73
|
+
case "Home":
|
|
74
|
+
next = 0;
|
|
75
|
+
break;
|
|
76
|
+
case "End":
|
|
77
|
+
next = props.count;
|
|
78
|
+
break;
|
|
79
|
+
default:
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
e.preventDefault();
|
|
83
|
+
if (next !== props.modelValue) {
|
|
84
|
+
emit("update:modelValue", next);
|
|
85
|
+
emit("change", next);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
60
88
|
return () => {
|
|
61
89
|
const isChar = !!props.character;
|
|
62
90
|
const stars = [];
|
|
@@ -116,9 +144,7 @@ var Rate = defineComponent({
|
|
|
116
144
|
{
|
|
117
145
|
key: i,
|
|
118
146
|
class: getRateStarClasses(props.size, isChar, props.disabled),
|
|
119
|
-
|
|
120
|
-
"aria-checked": full || half,
|
|
121
|
-
"aria-label": `${i + 1} star${i + 1 > 1 ? "s" : ""}`,
|
|
147
|
+
"aria-hidden": "true",
|
|
122
148
|
onClick: (e) => handleClick(i, e),
|
|
123
149
|
onMousemove: (e) => handleMouseMove(i, e),
|
|
124
150
|
onMouseleave: handleMouseLeave
|
|
@@ -127,12 +153,21 @@ var Rate = defineComponent({
|
|
|
127
153
|
)
|
|
128
154
|
);
|
|
129
155
|
}
|
|
156
|
+
const valueText = `${props.modelValue} star${props.modelValue === 1 ? "" : "s"}`;
|
|
130
157
|
return h(
|
|
131
158
|
"div",
|
|
132
159
|
{
|
|
133
160
|
class: classNames(rateBaseClasses, coerceClassValue(attrs.class)),
|
|
134
|
-
role: "
|
|
135
|
-
"aria-label": "Rating"
|
|
161
|
+
role: "slider",
|
|
162
|
+
"aria-label": "Rating",
|
|
163
|
+
"aria-valuemin": 0,
|
|
164
|
+
"aria-valuemax": props.count,
|
|
165
|
+
"aria-valuenow": props.modelValue,
|
|
166
|
+
"aria-valuetext": valueText,
|
|
167
|
+
"aria-disabled": props.disabled || void 0,
|
|
168
|
+
"aria-orientation": "horizontal",
|
|
169
|
+
tabindex: props.disabled ? -1 : 0,
|
|
170
|
+
onKeydown: handleKeydown
|
|
136
171
|
},
|
|
137
172
|
stars
|
|
138
173
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTNKULOHKjs = require('./chunk-TNKULOHK.js');
|
|
4
4
|
|
|
5
5
|
// src/components/FormItem.ts
|
|
6
6
|
|
|
@@ -99,7 +99,7 @@ var FormItem = _vue.defineComponent.call(void 0, {
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
setup(props, { slots }) {
|
|
102
|
-
const formContextRef = _vue.inject.call(void 0,
|
|
102
|
+
const formContextRef = _vue.inject.call(void 0, _chunkTNKULOHKjs.FormContextKey, null);
|
|
103
103
|
const formContext = _vue.computed.call(void 0, () => _nullishCoalesce(_optionalChain([formContextRef, 'optionalAccess', _ => _.value]), () => ( null)));
|
|
104
104
|
const errorMessage = _vue.ref.call(void 0, "");
|
|
105
105
|
const shakeTrigger = _vue.ref.call(void 0, 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLKRT27JWjs = require('./chunk-LKRT27JW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
@@ -728,7 +728,7 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
728
728
|
[
|
|
729
729
|
searchInput,
|
|
730
730
|
props.virtual ? _vue.h.call(void 0,
|
|
731
|
-
|
|
731
|
+
_chunkLKRT27JWjs.VirtualList,
|
|
732
732
|
{
|
|
733
733
|
itemCount: visibleItems.value.length,
|
|
734
734
|
itemHeight: props.itemHeight,
|
|
@@ -7,7 +7,9 @@ import { defineComponent, h, ref, computed } from "vue";
|
|
|
7
7
|
import {
|
|
8
8
|
classNames,
|
|
9
9
|
coerceClassValue,
|
|
10
|
+
isActivationKey,
|
|
10
11
|
calculateVirtualRange,
|
|
12
|
+
calculateVirtualColumnRange,
|
|
11
13
|
getVirtualTableContainerClasses,
|
|
12
14
|
getVirtualTableRowClasses,
|
|
13
15
|
getVirtualRowKey,
|
|
@@ -15,6 +17,8 @@ import {
|
|
|
15
17
|
getVirtualTableFixedCellStyle,
|
|
16
18
|
getTableFixedCellClasses,
|
|
17
19
|
getTableFixedHeaderCellClasses,
|
|
20
|
+
getTableColgroup,
|
|
21
|
+
tableBaseClasses,
|
|
18
22
|
virtualTableHeaderClasses,
|
|
19
23
|
virtualTableHeaderCellClasses,
|
|
20
24
|
virtualTableCellClasses,
|
|
@@ -24,6 +28,7 @@ import {
|
|
|
24
28
|
resolveLocaleText,
|
|
25
29
|
mergeTigerLocale
|
|
26
30
|
} from "@expcat/tigercat-core";
|
|
31
|
+
var DEFAULT_VIRTUAL_COLUMN_WIDTH = 150;
|
|
27
32
|
var VirtualTable = defineComponent({
|
|
28
33
|
name: "TigerVirtualTable",
|
|
29
34
|
inheritAttrs: false,
|
|
@@ -38,12 +43,18 @@ var VirtualTable = defineComponent({
|
|
|
38
43
|
},
|
|
39
44
|
rowHeight: { type: Number, default: 48 },
|
|
40
45
|
height: { type: Number, default: 400 },
|
|
46
|
+
width: { type: [Number, String], default: "auto" },
|
|
41
47
|
overscan: { type: Number, default: 5 },
|
|
42
48
|
stickyHeader: { type: Boolean, default: true },
|
|
49
|
+
virtualizeColumns: { type: Boolean, default: false },
|
|
43
50
|
rowKey: {
|
|
44
51
|
type: [String, Function],
|
|
45
52
|
default: void 0
|
|
46
53
|
},
|
|
54
|
+
rowClassName: {
|
|
55
|
+
type: [String, Function],
|
|
56
|
+
default: void 0
|
|
57
|
+
},
|
|
47
58
|
loading: { type: Boolean, default: false },
|
|
48
59
|
emptyText: { type: String, default: void 0 },
|
|
49
60
|
selectable: { type: Boolean, default: false },
|
|
@@ -62,6 +73,7 @@ var VirtualTable = defineComponent({
|
|
|
62
73
|
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
63
74
|
const containerRef = ref(null);
|
|
64
75
|
const scrollTop = ref(0);
|
|
76
|
+
const scrollLeft = ref(0);
|
|
65
77
|
const range = computed(
|
|
66
78
|
() => calculateVirtualRange(
|
|
67
79
|
scrollTop.value,
|
|
@@ -75,8 +87,15 @@ var VirtualTable = defineComponent({
|
|
|
75
87
|
function onScroll() {
|
|
76
88
|
if (containerRef.value) {
|
|
77
89
|
scrollTop.value = containerRef.value.scrollTop;
|
|
90
|
+
scrollLeft.value = containerRef.value.scrollLeft;
|
|
78
91
|
}
|
|
79
92
|
}
|
|
93
|
+
const columnWidths = computed(
|
|
94
|
+
() => props.columns.map(
|
|
95
|
+
(c) => typeof c.width === "number" ? c.width : DEFAULT_VIRTUAL_COLUMN_WIDTH
|
|
96
|
+
)
|
|
97
|
+
);
|
|
98
|
+
const resolveRowClassName = (row, index) => typeof props.rowClassName === "function" ? props.rowClassName(row, index) : props.rowClassName;
|
|
80
99
|
const containerClasses = computed(
|
|
81
100
|
() => classNames(
|
|
82
101
|
getVirtualTableContainerClasses(props.bordered, props.className),
|
|
@@ -87,7 +106,17 @@ var VirtualTable = defineComponent({
|
|
|
87
106
|
const fixedInfo = computed(() => getVirtualTableFixedInfo(props.columns));
|
|
88
107
|
return () => {
|
|
89
108
|
const fi = fixedInfo.value;
|
|
90
|
-
const
|
|
109
|
+
const colVirtualActive = props.virtualizeColumns && !fi.hasFixedColumns && props.width !== "auto";
|
|
110
|
+
const colRange = colVirtualActive ? calculateVirtualColumnRange(scrollLeft.value, props.width, columnWidths.value) : void 0;
|
|
111
|
+
const visibleColumns = colRange ? props.columns.slice(colRange.start, colRange.end) : props.columns;
|
|
112
|
+
const colIndexOffset = colRange ? colRange.start : 0;
|
|
113
|
+
const colgroupEntries = fi.hasFixedColumns ? getTableColgroup({
|
|
114
|
+
columns: visibleColumns,
|
|
115
|
+
size: "md",
|
|
116
|
+
hasSelectionColumn: false,
|
|
117
|
+
expand: false
|
|
118
|
+
}) : [];
|
|
119
|
+
const headerCells = visibleColumns.map((col) => {
|
|
91
120
|
const widthStyle = col.width ? { width: typeof col.width === "number" ? `${col.width}px` : col.width } : {};
|
|
92
121
|
const stickyStyle = getVirtualTableFixedCellStyle(col.key, fi);
|
|
93
122
|
return h(
|
|
@@ -108,7 +137,20 @@ var VirtualTable = defineComponent({
|
|
|
108
137
|
col.title ?? ""
|
|
109
138
|
);
|
|
110
139
|
});
|
|
111
|
-
const
|
|
140
|
+
const headerRowChildren = [
|
|
141
|
+
colRange && colRange.leftPad > 0 ? h("th", {
|
|
142
|
+
key: "__left-pad",
|
|
143
|
+
"aria-hidden": true,
|
|
144
|
+
style: { width: `${colRange.leftPad}px`, padding: 0 }
|
|
145
|
+
}) : null,
|
|
146
|
+
...headerCells,
|
|
147
|
+
colRange && colRange.rightPad > 0 ? h("th", {
|
|
148
|
+
key: "__right-pad",
|
|
149
|
+
"aria-hidden": true,
|
|
150
|
+
style: { width: `${colRange.rightPad}px`, padding: 0 }
|
|
151
|
+
}) : null
|
|
152
|
+
];
|
|
153
|
+
const headerRow = h("tr", {}, headerRowChildren);
|
|
112
154
|
const thead = h(
|
|
113
155
|
"thead",
|
|
114
156
|
{ class: props.stickyHeader ? virtualTableHeaderClasses : void 0 },
|
|
@@ -122,11 +164,17 @@ var VirtualTable = defineComponent({
|
|
|
122
164
|
props.rowKey
|
|
123
165
|
);
|
|
124
166
|
const isSelected = selectedSet.value.has(key);
|
|
125
|
-
const
|
|
126
|
-
|
|
167
|
+
const isInteractive = props.selectable || typeof attrs.onRowClick === "function";
|
|
168
|
+
const activate = () => {
|
|
169
|
+
emit("row-click", row, globalIdx);
|
|
170
|
+
if (props.selectable) emit("select", key, row, globalIdx);
|
|
171
|
+
};
|
|
172
|
+
const cells = visibleColumns.map(
|
|
173
|
+
(col, colIdx) => h(
|
|
127
174
|
"td",
|
|
128
175
|
{
|
|
129
176
|
key: col.key,
|
|
177
|
+
"aria-colindex": colIndexOffset + colIdx + 1,
|
|
130
178
|
class: classNames(
|
|
131
179
|
virtualTableCellClasses,
|
|
132
180
|
getTableFixedCellClasses({
|
|
@@ -147,17 +195,42 @@ var VirtualTable = defineComponent({
|
|
|
147
195
|
String(row[col.key] ?? "")
|
|
148
196
|
)
|
|
149
197
|
);
|
|
198
|
+
const rowChildren = [
|
|
199
|
+
colRange && colRange.leftPad > 0 ? h("td", {
|
|
200
|
+
key: "__left-pad",
|
|
201
|
+
"aria-hidden": true,
|
|
202
|
+
style: { width: `${colRange.leftPad}px`, padding: 0 }
|
|
203
|
+
}) : null,
|
|
204
|
+
...cells,
|
|
205
|
+
colRange && colRange.rightPad > 0 ? h("td", {
|
|
206
|
+
key: "__right-pad",
|
|
207
|
+
"aria-hidden": true,
|
|
208
|
+
style: { width: `${colRange.rightPad}px`, padding: 0 }
|
|
209
|
+
}) : null
|
|
210
|
+
];
|
|
150
211
|
return h(
|
|
151
212
|
"tr",
|
|
152
213
|
{
|
|
153
214
|
key,
|
|
154
|
-
class:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
215
|
+
class: classNames(
|
|
216
|
+
getVirtualTableRowClasses(globalIdx, props.striped, isSelected),
|
|
217
|
+
resolveRowClassName(row, globalIdx)
|
|
218
|
+
),
|
|
219
|
+
// header occupies aria-rowindex 1
|
|
220
|
+
"aria-rowindex": globalIdx + 2,
|
|
221
|
+
"aria-selected": props.selectable ? isSelected : void 0,
|
|
222
|
+
tabindex: isInteractive ? 0 : void 0,
|
|
223
|
+
// onClick stays attached so `row-click` always fires for consumers
|
|
224
|
+
// that listen for it; keyboard activation is added when interactive.
|
|
225
|
+
onClick: activate,
|
|
226
|
+
onKeydown: isInteractive ? (e) => {
|
|
227
|
+
if (isActivationKey(e)) {
|
|
228
|
+
e.preventDefault();
|
|
229
|
+
activate();
|
|
230
|
+
}
|
|
231
|
+
} : void 0
|
|
159
232
|
},
|
|
160
|
-
|
|
233
|
+
rowChildren
|
|
161
234
|
);
|
|
162
235
|
});
|
|
163
236
|
const topSpacer = h("tr", {
|
|
@@ -172,7 +245,22 @@ var VirtualTable = defineComponent({
|
|
|
172
245
|
"aria-hidden": true
|
|
173
246
|
}) : null;
|
|
174
247
|
const tbody = h("tbody", {}, [topSpacer, ...rows, bottomSpacer]);
|
|
175
|
-
const
|
|
248
|
+
const colgroup = colgroupEntries.length > 0 ? h(
|
|
249
|
+
"colgroup",
|
|
250
|
+
{},
|
|
251
|
+
colgroupEntries.map(
|
|
252
|
+
(entry) => h("col", {
|
|
253
|
+
key: entry.key,
|
|
254
|
+
"data-tiger-table-col": entry.key,
|
|
255
|
+
style: entry.width ? { width: entry.width } : void 0
|
|
256
|
+
})
|
|
257
|
+
)
|
|
258
|
+
) : null;
|
|
259
|
+
const table = h("table", { class: classNames(tableBaseClasses, "table-fixed") }, [
|
|
260
|
+
colgroup,
|
|
261
|
+
thead,
|
|
262
|
+
tbody
|
|
263
|
+
]);
|
|
176
264
|
const emptyEl = props.data.length === 0 && !props.loading ? h(
|
|
177
265
|
"div",
|
|
178
266
|
{ class: virtualTableEmptyClasses },
|
|
@@ -188,7 +276,10 @@ var VirtualTable = defineComponent({
|
|
|
188
276
|
{
|
|
189
277
|
ref: containerRef,
|
|
190
278
|
class: containerClasses.value,
|
|
191
|
-
style: {
|
|
279
|
+
style: {
|
|
280
|
+
height: `${props.height}px`,
|
|
281
|
+
...props.width !== "auto" ? { width: `${props.width}px` } : {}
|
|
282
|
+
},
|
|
192
283
|
onScroll,
|
|
193
284
|
role: "grid",
|
|
194
285
|
"aria-rowcount": props.data.length
|
|
@@ -60,6 +60,13 @@ var AnchorLink = defineComponent({
|
|
|
60
60
|
onMounted(() => {
|
|
61
61
|
anchorContext?.registerLink(props.href);
|
|
62
62
|
});
|
|
63
|
+
watch(
|
|
64
|
+
() => props.href,
|
|
65
|
+
(next, prev) => {
|
|
66
|
+
anchorContext?.unregisterLink(prev);
|
|
67
|
+
anchorContext?.registerLink(next);
|
|
68
|
+
}
|
|
69
|
+
);
|
|
63
70
|
onBeforeUnmount(() => {
|
|
64
71
|
anchorContext?.unregisterLink(props.href);
|
|
65
72
|
});
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
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
|
+
|
|
3
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
|
+
|
|
5
|
+
// src/components/ImageCropper.ts
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
2
14
|
var _vue = require('vue');
|
|
3
15
|
|
|
4
16
|
|
|
@@ -16,11 +28,17 @@ var _vue = require('vue');
|
|
|
16
28
|
|
|
17
29
|
|
|
18
30
|
|
|
31
|
+
|
|
32
|
+
|
|
19
33
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
20
34
|
var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
21
35
|
name: "TigerImageCropper",
|
|
22
36
|
inheritAttrs: false,
|
|
23
37
|
props: {
|
|
38
|
+
locale: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default: void 0
|
|
41
|
+
},
|
|
24
42
|
src: { type: String, required: true },
|
|
25
43
|
aspectRatio: { type: Number, default: void 0 },
|
|
26
44
|
minWidth: { type: Number, default: 20 },
|
|
@@ -39,6 +57,11 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
39
57
|
},
|
|
40
58
|
emits: ["crop-change", "ready"],
|
|
41
59
|
setup(props, { emit, attrs, expose }) {
|
|
60
|
+
const instance = _vue.getCurrentInstance.call(void 0, );
|
|
61
|
+
const maskId = `tiger-crop-mask-${_nullishCoalesce(_optionalChain([instance, 'optionalAccess', _ => _.uid]), () => ( "0"))}`;
|
|
62
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
63
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
64
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getImageEditorLabels.call(void 0, mergedLocale.value));
|
|
42
65
|
const containerRef = _vue.ref.call(void 0, null);
|
|
43
66
|
const imageRef = _vue.ref.call(void 0, null);
|
|
44
67
|
const imageLoaded = _vue.ref.call(void 0, false);
|
|
@@ -270,7 +293,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
270
293
|
minHeight: "200px"
|
|
271
294
|
}),
|
|
272
295
|
role: "img",
|
|
273
|
-
"aria-label":
|
|
296
|
+
"aria-label": labels.value.loadingCropImageAriaLabel
|
|
274
297
|
},
|
|
275
298
|
[
|
|
276
299
|
_vue.h.call(void 0, "div", {
|
|
@@ -288,7 +311,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
288
311
|
height: `${displayHeight.value}px`
|
|
289
312
|
},
|
|
290
313
|
draggable: false,
|
|
291
|
-
alt:
|
|
314
|
+
alt: labels.value.imageToCropAriaLabel
|
|
292
315
|
});
|
|
293
316
|
const mask = _vue.h.call(void 0,
|
|
294
317
|
"svg",
|
|
@@ -300,7 +323,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
300
323
|
},
|
|
301
324
|
[
|
|
302
325
|
_vue.h.call(void 0, "defs", null, [
|
|
303
|
-
_vue.h.call(void 0, "mask", { id:
|
|
326
|
+
_vue.h.call(void 0, "mask", { id: maskId }, [
|
|
304
327
|
_vue.h.call(void 0, "rect", {
|
|
305
328
|
width: displayWidth.value,
|
|
306
329
|
height: displayHeight.value,
|
|
@@ -319,7 +342,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
319
342
|
width: displayWidth.value,
|
|
320
343
|
height: displayHeight.value,
|
|
321
344
|
fill: "var(--tiger-image-cropper-mask, rgba(0,0,0,0.55))",
|
|
322
|
-
mask:
|
|
345
|
+
mask: `url(#${maskId})`
|
|
323
346
|
})
|
|
324
347
|
]
|
|
325
348
|
);
|
|
@@ -342,7 +365,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
342
365
|
},
|
|
343
366
|
role: "button",
|
|
344
367
|
tabindex: 0,
|
|
345
|
-
"aria-label":
|
|
368
|
+
"aria-label": labels.value.moveCropAreaAriaLabel,
|
|
346
369
|
onMousedown: (e) => handleMouseDown(e, "move"),
|
|
347
370
|
onTouchstart: (e) => handleTouchStart(e, "move"),
|
|
348
371
|
onKeydown: handleMoveKeyDown
|
|
@@ -412,7 +435,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
412
435
|
style: pos,
|
|
413
436
|
role: "button",
|
|
414
437
|
tabindex: 0,
|
|
415
|
-
"aria-label":
|
|
438
|
+
"aria-label": labels.value.resizeCropAreaAriaLabel.replace("{handle}", handle),
|
|
416
439
|
onMousedown: (e) => handleMouseDown(e, "resize", handle),
|
|
417
440
|
onTouchstart: (e) => handleTouchStart(e, "resize", handle),
|
|
418
441
|
onKeydown: (e) => handleResizeKeyDown(e, handle)
|
|
@@ -429,7 +452,7 @@ var ImageCropper = _vue.defineComponent.call(void 0, {
|
|
|
429
452
|
height: `${displayHeight.value}px`
|
|
430
453
|
}),
|
|
431
454
|
role: "application",
|
|
432
|
-
"aria-label":
|
|
455
|
+
"aria-label": labels.value.cropperDialogAriaLabel,
|
|
433
456
|
"aria-roledescription": "image cropper"
|
|
434
457
|
},
|
|
435
458
|
[img, mask, selection, dragArea, ...guideLines, ...handles]
|
|
@@ -210,16 +210,20 @@ var MarkdownEditor = _vue.defineComponent.call(void 0, {
|
|
|
210
210
|
"aria-label": "Markdown editor",
|
|
211
211
|
"aria-multiline": true
|
|
212
212
|
}) : null;
|
|
213
|
-
const previewNode = showPreview.value ? _vue.h.call(void 0,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
213
|
+
const previewNode = showPreview.value ? _vue.h.call(void 0,
|
|
214
|
+
"div",
|
|
215
|
+
{
|
|
216
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
217
|
+
_tigercatcore.markdownEditorPreviewClasses,
|
|
218
|
+
currentMode.value === "split" ? _tigercatcore.markdownEditorSplitDividerClasses : void 0,
|
|
219
|
+
!currentValue.value ? _tigercatcore.markdownEditorEmptyPreviewClasses : void 0
|
|
220
|
+
),
|
|
221
|
+
role: "region",
|
|
222
|
+
"aria-label": "Markdown preview",
|
|
223
|
+
...currentValue.value ? { innerHTML: previewHtml.value } : {}
|
|
224
|
+
},
|
|
225
|
+
currentValue.value ? void 0 : props.placeholder
|
|
226
|
+
) : null;
|
|
223
227
|
return _vue.h.call(void 0,
|
|
224
228
|
"div",
|
|
225
229
|
{
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
resultExtraClasses,
|
|
17
17
|
getResultColorScheme,
|
|
18
18
|
getResultIconPath,
|
|
19
|
-
|
|
19
|
+
isHttpResultStatus
|
|
20
20
|
} from "@expcat/tigercat-core";
|
|
21
21
|
var Result = defineComponent({
|
|
22
22
|
name: "TigerResult",
|
|
@@ -46,7 +46,7 @@ var Result = defineComponent({
|
|
|
46
46
|
setup(props, { slots, attrs }) {
|
|
47
47
|
const colors = computed(() => getResultColorScheme(props.status));
|
|
48
48
|
const iconPath = computed(() => getResultIconPath(props.status));
|
|
49
|
-
const httpLabel = computed(() =>
|
|
49
|
+
const httpLabel = computed(() => isHttpResultStatus(props.status) ? props.status : void 0);
|
|
50
50
|
const iconContainerClasses = computed(
|
|
51
51
|
() => classNames(resultIconContainerBaseClasses, colors.value.iconBg)
|
|
52
52
|
);
|