@expcat/tigercat-vue 1.5.0 → 2.0.0-preview.1
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-MF7BKYGN.mjs → chunk-2QWGVJW6.mjs} +29 -15
- package/dist/{chunk-WWB7VKKH.mjs → chunk-36WSYHJU.mjs} +53 -7
- package/dist/chunk-4RKBXGHQ.mjs +52 -0
- package/dist/{chunk-ALFEFDVG.mjs → chunk-4ZKSTL5P.mjs} +47 -21
- package/dist/{chunk-YZP4K6KI.mjs → chunk-6BDDX2R4.mjs} +9 -9
- package/dist/{chunk-Y4V7BOVR.mjs → chunk-6TTICJR4.mjs} +9 -7
- package/dist/{chunk-S4Z77VIB.mjs → chunk-AZXS4QWC.mjs} +8 -8
- package/dist/{chunk-RD2NFAB6.mjs → chunk-BGO2ILHM.mjs} +9 -9
- package/dist/{chunk-6CS3EEQU.mjs → chunk-BNNTDSLJ.mjs} +83 -0
- package/dist/{chunk-5CHHWMES.mjs → chunk-DOVBKVTB.mjs} +1 -1
- package/dist/chunk-ESBUNMIG.mjs +49 -0
- package/dist/{chunk-KJ6VISRW.mjs → chunk-EUSODI5E.mjs} +1 -1
- package/dist/{chunk-LHOSPU6V.mjs → chunk-FDKJOVXG.mjs} +9 -18
- package/dist/{chunk-LHZ5MRFQ.mjs → chunk-FHJ3R57L.mjs} +9 -9
- package/dist/{chunk-PMN2MQ26.mjs → chunk-FIVVKBBF.mjs} +3 -3
- package/dist/{chunk-JGW7R7AZ.mjs → chunk-G7MOTNJO.mjs} +8 -8
- package/dist/{chunk-WSUCJHJX.mjs → chunk-GAEO66NY.mjs} +2 -2
- package/dist/chunk-GMIKUE67.mjs +201 -0
- package/dist/chunk-GTFAC625.mjs +120 -0
- package/dist/{chunk-LSWTZHBV.mjs → chunk-HGXD57QM.mjs} +23 -2
- package/dist/{chunk-X43QLJ5E.mjs → chunk-IGT4QB7O.mjs} +4 -4
- package/dist/{chunk-3VFZB5ZK.mjs → chunk-IQNZ4UEA.mjs} +10 -13
- package/dist/{chunk-QH3YF5B6.mjs → chunk-JMVALNIO.mjs} +52 -25
- package/dist/{chunk-UTGFGMZT.mjs → chunk-JPCMI3A4.mjs} +8 -8
- package/dist/{chunk-SMCOBLF6.mjs → chunk-KBJANUZZ.mjs} +6 -6
- package/dist/{chunk-M4EP4OVR.mjs → chunk-KE6RGD4Y.mjs} +2 -1
- package/dist/chunk-KIPTVKU2.mjs +104 -0
- package/dist/{chunk-LGDJDBE3.mjs → chunk-KR3D2JOA.mjs} +4 -7
- package/dist/{chunk-VYBRLIKF.mjs → chunk-MJRFB6ZA.mjs} +8 -8
- package/dist/{chunk-UKMOWUYH.mjs → chunk-MYKKKVGK.mjs} +2 -2
- package/dist/{chunk-3AF4VRCD.mjs → chunk-N3C6YI7I.mjs} +8 -8
- package/dist/{chunk-57VPT3MN.mjs → chunk-NYWIBDO6.mjs} +8 -8
- package/dist/{chunk-PJX2DHO5.mjs → chunk-O4F75KHL.mjs} +8 -8
- package/dist/{chunk-CIDINFA2.mjs → chunk-ODDPVS27.mjs} +35 -10
- package/dist/{chunk-64EZRIJL.mjs → chunk-QD5ZCKPR.mjs} +1 -1
- package/dist/{chunk-4RK5BDGR.mjs → chunk-RAO7ZJWR.mjs} +9 -9
- package/dist/{chunk-G2LB4QCL.mjs → chunk-SPFL55TF.mjs} +4 -4
- package/dist/{chunk-6OQLZCQK.mjs → chunk-SYRRMZT2.mjs} +1 -1
- package/dist/{chunk-IJL7YYT7.mjs → chunk-TQDN67YN.mjs} +29 -3
- package/dist/{chunk-SC3WTLKG.mjs → chunk-UD4FNMJN.mjs} +22 -5
- package/dist/{chunk-CVFXUYH2.mjs → chunk-VFUBOKGT.mjs} +4 -4
- package/dist/{chunk-XMGNMKWW.mjs → chunk-VMYV5EWI.mjs} +4 -3
- package/dist/{chunk-OSPHI5TV.mjs → chunk-W7X5ZHJ3.mjs} +4 -9
- package/dist/{chunk-TRN5PL5D.mjs → chunk-WYJ5WOT2.mjs} +28 -12
- package/dist/chunk-Y2HO4IBQ.mjs +150 -0
- package/dist/{chunk-XJ5VGC5V.mjs → chunk-YJSWHGAR.mjs} +24 -10
- package/dist/{chunk-N2QGYEOQ.mjs → chunk-YSKG5FSX.mjs} +1 -1
- package/dist/{chunk-BRGQXIKA.mjs → chunk-Z4NJJ7NI.mjs} +9 -9
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/AreaChart.d.mts +6 -6
- package/dist/components/AreaChart.mjs +5 -5
- package/dist/components/AutoComplete.d.mts +28 -9
- package/dist/components/AutoComplete.mjs +1 -1
- package/dist/components/BackTop.d.mts +28 -1
- package/dist/components/BackTop.mjs +1 -1
- package/dist/components/BarChart.mjs +5 -5
- package/dist/components/Breadcrumb.d.mts +1 -1
- package/dist/components/Card.d.mts +7 -7
- package/dist/components/Carousel.d.mts +24 -7
- package/dist/components/Carousel.mjs +1 -1
- package/dist/components/Cascader.d.mts +38 -16
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartTooltip.d.mts +4 -4
- package/dist/components/ChartTooltip.mjs +1 -1
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/Checkbox.d.mts +8 -8
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/CheckboxGroup.d.mts +8 -8
- package/dist/components/ColorPicker.d.mts +4 -4
- package/dist/components/ColorSwatch.d.mts +4 -4
- package/dist/components/CommentThread.mjs +1 -1
- package/dist/components/CropUpload.mjs +2 -2
- package/dist/components/DataTableWithToolbar.d.mts +1 -11
- package/dist/components/DataTableWithToolbar.mjs +8 -8
- package/dist/components/DatePicker.d.mts +7 -7
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/Descriptions.d.mts +7 -7
- package/dist/components/DonutChart.d.mts +11 -11
- package/dist/components/DonutChart.mjs +5 -5
- package/dist/components/Drawer.d.mts +8 -27
- package/dist/components/Drawer.mjs +1 -1
- package/dist/components/Dropdown.d.mts +69 -2
- package/dist/components/Dropdown.mjs +3 -1
- package/dist/components/FloatButton.d.mts +31 -1
- package/dist/components/FloatButton.mjs +1 -1
- package/dist/components/Form.d.mts +8 -8
- package/dist/components/FormItem.d.mts +4 -4
- package/dist/components/FunnelChart.mjs +4 -4
- package/dist/components/GaugeChart.mjs +2 -2
- package/dist/components/HeatmapChart.mjs +3 -3
- package/dist/components/Image.mjs +3 -3
- package/dist/components/ImageGroup.d.mts +2 -2
- package/dist/components/ImageGroup.mjs +2 -2
- package/dist/components/ImagePreview.d.mts +22 -12
- package/dist/components/ImagePreview.mjs +1 -1
- package/dist/components/ImageViewer.d.mts +6 -16
- package/dist/components/ImageViewer.mjs +1 -1
- package/dist/components/Input.d.mts +5 -5
- package/dist/components/InputGroup.d.mts +6 -6
- package/dist/components/InputNumber.d.mts +5 -5
- package/dist/components/LineChart.mjs +5 -5
- package/dist/components/List.d.mts +7 -7
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Message.d.mts +4 -39
- package/dist/components/Message.mjs +139 -4
- package/dist/components/{Message.d.ts → MessageContainer.d.mts} +5 -18
- package/dist/components/MessageContainer.mjs +9 -0
- package/dist/components/MessageRoot.d.mts +9 -0
- package/dist/components/MessageRoot.mjs +6 -0
- package/dist/components/Modal.d.mts +2 -20
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Notification.d.mts +4 -29
- package/dist/components/Notification.mjs +189 -4
- package/dist/components/{Notification.d.ts → NotificationContainer.d.mts} +15 -17
- package/dist/components/NotificationContainer.mjs +9 -0
- package/dist/components/NotificationRoot.d.mts +9 -0
- package/dist/components/NotificationRoot.mjs +6 -0
- package/dist/components/PieChart.mjs +4 -4
- package/dist/components/Popconfirm.mjs +2 -2
- package/dist/components/Popover.mjs +2 -2
- package/dist/components/RadarChart.mjs +4 -4
- package/dist/components/Radio.d.mts +15 -15
- package/dist/components/Radio.mjs +2 -2
- package/dist/components/RadioGroup.d.mts +16 -16
- package/dist/components/RadioGroup.mjs +1 -1
- package/dist/components/ScatterChart.mjs +5 -5
- package/dist/components/Segmented.d.mts +4 -4
- package/dist/components/Select.d.mts +37 -36
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Slider.d.mts +7 -7
- package/dist/components/Space.d.mts +11 -11
- package/dist/components/Statistic.d.mts +4 -4
- package/dist/components/Stepper.d.mts +4 -4
- package/dist/components/SunburstChart.mjs +4 -4
- package/dist/components/Switch.d.mts +14 -14
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Table.d.mts +0 -10
- package/dist/components/Table.mjs +5 -5
- package/dist/components/Textarea.d.mts +7 -7
- package/dist/components/TimePicker.d.mts +9 -9
- package/dist/components/TimePicker.mjs +1 -1
- package/dist/components/Tooltip.mjs +2 -2
- package/dist/components/Transfer.d.mts +31 -11
- package/dist/components/Transfer.mjs +1 -1
- package/dist/components/TreeMapChart.mjs +4 -4
- package/dist/components/TreeSelect.d.mts +32 -12
- package/dist/components/TreeSelect.mjs +1 -1
- package/dist/components/VirtualTable.d.mts +24 -33
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/composables/useChartInteraction.d.mts +84 -0
- package/dist/composables/useChartInteraction.mjs +6 -0
- package/dist/composables/useDrag.d.mts +40 -0
- package/dist/composables/useDrag.mjs +6 -0
- package/dist/composables/useFormController.d.mts +23 -0
- package/dist/composables/useFormController.mjs +6 -0
- package/dist/index.d.mts +11 -144
- package/dist/index.mjs +2155 -826
- package/package.json +743 -13
- package/dist/chunk-2DC3BMED.js +0 -92
- package/dist/chunk-2FYVPPTD.js +0 -315
- package/dist/chunk-2RCBEBBR.js +0 -376
- package/dist/chunk-2VOZFFW6.js +0 -138
- package/dist/chunk-37LDNXLO.js +0 -243
- package/dist/chunk-3QV2D54H.js +0 -207
- package/dist/chunk-43BLH7DE.js +0 -166
- package/dist/chunk-54VVFMYI.js +0 -69
- package/dist/chunk-55BSMMUN.js +0 -202
- package/dist/chunk-57MJTNDL.js +0 -128
- package/dist/chunk-5FTM7R3P.js +0 -142
- package/dist/chunk-5PVDNJA5.js +0 -103
- package/dist/chunk-5PXTMXXS.js +0 -159
- package/dist/chunk-5UOAWXOQ.js +0 -243
- package/dist/chunk-67RSRWWY.js +0 -451
- package/dist/chunk-6WFFP4K2.mjs +0 -325
- package/dist/chunk-72DDCIVL.js +0 -68
- package/dist/chunk-75TB3YIJ.js +0 -124
- package/dist/chunk-7ADONGSB.js +0 -49
- package/dist/chunk-7CR6MLD5.js +0 -141
- package/dist/chunk-7FWZIAFP.js +0 -482
- package/dist/chunk-7GYYIDMA.js +0 -325
- package/dist/chunk-7J7JIIHX.js +0 -230
- package/dist/chunk-7KYGVEHF.js +0 -364
- package/dist/chunk-7RMBEWN2.js +0 -360
- package/dist/chunk-A7FN3S4I.js +0 -150
- package/dist/chunk-AF7JZUTA.js +0 -755
- package/dist/chunk-ANQRW442.js +0 -468
- package/dist/chunk-APBWQGXW.js +0 -250
- package/dist/chunk-AWXSJNNP.js +0 -267
- package/dist/chunk-AYQER5UD.js +0 -96
- package/dist/chunk-BNUR72YP.js +0 -142
- package/dist/chunk-BPJOIFND.js +0 -305
- package/dist/chunk-BV6XWFRF.js +0 -360
- package/dist/chunk-BYNTPLGC.js +0 -79
- package/dist/chunk-BZ56UKUK.js +0 -483
- package/dist/chunk-CFJST2X2.js +0 -808
- package/dist/chunk-CGZFRSI5.mjs +0 -98
- package/dist/chunk-CTAQ5WEN.js +0 -95
- package/dist/chunk-CWNEDREV.js +0 -165
- package/dist/chunk-D43IFX7J.js +0 -196
- package/dist/chunk-D6Y3KVJF.js +0 -211
- package/dist/chunk-DE5WMG6P.js +0 -291
- package/dist/chunk-DYSLYJ2W.js +0 -92
- package/dist/chunk-E36I27WK.js +0 -362
- package/dist/chunk-EG7XX6U4.js +0 -98
- package/dist/chunk-EQW6IUHG.js +0 -163
- package/dist/chunk-ETTYERGO.js +0 -83
- package/dist/chunk-F5TZIFMW.js +0 -145
- package/dist/chunk-FC7RXQTM.js +0 -153
- package/dist/chunk-GBYNY77G.js +0 -342
- package/dist/chunk-GJ5HJOQP.js +0 -859
- package/dist/chunk-GV3LRZSR.js +0 -257
- package/dist/chunk-H2XEJHGR.js +0 -327
- package/dist/chunk-H7GAWNOW.js +0 -787
- package/dist/chunk-HA5QZ76M.js +0 -143
- package/dist/chunk-HBFFINAI.js +0 -58
- package/dist/chunk-HI45DI7S.js +0 -404
- package/dist/chunk-IUPNDTUF.js +0 -119
- package/dist/chunk-IXTYS3EK.js +0 -140
- package/dist/chunk-J77GQQEC.js +0 -318
- package/dist/chunk-JCMGBKS6.js +0 -59
- package/dist/chunk-JCPTFBLY.js +0 -112
- package/dist/chunk-JICPYKCT.js +0 -297
- package/dist/chunk-JKZ5ZRDG.js +0 -136
- package/dist/chunk-JMRR4KDB.js +0 -736
- package/dist/chunk-JTVFVAM3.js +0 -47
- package/dist/chunk-K2DJDJZR.js +0 -139
- package/dist/chunk-K2NJI5MW.js +0 -67
- package/dist/chunk-K3CIXMN4.js +0 -212
- package/dist/chunk-K6DYTMBE.js +0 -111
- package/dist/chunk-KGDRA475.js +0 -119
- package/dist/chunk-KLOUOXNA.js +0 -111
- package/dist/chunk-KTNT2JHB.js +0 -351
- package/dist/chunk-LKRT27JW.js +0 -149
- package/dist/chunk-LODEICSN.js +0 -253
- package/dist/chunk-LPHDX3UU.js +0 -279
- package/dist/chunk-LUBUJUSH.js +0 -45
- package/dist/chunk-MNVMGJUF.js +0 -341
- package/dist/chunk-MPVL53GP.js +0 -472
- package/dist/chunk-MQ23PX3S.js +0 -218
- package/dist/chunk-MSKAWM7K.js +0 -73
- package/dist/chunk-NCLUMDZB.js +0 -100
- package/dist/chunk-NQYE64IF.js +0 -130
- package/dist/chunk-OOMZBTHW.js +0 -328
- package/dist/chunk-OQBWITHA.js +0 -387
- package/dist/chunk-OQOJI5Q7.js +0 -158
- package/dist/chunk-OVXDO6KJ.js +0 -426
- package/dist/chunk-OXIODAJS.js +0 -192
- package/dist/chunk-PFWRFHSB.js +0 -164
- package/dist/chunk-PFZFPN7M.js +0 -383
- package/dist/chunk-PH6ERFC7.js +0 -545
- package/dist/chunk-QKJATAJP.js +0 -788
- package/dist/chunk-QOMWROWE.js +0 -136
- package/dist/chunk-QY6PYAJA.js +0 -194
- package/dist/chunk-RAUERIPS.js +0 -100
- package/dist/chunk-RBWJSHKR.js +0 -233
- package/dist/chunk-SIVMTPDY.js +0 -741
- package/dist/chunk-SJSZHQWX.js +0 -486
- package/dist/chunk-SOSHYDIX.js +0 -547
- package/dist/chunk-SWOQMMOT.js +0 -60
- package/dist/chunk-T4DF24UV.js +0 -114
- package/dist/chunk-TCB3WFYM.js +0 -374
- package/dist/chunk-TGHB5XST.js +0 -91
- package/dist/chunk-TLXEFLPA.js +0 -39
- package/dist/chunk-TNKULOHK.js +0 -476
- package/dist/chunk-TOD67L2E.js +0 -182
- package/dist/chunk-TXMPLBWW.js +0 -213
- package/dist/chunk-TYYJPEWG.js +0 -119
- package/dist/chunk-U36NBQWP.js +0 -192
- package/dist/chunk-U5TSCS34.js +0 -527
- package/dist/chunk-UFY654LD.js +0 -1005
- package/dist/chunk-UG6O4F2A.js +0 -150
- package/dist/chunk-UHVUKLHF.js +0 -112
- package/dist/chunk-UI7N2ZDU.js +0 -142
- package/dist/chunk-UKR3IJF3.js +0 -374
- package/dist/chunk-VDKUKZS2.js +0 -1866
- package/dist/chunk-VH2GDZBH.js +0 -284
- package/dist/chunk-VJ72Y54M.js +0 -241
- package/dist/chunk-VJJ7RAC6.mjs +0 -257
- package/dist/chunk-VQXDF6CB.js +0 -192
- package/dist/chunk-VUGFSHU2.js +0 -164
- package/dist/chunk-VXRFE72I.js +0 -852
- package/dist/chunk-W34IV4EC.js +0 -401
- package/dist/chunk-WF7KVMBY.js +0 -380
- package/dist/chunk-X73BZFBH.js +0 -238
- package/dist/chunk-X7PQRYUS.js +0 -697
- package/dist/chunk-XH4ZZ6KJ.js +0 -427
- package/dist/chunk-XMCYKHT4.js +0 -307
- package/dist/chunk-XSJKSUED.js +0 -139
- package/dist/chunk-XSMDZOBF.js +0 -154
- package/dist/chunk-XTMGF5YP.js +0 -103
- package/dist/chunk-XUOGT4HG.js +0 -76
- package/dist/chunk-XV6IYXAP.js +0 -140
- package/dist/chunk-XVNN6D55.js +0 -394
- package/dist/chunk-YI25YL5W.js +0 -283
- package/dist/chunk-YLMQZR6F.js +0 -430
- package/dist/chunk-YMUYN4IR.js +0 -434
- package/dist/chunk-YTE45DNC.js +0 -571
- package/dist/chunk-YVSINGGE.js +0 -320
- package/dist/chunk-ZHSXICH7.js +0 -264
- package/dist/chunk-ZMGNQKXL.js +0 -233
- package/dist/chunk-ZNVQ2OFX.js +0 -46
- package/dist/components/ActivityFeed.d.ts +0 -124
- package/dist/components/ActivityFeed.js +0 -18
- package/dist/components/Affix.d.ts +0 -75
- package/dist/components/Affix.js +0 -8
- package/dist/components/Alert.d.ts +0 -221
- package/dist/components/Alert.js +0 -9
- package/dist/components/Anchor.d.ts +0 -251
- package/dist/components/Anchor.js +0 -12
- package/dist/components/AnchorLink.d.mts +0 -8
- package/dist/components/AnchorLink.d.ts +0 -8
- package/dist/components/AnchorLink.js +0 -10
- package/dist/components/AnchorLink.mjs +0 -10
- package/dist/components/AreaChart.d.ts +0 -443
- package/dist/components/AreaChart.js +0 -15
- package/dist/components/AutoComplete.d.ts +0 -117
- package/dist/components/AutoComplete.js +0 -9
- package/dist/components/Avatar.d.ts +0 -162
- package/dist/components/Avatar.js +0 -9
- package/dist/components/AvatarGroup.d.ts +0 -49
- package/dist/components/AvatarGroup.js +0 -10
- package/dist/components/BackTop.d.ts +0 -88
- package/dist/components/BackTop.js +0 -8
- package/dist/components/Badge.d.ts +0 -116
- package/dist/components/Badge.js +0 -9
- package/dist/components/BarChart.d.ts +0 -400
- package/dist/components/BarChart.js +0 -15
- package/dist/components/Breadcrumb.d.ts +0 -235
- package/dist/components/Breadcrumb.js +0 -12
- package/dist/components/BreadcrumbItem.d.mts +0 -8
- package/dist/components/BreadcrumbItem.d.ts +0 -8
- package/dist/components/BreadcrumbItem.js +0 -10
- package/dist/components/BreadcrumbItem.mjs +0 -10
- package/dist/components/Button.d.ts +0 -146
- package/dist/components/Button.js +0 -9
- package/dist/components/ButtonGroup.d.ts +0 -42
- package/dist/components/ButtonGroup.js +0 -10
- package/dist/components/Calendar.d.ts +0 -78
- package/dist/components/Calendar.js +0 -9
- package/dist/components/Card.d.ts +0 -170
- package/dist/components/Card.js +0 -8
- package/dist/components/Carousel.d.ts +0 -247
- package/dist/components/Carousel.js +0 -8
- package/dist/components/Cascader.d.ts +0 -143
- package/dist/components/Cascader.js +0 -9
- package/dist/components/ChartAxis.d.ts +0 -110
- package/dist/components/ChartAxis.js +0 -8
- package/dist/components/ChartCanvas.d.ts +0 -69
- package/dist/components/ChartCanvas.js +0 -8
- package/dist/components/ChartGrid.d.ts +0 -109
- package/dist/components/ChartGrid.js +0 -8
- package/dist/components/ChartLegend.d.ts +0 -74
- package/dist/components/ChartLegend.js +0 -8
- package/dist/components/ChartSeries.d.ts +0 -52
- package/dist/components/ChartSeries.js +0 -8
- package/dist/components/ChartTooltip.d.ts +0 -58
- package/dist/components/ChartTooltip.js +0 -8
- package/dist/components/ChatWindow.d.ts +0 -255
- package/dist/components/ChatWindow.js +0 -18
- package/dist/components/Checkbox.d.ts +0 -144
- package/dist/components/Checkbox.js +0 -9
- package/dist/components/CheckboxGroup.d.ts +0 -126
- package/dist/components/CheckboxGroup.js +0 -10
- package/dist/components/Code.d.ts +0 -71
- package/dist/components/Code.js +0 -8
- package/dist/components/CodeEditor.d.ts +0 -183
- package/dist/components/CodeEditor.js +0 -8
- package/dist/components/Col.d.ts +0 -52
- package/dist/components/Col.js +0 -7
- package/dist/components/Collapse.d.ts +0 -162
- package/dist/components/Collapse.js +0 -10
- package/dist/components/CollapsePanel.d.ts +0 -112
- package/dist/components/CollapsePanel.js +0 -9
- package/dist/components/ColorPicker.d.ts +0 -70
- package/dist/components/ColorPicker.js +0 -8
- package/dist/components/ColorSwatch.d.ts +0 -79
- package/dist/components/ColorSwatch.js +0 -8
- package/dist/components/CommentThread.d.ts +0 -225
- package/dist/components/CommentThread.js +0 -17
- package/dist/components/ConfigProvider.d.ts +0 -76
- package/dist/components/ConfigProvider.js +0 -14
- package/dist/components/Container.d.ts +0 -86
- package/dist/components/Container.js +0 -8
- package/dist/components/Content.d.ts +0 -63
- package/dist/components/Content.js +0 -8
- package/dist/components/Countdown.d.ts +0 -107
- package/dist/components/Countdown.js +0 -8
- package/dist/components/CronEditor.d.ts +0 -80
- package/dist/components/CronEditor.js +0 -8
- package/dist/components/CropUpload.d.ts +0 -107
- package/dist/components/CropUpload.js +0 -14
- package/dist/components/DataTableWithToolbar.d.ts +0 -588
- package/dist/components/DataTableWithToolbar.js +0 -23
- package/dist/components/DatePicker.d.ts +0 -333
- package/dist/components/DatePicker.js +0 -10
- package/dist/components/Descriptions.d.ts +0 -204
- package/dist/components/Descriptions.js +0 -8
- package/dist/components/Divider.d.ts +0 -50
- package/dist/components/Divider.js +0 -8
- package/dist/components/DonutChart.d.ts +0 -332
- package/dist/components/DonutChart.js +0 -14
- package/dist/components/Drawer.d.ts +0 -396
- package/dist/components/Drawer.js +0 -10
- package/dist/components/Dropdown.d.ts +0 -241
- package/dist/components/Dropdown.js +0 -13
- package/dist/components/DropdownItem.d.mts +0 -73
- package/dist/components/DropdownItem.d.ts +0 -73
- package/dist/components/DropdownItem.js +0 -10
- package/dist/components/DropdownItem.mjs +0 -10
- package/dist/components/DropdownMenu.d.mts +0 -8
- package/dist/components/DropdownMenu.d.ts +0 -8
- package/dist/components/DropdownMenu.js +0 -11
- package/dist/components/DropdownMenu.mjs +0 -11
- package/dist/components/Empty.d.ts +0 -74
- package/dist/components/Empty.js +0 -9
- package/dist/components/FileManager.d.ts +0 -171
- package/dist/components/FileManager.js +0 -9
- package/dist/components/FloatButton.d.ts +0 -156
- package/dist/components/FloatButton.js +0 -10
- package/dist/components/Footer.d.ts +0 -63
- package/dist/components/Footer.js +0 -8
- package/dist/components/Form.d.ts +0 -291
- package/dist/components/Form.js +0 -11
- package/dist/components/FormItem.d.ts +0 -152
- package/dist/components/FormItem.js +0 -10
- package/dist/components/FormWizard.d.ts +0 -206
- package/dist/components/FormWizard.js +0 -12
- package/dist/components/FunnelChart.d.ts +0 -221
- package/dist/components/FunnelChart.js +0 -13
- package/dist/components/Gantt.d.ts +0 -231
- package/dist/components/Gantt.js +0 -9
- package/dist/components/GaugeChart.d.ts +0 -197
- package/dist/components/GaugeChart.js +0 -10
- package/dist/components/Header.d.ts +0 -82
- package/dist/components/Header.js +0 -8
- package/dist/components/HeatmapChart.d.ts +0 -233
- package/dist/components/HeatmapChart.js +0 -11
- package/dist/components/Icon.d.ts +0 -68
- package/dist/components/Icon.js +0 -8
- package/dist/components/Image.d.ts +0 -129
- package/dist/components/Image.js +0 -14
- package/dist/components/ImageAnnotation.d.ts +0 -189
- package/dist/components/ImageAnnotation.js +0 -9
- package/dist/components/ImageCropper.d.ts +0 -116
- package/dist/components/ImageCropper.js +0 -9
- package/dist/components/ImageGroup.d.ts +0 -30
- package/dist/components/ImageGroup.js +0 -12
- package/dist/components/ImagePreview.d.ts +0 -108
- package/dist/components/ImagePreview.js +0 -9
- package/dist/components/ImageViewer.d.ts +0 -137
- package/dist/components/ImageViewer.js +0 -9
- package/dist/components/InfiniteScroll.d.ts +0 -116
- package/dist/components/InfiniteScroll.js +0 -9
- package/dist/components/Input.d.ts +0 -268
- package/dist/components/Input.js +0 -9
- package/dist/components/InputGroup.d.ts +0 -77
- package/dist/components/InputGroup.js +0 -12
- package/dist/components/InputNumber.d.ts +0 -190
- package/dist/components/InputNumber.js +0 -9
- package/dist/components/Kanban.d.ts +0 -200
- package/dist/components/Kanban.js +0 -10
- package/dist/components/Layout.d.ts +0 -45
- package/dist/components/Layout.js +0 -8
- package/dist/components/LineChart.d.ts +0 -434
- package/dist/components/LineChart.js +0 -15
- package/dist/components/Link.d.ts +0 -89
- package/dist/components/Link.js +0 -8
- package/dist/components/List.d.ts +0 -342
- package/dist/components/List.js +0 -10
- package/dist/components/Loading.d.ts +0 -133
- package/dist/components/Loading.js +0 -10
- package/dist/components/MarkdownEditor.d.ts +0 -149
- package/dist/components/MarkdownEditor.js +0 -8
- package/dist/components/Mentions.d.ts +0 -88
- package/dist/components/Mentions.js +0 -8
- package/dist/components/Menu.d.ts +0 -554
- package/dist/components/Menu.js +0 -17
- package/dist/components/MenuItem.d.mts +0 -8
- package/dist/components/MenuItem.d.ts +0 -8
- package/dist/components/MenuItem.js +0 -11
- package/dist/components/MenuItem.mjs +0 -11
- package/dist/components/MenuItemGroup.d.mts +0 -8
- package/dist/components/MenuItemGroup.d.ts +0 -8
- package/dist/components/MenuItemGroup.js +0 -11
- package/dist/components/MenuItemGroup.mjs +0 -11
- package/dist/components/Message.js +0 -11
- package/dist/components/Modal.d.ts +0 -381
- package/dist/components/Modal.js +0 -12
- package/dist/components/Notification.js +0 -11
- package/dist/components/NotificationCenter.d.ts +0 -213
- package/dist/components/NotificationCenter.js +0 -18
- package/dist/components/NumberKeyboard.d.ts +0 -154
- package/dist/components/NumberKeyboard.js +0 -9
- package/dist/components/OrgChart.d.ts +0 -195
- package/dist/components/OrgChart.js +0 -9
- package/dist/components/Pagination.d.ts +0 -392
- package/dist/components/Pagination.js +0 -9
- package/dist/components/PieChart.d.ts +0 -305
- package/dist/components/PieChart.js +0 -13
- package/dist/components/Popconfirm.d.ts +0 -173
- package/dist/components/Popconfirm.js +0 -10
- package/dist/components/Popover.d.ts +0 -138
- package/dist/components/Popover.js +0 -10
- package/dist/components/PrintLayout.d.ts +0 -97
- package/dist/components/PrintLayout.js +0 -10
- package/dist/components/Progress.d.ts +0 -150
- package/dist/components/Progress.js +0 -8
- package/dist/components/QRCode.d.ts +0 -95
- package/dist/components/QRCode.js +0 -9
- package/dist/components/RadarChart.d.ts +0 -454
- package/dist/components/RadarChart.js +0 -13
- package/dist/components/Radio.d.ts +0 -143
- package/dist/components/Radio.js +0 -9
- package/dist/components/RadioGroup.d.ts +0 -135
- package/dist/components/RadioGroup.js +0 -10
- package/dist/components/Rate.d.ts +0 -80
- package/dist/components/Rate.js +0 -8
- package/dist/components/Resizable.d.ts +0 -138
- package/dist/components/Resizable.js +0 -8
- package/dist/components/Result.d.ts +0 -64
- package/dist/components/Result.js +0 -9
- package/dist/components/RichTextEditor.d.ts +0 -123
- package/dist/components/RichTextEditor.js +0 -8
- package/dist/components/Row.d.ts +0 -90
- package/dist/components/Row.js +0 -8
- package/dist/components/ScatterChart.d.ts +0 -391
- package/dist/components/ScatterChart.js +0 -15
- package/dist/components/ScrollSpy.d.ts +0 -125
- package/dist/components/ScrollSpy.js +0 -8
- package/dist/components/Segmented.d.ts +0 -70
- package/dist/components/Segmented.js +0 -8
- package/dist/components/Select.d.ts +0 -292
- package/dist/components/Select.js +0 -9
- package/dist/components/Sidebar.d.ts +0 -101
- package/dist/components/Sidebar.js +0 -8
- package/dist/components/Signature.d.ts +0 -163
- package/dist/components/Signature.js +0 -9
- package/dist/components/Skeleton.d.ts +0 -96
- package/dist/components/Skeleton.js +0 -8
- package/dist/components/Slider.d.ts +0 -228
- package/dist/components/Slider.js +0 -8
- package/dist/components/Space.d.ts +0 -49
- package/dist/components/Space.js +0 -8
- package/dist/components/Splitter.d.ts +0 -99
- package/dist/components/Splitter.js +0 -8
- package/dist/components/Spotlight.d.ts +0 -206
- package/dist/components/Spotlight.js +0 -10
- package/dist/components/Statistic.d.ts +0 -103
- package/dist/components/Statistic.js +0 -8
- package/dist/components/Stepper.d.ts +0 -79
- package/dist/components/Stepper.js +0 -8
- package/dist/components/Steps.d.ts +0 -298
- package/dist/components/Steps.js +0 -12
- package/dist/components/StepsItem.d.mts +0 -8
- package/dist/components/StepsItem.d.ts +0 -8
- package/dist/components/StepsItem.js +0 -10
- package/dist/components/StepsItem.mjs +0 -10
- package/dist/components/SubMenu.d.mts +0 -8
- package/dist/components/SubMenu.d.ts +0 -8
- package/dist/components/SubMenu.js +0 -11
- package/dist/components/SubMenu.mjs +0 -11
- package/dist/components/SunburstChart.d.ts +0 -212
- package/dist/components/SunburstChart.js +0 -13
- package/dist/components/Switch.d.ts +0 -94
- package/dist/components/Switch.js +0 -8
- package/dist/components/TabPane.d.mts +0 -8
- package/dist/components/TabPane.d.ts +0 -8
- package/dist/components/TabPane.js +0 -10
- package/dist/components/TabPane.mjs +0 -10
- package/dist/components/Table.d.ts +0 -509
- package/dist/components/Table.js +0 -15
- package/dist/components/Tabs.d.ts +0 -410
- package/dist/components/Tabs.js +0 -12
- package/dist/components/Tag.d.ts +0 -130
- package/dist/components/Tag.js +0 -9
- package/dist/components/TaskBoard.d.ts +0 -210
- package/dist/components/TaskBoard.js +0 -9
- package/dist/components/Text.d.ts +0 -161
- package/dist/components/Text.js +0 -8
- package/dist/components/Textarea.d.ts +0 -308
- package/dist/components/Textarea.js +0 -9
- package/dist/components/TimePicker.d.ts +0 -372
- package/dist/components/TimePicker.js +0 -10
- package/dist/components/Timeline.d.ts +0 -124
- package/dist/components/Timeline.js +0 -9
- package/dist/components/Tooltip.d.ts +0 -116
- package/dist/components/Tooltip.js +0 -10
- package/dist/components/Tour.d.ts +0 -127
- package/dist/components/Tour.js +0 -11
- package/dist/components/Transfer.d.ts +0 -129
- package/dist/components/Transfer.js +0 -9
- package/dist/components/Tree.d.ts +0 -485
- package/dist/components/Tree.js +0 -10
- package/dist/components/TreeMapChart.d.ts +0 -221
- package/dist/components/TreeMapChart.js +0 -13
- package/dist/components/TreeSelect.d.ts +0 -121
- package/dist/components/TreeSelect.js +0 -9
- package/dist/components/Upload.d.ts +0 -355
- package/dist/components/Upload.js +0 -9
- package/dist/components/VirtualList.d.ts +0 -89
- package/dist/components/VirtualList.js +0 -8
- package/dist/components/VirtualTable.d.ts +0 -196
- package/dist/components/VirtualTable.js +0 -9
- package/dist/components/Watermark.d.ts +0 -144
- package/dist/components/Watermark.js +0 -8
- package/dist/index.d.ts +0 -286
- package/dist/index.js +0 -838
- package/dist/{chunk-2HRJGOAV.mjs → chunk-B47QLHVW.mjs} +3 -3
- /package/dist/{chunk-R2HO74FE.mjs → chunk-PE5OA4YG.mjs} +0 -0
|
@@ -17,7 +17,10 @@ import {
|
|
|
17
17
|
floatButtonSizeClasses,
|
|
18
18
|
floatButtonTypeClasses,
|
|
19
19
|
floatButtonDisabledClasses,
|
|
20
|
-
floatButtonGroupClasses
|
|
20
|
+
floatButtonGroupClasses,
|
|
21
|
+
getViewportOffsetStyle,
|
|
22
|
+
viewportFloatingBaseClasses,
|
|
23
|
+
viewportPlacementClasses
|
|
21
24
|
} from "@expcat/tigercat-core";
|
|
22
25
|
var FloatButtonGroupShapeKey = /* @__PURE__ */ Symbol("FloatButtonGroupShape");
|
|
23
26
|
var FloatButton = defineComponent({
|
|
@@ -52,6 +55,18 @@ var FloatButton = defineComponent({
|
|
|
52
55
|
type: String,
|
|
53
56
|
default: void 0
|
|
54
57
|
},
|
|
58
|
+
floating: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
},
|
|
62
|
+
placement: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: "bottom-right"
|
|
65
|
+
},
|
|
66
|
+
offset: {
|
|
67
|
+
type: [Number, String, Object],
|
|
68
|
+
default: void 0
|
|
69
|
+
},
|
|
55
70
|
style: {
|
|
56
71
|
type: Object,
|
|
57
72
|
default: void 0
|
|
@@ -73,6 +88,8 @@ var FloatButton = defineComponent({
|
|
|
73
88
|
floatButtonSizeClasses[props.size],
|
|
74
89
|
floatButtonTypeClasses[props.type],
|
|
75
90
|
props.disabled && floatButtonDisabledClasses,
|
|
91
|
+
props.floating && viewportFloatingBaseClasses,
|
|
92
|
+
props.floating && viewportPlacementClasses[props.placement],
|
|
76
93
|
props.className,
|
|
77
94
|
coerceClassValue(attrs.class)
|
|
78
95
|
)
|
|
@@ -89,7 +106,11 @@ var FloatButton = defineComponent({
|
|
|
89
106
|
{
|
|
90
107
|
...attrs,
|
|
91
108
|
class: classes.value,
|
|
92
|
-
style: mergeStyleValues(
|
|
109
|
+
style: mergeStyleValues(
|
|
110
|
+
props.floating ? getViewportOffsetStyle(props.placement, props.offset) : void 0,
|
|
111
|
+
attrsRecord.style,
|
|
112
|
+
props.style
|
|
113
|
+
),
|
|
93
114
|
type: "button",
|
|
94
115
|
disabled: props.disabled,
|
|
95
116
|
"aria-label": props.ariaLabel ?? props.tooltip,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ImagePreview
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-36WSYHJU.mjs";
|
|
4
4
|
|
|
5
5
|
// src/components/ImageGroup.ts
|
|
6
6
|
import { defineComponent, h, ref, provide, onBeforeUnmount } from "vue";
|
|
@@ -15,7 +15,7 @@ var ImageGroup = defineComponent({
|
|
|
15
15
|
props: {
|
|
16
16
|
preview: { type: Boolean, default: true }
|
|
17
17
|
},
|
|
18
|
-
emits: ["preview-
|
|
18
|
+
emits: ["preview-open-change"],
|
|
19
19
|
setup(props, { slots, emit }) {
|
|
20
20
|
const images = ref([]);
|
|
21
21
|
const previewVisible = ref(false);
|
|
@@ -33,7 +33,7 @@ var ImageGroup = defineComponent({
|
|
|
33
33
|
if (!props.preview) return;
|
|
34
34
|
previewIndex.value = index;
|
|
35
35
|
previewVisible.value = true;
|
|
36
|
-
emit("preview-
|
|
36
|
+
emit("preview-open-change", true);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
provide(IMAGE_GROUP_INJECTION_KEY, context);
|
|
@@ -48,7 +48,7 @@ var ImageGroup = defineComponent({
|
|
|
48
48
|
currentIndex: previewIndex.value,
|
|
49
49
|
"onUpdate:open": (val) => {
|
|
50
50
|
previewVisible.value = val;
|
|
51
|
-
if (!val) emit("preview-
|
|
51
|
+
if (!val) emit("preview-open-change", false);
|
|
52
52
|
},
|
|
53
53
|
"onUpdate:currentIndex": (val) => {
|
|
54
54
|
previewIndex.value = val;
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
nextTick
|
|
24
24
|
} from "vue";
|
|
25
25
|
import {
|
|
26
|
+
ANIMATION_DURATION_MS,
|
|
26
27
|
classNames,
|
|
27
28
|
coerceClassValue,
|
|
28
29
|
mergeStyleValues,
|
|
@@ -199,15 +200,6 @@ var Modal = defineComponent({
|
|
|
199
200
|
type: Boolean,
|
|
200
201
|
default: false
|
|
201
202
|
},
|
|
202
|
-
/**
|
|
203
|
-
* Disable teleport (useful for testing)
|
|
204
|
-
* @default false
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
disableTeleport: {
|
|
208
|
-
type: Boolean,
|
|
209
|
-
default: false
|
|
210
|
-
},
|
|
211
203
|
/**
|
|
212
204
|
* Whether the modal is draggable by its header
|
|
213
205
|
* @default false
|
|
@@ -217,7 +209,7 @@ var Modal = defineComponent({
|
|
|
217
209
|
default: false
|
|
218
210
|
}
|
|
219
211
|
},
|
|
220
|
-
emits: ["update:open", "close", "cancel", "ok"],
|
|
212
|
+
emits: ["update:open", "close", "cancel", "ok", "after-close"],
|
|
221
213
|
setup(props, { slots, emit, attrs }) {
|
|
222
214
|
const config = useTigerConfig();
|
|
223
215
|
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
@@ -255,10 +247,12 @@ var Modal = defineComponent({
|
|
|
255
247
|
const handleClose = () => {
|
|
256
248
|
emit("update:open", false);
|
|
257
249
|
emit("cancel");
|
|
250
|
+
emit("close");
|
|
258
251
|
};
|
|
259
252
|
const handleOk = () => {
|
|
260
253
|
emit("ok");
|
|
261
254
|
emit("update:open", false);
|
|
255
|
+
emit("close");
|
|
262
256
|
};
|
|
263
257
|
const handleMaskClick = (event) => {
|
|
264
258
|
if (shouldCloseOnMaskClick(event, props.maskClosable)) {
|
|
@@ -305,7 +299,7 @@ var Modal = defineComponent({
|
|
|
305
299
|
});
|
|
306
300
|
watch(
|
|
307
301
|
() => props.open,
|
|
308
|
-
async (nextVisible) => {
|
|
302
|
+
async (nextVisible, previousVisible, onCleanup) => {
|
|
309
303
|
if (nextVisible) {
|
|
310
304
|
hasBeenOpened.value = true;
|
|
311
305
|
const active = document.activeElement;
|
|
@@ -314,9 +308,12 @@ var Modal = defineComponent({
|
|
|
314
308
|
const el = closeButtonRef.value ?? dialogRef.value;
|
|
315
309
|
el?.focus?.();
|
|
316
310
|
} else {
|
|
317
|
-
emit("close");
|
|
318
311
|
previousActiveElement.value?.focus?.();
|
|
319
312
|
dragOffset.value = { x: 0, y: 0 };
|
|
313
|
+
if (previousVisible) {
|
|
314
|
+
const timer = window.setTimeout(() => emit("after-close"), ANIMATION_DURATION_MS);
|
|
315
|
+
onCleanup(() => window.clearTimeout(timer));
|
|
316
|
+
}
|
|
320
317
|
}
|
|
321
318
|
}
|
|
322
319
|
);
|
|
@@ -474,7 +471,7 @@ var Modal = defineComponent({
|
|
|
474
471
|
)
|
|
475
472
|
]
|
|
476
473
|
);
|
|
477
|
-
return renderVueBodyTeleport([renderedWrapper]
|
|
474
|
+
return renderVueBodyTeleport([renderedWrapper]);
|
|
478
475
|
};
|
|
479
476
|
}
|
|
480
477
|
});
|
|
@@ -13,6 +13,8 @@ import {
|
|
|
13
13
|
selectGroupLabelClasses,
|
|
14
14
|
selectSearchInputClasses,
|
|
15
15
|
selectEmptyStateClasses,
|
|
16
|
+
selectDoneActionClasses,
|
|
17
|
+
selectDoneButtonClasses,
|
|
16
18
|
isOptionGroup,
|
|
17
19
|
createSelectSearchDebouncer,
|
|
18
20
|
getCreateSelectOptionLabel,
|
|
@@ -122,6 +124,14 @@ var Select = defineComponent({
|
|
|
122
124
|
* Enable search functionality
|
|
123
125
|
*/
|
|
124
126
|
searchable: Boolean,
|
|
127
|
+
searchValue: {
|
|
128
|
+
type: String,
|
|
129
|
+
default: void 0
|
|
130
|
+
},
|
|
131
|
+
defaultSearchValue: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: ""
|
|
134
|
+
},
|
|
125
135
|
/**
|
|
126
136
|
* Allow multiple selection
|
|
127
137
|
*/
|
|
@@ -135,18 +145,9 @@ var Select = defineComponent({
|
|
|
135
145
|
default: true
|
|
136
146
|
},
|
|
137
147
|
/**
|
|
138
|
-
* Text shown when no search
|
|
139
|
-
* @default 'No options found'
|
|
140
|
-
*/
|
|
141
|
-
noOptionsText: {
|
|
142
|
-
type: String,
|
|
143
|
-
default: void 0
|
|
144
|
-
},
|
|
145
|
-
/**
|
|
146
|
-
* Text shown when no data available
|
|
147
|
-
* @default 'No options available'
|
|
148
|
+
* Text shown when the options list is empty or no search result matches
|
|
148
149
|
*/
|
|
149
|
-
|
|
150
|
+
emptyText: {
|
|
150
151
|
type: String,
|
|
151
152
|
default: void 0
|
|
152
153
|
},
|
|
@@ -204,7 +205,7 @@ var Select = defineComponent({
|
|
|
204
205
|
default: void 0
|
|
205
206
|
}
|
|
206
207
|
},
|
|
207
|
-
emits: ["update:modelValue", "change", "search", "create"],
|
|
208
|
+
emits: ["update:modelValue", "update:searchValue", "change", "search-change", "create"],
|
|
208
209
|
setup(props, { emit }) {
|
|
209
210
|
const config = useTigerConfig();
|
|
210
211
|
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
@@ -212,7 +213,8 @@ var Select = defineComponent({
|
|
|
212
213
|
const listboxId = `tiger-select-listbox-${instanceId}`;
|
|
213
214
|
const getOptionId = (index) => `tiger-select-option-${instanceId}-${index}`;
|
|
214
215
|
const isOpen = ref(false);
|
|
215
|
-
const
|
|
216
|
+
const uncontrolledSearchValue = ref(props.defaultSearchValue);
|
|
217
|
+
const searchQuery = computed(() => props.searchValue ?? uncontrolledSearchValue.value);
|
|
216
218
|
const activeIndex = ref(-1);
|
|
217
219
|
const createdOptions = ref([]);
|
|
218
220
|
const dropdownRef = ref(null);
|
|
@@ -232,8 +234,15 @@ var Select = defineComponent({
|
|
|
232
234
|
});
|
|
233
235
|
let searchDebouncer = createSelectSearchDebouncer({
|
|
234
236
|
delay: props.searchDebounce,
|
|
235
|
-
|
|
237
|
+
onSearchChange: (query) => emit("search-change", query)
|
|
236
238
|
});
|
|
239
|
+
function updateSearchValue(query) {
|
|
240
|
+
if (props.searchValue === void 0) {
|
|
241
|
+
uncontrolledSearchValue.value = query;
|
|
242
|
+
}
|
|
243
|
+
emit("update:searchValue", query);
|
|
244
|
+
searchDebouncer.schedule(query);
|
|
245
|
+
}
|
|
237
246
|
const filteredOptions = computed(() => {
|
|
238
247
|
return resolveSelectFilteredOptions(props.options, searchQuery.value, {
|
|
239
248
|
searchable: props.searchable,
|
|
@@ -278,6 +287,13 @@ var Select = defineComponent({
|
|
|
278
287
|
const showClearButton = computed(() => {
|
|
279
288
|
return props.clearable && !props.disabled && props.modelValue !== void 0 && props.modelValue !== null && props.modelValue !== "" && (!Array.isArray(props.modelValue) || props.modelValue.length > 0);
|
|
280
289
|
});
|
|
290
|
+
const doneText = computed(
|
|
291
|
+
() => resolveLocaleText(
|
|
292
|
+
"Done",
|
|
293
|
+
mergedLocale.value?.common?.okText,
|
|
294
|
+
mergedLocale.value?.common?.closeText
|
|
295
|
+
)
|
|
296
|
+
);
|
|
281
297
|
function isSelected(option) {
|
|
282
298
|
if (props.multiple && Array.isArray(props.modelValue)) {
|
|
283
299
|
return props.modelValue.includes(option.value);
|
|
@@ -313,7 +329,7 @@ var Select = defineComponent({
|
|
|
313
329
|
}
|
|
314
330
|
function closeDropdown() {
|
|
315
331
|
isOpen.value = false;
|
|
316
|
-
|
|
332
|
+
updateSearchValue("");
|
|
317
333
|
activeIndex.value = -1;
|
|
318
334
|
}
|
|
319
335
|
function selectOption(option) {
|
|
@@ -357,8 +373,7 @@ var Select = defineComponent({
|
|
|
357
373
|
}
|
|
358
374
|
function handleSearchInput(event) {
|
|
359
375
|
const target = event.target;
|
|
360
|
-
|
|
361
|
-
searchDebouncer.schedule(target.value);
|
|
376
|
+
updateSearchValue(target.value);
|
|
362
377
|
}
|
|
363
378
|
function getActiveOption() {
|
|
364
379
|
if (activeIndex.value < 0) {
|
|
@@ -556,7 +571,7 @@ var Select = defineComponent({
|
|
|
556
571
|
searchDebouncer.cancel();
|
|
557
572
|
searchDebouncer = createSelectSearchDebouncer({
|
|
558
573
|
delay,
|
|
559
|
-
|
|
574
|
+
onSearchChange: (query) => emit("search-change", query)
|
|
560
575
|
});
|
|
561
576
|
}
|
|
562
577
|
);
|
|
@@ -784,16 +799,28 @@ var Select = defineComponent({
|
|
|
784
799
|
})() : h(
|
|
785
800
|
"div",
|
|
786
801
|
{ class: selectEmptyStateClasses },
|
|
787
|
-
|
|
788
|
-
"No options available",
|
|
789
|
-
props.noDataText,
|
|
790
|
-
mergedLocale.value?.common?.emptyText
|
|
791
|
-
) : resolveLocaleText(
|
|
802
|
+
resolveLocaleText(
|
|
792
803
|
"No options found",
|
|
793
|
-
props.
|
|
804
|
+
props.emptyText,
|
|
794
805
|
mergedLocale.value?.common?.emptyText
|
|
795
806
|
)
|
|
796
|
-
)
|
|
807
|
+
),
|
|
808
|
+
h("div", { class: selectDoneActionClasses }, [
|
|
809
|
+
h(
|
|
810
|
+
"button",
|
|
811
|
+
{
|
|
812
|
+
type: "button",
|
|
813
|
+
class: selectDoneButtonClasses,
|
|
814
|
+
onClick: closeDropdown,
|
|
815
|
+
onKeydown: (event) => {
|
|
816
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
817
|
+
event.stopPropagation();
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
doneText.value
|
|
822
|
+
)
|
|
823
|
+
])
|
|
797
824
|
]
|
|
798
825
|
)
|
|
799
826
|
]);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useChartInteraction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PE5OA4YG.mjs";
|
|
4
|
+
import {
|
|
5
|
+
ChartTooltip
|
|
6
|
+
} from "./chunk-SPFL55TF.mjs";
|
|
7
|
+
import {
|
|
8
|
+
ChartCanvas
|
|
9
|
+
} from "./chunk-W5RZPTFD.mjs";
|
|
4
10
|
import {
|
|
5
11
|
ChartLegend
|
|
6
12
|
} from "./chunk-HLPSHCXO.mjs";
|
|
7
13
|
import {
|
|
8
14
|
ChartSeries
|
|
9
15
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
ChartTooltip
|
|
12
|
-
} from "./chunk-G2LB4QCL.mjs";
|
|
13
|
-
import {
|
|
14
|
-
ChartCanvas
|
|
15
|
-
} from "./chunk-W5RZPTFD.mjs";
|
|
16
16
|
|
|
17
17
|
// src/components/RadarChart.ts
|
|
18
18
|
import { defineComponent, computed, h, ref, useId } from "vue";
|
|
@@ -755,7 +755,7 @@ var RadarChart = defineComponent({
|
|
|
755
755
|
);
|
|
756
756
|
const tooltip = props.showTooltip && props.hoverable ? h(ChartTooltip, {
|
|
757
757
|
content: tooltipContent.value,
|
|
758
|
-
|
|
758
|
+
open: hoveredPoint.value !== null && tooltipContent.value !== "",
|
|
759
759
|
x: tooltipPosition.value.x,
|
|
760
760
|
y: tooltipPosition.value.y
|
|
761
761
|
}) : null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChartTooltip
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SPFL55TF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ChartCanvas
|
|
6
6
|
} from "./chunk-W5RZPTFD.mjs";
|
|
@@ -73,20 +73,20 @@ var GaugeChart = defineComponent({
|
|
|
73
73
|
animCtrl?.stop();
|
|
74
74
|
});
|
|
75
75
|
const wrapperRef = ref(null);
|
|
76
|
-
const tooltipState = ref({
|
|
76
|
+
const tooltipState = ref({ open: false, x: 0, y: 0 });
|
|
77
77
|
const handleTooltipMove = (e) => {
|
|
78
78
|
if (!props.showTooltip) return;
|
|
79
|
-
tooltipState.value = {
|
|
79
|
+
tooltipState.value = { open: true, x: e.clientX, y: e.clientY };
|
|
80
80
|
};
|
|
81
81
|
const handleTooltipLeave = () => {
|
|
82
|
-
tooltipState.value = { ...tooltipState.value,
|
|
82
|
+
tooltipState.value = { ...tooltipState.value, open: false };
|
|
83
83
|
};
|
|
84
84
|
const handleTooltipFocus = () => {
|
|
85
85
|
if (!props.showTooltip) return;
|
|
86
86
|
const rect = wrapperRef.value?.getBoundingClientRect();
|
|
87
87
|
if (rect) {
|
|
88
88
|
tooltipState.value = {
|
|
89
|
-
|
|
89
|
+
open: true,
|
|
90
90
|
x: rect.left + rect.width / 2,
|
|
91
91
|
y: rect.top + rect.height / 2
|
|
92
92
|
};
|
|
@@ -262,7 +262,7 @@ var GaugeChart = defineComponent({
|
|
|
262
262
|
canvas,
|
|
263
263
|
props.showTooltip ? h(ChartTooltip, {
|
|
264
264
|
content: tooltipContent,
|
|
265
|
-
|
|
265
|
+
open: tooltipState.value.open && tooltipContent !== "",
|
|
266
266
|
x: tooltipState.value.x,
|
|
267
267
|
y: tooltipState.value.y
|
|
268
268
|
}) : null
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// src/composables/useDrag.ts
|
|
2
|
+
import { reactive, computed } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
createDragState,
|
|
5
|
+
handleDragStart,
|
|
6
|
+
handleDragOver,
|
|
7
|
+
handleDrop,
|
|
8
|
+
handleDragEnd,
|
|
9
|
+
reorderItems,
|
|
10
|
+
moveItemBetweenContainers,
|
|
11
|
+
resolveDragConfig,
|
|
12
|
+
isDragEnabled,
|
|
13
|
+
isValidDragHandle,
|
|
14
|
+
isSameContainerDrag,
|
|
15
|
+
isCrossContainerDrag
|
|
16
|
+
} from "@expcat/tigercat-core";
|
|
17
|
+
function useDrag(options = {}) {
|
|
18
|
+
const config = resolveDragConfig(options.config);
|
|
19
|
+
const containerId = options.containerId ?? "default";
|
|
20
|
+
const callbacks = {
|
|
21
|
+
onDragStart: options.onDragStart,
|
|
22
|
+
onDragOver: options.onDragOver,
|
|
23
|
+
onDrop: options.onDrop,
|
|
24
|
+
onDragEnd: options.onDragEnd
|
|
25
|
+
};
|
|
26
|
+
const state = reactive(createDragState());
|
|
27
|
+
const isDragging = computed(() => state.isDragging);
|
|
28
|
+
const draggedItem = computed(() => state.draggedItem);
|
|
29
|
+
const isSameContainer = computed(() => isSameContainerDrag(state));
|
|
30
|
+
const isCrossContainer = computed(() => isCrossContainerDrag(state));
|
|
31
|
+
function startDrag(item, event) {
|
|
32
|
+
if (!isDragEnabled(config)) return;
|
|
33
|
+
if (event) {
|
|
34
|
+
const target = event.target;
|
|
35
|
+
if (!isValidDragHandle(target, config)) return;
|
|
36
|
+
}
|
|
37
|
+
handleDragStart(state, item, containerId, callbacks);
|
|
38
|
+
}
|
|
39
|
+
function dragOver(item, event) {
|
|
40
|
+
if (event) {
|
|
41
|
+
event.preventDefault();
|
|
42
|
+
}
|
|
43
|
+
handleDragOver(state, item, containerId, callbacks);
|
|
44
|
+
}
|
|
45
|
+
function drop(event) {
|
|
46
|
+
if (event) {
|
|
47
|
+
event.preventDefault();
|
|
48
|
+
}
|
|
49
|
+
return handleDrop(state, callbacks);
|
|
50
|
+
}
|
|
51
|
+
function endDrag(cancelled = false) {
|
|
52
|
+
handleDragEnd(state, cancelled, callbacks);
|
|
53
|
+
}
|
|
54
|
+
function reorder(items) {
|
|
55
|
+
if (!state.isDragging) return null;
|
|
56
|
+
return reorderItems(items, state.sourceIndex, state.targetIndex);
|
|
57
|
+
}
|
|
58
|
+
function moveBetween(sourceItems, targetItems) {
|
|
59
|
+
if (!state.isDragging) return null;
|
|
60
|
+
return moveItemBetweenContainers(sourceItems, targetItems, state.sourceIndex, state.targetIndex);
|
|
61
|
+
}
|
|
62
|
+
function getDragItemAttrs(item) {
|
|
63
|
+
return {
|
|
64
|
+
draggable: !config.disabled,
|
|
65
|
+
"data-drag-id": item.id,
|
|
66
|
+
"data-drag-index": item.index,
|
|
67
|
+
class: state.isDragging && state.draggedItem?.id === item.id ? config.dragClass : void 0,
|
|
68
|
+
"aria-grabbed": state.isDragging && state.draggedItem?.id === item.id,
|
|
69
|
+
role: "listitem",
|
|
70
|
+
onDragstart: (e) => startDrag(item, e),
|
|
71
|
+
onDragover: (e) => dragOver(item, e),
|
|
72
|
+
onDragend: () => endDrag(false)
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function getDropZoneAttrs() {
|
|
76
|
+
return {
|
|
77
|
+
"aria-dropeffect": state.isDragging ? "move" : "none",
|
|
78
|
+
onDragover: (e) => {
|
|
79
|
+
e.preventDefault();
|
|
80
|
+
dragOver(null, e);
|
|
81
|
+
},
|
|
82
|
+
onDrop: (e) => drop(e)
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
state,
|
|
87
|
+
isDragging,
|
|
88
|
+
draggedItem,
|
|
89
|
+
startDrag,
|
|
90
|
+
dragOver,
|
|
91
|
+
drop,
|
|
92
|
+
endDrag,
|
|
93
|
+
reorder,
|
|
94
|
+
moveBetween,
|
|
95
|
+
isSameContainer,
|
|
96
|
+
isCrossContainer,
|
|
97
|
+
getDragItemAttrs,
|
|
98
|
+
getDropZoneAttrs
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export {
|
|
103
|
+
useDrag
|
|
104
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JMVALNIO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Radio
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6BDDX2R4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Empty
|
|
9
9
|
} from "./chunk-WLHOWOAY.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Checkbox
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MYKKKVGK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
useTigerConfig
|
|
15
15
|
} from "./chunk-R6WFL6NI.mjs";
|
|
@@ -188,7 +188,6 @@ var tableProps = {
|
|
|
188
188
|
autoVirtual: { type: Boolean, default: true },
|
|
189
189
|
virtualHeight: { type: Number, default: 400 },
|
|
190
190
|
virtualItemHeight: { type: Number, default: 40 },
|
|
191
|
-
autoVirtualThreshold: { type: Number, default: 1e4 },
|
|
192
191
|
virtualThreshold: { type: Number, default: 1e3 },
|
|
193
192
|
editable: { type: Boolean, default: false },
|
|
194
193
|
editableCells: { type: Object },
|
|
@@ -1436,8 +1435,7 @@ var Table = defineComponent({
|
|
|
1436
1435
|
virtual: resolvedProps.virtual,
|
|
1437
1436
|
autoVirtual: resolvedProps.autoVirtual,
|
|
1438
1437
|
dataLength: resolvedProps.dataSource.length,
|
|
1439
|
-
threshold: resolvedProps.virtualThreshold
|
|
1440
|
-
autoThreshold: resolvedProps.autoVirtualThreshold
|
|
1438
|
+
threshold: resolvedProps.virtualThreshold
|
|
1441
1439
|
});
|
|
1442
1440
|
const effectiveVirtual = virtualRecommendation.enabled;
|
|
1443
1441
|
const wrapperStyle = resolvedProps.maxHeight ? {
|
|
@@ -1810,7 +1808,6 @@ var Table = defineComponent({
|
|
|
1810
1808
|
class: getTableWrapperClasses(resolvedProps.bordered, resolvedProps.maxHeight),
|
|
1811
1809
|
style: wrapperStyle,
|
|
1812
1810
|
"data-tiger-virtual": virtualRecommendation.enabled ? "enabled" : void 0,
|
|
1813
|
-
"data-tiger-virtual-auto": virtualRecommendation.autoEnabled ? "true" : void 0,
|
|
1814
1811
|
"data-tiger-virtual-recommended": virtualRecommendation.recommended ? "true" : void 0,
|
|
1815
1812
|
"data-tiger-virtual-threshold": virtualRecommendation.recommended ? virtualRecommendation.threshold : void 0,
|
|
1816
1813
|
"data-tiger-measured-row-height": measuredRowHeights.value[0] || void 0,
|
|
@@ -38,19 +38,19 @@ import {
|
|
|
38
38
|
datePickerClearButtonClasses,
|
|
39
39
|
datePickerFooterClasses,
|
|
40
40
|
datePickerFooterButtonClasses,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
calendarSolidIcon20PathD,
|
|
42
|
+
closeSolidIcon20PathD,
|
|
43
|
+
chevronLeftSolidIcon20PathD,
|
|
44
|
+
chevronRightSolidIcon20PathD,
|
|
45
45
|
getDatePickerLocaleCode,
|
|
46
46
|
getDatePickerLabels,
|
|
47
47
|
getLocaleDirection,
|
|
48
48
|
mergeTigerLocale
|
|
49
49
|
} from "@expcat/tigercat-core";
|
|
50
|
-
var CalendarIcon = createFilledIcon(
|
|
51
|
-
var CloseIcon = createFilledIcon(
|
|
52
|
-
var ChevronLeftIcon = createFilledIcon(
|
|
53
|
-
var ChevronRightIcon = createFilledIcon(
|
|
50
|
+
var CalendarIcon = createFilledIcon(calendarSolidIcon20PathD, "w-5 h-5");
|
|
51
|
+
var CloseIcon = createFilledIcon(closeSolidIcon20PathD, "w-4 h-4");
|
|
52
|
+
var ChevronLeftIcon = createFilledIcon(chevronLeftSolidIcon20PathD, "w-5 h-5");
|
|
53
|
+
var ChevronRightIcon = createFilledIcon(chevronRightSolidIcon20PathD, "w-5 h-5");
|
|
54
54
|
function normalizeDatePickerLocale(locale) {
|
|
55
55
|
if (!locale) return void 0;
|
|
56
56
|
if (typeof locale === "string") return { locale };
|
|
@@ -58,7 +58,7 @@ var Checkbox = defineComponent({
|
|
|
58
58
|
* Default checked state (uncontrolled mode)
|
|
59
59
|
* @default false
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
defaultValue: {
|
|
62
62
|
type: Boolean,
|
|
63
63
|
default: false
|
|
64
64
|
},
|
|
@@ -88,7 +88,7 @@ var Checkbox = defineComponent({
|
|
|
88
88
|
setup(props, { slots, emit, attrs }) {
|
|
89
89
|
const groupContextRef = inject(CheckboxGroupKey, null);
|
|
90
90
|
const groupContext = computed(() => groupContextRef?.value);
|
|
91
|
-
const internalChecked = ref(props.
|
|
91
|
+
const internalChecked = ref(props.defaultValue);
|
|
92
92
|
const isControlled = computed(() => props.modelValue !== null);
|
|
93
93
|
const effectiveSize = computed(() => props.size || groupContext.value?.size || "md");
|
|
94
94
|
const effectiveDisabled = computed(
|
|
@@ -13,7 +13,7 @@ var Switch = defineComponent({
|
|
|
13
13
|
* Whether the switch is checked
|
|
14
14
|
* @default false
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
modelValue: {
|
|
17
17
|
type: Boolean,
|
|
18
18
|
default: false
|
|
19
19
|
},
|
|
@@ -42,9 +42,9 @@ var Switch = defineComponent({
|
|
|
42
42
|
},
|
|
43
43
|
emits: {
|
|
44
44
|
/**
|
|
45
|
-
* Emitted when checked state changes (for v-model
|
|
45
|
+
* Emitted when checked state changes (for v-model)
|
|
46
46
|
*/
|
|
47
|
-
"update:
|
|
47
|
+
"update:modelValue": (value) => typeof value === "boolean",
|
|
48
48
|
/**
|
|
49
49
|
* Emitted when checked state changes
|
|
50
50
|
*/
|
|
@@ -52,13 +52,13 @@ var Switch = defineComponent({
|
|
|
52
52
|
},
|
|
53
53
|
setup(props, { emit, attrs }) {
|
|
54
54
|
const switchClasses = computed(
|
|
55
|
-
() => getSwitchClasses(props.size, props.
|
|
55
|
+
() => getSwitchClasses(props.size, props.modelValue, props.disabled, props.className, attrs.class)
|
|
56
56
|
);
|
|
57
|
-
const thumbClasses = computed(() => getSwitchThumbClasses(props.size, props.
|
|
57
|
+
const thumbClasses = computed(() => getSwitchThumbClasses(props.size, props.modelValue));
|
|
58
58
|
const emitChange = () => {
|
|
59
59
|
if (props.disabled) return;
|
|
60
|
-
const newValue = !props.
|
|
61
|
-
emit("update:
|
|
60
|
+
const newValue = !props.modelValue;
|
|
61
|
+
emit("update:modelValue", newValue);
|
|
62
62
|
emit("change", newValue);
|
|
63
63
|
};
|
|
64
64
|
const handleKeyDown = (event) => {
|
|
@@ -74,7 +74,7 @@ var Switch = defineComponent({
|
|
|
74
74
|
...attrs,
|
|
75
75
|
type: "button",
|
|
76
76
|
role: "switch",
|
|
77
|
-
"aria-checked": props.
|
|
77
|
+
"aria-checked": props.modelValue,
|
|
78
78
|
"aria-disabled": props.disabled ? "true" : void 0,
|
|
79
79
|
class: switchClasses.value,
|
|
80
80
|
style: mergeStyleValues(attrs.style, props.style),
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useChartInteraction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PE5OA4YG.mjs";
|
|
4
|
+
import {
|
|
5
|
+
ChartTooltip
|
|
6
|
+
} from "./chunk-SPFL55TF.mjs";
|
|
7
|
+
import {
|
|
8
|
+
ChartCanvas
|
|
9
|
+
} from "./chunk-W5RZPTFD.mjs";
|
|
4
10
|
import {
|
|
5
11
|
ChartLegend
|
|
6
12
|
} from "./chunk-HLPSHCXO.mjs";
|
|
7
13
|
import {
|
|
8
14
|
ChartSeries
|
|
9
15
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
ChartTooltip
|
|
12
|
-
} from "./chunk-G2LB4QCL.mjs";
|
|
13
|
-
import {
|
|
14
|
-
ChartCanvas
|
|
15
|
-
} from "./chunk-W5RZPTFD.mjs";
|
|
16
16
|
|
|
17
17
|
// src/components/SunburstChart.ts
|
|
18
18
|
import { defineComponent, computed, h, useId } from "vue";
|
|
@@ -206,7 +206,7 @@ var SunburstChart = defineComponent({
|
|
|
206
206
|
);
|
|
207
207
|
const tooltip = props.showTooltip && props.hoverable ? h(ChartTooltip, {
|
|
208
208
|
content: tooltipContent.value,
|
|
209
|
-
|
|
209
|
+
open: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
|
|
210
210
|
x: tooltipPosition.value.x,
|
|
211
211
|
y: tooltipPosition.value.y
|
|
212
212
|
}) : null;
|