@expcat/tigercat-vue 1.3.4 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-NKVEXKM5.js → chunk-24CBIC75.js} +28 -3
- package/dist/{chunk-S6K6IR3Y.js → chunk-2MLORMN2.js} +2 -2
- package/dist/{chunk-PIF4M4TR.mjs → chunk-3UQECWNL.mjs} +22 -5
- package/dist/{chunk-RNQOMMLM.mjs → chunk-3VFZB5ZK.mjs} +3 -3
- package/dist/{chunk-ZSQ5I2KL.mjs → chunk-62ZSNASF.mjs} +30 -6
- package/dist/{chunk-Q3IZQUW7.js → chunk-67RSRWWY.js} +3 -3
- package/dist/{chunk-25VVIM45.mjs → chunk-6K4UE5MK.mjs} +1 -1
- package/dist/{chunk-5X3GXNGM.mjs → chunk-6NJXI66G.mjs} +7 -8
- package/dist/{chunk-XQRKFOXS.mjs → chunk-6WF3336O.mjs} +13 -2
- package/dist/{chunk-5D2UAWWP.mjs → chunk-6WFFP4K2.mjs} +2 -4
- package/dist/{chunk-RE7K3KNW.mjs → chunk-6Y4NWO4I.mjs} +17 -13
- package/dist/{chunk-FQWEOBQ4.mjs → chunk-7BU4TW5A.mjs} +13 -3
- package/dist/{chunk-A5HRX7EG.js → chunk-7CR6MLD5.js} +5 -4
- package/dist/{chunk-LAWBHGPK.js → chunk-7FWZIAFP.js} +2 -2
- package/dist/{chunk-CSJQKBDJ.js → chunk-7GYYIDMA.js} +2 -4
- package/dist/{chunk-BWIHL7LK.mjs → chunk-7VSNXYFM.mjs} +1 -1
- package/dist/{chunk-SCSGLSPY.mjs → chunk-A6T2IHFC.mjs} +2 -1
- package/dist/{chunk-D74XCQCK.mjs → chunk-AZ6SASY5.mjs} +23 -6
- package/dist/{chunk-SEDENBOO.mjs → chunk-BHNBLQ5S.mjs} +19 -4
- package/dist/{chunk-PZH2RTSS.mjs → chunk-BYX756N5.mjs} +16 -2
- package/dist/{chunk-LZHCKW2Z.js → chunk-CGZPOI6H.js} +2 -2
- package/dist/{chunk-35NT2WJR.mjs → chunk-DOBGVCZJ.mjs} +1 -3
- package/dist/{chunk-VCBBWDOV.mjs → chunk-DOJPPVAN.mjs} +18 -2
- package/dist/{chunk-2X3ZPH2H.mjs → chunk-DSNPEWYP.mjs} +13 -1
- package/dist/{chunk-VXULMOIW.js → chunk-DUMPRNDR.js} +18 -3
- package/dist/{chunk-NNNG6NIA.mjs → chunk-DWPZRG7A.mjs} +6 -5
- package/dist/{chunk-F7G7K3TF.mjs → chunk-E363N2BJ.mjs} +3 -1
- package/dist/{chunk-JFIVDZFK.js → chunk-E36I27WK.js} +30 -4
- package/dist/{chunk-PCJHGWTU.js → chunk-EIH6ABOR.js} +25 -8
- package/dist/{chunk-5JKQPOG2.js → chunk-F5TZIFMW.js} +15 -3
- package/dist/{chunk-WZBOHL2F.js → chunk-FGM7KB2Q.js} +12 -12
- package/dist/{chunk-4K2CCBFT.mjs → chunk-FISKCPTN.mjs} +3 -2
- package/dist/{chunk-OGDZTDZ6.mjs → chunk-GHG2MCLM.mjs} +28 -7
- package/dist/{chunk-F7WZCYYD.mjs → chunk-GL63FRI4.mjs} +1 -1
- package/dist/{chunk-K4VUUEFQ.mjs → chunk-GRP54POG.mjs} +107 -66
- package/dist/{chunk-TZDNF5SK.js → chunk-GY75BFAV.js} +107 -66
- package/dist/{chunk-ZSCOAOJJ.js → chunk-HMYVPBWI.js} +33 -5
- package/dist/{chunk-P7RXZVLT.js → chunk-HZBE2RY4.js} +14 -2
- package/dist/{chunk-25EYT2CB.js → chunk-IXTYS3EK.js} +3 -2
- package/dist/{chunk-W6VKVYWZ.mjs → chunk-J6YCXMVY.mjs} +1 -1
- package/dist/{chunk-Q4MH333P.js → chunk-JCPTFBLY.js} +1 -1
- package/dist/{chunk-C4HYZH7H.mjs → chunk-KH2CF6JU.mjs} +14 -13
- package/dist/{chunk-Q47OK3FR.js → chunk-KN64NDJS.js} +1 -3
- package/dist/{chunk-MJP2SNLK.mjs → chunk-KY6AJRGT.mjs} +59 -24
- package/dist/{chunk-IPZVGA6Y.mjs → chunk-L6ZD3ZCO.mjs} +65 -96
- package/dist/{chunk-NYR6OQO4.js → chunk-LG55VN6B.js} +60 -25
- package/dist/{chunk-LA5YKXPH.mjs → chunk-LHOSPU6V.mjs} +3 -3
- package/dist/{chunk-OKLDFVDJ.js → chunk-LYF6AAQ7.js} +2 -2
- package/dist/{chunk-Z7ETXBOL.mjs → chunk-M2ECZQ2D.mjs} +32 -4
- package/dist/{chunk-ZDKGABPQ.mjs → chunk-MOLGN476.mjs} +1 -1
- package/dist/{chunk-DS7RQFEG.js → chunk-NCT5FXQB.js} +17 -13
- package/dist/{chunk-EW2IW2JW.js → chunk-NEVDRG6C.js} +13 -5
- package/dist/{chunk-MUJLT2YG.js → chunk-NHNJUBYZ.js} +23 -30
- package/dist/{chunk-ZUPVK5L7.js → chunk-NTZ7LQTY.js} +11 -19
- package/dist/{chunk-3A7H2CTW.mjs → chunk-OOS3QQFK.mjs} +9 -17
- package/dist/{chunk-3XCQRM3L.js → chunk-OTNVA2UT.js} +2 -2
- package/dist/{chunk-GOBWUEHV.js → chunk-OUBJHKWX.js} +3 -1
- package/dist/{chunk-CPV7INZ4.mjs → chunk-P3VAY2IQ.mjs} +1 -1
- package/dist/{chunk-2YFXJUBT.js → chunk-PFWRFHSB.js} +2 -2
- package/dist/{chunk-XJXGVNNF.js → chunk-PGOTPYRG.js} +26 -5
- package/dist/{chunk-7QX4QWWN.js → chunk-PJ66WE62.js} +31 -7
- package/dist/{chunk-7WQN5BYE.mjs → chunk-PPEAQDD5.mjs} +28 -3
- package/dist/{chunk-IORFQMZH.mjs → chunk-PTAWLJCV.mjs} +4 -4
- package/dist/{chunk-IZQ7BRHC.mjs → chunk-QAMXVTNN.mjs} +31 -5
- package/dist/{chunk-LILAZ4UJ.mjs → chunk-QKP5C26H.mjs} +1 -1
- package/dist/{chunk-JZJEZKGN.js → chunk-QZQYKC2N.js} +2 -4
- package/dist/{chunk-VG6E4NX6.mjs → chunk-R6WFL6NI.mjs} +3 -2
- package/dist/{chunk-6XI4VDU4.js → chunk-RBWJSHKR.js} +13 -2
- package/dist/{chunk-WNKF2OD5.mjs → chunk-RHLP2ED5.mjs} +21 -4
- package/dist/{chunk-WUHW7AIM.mjs → chunk-RHV6DWY6.mjs} +5 -7
- package/dist/{chunk-TAA6DDJ2.mjs → chunk-RKL4Y7CW.mjs} +8 -8
- package/dist/{chunk-AEOREYSJ.js → chunk-RLPSCEBP.js} +31 -5
- package/dist/{chunk-OCL22D5E.mjs → chunk-RPWKAGN5.mjs} +32 -4
- package/dist/{chunk-2VVXW53X.js → chunk-RUXIQ5EP.js} +17 -16
- package/dist/{chunk-3NRRNQYJ.js → chunk-SGXLMKMO.js} +21 -4
- package/dist/{chunk-S6Q7TD6H.js → chunk-SJIW7SNA.js} +16 -2
- package/dist/{chunk-7VHDBN6U.js → chunk-SJSZHQWX.js} +4 -4
- package/dist/{chunk-L5E3L6ID.js → chunk-SYTYUC67.js} +64 -95
- package/dist/{chunk-H6V26X2R.js → chunk-T5N2UHVP.js} +2 -2
- package/dist/{chunk-UUJ7A3CN.js → chunk-TAAHD4R7.js} +7 -8
- package/dist/{chunk-ZIOGRGN5.mjs → chunk-TUSWQVI2.mjs} +25 -4
- package/dist/{chunk-RBHF7NOQ.js → chunk-TXQEHRQB.js} +18 -2
- package/dist/{chunk-6NFACBDB.js → chunk-UFY654LD.js} +5 -7
- package/dist/{chunk-2BNQGU7E.mjs → chunk-UKMOWUYH.mjs} +1 -1
- package/dist/{chunk-MHNCH2YI.js → chunk-VJ72Y54M.js} +14 -4
- package/dist/{chunk-6BFGY5W7.mjs → chunk-VN4SKDFO.mjs} +12 -4
- package/dist/{chunk-BH4AJQTL.mjs → chunk-VPHM5WEL.mjs} +1 -1
- package/dist/{chunk-FE2HR4E5.js → chunk-W5DLRGQL.js} +32 -4
- package/dist/{chunk-HFRPZA5S.js → chunk-WGRNO4PB.js} +6 -6
- package/dist/{chunk-PY6P4N2Q.js → chunk-WNYWWGNM.js} +2 -1
- package/dist/{chunk-XGO5Q6KK.js → chunk-WYVA3JBH.js} +22 -5
- package/dist/{chunk-KVJIJJ4M.mjs → chunk-WZRC7PJH.mjs} +20 -27
- package/dist/{chunk-LL4ASJ4O.mjs → chunk-XJ5VGC5V.mjs} +30 -4
- package/dist/{chunk-JNIKT6AL.js → chunk-XVNN6D55.js} +29 -8
- package/dist/{chunk-JJXYM6QR.js → chunk-Z6MMA7ZE.js} +2 -2
- package/dist/{chunk-5WG4OFXH.mjs → chunk-Z7QUWBFR.mjs} +15 -3
- package/dist/{chunk-FUGSQXFR.js → chunk-ZHSXICH7.js} +3 -2
- package/dist/{chunk-LS4VI4RG.mjs → chunk-ZQD2MCNX.mjs} +2 -4
- package/dist/components/ActivityFeed.d.mts +6 -6
- package/dist/components/ActivityFeed.d.ts +6 -6
- package/dist/components/ActivityFeed.js +5 -4
- package/dist/components/ActivityFeed.mjs +4 -3
- package/dist/components/Alert.d.mts +3 -3
- package/dist/components/Alert.d.ts +3 -3
- package/dist/components/Alert.js +2 -2
- package/dist/components/Alert.mjs +1 -1
- package/dist/components/Anchor.d.mts +1 -1
- package/dist/components/Anchor.d.ts +1 -1
- package/dist/components/AreaChart.d.mts +3 -3
- package/dist/components/AreaChart.d.ts +3 -3
- package/dist/components/AutoComplete.d.mts +12 -3
- package/dist/components/AutoComplete.d.ts +12 -3
- package/dist/components/AutoComplete.js +3 -2
- package/dist/components/AutoComplete.mjs +2 -1
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Badge.d.mts +3 -3
- package/dist/components/Badge.d.ts +3 -3
- package/dist/components/BarChart.d.mts +2 -2
- package/dist/components/BarChart.d.ts +2 -2
- package/dist/components/Breadcrumb.d.mts +3 -3
- package/dist/components/Breadcrumb.d.ts +3 -3
- package/dist/components/Button.d.mts +3 -3
- package/dist/components/Button.d.ts +3 -3
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -1
- package/dist/components/Calendar.d.mts +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Card.d.mts +2 -2
- package/dist/components/Card.d.ts +2 -2
- package/dist/components/Cascader.d.mts +19 -3
- package/dist/components/Cascader.d.ts +19 -3
- package/dist/components/Cascader.js +3 -2
- package/dist/components/Cascader.mjs +2 -1
- package/dist/components/ChartCanvas.d.mts +1 -1
- package/dist/components/ChartCanvas.d.ts +1 -1
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartGrid.d.ts +1 -1
- package/dist/components/ChatWindow.d.mts +3 -3
- package/dist/components/ChatWindow.d.ts +3 -3
- package/dist/components/ChatWindow.js +2 -2
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/Checkbox.mjs +2 -2
- package/dist/components/CheckboxGroup.js +2 -2
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CodeEditor.d.mts +2 -2
- package/dist/components/CodeEditor.d.ts +2 -2
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/CollapsePanel.d.ts +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ColorSwatch.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +4 -4
- package/dist/components/CommentThread.d.ts +4 -4
- package/dist/components/CommentThread.js +2 -2
- package/dist/components/CommentThread.mjs +1 -1
- package/dist/components/ConfigProvider.d.mts +1 -1
- package/dist/components/ConfigProvider.d.ts +1 -1
- package/dist/components/ConfigProvider.js +2 -2
- package/dist/components/ConfigProvider.mjs +1 -1
- package/dist/components/Container.d.mts +1 -1
- package/dist/components/Container.d.ts +1 -1
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CropUpload.js +4 -4
- package/dist/components/CropUpload.mjs +3 -3
- package/dist/components/DataTableWithToolbar.d.mts +12 -12
- package/dist/components/DataTableWithToolbar.d.ts +12 -12
- package/dist/components/DataTableWithToolbar.js +7 -7
- package/dist/components/DataTableWithToolbar.mjs +6 -6
- package/dist/components/DatePicker.d.mts +2 -2
- package/dist/components/DatePicker.d.ts +2 -2
- package/dist/components/DatePicker.js +2 -2
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/Descriptions.d.ts +2 -2
- package/dist/components/DonutChart.d.mts +3 -3
- package/dist/components/DonutChart.d.ts +3 -3
- package/dist/components/Drawer.d.mts +5 -5
- package/dist/components/Drawer.d.ts +5 -5
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Drawer.mjs +2 -2
- package/dist/components/FileManager.d.mts +14 -4
- package/dist/components/FileManager.d.ts +14 -4
- package/dist/components/FileManager.js +3 -2
- package/dist/components/FileManager.mjs +2 -1
- package/dist/components/FloatButton.d.mts +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- package/dist/components/Form.d.mts +19 -2
- package/dist/components/Form.d.ts +19 -2
- package/dist/components/Form.js +3 -2
- package/dist/components/Form.mjs +2 -1
- package/dist/components/FormItem.js +4 -3
- package/dist/components/FormItem.mjs +3 -2
- package/dist/components/FormWizard.d.mts +5 -5
- package/dist/components/FormWizard.d.ts +5 -5
- package/dist/components/FormWizard.js +4 -4
- package/dist/components/FormWizard.mjs +3 -3
- package/dist/components/FunnelChart.d.mts +2 -2
- package/dist/components/FunnelChart.d.ts +2 -2
- package/dist/components/Gantt.d.mts +2 -2
- package/dist/components/Gantt.d.ts +2 -2
- package/dist/components/GaugeChart.d.mts +2 -2
- package/dist/components/GaugeChart.d.ts +2 -2
- package/dist/components/HeatmapChart.d.mts +3 -3
- package/dist/components/HeatmapChart.d.ts +3 -3
- package/dist/components/Icon.d.mts +1 -1
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/Image.d.mts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/Image.js +2 -2
- package/dist/components/Image.mjs +1 -1
- package/dist/components/ImageAnnotation.d.mts +4 -4
- package/dist/components/ImageAnnotation.d.ts +4 -4
- package/dist/components/ImageAnnotation.js +2 -2
- package/dist/components/ImageAnnotation.mjs +1 -1
- package/dist/components/ImageViewer.d.mts +10 -0
- package/dist/components/ImageViewer.d.ts +10 -0
- package/dist/components/ImageViewer.js +3 -2
- package/dist/components/ImageViewer.mjs +2 -1
- package/dist/components/InfiniteScroll.d.mts +17 -6
- package/dist/components/InfiniteScroll.d.ts +17 -6
- package/dist/components/InfiniteScroll.js +3 -2
- package/dist/components/InfiniteScroll.mjs +2 -1
- package/dist/components/Input.d.mts +4 -4
- package/dist/components/Input.d.ts +4 -4
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputGroup.d.ts +1 -1
- package/dist/components/InputNumber.d.mts +1 -1
- package/dist/components/InputNumber.d.ts +1 -1
- package/dist/components/InputNumber.js +2 -2
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.d.ts +1 -1
- package/dist/components/Kanban.js +4 -4
- package/dist/components/Kanban.mjs +3 -3
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.d.ts +2 -2
- package/dist/components/Link.d.mts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/List.d.mts +24 -9
- package/dist/components/List.d.ts +24 -9
- package/dist/components/List.js +3 -2
- package/dist/components/List.mjs +2 -1
- package/dist/components/Loading.d.mts +16 -6
- package/dist/components/Loading.d.ts +16 -6
- package/dist/components/Loading.js +3 -2
- package/dist/components/Loading.mjs +2 -1
- package/dist/components/MarkdownEditor.d.mts +2 -2
- package/dist/components/MarkdownEditor.d.ts +2 -2
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Mentions.d.ts +2 -2
- package/dist/components/Mentions.js +2 -2
- package/dist/components/Mentions.mjs +1 -1
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Menu.d.ts +5 -5
- package/dist/components/Menu.js +2 -2
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/MenuItem.js +3 -3
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItemGroup.js +3 -3
- package/dist/components/MenuItemGroup.mjs +1 -1
- package/dist/components/Message.js +2 -2
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.d.mts +8 -8
- package/dist/components/Modal.d.ts +8 -8
- package/dist/components/Modal.js +3 -3
- package/dist/components/Modal.mjs +2 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Notification.mjs +1 -1
- package/dist/components/NotificationCenter.d.mts +5 -5
- package/dist/components/NotificationCenter.d.ts +5 -5
- package/dist/components/NotificationCenter.js +5 -4
- package/dist/components/NotificationCenter.mjs +4 -3
- package/dist/components/NumberKeyboard.d.mts +15 -6
- package/dist/components/NumberKeyboard.d.ts +15 -6
- package/dist/components/NumberKeyboard.js +3 -2
- package/dist/components/NumberKeyboard.mjs +2 -1
- package/dist/components/OrgChart.d.mts +2 -2
- package/dist/components/OrgChart.d.ts +2 -2
- package/dist/components/Pagination.d.mts +4 -4
- package/dist/components/Pagination.d.ts +4 -4
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Pagination.mjs +2 -2
- package/dist/components/PieChart.d.mts +3 -3
- package/dist/components/PieChart.d.ts +3 -3
- package/dist/components/Popconfirm.d.mts +2 -2
- package/dist/components/Popconfirm.d.ts +2 -2
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/Progress.d.ts +3 -3
- package/dist/components/QRCode.d.mts +12 -2
- package/dist/components/QRCode.d.ts +12 -2
- package/dist/components/QRCode.js +3 -2
- package/dist/components/QRCode.mjs +2 -1
- package/dist/components/RadarChart.d.mts +3 -3
- package/dist/components/RadarChart.d.ts +3 -3
- package/dist/components/RichTextEditor.d.mts +1 -1
- package/dist/components/RichTextEditor.d.ts +1 -1
- package/dist/components/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor.mjs +1 -1
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/Row.d.ts +1 -1
- package/dist/components/ScatterChart.d.mts +2 -2
- package/dist/components/ScatterChart.d.ts +2 -2
- package/dist/components/ScrollSpy.d.mts +2 -2
- package/dist/components/ScrollSpy.d.ts +2 -2
- package/dist/components/Select.d.mts +22 -6
- package/dist/components/Select.d.ts +22 -6
- package/dist/components/Select.js +3 -2
- package/dist/components/Select.mjs +2 -1
- package/dist/components/Signature.d.mts +15 -6
- package/dist/components/Signature.d.ts +15 -6
- package/dist/components/Signature.js +3 -2
- package/dist/components/Signature.mjs +2 -1
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Space.d.mts +2 -2
- package/dist/components/Space.d.ts +2 -2
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Splitter.d.ts +1 -1
- package/dist/components/Spotlight.d.mts +17 -9
- package/dist/components/Spotlight.d.ts +17 -9
- package/dist/components/Spotlight.js +3 -2
- package/dist/components/Spotlight.mjs +2 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/Steps.js +2 -2
- package/dist/components/Steps.mjs +1 -1
- package/dist/components/StepsItem.js +3 -3
- package/dist/components/StepsItem.mjs +1 -1
- package/dist/components/SubMenu.js +3 -3
- package/dist/components/SubMenu.mjs +1 -1
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.d.ts +2 -2
- package/dist/components/Table.d.mts +8 -8
- package/dist/components/Table.d.ts +8 -8
- package/dist/components/Table.js +6 -6
- package/dist/components/Table.mjs +5 -5
- package/dist/components/Tabs.d.mts +2 -2
- package/dist/components/Tabs.d.ts +2 -2
- package/dist/components/Tag.d.mts +1 -1
- package/dist/components/Tag.d.ts +1 -1
- package/dist/components/TaskBoard.d.mts +2 -2
- package/dist/components/TaskBoard.d.ts +2 -2
- package/dist/components/TaskBoard.js +3 -3
- package/dist/components/TaskBoard.mjs +2 -2
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Text.d.ts +3 -3
- package/dist/components/Textarea.d.mts +2 -2
- package/dist/components/Textarea.d.ts +2 -2
- package/dist/components/TimePicker.d.mts +7 -7
- package/dist/components/TimePicker.d.ts +7 -7
- package/dist/components/TimePicker.js +3 -2
- package/dist/components/TimePicker.mjs +2 -1
- package/dist/components/Timeline.d.mts +14 -4
- package/dist/components/Timeline.d.ts +14 -4
- package/dist/components/Timeline.js +3 -2
- package/dist/components/Timeline.mjs +2 -1
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tour.d.mts +19 -9
- package/dist/components/Tour.d.ts +19 -9
- package/dist/components/Tour.js +3 -2
- package/dist/components/Tour.mjs +2 -1
- package/dist/components/Transfer.d.mts +18 -3
- package/dist/components/Transfer.d.ts +18 -3
- package/dist/components/Transfer.js +3 -2
- package/dist/components/Transfer.mjs +2 -1
- package/dist/components/Tree.d.mts +21 -5
- package/dist/components/Tree.d.ts +21 -5
- package/dist/components/Tree.js +3 -2
- package/dist/components/Tree.mjs +2 -1
- package/dist/components/TreeMapChart.d.mts +2 -2
- package/dist/components/TreeMapChart.d.ts +2 -2
- package/dist/components/TreeSelect.d.mts +18 -3
- package/dist/components/TreeSelect.d.ts +18 -3
- package/dist/components/TreeSelect.js +3 -2
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.d.ts +4 -4
- package/dist/components/Upload.js +3 -3
- package/dist/components/Upload.mjs +2 -2
- package/dist/components/VirtualTable.d.mts +14 -5
- package/dist/components/VirtualTable.d.ts +14 -5
- package/dist/components/VirtualTable.js +3 -2
- package/dist/components/VirtualTable.mjs +2 -1
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +54 -54
- package/dist/index.mjs +53 -53
- package/package.json +2 -2
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _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/Select.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -19,6 +23,8 @@ var _vue = require('vue');
|
|
|
19
23
|
|
|
20
24
|
|
|
21
25
|
|
|
26
|
+
|
|
27
|
+
|
|
22
28
|
|
|
23
29
|
|
|
24
30
|
|
|
@@ -131,7 +137,7 @@ var Select = _vue.defineComponent.call(void 0, {
|
|
|
131
137
|
*/
|
|
132
138
|
noOptionsText: {
|
|
133
139
|
type: String,
|
|
134
|
-
default:
|
|
140
|
+
default: void 0
|
|
135
141
|
},
|
|
136
142
|
/**
|
|
137
143
|
* Text shown when no data available
|
|
@@ -139,7 +145,7 @@ var Select = _vue.defineComponent.call(void 0, {
|
|
|
139
145
|
*/
|
|
140
146
|
noDataText: {
|
|
141
147
|
type: String,
|
|
142
|
-
default:
|
|
148
|
+
default: void 0
|
|
143
149
|
},
|
|
144
150
|
/**
|
|
145
151
|
* Maximum number of tags in multi-select display
|
|
@@ -186,10 +192,19 @@ var Select = _vue.defineComponent.call(void 0, {
|
|
|
186
192
|
listHeight: {
|
|
187
193
|
type: Number,
|
|
188
194
|
default: 256
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Locale overrides merged on top of ConfigProvider locale
|
|
198
|
+
*/
|
|
199
|
+
locale: {
|
|
200
|
+
type: Object,
|
|
201
|
+
default: void 0
|
|
189
202
|
}
|
|
190
203
|
},
|
|
191
204
|
emits: ["update:modelValue", "change", "search", "create"],
|
|
192
205
|
setup(props, { emit }) {
|
|
206
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
207
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
193
208
|
const instanceId = ++selectInstanceId;
|
|
194
209
|
const listboxId = `tiger-select-listbox-${instanceId}`;
|
|
195
210
|
const getOptionId = (index) => `tiger-select-option-${instanceId}-${index}`;
|
|
@@ -602,7 +617,10 @@ var Select = _vue.defineComponent.call(void 0, {
|
|
|
602
617
|
ref: searchInputRef,
|
|
603
618
|
type: "text",
|
|
604
619
|
class: _tigercatcore.selectSearchInputClasses,
|
|
605
|
-
placeholder:
|
|
620
|
+
placeholder: _tigercatcore.resolveLocaleText.call(void 0,
|
|
621
|
+
"Search...",
|
|
622
|
+
_optionalChain([mergedLocale, 'access', _20 => _20.value, 'optionalAccess', _21 => _21.common, 'optionalAccess', _22 => _22.searchPlaceholder])
|
|
623
|
+
),
|
|
606
624
|
value: searchQuery.value,
|
|
607
625
|
onInput: handleSearchInput,
|
|
608
626
|
onKeydown: handleSearchKeyDown
|
|
@@ -694,7 +712,15 @@ var Select = _vue.defineComponent.call(void 0, {
|
|
|
694
712
|
})() : _vue.h.call(void 0,
|
|
695
713
|
"div",
|
|
696
714
|
{ class: _tigercatcore.selectEmptyStateClasses },
|
|
697
|
-
props.options.length === 0 ?
|
|
715
|
+
props.options.length === 0 ? _tigercatcore.resolveLocaleText.call(void 0,
|
|
716
|
+
"No options available",
|
|
717
|
+
props.noDataText,
|
|
718
|
+
_optionalChain([mergedLocale, 'access', _23 => _23.value, 'optionalAccess', _24 => _24.common, 'optionalAccess', _25 => _25.emptyText])
|
|
719
|
+
) : _tigercatcore.resolveLocaleText.call(void 0,
|
|
720
|
+
"No options found",
|
|
721
|
+
props.noOptionsText,
|
|
722
|
+
_optionalChain([mergedLocale, 'access', _26 => _26.value, 'optionalAccess', _27 => _27.common, 'optionalAccess', _28 => _28.emptyText])
|
|
723
|
+
)
|
|
698
724
|
)
|
|
699
725
|
]
|
|
700
726
|
)
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Cascader.ts
|
|
2
6
|
import { defineComponent, computed, ref, h, watch, onBeforeUnmount } from "vue";
|
|
3
7
|
import {
|
|
@@ -22,7 +26,9 @@ import {
|
|
|
22
26
|
icon20ViewBox,
|
|
23
27
|
chevronDownSolidIcon20PathD,
|
|
24
28
|
closeSolidIcon20PathD,
|
|
25
|
-
coerceClassValue
|
|
29
|
+
coerceClassValue,
|
|
30
|
+
resolveLocaleText,
|
|
31
|
+
mergeTigerLocale
|
|
26
32
|
} from "@expcat/tigercat-core";
|
|
27
33
|
var cascaderInstanceId = 0;
|
|
28
34
|
var ChevronRightIcon = h(
|
|
@@ -86,12 +92,21 @@ var Cascader = defineComponent({
|
|
|
86
92
|
},
|
|
87
93
|
notFoundText: {
|
|
88
94
|
type: String,
|
|
89
|
-
default:
|
|
95
|
+
default: void 0
|
|
96
|
+
},
|
|
97
|
+
/**
|
|
98
|
+
* Locale overrides merged on top of ConfigProvider locale
|
|
99
|
+
*/
|
|
100
|
+
locale: {
|
|
101
|
+
type: Object,
|
|
102
|
+
default: void 0
|
|
90
103
|
}
|
|
91
104
|
},
|
|
92
105
|
emits: ["update:modelValue", "change"],
|
|
93
106
|
setup(props, { emit, attrs }) {
|
|
94
107
|
const instanceId = ++cascaderInstanceId;
|
|
108
|
+
const config = useTigerConfig();
|
|
109
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
95
110
|
const isOpen = ref(false);
|
|
96
111
|
const searchQuery = ref("");
|
|
97
112
|
const activePath = ref([]);
|
|
@@ -282,7 +297,10 @@ var Cascader = defineComponent({
|
|
|
282
297
|
ref: searchInputRef,
|
|
283
298
|
type: "text",
|
|
284
299
|
class: cascaderSearchInputClasses,
|
|
285
|
-
placeholder:
|
|
300
|
+
placeholder: resolveLocaleText(
|
|
301
|
+
"Search...",
|
|
302
|
+
mergedLocale.value?.common?.searchPlaceholder
|
|
303
|
+
),
|
|
286
304
|
value: searchQuery.value,
|
|
287
305
|
onInput: handleSearchInput,
|
|
288
306
|
"aria-label": "Search options"
|
|
@@ -291,7 +309,17 @@ var Cascader = defineComponent({
|
|
|
291
309
|
}
|
|
292
310
|
if (isSearchMode.value) {
|
|
293
311
|
if (searchResults.value.length === 0) {
|
|
294
|
-
children.push(
|
|
312
|
+
children.push(
|
|
313
|
+
h(
|
|
314
|
+
"div",
|
|
315
|
+
{ class: cascaderEmptyStateClasses },
|
|
316
|
+
resolveLocaleText(
|
|
317
|
+
"No results found",
|
|
318
|
+
props.notFoundText,
|
|
319
|
+
mergedLocale.value?.common?.emptyText
|
|
320
|
+
)
|
|
321
|
+
)
|
|
322
|
+
);
|
|
295
323
|
} else {
|
|
296
324
|
const searchList = h(
|
|
297
325
|
"div",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkRLPSCEBPjs = require('./chunk-RLPSCEBP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3QV2D54Hjs = require('./chunk-3QV2D54H.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNOZ65AMOjs = require('./chunk-NOZ65AMO.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkPFWRFHSBjs = require('./chunk-PFWRFHSB.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
16
16
|
|
|
17
17
|
// src/components/Table.ts
|
|
18
18
|
|
|
@@ -211,7 +211,7 @@ var tableEmits = [
|
|
|
211
211
|
"sort-change",
|
|
212
212
|
"filter-change",
|
|
213
213
|
"update:hiddenColumnKeys",
|
|
214
|
-
"hidden-
|
|
214
|
+
"hidden-column-keys-change",
|
|
215
215
|
"page-change",
|
|
216
216
|
"expand-change",
|
|
217
217
|
"cell-change",
|
|
@@ -373,7 +373,7 @@ function useTableState(props, emit, measuredColumnWidths) {
|
|
|
373
373
|
uncontrolledHiddenColumnKeys.value = hiddenKeys;
|
|
374
374
|
}
|
|
375
375
|
emit("update:hiddenColumnKeys", hiddenKeys);
|
|
376
|
-
emit("hidden-
|
|
376
|
+
emit("hidden-column-keys-change", hiddenKeys);
|
|
377
377
|
}
|
|
378
378
|
function toggleColumnLock(columnKey) {
|
|
379
379
|
const original = _optionalChain([props, 'access', _37 => _37.columns, 'access', _38 => _38.find, 'call', _39 => _39((c) => c.key === columnKey), 'optionalAccess', _40 => _40.fixed]);
|
|
@@ -1219,13 +1219,14 @@ function renderPagination(ctx, props, view) {
|
|
|
1219
1219
|
);
|
|
1220
1220
|
const finalPrevAriaLabel = _optionalChain([view, 'optionalAccess', _84 => _84.disableI18n]) ? finalPrevText : labels.prevPageAriaLabel;
|
|
1221
1221
|
const finalNextAriaLabel = _optionalChain([view, 'optionalAccess', _85 => _85.disableI18n]) ? finalNextText : labels.nextPageAriaLabel;
|
|
1222
|
-
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [
|
|
1222
|
+
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [
|
|
1223
|
+
10,
|
|
1224
|
+
20,
|
|
1225
|
+
50,
|
|
1226
|
+
100
|
|
1227
|
+
];
|
|
1223
1228
|
return _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ) }, [
|
|
1224
|
-
paginationConfig.showTotal !== false && _vue.h.call(void 0,
|
|
1225
|
-
"div",
|
|
1226
|
-
{ class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) },
|
|
1227
|
-
finalTotalText
|
|
1228
|
-
),
|
|
1229
|
+
paginationConfig.showTotal !== false && _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) }, finalTotalText),
|
|
1229
1230
|
_vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ) }, [
|
|
1230
1231
|
paginationConfig.showSizeChanger !== false && _vue.h.call(void 0,
|
|
1231
1232
|
"select",
|
|
@@ -1285,7 +1286,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1285
1286
|
props: tableProps,
|
|
1286
1287
|
emits: tableEmits,
|
|
1287
1288
|
setup(props, { emit, slots }) {
|
|
1288
|
-
const config =
|
|
1289
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
1289
1290
|
const wrapperRef = _vue.ref.call(void 0, null);
|
|
1290
1291
|
const tableRef = _vue.ref.call(void 0, null);
|
|
1291
1292
|
const measuredColumnWidths = _vue.ref.call(void 0, {});
|
|
@@ -1462,7 +1463,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1462
1463
|
},
|
|
1463
1464
|
[
|
|
1464
1465
|
_vue.h.call(void 0,
|
|
1465
|
-
|
|
1466
|
+
_chunkPFWRFHSBjs.Checkbox,
|
|
1466
1467
|
{
|
|
1467
1468
|
size: "sm",
|
|
1468
1469
|
modelValue: ctx.allSelected.value,
|
|
@@ -1483,7 +1484,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1483
1484
|
class: "rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] px-3 py-2"
|
|
1484
1485
|
},
|
|
1485
1486
|
[
|
|
1486
|
-
_vue.h.call(void 0,
|
|
1487
|
+
_vue.h.call(void 0, _chunkRLPSCEBPjs.Select, {
|
|
1487
1488
|
size: "sm",
|
|
1488
1489
|
modelValue: ctx.sortState.value.key && ctx.sortState.value.direction ? `${ctx.sortState.value.key}:${ctx.sortState.value.direction}` : "",
|
|
1489
1490
|
options: [
|
|
@@ -1654,7 +1655,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1654
1655
|
_optionalChain([tableLocale, 'access', _91 => _91.value, 'optionalAccess', _92 => _92.locale])
|
|
1655
1656
|
),
|
|
1656
1657
|
onChange: () => ctx.handleSelectRow(key, true)
|
|
1657
|
-
}) : _vue.h.call(void 0,
|
|
1658
|
+
}) : _vue.h.call(void 0, _chunkPFWRFHSBjs.Checkbox, {
|
|
1658
1659
|
size: "sm",
|
|
1659
1660
|
modelValue: isSelected,
|
|
1660
1661
|
disabled: checkboxProps.disabled,
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
|
+
|
|
5
|
+
// src/components/QRCode.ts
|
|
2
6
|
var _vue = require('vue');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
3
13
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
4
14
|
|
|
5
15
|
|
|
@@ -18,14 +28,17 @@ var QRCode = _vue.defineComponent.call(void 0, {
|
|
|
18
28
|
bgColor: { type: String, default: "#ffffff" },
|
|
19
29
|
level: { type: String, default: "M" },
|
|
20
30
|
status: { type: String, default: "active" },
|
|
21
|
-
className: { type: String, default: void 0 }
|
|
31
|
+
className: { type: String, default: void 0 },
|
|
32
|
+
locale: { type: Object, default: void 0 }
|
|
22
33
|
},
|
|
23
34
|
emits: ["refresh"],
|
|
24
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));
|
|
25
38
|
const matrix = _vue.computed.call(void 0, () => _tigercatcore.generateQRMatrix.call(void 0, props.value));
|
|
26
39
|
const moduleSize = _vue.computed.call(void 0, () => {
|
|
27
40
|
const mLen = matrix.value.length;
|
|
28
|
-
return props.size / mLen;
|
|
41
|
+
return (_nullishCoalesce(props.size, () => ( 128))) / mLen;
|
|
29
42
|
});
|
|
30
43
|
return () => {
|
|
31
44
|
const attrsRecord = attrs;
|
|
@@ -79,7 +92,11 @@ var QRCode = _vue.defineComponent.call(void 0, {
|
|
|
79
92
|
if (props.status === "loading") {
|
|
80
93
|
children.push(
|
|
81
94
|
_vue.h.call(void 0, "div", { class: _tigercatcore.qrcodeOverlayClasses }, [
|
|
82
|
-
_vue.h.call(void 0,
|
|
95
|
+
_vue.h.call(void 0,
|
|
96
|
+
"span",
|
|
97
|
+
{ class: "text-sm text-gray-500" },
|
|
98
|
+
_tigercatcore.resolveLocaleText.call(void 0, "Loading...", _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.common, 'optionalAccess', _3 => _3.loadingText]))
|
|
99
|
+
)
|
|
83
100
|
])
|
|
84
101
|
);
|
|
85
102
|
}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var _chunk5F6P5Y4Kjs = require('./chunk-5F6P5Y4K.js');
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
7
|
+
|
|
5
8
|
// src/components/List.ts
|
|
6
9
|
|
|
7
10
|
|
|
@@ -38,6 +41,8 @@ var _vue = require('vue');
|
|
|
38
41
|
|
|
39
42
|
|
|
40
43
|
|
|
44
|
+
|
|
45
|
+
|
|
41
46
|
|
|
42
47
|
|
|
43
48
|
|
|
@@ -92,7 +97,14 @@ var List = _vue.defineComponent.call(void 0, {
|
|
|
92
97
|
*/
|
|
93
98
|
emptyText: {
|
|
94
99
|
type: String,
|
|
95
|
-
default:
|
|
100
|
+
default: void 0
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* Locale override; falls back to ConfigProvider locale
|
|
104
|
+
*/
|
|
105
|
+
locale: {
|
|
106
|
+
type: Object,
|
|
107
|
+
default: void 0
|
|
96
108
|
},
|
|
97
109
|
/**
|
|
98
110
|
* Whether to show split line between items
|
|
@@ -188,6 +200,8 @@ var List = _vue.defineComponent.call(void 0, {
|
|
|
188
200
|
},
|
|
189
201
|
emits: ["item-click", "page-change", "reorder"],
|
|
190
202
|
setup(props, { emit, slots, attrs }) {
|
|
203
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
204
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
191
205
|
const instance = _vue.getCurrentInstance.call(void 0, );
|
|
192
206
|
const hasItemClickListener = _vue.computed.call(void 0, () => {
|
|
193
207
|
const vnodeProps = _optionalChain([instance, 'optionalAccess', _ => _.vnode, 'access', _2 => _2.props]) || {};
|
|
@@ -380,7 +394,7 @@ var List = _vue.defineComponent.call(void 0, {
|
|
|
380
394
|
role: "status",
|
|
381
395
|
"aria-live": "polite"
|
|
382
396
|
},
|
|
383
|
-
props.emptyText
|
|
397
|
+
_tigercatcore.resolveLocaleText.call(void 0, "No data", props.emptyText, _optionalChain([mergedLocale, 'access', _3 => _3.value, 'optionalAccess', _4 => _4.common, 'optionalAccess', _5 => _5.emptyText]))
|
|
384
398
|
);
|
|
385
399
|
}
|
|
386
400
|
const items = paginatedData.value.map((item, index) => renderListItem(item, index));
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
3
|
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
7
4
|
|
|
8
5
|
|
|
@@ -11,6 +8,9 @@ var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
|
11
8
|
|
|
12
9
|
var _chunkEQW6IUHGjs = require('./chunk-EQW6IUHG.js');
|
|
13
10
|
|
|
11
|
+
|
|
12
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
13
|
+
|
|
14
14
|
// src/components/Modal.ts
|
|
15
15
|
|
|
16
16
|
|
|
@@ -219,7 +219,7 @@ var Modal = _vue.defineComponent.call(void 0, {
|
|
|
219
219
|
},
|
|
220
220
|
emits: ["update:open", "close", "cancel", "ok"],
|
|
221
221
|
setup(props, { slots, emit, attrs }) {
|
|
222
|
-
const config =
|
|
222
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
223
223
|
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
224
224
|
const instanceId = _vue.ref.call(void 0, createModalId());
|
|
225
225
|
const hasBeenOpened = _vue.ref.call(void 0, props.open);
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var _chunk5F6P5Y4Kjs = require('./chunk-5F6P5Y4K.js');
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
7
|
+
|
|
5
8
|
// src/components/Tree.ts
|
|
6
9
|
var _vue = require('vue');
|
|
7
10
|
|
|
@@ -26,6 +29,10 @@ var _vue = require('vue');
|
|
|
26
29
|
|
|
27
30
|
|
|
28
31
|
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
29
36
|
|
|
30
37
|
|
|
31
38
|
|
|
@@ -218,7 +225,7 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
218
225
|
*/
|
|
219
226
|
emptyText: {
|
|
220
227
|
type: String,
|
|
221
|
-
default:
|
|
228
|
+
default: void 0
|
|
222
229
|
},
|
|
223
230
|
/**
|
|
224
231
|
* Accessible label for the tree container
|
|
@@ -263,6 +270,13 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
263
270
|
className: {
|
|
264
271
|
type: String,
|
|
265
272
|
default: void 0
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* Locale overrides merged on top of ConfigProvider locale
|
|
276
|
+
*/
|
|
277
|
+
locale: {
|
|
278
|
+
type: Object,
|
|
279
|
+
default: void 0
|
|
266
280
|
}
|
|
267
281
|
},
|
|
268
282
|
emits: [
|
|
@@ -279,6 +293,8 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
279
293
|
],
|
|
280
294
|
setup(props, { emit, attrs }) {
|
|
281
295
|
const rootEl = _vue.ref.call(void 0, null);
|
|
296
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
297
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
282
298
|
const effectiveSelectable = _vue.computed.call(void 0, () => {
|
|
283
299
|
if (props.selectionMode !== void 0) {
|
|
284
300
|
return props.selectionMode !== "none";
|
|
@@ -496,21 +512,6 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
496
512
|
function getCurrentKey(fallbackKey) {
|
|
497
513
|
return _nullishCoalesce(_nullishCoalesce(activeKey.value, () => ( defaultActiveKey.value)), () => ( fallbackKey));
|
|
498
514
|
}
|
|
499
|
-
function getNavigationIndex(key) {
|
|
500
|
-
return focusableKeys.value.findIndex((k) => k === key);
|
|
501
|
-
}
|
|
502
|
-
function getFirstChildKey(key) {
|
|
503
|
-
const list = visibleItems.value;
|
|
504
|
-
const index = list.findIndex((i) => i.key === key);
|
|
505
|
-
if (index < 0) return void 0;
|
|
506
|
-
const base = list[index];
|
|
507
|
-
for (let i = index + 1; i < list.length; i++) {
|
|
508
|
-
const item = list[i];
|
|
509
|
-
if (item.level <= base.level) break;
|
|
510
|
-
if (item.parentKey === key && !item.node.disabled) return item.key;
|
|
511
|
-
}
|
|
512
|
-
return void 0;
|
|
513
|
-
}
|
|
514
515
|
function renderTreeRow(node, level) {
|
|
515
516
|
const hasChildren = !!(node.children && node.children.length > 0);
|
|
516
517
|
const isExpanded = computedExpandedKeys.value.has(node.key);
|
|
@@ -602,83 +603,41 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
602
603
|
onKeydown: (e) => {
|
|
603
604
|
if (node.disabled) return;
|
|
604
605
|
const currentKey = getCurrentKey(node.key);
|
|
605
|
-
const currentIndex = getNavigationIndex(currentKey);
|
|
606
606
|
const parents = _tigercatcore.getParentKeys.call(void 0, props.treeData, node.key);
|
|
607
607
|
const parentKey = parents[parents.length - 1];
|
|
608
|
-
|
|
609
|
-
e.
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
if (isExpandable && isExpanded) {
|
|
642
|
-
handleExpand(node.key);
|
|
643
|
-
return;
|
|
644
|
-
}
|
|
645
|
-
focusKey(_nullishCoalesce(parentKey, () => ( currentKey)));
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
|
-
if (e.key === "Escape") {
|
|
649
|
-
e.preventDefault();
|
|
650
|
-
if (isExpandable && isExpanded) {
|
|
651
|
-
handleExpand(node.key);
|
|
652
|
-
return;
|
|
653
|
-
}
|
|
654
|
-
if (parentKey !== void 0) {
|
|
655
|
-
if (computedExpandedKeys.value.has(parentKey)) {
|
|
656
|
-
handleExpand(parentKey);
|
|
657
|
-
}
|
|
658
|
-
focusKey(parentKey);
|
|
659
|
-
}
|
|
660
|
-
return;
|
|
661
|
-
}
|
|
662
|
-
if (e.key === "Enter") {
|
|
663
|
-
e.preventDefault();
|
|
664
|
-
if (effectiveSelectable.value) {
|
|
665
|
-
handleSelect(node.key, e);
|
|
666
|
-
return;
|
|
667
|
-
}
|
|
668
|
-
if (isExpandable) {
|
|
669
|
-
handleExpand(node.key);
|
|
670
|
-
}
|
|
671
|
-
return;
|
|
672
|
-
}
|
|
673
|
-
if (e.key === " ") {
|
|
674
|
-
e.preventDefault();
|
|
675
|
-
if (props.checkable) {
|
|
676
|
-
handleCheck(node.key, !isChecked);
|
|
677
|
-
return;
|
|
678
|
-
}
|
|
679
|
-
if (isExpandable) {
|
|
680
|
-
handleExpand(node.key);
|
|
681
|
-
}
|
|
608
|
+
const action = _tigercatcore.getTreeKeyboardAction.call(void 0, {
|
|
609
|
+
key: e.key,
|
|
610
|
+
nodeKey: node.key,
|
|
611
|
+
currentKey,
|
|
612
|
+
focusableKeys: focusableKeys.value,
|
|
613
|
+
parentKey,
|
|
614
|
+
firstChildKey: _tigercatcore.getFirstVisibleChildKey.call(void 0, visibleItems.value, node.key),
|
|
615
|
+
isExpandable,
|
|
616
|
+
isExpanded,
|
|
617
|
+
isParentExpanded: parentKey !== void 0 && computedExpandedKeys.value.has(parentKey),
|
|
618
|
+
isChecked,
|
|
619
|
+
selectable: effectiveSelectable.value,
|
|
620
|
+
checkable: !!props.checkable
|
|
621
|
+
});
|
|
622
|
+
if (!action) return;
|
|
623
|
+
e.preventDefault();
|
|
624
|
+
switch (action.type) {
|
|
625
|
+
case "focus":
|
|
626
|
+
focusKey(action.key);
|
|
627
|
+
break;
|
|
628
|
+
case "toggleExpand":
|
|
629
|
+
handleExpand(action.key);
|
|
630
|
+
break;
|
|
631
|
+
case "select":
|
|
632
|
+
handleSelect(action.key, e);
|
|
633
|
+
break;
|
|
634
|
+
case "check":
|
|
635
|
+
handleCheck(action.key, action.checked);
|
|
636
|
+
break;
|
|
637
|
+
case "collapseAndFocus":
|
|
638
|
+
if (action.collapseKey !== void 0) handleExpand(action.collapseKey);
|
|
639
|
+
focusKey(action.focusKey);
|
|
640
|
+
break;
|
|
682
641
|
}
|
|
683
642
|
},
|
|
684
643
|
onClick: (e) => {
|
|
@@ -693,7 +652,8 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
693
652
|
);
|
|
694
653
|
}
|
|
695
654
|
function renderTreeNode(node, level) {
|
|
696
|
-
const
|
|
655
|
+
const children = _nullishCoalesce(node.children, () => ( []));
|
|
656
|
+
const hasChildren = children.length > 0;
|
|
697
657
|
const isExpanded = computedExpandedKeys.value.has(node.key);
|
|
698
658
|
const isFiltered = filteredNodeKeys.value.size > 0;
|
|
699
659
|
const isMatched = filteredNodeKeys.value.has(node.key);
|
|
@@ -714,7 +674,7 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
714
674
|
{
|
|
715
675
|
class: _tigercatcore.classNames.call(void 0, _tigercatcore.treeNodeChildrenClasses, props.showLine && _tigercatcore.treeLineClasses)
|
|
716
676
|
},
|
|
717
|
-
|
|
677
|
+
children.map((child) => renderTreeNode(child, level + 1))
|
|
718
678
|
)
|
|
719
679
|
]
|
|
720
680
|
);
|
|
@@ -734,13 +694,22 @@ var Tree = _vue.defineComponent.call(void 0, {
|
|
|
734
694
|
role: "tree",
|
|
735
695
|
"aria-label": props.ariaLabel
|
|
736
696
|
},
|
|
737
|
-
[
|
|
697
|
+
[
|
|
698
|
+
_vue.h.call(void 0,
|
|
699
|
+
"div",
|
|
700
|
+
{ class: _tigercatcore.treeEmptyStateClasses },
|
|
701
|
+
_tigercatcore.resolveLocaleText.call(void 0, "No data", props.emptyText, _optionalChain([mergedLocale, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.common, 'optionalAccess', _8 => _8.emptyText]))
|
|
702
|
+
)
|
|
703
|
+
]
|
|
738
704
|
);
|
|
739
705
|
}
|
|
740
706
|
const searchInput = props.searchable ? _vue.h.call(void 0, "input", {
|
|
741
707
|
type: "text",
|
|
742
708
|
class: "w-full mb-2 px-2 py-1 text-sm border border-[var(--tiger-border,#e5e7eb)] rounded bg-[var(--tiger-surface,#ffffff)] focus:outline-none focus:ring-1 focus:ring-[var(--tiger-primary,#2563eb)]",
|
|
743
|
-
placeholder:
|
|
709
|
+
placeholder: _tigercatcore.resolveLocaleText.call(void 0,
|
|
710
|
+
"Search...",
|
|
711
|
+
_optionalChain([mergedLocale, 'access', _9 => _9.value, 'optionalAccess', _10 => _10.common, 'optionalAccess', _11 => _11.searchPlaceholder])
|
|
712
|
+
),
|
|
744
713
|
value: internalSearchValue.value,
|
|
745
714
|
onInput: (e) => {
|
|
746
715
|
internalSearchValue.value = e.target.value;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
var _chunkX6FG4RPFjs = require('./chunk-X6FG4RPF.js');
|
|
4
4
|
|
|
@@ -166,7 +166,7 @@ var Image = _vue.defineComponent.call(void 0, {
|
|
|
166
166
|
if (ht) base.height = ht;
|
|
167
167
|
return _tigercatcore.mergeStyleValues.call(void 0, attrs.style, props.style, base);
|
|
168
168
|
});
|
|
169
|
-
const imgClasses = _vue.computed.call(void 0, () => _tigercatcore.getImageImgClasses.call(void 0, props.fit));
|
|
169
|
+
const imgClasses = _vue.computed.call(void 0, () => _tigercatcore.getImageImgClasses.call(void 0, _nullishCoalesce(props.fit, () => ( "cover"))));
|
|
170
170
|
return () => {
|
|
171
171
|
const forwardedAttrs = Object.fromEntries(
|
|
172
172
|
Object.entries(attrs).filter(([key]) => key !== "class" && key !== "style")
|
|
@@ -18,6 +18,8 @@ var _vue = require('vue');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
|
|
21
23
|
|
|
22
24
|
|
|
23
25
|
|
|
@@ -96,16 +98,13 @@ var InputNumber = _vue.defineComponent.call(void 0, {
|
|
|
96
98
|
let suppressNextClick = false;
|
|
97
99
|
const displayValue = _vue.ref.call(void 0, "");
|
|
98
100
|
function toDisplayValue(val) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
return _tigercatcore.formatInputNumberDisplay.call(void 0, val, {
|
|
102
|
+
formatter: props.formatter,
|
|
103
|
+
precision: props.precision
|
|
104
|
+
});
|
|
103
105
|
}
|
|
104
106
|
function parseValue(str) {
|
|
105
|
-
|
|
106
|
-
if (props.parser) return props.parser(str);
|
|
107
|
-
const num = Number(str);
|
|
108
|
-
return Number.isNaN(num) ? null : num;
|
|
107
|
+
return _tigercatcore.parseInputNumberValue.call(void 0, str, { parser: props.parser });
|
|
109
108
|
}
|
|
110
109
|
_vue.watch.call(void 0,
|
|
111
110
|
() => props.modelValue,
|