@expcat/tigercat-vue 1.3.4 → 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-PCJHGWTU.js → chunk-2FYVPPTD.js} +53 -7
- package/dist/{chunk-MJP2SNLK.mjs → chunk-2HRJGOAV.mjs} +62 -27
- package/dist/{chunk-MKBIVETW.mjs → chunk-2OI6GWOT.mjs} +22 -2
- package/dist/{chunk-DS7RQFEG.js → chunk-2RCBEBBR.js} +20 -13
- package/dist/{chunk-25VVIM45.mjs → chunk-2YPPXZ4I.mjs} +60 -6
- package/dist/{chunk-HCANI7ZG.mjs → chunk-36ZFDXKU.mjs} +10 -1
- package/dist/{chunk-JKEF7NB3.js → chunk-37LDNXLO.js} +4 -4
- package/dist/{chunk-RNQOMMLM.mjs → chunk-3VFZB5ZK.mjs} +3 -3
- package/dist/{chunk-DEJKRMMU.mjs → chunk-4IZUJJUO.mjs} +32 -9
- package/dist/{chunk-IPZVGA6Y.mjs → chunk-4QCJUILG.mjs} +66 -97
- 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-BWIHL7LK.mjs → chunk-5CHHWMES.mjs} +28 -10
- package/dist/chunk-5FTM7R3P.js +142 -0
- package/dist/{chunk-LZHCKW2Z.js → chunk-5PVDNJA5.js} +12 -2
- package/dist/{chunk-UMQUWX7U.mjs → chunk-64EZRIJL.mjs} +26 -4
- package/dist/{chunk-Q3IZQUW7.js → chunk-67RSRWWY.js} +3 -3
- package/dist/{chunk-FSGD24HV.mjs → chunk-6CS3EEQU.mjs} +9 -1
- package/dist/{chunk-PZH2RTSS.mjs → chunk-6FV2OMB7.mjs} +38 -9
- package/dist/{chunk-6BFGY5W7.mjs → chunk-6G5FEZLT.mjs} +13 -15
- package/dist/{chunk-XQRKFOXS.mjs → chunk-6WF3336O.mjs} +13 -2
- package/dist/{chunk-5D2UAWWP.mjs → chunk-6WFFP4K2.mjs} +2 -4
- package/dist/{chunk-PQMZ3YN3.js → chunk-75TB3YIJ.js} +16 -2
- package/dist/{chunk-FQWEOBQ4.mjs → chunk-7BU4TW5A.mjs} +13 -3
- package/dist/{chunk-A5HRX7EG.js → chunk-7CR6MLD5.js} +5 -4
- package/dist/{chunk-LAWBHGPK.js → chunk-7FWZIAFP.js} +2 -2
- package/dist/{chunk-CSJQKBDJ.js → chunk-7GYYIDMA.js} +2 -4
- package/dist/{chunk-3XCQRM3L.js → chunk-7J7JIIHX.js} +30 -12
- package/dist/{chunk-M2XA7VU5.js → chunk-7KYGVEHF.js} +4 -4
- package/dist/{chunk-BPAN6T7H.mjs → chunk-7LCUVR63.mjs} +40 -5
- package/dist/{chunk-JJXYM6QR.js → chunk-7RMBEWN2.js} +2 -2
- package/dist/{chunk-L5E3L6ID.js → chunk-AF7JZUTA.js} +66 -97
- package/dist/{chunk-PIF4M4TR.mjs → chunk-ALFEFDVG.mjs} +125 -17
- 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-K4VUUEFQ.mjs → chunk-BJV62I73.mjs} +111 -70
- package/dist/{chunk-XJXGVNNF.js → chunk-BNUR72YP.js} +27 -5
- package/dist/{chunk-FE2HR4E5.js → chunk-BPJOIFND.js} +59 -22
- 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-5X3GXNGM.mjs → chunk-CF4GX6BD.mjs} +43 -12
- package/dist/{chunk-AEOREYSJ.js → chunk-CFJST2X2.js} +126 -28
- package/dist/{chunk-NUABW6IB.mjs → chunk-CGZFRSI5.mjs} +1 -1
- package/dist/{chunk-2X3ZPH2H.mjs → chunk-CIDINFA2.mjs} +44 -4
- package/dist/{chunk-KVJIJJ4M.mjs → chunk-CVFXUYH2.mjs} +58 -32
- package/dist/{chunk-LILAZ4UJ.mjs → chunk-CW5TEG7N.mjs} +3 -3
- package/dist/{chunk-GOBWUEHV.js → chunk-D43IFX7J.js} +4 -5
- package/dist/{chunk-RBHF7NOQ.js → chunk-D6Y3KVJF.js} +22 -2
- package/dist/{chunk-ZDKGABPQ.mjs → chunk-DMQLA35L.mjs} +11 -1
- package/dist/{chunk-NNNG6NIA.mjs → chunk-DWPZRG7A.mjs} +6 -5
- package/dist/{chunk-2WJADO6O.mjs → chunk-DZFM7H3M.mjs} +21 -7
- package/dist/{chunk-JFIVDZFK.js → chunk-E36I27WK.js} +30 -4
- package/dist/chunk-E7NE5HEC.mjs +351 -0
- package/dist/{chunk-AP42636I.js → chunk-EG7XX6U4.js} +2 -2
- package/dist/{chunk-WNKF2OD5.mjs → chunk-EVIZXEB2.mjs} +31 -7
- package/dist/{chunk-SGRUGYQ6.mjs → chunk-EYR27UIE.mjs} +13 -10
- package/dist/{chunk-5JKQPOG2.js → chunk-F5TZIFMW.js} +15 -3
- package/dist/{chunk-7WQN5BYE.mjs → chunk-FAQL7HFW.mjs} +36 -3
- package/dist/{chunk-4K2CCBFT.mjs → chunk-FISKCPTN.mjs} +3 -2
- package/dist/{chunk-IORFQMZH.mjs → chunk-FT2HWF7P.mjs} +4 -4
- package/dist/{chunk-OK4PVFQG.mjs → chunk-G2LB4QCL.mjs} +18 -15
- package/dist/{chunk-HFRPZA5S.js → chunk-GBYNY77G.js} +6 -6
- package/dist/{chunk-OGDZTDZ6.mjs → chunk-GHG2MCLM.mjs} +28 -7
- package/dist/{chunk-ZUPVK5L7.js → chunk-GJ5HJOQP.js} +72 -51
- package/dist/{chunk-F7WZCYYD.mjs → chunk-GL63FRI4.mjs} +1 -1
- package/dist/{chunk-JZJEZKGN.js → chunk-GV3LRZSR.js} +37 -13
- 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-ZSCOAOJJ.js → chunk-HI45DI7S.js} +35 -7
- 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-RE7K3KNW.mjs → chunk-HWL36OCD.mjs} +21 -14
- package/dist/{chunk-UANF7XE5.mjs → chunk-IJL7YYT7.mjs} +6 -4
- package/dist/{chunk-G3SWTL27.js → chunk-IUPNDTUF.js} +1 -1
- package/dist/{chunk-25EYT2CB.js → chunk-IXTYS3EK.js} +3 -2
- package/dist/{chunk-P7RXZVLT.js → chunk-J77GQQEC.js} +45 -5
- package/dist/{chunk-ZIOGRGN5.mjs → chunk-JCGWN7WV.mjs} +26 -4
- package/dist/{chunk-Q4MH333P.js → chunk-JCPTFBLY.js} +1 -1
- package/dist/{chunk-K5ZZZ4TL.mjs → chunk-JGW7R7AZ.mjs} +2 -2
- package/dist/chunk-JICPYKCT.js +297 -0
- package/dist/{chunk-S6K6IR3Y.js → chunk-JMRR4KDB.js} +4 -4
- 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-KTNT2JHB.js +351 -0
- package/dist/{chunk-C4HYZH7H.mjs → chunk-LGDJDBE3.mjs} +103 -47
- package/dist/{chunk-LA5YKXPH.mjs → chunk-LHOSPU6V.mjs} +3 -3
- 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-35NT2WJR.mjs → chunk-LOX2KCML.mjs} +8 -9
- package/dist/{chunk-XZMU7B54.js → chunk-LPHDX3UU.js} +51 -2
- package/dist/{chunk-PXRF4IJO.mjs → chunk-LSWTZHBV.mjs} +23 -3
- package/dist/{chunk-Z7ETXBOL.mjs → chunk-MF7BKYGN.mjs} +59 -22
- package/dist/chunk-MNVMGJUF.js +341 -0
- package/dist/{chunk-OKLDFVDJ.js → chunk-MPVL53GP.js} +61 -7
- package/dist/{chunk-SEDENBOO.mjs → chunk-N2QGYEOQ.mjs} +30 -17
- package/dist/{chunk-3NRRNQYJ.js → chunk-NQYE64IF.js} +31 -7
- package/dist/{chunk-TAU447CL.js → chunk-OOMZBTHW.js} +25 -3
- package/dist/{chunk-VXULMOIW.js → chunk-OQBWITHA.js} +29 -16
- package/dist/{chunk-Z6HBM73W.js → chunk-OQOJI5Q7.js} +2 -2
- package/dist/{chunk-TAA6DDJ2.mjs → chunk-OSPHI5TV.mjs} +116 -9
- package/dist/{chunk-QUIRQ7OA.js → chunk-OVXDO6KJ.js} +9 -5
- package/dist/{chunk-CPV7INZ4.mjs → chunk-P3VAY2IQ.mjs} +1 -1
- package/dist/{chunk-DMV26JNR.mjs → chunk-PD2PKYJE.mjs} +58 -6
- package/dist/{chunk-2YFXJUBT.js → chunk-PFWRFHSB.js} +2 -2
- package/dist/{chunk-NYR6OQO4.js → chunk-PFZFPN7M.js} +65 -30
- package/dist/{chunk-S6Q7TD6H.js → chunk-PH6ERFC7.js} +38 -9
- 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-IZQ7BRHC.mjs → chunk-QH3YF5B6.mjs} +126 -28
- package/dist/{chunk-WZBOHL2F.js → chunk-QKJATAJP.js} +120 -13
- package/dist/{chunk-VG6E4NX6.mjs → chunk-R6WFL6NI.mjs} +3 -2
- package/dist/{chunk-6XI4VDU4.js → chunk-RBWJSHKR.js} +13 -2
- package/dist/{chunk-UAD2XROX.mjs → chunk-RD2NFAB6.mjs} +2 -2
- package/dist/{chunk-WUHW7AIM.mjs → chunk-RHV6DWY6.mjs} +5 -7
- package/dist/{chunk-VCBBWDOV.mjs → chunk-RTZUIWCN.mjs} +22 -2
- package/dist/{chunk-NDS2DLUS.mjs → chunk-S4Z77VIB.mjs} +7 -3
- package/dist/{chunk-5VSKQLK3.js → chunk-SIVMTPDY.js} +61 -13
- package/dist/{chunk-7VHDBN6U.js → chunk-SJSZHQWX.js} +4 -4
- package/dist/{chunk-YSUT2GRP.mjs → chunk-SMCOBLF6.mjs} +50 -1
- package/dist/{chunk-TZDNF5SK.js → chunk-SOSHYDIX.js} +115 -74
- package/dist/{chunk-Q47OK3FR.js → chunk-TCB3WFYM.js} +12 -13
- package/dist/{chunk-SCSGLSPY.mjs → chunk-TM73IWEY.mjs} +53 -12
- package/dist/{chunk-NKVEXKM5.js → chunk-TNKULOHK.js} +36 -3
- package/dist/{chunk-BZBVSB43.js → chunk-TOD67L2E.js} +40 -5
- package/dist/{chunk-OCL22D5E.mjs → chunk-TRN5PL5D.mjs} +34 -6
- package/dist/{chunk-LG6KGO5D.js → chunk-TXMPLBWW.js} +57 -5
- package/dist/{chunk-NOZ65AMO.js → chunk-TYYJPEWG.js} +15 -2
- package/dist/{chunk-EW2IW2JW.js → chunk-U5TSCS34.js} +16 -18
- package/dist/{chunk-6NFACBDB.js → chunk-UFY654LD.js} +5 -7
- package/dist/{chunk-2BNQGU7E.mjs → chunk-UKMOWUYH.mjs} +1 -1
- 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-D74XCQCK.mjs → chunk-V5ZEPAWV.mjs} +56 -10
- package/dist/{chunk-2R5HISQA.mjs → chunk-VCCK4CDT.mjs} +4 -2
- package/dist/{chunk-2VVXW53X.js → chunk-VDKUKZS2.js} +124 -68
- package/dist/{chunk-MHNCH2YI.js → chunk-VJ72Y54M.js} +14 -4
- package/dist/{chunk-LS4VI4RG.mjs → chunk-VJJ7RAC6.mjs} +36 -12
- package/dist/{chunk-2S5CNU36.js → chunk-VQXDF6CB.js} +23 -3
- package/dist/{chunk-BPAZBRCR.js → chunk-VUGFSHU2.js} +17 -3
- package/dist/{chunk-MUJLT2YG.js → chunk-VXRFE72I.js} +61 -35
- package/dist/{chunk-3A7H2CTW.mjs → chunk-VYBRLIKF.mjs} +73 -52
- package/dist/{chunk-UWZSTI3E.js → chunk-W34IV4EC.js} +9 -1
- package/dist/{chunk-F7G7K3TF.mjs → chunk-WBT3WSRE.mjs} +4 -5
- package/dist/{chunk-X6FG4RPF.js → chunk-WF7KVMBY.js} +24 -11
- package/dist/{chunk-WFISP42H.mjs → chunk-WLHOWOAY.mjs} +15 -2
- package/dist/{chunk-W6VKVYWZ.mjs → chunk-WSUCJHJX.mjs} +2 -2
- 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-LL4ASJ4O.mjs → chunk-XJ5VGC5V.mjs} +30 -4
- package/dist/{chunk-EJZBG5RT.js → chunk-XMCYKHT4.js} +10 -1
- package/dist/{chunk-DZXZ3YEL.js → chunk-XSJKSUED.js} +5 -3
- package/dist/{chunk-JNIKT6AL.js → chunk-XVNN6D55.js} +29 -8
- package/dist/{chunk-ZCT56WB7.mjs → chunk-XZYFVOOS.mjs} +1 -1
- package/dist/{chunk-H6V26X2R.js → chunk-YI25YL5W.js} +4 -4
- package/dist/{chunk-UUJ7A3CN.js → chunk-YLMQZR6F.js} +43 -12
- package/dist/{chunk-PY6P4N2Q.js → chunk-YMUYN4IR.js} +53 -12
- package/dist/{chunk-44N7LE3Q.js → chunk-YTE45DNC.js} +13 -10
- package/dist/{chunk-VAXO5NEM.js → chunk-YVSINGGE.js} +2 -2
- package/dist/{chunk-BH4AJQTL.mjs → chunk-YZATP4VF.mjs} +1 -1
- package/dist/{chunk-5WG4OFXH.mjs → chunk-Z7QUWBFR.mjs} +15 -3
- package/dist/{chunk-FUGSQXFR.js → chunk-ZHSXICH7.js} +3 -2
- package/dist/components/ActivityFeed.d.mts +6 -6
- package/dist/components/ActivityFeed.d.ts +6 -6
- package/dist/components/ActivityFeed.js +8 -7
- package/dist/components/ActivityFeed.mjs +7 -6
- package/dist/components/Alert.d.mts +3 -3
- package/dist/components/Alert.d.ts +3 -3
- package/dist/components/Alert.js +2 -2
- package/dist/components/Alert.mjs +1 -1
- package/dist/components/Anchor.d.mts +1 -1
- package/dist/components/Anchor.d.ts +1 -1
- 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.d.mts +3 -3
- package/dist/components/AreaChart.d.ts +3 -3
- package/dist/components/AreaChart.js +4 -4
- package/dist/components/AreaChart.mjs +3 -3
- package/dist/components/AutoComplete.d.mts +14 -5
- package/dist/components/AutoComplete.d.ts +14 -5
- package/dist/components/AutoComplete.js +3 -2
- package/dist/components/AutoComplete.mjs +2 -1
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.d.ts +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 +13 -4
- package/dist/components/Badge.d.ts +13 -4
- package/dist/components/Badge.js +3 -2
- package/dist/components/Badge.mjs +2 -1
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.d.ts +2 -2
- package/dist/components/BarChart.js +4 -4
- package/dist/components/BarChart.mjs +3 -3
- package/dist/components/Breadcrumb.d.mts +3 -3
- package/dist/components/Breadcrumb.d.ts +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/Button.d.mts +3 -3
- package/dist/components/Button.d.ts +3 -3
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -1
- package/dist/components/Calendar.d.mts +17 -7
- package/dist/components/Calendar.d.ts +17 -7
- package/dist/components/Calendar.js +3 -2
- package/dist/components/Calendar.mjs +2 -1
- package/dist/components/Card.d.mts +2 -2
- package/dist/components/Card.d.ts +2 -2
- package/dist/components/Cascader.d.mts +19 -3
- package/dist/components/Cascader.d.ts +19 -3
- package/dist/components/Cascader.js +3 -2
- package/dist/components/Cascader.mjs +2 -1
- package/dist/components/ChartCanvas.d.mts +1 -1
- package/dist/components/ChartCanvas.d.ts +1 -1
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartGrid.d.ts +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 +9 -9
- package/dist/components/ChatWindow.d.ts +9 -9
- package/dist/components/ChatWindow.js +10 -8
- package/dist/components/ChatWindow.mjs +9 -7
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/Checkbox.mjs +2 -2
- package/dist/components/CheckboxGroup.js +2 -2
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CodeEditor.d.mts +2 -2
- package/dist/components/CodeEditor.d.ts +2 -2
- package/dist/components/CodeEditor.js +2 -2
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/CollapsePanel.d.ts +1 -1
- package/dist/components/ColorSwatch.d.mts +2 -2
- package/dist/components/ColorSwatch.d.ts +2 -2
- package/dist/components/CommentThread.d.mts +9 -5
- package/dist/components/CommentThread.d.ts +9 -5
- package/dist/components/CommentThread.js +8 -6
- package/dist/components/CommentThread.mjs +7 -5
- package/dist/components/ConfigProvider.d.mts +1 -1
- package/dist/components/ConfigProvider.d.ts +1 -1
- package/dist/components/ConfigProvider.js +2 -2
- package/dist/components/ConfigProvider.mjs +1 -1
- package/dist/components/Container.d.mts +1 -1
- package/dist/components/Container.d.ts +1 -1
- package/dist/components/Countdown.d.mts +2 -2
- package/dist/components/Countdown.d.ts +2 -2
- 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 +5 -5
- package/dist/components/CropUpload.mjs +4 -4
- package/dist/components/DataTableWithToolbar.d.mts +235 -13
- package/dist/components/DataTableWithToolbar.d.ts +235 -13
- package/dist/components/DataTableWithToolbar.js +10 -9
- package/dist/components/DataTableWithToolbar.mjs +9 -8
- package/dist/components/DatePicker.d.mts +8 -3
- package/dist/components/DatePicker.d.ts +8 -3
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/DatePicker.mjs +2 -1
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/Descriptions.d.ts +2 -2
- package/dist/components/DonutChart.d.mts +12 -3
- package/dist/components/DonutChart.d.ts +12 -3
- package/dist/components/DonutChart.js +5 -5
- package/dist/components/DonutChart.mjs +4 -4
- package/dist/components/Drawer.d.mts +5 -5
- package/dist/components/Drawer.d.ts +5 -5
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Drawer.mjs +2 -2
- 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 +31 -21
- package/dist/components/FileManager.d.ts +31 -21
- package/dist/components/FileManager.js +3 -2
- package/dist/components/FileManager.mjs +2 -1
- package/dist/components/FloatButton.d.mts +6 -6
- package/dist/components/FloatButton.d.ts +6 -6
- package/dist/components/FloatButton.js +2 -2
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.d.mts +19 -2
- package/dist/components/Form.d.ts +19 -2
- package/dist/components/Form.js +3 -2
- package/dist/components/Form.mjs +2 -1
- package/dist/components/FormItem.js +4 -3
- package/dist/components/FormItem.mjs +3 -2
- package/dist/components/FormWizard.d.mts +5 -5
- package/dist/components/FormWizard.d.ts +5 -5
- package/dist/components/FormWizard.js +4 -4
- package/dist/components/FormWizard.mjs +3 -3
- package/dist/components/FunnelChart.d.mts +2 -2
- package/dist/components/FunnelChart.d.ts +2 -2
- package/dist/components/FunnelChart.js +4 -4
- package/dist/components/FunnelChart.mjs +3 -3
- package/dist/components/Gantt.d.mts +3 -3
- package/dist/components/Gantt.d.ts +3 -3
- package/dist/components/GaugeChart.d.mts +17 -2
- package/dist/components/GaugeChart.d.ts +17 -2
- package/dist/components/GaugeChart.js +3 -2
- package/dist/components/GaugeChart.mjs +2 -1
- package/dist/components/HeatmapChart.d.mts +3 -3
- package/dist/components/HeatmapChart.d.ts +3 -3
- 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.d.mts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Image.js +4 -3
- package/dist/components/Image.mjs +3 -2
- package/dist/components/ImageAnnotation.d.mts +15 -5
- package/dist/components/ImageAnnotation.d.ts +15 -5
- 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 +11 -0
- package/dist/components/ImageViewer.d.ts +11 -0
- package/dist/components/ImageViewer.js +3 -2
- package/dist/components/ImageViewer.mjs +2 -1
- package/dist/components/InfiniteScroll.d.mts +17 -6
- package/dist/components/InfiniteScroll.d.ts +17 -6
- package/dist/components/InfiniteScroll.js +3 -2
- package/dist/components/InfiniteScroll.mjs +2 -1
- package/dist/components/Input.d.mts +4 -4
- package/dist/components/Input.d.ts +4 -4
- package/dist/components/Input.js +3 -2
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputGroup.d.ts +1 -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 +22 -2
- package/dist/components/Kanban.d.ts +22 -2
- package/dist/components/Kanban.js +4 -4
- package/dist/components/Kanban.mjs +3 -3
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.d.ts +2 -2
- package/dist/components/LineChart.js +4 -4
- package/dist/components/LineChart.mjs +3 -3
- package/dist/components/Link.d.mts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/List.d.mts +24 -9
- package/dist/components/List.d.ts +24 -9
- package/dist/components/List.js +4 -3
- package/dist/components/List.mjs +3 -2
- package/dist/components/Loading.d.mts +16 -6
- package/dist/components/Loading.d.ts +16 -6
- package/dist/components/Loading.js +3 -2
- package/dist/components/Loading.mjs +2 -1
- package/dist/components/MarkdownEditor.d.mts +2 -2
- package/dist/components/MarkdownEditor.d.ts +2 -2
- package/dist/components/MarkdownEditor.js +2 -2
- package/dist/components/MarkdownEditor.mjs +1 -1
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Mentions.d.ts +2 -2
- package/dist/components/Mentions.js +2 -2
- package/dist/components/Mentions.mjs +1 -1
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Menu.d.ts +5 -5
- package/dist/components/Menu.js +2 -2
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItemGroup.js +3 -3
- package/dist/components/MenuItemGroup.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/Modal.d.mts +8 -8
- package/dist/components/Modal.d.ts +8 -8
- package/dist/components/Modal.js +3 -3
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/NotificationCenter.d.mts +5 -5
- package/dist/components/NotificationCenter.d.ts +5 -5
- package/dist/components/NotificationCenter.js +7 -6
- package/dist/components/NotificationCenter.mjs +6 -5
- package/dist/components/NumberKeyboard.d.mts +17 -8
- package/dist/components/NumberKeyboard.d.ts +17 -8
- package/dist/components/NumberKeyboard.js +3 -2
- package/dist/components/NumberKeyboard.mjs +2 -1
- package/dist/components/OrgChart.d.mts +3 -3
- package/dist/components/OrgChart.d.ts +3 -3
- package/dist/components/Pagination.d.mts +4 -4
- package/dist/components/Pagination.d.ts +4 -4
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +2 -2
- package/dist/components/PieChart.d.mts +12 -3
- package/dist/components/PieChart.d.ts +12 -3
- package/dist/components/PieChart.js +4 -4
- package/dist/components/PieChart.mjs +3 -3
- package/dist/components/Popconfirm.d.mts +2 -2
- package/dist/components/Popconfirm.d.ts +2 -2
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/Progress.d.ts +3 -3
- package/dist/components/QRCode.d.mts +13 -3
- package/dist/components/QRCode.d.ts +13 -3
- package/dist/components/QRCode.js +3 -2
- package/dist/components/QRCode.mjs +2 -1
- package/dist/components/RadarChart.d.mts +3 -3
- package/dist/components/RadarChart.d.ts +3 -3
- 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.d.mts +1 -1
- package/dist/components/RichTextEditor.d.ts +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/Row.d.ts +1 -1
- package/dist/components/ScatterChart.d.mts +2 -2
- package/dist/components/ScatterChart.d.ts +2 -2
- package/dist/components/ScatterChart.js +4 -4
- package/dist/components/ScatterChart.mjs +3 -3
- package/dist/components/ScrollSpy.d.mts +3 -3
- package/dist/components/ScrollSpy.d.ts +3 -3
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Segmented.mjs +1 -1
- package/dist/components/Select.d.mts +22 -6
- package/dist/components/Select.d.ts +22 -6
- package/dist/components/Select.js +3 -2
- package/dist/components/Select.mjs +2 -1
- package/dist/components/Signature.d.mts +16 -7
- package/dist/components/Signature.d.ts +16 -7
- package/dist/components/Signature.js +3 -2
- package/dist/components/Signature.mjs +2 -1
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Slider.js +2 -2
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Space.d.mts +2 -2
- package/dist/components/Space.d.ts +2 -2
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Splitter.d.ts +1 -1
- package/dist/components/Spotlight.d.mts +17 -9
- package/dist/components/Spotlight.d.ts +17 -9
- package/dist/components/Spotlight.js +3 -2
- package/dist/components/Spotlight.mjs +2 -1
- package/dist/components/Steps.d.mts +3 -3
- package/dist/components/Steps.d.ts +3 -3
- 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/SubMenu.js +3 -3
- package/dist/components/SubMenu.mjs +1 -1
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.d.ts +2 -2
- 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.d.mts +8 -8
- package/dist/components/Table.d.ts +8 -8
- package/dist/components/Table.js +7 -7
- package/dist/components/Table.mjs +6 -6
- package/dist/components/Tabs.d.mts +4 -2
- package/dist/components/Tabs.d.ts +4 -2
- package/dist/components/Tabs.js +2 -2
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tag.d.mts +14 -4
- package/dist/components/Tag.d.ts +14 -4
- package/dist/components/Tag.js +3 -2
- package/dist/components/Tag.mjs +2 -1
- package/dist/components/TaskBoard.d.mts +23 -3
- package/dist/components/TaskBoard.d.ts +23 -3
- package/dist/components/TaskBoard.js +3 -3
- package/dist/components/TaskBoard.mjs +2 -2
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Text.d.ts +3 -3
- package/dist/components/Textarea.d.mts +2 -2
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/Textarea.js +3 -2
- package/dist/components/Textarea.mjs +2 -1
- package/dist/components/TimePicker.d.mts +7 -7
- package/dist/components/TimePicker.d.ts +7 -7
- package/dist/components/TimePicker.js +3 -2
- package/dist/components/TimePicker.mjs +2 -1
- package/dist/components/Timeline.d.mts +14 -4
- package/dist/components/Timeline.d.ts +14 -4
- package/dist/components/Timeline.js +3 -2
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tour.d.mts +20 -12
- package/dist/components/Tour.d.ts +20 -12
- package/dist/components/Tour.js +4 -2
- package/dist/components/Tour.mjs +3 -1
- package/dist/components/Transfer.d.mts +37 -5
- package/dist/components/Transfer.d.ts +37 -5
- package/dist/components/Transfer.js +3 -2
- package/dist/components/Transfer.mjs +2 -1
- package/dist/components/Tree.d.mts +23 -7
- package/dist/components/Tree.d.ts +23 -7
- package/dist/components/Tree.js +4 -3
- package/dist/components/Tree.mjs +3 -2
- package/dist/components/TreeMapChart.d.mts +2 -2
- package/dist/components/TreeMapChart.d.ts +2 -2
- package/dist/components/TreeMapChart.js +4 -4
- package/dist/components/TreeMapChart.mjs +3 -3
- package/dist/components/TreeSelect.d.mts +18 -3
- package/dist/components/TreeSelect.d.ts +18 -3
- package/dist/components/TreeSelect.js +3 -2
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.d.ts +4 -4
- package/dist/components/Upload.js +3 -3
- package/dist/components/Upload.mjs +2 -2
- 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 +44 -5
- package/dist/components/VirtualTable.d.ts +44 -5
- package/dist/components/VirtualTable.js +3 -2
- package/dist/components/VirtualTable.mjs +2 -1
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +1 -1
- package/dist/index.d.mts +134 -134
- package/dist/index.d.ts +134 -134
- package/dist/index.js +96 -96
- package/dist/index.mjs +97 -97
- package/package.json +6 -6
- package/dist/chunk-7QX4QWWN.js +0 -194
- package/dist/chunk-DJCTERZH.js +0 -92
- package/dist/chunk-LD7ZJCTO.mjs +0 -167
- package/dist/chunk-XAQID5IO.js +0 -167
- package/dist/chunk-XGO5Q6KK.js +0 -189
- package/dist/chunk-ZSQ5I2KL.mjs +0 -194
- package/dist/chunk-ZYCOHZCM.mjs +0 -92
|
@@ -1,18 +1,18 @@
|
|
|
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 _chunkCFJST2X2js = require('./chunk-CFJST2X2.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3QV2D54Hjs = require('./chunk-3QV2D54H.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTYYJPEWGjs = require('./chunk-TYYJPEWG.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkPFWRFHSBjs = require('./chunk-PFWRFHSB.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
16
16
|
|
|
17
17
|
// src/components/Table.ts
|
|
18
18
|
|
|
@@ -23,6 +23,7 @@ var _chunk2YFXJUBTjs = require('./chunk-2YFXJUBT.js');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
var _vue = require('vue');
|
|
27
28
|
|
|
28
29
|
|
|
@@ -46,6 +47,7 @@ var _vue = require('vue');
|
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
|
|
50
|
+
|
|
49
51
|
|
|
50
52
|
|
|
51
53
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -211,7 +213,7 @@ var tableEmits = [
|
|
|
211
213
|
"sort-change",
|
|
212
214
|
"filter-change",
|
|
213
215
|
"update:hiddenColumnKeys",
|
|
214
|
-
"hidden-
|
|
216
|
+
"hidden-column-keys-change",
|
|
215
217
|
"page-change",
|
|
216
218
|
"expand-change",
|
|
217
219
|
"cell-change",
|
|
@@ -236,6 +238,9 @@ var tableEmits = [
|
|
|
236
238
|
|
|
237
239
|
|
|
238
240
|
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
239
244
|
function useTableState(props, emit, measuredColumnWidths) {
|
|
240
245
|
const paginationConfig = _vue.computed.call(void 0, () => {
|
|
241
246
|
return props.pagination !== false && typeof props.pagination === "object" ? props.pagination : null;
|
|
@@ -373,7 +378,7 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
373
378
|
uncontrolledHiddenColumnKeys.value = hiddenKeys;
|
|
374
379
|
}
|
|
375
380
|
emit("update:hiddenColumnKeys", hiddenKeys);
|
|
376
|
-
emit("hidden-
|
|
381
|
+
emit("hidden-column-keys-change", hiddenKeys);
|
|
377
382
|
}
|
|
378
383
|
function toggleColumnLock(columnKey) {
|
|
379
384
|
const original = _optionalChain([props, 'access', _37 => _37.columns, 'access', _38 => _38.find, 'call', _39 => _39((c) => c.key === columnKey), 'optionalAccess', _40 => _40.fixed]);
|
|
@@ -387,7 +392,7 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
387
392
|
if (props.filterMode === "advanced" && (_nullishCoalesce(_optionalChain([props, 'access', _41 => _41.advancedFilterRules, 'optionalAccess', _42 => _42.length]), () => ( 0))) > 0) {
|
|
388
393
|
data = _tigercatcore.filterDataAdvanced.call(void 0, data, _nullishCoalesce(props.advancedFilterRules, () => ( [])));
|
|
389
394
|
} else {
|
|
390
|
-
data = _tigercatcore.
|
|
395
|
+
data = _tigercatcore.filterTableData.call(void 0, data, props.columns, filterState.value);
|
|
391
396
|
}
|
|
392
397
|
if (sortState.value.key && sortState.value.direction) {
|
|
393
398
|
const column = columnByKey.value[sortState.value.key];
|
|
@@ -414,7 +419,7 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
414
419
|
});
|
|
415
420
|
const totalColumnCount = _vue.computed.call(void 0, () => {
|
|
416
421
|
let count = displayColumns.value.length;
|
|
417
|
-
if (props.rowSelection) count += 1;
|
|
422
|
+
if (_tigercatcore.hasTableSelectionColumn.call(void 0, props.rowSelection)) count += 1;
|
|
418
423
|
if (props.expandable) count += 1;
|
|
419
424
|
return count;
|
|
420
425
|
});
|
|
@@ -534,35 +539,33 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
534
539
|
}
|
|
535
540
|
emit("selection-change", newKeys);
|
|
536
541
|
}
|
|
542
|
+
const selectionState = _vue.computed.call(void 0,
|
|
543
|
+
() => _tigercatcore.getTableSelectionState.call(void 0, {
|
|
544
|
+
records: paginatedData.value,
|
|
545
|
+
rowKeys: paginatedRowKeys.value,
|
|
546
|
+
selectedRowKeys: selectedRowKeys.value,
|
|
547
|
+
getCheckboxProps: _optionalChain([props, 'access', _52 => _52.rowSelection, 'optionalAccess', _53 => _53.getCheckboxProps])
|
|
548
|
+
})
|
|
549
|
+
);
|
|
537
550
|
function handleSelectAll(checked) {
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
if (!isSelectionControlled.value) {
|
|
546
|
-
uncontrolledSelectedRowKeys.value = [];
|
|
547
|
-
}
|
|
548
|
-
emit("selection-change", []);
|
|
551
|
+
const nextKeys = _tigercatcore.getNextTableSelectAllKeys.call(void 0,
|
|
552
|
+
selectedRowKeys.value,
|
|
553
|
+
selectionState.value.selectableRowKeys,
|
|
554
|
+
checked
|
|
555
|
+
);
|
|
556
|
+
if (!isSelectionControlled.value) {
|
|
557
|
+
uncontrolledSelectedRowKeys.value = nextKeys;
|
|
549
558
|
}
|
|
559
|
+
emit("selection-change", nextKeys);
|
|
550
560
|
}
|
|
551
|
-
const allSelected = _vue.computed.call(void 0, () =>
|
|
552
|
-
|
|
553
|
-
return false;
|
|
554
|
-
}
|
|
555
|
-
return paginatedRowKeys.value.every((key) => selectedRowKeySet.value.has(key));
|
|
556
|
-
});
|
|
557
|
-
const someSelected = _vue.computed.call(void 0, () => {
|
|
558
|
-
return selectedRowKeys.value.length > 0 && !allSelected.value;
|
|
559
|
-
});
|
|
561
|
+
const allSelected = _vue.computed.call(void 0, () => selectionState.value.allSelected);
|
|
562
|
+
const someSelected = _vue.computed.call(void 0, () => selectionState.value.someSelected);
|
|
560
563
|
const editingCell = _vue.ref.call(void 0, null);
|
|
561
564
|
const editingValue = _vue.ref.call(void 0, "");
|
|
562
565
|
function isCellEditable(columnKey, rowIndex) {
|
|
563
566
|
if (!props.editable) return false;
|
|
564
567
|
if (!props.editableCells) return true;
|
|
565
|
-
return !!_optionalChain([props, 'access',
|
|
568
|
+
return !!_optionalChain([props, 'access', _54 => _54.editableCells, 'access', _55 => _55.get, 'call', _56 => _56(columnKey), 'optionalAccess', _57 => _57.has, 'call', _58 => _58(rowIndex)]);
|
|
566
569
|
}
|
|
567
570
|
function startEditing(rowIndex, columnKey, currentValue) {
|
|
568
571
|
editingCell.value = { rowIndex, columnKey };
|
|
@@ -764,7 +767,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
764
767
|
const expandAtEnd = props.expandable && props.expandable.expandIconPosition === "end";
|
|
765
768
|
const expandHeaderTh = props.expandable ? _vue.h.call(void 0, "th", {
|
|
766
769
|
class: _tigercatcore.getExpandIconCellClasses.call(void 0, props.size),
|
|
767
|
-
"aria-label":
|
|
770
|
+
"aria-label": labels.expandText
|
|
768
771
|
}) : null;
|
|
769
772
|
if (expandAtStart && expandHeaderTh) {
|
|
770
773
|
headerCells.push(expandHeaderTh);
|
|
@@ -798,7 +801,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
798
801
|
} : void 0;
|
|
799
802
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
800
803
|
const headerContent = [];
|
|
801
|
-
const slotContent = _optionalChain([slots, 'access',
|
|
804
|
+
const slotContent = _optionalChain([slots, 'access', _59 => _59[`header-${column.key}`], 'optionalCall', _60 => _60()]);
|
|
802
805
|
if (slotContent && slotContent.length > 0) {
|
|
803
806
|
headerContent.push(...slotContent);
|
|
804
807
|
} else if (column.renderHeader) {
|
|
@@ -872,7 +875,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
872
875
|
onClick: (e) => e.stopPropagation()
|
|
873
876
|
},
|
|
874
877
|
[
|
|
875
|
-
_vue.h.call(void 0, "option", { value: "" },
|
|
878
|
+
_vue.h.call(void 0, "option", { value: "" }, labels.allText),
|
|
876
879
|
...column.filter.options.map(
|
|
877
880
|
(opt) => _vue.h.call(void 0, "option", { value: opt.value }, opt.label)
|
|
878
881
|
)
|
|
@@ -880,7 +883,7 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
880
883
|
) : _vue.h.call(void 0, "input", {
|
|
881
884
|
type: "text",
|
|
882
885
|
class: "w-full px-2 py-1 text-sm border border-gray-300 rounded",
|
|
883
|
-
placeholder: column.filter.placeholder ||
|
|
886
|
+
placeholder: column.filter.placeholder || labels.filterPlaceholder,
|
|
884
887
|
onInput: (e) => ctx.handleFilter(column.key, e.target.value),
|
|
885
888
|
onClick: (e) => e.stopPropagation()
|
|
886
889
|
})
|
|
@@ -914,7 +917,8 @@ function renderTableHeader(ctx, props, slots, labels) {
|
|
|
914
917
|
|
|
915
918
|
|
|
916
919
|
|
|
917
|
-
|
|
920
|
+
|
|
921
|
+
function renderTableBody(ctx, props, slots, labels) {
|
|
918
922
|
if (props.loading) {
|
|
919
923
|
return null;
|
|
920
924
|
}
|
|
@@ -942,7 +946,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
942
946
|
]);
|
|
943
947
|
}
|
|
944
948
|
function getDelegatedRow(event) {
|
|
945
|
-
const row = _optionalChain([event, 'access',
|
|
949
|
+
const row = _optionalChain([event, 'access', _61 => _61.target, 'optionalAccess', _62 => _62.closest, 'call', _63 => _63(
|
|
946
950
|
"tr[data-tiger-table-row-index]"
|
|
947
951
|
)]);
|
|
948
952
|
if (!row) return null;
|
|
@@ -999,7 +1003,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
999
1003
|
{
|
|
1000
1004
|
type: "button",
|
|
1001
1005
|
class: "inline-flex items-center justify-center",
|
|
1002
|
-
"aria-label": isExpanded ?
|
|
1006
|
+
"aria-label": isExpanded ? labels.collapseRowAriaLabel : labels.expandRowAriaLabel,
|
|
1003
1007
|
"aria-expanded": isExpanded,
|
|
1004
1008
|
onClick: (e) => {
|
|
1005
1009
|
e.stopPropagation();
|
|
@@ -1014,7 +1018,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1014
1018
|
cells.push(expandToggleCell);
|
|
1015
1019
|
}
|
|
1016
1020
|
if (props.rowSelection && props.rowSelection.showCheckbox !== false) {
|
|
1017
|
-
const checkboxProps = _optionalChain([props, 'access',
|
|
1021
|
+
const checkboxProps = _optionalChain([props, 'access', _64 => _64.rowSelection, 'optionalAccess', _65 => _65.getCheckboxProps, 'optionalCall', _66 => _66(record)]) || {};
|
|
1018
1022
|
cells.push(
|
|
1019
1023
|
_vue.h.call(void 0,
|
|
1020
1024
|
"td",
|
|
@@ -1023,8 +1027,8 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1023
1027
|
},
|
|
1024
1028
|
[
|
|
1025
1029
|
_vue.h.call(void 0, "input", {
|
|
1026
|
-
type: _optionalChain([props, 'access',
|
|
1027
|
-
class: _optionalChain([props, 'access',
|
|
1030
|
+
type: _optionalChain([props, 'access', _67 => _67.rowSelection, 'optionalAccess', _68 => _68.type]) === "radio" ? "radio" : "checkbox",
|
|
1031
|
+
class: _optionalChain([props, 'access', _69 => _69.rowSelection, 'optionalAccess', _70 => _70.type]) === "radio" ? "border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]" : "rounded border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]",
|
|
1028
1032
|
checked: isSelected,
|
|
1029
1033
|
disabled: checkboxProps.disabled,
|
|
1030
1034
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -1053,7 +1057,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1053
1057
|
hoverable: props.hoverable,
|
|
1054
1058
|
fixedInfo: ctx.fixedColumnsInfo.value
|
|
1055
1059
|
});
|
|
1056
|
-
const isEditing = _optionalChain([ctx, 'access',
|
|
1060
|
+
const isEditing = _optionalChain([ctx, 'access', _71 => _71.editingCell, 'access', _72 => _72.value, 'optionalAccess', _73 => _73.rowIndex]) === index && _optionalChain([ctx, 'access', _74 => _74.editingCell, 'access', _75 => _75.value, 'optionalAccess', _76 => _76.columnKey]) === column.key;
|
|
1057
1061
|
const isEditableCell = ctx.isCellEditable(column.key, index);
|
|
1058
1062
|
const cellContent = isEditing ? _vue.h.call(void 0, "input", {
|
|
1059
1063
|
type: "text",
|
|
@@ -1068,7 +1072,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1068
1072
|
if (e.key === "Enter") ctx.commitEdit();
|
|
1069
1073
|
if (e.key === "Escape") ctx.cancelEdit();
|
|
1070
1074
|
}
|
|
1071
|
-
}) : _nullishCoalesce(_optionalChain([slots, 'access',
|
|
1075
|
+
}) : _nullishCoalesce(_optionalChain([slots, 'access', _77 => _77[`cell-${column.key}`], 'optionalCall', _78 => _78({ record, index })]), () => ( (column.render ? column.render(record, index) : cellValue)));
|
|
1072
1076
|
cells.push(
|
|
1073
1077
|
_vue.h.call(void 0,
|
|
1074
1078
|
"td",
|
|
@@ -1098,12 +1102,22 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1098
1102
|
_tigercatcore.getTableRowClasses.call(void 0, props.hoverable, props.striped, index % 2 === 0, rowClass),
|
|
1099
1103
|
ctx.fixedColumnsInfo.value.hasFixedColumns && "group"
|
|
1100
1104
|
),
|
|
1105
|
+
"aria-selected": props.rowSelection ? isSelected : void 0,
|
|
1106
|
+
tabindex: props.interactiveRows ? 0 : void 0,
|
|
1107
|
+
// Delegated mouse click stays on tbody; add per-row keyboard activation.
|
|
1108
|
+
onKeydown: props.interactiveRows ? (e) => {
|
|
1109
|
+
if (e.target !== e.currentTarget) return;
|
|
1110
|
+
if (_tigercatcore.isActivationKey.call(void 0, e)) {
|
|
1111
|
+
e.preventDefault();
|
|
1112
|
+
ctx.handleRowClick(record, index, key);
|
|
1113
|
+
}
|
|
1114
|
+
} : void 0,
|
|
1101
1115
|
draggable: props.rowDraggable ? "true" : void 0
|
|
1102
1116
|
},
|
|
1103
1117
|
cells
|
|
1104
1118
|
);
|
|
1105
1119
|
if (props.expandable && isExpanded && isRowExpandable) {
|
|
1106
|
-
const expandedContent = _optionalChain([slots, 'access',
|
|
1120
|
+
const expandedContent = _optionalChain([slots, 'access', _79 => _79["expanded-row"], 'optionalCall', _80 => _80({ record, index })]) || (props.expandable.expandedRowRender ? props.expandable.expandedRowRender(record, index) : null);
|
|
1107
1121
|
const expandedRow = _vue.h.call(void 0,
|
|
1108
1122
|
"tr",
|
|
1109
1123
|
{
|
|
@@ -1152,6 +1166,36 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1152
1166
|
}
|
|
1153
1167
|
return _vue.h.call(void 0, "tbody", delegatedBodyHandlers, groupRows);
|
|
1154
1168
|
}
|
|
1169
|
+
const vw = props.virtualWindow;
|
|
1170
|
+
if (vw && vw.endIndex >= vw.startIndex) {
|
|
1171
|
+
const windowed = [];
|
|
1172
|
+
if (vw.topPad > 0) {
|
|
1173
|
+
windowed.push(
|
|
1174
|
+
_vue.h.call(void 0, "tr", { key: "virtual-top", "aria-hidden": "true" }, [
|
|
1175
|
+
_vue.h.call(void 0, "td", {
|
|
1176
|
+
colspan: ctx.totalColumnCount.value,
|
|
1177
|
+
style: { height: `${vw.topPad}px`, padding: 0 }
|
|
1178
|
+
})
|
|
1179
|
+
])
|
|
1180
|
+
);
|
|
1181
|
+
}
|
|
1182
|
+
for (let index = vw.startIndex; index <= vw.endIndex; index++) {
|
|
1183
|
+
const result = renderDataRow(ctx.paginatedData.value[index], index);
|
|
1184
|
+
if (Array.isArray(result)) windowed.push(...result);
|
|
1185
|
+
else windowed.push(result);
|
|
1186
|
+
}
|
|
1187
|
+
if (vw.bottomPad > 0) {
|
|
1188
|
+
windowed.push(
|
|
1189
|
+
_vue.h.call(void 0, "tr", { key: "virtual-bottom", "aria-hidden": "true" }, [
|
|
1190
|
+
_vue.h.call(void 0, "td", {
|
|
1191
|
+
colspan: ctx.totalColumnCount.value,
|
|
1192
|
+
style: { height: `${vw.bottomPad}px`, padding: 0 }
|
|
1193
|
+
})
|
|
1194
|
+
])
|
|
1195
|
+
);
|
|
1196
|
+
}
|
|
1197
|
+
return _vue.h.call(void 0, "tbody", delegatedBodyHandlers, windowed);
|
|
1198
|
+
}
|
|
1155
1199
|
const rows = ctx.paginatedData.value.flatMap((record, index) => renderDataRow(record, index));
|
|
1156
1200
|
return _vue.h.call(void 0, "tbody", delegatedBodyHandlers, rows);
|
|
1157
1201
|
}
|
|
@@ -1160,7 +1204,7 @@ function renderTableBody(ctx, props, slots) {
|
|
|
1160
1204
|
|
|
1161
1205
|
|
|
1162
1206
|
function renderSummaryRow(ctx, props) {
|
|
1163
|
-
if (!_optionalChain([props, 'access',
|
|
1207
|
+
if (!_optionalChain([props, 'access', _81 => _81.summaryRow, 'optionalAccess', _82 => _82.show])) return null;
|
|
1164
1208
|
const emptyCells = [];
|
|
1165
1209
|
if (props.rowSelection) {
|
|
1166
1210
|
emptyCells.push(_vue.h.call(void 0, "td", { class: _tigercatcore.getTableCellClasses.call(void 0, props.size, "left") }));
|
|
@@ -1205,9 +1249,9 @@ function renderPagination(ctx, props, view) {
|
|
|
1205
1249
|
const { totalPages, startIndex, endIndex, hasNext, hasPrev } = ctx.paginationInfo.value;
|
|
1206
1250
|
const paginationConfig = props.pagination;
|
|
1207
1251
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.value.length;
|
|
1208
|
-
const locale = _optionalChain([view, 'optionalAccess',
|
|
1252
|
+
const locale = _optionalChain([view, 'optionalAccess', _83 => _83.disableI18n]) ? void 0 : _optionalChain([view, 'optionalAccess', _84 => _84.locale]);
|
|
1209
1253
|
const labels = _tigercatcore.getPaginationLabels.call(void 0, locale);
|
|
1210
|
-
const localeCode = _optionalChain([locale, 'optionalAccess',
|
|
1254
|
+
const localeCode = _optionalChain([locale, 'optionalAccess', _85 => _85.locale]);
|
|
1211
1255
|
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : _tigercatcore.formatPaginationTotal.call(void 0, labels.totalText, total, [startIndex, endIndex], localeCode);
|
|
1212
1256
|
const finalPrevText = paginationConfig.prevText || labels.prevPageAriaLabel;
|
|
1213
1257
|
const finalNextText = paginationConfig.nextText || labels.nextPageAriaLabel;
|
|
@@ -1217,15 +1261,16 @@ function renderPagination(ctx, props, view) {
|
|
|
1217
1261
|
totalPages,
|
|
1218
1262
|
localeCode
|
|
1219
1263
|
);
|
|
1220
|
-
const finalPrevAriaLabel = _optionalChain([view, 'optionalAccess',
|
|
1221
|
-
const finalNextAriaLabel = _optionalChain([view, 'optionalAccess',
|
|
1222
|
-
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [
|
|
1264
|
+
const finalPrevAriaLabel = _optionalChain([view, 'optionalAccess', _86 => _86.disableI18n]) ? finalPrevText : labels.prevPageAriaLabel;
|
|
1265
|
+
const finalNextAriaLabel = _optionalChain([view, 'optionalAccess', _87 => _87.disableI18n]) ? finalNextText : labels.nextPageAriaLabel;
|
|
1266
|
+
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [
|
|
1267
|
+
10,
|
|
1268
|
+
20,
|
|
1269
|
+
50,
|
|
1270
|
+
100
|
|
1271
|
+
];
|
|
1223
1272
|
return _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ) }, [
|
|
1224
|
-
paginationConfig.showTotal !== false && _vue.h.call(void 0,
|
|
1225
|
-
"div",
|
|
1226
|
-
{ class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) },
|
|
1227
|
-
finalTotalText
|
|
1228
|
-
),
|
|
1273
|
+
paginationConfig.showTotal !== false && _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) }, finalTotalText),
|
|
1229
1274
|
_vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ) }, [
|
|
1230
1275
|
paginationConfig.showSizeChanger !== false && _vue.h.call(void 0,
|
|
1231
1276
|
"select",
|
|
@@ -1285,7 +1330,8 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1285
1330
|
props: tableProps,
|
|
1286
1331
|
emits: tableEmits,
|
|
1287
1332
|
setup(props, { emit, slots }) {
|
|
1288
|
-
const config =
|
|
1333
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
1334
|
+
const instance = _vue.getCurrentInstance.call(void 0, );
|
|
1289
1335
|
const wrapperRef = _vue.ref.call(void 0, null);
|
|
1290
1336
|
const tableRef = _vue.ref.call(void 0, null);
|
|
1291
1337
|
const measuredColumnWidths = _vue.ref.call(void 0, {});
|
|
@@ -1397,9 +1443,19 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1397
1443
|
const wrapperStyle = resolvedProps.maxHeight ? {
|
|
1398
1444
|
maxHeight: typeof resolvedProps.maxHeight === "number" ? `${resolvedProps.maxHeight}px` : resolvedProps.maxHeight
|
|
1399
1445
|
} : void 0;
|
|
1446
|
+
const virtualWindow = effectiveVirtual ? _tigercatcore.getTableVirtualWindow.call(void 0,
|
|
1447
|
+
ctx.virtualScrollTop.value,
|
|
1448
|
+
typeof resolvedProps.virtualHeight === "number" ? resolvedProps.virtualHeight : 400,
|
|
1449
|
+
resolvedProps.virtualItemHeight,
|
|
1450
|
+
ctx.paginatedData.value.length
|
|
1451
|
+
) : void 0;
|
|
1400
1452
|
const renderProps = {
|
|
1401
1453
|
...resolvedProps,
|
|
1402
|
-
emptyText: tableLabels.value.emptyText
|
|
1454
|
+
emptyText: tableLabels.value.emptyText,
|
|
1455
|
+
// Rows become keyboard-activable when a row-click listener is bound or
|
|
1456
|
+
// row selection is enabled (mirrors React's onRowClick/rowSelection).
|
|
1457
|
+
interactiveRows: !!resolvedProps.rowSelection || typeof _optionalChain([instance, 'optionalAccess', _88 => _88.vnode, 'access', _89 => _89.props, 'optionalAccess', _90 => _90.onRowClick]) === "function",
|
|
1458
|
+
virtualWindow
|
|
1403
1459
|
};
|
|
1404
1460
|
const shouldPinColumns = resolvedProps.columnLockable || ctx.fixedColumnsInfo.value.hasFixedColumns;
|
|
1405
1461
|
const colgroup = shouldPinColumns ? _vue.h.call(void 0,
|
|
@@ -1420,7 +1476,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1420
1476
|
const tableChildren = [
|
|
1421
1477
|
colgroup,
|
|
1422
1478
|
renderTableHeader(ctx, renderProps, slots, tableLabels.value),
|
|
1423
|
-
renderTableBody(ctx, renderProps, slots),
|
|
1479
|
+
renderTableBody(ctx, renderProps, slots, tableLabels.value),
|
|
1424
1480
|
renderSummaryRow(ctx, renderProps)
|
|
1425
1481
|
];
|
|
1426
1482
|
const tableInner = _vue.h.call(void 0,
|
|
@@ -1462,7 +1518,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1462
1518
|
},
|
|
1463
1519
|
[
|
|
1464
1520
|
_vue.h.call(void 0,
|
|
1465
|
-
|
|
1521
|
+
_chunkPFWRFHSBjs.Checkbox,
|
|
1466
1522
|
{
|
|
1467
1523
|
size: "sm",
|
|
1468
1524
|
modelValue: ctx.allSelected.value,
|
|
@@ -1483,7 +1539,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1483
1539
|
class: "rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] px-3 py-2"
|
|
1484
1540
|
},
|
|
1485
1541
|
[
|
|
1486
|
-
_vue.h.call(void 0,
|
|
1542
|
+
_vue.h.call(void 0, _chunkCFJST2X2js.Select, {
|
|
1487
1543
|
size: "sm",
|
|
1488
1544
|
modelValue: ctx.sortState.value.key && ctx.sortState.value.direction ? `${ctx.sortState.value.key}:${ctx.sortState.value.direction}` : "",
|
|
1489
1545
|
options: [
|
|
@@ -1519,7 +1575,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1519
1575
|
if (ctx.paginatedData.value.length === 0) {
|
|
1520
1576
|
cardChildren.push(
|
|
1521
1577
|
_vue.h.call(void 0, "div", { class: _tigercatcore.getTableResponsiveCardClasses.call(void 0, resolvedProps.cardPadding) }, [
|
|
1522
|
-
_vue.h.call(void 0,
|
|
1578
|
+
_vue.h.call(void 0, _chunkTYYJPEWGjs.Empty, { showImage: false, description: tableLabels.value.emptyText })
|
|
1523
1579
|
])
|
|
1524
1580
|
);
|
|
1525
1581
|
} else {
|
|
@@ -1532,7 +1588,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1532
1588
|
const { titleColumn, bodyColumns } = _tigercatcore.getCardColumns.call(void 0, ctx.displayColumns.value);
|
|
1533
1589
|
const renderCardCellContent = (column) => {
|
|
1534
1590
|
const dataKey = column.dataKey || column.key;
|
|
1535
|
-
return _nullishCoalesce(_optionalChain([slots, 'access',
|
|
1591
|
+
return _nullishCoalesce(_optionalChain([slots, 'access', _91 => _91[`cell-${column.key}`], 'optionalCall', _92 => _92({ record, index })]), () => ( (column.render ? column.render(record, index) : record[dataKey])));
|
|
1536
1592
|
};
|
|
1537
1593
|
const titleNode = titleColumn ? _vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardTitleClasses }, [
|
|
1538
1594
|
renderCardCellContent(titleColumn)
|
|
@@ -1641,7 +1697,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1641
1697
|
);
|
|
1642
1698
|
const controls = [];
|
|
1643
1699
|
if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
|
|
1644
|
-
const checkboxProps = _optionalChain([resolvedProps, 'access',
|
|
1700
|
+
const checkboxProps = _optionalChain([resolvedProps, 'access', _93 => _93.rowSelection, 'access', _94 => _94.getCheckboxProps, 'optionalCall', _95 => _95(record)]) || {};
|
|
1645
1701
|
controls.push(
|
|
1646
1702
|
_vue.h.call(void 0, "span", { onClick: (event) => event.stopPropagation() }, [
|
|
1647
1703
|
resolvedProps.rowSelection.type === "radio" ? _vue.h.call(void 0, _chunk3QV2D54Hjs.Radio, {
|
|
@@ -1651,17 +1707,17 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1651
1707
|
"aria-label": _tigercatcore.formatTableSelectRowAriaLabel.call(void 0,
|
|
1652
1708
|
tableLabels.value.selectRowAriaLabel,
|
|
1653
1709
|
index + 1,
|
|
1654
|
-
_optionalChain([tableLocale, 'access',
|
|
1710
|
+
_optionalChain([tableLocale, 'access', _96 => _96.value, 'optionalAccess', _97 => _97.locale])
|
|
1655
1711
|
),
|
|
1656
1712
|
onChange: () => ctx.handleSelectRow(key, true)
|
|
1657
|
-
}) : _vue.h.call(void 0,
|
|
1713
|
+
}) : _vue.h.call(void 0, _chunkPFWRFHSBjs.Checkbox, {
|
|
1658
1714
|
size: "sm",
|
|
1659
1715
|
modelValue: isSelected,
|
|
1660
1716
|
disabled: checkboxProps.disabled,
|
|
1661
1717
|
"aria-label": _tigercatcore.formatTableSelectRowAriaLabel.call(void 0,
|
|
1662
1718
|
tableLabels.value.selectRowAriaLabel,
|
|
1663
1719
|
index + 1,
|
|
1664
|
-
_optionalChain([tableLocale, 'access',
|
|
1720
|
+
_optionalChain([tableLocale, 'access', _98 => _98.value, 'optionalAccess', _99 => _99.locale])
|
|
1665
1721
|
),
|
|
1666
1722
|
onChange: (checked) => ctx.handleSelectRow(key, checked)
|
|
1667
1723
|
})
|
|
@@ -1700,7 +1756,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1700
1756
|
])
|
|
1701
1757
|
]
|
|
1702
1758
|
) : titleNode;
|
|
1703
|
-
const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access',
|
|
1759
|
+
const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access', _100 => _100["expanded-row"], 'optionalCall', _101 => _101({ record, index })]), () => ( _optionalChain([resolvedProps, 'access', _102 => _102.expandable, 'access', _103 => _103.expandedRowRender, 'optionalCall', _104 => _104(record, index)]))) : null;
|
|
1704
1760
|
const cardContext = {
|
|
1705
1761
|
record,
|
|
1706
1762
|
index,
|
|
@@ -1710,7 +1766,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1710
1766
|
toggleExpand: () => ctx.handleToggleExpand(key, record),
|
|
1711
1767
|
selectRow: (checked) => ctx.handleSelectRow(key, checked)
|
|
1712
1768
|
};
|
|
1713
|
-
const customCard = _nullishCoalesce(_optionalChain([slots, 'access',
|
|
1769
|
+
const customCard = _nullishCoalesce(_optionalChain([slots, 'access', _105 => _105.card, 'optionalCall', _106 => _106(cardContext)]), () => ( _optionalChain([resolvedProps, 'access', _107 => _107.renderCard, 'optionalCall', _108 => _108(cardContext)])));
|
|
1714
1770
|
const resolvedCardClassName = typeof resolvedProps.cardClassName === "function" ? resolvedProps.cardClassName(record, index) : resolvedProps.cardClassName;
|
|
1715
1771
|
return _vue.h.call(void 0,
|
|
1716
1772
|
"div",
|
|
@@ -1768,9 +1824,9 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1768
1824
|
type: "button",
|
|
1769
1825
|
class: _tigercatcore.tableExportButtonClasses,
|
|
1770
1826
|
onClick: ctx.handleExport,
|
|
1771
|
-
"aria-label": resolvedProps.exportFormat === "excel" ?
|
|
1827
|
+
"aria-label": resolvedProps.exportFormat === "excel" ? tableLabels.value.exportExcelAriaLabel : tableLabels.value.exportCsvAriaLabel
|
|
1772
1828
|
},
|
|
1773
|
-
resolvedProps.exportFormat === "excel" ?
|
|
1829
|
+
resolvedProps.exportFormat === "excel" ? tableLabels.value.exportExcelText : tableLabels.value.exportCsvText
|
|
1774
1830
|
)
|
|
1775
1831
|
]),
|
|
1776
1832
|
tableContent,
|
|
@@ -1,4 +1,8 @@
|
|
|
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; }
|
|
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/Signature.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -17,6 +21,9 @@ var _vue = require('vue');
|
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
20
27
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
21
28
|
var DEFAULT_WIDTH = 480;
|
|
22
29
|
var DEFAULT_HEIGHT = 180;
|
|
@@ -39,7 +46,8 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
39
46
|
},
|
|
40
47
|
quality: { type: Number, default: 0.92 },
|
|
41
48
|
ariaLabel: { type: String, default: "Signature pad" },
|
|
42
|
-
clearText: { type: String, default:
|
|
49
|
+
clearText: { type: String, default: void 0 },
|
|
50
|
+
locale: { type: Object, default: void 0 },
|
|
43
51
|
className: { type: String, default: void 0 },
|
|
44
52
|
style: {
|
|
45
53
|
type: Object,
|
|
@@ -48,6 +56,8 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
48
56
|
},
|
|
49
57
|
emits: ["update:modelValue", "change", "begin", "end", "clear"],
|
|
50
58
|
setup(props, { attrs, emit, expose }) {
|
|
59
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
60
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
51
61
|
const canvasRef = _vue.ref.call(void 0, null);
|
|
52
62
|
const strokes = _vue.ref.call(void 0, []);
|
|
53
63
|
const activeStroke = _vue.ref.call(void 0, null);
|
|
@@ -57,7 +67,7 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
57
67
|
const canvas = canvasRef.value;
|
|
58
68
|
const context = _optionalChain([canvas, 'optionalAccess', _ => _.getContext, 'call', _2 => _2("2d")]);
|
|
59
69
|
if (!canvas || !context) return;
|
|
60
|
-
const ratio =
|
|
70
|
+
const ratio = !_tigercatcore.isBrowser.call(void 0, ) ? 1 : window.devicePixelRatio || 1;
|
|
61
71
|
canvas.width = props.width * ratio;
|
|
62
72
|
canvas.height = props.height * ratio;
|
|
63
73
|
canvas.style.width = `${props.width}px`;
|
|
@@ -215,7 +225,7 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
215
225
|
disabled: isDisabled.value || _tigercatcore.isSignatureEmpty.call(void 0, strokes.value),
|
|
216
226
|
onClick: clear
|
|
217
227
|
},
|
|
218
|
-
props.clearText
|
|
228
|
+
_tigercatcore.resolveLocaleText.call(void 0, "Clear", props.clearText, _optionalChain([mergedLocale, 'access', _8 => _8.value, 'optionalAccess', _9 => _9.common, 'optionalAccess', _10 => _10.clearText]))
|
|
219
229
|
)
|
|
220
230
|
]) : null
|
|
221
231
|
]
|
|
@@ -27,27 +27,37 @@ import {
|
|
|
27
27
|
getMessageIconPath,
|
|
28
28
|
messageCloseIconPath,
|
|
29
29
|
normalizeStringOption,
|
|
30
|
+
createInstanceCounter,
|
|
30
31
|
isBrowser
|
|
31
32
|
} from "@expcat/tigercat-core";
|
|
32
33
|
var MESSAGE_CONTAINER_ID = "tiger-message-container";
|
|
33
34
|
var MESSAGE_CLOSE_ARIA_LABEL = "Close message";
|
|
34
35
|
var MESSAGE_CONTAINER_ROOT_ID = `${MESSAGE_CONTAINER_ID}-root`;
|
|
36
|
+
var MESSAGE_POSITIONS = [
|
|
37
|
+
"top",
|
|
38
|
+
"top-left",
|
|
39
|
+
"top-right",
|
|
40
|
+
"bottom",
|
|
41
|
+
"bottom-left",
|
|
42
|
+
"bottom-right"
|
|
43
|
+
];
|
|
35
44
|
var messageInstances = ref([]);
|
|
36
|
-
var instanceIdCounter = 0;
|
|
37
45
|
var IS_TEST_ENV = (() => {
|
|
38
46
|
const proc = globalThis.process;
|
|
39
47
|
return typeof proc !== "undefined" && proc.env?.NODE_ENV === "test";
|
|
40
48
|
})();
|
|
41
49
|
var containerApp = null;
|
|
42
|
-
|
|
43
|
-
return ++instanceIdCounter;
|
|
44
|
-
}
|
|
50
|
+
var getNextInstanceId = createInstanceCounter();
|
|
45
51
|
var MessageContainer = defineComponent({
|
|
46
52
|
name: "TigerMessageContainer",
|
|
47
53
|
props: {
|
|
48
54
|
position: {
|
|
49
55
|
type: String,
|
|
50
56
|
default: "top"
|
|
57
|
+
},
|
|
58
|
+
messages: {
|
|
59
|
+
type: Array,
|
|
60
|
+
default: () => []
|
|
51
61
|
}
|
|
52
62
|
},
|
|
53
63
|
setup(props) {
|
|
@@ -113,20 +123,33 @@ var MessageContainer = defineComponent({
|
|
|
113
123
|
"div",
|
|
114
124
|
{
|
|
115
125
|
class: containerClasses.value,
|
|
116
|
-
id: MESSAGE_CONTAINER_ID
|
|
126
|
+
id: props.position === "top" ? MESSAGE_CONTAINER_ID : `${MESSAGE_CONTAINER_ID}-${props.position}`,
|
|
117
127
|
"aria-live": "polite",
|
|
118
128
|
"aria-relevant": "additions",
|
|
129
|
+
"data-tiger-message-position": props.position,
|
|
119
130
|
"data-tiger-message-container": ""
|
|
120
131
|
},
|
|
121
|
-
IS_TEST_ENV ?
|
|
122
|
-
TransitionGroup,
|
|
123
|
-
{ name: "message" },
|
|
124
|
-
() => messageInstances.value.map(renderMessageItem)
|
|
125
|
-
)
|
|
132
|
+
IS_TEST_ENV ? props.messages.map(renderMessageItem) : h(TransitionGroup, { name: "message" }, () => props.messages.map(renderMessageItem))
|
|
126
133
|
)
|
|
127
134
|
);
|
|
128
135
|
}
|
|
129
136
|
});
|
|
137
|
+
var MessageHost = defineComponent({
|
|
138
|
+
name: "TigerMessageHost",
|
|
139
|
+
setup() {
|
|
140
|
+
return () => MESSAGE_POSITIONS.map((position) => {
|
|
141
|
+
const positionedMessages = messageInstances.value.filter(
|
|
142
|
+
(message) => message.position === position
|
|
143
|
+
);
|
|
144
|
+
if (positionedMessages.length === 0) return null;
|
|
145
|
+
return h(MessageContainer, {
|
|
146
|
+
key: position,
|
|
147
|
+
position,
|
|
148
|
+
messages: positionedMessages
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
});
|
|
130
153
|
function ensureContainer() {
|
|
131
154
|
if (!isBrowser()) {
|
|
132
155
|
return;
|
|
@@ -144,7 +167,7 @@ function ensureContainer() {
|
|
|
144
167
|
rootEl.id = MESSAGE_CONTAINER_ROOT_ID;
|
|
145
168
|
document.body.appendChild(rootEl);
|
|
146
169
|
}
|
|
147
|
-
containerApp = createApp(
|
|
170
|
+
containerApp = createApp(MessageHost);
|
|
148
171
|
containerApp.mount(rootEl);
|
|
149
172
|
}
|
|
150
173
|
function addMessage(config) {
|
|
@@ -157,7 +180,8 @@ function addMessage(config) {
|
|
|
157
180
|
closable: config.closable || false,
|
|
158
181
|
onClose: config.onClose,
|
|
159
182
|
icon: config.icon,
|
|
160
|
-
className: config.className
|
|
183
|
+
className: config.className,
|
|
184
|
+
position: config.position ?? "top"
|
|
161
185
|
};
|
|
162
186
|
messageInstances.value.push(instance);
|
|
163
187
|
ensureContainer();
|