@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,9 +1,9 @@
|
|
|
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 _chunkTXQEHRQBjs = require('./chunk-TXQEHRQB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRBWJSHKRjs = require('./chunk-RBWJSHKR.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk2DC3BMEDjs = require('./chunk-2DC3BMED.js');
|
|
@@ -140,7 +140,10 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
140
140
|
return _vue.h.call(void 0,
|
|
141
141
|
"div",
|
|
142
142
|
{
|
|
143
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
143
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
144
|
+
_tigercatcore.activityItemClasses,
|
|
145
|
+
"p-4 rounded-2xl border border-gray-100/70 dark:border-gray-800/40 bg-white/40 dark:bg-gray-900/15 backdrop-blur-sm shadow-sm transition-all duration-300 hover:shadow-md hover:shadow-gray-100/30 dark:hover:shadow-none hover:bg-white dark:hover:bg-gray-900/30 hover:-translate-y-0.5 w-full"
|
|
146
|
+
)
|
|
144
147
|
},
|
|
145
148
|
[
|
|
146
149
|
_vue.h.call(void 0, "div", { class: _tigercatcore.activityItemLayoutClasses }, [
|
|
@@ -155,7 +158,12 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
155
158
|
_vue.h.call(void 0, "div", { class: _tigercatcore.activityItemTitleGroupClasses }, [
|
|
156
159
|
titleText ? _vue.h.call(void 0,
|
|
157
160
|
_chunkTGHB5XSTjs.Text,
|
|
158
|
-
{
|
|
161
|
+
{
|
|
162
|
+
tag: "div",
|
|
163
|
+
size: "sm",
|
|
164
|
+
weight: "semibold",
|
|
165
|
+
class: "text-gray-900 dark:text-gray-100 hover:text-blue-600 dark:hover:text-blue-400 transition-colors cursor-pointer truncate"
|
|
166
|
+
},
|
|
159
167
|
{ default: () => titleText }
|
|
160
168
|
) : null,
|
|
161
169
|
item.status ? _vue.h.call(void 0,
|
|
@@ -185,11 +193,18 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
185
193
|
tag: "div",
|
|
186
194
|
size: "sm",
|
|
187
195
|
color: "muted",
|
|
188
|
-
class: _tigercatcore.classNames.call(void 0,
|
|
196
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
197
|
+
_tigercatcore.activityItemDescriptionClasses,
|
|
198
|
+
"text-gray-600 dark:text-gray-300 leading-relaxed pl-0.5 mt-1"
|
|
199
|
+
)
|
|
189
200
|
},
|
|
190
201
|
{ default: () => descriptionText }
|
|
191
202
|
) : null,
|
|
192
|
-
_optionalChain([actionNodes, 'optionalAccess', _8 => _8.length]) ? _vue.h.call(void 0,
|
|
203
|
+
_optionalChain([actionNodes, 'optionalAccess', _8 => _8.length]) ? _vue.h.call(void 0,
|
|
204
|
+
"div",
|
|
205
|
+
{ class: _tigercatcore.classNames.call(void 0, _tigercatcore.activityItemActionsClasses, "mt-2.5") },
|
|
206
|
+
actionNodes
|
|
207
|
+
) : null
|
|
193
208
|
])
|
|
194
209
|
])
|
|
195
210
|
]
|
|
@@ -202,7 +217,10 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
202
217
|
const feedAriaBusy = _vue.computed.call(void 0, () => _nullishCoalesce(attrs["aria-busy"], () => ( (props.loading ? "true" : void 0))));
|
|
203
218
|
return () => {
|
|
204
219
|
if (props.loading) {
|
|
205
|
-
const loadingNode = slots.loading ? slots.loading() : _vue.h.call(void 0,
|
|
220
|
+
const loadingNode = slots.loading ? slots.loading() : _vue.h.call(void 0, _chunkRBWJSHKRjs.Loading, {
|
|
221
|
+
text: props.loadingText,
|
|
222
|
+
class: "text-blue-500 dark:text-blue-400 font-medium"
|
|
223
|
+
});
|
|
206
224
|
return _vue.h.call(void 0,
|
|
207
225
|
"div",
|
|
208
226
|
{
|
|
@@ -231,20 +249,28 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
231
249
|
}
|
|
232
250
|
if (resolvedGroups.value.length === 0) {
|
|
233
251
|
const emptyNode = slots.empty ? slots.empty() : _vue.h.call(void 0, "div", { class: "flex flex-col items-center justify-center py-12 px-4" }, [
|
|
234
|
-
_vue.h.call(void 0,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
252
|
+
_vue.h.call(void 0,
|
|
253
|
+
"svg",
|
|
254
|
+
{
|
|
255
|
+
class: "w-12 h-12 text-gray-300 dark:text-gray-600 mb-3 animate-pulse",
|
|
256
|
+
fill: "none",
|
|
257
|
+
viewBox: "0 0 24 24",
|
|
258
|
+
stroke: "currentColor",
|
|
259
|
+
strokeWidth: "1.5"
|
|
260
|
+
},
|
|
261
|
+
[
|
|
262
|
+
_vue.h.call(void 0, "path", {
|
|
263
|
+
strokeLinecap: "round",
|
|
264
|
+
strokeLinejoin: "round",
|
|
265
|
+
d: "M12 7.5h1.5m-1.5 3h1.5m-7.5 3h10.5m-10.5 3h10.5m-13.5-9h16.5M3 5.25h18M3 18.75h18"
|
|
266
|
+
})
|
|
267
|
+
]
|
|
268
|
+
),
|
|
269
|
+
_vue.h.call(void 0,
|
|
270
|
+
_chunkTGHB5XSTjs.Text,
|
|
271
|
+
{ tag: "div", size: "sm", color: "muted", class: "font-medium" },
|
|
272
|
+
{ default: () => props.emptyText }
|
|
273
|
+
)
|
|
248
274
|
]);
|
|
249
275
|
return _vue.h.call(void 0,
|
|
250
276
|
"div",
|
|
@@ -287,15 +313,22 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
287
313
|
const timelineItems = _tigercatcore.toActivityTimelineItems.call(void 0, group.items);
|
|
288
314
|
return _vue.h.call(void 0, "div", { key: _nullishCoalesce(group.key, () => ( groupIndex)), class: "space-y-3" }, [
|
|
289
315
|
props.showGroupTitle && groupTitle ? _nullishCoalesce(headerNode, () => ( _vue.h.call(void 0, "div", { class: "flex items-center gap-2 mb-2" }, [
|
|
290
|
-
_vue.h.call(void 0, "span", {
|
|
316
|
+
_vue.h.call(void 0, "span", {
|
|
317
|
+
class: "w-1.5 h-3.5 bg-blue-500 rounded-full dark:bg-blue-400 shadow-sm shadow-blue-500/20"
|
|
318
|
+
}),
|
|
291
319
|
_vue.h.call(void 0,
|
|
292
320
|
_chunkTGHB5XSTjs.Text,
|
|
293
|
-
{
|
|
321
|
+
{
|
|
322
|
+
tag: "span",
|
|
323
|
+
size: "sm",
|
|
324
|
+
weight: "bold",
|
|
325
|
+
class: "text-gray-900 dark:text-gray-100 uppercase tracking-wider"
|
|
326
|
+
},
|
|
294
327
|
{ default: () => groupTitle }
|
|
295
328
|
)
|
|
296
329
|
]))) : null,
|
|
297
330
|
_vue.h.call(void 0,
|
|
298
|
-
|
|
331
|
+
_chunkTXQEHRQBjs.Timeline,
|
|
299
332
|
{
|
|
300
333
|
items: timelineItems,
|
|
301
334
|
style: {
|
|
@@ -321,7 +354,9 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
321
354
|
pulseClass = "bg-blue-500/30";
|
|
322
355
|
}
|
|
323
356
|
return _vue.h.call(void 0, "div", { class: "relative flex items-center justify-center w-4 h-4" }, [
|
|
324
|
-
pulseClass ? _vue.h.call(void 0, "span", {
|
|
357
|
+
pulseClass ? _vue.h.call(void 0, "span", {
|
|
358
|
+
class: `absolute inline-flex h-full w-full rounded-full animate-ping opacity-75 ${pulseClass}`
|
|
359
|
+
}) : null,
|
|
325
360
|
_vue.h.call(void 0, "span", { class: `${baseDotClass} ${colorClass} relative z-10` })
|
|
326
361
|
]);
|
|
327
362
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useTigerConfig
|
|
3
|
-
} from "./chunk-VG6E4NX6.mjs";
|
|
4
1
|
import {
|
|
5
2
|
renderVueBodyTeleport,
|
|
6
3
|
useVueBodyScrollLock,
|
|
7
4
|
useVueEscapeKey,
|
|
8
5
|
useVueFocusTrap
|
|
9
6
|
} from "./chunk-BDTPFPSB.mjs";
|
|
7
|
+
import {
|
|
8
|
+
useTigerConfig
|
|
9
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
10
10
|
|
|
11
11
|
// src/components/Drawer.ts
|
|
12
12
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
4
4
|
|
|
5
5
|
// src/components/TaskBoard.ts
|
|
6
6
|
var _vue = require('vue');
|
|
@@ -96,7 +96,7 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
96
96
|
},
|
|
97
97
|
emits: ["card-move", "column-move", "card-add", "column-add", "update:columns"],
|
|
98
98
|
setup(props, { slots, attrs, emit }) {
|
|
99
|
-
const config =
|
|
99
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
100
100
|
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
101
101
|
const labels = _vue.computed.call(void 0, () => _tigercatcore.getTaskBoardLabels.call(void 0, mergedLocale.value, props.labels));
|
|
102
102
|
const innerColumns = _vue.ref.call(void 0, _nullishCoalesce(_nullishCoalesce(props.columns, () => ( props.defaultColumns)), () => ( [])));
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Transfer.ts
|
|
2
6
|
import { defineComponent, h, ref, computed } from "vue";
|
|
3
7
|
import {
|
|
@@ -19,7 +23,9 @@ import {
|
|
|
19
23
|
classNames,
|
|
20
24
|
icon20ViewBox,
|
|
21
25
|
chevronLeftSolidIcon20PathD,
|
|
22
|
-
chevronRightSolidIcon20PathD
|
|
26
|
+
chevronRightSolidIcon20PathD,
|
|
27
|
+
resolveLocaleText,
|
|
28
|
+
mergeTigerLocale
|
|
23
29
|
} from "@expcat/tigercat-core";
|
|
24
30
|
function ArrowIcon(pathD) {
|
|
25
31
|
return h(
|
|
@@ -72,15 +78,24 @@ var Transfer = defineComponent({
|
|
|
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 = useTigerConfig();
|
|
98
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
84
99
|
const sourceSelectedKeys = ref(/* @__PURE__ */ new Set());
|
|
85
100
|
const targetSelectedKeys = ref(/* @__PURE__ */ new Set());
|
|
86
101
|
const sourceSearch = ref("");
|
|
@@ -167,7 +182,10 @@ var Transfer = defineComponent({
|
|
|
167
182
|
props.showSearch ? h("input", {
|
|
168
183
|
type: "text",
|
|
169
184
|
class: transferSearchClasses,
|
|
170
|
-
placeholder:
|
|
185
|
+
placeholder: resolveLocaleText(
|
|
186
|
+
"Search...",
|
|
187
|
+
mergedLocale.value?.common?.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 = defineComponent({
|
|
|
202
220
|
h("span", { class: "flex-1 truncate" }, item.label)
|
|
203
221
|
]
|
|
204
222
|
);
|
|
205
|
-
}) : [
|
|
223
|
+
}) : [
|
|
224
|
+
h(
|
|
225
|
+
"div",
|
|
226
|
+
{ class: transferEmptyClasses },
|
|
227
|
+
resolveLocaleText(
|
|
228
|
+
"No data",
|
|
229
|
+
props.notFoundText,
|
|
230
|
+
mergedLocale.value?.common?.emptyText
|
|
231
|
+
)
|
|
232
|
+
)
|
|
233
|
+
]
|
|
206
234
|
)
|
|
207
235
|
]);
|
|
208
236
|
}
|
|
@@ -153,19 +153,23 @@ var StepsItem = _vue.defineComponent.call(void 0, {
|
|
|
153
153
|
}
|
|
154
154
|
if (stepStatus.value === "finish") {
|
|
155
155
|
return _vue.h.call(void 0, "div", { class: iconClasses.value, "aria-hidden": "true" }, [
|
|
156
|
-
_vue.h.call(void 0,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
156
|
+
_vue.h.call(void 0,
|
|
157
|
+
"svg",
|
|
158
|
+
{
|
|
159
|
+
class: "w-4 h-4 shrink-0 transition-transform duration-300 animate-fade-in",
|
|
160
|
+
fill: "none",
|
|
161
|
+
stroke: "currentColor",
|
|
162
|
+
"stroke-width": "3",
|
|
163
|
+
viewBox: "0 0 24 24"
|
|
164
|
+
},
|
|
165
|
+
[
|
|
166
|
+
_vue.h.call(void 0, "path", {
|
|
167
|
+
"stroke-linecap": "round",
|
|
168
|
+
"stroke-linejoin": "round",
|
|
169
|
+
d: "M4.5 12.75l6 6 9-13.5"
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
)
|
|
169
173
|
]);
|
|
170
174
|
}
|
|
171
175
|
return _vue.h.call(void 0, "div", { class: iconClasses.value }, String(props.stepIndex + 1));
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var _chunk44N7LE3Qjs = require('./chunk-44N7LE3Q.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkSJIW7SNAjs = require('./chunk-SJIW7SNA.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkRBWJSHKRjs = require('./chunk-RBWJSHKR.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkTGHB5XSTjs = require('./chunk-TGHB5XST.js');
|
|
@@ -412,7 +412,7 @@ var NotificationCenter = _vue.defineComponent.call(void 0, {
|
|
|
412
412
|
);
|
|
413
413
|
}
|
|
414
414
|
return _vue.h.call(void 0,
|
|
415
|
-
|
|
415
|
+
_chunkSJIW7SNAjs.List,
|
|
416
416
|
{
|
|
417
417
|
dataSource: items,
|
|
418
418
|
split: true,
|
|
@@ -460,7 +460,12 @@ var NotificationCenter = _vue.defineComponent.call(void 0, {
|
|
|
460
460
|
_vue.h.call(void 0, "div", { class: "flex items-center gap-2.5" }, [
|
|
461
461
|
_vue.h.call(void 0,
|
|
462
462
|
_chunkTGHB5XSTjs.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 ? _vue.h.call(void 0,
|
|
@@ -489,7 +494,10 @@ var NotificationCenter = _vue.defineComponent.call(void 0, {
|
|
|
489
494
|
renderReadFilterButtons()
|
|
490
495
|
]);
|
|
491
496
|
const content = props.loading ? _vue.h.call(void 0, "div", { class: "flex items-center justify-center py-16" }, [
|
|
492
|
-
_vue.h.call(void 0,
|
|
497
|
+
_vue.h.call(void 0, _chunkRBWJSHKRjs.Loading, {
|
|
498
|
+
text: props.loadingText,
|
|
499
|
+
class: "text-blue-500 dark:text-blue-400 font-medium"
|
|
500
|
+
})
|
|
493
501
|
]) : resolvedGroups.value.length > 0 ? _vue.h.call(void 0, "div", { class: "-mx-4 -mb-4" }, [renderTabs()]) : _vue.h.call(void 0, "div", { class: "-mx-4 -mb-4 max-h-[380px] overflow-y-auto" }, [
|
|
494
502
|
renderList(filteredFlatItems.value)
|
|
495
503
|
]);
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var _chunkJCMGBKS6js = require('./chunk-JCMGBKS6.js');
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
7
|
+
|
|
5
8
|
// src/components/TimePicker.ts
|
|
6
9
|
|
|
7
10
|
|
|
@@ -48,6 +51,8 @@ var _vue = require('vue');
|
|
|
48
51
|
|
|
49
52
|
|
|
50
53
|
|
|
54
|
+
|
|
55
|
+
|
|
51
56
|
|
|
52
57
|
|
|
53
58
|
|
|
@@ -69,7 +74,7 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
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 = _vue.defineComponent.call(void 0, {
|
|
|
224
229
|
clear: () => true
|
|
225
230
|
},
|
|
226
231
|
setup(props, { emit, attrs }) {
|
|
232
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
227
233
|
const isOpen = _vue.ref.call(void 0, false);
|
|
228
234
|
const panelRef = _vue.ref.call(void 0, null);
|
|
229
235
|
const inputWrapperRef = _vue.ref.call(void 0, null);
|
|
@@ -265,11 +271,16 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
265
271
|
_vue.watch.call(void 0, () => [activeValue.value, props.format], syncSelectionFromActiveValue, {
|
|
266
272
|
immediate: true
|
|
267
273
|
});
|
|
268
|
-
const
|
|
274
|
+
const localeOverride = _vue.computed.call(void 0,
|
|
275
|
+
() => typeof props.locale === "string" ? { locale: props.locale } : props.locale
|
|
276
|
+
);
|
|
277
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, localeOverride.value));
|
|
278
|
+
const localeCode = _vue.computed.call(void 0, () => _optionalChain([mergedLocale, 'access', _7 => _7.value, 'optionalAccess', _8 => _8.locale]));
|
|
279
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getTimePickerLabels.call(void 0, mergedLocale.value, props.labels));
|
|
269
280
|
const computedPlaceholder = _vue.computed.call(void 0,
|
|
270
281
|
() => _nullishCoalesce(props.placeholder, () => ( (isRangeMode.value ? labels.value.selectTimeRange : labels.value.selectTime)))
|
|
271
282
|
);
|
|
272
|
-
const periodLabels = _vue.computed.call(void 0, () => _tigercatcore.getTimePeriodLabels.call(void 0,
|
|
283
|
+
const periodLabels = _vue.computed.call(void 0, () => _tigercatcore.getTimePeriodLabels.call(void 0, localeCode.value));
|
|
273
284
|
const rootClasses = _vue.computed.call(void 0,
|
|
274
285
|
() => _tigercatcore.classNames.call(void 0, _tigercatcore.timePickerBaseClasses, props.className, _tigercatcore.coerceClassValue.call(void 0, attrs.class))
|
|
275
286
|
);
|
|
@@ -283,7 +294,7 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
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 = _vue.defineComponent.call(void 0, {
|
|
|
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]);
|
|
@@ -321,28 +332,10 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
321
332
|
}
|
|
322
333
|
function closePanel() {
|
|
323
334
|
isOpen.value = false;
|
|
324
|
-
_optionalChain([inputRef, 'access',
|
|
335
|
+
_optionalChain([inputRef, 'access', _9 => _9.value, 'optionalAccess', _10 => _10.focus, 'call', _11 => _11()]);
|
|
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
|
-
_optionalChain([nodes, 'access', _10 => _10[nextIndex], 'optionalAccess', _11 => _11.focus, 'call', _12 => _12()]);
|
|
338
|
+
_tigercatcore.focusTimePickerOption.call(void 0, panelRef.value, unit, action);
|
|
346
339
|
}
|
|
347
340
|
function handlePanelKeydown(event) {
|
|
348
341
|
if (event.key === "Escape") {
|
|
@@ -351,7 +344,7 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
351
344
|
return;
|
|
352
345
|
}
|
|
353
346
|
const active = document.activeElement;
|
|
354
|
-
const unit = _optionalChain([active, 'optionalAccess',
|
|
347
|
+
const unit = _optionalChain([active, 'optionalAccess', _12 => _12.getAttribute, 'call', _13 => _13("data-tiger-timepicker-unit")]);
|
|
355
348
|
if (!unit) return;
|
|
356
349
|
if (event.key === "ArrowUp") {
|
|
357
350
|
event.preventDefault();
|
|
@@ -510,7 +503,7 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
510
503
|
const firstHour = panel.querySelector(
|
|
511
504
|
'button[data-tiger-timepicker-unit="hour"]:not([disabled])'
|
|
512
505
|
);
|
|
513
|
-
_optionalChain([firstHour, 'optionalAccess',
|
|
506
|
+
_optionalChain([firstHour, 'optionalAccess', _14 => _14.focus, 'call', _15 => _15()]);
|
|
514
507
|
} else {
|
|
515
508
|
document.removeEventListener("click", handleClickOutside);
|
|
516
509
|
}
|
|
@@ -690,7 +683,7 @@ var TimePicker = _vue.defineComponent.call(void 0, {
|
|
|
690
683
|
"aria-label": _tigercatcore.getTimePickerOptionAriaLabel.call(void 0,
|
|
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 = _vue.defineComponent.call(void 0, {
|
|
|
721
714
|
"aria-label": _tigercatcore.getTimePickerOptionAriaLabel.call(void 0,
|
|
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 = _vue.defineComponent.call(void 0, {
|
|
|
750
743
|
"aria-label": _tigercatcore.getTimePickerOptionAriaLabel.call(void 0,
|
|
751
744
|
second,
|
|
752
745
|
"second",
|
|
753
|
-
|
|
746
|
+
mergedLocale.value,
|
|
754
747
|
props.labels
|
|
755
748
|
),
|
|
756
749
|
"aria-selected": isSelected
|
|
@@ -38,6 +38,8 @@ var _vue = require('vue');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
|
|
42
|
+
|
|
41
43
|
|
|
42
44
|
|
|
43
45
|
|
|
@@ -285,11 +287,6 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
285
287
|
emit("update:modelValue", value);
|
|
286
288
|
emit("change", value);
|
|
287
289
|
};
|
|
288
|
-
const addDays = (date, days) => {
|
|
289
|
-
const next = new Date(date);
|
|
290
|
-
next.setDate(next.getDate() + days);
|
|
291
|
-
return next;
|
|
292
|
-
};
|
|
293
290
|
const focusDateButtonByIso = (iso) => {
|
|
294
291
|
const button = _optionalChain([calendarRef, 'access', _6 => _6.value, 'optionalAccess', _7 => _7.querySelector, 'call', _8 => _8(
|
|
295
292
|
`button[data-date="${iso}"]`
|
|
@@ -331,7 +328,7 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
331
328
|
if (!baseIso) return;
|
|
332
329
|
const baseDate = _tigercatcore.parseDate.call(void 0, baseIso);
|
|
333
330
|
if (!baseDate) return;
|
|
334
|
-
let candidate = addDays(baseDate, deltaDays);
|
|
331
|
+
let candidate = _tigercatcore.addDays.call(void 0, baseDate, deltaDays);
|
|
335
332
|
for (let attempts = 0; attempts < 42; attempts++) {
|
|
336
333
|
const iso = _tigercatcore.formatDate.call(void 0, candidate, "yyyy-MM-dd");
|
|
337
334
|
const el = _optionalChain([calendarRef, 'access', _11 => _11.value, 'optionalAccess', _12 => _12.querySelector, 'call', _13 => _13(
|
|
@@ -357,7 +354,7 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
357
354
|
if (fallback) focusDateButtonByIso(fallback);
|
|
358
355
|
return;
|
|
359
356
|
}
|
|
360
|
-
candidate = addDays(candidate, deltaDays);
|
|
357
|
+
candidate = _tigercatcore.addDays.call(void 0, candidate, deltaDays);
|
|
361
358
|
}
|
|
362
359
|
};
|
|
363
360
|
const handleCalendarKeyDown = async (event) => {
|
|
@@ -471,21 +468,16 @@ var DatePicker = _vue.defineComponent.call(void 0, {
|
|
|
471
468
|
emitValue(!isRangeMode.value ? null : [null, null]);
|
|
472
469
|
emit("clear");
|
|
473
470
|
}
|
|
471
|
+
function stepViewingMonth(delta) {
|
|
472
|
+
const next = _tigercatcore.addMonths.call(void 0, new Date(viewingYear.value, viewingMonth.value, 1), delta);
|
|
473
|
+
viewingYear.value = next.getFullYear();
|
|
474
|
+
viewingMonth.value = next.getMonth();
|
|
475
|
+
}
|
|
474
476
|
function previousMonth() {
|
|
475
|
-
|
|
476
|
-
viewingMonth.value = 11;
|
|
477
|
-
viewingYear.value--;
|
|
478
|
-
} else {
|
|
479
|
-
viewingMonth.value--;
|
|
480
|
-
}
|
|
477
|
+
stepViewingMonth(-1);
|
|
481
478
|
}
|
|
482
479
|
function nextMonth() {
|
|
483
|
-
|
|
484
|
-
viewingMonth.value = 0;
|
|
485
|
-
viewingYear.value++;
|
|
486
|
-
} else {
|
|
487
|
-
viewingMonth.value++;
|
|
488
|
-
}
|
|
480
|
+
stepViewingMonth(1);
|
|
489
481
|
}
|
|
490
482
|
function isDateDisabled(date) {
|
|
491
483
|
if (!date) return true;
|
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
parseDate,
|
|
12
12
|
formatDate,
|
|
13
13
|
formatMonthYear,
|
|
14
|
+
addDays,
|
|
15
|
+
addMonths,
|
|
14
16
|
isSameDay,
|
|
15
17
|
isDateInRange,
|
|
16
18
|
getCalendarDays,
|
|
@@ -285,11 +287,6 @@ var DatePicker = defineComponent({
|
|
|
285
287
|
emit("update:modelValue", value);
|
|
286
288
|
emit("change", value);
|
|
287
289
|
};
|
|
288
|
-
const addDays = (date, days) => {
|
|
289
|
-
const next = new Date(date);
|
|
290
|
-
next.setDate(next.getDate() + days);
|
|
291
|
-
return next;
|
|
292
|
-
};
|
|
293
290
|
const focusDateButtonByIso = (iso) => {
|
|
294
291
|
const button = calendarRef.value?.querySelector(
|
|
295
292
|
`button[data-date="${iso}"]`
|
|
@@ -471,21 +468,16 @@ var DatePicker = defineComponent({
|
|
|
471
468
|
emitValue(!isRangeMode.value ? null : [null, null]);
|
|
472
469
|
emit("clear");
|
|
473
470
|
}
|
|
471
|
+
function stepViewingMonth(delta) {
|
|
472
|
+
const next = addMonths(new Date(viewingYear.value, viewingMonth.value, 1), delta);
|
|
473
|
+
viewingYear.value = next.getFullYear();
|
|
474
|
+
viewingMonth.value = next.getMonth();
|
|
475
|
+
}
|
|
474
476
|
function previousMonth() {
|
|
475
|
-
|
|
476
|
-
viewingMonth.value = 11;
|
|
477
|
-
viewingYear.value--;
|
|
478
|
-
} else {
|
|
479
|
-
viewingMonth.value--;
|
|
480
|
-
}
|
|
477
|
+
stepViewingMonth(-1);
|
|
481
478
|
}
|
|
482
479
|
function nextMonth() {
|
|
483
|
-
|
|
484
|
-
viewingMonth.value = 0;
|
|
485
|
-
viewingYear.value++;
|
|
486
|
-
} else {
|
|
487
|
-
viewingMonth.value++;
|
|
488
|
-
}
|
|
480
|
+
stepViewingMonth(1);
|
|
489
481
|
}
|
|
490
482
|
function isDateDisabled(date) {
|
|
491
483
|
if (!date) return true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSJSZHQWXjs = require('./chunk-SJSZHQWX.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkWUEP3PFNjs = require('./chunk-WUEP3PFN.js');
|
|
@@ -171,7 +171,7 @@ var CropUpload = _vue.defineComponent.call(void 0, {
|
|
|
171
171
|
]
|
|
172
172
|
);
|
|
173
173
|
const modal = _vue.h.call(void 0,
|
|
174
|
-
|
|
174
|
+
_chunkSJSZHQWXjs.Modal,
|
|
175
175
|
{
|
|
176
176
|
open: modalVisible.value,
|
|
177
177
|
size: "lg",
|
|
@@ -50,7 +50,9 @@ var RichTextEditor = _vue.defineComponent.call(void 0, {
|
|
|
50
50
|
const activeFormats = _vue.ref.call(void 0, /* @__PURE__ */ new Set());
|
|
51
51
|
let engineInstance = null;
|
|
52
52
|
const isControlled = _vue.computed.call(void 0, () => props.value !== void 0);
|
|
53
|
-
const currentContent = _vue.computed.call(void 0,
|
|
53
|
+
const currentContent = _vue.computed.call(void 0,
|
|
54
|
+
() => props.value !== void 0 ? props.value : internalValue.value
|
|
55
|
+
);
|
|
54
56
|
const toolbarItems = _vue.computed.call(void 0, () => _nullishCoalesce(props.toolbar, () => ( _tigercatcore.defaultToolbar)));
|
|
55
57
|
const isEmpty = _vue.computed.call(void 0, () => _tigercatcore.isContentEmpty.call(void 0, currentContent.value));
|
|
56
58
|
_vue.watch.call(void 0,
|