@astryx-vue/core 0.7.24 → 0.7.26
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-DsPFYRxB.js → AlertDialog-DZpJzvOC.js} +30 -15
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell--izaf9Fx.js → AppShell-D7ik41g-.js} +3 -3
- package/dist/Avatar/index.d.ts +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-cNntRBEo.js → Avatar-D_C9RBJb.js} +27 -21
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-CiJia58o.js → AvatarGroup-CFvNDgU-.js} +17 -7
- package/dist/Badge/index.js +1 -1
- package/dist/Badge-BbPS_49c.js +41 -0
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-C8f377q3.js → Banner-C1B7DsHS.js} +3 -3
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-BKeyoL9N.js → BottomSheet-BECeWtEy.js} +2 -2
- package/dist/{BottomSheet-CMukh1iI.js → BottomSheet-CgOzQHaA.js} +4 -2
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CXJNJ93V.js → Breadcrumbs-BgiZY7un.js} +9 -8
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +1 -1
- package/dist/{Button-Dgm5wCch.js → Button-DsjdehLZ.js} +181 -18
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-UgiGP61q.js → ButtonGroup-CSW7a9vq.js} +14 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/{Calendar-d_uOkvFE.js → Calendar-Bzgi-XyF.js} +12 -3
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/{Card-H4571ZKi.js → Card-BbKFHWuD.js} +2 -0
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-BWTArLIP.js → Carousel--VycM-Sa.js} +64 -19
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DKZWVA3Q.js → Chat-C1DlnlCQ.js} +30 -28
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-B4pDfjvr.js → CheckboxInput-uk8nuCEf.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DtxfdHRI.js → CheckboxList-Dr4kQ-BC.js} +7 -7
- package/dist/Citation/index.js +1 -1
- package/dist/{Citation-CCu6QWG7.js → Citation-BAFsn6N1.js} +4 -2
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-jEBZbzHE.js → ClickableCard-CvxSKkXh.js} +16 -6
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-PDhTfE2w.js → Code-6GS0nAkR.js} +1 -1
- package/dist/{CodeBlock-BrE72i6C.js → CodeBlock-PSnUWX57.js} +21 -10
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BsPZ8CoN.js → Collapsible-C_tl5-L0.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-0Kg-dJg3.js → CommandPalette-lewtyQrO.js} +7 -7
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BrGVG8c7.js → ComplexSelector-BUnqjeW5.js} +16 -8
- package/dist/ComponentIcon-BRXBBKeG.js +37 -0
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-CgSIWUYh.js → ContextMenu-IDkvorRp.js} +10 -9
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-vV0tc4a4.js → DateInput-DTxxFz9-.js} +15 -13
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DcM1Zntr.js → DateRangeInput-D4Us58KW.js} +9 -9
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DbbVU3bk.js → DateTimeInput-CliLnI7P.js} +10 -10
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-vPGLWE3o.js → Dialog-B_s-w66_.js} +1 -1
- package/dist/{Dialog-D4V2ZnuS.js → Dialog-BtPktuiy.js} +3 -1
- package/dist/{DialogHeader-D1sgjPC7.js → DialogHeader-Hk419KW1.js} +4 -4
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-CaZF_-lH.js → Drawer-DoQ9hjKz.js} +2 -2
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-B3R5WLsl.js → DropdownMenu-B2iga1fe.js} +18 -13
- package/dist/{DropdownMenu-BjE_cTDM.js → DropdownMenu-BF2Z5T4h.js} +9 -9
- 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-v1cvHKav.js} +2 -2
- package/dist/Field/index.d.ts +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DLg-trP2.js → Field-if5a58LO.js} +2 -2
- package/dist/{FieldIcon-CxTnEb4Y.js → FieldIcon-DMtfe1Ne.js} +1 -1
- package/dist/{FieldInfoTip-D5IOQrVA.js → FieldInfoTip-BJAaKJjM.js} +2 -2
- package/dist/{FieldLabel-D5_Pap_W.js → FieldLabel-C-IaUcP4.js} +3 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FieldStatus/index.js +1 -1
- package/dist/{FieldStatus-D6Vo_dU5.js → FieldStatus-DSUCli4W.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CKYpJtuU.js → FileInput-0zBWfO8h.js} +9 -9
- package/dist/Grid/index.d.ts +1 -1
- package/dist/Grid/index.js +1 -1
- package/dist/{Grid-D1onTzyC.js → Grid-C0mp7fha.js} +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/Heading-C10qO8wg.js +114 -0
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-B9uadAzT.js → HoverCard-CLcbBLBN.js} +4 -3
- 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-BCHo7W0x.js} +48 -86
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-B6AQLlx9.js → IconButton-Crtfruc0.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-DNQy7wqB.js} +3 -3
- package/dist/{InputClearButton-BbFXoxWi.js → InputClearButton-DhvxPkK6.js} +3 -3
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +2 -2
- package/dist/{InputGroup-BleRgc6W.js → InputGroup-B1kG0rBN.js} +42 -18
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-CWJDt7Qb.js → InternationalizationProvider-CUEIHCf4.js} +3 -3
- package/dist/{Item-X9wgYWoD.js → Item-Cfv4ALls.js} +29 -6
- package/dist/Kbd/index.d.ts +1 -1
- package/dist/Kbd/index.js +1 -1
- package/dist/{Kbd-CV3LO2Ge.js → Kbd-DyxKNYtE.js} +58 -30
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-mHcy28k7.js → Layout-OHKb6r7D.js} +8 -5
- package/dist/{LayoutPanel-DpbBk6rj.js → LayoutPanel-D-rpTtC-.js} +6 -3
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DLZzT9un.js → Lightbox-B8uMFPOS.js} +96 -17
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Qhzs2lcO.js → Link-Kc2RQFHc.js} +59 -70
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-CertehfW.js → ListItem-2evjQQ7n.js} +2 -2
- package/dist/Markdown/index.js +2 -2
- package/dist/{Markdown-DGTG02tI.js → Markdown-NVkHi_tk.js} +6 -6
- package/dist/{MediaTheme-CnSOALNj.js → MediaTheme-Bt7WBTkq.js} +1 -1
- package/dist/MetadataList/index.js +1 -1
- package/dist/{MetadataList-wOngshS5.js → MetadataList-4GnMi6s9.js} +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-C8KAzhRl.js → MobileNavToggle-TMDrnXfG.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-B_NLxMJW.js → MoreMenu-CpGEXWCd.js} +10 -10
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-B0TQuJ5d.js → MultiSelector-Baca6xNx.js} +17 -16
- package/dist/{NavDisclosure-BbRWuyhq.js → NavDisclosure-DG4jls5z.js} +1 -1
- package/dist/{NavHeadingSurface-B2HkXx6S.js → NavHeadingSurface-j2gzMVKt.js} +3 -3
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DfHMmSsw.js → NavItem-BZLN0U5a.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-mZVfqNxt.js → NavMenu-t7WN2bcq.js} +1 -1
- package/dist/{NavMenuItem-DkfXIdxs.js → NavMenuItem-DIMQohIa.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-DEv4_fDj.js → NumberInput-BBFGZ4Fg.js} +27 -17
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-Bbu16_MT.js → Outline-BgDOI3ar.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CjIOYKLM.js → OverflowList-D4fC5s_q.js} +3 -3
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Bcq0T9qo.js → Pagination-Do_MIlo4.js} +16 -4
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-9Xt2lYdo.js → Popover-Bd93LlDd.js} +7 -7
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DXz85xcx.js → PowerSearch-DyqItMHo.js} +111 -42
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dt5AS0GY.js → ProgressBar-gsm2A_cR.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-B2lYTCeV.js → RadioGroup-Dzp4qSgm.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CieZtXzY.js → RadioList-CAIgB1j_.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-uBJj4W1M.js → ResizeHandle-GAmiHb0-.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-BmDn1avo.js → SegmentedControl-Bs74LlvS.js} +3 -2
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-2a2gsxys.js → SelectableCard-BFCwgtWf.js} +12 -7
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CgrXQtte.js → Selector-B9lINQRM.js} +15 -13
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DW4jXGp5.js → SideNav-DzZ12DIq.js} +8 -8
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CEhy-D-R.js → Slider-Cuk2ul9w.js} +4 -4
- package/dist/Spinner/index.js +1 -1
- package/dist/{Spinner-CTWLR75x.js → Spinner-ke63bQPv.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-Bu_nCu0I.js → StatusDot-DF5wK42f.js} +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-DVXisudw.js → Stepper-C68f_iJG.js} +3 -3
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DXShvaDA.js → Switch-bnxiN6Qe.js} +4 -4
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-Bo4pjQhj.js → TabList-8dlO0Ws6.js} +13 -8
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-Bd8BQ8X_.js → Table-j_DCDbcI.js} +107 -49
- package/dist/Text/index.d.ts +2 -2
- package/dist/Text/index.js +3 -2
- package/dist/{Text-Wk-iDAzh.js → Text-WB-fpFne.js} +38 -29
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-8bifudmD.js → TextArea-Bzz_KcKT.js} +11 -11
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Bb25yDd0.js → TextInput-givkH9HQ.js} +22 -20
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Theme/index.js +2 -2
- package/dist/{Theme-D7_fQWgb.js → Theme-BQe--DY6.js} +42 -9
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-CYVlnYws.js → Thumbnail-CZOWP5HN.js} +42 -14
- package/dist/{TimeField-dDDrUtI4.js → TimeField-ByoS5s_I.js} +8 -8
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-BvGVUfWy.js → TimeInput-D9kvMQso.js} +7 -5
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DL_MPa_h.js → Timer-BD2gSoQ3.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CJSVY4tS.js → Timestamp-CEdNhKc5.js} +17 -13
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-cXs5Cbr4.js → Toast-CnZrcU-G.js} +5 -5
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DFiJDsOV.js → ToggleButton-BMn4yJXe.js} +27 -8
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BJDLztV6.js → Token-DWCDMawn.js} +101 -28
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-yz0873oG.js → Tokenizer-R0eC1BOk.js} +93 -10
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Toolbar/index.js +1 -1
- package/dist/{Toolbar-D5UI1JLe.js → Toolbar-BH_E0F0G.js} +4 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BfKegFfq.js → Tooltip-CGHpFMnc.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CWksqYD8.js → TopNav-DHunql9h.js} +7 -7
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-tcEjVfb0.js → TreeList-Dg5gtkOu.js} +24 -17
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-ClidGB0O.js → Typeahead-BkmCC6DX.js} +52 -27
- package/dist/{TypeaheadMenu-Bu9HO-wZ.js → TypeaheadMenu-CFeJCv-6.js} +1 -1
- package/dist/componentIcons-CFr2L6o3.js +106 -0
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +13 -11
- package/dist/{composables-BWDrzi3J.js → composables-DqJzanJ5.js} +5 -24
- package/dist/context-Bg7eSJ47.js +17 -0
- package/dist/{context-BLSiTojH.js → context-CV6TrhJY.js} +57 -3
- package/dist/context-CZP3jfy-.js +125 -0
- package/dist/{context-Bv6lAoqu.js → context-CjX2RSDn.js} +14 -2
- package/dist/devBuild-G249YcdZ.js +17 -0
- package/dist/{fieldParts--SyRZVQG.js → fieldParts-CDOlBdy6.js} +2 -2
- package/dist/{index-CM8KfpBL.d.ts → index--uIQXVJ7.d.ts} +2 -2
- package/dist/{index-CL8JvxHW.d.ts → index-B3yTdknp.d.ts} +1 -1
- package/dist/{index-rszZajcw.d.ts → index-B449gOMC.d.ts} +2 -2
- package/dist/{index-B3PTchxx.d.ts → index-B7brdDVR.d.ts} +5 -5
- package/dist/{index-BO9TY87G.d.ts → index-BOCb89V9.d.ts} +3 -3
- package/dist/{index-Gnewu6-J.d.ts → index-BPyRH3WL.d.ts} +1 -1
- package/dist/{index-DEQ5cnUV.d.ts → index-BTljzczH.d.ts} +4 -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-D_K1wfRa.d.ts → index-BfSZhAVv.d.ts} +2 -2
- package/dist/{index-CFm1rPma.d.ts → index-BjbPK91B.d.ts} +1 -1
- package/dist/{index-C3f1zsJR.d.ts → index-BngdKVro.d.ts} +1 -1
- package/dist/{index-RW8kvEwf.d.ts → index-BnqDF_AX.d.ts} +11 -6
- package/dist/{index-Be7N3B5F.d.ts → index-BqEPgwku.d.ts} +2 -2
- package/dist/{index-DxxudRgB.d.ts → index-C16d2Fc4.d.ts} +1 -1
- package/dist/{index-D97pQbua.d.ts → index-C89cIh4E.d.ts} +3 -5
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-IvAfdGCC.d.ts → index-CAoenU4T.d.ts} +1 -1
- package/dist/{index-BaxM-pFP.d.ts → index-CM2L3SUw.d.ts} +6 -4
- package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
- package/dist/{index-Bo-ofFyg.d.ts → index-CbNLiaWw.d.ts} +2 -2
- package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
- package/dist/index-CtYlR9Cu.d.ts +46 -0
- package/dist/{index--tm6L1ot.d.ts → index-Cun6cXGP.d.ts} +1 -1
- package/dist/{index-C9gAlDt_.d.ts → index-CvquEEGw.d.ts} +8 -2
- package/dist/{index-QWh122EV.d.ts → index-D57GW53K.d.ts} +1 -1
- package/dist/{index-DX4HQToB.d.ts → index-D6pP-H_N.d.ts} +1 -1
- package/dist/{index-dcT6zeY_.d.ts → index-DCU6dy7n.d.ts} +25 -5
- package/dist/{index-DqaYENaT.d.ts → index-DFDadgys.d.ts} +68 -68
- package/dist/{index-DEm3kRBO.d.ts → index-DN1RqxjP.d.ts} +1 -1
- package/dist/{index-BzZC2Y7c.d.ts → index-DTfA4uE3.d.ts} +1 -1
- package/dist/{index-BZchpRgm.d.ts → index-DZKv1WNB.d.ts} +2 -2
- 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-O9y23OPJ.d.ts → index-DneQgJfI.d.ts} +1 -1
- package/dist/{index-Dj1_1t3j.d.ts → index-IFFGXlhq.d.ts} +1 -1
- package/dist/{index-DaXzQxos.d.ts → index-MEix_m1o.d.ts} +2 -2
- package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
- package/dist/{index-D21zdEgS.d.ts → index-Uh-ddE5F.d.ts} +1 -1
- package/dist/{index-BtrAhmSP.d.ts → index-fuztfDLA.d.ts} +10 -6
- package/dist/{index-BRXgpLcd.d.ts → index-mJ_aqK5M.d.ts} +3 -3
- package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
- package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
- package/dist/{index-Dacg7XTH.d.ts → index-wkeCkhTi.d.ts} +16 -6
- package/dist/index.d.ts +53 -53
- package/dist/index.js +134 -130
- package/dist/layerSurfacePress-C3PjPpJP.js +29 -0
- package/dist/{loadCatalog-85MyL2bm.js → loadCatalog-Bulk4H7U.js} +2 -2
- package/dist/{loadCatalog-DSRSkHnY.d.ts → loadCatalog-D_uf2uX1.d.ts} +36 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-C7RSY-JG.js → locale-BA52q_fh.js} +1 -1
- package/dist/pressFeedback-Bwwpex9q.js +578 -0
- package/dist/{registry-C7OZb0PJ.js → registry-fNY3jasS.js} +23 -4
- package/dist/{searchResultMessage-T4H3r8Vz.js → searchResultMessage-CFmIy2Da.js} +2 -2
- package/dist/semantic-CXHSMwPK.d.ts +118 -0
- package/dist/{sharedResizeObserver-9EFWnSWH.js → sharedResizeObserver-BekhnB3E.js} +5 -1
- package/dist/slotContent-CNWOrGOr.js +14 -0
- package/dist/{slug-DAK6hdbr.js → slug-D6ln5PTq.js} +3 -1
- package/dist/strayClick-CY-_ImKv.js +60 -0
- package/dist/textClampContext-o3-nLErq.js +15 -0
- package/dist/textDirection-D4ObTwbB.js +32 -0
- package/dist/themeIcons-CqGF0fwW.js +128 -0
- package/dist/tooltipTriggerRules-Bg4tG8w2.js +53 -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/unicodeRegExp-B7yQnpFC.js +14 -0
- package/dist/{upstreamMap-CZUPxbc9.js → upstreamMap-DrkVNtXW.js} +2 -0
- package/dist/useActionGroupTracking-BncJjk1A.js +131 -0
- package/dist/{useAnchoredListbox-6t5zSSz1.js → useAnchoredListbox-9Gn8asBR.js} +3 -2
- package/dist/useCoarsePointer-GItEMrjX.js +21 -0
- package/dist/{useDevWarning-DznOpOHT.js → useDevWarning-B2fsk2B-.js} +1 -4
- package/dist/{usePositionedLayer-psKf3ano.js → useDismiss-0-Z-9D0A.js} +52 -52
- package/dist/{useFileSelection-BPtaegqK.js → useFileSelection-B44UpbvF.js} +14 -4
- package/dist/{useIndicator-BvF_KY9S.js → useIndicator--9mGGlT2.js} +2 -2
- package/dist/{useInputContainer-CLcYrby4.js → useInputContainer-BpLtCA-U.js} +1 -1
- package/dist/{useInputStatusIcon-BSVFtRQG.js → useInputStatusIcon-DCnx00BM.js} +2 -2
- package/dist/{useLayer-Byjda3dD.js → useLayer-CED-g4Q2.js} +1 -1
- package/dist/{useMenuDrillIn-C36Z89W3.js → useMenuDrillIn-C5eJCuO1.js} +2 -2
- package/dist/{useMenuPress-8foxY8z4.js → useMenuPress-BLPwY_m1.js} +2 -59
- package/dist/usePressFeedback-Bcjsw9vv.js +49 -0
- package/dist/{useTooltip-BKsCTWdb.js → useTooltip-D8Tq7-yd.js} +36 -22
- package/dist/{useTranslator-BDUOzbP_.js → useTranslator-Q85hi4qz.js} +2 -2
- package/dist/useTruncation-C4pdlaXa.js +135 -0
- package/dist/useTruncationTooltip-BNk2xslw.js +106 -0
- package/dist/utils/index.js +1 -1
- package/dist/{utils-ClVseK2w.js → utils-BTkg5Ie9.js} +7 -2
- package/locales/en.json +8 -0
- package/package.json +1 -1
- package/styles/alert-dialog.css +19 -0
- package/styles/avatar.css +18 -3
- package/styles/badge.css +20 -2
- package/styles/banner.css +6 -0
- package/styles/button-group.css +38 -2
- package/styles/button.css +76 -4
- package/styles/calendar.css +34 -0
- package/styles/carousel.css +19 -11
- package/styles/chat.css +2 -0
- package/styles/checkbox-indicator.css +9 -9
- package/styles/checkbox-input.css +4 -1
- package/styles/citation.css +2 -1
- package/styles/clickable-card.css +19 -5
- package/styles/code.css +6 -0
- package/styles/context-menu.css +11 -0
- package/styles/dialog-header.css +2 -0
- package/styles/dialog.css +7 -0
- package/styles/dropdown-menu.css +11 -0
- package/styles/field.css +2 -0
- package/styles/heading.css +4 -0
- package/styles/hover-card.css +2 -0
- package/styles/icon.css +18 -12
- package/styles/input-group.css +1 -0
- package/styles/kbd.css +2 -0
- package/styles/layer.css +2 -0
- package/styles/lightbox.css +78 -0
- package/styles/link.css +25 -1
- package/styles/list.css +10 -1
- package/styles/metadata-list.css +1 -1
- package/styles/more-menu.css +6 -0
- package/styles/popover.css +7 -0
- package/styles/pressable.css +7 -0
- package/styles/radio-indicator.css +21 -4
- package/styles/slider.css +2 -0
- package/styles/switch.css +2 -1
- package/styles/table.css +25 -1
- package/styles/text.css +8 -0
- package/styles/thumbnail.css +25 -0
- package/styles/toast.css +2 -0
- package/styles/toggle-button.css +17 -0
- package/styles/token.css +14 -9
- package/styles/toolbar.css +19 -0
- package/dist/Badge-CjDQPF5g.js +0 -30
- package/dist/Heading-D0zL1j5T.js +0 -99
- package/dist/context-B6UElI5X.js +0 -5
- package/dist/context-Cws_tXTr.js +0 -7
- package/dist/context-IvbU9c3T.js +0 -8
- package/dist/index-LySSG_PR.d.ts +0 -27
- 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/useTruncation-C02rA1-c.js +0 -102
- package/dist/{useRestoreFocus-XEKs5-gp.js → useRestoreFocus-CEG0n2AK.js} +1 -1
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
|
|
2
|
+
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
2
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
4
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
4
5
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
6
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
|
-
import { t as _sfc_main$4 } from "./FieldIcon-
|
|
7
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
8
|
-
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-
|
|
7
|
+
import { t as _sfc_main$4 } from "./FieldIcon-DMtfe1Ne.js";
|
|
8
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-BJAaKJjM.js";
|
|
9
|
+
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
9
10
|
import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
|
|
11
|
+
import { t as unicodeRegExp } from "./unicodeRegExp-B7yQnpFC.js";
|
|
10
12
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
11
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
12
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
13
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
13
|
+
import { t as _sfc_main$6 } from "./Field-if5a58LO.js";
|
|
14
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
15
|
+
import { t as _sfc_main$7 } from "./InputClearButton-DhvxPkK6.js";
|
|
14
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useTemplateRef, withCtx, withModifiers } from "vue";
|
|
15
17
|
import "../styles/number-input.css";
|
|
16
18
|
//#region src/NumberInput/numberParser.ts
|
|
19
|
+
/**
|
|
20
|
+
* 把人贴进来的数字读成数值。分组符、小数点、位数和数字字形都从 Intl 来。
|
|
21
|
+
* 读不出来就返回 null,不猜。两种读法都成立时,听当前语言。
|
|
22
|
+
* 分组必须正好符合这个语言自己的组宽:末组等于主组宽,中间组等于次组宽,首组不超过次组宽。
|
|
23
|
+
* 所以 de-DE 的 `1.234` 是 1234,而 `1.2345` 末组太长,句点仍是小数点。
|
|
24
|
+
* 三位数一组的重复分隔符在所有语言里都当分组,`1,234,567` 到处一样。
|
|
25
|
+
* 空格和撇号没有语言拿来当小数点,出现一次就够,en-US 的 `1 234` 是 1234。
|
|
26
|
+
*/
|
|
17
27
|
const symbolsByLocale = /* @__PURE__ */ new Map();
|
|
18
28
|
function getLocaleNumberSymbols(locale) {
|
|
19
29
|
const key = locale ?? "";
|
|
@@ -40,8 +50,8 @@ function getLocaleNumberSymbols(locale) {
|
|
|
40
50
|
}
|
|
41
51
|
return symbols;
|
|
42
52
|
}
|
|
43
|
-
const DECIMAL_DIGIT =
|
|
44
|
-
const CURRENCY =
|
|
53
|
+
const DECIMAL_DIGIT = unicodeRegExp("\\p{Nd}");
|
|
54
|
+
const CURRENCY = unicodeRegExp("\\p{Sc}");
|
|
45
55
|
const INVISIBLES = /[\u200B-\u200D\u200E\u200F\u061C\u2066-\u2069\uFEFF]/g;
|
|
46
56
|
const MINUS_SIGNS = "−‒–-";
|
|
47
57
|
const NUMBER_BODY = new RegExp(`^[0-9,.' ’٫٬]+$`);
|
|
@@ -353,7 +363,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
353
363
|
const decrementLabel = computed(() => messages.value.numberInput.decrement(props.label));
|
|
354
364
|
const resolvedClearLabel = computed(() => messages.value.numberInput.clear(props.label));
|
|
355
365
|
const ariaRequired = useAriaRequired(props);
|
|
356
|
-
const isDisabled =
|
|
366
|
+
const isDisabled = useInputGroupDisabled(() => props.isDisabled || props.disabled);
|
|
357
367
|
const isReadOnly = computed(() => Boolean(props.isReadOnly));
|
|
358
368
|
const isIntegerOnly = computed(() => Boolean(props.isIntegerOnly));
|
|
359
369
|
const hasClear = computed(() => Boolean(props.hasClear || props.clearable));
|
|
@@ -582,7 +592,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
582
592
|
class: normalizeClass(["astryx-number-input", [`size-${unref(size)}`, unref(parts).controlClass()]]),
|
|
583
593
|
style: normalizeStyle(unref(parts).controlStyle()),
|
|
584
594
|
"data-status": statusType.value,
|
|
585
|
-
"data-disabled": isDisabled
|
|
595
|
+
"data-disabled": unref(isDisabled) || void 0,
|
|
586
596
|
"data-readonly": isReadOnly.value || void 0,
|
|
587
597
|
onPointerup: focusFromContainer,
|
|
588
598
|
onPointerenter: _cache[4] || (_cache[4] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
|
|
@@ -598,10 +608,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
598
608
|
inputmode: isIntegerOnly.value ? "numeric" : "decimal",
|
|
599
609
|
role: "spinbutton",
|
|
600
610
|
value: displayValue.value,
|
|
601
|
-
name: resolvedName.value && !isDisabled
|
|
611
|
+
name: resolvedName.value && !unref(isDisabled) && !props.formatValue ? resolvedName.value : void 0,
|
|
602
612
|
placeholder: props.placeholder,
|
|
603
613
|
autocomplete: props.autoComplete ?? inputAttrs().autocomplete,
|
|
604
|
-
disabled: isDisabled
|
|
614
|
+
disabled: unref(isDisabled) && !showsDisabledMessage.value,
|
|
605
615
|
readonly: isReadOnly.value || showsDisabledMessage.value,
|
|
606
616
|
"aria-disabled": showsDisabledMessage.value || void 0,
|
|
607
617
|
"aria-valuemin": props.min ?? void 0,
|
|
@@ -632,7 +642,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
632
642
|
default: withCtx(() => [createTextVNode(toDisplayString(isDraftValid.value ? "" : unref(messages).numberInput.invalidNumber), 1)]),
|
|
633
643
|
_: 1
|
|
634
644
|
}),
|
|
635
|
-
hasClear.value && props.modelValue != null && !isDisabled
|
|
645
|
+
hasClear.value && props.modelValue != null && !unref(isDisabled) && !isReadOnly.value ? (openBlock(), createBlock(_sfc_main$7, {
|
|
636
646
|
key: 2,
|
|
637
647
|
class: "astryx-number-input-clear",
|
|
638
648
|
label: resolvedClearLabel.value,
|
|
@@ -649,7 +659,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
649
659
|
props.hasNumberSteppers ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("button", {
|
|
650
660
|
type: "button",
|
|
651
661
|
class: "astryx-number-input-button increment",
|
|
652
|
-
disabled: isDisabled
|
|
662
|
+
disabled: unref(isDisabled) || isReadOnly.value || !canIncrement.value,
|
|
653
663
|
"aria-label": incrementLabel.value,
|
|
654
664
|
tabindex: "-1",
|
|
655
665
|
onPointerdown: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"])),
|
|
@@ -661,7 +671,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
661
671
|
})], 40, _hoisted_5), createElementVNode("button", {
|
|
662
672
|
type: "button",
|
|
663
673
|
class: "astryx-number-input-button decrement",
|
|
664
|
-
disabled: isDisabled
|
|
674
|
+
disabled: unref(isDisabled) || isReadOnly.value || !canDecrement.value,
|
|
665
675
|
"aria-label": decrementLabel.value,
|
|
666
676
|
tabindex: "-1",
|
|
667
677
|
onPointerdown: _cache[2] || (_cache[2] = withModifiers(() => {}, ["prevent"])),
|
|
@@ -671,7 +681,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
671
681
|
icon: "numberInput:stepperDown",
|
|
672
682
|
size: "xsm"
|
|
673
683
|
})], 40, _hoisted_6)])) : createCommentVNode("v-if", true),
|
|
674
|
-
resolvedName.value && !isDisabled
|
|
684
|
+
resolvedName.value && !unref(isDisabled) && props.formatValue ? (openBlock(), createElementBlock("input", {
|
|
675
685
|
key: 6,
|
|
676
686
|
type: "hidden",
|
|
677
687
|
name: resolvedName.value,
|
package/dist/Outline/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as _sfc_main, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "../Outline-
|
|
1
|
+
import { i as _sfc_main, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "../Outline-BgDOI3ar.js";
|
|
2
2
|
export { _sfc_main as Outline, parseOutlineFromMarkdown, useOutlineFromDOM, useOutlineFromMarkdown };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
-
import { s as useAstryxMessages } from "./context-
|
|
1
|
+
import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
|
|
2
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
3
3
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
4
4
|
import { _ as plainText, a as parseMarkdownAst } from "./publicParser-C8RBKNLA.js";
|
|
5
|
-
import { n as uniqueSlug, t as slugify } from "./slug-
|
|
5
|
+
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
|
6
6
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toRef, toValue, unref, watch } from "vue";
|
|
7
7
|
import "../styles/outline.css";
|
|
8
8
|
//#region src/Outline/scrollGeometry.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gr as _default, Jr as OverflowListItem, Kr as OverflowListCollapsedItem, Yr as OverflowListProps, qr as OverflowListEmits } from "../index-
|
|
1
|
+
import { Gr as _default, Jr as OverflowListItem, Kr as OverflowListCollapsedItem, Yr as OverflowListProps, qr as OverflowListEmits } from "../index-DFDadgys.js";
|
|
2
2
|
export { _default as OverflowList, type OverflowListCollapsedItem, type OverflowListEmits, type OverflowListItem, type OverflowListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../OverflowList-
|
|
1
|
+
import { t as _sfc_main } from "../OverflowList-D4fC5s_q.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
2
|
-
import { s as useAstryxMessages } from "./context-
|
|
2
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
3
3
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
4
4
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
5
|
-
import { t as _sfc_main$2 } from "./NavDisclosure-
|
|
6
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-
|
|
5
|
+
import { t as _sfc_main$2 } from "./NavDisclosure-DG4jls5z.js";
|
|
6
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-DIMQohIa.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/overflow-list.css";
|
|
9
9
|
//#region src/OverflowList/OverflowMore.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-
|
|
1
|
+
import { a as PaginationSlots, i as PaginationSize, n as PaginationEmits, o as PaginationVariant, r as PaginationProps, t as _default } from "../index-B449gOMC.js";
|
|
2
2
|
export { _default as Pagination, type PaginationEmits, type PaginationProps, type PaginationSize, type PaginationSlots, type PaginationVariant };
|
package/dist/Pagination/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Pagination-
|
|
1
|
+
import { t as _sfc_main } from "../Pagination-Do_MIlo4.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as useAstryxMessages } from "./context-
|
|
1
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
2
2
|
import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
|
|
3
3
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
4
4
|
import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
|
|
5
|
-
import { t as _sfc_main$1 } from "./Selector-
|
|
5
|
+
import { t as _sfc_main$1 } from "./Selector-B9lINQRM.js";
|
|
6
6
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, vShow, watch, withDirectives, withKeys } from "vue";
|
|
7
7
|
import "../styles/pagination.css";
|
|
8
8
|
/**
|
|
@@ -120,7 +120,11 @@ const _hoisted_2 = {
|
|
|
120
120
|
};
|
|
121
121
|
const _hoisted_3 = { class: "astryx-pagination-content" };
|
|
122
122
|
const _hoisted_4 = ["disabled", "aria-label"];
|
|
123
|
-
const _hoisted_5 = [
|
|
123
|
+
const _hoisted_5 = [
|
|
124
|
+
"data-first",
|
|
125
|
+
"disabled",
|
|
126
|
+
"aria-label"
|
|
127
|
+
];
|
|
124
128
|
const _hoisted_6 = {
|
|
125
129
|
class: "astryx-pagination-label",
|
|
126
130
|
"aria-hidden": "true"
|
|
@@ -170,7 +174,11 @@ const _hoisted_17 = [
|
|
|
170
174
|
"aria-current",
|
|
171
175
|
"onClick"
|
|
172
176
|
];
|
|
173
|
-
const _hoisted_18 = [
|
|
177
|
+
const _hoisted_18 = [
|
|
178
|
+
"data-last",
|
|
179
|
+
"disabled",
|
|
180
|
+
"aria-label"
|
|
181
|
+
];
|
|
174
182
|
const _hoisted_19 = {
|
|
175
183
|
class: "astryx-pagination-label",
|
|
176
184
|
"aria-hidden": "true"
|
|
@@ -391,6 +399,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
391
399
|
key: 0,
|
|
392
400
|
type: "button",
|
|
393
401
|
class: "astryx-pagination-button astryx-pagination-first",
|
|
402
|
+
"data-first": "first",
|
|
394
403
|
disabled: disabledControl.value || !unref(pagination).canPrevious.value,
|
|
395
404
|
"aria-label": unref(messages).pagination.first,
|
|
396
405
|
onClick: _cache[0] || (_cache[0] = (...args) => unref(pagination).first && unref(pagination).first(...args))
|
|
@@ -410,6 +419,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
410
419
|
createElementVNode("button", {
|
|
411
420
|
type: "button",
|
|
412
421
|
class: "astryx-pagination-button astryx-pagination-prev",
|
|
422
|
+
"data-first": showFirstLast.value ? void 0 : "first",
|
|
413
423
|
disabled: disabledControl.value || !unref(pagination).canPrevious.value,
|
|
414
424
|
"aria-label": resolvedPrevLabel.value,
|
|
415
425
|
onClick: _cache[1] || (_cache[1] = (...args) => unref(pagination).previous && unref(pagination).previous(...args))
|
|
@@ -484,6 +494,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
484
494
|
createElementVNode("button", {
|
|
485
495
|
type: "button",
|
|
486
496
|
class: "astryx-pagination-button astryx-pagination-next",
|
|
497
|
+
"data-last": showFirstLast.value ? void 0 : "last",
|
|
487
498
|
disabled: disabledControl.value || !unref(pagination).canNext.value,
|
|
488
499
|
"aria-label": resolvedNextLabel.value,
|
|
489
500
|
onClick: _cache[4] || (_cache[4] = (...args) => unref(pagination).next && unref(pagination).next(...args))
|
|
@@ -503,6 +514,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
503
514
|
key: 7,
|
|
504
515
|
type: "button",
|
|
505
516
|
class: "astryx-pagination-button astryx-pagination-last",
|
|
517
|
+
"data-last": "last",
|
|
506
518
|
disabled: disabledControl.value || !unref(pagination).canNext.value,
|
|
507
519
|
"aria-label": unref(messages).pagination.last,
|
|
508
520
|
onClick: _cache[5] || (_cache[5] = (...args) => unref(pagination).last && unref(pagination).last(...args))
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as PopoverRole, i as PopoverProps, n as PopoverPadding, r as PopoverPlacement, t as PopoverAlignment } from "../types-OGMYGejX.js";
|
|
2
|
-
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-
|
|
2
|
+
import { i as _default, n as UsePopoverReturn, r as usePopover, t as UsePopoverOptions } from "../index-MEix_m1o.js";
|
|
3
3
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverProps, type PopoverRole, type UsePopoverOptions, type UsePopoverReturn, usePopover };
|
package/dist/Popover/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as usePopover, t as _sfc_main } from "../Popover-
|
|
1
|
+
import { n as usePopover, t as _sfc_main } from "../Popover-Bd93LlDd.js";
|
|
2
2
|
export { _sfc_main as Popover, usePopover };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Button-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Button-DsjdehLZ.js";
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
3
|
-
import {
|
|
3
|
+
import { t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
|
|
4
|
+
import { t as useLayer } from "./useLayer-CED-g4Q2.js";
|
|
5
|
+
import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
4
6
|
import { n as focusElement, r as getFocusables } from "./focus-l8jVTcqd.js";
|
|
5
|
-
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-
|
|
6
|
-
import { s as useAstryxMessages } from "./context-
|
|
7
|
-
import { t as useLayer } from "./useLayer-Byjda3dD.js";
|
|
7
|
+
import { n as useFocusTrap, t as useRestoreFocus } from "./useRestoreFocus-CEG0n2AK.js";
|
|
8
|
+
import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
8
9
|
import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
|
|
9
|
-
import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { n as clampInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
|
|
12
12
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, nextTick, onMounted, onScopeDispose, onUpdated, openBlock, ref, renderSlot, shallowRef, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
@@ -265,7 +265,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
265
265
|
"maxWidth": props.width == null ? clampInlineSize(`${DEFAULT_MAX_WIDTH}px`) : LAYER_MAX_INLINE_SIZE
|
|
266
266
|
};
|
|
267
267
|
if (props.width != null) style.width = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
268
|
-
else style.minWidth = `min(${anchorWidth.value}px, ${DEFAULT_MAX_WIDTH}px)
|
|
268
|
+
else style.minWidth = clampInlineSize(`min(${anchorWidth.value}px, ${DEFAULT_MAX_WIDTH}px)`);
|
|
269
269
|
return style;
|
|
270
270
|
});
|
|
271
271
|
function triggerHost() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-
|
|
1
|
+
import { A as PowerSearchItem, C as PowerSearchEmits, D as PowerSearchFieldType, E as PowerSearchFieldDefinition, F as PowerSearchSlots, I as PowerSearchStatus, M as PowerSearchOverflow, N as PowerSearchProps, O as PowerSearchFilter, P as PowerSearchSize, S as PowerSearchConfig, T as PowerSearchField, _ as FilterValue, a as usePowerSearchConfig, b as PowerSearchChangeType, c as resolveOperatorLabel, d as formatFilterValue, f as completePowerSearchFilter, g as DateTimeRangePart, h as DateTimeRange, i as createPowerSearchConfig, j as PowerSearchOperator, k as PowerSearchHandle, l as formatDateAbsolute, m as createPowerSearchLookup, n as InferPowerSearchData, o as _default, p as PowerSearchLookup, r as applyPowerSearchFilters, s as resolveEditorPlacement, t as searchPowerSearchFields, u as formatDateAbsoluteCompact, v as OperatorValue, w as PowerSearchEntity, x as PowerSearchComponents, y as PartialFilter } from "../index-BqEPgwku.js";
|
|
2
2
|
export { type DateTimeRange, type DateTimeRangePart, type FilterValue, type InferPowerSearchData, type OperatorValue, type PartialFilter, _default as PowerSearch, type PowerSearchChangeType, type PowerSearchComponents, type PowerSearchConfig, type PowerSearchEmits, type PowerSearchEntity, type PowerSearchField, type PowerSearchFieldDefinition, type PowerSearchFieldType, type PowerSearchFilter, type PowerSearchHandle, type PowerSearchItem, type PowerSearchLookup, type PowerSearchOperator, type PowerSearchOverflow, type PowerSearchProps, type PowerSearchSize, type PowerSearchSlots, type PowerSearchStatus, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-
|
|
1
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "../PowerSearch-DyqItMHo.js";
|
|
2
2
|
export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { t as _sfc_main$5 } from "./Icon-
|
|
1
|
+
import { t as _sfc_main$5 } from "./Icon-BCHo7W0x.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$6 } from "./Button-DsjdehLZ.js";
|
|
4
|
+
import { i as useLayerGutter } from "./context-M-er0-Rk.js";
|
|
5
|
+
import { t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
|
|
4
6
|
import { r as truncateCharacters, t as characterCount } from "./characters-wTnzjkkR.js";
|
|
5
7
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
8
|
import { t as createStaticSource } from "./useAsyncSource-Gk0VtE7_.js";
|
|
7
|
-
import {
|
|
8
|
-
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-BLSiTojH.js";
|
|
9
|
-
import { i as useLayerGutter } from "./context-M-er0-Rk.js";
|
|
9
|
+
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CV6TrhJY.js";
|
|
10
10
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
11
11
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
12
|
-
import { t as _sfc_main$7 } from "./Tooltip-
|
|
12
|
+
import { t as _sfc_main$7 } from "./Tooltip-CGHpFMnc.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
14
|
-
import { t as _sfc_main$8 } from "./Field-
|
|
15
|
-
import { t as useFieldPartStyling } from "./fieldParts
|
|
16
|
-
import { t as _sfc_main$9 } from "./DateInput-
|
|
17
|
-
import { t as _sfc_main$10 } from "./DateRangeInput-
|
|
18
|
-
import { t as _sfc_main$11 } from "./DateTimeInput-
|
|
19
|
-
import { t as _sfc_main$12 } from "./Token-
|
|
20
|
-
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-
|
|
21
|
-
import { t as _sfc_main$13 } from "./MultiSelector-
|
|
22
|
-
import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-
|
|
23
|
-
import { t as _sfc_main$15 } from "./Selector-
|
|
24
|
-
import { i as useTypeaheadMenu } from "./TypeaheadMenu-
|
|
25
|
-
import { t as _sfc_main$16 } from "./
|
|
26
|
-
import { t as _sfc_main$17 } from "./
|
|
27
|
-
import { t as _sfc_main$18 } from "./
|
|
28
|
-
import { t as _sfc_main$19 } from "./Typeahead-
|
|
29
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
14
|
+
import { t as _sfc_main$8 } from "./Field-if5a58LO.js";
|
|
15
|
+
import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
|
|
16
|
+
import { t as _sfc_main$9 } from "./DateInput-DTxxFz9-.js";
|
|
17
|
+
import { t as _sfc_main$10 } from "./DateRangeInput-D4Us58KW.js";
|
|
18
|
+
import { t as _sfc_main$11 } from "./DateTimeInput-CliLnI7P.js";
|
|
19
|
+
import { n as tokenNamingKey, t as _sfc_main$12 } from "./Token-DWCDMawn.js";
|
|
20
|
+
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
|
|
21
|
+
import { t as _sfc_main$13 } from "./MultiSelector-Baca6xNx.js";
|
|
22
|
+
import { n as resolveNumberInputCommit, t as _sfc_main$14 } from "./NumberInput-BBFGZ4Fg.js";
|
|
23
|
+
import { t as _sfc_main$15 } from "./Selector-B9lINQRM.js";
|
|
24
|
+
import { i as useTypeaheadMenu } from "./TypeaheadMenu-CFeJCv-6.js";
|
|
25
|
+
import { n as useTokenRemoveTap, t as _sfc_main$16 } from "./Tokenizer-R0eC1BOk.js";
|
|
26
|
+
import { t as _sfc_main$17 } from "./TextInput-givkH9HQ.js";
|
|
27
|
+
import { t as _sfc_main$18 } from "./TimeInput-D9kvMQso.js";
|
|
28
|
+
import { t as _sfc_main$19 } from "./Typeahead-BkmCC6DX.js";
|
|
29
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
30
30
|
import "../styles/layer.css";
|
|
31
31
|
import "../styles/visually-hidden-utility.css";
|
|
32
32
|
import "../styles/typeahead.css";
|
|
@@ -302,7 +302,11 @@ function menuStyleWithWidth(base, menuWidth) {
|
|
|
302
302
|
}
|
|
303
303
|
//#endregion
|
|
304
304
|
//#region src/PowerSearch/PowerSearchToken.vue
|
|
305
|
-
const _hoisted_1$4 = {
|
|
305
|
+
const _hoisted_1$4 = {
|
|
306
|
+
key: 0,
|
|
307
|
+
class: "astryx-power-search-token-value"
|
|
308
|
+
};
|
|
309
|
+
const _hoisted_2$4 = ["id"];
|
|
306
310
|
const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
307
311
|
name: "AstryxPowerSearchToken",
|
|
308
312
|
__name: "PowerSearchToken",
|
|
@@ -316,7 +320,10 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
316
320
|
timeZone: {},
|
|
317
321
|
size: {},
|
|
318
322
|
disabled: { type: Boolean },
|
|
319
|
-
removable: { type: Boolean }
|
|
323
|
+
removable: { type: Boolean },
|
|
324
|
+
opensEditor: { type: Boolean },
|
|
325
|
+
expanded: { type: Boolean },
|
|
326
|
+
nameId: {}
|
|
320
327
|
},
|
|
321
328
|
emits: ["activate", "remove"],
|
|
322
329
|
setup(__props, { emit: __emit }) {
|
|
@@ -328,23 +335,37 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
|
328
335
|
const room = Math.max(props.maxLength - characterCount(props.fieldLabel) - characterCount(operatorLabel.value), 10);
|
|
329
336
|
return formatFilterValue(props.operator.value, props.filter.value, room, props.messages, props.locale, props.timeZone);
|
|
330
337
|
});
|
|
338
|
+
/** 标签的全部可见文字:字段、运算符和值。按钮、删除按钮和编辑器都按它命名,同一字段的两个条件读出来不再一样。 */
|
|
339
|
+
const visibleText = computed(() => valueText.value ? `${tokenLabel.value} ${valueText.value}` : tokenLabel.value);
|
|
340
|
+
provide(tokenNamingKey, computed(() => ({
|
|
341
|
+
actionName: visibleText.value,
|
|
342
|
+
removeName: visibleText.value
|
|
343
|
+
})));
|
|
331
344
|
return (_ctx, _cache) => {
|
|
332
345
|
return openBlock(), createBlock(_sfc_main$12, {
|
|
333
346
|
label: tokenLabel.value,
|
|
334
347
|
size: __props.size,
|
|
335
348
|
disabled: __props.disabled,
|
|
336
349
|
removable: __props.removable,
|
|
350
|
+
"aria-haspopup": __props.opensEditor ? "dialog" : void 0,
|
|
351
|
+
"aria-expanded": __props.opensEditor ? Boolean(__props.expanded) : void 0,
|
|
337
352
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("activate")),
|
|
338
353
|
onRemove: _cache[1] || (_cache[1] = ($event) => emit("remove"))
|
|
339
|
-
}, createSlots({ _: 2 }, [valueText.value ? {
|
|
354
|
+
}, createSlots({ _: 2 }, [valueText.value || __props.nameId ? {
|
|
340
355
|
name: "end",
|
|
341
|
-
fn: withCtx(() => [
|
|
356
|
+
fn: withCtx(() => [valueText.value ? (openBlock(), createElementBlock("span", _hoisted_1$4, toDisplayString(valueText.value), 1)) : createCommentVNode("v-if", true), __props.nameId ? (openBlock(), createElementBlock("span", {
|
|
357
|
+
key: 1,
|
|
358
|
+
id: __props.nameId,
|
|
359
|
+
hidden: ""
|
|
360
|
+
}, toDisplayString(visibleText.value), 9, _hoisted_2$4)) : createCommentVNode("v-if", true)]),
|
|
342
361
|
key: "0"
|
|
343
362
|
} : void 0]), 1032, [
|
|
344
363
|
"label",
|
|
345
364
|
"size",
|
|
346
365
|
"disabled",
|
|
347
|
-
"removable"
|
|
366
|
+
"removable",
|
|
367
|
+
"aria-haspopup",
|
|
368
|
+
"aria-expanded"
|
|
348
369
|
]);
|
|
349
370
|
};
|
|
350
371
|
}
|
|
@@ -521,6 +542,39 @@ function searchPowerSearchFields(lookup, query, messages, maxTypedResults) {
|
|
|
521
542
|
return results.slice(0, maxTypedResults);
|
|
522
543
|
}
|
|
523
544
|
//#endregion
|
|
545
|
+
//#region src/PowerSearch/useFilterTokenNaming.ts
|
|
546
|
+
/**
|
|
547
|
+
* 内置筛选标签的弹层状态和编辑器名称。
|
|
548
|
+
*
|
|
549
|
+
* 标签按钮带 `aria-haspopup="dialog"` 和 `aria-expanded`,编辑器是一个以标签全部可见文字
|
|
550
|
+
* 命名的非模态对话框。换掉了标签的调用方自己命名,编辑器保持普通浮层。
|
|
551
|
+
*/
|
|
552
|
+
function useFilterTokenNaming(options) {
|
|
553
|
+
function nameId(index) {
|
|
554
|
+
return `${options.idPrefix()}-token-${index}-name`;
|
|
555
|
+
}
|
|
556
|
+
function tokenProps(filter, index) {
|
|
557
|
+
const session = options.session.value;
|
|
558
|
+
return {
|
|
559
|
+
nameId: nameId(index),
|
|
560
|
+
opensEditor: options.opensEditor(filter),
|
|
561
|
+
expanded: session?.mode === "edit" && session.index === index
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
return {
|
|
565
|
+
tokenProps,
|
|
566
|
+
editorAttrs: computed(() => {
|
|
567
|
+
const session = options.session.value;
|
|
568
|
+
const filter = session?.mode === "edit" ? options.filters.value[session.index] : void 0;
|
|
569
|
+
if (session == null || filter == null || !options.isBuiltIn(filter)) return {};
|
|
570
|
+
return {
|
|
571
|
+
"role": "dialog",
|
|
572
|
+
"aria-labelledby": nameId(session.index)
|
|
573
|
+
};
|
|
574
|
+
})
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
//#endregion
|
|
524
578
|
//#region src/PowerSearch/range.ts
|
|
525
579
|
const SECONDS_BY_UNIT = {
|
|
526
580
|
second: 1,
|
|
@@ -839,7 +893,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
839
893
|
"placeholder",
|
|
840
894
|
"disabled",
|
|
841
895
|
"max-menu-items"
|
|
842
|
-
])) : __props.operatorValue.type === "string" ? (openBlock(), createBlock(_sfc_main$
|
|
896
|
+
])) : __props.operatorValue.type === "string" ? (openBlock(), createBlock(_sfc_main$17, {
|
|
843
897
|
key: 1,
|
|
844
898
|
label: text.value.value,
|
|
845
899
|
"is-label-hidden": "",
|
|
@@ -855,7 +909,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
855
909
|
"model-value",
|
|
856
910
|
"placeholder",
|
|
857
911
|
"disabled"
|
|
858
|
-
])) : __props.operatorValue.type === "string_list" ? (openBlock(), createBlock(_sfc_main$
|
|
912
|
+
])) : __props.operatorValue.type === "string_list" ? (openBlock(), createBlock(_sfc_main$16, {
|
|
859
913
|
key: 2,
|
|
860
914
|
label: text.value.values,
|
|
861
915
|
"label-hidden": "",
|
|
@@ -902,7 +956,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
902
956
|
"max",
|
|
903
957
|
"step",
|
|
904
958
|
"units"
|
|
905
|
-
])], 32)], 2112)) : __props.operatorValue.type === "time" ? (openBlock(), createBlock(_sfc_main$
|
|
959
|
+
])], 32)], 2112)) : __props.operatorValue.type === "time" ? (openBlock(), createBlock(_sfc_main$18, {
|
|
906
960
|
key: 4,
|
|
907
961
|
label: text.value.time,
|
|
908
962
|
"is-label-hidden": "",
|
|
@@ -957,7 +1011,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
957
1011
|
"model-value",
|
|
958
1012
|
"placeholder",
|
|
959
1013
|
"disabled"
|
|
960
|
-
])) : createCommentVNode("v-if", true), createVNode(_sfc_main$
|
|
1014
|
+
])) : createCommentVNode("v-if", true), createVNode(_sfc_main$17, {
|
|
961
1015
|
label: text.value.relativeDate,
|
|
962
1016
|
"is-label-hidden": "",
|
|
963
1017
|
"model-value": relativeValue.value,
|
|
@@ -1031,7 +1085,7 @@ const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
|
1031
1085
|
"model-value",
|
|
1032
1086
|
"placeholder",
|
|
1033
1087
|
"disabled"
|
|
1034
|
-
])) : __props.operatorValue.type === "entity_list" ? (openBlock(), createBlock(_sfc_main$
|
|
1088
|
+
])) : __props.operatorValue.type === "entity_list" ? (openBlock(), createBlock(_sfc_main$16, {
|
|
1035
1089
|
key: 11,
|
|
1036
1090
|
label: text.value.entities,
|
|
1037
1091
|
"label-hidden": "",
|
|
@@ -1487,6 +1541,11 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
1487
1541
|
//#region src/PowerSearch/usePowerSearchActions.ts
|
|
1488
1542
|
function usePowerSearchActions(options) {
|
|
1489
1543
|
const { props, emit, menu, lookup, text, announce } = options;
|
|
1544
|
+
const removeTap = useTokenRemoveTap({
|
|
1545
|
+
root: options.anchorRef,
|
|
1546
|
+
input: options.inputRef,
|
|
1547
|
+
tokenSelector: ".astryx-power-search-token"
|
|
1548
|
+
});
|
|
1490
1549
|
const gutter = useLayerGutter();
|
|
1491
1550
|
const internal = ref([]);
|
|
1492
1551
|
const filters = computed(() => props.filters ?? internal.value);
|
|
@@ -1653,7 +1712,7 @@ function usePowerSearchActions(options) {
|
|
|
1653
1712
|
if (filter == null || !canRemove(filter)) return;
|
|
1654
1713
|
commit(filters.value.filter((_, itemIndex) => itemIndex !== index), "remove", index);
|
|
1655
1714
|
announce(text.value.removeFilter(fieldFor(filter)?.label ?? filter.field));
|
|
1656
|
-
focusInput();
|
|
1715
|
+
if (removeTap.shouldFocusInputAfterRemove()) focusInput();
|
|
1657
1716
|
}
|
|
1658
1717
|
function clearAll(event) {
|
|
1659
1718
|
event?.stopPropagation();
|
|
@@ -1726,6 +1785,7 @@ function usePowerSearchActions(options) {
|
|
|
1726
1785
|
}
|
|
1727
1786
|
return {
|
|
1728
1787
|
activate,
|
|
1788
|
+
canEdit,
|
|
1729
1789
|
canRemove,
|
|
1730
1790
|
clearAll,
|
|
1731
1791
|
closeEditor,
|
|
@@ -2005,7 +2065,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2005
2065
|
isOpen: menu.combobox.isOpen,
|
|
2006
2066
|
onDismiss: () => menu.close()
|
|
2007
2067
|
});
|
|
2008
|
-
const { activate, canRemove, clearAll, closeEditor, editorComponent, editorOpen, editorStyle, fieldFor, filters, onEditorSave, onInput, onInputKeyDown, onTokenKeyDown, openingControl, operatorFor, pick, removeAt, session, setTokenEl, tokenComponent } = usePowerSearchActions({
|
|
2068
|
+
const { activate, canEdit, canRemove, clearAll, closeEditor, editorComponent, editorOpen, editorStyle, fieldFor, filters, onEditorSave, onInput, onInputKeyDown, onTokenKeyDown, openingControl, operatorFor, pick, removeAt, session, setTokenEl, tokenComponent } = usePowerSearchActions({
|
|
2009
2069
|
props,
|
|
2010
2070
|
emit,
|
|
2011
2071
|
hasCustomEditor: () => slots.editor != null,
|
|
@@ -2024,6 +2084,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2024
2084
|
announce,
|
|
2025
2085
|
visibleCount: () => visibleCountOf.current()
|
|
2026
2086
|
});
|
|
2087
|
+
const naming = useFilterTokenNaming({
|
|
2088
|
+
idPrefix: () => inputId.value,
|
|
2089
|
+
session,
|
|
2090
|
+
filters,
|
|
2091
|
+
opensEditor: canEdit,
|
|
2092
|
+
isBuiltIn: (filter) => !slots.token && !tokenComponent(filter)
|
|
2093
|
+
});
|
|
2027
2094
|
bridge.pick = pick;
|
|
2028
2095
|
bridge.sessionOpen = () => session.value != null;
|
|
2029
2096
|
bridge.closeEditor = closeEditor;
|
|
@@ -2176,7 +2243,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2176
2243
|
"disabled",
|
|
2177
2244
|
"on-click",
|
|
2178
2245
|
"on-remove"
|
|
2179
|
-
])) : unref(fieldFor)(filter) && unref(operatorFor)(filter) ? (openBlock(), createBlock(_sfc_main$4, {
|
|
2246
|
+
])) : unref(fieldFor)(filter) && unref(operatorFor)(filter) ? (openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
2180
2247
|
key: 1,
|
|
2181
2248
|
"field-label": unref(fieldFor)(filter).label,
|
|
2182
2249
|
operator: unref(operatorFor)(filter),
|
|
@@ -2187,10 +2254,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2187
2254
|
"time-zone": resolvedTimeZone.value,
|
|
2188
2255
|
size: unref(size),
|
|
2189
2256
|
disabled: __props.disabled,
|
|
2190
|
-
removable: unref(canRemove)(filter)
|
|
2257
|
+
removable: unref(canRemove)(filter)
|
|
2258
|
+
}, { ref_for: true }, unref(naming).tokenProps(filter, index), {
|
|
2191
2259
|
onActivate: ($event) => unref(activate)(index),
|
|
2192
2260
|
onRemove: ($event) => unref(removeAt)(index)
|
|
2193
|
-
}, null,
|
|
2261
|
+
}), null, 16, [
|
|
2194
2262
|
"field-label",
|
|
2195
2263
|
"operator",
|
|
2196
2264
|
"filter",
|
|
@@ -2326,14 +2394,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2326
2394
|
size: "sm"
|
|
2327
2395
|
}, null, 8, ["icon"]), createElementVNode("span", _hoisted_17, [createElementVNode("span", _hoisted_18, toDisplayString(entry.label), 1), entry.description ? (openBlock(), createElementBlock("span", _hoisted_19, toDisplayString(entry.description), 1)) : createCommentVNode("v-if", true)])], 42, _hoisted_16)
|
|
2328
2396
|
], 64);
|
|
2329
|
-
}), 128))]))])], 12, _hoisted_11), [[vShow, unref(menu).combobox.isOpen.value]]), unref(session) ? (openBlock(), createElementBlock("div", {
|
|
2397
|
+
}), 128))]))])], 12, _hoisted_11), [[vShow, unref(menu).combobox.isOpen.value]]), unref(session) ? (openBlock(), createElementBlock("div", mergeProps({
|
|
2330
2398
|
key: 0,
|
|
2331
2399
|
ref_key: "editorRef",
|
|
2332
|
-
ref: editorRef
|
|
2400
|
+
ref: editorRef
|
|
2401
|
+
}, unref(naming).editorAttrs.value, {
|
|
2333
2402
|
class: "astryx-power-search-editor astryx-layer",
|
|
2334
2403
|
"data-ready": unref(session).ready ? "true" : "false",
|
|
2335
|
-
style:
|
|
2336
|
-
}, [renderSlot(_ctx.$slots, "editor", {
|
|
2404
|
+
style: unref(editorStyle)
|
|
2405
|
+
}), [renderSlot(_ctx.$slots, "editor", {
|
|
2337
2406
|
config: __props.config,
|
|
2338
2407
|
filter: unref(session).filter,
|
|
2339
2408
|
mode: unref(session).mode,
|
|
@@ -2363,7 +2432,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
2363
2432
|
"max-menu-items",
|
|
2364
2433
|
"on-save",
|
|
2365
2434
|
"on-cancel"
|
|
2366
|
-
]))])],
|
|
2435
|
+
]))])], 16, _hoisted_20)) : createCommentVNode("v-if", true)]))], 64);
|
|
2367
2436
|
};
|
|
2368
2437
|
}
|
|
2369
2438
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-
|
|
1
|
+
import { a as ProgressBarVariant, i as ProgressBarSize, n as ProgressBarMark, r as ProgressBarProps, t as _default } from "../index-CdvmnNMH.js";
|
|
2
2
|
export { _default as ProgressBar, type ProgressBarMark, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ProgressBar-
|
|
1
|
+
import { t as _sfc_main } from "../ProgressBar-gsm2A_cR.js";
|
|
2
2
|
export { _sfc_main as ProgressBar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Tooltip-CGHpFMnc.js";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, useAttrs, useId, withCtx } from "vue";
|
|
3
3
|
import "../styles/visually-hidden.css";
|
|
4
4
|
import "../styles/progress-bar.css";
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as _default$1, Br as RadioSize, Fr as RadioGroupSlots, Hr as RadioStatus, Lr as RadioOption, Mr as RadioChangeEvent, Nr as RadioGroupEmits, Pr as RadioGroupProps, Rr as RadioOrientation, Ur as RadioStatusType, Vr as RadioSlots, Wr as RadioValue, jr as _default, zr as RadioProps } from "../index-
|
|
1
|
+
import { Ar as _default$1, Br as RadioSize, Fr as RadioGroupSlots, Hr as RadioStatus, Lr as RadioOption, Mr as RadioChangeEvent, Nr as RadioGroupEmits, Pr as RadioGroupProps, Rr as RadioOrientation, Ur as RadioStatusType, Vr as RadioSlots, Wr as RadioValue, jr as _default, zr as RadioProps } from "../index-DFDadgys.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
package/dist/Radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioGroup-Dzp4qSgm.js";
|
|
2
2
|
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|