@astryx-vue/core 0.26.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-Sku86l_R.js → AlertDialog-CGGkPG4T.js} +4 -4
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CJWvaqgZ.js → AppShell-DGJgCvS6.js} +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-C5KaulzE.js → Avatar-DpFHPRlE.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-cg2nXT_4.js → Banner-DVU5-fWC.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-BtuF3uH6.js → BottomSheet-Dn8gpT4m.js} +3 -3
- package/dist/{BottomSheet-DKrJyrhw.js → BottomSheet-gctYQ3sV.js} +2 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-Cvzwy6sZ.js → Breadcrumbs-BZsjHn_5.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-D8AGK5oT.js → Button-yJiHoWps.js} +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DrCG9wbP.js → Carousel-DPhwOTjx.js} +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-BIHEfSec.js → Chat-RE_6Ez79.js} +4 -4
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-wmX3Ekj-.js → CheckboxInput-C-UseBJo.js} +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-JWXHHU-u.js → CheckboxList-CWHlG8Jq.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-PMZd9dQ9.js → CodeBlock-3QLhu3jZ.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BDCJRfFN.js → Collapsible-BSRdsb6w.js} +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CJyQd7P-.js → CommandPalette-CtY5ZCR7.js} +50 -20
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DIb8LjYJ.js → ComplexSelector-DI3J30Ho.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-HLvsROcS.js → ContextMenu-CVf4OqJP.js} +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D5YBijbb.js → DateInput-DK-FI37x.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BlcHsqgx.js → DateRangeInput-ClriBc4F.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Bx3LWb9Y.js → DateTimeInput-BdXkBBYi.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CNLEL4Mf.js → Dialog-CKDlXonX.js} +1 -1
- package/dist/{Dialog-CxeXQTqH.js → Dialog-DjhG_vpE.js} +2 -2
- package/dist/{DialogHeader-CjXS_wba.js → DialogHeader-C1Bz4Knk.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-B_4HN6v5.js → Drawer-BqcPP0z7.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CvdeExRQ.js → DropdownMenu-CdwEvDld.js} +2 -2
- package/dist/{DropdownMenu-D_fBzKvf.js → DropdownMenu-q5euMYv-.js} +4 -4
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-DUaFClsX.js → EmptyState-DNjqNAT3.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-Btyrw1hd.js → Field-DrUMz0oj.js} +1 -1
- package/dist/{FieldInfoTip-Dwl9HNp1.js → FieldInfoTip-DmDOcxU1.js} +1 -1
- package/dist/{FieldLabel-B4l3sS4O.js → FieldLabel-DsFZnW1l.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-BUwV9fQa.js → FileInput-0u4zjJfx.js} +3 -3
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BuZaxfIK.js → Heading-BG1PBVkf.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CZhfsvP4.js → HoverCard-Fr6RLRR8.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-D9ZRJ7vD.js → IconButton-CEjiXpUg.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BDo2xI8h.js → InfoTip-CKRaCO6I.js} +1 -1
- package/dist/{InputClearButton-C-j9Nf1s.js → InputClearButton-ByUJXRmY.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-1Ukiu-dg.js → InputGroup-H8DP0TAG.js} +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-B2Gv5yAm.js → InternationalizationProvider-8qllKdVk.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DOIeCgs4.js → Layout-094k14rN.js} +1 -1
- package/dist/{LayoutPanel-C7Wsid2W.js → LayoutPanel-BPboQAJj.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BOWTHnTb.js → Lightbox-LI6h7LFn.js} +3 -3
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-ruNSnGtC.js → Link-Dx2ql41g.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-C-KT_riK.js → Markdown-BHWf2IOO.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BGNYwwfI.js → MobileNavToggle-Dx7rmb-V.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DnwzVBEE.js → MoreMenu-DAq29azZ.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Cl_HzKvn.js → MultiSelector-BUXFzIla.js} +5 -5
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-pCZjhMHe.js → NavMenu-BoKuJq-K.js} +1 -1
- package/dist/{NavMenuItem-BIqpJmH6.js → NavMenuItem-Ez3_K8iI.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Dz0H_XPw.js → NumberInput-lqUmTsqB.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-MCN1PhBB.js → OverflowList-B6En7wIj.js} +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-Cq9BIzPe.js → Pagination-CRrou1P-.js} +3 -3
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-BJAyg1Qh.js → Popover-sERt08TR.js} +4 -4
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-wXnusKnz.js → PowerSearch-CiVIW13b.js} +229 -142
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-C6x0E-BF.js → ProgressBar-yw2BCtB_.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-LUDji_LA.js → RadioGroup-B8QoJyJu.js} +2 -2
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CmeUUgn-.js → RadioList-BEv82wbs.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-BL_JH51H.js → Selector-Bj4q6aT5.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DtAQA-o-.js → SideNav-CHSwzwTt.js} +3 -3
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DEMdW9An.js → Slider-Bmksx8ng.js} +2 -2
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-_rucEf3d.js → StatusDot-Bz4l43St.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-BxRYZTQV.js → Switch-CeNEvvTn.js} +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-D8KzfcGB.js → TabList-BLLxHXwu.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DYDBgr3y.js → Table-DEqfIA3q.js} +13 -13
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CHauN5So.js → Text-DkSHitKh.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BJl6YH4p.js → TextArea-CAcjMvls.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CGOVY0Zk.js → TextInput-BvQQTG75.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C3MvJ67s.js → Thumbnail-Bv-M13fy.js} +2 -2
- package/dist/{TimeField-C2of7Ok5.js → TimeField-hB88chlQ.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-B_YY-IHW.js → TimeInput-JrTs9r66.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-OULaFQFf.js → Timer-qjI_QrCz.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-B6J0nfYH.js → Timestamp-CJ_HUcek.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BKPl8iIr.js → Toast-CFpOSuAr.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DfpsuhMa.js → ToggleButton-BtXMvoOA.js} +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CSmIMDc4.js → Tokenizer-2zj57yDt.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-gT9_hIEv.js → Tooltip-ByLqPCP7.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-BsrhSbkn.js → TopNav-Ce79A3zT.js} +3 -3
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-CdLc7S2v.js → Typeahead-CBrUdbHv.js} +2 -2
- package/dist/{assertOptions-CFn7Gdcr.js → assertOptions-CJgNig1l.js} +1 -1
- package/dist/composables/index.js +6 -6
- package/dist/{composables-D9DVeNnL.js → composables-BtqijTIO.js} +1 -1
- package/dist/{focusLeaving-Dqm8Yj4T.js → focusLeaving-DMkbxFkF.js} +1 -1
- package/dist/{focusReturn-C1cFL3WM.js → focusReturn-DfZS7TCp.js} +1 -1
- package/dist/{index-BCW6qCcS.d.ts → index-B5aHF0Ml.d.ts} +1 -2
- package/dist/{index--kbwaSXW.d.ts → index-BD-Pxni9.d.ts} +2 -2
- package/dist/{index-DHsYyqMP.d.ts → index-BdhQpERn.d.ts} +6 -6
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-Qdbssopn.d.ts → index-BjqoHLMq.d.ts} +4 -1
- package/dist/{index-DFLPv9io.d.ts → index-BxWCX2pJ.d.ts} +3 -3
- package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
- package/dist/{index-ZXrvTM3A.d.ts → index-C2zWUiJ1.d.ts} +1 -1
- package/dist/{index-BfFpUr1B.d.ts → index-CB6VQETg.d.ts} +2 -2
- package/dist/{index-C3JmGujU.d.ts → index-Cm36VS1A.d.ts} +3 -3
- package/dist/{index-7Q-wnbe7.d.ts → index-CnOH43-f.d.ts} +1 -2
- package/dist/{index-BFGtLIp8.d.ts → index-D14kSf-g.d.ts} +2 -2
- package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-DPklTi3o.d.ts} +2 -2
- package/dist/{index-B3uBbehw.d.ts → index-DSMv6W8s.d.ts} +6 -6
- package/dist/{index-DSEEgvak.d.ts → index-DY1kpap1.d.ts} +683 -239
- package/dist/{index-BcRvRqWU.d.ts → index-DeZ11MNP.d.ts} +2 -2
- package/dist/{index-ClJINYPl.d.ts → index-DlKz3dB1.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-FeZXsFO-.d.ts} +3 -3
- package/dist/{index-XY0rleGM.d.ts → index-LqFjvL4C.d.ts} +2 -2
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-BtqvPjAf.d.ts → index-Otl047R1.d.ts} +2 -2
- package/dist/{index-DCyYldjP.d.ts → index-T5bzxQ30.d.ts} +1 -1
- package/dist/{index-CdvmnNMH.d.ts → index-YKCx03zD.d.ts} +1 -1
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/{index-DPhQZXYw.d.ts → index-eCp-ElSp.d.ts} +2 -2
- package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/index.d.ts +30 -32
- package/dist/index.js +84 -84
- package/dist/{interactionModality-CedLz5PC.js → interactionModality-4Km2ibsq.js} +4 -3
- package/dist/{layerFocusReturn-KvH6DMFT.js → layerFocusReturn-CEvrMbxH.js} +1 -1
- package/dist/{lazyBottomSheet-CL_PrTxb.js → lazyBottomSheet-CxEu25bK.js} +1 -1
- package/dist/{loadCatalog-umh_C97k.js → loadCatalog-BRd5XCbW.js} +22 -0
- package/dist/{loadCatalog-2Hu-xisJ.d.ts → loadCatalog-CLm4V7mm.d.ts} +98 -2
- package/dist/locale/index.d.ts +2 -3
- package/dist/locale/index.js +2 -2
- package/dist/{locale-BDPlcO62.js → locale-BkAezFog.js} +1 -1
- package/dist/{tooltipFocusRules-CFNKWzYn.js → tooltipFocusRules-DvVDuqZI.js} +1 -1
- package/dist/{useFocusTrap-DTz_d7IP.js → useFocusTrap-BD9POtMp.js} +2 -2
- package/dist/{useInputStatusIcon-BFw-EXjJ.js → useInputStatusIcon-CGj9gMj8.js} +1 -1
- package/dist/{useMenuPress-Di_3jhOx.js → useMenuPress-DU6pAIHy.js} +1 -1
- package/dist/{useRestoreFocus-BxooFhas.js → useRestoreFocus-AeZABFZN.js} +2 -2
- package/dist/{useTooltip-BpBMQ815.js → useTooltip-Bsm43vbi.js} +3 -3
- package/dist/{useTouchTriggerInternal-Bdm_M4aa.js → useTouchTriggerInternal-Bl602PtA.js} +1 -1
- package/dist/{useTruncationTooltip-t5G978XB.js → useTruncationTooltip-wc6Lzz34.js} +3 -3
- package/package.json +1 -1
- package/styles/command-palette.css +9 -6
- package/dist/index-C2HVLdNb.d.ts +0 -446
- package/dist/power-search-CuMzfLwW.d.ts +0 -87
- package/dist/{index-BqhgeAT4.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
package/dist/locale/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { t as selectorMessages } from "../selector-BmGLjm94.js";
|
|
|
22
22
|
import { t as popoverMessages } from "../popover-DxCyd_Ua.js";
|
|
23
23
|
import { t as contextMenuMessages } from "../context-menu-9i6CObx3.js";
|
|
24
24
|
import { t as dateInputMessages } from "../date-input-CRdc2H3c.js";
|
|
25
|
-
import { _ as buttonMessages, a as transferListMessages, c as richTextEditorMessages, d as emojiPickerMessages, f as commentsMessages, g as codeBlockMessages, h as commentComposerMessages, i as useAstryxMessages, l as powerSearchMessages, o as transferListSelectorMessages, s as tableMessages, t as loadAstryxCatalog, u as listInputMessages, v as breadcrumbsMessages, y as alertDialogMessages } from "../loadCatalog-
|
|
25
|
+
import { _ as buttonMessages, a as transferListMessages, c as richTextEditorMessages, d as emojiPickerMessages, f as commentsMessages, g as codeBlockMessages, h as commentComposerMessages, i as useAstryxMessages, l as powerSearchMessages, o as transferListSelectorMessages, s as tableMessages, t as loadAstryxCatalog, u as listInputMessages, v as breadcrumbsMessages, y as alertDialogMessages } from "../loadCatalog-BRd5XCbW.js";
|
|
26
26
|
import { t as dateRangeInputMessages } from "../date-range-input-WnkVv8HN.js";
|
|
27
27
|
import { n as dateTimeInputMessages, t as timeInputMessages } from "../time-input-CKOsh84E.js";
|
|
28
28
|
import { t as dialogMessages } from "../dialog-CNjGcdd1.js";
|
|
@@ -47,5 +47,5 @@ import { t as tokenMessages } from "../token-DcbdjdZ2.js";
|
|
|
47
47
|
import { t as tokenizerMessages } from "../tokenizer-ChiAuPN-.js";
|
|
48
48
|
import { t as treeListMessages } from "../tree-list-NZ1EZhtd.js";
|
|
49
49
|
import { t as typeaheadMessages } from "../typeahead-BgfLP7vR.js";
|
|
50
|
-
import { n as useLocale, r as useCollator, t as useTranslator } from "../locale-
|
|
50
|
+
import { n as useLocale, r as useCollator, t as useTranslator } from "../locale-BkAezFog.js";
|
|
51
51
|
export { alertDialogMessages, astryxLocaleKey, astryxMessagesKey, avatarGroupMessages, bannerMessages, breadcrumbsMessages, buttonMessages, calendarMessages, carouselMessages, chatMessages, checkboxListMessages, citationMessages, codeBlockMessages, commandPaletteMessages, commentComposerMessages, commentsMessages, contextMenuMessages, dateInputMessages, dateRangeInputMessages, dateTimeInputMessages, dialogMessages, dropdownMenuMessages, emojiPickerMessages, fieldMessages, fileInputMessages, formatCalendarMonth, infoTipMessages, inputMessages, kbdMessages, keyboardHintMessages, layoutMessages, lightboxMessages, listInputMessages, loadAstryxCatalog, markdownMessages, metadataListMessages, moreMenuMessages, multiSelectorMessages, navMessages, normalizeLocale, numberInputMessages, outlineMessages, paginationMessages, popoverMessages, powerSearchMessages, provideAstryxLocale, richTextEditorMessages, selectorMessages, sliderMessages, spinnerMessages, stepperMessages, switchMessages, tabListMessages, tableMessages, textAreaMessages, textInputMessages, thumbnailMessages, timeInputMessages, timestampMessages, toastMessages, tokenMessages, tokenizerMessages, transferListMessages, transferListSelectorMessages, treeListMessages, typeaheadMessages, useAstryxLocale, useAstryxMessages, useCollator, useComponentMessages, useLocale, useTranslator, weekdayNames };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
2
2
|
import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
3
|
-
import { i as useAstryxMessages, n as upstreamMessageMap } from "./loadCatalog-
|
|
3
|
+
import { i as useAstryxMessages, n as upstreamMessageMap } from "./loadCatalog-BRd5XCbW.js";
|
|
4
4
|
import { computed, toValue } from "vue";
|
|
5
5
|
//#region src/locale/useCollator.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isTopLayer, n as useLayerDepth, o as pushLayer } from "./layerDepth-D3Rh8T5C.js";
|
|
2
2
|
import { t as matchesFocusVisible } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
3
|
-
import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-
|
|
3
|
+
import { s as isTextEntryControl, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { i as isFocusable } from "./focus-x7mxEqjR.js";
|
|
5
5
|
import { onScopeDispose } from "vue";
|
|
6
6
|
//#region src/layer/useHoverLayerDismiss.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as isImeKeyEvent } from "./layerDepth-D3Rh8T5C.js";
|
|
2
|
-
import { a as trackInteractionModality } from "./interactionModality-
|
|
2
|
+
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
3
|
import { i as hasInnerRegionHolding, n as collapseRadioGroups, o as precedes, r as focusablesIn, s as registerRegion, t as attemptFocus } from "./focusRegion-CmDg7_4b.js";
|
|
4
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
4
|
+
import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
|
|
5
5
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
6
6
|
//#region src/composables/useFocusTrap.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as _sfc_main } from "./FieldIcon-BU1ZWAuo.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./FieldInfoTip-
|
|
2
|
+
import { t as _sfc_main$1 } from "./FieldInfoTip-DmDOcxU1.js";
|
|
3
3
|
import { computed, toValue } from "vue";
|
|
4
4
|
//#region src/composables/useInputStatusIcon.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as msSinceInput } from "./pressFeedback-DVR5V1b6.js";
|
|
2
2
|
import { i as withoutClickGuard, r as disarmEveryClickGuard, t as armClickGuard } from "./clickGuard-FrlnECMp.js";
|
|
3
3
|
import { c as currentGesture } from "./layerDepth-D3Rh8T5C.js";
|
|
4
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
4
|
+
import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
|
|
5
5
|
import { r as isInputShield } from "./inputHoldState-pblUT4oh.js";
|
|
6
6
|
import { getCurrentScope, onScopeDispose, toValue } from "vue";
|
|
7
7
|
//#region src/composables/useLongPress.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as trackInteractionModality } from "./interactionModality-
|
|
2
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
1
|
+
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
2
|
+
import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
|
|
3
3
|
import { onScopeDispose, watch } from "vue";
|
|
4
4
|
//#region src/composables/useRestoreFocus.ts
|
|
5
5
|
/**
|
|
@@ -2,10 +2,10 @@ import { s as registerLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
|
2
2
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
3
3
|
import { n as useLayer } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./LayerContentBoundary-LCQLyxBT.js";
|
|
5
|
-
import { a as trackInteractionModality } from "./interactionModality-
|
|
5
|
+
import { a as trackInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-
|
|
8
|
-
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-
|
|
7
|
+
import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-Bl602PtA.js";
|
|
8
|
+
import { n as opensOnFocus, r as useHoverLayerDismiss, t as createFocusGate } from "./tooltipFocusRules-DvVDuqZI.js";
|
|
9
9
|
import { t as renderedText } from "./renderedText-BwJdmps3.js";
|
|
10
10
|
import { Teleport, computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, onMounted, onScopeDispose, openBlock, renderSlot, shallowRef, toDisplayString, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
|
|
11
11
|
import "../styles/tooltip.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
2
|
import { c as currentGesture } from "./layerDepth-D3Rh8T5C.js";
|
|
3
|
-
import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-
|
|
3
|
+
import { a as trackInteractionModality, i as isTextEntrySincePointer, o as isDisabledControl, s as isTextEntryControl } from "./interactionModality-4Km2ibsq.js";
|
|
4
4
|
import { onScopeDispose, ref, toValue, watch } from "vue";
|
|
5
5
|
//#region src/composables/internal/tapRecognizer.ts
|
|
6
6
|
/** 「按下去」算作点击的指针类型。笔只在落笔时算:悬停的笔和鼠标一样是悬停。 */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as matchesFocusVisible } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
2
|
-
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-
|
|
3
|
-
import { n as tooltipPresentInterestKey } from "./useTooltip-
|
|
4
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
2
|
+
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
3
|
+
import { n as tooltipPresentInterestKey } from "./useTooltip-Bsm43vbi.js";
|
|
4
|
+
import { t as _sfc_main$1 } from "./Tooltip-ByLqPCP7.js";
|
|
5
5
|
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-D_T-ezdp.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, defineComponent, openBlock, provide, shallowRef } from "vue";
|
|
7
7
|
//#region src/Text/TruncationTooltip.vue
|
package/package.json
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
background: transparent;
|
|
119
119
|
color: var(--astryx-color-text-primary, #171717);
|
|
120
120
|
font-size: var(--astryx-text-label-size, 0.875rem);
|
|
121
|
-
line-height: var(--astryx-text-
|
|
121
|
+
line-height: var(--astryx-text-label-leading, 1.4286);
|
|
122
122
|
text-align: start;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
}
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.astryx-command-palette-item[data-highlighted='
|
|
132
|
+
.astryx-command-palette-item[data-highlighted='highlighted'] {
|
|
133
133
|
background: var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c));
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.astryx-command-palette-item[data-selected='
|
|
136
|
+
.astryx-command-palette-item[data-selected='selected'] {
|
|
137
137
|
background: var(--astryx-color-accent-muted, light-dark(#0082fb33, #0082fb3f));
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -147,11 +147,11 @@
|
|
|
147
147
|
background: transparent;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.astryx-command-palette-item[data-highlighted='
|
|
150
|
+
.astryx-command-palette-item[data-highlighted='highlighted']:active:not([data-disabled]) {
|
|
151
151
|
background: var(--astryx-color-overlay-hover, light-dark(#0536590c, #ffffff0c));
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.astryx-command-palette-item[data-selected='
|
|
154
|
+
.astryx-command-palette-item[data-selected='selected']:active:not([data-disabled]) {
|
|
155
155
|
background: var(--astryx-color-accent-muted, light-dark(#0082fb33, #0082fb3f));
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.astryx-command-palette-item[data-disabled='
|
|
163
|
+
.astryx-command-palette-item[data-disabled='disabled'] {
|
|
164
164
|
opacity: 0.5;
|
|
165
165
|
cursor: default;
|
|
166
166
|
}
|
|
@@ -175,6 +175,9 @@
|
|
|
175
175
|
font-size: var(--astryx-text-supporting-size, 0.75rem);
|
|
176
176
|
line-height: var(--astryx-text-supporting-leading, 1.6667);
|
|
177
177
|
text-align: center;
|
|
178
|
+
/* 回显进消息里的路径、网址这类长串要能折行,不然会把居中的行撑宽,两头都滚不到。 */
|
|
179
|
+
overflow-wrap: anywhere;
|
|
180
|
+
--_astryx-text-overflow-wrap: anywhere;
|
|
178
181
|
}
|
|
179
182
|
|
|
180
183
|
.astryx-command-palette-footer {
|
package/dist/index-C2HVLdNb.d.ts
DELETED
|
@@ -1,446 +0,0 @@
|
|
|
1
|
-
import { a as CalendarSystem, t as PowerSearchMessages } from "./power-search-CuMzfLwW.js";
|
|
2
|
-
import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
|
|
3
|
-
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
4
|
-
import { Component, VNodeChild } from "vue";
|
|
5
|
-
//#region src/PowerSearch/types.d.ts
|
|
6
|
-
interface EmptyOperatorValue {
|
|
7
|
-
readonly type: 'empty';
|
|
8
|
-
}
|
|
9
|
-
interface StringOperatorValue {
|
|
10
|
-
readonly type: 'string';
|
|
11
|
-
readonly searchSource?: SearchSource;
|
|
12
|
-
readonly isArbitraryStringAllowed?: boolean;
|
|
13
|
-
}
|
|
14
|
-
interface OperatorTokenizationConfig {
|
|
15
|
-
readonly regex?: string;
|
|
16
|
-
readonly sort?: boolean;
|
|
17
|
-
}
|
|
18
|
-
interface StringListOperatorValue {
|
|
19
|
-
readonly type: 'string_list';
|
|
20
|
-
readonly searchSource?: SearchSource;
|
|
21
|
-
readonly isArbitraryStringAllowed?: boolean;
|
|
22
|
-
readonly tokenization?: OperatorTokenizationConfig;
|
|
23
|
-
}
|
|
24
|
-
interface IntegerOperatorValue {
|
|
25
|
-
readonly type: 'integer';
|
|
26
|
-
readonly minValue?: number;
|
|
27
|
-
readonly maxValue?: number;
|
|
28
|
-
readonly units?: string;
|
|
29
|
-
}
|
|
30
|
-
interface FloatOperatorValue {
|
|
31
|
-
readonly type: 'float';
|
|
32
|
-
readonly minValue?: number;
|
|
33
|
-
readonly maxValue?: number;
|
|
34
|
-
readonly units?: string;
|
|
35
|
-
}
|
|
36
|
-
interface TimeOperatorValue {
|
|
37
|
-
readonly type: 'time';
|
|
38
|
-
readonly minValue?: string;
|
|
39
|
-
readonly maxValue?: string;
|
|
40
|
-
}
|
|
41
|
-
interface DateAbsoluteOperatorValue {
|
|
42
|
-
readonly type: 'date_absolute';
|
|
43
|
-
readonly isDateOnly?: boolean;
|
|
44
|
-
}
|
|
45
|
-
interface DateRelativeOperatorValue {
|
|
46
|
-
readonly type: 'date_relative';
|
|
47
|
-
readonly isPastAllowed?: boolean;
|
|
48
|
-
readonly isFutureAllowed?: boolean;
|
|
49
|
-
}
|
|
50
|
-
type DateTimeRangePart = {
|
|
51
|
-
readonly type: 'NOW';
|
|
52
|
-
} | {
|
|
53
|
-
readonly type: 'ABSOLUTE';
|
|
54
|
-
readonly unixSeconds: number;
|
|
55
|
-
} | {
|
|
56
|
-
readonly type: 'RELATIVE';
|
|
57
|
-
readonly backValue: number;
|
|
58
|
-
readonly unit: 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year';
|
|
59
|
-
readonly anchorKey?: string;
|
|
60
|
-
};
|
|
61
|
-
interface DateTimeRange {
|
|
62
|
-
readonly start: DateTimeRangePart;
|
|
63
|
-
readonly end: DateTimeRangePart;
|
|
64
|
-
}
|
|
65
|
-
interface DateRangeFilterPreset {
|
|
66
|
-
readonly label: string;
|
|
67
|
-
readonly value: DateTimeRange;
|
|
68
|
-
}
|
|
69
|
-
interface RelativeDateFilterPreset {
|
|
70
|
-
readonly label: string;
|
|
71
|
-
readonly value: string;
|
|
72
|
-
}
|
|
73
|
-
interface DateRangeOperatorValue {
|
|
74
|
-
readonly type: 'date_range';
|
|
75
|
-
readonly intervalDatePresets?: readonly DateRangeFilterPreset[];
|
|
76
|
-
readonly relativeDatePresets?: readonly RelativeDateFilterPreset[];
|
|
77
|
-
}
|
|
78
|
-
interface EnumItem {
|
|
79
|
-
readonly value: string;
|
|
80
|
-
readonly label: string;
|
|
81
|
-
/** 内置图形名,或 `collection:icon`。 */
|
|
82
|
-
readonly icon?: string;
|
|
83
|
-
}
|
|
84
|
-
interface EnumOperatorValue {
|
|
85
|
-
readonly type: 'enum';
|
|
86
|
-
readonly values: readonly EnumItem[];
|
|
87
|
-
}
|
|
88
|
-
interface EnumListOperatorValue {
|
|
89
|
-
readonly type: 'enum_list';
|
|
90
|
-
readonly values: readonly EnumItem[];
|
|
91
|
-
}
|
|
92
|
-
interface EntityListOperatorValue {
|
|
93
|
-
readonly type: 'entity_list';
|
|
94
|
-
readonly searchSource?: SearchSource;
|
|
95
|
-
readonly isArbitraryStringAllowed?: boolean;
|
|
96
|
-
readonly tokenization?: OperatorTokenizationConfig;
|
|
97
|
-
}
|
|
98
|
-
interface CustomOperatorValue {
|
|
99
|
-
readonly type: 'custom';
|
|
100
|
-
readonly Editor: Component;
|
|
101
|
-
readonly getString: (value: string) => string;
|
|
102
|
-
}
|
|
103
|
-
interface NestedOperatorValue {
|
|
104
|
-
readonly type: 'nested';
|
|
105
|
-
}
|
|
106
|
-
type OperatorValue = EmptyOperatorValue | StringOperatorValue | StringListOperatorValue | IntegerOperatorValue | FloatOperatorValue | TimeOperatorValue | DateAbsoluteOperatorValue | DateRelativeOperatorValue | DateRangeOperatorValue | EnumOperatorValue | EnumListOperatorValue | EntityListOperatorValue | CustomOperatorValue | NestedOperatorValue;
|
|
107
|
-
interface FilterValueEmpty {
|
|
108
|
-
readonly type: 'empty';
|
|
109
|
-
}
|
|
110
|
-
interface FilterValueString {
|
|
111
|
-
readonly type: 'string';
|
|
112
|
-
readonly value: string;
|
|
113
|
-
}
|
|
114
|
-
interface FilterValueStringList {
|
|
115
|
-
readonly type: 'string_list';
|
|
116
|
-
readonly value: readonly string[];
|
|
117
|
-
}
|
|
118
|
-
interface FilterValueInteger {
|
|
119
|
-
readonly type: 'integer';
|
|
120
|
-
readonly value: number;
|
|
121
|
-
}
|
|
122
|
-
interface FilterValueFloat {
|
|
123
|
-
readonly type: 'float';
|
|
124
|
-
readonly value: number;
|
|
125
|
-
}
|
|
126
|
-
interface FilterValueTime {
|
|
127
|
-
readonly type: 'time';
|
|
128
|
-
readonly value: string;
|
|
129
|
-
}
|
|
130
|
-
interface FilterValueDateAbsolute {
|
|
131
|
-
readonly type: 'date_absolute';
|
|
132
|
-
readonly unixSeconds: number;
|
|
133
|
-
}
|
|
134
|
-
interface FilterValueDateRelative {
|
|
135
|
-
readonly type: 'date_relative';
|
|
136
|
-
readonly value: string;
|
|
137
|
-
}
|
|
138
|
-
interface FilterValueDateRange {
|
|
139
|
-
readonly type: 'date_range';
|
|
140
|
-
readonly value: DateTimeRange;
|
|
141
|
-
}
|
|
142
|
-
interface FilterValueEnum {
|
|
143
|
-
readonly type: 'enum';
|
|
144
|
-
readonly value: string;
|
|
145
|
-
}
|
|
146
|
-
interface FilterValueEnumList {
|
|
147
|
-
readonly type: 'enum_list';
|
|
148
|
-
readonly value: readonly string[];
|
|
149
|
-
}
|
|
150
|
-
interface PowerSearchEntity {
|
|
151
|
-
readonly id: string;
|
|
152
|
-
readonly label: string;
|
|
153
|
-
readonly photo?: string;
|
|
154
|
-
}
|
|
155
|
-
interface FilterValueEntityList {
|
|
156
|
-
readonly type: 'entity_list';
|
|
157
|
-
readonly value: readonly PowerSearchEntity[];
|
|
158
|
-
}
|
|
159
|
-
interface FilterValueCustom {
|
|
160
|
-
readonly type: 'custom';
|
|
161
|
-
readonly value: string;
|
|
162
|
-
}
|
|
163
|
-
interface FilterValueNested {
|
|
164
|
-
readonly type: 'nested';
|
|
165
|
-
readonly value: readonly PowerSearchFilter[];
|
|
166
|
-
}
|
|
167
|
-
type FilterValue = FilterValueEmpty | FilterValueString | FilterValueStringList | FilterValueInteger | FilterValueFloat | FilterValueTime | FilterValueDateAbsolute | FilterValueDateRelative | FilterValueDateRange | FilterValueEnum | FilterValueEnumList | FilterValueEntityList | FilterValueCustom | FilterValueNested;
|
|
168
|
-
interface PowerSearchOperatorBase {
|
|
169
|
-
readonly key: string;
|
|
170
|
-
readonly value: OperatorValue;
|
|
171
|
-
}
|
|
172
|
-
interface PowerSearchOperatorWithLabel extends PowerSearchOperatorBase {
|
|
173
|
-
readonly label: string;
|
|
174
|
-
readonly i18nKey?: never;
|
|
175
|
-
}
|
|
176
|
-
interface PowerSearchOperatorWithI18nKey extends PowerSearchOperatorBase {
|
|
177
|
-
readonly i18nKey: string;
|
|
178
|
-
readonly label?: never;
|
|
179
|
-
}
|
|
180
|
-
type PowerSearchOperator = PowerSearchOperatorWithLabel | PowerSearchOperatorWithI18nKey;
|
|
181
|
-
interface PowerSearchField {
|
|
182
|
-
readonly key: string;
|
|
183
|
-
readonly label: string;
|
|
184
|
-
readonly operators: readonly PowerSearchOperator[];
|
|
185
|
-
readonly icon?: string;
|
|
186
|
-
readonly defaultOperator?: string;
|
|
187
|
-
readonly group?: string;
|
|
188
|
-
readonly description?: string;
|
|
189
|
-
readonly typeaheadAliases?: readonly string[];
|
|
190
|
-
readonly typeaheadMinQueryLength?: number;
|
|
191
|
-
readonly isValueMatchAllowed?: boolean;
|
|
192
|
-
}
|
|
193
|
-
interface PowerSearchConfig {
|
|
194
|
-
readonly name: string;
|
|
195
|
-
readonly fields: readonly PowerSearchField[];
|
|
196
|
-
readonly contentSearchFieldKey?: string;
|
|
197
|
-
}
|
|
198
|
-
interface PowerSearchFilter {
|
|
199
|
-
readonly field: string;
|
|
200
|
-
readonly operator: string;
|
|
201
|
-
readonly value: FilterValue;
|
|
202
|
-
readonly isReadOnly?: boolean;
|
|
203
|
-
}
|
|
204
|
-
interface PartialFilter {
|
|
205
|
-
readonly field: string;
|
|
206
|
-
readonly operator?: string;
|
|
207
|
-
readonly value?: FilterValue;
|
|
208
|
-
readonly isReadOnly?: boolean;
|
|
209
|
-
}
|
|
210
|
-
type PowerSearchChangeType = 'add' | 'edit' | 'remove';
|
|
211
|
-
interface PowerSearchHandle {
|
|
212
|
-
focusTypeahead: () => void;
|
|
213
|
-
blurTypeahead: () => void;
|
|
214
|
-
}
|
|
215
|
-
interface PowerSearchAuxData {
|
|
216
|
-
readonly fieldKey: string;
|
|
217
|
-
readonly operatorKey?: string;
|
|
218
|
-
readonly filterValue?: FilterValue;
|
|
219
|
-
readonly filterIndex?: number;
|
|
220
|
-
readonly group?: string;
|
|
221
|
-
}
|
|
222
|
-
type PowerSearchItem = SearchableItem<PowerSearchAuxData>;
|
|
223
|
-
type PowerSearchSize = 'sm' | 'md' | 'lg';
|
|
224
|
-
type PowerSearchStatus = 'default' | 'success' | 'warning' | 'error';
|
|
225
|
-
type PowerSearchStatusVariant = 'attached' | 'detached';
|
|
226
|
-
type PowerSearchOverflow = 'none' | 'unfocused-inline' | 'unfocused-layer';
|
|
227
|
-
interface PowerSearchTokenProps {
|
|
228
|
-
config: PowerSearchConfig;
|
|
229
|
-
filter: PowerSearchFilter;
|
|
230
|
-
field: PowerSearchField;
|
|
231
|
-
operator: PowerSearchOperator;
|
|
232
|
-
maxLength: number;
|
|
233
|
-
disabled?: boolean;
|
|
234
|
-
onClick?: () => void;
|
|
235
|
-
onRemove?: () => void;
|
|
236
|
-
}
|
|
237
|
-
interface PowerSearchEditorProps {
|
|
238
|
-
config: PowerSearchConfig;
|
|
239
|
-
filter: PartialFilter;
|
|
240
|
-
mode: 'create' | 'edit';
|
|
241
|
-
saveLabel?: string;
|
|
242
|
-
readOnly?: boolean;
|
|
243
|
-
timeZone?: string;
|
|
244
|
-
maxMenuItems?: number;
|
|
245
|
-
onSave: (filter: PowerSearchFilter | null) => void;
|
|
246
|
-
onCancel: () => void;
|
|
247
|
-
}
|
|
248
|
-
interface PowerSearchComponentOverride {
|
|
249
|
-
token?: Component;
|
|
250
|
-
editor?: Component;
|
|
251
|
-
}
|
|
252
|
-
type PowerSearchComponents = Partial<Record<OperatorValue['type'], PowerSearchComponentOverride>>;
|
|
253
|
-
interface PowerSearchProps extends FieldPartStylingProps {
|
|
254
|
-
config: PowerSearchConfig;
|
|
255
|
-
filters?: readonly PowerSearchFilter[];
|
|
256
|
-
label?: string;
|
|
257
|
-
/** 视觉上隐藏标签。没传时隐藏。传 false 会把标签显示出来。 */
|
|
258
|
-
isLabelHidden?: boolean;
|
|
259
|
-
/** `isLabelHidden` 的旧名。两个都传时听正名。 */
|
|
260
|
-
labelHidden?: boolean;
|
|
261
|
-
placeholder?: string;
|
|
262
|
-
autofocus?: boolean;
|
|
263
|
-
/** 有筛选条件时显示全部清空按钮。默认 true。 */
|
|
264
|
-
hasClear?: boolean;
|
|
265
|
-
/** 有筛选条件时显示全部清空按钮。等同于 hasClear。 */
|
|
266
|
-
clearable?: boolean;
|
|
267
|
-
readOnly?: boolean;
|
|
268
|
-
disabled?: boolean;
|
|
269
|
-
/** 为什么禁用。和 `disabled` 一起用时,输入框仍可聚焦,但不能用。 */
|
|
270
|
-
disabledMessage?: string;
|
|
271
|
-
/** 禁用原因。等同于 disabledMessage。 */
|
|
272
|
-
disabledReason?: string;
|
|
273
|
-
status?: PowerSearchStatus;
|
|
274
|
-
statusMessage?: string;
|
|
275
|
-
statusVariant?: PowerSearchStatusVariant;
|
|
276
|
-
maxTokenLength?: number;
|
|
277
|
-
maxOperatorMenuItems?: number;
|
|
278
|
-
maxSearchResults?: number;
|
|
279
|
-
menuWidth?: number;
|
|
280
|
-
/** 筛选编辑器里保存按钮的文字。默认「Apply」。 */
|
|
281
|
-
popoverSaveButtonLabel?: string;
|
|
282
|
-
/** 筛选编辑器里保存按钮的文字。等同于 popoverSaveButtonLabel。 */
|
|
283
|
-
saveLabel?: string;
|
|
284
|
-
/** 日期类筛选格式化用的时区 ID,例如 `America/New_York`。 */
|
|
285
|
-
timezoneID?: string;
|
|
286
|
-
/** 日期类筛选格式化用的时区 ID。等同于 timezoneID。 */
|
|
287
|
-
timeZone?: string;
|
|
288
|
-
overflow?: PowerSearchOverflow;
|
|
289
|
-
resultCount?: number | string;
|
|
290
|
-
size?: PowerSearchSize;
|
|
291
|
-
components?: PowerSearchComponents;
|
|
292
|
-
}
|
|
293
|
-
interface PowerSearchEmits {
|
|
294
|
-
'update:filters': [filters: PowerSearchFilter[]];
|
|
295
|
-
'change': [filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number];
|
|
296
|
-
'focus': [event: FocusEvent];
|
|
297
|
-
'blur': [event: FocusEvent];
|
|
298
|
-
}
|
|
299
|
-
interface PowerSearchSlots {
|
|
300
|
-
icon?: () => VNodeChild;
|
|
301
|
-
/** 输入行末尾的内容,放操作按钮之类的控件。 */
|
|
302
|
-
endContent?: () => VNodeChild;
|
|
303
|
-
/** 输入行末尾的内容。等同于 endContent。 */
|
|
304
|
-
end?: () => VNodeChild;
|
|
305
|
-
token?: (props: PowerSearchTokenProps) => VNodeChild;
|
|
306
|
-
editor?: (props: PowerSearchEditorProps) => VNodeChild;
|
|
307
|
-
}
|
|
308
|
-
type PowerSearchFieldType = 'string' | 'number' | 'boolean' | 'date' | 'enum' | 'enum_list' | 'string_list';
|
|
309
|
-
interface PowerSearchFieldDefinition<K extends string = string, T extends PowerSearchFieldType = PowerSearchFieldType> {
|
|
310
|
-
readonly key: K;
|
|
311
|
-
readonly type: T;
|
|
312
|
-
readonly label?: string;
|
|
313
|
-
readonly enumValues?: readonly EnumItem[];
|
|
314
|
-
}
|
|
315
|
-
//#endregion
|
|
316
|
-
//#region src/PowerSearch/config.d.ts
|
|
317
|
-
interface PowerSearchLookup {
|
|
318
|
-
readonly config: PowerSearchConfig;
|
|
319
|
-
getField: (key: string) => PowerSearchField | undefined;
|
|
320
|
-
getOperator: (fieldKey: string, operatorKey: string) => PowerSearchOperator | undefined;
|
|
321
|
-
getDefaultOperator: (fieldKey: string) => PowerSearchOperator | undefined;
|
|
322
|
-
getVisibleFields: () => readonly PowerSearchField[];
|
|
323
|
-
getVisibleOperators: (fieldKey: string) => readonly PowerSearchOperator[];
|
|
324
|
-
}
|
|
325
|
-
declare function createPowerSearchLookup(config: PowerSearchConfig): PowerSearchLookup;
|
|
326
|
-
//#endregion
|
|
327
|
-
//#region src/PowerSearch/complete.d.ts
|
|
328
|
-
/** 编辑器里的半成品条件。嵌套子条件放在 children,填完才写进 value。 */
|
|
329
|
-
interface EditableFilter {
|
|
330
|
-
readonly field: string;
|
|
331
|
-
readonly operator?: string;
|
|
332
|
-
readonly value?: FilterValue;
|
|
333
|
-
readonly children?: readonly EditableFilter[];
|
|
334
|
-
readonly isReadOnly?: boolean;
|
|
335
|
-
}
|
|
336
|
-
/** 条件齐全才返回可保存的筛选。嵌套里有没填完的子条件时返回空。 */
|
|
337
|
-
declare function completePowerSearchFilter(partial: EditableFilter | PartialFilter, lookup: PowerSearchLookup): PowerSearchFilter | null;
|
|
338
|
-
//#endregion
|
|
339
|
-
//#region src/PowerSearch/format.d.ts
|
|
340
|
-
/** 带时刻的日期,例如 "Oct 30, 2026, 3:00 PM"。日期按 `calendar` 写,默认公历。 */
|
|
341
|
-
declare function formatDateAbsolute(unixSeconds: number, locale: string, timeZone?: string, calendar?: CalendarSystem): string;
|
|
342
|
-
/** 只有日期,例如 "Oct 30, 2026"。日期按 `calendar` 写,默认公历。 */
|
|
343
|
-
declare function formatDateAbsoluteCompact(unixSeconds: number, locale: string, timeZone?: string, calendar?: CalendarSystem): string;
|
|
344
|
-
declare function formatFilterValue(operatorValue: OperatorValue, filterValue: FilterValue, maxLength: number, messages: PowerSearchMessages, locale: string, timeZone?: string, calendar?: CalendarSystem): string;
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region src/PowerSearch/operators.d.ts
|
|
347
|
-
declare function resolveOperatorLabel(operator: PowerSearchOperator, messages: PowerSearchMessages): string;
|
|
348
|
-
//#endregion
|
|
349
|
-
//#region src/PowerSearch/placement.d.ts
|
|
350
|
-
interface EditorBox {
|
|
351
|
-
left: number;
|
|
352
|
-
right: number;
|
|
353
|
-
width: number;
|
|
354
|
-
}
|
|
355
|
-
interface EditorPlacementInput {
|
|
356
|
-
outer: EditorBox;
|
|
357
|
-
control: EditorBox;
|
|
358
|
-
viewportWidth: number;
|
|
359
|
-
direction: 'ltr' | 'rtl';
|
|
360
|
-
/**
|
|
361
|
-
* 视口左右共用的留白。没单独给左右边时用它。
|
|
362
|
-
* 默认跟浮层基础留白一样,是 16。
|
|
363
|
-
*/
|
|
364
|
-
viewportInset?: number;
|
|
365
|
-
/** 视口左侧留白。没传时用 `viewportInset`。 */
|
|
366
|
-
inlineStart?: number;
|
|
367
|
-
/** 视口右侧留白。没传时用 `viewportInset`。 */
|
|
368
|
-
inlineEnd?: number;
|
|
369
|
-
/** 视口上下留白。没传时用 `viewportInset`。 */
|
|
370
|
-
blockInset?: number;
|
|
371
|
-
}
|
|
372
|
-
interface EditorPlacement {
|
|
373
|
-
width: number;
|
|
374
|
-
/** 编辑器比外层窄,需要对齐到打开它的控件靠近的那一侧。 */
|
|
375
|
-
capped: boolean;
|
|
376
|
-
edge: 'left' | 'right';
|
|
377
|
-
top: number;
|
|
378
|
-
left: number;
|
|
379
|
-
}
|
|
380
|
-
/**
|
|
381
|
-
* 编辑器宽度取外层宽度,再夹在 400 到 720 之间。
|
|
382
|
-
* 视口放不下 400 时,下限让给视口。只有被 720 压窄时,才改贴打开控件更近的外缘。
|
|
383
|
-
*/
|
|
384
|
-
declare function resolveEditorPlacement(input: EditorPlacementInput & {
|
|
385
|
-
anchorTop: number;
|
|
386
|
-
anchorBottom: number;
|
|
387
|
-
viewportHeight: number;
|
|
388
|
-
}): EditorPlacement;
|
|
389
|
-
//#endregion
|
|
390
|
-
//#region src/PowerSearch/PowerSearch.vue.d.ts
|
|
391
|
-
type __VLS_Slots = PowerSearchSlots;
|
|
392
|
-
declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
|
|
393
|
-
focusTypeahead: () => void | undefined;
|
|
394
|
-
blurTypeahead: () => void | undefined;
|
|
395
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
396
|
-
blur: (event: FocusEvent) => any;
|
|
397
|
-
focus: (event: FocusEvent) => any;
|
|
398
|
-
change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
|
|
399
|
-
"update:filters": (filters: PowerSearchFilter[]) => any;
|
|
400
|
-
}, string, import("vue").PublicProps, Readonly<PowerSearchProps> & Readonly<{
|
|
401
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
402
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
403
|
-
onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
|
|
404
|
-
"onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
|
|
405
|
-
}>, {
|
|
406
|
-
status: PowerSearchStatus;
|
|
407
|
-
statusVariant: PowerSearchStatusVariant;
|
|
408
|
-
hasClear: boolean;
|
|
409
|
-
labelHidden: boolean;
|
|
410
|
-
disabled: boolean;
|
|
411
|
-
clearable: boolean;
|
|
412
|
-
overflow: PowerSearchOverflow;
|
|
413
|
-
readOnly: boolean;
|
|
414
|
-
maxTokenLength: number;
|
|
415
|
-
maxSearchResults: number;
|
|
416
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
417
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
418
|
-
declare const _default: typeof __VLS_export;
|
|
419
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
420
|
-
new (): {
|
|
421
|
-
$slots: S;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region src/PowerSearch/query.d.ts
|
|
426
|
-
interface FieldTypeToValue {
|
|
427
|
-
string: string;
|
|
428
|
-
number: number;
|
|
429
|
-
boolean: boolean;
|
|
430
|
-
date: Date | number;
|
|
431
|
-
enum: string;
|
|
432
|
-
enum_list: readonly string[];
|
|
433
|
-
string_list: readonly string[];
|
|
434
|
-
}
|
|
435
|
-
type InferPowerSearchData<D extends readonly PowerSearchFieldDefinition[]> = { [F in D[number] as F['key']]: FieldTypeToValue[F['type']]; };
|
|
436
|
-
declare function applyPowerSearchFilters<T extends Record<string, unknown>>(filters: readonly PowerSearchFilter[], data: readonly T[]): T[];
|
|
437
|
-
declare function createPowerSearchConfig<const D extends readonly PowerSearchFieldDefinition[]>(definitions: D, configName?: string): {
|
|
438
|
-
config: PowerSearchConfig;
|
|
439
|
-
applyFilters: <T extends InferPowerSearchData<D>>(filters: readonly PowerSearchFilter[], data: readonly T[]) => T[];
|
|
440
|
-
};
|
|
441
|
-
declare function usePowerSearchConfig<const D extends readonly PowerSearchFieldDefinition[]>(definitions: D, configName?: string): ReturnType<typeof createPowerSearchConfig<D>>;
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region src/PowerSearch/source.d.ts
|
|
444
|
-
declare function searchPowerSearchFields(lookup: PowerSearchLookup, query: string, messages: PowerSearchMessages, maxTypedResults: number): PowerSearchItem[];
|
|
445
|
-
//#endregion
|
|
446
|
-
export { PowerSearchItem as A, PowerSearchEmits as C, PowerSearchFieldType as D, PowerSearchFieldDefinition as E, PowerSearchSlots as F, PowerSearchStatus as I, PowerSearchOverflow as M, PowerSearchProps as N, PowerSearchFilter as O, PowerSearchSize as P, PowerSearchConfig as S, PowerSearchField as T, FilterValue as _, usePowerSearchConfig as a, PowerSearchChangeType as b, resolveOperatorLabel as c, formatFilterValue as d, completePowerSearchFilter as f, DateTimeRangePart as g, DateTimeRange as h, createPowerSearchConfig as i, PowerSearchOperator as j, PowerSearchHandle as k, formatDateAbsolute as l, createPowerSearchLookup as m, InferPowerSearchData as n, _default as o, PowerSearchLookup as p, applyPowerSearchFilters as r, resolveEditorPlacement as s, searchPowerSearchFields as t, formatDateAbsoluteCompact as u, OperatorValue as v, PowerSearchEntity as w, PowerSearchComponents as x, PartialFilter as y };
|