@astryx-vue/core 0.43.5 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-CbYI2lSn.js → AlertDialog-RCTKkU3N.js} +4 -4
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-DthdM-zn.js → Avatar-NYFG3hmj.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-DBj4G2ln.js → Banner-B4M75WYo.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-Divj8J_1.js → Breadcrumbs-C77XPTbH.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-cAa9AeKm.js → Button-CWzILTBG.js} +2 -2
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CVEW53-t.js → ButtonGroup-CQKamSTm.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-Bz2GuVdq.js → Carousel-DhYAjVyA.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-Cr_MEm-a.js → Chat-Bo3jDoY2.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-Bxkwj-UA.js → CheckboxInput-D7uMSWmO.js} +2 -2
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-dQ1xloAV.js → CheckboxListItem-BZSjclkl.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-Buhb8IAF.js → Code-CCVKqsZX.js} +1 -1
- package/dist/{CodeBlock-BGaLnVrQ.js → CodeBlock-1VBxZC5q.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-QoKg-f6B.js → ComplexSelector-BnxKjvOf.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-C941I0rG.js → ContextMenu-COoWQvDI.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D-QtIGlw.js → DateInput-vpZpaOqD.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-IpznCdkO.js → DateRangeInput-Bfa1Btc6.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-DMptZyjX.js → DateTimeInput-DD8euLAL.js} +4 -4
- package/dist/Dialog/index.js +1 -1
- package/dist/{DialogHeader-XUjy9Mxx.js → DialogHeader-DkpI73Rn.js} +1 -1
- 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-BkF0RsKw.js → Drawer-BJN7f9iU.js} +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-S8usz-Yk.js → DropdownMenu-DyRSPXZW.js} +2 -2
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BU4RhwEo.js → EmptyState-Dd1opiK7.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-DIjIgiMo.js → Field-BiLdRQCq.js} +1 -1
- package/dist/{FieldInfoTip-D93Kcdo-.js → FieldInfoTip-DcHfO3cg.js} +1 -1
- package/dist/{FieldLabel-B-jJ2ETs.js → FieldLabel-VQOjytac.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-n0pEzUQR.js → FileInput-cbbH72PV.js} +3 -3
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-BBcdemCU.js → Heading-DHuEWiNg.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-B8q3MpjF.js → HoverCard-DWr12brr.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CxVxw2hc.js → IconButton-Bd0TmKGO.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-BgcWXI1k.js → InfoTip-CYz0ZVbO.js} +2 -2
- package/dist/{InputClearButton-Bn29CBnZ.js → InputClearButton-oqum48Bd.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-B3kkylCQ.js → InputGroup-CftqWOKd.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Ims5yQjw.js → Lightbox-zLp_V3-j.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DlzfqBMW.js → Link-By3uOCxb.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{List-C6Zj2WCv.js → List-DJ24b8z9.js} +1 -1
- package/dist/{ListItem-CXsgM4xN.js → ListItem-C-ojoRaq.js} +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DtFXmWK6.js → Markdown-CGT2VGto.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BxC8oVyA.js → MoreMenu-B5yaI1km.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-4N6ZQdr1.js → MultiSelector-BggYBW9X.js} +3 -3
- package/dist/{NavDisclosure-B1Rk9uWm.js → NavDisclosure-BZntpJLd.js} +46 -4
- package/dist/{NavHeadingSurface-B8vSLYn8.js → NavHeadingSurface-F2xoWvlv.js} +36 -25
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.d.ts +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-C78sH1q0.js → NavMenu-B14_ovBG.js} +1 -1
- package/dist/{NavMenuItem-CCWYKpRJ.js → NavMenuItem-DMXY_6AO.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-CO3_Suv2.js → NumberInput-CQmyAC9u.js} +3 -3
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CLEZqhaM.js → OverflowList-wrh7FgSu.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-_FAAwTkY.js → Pagination-BYSzfJNC.js} +23 -10
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Bm13yzVR.js → Popover-CzfrvUf-.js} +3 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BxH88nbf.js → PowerSearch-2hGn7uOl.js} +24 -24
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-BoZQV2l5.js → ProgressBar-EB4C8g83.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-BpOtsMJw.js → RadioGroup-kFw6aAKj.js} +3 -3
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-D_vekWsm.js → RadioListItem-CssFcD1Y.js} +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-9xB-4P3G.js → SegmentedControl-C5I9xTij.js} +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-C6ESJ-zk.js → Selector-Bq-ko1bT.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-BwRn6ryA.js → SideNav-gW6EWQkB.js} +71 -49
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-Bg_qnNFt.js → Slider-BWGuROfN.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-fYRbb3nd.js → StatusDot-k_LR-nCI.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-kRxVa5oQ.js → Switch-CSxnI68c.js} +2 -2
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-B2dfG_rt.js → TabList-Bnd4Y_fr.js} +10 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-ADs9W5i_.js → Table-B_cF2VxQ.js} +10 -10
- package/dist/Text/index.js +1 -1
- package/dist/{Text-Czw1L8Zc.js → Text-S8qRNR8c.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-CXeK9k3F.js → TextArea-Bp9oOJRv.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BDa8jBbY.js → TextInput-r6SGYAJV.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-C7Hi97ND.js → Thumbnail-CYvBjbkJ.js} +2 -2
- package/dist/{TimeField-DIcpNQIQ.js → TimeField-DPTZEtMO.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DI2yFG9f.js → TimeInput-BXZGp51E.js} +2 -2
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DUWtr4HW.js → Timer-8qoKxyOj.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-dTZ7YIWw.js → Timestamp-C1y_Uo2J.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CUKO9z_S.js → Toast-DejhCPRQ.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-C7D_xmkT.js → ToggleButton-CORp2QWg.js} +3 -3
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CLByEOf-.js → Tokenizer-C85VTMGP.js} +9 -9
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-BYXFoOwa.js → Tooltip-Du2qh5Oz.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-C-Rxvn3-.js → TopNav-CGwj38SG.js} +30 -18
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-DgBTcIoM.js → Typeahead-5rX0iyrv.js} +4 -4
- package/dist/composables/index.js +4 -4
- package/dist/{composables-Dr2d0LpH.js → composables-BN74Vfvk.js} +1 -1
- package/dist/{index-CQtvsQ1J.d.ts → index-8fseMirV.d.ts} +5 -5
- package/dist/{index-DgNCHxvu.d.ts → index-B7-c8UTz.d.ts} +3 -3
- package/dist/{index-0RIgvtdm.d.ts → index-B_XTzQhm.d.ts} +5 -5
- package/dist/{index-BZ_lQz43.d.ts → index-BbHuan0g.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-CkkybuPJ.d.ts → index-C6smY0js.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-BPnP3Abd.d.ts → index-C9iidKbL.d.ts} +2 -2
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-CD1-Hqm0.d.ts → index-CmqD5Ya9.d.ts} +2 -2
- package/dist/{index-DOlcm-Ra.d.ts → index-CtR2_TiL.d.ts} +11 -0
- package/dist/{index-Dno9YNVJ.d.ts → index-DCH2D3wa.d.ts} +6 -6
- package/dist/{index-CI-FbXLB.d.ts → index-DGVOnHpo.d.ts} +3 -3
- package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-BZ9ki2Po.d.ts → index-YiWq-3TF.d.ts} +67 -56
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/{index-Ak1b0V24.d.ts → index-a6o69uPN.d.ts} +1 -1
- package/dist/index.d.ts +21 -21
- package/dist/index.js +75 -75
- package/dist/internal/touch.js +1 -1
- package/dist/{stillPointerGate-D15jGSjP.js → stillPointerGate-BMwmHp6q.js} +1 -1
- package/dist/{tooltipFocusRules-BBshpLxm.js → tooltipFocusRules-Bj78PQCe.js} +1 -1
- package/dist/{tooltipTriggerRules-BjnT3wIz.js → tooltipTriggerRules-DR2MfrQ3.js} +1 -1
- package/dist/{useActionGroupTracking-BxTKiVux.js → useActionGroupTracking-CXIqZDh3.js} +1 -1
- package/dist/{useDismiss-ChlwPVfw.js → useDismiss-BqTTrMi-.js} +6 -6
- package/dist/{useInputStatusIcon-C1zyUxXl.js → useInputStatusIcon-DXGI-PHr.js} +1 -1
- package/dist/{useTooltip-DSB9njlb.js → useTooltip-BiNOqNAV.js} +2 -2
- package/dist/{useTouchHitArea-gP3O_wIA.js → useTouchHitArea-Cs4K31MA.js} +38 -3
- package/dist/{useTruncationTooltip-D8trOJ_a.js → useTruncationTooltip-DHNvQpxv.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-Cm5adRdf.js → useTypeaheadMenuConfig-Cry4Kgfr.js} +1 -1
- package/package.json +1 -1
- package/styles/nav-item.css +2 -1
- package/styles/nav-menu.css +9 -0
- package/styles/pagination.css +14 -0
- package/styles/side-nav.css +10 -0
- package/styles/tab-menu.css +5 -0
- package/styles/top-nav.css +11 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
+
import { t as INTERACTIVE_SELECTORS } from "./interactiveAncestor-CEsQ_YQW.js";
|
|
2
3
|
import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
|
|
3
4
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
5
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
6
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
6
7
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
7
|
-
import { t as _sfc_main$3 } from "./NavDisclosure-
|
|
8
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useSlots, withCtx, withModifiers } from "vue";
|
|
8
|
+
import { t as _sfc_main$3 } from "./NavDisclosure-BZntpJLd.js";
|
|
9
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useSlots, withCtx, withModifiers } from "vue";
|
|
9
10
|
//#region src/NavMenu/navHeadingMode.ts
|
|
10
11
|
/** 标题的点击边界:整段链接、整段打开菜单,或链接和箭头各管各的。 */
|
|
11
12
|
function resolveNavHeadingMode(input) {
|
|
@@ -109,6 +110,7 @@ const _hoisted_2 = [
|
|
|
109
110
|
const _hoisted_3 = ["onClick"];
|
|
110
111
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
111
112
|
name: "AstryxNavHeadingSurface",
|
|
113
|
+
inheritAttrs: false,
|
|
112
114
|
__name: "NavHeadingSurface",
|
|
113
115
|
props: {
|
|
114
116
|
kind: {},
|
|
@@ -124,6 +126,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
124
126
|
setup(__props) {
|
|
125
127
|
const props = __props;
|
|
126
128
|
const slots = useSlots();
|
|
129
|
+
const attrs = useAttrs();
|
|
127
130
|
const messages = useComponentMessages({ nav: navMessages });
|
|
128
131
|
const linkComponent = useLinkComponent();
|
|
129
132
|
/** 自己的 `as` 优先,其次是 LinkProvider 给的默认链接组件。 */
|
|
@@ -149,6 +152,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
149
152
|
return props.heading ? nav.headingOpenMenu(props.heading) : nav.openMenu;
|
|
150
153
|
});
|
|
151
154
|
const logoIsLink = computed(() => Boolean(safeHeadingHref.value) && mode.value !== "whole-link" && mode.value !== "logo");
|
|
155
|
+
/**
|
|
156
|
+
* 侧栏标题的触发区不含块里的链接和末端内容:链接有自己的去处,末端内容归调用方。
|
|
157
|
+
* 点它们不开关菜单,悬停它们不打开。顶栏标题保持整块都是触发区。
|
|
158
|
+
*/
|
|
159
|
+
function isOutsideSideTrigger(target) {
|
|
160
|
+
if (target.closest(`.${block.value}__end`) != null) return true;
|
|
161
|
+
const control = target.closest(INTERACTIVE_SELECTORS);
|
|
162
|
+
return control != null && !control.classList.contains(`${block.value}__chevron`) && control.closest(`.${block.value}`) != null;
|
|
163
|
+
}
|
|
152
164
|
const textProps = computed(() => ({
|
|
153
165
|
as: customLink.value,
|
|
154
166
|
block: block.value,
|
|
@@ -160,43 +172,41 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
160
172
|
superheadingHref: safeSuperheadingHref.value
|
|
161
173
|
}));
|
|
162
174
|
return (_ctx, _cache) => {
|
|
163
|
-
return mode.value === "logo" ? (openBlock(), createBlock(resolveDynamicComponent(safeHeadingHref.value ? headingRoot.value : "div"), {
|
|
164
|
-
|
|
165
|
-
class: normalizeClass([block.value, { [`${block.value}--link`]: safeHeadingHref.value }]),
|
|
175
|
+
return mode.value === "logo" ? (openBlock(), createBlock(resolveDynamicComponent(safeHeadingHref.value ? headingRoot.value : "div"), mergeProps({ key: 0 }, unref(attrs), {
|
|
176
|
+
class: [block.value, { [`${block.value}--link`]: safeHeadingHref.value }],
|
|
166
177
|
href: safeHeadingHref.value,
|
|
167
178
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0,
|
|
168
179
|
"aria-label": safeHeadingHref.value ? logoName.value : void 0
|
|
169
|
-
}, {
|
|
180
|
+
}), {
|
|
170
181
|
default: withCtx(() => [unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
171
182
|
key: 0,
|
|
172
183
|
class: normalizeClass(`${block.value}__icon`)
|
|
173
184
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true)]),
|
|
174
185
|
_: 3
|
|
175
|
-
},
|
|
186
|
+
}, 16, [
|
|
176
187
|
"class",
|
|
177
188
|
"href",
|
|
178
189
|
"to",
|
|
179
190
|
"aria-label"
|
|
180
|
-
])) : mode.value === "whole-link" && __props.kind === "side" && unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" 整个标题是链接、又带末端内容:末端内容常是控件,不能放进 <a>,所以链接和末端内容并排放在一个 div 里。 "), createElementVNode("div", { class: normalizeClass([block.value, `${block.value}--link`]) }, [(openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
181
|
-
class:
|
|
191
|
+
])) : mode.value === "whole-link" && __props.kind === "side" && unref(hasSlotContent)(_ctx.$slots.end) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" 整个标题是链接、又带末端内容:末端内容常是控件,不能放进 <a>,所以链接和末端内容并排放在一个 div 里。 "), createElementVNode("div", { class: normalizeClass([block.value, `${block.value}--link`]) }, [(openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), mergeProps(unref(attrs), {
|
|
192
|
+
class: `${block.value}__whole-link`,
|
|
182
193
|
href: safeHeadingHref.value,
|
|
183
194
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0
|
|
184
|
-
}, {
|
|
195
|
+
}), {
|
|
185
196
|
default: withCtx(() => [unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
186
197
|
key: 0,
|
|
187
198
|
class: normalizeClass(`${block.value}__icon`)
|
|
188
199
|
}, [renderSlot(_ctx.$slots, "icon")], 2)) : createCommentVNode("v-if", true), createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(textProps.value)), null, 16)]),
|
|
189
200
|
_: 3
|
|
190
|
-
},
|
|
201
|
+
}, 16, [
|
|
191
202
|
"class",
|
|
192
203
|
"href",
|
|
193
204
|
"to"
|
|
194
|
-
])), createElementVNode("span", { class: normalizeClass(`${block.value}__end`) }, [renderSlot(_ctx.$slots, "end")], 2)], 2)], 2112)) : mode.value === "whole-link" ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
195
|
-
|
|
196
|
-
class: normalizeClass([block.value, `${block.value}--link`]),
|
|
205
|
+
])), createElementVNode("span", { class: normalizeClass(`${block.value}__end`) }, [renderSlot(_ctx.$slots, "end")], 2)], 2)], 2112)) : mode.value === "whole-link" ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), mergeProps({ key: 2 }, unref(attrs), {
|
|
206
|
+
class: [block.value, `${block.value}--link`],
|
|
197
207
|
href: safeHeadingHref.value,
|
|
198
208
|
to: safeHeadingHref.value && customLink.value != null ? safeHeadingHref.value : void 0
|
|
199
|
-
}, {
|
|
209
|
+
}), {
|
|
200
210
|
default: withCtx(() => [
|
|
201
211
|
unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createElementBlock("span", {
|
|
202
212
|
key: 0,
|
|
@@ -209,7 +219,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
209
219
|
}, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
|
|
210
220
|
]),
|
|
211
221
|
_: 3
|
|
212
|
-
},
|
|
222
|
+
}, 16, [
|
|
213
223
|
"class",
|
|
214
224
|
"href",
|
|
215
225
|
"to"
|
|
@@ -218,13 +228,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
218
228
|
hover: "",
|
|
219
229
|
overlap: "",
|
|
220
230
|
"show-delay": __props.kind === "top" ? 0 : void 0,
|
|
231
|
+
"measures-overlap-inset": __props.kind === "side",
|
|
232
|
+
"is-outside-trigger": __props.kind === "side" ? isOutsideSideTrigger : void 0,
|
|
221
233
|
label: __props.heading || logoName.value,
|
|
222
234
|
"panel-class": `${block.value}__panel`
|
|
223
235
|
}, {
|
|
224
|
-
trigger: withCtx(({ isOpen, panelId }) => [createElementVNode("div", {
|
|
225
|
-
class:
|
|
236
|
+
trigger: withCtx(({ isOpen, panelId }) => [createElementVNode("div", mergeProps(unref(attrs), {
|
|
237
|
+
class: block.value,
|
|
226
238
|
"data-open": isOpen || void 0
|
|
227
|
-
}, [
|
|
239
|
+
}), [
|
|
228
240
|
logoIsLink.value && unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
229
241
|
key: 0,
|
|
230
242
|
class: normalizeClass(`${block.value}__icon`),
|
|
@@ -263,7 +275,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
263
275
|
key: 2,
|
|
264
276
|
class: normalizeClass(`${block.value}__end`)
|
|
265
277
|
}, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
|
|
266
|
-
],
|
|
278
|
+
], 16, _hoisted_1)]),
|
|
267
279
|
default: withCtx(({ close, confirmHoverOpen, focusRequest }) => [
|
|
268
280
|
createCommentVNode(" 面板盖住了标题块:确认悬停打开的那一下点在这里,钉住菜单;之后再点才关闭。 "),
|
|
269
281
|
createElementVNode("button", {
|
|
@@ -292,12 +304,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
292
304
|
_: 3
|
|
293
305
|
}, 8, [
|
|
294
306
|
"show-delay",
|
|
307
|
+
"measures-overlap-inset",
|
|
308
|
+
"is-outside-trigger",
|
|
295
309
|
"label",
|
|
296
310
|
"panel-class"
|
|
297
|
-
])) : (openBlock(), createElementBlock("div", {
|
|
298
|
-
key: 4,
|
|
299
|
-
class: normalizeClass(block.value)
|
|
300
|
-
}, [
|
|
311
|
+
])) : (openBlock(), createElementBlock("div", mergeProps({ key: 4 }, unref(attrs), { class: block.value }), [
|
|
301
312
|
logoIsLink.value && unref(hasSlotContent)(_ctx.$slots.icon) ? (openBlock(), createBlock(resolveDynamicComponent(headingRoot.value), {
|
|
302
313
|
key: 0,
|
|
303
314
|
class: normalizeClass(`${block.value}__icon`),
|
|
@@ -321,7 +332,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
321
332
|
key: 2,
|
|
322
333
|
class: normalizeClass(`${block.value}__end`)
|
|
323
334
|
}, [renderSlot(_ctx.$slots, "end")], 2)) : createCommentVNode("v-if", true)
|
|
324
|
-
],
|
|
335
|
+
], 16));
|
|
325
336
|
};
|
|
326
337
|
}
|
|
327
338
|
});
|
package/dist/NavItem/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as NavItemSize, i as NavItemProps, n as NavIconSlots, o as NavItemSlots, r as NavItemEmits, s as NavLinkComponent, t as NavIconProps } from "../types-C2ZuV4jf.js";
|
|
2
|
-
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-
|
|
2
|
+
import { n as _default, r as resolveNavRoot, t as _default$1 } from "../index-BfFpUr1B.js";
|
|
3
3
|
export { _default as NavIcon, type NavIconProps, type NavIconSlots, _default$1 as NavItem, type NavItemEmits, type NavItemProps, type NavItemSize, type NavItemSlots, type NavLinkComponent, resolveNavRoot };
|
package/dist/NavMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default, c as NavHeadingMenuItemEmits, d as NavMenuEmits, f as NavMenuItemEmits, g as NavMenuSize, h as NavMenuFocusRequest, i as _default$1, l as NavHeadingMenuItemProps, m as NavMenuProps, n as _default$3, o as NavDisclosureProps, p as NavMenuItemProps, r as _default$2, s as NavHeadingMenuEmits, t as _default$4, u as NavHeadingMenuProps } from "../index-
|
|
1
|
+
import { a as _default, c as NavHeadingMenuItemEmits, d as NavMenuEmits, f as NavMenuItemEmits, g as NavMenuSize, h as NavMenuFocusRequest, i as _default$1, l as NavHeadingMenuItemProps, m as NavMenuProps, n as _default$3, o as NavDisclosureProps, p as NavMenuItemProps, r as _default$2, s as NavHeadingMenuEmits, t as _default$4, u as NavHeadingMenuProps } from "../index-CtR2_TiL.js";
|
|
2
2
|
export { _default as NavDisclosure, type NavDisclosureProps, _default$1 as NavHeadingMenu, type NavHeadingMenuEmits, _default$2 as NavHeadingMenuItem, type NavHeadingMenuItemEmits, type NavHeadingMenuItemProps, type NavHeadingMenuProps, _default$3 as NavMenu, type NavMenuEmits, type NavMenuFocusRequest, _default$4 as NavMenuItem, type NavMenuItemEmits, type NavMenuItemProps, type NavMenuProps, type NavMenuSize };
|
package/dist/NavMenu/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NavDisclosure-
|
|
2
|
-
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-
|
|
3
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-
|
|
1
|
+
import { t as _sfc_main } from "../NavDisclosure-BZntpJLd.js";
|
|
2
|
+
import { n as _sfc_main$1, t as _sfc_main$2 } from "../NavMenu-B14_ovBG.js";
|
|
3
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "../NavMenuItem-DMXY_6AO.js";
|
|
4
4
|
export { _sfc_main as NavDisclosure, _sfc_main$1 as NavHeadingMenu, _sfc_main$2 as NavHeadingMenuItem, _sfc_main$3 as NavMenu, _sfc_main$4 as NavMenuItem };
|
|
@@ -9,7 +9,7 @@ import { r as keepDisabledRowUnfocused } from "./menuActivation-BQqnzKAX.js";
|
|
|
9
9
|
import { t as useFocusAcrossSwap } from "./focusAcrossSwap-DYmqoqKg.js";
|
|
10
10
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
11
11
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
12
|
-
import { a as navMenuLabelKey, i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-
|
|
12
|
+
import { a as navMenuLabelKey, i as navMenuKey, n as navMenuCloseKey, r as navMenuFocusKey } from "./NavDisclosure-BZntpJLd.js";
|
|
13
13
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useTemplateRef, watch, withCtx } from "vue";
|
|
14
14
|
import "../styles/nav-menu.css";
|
|
15
15
|
//#region src/NavMenu/NavHeadingMenu.vue
|
|
@@ -6,7 +6,7 @@ import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
|
|
|
6
6
|
import { n as useMenuPress } from "./useMenuPress-DKGeEWJw.js";
|
|
7
7
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
8
8
|
import { n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
9
|
-
import { i as navMenuKey, n as navMenuCloseKey, o as navMenuPickKey } from "./NavDisclosure-
|
|
9
|
+
import { i as navMenuKey, n as navMenuCloseKey, o as navMenuPickKey } from "./NavDisclosure-BZntpJLd.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
11
11
|
import "../styles/nav-menu.css";
|
|
12
12
|
//#region src/NavMenu/NavMenu.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gi as NumberInputStatus, Hi as _default, Ki as NumberInputEntryError, Ui as NumberInputEmits, Wi as NumberInputProps } from "../index-
|
|
1
|
+
import { Gi as NumberInputStatus, Hi as _default, Ki as NumberInputEntryError, Ui as NumberInputEmits, Wi as NumberInputProps } from "../index-YiWq-3TF.js";
|
|
2
2
|
export { _default as NumberInput, type NumberInputEmits, type NumberInputEntryError, type NumberInputProps, type NumberInputStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../NumberInput-
|
|
1
|
+
import { t as _sfc_main } from "../NumberInput-CQmyAC9u.js";
|
|
2
2
|
export { _sfc_main as NumberInput };
|
|
@@ -7,17 +7,17 @@ import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
|
7
7
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
8
8
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as _sfc_main$4 } from "./FieldIcon-C6A69-um.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
10
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-DcHfO3cg.js";
|
|
11
11
|
import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
|
|
12
12
|
import { n as toAsciiDigits, t as INVISIBLE_CHARS } from "./unicodeDigits-_BYIJcAu.js";
|
|
13
13
|
import { t as useMobileKeyboard } from "./useMobileKeyboard-DxddrPiU.js";
|
|
14
14
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
15
15
|
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
16
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
16
|
+
import { t as _sfc_main$6 } from "./Field-BiLdRQCq.js";
|
|
17
17
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
18
18
|
import { t as numberInputMessages } from "./number-input-DTjrRWmU.js";
|
|
19
19
|
import { t as useEntryErrorReport } from "./useEntryErrorReport-Wee3N8IA.js";
|
|
20
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
20
|
+
import { t as _sfc_main$7 } from "./InputClearButton-oqum48Bd.js";
|
|
21
21
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, openBlock, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
22
22
|
import "../styles/number-input.css";
|
|
23
23
|
//#region src/NumberInput/numberParser.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bi as OverflowListItem, Li as _default, Ri as OverflowListCollapsedItem, Vi as OverflowListProps, zi as OverflowListEmits } from "../index-
|
|
1
|
+
import { Bi as OverflowListItem, Li as _default, Ri as OverflowListCollapsedItem, Vi as OverflowListProps, zi as OverflowListEmits } from "../index-YiWq-3TF.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-wrh7FgSu.js";
|
|
2
2
|
export { _sfc_main as OverflowList };
|
|
@@ -3,8 +3,8 @@ import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
|
3
3
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
4
4
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
5
5
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./NavDisclosure-
|
|
7
|
-
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-
|
|
6
|
+
import { t as _sfc_main$2 } from "./NavDisclosure-BZntpJLd.js";
|
|
7
|
+
import { n as _sfc_main$3, t as _sfc_main$4 } from "./NavMenuItem-DMXY_6AO.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx } from "vue";
|
|
9
9
|
import "../styles/overflow-list.css";
|
|
10
10
|
//#region src/OverflowList/OverflowMore.vue
|
package/dist/Overlay/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-
|
|
1
|
+
import { a as OverlayContainerProps, c as OverlayScrimMode, d as OverlayShowOn, f as OverlaySlots, i as OverlayAlign, l as OverlayScrimProps, m as UseOverlayResult, n as _default$1, o as OverlayPosition, p as UseOverlayOptions, r as _default, s as OverlayProps, t as useOverlay, u as OverlayScrimSlots } from "../index-BuubzuE8.js";
|
|
2
2
|
export { _default as Overlay, type OverlayAlign, type OverlayContainerProps, type OverlayPosition, type OverlayProps, _default$1 as OverlayScrim, type OverlayScrimMode, type OverlayScrimProps, type OverlayScrimSlots, type OverlayShowOn, type OverlaySlots, type UseOverlayOptions, type UseOverlayResult, useOverlay };
|
|
@@ -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-B_XTzQhm.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-BYSzfJNC.js";
|
|
2
2
|
export { _sfc_main as Pagination };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as useTouchHitAreas } from "./useTouchHitArea-Cs4K31MA.js";
|
|
1
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
2
3
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
4
|
import { t as focusForLastInput } from "./focusReturn-CXHM5lOY.js";
|
|
@@ -7,9 +8,9 @@ import { t as useFocusAcrossSwap } from "./focusAcrossSwap-DYmqoqKg.js";
|
|
|
7
8
|
import { t as consumeWhileDisabled } from "./disabledInteraction-Bqoyhoss.js";
|
|
8
9
|
import { i as safeNavHref } from "./link-DuuA2eCL.js";
|
|
9
10
|
import { t as paginationMessages } from "./pagination-CxZBYsPu.js";
|
|
10
|
-
import { t as _sfc_main$1 } from "./NumberInput-
|
|
11
|
-
import { t as _sfc_main$2 } from "./Selector-
|
|
12
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toValue, unref, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
11
|
+
import { t as _sfc_main$1 } from "./NumberInput-CQmyAC9u.js";
|
|
12
|
+
import { t as _sfc_main$2 } from "./Selector-Bq-ko1bT.js";
|
|
13
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toValue, unref, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
13
14
|
import "../styles/pagination.css";
|
|
14
15
|
/**
|
|
15
16
|
* 按容器宽度决定分页怎么排。
|
|
@@ -319,10 +320,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
319
320
|
const resolvedPageSizeLabel = computed(() => props.pageSizeLabel ?? messages.value.pagination.perPage);
|
|
320
321
|
const resolvedPageLabel = computed(() => props.pageLabel ?? messages.value.pagination.pageLabel);
|
|
321
322
|
const pending = usePendingChange(() => props.changeAction);
|
|
323
|
+
/** 页数优先按 `totalPages` 算;没给时才由条目总数(`totalItems`、`total`)推出来。 */
|
|
322
324
|
function resolvedItemTotal() {
|
|
323
|
-
if (props.totalItems != null && props.totalItems > 0) return props.totalItems;
|
|
324
|
-
if (props.total > 0) return props.total;
|
|
325
325
|
if (props.totalPages != null && props.totalPages > 0) return props.totalPages * props.pageSize;
|
|
326
|
+
if (props.totalItems != null && props.totalItems > 0) return props.totalItems;
|
|
326
327
|
return props.total;
|
|
327
328
|
}
|
|
328
329
|
const pageRef = ref(props.page);
|
|
@@ -450,8 +451,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
450
451
|
const fromIndex = computed(() => {
|
|
451
452
|
return (pageRef.value - 1) * pageSizeRef.value + 1;
|
|
452
453
|
});
|
|
454
|
+
/** 显示的条目总数:给了条目数就用它,页数来自 `totalPages` 时也一样;只给页数时按页数乘每页条数。 */
|
|
455
|
+
const itemTotal = computed(() => {
|
|
456
|
+
if (props.totalItems != null && props.totalItems > 0) return props.totalItems;
|
|
457
|
+
return props.total > 0 ? props.total : totalRef.value;
|
|
458
|
+
});
|
|
453
459
|
const toIndex = computed(() => {
|
|
454
|
-
return Math.min(pageRef.value * pageSizeRef.value,
|
|
460
|
+
return Math.min(pageRef.value * pageSizeRef.value, itemTotal.value);
|
|
455
461
|
});
|
|
456
462
|
function isEllipsis(page) {
|
|
457
463
|
return page === -1;
|
|
@@ -468,6 +474,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
468
474
|
wrap: true,
|
|
469
475
|
orientation: "horizontal"
|
|
470
476
|
});
|
|
477
|
+
const dotElements = useTemplateRef("dots");
|
|
478
|
+
useTouchHitAreas(dotElements, () => props.variant === "dots" && !disabledControl.value);
|
|
471
479
|
function setDotsList(element) {
|
|
472
480
|
dotsFocus.listRef.value = element;
|
|
473
481
|
}
|
|
@@ -497,10 +505,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
497
505
|
"aria-label": regionLabel.value,
|
|
498
506
|
"aria-busy": unref(pending).busy.value || void 0
|
|
499
507
|
}, [props.showTotal ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "total", {
|
|
500
|
-
total:
|
|
508
|
+
total: itemTotal.value,
|
|
501
509
|
from: fromIndex.value,
|
|
502
510
|
to: toIndex.value
|
|
503
|
-
}, () => [createTextVNode(toDisplayString(unref(messages).pagination.total(
|
|
511
|
+
}, () => [createTextVNode(toDisplayString(unref(messages).pagination.total(itemTotal.value, fromIndex.value, toIndex.value)), 1)])])) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
504
512
|
class: "astryx-pagination-content astryx-pagination-list",
|
|
505
513
|
"data-variant": variant.value,
|
|
506
514
|
"data-size": props.size
|
|
@@ -578,7 +586,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
578
586
|
"is-disabled"
|
|
579
587
|
]),
|
|
580
588
|
!unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(unref(messages).pagination.ofTotal(unref(pagination).totalPages.value)), 1)) : createCommentVNode("v-if", true)
|
|
581
|
-
])) : variant.value === "count" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(messages).pagination.total(
|
|
589
|
+
])) : variant.value === "count" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(unref(messages).pagination.total(itemTotal.value, fromIndex.value, toIndex.value)), 1)) : variant.value === "compact" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(unref(messages).pagination.pageOf(pageRef.value, unref(pagination).totalPages.value)), 1)) : variant.value === "dots" && !unref(pagination).isCursor.value ? (openBlock(), createElementBlock("div", {
|
|
582
590
|
key: 4,
|
|
583
591
|
ref: setDotsList,
|
|
584
592
|
class: "astryx-pagination-dots",
|
|
@@ -588,10 +596,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
588
596
|
onKeydown: _cache[5] || (_cache[5] = (...args) => unref(dotsFocus).handleKeyDown && unref(dotsFocus).handleKeyDown(...args))
|
|
589
597
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pagination).totalPages.value, (dotPage) => {
|
|
590
598
|
return openBlock(), createElementBlock("button", {
|
|
599
|
+
ref_for: true,
|
|
600
|
+
ref: "dots",
|
|
591
601
|
key: dotPage,
|
|
592
602
|
type: "button",
|
|
593
603
|
role: "radio",
|
|
594
|
-
class: normalizeClass(["astryx-pagination-dot", {
|
|
604
|
+
class: normalizeClass(["astryx-pagination-dot", {
|
|
605
|
+
"is-active": dotPage === pageRef.value,
|
|
606
|
+
"astryx-touch-hit-area": !disabledControl.value
|
|
607
|
+
}]),
|
|
595
608
|
"data-page": dotPage,
|
|
596
609
|
tabindex: dotPage === pageRef.value ? 0 : -1,
|
|
597
610
|
"aria-disabled": disabledControl.value || void 0,
|
package/dist/Popover/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as PopoverProps, i as PopoverPresentation, n as PopoverPadding, o as PopoverRole, r as PopoverPlacement, s as PopoverTabBehavior, t as PopoverAlignment } from "../types-BsFCq23a.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-C6smY0js.js";
|
|
3
3
|
export { _default as Popover, type PopoverAlignment, type PopoverPadding, type PopoverPlacement, type PopoverPresentation, type PopoverProps, type PopoverRole, type PopoverTabBehavior, 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-CzfrvUf-.js";
|
|
2
2
|
export { _sfc_main as Popover, usePopover };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
2
|
-
import { r as layerEntranceSide, t as useDismiss } from "./useDismiss-
|
|
3
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
2
|
+
import { r as layerEntranceSide, t as useDismiss } from "./useDismiss-BqTTrMi-.js";
|
|
3
|
+
import { n as useLayer } from "./tooltipTriggerRules-DR2MfrQ3.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./LayerContentBoundary-CMjCvF35.js";
|
|
5
|
-
import { t as _sfc_main$3 } from "./Button-
|
|
5
|
+
import { t as _sfc_main$3 } from "./Button-CWzILTBG.js";
|
|
6
6
|
import { n as createMotionEngine } from "./animator-L1kmTBSi.js";
|
|
7
7
|
import { t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as PowerSearchOperator, Ci as PowerSearchEntity, Di as PowerSearchFilter, Ei as PowerSearchFieldType, Fi as PowerSearchSlots, Ii as PowerSearchStatus, Mi as PowerSearchPresentation, Ni as PowerSearchProps, Oi as PowerSearchHandle, Pi as PowerSearchSize, Si as PowerSearchEmits, Ti as PowerSearchFieldDefinition, _i as OperatorValue, ai as _default, bi as PowerSearchComponents, ci as formatDateAbsolute, di as completePowerSearchFilter, ei as searchPowerSearchFields, fi as PowerSearchLookup, gi as FilterValue, hi as DateTimeRangePart, ii as usePowerSearchConfig, ji as PowerSearchOverflow, ki as PowerSearchItem, li as formatDateAbsoluteCompact, mi as DateTimeRange, ni as applyPowerSearchFilters, oi as resolveEditorPlacement, pi as createPowerSearchLookup, ri as createPowerSearchConfig, si as resolveOperatorLabel, ti as InferPowerSearchData, ui as formatFilterValue, vi as PartialFilter, wi as PowerSearchField, xi as PowerSearchConfig, yi as PowerSearchChangeType } from "../index-
|
|
1
|
+
import { Ai as PowerSearchOperator, Ci as PowerSearchEntity, Di as PowerSearchFilter, Ei as PowerSearchFieldType, Fi as PowerSearchSlots, Ii as PowerSearchStatus, Mi as PowerSearchPresentation, Ni as PowerSearchProps, Oi as PowerSearchHandle, Pi as PowerSearchSize, Si as PowerSearchEmits, Ti as PowerSearchFieldDefinition, _i as OperatorValue, ai as _default, bi as PowerSearchComponents, ci as formatDateAbsolute, di as completePowerSearchFilter, ei as searchPowerSearchFields, fi as PowerSearchLookup, gi as FilterValue, hi as DateTimeRangePart, ii as usePowerSearchConfig, ji as PowerSearchOverflow, ki as PowerSearchItem, li as formatDateAbsoluteCompact, mi as DateTimeRange, ni as applyPowerSearchFilters, oi as resolveEditorPlacement, pi as createPowerSearchLookup, ri as createPowerSearchConfig, si as resolveOperatorLabel, ti as InferPowerSearchData, ui as formatFilterValue, vi as PartialFilter, wi as PowerSearchField, xi as PowerSearchConfig, yi as PowerSearchChangeType } from "../index-YiWq-3TF.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 PowerSearchPresentation, 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-2hGn7uOl.js";
|
|
2
2
|
export { _sfc_main as PowerSearch, applyPowerSearchFilters, completePowerSearchFilter, createPowerSearchConfig, createPowerSearchLookup, formatDateAbsolute, formatDateAbsoluteCompact, formatFilterValue, resolveEditorPlacement, resolveOperatorLabel, searchPowerSearchFields, usePowerSearchConfig };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { t as _sfc_main$13 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
3
3
|
import { i as useLayerGutter } from "./context-M-er0-Rk.js";
|
|
4
|
-
import { t as useDismiss } from "./useDismiss-
|
|
5
|
-
import { t as _sfc_main$14 } from "./Button-
|
|
4
|
+
import { t as useDismiss } from "./useDismiss-BqTTrMi-.js";
|
|
5
|
+
import { t as _sfc_main$14 } from "./Button-CWzILTBG.js";
|
|
6
6
|
import { r as truncateCharacters, t as characterCount } from "./characters-DmSa8HSB.js";
|
|
7
7
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
8
8
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
10
10
|
import { t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
11
|
-
import { t as _sfc_main$15 } from "./IconButton-
|
|
12
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
11
|
+
import { t as _sfc_main$15 } from "./IconButton-Bd0TmKGO.js";
|
|
12
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-DXGI-PHr.js";
|
|
13
13
|
import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
|
|
14
14
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
15
|
-
import { t as _sfc_main$16 } from "./Tooltip-
|
|
16
|
-
import { t as _sfc_main$17 } from "./Heading-
|
|
15
|
+
import { t as _sfc_main$16 } from "./Tooltip-Du2qh5Oz.js";
|
|
16
|
+
import { t as _sfc_main$17 } from "./Heading-DHuEWiNg.js";
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
|
-
import { t as _sfc_main$18 } from "./Text-
|
|
18
|
+
import { t as _sfc_main$18 } from "./Text-S8qRNR8c.js";
|
|
19
19
|
import { t as LazyBottomSheet } from "./lazyBottomSheet-BHzk8JsS.js";
|
|
20
20
|
import { r as useCalendarSystem } from "./calendar-C7py_wtb.js";
|
|
21
21
|
import { r as formatCalendarInstant } from "./calendarFormat-DTC8AICa.js";
|
|
22
22
|
import { t as _sfc_main$19 } from "./Calendar-BGn9PQI8.js";
|
|
23
|
-
import { t as _sfc_main$20 } from "./Field-
|
|
23
|
+
import { t as _sfc_main$20 } from "./Field-BiLdRQCq.js";
|
|
24
24
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
25
|
-
import { n as _sfc_main$21, t as _sfc_main$22 } from "./ListItem-
|
|
26
|
-
import { n as _sfc_main$23, t as _sfc_main$24 } from "./CheckboxListItem-
|
|
27
|
-
import { t as _sfc_main$25 } from "./DateInput-
|
|
25
|
+
import { n as _sfc_main$21, t as _sfc_main$22 } from "./ListItem-C-ojoRaq.js";
|
|
26
|
+
import { n as _sfc_main$23, t as _sfc_main$24 } from "./CheckboxListItem-BZSjclkl.js";
|
|
27
|
+
import { t as _sfc_main$25 } from "./DateInput-vpZpaOqD.js";
|
|
28
28
|
import { t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
29
29
|
import { l as powerSearchMessages, u as powerSearchSheetMessages } from "./loadCatalog-DXx3soG1.js";
|
|
30
|
-
import { t as _sfc_main$26 } from "./DateRangeInput-
|
|
31
|
-
import { t as _sfc_main$27 } from "./DateTimeInput-
|
|
32
|
-
import { t as _sfc_main$28 } from "./EmptyState-
|
|
30
|
+
import { t as _sfc_main$26 } from "./DateRangeInput-Bfa1Btc6.js";
|
|
31
|
+
import { t as _sfc_main$27 } from "./DateTimeInput-DD8euLAL.js";
|
|
32
|
+
import { t as _sfc_main$28 } from "./EmptyState-Dd1opiK7.js";
|
|
33
33
|
import { n as tokenNamingKey, t as _sfc_main$29 } from "./Token-Dmz6vEMX.js";
|
|
34
|
-
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-
|
|
35
|
-
import { t as _sfc_main$30 } from "./MultiSelector-
|
|
36
|
-
import { n as resolveNumberInputCommit, t as _sfc_main$31 } from "./NumberInput-
|
|
37
|
-
import { t as _sfc_main$32 } from "./Selector-
|
|
38
|
-
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-
|
|
39
|
-
import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-
|
|
40
|
-
import { t as _sfc_main$35 } from "./TextInput-
|
|
41
|
-
import { n as _sfc_main$36, t as _sfc_main$37 } from "./RadioListItem-
|
|
42
|
-
import { t as _sfc_main$38 } from "./TimeInput-
|
|
43
|
-
import { t as _sfc_main$39 } from "./Typeahead-
|
|
34
|
+
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BMwmHp6q.js";
|
|
35
|
+
import { t as _sfc_main$30 } from "./MultiSelector-BggYBW9X.js";
|
|
36
|
+
import { n as resolveNumberInputCommit, t as _sfc_main$31 } from "./NumberInput-CQmyAC9u.js";
|
|
37
|
+
import { t as _sfc_main$32 } from "./Selector-Bq-ko1bT.js";
|
|
38
|
+
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-Cry4Kgfr.js";
|
|
39
|
+
import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-C85VTMGP.js";
|
|
40
|
+
import { t as _sfc_main$35 } from "./TextInput-r6SGYAJV.js";
|
|
41
|
+
import { n as _sfc_main$36, t as _sfc_main$37 } from "./RadioListItem-CssFcD1Y.js";
|
|
42
|
+
import { t as _sfc_main$38 } from "./TimeInput-BXZGp51E.js";
|
|
43
|
+
import { t as _sfc_main$39 } from "./Typeahead-5rX0iyrv.js";
|
|
44
44
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
45
45
|
import "../styles/layer.css";
|
|
46
46
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -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-EB4C8g83.js";
|
|
2
2
|
export { _sfc_main as ProgressBar };
|
|
@@ -2,7 +2,7 @@ import { s as formatMotionRoleValue } from "./roles-D6hLs7Rg.js";
|
|
|
2
2
|
import { o as timing } from "./linearEasing-CDsqxyiS.js";
|
|
3
3
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
4
4
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
5
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
5
|
+
import { t as _sfc_main$1 } from "./Tooltip-Du2qh5Oz.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
7
7
|
import "../styles/visually-hidden.css";
|
|
8
8
|
import "../styles/progress-bar.css";
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as RadioValue, Br as _default, Hr as RadioGroupEmits, Jr as RadioProps, Kr as RadioOption, Qr as RadioStatusType, Ur as RadioGroupProps, Vr as RadioChangeEvent, Wr as RadioGroupSlots, Xr as RadioSlots, Yr as RadioSize, Zr as RadioStatus, qr as RadioOrientation, zr as _default$1 } from "../index-
|
|
1
|
+
import { $r as RadioValue, Br as _default, Hr as RadioGroupEmits, Jr as RadioProps, Kr as RadioOption, Qr as RadioStatusType, Ur as RadioGroupProps, Vr as RadioChangeEvent, Wr as RadioGroupSlots, Xr as RadioSlots, Yr as RadioSize, Zr as RadioStatus, qr as RadioOrientation, zr as _default$1 } from "../index-YiWq-3TF.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-kFw6aAKj.js";
|
|
2
2
|
export { _sfc_main as Radio, _sfc_main$1 as RadioGroup };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as useTouchHitArea } from "./useTouchHitArea-
|
|
1
|
+
import { n as useTouchHitArea } from "./useTouchHitArea-Cs4K31MA.js";
|
|
2
2
|
import { t as usePressFeedback } from "./usePressFeedback-X_9-5DMi.js";
|
|
3
3
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
5
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
5
|
+
import { t as _sfc_main$3 } from "./Tooltip-Du2qh5Oz.js";
|
|
6
6
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
7
7
|
import { t as useIndicator } from "./useIndicator-Co1ERlg-.js";
|
|
8
8
|
import { n as pressBoxProps, t as registerBoxHold } from "./boxHold-JsQX9R5i.js";
|
|
9
9
|
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
10
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
10
|
+
import { t as _sfc_main$4 } from "./Field-BiLdRQCq.js";
|
|
11
11
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
12
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, withCtx } from "vue";
|
|
13
13
|
import "../styles/radio.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gr as RadioListProps, Ir as _default$1, Lr as RadioListItemProps, Rr as _default } from "../index-
|
|
1
|
+
import { Gr as RadioListProps, Ir as _default$1, Lr as RadioListItemProps, Rr as _default } from "../index-YiWq-3TF.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
package/dist/RadioList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioListItem-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../RadioListItem-CssFcD1Y.js";
|
|
2
2
|
export { _sfc_main as RadioList, _sfc_main$1 as RadioListItem };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-
|
|
1
|
+
import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-kFw6aAKj.js";
|
|
2
2
|
import { createBlock, createSlots, defineComponent, mergeModels, openBlock, renderSlot, useModel, withCtx } from "vue";
|
|
3
3
|
//#region src/Radio/RadioList.vue
|
|
4
4
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as ScrollableAreaSlots, Nr as _default, Pr as ScrollableAreaProps } from "../index-
|
|
1
|
+
import { Fr as ScrollableAreaSlots, Nr as _default, Pr as ScrollableAreaProps } from "../index-YiWq-3TF.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../SegmentedControl-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../SegmentedControl-C5I9xTij.js";
|
|
2
2
|
export { _sfc_main as SegmentedControl, _sfc_main$1 as SegmentedControlItem };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as pressFadeMs, t as PRESSED_ATTRIBUTE } from "./pressSlot-WuaTVSU4.js";
|
|
2
2
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
3
3
|
import { t as armClickGuard } from "./clickGuard-DOe-7mpi.js";
|
|
4
|
-
import { n as useTouchHitArea } from "./useTouchHitArea-
|
|
4
|
+
import { n as useTouchHitArea } from "./useTouchHitArea-Cs4K31MA.js";
|
|
5
5
|
import { a as registerMotionTable } from "./roles-D6hLs7Rg.js";
|
|
6
6
|
import { t as usePressFeedback } from "./usePressFeedback-X_9-5DMi.js";
|
|
7
7
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as SelectableCardEmits, Dr as SelectableCardInput, Mr as SelectableCardSlots, Or as selectableCardInputKey, jr as SelectableCardProps, kr as _default } from "../index-
|
|
1
|
+
import { Ar as SelectableCardEmits, Dr as SelectableCardInput, Mr as SelectableCardSlots, Or as selectableCardInputKey, jr as SelectableCardProps, kr as _default } from "../index-YiWq-3TF.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardInput, type SelectableCardProps, type SelectableCardSlots, selectableCardInputKey };
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-DCH2D3wa.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|