@astryx-vue/core 0.7.23 → 0.7.25
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.d.ts +1 -1
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-XBjLwnAX.js → AlertDialog--9IcMdY3.js} +2 -2
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-cNntRBEo.js → Avatar-CqPpL59Q.js} +24 -19
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-DbWLEmi1.js → AvatarGroup-lmO-a3Eq.js} +17 -7
- package/dist/Badge/index.js +1 -1
- package/dist/{Badge-CjDQPF5g.js → Badge-DByZSDmu.js} +10 -3
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-ks2zPq6Z.js → Banner-BpiQjQvG.js} +2 -2
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-k-Xqzbkt.js → Breadcrumbs-CH-rcc_-.js} +3 -3
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-Byrr4hAu.js → Button-7W3G5gok.js} +7 -10
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-B9sj-OvC.js → ButtonGroup-UgiGP61q.js} +3 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-d_uOkvFE.js → Calendar-DjhwshS8.js} +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CrRD6YdZ.js → Carousel-RN3BV6qj.js} +107 -56
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-D0m-tH7R.js → Chat-D5cXLYlh.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-B4pDfjvr.js → CheckboxInput-GFjf15n3.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DtxfdHRI.js → CheckboxList-CJzRo5vd.js} +5 -5
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CCu6QWG7.js → Citation-C_XMPOpv.js} +3 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-jEBZbzHE.js → ClickableCard-qeVRS9dw.js} +14 -5
- package/dist/Code/index.js +2 -2
- package/dist/{Code-PDhTfE2w.js → Code-6GS0nAkR.js} +1 -1
- package/dist/{CodeBlock-C1CyMSCL.js → CodeBlock-9NMYGL48.js} +19 -10
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BsPZ8CoN.js → Collapsible-CifnTLlc.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-0Kg-dJg3.js → CommandPalette-BbGFrwAI.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-wbVUmVh6.js → ComplexSelector-DMnzBMY1.js} +5 -5
- package/dist/ComponentIcon-hPmWTSXE.js +37 -0
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CgSIWUYh.js → ContextMenu-BD3pObnQ.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CdwODQhw.js → DateInput-CYFPGd__.js} +10 -8
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Byb8zqZ2.js → DateRangeInput-BOdKqQUw.js} +6 -6
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-lcpORu_P.js → DateTimeInput-Bs4T8KWb.js} +7 -7
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-8cIwslf4.js → DialogHeader-Dii5B7vE.js} +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-B8OuWU7j.js → Drawer-CtuxdSAd.js} +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-BYD5fFzB.js → DropdownMenu-BmAeVIu5.js} +5 -5
- package/dist/{DropdownMenu-BnY1UWKa.js → DropdownMenu-CXyECszu.js} +4 -4
- package/dist/{DropdownMenuRadioItem.vue-z0XU7pZS.d.ts → DropdownMenuRadioItem.vue-D455cIQQ.d.ts} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BQrzgh2f.js → EmptyState-DaVNSbYi.js} +1 -1
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DLg-trP2.js → Field-CdrGdY7U.js} +2 -2
- package/dist/{FieldIcon-CxTnEb4Y.js → FieldIcon-BB08VXf7.js} +1 -1
- package/dist/{FieldInfoTip-xYN2qeQk.js → FieldInfoTip-CPhFmGaY.js} +2 -2
- package/dist/{FieldLabel-D5_Pap_W.js → FieldLabel-lJ1exgvq.js} +2 -2
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-D6Vo_dU5.js → FieldStatus-CR-cK1rW.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-D2AOeGrs.js → FileInput-C85funO_.js} +5 -5
- package/dist/Icon/index.d.ts +4 -4
- package/dist/Icon/index.js +4 -2
- package/dist/Icon/plugin.js +1 -1
- package/dist/Icon-B2aULLnn.js +15 -0
- package/dist/{Icon-CU3412Fe.js → Icon-DAcZMgiJ.js} +47 -85
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-Dzhukpzc.js → IconButton-Cn4re9lo.js} +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Indicator/index.js +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BlOySTNC.js → InfoTip-CQmrs5nz.js} +1 -1
- package/dist/{InputClearButton-D9QzdIWM.js → InputClearButton-gGlttFrg.js} +2 -2
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-BleRgc6W.js → InputGroup-DQpDwkjF.js} +23 -16
- package/dist/{Item-X9wgYWoD.js → Item-Dbf2g0Ee.js} +25 -5
- package/dist/Kbd/index.d.ts +1 -1
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-CV3LO2Ge.js → Kbd-Dn1LTcNY.js} +24 -7
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-COttfQHP.js → Lightbox-Duz-OrsN.js} +2 -2
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Qhzs2lcO.js → Link-C0NPH_Zy.js} +57 -68
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CertehfW.js → ListItem-C8F4r-3e.js} +2 -2
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-C42NPUFp.js → Markdown-B0K6WhMg.js} +3 -3
- package/dist/{MediaTheme-CnSOALNj.js → MediaTheme-Bt7WBTkq.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CocuDVj-.js → MoreMenu-CPp7nRqq.js} +3 -3
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-D0g3yHj6.js → MultiSelector-EuMT3jk8.js} +11 -10
- package/dist/{NavHeadingSurface-B2HkXx6S.js → NavHeadingSurface-DemUziLF.js} +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DfHMmSsw.js → NavItem-B_c92jqW.js} +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-CZS5pRUv.js → NavMenu-mZVfqNxt.js} +1 -1
- package/dist/{NavMenuItem-duQuvU1o.js → NavMenuItem-Crc0y9_s.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DEfKx0qI.js → NumberInput-nhsOtHSM.js} +15 -14
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-D3g7Vq7-.js → Outline-CXQKfopf.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-WwL2NPbI.js → OverflowList-BGHiFBEV.js} +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cn53Nqe3.js → Pagination-DtItBecM.js} +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-D90phFsK.js → Popover-DE_a8vx0.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-Cj_D0iaM.js → PowerSearch-BPqinhNg.js} +15 -15
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B2lYTCeV.js → RadioGroup-DgD_qw8h.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CieZtXzY.js → RadioList-BTfVjABV.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-uBJj4W1M.js → ResizeHandle-5JnYYMyi.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BmDn1avo.js → SegmentedControl-BOFsp4zL.js} +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-2a2gsxys.js → SelectableCard-DkAtLqr0.js} +10 -6
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CgrXQtte.js → Selector-Bb0Tw0IX.js} +8 -7
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-GELGN9LR.js → SideNav-woP0TsbV.js} +5 -5
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CEhy-D-R.js → Slider-DPNiq0HG.js} +3 -3
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DVXisudw.js → Stepper-Ca1DQGyG.js} +2 -2
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DXShvaDA.js → Switch-yKKscO-i.js} +3 -3
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DIEm4YKM.js → TabList-cg8Mrbs_.js} +4 -4
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Du4FXP9X.js → Table-rUgNSJgQ.js} +41 -32
- package/dist/Text/index.js +1 -1
- package/dist/{Text-Wk-iDAzh.js → Text-BShV9dky.js} +7 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CbQp3Lqm.js → TextArea-D8703Iin.js} +7 -7
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CkJRorQb.js → TextInput-C3TcHG4h.js} +18 -16
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-D7_fQWgb.js → Theme-DkFv7FGK.js} +23 -3
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-7dKY4N-p.js → Thumbnail-7hvPR8TA.js} +39 -11
- package/dist/{TimeField-DGPsFfii.js → TimeField-D2vnhUvT.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CnOvJGgC.js → TimeInput-D31lgw-s.js} +7 -5
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DL_MPa_h.js → Timer-D0A9hh4O.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BQc2NBd7.js → Timestamp-BCYaQaDQ.js} +16 -12
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-DytdMVIS.js → Toast-BpumSIBN.js} +4 -4
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Cgr84UJy.js → ToggleButton-DYGsPjtx.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BJDLztV6.js → Token-DV53YBsy.js} +12 -7
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-yz0873oG.js → Tokenizer-DlptPLpP.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-CbVhy7K9.js → Toolbar-D5UI1JLe.js} +2 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-aCHKxMyk.js → TopNav-ZTKVEADp.js} +5 -5
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-tcEjVfb0.js → TreeList-CLWHRRDM.js} +21 -16
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-ClidGB0O.js → Typeahead-Dd8pq0fI.js} +7 -5
- package/dist/componentIcons-CFr2L6o3.js +106 -0
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +6 -7
- package/dist/{composables-BWDrzi3J.js → composables-DamLUqw3.js} +1 -1
- package/dist/context-Bg7eSJ47.js +17 -0
- package/dist/devBuild-G249YcdZ.js +17 -0
- package/dist/{fieldParts--SyRZVQG.js → fieldParts-CDOlBdy6.js} +2 -2
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
- package/dist/{index-Gnewu6-J.d.ts → index-BPyRH3WL.d.ts} +1 -1
- package/dist/{index-f3d9cVtj.d.ts → index-BU78NOP-.d.ts} +1 -1
- package/dist/{index-BfQ85cS8.d.ts → index-BZuEYd9y.d.ts} +1 -1
- package/dist/{index-DxxudRgB.d.ts → index-C16d2Fc4.d.ts} +1 -1
- package/dist/{index-IvAfdGCC.d.ts → index-CAoenU4T.d.ts} +1 -1
- package/dist/{index-HoCUEVoX.d.ts → index-CCYGMtZy.d.ts} +28 -28
- package/dist/{index-BhLLG-Gi.d.ts → index-CEHqYyz5.d.ts} +1 -1
- package/dist/{index-Bo-ofFyg.d.ts → index-CbNLiaWw.d.ts} +2 -2
- package/dist/{index-C9gAlDt_.d.ts → index-CvquEEGw.d.ts} +8 -2
- package/dist/{index-BqEPgwku.d.ts → index-D4BeRDzX.d.ts} +1 -1
- package/dist/{index-QWh122EV.d.ts → index-D57GW53K.d.ts} +1 -1
- package/dist/{index-DjVJDoz4.d.ts → index-DAs54mND.d.ts} +20 -3
- package/dist/{index-DEm3kRBO.d.ts → index-DN1RqxjP.d.ts} +1 -1
- package/dist/{index-BUZDSd-n.d.ts → index-Dc52pmSr.d.ts} +4 -2
- package/dist/{index-uqEqPcmR.d.ts → index-DhMCql2U.d.ts} +1 -1
- package/dist/{index-Dw-zjHHD.d.ts → index-Ds4OafGN.d.ts} +2 -2
- package/dist/{index-cJKrAHO-.d.ts → index-GksCg4a4.d.ts} +4 -4
- package/dist/{index-8px-LKw_.d.ts → index-HLkEFNeu.d.ts} +3 -3
- package/dist/{index-Dj1_1t3j.d.ts → index-IFFGXlhq.d.ts} +1 -1
- package/dist/{index-BtrAhmSP.d.ts → index-fuztfDLA.d.ts} +10 -6
- package/dist/index.d.ts +30 -30
- package/dist/index.js +95 -95
- package/dist/{registry-C7OZb0PJ.js → registry-fNY3jasS.js} +23 -4
- package/dist/{searchResultMessage-T4H3r8Vz.js → searchResultMessage-U_4q8zX3.js} +1 -1
- package/dist/semantic-CXHSMwPK.d.ts +118 -0
- package/dist/textClampContext-o3-nLErq.js +15 -0
- package/dist/themeIcons-CqGF0fwW.js +128 -0
- package/dist/{types-CsqwQkf1.d.ts → types-Bq4Yl6CS.d.ts} +68 -7
- package/dist/{types-Bb7OGivY.d.ts → types-BwVJBE-G.d.ts} +1 -1
- package/dist/{types-C5GQ2KCK.d.ts → types-Dcai2Icw.d.ts} +55 -1
- package/dist/{types-DnrU3HYQ.d.ts → types-hB0M54I7.d.ts} +1 -1
- package/dist/{useDevWarning-DznOpOHT.js → useDevWarning-B2fsk2B-.js} +1 -4
- package/dist/{useIndicator-BvF_KY9S.js → useIndicator-DGWEjVpB.js} +2 -2
- package/dist/{useInputContainer-CLcYrby4.js → useInputContainer-BP3u3hGz.js} +1 -1
- package/dist/{useInputStatusIcon-Bpe0xKqN.js → useInputStatusIcon-CTF4yF3e.js} +2 -2
- package/dist/{useListFocus-ChxLg0b4.js → useListFocus-CbHkLT-X.js} +4 -3
- package/dist/{useMenuDrillIn-C36Z89W3.js → useMenuDrillIn-DJ4U_hF7.js} +2 -2
- package/dist/{useMenuHover-Ctmp4Xkh.js → useMenuHover-CbjjfzAd.js} +1 -1
- package/dist/usePressFeedback-Dt76SpLj.js +616 -0
- package/dist/{utils-ClVseK2w.js → utils-DsFqXaGf.js} +5 -1
- package/package.json +1 -1
- package/styles/avatar.css +18 -3
- package/styles/badge.css +13 -0
- package/styles/button-group.css +21 -2
- package/styles/button.css +63 -0
- package/styles/carousel.css +19 -11
- package/styles/citation.css +2 -1
- package/styles/clickable-card.css +19 -5
- package/styles/code.css +6 -0
- package/styles/context-menu.css +7 -0
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +9 -0
- package/styles/icon.css +18 -12
- package/styles/kbd.css +2 -0
- package/styles/link.css +20 -1
- package/styles/popover.css +7 -0
- package/styles/pressable.css +7 -0
- package/styles/table.css +24 -0
- package/styles/thumbnail.css +25 -0
- package/dist/context-Cws_tXTr.js +0 -7
- package/dist/context-IvbU9c3T.js +0 -8
- package/dist/semantic-BF_AjLvk.d.ts +0 -57
- package/dist/useClickableContainer-CdGp_Cev.js +0 -112
- package/dist/usePressFeedback-Dhnfc3ee.js +0 -336
- package/dist/{index-BqhgeAT4.d.ts → index-BJ9Wim6J.d.ts} +1 -1
|
@@ -7,9 +7,9 @@ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
|
7
7
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
8
8
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
9
9
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
10
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
11
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
12
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
10
|
+
import { t as _sfc_main$2 } from "./Field-CdrGdY7U.js";
|
|
11
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
12
|
+
import { t as _sfc_main$3 } from "./Token-DV53YBsy.js";
|
|
13
13
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-6t5zSSz1.js";
|
|
14
14
|
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-Bu9HO-wZ.js";
|
|
15
15
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-CCYGMtZy.js";
|
|
2
2
|
import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-fEGAFziz.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Toolbar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Toolbar-
|
|
1
|
+
import { t as _sfc_main } from "../Toolbar-D5UI1JLe.js";
|
|
2
2
|
export { _sfc_main as Toolbar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as provideSize } from "./SizeContext-BbaF-SEx.js";
|
|
2
|
-
import { t as useListFocus } from "./useListFocus-
|
|
2
|
+
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
3
3
|
import { t as _sfc_main$1 } from "./Section-Km_FjJ-i.js";
|
|
4
4
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
5
|
import "../styles/toolbar.css";
|
|
@@ -37,6 +37,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
37
37
|
hasRovingTabIndex: true,
|
|
38
38
|
itemSelector: "a[href], button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled])",
|
|
39
39
|
hasCaretGuard: true,
|
|
40
|
+
hasDisabledTabStop: true,
|
|
40
41
|
orientation: props.orientation === "vertical" ? "vertical" : "horizontal",
|
|
41
42
|
wrap: true
|
|
42
43
|
});
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-CCYGMtZy.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-ZTKVEADp.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as _sfc_main$8 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$8 } from "./Icon-DAcZMgiJ.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
3
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
4
4
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
6
|
-
import { t as useListFocus } from "./useListFocus-
|
|
6
|
+
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
7
7
|
import { n as _sfc_main$10, r as mobileNavKey, t as _sfc_main$9 } from "./MobileNavToggle-C8KAzhRl.js";
|
|
8
8
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
9
|
-
import { t as _sfc_main$11 } from "./NavItem-
|
|
9
|
+
import { t as _sfc_main$11 } from "./NavItem-B_c92jqW.js";
|
|
10
10
|
import { n as navMenuCloseKey, t as _sfc_main$12 } from "./NavDisclosure-BbRWuyhq.js";
|
|
11
|
-
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-
|
|
12
|
-
import { t as _sfc_main$15 } from "./NavHeadingSurface-
|
|
11
|
+
import { n as _sfc_main$14, t as _sfc_main$13 } from "./NavMenuItem-Crc0y9_s.js";
|
|
12
|
+
import { t as _sfc_main$15 } from "./NavHeadingSurface-DemUziLF.js";
|
|
13
13
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
14
14
|
import "../styles/top-nav.css";
|
|
15
15
|
//#region src/TopNav/TopNav.vue
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-CLWHRRDM.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
-
import {
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
|
|
2
|
+
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-DAcZMgiJ.js";
|
|
3
3
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
4
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
6
|
-
import { t as _sfc_main$3 } from "./Badge-
|
|
6
|
+
import { t as _sfc_main$3 } from "./Badge-DByZSDmu.js";
|
|
7
7
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
|
|
9
9
|
import "../styles/tree-list.css";
|
|
@@ -142,7 +142,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
142
142
|
if (props.item.isDisabled) event.preventDefault();
|
|
143
143
|
consumeWhileDisabled(event, props.item.isDisabled === true);
|
|
144
144
|
}
|
|
145
|
-
const press = usePressFeedback();
|
|
145
|
+
const press = usePressFeedback({ isContainer: true });
|
|
146
|
+
/** 整行点下去是展开收起(没有自己的点击):这时箭头按钮做的是同一件事,按它也算按这一行。 */
|
|
147
|
+
const chevronPress = computed(() => props.item.onClick == null ? press.pressActionProps : {});
|
|
146
148
|
const rowPress = computed(() => {
|
|
147
149
|
return (props.item.onClick != null || safeHref.value != null || hasChildren.value) && props.item.isDisabled !== true ? press.pressableProps : {};
|
|
148
150
|
});
|
|
@@ -189,7 +191,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
189
191
|
"data-interactive": __props.item.onClick != null || safeHref.value != null || hasChildren.value || void 0,
|
|
190
192
|
style: { "--_tree-indent": indent.value }
|
|
191
193
|
}, rowPress.value, { onClick: onRowClick }), [createElementVNode("div", _hoisted_5, [
|
|
192
|
-
hasChildren.value ? (openBlock(), createElementBlock("button", {
|
|
194
|
+
hasChildren.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
193
195
|
key: 0,
|
|
194
196
|
type: "button",
|
|
195
197
|
class: "astryx-tree-list__chevron",
|
|
@@ -198,14 +200,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
198
200
|
"aria-expanded": isExpanded.value,
|
|
199
201
|
"aria-label": unref(messages).treeList.toggleChildren,
|
|
200
202
|
"aria-disabled": __props.item.isDisabled || void 0,
|
|
201
|
-
tabindex: "-1"
|
|
203
|
+
tabindex: "-1"
|
|
204
|
+
}, chevronPress.value, {
|
|
202
205
|
onClick: onToggle,
|
|
203
206
|
onKeydown: _cache[0] || (_cache[0] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
|
|
204
|
-
}, [createVNode(_sfc_main$2, {
|
|
207
|
+
}), [createVNode(_sfc_main$2, {
|
|
205
208
|
icon: "chevronRight",
|
|
206
209
|
size: "sm",
|
|
207
210
|
color: "inherit"
|
|
208
|
-
})],
|
|
211
|
+
})], 16, _hoisted_6)) : createCommentVNode("v-if", true),
|
|
209
212
|
__props.item.startContent ? (openBlock(), createElementBlock("span", _hoisted_7, [(openBlock(), createBlock(resolveDynamicComponent(__props.item.startContent)))])) : __props.item.icon ? (openBlock(), createElementBlock("span", _hoisted_8, [unref(isIconGlyph)(__props.item.icon) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
210
213
|
key: 0,
|
|
211
214
|
icon: __props.item.icon,
|
|
@@ -214,9 +217,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
214
217
|
class: normalizeClass(__props.item.icon),
|
|
215
218
|
"aria-hidden": "true"
|
|
216
219
|
}, null, 2)]))])) : createCommentVNode("v-if", true),
|
|
217
|
-
safeHref.value ? (openBlock(), createBlock(resolveDynamicComponent(linkRoot.value), {
|
|
220
|
+
safeHref.value ? (openBlock(), createBlock(resolveDynamicComponent(linkRoot.value), mergeProps({
|
|
218
221
|
key: 3,
|
|
219
|
-
class: "astryx-tree-list__action"
|
|
222
|
+
class: "astryx-tree-list__action"
|
|
223
|
+
}, unref(press).pressActionProps, {
|
|
220
224
|
href: safeHref.value,
|
|
221
225
|
to: linkRoot.value === "a" ? void 0 : safeHref.value,
|
|
222
226
|
target: __props.item.target,
|
|
@@ -227,7 +231,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
227
231
|
tabindex: "-1",
|
|
228
232
|
onClick: onLinkClick,
|
|
229
233
|
onKeydown: _cache[1] || (_cache[1] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
|
|
230
|
-
}, {
|
|
234
|
+
}), {
|
|
231
235
|
default: withCtx(() => [createElementVNode("span", {
|
|
232
236
|
id: unref(labelId),
|
|
233
237
|
class: "astryx-tree-list__label"
|
|
@@ -237,7 +241,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
237
241
|
class: "astryx-tree-list__description"
|
|
238
242
|
}, toDisplayString(__props.item.description), 9, _hoisted_11)) : createCommentVNode("v-if", true)]),
|
|
239
243
|
_: 1
|
|
240
|
-
},
|
|
244
|
+
}, 16, [
|
|
241
245
|
"href",
|
|
242
246
|
"to",
|
|
243
247
|
"target",
|
|
@@ -245,24 +249,25 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
245
249
|
"aria-labelledby",
|
|
246
250
|
"aria-describedby",
|
|
247
251
|
"aria-disabled"
|
|
248
|
-
])) : __props.item.onClick ? (openBlock(), createElementBlock("button", {
|
|
252
|
+
])) : __props.item.onClick ? (openBlock(), createElementBlock("button", mergeProps({
|
|
249
253
|
key: 4,
|
|
250
254
|
type: "button",
|
|
251
|
-
class: "astryx-tree-list__action"
|
|
255
|
+
class: "astryx-tree-list__action"
|
|
256
|
+
}, unref(press).pressActionProps, {
|
|
252
257
|
"aria-labelledby": unref(labelId),
|
|
253
258
|
"aria-describedby": __props.item.description ? unref(descriptionId) : void 0,
|
|
254
259
|
"aria-disabled": __props.item.isDisabled || void 0,
|
|
255
260
|
tabindex: "-1",
|
|
256
261
|
onClick: onActionClick,
|
|
257
262
|
onKeydown: _cache[2] || (_cache[2] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
|
|
258
|
-
}, [createElementVNode("span", {
|
|
263
|
+
}), [createElementVNode("span", {
|
|
259
264
|
id: unref(labelId),
|
|
260
265
|
class: "astryx-tree-list__label"
|
|
261
266
|
}, toDisplayString(__props.item.label), 9, _hoisted_13), __props.item.description ? (openBlock(), createElementBlock("span", {
|
|
262
267
|
key: 0,
|
|
263
268
|
id: unref(descriptionId),
|
|
264
269
|
class: "astryx-tree-list__description"
|
|
265
|
-
}, toDisplayString(__props.item.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)],
|
|
270
|
+
}, toDisplayString(__props.item.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)], 16, _hoisted_12)) : (openBlock(), createElementBlock("span", _hoisted_15, [createElementVNode("span", {
|
|
266
271
|
id: unref(labelId),
|
|
267
272
|
class: "astryx-tree-list__label"
|
|
268
273
|
}, toDisplayString(__props.item.label), 9, _hoisted_16), __props.item.description ? (openBlock(), createElementBlock("span", {
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as _sfc_main$2 } from "../TypeaheadMenu-Bu9HO-wZ.js";
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-Dd8pq0fI.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
1
2
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
2
3
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
3
4
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
@@ -5,9 +6,9 @@ import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
|
5
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
6
7
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
7
8
|
import { t as _sfc_main$3 } from "./Spinner-CTWLR75x.js";
|
|
8
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
9
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
10
|
-
import { t as _sfc_main$5 } from "./Token-
|
|
9
|
+
import { t as _sfc_main$4 } from "./Field-CdrGdY7U.js";
|
|
10
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
11
|
+
import { t as _sfc_main$5 } from "./Token-DV53YBsy.js";
|
|
11
12
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-6t5zSSz1.js";
|
|
12
13
|
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-Bu9HO-wZ.js";
|
|
13
14
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -629,6 +630,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
629
630
|
return message?.trim() ? message : void 0;
|
|
630
631
|
});
|
|
631
632
|
/** 两个名字都是真才画清除按钮,任一个关掉就关掉。 */
|
|
633
|
+
const isDisabled = useInputGroupDisabled(() => props.disabled);
|
|
632
634
|
const showsClear = computed(() => props.hasClear && props.clearable);
|
|
633
635
|
/** 两个名字任一为真就在聚焦时先展开。 */
|
|
634
636
|
const showsEntriesOnFocus = computed(() => props.hasEntriesOnFocus || props.showOnFocus);
|
|
@@ -655,7 +657,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
655
657
|
description: props.description,
|
|
656
658
|
"label-tooltip": props.labelTooltip,
|
|
657
659
|
"is-label-hidden": unref(hideLabel),
|
|
658
|
-
"is-disabled":
|
|
660
|
+
"is-disabled": unref(isDisabled),
|
|
659
661
|
"is-required": props.required,
|
|
660
662
|
"is-optional": props.optional,
|
|
661
663
|
status: fieldStatus.value,
|
|
@@ -672,7 +674,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
672
674
|
"input-id": field.inputId,
|
|
673
675
|
"described-by": field.describedBy,
|
|
674
676
|
placeholder: props.placeholder,
|
|
675
|
-
disabled:
|
|
677
|
+
disabled: unref(isDisabled),
|
|
676
678
|
"disabled-reason": disabledMessage.value,
|
|
677
679
|
status: props.status,
|
|
678
680
|
size: props.size,
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { i as defaultSemanticIcons } from "./themeIcons-CqGF0fwW.js";
|
|
2
|
+
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
3
|
+
//#region src/Icon/componentIcons.ts
|
|
4
|
+
const ICON_SIZES = /* @__PURE__ */ new Set([
|
|
5
|
+
"xsm",
|
|
6
|
+
"sm",
|
|
7
|
+
"md",
|
|
8
|
+
"lg"
|
|
9
|
+
]);
|
|
10
|
+
function isIconName(value) {
|
|
11
|
+
return typeof value === "string" && Object.hasOwn(defaultSemanticIcons, value);
|
|
12
|
+
}
|
|
13
|
+
function isDevBuild() {
|
|
14
|
+
return import.meta.env?.DEV === true;
|
|
15
|
+
}
|
|
16
|
+
const warned = /* @__PURE__ */ new Set();
|
|
17
|
+
/**
|
|
18
|
+
* One development warning per slot and problem. Formatting a value that
|
|
19
|
+
* cannot be serialized never throws, and production builds skip it.
|
|
20
|
+
*/
|
|
21
|
+
function warnMalformed(slot, prefix, value, suffix = "") {
|
|
22
|
+
if (!isDevBuild()) return;
|
|
23
|
+
let formatted;
|
|
24
|
+
try {
|
|
25
|
+
formatted = JSON.stringify(value) ?? String(value);
|
|
26
|
+
} catch {
|
|
27
|
+
formatted = "[unserializable value]";
|
|
28
|
+
}
|
|
29
|
+
const problem = `${prefix} ${formatted}${suffix}`;
|
|
30
|
+
const key = `${slot}:${problem}`;
|
|
31
|
+
if (warned.has(key)) return;
|
|
32
|
+
warned.add(key);
|
|
33
|
+
devWarn("Icon", `componentIcons["${slot}"] ${problem}. The component keeps its own value for that field.`);
|
|
34
|
+
}
|
|
35
|
+
function applyRequest(slot, fallback, request, theme) {
|
|
36
|
+
if (request === void 0) return fallback;
|
|
37
|
+
if (request === null) return {
|
|
38
|
+
...fallback,
|
|
39
|
+
icon: null
|
|
40
|
+
};
|
|
41
|
+
if (typeof request !== "object" || Array.isArray(request)) {
|
|
42
|
+
warnMalformed(slot, "returned", request, ", which is not a request");
|
|
43
|
+
return fallback;
|
|
44
|
+
}
|
|
45
|
+
const { icon, variant, size } = request;
|
|
46
|
+
let resolved = fallback;
|
|
47
|
+
if (icon === null || isIconName(icon)) resolved = {
|
|
48
|
+
...resolved,
|
|
49
|
+
icon
|
|
50
|
+
};
|
|
51
|
+
else if (icon !== void 0) warnMalformed(slot, "requests the unknown icon", icon);
|
|
52
|
+
if (typeof variant === "string" && theme?.iconVariants?.includes(variant)) resolved = {
|
|
53
|
+
...resolved,
|
|
54
|
+
variant
|
|
55
|
+
};
|
|
56
|
+
else if (variant !== void 0) warnMalformed(slot, "requests the variant", variant, ", which the theme does not list");
|
|
57
|
+
if (ICON_SIZES.has(size)) resolved = {
|
|
58
|
+
...resolved,
|
|
59
|
+
size
|
|
60
|
+
};
|
|
61
|
+
else if (size !== void 0) warnMalformed(slot, "requests the unsupported size", size);
|
|
62
|
+
return resolved;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Resolve a component's icon slot: the theme's `componentIcons[slot]`
|
|
66
|
+
* applied to the component's own fallback, field by field.
|
|
67
|
+
*
|
|
68
|
+
* A shared icon name replaces the fallback icon, `null` hides it, and a
|
|
69
|
+
* request applies field by field. A slot function receives the state; its
|
|
70
|
+
* `null` hides the icon and its `undefined` changes nothing. A malformed
|
|
71
|
+
* field is ignored with one development warning and the valid fields beside
|
|
72
|
+
* it still apply.
|
|
73
|
+
*/
|
|
74
|
+
function resolveComponentIcon(slot, state, fallback, theme) {
|
|
75
|
+
const value = (theme?.componentIconValues ?? theme?.componentIcons)?.[slot];
|
|
76
|
+
if (value === void 0) return fallback;
|
|
77
|
+
if (typeof value === "function") {
|
|
78
|
+
const result = value(state);
|
|
79
|
+
if (typeof result === "string") {
|
|
80
|
+
warnMalformed(slot, "returned", result, ", which is not a request");
|
|
81
|
+
return fallback;
|
|
82
|
+
}
|
|
83
|
+
return applyRequest(slot, fallback, result, theme);
|
|
84
|
+
}
|
|
85
|
+
if (typeof value === "string") return applyRequest(slot, fallback, { icon: value }, theme);
|
|
86
|
+
return applyRequest(slot, fallback, value, theme);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* A theme's slot values: the base's, then its own, by slot. An own entry
|
|
90
|
+
* replaces the inherited one whole; an `undefined` entry keeps it.
|
|
91
|
+
*/
|
|
92
|
+
function mergeComponentIcons(inherited, own) {
|
|
93
|
+
if (own == null) return inherited;
|
|
94
|
+
const merged = { ...inherited };
|
|
95
|
+
for (const [slot, value] of Object.entries(own)) if (value !== void 0) merged[slot] = value;
|
|
96
|
+
return merged;
|
|
97
|
+
}
|
|
98
|
+
/** The static view of slot values, without slot functions. */
|
|
99
|
+
function staticComponentIcons(values) {
|
|
100
|
+
if (values == null) return void 0;
|
|
101
|
+
const view = {};
|
|
102
|
+
for (const [slot, value] of Object.entries(values)) if (typeof value !== "function" && value !== void 0) view[slot] = value;
|
|
103
|
+
return view;
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
export { resolveComponentIcon as n, staticComponentIcons as r, mergeComponentIcons as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as MergedRefHandle, $n as UseContainerReveal, $t as Hotkey, A as useResolvedLabelHidden, An as useDevWarning, Ar as applyRangeClick, At as UseKeyboardHint, B as computeOverflow, Bn as TimeSurface, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as useEntryAnimation, Cr as useAppShellMobile, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandleRef, Dr as ISODateRange, Dt as UseLayerReturn, E as useScrollableArea, En as DisclosureHandle, Er as useAnnounce, Et as UseLayerOptions, F as usePendingChange, Fn as HourFormat, Fr as isSameRange, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseISOTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatISOTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as ISOTimeString, Ir as orderRange, It as useInteractiveRole, J as buildMonthGrid, Jn as ControllableState, Jt as ImageSampleRegion, K as useNumberField, Kn as resolveTimeSurface, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as NativePicker, Lr as resolveWeekStart, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DateSurface, Mr as formatDateRange, Mt as useKeyboardHint, N as usePressFeedback, Nn as resolveDatePresentation, Nr as isDayOutsideSpan, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as useDisclosureHandle, Or as RangeClickResult, Ot as useLayer, P as PendingChange, Pn as resolveDateSurface, Pr as isRangeWithinSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContentRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as ParsedTime, Rr as spanDays, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationReturn, Sr as appShellMobileKey, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as useDismiss, Tr as AnnouncePoliteness, Tt as LayerMode, U as NumberStepDirection, Un as isTimeInRange, Ut as useInputContainer, V as useOverflow, Vn as formatDisplayTime, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as parseDisplayTime, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as useControllableState, Xt as imageModeFromPixels, Y as parseISODate, Yn as UseControllableStateOptions, Yt as UseImageModeOptions, Z as todayISODate, Zn as ContainerRevealOptions, Zt as perceptualLightness, _ as ScrollAxis, _n as FieldControlState, _r as CHAT_MESSAGE_CLASS, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as useCombobox, at as resetMenuPress, b as ScrollOverscroll, bn as EntryAnimationPreset, br as useChatNewMessages, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as INTERACTIVE_SELECTORS, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasTextSelection, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerRevealOptions, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as useClickableContainer, ft as MenuPressStep, g as useScrollLock, gn as selectFiles, gr as useChatStreamScroll, gt as LongPressOptions, h as useScrollOverflow, hn as formatFileSize, hr as UseChatStreamScrollReturn, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as UseComboboxOptions, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as DatePresentation, jr as compareISODate, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as devWarn, kr as WeekStartsOn, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as UseClickableContainerOptions, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as UseChatStreamScrollOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as Combobox, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCoarsePointer, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as ChatScrollToBottomOptions, pt as menuPressStep, q as addMonths, qn as shiftTime, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as ComboboxOption, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as ClickableContainerHandlers, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as useContainerReveal, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as hasInteractiveAncestor, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlStateInput, vr as UseChatNewMessagesOptions, vt as ListFocus, w as UseScrollableAreaOptions, wn as UseDismissOptions, wr as AnnounceFn, wt as useResolvedLayerTeleport, x as ScrollRole, xn as UseEntryAnimationOptions, xr as AppShellMobile, xt as useListFocus, y as ScrollKeyboardAccess, yn as useFieldControlState, yr as UseChatNewMessagesReturn, yt as ListFocusOrientation, z as UseOverflowReturn, zn as TimePresentation, zt as UseInputStatusIconReturn } from "../index-
|
|
1
|
+
import { $ as MergedRefHandle, $n as UseContainerReveal, $t as Hotkey, A as useResolvedLabelHidden, An as useDevWarning, Ar as applyRangeClick, At as UseKeyboardHint, B as computeOverflow, Bn as TimeSurface, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as useEntryAnimation, Cr as useAppShellMobile, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandleRef, Dr as ISODateRange, Dt as UseLayerReturn, E as useScrollableArea, En as DisclosureHandle, Er as useAnnounce, Et as UseLayerOptions, F as usePendingChange, Fn as HourFormat, Fr as isSameRange, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseISOTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatISOTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as ISOTimeString, Ir as orderRange, It as useInteractiveRole, J as buildMonthGrid, Jn as ControllableState, Jt as ImageSampleRegion, K as useNumberField, Kn as resolveTimeSurface, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as NativePicker, Lr as resolveWeekStart, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DateSurface, Mr as formatDateRange, Mt as useKeyboardHint, N as usePressFeedback, Nn as resolveDatePresentation, Nr as isDayOutsideSpan, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as useDisclosureHandle, Or as RangeClickResult, Ot as useLayer, P as PendingChange, Pn as resolveDateSurface, Pr as isRangeWithinSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContentRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as ParsedTime, Rr as spanDays, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationReturn, Sr as appShellMobileKey, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as useDismiss, Tr as AnnouncePoliteness, Tt as LayerMode, U as NumberStepDirection, Un as isTimeInRange, Ut as useInputContainer, V as useOverflow, Vn as formatDisplayTime, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as parseDisplayTime, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as useControllableState, Xt as imageModeFromPixels, Y as parseISODate, Yn as UseControllableStateOptions, Yt as UseImageModeOptions, Z as todayISODate, Zn as ContainerRevealOptions, Zt as perceptualLightness, _ as ScrollAxis, _n as FieldControlState, _r as CHAT_MESSAGE_CLASS, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as useCombobox, at as resetMenuPress, b as ScrollOverscroll, bn as EntryAnimationPreset, br as useChatNewMessages, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as INTERACTIVE_SELECTORS, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasTextSelection, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerRevealOptions, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as useClickableContainer, ft as MenuPressStep, g as useScrollLock, gn as selectFiles, gr as useChatStreamScroll, gt as LongPressOptions, h as useScrollOverflow, hn as formatFileSize, hr as UseChatStreamScrollReturn, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as UseComboboxOptions, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as DatePresentation, jr as compareISODate, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as devWarn, kr as WeekStartsOn, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as UseClickableContainerOptions, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as UseChatStreamScrollOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as Combobox, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCoarsePointer, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as ChatScrollToBottomOptions, pt as menuPressStep, q as addMonths, qn as shiftTime, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as ComboboxOption, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as ClickableContainerHandlers, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as useContainerReveal, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as hasInteractiveAncestor, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlStateInput, vr as UseChatNewMessagesOptions, vt as ListFocus, w as UseScrollableAreaOptions, wn as UseDismissOptions, wr as AnnounceFn, wt as useResolvedLayerTeleport, x as ScrollRole, xn as UseEntryAnimationOptions, xr as AppShellMobile, xt as useListFocus, y as ScrollKeyboardAccess, yn as useFieldControlState, yr as UseChatNewMessagesReturn, yt as ListFocusOrientation, z as UseOverflowReturn, zn as TimePresentation, zt as UseInputStatusIconReturn } from "../index-DAs54mND.js";
|
|
2
2
|
import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-aGzrvRkI.js";
|
|
3
3
|
import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-CU-kfqeJ.js";
|
|
4
4
|
import { t as characterCount } from "../characters-rcDbGt71.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "../usePressFeedback-
|
|
1
|
+
import { a as useClickableContainer, i as hasTextSelection, n as INTERACTIVE_SELECTORS, r as hasInteractiveAncestor, t as usePressFeedback } from "../usePressFeedback-Dt76SpLj.js";
|
|
2
2
|
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
|
|
3
3
|
import { t as useMediaQuery } from "../useMediaQuery-GMmgp28-.js";
|
|
4
4
|
import { t as characterCount } from "../characters-wTnzjkkR.js";
|
|
@@ -6,13 +6,12 @@ import { t as useAnnounce } from "../announce-B210eJVf.js";
|
|
|
6
6
|
import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
|
|
7
7
|
import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
|
|
8
8
|
import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
|
|
9
|
-
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-CdGp_Cev.js";
|
|
10
9
|
import { t as useClipboard } from "../useClipboard-Dk8cS810.js";
|
|
11
|
-
import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, h as useCoarsePointer, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-
|
|
10
|
+
import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, h as useCoarsePointer, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-DamLUqw3.js";
|
|
12
11
|
import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
|
|
13
12
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
|
|
14
13
|
import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-CIXoE_8k.js";
|
|
15
|
-
import { n as useDevWarning, t as devWarn } from "../useDevWarning-
|
|
14
|
+
import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
|
|
16
15
|
import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
|
|
17
16
|
import { n as useDismiss } from "../usePositionedLayer-psKf3ano.js";
|
|
18
17
|
import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
|
|
@@ -20,11 +19,11 @@ import { n as selectFiles, t as formatFileSize } from "../useFileSelection-BPtae
|
|
|
20
19
|
import { n as useFocusTrap, t as useRestoreFocus } from "../useRestoreFocus-XEKs5-gp.js";
|
|
21
20
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
22
21
|
import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-I3BCiLSL.js";
|
|
23
|
-
import { t as useInputContainer } from "../useInputContainer-
|
|
24
|
-
import { t as useInputStatusIcon } from "../useInputStatusIcon-
|
|
22
|
+
import { t as useInputContainer } from "../useInputContainer-BP3u3hGz.js";
|
|
23
|
+
import { t as useInputStatusIcon } from "../useInputStatusIcon-CTF4yF3e.js";
|
|
25
24
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
26
25
|
import { t as useLayer } from "../useLayer-Byjda3dD.js";
|
|
27
|
-
import { t as useListFocus } from "../useListFocus-
|
|
26
|
+
import { t as useListFocus } from "../useListFocus-CbHkLT-X.js";
|
|
28
27
|
import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-8foxY8z4.js";
|
|
29
28
|
import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
|
|
30
29
|
import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-fGHSSrFc.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
2
2
|
import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./Kbd-
|
|
3
|
+
import { t as _sfc_main$1 } from "./Kbd-Dn1LTcNY.js";
|
|
4
4
|
import { s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
5
5
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, shallowRef, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
|
|
6
6
|
import "../styles/indicator-focus-ring.css";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
//#region src/InputGroup/context.ts
|
|
4
|
+
const INPUT_GROUP_KEY = defineLayerScopedKey("InputGroup", null);
|
|
5
|
+
function useInputGroupContext() {
|
|
6
|
+
return readLayerScoped(INPUT_GROUP_KEY);
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* 组内控件实际的禁用状态:自己禁用,或者所在的 InputGroup(含外层嵌套的组)禁用。
|
|
10
|
+
* 组重新启用时,自己设了禁用的控件仍保持禁用。
|
|
11
|
+
*/
|
|
12
|
+
function useInputGroupDisabled(ownDisabled) {
|
|
13
|
+
const group = useInputGroupContext();
|
|
14
|
+
return computed(() => Boolean(ownDisabled()) || (group?.disabled.value ?? false));
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { useInputGroupContext as n, useInputGroupDisabled as r, INPUT_GROUP_KEY as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/composables/internal/devBuild.ts
|
|
2
|
+
/** 生产构建里 `import.meta.env.DEV` 是 false,依赖它的开发期检查整段会被摇掉。 */
|
|
3
|
+
function isDevBuild() {
|
|
4
|
+
return import.meta.env?.DEV === true;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* 对应原版 Astryx 的 `devPropError`。
|
|
8
|
+
*
|
|
9
|
+
* 必填属性缺失或类型不对时,开发期抛出的错误:点名组件、属性和改法,
|
|
10
|
+
* 免得调用方只看到组件内部的 TypeError。调用处要用 `isDevBuild()` 包住,
|
|
11
|
+
* 生产构建里不做这项检查。
|
|
12
|
+
*/
|
|
13
|
+
function devPropError(component, prop, message) {
|
|
14
|
+
return /* @__PURE__ */ new Error(`${component}: \`${prop}\` ${message}`);
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { isDevBuild as n, devPropError as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as useInputGroupContext } from "./context-Bg7eSJ47.js";
|
|
2
|
+
import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
|
|
2
3
|
import { a as useFormLayout } from "./context-Cfml4jaK.js";
|
|
3
|
-
import { n as useInputGroupContext } from "./context-IvbU9c3T.js";
|
|
4
4
|
import { computed } from "vue";
|
|
5
5
|
//#region src/Field/fieldParts.ts
|
|
6
6
|
const CONTAINER_WITHOUT_FIELD_MESSAGE = "`containerClass`/`containerStyle` have no effect here because no Field box renders (inside InputGroup or a `horizontal-labels` FormLayout). Inside InputGroup, style the InputGroup.";
|
|
@@ -101,8 +101,8 @@ type __VLS_Slots = {
|
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<CenterProps, {
|
|
102
102
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
103
103
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CenterProps> & Readonly<{}>, {
|
|
104
|
-
isInline: boolean;
|
|
105
104
|
axis: CenterAxis;
|
|
105
|
+
isInline: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
107
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
108
|
declare const _default: typeof __VLS_export;
|
|
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<ResizeHandleProps, {
|
|
|
36
36
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
37
37
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizeHandleProps> & Readonly<{}>, {
|
|
38
38
|
isDisabled: boolean;
|
|
39
|
-
position: ResizePosition;
|
|
40
39
|
direction: ResizeDirection;
|
|
40
|
+
position: ResizePosition;
|
|
41
41
|
isReversed: boolean;
|
|
42
42
|
hasDivider: boolean;
|
|
43
43
|
isAlwaysVisible: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as DropdownMenuSize, u as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-
|
|
1
|
+
import { g as DropdownMenuSize, u as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-D455cIQQ.js";
|
|
2
2
|
import { s as NavLinkComponent } from "./types-BG23kC3S.js";
|
|
3
3
|
import { ComputedRef } from "vue";
|
|
4
4
|
//#region src/Breadcrumbs/types.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as IndicatorProps, H as IndicatorSize, N as CoreIndicatorName, P as IndicatorComponent, R as IndicatorName, o as ThemeDefinition } from "./types-Bq4Yl6CS.js";
|
|
2
2
|
import { ComputedRef, VNodeChild } from "vue";
|
|
3
3
|
//#region src/Indicator/CheckIndicator.vue.d.ts
|
|
4
4
|
type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as FieldStatusVariant, s as FieldStatusProps } from "./types-
|
|
1
|
+
import { l as FieldStatusVariant, s as FieldStatusProps } from "./types-BwVJBE-G.js";
|
|
2
2
|
//#region src/Field/FieldStatus.vue.d.ts
|
|
3
3
|
declare const __VLS_export: import("vue").DefineComponent<FieldStatusProps, {
|
|
4
4
|
element: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
2
|
-
import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, d as DropdownMenuPresentation, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-
|
|
2
|
+
import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, d as DropdownMenuPresentation, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-D455cIQQ.js";
|
|
3
3
|
import { ComputedRef, InjectionKey, Ref } from "vue";
|
|
4
4
|
//#region src/DropdownMenu/useMenuDrillIn.d.ts
|
|
5
5
|
/**
|