@expcat/tigercat-vue 1.3.3 → 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-E3GVL5S4.js → chunk-FGM7KB2Q.js} +35 -35
- 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-CFWGZ4QP.mjs → chunk-KH2CF6JU.mjs} +28 -24
- 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-43EMBXIF.mjs → chunk-RKL4Y7CW.mjs} +32 -32
- package/dist/{chunk-AEOREYSJ.js → chunk-RLPSCEBP.js} +31 -5
- package/dist/{chunk-OCL22D5E.mjs → chunk-RPWKAGN5.mjs} +32 -4
- package/dist/{chunk-Z26QGWO7.js → chunk-RUXIQ5EP.js} +25 -21
- 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 +13 -12
- package/dist/components/DataTableWithToolbar.d.ts +13 -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
|
@@ -50,6 +50,7 @@ var _vue = require('vue');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
+
|
|
53
54
|
|
|
54
55
|
|
|
55
56
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -264,6 +265,7 @@ var Menu = _vue.defineComponent.call(void 0, {
|
|
|
264
265
|
return () => {
|
|
265
266
|
const renderDataItem = (item) => {
|
|
266
267
|
if (item.children && item.children.length > 0) {
|
|
268
|
+
const children = item.children;
|
|
267
269
|
return _vue.h.call(void 0,
|
|
268
270
|
SubMenu,
|
|
269
271
|
{
|
|
@@ -273,7 +275,7 @@ var Menu = _vue.defineComponent.call(void 0, {
|
|
|
273
275
|
icon: item.icon,
|
|
274
276
|
disabled: item.disabled
|
|
275
277
|
},
|
|
276
|
-
() =>
|
|
278
|
+
() => children.map(renderDataItem)
|
|
277
279
|
);
|
|
278
280
|
}
|
|
279
281
|
return _vue.h.call(void 0,
|
|
@@ -413,9 +415,7 @@ var MenuItem = _vue.defineComponent.call(void 0, {
|
|
|
413
415
|
const current = event.currentTarget;
|
|
414
416
|
const rootMenu = current.closest('ul[role="menu"]');
|
|
415
417
|
const isRoot = _optionalChain([rootMenu, 'optionalAccess', _3 => _3.dataset, 'access', _4 => _4.tigerMenuRoot]) === "true";
|
|
416
|
-
const
|
|
417
|
-
const nextKey = isHorizontalRoot ? "ArrowRight" : "ArrowDown";
|
|
418
|
-
const prevKey = isHorizontalRoot ? "ArrowLeft" : "ArrowUp";
|
|
418
|
+
const { nextKey, prevKey } = _tigercatcore.getMenuNavigationKeys.call(void 0, menuContext.mode.value, isRoot);
|
|
419
419
|
if (event.key === nextKey) {
|
|
420
420
|
event.preventDefault();
|
|
421
421
|
_tigercatcore.moveFocusInMenu.call(void 0, current, 1);
|
|
@@ -772,9 +772,7 @@ var SubMenu = _vue.defineComponent.call(void 0, {
|
|
|
772
772
|
const current = event.currentTarget;
|
|
773
773
|
const rootMenu = current.closest('ul[role="menu"]');
|
|
774
774
|
const isRoot = _optionalChain([rootMenu, 'optionalAccess', _15 => _15.dataset, 'access', _16 => _16.tigerMenuRoot]) === "true";
|
|
775
|
-
const
|
|
776
|
-
const nextKey = isHorizontalRoot ? "ArrowRight" : "ArrowDown";
|
|
777
|
-
const prevKey = isHorizontalRoot ? "ArrowLeft" : "ArrowUp";
|
|
775
|
+
const { nextKey, prevKey } = _tigercatcore.getMenuNavigationKeys.call(void 0, menuContext.mode.value, isRoot);
|
|
778
776
|
if (event.key === nextKey) {
|
|
779
777
|
event.preventDefault();
|
|
780
778
|
_tigercatcore.moveFocusInMenu.call(void 0, current, 1);
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
|
+
|
|
5
|
+
// src/components/Signature.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -17,6 +21,9 @@ var _vue = require('vue');
|
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
20
27
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
21
28
|
var DEFAULT_WIDTH = 480;
|
|
22
29
|
var DEFAULT_HEIGHT = 180;
|
|
@@ -39,7 +46,8 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
39
46
|
},
|
|
40
47
|
quality: { type: Number, default: 0.92 },
|
|
41
48
|
ariaLabel: { type: String, default: "Signature pad" },
|
|
42
|
-
clearText: { type: String, default:
|
|
49
|
+
clearText: { type: String, default: void 0 },
|
|
50
|
+
locale: { type: Object, default: void 0 },
|
|
43
51
|
className: { type: String, default: void 0 },
|
|
44
52
|
style: {
|
|
45
53
|
type: Object,
|
|
@@ -48,6 +56,8 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
48
56
|
},
|
|
49
57
|
emits: ["update:modelValue", "change", "begin", "end", "clear"],
|
|
50
58
|
setup(props, { attrs, emit, expose }) {
|
|
59
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
60
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
51
61
|
const canvasRef = _vue.ref.call(void 0, null);
|
|
52
62
|
const strokes = _vue.ref.call(void 0, []);
|
|
53
63
|
const activeStroke = _vue.ref.call(void 0, null);
|
|
@@ -57,7 +67,7 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
57
67
|
const canvas = canvasRef.value;
|
|
58
68
|
const context = _optionalChain([canvas, 'optionalAccess', _ => _.getContext, 'call', _2 => _2("2d")]);
|
|
59
69
|
if (!canvas || !context) return;
|
|
60
|
-
const ratio =
|
|
70
|
+
const ratio = !_tigercatcore.isBrowser.call(void 0, ) ? 1 : window.devicePixelRatio || 1;
|
|
61
71
|
canvas.width = props.width * ratio;
|
|
62
72
|
canvas.height = props.height * ratio;
|
|
63
73
|
canvas.style.width = `${props.width}px`;
|
|
@@ -215,7 +225,7 @@ var Signature = _vue.defineComponent.call(void 0, {
|
|
|
215
225
|
disabled: isDisabled.value || _tigercatcore.isSignatureEmpty.call(void 0, strokes.value),
|
|
216
226
|
onClick: clear
|
|
217
227
|
},
|
|
218
|
-
props.clearText
|
|
228
|
+
_tigercatcore.resolveLocaleText.call(void 0, "Clear", props.clearText, _optionalChain([mergedLocale, 'access', _8 => _8.value, 'optionalAccess', _9 => _9.common, 'optionalAccess', _10 => _10.clearText]))
|
|
219
229
|
)
|
|
220
230
|
]) : null
|
|
221
231
|
]
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-SGRUGYQ6.mjs";
|
|
5
5
|
import {
|
|
6
6
|
List
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BYX756N5.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
10
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Loading
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6WF3336O.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Text
|
|
16
16
|
} from "./chunk-NN6AINLG.mjs";
|
|
@@ -460,7 +460,12 @@ var NotificationCenter = defineComponent({
|
|
|
460
460
|
h("div", { class: "flex items-center gap-2.5" }, [
|
|
461
461
|
h(
|
|
462
462
|
Text,
|
|
463
|
-
{
|
|
463
|
+
{
|
|
464
|
+
tag: "div",
|
|
465
|
+
size: "base",
|
|
466
|
+
weight: "bold",
|
|
467
|
+
class: "text-gray-900 dark:text-gray-100"
|
|
468
|
+
},
|
|
464
469
|
{ default: () => props.title }
|
|
465
470
|
),
|
|
466
471
|
totalUnread.value > 0 ? h(
|
|
@@ -489,7 +494,10 @@ var NotificationCenter = defineComponent({
|
|
|
489
494
|
renderReadFilterButtons()
|
|
490
495
|
]);
|
|
491
496
|
const content = props.loading ? h("div", { class: "flex items-center justify-center py-16" }, [
|
|
492
|
-
h(Loading, {
|
|
497
|
+
h(Loading, {
|
|
498
|
+
text: props.loadingText,
|
|
499
|
+
class: "text-blue-500 dark:text-blue-400 font-medium"
|
|
500
|
+
})
|
|
493
501
|
]) : resolvedGroups.value.length > 0 ? h("div", { class: "-mx-4 -mb-4" }, [renderTabs()]) : h("div", { class: "-mx-4 -mb-4 max-h-[380px] overflow-y-auto" }, [
|
|
494
502
|
renderList(filteredFlatItems.value)
|
|
495
503
|
]);
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
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/Transfer.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -18,6 +22,8 @@ var _vue = require('vue');
|
|
|
18
22
|
|
|
19
23
|
|
|
20
24
|
|
|
25
|
+
|
|
26
|
+
|
|
21
27
|
|
|
22
28
|
|
|
23
29
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -72,15 +78,24 @@ var Transfer = _vue.defineComponent.call(void 0, {
|
|
|
72
78
|
},
|
|
73
79
|
notFoundText: {
|
|
74
80
|
type: String,
|
|
75
|
-
default:
|
|
81
|
+
default: void 0
|
|
76
82
|
},
|
|
77
83
|
filterOption: {
|
|
78
84
|
type: Function,
|
|
79
85
|
default: void 0
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Locale overrides merged on top of ConfigProvider locale
|
|
89
|
+
*/
|
|
90
|
+
locale: {
|
|
91
|
+
type: Object,
|
|
92
|
+
default: void 0
|
|
80
93
|
}
|
|
81
94
|
},
|
|
82
95
|
emits: ["update:modelValue", "change"],
|
|
83
96
|
setup(props, { emit, attrs }) {
|
|
97
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
98
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
84
99
|
const sourceSelectedKeys = _vue.ref.call(void 0, /* @__PURE__ */ new Set());
|
|
85
100
|
const targetSelectedKeys = _vue.ref.call(void 0, /* @__PURE__ */ new Set());
|
|
86
101
|
const sourceSearch = _vue.ref.call(void 0, "");
|
|
@@ -167,7 +182,10 @@ var Transfer = _vue.defineComponent.call(void 0, {
|
|
|
167
182
|
props.showSearch ? _vue.h.call(void 0, "input", {
|
|
168
183
|
type: "text",
|
|
169
184
|
class: _tigercatcore.transferSearchClasses,
|
|
170
|
-
placeholder:
|
|
185
|
+
placeholder: _tigercatcore.resolveLocaleText.call(void 0,
|
|
186
|
+
"Search...",
|
|
187
|
+
_optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.common, 'optionalAccess', _3 => _3.searchPlaceholder])
|
|
188
|
+
),
|
|
171
189
|
value: searchValue,
|
|
172
190
|
"aria-label": `Search ${title}`,
|
|
173
191
|
onInput: (e) => onSearch(e.target.value)
|
|
@@ -202,7 +220,17 @@ var Transfer = _vue.defineComponent.call(void 0, {
|
|
|
202
220
|
_vue.h.call(void 0, "span", { class: "flex-1 truncate" }, item.label)
|
|
203
221
|
]
|
|
204
222
|
);
|
|
205
|
-
}) : [
|
|
223
|
+
}) : [
|
|
224
|
+
_vue.h.call(void 0,
|
|
225
|
+
"div",
|
|
226
|
+
{ class: _tigercatcore.transferEmptyClasses },
|
|
227
|
+
_tigercatcore.resolveLocaleText.call(void 0,
|
|
228
|
+
"No data",
|
|
229
|
+
props.notFoundText,
|
|
230
|
+
_optionalChain([mergedLocale, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.common, 'optionalAccess', _6 => _6.emptyText])
|
|
231
|
+
)
|
|
232
|
+
)
|
|
233
|
+
]
|
|
206
234
|
)
|
|
207
235
|
]);
|
|
208
236
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNCT5FXQBjs = require('./chunk-NCT5FXQB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
11
11
|
|
|
12
12
|
// src/components/FormWizard.ts
|
|
13
13
|
var _vue = require('vue');
|
|
@@ -159,7 +159,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
|
|
|
159
159
|
},
|
|
160
160
|
emits: ["change", "update:current", "finish"],
|
|
161
161
|
setup(props, { slots, attrs, emit }) {
|
|
162
|
-
const config =
|
|
162
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
163
163
|
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
164
164
|
const labels = _vue.computed.call(void 0, () => _tigercatcore.getFormWizardLabels.call(void 0, mergedLocale.value, props.labels));
|
|
165
165
|
const innerCurrent = _vue.ref.call(void 0, _nullishCoalesce(props.current, () => ( props.defaultCurrent)));
|
|
@@ -251,7 +251,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
|
|
|
251
251
|
};
|
|
252
252
|
return () => {
|
|
253
253
|
const stepsNodes = props.steps.map(
|
|
254
|
-
(step, index) => _vue.h.call(void 0,
|
|
254
|
+
(step, index) => _vue.h.call(void 0, _chunkNCT5FXQBjs.StepsItem, {
|
|
255
255
|
key: _nullishCoalesce(step.key, () => ( index)),
|
|
256
256
|
title: step.title,
|
|
257
257
|
description: step.description,
|
|
@@ -281,7 +281,7 @@ var FormWizard = _vue.defineComponent.call(void 0, {
|
|
|
281
281
|
[
|
|
282
282
|
props.showSteps && props.steps.length > 0 ? _vue.h.call(void 0, "div", { class: stepsHeaderClass }, [
|
|
283
283
|
_vue.h.call(void 0,
|
|
284
|
-
|
|
284
|
+
_chunkNCT5FXQBjs.Steps,
|
|
285
285
|
{
|
|
286
286
|
current: currentIndex.value,
|
|
287
287
|
direction: props.direction,
|
|
@@ -21,6 +21,7 @@ var _vue = require('vue');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -74,7 +75,7 @@ var ImageAnnotation = _vue.defineComponent.call(void 0, {
|
|
|
74
75
|
const loadImage = () => {
|
|
75
76
|
imageLoaded.value = false;
|
|
76
77
|
draft.value = null;
|
|
77
|
-
if (
|
|
78
|
+
if (!_tigercatcore.isBrowser.call(void 0, ) || typeof window.Image !== "function") return;
|
|
78
79
|
const img = new window.Image();
|
|
79
80
|
img.onload = () => {
|
|
80
81
|
const naturalWidth = img.naturalWidth || 1;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
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/VirtualTable.ts
|
|
2
6
|
var _vue = require('vue');
|
|
3
7
|
|
|
4
8
|
|
|
@@ -17,6 +21,8 @@ var _vue = require('vue');
|
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
|
|
24
|
+
|
|
25
|
+
|
|
20
26
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
21
27
|
var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
22
28
|
name: "TigerVirtualTable",
|
|
@@ -39,7 +45,7 @@ var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
|
39
45
|
default: void 0
|
|
40
46
|
},
|
|
41
47
|
loading: { type: Boolean, default: false },
|
|
42
|
-
emptyText: { type: String, default:
|
|
48
|
+
emptyText: { type: String, default: void 0 },
|
|
43
49
|
selectable: { type: Boolean, default: false },
|
|
44
50
|
selectedKeys: {
|
|
45
51
|
type: Array,
|
|
@@ -47,10 +53,13 @@ var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
|
47
53
|
},
|
|
48
54
|
striped: { type: Boolean, default: false },
|
|
49
55
|
bordered: { type: Boolean, default: false },
|
|
50
|
-
className: { type: String, default: void 0 }
|
|
56
|
+
className: { type: String, default: void 0 },
|
|
57
|
+
locale: { type: Object, default: void 0 }
|
|
51
58
|
},
|
|
52
59
|
emits: ["row-click", "select"],
|
|
53
60
|
setup(props, { emit, attrs }) {
|
|
61
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
62
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
54
63
|
const containerRef = _vue.ref.call(void 0, null);
|
|
55
64
|
const scrollTop = _vue.ref.call(void 0, 0);
|
|
56
65
|
const range = _vue.computed.call(void 0,
|
|
@@ -164,8 +173,16 @@ var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
|
164
173
|
}) : null;
|
|
165
174
|
const tbody = _vue.h.call(void 0, "tbody", {}, [topSpacer, ...rows, bottomSpacer]);
|
|
166
175
|
const table = _vue.h.call(void 0, "table", { class: "w-full table-fixed" }, [thead, tbody]);
|
|
167
|
-
const emptyEl = props.data.length === 0 && !props.loading ? _vue.h.call(void 0,
|
|
168
|
-
|
|
176
|
+
const emptyEl = props.data.length === 0 && !props.loading ? _vue.h.call(void 0,
|
|
177
|
+
"div",
|
|
178
|
+
{ class: _tigercatcore.virtualTableEmptyClasses },
|
|
179
|
+
_tigercatcore.resolveLocaleText.call(void 0, "No data", props.emptyText, _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.common, 'optionalAccess', _3 => _3.emptyText]))
|
|
180
|
+
) : null;
|
|
181
|
+
const loadingEl = props.loading ? _vue.h.call(void 0,
|
|
182
|
+
"div",
|
|
183
|
+
{ class: _tigercatcore.virtualTableLoadingClasses },
|
|
184
|
+
_tigercatcore.resolveLocaleText.call(void 0, "Loading...", _optionalChain([mergedLocale, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.common, 'optionalAccess', _6 => _6.loadingText]))
|
|
185
|
+
) : null;
|
|
169
186
|
return _vue.h.call(void 0,
|
|
170
187
|
"div",
|
|
171
188
|
{
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFilledIcon
|
|
3
3
|
} from "./chunk-2TNZ4JNT.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useTigerConfig
|
|
6
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
7
|
|
|
5
8
|
// src/components/TimePicker.ts
|
|
6
9
|
import {
|
|
@@ -23,6 +26,7 @@ import {
|
|
|
23
26
|
getTimePeriodLabels,
|
|
24
27
|
getTimePickerLabels,
|
|
25
28
|
getTimePickerOptionAriaLabel,
|
|
29
|
+
mergeTigerLocale,
|
|
26
30
|
to12HourFormat,
|
|
27
31
|
to24HourFormat,
|
|
28
32
|
isTimeInRange,
|
|
@@ -49,6 +53,7 @@ import {
|
|
|
49
53
|
getTimePickerPeriodButtonClasses,
|
|
50
54
|
timePickerFooterClasses,
|
|
51
55
|
timePickerFooterButtonClasses,
|
|
56
|
+
focusTimePickerOption,
|
|
52
57
|
ClockIconPath,
|
|
53
58
|
TimePickerCloseIconPath
|
|
54
59
|
} from "@expcat/tigercat-core";
|
|
@@ -69,7 +74,7 @@ var TimePicker = defineComponent({
|
|
|
69
74
|
* Locale used for UI labels and display formatting.
|
|
70
75
|
*/
|
|
71
76
|
locale: {
|
|
72
|
-
type: String,
|
|
77
|
+
type: [String, Object],
|
|
73
78
|
default: void 0
|
|
74
79
|
},
|
|
75
80
|
/**
|
|
@@ -224,6 +229,7 @@ var TimePicker = defineComponent({
|
|
|
224
229
|
clear: () => true
|
|
225
230
|
},
|
|
226
231
|
setup(props, { emit, attrs }) {
|
|
232
|
+
const config = useTigerConfig();
|
|
227
233
|
const isOpen = ref(false);
|
|
228
234
|
const panelRef = ref(null);
|
|
229
235
|
const inputWrapperRef = ref(null);
|
|
@@ -265,11 +271,16 @@ var TimePicker = defineComponent({
|
|
|
265
271
|
watch(() => [activeValue.value, props.format], syncSelectionFromActiveValue, {
|
|
266
272
|
immediate: true
|
|
267
273
|
});
|
|
268
|
-
const
|
|
274
|
+
const localeOverride = computed(
|
|
275
|
+
() => typeof props.locale === "string" ? { locale: props.locale } : props.locale
|
|
276
|
+
);
|
|
277
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, localeOverride.value));
|
|
278
|
+
const localeCode = computed(() => mergedLocale.value?.locale);
|
|
279
|
+
const labels = computed(() => getTimePickerLabels(mergedLocale.value, props.labels));
|
|
269
280
|
const computedPlaceholder = computed(
|
|
270
281
|
() => props.placeholder ?? (isRangeMode.value ? labels.value.selectTimeRange : labels.value.selectTime)
|
|
271
282
|
);
|
|
272
|
-
const periodLabels = computed(() => getTimePeriodLabels(
|
|
283
|
+
const periodLabels = computed(() => getTimePeriodLabels(localeCode.value));
|
|
273
284
|
const rootClasses = computed(
|
|
274
285
|
() => classNames(timePickerBaseClasses, props.className, coerceClassValue(attrs.class))
|
|
275
286
|
);
|
|
@@ -283,7 +294,7 @@ var TimePicker = defineComponent({
|
|
|
283
294
|
parsedTime.value.seconds,
|
|
284
295
|
props.format,
|
|
285
296
|
props.showSeconds,
|
|
286
|
-
|
|
297
|
+
localeCode.value
|
|
287
298
|
);
|
|
288
299
|
}
|
|
289
300
|
const toDisplay = (timeStr) => {
|
|
@@ -295,7 +306,7 @@ var TimePicker = defineComponent({
|
|
|
295
306
|
parsed.seconds,
|
|
296
307
|
props.format,
|
|
297
308
|
props.showSeconds,
|
|
298
|
-
|
|
309
|
+
localeCode.value
|
|
299
310
|
);
|
|
300
311
|
};
|
|
301
312
|
const start = toDisplay(currentRangeValue.value[0]);
|
|
@@ -324,25 +335,7 @@ var TimePicker = defineComponent({
|
|
|
324
335
|
inputRef.value?.focus();
|
|
325
336
|
}
|
|
326
337
|
function focusOptionInUnit(unit, action) {
|
|
327
|
-
|
|
328
|
-
if (!panel) return;
|
|
329
|
-
const all = Array.from(
|
|
330
|
-
panel.querySelectorAll(`button[data-tiger-timepicker-unit="${unit}"]`)
|
|
331
|
-
);
|
|
332
|
-
const nodes = all.filter((button) => !button.disabled);
|
|
333
|
-
if (nodes.length === 0) return;
|
|
334
|
-
const active = document.activeElement;
|
|
335
|
-
const activeIndex = active ? nodes.indexOf(active) : -1;
|
|
336
|
-
const selectedIndex = nodes.findIndex(
|
|
337
|
-
(button) => button.getAttribute("aria-selected") === "true"
|
|
338
|
-
);
|
|
339
|
-
const baseIndex = activeIndex >= 0 ? activeIndex : Math.max(0, selectedIndex);
|
|
340
|
-
let nextIndex = baseIndex;
|
|
341
|
-
if (action === "prev") nextIndex = Math.max(0, baseIndex - 1);
|
|
342
|
-
if (action === "next") nextIndex = Math.min(nodes.length - 1, baseIndex + 1);
|
|
343
|
-
if (action === "first") nextIndex = 0;
|
|
344
|
-
if (action === "last") nextIndex = nodes.length - 1;
|
|
345
|
-
nodes[nextIndex]?.focus();
|
|
338
|
+
focusTimePickerOption(panelRef.value, unit, action);
|
|
346
339
|
}
|
|
347
340
|
function handlePanelKeydown(event) {
|
|
348
341
|
if (event.key === "Escape") {
|
|
@@ -690,7 +683,7 @@ var TimePicker = defineComponent({
|
|
|
690
683
|
"aria-label": getTimePickerOptionAriaLabel(
|
|
691
684
|
hour,
|
|
692
685
|
"hour",
|
|
693
|
-
|
|
686
|
+
mergedLocale.value,
|
|
694
687
|
props.labels
|
|
695
688
|
),
|
|
696
689
|
"aria-selected": isSelected
|
|
@@ -721,7 +714,7 @@ var TimePicker = defineComponent({
|
|
|
721
714
|
"aria-label": getTimePickerOptionAriaLabel(
|
|
722
715
|
minute,
|
|
723
716
|
"minute",
|
|
724
|
-
|
|
717
|
+
mergedLocale.value,
|
|
725
718
|
props.labels
|
|
726
719
|
),
|
|
727
720
|
"aria-selected": isSelected
|
|
@@ -750,7 +743,7 @@ var TimePicker = defineComponent({
|
|
|
750
743
|
"aria-label": getTimePickerOptionAriaLabel(
|
|
751
744
|
second,
|
|
752
745
|
"second",
|
|
753
|
-
|
|
746
|
+
mergedLocale.value,
|
|
754
747
|
props.labels
|
|
755
748
|
),
|
|
756
749
|
"aria-selected": isSelected
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/TreeSelect.ts
|
|
2
6
|
import { defineComponent, h, ref, computed, watch, onBeforeUnmount } from "vue";
|
|
3
7
|
import {
|
|
@@ -20,7 +24,9 @@ import {
|
|
|
20
24
|
icon20ViewBox,
|
|
21
25
|
chevronDownSolidIcon20PathD,
|
|
22
26
|
chevronRightSolidIcon20PathD,
|
|
23
|
-
closeSolidIcon20PathD
|
|
27
|
+
closeSolidIcon20PathD,
|
|
28
|
+
resolveLocaleText,
|
|
29
|
+
mergeTigerLocale
|
|
24
30
|
} from "@expcat/tigercat-core";
|
|
25
31
|
var treeSelectInstanceId = 0;
|
|
26
32
|
var ChevronDownIcon = h(
|
|
@@ -92,16 +98,25 @@ var TreeSelect = defineComponent({
|
|
|
92
98
|
},
|
|
93
99
|
notFoundText: {
|
|
94
100
|
type: String,
|
|
95
|
-
default:
|
|
101
|
+
default: void 0
|
|
96
102
|
},
|
|
97
103
|
defaultExpandAll: {
|
|
98
104
|
type: Boolean,
|
|
99
105
|
default: false
|
|
106
|
+
},
|
|
107
|
+
/**
|
|
108
|
+
* Locale overrides merged on top of ConfigProvider locale
|
|
109
|
+
*/
|
|
110
|
+
locale: {
|
|
111
|
+
type: Object,
|
|
112
|
+
default: void 0
|
|
100
113
|
}
|
|
101
114
|
},
|
|
102
115
|
emits: ["update:modelValue", "change"],
|
|
103
116
|
setup(props, { emit, attrs }) {
|
|
104
117
|
const instanceId = ++treeSelectInstanceId;
|
|
118
|
+
const config = useTigerConfig();
|
|
119
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
105
120
|
const listboxId = `tiger-treeselect-listbox-${instanceId}`;
|
|
106
121
|
const isOpen = ref(false);
|
|
107
122
|
const searchQuery = ref("");
|
|
@@ -261,7 +276,10 @@ var TreeSelect = defineComponent({
|
|
|
261
276
|
props.showSearch ? h("input", {
|
|
262
277
|
type: "text",
|
|
263
278
|
class: treeSelectSearchClasses,
|
|
264
|
-
placeholder:
|
|
279
|
+
placeholder: resolveLocaleText(
|
|
280
|
+
"Search...",
|
|
281
|
+
mergedLocale.value?.common?.searchPlaceholder
|
|
282
|
+
),
|
|
265
283
|
value: searchQuery.value,
|
|
266
284
|
"aria-label": "Search tree",
|
|
267
285
|
onInput: (e) => {
|
|
@@ -321,7 +339,15 @@ var TreeSelect = defineComponent({
|
|
|
321
339
|
h("span", { class: "flex-1 truncate" }, node.label)
|
|
322
340
|
]
|
|
323
341
|
);
|
|
324
|
-
}) : h(
|
|
342
|
+
}) : h(
|
|
343
|
+
"div",
|
|
344
|
+
{ class: treeSelectEmptyClasses },
|
|
345
|
+
resolveLocaleText(
|
|
346
|
+
"No data",
|
|
347
|
+
props.notFoundText,
|
|
348
|
+
mergedLocale.value?.common?.emptyText
|
|
349
|
+
)
|
|
350
|
+
)
|
|
325
351
|
]
|
|
326
352
|
) : null
|
|
327
353
|
]);
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
var _chunkEQW6IUHGjs = require('./chunk-EQW6IUHG.js');
|
|
7
7
|
|
|
8
|
+
|
|
9
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
10
|
+
|
|
8
11
|
// src/components/Spotlight.ts
|
|
9
12
|
|
|
10
13
|
|
|
@@ -40,6 +43,8 @@ var _vue = require('vue');
|
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
|
|
46
|
+
|
|
47
|
+
|
|
43
48
|
|
|
44
49
|
|
|
45
50
|
|
|
@@ -76,11 +81,15 @@ var Spotlight = _vue.defineComponent.call(void 0, {
|
|
|
76
81
|
},
|
|
77
82
|
placeholder: {
|
|
78
83
|
type: String,
|
|
79
|
-
default:
|
|
84
|
+
default: void 0
|
|
80
85
|
},
|
|
81
86
|
emptyText: {
|
|
82
87
|
type: String,
|
|
83
|
-
default:
|
|
88
|
+
default: void 0
|
|
89
|
+
},
|
|
90
|
+
locale: {
|
|
91
|
+
type: Object,
|
|
92
|
+
default: void 0
|
|
84
93
|
},
|
|
85
94
|
inputAriaLabel: {
|
|
86
95
|
type: String,
|
|
@@ -131,8 +140,13 @@ var Spotlight = _vue.defineComponent.call(void 0, {
|
|
|
131
140
|
default: false
|
|
132
141
|
}
|
|
133
142
|
},
|
|
134
|
-
emits: ["update:open", "open-change", "
|
|
143
|
+
emits: ["update:open", "open-change", "update:query", "query-change", "select"],
|
|
135
144
|
setup(props, { emit, attrs, slots }) {
|
|
145
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
146
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
147
|
+
const placeholderText = _vue.computed.call(void 0,
|
|
148
|
+
() => _tigercatcore.resolveLocaleText.call(void 0, "Search", props.placeholder, _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.common, 'optionalAccess', _3 => _3.searchPlaceholder]))
|
|
149
|
+
);
|
|
136
150
|
const uncontrolledOpen = _vue.ref.call(void 0, props.defaultOpen);
|
|
137
151
|
const uncontrolledQuery = _vue.ref.call(void 0, props.defaultQuery);
|
|
138
152
|
const activeIndex = _vue.ref.call(void 0, -1);
|
|
@@ -154,7 +168,6 @@ var Spotlight = _vue.defineComponent.call(void 0, {
|
|
|
154
168
|
if (props.open === void 0) uncontrolledOpen.value = nextOpen;
|
|
155
169
|
emit("update:open", nextOpen);
|
|
156
170
|
emit("open-change", nextOpen);
|
|
157
|
-
if (!nextOpen) emit("close");
|
|
158
171
|
};
|
|
159
172
|
const setQueryValue = (nextQuery) => {
|
|
160
173
|
if (props.query === void 0) uncontrolledQuery.value = nextQuery;
|
|
@@ -214,7 +227,7 @@ var Spotlight = _vue.defineComponent.call(void 0, {
|
|
|
214
227
|
_vue.nextTick.call(void 0, () => _tigercatcore.focusFirst.call(void 0, [inputRef.value, dialogRef.value]));
|
|
215
228
|
}
|
|
216
229
|
});
|
|
217
|
-
_vue.onBeforeUnmount.call(void 0, () => _optionalChain([cleanupEscape, 'optionalCall',
|
|
230
|
+
_vue.onBeforeUnmount.call(void 0, () => _optionalChain([cleanupEscape, 'optionalCall', _4 => _4()]));
|
|
218
231
|
_vue.watch.call(void 0, [resolvedOpen, resolvedQuery, () => props.items], updateActiveIndex, { immediate: true });
|
|
219
232
|
_vue.watch.call(void 0,
|
|
220
233
|
resolvedOpen,
|
|
@@ -275,8 +288,8 @@ var Spotlight = _vue.defineComponent.call(void 0, {
|
|
|
275
288
|
value: resolvedQuery.value,
|
|
276
289
|
type: "search",
|
|
277
290
|
class: _tigercatcore.spotlightInputClasses,
|
|
278
|
-
placeholder:
|
|
279
|
-
"aria-label": _nullishCoalesce(props.inputAriaLabel, () => (
|
|
291
|
+
placeholder: placeholderText.value,
|
|
292
|
+
"aria-label": _nullishCoalesce(props.inputAriaLabel, () => ( placeholderText.value)),
|
|
280
293
|
autocomplete: "off",
|
|
281
294
|
..._tigercatcore.getPickerComboboxAria.call(void 0, {
|
|
282
295
|
expanded: true,
|
|
@@ -356,7 +369,15 @@ var Spotlight = _vue.defineComponent.call(void 0, {
|
|
|
356
369
|
]
|
|
357
370
|
)
|
|
358
371
|
)
|
|
359
|
-
) : _vue.h.call(void 0,
|
|
372
|
+
) : _vue.h.call(void 0,
|
|
373
|
+
"div",
|
|
374
|
+
{ class: _tigercatcore.spotlightEmptyClasses },
|
|
375
|
+
_tigercatcore.resolveLocaleText.call(void 0,
|
|
376
|
+
"No results found",
|
|
377
|
+
props.emptyText,
|
|
378
|
+
_optionalChain([mergedLocale, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.common, 'optionalAccess', _7 => _7.emptyText])
|
|
379
|
+
)
|
|
380
|
+
)
|
|
360
381
|
]
|
|
361
382
|
)
|
|
362
383
|
]
|