@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
|
@@ -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/Form.ts
|
|
2
6
|
|
|
3
7
|
|
|
4
8
|
|
|
@@ -26,6 +30,8 @@ var _vue = require('vue');
|
|
|
26
30
|
|
|
27
31
|
|
|
28
32
|
|
|
33
|
+
|
|
34
|
+
|
|
29
35
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
30
36
|
var FormContextKey = /* @__PURE__ */ Symbol("FormContext");
|
|
31
37
|
var Form = _vue.defineComponent.call(void 0, {
|
|
@@ -127,6 +133,14 @@ var Form = _vue.defineComponent.call(void 0, {
|
|
|
127
133
|
maxHistorySize: {
|
|
128
134
|
type: Number,
|
|
129
135
|
default: 50
|
|
136
|
+
},
|
|
137
|
+
/**
|
|
138
|
+
* Locale override for built-in validation messages. Merged on top of the
|
|
139
|
+
* ConfigProvider locale; a per-rule `message` still takes precedence.
|
|
140
|
+
*/
|
|
141
|
+
locale: {
|
|
142
|
+
type: Object,
|
|
143
|
+
default: void 0
|
|
130
144
|
}
|
|
131
145
|
},
|
|
132
146
|
emits: {
|
|
@@ -144,6 +158,10 @@ var Form = _vue.defineComponent.call(void 0, {
|
|
|
144
158
|
const fieldRules = _vue.reactive.call(void 0, {});
|
|
145
159
|
const fieldConditions = _vue.reactive.call(void 0, {});
|
|
146
160
|
const errorsByField = _vue.computed.call(void 0, () => _tigercatcore.createFormErrorMap.call(void 0, errors));
|
|
161
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
162
|
+
const validationMessages = _vue.computed.call(void 0,
|
|
163
|
+
() => _tigercatcore.getFormValidationLabels.call(void 0, _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale))
|
|
164
|
+
);
|
|
147
165
|
let validationDebouncer = _tigercatcore.createFormValidationDebouncer.call(void 0, {
|
|
148
166
|
delay: props.validateDebounce
|
|
149
167
|
});
|
|
@@ -222,7 +240,14 @@ var Form = _vue.defineComponent.call(void 0, {
|
|
|
222
240
|
return null;
|
|
223
241
|
}
|
|
224
242
|
const value = _tigercatcore.getValueByPath.call(void 0, props.model, fieldName);
|
|
225
|
-
return _tigercatcore.validateField.call(void 0,
|
|
243
|
+
return _tigercatcore.validateField.call(void 0,
|
|
244
|
+
fieldName,
|
|
245
|
+
value,
|
|
246
|
+
effectiveFieldRules,
|
|
247
|
+
props.model,
|
|
248
|
+
trigger,
|
|
249
|
+
validationMessages.value
|
|
250
|
+
);
|
|
226
251
|
};
|
|
227
252
|
const validateFieldNow = async (fieldName, rulesOverride, trigger) => {
|
|
228
253
|
const conditionState = getFieldConditionState(fieldName);
|
|
@@ -276,7 +301,7 @@ var Form = _vue.defineComponent.call(void 0, {
|
|
|
276
301
|
if (!effectiveRules) {
|
|
277
302
|
return true;
|
|
278
303
|
}
|
|
279
|
-
const result = await _tigercatcore.validateForm.call(void 0, props.model, effectiveRules);
|
|
304
|
+
const result = await _tigercatcore.validateForm.call(void 0, props.model, effectiveRules, validationMessages.value);
|
|
280
305
|
errors.push(...result.errors);
|
|
281
306
|
return result.valid;
|
|
282
307
|
};
|
|
@@ -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/Upload.ts
|
|
6
6
|
var _vue = require('vue');
|
|
@@ -196,7 +196,7 @@ var Upload = _vue.defineComponent.call(void 0, {
|
|
|
196
196
|
const inputRef = _vue.ref.call(void 0, null);
|
|
197
197
|
const isDragging = _vue.ref.call(void 0, false);
|
|
198
198
|
const spinnerSvg = _tigercatcore.getSpinnerSVG.call(void 0, "spinner");
|
|
199
|
-
const config =
|
|
199
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
200
200
|
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
201
201
|
const labels = _vue.computed.call(void 0, () => _tigercatcore.getUploadLabels.call(void 0, mergedLocale.value, props.labels));
|
|
202
202
|
const isControlled = _vue.computed.call(void 0, () => props.fileList !== void 0);
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/VirtualTable.ts
|
|
2
6
|
import { defineComponent, h, ref, computed } from "vue";
|
|
3
7
|
import {
|
|
@@ -16,7 +20,9 @@ import {
|
|
|
16
20
|
virtualTableCellClasses,
|
|
17
21
|
virtualTableEmptyClasses,
|
|
18
22
|
virtualTableLoadingClasses,
|
|
19
|
-
virtualTableFixedCellSelectedClasses
|
|
23
|
+
virtualTableFixedCellSelectedClasses,
|
|
24
|
+
resolveLocaleText,
|
|
25
|
+
mergeTigerLocale
|
|
20
26
|
} from "@expcat/tigercat-core";
|
|
21
27
|
var VirtualTable = defineComponent({
|
|
22
28
|
name: "TigerVirtualTable",
|
|
@@ -39,7 +45,7 @@ var VirtualTable = defineComponent({
|
|
|
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 = defineComponent({
|
|
|
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 = useTigerConfig();
|
|
62
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
54
63
|
const containerRef = ref(null);
|
|
55
64
|
const scrollTop = ref(0);
|
|
56
65
|
const range = computed(
|
|
@@ -164,8 +173,16 @@ var VirtualTable = defineComponent({
|
|
|
164
173
|
}) : null;
|
|
165
174
|
const tbody = h("tbody", {}, [topSpacer, ...rows, bottomSpacer]);
|
|
166
175
|
const table = h("table", { class: "w-full table-fixed" }, [thead, tbody]);
|
|
167
|
-
const emptyEl = props.data.length === 0 && !props.loading ? h(
|
|
168
|
-
|
|
176
|
+
const emptyEl = props.data.length === 0 && !props.loading ? h(
|
|
177
|
+
"div",
|
|
178
|
+
{ class: virtualTableEmptyClasses },
|
|
179
|
+
resolveLocaleText("No data", props.emptyText, mergedLocale.value?.common?.emptyText)
|
|
180
|
+
) : null;
|
|
181
|
+
const loadingEl = props.loading ? h(
|
|
182
|
+
"div",
|
|
183
|
+
{ class: virtualTableLoadingClasses },
|
|
184
|
+
resolveLocaleText("Loading...", mergedLocale.value?.common?.loadingText)
|
|
185
|
+
) : null;
|
|
169
186
|
return h(
|
|
170
187
|
"div",
|
|
171
188
|
{
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useTigerConfig
|
|
3
|
-
} from "./chunk-VG6E4NX6.mjs";
|
|
4
1
|
import {
|
|
5
2
|
Button
|
|
6
3
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
@@ -10,6 +7,9 @@ import {
|
|
|
10
7
|
useVueEscapeKey,
|
|
11
8
|
useVueFocusTrap
|
|
12
9
|
} from "./chunk-BDTPFPSB.mjs";
|
|
10
|
+
import {
|
|
11
|
+
useTigerConfig
|
|
12
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
13
13
|
|
|
14
14
|
// src/components/Modal.ts
|
|
15
15
|
import {
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/FileManager.ts
|
|
2
6
|
import { defineComponent, h, ref, computed } from "vue";
|
|
3
7
|
import {
|
|
@@ -21,7 +25,9 @@ import {
|
|
|
21
25
|
fileManagerItemMetaClasses,
|
|
22
26
|
fileManagerEmptyClasses,
|
|
23
27
|
fileManagerLoadingClasses,
|
|
24
|
-
fileManagerSearchClasses
|
|
28
|
+
fileManagerSearchClasses,
|
|
29
|
+
resolveLocaleText,
|
|
30
|
+
mergeTigerLocale
|
|
25
31
|
} from "@expcat/tigercat-core";
|
|
26
32
|
var FileManager = defineComponent({
|
|
27
33
|
name: "TigerFileManager",
|
|
@@ -52,10 +58,11 @@ var FileManager = defineComponent({
|
|
|
52
58
|
showHidden: { type: Boolean, default: false },
|
|
53
59
|
draggable: { type: Boolean, default: false },
|
|
54
60
|
loading: { type: Boolean, default: false },
|
|
55
|
-
emptyText: { type: String, default:
|
|
61
|
+
emptyText: { type: String, default: void 0 },
|
|
56
62
|
searchable: { type: Boolean, default: false },
|
|
57
63
|
searchText: { type: String, default: "" },
|
|
58
|
-
className: { type: String, default: void 0 }
|
|
64
|
+
className: { type: String, default: void 0 },
|
|
65
|
+
locale: { type: Object, default: void 0 }
|
|
59
66
|
},
|
|
60
67
|
emits: [
|
|
61
68
|
"select",
|
|
@@ -66,6 +73,8 @@ var FileManager = defineComponent({
|
|
|
66
73
|
"update:selectedKeys"
|
|
67
74
|
],
|
|
68
75
|
setup(props, { emit, attrs }) {
|
|
76
|
+
const config = useTigerConfig();
|
|
77
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
69
78
|
const localSearch = ref(props.searchText);
|
|
70
79
|
const model = computed(
|
|
71
80
|
() => deriveFileManagerModel({
|
|
@@ -132,7 +141,10 @@ var FileManager = defineComponent({
|
|
|
132
141
|
const searchInput = props.searchable ? h("input", {
|
|
133
142
|
type: "text",
|
|
134
143
|
class: fileManagerSearchClasses,
|
|
135
|
-
placeholder:
|
|
144
|
+
placeholder: resolveLocaleText(
|
|
145
|
+
"Search...",
|
|
146
|
+
mergedLocale.value?.common?.searchPlaceholder
|
|
147
|
+
),
|
|
136
148
|
value: localSearch.value,
|
|
137
149
|
onInput: (e) => {
|
|
138
150
|
const val = e.target.value;
|
|
@@ -180,8 +192,20 @@ var FileManager = defineComponent({
|
|
|
180
192
|
"div",
|
|
181
193
|
{ class: contentClass, role: "listbox", "aria-multiselectable": props.multiple },
|
|
182
194
|
model.value.processedItems.map(renderItem)
|
|
183
|
-
) : h(
|
|
184
|
-
|
|
195
|
+
) : h(
|
|
196
|
+
"div",
|
|
197
|
+
{ class: fileManagerEmptyClasses },
|
|
198
|
+
resolveLocaleText(
|
|
199
|
+
"Empty folder",
|
|
200
|
+
props.emptyText,
|
|
201
|
+
mergedLocale.value?.common?.emptyText
|
|
202
|
+
)
|
|
203
|
+
);
|
|
204
|
+
const loadingEl = props.loading ? h(
|
|
205
|
+
"div",
|
|
206
|
+
{ class: fileManagerLoadingClasses },
|
|
207
|
+
resolveLocaleText("Loading...", mergedLocale.value?.common?.loadingText)
|
|
208
|
+
) : null;
|
|
185
209
|
return h("div", { class: containerClasses.value }, [toolbar, content, loadingEl]);
|
|
186
210
|
};
|
|
187
211
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
|
|
4
3
|
|
|
5
4
|
|
|
6
5
|
|
|
6
|
+
var _chunkEQW6IUHGjs = require('./chunk-EQW6IUHG.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkIXTYS3EKjs = require('./chunk-IXTYS3EK.js');
|
|
10
10
|
|
|
11
11
|
// src/components/Drawer.ts
|
|
12
12
|
|
|
@@ -224,7 +224,7 @@ var Drawer = _vue.defineComponent.call(void 0, {
|
|
|
224
224
|
},
|
|
225
225
|
emits: ["update:open", "close", "after-enter", "after-leave"],
|
|
226
226
|
setup(props, { slots, emit, attrs }) {
|
|
227
|
-
const config =
|
|
227
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
228
228
|
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
229
229
|
const instanceId = _vue.ref.call(void 0, createDrawerId());
|
|
230
230
|
const hasBeenOpened = _vue.ref.call(void 0, false);
|
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
formatPrecision,
|
|
21
21
|
isAtMin,
|
|
22
22
|
isAtMax,
|
|
23
|
+
formatInputNumberDisplay,
|
|
24
|
+
parseInputNumberValue,
|
|
23
25
|
createRafRepeatActionController
|
|
24
26
|
} from "@expcat/tigercat-core";
|
|
25
27
|
var InputNumber = defineComponent({
|
|
@@ -96,16 +98,13 @@ var InputNumber = defineComponent({
|
|
|
96
98
|
let suppressNextClick = false;
|
|
97
99
|
const displayValue = ref("");
|
|
98
100
|
function toDisplayValue(val) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
return formatInputNumberDisplay(val, {
|
|
102
|
+
formatter: props.formatter,
|
|
103
|
+
precision: props.precision
|
|
104
|
+
});
|
|
103
105
|
}
|
|
104
106
|
function parseValue(str) {
|
|
105
|
-
|
|
106
|
-
if (props.parser) return props.parser(str);
|
|
107
|
-
const num = Number(str);
|
|
108
|
-
return Number.isNaN(num) ? null : num;
|
|
107
|
+
return parseInputNumberValue(str, { parser: props.parser });
|
|
109
108
|
}
|
|
110
109
|
watch(
|
|
111
110
|
() => props.modelValue,
|
|
@@ -2,6 +2,9 @@ import {
|
|
|
2
2
|
renderVueBodyTeleport,
|
|
3
3
|
useVueBodyScrollLock
|
|
4
4
|
} from "./chunk-BDTPFPSB.mjs";
|
|
5
|
+
import {
|
|
6
|
+
useTigerConfig
|
|
7
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
5
8
|
|
|
6
9
|
// src/components/Loading.ts
|
|
7
10
|
import { defineComponent, computed, h, ref, watch, onUnmounted } from "vue";
|
|
@@ -20,7 +23,9 @@ import {
|
|
|
20
23
|
loadingColorClasses,
|
|
21
24
|
mergeStyleValues,
|
|
22
25
|
normalizeSvgAttrs,
|
|
23
|
-
injectLoadingAnimationStyles
|
|
26
|
+
injectLoadingAnimationStyles,
|
|
27
|
+
resolveLocaleText,
|
|
28
|
+
mergeTigerLocale
|
|
24
29
|
} from "@expcat/tigercat-core";
|
|
25
30
|
var Loading = defineComponent({
|
|
26
31
|
name: "TigerLoading",
|
|
@@ -73,10 +78,16 @@ var Loading = defineComponent({
|
|
|
73
78
|
style: {
|
|
74
79
|
type: Object,
|
|
75
80
|
default: void 0
|
|
81
|
+
},
|
|
82
|
+
locale: {
|
|
83
|
+
type: Object,
|
|
84
|
+
default: void 0
|
|
76
85
|
}
|
|
77
86
|
},
|
|
78
87
|
setup(props, { attrs }) {
|
|
79
88
|
injectLoadingAnimationStyles();
|
|
89
|
+
const config = useTigerConfig();
|
|
90
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
80
91
|
const visible = ref(false);
|
|
81
92
|
let timer = null;
|
|
82
93
|
const shouldLockBodyScroll = computed(
|
|
@@ -198,7 +209,7 @@ var Loading = defineComponent({
|
|
|
198
209
|
"div",
|
|
199
210
|
{
|
|
200
211
|
role: "status",
|
|
201
|
-
"aria-label": props.text || "Loading",
|
|
212
|
+
"aria-label": props.text || resolveLocaleText("Loading", mergedLocale.value?.common?.loadingText),
|
|
202
213
|
"aria-live": "polite",
|
|
203
214
|
"aria-busy": true,
|
|
204
215
|
...attrs,
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
notificationTitleClasses,
|
|
30
30
|
createNotificationStackUpdateScheduler,
|
|
31
31
|
normalizeStringOption,
|
|
32
|
+
createInstanceCounter,
|
|
32
33
|
isBrowser
|
|
33
34
|
} from "@expcat/tigercat-core";
|
|
34
35
|
var NOTIFICATION_CONTAINER_ID_PREFIX = "tiger-notification-container";
|
|
@@ -43,7 +44,6 @@ var notificationInstancesByPosition = {
|
|
|
43
44
|
"bottom-left": [],
|
|
44
45
|
"bottom-right": []
|
|
45
46
|
};
|
|
46
|
-
var instanceIdCounter = 0;
|
|
47
47
|
var containerApps = {
|
|
48
48
|
"top-left": null,
|
|
49
49
|
"top-right": null,
|
|
@@ -62,9 +62,7 @@ function scheduleNotificationStackUpdate(position) {
|
|
|
62
62
|
if (!callback) return;
|
|
63
63
|
stackUpdateScheduler.schedule(position, callback);
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
return ++instanceIdCounter;
|
|
67
|
-
}
|
|
65
|
+
var getNextInstanceId = createInstanceCounter();
|
|
68
66
|
function getContainerRootId(position) {
|
|
69
67
|
return `${NOTIFICATION_CONTAINER_ID_PREFIX}-${position}-root`;
|
|
70
68
|
}
|
|
@@ -153,19 +153,23 @@ var StepsItem = defineComponent({
|
|
|
153
153
|
}
|
|
154
154
|
if (stepStatus.value === "finish") {
|
|
155
155
|
return h("div", { class: iconClasses.value, "aria-hidden": "true" }, [
|
|
156
|
-
h(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
156
|
+
h(
|
|
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
|
+
h("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 h("div", { class: iconClasses.value }, String(props.stepIndex + 1));
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/Signature.ts
|
|
2
6
|
import { computed, defineComponent, h, onMounted, ref, watch } from "vue";
|
|
3
7
|
import {
|
|
@@ -9,8 +13,11 @@ import {
|
|
|
9
13
|
getSignatureCanvasDataUrl,
|
|
10
14
|
getSignatureCanvasWrapClasses,
|
|
11
15
|
getSignaturePoint,
|
|
16
|
+
isBrowser,
|
|
12
17
|
isSignatureEmpty,
|
|
13
18
|
mergeStyleValues,
|
|
19
|
+
mergeTigerLocale,
|
|
20
|
+
resolveLocaleText,
|
|
14
21
|
signatureCanvasClasses,
|
|
15
22
|
signatureClearButtonClasses,
|
|
16
23
|
signatureRootClasses,
|
|
@@ -39,7 +46,8 @@ var Signature = defineComponent({
|
|
|
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 = defineComponent({
|
|
|
48
56
|
},
|
|
49
57
|
emits: ["update:modelValue", "change", "begin", "end", "clear"],
|
|
50
58
|
setup(props, { attrs, emit, expose }) {
|
|
59
|
+
const config = useTigerConfig();
|
|
60
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
51
61
|
const canvasRef = ref(null);
|
|
52
62
|
const strokes = ref([]);
|
|
53
63
|
const activeStroke = ref(null);
|
|
@@ -57,7 +67,7 @@ var Signature = defineComponent({
|
|
|
57
67
|
const canvas = canvasRef.value;
|
|
58
68
|
const context = canvas?.getContext("2d");
|
|
59
69
|
if (!canvas || !context) return;
|
|
60
|
-
const ratio =
|
|
70
|
+
const ratio = !isBrowser() ? 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 = defineComponent({
|
|
|
215
225
|
disabled: isDisabled.value || isSignatureEmpty(strokes.value),
|
|
216
226
|
onClick: clear
|
|
217
227
|
},
|
|
218
|
-
props.clearText
|
|
228
|
+
resolveLocaleText("Clear", props.clearText, mergedLocale.value?.common?.clearText)
|
|
219
229
|
)
|
|
220
230
|
]) : null
|
|
221
231
|
]
|
|
@@ -8,6 +8,7 @@ var _tigercatcore = require('@expcat/tigercat-core');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
|
|
11
12
|
var Mentions = _vue.defineComponent.call(void 0, {
|
|
12
13
|
name: "TigerMentions",
|
|
13
14
|
props: {
|
|
@@ -39,7 +40,7 @@ var Mentions = _vue.defineComponent.call(void 0, {
|
|
|
39
40
|
emit("update:modelValue", value);
|
|
40
41
|
emit("change", value);
|
|
41
42
|
const cursorPos = _nullishCoalesce(target.selectionStart, () => ( value.length));
|
|
42
|
-
const result = _tigercatcore.extractMentionQuery.call(void 0, value, cursorPos, props.prefix);
|
|
43
|
+
const result = _tigercatcore.extractMentionQuery.call(void 0, value, cursorPos, _nullishCoalesce(props.prefix, () => ( "@")));
|
|
43
44
|
if (result && filteredOptions.value.length > 0) {
|
|
44
45
|
query.value = result.query;
|
|
45
46
|
mentionStartPos.value = result.startPos;
|
|
@@ -64,10 +65,10 @@ var Mentions = _vue.defineComponent.call(void 0, {
|
|
|
64
65
|
if (!isOpen.value) return;
|
|
65
66
|
if (e.key === "ArrowDown") {
|
|
66
67
|
e.preventDefault();
|
|
67
|
-
activeIndex.value = (
|
|
68
|
+
activeIndex.value = _tigercatcore.getCyclicIndex.call(void 0, filteredOptions.value.length, activeIndex.value, 1);
|
|
68
69
|
} else if (e.key === "ArrowUp") {
|
|
69
70
|
e.preventDefault();
|
|
70
|
-
activeIndex.value = (
|
|
71
|
+
activeIndex.value = _tigercatcore.getCyclicIndex.call(void 0, filteredOptions.value.length, activeIndex.value, -1);
|
|
71
72
|
} else if (e.key === "Enter") {
|
|
72
73
|
e.preventDefault();
|
|
73
74
|
const opt = filteredOptions.value[activeIndex.value];
|
|
@@ -104,7 +105,7 @@ var Mentions = _vue.defineComponent.call(void 0, {
|
|
|
104
105
|
_vue.h.call(void 0, "textarea", {
|
|
105
106
|
ref: textareaRef,
|
|
106
107
|
value: props.modelValue,
|
|
107
|
-
class: _tigercatcore.getMentionsInputClasses.call(void 0, props.size, props.disabled),
|
|
108
|
+
class: _tigercatcore.getMentionsInputClasses.call(void 0, _nullishCoalesce(props.size, () => ( "md")), _nullishCoalesce(props.disabled, () => ( false))),
|
|
108
109
|
placeholder: props.placeholder,
|
|
109
110
|
disabled: props.disabled,
|
|
110
111
|
rows: props.rows,
|
|
@@ -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/Pagination.ts
|
|
6
6
|
|
|
@@ -206,7 +206,7 @@ var Pagination = _vue.defineComponent.call(void 0, {
|
|
|
206
206
|
const attrsRecord = attrs;
|
|
207
207
|
const attrsClass = attrsRecord.class;
|
|
208
208
|
const attrsStyle = attrsRecord.style;
|
|
209
|
-
const config =
|
|
209
|
+
const config = _chunkIXTYS3EKjs.useTigerConfig.call(void 0, );
|
|
210
210
|
const resolvedLocale = _vue.ref.call(void 0,
|
|
211
211
|
_tigercatcore.getImmediateTigerLocale.call(void 0, props.locale)
|
|
212
212
|
);
|
|
@@ -30,6 +30,7 @@ var _vue = require('vue');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
+
|
|
33
34
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
34
35
|
var NOTIFICATION_CONTAINER_ID_PREFIX = "tiger-notification-container";
|
|
35
36
|
var NOTIFICATION_CLOSE_ARIA_LABEL = "Close notification";
|
|
@@ -43,7 +44,6 @@ var notificationInstancesByPosition = {
|
|
|
43
44
|
"bottom-left": [],
|
|
44
45
|
"bottom-right": []
|
|
45
46
|
};
|
|
46
|
-
var instanceIdCounter = 0;
|
|
47
47
|
var containerApps = {
|
|
48
48
|
"top-left": null,
|
|
49
49
|
"top-right": null,
|
|
@@ -62,9 +62,7 @@ function scheduleNotificationStackUpdate(position) {
|
|
|
62
62
|
if (!callback) return;
|
|
63
63
|
stackUpdateScheduler.schedule(position, callback);
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
return ++instanceIdCounter;
|
|
67
|
-
}
|
|
65
|
+
var getNextInstanceId = _tigercatcore.createInstanceCounter.call(void 0, );
|
|
68
66
|
function getContainerRootId(position) {
|
|
69
67
|
return `${NOTIFICATION_CONTAINER_ID_PREFIX}-${position}-root`;
|
|
70
68
|
}
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
imageAnnotationReadonlyOverlayClasses,
|
|
22
22
|
imageAnnotationStageClasses,
|
|
23
23
|
imageAnnotationToolbarClasses,
|
|
24
|
+
isBrowser,
|
|
24
25
|
mergeStyleValues,
|
|
25
26
|
shouldCommitImageAnnotationBox
|
|
26
27
|
} from "@expcat/tigercat-core";
|
|
@@ -74,7 +75,7 @@ var ImageAnnotation = defineComponent({
|
|
|
74
75
|
const loadImage = () => {
|
|
75
76
|
imageLoaded.value = false;
|
|
76
77
|
draft.value = null;
|
|
77
|
-
if (
|
|
78
|
+
if (!isBrowser() || typeof window.Image !== "function") return;
|
|
78
79
|
const img = new window.Image();
|
|
79
80
|
img.onload = () => {
|
|
80
81
|
const naturalWidth = img.naturalWidth || 1;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createStatusIcon
|
|
3
3
|
} from "./chunk-2TNZ4JNT.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useTigerConfig
|
|
6
|
+
} from "./chunk-R6WFL6NI.mjs";
|
|
4
7
|
|
|
5
8
|
// src/components/Tour.ts
|
|
6
9
|
import {
|
|
@@ -27,7 +30,9 @@ import {
|
|
|
27
30
|
getActiveTourSteps,
|
|
28
31
|
getCurrentActiveTourStep,
|
|
29
32
|
getActiveTourStepPosition,
|
|
30
|
-
closeIconPathD
|
|
33
|
+
closeIconPathD,
|
|
34
|
+
mergeTigerLocale,
|
|
35
|
+
resolveLocaleText
|
|
31
36
|
} from "@expcat/tigercat-core";
|
|
32
37
|
var Tour = defineComponent({
|
|
33
38
|
name: "TigerTour",
|
|
@@ -49,15 +54,27 @@ var Tour = defineComponent({
|
|
|
49
54
|
type: Number,
|
|
50
55
|
default: void 0
|
|
51
56
|
},
|
|
52
|
-
nextText: { type: String, default:
|
|
53
|
-
prevText: { type: String, default:
|
|
54
|
-
finishText: { type: String, default:
|
|
57
|
+
nextText: { type: String, default: void 0 },
|
|
58
|
+
prevText: { type: String, default: void 0 },
|
|
59
|
+
finishText: { type: String, default: void 0 },
|
|
55
60
|
closable: { type: Boolean, default: true },
|
|
56
61
|
showIndicators: { type: Boolean, default: true },
|
|
62
|
+
locale: { type: Object, default: void 0 },
|
|
57
63
|
className: { type: String, default: void 0 }
|
|
58
64
|
},
|
|
59
65
|
emits: ["update:open", "update:current", "close", "finish", "change"],
|
|
60
66
|
setup(props, { emit }) {
|
|
67
|
+
const config = useTigerConfig();
|
|
68
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
69
|
+
const nextLabel = computed(
|
|
70
|
+
() => resolveLocaleText("Next", props.nextText, mergedLocale.value?.formWizard?.nextText)
|
|
71
|
+
);
|
|
72
|
+
const prevLabel = computed(
|
|
73
|
+
() => resolveLocaleText("Previous", props.prevText, mergedLocale.value?.formWizard?.prevText)
|
|
74
|
+
);
|
|
75
|
+
const finishLabel = computed(
|
|
76
|
+
() => resolveLocaleText("Finish", props.finishText, mergedLocale.value?.formWizard?.finishText)
|
|
77
|
+
);
|
|
61
78
|
const internalStep = ref(0);
|
|
62
79
|
const resolvedSteps = ref(props.steps);
|
|
63
80
|
const currentStep = computed(() => props.current ?? internalStep.value);
|
|
@@ -227,7 +244,7 @@ var Tour = defineComponent({
|
|
|
227
244
|
class: "px-3 py-1.5 text-sm rounded-md border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors mr-2",
|
|
228
245
|
onClick: prev
|
|
229
246
|
},
|
|
230
|
-
|
|
247
|
+
prevLabel.value
|
|
231
248
|
)
|
|
232
249
|
);
|
|
233
250
|
}
|
|
@@ -239,7 +256,7 @@ var Tour = defineComponent({
|
|
|
239
256
|
class: "px-3 py-1.5 text-sm rounded-md bg-[var(--tiger-primary,#2563eb)] text-white hover:bg-[var(--tiger-primary-hover,#1d4ed8)] transition-colors",
|
|
240
257
|
onClick: next
|
|
241
258
|
},
|
|
242
|
-
isLast ?
|
|
259
|
+
isLast ? finishLabel.value : nextLabel.value
|
|
243
260
|
)
|
|
244
261
|
);
|
|
245
262
|
footerChildren.push(h("div", { class: "flex items-center" }, buttons));
|