@astryx-vue/core 0.35.0 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-rndlABEe.js → AlertDialog-C4oB89RV.js} +5 -5
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-eVrOpRqn.js → AppShell-CU12SF6s.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BEBUEhxF.js → AvatarGroup-DhSPWemf.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CVBNGDsD.js → Banner-DeauKxQw.js} +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/BottomSheet-Chr9yCIL.js +4353 -0
- package/dist/{BottomSheet-B3qXtKQj.js → BottomSheet-DCLOhzZP.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-B-w_yw-n.js → Breadcrumbs-BfjWIfgO.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DTdlisqJ.js → Button-V6i-PeBt.js} +2 -2
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-Bjzs-HAG.js → ButtonGroup-CEDeeGkY.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DjySyeDR.js → Carousel-5NYWpta1.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DQ6BGAvP.js → Chat-f9HzZe5y.js} +2 -2
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-DSW8yq92.js → CheckboxInput-ixAs3zkT.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-B2E2O1AE.js → CheckboxListItem-DoWYdLf-.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-D4EGX9Dh.js → ClickableCard-DuOcbNlt.js} +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BqqB2kUM.js → Code-qHt8uZqb.js} +1 -1
- package/dist/{CodeBlock-D7ZJQV5Q.js → CodeBlock-2zigEFFD.js} +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-C5xSG7oP.js → Collapsible-Dxp-BWv-.js} +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BUNdrxrB.js → CommandPalette-PyPfsPLY.js} +2 -2
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-m9wi7E0j.js → ComplexSelector-B07QdP_p.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BEHfVIAq.js → ContextMenu-B6NH9NBS.js} +3 -3
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CHeetz7k.js → DateInput-TrPijW9a.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-D524C1wc.js → DateRangeInput-bKPzsoHA.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-2gTBrcbr.js → DateTimeInput-5jZPqFu2.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-nyLGClca.js → Dialog-CDAicnpK.js} +1 -1
- package/dist/{Dialog-DS3xE1B7.js → Dialog-dm_qZ9NI.js} +1 -1
- package/dist/{DialogHeader-u_AaZpyZ.js → DialogHeader-CQfcOIfF.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-DqUdaZFh.js → Drawer-DKSqpR2p.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DlAON5Jf.js → DropdownMenu-C-SLsVSO.js} +6 -6
- package/dist/Field/index.js +3 -3
- package/dist/{Field-YNS4XxpR.js → Field-CZndbiqR.js} +1 -1
- package/dist/{FieldInfoTip-DFlIBJlR.js → FieldInfoTip-Ii7lSYS8.js} +1 -1
- package/dist/{FieldLabel-i0gos7hU.js → FieldLabel-ru3qavED.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DYVzAtvz.js → FileInput-BtVTN7LN.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DXt8DtsN.js → IconButton-4BXILpv-.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip--fZOD0ux.js → InfoTip-D2MzKXZH.js} +1 -1
- package/dist/{InputClearButton-LF0iVTVF.js → InputClearButton-Cm5Q3KK2.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-D4CPVzo0.js → InputGroup-CjB_XpEy.js} +1 -1
- package/dist/{Item-BKISM91o.js → Item-CKYsTbM4.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-BwSvAsLi.js → Layout-CpFgVnlQ.js} +1 -1
- package/dist/{LayoutPanel-CmzJQpnL.js → LayoutPanel-Dhm0Hubb.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-B32Yh8Uy.js → Lightbox-BSzyDGkK.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DSXyw9MW.js → Link-BnM830Xa.js} +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-D3iEhvU2.js → ListItem-B1ztelEC.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BY5Bju8w.js → Markdown-JjZLAFq2.js} +2 -2
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-sC6GPVKQ.js → MobileNavToggle-C1_IinAo.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CcavOuxV.js → MoreMenu-DbYO8V7N.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Diu5zHbP.js → MultiSelector-CthCkW-w.js} +4 -4
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DlW8noR6.js → NavItem-DTO-BEfc.js} +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-J2kmtb1B.js → NavMenu-g8ZVhLMG.js} +1 -1
- package/dist/{NavMenuItem-DItNRTDZ.js → NavMenuItem-DJg9jfHm.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-vhm5TQon.js → NumberInput-BM52uE72.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-CVIDd0fN.js → Outline-D4DJTfKp.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-DjWWBOkx.js → OverflowList-nW6GCEsY.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DKsePQjC.js → Pagination-DFZivDZZ.js} +2 -2
- package/dist/{PanGestureRecognizer-C7hNunjF.js → PanGestureRecognizer-C-gk9mOy.js} +1 -1
- package/dist/{PickerWheel-Bf7xe6g6.js → PickerWheel-sIOSfcfO.js} +5 -5
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CKgepPJ6.js → Popover-IvZGq1LC.js} +3 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DopZnZDZ.js → PowerSearch-CQdyB8_N.js} +19 -19
- package/dist/{PressTracker-DL75qEq_.js → PressTracker-CPRIrG4f.js} +2 -2
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-C-S-SnbH.js → RadioGroup-OLFNjvKt.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-DzKVK4DZ.js → RadioListItem-BAEF0vc8.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-CaZEB4Py.js → ResizeHandle-Bd4TdK7E.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-Bp7dpEjn.js → SegmentedControl-C0xXOVTv.js} +8 -8
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-DPWaUCGZ.js → SelectableCard-B2QbpWiT.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CJmeuWhN.js → Selector-icOfE3ja.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D-AQqNPx.js → SideNav-ZZ5zCQz0.js} +4 -4
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DU-Yl3fd.js → Slider-Bd5fxqRa.js} +7 -7
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-67SsxUne.js → Stepper-3oMdVe0c.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-C6qaebkX.js → Switch-COKmqJQU.js} +8 -8
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-TbJ6y1gN.js → TabList-C-HBxmkc.js} +2 -2
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DG_GVUF4.js → Table-aMqVf_iH.js} +9 -9
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-D6EtmxTk.js → TextArea-YJtL9Fi6.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-AngvgtdT.js → TextInput-CuPxOApN.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DExkxw8a.js → Thumbnail-oqrKH-co.js} +2 -2
- package/dist/{TimeField-BNGg25yA.js → TimeField-DNxPI2cM.js} +40 -11
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D8lwgHOR.js → TimeInput-PJdyNX0T.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CeSb1A8c.js → Timestamp-CfzqAAX2.js} +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-B2Fq-JYA.js → Toast-W6aKxXlF.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Bn8yLHbh.js → ToggleButton-Ditxp2jT.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Dpxh42Mw.js → Token-Dk6MPUkH.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B3EnI98V.js → Tokenizer-CdyoUaoZ.js} +7 -7
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-D7mzM7pu.js → TopNav-CxAm5bN5.js} +3 -3
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BmeXFFqr.js → TreeList-Dnx-uco3.js} +1 -1
- package/dist/Typeahead/index.d.ts +3 -3
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-kLp9UG-Q.js → Typeahead-Cx086Mmv.js} +3 -3
- package/dist/{accessibleName-Zr1_WoBg.js → accessibleName-CN1vKvS_.js} +1 -1
- package/dist/{boxHold-Bh1fTcXx.js → boxHold-D1G2s1tG.js} +4 -4
- package/dist/{browserClickWait-CiUtuWNK.js → browserClickWait-Cb550_M2.js} +2 -2
- package/dist/{clickGuard-Bd-jBj_G.js → clickGuard-BkegH2NW.js} +1 -1
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +7 -7
- package/dist/{composables-B6ebqwHY.js → composables-CpG7bhuQ.js} +74 -4
- package/dist/{geometry-0e0f5Mjv.js → geometry-BRW7FETc.js} +6 -195
- package/dist/{haptics-DIfaJavG.js → haptics-BEgivjBd.js} +2 -2
- package/dist/{holdEntranceInput-DWqsAYll.js → holdEntranceInput-CROBPhuO.js} +1 -1
- package/dist/{index-DXHmlFcC.d.ts → index--kbwaSXW.d.ts} +3 -3
- package/dist/{index-aHC2C89h.d.ts → index-1yvu_vpF.d.ts} +1 -1
- package/dist/{index-C9TEn6LQ.d.ts → index-B27k2e77.d.ts} +35 -35
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-DoYrlaEI.d.ts → index-BufuCsTx.d.ts} +3 -3
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-AgTJRqUY.d.ts → index-CQi9WGWE.d.ts} +2 -2
- package/dist/{index-C_iTVOHQ.d.ts → index-CilCxEvD.d.ts} +1 -1
- package/dist/{index-QC9FDUDA.d.ts → index-J83fLEyo.d.ts} +3 -3
- package/dist/{index-BA8exXNP.d.ts → index-X4S7_dmq.d.ts} +1 -1
- package/dist/{index-D8VViJw0.d.ts → index-sUMua5pp.d.ts} +47 -1
- package/dist/{index-BqAI9Sxh.d.ts → index-x7g2WHHx.d.ts} +2 -2
- package/dist/index.d.ts +16 -16
- package/dist/index.js +86 -86
- package/dist/inputAge-C-SoLwpD.js +42 -0
- package/dist/{inputHold-CvjeOOWT.js → inputHold-B53XZ8if.js} +2 -2
- package/dist/{inputHoldState-Cg1r8Ib7.js → inputHoldState-Bav14W7v.js} +1 -1
- package/dist/{inputStream-DkMWPYac.js → inputStream-DmPkJ1aU.js} +24 -1
- package/dist/{lazyBottomSheet-DlHcPsAT.js → lazyBottomSheet-DlrpPOl8.js} +1 -1
- package/dist/{resizableChannel-CaaqGvXj.js → resizableChannel-DpbFJbto.js} +1 -1
- package/dist/{scrollView-DcPpdCrj.js → scrollView-BGBtu5JP.js} +2 -42
- package/dist/selectionRanges-DB5jesLz.js +194 -0
- package/dist/{springs-DjAn_oV5.js → springs-CPk0tpwL.js} +1 -1
- package/dist/{types-DL-hRibg.d.ts → types-CTjJfVYK.d.ts} +11 -1
- package/dist/{useActionGroupTracking-DjIdPbfL.js → useActionGroupTracking-C-nLjHyn.js} +3 -2
- package/dist/{useChatStreamScroll-DEp17Yq9.js → useChatStreamScroll-DWhnCSP1.js} +1 -1
- package/dist/{useGestureRecognizer-DDd-6Km-.js → useGestureRecognizer-Di-YKr93.js} +1 -1
- package/dist/{useInputStatusIcon-m6l4qBmA.js → useInputStatusIcon-CXP2kRSe.js} +1 -1
- package/dist/{useMenuEntranceHold-C4LOzKIS.js → useMenuEntranceHold-DMHMzaRW.js} +1 -1
- package/dist/{useMenuPress-BDPqPten.js → useMenuPress-zOinmIFS.js} +3 -3
- package/dist/{usePressFeedback-D2mWzgoJ.js → usePressFeedback-CF4ISMfb.js} +3 -2
- package/dist/{useResizable-Bwv-j_9N.js → useResizable-7-uUaJ7x.js} +2 -2
- package/dist/{useTouchHitArea-DL9D10Rq.js → useTouchHitArea-CkHMLZ34.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +16 -0
- package/dist/BottomSheet-C6vet4pm.js +0 -1896
|
@@ -8,9 +8,9 @@ import { n as createMotionEngine, r as SETTLE_THRESHOLD } from "./animator-Bptiu
|
|
|
8
8
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
9
9
|
import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
|
|
10
10
|
import { t as solveDecay } from "./decay-TluwbMlP.js";
|
|
11
|
-
import {
|
|
12
|
-
import { c as MANIPULATION, i as getGestureHost, l as isActive, r as travel } from "./geometry-
|
|
13
|
-
import { n as GestureRecognizer, t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
11
|
+
import { o as registerSpringsTable, s as springs } from "./springs-CPk0tpwL.js";
|
|
12
|
+
import { c as MANIPULATION, i as getGestureHost, l as isActive, r as travel } from "./geometry-BRW7FETc.js";
|
|
13
|
+
import { n as GestureRecognizer, t as PanGestureRecognizer } from "./PanGestureRecognizer-C-gk9mOy.js";
|
|
14
14
|
import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
15
15
|
import { t as resolveSnapPoint } from "./resolveSnapPoint-A4dhS5jj.js";
|
|
16
16
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
@@ -1568,6 +1568,76 @@ function useKeyboardHint(options = {}) {
|
|
|
1568
1568
|
};
|
|
1569
1569
|
}
|
|
1570
1570
|
//#endregion
|
|
1571
|
+
//#region src/composables/useLinkify.ts
|
|
1572
|
+
const BUILTIN_PATTERNS = [{
|
|
1573
|
+
pattern: /https?:\/\/[^\s<>'")\]},]+/g,
|
|
1574
|
+
href: (match) => match[0],
|
|
1575
|
+
isExternal: true
|
|
1576
|
+
}, {
|
|
1577
|
+
pattern: /[\w.%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gi,
|
|
1578
|
+
href: (match) => `mailto:${match[0]}`
|
|
1579
|
+
}];
|
|
1580
|
+
/** 所有规则的匹配,重叠的只留先出现的;起点相同按规则的先后。 */
|
|
1581
|
+
function findMatches(text, patterns) {
|
|
1582
|
+
const all = [];
|
|
1583
|
+
for (const rule of patterns) {
|
|
1584
|
+
const re = new RegExp(rule.pattern.source, rule.pattern.flags);
|
|
1585
|
+
for (const match of text.matchAll(re)) all.push({
|
|
1586
|
+
start: match.index,
|
|
1587
|
+
end: match.index + match[0].length,
|
|
1588
|
+
href: rule.href(match),
|
|
1589
|
+
label: rule.label ? rule.label(match) : match[0],
|
|
1590
|
+
isExternal: rule.isExternal ?? false
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
all.sort((a, b) => a.start - b.start);
|
|
1594
|
+
const kept = [];
|
|
1595
|
+
let lastEnd = 0;
|
|
1596
|
+
for (const match of all) if (match.start >= lastEnd) {
|
|
1597
|
+
kept.push(match);
|
|
1598
|
+
lastEnd = match.end;
|
|
1599
|
+
}
|
|
1600
|
+
return kept;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* 把纯文字里的网址、邮箱和自定义格式(如 #123、T1234)切成「文字」和「链接」两种片段。
|
|
1604
|
+
* 渲染时文字原样输出,链接交给 `Link`。
|
|
1605
|
+
*
|
|
1606
|
+
* 文字或选项变了,片段会跟着变。空文字或没有命中时只有一段文字。
|
|
1607
|
+
*/
|
|
1608
|
+
function useLinkify(text, options) {
|
|
1609
|
+
return computed(() => {
|
|
1610
|
+
const source = toValue(text);
|
|
1611
|
+
const { patterns = [], hasBuiltins = true } = toValue(options) ?? {};
|
|
1612
|
+
const rules = hasBuiltins ? [...patterns, ...BUILTIN_PATTERNS] : patterns;
|
|
1613
|
+
const matches = source.length === 0 || rules.length === 0 ? [] : findMatches(source, rules);
|
|
1614
|
+
if (matches.length === 0) return [{
|
|
1615
|
+
type: "text",
|
|
1616
|
+
text: source
|
|
1617
|
+
}];
|
|
1618
|
+
const segments = [];
|
|
1619
|
+
let cursor = 0;
|
|
1620
|
+
for (const match of matches) {
|
|
1621
|
+
if (match.start > cursor) segments.push({
|
|
1622
|
+
type: "text",
|
|
1623
|
+
text: source.slice(cursor, match.start)
|
|
1624
|
+
});
|
|
1625
|
+
segments.push({
|
|
1626
|
+
type: "link",
|
|
1627
|
+
text: match.label,
|
|
1628
|
+
href: match.href,
|
|
1629
|
+
isExternal: match.isExternal
|
|
1630
|
+
});
|
|
1631
|
+
cursor = match.end;
|
|
1632
|
+
}
|
|
1633
|
+
if (cursor < source.length) segments.push({
|
|
1634
|
+
type: "text",
|
|
1635
|
+
text: source.slice(cursor)
|
|
1636
|
+
});
|
|
1637
|
+
return segments;
|
|
1638
|
+
});
|
|
1639
|
+
}
|
|
1640
|
+
//#endregion
|
|
1571
1641
|
//#region src/composables/usePanGesture.ts
|
|
1572
1642
|
/**
|
|
1573
1643
|
* 把 `target` 指向的元素上的拖动报成数值。`target` 可以是模板 ref、getter
|
|
@@ -2491,4 +2561,4 @@ function useTouchTrigger(options) {
|
|
|
2491
2561
|
};
|
|
2492
2562
|
}
|
|
2493
2563
|
//#endregion
|
|
2494
|
-
export {
|
|
2564
|
+
export { useContainerReveal as _, usePanGesture as a, createPanGesture as b, useIndicatorFocusRing as c, useImageMode as d, useGridRovingFocus as f, useControllableState as g, useDragToSnapPoints as h, useSnapPaging as i, imageModeFromPixels as l, useEntryAnimation as m, snapToGraphemeBoundary as n, useLinkify as o, useGridFocus as p, useStreamingText as r, useKeyboardHint as s, useTouchTrigger as t, perceptualLightness as u, useAnimator as v, createAnimator as x, createDragToSnapPoints as y };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
1
|
+
import { c as isHTMLElement, l as isNode, n as deepActiveElement, r as parentAcrossShadow, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
|
|
2
|
+
import { t as clockOf } from "./inputAge-C-SoLwpD.js";
|
|
3
|
+
import { i as rootOverflow, n as isInsideScrollView, r as parseTouchAction, t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
4
|
+
import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
4
5
|
import { n as sharedKey, t as realmValue } from "./sharedRealm-BYHklCVM.js";
|
|
5
|
-
import {
|
|
6
|
+
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
6
7
|
import { i as UIKIT_LONG_PRESS, o as UIKIT_PRESS, s as UIKIT_TAP } from "./gestures-yKyyMqeQ.js";
|
|
7
8
|
import { i as presentedOffsetOf, o as resolvePresented, r as presentedElements, s as watchPresentedElements } from "./presentation-Cl58tYA6.js";
|
|
8
9
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
9
10
|
import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
|
|
10
11
|
import { i as locksSelectionFor, r as lockStyles, t as isTextEntry } from "./selectionLock-BM8XEZQD.js";
|
|
12
|
+
import { a as selectRanges, c as startsOnSelectableText, i as sameRanges, n as heldRanges, o as selectionRangesOf, r as isValidRange, s as shadowRootsOfRanges } from "./selectionRanges-DB5jesLz.js";
|
|
11
13
|
import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
12
14
|
import { t as isRtlElement } from "./isRtlElement-NHuH48AA.js";
|
|
13
15
|
import { t as holdsTouch } from "./touchHold-CciGr8hU.js";
|
|
@@ -951,197 +953,6 @@ function coalescedHistory(event, timing) {
|
|
|
951
953
|
function isPrimaryClick(event) {
|
|
952
954
|
return event.button === 0 && !(event.ctrlKey && isApplePlatform());
|
|
953
955
|
}
|
|
954
|
-
//#endregion
|
|
955
|
-
//#region src/utils/selectionRanges.ts
|
|
956
|
-
/**
|
|
957
|
-
* @file selectionRanges.ts
|
|
958
|
-
* @input A window's selection, a press's point
|
|
959
|
-
* @output selectionRangesOf and startsOnSelectableText, what a mouse or pen
|
|
960
|
-
* press reads; caretAt; and the range helpers a drag's hold uses to keep
|
|
961
|
-
* and put back the page's selection
|
|
962
|
-
* @position Read by the gesture host at a press, and by dragSelection.ts
|
|
963
|
-
*
|
|
964
|
-
* SYNC: When modified, update dragSelection.ts and gestures/hostSelection.ts.
|
|
965
|
-
*/
|
|
966
|
-
/**
|
|
967
|
-
* The page's selection now, its ranges copied; none for a collapsed or empty
|
|
968
|
-
* one. A drag's hold keeps what this read when the press began.
|
|
969
|
-
*/
|
|
970
|
-
function selectionRangesOf(view) {
|
|
971
|
-
const selection = view?.getSelection();
|
|
972
|
-
if (selection == null) return [];
|
|
973
|
-
const composed = composedRangesOf(selection, []);
|
|
974
|
-
if (composed != null) return composed.filter((range) => !range.collapsed).map(liveWhereItCan);
|
|
975
|
-
if (selection.isCollapsed) return [];
|
|
976
|
-
const ranges = [];
|
|
977
|
-
for (let index = 0; index < selection.rangeCount; index++) ranges.push(selection.getRangeAt(index).cloneRange());
|
|
978
|
-
return ranges;
|
|
979
|
-
}
|
|
980
|
-
/**
|
|
981
|
-
* Whether a press at (`x`, `y`) lands on text a drag would select. That is a
|
|
982
|
-
* text field, or a character of non-empty text whose element allows a
|
|
983
|
-
* selection. A native button's label, slotted or not, is not selectable text,
|
|
984
|
-
* because the engine starts no selection from a drag inside a button. A point
|
|
985
|
-
* beside text, which a caret query snaps to the nearest character, lands on
|
|
986
|
-
* none. Where the engine has no caret query, nothing is selectable text.
|
|
987
|
-
*/
|
|
988
|
-
function startsOnSelectableText(doc, x, y, target) {
|
|
989
|
-
if (isTextEntry(target)) return true;
|
|
990
|
-
const caret = caretAt(doc, x, y, [...ownShadowRoot(target), ...openShadowRootsOf(target)]);
|
|
991
|
-
if (caret == null) return false;
|
|
992
|
-
const { node, offset } = caret;
|
|
993
|
-
if (node.nodeType !== 3 || (node.textContent ?? "").trim() === "") return false;
|
|
994
|
-
const element = node.parentElement ?? (node.parentNode == null ? null : shadowHostOf(node.parentNode));
|
|
995
|
-
if (element == null || !allowsSelection(element) || isInButton(node)) return false;
|
|
996
|
-
const length = (node.textContent ?? "").length;
|
|
997
|
-
const range = doc.createRange();
|
|
998
|
-
if (typeof range.getClientRects !== "function") return false;
|
|
999
|
-
for (const start of [offset - 1, offset]) {
|
|
1000
|
-
if (start < 0 || start >= length) continue;
|
|
1001
|
-
range.setStart(node, start);
|
|
1002
|
-
range.setEnd(node, start + 1);
|
|
1003
|
-
for (const rect of Array.from(range.getClientRects())) if (x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom) return true;
|
|
1004
|
-
}
|
|
1005
|
-
return false;
|
|
1006
|
-
}
|
|
1007
|
-
/** Whether `node` is inside a native button, along the flat tree. */
|
|
1008
|
-
function isInButton(node) {
|
|
1009
|
-
for (let at = node; at != null; at = parentAcrossShadow(at)) if (at.nodeType === 1 && at.localName === "button") return true;
|
|
1010
|
-
return false;
|
|
1011
|
-
}
|
|
1012
|
-
/** The caret position the engine puts at a point, by either query. */
|
|
1013
|
-
function caretAt(doc, x, y, shadowRoots) {
|
|
1014
|
-
const queries = doc;
|
|
1015
|
-
if (typeof queries.caretPositionFromPoint === "function") {
|
|
1016
|
-
const position = shadowRoots.length > 0 ? queries.caretPositionFromPoint(x, y, { shadowRoots: [...shadowRoots] }) : queries.caretPositionFromPoint(x, y);
|
|
1017
|
-
return position == null ? null : {
|
|
1018
|
-
node: position.offsetNode,
|
|
1019
|
-
offset: position.offset
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
if (typeof queries.caretRangeFromPoint === "function") {
|
|
1023
|
-
const range = queries.caretRangeFromPoint(x, y);
|
|
1024
|
-
return range == null ? null : {
|
|
1025
|
-
node: range.startContainer,
|
|
1026
|
-
offset: range.startOffset
|
|
1027
|
-
};
|
|
1028
|
-
}
|
|
1029
|
-
return null;
|
|
1030
|
-
}
|
|
1031
|
-
/** Whether an element's text can be selected (`user-select` is not none). */
|
|
1032
|
-
function allowsSelection(element) {
|
|
1033
|
-
const style = element.ownerDocument.defaultView?.getComputedStyle(element);
|
|
1034
|
-
if (style == null) return false;
|
|
1035
|
-
return style.getPropertyValue("user-select") !== "none" && style.getPropertyValue("-webkit-user-select") !== "none";
|
|
1036
|
-
}
|
|
1037
|
-
/**
|
|
1038
|
-
* The ranges `selection` holds, with boundaries inside `shadowRoots` where the
|
|
1039
|
-
* engine reads composed ranges.
|
|
1040
|
-
*/
|
|
1041
|
-
function heldRanges(selection, shadowRoots) {
|
|
1042
|
-
const composed = composedRangesOf(selection, shadowRoots);
|
|
1043
|
-
if (composed != null) return composed;
|
|
1044
|
-
const ranges = [];
|
|
1045
|
-
for (let index = 0; index < selection.rangeCount; index++) ranges.push(selection.getRangeAt(index));
|
|
1046
|
-
return ranges;
|
|
1047
|
-
}
|
|
1048
|
-
/**
|
|
1049
|
-
* A live copy of `range` when both boundaries share a root, so it follows
|
|
1050
|
-
* DOM changes. A range across roots stays static: no live range holds it.
|
|
1051
|
-
*/
|
|
1052
|
-
function liveWhereItCan(range) {
|
|
1053
|
-
const live = range.startContainer.ownerDocument?.createRange();
|
|
1054
|
-
if (live == null || range.startContainer.getRootNode() !== range.endContainer.getRootNode()) return range;
|
|
1055
|
-
live.setStart(range.startContainer, range.startOffset);
|
|
1056
|
-
live.setEnd(range.endContainer, range.endOffset);
|
|
1057
|
-
return live;
|
|
1058
|
-
}
|
|
1059
|
-
/** Whether both of `range`'s boundaries still exist in the document. */
|
|
1060
|
-
function isValidRange(range) {
|
|
1061
|
-
return isValidBoundary(range.startContainer, range.startOffset) && isValidBoundary(range.endContainer, range.endOffset);
|
|
1062
|
-
}
|
|
1063
|
-
function isValidBoundary(node, offset) {
|
|
1064
|
-
const length = node.nodeType === 3 || node.nodeType === 4 || node.nodeType === 8 ? node.length : node.childNodes.length;
|
|
1065
|
-
return node.isConnected && offset >= 0 && offset <= length;
|
|
1066
|
-
}
|
|
1067
|
-
/** Whether two range lists have the same boundaries, in order. */
|
|
1068
|
-
function sameRanges(held, kept) {
|
|
1069
|
-
return held.length === kept.length && kept.every((range, index) => {
|
|
1070
|
-
const other = held[index];
|
|
1071
|
-
return other.startContainer === range.startContainer && other.startOffset === range.startOffset && other.endContainer === range.endContainer && other.endOffset === range.endOffset;
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* Put `ranges` back as the selection. One range goes through
|
|
1076
|
-
* `setBaseAndExtent`, which also reaches inside a shadow root.
|
|
1077
|
-
*/
|
|
1078
|
-
function selectRanges(selection, ranges) {
|
|
1079
|
-
const [only] = ranges;
|
|
1080
|
-
if (ranges.length === 1 && typeof selection.setBaseAndExtent === "function") {
|
|
1081
|
-
selection.setBaseAndExtent(only.startContainer, only.startOffset, only.endContainer, only.endOffset);
|
|
1082
|
-
return;
|
|
1083
|
-
}
|
|
1084
|
-
selection.removeAllRanges();
|
|
1085
|
-
for (const range of ranges) {
|
|
1086
|
-
const copy = range.startContainer.ownerDocument?.createRange();
|
|
1087
|
-
if (copy == null) continue;
|
|
1088
|
-
copy.setStart(range.startContainer, range.startOffset);
|
|
1089
|
-
copy.setEnd(range.endContainer, range.endOffset);
|
|
1090
|
-
selection.addRange(copy);
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
/**
|
|
1094
|
-
* The selection's composed ranges, reaching into each open shadow root a
|
|
1095
|
-
* boundary lands on; null where the engine has no `getComposedRanges`.
|
|
1096
|
-
* Without the roots, a selection inside a shadow root reads as one around
|
|
1097
|
-
* its host.
|
|
1098
|
-
*/
|
|
1099
|
-
function composedRangesOf(selection, known) {
|
|
1100
|
-
const query = selection.getComposedRanges;
|
|
1101
|
-
if (typeof query !== "function") return null;
|
|
1102
|
-
const read = (roots) => {
|
|
1103
|
-
try {
|
|
1104
|
-
return query.call(selection, { shadowRoots: roots });
|
|
1105
|
-
} catch {
|
|
1106
|
-
try {
|
|
1107
|
-
return query.call(selection, ...roots);
|
|
1108
|
-
} catch {
|
|
1109
|
-
return null;
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
};
|
|
1113
|
-
const roots = [...known];
|
|
1114
|
-
for (;;) {
|
|
1115
|
-
const ranges = read([...roots]);
|
|
1116
|
-
if (ranges == null) return null;
|
|
1117
|
-
const found = /* @__PURE__ */ new Set();
|
|
1118
|
-
for (const range of ranges) for (const [node, offset] of [[range.startContainer, range.startOffset], [range.endContainer, range.endOffset]]) for (const child of [node.childNodes[offset], node.childNodes[offset - 1]]) {
|
|
1119
|
-
const root = child?.nodeType === 1 ? child.shadowRoot : null;
|
|
1120
|
-
if (root != null && !roots.includes(root)) found.add(root);
|
|
1121
|
-
}
|
|
1122
|
-
if (found.size === 0) return ranges;
|
|
1123
|
-
roots.push(...found);
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
/** The open shadow roots on the root chains of `ranges`' boundaries. */
|
|
1127
|
-
function shadowRootsOfRanges(ranges) {
|
|
1128
|
-
const roots = /* @__PURE__ */ new Set();
|
|
1129
|
-
for (const range of ranges) for (const root of [...openShadowRootsOf(range.startContainer), ...openShadowRootsOf(range.endContainer)]) roots.add(root);
|
|
1130
|
-
return [...roots];
|
|
1131
|
-
}
|
|
1132
|
-
/**
|
|
1133
|
-
* The open shadow root `target` hosts, if any. A press on text directly under
|
|
1134
|
-
* a shadow root targets its host.
|
|
1135
|
-
*/
|
|
1136
|
-
function ownShadowRoot(target) {
|
|
1137
|
-
const root = target?.nodeType === 1 ? target.shadowRoot : null;
|
|
1138
|
-
return root == null ? [] : [root];
|
|
1139
|
-
}
|
|
1140
|
-
/** The open shadow roots on `target`'s root chain, innermost first. */
|
|
1141
|
-
function openShadowRootsOf(target) {
|
|
1142
|
-
if (target == null || typeof target.nodeType !== "number") return [];
|
|
1143
|
-
return shadowRootsOutward(target.getRootNode()).map(({ root }) => root).filter((root) => root.mode === "open");
|
|
1144
|
-
}
|
|
1145
956
|
/**
|
|
1146
957
|
* How long after its last wheel a wheel gesture ends, ms. A trackpad's
|
|
1147
958
|
* two-finger scroll waits out a slow drag's pauses for its axis, whoever
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as sharedSequence } from "./sharedRealm-BYHklCVM.js";
|
|
2
2
|
import { s as UIKIT_TAP, t as HAPTIC_VIBRATION_PATTERNS } from "./gestures-yKyyMqeQ.js";
|
|
3
|
-
import { c as MANIPULATION, n as distance, r as travel } from "./geometry-
|
|
4
|
-
import { n as GestureRecognizer } from "./PanGestureRecognizer-
|
|
3
|
+
import { c as MANIPULATION, n as distance, r as travel } from "./geometry-BRW7FETc.js";
|
|
4
|
+
import { n as GestureRecognizer } from "./PanGestureRecognizer-C-gk9mOy.js";
|
|
5
5
|
//#region src/gestures/TapGestureRecognizer.ts
|
|
6
6
|
const TAP = UIKIT_TAP;
|
|
7
7
|
var TapGestureRecognizer = class extends GestureRecognizer {
|
|
@@ -8,12 +8,12 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
type: "button" | "
|
|
11
|
+
type: "button" | "reset" | "submit";
|
|
12
12
|
isDisabled: boolean;
|
|
13
|
-
isIconOnly: boolean;
|
|
14
13
|
elevation: ButtonElevation;
|
|
15
|
-
isInterruptible: boolean;
|
|
16
14
|
isLoading: boolean;
|
|
15
|
+
isIconOnly: boolean;
|
|
16
|
+
isInterruptible: boolean;
|
|
17
17
|
loadingLabel: string;
|
|
18
18
|
variant: ButtonVariant;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as TypeaheadItemProps, c as TypeaheadProps, t as BaseTypeaheadProps, u as TypeaheadSlots } from "./types-CTjJfVYK.js";
|
|
3
3
|
//#region src/Typeahead/BaseTypeahead.vue.d.ts
|
|
4
4
|
declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<BaseTypeaheadProps<T> & {
|
|
@@ -16,8 +16,8 @@ import { m as ListDensity, t as ItemAlign } from "./types-BHHT6Bho.js";
|
|
|
16
16
|
import { P as DropdownMenuSubMenuPresentation } from "./DropdownMenuRadioItem.vue-BDDI4EZK.js";
|
|
17
17
|
import { a as NavItemSize, s as NavLinkComponent } from "./types-C2ZuV4jf.js";
|
|
18
18
|
import "./index-DjSQLT53.js";
|
|
19
|
-
import "./index
|
|
20
|
-
import {
|
|
19
|
+
import "./index--kbwaSXW.js";
|
|
20
|
+
import { C as ScrollStickyContainment, Gn as HourFormat, S as ScrollRole, Vn as DatePresentation, Yn as TimePresentation, ai as WeekStartsOn, cn as HandleRef, qn as NativePicker, ri as ISODateRange, ti as SnapPaging, v as ScrollAxis, x as ScrollOverscroll } from "./index-sUMua5pp.js";
|
|
21
21
|
import { Ct as ISODateString, wt as PlainDate } from "./index-BDJQW9cW.js";
|
|
22
22
|
import { J as PowerSearchMessages, Tn as CalendarYearMonth, wn as CalendarSystem } from "./loadCatalog-CdEXyPYj.js";
|
|
23
23
|
import { n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap } from "./index-CTjkJP4x.js";
|
|
@@ -32,12 +32,12 @@ import { t as CodeLanguage } from "./grammar-4Pn2745Q.js";
|
|
|
32
32
|
import "./index-8FJZ4hpI.js";
|
|
33
33
|
import "./index-yQc-te9a.js";
|
|
34
34
|
import "./index-BjqoHLMq.js";
|
|
35
|
-
import "./index-
|
|
35
|
+
import "./index-CQi9WGWE.js";
|
|
36
36
|
import { a as PaddingInput, i as SectionVariant, o as SizeValue } from "./types-uFMH9NaM.js";
|
|
37
37
|
import { B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, M as TablePlugin, N as TableProps, R as TableRowProps, T as TableFilterState, V as TableSlots, W as TableSortState, _ as TableCellProps, et as ToolbarOrientation, h as ProportionalWidth, i as ResizableRegion, it as ToolbarVariant, m as PixelWidth, nt as ToolbarSize, p as ColumnWidth, rt as ToolbarSlots, tt as ToolbarProps, v as TableColumn, z as TableSelectionToolbarProps } from "./useResizable-CKDaU_se.js";
|
|
38
38
|
import { u as MenuDrillIn } from "./index-DvCLTiDV.js";
|
|
39
39
|
import { i as EntryErrorBehavior } from "./index-DcisK4t8.js";
|
|
40
|
-
import { f as DialogPurpose, l as DialogPadding } from "./index-
|
|
40
|
+
import { f as DialogPurpose, l as DialogPadding } from "./index-CBOv5j3c.js";
|
|
41
41
|
import "./index-C8wfe0Mr.js";
|
|
42
42
|
import "./index--Xrukl7L.js";
|
|
43
43
|
import "./index-BZUVNr2c.js";
|
|
@@ -59,37 +59,37 @@ import "./index-tXYy8MJ0.js";
|
|
|
59
59
|
import { k as MarkdownAstDataValue, l as MarkdownPluginEntry, t as MarkdownExtensionNode } from "./protocol-DwUmpC5G.js";
|
|
60
60
|
import "./index-utZGF4GR.js";
|
|
61
61
|
import "./index-C5fbwY7Y.js";
|
|
62
|
-
import "./index-
|
|
62
|
+
import "./index-BufuCsTx.js";
|
|
63
63
|
import "./index-BfFpUr1B.js";
|
|
64
64
|
import { h as NavMenuFocusRequest } from "./index-BIQZa2BD.js";
|
|
65
65
|
import "./index-B1t1oQWH.js";
|
|
66
|
-
import "./index-
|
|
66
|
+
import "./index-BuubzuE8.js";
|
|
67
67
|
import "./index-ZXrvTM3A.js";
|
|
68
|
-
import "./index-
|
|
68
|
+
import "./index-CilCxEvD.js";
|
|
69
69
|
import "./index-CdvmnNMH.js";
|
|
70
70
|
import "./index-CZ29Xu_E.js";
|
|
71
71
|
import "./index-fAZaRruV.js";
|
|
72
72
|
import "./index-CEv_AvOg.js";
|
|
73
73
|
import "./index-C93nwgTW.js";
|
|
74
|
-
import "./index-
|
|
74
|
+
import "./index-x7g2WHHx.js";
|
|
75
75
|
import "./index-q7fVtnQc.js";
|
|
76
76
|
import "./index-JGPd3Ghy.js";
|
|
77
77
|
import "./index-DZCpswvp.js";
|
|
78
78
|
import "./index-BVi16JNo.js";
|
|
79
|
-
import "./index-
|
|
79
|
+
import "./index-BgT6mH3U.js";
|
|
80
80
|
import "./index-CMiF_a__.js";
|
|
81
81
|
import "./index-tdOyqA_U.js";
|
|
82
|
-
import "./index-
|
|
82
|
+
import "./index-C3JmGujU.js";
|
|
83
83
|
import "./index-CtYlR9Cu.js";
|
|
84
84
|
import "./index-EUzmHHm6.js";
|
|
85
85
|
import "./index-CtlkhQ55.js";
|
|
86
|
-
import "./index-
|
|
86
|
+
import "./index-X4S7_dmq.js";
|
|
87
87
|
import "./index-bk5kfP_c.js";
|
|
88
88
|
import "./index-BqhgeAT4.js";
|
|
89
|
-
import "./index-
|
|
89
|
+
import "./index-J83fLEyo.js";
|
|
90
90
|
import "./index-DYabo8TI.js";
|
|
91
91
|
import "./index-C4S65SAW.js";
|
|
92
|
-
import "./index-
|
|
92
|
+
import "./index-1yvu_vpF.js";
|
|
93
93
|
import "./index-DGV6SCWO.js";
|
|
94
94
|
import { CSSProperties, Component, ComputedRef, InjectionKey, MaybeRefOrGetter, PropType, Ref, ShallowRef, StyleValue, VNode, VNodeChild } from "vue";
|
|
95
95
|
import { CalendarDate } from "@internationalized/date";
|
|
@@ -1053,14 +1053,14 @@ type __VLS_Slots$60 = ChatComposerSlots;
|
|
|
1053
1053
|
declare const __VLS_base$60: import("vue").DefineComponent<ChatComposerProps, {
|
|
1054
1054
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
1055
1055
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1056
|
+
change: (value: string) => any;
|
|
1056
1057
|
submit: (value: string) => any;
|
|
1057
1058
|
stop: () => any;
|
|
1058
|
-
change: (value: string) => any;
|
|
1059
1059
|
"update:modelValue": (value: string) => any;
|
|
1060
1060
|
}, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
|
|
1061
|
+
onChange?: ((value: string) => any) | undefined;
|
|
1061
1062
|
onSubmit?: ((value: string) => any) | undefined;
|
|
1062
1063
|
onStop?: (() => any) | undefined;
|
|
1063
|
-
onChange?: ((value: string) => any) | undefined;
|
|
1064
1064
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1065
1065
|
}>, {
|
|
1066
1066
|
density: ChatDensity;
|
|
@@ -1101,14 +1101,14 @@ type __VLS_WithSlots$59<T, S> = T & {
|
|
|
1101
1101
|
//#endregion
|
|
1102
1102
|
//#region src/Chat/ChatComposerInput.vue.d.ts
|
|
1103
1103
|
declare const __VLS_export$72: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1104
|
-
submit: (value: string) => any;
|
|
1105
1104
|
change: (value: string) => any;
|
|
1105
|
+
submit: (value: string) => any;
|
|
1106
1106
|
keydown: (event: KeyboardEvent) => any;
|
|
1107
1107
|
"update:modelValue": (value: string) => any;
|
|
1108
1108
|
files: (files: File[]) => any;
|
|
1109
1109
|
}, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
|
|
1110
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
1111
1110
|
onChange?: ((value: string) => any) | undefined;
|
|
1111
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
1112
1112
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1113
1113
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1114
1114
|
onFiles?: ((files: File[]) => any) | undefined;
|
|
@@ -1126,7 +1126,7 @@ declare const _default$71: typeof __VLS_export$71;
|
|
|
1126
1126
|
//#endregion
|
|
1127
1127
|
//#region src/Chat/ChatDictationButton.vue.d.ts
|
|
1128
1128
|
declare const __VLS_export$70: import("vue").DefineComponent<ChatDictationButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatDictationButtonProps> & Readonly<{}>, {
|
|
1129
|
-
size: "
|
|
1129
|
+
size: "md" | "sm";
|
|
1130
1130
|
isHiddenWhenUnsupported: boolean;
|
|
1131
1131
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1132
1132
|
declare const _default$70: typeof __VLS_export$70;
|
|
@@ -1249,7 +1249,7 @@ declare const __VLS_base$52: import("vue").DefineComponent<ChatSendButtonProps,
|
|
|
1249
1249
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1250
1250
|
onSend?: (() => any) | undefined;
|
|
1251
1251
|
}>, {
|
|
1252
|
-
size: "
|
|
1252
|
+
size: "md" | "sm";
|
|
1253
1253
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1254
1254
|
declare const __VLS_export$62: __VLS_WithSlots$52<typeof __VLS_base$52, __VLS_Slots$52>;
|
|
1255
1255
|
declare const _default$62: typeof __VLS_export$62;
|
|
@@ -2090,12 +2090,12 @@ declare const __VLS_base$44: import("vue").DefineComponent<__VLS_PublicProps$12,
|
|
|
2090
2090
|
open: () => void;
|
|
2091
2091
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2092
2092
|
openChange: (isOpen: boolean) => any;
|
|
2093
|
-
"update:isOpen": (...args: unknown[]) => any;
|
|
2094
2093
|
select: (item: ContextMenuItemData, event: MouseEvent) => any;
|
|
2094
|
+
"update:isOpen": (...args: unknown[]) => any;
|
|
2095
2095
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$12> & Readonly<{
|
|
2096
2096
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
2097
|
-
"onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
2098
2097
|
onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
|
|
2098
|
+
"onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
2099
2099
|
}>, {
|
|
2100
2100
|
isDisabled: boolean;
|
|
2101
2101
|
size: ContextMenuSize;
|
|
@@ -2586,8 +2586,8 @@ declare const __VLS_base$39: import("vue").DefineComponent<DrawerProps, {}, {},
|
|
|
2586
2586
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
2587
2587
|
}>, {
|
|
2588
2588
|
width: string | number;
|
|
2589
|
-
padding: DialogPadding;
|
|
2590
2589
|
placement: DrawerPlacement;
|
|
2590
|
+
padding: DialogPadding;
|
|
2591
2591
|
purpose: DialogPurpose;
|
|
2592
2592
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2593
2593
|
declare const __VLS_export$44: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
|
|
@@ -2646,8 +2646,8 @@ declare const __VLS_base$37: import("vue").DefineComponent<InfoTipProps, {
|
|
|
2646
2646
|
element: import("vue").ComputedRef<HTMLButtonElement | null>;
|
|
2647
2647
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InfoTipProps> & Readonly<{}>, {
|
|
2648
2648
|
label: string;
|
|
2649
|
-
content: string;
|
|
2650
2649
|
size: IconSize;
|
|
2650
|
+
content: string;
|
|
2651
2651
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2652
2652
|
declare const __VLS_export$42: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
|
|
2653
2653
|
declare const _default$42: typeof __VLS_export$42;
|
|
@@ -3402,17 +3402,17 @@ interface NumberInputSlots {
|
|
|
3402
3402
|
//#region src/NumberInput/NumberInput.vue.d.ts
|
|
3403
3403
|
type __VLS_Slots$34 = NumberInputSlots;
|
|
3404
3404
|
declare const __VLS_base$34: import("vue").DefineComponent<NumberInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3405
|
+
change: (value: number | null) => any;
|
|
3405
3406
|
blur: (event: FocusEvent) => any;
|
|
3406
3407
|
focus: (event: FocusEvent) => any;
|
|
3407
|
-
change: (value: number | null) => any;
|
|
3408
3408
|
keydown: (event: KeyboardEvent) => any;
|
|
3409
3409
|
"update:modelValue": (value: number | null) => any;
|
|
3410
3410
|
entryErrorChange: (error: NumberInputEntryError | null) => any;
|
|
3411
3411
|
enter: (event: KeyboardEvent) => any;
|
|
3412
3412
|
}, string, import("vue").PublicProps, Readonly<NumberInputProps> & Readonly<{
|
|
3413
|
+
onChange?: ((value: number | null) => any) | undefined;
|
|
3413
3414
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
3414
3415
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
3415
|
-
onChange?: ((value: number | null) => any) | undefined;
|
|
3416
3416
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
3417
3417
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
3418
3418
|
onEntryErrorChange?: ((error: NumberInputEntryError | null) => any) | undefined;
|
|
@@ -3913,14 +3913,14 @@ declare const __VLS_base$32: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
3913
3913
|
focusTypeahead: () => void;
|
|
3914
3914
|
blurTypeahead: () => void;
|
|
3915
3915
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3916
|
+
change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
|
|
3916
3917
|
blur: (event: FocusEvent) => any;
|
|
3917
3918
|
focus: (event: FocusEvent) => any;
|
|
3918
|
-
change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
|
|
3919
3919
|
"update:filters": (filters: PowerSearchFilter[]) => any;
|
|
3920
3920
|
}, string, import("vue").PublicProps, Readonly<PowerSearchProps> & Readonly<{
|
|
3921
|
+
onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
|
|
3921
3922
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
3922
3923
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
3923
|
-
onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
|
|
3924
3924
|
"onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
|
|
3925
3925
|
}>, {
|
|
3926
3926
|
status: PowerSearchStatus;
|
|
@@ -3928,9 +3928,9 @@ declare const __VLS_base$32: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
3928
3928
|
presentation: PowerSearchPresentation;
|
|
3929
3929
|
hasClear: boolean;
|
|
3930
3930
|
labelHidden: boolean;
|
|
3931
|
-
overflow: PowerSearchOverflow;
|
|
3932
3931
|
disabled: boolean;
|
|
3933
3932
|
clearable: boolean;
|
|
3933
|
+
overflow: PowerSearchOverflow;
|
|
3934
3934
|
readOnly: boolean;
|
|
3935
3935
|
maxTokenLength: number;
|
|
3936
3936
|
maxSearchResults: number;
|
|
@@ -4453,8 +4453,8 @@ declare const __VLS_base$25: import("vue").DefineComponent<SideNavProps, {}, {},
|
|
|
4453
4453
|
onCollapsedChange?: ((isCollapsed: boolean) => any) | undefined;
|
|
4454
4454
|
onWidthChange?: ((width: number) => any) | undefined;
|
|
4455
4455
|
}>, {
|
|
4456
|
-
collapsible: boolean | SideNavCollapsible;
|
|
4457
4456
|
resizable: boolean | ResizableRegion | SideNavResizable;
|
|
4457
|
+
collapsible: boolean | SideNavCollapsible;
|
|
4458
4458
|
isCollapsed: boolean;
|
|
4459
4459
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4460
4460
|
declare const __VLS_export$29: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
@@ -5215,15 +5215,15 @@ declare const __VLS_base$12: import("vue").DefineComponent<__VLS_PublicProps$4,
|
|
|
5215
5215
|
blur: typeof blur$2;
|
|
5216
5216
|
select: typeof select$1;
|
|
5217
5217
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5218
|
-
clear: (event: MouseEvent) => any;
|
|
5219
5218
|
change: (value: string, event: TextAreaChangeEvent) => any;
|
|
5219
|
+
clear: (event: MouseEvent) => any;
|
|
5220
5220
|
keydown: (event: KeyboardEvent) => any;
|
|
5221
5221
|
"update:modelValue": (value: string) => any;
|
|
5222
5222
|
actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
|
|
5223
5223
|
enter: (event: KeyboardEvent) => any;
|
|
5224
5224
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
5225
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
5226
5225
|
onChange?: ((value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
5226
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
5227
5227
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
5228
5228
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
5229
5229
|
onActionError?: ((error: unknown, value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
@@ -5311,15 +5311,15 @@ declare const __VLS_base$11: import("vue").DefineComponent<__VLS_PublicProps$3,
|
|
|
5311
5311
|
blur: typeof blur$1;
|
|
5312
5312
|
select: typeof select;
|
|
5313
5313
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5314
|
-
clear: (event: MouseEvent) => any;
|
|
5315
5314
|
change: (value: string, event: TextInputChangeEvent) => any;
|
|
5315
|
+
clear: (event: MouseEvent) => any;
|
|
5316
5316
|
keydown: (event: KeyboardEvent) => any;
|
|
5317
5317
|
"update:modelValue": (value: string) => any;
|
|
5318
5318
|
actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
|
|
5319
5319
|
enter: (event: KeyboardEvent) => any;
|
|
5320
5320
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
5321
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
5322
5321
|
onChange?: ((value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
5322
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
5323
5323
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
5324
5324
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
5325
5325
|
onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
@@ -5504,8 +5504,8 @@ interface TimestampProps {
|
|
|
5504
5504
|
//#region src/Timestamp/Timestamp.vue.d.ts
|
|
5505
5505
|
declare const __VLS_export$12: import("vue").DefineComponent<TimestampProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimestampProps> & Readonly<{}>, {
|
|
5506
5506
|
type: TextType;
|
|
5507
|
-
color: TimestampColor;
|
|
5508
5507
|
format: TimestampFormat;
|
|
5508
|
+
color: TimestampColor;
|
|
5509
5509
|
autoThreshold: number;
|
|
5510
5510
|
hasTooltip: boolean;
|
|
5511
5511
|
isTimezoneShown: boolean;
|
|
@@ -5724,9 +5724,9 @@ declare const __VLS_base$10: import("vue").DefineComponent<__VLS_PublicProps$1,
|
|
|
5724
5724
|
onPressedChange?: ((isPressed: boolean, event: MouseEvent) => any) | undefined;
|
|
5725
5725
|
}>, {
|
|
5726
5726
|
isDisabled: boolean;
|
|
5727
|
-
isIconOnly: boolean;
|
|
5728
5727
|
elevation: ButtonElevation;
|
|
5729
5728
|
isLoading: boolean;
|
|
5729
|
+
isIconOnly: boolean;
|
|
5730
5730
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5731
5731
|
declare const __VLS_export$11: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
5732
5732
|
declare const _default$11: typeof __VLS_export$11;
|
|
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
|
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
|
|
20
20
|
as: StackElement;
|
|
21
|
-
direction: StackDirection;
|
|
22
21
|
wrap: StackWrap;
|
|
22
|
+
direction: StackDirection;
|
|
23
23
|
isScrollable: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|