@astryx-vue/core 0.5.2 → 0.6.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-Dorcqkwf.js → AlertDialog-CBkJecfc.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-Df9SFUhh.js → Banner-CswzZPfJ.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-kPETVOpi.js → Breadcrumbs-DRXYUqOk.js} +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-bxKFDhhg.js → Button-xMGOU3Wj.js} +25 -6
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-CeRJOasP.js → Carousel-2kgXe9Jj.js} +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-CfvndIgD.js → Chat-sNg2CZ_P.js} +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CMtJ0qXQ.js → CheckboxInput-D0SSjziv.js} +4 -6
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-Cg8GC1l2.js → CheckboxList-DnqRfWKg.js} +3 -3
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-ChAfiw9T.js → ClickableCard-DM66XZ07.js} +21 -10
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-DSjv__N9.js → CodeBlock-CysuhZZ9.js} +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DcPOOrZp.js → ComplexSelector-32r0RVQE.js} +2 -2
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BfR_bV-E.js → DateInput-B57PrbII.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DholSURy.js → DateRangeInput-D-umWs1s.js} +4 -4
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B6-bHZlz.js → DateTimeInput-BMw1A5Q3.js} +4 -4
- package/dist/Dialog/index.js +1 -1
- package/dist/{Dialog-C2qblOuT.js → Dialog-CL8u76KG.js} +1 -1
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DaxYMyco.js → DropdownMenu-C0QDklYy.js} +1 -1
- package/dist/{DropdownMenu-BwsljguO.js → DropdownMenu-DO9lDRvW.js} +1 -1
- package/dist/{DropdownMenuRadioItem.vue-C6W2wPLv.d.ts → DropdownMenuRadioItem.vue-D-VSfulY.d.ts} +1 -1
- package/dist/Field/index.js +3 -3
- package/dist/{Field-ff-Jmtg1.js → Field-DRQuVVlH.js} +1 -1
- package/dist/{FieldInfoTip-DRXvsWkr.js → FieldInfoTip-Ci5usYvE.js} +2 -2
- package/dist/{FieldLabel-CCA3AmQX.js → FieldLabel-MeJlcRRG.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-CnBaHvNx.js → FileInput-lAMIbbni.js} +3 -3
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-BkR7nVB3.js → IconButton-BmMIccb4.js} +1 -1
- package/dist/{InputClearButton-DKnC8sst.js → InputClearButton-CBCi06tn.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-BBspcJsS.js → InputGroup-DN69Nt4T.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-DclM0Brf.js → Lightbox-DmrWEQY7.js} +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-C50dTXDc.js → Link-Dq-v9ioN.js} +31 -7
- package/dist/List/index.d.ts +3 -3
- package/dist/List/index.js +1 -1
- package/dist/{ListItem-BQXMu1Tb.js → ListItem-Cq_nU1YV.js} +7 -0
- package/dist/Markdown/index.js +1 -1
- package/dist/Markdown/plugin-protocol/index.js +4 -3
- package/dist/{Markdown-Cs8R5hG6.js → Markdown-b8M7X3Pg.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-BAgTOJL3.js → MoreMenu-op981Hx8.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-V_VrLRdF.js → MultiSelector-DVqD6OEy.js} +4 -4
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-C8iCWQih.js → NumberInput-DP7XAtGl.js} +4 -4
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DfsCrTIx.js → Pagination-L0IDhBbo.js} +2 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-Dmpyfb45.js → Popover-DsGCMcaU.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BX8pD6L4.js → PowerSearch-CBYYhpvA.js} +14 -14
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-Bcu-oL8r.js → RadioGroup-aPYacVf4.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-C8Y3PhDF.js → RadioList-bSQ-r2bJ.js} +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-PBkInp3I.js → Selector-Dle5Lbvs.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-CzhSOS4W.js → SideNav-2YawTRxj.js} +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-BZwZrqCw.js → Slider-gMrMfGWl.js} +2 -2
- 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-D145VGQZ.js → Switch-DSuC0F7H.js} +10 -7
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-B2bj8INX.js → Table-DiCsQaqu.js} +9 -9
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Dxl4UuIg.js → TextArea-DpDQCb59.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Ciy-VyBn.js → TextInput-CzAq1vnQ.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DnWOc0od.js → Thumbnail-CiTkiqS_.js} +1 -1
- package/dist/{TimeField-Bglx_QpO.js → TimeField-Dajh0ej2.js} +2 -2
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-T_kjTVaa.js → TimeInput-BVrrBcMF.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-DUUoQOjg.js → Timestamp-Bf6iQTk6.js} +26 -10
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-BaTlbgA5.js → ToggleButton-Cq82SwPx.js} +3 -2
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-BHzLrzib.js → Token-CBrEN21_.js} +22 -13
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-BxJM9mMl.js → Tokenizer-DxOCrbq3.js} +4 -4
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-C7e2vky1.js → Typeahead-XpX5aA-Q.js} +4 -4
- package/dist/{TypeaheadMenu-wfBWRFQ6.js → TypeaheadMenu-By-HLpFy.js} +4 -0
- package/dist/composables/index.js +1 -1
- package/dist/disabledInteraction-C9lrgFxB.js +28 -0
- package/dist/{index-jBub29ti.d.ts → index-B1WWphal.d.ts} +1 -1
- package/dist/{index-Eq5mEh80.d.ts → index-B5cFQLav.d.ts} +14 -14
- package/dist/{index-CuEB_3NR.d.ts → index-C_6RCsGf.d.ts} +1 -1
- package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
- package/dist/{index-B9e52paP.d.ts → index-Cy1rEWC-.d.ts} +6 -3
- package/dist/{index-D_hTdmy2.d.ts → index-DybUnyAp.d.ts} +4 -4
- package/dist/{index-CUCcYKxl.d.ts → index-UFlyBbRd.d.ts} +4 -1
- package/dist/{index-BUlAPQW0.d.ts → index-_pze-_fd.d.ts} +2 -2
- package/dist/{index-CPo4LcHV.d.ts → index-eP0-QrWx.d.ts} +3 -3
- package/dist/index.d.ts +13 -13
- package/dist/index.js +52 -52
- package/dist/{searchResultMessage-Do17kweN.js → searchResultMessage-DEyqvflW.js} +1 -1
- package/dist/{types-DGYHIu4I.d.ts → types-Dxs5rf-2.d.ts} +40 -7
- package/dist/{useInputStatusIcon-yj_rY6TQ.js → useInputStatusIcon-BZPOzGDC.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/{utils-z3Q6BGIJ.js → utils-BE5HBOBX.js} +6 -10
- package/package.json +1 -1
- package/styles/list.css +68 -6
- package/styles/markdown.css +9 -0
- package/styles/pagination.css +9 -0
- package/dist/{index-BqhgeAT4.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as _default$3, Qn as _default$4, _r as useSideNavCollapse, ar as SideNavCollapseButtonSlots, cr as SideNavEmits, dr as SideNavItemEmits, er as _default$2, fr as SideNavItemProps, gr as SideNavCollapseContext, hr as SideNavSectionProps, ir as SideNavCollapseButtonSize, lr as SideNavHandle, mr as SideNavResizable, nr as _default, or as SideNavCollapsible, pr as SideNavProps, rr as SideNavCollapseButtonProps, sr as SideNavControlledCollapsible, tr as _default$1, ur as SideNavHeadingProps } from "../index-
|
|
1
|
+
import { $n as _default$3, Qn as _default$4, _r as useSideNavCollapse, ar as SideNavCollapseButtonSlots, cr as SideNavEmits, dr as SideNavItemEmits, er as _default$2, fr as SideNavItemProps, gr as SideNavCollapseContext, hr as SideNavSectionProps, ir as SideNavCollapseButtonSize, lr as SideNavHandle, mr as SideNavResizable, nr as _default, or as SideNavCollapsible, pr as SideNavProps, rr as SideNavCollapseButtonProps, sr as SideNavControlledCollapsible, tr as _default$1, ur as SideNavHeadingProps } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/SideNav/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as useSideNavCollapse } from "../context-BjNya0v8.js";
|
|
2
|
-
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-
|
|
2
|
+
import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-2YawTRxj.js";
|
|
3
3
|
export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _sfc_main$5 } from "./Icon-Dosui-zD.js";
|
|
2
2
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
3
|
-
import { t as _sfc_main$6 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$6 } from "./Button-xMGOU3Wj.js";
|
|
4
4
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
5
5
|
import { n as useResizable, r as useHotkeys } from "./useResizable-I3BCiLSL.js";
|
|
6
6
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
package/dist/Slider/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Slider-
|
|
1
|
+
import { t as _sfc_main } from "../Slider-gMrMfGWl.js";
|
|
2
2
|
export { _sfc_main as Slider };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
3
|
-
import { n as useButtonTooltip } from "./Button-
|
|
3
|
+
import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
6
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
6
|
+
import { t as _sfc_main$4 } from "./Field-DRQuVVlH.js";
|
|
7
7
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx, withKeys } from "vue";
|
|
9
9
|
import "../styles/button.css";
|
package/dist/Stepper/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-
|
|
1
|
+
import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-Ca8VIE4l.js";
|
|
2
2
|
export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-
|
|
1
|
+
import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/Switch/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Switch-
|
|
1
|
+
import { t as _sfc_main } from "../Switch-DSuC0F7H.js";
|
|
2
2
|
export { _sfc_main as Switch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
3
|
-
import { n as useButtonTooltip } from "./Button-
|
|
3
|
+
import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
|
|
4
4
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
6
6
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
7
7
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
8
|
-
import { t as _sfc_main$3 } from "./FieldLabel-
|
|
8
|
+
import { t as _sfc_main$3 } from "./FieldLabel-MeJlcRRG.js";
|
|
9
9
|
import { t as _sfc_main$4 } from "./FieldStatus-BGM4IlHy.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
11
11
|
import "../styles/switch.css";
|
|
@@ -72,7 +72,6 @@ const _hoisted_2 = { class: "astryx-switch-control" };
|
|
|
72
72
|
const _hoisted_3 = [
|
|
73
73
|
"id",
|
|
74
74
|
"checked",
|
|
75
|
-
"disabled",
|
|
76
75
|
"name",
|
|
77
76
|
"form",
|
|
78
77
|
"readonly",
|
|
@@ -202,6 +201,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
202
201
|
showsDisabledMessage.value ? disabledId : void 0
|
|
203
202
|
].filter(Boolean).join(" ") || void 0;
|
|
204
203
|
}
|
|
204
|
+
function labelledBy() {
|
|
205
|
+
const external = attrs["aria-labelledby"];
|
|
206
|
+
if (typeof external === "string" && external.trim() !== "") return external;
|
|
207
|
+
return `${inputId.value}-label`;
|
|
208
|
+
}
|
|
205
209
|
function syncNative() {
|
|
206
210
|
if (input.value) input.value.checked = action.value.value;
|
|
207
211
|
}
|
|
@@ -249,14 +253,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
249
253
|
type: "checkbox",
|
|
250
254
|
role: "switch",
|
|
251
255
|
checked: unref(action).value.value,
|
|
252
|
-
disabled: __props.isDisabled && !showsDisabledMessage.value,
|
|
253
256
|
name: __props.isDisabled ? void 0 : __props.htmlName ?? inputAttrs().name,
|
|
254
|
-
form:
|
|
257
|
+
form: __props.isDisabled ? "" : inputAttrs().form,
|
|
255
258
|
readonly: __props.isReadOnly || showsDisabledMessage.value,
|
|
256
259
|
"aria-checked": unref(action).value.value,
|
|
257
|
-
"aria-labelledby":
|
|
260
|
+
"aria-labelledby": labelledBy(),
|
|
258
261
|
"aria-describedby": describedBy(),
|
|
259
|
-
"aria-disabled":
|
|
262
|
+
"aria-disabled": __props.isDisabled || void 0,
|
|
260
263
|
"aria-readonly": __props.isReadOnly || void 0,
|
|
261
264
|
"aria-busy": busy.value || void 0,
|
|
262
265
|
"aria-required": unref(ariaRequired),
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-
|
|
1
|
+
import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-B5cFQLav.js";
|
|
2
2
|
import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-BJ0DaMml.js";
|
|
3
3
|
export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/Table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-
|
|
1
|
+
import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-DiCsQaqu.js";
|
|
2
2
|
export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _sfc_main$15 } from "./Icon-Dosui-zD.js";
|
|
2
2
|
import { t as _sfc_main$16 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
3
|
-
import { t as _sfc_main$17 } from "./Button-
|
|
3
|
+
import { t as _sfc_main$17 } from "./Button-xMGOU3Wj.js";
|
|
4
4
|
import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
5
5
|
import { n as firstCharacter } from "./characters-wTnzjkkR.js";
|
|
6
6
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
@@ -8,14 +8,14 @@ import { n as useCollator } from "./locale-D4DoSjrL.js";
|
|
|
8
8
|
import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
|
|
9
9
|
import { t as _sfc_main$18 } from "./Tooltip-sAM8i1eO.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
11
|
-
import { t as _sfc_main$19 } from "./CheckboxInput-
|
|
12
|
-
import { t as _sfc_main$20 } from "./Popover-
|
|
13
|
-
import { t as _sfc_main$21 } from "./DateInput-
|
|
14
|
-
import { t as _sfc_main$22 } from "./MultiSelector-
|
|
15
|
-
import { t as _sfc_main$23 } from "./NumberInput-
|
|
16
|
-
import { t as _sfc_main$24 } from "./Pagination-
|
|
17
|
-
import { t as _sfc_main$25 } from "./Selector-
|
|
18
|
-
import { t as _sfc_main$26 } from "./TextInput-
|
|
11
|
+
import { t as _sfc_main$19 } from "./CheckboxInput-D0SSjziv.js";
|
|
12
|
+
import { t as _sfc_main$20 } from "./Popover-DsGCMcaU.js";
|
|
13
|
+
import { t as _sfc_main$21 } from "./DateInput-B57PrbII.js";
|
|
14
|
+
import { t as _sfc_main$22 } from "./MultiSelector-DVqD6OEy.js";
|
|
15
|
+
import { t as _sfc_main$23 } from "./NumberInput-DP7XAtGl.js";
|
|
16
|
+
import { t as _sfc_main$24 } from "./Pagination-L0IDhBbo.js";
|
|
17
|
+
import { t as _sfc_main$25 } from "./Selector-Dle5Lbvs.js";
|
|
18
|
+
import { t as _sfc_main$26 } from "./TextInput-CzAq1vnQ.js";
|
|
19
19
|
import { t as _sfc_main$27 } from "./Toolbar-DKld_COt.js";
|
|
20
20
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, watch, withCtx, withModifiers } from "vue";
|
|
21
21
|
import "../styles/layer.css";
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-
|
|
1
|
+
import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
|
package/dist/TextArea/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextArea-
|
|
1
|
+
import { t as _sfc_main } from "../TextArea-DpDQCb59.js";
|
|
2
2
|
export { _sfc_main as TextArea };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
3
|
-
import { n as useButtonTooltip, r as _sfc_main$3 } from "./Button-
|
|
3
|
+
import { n as useButtonTooltip, r as _sfc_main$3 } from "./Button-xMGOU3Wj.js";
|
|
4
4
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as characterCount } from "./characters-wTnzjkkR.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
7
7
|
import { t as useInputContainer } from "./useInputContainer-CLcYrby4.js";
|
|
8
|
-
import { t as _sfc_main$5 } from "./FieldInfoTip-
|
|
8
|
+
import { t as _sfc_main$5 } from "./FieldInfoTip-Ci5usYvE.js";
|
|
9
9
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
10
10
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
11
|
-
import { t as _sfc_main$6 } from "./Field-
|
|
11
|
+
import { t as _sfc_main$6 } from "./Field-DRQuVVlH.js";
|
|
12
12
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
13
|
-
import { t as _sfc_main$7 } from "./InputClearButton-
|
|
13
|
+
import { t as _sfc_main$7 } from "./InputClearButton-CBCi06tn.js";
|
|
14
14
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
15
15
|
import "../styles/text-area.css";
|
|
16
16
|
//#region src/TextArea/useTextAreaAction.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-
|
|
1
|
+
import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
package/dist/TextInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TextInput-
|
|
1
|
+
import { t as _sfc_main } from "../TextInput-CzAq1vnQ.js";
|
|
2
2
|
export { _sfc_main as TextInput };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
|
-
import { n as useButtonTooltip, r as _sfc_main$2 } from "./Button-
|
|
2
|
+
import { n as useButtonTooltip, r as _sfc_main$2 } from "./Button-xMGOU3Wj.js";
|
|
3
3
|
import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
4
4
|
import { t as useInputContainer } from "./useInputContainer-CLcYrby4.js";
|
|
5
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
5
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BZPOzGDC.js";
|
|
6
6
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
7
7
|
import { i as useAriaRequired } from "./context-Cfml4jaK.js";
|
|
8
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
8
|
+
import { t as _sfc_main$4 } from "./Field-DRQuVVlH.js";
|
|
9
9
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./InputClearButton-
|
|
10
|
+
import { t as _sfc_main$5 } from "./InputClearButton-CBCi06tn.js";
|
|
11
11
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
12
12
|
import "../styles/text-input.css";
|
|
13
13
|
//#region src/TextInput/useTextInputAction.ts
|
package/dist/Thumbnail/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Thumbnail-
|
|
1
|
+
import { t as _sfc_main } from "../Thumbnail-CiTkiqS_.js";
|
|
2
2
|
export { _sfc_main as Thumbnail };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-BmMIccb4.js";
|
|
4
4
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
5
5
|
import { t as _sfc_main$3 } from "./Tooltip-sAM8i1eO.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./Spinner-B7xuy3ZA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
3
|
-
import { n as useButtonTooltip } from "./Button-
|
|
3
|
+
import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
|
|
4
4
|
import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
5
5
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
6
6
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
7
7
|
import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-B7cvG-_v.js";
|
|
8
8
|
import { t as _sfc_main$5 } from "./FieldIcon--Qng2Cup.js";
|
|
9
|
-
import { t as _sfc_main$6 } from "./IconButton-
|
|
9
|
+
import { t as _sfc_main$6 } from "./IconButton-BmMIccb4.js";
|
|
10
10
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
11
11
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
|
|
12
12
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
|
package/dist/TimeInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../TimeInput-BVrrBcMF.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
2
|
-
import { t as _sfc_main$1 } from "./Field-
|
|
2
|
+
import { t as _sfc_main$1 } from "./Field-DRQuVVlH.js";
|
|
3
3
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
4
|
-
import { t as _sfc_main$2 } from "./TimeField-
|
|
4
|
+
import { t as _sfc_main$2 } from "./TimeField-Dajh0ej2.js";
|
|
5
5
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, unref, useAttrs, useId, useModel, withCtx } from "vue";
|
|
6
6
|
//#region src/TimeInput/TimeInput.vue
|
|
7
7
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-B5cFQLav.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-Bf6iQTk6.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
|
|
2
|
-
import { t as _sfc_main$3 } from "./IconButton-
|
|
2
|
+
import { t as _sfc_main$3 } from "./IconButton-BmMIccb4.js";
|
|
3
3
|
import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
4
4
|
import { t as _sfc_main$4 } from "./Text-D5Cc7BMp.js";
|
|
5
5
|
import { t as _sfc_main$5 } from "./HoverCard-BpJhT0sn.js";
|
|
6
6
|
import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
|
|
7
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
|
|
7
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/timestamp.css";
|
|
9
9
|
//#region src/Timestamp/formatRelativeTime.ts
|
|
10
10
|
const MINUTE = 60;
|
|
@@ -219,7 +219,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
219
219
|
const props = __props;
|
|
220
220
|
const locale = useAstryxLocale();
|
|
221
221
|
const messages = useAstryxMessages();
|
|
222
|
-
const now = ref(
|
|
222
|
+
const now = ref(null);
|
|
223
223
|
let timer;
|
|
224
224
|
function parseValue(value) {
|
|
225
225
|
if (typeof value === "number") return new Date(value < 0xe8d4a51000 ? value * 1e3 : value);
|
|
@@ -228,21 +228,37 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
228
228
|
const date = computed(() => parseValue(props.value));
|
|
229
229
|
const valid = computed(() => !Number.isNaN(date.value.getTime()));
|
|
230
230
|
const iso = computed(() => valid.value ? date.value.toISOString() : "");
|
|
231
|
-
|
|
231
|
+
function isRelative(format) {
|
|
232
|
+
return format === "relative" || format === "relative_short";
|
|
233
|
+
}
|
|
234
|
+
/** 相对读数和按新旧切换的 auto 都取决于当前时间,其余格式只看值本身。 */
|
|
235
|
+
const readsClock = computed(() => props.format === "auto" || isRelative(props.format));
|
|
236
|
+
/**
|
|
237
|
+
* 只有客户端能读时钟:服务端没有 onMounted,hydration 那一趟也在 onMounted 之前。
|
|
238
|
+
* 挂载时读一次,之后 format 换成依赖时钟的格式时再补读。
|
|
239
|
+
*/
|
|
240
|
+
function readClock() {
|
|
241
|
+
if (readsClock.value && now.value === null) now.value = /* @__PURE__ */ new Date();
|
|
242
|
+
}
|
|
243
|
+
onMounted(readClock);
|
|
244
|
+
watch(() => props.format, readClock);
|
|
245
|
+
const isClockPending = computed(() => readsClock.value && now.value === null);
|
|
246
|
+
const diffSeconds = computed(() => now.value === null ? 0 : Math.round((now.value.getTime() - date.value.getTime()) / 1e3));
|
|
232
247
|
const effectiveFormat = computed(() => {
|
|
248
|
+
if (isClockPending.value) return "date_time";
|
|
233
249
|
if (props.format !== "auto") return props.format;
|
|
234
250
|
return Math.abs(diffSeconds.value) <= props.autoThreshold ? "relative" : "date_time";
|
|
235
251
|
});
|
|
236
|
-
function isRelative(format) {
|
|
237
|
-
return format === "relative" || format === "relative_short";
|
|
238
|
-
}
|
|
239
252
|
const displayText = computed(() => {
|
|
240
253
|
if (!valid.value) return "";
|
|
241
254
|
const format = effectiveFormat.value;
|
|
242
|
-
if (format === "relative") return formatRelativeTime(date.value, now.value, locale.value, "long");
|
|
243
|
-
if (format === "relative_short") return formatRelativeTime(date.value, now.value, locale.value, "narrow");
|
|
255
|
+
if (format === "relative") return formatRelativeTime(date.value, now.value ?? date.value, locale.value, "long");
|
|
256
|
+
if (format === "relative_short") return formatRelativeTime(date.value, now.value ?? date.value, locale.value, "narrow");
|
|
244
257
|
if (format === "auto") return "";
|
|
245
|
-
return formatInstant(date.value, format, locale.value,
|
|
258
|
+
return formatInstant(date.value, format, locale.value, isClockPending.value ? {
|
|
259
|
+
timeZone: "UTC",
|
|
260
|
+
isTimezoneShown: true
|
|
261
|
+
} : { isTimezoneShown: props.isTimezoneShown });
|
|
246
262
|
});
|
|
247
263
|
const ariaLabel = computed(() => valid.value && isRelative(effectiveFormat.value) ? formatInstant(date.value, "full", locale.value, { timeZoneNameStyle: "long" }) : void 0);
|
|
248
264
|
const entries = computed(() => props.tooltipEntries != null && props.tooltipEntries.length > 0 ? props.tooltipEntries : void 0);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-
|
|
1
|
+
import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-Cq82SwPx.js";
|
|
2
2
|
export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
|
-
import { t as _sfc_main$2 } from "./Button-
|
|
2
|
+
import { t as _sfc_main$2 } from "./Button-xMGOU3Wj.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, openBlock, provide, renderSlot, shallowRef, toDisplayString, useModel, useTemplateRef, withCtx } from "vue";
|
|
4
4
|
import "../styles/toggle-button.css";
|
|
5
5
|
//#region src/ToggleButton/context.ts
|
|
@@ -96,11 +96,12 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
96
96
|
emit("click", event);
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
|
+
emit("click", event);
|
|
100
|
+
if (event.defaultPrevented) return;
|
|
99
101
|
const next = !isPressed.value;
|
|
100
102
|
pressedIntent.value = next;
|
|
101
103
|
emit("pressedChange", next, event);
|
|
102
104
|
if (!event.defaultPrevented) isPressedModel.value = next;
|
|
103
|
-
emit("click", event);
|
|
104
105
|
}
|
|
105
106
|
__expose({
|
|
106
107
|
blur,
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-J6YRJ7Ul.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
package/dist/Token/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
|
4
4
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
6
6
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
7
|
+
import { t as disabledInteractionProps } from "./disabledInteraction-C9lrgFxB.js";
|
|
7
8
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
|
|
8
9
|
import "../styles/visually-hidden-utility.css";
|
|
9
10
|
import "../styles/token.css";
|
|
@@ -13,8 +14,8 @@ const _hoisted_1 = {
|
|
|
13
14
|
class: "astryx-token-icon",
|
|
14
15
|
"aria-hidden": "true"
|
|
15
16
|
};
|
|
16
|
-
const _hoisted_2 = ["disabled"];
|
|
17
|
-
const _hoisted_3 = ["aria-label", "disabled"];
|
|
17
|
+
const _hoisted_2 = ["aria-disabled"];
|
|
18
|
+
const _hoisted_3 = ["aria-label", "aria-disabled"];
|
|
18
19
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
19
20
|
name: "AstryxToken",
|
|
20
21
|
inheritAttrs: false,
|
|
@@ -70,18 +71,28 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
70
71
|
});
|
|
71
72
|
const actionIsLink = computed(() => actionRole.role.value === "link");
|
|
72
73
|
const actionIsButton = computed(() => actionRole.role.value === "button");
|
|
74
|
+
/** 禁用时不再用原生 disabled,改用可聚焦的 aria-disabled 加共用事件守卫。 */
|
|
75
|
+
const disabledInteraction = computed(() => props.disabled ? disabledInteractionProps() : void 0);
|
|
73
76
|
const rootAttrs = computed(() => ({
|
|
74
77
|
...Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "onClick")),
|
|
75
78
|
...interactive.value && !props.disabled ? press.pressableProps : {}
|
|
76
79
|
}));
|
|
77
80
|
function runClick(event) {
|
|
78
|
-
if (props.disabled)
|
|
81
|
+
if (props.disabled) {
|
|
82
|
+
event.preventDefault();
|
|
83
|
+
event.stopPropagation();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
79
86
|
const listener = attrs.onClick;
|
|
80
87
|
if (typeof listener === "function") listener(event);
|
|
81
88
|
}
|
|
82
89
|
function onRemoveClick(event) {
|
|
83
90
|
event.stopPropagation();
|
|
84
|
-
if (
|
|
91
|
+
if (props.disabled) {
|
|
92
|
+
event.preventDefault();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
emit("remove", event);
|
|
85
96
|
}
|
|
86
97
|
function onKeydown(event) {
|
|
87
98
|
if (props.disabled || !props.removable) return;
|
|
@@ -122,25 +133,23 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
122
133
|
"to",
|
|
123
134
|
"aria-disabled",
|
|
124
135
|
"tabindex"
|
|
125
|
-
])) : actionIsButton.value ? (openBlock(), createElementBlock("button", {
|
|
136
|
+
])) : actionIsButton.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
126
137
|
key: 2,
|
|
127
138
|
type: "button",
|
|
128
139
|
class: "astryx-token-action",
|
|
129
|
-
disabled: props.disabled
|
|
130
|
-
|
|
131
|
-
}, [createElementVNode("span", { class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]) }, toDisplayString(props.label), 3)], 8, _hoisted_2)) : (openBlock(), createElementBlock("span", {
|
|
140
|
+
"aria-disabled": props.disabled || void 0
|
|
141
|
+
}, disabledInteraction.value, { onClick: runClick }), [createElementVNode("span", { class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]) }, toDisplayString(props.label), 3)], 16, _hoisted_2)) : (openBlock(), createElementBlock("span", {
|
|
132
142
|
key: 3,
|
|
133
143
|
class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }])
|
|
134
144
|
}, toDisplayString(props.label), 3)),
|
|
135
145
|
renderSlot(_ctx.$slots, "end", {}, () => [renderSlot(_ctx.$slots, "endContent")]),
|
|
136
|
-
props.removable ? (openBlock(), createElementBlock("button", {
|
|
146
|
+
props.removable ? (openBlock(), createElementBlock("button", mergeProps({
|
|
137
147
|
key: 4,
|
|
138
148
|
type: "button",
|
|
139
149
|
class: "astryx-token-remove",
|
|
140
150
|
"aria-label": removeLabel.value,
|
|
141
|
-
disabled: props.disabled
|
|
142
|
-
|
|
143
|
-
}, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
151
|
+
"aria-disabled": props.disabled || void 0
|
|
152
|
+
}, disabledInteraction.value, { onClick: onRemoveClick }), [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
144
153
|
width: "12",
|
|
145
154
|
height: "12",
|
|
146
155
|
viewBox: "0 0 16 16",
|
|
@@ -151,7 +160,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
151
160
|
stroke: "currentColor",
|
|
152
161
|
"stroke-width": "1.5",
|
|
153
162
|
"stroke-linecap": "round"
|
|
154
|
-
})], -1)])],
|
|
163
|
+
})], -1)])], 16, _hoisted_3)) : createCommentVNode("v-if", true)
|
|
155
164
|
]),
|
|
156
165
|
_: 3
|
|
157
166
|
}, 16, [
|
package/dist/Tokenizer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Tokenizer-
|
|
1
|
+
import { t as _sfc_main } from "../Tokenizer-DxOCrbq3.js";
|
|
2
2
|
export { _sfc_main as Tokenizer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useButtonTooltip } from "./Button-
|
|
1
|
+
import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
|
|
2
2
|
import { t as _sfc_main$1 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
3
3
|
import { t as useAnnounce } from "./announce-B210eJVf.js";
|
|
4
4
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
@@ -6,11 +6,11 @@ import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
|
6
6
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
7
7
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
8
8
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
9
|
-
import { t as _sfc_main$2 } from "./Field-
|
|
9
|
+
import { t as _sfc_main$2 } from "./Field-DRQuVVlH.js";
|
|
10
10
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
11
|
-
import { t as _sfc_main$3 } from "./Token-
|
|
11
|
+
import { t as _sfc_main$3 } from "./Token-CBrEN21_.js";
|
|
12
12
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-DGxxKHZb.js";
|
|
13
|
-
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-
|
|
13
|
+
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-By-HLpFy.js";
|
|
14
14
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
15
15
|
import "../styles/layer.css";
|
|
16
16
|
import "../styles/visually-hidden-utility.css";
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-B5cFQLav.js";
|
|
2
2
|
import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-BJ0DaMml.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-B5cFQLav.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "../TypeaheadMenu-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
1
|
+
import { n as _sfc_main$2 } from "../TypeaheadMenu-By-HLpFy.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-XpX5aA-Q.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as useButtonTooltip } from "./Button-
|
|
1
|
+
import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
|
|
2
2
|
import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
|
|
3
3
|
import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
|
|
4
4
|
import { s as useAstryxMessages } from "./context-CVUee2tp.js";
|
|
5
5
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
6
6
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Spinner-B7xuy3ZA.js";
|
|
8
|
-
import { t as _sfc_main$4 } from "./Field-
|
|
8
|
+
import { t as _sfc_main$4 } from "./Field-DRQuVVlH.js";
|
|
9
9
|
import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
|
|
10
|
-
import { t as _sfc_main$5 } from "./Token-
|
|
10
|
+
import { t as _sfc_main$5 } from "./Token-CBrEN21_.js";
|
|
11
11
|
import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-DGxxKHZb.js";
|
|
12
|
-
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-
|
|
12
|
+
import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-By-HLpFy.js";
|
|
13
13
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
14
14
|
import "../styles/layer.css";
|
|
15
15
|
import "../styles/visually-hidden-utility.css";
|
|
@@ -42,6 +42,10 @@ function useTypeaheadMenu(options) {
|
|
|
42
42
|
enabled: computed(() => menuOpen.value && !belowMinQueryLength.value),
|
|
43
43
|
debounceMs: options.debounceMs
|
|
44
44
|
});
|
|
45
|
+
watch(() => toValue(options.source), (source, previous) => {
|
|
46
|
+
if (source === previous || asyncSource.status.value !== "loading") return;
|
|
47
|
+
asyncSource.status.value = "idle";
|
|
48
|
+
}, { flush: "sync" });
|
|
45
49
|
const entries = computed(() => {
|
|
46
50
|
const excluded = new Set(toValue(options.excludeIds) ?? []);
|
|
47
51
|
const blocked = new Set((toValue(options.blockedLabels) ?? []).map((label) => label.toLowerCase()));
|