@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
package/dist/chunk-MSKAWM7K.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
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 _chunkXUOGT4HGjs = require('./chunk-XUOGT4HG.js');
|
|
4
|
-
|
|
5
|
-
// src/components/Col.ts
|
|
6
|
-
var _vue = require('vue');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
16
|
-
var Col = _vue.defineComponent.call(void 0, {
|
|
17
|
-
name: "TigerCol",
|
|
18
|
-
props: {
|
|
19
|
-
/** Column span (1-24) or responsive object @default 24 */
|
|
20
|
-
span: {
|
|
21
|
-
type: [Number, Object],
|
|
22
|
-
default: 24
|
|
23
|
-
},
|
|
24
|
-
/** Column offset (0-24) or responsive object @default 0 */
|
|
25
|
-
offset: {
|
|
26
|
-
type: [Number, Object],
|
|
27
|
-
default: 0
|
|
28
|
-
},
|
|
29
|
-
/** Column order or responsive object */
|
|
30
|
-
order: {
|
|
31
|
-
type: [Number, Object]
|
|
32
|
-
},
|
|
33
|
-
/** Flex layout style */
|
|
34
|
-
flex: {
|
|
35
|
-
type: [String, Number]
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
setup(props, { slots, attrs }) {
|
|
39
|
-
const rowContext = _vue.inject.call(void 0, _chunkXUOGT4HGjs.RowContextKey, null);
|
|
40
|
-
const gutter = _vue.computed.call(void 0, () => _nullishCoalesce(_optionalChain([rowContext, 'optionalAccess', _ => _.gutter, 'access', _2 => _2.value]), () => ( 0)));
|
|
41
|
-
const isFlexSpanMode = _vue.computed.call(void 0, () => props.flex !== void 0 && props.span === 0);
|
|
42
|
-
const colClasses = _vue.computed.call(void 0,
|
|
43
|
-
() => _tigercatcore.classNames.call(void 0,
|
|
44
|
-
isFlexSpanMode.value ? "" : _tigercatcore.getSpanClasses.call(void 0, props.span),
|
|
45
|
-
_tigercatcore.getOffsetClasses.call(void 0, props.offset),
|
|
46
|
-
_tigercatcore.getOrderClasses.call(void 0, props.order),
|
|
47
|
-
_tigercatcore.getFlexClasses.call(void 0, props.flex),
|
|
48
|
-
_tigercatcore.getColGutterClasses.call(void 0, gutter.value)
|
|
49
|
-
)
|
|
50
|
-
);
|
|
51
|
-
const colMergedStyle = _vue.computed.call(void 0, () => ({
|
|
52
|
-
..._tigercatcore.getColMergedStyleVars.call(void 0,
|
|
53
|
-
isFlexSpanMode.value ? void 0 : props.span,
|
|
54
|
-
props.offset,
|
|
55
|
-
props.order,
|
|
56
|
-
props.flex
|
|
57
|
-
)
|
|
58
|
-
}));
|
|
59
|
-
return () => _vue.h.call(void 0,
|
|
60
|
-
"div",
|
|
61
|
-
{
|
|
62
|
-
...attrs,
|
|
63
|
-
class: [colClasses.value, attrs.class],
|
|
64
|
-
style: [colMergedStyle.value, attrs.style]
|
|
65
|
-
},
|
|
66
|
-
_optionalChain([slots, 'access', _3 => _3.default, 'optionalCall', _4 => _4()])
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
exports.Col = Col;
|
package/dist/chunk-NCLUMDZB.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/components/Code.ts
|
|
2
|
-
var _vue = require('vue');
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
11
|
-
var Code = _vue.defineComponent.call(void 0, {
|
|
12
|
-
name: "TigerCode",
|
|
13
|
-
inheritAttrs: false,
|
|
14
|
-
props: {
|
|
15
|
-
code: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
copyable: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: true
|
|
22
|
-
},
|
|
23
|
-
copyLabel: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: "\u590D\u5236"
|
|
26
|
-
},
|
|
27
|
-
copiedLabel: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: "\u5DF2\u590D\u5236"
|
|
30
|
-
},
|
|
31
|
-
className: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: void 0
|
|
34
|
-
},
|
|
35
|
-
style: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default: void 0
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
emits: ["copy"],
|
|
41
|
-
setup(props, { emit, attrs }) {
|
|
42
|
-
const isCopied = _vue.ref.call(void 0, false);
|
|
43
|
-
const timerRef = _vue.ref.call(void 0, null);
|
|
44
|
-
const containerClasses = _vue.computed.call(void 0, () => {
|
|
45
|
-
const attrsRecord = attrs;
|
|
46
|
-
return _tigercatcore.getCodeBlockContainerClasses.call(void 0, props.className, _tigercatcore.coerceClassValue.call(void 0, attrsRecord.class));
|
|
47
|
-
});
|
|
48
|
-
const copyButtonClasses = _vue.computed.call(void 0, () => {
|
|
49
|
-
return _tigercatcore.getCodeBlockCopyButtonClasses.call(void 0, isCopied.value);
|
|
50
|
-
});
|
|
51
|
-
const clearTimer = () => {
|
|
52
|
-
if (timerRef.value != null) {
|
|
53
|
-
window.clearTimeout(timerRef.value);
|
|
54
|
-
timerRef.value = null;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
const handleCopy = async () => {
|
|
58
|
-
if (!props.copyable) return;
|
|
59
|
-
const ok = await _tigercatcore.copyTextToClipboard.call(void 0, props.code);
|
|
60
|
-
if (!ok) return;
|
|
61
|
-
isCopied.value = true;
|
|
62
|
-
emit("copy", props.code);
|
|
63
|
-
clearTimer();
|
|
64
|
-
timerRef.value = window.setTimeout(() => {
|
|
65
|
-
isCopied.value = false;
|
|
66
|
-
timerRef.value = null;
|
|
67
|
-
}, 1500);
|
|
68
|
-
};
|
|
69
|
-
_vue.onBeforeUnmount.call(void 0, () => {
|
|
70
|
-
clearTimer();
|
|
71
|
-
});
|
|
72
|
-
return () => _vue.h.call(void 0,
|
|
73
|
-
"div",
|
|
74
|
-
{
|
|
75
|
-
...attrs,
|
|
76
|
-
class: containerClasses.value,
|
|
77
|
-
style: _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style)
|
|
78
|
-
},
|
|
79
|
-
[
|
|
80
|
-
_vue.h.call(void 0, "pre", { class: _tigercatcore.codeBlockPreClasses }, [_vue.h.call(void 0, "code", { class: "block" }, props.code)]),
|
|
81
|
-
props.copyable ? _vue.h.call(void 0,
|
|
82
|
-
"button",
|
|
83
|
-
{
|
|
84
|
-
type: "button",
|
|
85
|
-
class: copyButtonClasses.value,
|
|
86
|
-
onClick: handleCopy,
|
|
87
|
-
"aria-label": isCopied.value ? props.copiedLabel : props.copyLabel
|
|
88
|
-
},
|
|
89
|
-
isCopied.value ? props.copiedLabel : props.copyLabel
|
|
90
|
-
) : null
|
|
91
|
-
]
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
var Code_default = Code;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
exports.Code = Code; exports.Code_default = Code_default;
|
package/dist/chunk-NQYE64IF.js
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
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/QRCode.ts
|
|
6
|
-
var _vue = require('vue');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var QRCode = _vue.defineComponent.call(void 0, {
|
|
22
|
-
name: "TigerQRCode",
|
|
23
|
-
inheritAttrs: false,
|
|
24
|
-
props: {
|
|
25
|
-
value: { type: String, required: true },
|
|
26
|
-
size: { type: Number, default: 128 },
|
|
27
|
-
color: { type: String, default: "#000000" },
|
|
28
|
-
bgColor: { type: String, default: "#ffffff" },
|
|
29
|
-
level: { type: String, default: "M" },
|
|
30
|
-
status: { type: String, default: "active" },
|
|
31
|
-
className: { type: String, default: void 0 },
|
|
32
|
-
locale: { type: Object, default: void 0 }
|
|
33
|
-
},
|
|
34
|
-
emits: ["refresh"],
|
|
35
|
-
setup(props, { emit, attrs }) {
|
|
36
|
-
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
37
|
-
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
38
|
-
const matrix = _vue.computed.call(void 0, () => _tigercatcore.generateQRMatrix.call(void 0, props.value));
|
|
39
|
-
const moduleSize = _vue.computed.call(void 0, () => {
|
|
40
|
-
const mLen = matrix.value.length;
|
|
41
|
-
return (_nullishCoalesce(props.size, () => ( 128))) / mLen;
|
|
42
|
-
});
|
|
43
|
-
return () => {
|
|
44
|
-
const attrsRecord = attrs;
|
|
45
|
-
const containerClass = _tigercatcore.classNames.call(void 0,
|
|
46
|
-
_tigercatcore.qrcodeContainerClasses,
|
|
47
|
-
props.className,
|
|
48
|
-
_tigercatcore.coerceClassValue.call(void 0, attrsRecord.class)
|
|
49
|
-
);
|
|
50
|
-
const mSize = moduleSize.value;
|
|
51
|
-
const modules = matrix.value;
|
|
52
|
-
const ariaLabel = _tigercatcore.resolveLocaleText.call(void 0, "QR Code", _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.qrcode, 'optionalAccess', _3 => _3.ariaLabel]));
|
|
53
|
-
const expiredText = _tigercatcore.resolveLocaleText.call(void 0,
|
|
54
|
-
"QR code expired",
|
|
55
|
-
_optionalChain([mergedLocale, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.qrcode, 'optionalAccess', _6 => _6.expiredText])
|
|
56
|
-
);
|
|
57
|
-
const refreshText = _tigercatcore.resolveLocaleText.call(void 0, "Refresh", _optionalChain([mergedLocale, 'access', _7 => _7.value, 'optionalAccess', _8 => _8.qrcode, 'optionalAccess', _9 => _9.refreshText]));
|
|
58
|
-
const loadingText = _tigercatcore.resolveLocaleText.call(void 0,
|
|
59
|
-
"Loading...",
|
|
60
|
-
_optionalChain([mergedLocale, 'access', _10 => _10.value, 'optionalAccess', _11 => _11.qrcode, 'optionalAccess', _12 => _12.loadingText]),
|
|
61
|
-
_optionalChain([mergedLocale, 'access', _13 => _13.value, 'optionalAccess', _14 => _14.common, 'optionalAccess', _15 => _15.loadingText])
|
|
62
|
-
);
|
|
63
|
-
const rects = modules.flatMap(
|
|
64
|
-
(row, r) => row.map(
|
|
65
|
-
(cell, c) => cell ? _vue.h.call(void 0, "rect", {
|
|
66
|
-
key: `${r}-${c}`,
|
|
67
|
-
x: c * mSize,
|
|
68
|
-
y: r * mSize,
|
|
69
|
-
width: mSize,
|
|
70
|
-
height: mSize,
|
|
71
|
-
fill: props.color
|
|
72
|
-
}) : null
|
|
73
|
-
).filter(Boolean)
|
|
74
|
-
);
|
|
75
|
-
const svg = _vue.h.call(void 0,
|
|
76
|
-
"svg",
|
|
77
|
-
{
|
|
78
|
-
width: props.size,
|
|
79
|
-
height: props.size,
|
|
80
|
-
viewBox: `0 0 ${props.size} ${props.size}`,
|
|
81
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
82
|
-
role: "img",
|
|
83
|
-
"aria-label": ariaLabel
|
|
84
|
-
},
|
|
85
|
-
[_vue.h.call(void 0, "rect", { width: props.size, height: props.size, fill: props.bgColor }), ...rects]
|
|
86
|
-
);
|
|
87
|
-
const children = [svg];
|
|
88
|
-
if (props.status === "expired") {
|
|
89
|
-
children.push(
|
|
90
|
-
_vue.h.call(void 0, "div", { class: _tigercatcore.qrcodeOverlayClasses }, [
|
|
91
|
-
_vue.h.call(void 0, "span", { class: _tigercatcore.qrcodeExpiredTextClasses }, expiredText),
|
|
92
|
-
_vue.h.call(void 0,
|
|
93
|
-
"span",
|
|
94
|
-
{
|
|
95
|
-
class: _tigercatcore.qrcodeRefreshClasses,
|
|
96
|
-
onClick: () => emit("refresh")
|
|
97
|
-
},
|
|
98
|
-
refreshText
|
|
99
|
-
)
|
|
100
|
-
])
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
if (props.status === "loading") {
|
|
104
|
-
children.push(
|
|
105
|
-
_vue.h.call(void 0, "div", { class: _tigercatcore.qrcodeOverlayClasses }, [
|
|
106
|
-
_vue.h.call(void 0, "span", { class: "text-sm text-gray-500" }, loadingText)
|
|
107
|
-
])
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
return _vue.h.call(void 0,
|
|
111
|
-
"div",
|
|
112
|
-
{
|
|
113
|
-
...attrs,
|
|
114
|
-
class: containerClass,
|
|
115
|
-
style: _tigercatcore.mergeStyleValues.call(void 0, attrsRecord.style, {
|
|
116
|
-
width: `${props.size}px`,
|
|
117
|
-
height: `${props.size}px`
|
|
118
|
-
})
|
|
119
|
-
},
|
|
120
|
-
children
|
|
121
|
-
);
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
var QRCode_default = QRCode;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
exports.QRCode = QRCode; exports.QRCode_default = QRCode_default;
|
package/dist/chunk-OOMZBTHW.js
DELETED
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
-
|
|
3
|
-
var _chunkOVXDO6KJjs = require('./chunk-OVXDO6KJ.js');
|
|
4
|
-
|
|
5
|
-
// src/components/DonutChart.ts
|
|
6
|
-
var _vue = require('vue');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _tigercatcore = require('@expcat/tigercat-core');
|
|
14
|
-
var DONUT_PALETTE = [
|
|
15
|
-
"var(--tiger-chart-1,#5470c6)",
|
|
16
|
-
"var(--tiger-chart-2,#91cc75)",
|
|
17
|
-
"var(--tiger-chart-3,#fac858)",
|
|
18
|
-
"var(--tiger-chart-4,#ee6666)",
|
|
19
|
-
"var(--tiger-chart-5,#73c0de)",
|
|
20
|
-
"var(--tiger-chart-6,#3ba272)",
|
|
21
|
-
"var(--tiger-chart-1,#fc8452)",
|
|
22
|
-
"var(--tiger-chart-2,#9a60b4)",
|
|
23
|
-
"var(--tiger-chart-3,#ea7ccc)"
|
|
24
|
-
];
|
|
25
|
-
var DonutChart = _vue.defineComponent.call(void 0, {
|
|
26
|
-
name: "TigerDonutChart",
|
|
27
|
-
props: {
|
|
28
|
-
width: {
|
|
29
|
-
type: Number,
|
|
30
|
-
default: 320
|
|
31
|
-
},
|
|
32
|
-
height: {
|
|
33
|
-
type: Number,
|
|
34
|
-
default: 240
|
|
35
|
-
},
|
|
36
|
-
padding: {
|
|
37
|
-
type: [Number, Object],
|
|
38
|
-
default: 24
|
|
39
|
-
},
|
|
40
|
-
data: {
|
|
41
|
-
type: Array,
|
|
42
|
-
required: true
|
|
43
|
-
},
|
|
44
|
-
innerRadius: {
|
|
45
|
-
type: Number
|
|
46
|
-
},
|
|
47
|
-
innerRadiusRatio: {
|
|
48
|
-
type: Number,
|
|
49
|
-
default: 0.62
|
|
50
|
-
},
|
|
51
|
-
outerRadius: {
|
|
52
|
-
type: Number
|
|
53
|
-
},
|
|
54
|
-
startAngle: {
|
|
55
|
-
type: Number,
|
|
56
|
-
default: 0
|
|
57
|
-
},
|
|
58
|
-
endAngle: {
|
|
59
|
-
type: Number,
|
|
60
|
-
default: Math.PI * 2
|
|
61
|
-
},
|
|
62
|
-
padAngle: {
|
|
63
|
-
type: Number,
|
|
64
|
-
default: 0.04
|
|
65
|
-
},
|
|
66
|
-
colors: {
|
|
67
|
-
type: Array
|
|
68
|
-
},
|
|
69
|
-
showLabels: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: false
|
|
72
|
-
},
|
|
73
|
-
labelFormatter: {
|
|
74
|
-
type: Function
|
|
75
|
-
},
|
|
76
|
-
// Interaction props
|
|
77
|
-
hoverable: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: false
|
|
80
|
-
},
|
|
81
|
-
hoveredIndex: {
|
|
82
|
-
type: Number,
|
|
83
|
-
default: void 0
|
|
84
|
-
},
|
|
85
|
-
activeOpacity: {
|
|
86
|
-
type: Number,
|
|
87
|
-
default: 1
|
|
88
|
-
},
|
|
89
|
-
inactiveOpacity: {
|
|
90
|
-
type: Number,
|
|
91
|
-
default: 0.3
|
|
92
|
-
},
|
|
93
|
-
selectable: {
|
|
94
|
-
type: Boolean,
|
|
95
|
-
default: false
|
|
96
|
-
},
|
|
97
|
-
selectedIndex: {
|
|
98
|
-
type: Number,
|
|
99
|
-
default: void 0
|
|
100
|
-
},
|
|
101
|
-
// Legend props
|
|
102
|
-
showLegend: {
|
|
103
|
-
type: Boolean,
|
|
104
|
-
default: false
|
|
105
|
-
},
|
|
106
|
-
legendPosition: {
|
|
107
|
-
type: String,
|
|
108
|
-
default: "bottom"
|
|
109
|
-
},
|
|
110
|
-
legendMarkerSize: {
|
|
111
|
-
type: Number,
|
|
112
|
-
default: 10
|
|
113
|
-
},
|
|
114
|
-
legendGap: {
|
|
115
|
-
type: Number,
|
|
116
|
-
default: 8
|
|
117
|
-
},
|
|
118
|
-
legendFormatter: {
|
|
119
|
-
type: Function,
|
|
120
|
-
default: void 0
|
|
121
|
-
},
|
|
122
|
-
// Tooltip props
|
|
123
|
-
showTooltip: {
|
|
124
|
-
type: Boolean,
|
|
125
|
-
default: true
|
|
126
|
-
},
|
|
127
|
-
tooltipFormatter: {
|
|
128
|
-
type: Function
|
|
129
|
-
},
|
|
130
|
-
// Accessibility
|
|
131
|
-
title: {
|
|
132
|
-
type: String
|
|
133
|
-
},
|
|
134
|
-
desc: {
|
|
135
|
-
type: String
|
|
136
|
-
},
|
|
137
|
-
className: {
|
|
138
|
-
type: String
|
|
139
|
-
},
|
|
140
|
-
// Visual enhancements
|
|
141
|
-
borderWidth: {
|
|
142
|
-
type: Number,
|
|
143
|
-
default: 0
|
|
144
|
-
},
|
|
145
|
-
borderColor: {
|
|
146
|
-
type: String,
|
|
147
|
-
default: "var(--tiger-surface,#ffffff)"
|
|
148
|
-
},
|
|
149
|
-
hoverOffset: {
|
|
150
|
-
type: Number,
|
|
151
|
-
default: 10
|
|
152
|
-
},
|
|
153
|
-
labelPosition: {
|
|
154
|
-
type: String,
|
|
155
|
-
default: "inside"
|
|
156
|
-
},
|
|
157
|
-
shadow: {
|
|
158
|
-
type: Boolean,
|
|
159
|
-
default: true
|
|
160
|
-
},
|
|
161
|
-
// DonutChart-specific
|
|
162
|
-
centerValue: {
|
|
163
|
-
type: [String, Number]
|
|
164
|
-
},
|
|
165
|
-
centerLabel: {
|
|
166
|
-
type: String
|
|
167
|
-
},
|
|
168
|
-
animated: {
|
|
169
|
-
type: Boolean,
|
|
170
|
-
default: false
|
|
171
|
-
},
|
|
172
|
-
// Visual modes (forwarded to PieChart, opt-in per PR-19k(b6/b7))
|
|
173
|
-
gradient: {
|
|
174
|
-
type: Boolean,
|
|
175
|
-
default: false
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
emits: ["update:hoveredIndex", "update:selectedIndex", "slice-click", "slice-hover"],
|
|
179
|
-
setup(props, { emit }) {
|
|
180
|
-
const innerRect = _vue.computed.call(void 0, () => _tigercatcore.getChartInnerRect.call(void 0, props.width, props.height, props.padding));
|
|
181
|
-
const pad = _vue.computed.call(void 0, () => _tigercatcore.normalizeChartPadding.call(void 0, props.padding));
|
|
182
|
-
const entered = _vue.ref.call(void 0, false);
|
|
183
|
-
_vue.onMounted.call(void 0, () => {
|
|
184
|
-
if (props.animated) entered.value = true;
|
|
185
|
-
});
|
|
186
|
-
const resolvedOuterRadius = _vue.computed.call(void 0, () => {
|
|
187
|
-
if (typeof props.outerRadius === "number") return Math.max(0, props.outerRadius);
|
|
188
|
-
return Math.max(0, Math.min(innerRect.value.width, innerRect.value.height) / 2);
|
|
189
|
-
});
|
|
190
|
-
const resolvedInnerRadius = _vue.computed.call(void 0, () => {
|
|
191
|
-
if (typeof props.innerRadius === "number") {
|
|
192
|
-
return Math.min(Math.max(0, props.innerRadius), resolvedOuterRadius.value);
|
|
193
|
-
}
|
|
194
|
-
const ratio = Math.min(Math.max(_nullishCoalesce(props.innerRadiusRatio, () => ( 0.62)), 0), 1);
|
|
195
|
-
return resolvedOuterRadius.value * ratio;
|
|
196
|
-
});
|
|
197
|
-
const centerPos = _vue.computed.call(void 0, () => ({
|
|
198
|
-
x: pad.value.left + innerRect.value.width / 2,
|
|
199
|
-
y: pad.value.top + innerRect.value.height / 2
|
|
200
|
-
}));
|
|
201
|
-
const hasCenterContent = _vue.computed.call(void 0,
|
|
202
|
-
() => props.centerValue !== void 0 || props.centerLabel !== void 0
|
|
203
|
-
);
|
|
204
|
-
const resolvedColors = _vue.computed.call(void 0,
|
|
205
|
-
() => props.colors && props.colors.length > 0 ? props.colors : DONUT_PALETTE
|
|
206
|
-
);
|
|
207
|
-
const donutTooltipFormatter = _vue.computed.call(void 0, () => {
|
|
208
|
-
if (props.tooltipFormatter) return props.tooltipFormatter;
|
|
209
|
-
const total = props.data.reduce((s, d) => s + d.value, 0);
|
|
210
|
-
return (datum, index) => {
|
|
211
|
-
const pct = total > 0 ? (datum.value / total * 100).toFixed(1) : "0";
|
|
212
|
-
const label = _nullishCoalesce(datum.label, () => ( `#${index + 1}`));
|
|
213
|
-
return `${label}: ${datum.value} (${pct}%)`;
|
|
214
|
-
};
|
|
215
|
-
});
|
|
216
|
-
const handleHoveredIndexUpdate = (index) => {
|
|
217
|
-
emit("update:hoveredIndex", index);
|
|
218
|
-
};
|
|
219
|
-
const handleSelectedIndexUpdate = (index) => {
|
|
220
|
-
emit("update:selectedIndex", index);
|
|
221
|
-
};
|
|
222
|
-
const handleSliceClick = (datum, index) => {
|
|
223
|
-
emit("slice-click", datum, index);
|
|
224
|
-
};
|
|
225
|
-
const handleSliceHover = (datum, index) => {
|
|
226
|
-
emit("slice-hover", datum, index);
|
|
227
|
-
};
|
|
228
|
-
return () => {
|
|
229
|
-
const pie = _vue.h.call(void 0, _chunkOVXDO6KJjs.PieChart, {
|
|
230
|
-
width: props.width,
|
|
231
|
-
height: props.height,
|
|
232
|
-
padding: props.padding,
|
|
233
|
-
data: props.data,
|
|
234
|
-
innerRadius: resolvedInnerRadius.value,
|
|
235
|
-
outerRadius: props.outerRadius,
|
|
236
|
-
startAngle: props.startAngle,
|
|
237
|
-
endAngle: props.endAngle,
|
|
238
|
-
padAngle: props.padAngle,
|
|
239
|
-
colors: resolvedColors.value,
|
|
240
|
-
showLabels: props.showLabels,
|
|
241
|
-
labelFormatter: props.labelFormatter,
|
|
242
|
-
labelPosition: props.labelPosition,
|
|
243
|
-
borderWidth: props.borderWidth,
|
|
244
|
-
borderColor: props.borderColor,
|
|
245
|
-
hoverOffset: props.hoverOffset,
|
|
246
|
-
shadow: props.shadow,
|
|
247
|
-
gradient: props.gradient,
|
|
248
|
-
hoverable: props.hoverable,
|
|
249
|
-
hoveredIndex: props.hoveredIndex,
|
|
250
|
-
activeOpacity: props.activeOpacity,
|
|
251
|
-
inactiveOpacity: props.inactiveOpacity,
|
|
252
|
-
selectable: props.selectable,
|
|
253
|
-
selectedIndex: props.selectedIndex,
|
|
254
|
-
showLegend: props.showLegend,
|
|
255
|
-
legendPosition: props.legendPosition,
|
|
256
|
-
legendMarkerSize: props.legendMarkerSize,
|
|
257
|
-
legendGap: props.legendGap,
|
|
258
|
-
legendFormatter: props.legendFormatter,
|
|
259
|
-
showTooltip: props.showTooltip,
|
|
260
|
-
tooltipFormatter: donutTooltipFormatter.value,
|
|
261
|
-
title: props.title,
|
|
262
|
-
desc: props.desc,
|
|
263
|
-
className: _tigercatcore.classNames.call(void 0, props.className),
|
|
264
|
-
"onUpdate:hoveredIndex": handleHoveredIndexUpdate,
|
|
265
|
-
"onUpdate:selectedIndex": handleSelectedIndexUpdate,
|
|
266
|
-
onSliceClick: handleSliceClick,
|
|
267
|
-
onSliceHover: handleSliceHover
|
|
268
|
-
});
|
|
269
|
-
const center = hasCenterContent.value ? _vue.h.call(void 0,
|
|
270
|
-
"div",
|
|
271
|
-
{
|
|
272
|
-
style: {
|
|
273
|
-
position: "absolute",
|
|
274
|
-
left: `${centerPos.value.x}px`,
|
|
275
|
-
top: `${centerPos.value.y}px`,
|
|
276
|
-
transform: "translate(-50%, -50%)",
|
|
277
|
-
textAlign: "center",
|
|
278
|
-
pointerEvents: "none",
|
|
279
|
-
lineHeight: "1.3",
|
|
280
|
-
padding: "var(--tiger-chart-donut-center-padding, 0)",
|
|
281
|
-
borderRadius: "var(--tiger-radius-pill, 9999px)",
|
|
282
|
-
background: "var(--tiger-chart-donut-center-bg, transparent)",
|
|
283
|
-
boxShadow: "var(--tiger-chart-donut-center-shadow, none)",
|
|
284
|
-
backdropFilter: "var(--tiger-chart-donut-center-backdrop, none)",
|
|
285
|
-
WebkitBackdropFilter: "var(--tiger-chart-donut-center-backdrop, none)"
|
|
286
|
-
},
|
|
287
|
-
"data-donut-center": "true"
|
|
288
|
-
},
|
|
289
|
-
[
|
|
290
|
-
props.centerValue !== void 0 ? _vue.h.call(void 0,
|
|
291
|
-
"div",
|
|
292
|
-
{
|
|
293
|
-
class: "text-xl font-semibold text-[color:var(--tiger-text,#1f2937)]",
|
|
294
|
-
style: { lineHeight: "1.2" }
|
|
295
|
-
},
|
|
296
|
-
`${props.centerValue}`
|
|
297
|
-
) : null,
|
|
298
|
-
props.centerLabel !== void 0 ? _vue.h.call(void 0,
|
|
299
|
-
"div",
|
|
300
|
-
{
|
|
301
|
-
class: "text-xs text-[color:var(--tiger-text-secondary,#6b7280)]",
|
|
302
|
-
style: { marginTop: "2px" }
|
|
303
|
-
},
|
|
304
|
-
props.centerLabel
|
|
305
|
-
) : null
|
|
306
|
-
]
|
|
307
|
-
) : null;
|
|
308
|
-
const styleNode = props.animated && entered.value ? _vue.h.call(void 0, "style", null, _tigercatcore.DONUT_ENTRANCE_KEYFRAMES) : null;
|
|
309
|
-
return _vue.h.call(void 0,
|
|
310
|
-
"div",
|
|
311
|
-
{
|
|
312
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
313
|
-
"inline-block relative",
|
|
314
|
-
props.animated && entered.value && _tigercatcore.DONUT_ENTRANCE_CLASS
|
|
315
|
-
),
|
|
316
|
-
"data-donut-chart": "true"
|
|
317
|
-
},
|
|
318
|
-
[styleNode, pie, center]
|
|
319
|
-
);
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
});
|
|
323
|
-
var DonutChart_default = DonutChart;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
exports.DonutChart = DonutChart; exports.DonutChart_default = DonutChart_default;
|