@vuetify/v0 1.2.0 → 1.2.2
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/README.md +34 -0
- package/dist/{adapter-TiGrumDi.mjs → adapter-B6R54NMr.mjs} +1 -1
- package/dist/{adapter-D5nT3bLw.d.mts → adapter-BC1VWu0H.d.mts} +0 -1
- package/dist/{adapter-PDTe5nFT.d.mts → adapter-BP7jNtvH.d.mts} +3 -4
- package/dist/{adapter-CqS8xexO.d.mts → adapter-Bi799Zn7.d.mts} +2 -3
- package/dist/{adapter-ClB-53_F.d.mts → adapter-CbkRdMju.d.mts} +0 -1
- package/dist/{adapter-BiQV5j8B.mjs → adapter-DMzQI6ma.mjs} +8 -6
- package/dist/{adapter-BXunW_mw.d.mts → adapter-w8SEWO2v.d.mts} +1 -2
- package/dist/{adapter-BuSfpxur.mjs → adapter-z5dFxm0f.mjs} +1 -1
- package/dist/browser/index.d.ts +1288 -1112
- package/dist/browser/index.js +619 -523
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-DBhVg-t1.mjs → components-CSFzUH3d.mjs} +407 -384
- package/dist/composables/index.d.mts +22 -22
- package/dist/composables/index.mjs +40 -40
- package/dist/{composables-ZGhVN2EJ.mjs → composables-CLNFa1uu.mjs} +55 -47
- package/dist/{consola-cad-VEV2.mjs → consola-B9K6H_EB.mjs} +1 -1
- package/dist/{consola-CdMU53rU.d.mts → consola-BGm_oQkS.d.mts} +1 -2
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +2 -2
- package/dist/{createDataTable-VmQEDn-7.mjs → createDataTable-CfJCltDt.mjs} +15 -13
- package/dist/{createGroup-B_LL7xRr.mjs → createGroup-CKE5o-VH.mjs} +17 -5
- package/dist/{createPlugin-Oo6t-vBw.mjs → createPlugin-YYkwbiUd.mjs} +3 -2
- package/dist/{createRegistry-DVdvep0v.mjs → createRegistry-D31hPifx.mjs} +10 -7
- package/dist/{createSelection-BNdDz8oY.mjs → createSelection-DdTgggyM.mjs} +5 -3
- package/dist/{createSingle-DHyIQ9Cj.mjs → createSingle-hQWwVTVX.mjs} +4 -3
- package/dist/{createTokens-DoISbwd7.mjs → createTokens-DuZrXRfN.mjs} +6 -5
- package/dist/data-table/adapters/client/index.d.mts +1 -1
- package/dist/data-table/adapters/client/index.mjs +1 -1
- package/dist/data-table/adapters/index.d.mts +6 -5
- package/dist/data-table/adapters/index.mjs +4 -4
- package/dist/data-table/adapters/server/index.d.mts +1 -1
- package/dist/data-table/adapters/server/index.mjs +1 -1
- package/dist/data-table/adapters/virtual/index.d.mts +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +1 -1
- package/dist/data-table/index.d.mts +6 -6
- package/dist/data-table/index.mjs +5 -5
- package/dist/date/index.d.mts +1 -2
- package/dist/date/index.mjs +3 -3
- package/dist/features/adapters/flagsmith/index.d.mts +1 -1
- package/dist/features/adapters/flagsmith/index.mjs +1 -1
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -1
- package/dist/features/adapters/launchdarkly/index.mjs +2 -1
- package/dist/features/adapters/posthog/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.mjs +3 -2
- package/dist/features/index.d.mts +3 -3
- package/dist/features/index.mjs +2 -2
- package/dist/{flagsmith-DcIDrI7_.d.mts → flagsmith-BA8q5LAx.d.mts} +1 -2
- package/dist/{globals-DaoKtIGF.mjs → globals-DVcr1oW0.mjs} +1 -1
- package/dist/{htmlElements-CHXZfsZu.mjs → htmlElements-Bt1XN_d8.mjs} +1 -1
- package/dist/{index-H_hl6-4b.d.mts → index-ClUa0Bl7.d.mts} +0 -1
- package/dist/{index-Cx0cWGlx.d.mts → index-Ct0Pmzpx.d.mts} +182 -64
- package/dist/{index-Di9e8sOm.d.mts → index-DDwX_0Um.d.mts} +6 -6
- package/dist/{index-DjRE4lLl.d.mts → index-DMQv04YO.d.mts} +19 -12
- package/dist/{index-D0ub61GV.d.mts → index-Dlr9_rf1.d.mts} +2 -3
- package/dist/index-DmDf_FmM.d.mts +4 -0
- package/dist/{index-Cm6CbqI6.d.mts → index-DqAML7MT.d.mts} +1103 -1059
- package/dist/{index-DtiaWx5U.d.mts → index-XNZrgWCq.d.mts} +1 -2
- package/dist/{index-DSPkZ0ql.d.mts → index-Y6VfllT2.d.mts} +26 -21
- package/dist/index-h87SNntw.d.mts +2 -0
- package/dist/index.d.mts +25 -25
- package/dist/index.mjs +43 -43
- package/dist/json/attributes.json +14 -2
- package/dist/json/tags.json +3 -0
- package/dist/json/web-types.json +32 -3
- package/dist/{launchdarkly-CUzunYol.d.mts → launchdarkly-CWhPi3lZ.d.mts} +1 -2
- package/dist/locale/adapters/index.d.mts +4 -3
- package/dist/locale/adapters/index.mjs +2 -2
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/adapters/vue-i18n/index.d.mts +1 -2
- package/dist/locale/adapters/vue-i18n/index.mjs +1 -1
- package/dist/locale/index.d.mts +4 -4
- package/dist/locale/index.mjs +3 -3
- package/dist/locale/messages/en/index.d.mts +3 -0
- package/dist/locale/messages/en/index.mjs +1 -0
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/consola/index.mjs +1 -1
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +4 -4
- package/dist/logger/adapters/pino/index.d.mts +1 -1
- package/dist/logger/adapters/pino/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.d.mts +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +6 -6
- package/dist/logger/index.mjs +5 -5
- package/dist/notifications/index.d.mts +1 -2
- package/dist/notifications/index.mjs +4 -2
- package/dist/palettes/ant/generate/index.d.mts +0 -1
- package/dist/palettes/ant/generate/index.mjs +1 -1
- package/dist/palettes/ant/index.d.mts +1 -2
- package/dist/palettes/index.d.mts +3 -4
- package/dist/palettes/leonardo/generate/index.d.mts +0 -1
- package/dist/palettes/leonardo/generate/index.mjs +1 -1
- package/dist/palettes/material/generate/index.d.mts +0 -1
- package/dist/palettes/material/generate/index.mjs +1 -1
- package/dist/palettes/material/index.d.mts +1 -2
- package/dist/palettes/md1/index.d.mts +1 -2
- package/dist/palettes/md2/index.d.mts +1 -2
- package/dist/palettes/radix/index.d.mts +1 -2
- package/dist/palettes/tailwind/index.d.mts +1 -2
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/index.mjs +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.mjs +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +2 -2
- package/dist/{pino-BscMO3RR.mjs → pino-DOI2Y-WP.mjs} +1 -1
- package/dist/{pino-DjeWBFnj.d.mts → pino-cSCLlizQ.d.mts} +1 -2
- package/dist/popover/adapters/floating-ui/index.d.mts +1 -2
- package/dist/popover/adapters/floating-ui/index.mjs +4 -3
- package/dist/popover/index.d.mts +3 -3
- package/dist/popover/index.mjs +2 -2
- package/dist/{posthog-CJAYssdr.d.mts → posthog-Bzaj2Jbd.d.mts} +1 -2
- package/dist/rules/index.d.mts +2 -2
- package/dist/rules/index.mjs +1 -1
- package/dist/{server-m7iD1vOr.mjs → server-CSXNc-my.mjs} +1 -1
- package/dist/{server-5vbJ7GGs.d.mts → server-bE0UxPFS.d.mts} +1 -2
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/index.mjs +1 -1
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/adapters/memory/index.mjs +1 -1
- package/dist/storage/index.d.mts +4 -4
- package/dist/storage/index.mjs +2 -2
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +3 -3
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +4 -4
- package/dist/{toArray-MY9Kb1Qy.mjs → toArray-DCZRopC6.mjs} +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/{unhead-C8zbWr45.mjs → unhead-hPXFvbDX.mjs} +2 -2
- package/dist/{useEventListener-2eAMwUdw.mjs → useEventListener-DI-1-WPJ.mjs} +2 -2
- package/dist/{useFeatures-DLafCOWt.mjs → useFeatures-CuTiM9YA.mjs} +4 -4
- package/dist/{useLocale-K_45ulPt.mjs → useLocale-OjumdVbi.mjs} +4 -4
- package/dist/{useLogger-YyWuYvrH.mjs → useLogger-CuGy-g9B.mjs} +3 -3
- package/dist/{useNotifications-Kh_KvM7j.mjs → useNotifications-BuZuDxSy.mjs} +6 -5
- package/dist/{usePermissions-BCGwsOES.mjs → usePermissions-CabbzZd_.mjs} +4 -4
- package/dist/{usePopover-BTo0AGIQ.mjs → usePopover-7WMiJ9Zt.mjs} +15 -12
- package/dist/{useRovingFocus-CkRnVmJ1.mjs → useRovingFocus-DuYBgzOA.mjs} +132 -94
- package/dist/{useRules-BuE5ffOJ.mjs → useRules-Bg7yBYP5.mjs} +5 -5
- package/dist/{useStorage-BT8-mjVs.mjs → useStorage-BtuW9p_Q.mjs} +7 -6
- package/dist/{useTheme-DkK6tPqY.mjs → useTheme-CfrtMZFH.mjs} +6 -6
- package/dist/{useTimer-CGVXk397.mjs → useTimer-aOp5haHg.mjs} +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +66 -43
- package/dist/{v0-D0Exc2bO.mjs → v0-B9gSaems.mjs} +2 -2
- package/dist/{v0-SuxTihEe.mjs → v0-BusOrX6s.mjs} +2 -2
- package/dist/{v0-GI9U-rPA.d.mts → v0-CMqoGujd.d.mts} +1 -2
- package/dist/{v0-yZ2ZUtVF.mjs → v0-DoHWpAZn.mjs} +1 -1
- package/dist/{v0-CDW1Ktk-.d.mts → v0-IFGH9KS0.d.mts} +1 -2
- package/dist/{v0-B_53w7Fu.mjs → v0-Lo13oRUf.mjs} +2 -2
- package/dist/{v0-DfFK-p4X.d.mts → v0-QlSKvaAH.d.mts} +1 -2
- package/dist/{virtual-Bbu26O_h.mjs → virtual-Bsnip0cm.mjs} +1 -1
- package/dist/{virtual-JIdFLpTQ.d.mts → virtual-DrLIdUr1.d.mts} +1 -2
- package/package.json +10 -10
- package/dist/index-CX869wwk.d.mts +0 -1
- package/dist/index-CsuikFeJ.d.mts +0 -1
- /package/dist/{adapter-Chznb9Ju.mjs → adapter-B5mEUP5W.mjs} +0 -0
- /package/dist/{adapter-CrRJuxRk.mjs → adapter-B5teFrQH.mjs} +0 -0
- /package/dist/{adapter-D8zizQVP.mjs → adapter-BTNELv6-.mjs} +0 -0
- /package/dist/{adapter-ryk5H6YZ.d.mts → adapter-CHvvxw4c.d.mts} +0 -0
- /package/dist/{adapter-8UADsA3-.mjs → adapter-CxCiZYZO.mjs} +0 -0
- /package/dist/{createTrinity-z-3q9QWR.mjs → createTrinity-DJROWgXU.mjs} +0 -0
- /package/dist/{index-u_qSc2xS.d.mts → index-Bmr3SnAx.d.mts} +0 -0
- /package/dist/{index-Djhiy3nS.d.mts → index-Cyv2jtYx.d.mts} +0 -0
- /package/dist/{memory-CR6zvuaP.mjs → memory-C-Hi69Zc.mjs} +0 -0
- /package/dist/{memory-B7z1RR9r.d.mts → memory-DyA22X2q.d.mts} +0 -0
- /package/dist/{v0-Ch0yBKEj.mjs → v0-C4TLCYZJ.mjs} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { n as isSelfClosingTag } from "./htmlElements-
|
|
2
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { n as isSelfClosingTag } from "./htmlElements-Bt1XN_d8.mjs";
|
|
2
|
+
import { t as IN_BROWSER } from "./globals-DVcr1oW0.mjs";
|
|
3
3
|
import { clamp, isArray, isElement, isNull, isNullOrUndefined, isNumber, isObject, isString, isUndefined, pxToNumber, useId as useId$1 } from "./utilities/index.mjs";
|
|
4
|
-
import { n as createContext, r as provideContext } from "./createTrinity-
|
|
5
|
-
import { i as useLogger } from "./useLogger-
|
|
6
|
-
import { t as createRegistry } from "./createRegistry-
|
|
7
|
-
import { t as createSelection } from "./createSelection-
|
|
8
|
-
import { t as createSingle } from "./createSingle-
|
|
9
|
-
import { a as useLocale } from "./useLocale-
|
|
10
|
-
import { n as useEventListener, t as useDocumentEventListener } from "./useEventListener-
|
|
11
|
-
import { C as createForm, D as createDataGrid, E as useRaf, G as useImage, H as createBreadcrumbs, K as createOverflow, L as useVirtualFocus, M as createCombobox, Q as useToggleScope, R as createStep, S as useIntersectionObserver, V as useProxyModel, X as useResizeObserver, Y as useElementSize, _ as createNumberField, c as useTooltip, g as usePresence, it as useClickOutside, j as useLazy, l as createSlider, n as createNested, nt as useStack, p as createProgress, rt as toElement, t as useRovingFocus, u as createRating, y as createInput } from "./useRovingFocus-
|
|
12
|
-
import { i as useTheme } from "./useTheme-
|
|
13
|
-
import { t as createGroup } from "./createGroup-
|
|
14
|
-
import { t as useTimer } from "./useTimer-
|
|
15
|
-
import { i as usePopover, s as useDelay } from "./usePopover-
|
|
16
|
-
import { n as createPagination } from "./adapter-
|
|
17
|
-
import { t as createDataTable } from "./createDataTable-
|
|
18
|
-
import { i as useNotifications } from "./useNotifications-
|
|
4
|
+
import { n as createContext, r as provideContext } from "./createTrinity-DJROWgXU.mjs";
|
|
5
|
+
import { i as useLogger } from "./useLogger-CuGy-g9B.mjs";
|
|
6
|
+
import { t as createRegistry } from "./createRegistry-D31hPifx.mjs";
|
|
7
|
+
import { t as createSelection } from "./createSelection-DdTgggyM.mjs";
|
|
8
|
+
import { t as createSingle } from "./createSingle-hQWwVTVX.mjs";
|
|
9
|
+
import { a as useLocale } from "./useLocale-OjumdVbi.mjs";
|
|
10
|
+
import { n as useEventListener, t as useDocumentEventListener } from "./useEventListener-DI-1-WPJ.mjs";
|
|
11
|
+
import { C as createForm, D as createDataGrid, E as useRaf, G as useImage, H as createBreadcrumbs, K as createOverflow, L as useVirtualFocus, M as createCombobox, Q as useToggleScope, R as createStep, S as useIntersectionObserver, V as useProxyModel, X as useResizeObserver, Y as useElementSize, _ as createNumberField, c as useTooltip, g as usePresence, it as useClickOutside, j as useLazy, l as createSlider, n as createNested, nt as useStack, p as createProgress, rt as toElement, t as useRovingFocus, u as createRating, y as createInput } from "./useRovingFocus-DuYBgzOA.mjs";
|
|
12
|
+
import { i as useTheme } from "./useTheme-CfrtMZFH.mjs";
|
|
13
|
+
import { t as createGroup } from "./createGroup-CKE5o-VH.mjs";
|
|
14
|
+
import { t as useTimer } from "./useTimer-aOp5haHg.mjs";
|
|
15
|
+
import { i as usePopover, s as useDelay } from "./usePopover-7WMiJ9Zt.mjs";
|
|
16
|
+
import { n as createPagination } from "./adapter-DMzQI6ma.mjs";
|
|
17
|
+
import { t as createDataTable } from "./createDataTable-CfJCltDt.mjs";
|
|
18
|
+
import { i as useNotifications } from "./useNotifications-BuZuDxSy.mjs";
|
|
19
19
|
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createPropsRestProxy, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onDeactivated, onMounted, onScopeDispose, onUnmounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, shallowReadonly, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives } from "vue";
|
|
20
20
|
//#region src/components/Atom/Atom.vue
|
|
21
21
|
/**
|
|
@@ -41,7 +41,7 @@ import { Fragment, Teleport, TransitionGroup, computed, createBlock, createComme
|
|
|
41
41
|
* serving as the foundation for all other components that need polymorphic
|
|
42
42
|
* rendering capabilities.
|
|
43
43
|
*/
|
|
44
|
-
const _sfc_main$192 =
|
|
44
|
+
const _sfc_main$192 = /*@__PURE__*/ defineComponent({
|
|
45
45
|
name: "Atom",
|
|
46
46
|
__name: "Atom",
|
|
47
47
|
props: {
|
|
@@ -58,7 +58,7 @@ const _sfc_main$192 = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
const isSelfClosing = toRef(() => /* @__PURE__ */ isString(__props.as) && /* @__PURE__ */ isSelfClosingTag(__props.as));
|
|
59
59
|
const slotProps = toRef(() => attrs);
|
|
60
60
|
return (_ctx, _cache) => {
|
|
61
|
-
return __props.renderless || unref(isNull)(__props.as) ? renderSlot(_ctx.$slots, "default", normalizeProps(
|
|
61
|
+
return __props.renderless || unref(isNull)(__props.as) ? renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), void 0, void 0, 0) : !isSelfClosing.value ? (openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ key: 1 }, slotProps.value, {
|
|
62
62
|
ref_key: "element",
|
|
63
63
|
ref: element
|
|
64
64
|
}), {
|
|
@@ -74,7 +74,7 @@ const _sfc_main$192 = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
});
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/components/Alert/AlertDescription.vue
|
|
77
|
-
const _sfc_main$191 =
|
|
77
|
+
const _sfc_main$191 = /*@__PURE__*/ defineComponent({
|
|
78
78
|
name: "AlertDescription",
|
|
79
79
|
__name: "AlertDescription",
|
|
80
80
|
props: {
|
|
@@ -96,7 +96,7 @@ const _sfc_main$191 = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
});
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/components/Alert/AlertRoot.vue
|
|
99
|
-
const _sfc_main$190 =
|
|
99
|
+
const _sfc_main$190 = /*@__PURE__*/ defineComponent({
|
|
100
100
|
name: "AlertRoot",
|
|
101
101
|
__name: "AlertRoot",
|
|
102
102
|
props: {
|
|
@@ -123,7 +123,7 @@ const _sfc_main$190 = /* @__PURE__ */ defineComponent({
|
|
|
123
123
|
});
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/components/Alert/AlertTitle.vue
|
|
126
|
-
const _sfc_main$189 =
|
|
126
|
+
const _sfc_main$189 = /*@__PURE__*/ defineComponent({
|
|
127
127
|
name: "AlertTitle",
|
|
128
128
|
__name: "AlertTitle",
|
|
129
129
|
props: {
|
|
@@ -229,10 +229,10 @@ const Alert = {
|
|
|
229
229
|
//#endregion
|
|
230
230
|
//#region src/components/AlertDialog/AlertDialogRoot.vue
|
|
231
231
|
const [useAlertDialogContext, provideAlertDialogContext] = createContext();
|
|
232
|
-
const _sfc_main$188 =
|
|
232
|
+
const _sfc_main$188 = /*@__PURE__*/ defineComponent({
|
|
233
233
|
name: "AlertDialogRoot",
|
|
234
234
|
__name: "AlertDialogRoot",
|
|
235
|
-
props:
|
|
235
|
+
props: /*@__PURE__*/ mergeModels({
|
|
236
236
|
namespace: { default: "v0:alert-dialog" },
|
|
237
237
|
id: {},
|
|
238
238
|
as: { default: null },
|
|
@@ -244,7 +244,7 @@ const _sfc_main$188 = /* @__PURE__ */ defineComponent({
|
|
|
244
244
|
},
|
|
245
245
|
"modelModifiers": {}
|
|
246
246
|
}),
|
|
247
|
-
emits:
|
|
247
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
248
248
|
setup(__props) {
|
|
249
249
|
const id = __props.id ?? /* @__PURE__ */ useId$1();
|
|
250
250
|
const isOpen = useModel(__props, "modelValue");
|
|
@@ -293,7 +293,7 @@ const _sfc_main$188 = /* @__PURE__ */ defineComponent({
|
|
|
293
293
|
});
|
|
294
294
|
//#endregion
|
|
295
295
|
//#region src/components/AlertDialog/AlertDialogAction.vue
|
|
296
|
-
const _sfc_main$187 =
|
|
296
|
+
const _sfc_main$187 = /*@__PURE__*/ defineComponent({
|
|
297
297
|
name: "AlertDialogAction",
|
|
298
298
|
__name: "AlertDialogAction",
|
|
299
299
|
props: {
|
|
@@ -356,7 +356,7 @@ const _sfc_main$187 = /* @__PURE__ */ defineComponent({
|
|
|
356
356
|
});
|
|
357
357
|
//#endregion
|
|
358
358
|
//#region src/components/AlertDialog/AlertDialogActivator.vue
|
|
359
|
-
const _sfc_main$186 =
|
|
359
|
+
const _sfc_main$186 = /*@__PURE__*/ defineComponent({
|
|
360
360
|
name: "AlertDialogActivator",
|
|
361
361
|
__name: "AlertDialogActivator",
|
|
362
362
|
props: {
|
|
@@ -401,7 +401,7 @@ const _sfc_main$186 = /* @__PURE__ */ defineComponent({
|
|
|
401
401
|
});
|
|
402
402
|
//#endregion
|
|
403
403
|
//#region src/components/AlertDialog/AlertDialogCancel.vue
|
|
404
|
-
const _sfc_main$185 =
|
|
404
|
+
const _sfc_main$185 = /*@__PURE__*/ defineComponent({
|
|
405
405
|
name: "AlertDialogCancel",
|
|
406
406
|
__name: "AlertDialogCancel",
|
|
407
407
|
props: {
|
|
@@ -458,7 +458,7 @@ const _sfc_main$185 = /* @__PURE__ */ defineComponent({
|
|
|
458
458
|
});
|
|
459
459
|
//#endregion
|
|
460
460
|
//#region src/components/AlertDialog/AlertDialogClose.vue
|
|
461
|
-
const _sfc_main$184 =
|
|
461
|
+
const _sfc_main$184 = /*@__PURE__*/ defineComponent({
|
|
462
462
|
name: "AlertDialogClose",
|
|
463
463
|
__name: "AlertDialogClose",
|
|
464
464
|
props: {
|
|
@@ -502,7 +502,7 @@ const _sfc_main$184 = /* @__PURE__ */ defineComponent({
|
|
|
502
502
|
});
|
|
503
503
|
//#endregion
|
|
504
504
|
//#region src/components/AlertDialog/AlertDialogContent.vue
|
|
505
|
-
const _sfc_main$183 =
|
|
505
|
+
const _sfc_main$183 = /*@__PURE__*/ defineComponent({
|
|
506
506
|
name: "AlertDialogContent",
|
|
507
507
|
__name: "AlertDialogContent",
|
|
508
508
|
props: {
|
|
@@ -603,7 +603,7 @@ const _sfc_main$183 = /* @__PURE__ */ defineComponent({
|
|
|
603
603
|
});
|
|
604
604
|
//#endregion
|
|
605
605
|
//#region src/components/AlertDialog/AlertDialogDescription.vue
|
|
606
|
-
const _sfc_main$182 =
|
|
606
|
+
const _sfc_main$182 = /*@__PURE__*/ defineComponent({
|
|
607
607
|
name: "AlertDialogDescription",
|
|
608
608
|
__name: "AlertDialogDescription",
|
|
609
609
|
props: {
|
|
@@ -633,7 +633,7 @@ const _sfc_main$182 = /* @__PURE__ */ defineComponent({
|
|
|
633
633
|
});
|
|
634
634
|
//#endregion
|
|
635
635
|
//#region src/components/AlertDialog/AlertDialogTitle.vue
|
|
636
|
-
const _sfc_main$181 =
|
|
636
|
+
const _sfc_main$181 = /*@__PURE__*/ defineComponent({
|
|
637
637
|
name: "AlertDialogTitle",
|
|
638
638
|
__name: "AlertDialogTitle",
|
|
639
639
|
props: {
|
|
@@ -847,7 +847,7 @@ const AlertDialog = {
|
|
|
847
847
|
};
|
|
848
848
|
//#endregion
|
|
849
849
|
//#region src/components/AspectRatio/AspectRatio.vue
|
|
850
|
-
const _sfc_main$180 =
|
|
850
|
+
const _sfc_main$180 = /*@__PURE__*/ defineComponent({
|
|
851
851
|
name: "AspectRatio",
|
|
852
852
|
__name: "AspectRatio",
|
|
853
853
|
props: {
|
|
@@ -875,7 +875,7 @@ const _sfc_main$180 = /* @__PURE__ */ defineComponent({
|
|
|
875
875
|
//#endregion
|
|
876
876
|
//#region src/components/Avatar/AvatarGroup.vue
|
|
877
877
|
const [useAvatarGroup, provideAvatarGroup] = createContext();
|
|
878
|
-
const _sfc_main$179 =
|
|
878
|
+
const _sfc_main$179 = /*@__PURE__*/ defineComponent({
|
|
879
879
|
name: "AvatarGroup",
|
|
880
880
|
__name: "AvatarGroup",
|
|
881
881
|
props: {
|
|
@@ -987,7 +987,7 @@ const _sfc_main$179 = /* @__PURE__ */ defineComponent({
|
|
|
987
987
|
//#endregion
|
|
988
988
|
//#region src/components/Avatar/AvatarRoot.vue
|
|
989
989
|
const [useAvatarRoot, provideAvatarRoot] = createContext();
|
|
990
|
-
const _sfc_main$178 =
|
|
990
|
+
const _sfc_main$178 = /*@__PURE__*/ defineComponent({
|
|
991
991
|
name: "AvatarRoot",
|
|
992
992
|
__name: "AvatarRoot",
|
|
993
993
|
props: {
|
|
@@ -1066,7 +1066,7 @@ const _sfc_main$178 = /* @__PURE__ */ defineComponent({
|
|
|
1066
1066
|
});
|
|
1067
1067
|
//#endregion
|
|
1068
1068
|
//#region src/components/Avatar/AvatarFallback.vue
|
|
1069
|
-
const _sfc_main$177 =
|
|
1069
|
+
const _sfc_main$177 = /*@__PURE__*/ defineComponent({
|
|
1070
1070
|
name: "AvatarFallback",
|
|
1071
1071
|
__name: "AvatarFallback",
|
|
1072
1072
|
props: {
|
|
@@ -1093,7 +1093,7 @@ const _sfc_main$177 = /* @__PURE__ */ defineComponent({
|
|
|
1093
1093
|
});
|
|
1094
1094
|
//#endregion
|
|
1095
1095
|
//#region src/components/Avatar/AvatarImage.vue
|
|
1096
|
-
const _sfc_main$176 =
|
|
1096
|
+
const _sfc_main$176 = /*@__PURE__*/ defineComponent({
|
|
1097
1097
|
name: "AvatarImage",
|
|
1098
1098
|
__name: "AvatarImage",
|
|
1099
1099
|
props: {
|
|
@@ -1185,7 +1185,7 @@ const _sfc_main$176 = /* @__PURE__ */ defineComponent({
|
|
|
1185
1185
|
* is set, this component self-measures and feeds its width back to the
|
|
1186
1186
|
* group so createOverflow can reserve space for it (wired in Task 4).
|
|
1187
1187
|
*/
|
|
1188
|
-
const _sfc_main$175 =
|
|
1188
|
+
const _sfc_main$175 = /*@__PURE__*/ defineComponent({
|
|
1189
1189
|
name: "AvatarIndicator",
|
|
1190
1190
|
__name: "AvatarIndicator",
|
|
1191
1191
|
props: {
|
|
@@ -1326,7 +1326,7 @@ const Avatar = {
|
|
|
1326
1326
|
//#endregion
|
|
1327
1327
|
//#region src/components/Breadcrumbs/BreadcrumbsRoot.vue
|
|
1328
1328
|
const [useBreadcrumbsRoot, provideBreadcrumbsRoot] = createContext();
|
|
1329
|
-
const _sfc_main$174 =
|
|
1329
|
+
const _sfc_main$174 = /*@__PURE__*/ defineComponent({
|
|
1330
1330
|
name: "BreadcrumbsRoot",
|
|
1331
1331
|
__name: "BreadcrumbsRoot",
|
|
1332
1332
|
props: {
|
|
@@ -1410,7 +1410,7 @@ const _sfc_main$174 = /* @__PURE__ */ defineComponent({
|
|
|
1410
1410
|
const fD = firstDividerWidth.value;
|
|
1411
1411
|
const eW = ellipsisWidth.value;
|
|
1412
1412
|
const reserved = fI + __props.gap + fD + __props.gap + eW + __props.gap;
|
|
1413
|
-
if (capacity === Infinity || capacity >= measuredCount) {
|
|
1413
|
+
if (ellipsisTickets.length === 0 || capacity === Infinity || capacity >= measuredCount) {
|
|
1414
1414
|
hiddenCount.value = 0;
|
|
1415
1415
|
if (expanded.value) expanded.value = false;
|
|
1416
1416
|
for (const t of ellipsisTickets) group.unselect(t.id);
|
|
@@ -1488,7 +1488,7 @@ const _sfc_main$174 = /* @__PURE__ */ defineComponent({
|
|
|
1488
1488
|
});
|
|
1489
1489
|
//#endregion
|
|
1490
1490
|
//#region src/components/Breadcrumbs/BreadcrumbsActivator.vue
|
|
1491
|
-
const _sfc_main$173 =
|
|
1491
|
+
const _sfc_main$173 = /*@__PURE__*/ defineComponent({
|
|
1492
1492
|
name: "BreadcrumbsActivator",
|
|
1493
1493
|
__name: "BreadcrumbsActivator",
|
|
1494
1494
|
props: {
|
|
@@ -1542,7 +1542,7 @@ const _sfc_main$173 = /* @__PURE__ */ defineComponent({
|
|
|
1542
1542
|
});
|
|
1543
1543
|
//#endregion
|
|
1544
1544
|
//#region src/components/Breadcrumbs/BreadcrumbsDivider.vue
|
|
1545
|
-
const _sfc_main$172 =
|
|
1545
|
+
const _sfc_main$172 = /*@__PURE__*/ defineComponent({
|
|
1546
1546
|
name: "BreadcrumbsDivider",
|
|
1547
1547
|
__name: "BreadcrumbsDivider",
|
|
1548
1548
|
props: {
|
|
@@ -1591,7 +1591,7 @@ const _sfc_main$172 = /* @__PURE__ */ defineComponent({
|
|
|
1591
1591
|
});
|
|
1592
1592
|
//#endregion
|
|
1593
1593
|
//#region src/components/Breadcrumbs/BreadcrumbsEllipsis.vue
|
|
1594
|
-
const _sfc_main$171 =
|
|
1594
|
+
const _sfc_main$171 = /*@__PURE__*/ defineComponent({
|
|
1595
1595
|
name: "BreadcrumbsEllipsis",
|
|
1596
1596
|
__name: "BreadcrumbsEllipsis",
|
|
1597
1597
|
props: {
|
|
@@ -1649,7 +1649,7 @@ const _sfc_main$171 = /* @__PURE__ */ defineComponent({
|
|
|
1649
1649
|
});
|
|
1650
1650
|
//#endregion
|
|
1651
1651
|
//#region src/components/Breadcrumbs/BreadcrumbsItem.vue
|
|
1652
|
-
const _sfc_main$170 =
|
|
1652
|
+
const _sfc_main$170 = /*@__PURE__*/ defineComponent({
|
|
1653
1653
|
name: "BreadcrumbsItem",
|
|
1654
1654
|
__name: "BreadcrumbsItem",
|
|
1655
1655
|
props: {
|
|
@@ -1704,7 +1704,7 @@ const _sfc_main$170 = /* @__PURE__ */ defineComponent({
|
|
|
1704
1704
|
});
|
|
1705
1705
|
//#endregion
|
|
1706
1706
|
//#region src/components/Breadcrumbs/BreadcrumbsLink.vue
|
|
1707
|
-
const _sfc_main$169 =
|
|
1707
|
+
const _sfc_main$169 = /*@__PURE__*/ defineComponent({
|
|
1708
1708
|
name: "BreadcrumbsLink",
|
|
1709
1709
|
__name: "BreadcrumbsLink",
|
|
1710
1710
|
props: {
|
|
@@ -1725,7 +1725,7 @@ const _sfc_main$169 = /* @__PURE__ */ defineComponent({
|
|
|
1725
1725
|
});
|
|
1726
1726
|
//#endregion
|
|
1727
1727
|
//#region src/components/Breadcrumbs/BreadcrumbsList.vue
|
|
1728
|
-
const _sfc_main$168 =
|
|
1728
|
+
const _sfc_main$168 = /*@__PURE__*/ defineComponent({
|
|
1729
1729
|
name: "BreadcrumbsList",
|
|
1730
1730
|
__name: "BreadcrumbsList",
|
|
1731
1731
|
props: {
|
|
@@ -1747,7 +1747,7 @@ const _sfc_main$168 = /* @__PURE__ */ defineComponent({
|
|
|
1747
1747
|
});
|
|
1748
1748
|
//#endregion
|
|
1749
1749
|
//#region src/components/Breadcrumbs/BreadcrumbsPage.vue
|
|
1750
|
-
const _sfc_main$167 =
|
|
1750
|
+
const _sfc_main$167 = /*@__PURE__*/ defineComponent({
|
|
1751
1751
|
name: "BreadcrumbsPage",
|
|
1752
1752
|
__name: "BreadcrumbsPage",
|
|
1753
1753
|
props: {
|
|
@@ -1965,10 +1965,10 @@ const Breadcrumbs = {
|
|
|
1965
1965
|
//#endregion
|
|
1966
1966
|
//#region src/components/Button/ButtonGroup.vue
|
|
1967
1967
|
const [useButtonGroup, provideButtonGroup] = createContext();
|
|
1968
|
-
const _sfc_main$166 =
|
|
1968
|
+
const _sfc_main$166 = /*@__PURE__*/ defineComponent({
|
|
1969
1969
|
name: "ButtonGroup",
|
|
1970
1970
|
__name: "ButtonGroup",
|
|
1971
|
-
props:
|
|
1971
|
+
props: /*@__PURE__*/ mergeModels({
|
|
1972
1972
|
namespace: { default: "v0:button:group" },
|
|
1973
1973
|
disabled: {
|
|
1974
1974
|
type: Boolean,
|
|
@@ -1991,7 +1991,7 @@ const _sfc_main$166 = /* @__PURE__ */ defineComponent({
|
|
|
1991
1991
|
"modelValue": {},
|
|
1992
1992
|
"modelModifiers": {}
|
|
1993
1993
|
}),
|
|
1994
|
-
emits:
|
|
1994
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
1995
1995
|
setup(__props) {
|
|
1996
1996
|
const model = useModel(__props, "modelValue");
|
|
1997
1997
|
const selection = createSelection({
|
|
@@ -2042,7 +2042,7 @@ const visuallyHiddenStyle$6 = {
|
|
|
2042
2042
|
whiteSpace: "nowrap",
|
|
2043
2043
|
border: "0"
|
|
2044
2044
|
};
|
|
2045
|
-
const _sfc_main$165 =
|
|
2045
|
+
const _sfc_main$165 = /*@__PURE__*/ defineComponent({
|
|
2046
2046
|
name: "ButtonHiddenInput",
|
|
2047
2047
|
__name: "ButtonHiddenInput",
|
|
2048
2048
|
props: {
|
|
@@ -2080,7 +2080,7 @@ const _sfc_main$165 = /* @__PURE__ */ defineComponent({
|
|
|
2080
2080
|
//#endregion
|
|
2081
2081
|
//#region src/components/Button/ButtonRoot.vue
|
|
2082
2082
|
const [useButtonRoot, provideButtonRoot] = createContext();
|
|
2083
|
-
const _sfc_main$164 =
|
|
2083
|
+
const _sfc_main$164 = /*@__PURE__*/ defineComponent({
|
|
2084
2084
|
name: "ButtonRoot",
|
|
2085
2085
|
inheritAttrs: false,
|
|
2086
2086
|
__name: "ButtonRoot",
|
|
@@ -2205,7 +2205,7 @@ const _sfc_main$164 = /* @__PURE__ */ defineComponent({
|
|
|
2205
2205
|
});
|
|
2206
2206
|
//#endregion
|
|
2207
2207
|
//#region src/components/Button/ButtonContent.vue
|
|
2208
|
-
const _sfc_main$163 =
|
|
2208
|
+
const _sfc_main$163 = /*@__PURE__*/ defineComponent({
|
|
2209
2209
|
name: "ButtonContent",
|
|
2210
2210
|
__name: "ButtonContent",
|
|
2211
2211
|
props: {
|
|
@@ -2223,7 +2223,7 @@ const _sfc_main$163 = /* @__PURE__ */ defineComponent({
|
|
|
2223
2223
|
});
|
|
2224
2224
|
//#endregion
|
|
2225
2225
|
//#region src/components/Button/ButtonIcon.vue
|
|
2226
|
-
const _sfc_main$162 =
|
|
2226
|
+
const _sfc_main$162 = /*@__PURE__*/ defineComponent({
|
|
2227
2227
|
name: "ButtonIcon",
|
|
2228
2228
|
__name: "ButtonIcon",
|
|
2229
2229
|
props: {
|
|
@@ -2254,7 +2254,7 @@ const _sfc_main$162 = /* @__PURE__ */ defineComponent({
|
|
|
2254
2254
|
});
|
|
2255
2255
|
//#endregion
|
|
2256
2256
|
//#region src/components/Button/ButtonLoading.vue
|
|
2257
|
-
const _sfc_main$161 =
|
|
2257
|
+
const _sfc_main$161 = /*@__PURE__*/ defineComponent({
|
|
2258
2258
|
name: "ButtonLoading",
|
|
2259
2259
|
__name: "ButtonLoading",
|
|
2260
2260
|
props: {
|
|
@@ -2280,7 +2280,7 @@ const _sfc_main$161 = /* @__PURE__ */ defineComponent({
|
|
|
2280
2280
|
onBeforeUnmount(() => ticket.unregister());
|
|
2281
2281
|
const slotProps = toRef(() => ({ isSelected: ticket.isSelected.value }));
|
|
2282
2282
|
return (_ctx, _cache) => {
|
|
2283
|
-
return unref(ticket).isSelected.value ? renderSlot(_ctx.$slots, "default", normalizeProps(
|
|
2283
|
+
return unref(ticket).isSelected.value ? renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), void 0, void 0, 0) : createCommentVNode("v-if", true);
|
|
2284
2284
|
};
|
|
2285
2285
|
}
|
|
2286
2286
|
});
|
|
@@ -2447,10 +2447,10 @@ const Button = {
|
|
|
2447
2447
|
//#endregion
|
|
2448
2448
|
//#region src/components/Carousel/CarouselRoot.vue
|
|
2449
2449
|
const [useCarouselRoot, provideCarouselRoot] = createContext();
|
|
2450
|
-
const _sfc_main$160 =
|
|
2450
|
+
const _sfc_main$160 = /*@__PURE__*/ defineComponent({
|
|
2451
2451
|
name: "CarouselRoot",
|
|
2452
2452
|
__name: "CarouselRoot",
|
|
2453
|
-
props:
|
|
2453
|
+
props: /*@__PURE__*/ mergeModels({
|
|
2454
2454
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
2455
2455
|
label: {},
|
|
2456
2456
|
namespace: { default: "v0:carousel" },
|
|
@@ -2578,7 +2578,7 @@ const _sfc_main$160 = /* @__PURE__ */ defineComponent({
|
|
|
2578
2578
|
});
|
|
2579
2579
|
//#endregion
|
|
2580
2580
|
//#region src/components/Carousel/CarouselViewport.vue
|
|
2581
|
-
const _sfc_main$159 =
|
|
2581
|
+
const _sfc_main$159 = /*@__PURE__*/ defineComponent({
|
|
2582
2582
|
name: "CarouselViewport",
|
|
2583
2583
|
inheritAttrs: false,
|
|
2584
2584
|
__name: "CarouselViewport",
|
|
@@ -2773,7 +2773,7 @@ const _sfc_main$159 = /* @__PURE__ */ defineComponent({
|
|
|
2773
2773
|
});
|
|
2774
2774
|
//#endregion
|
|
2775
2775
|
//#region src/components/Carousel/CarouselItem.vue
|
|
2776
|
-
const _sfc_main$158 =
|
|
2776
|
+
const _sfc_main$158 = /*@__PURE__*/ defineComponent({
|
|
2777
2777
|
name: "CarouselItem",
|
|
2778
2778
|
inheritAttrs: false,
|
|
2779
2779
|
__name: "CarouselItem",
|
|
@@ -2851,7 +2851,7 @@ const _sfc_main$158 = /* @__PURE__ */ defineComponent({
|
|
|
2851
2851
|
});
|
|
2852
2852
|
//#endregion
|
|
2853
2853
|
//#region src/components/Carousel/CarouselPrevious.vue
|
|
2854
|
-
const _sfc_main$157 =
|
|
2854
|
+
const _sfc_main$157 = /*@__PURE__*/ defineComponent({
|
|
2855
2855
|
name: "CarouselPrevious",
|
|
2856
2856
|
inheritAttrs: false,
|
|
2857
2857
|
__name: "CarouselPrevious",
|
|
@@ -2913,7 +2913,7 @@ const _sfc_main$157 = /* @__PURE__ */ defineComponent({
|
|
|
2913
2913
|
});
|
|
2914
2914
|
//#endregion
|
|
2915
2915
|
//#region src/components/Carousel/CarouselNext.vue
|
|
2916
|
-
const _sfc_main$156 =
|
|
2916
|
+
const _sfc_main$156 = /*@__PURE__*/ defineComponent({
|
|
2917
2917
|
name: "CarouselNext",
|
|
2918
2918
|
inheritAttrs: false,
|
|
2919
2919
|
__name: "CarouselNext",
|
|
@@ -2978,7 +2978,7 @@ const _sfc_main$156 = /* @__PURE__ */ defineComponent({
|
|
|
2978
2978
|
});
|
|
2979
2979
|
//#endregion
|
|
2980
2980
|
//#region src/components/Carousel/CarouselIndicator.vue
|
|
2981
|
-
const _sfc_main$155 =
|
|
2981
|
+
const _sfc_main$155 = /*@__PURE__*/ defineComponent({
|
|
2982
2982
|
name: "CarouselIndicator",
|
|
2983
2983
|
inheritAttrs: false,
|
|
2984
2984
|
__name: "CarouselIndicator",
|
|
@@ -3092,7 +3092,7 @@ const _sfc_main$155 = /* @__PURE__ */ defineComponent({
|
|
|
3092
3092
|
});
|
|
3093
3093
|
//#endregion
|
|
3094
3094
|
//#region src/components/Carousel/CarouselProgress.vue
|
|
3095
|
-
const _sfc_main$154 =
|
|
3095
|
+
const _sfc_main$154 = /*@__PURE__*/ defineComponent({
|
|
3096
3096
|
name: "CarouselProgress",
|
|
3097
3097
|
inheritAttrs: false,
|
|
3098
3098
|
__name: "CarouselProgress",
|
|
@@ -3158,7 +3158,7 @@ const _sfc_main$154 = /* @__PURE__ */ defineComponent({
|
|
|
3158
3158
|
});
|
|
3159
3159
|
//#endregion
|
|
3160
3160
|
//#region src/components/Carousel/CarouselLiveRegion.vue
|
|
3161
|
-
const _sfc_main$153 =
|
|
3161
|
+
const _sfc_main$153 = /*@__PURE__*/ defineComponent({
|
|
3162
3162
|
name: "CarouselLiveRegion",
|
|
3163
3163
|
inheritAttrs: false,
|
|
3164
3164
|
__name: "CarouselLiveRegion",
|
|
@@ -3433,10 +3433,10 @@ const Carousel = {
|
|
|
3433
3433
|
//#endregion
|
|
3434
3434
|
//#region src/components/Checkbox/CheckboxGroup.vue
|
|
3435
3435
|
const [useCheckboxGroup, provideCheckboxGroup] = createContext();
|
|
3436
|
-
const _sfc_main$152 =
|
|
3436
|
+
const _sfc_main$152 = /*@__PURE__*/ defineComponent({
|
|
3437
3437
|
name: "CheckboxGroup",
|
|
3438
3438
|
__name: "CheckboxGroup",
|
|
3439
|
-
props:
|
|
3439
|
+
props: /*@__PURE__*/ mergeModels({
|
|
3440
3440
|
namespace: { default: "v0:checkbox:group" },
|
|
3441
3441
|
disabled: {
|
|
3442
3442
|
type: Boolean,
|
|
@@ -3459,7 +3459,7 @@ const _sfc_main$152 = /* @__PURE__ */ defineComponent({
|
|
|
3459
3459
|
"modelValue": {},
|
|
3460
3460
|
"modelModifiers": {}
|
|
3461
3461
|
}),
|
|
3462
|
-
emits:
|
|
3462
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
3463
3463
|
setup(__props) {
|
|
3464
3464
|
const model = useModel(__props, "modelValue");
|
|
3465
3465
|
const group = createGroup({
|
|
@@ -3502,11 +3502,11 @@ const _sfc_main$152 = /* @__PURE__ */ defineComponent({
|
|
|
3502
3502
|
//#endregion
|
|
3503
3503
|
//#region src/components/Checkbox/CheckboxRoot.vue
|
|
3504
3504
|
const [useCheckboxRoot, provideCheckboxRoot] = createContext();
|
|
3505
|
-
const _sfc_main$151 =
|
|
3505
|
+
const _sfc_main$151 = /*@__PURE__*/ defineComponent({
|
|
3506
3506
|
name: "CheckboxRoot",
|
|
3507
3507
|
inheritAttrs: false,
|
|
3508
3508
|
__name: "CheckboxRoot",
|
|
3509
|
-
props:
|
|
3509
|
+
props: /*@__PURE__*/ mergeModels({
|
|
3510
3510
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
3511
3511
|
label: {},
|
|
3512
3512
|
value: {},
|
|
@@ -3525,7 +3525,7 @@ const _sfc_main$151 = /* @__PURE__ */ defineComponent({
|
|
|
3525
3525
|
"modelValue": { type: Boolean },
|
|
3526
3526
|
"modelModifiers": {}
|
|
3527
3527
|
}),
|
|
3528
|
-
emits:
|
|
3528
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
3529
3529
|
setup(__props) {
|
|
3530
3530
|
const attrs = useAttrs();
|
|
3531
3531
|
let group = null;
|
|
@@ -3653,7 +3653,7 @@ const visuallyHiddenStyle$5 = {
|
|
|
3653
3653
|
whiteSpace: "nowrap",
|
|
3654
3654
|
border: "0"
|
|
3655
3655
|
};
|
|
3656
|
-
const _sfc_main$150 =
|
|
3656
|
+
const _sfc_main$150 = /*@__PURE__*/ defineComponent({
|
|
3657
3657
|
name: "CheckboxHiddenInput",
|
|
3658
3658
|
__name: "CheckboxHiddenInput",
|
|
3659
3659
|
props: {
|
|
@@ -3691,7 +3691,7 @@ const _sfc_main$150 = /* @__PURE__ */ defineComponent({
|
|
|
3691
3691
|
});
|
|
3692
3692
|
//#endregion
|
|
3693
3693
|
//#region src/components/Checkbox/CheckboxIndicator.vue
|
|
3694
|
-
const _sfc_main$149 =
|
|
3694
|
+
const _sfc_main$149 = /*@__PURE__*/ defineComponent({
|
|
3695
3695
|
name: "CheckboxIndicator",
|
|
3696
3696
|
__name: "CheckboxIndicator",
|
|
3697
3697
|
props: {
|
|
@@ -3726,7 +3726,7 @@ const _sfc_main$149 = /* @__PURE__ */ defineComponent({
|
|
|
3726
3726
|
});
|
|
3727
3727
|
//#endregion
|
|
3728
3728
|
//#region src/components/Checkbox/CheckboxSelectAll.vue
|
|
3729
|
-
const _sfc_main$148 =
|
|
3729
|
+
const _sfc_main$148 = /*@__PURE__*/ defineComponent({
|
|
3730
3730
|
name: "CheckboxSelectAll",
|
|
3731
3731
|
inheritAttrs: false,
|
|
3732
3732
|
__name: "CheckboxSelectAll",
|
|
@@ -3979,10 +3979,10 @@ const Checkbox = {
|
|
|
3979
3979
|
//#endregion
|
|
3980
3980
|
//#region src/components/Collapsible/CollapsibleRoot.vue
|
|
3981
3981
|
const [useCollapsible, provideCollapsible] = createContext();
|
|
3982
|
-
const _sfc_main$147 =
|
|
3982
|
+
const _sfc_main$147 = /*@__PURE__*/ defineComponent({
|
|
3983
3983
|
name: "CollapsibleRoot",
|
|
3984
3984
|
__name: "CollapsibleRoot",
|
|
3985
|
-
props:
|
|
3985
|
+
props: /*@__PURE__*/ mergeModels({
|
|
3986
3986
|
namespace: { default: "v0:collapsible" },
|
|
3987
3987
|
disabled: {
|
|
3988
3988
|
type: Boolean,
|
|
@@ -3997,7 +3997,7 @@ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
|
|
|
3997
3997
|
},
|
|
3998
3998
|
"modelModifiers": {}
|
|
3999
3999
|
}),
|
|
4000
|
-
emits:
|
|
4000
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
4001
4001
|
setup(__props) {
|
|
4002
4002
|
const model = useModel(__props, "modelValue");
|
|
4003
4003
|
const isDisabled = toRef(() => __props.disabled);
|
|
@@ -4059,7 +4059,7 @@ const _sfc_main$147 = /* @__PURE__ */ defineComponent({
|
|
|
4059
4059
|
});
|
|
4060
4060
|
//#endregion
|
|
4061
4061
|
//#region src/components/Collapsible/CollapsibleActivator.vue
|
|
4062
|
-
const _sfc_main$146 =
|
|
4062
|
+
const _sfc_main$146 = /*@__PURE__*/ defineComponent({
|
|
4063
4063
|
name: "CollapsibleActivator",
|
|
4064
4064
|
__name: "CollapsibleActivator",
|
|
4065
4065
|
props: {
|
|
@@ -4107,7 +4107,7 @@ const _sfc_main$146 = /* @__PURE__ */ defineComponent({
|
|
|
4107
4107
|
});
|
|
4108
4108
|
//#endregion
|
|
4109
4109
|
//#region src/components/Collapsible/CollapsibleContent.vue
|
|
4110
|
-
const _sfc_main$145 =
|
|
4110
|
+
const _sfc_main$145 = /*@__PURE__*/ defineComponent({
|
|
4111
4111
|
name: "CollapsibleContent",
|
|
4112
4112
|
__name: "CollapsibleContent",
|
|
4113
4113
|
props: {
|
|
@@ -4141,7 +4141,7 @@ const _sfc_main$145 = /* @__PURE__ */ defineComponent({
|
|
|
4141
4141
|
});
|
|
4142
4142
|
//#endregion
|
|
4143
4143
|
//#region src/components/Collapsible/CollapsibleCue.vue
|
|
4144
|
-
const _sfc_main$144 =
|
|
4144
|
+
const _sfc_main$144 = /*@__PURE__*/ defineComponent({
|
|
4145
4145
|
name: "CollapsibleCue",
|
|
4146
4146
|
__name: "CollapsibleCue",
|
|
4147
4147
|
props: {
|
|
@@ -4221,7 +4221,7 @@ const visuallyHiddenStyle$4 = {
|
|
|
4221
4221
|
whiteSpace: "nowrap",
|
|
4222
4222
|
border: "0"
|
|
4223
4223
|
};
|
|
4224
|
-
const _sfc_main$143 =
|
|
4224
|
+
const _sfc_main$143 = /*@__PURE__*/ defineComponent({
|
|
4225
4225
|
name: "ComboboxHiddenInput",
|
|
4226
4226
|
__name: "ComboboxHiddenInput",
|
|
4227
4227
|
props: { namespace: { default: "v0:combobox" } },
|
|
@@ -4255,10 +4255,10 @@ const _sfc_main$143 = /* @__PURE__ */ defineComponent({
|
|
|
4255
4255
|
//#endregion
|
|
4256
4256
|
//#region src/components/Combobox/ComboboxRoot.vue
|
|
4257
4257
|
const [useComboboxContext, provideComboboxContext] = createContext();
|
|
4258
|
-
const _sfc_main$142 =
|
|
4258
|
+
const _sfc_main$142 = /*@__PURE__*/ defineComponent({
|
|
4259
4259
|
name: "ComboboxRoot",
|
|
4260
4260
|
__name: "ComboboxRoot",
|
|
4261
|
-
props:
|
|
4261
|
+
props: /*@__PURE__*/ mergeModels({
|
|
4262
4262
|
namespace: { default: "v0:combobox" },
|
|
4263
4263
|
id: {},
|
|
4264
4264
|
name: {},
|
|
@@ -4293,7 +4293,7 @@ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
|
|
|
4293
4293
|
"modelValue": {},
|
|
4294
4294
|
"modelModifiers": {}
|
|
4295
4295
|
}),
|
|
4296
|
-
emits:
|
|
4296
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
4297
4297
|
setup(__props) {
|
|
4298
4298
|
const model = useModel(__props, "modelValue");
|
|
4299
4299
|
const context = createCombobox({
|
|
@@ -4339,7 +4339,7 @@ const _sfc_main$142 = /* @__PURE__ */ defineComponent({
|
|
|
4339
4339
|
});
|
|
4340
4340
|
//#endregion
|
|
4341
4341
|
//#region src/components/Combobox/ComboboxActivator.vue
|
|
4342
|
-
const _sfc_main$141 =
|
|
4342
|
+
const _sfc_main$141 = /*@__PURE__*/ defineComponent({
|
|
4343
4343
|
name: "ComboboxActivator",
|
|
4344
4344
|
__name: "ComboboxActivator",
|
|
4345
4345
|
props: {
|
|
@@ -4369,7 +4369,7 @@ const _sfc_main$141 = /* @__PURE__ */ defineComponent({
|
|
|
4369
4369
|
});
|
|
4370
4370
|
//#endregion
|
|
4371
4371
|
//#region src/components/Combobox/ComboboxContent.vue
|
|
4372
|
-
const _sfc_main$140 =
|
|
4372
|
+
const _sfc_main$140 = /*@__PURE__*/ defineComponent({
|
|
4373
4373
|
name: "ComboboxContent",
|
|
4374
4374
|
__name: "ComboboxContent",
|
|
4375
4375
|
props: {
|
|
@@ -4386,7 +4386,8 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
|
|
|
4386
4386
|
const content = useTemplateRef("content");
|
|
4387
4387
|
context.popover.attach(() => content.value?.element);
|
|
4388
4388
|
const { hasContent } = useLazy(context.isOpen, { eager: __props.eager });
|
|
4389
|
-
|
|
4389
|
+
const activator = toRef(() => context.inputEl.value?.closest("[data-state]"));
|
|
4390
|
+
useClickOutside([() => content.value?.element, activator], () => {
|
|
4390
4391
|
if (context.isOpen.value) context.close();
|
|
4391
4392
|
});
|
|
4392
4393
|
const slotProps = toRef(() => ({
|
|
@@ -4410,7 +4411,7 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
|
|
|
4410
4411
|
as: __props.as,
|
|
4411
4412
|
renderless: __props.renderless
|
|
4412
4413
|
}), {
|
|
4413
|
-
default: withCtx(() => [unref(hasContent) ? renderSlot(_ctx.$slots, "default", normalizeProps(
|
|
4414
|
+
default: withCtx(() => [unref(hasContent) ? renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), void 0, void 0, 0) : createCommentVNode("v-if", true)]),
|
|
4414
4415
|
_: 3
|
|
4415
4416
|
}, 16, ["as", "renderless"]);
|
|
4416
4417
|
};
|
|
@@ -4418,7 +4419,7 @@ const _sfc_main$140 = /* @__PURE__ */ defineComponent({
|
|
|
4418
4419
|
});
|
|
4419
4420
|
//#endregion
|
|
4420
4421
|
//#region src/components/Combobox/ComboboxControl.vue
|
|
4421
|
-
const _sfc_main$139 =
|
|
4422
|
+
const _sfc_main$139 = /*@__PURE__*/ defineComponent({
|
|
4422
4423
|
name: "ComboboxControl",
|
|
4423
4424
|
__name: "ComboboxControl",
|
|
4424
4425
|
props: {
|
|
@@ -4470,14 +4471,12 @@ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
|
|
|
4470
4471
|
}
|
|
4471
4472
|
}
|
|
4472
4473
|
context.cursor.onKeydown(e);
|
|
4473
|
-
break;
|
|
4474
4474
|
}
|
|
4475
4475
|
else switch (e.key) {
|
|
4476
4476
|
case "ArrowDown":
|
|
4477
4477
|
case "ArrowUp":
|
|
4478
4478
|
e.preventDefault();
|
|
4479
4479
|
context.open();
|
|
4480
|
-
break;
|
|
4481
4480
|
}
|
|
4482
4481
|
}
|
|
4483
4482
|
const strict = toRef(() => toValue(context.strict));
|
|
@@ -4520,7 +4519,7 @@ const _sfc_main$139 = /* @__PURE__ */ defineComponent({
|
|
|
4520
4519
|
});
|
|
4521
4520
|
//#endregion
|
|
4522
4521
|
//#region src/components/Combobox/ComboboxCue.vue
|
|
4523
|
-
const _sfc_main$138 =
|
|
4522
|
+
const _sfc_main$138 = /*@__PURE__*/ defineComponent({
|
|
4524
4523
|
name: "ComboboxCue",
|
|
4525
4524
|
__name: "ComboboxCue",
|
|
4526
4525
|
props: {
|
|
@@ -4554,7 +4553,7 @@ const _sfc_main$138 = /* @__PURE__ */ defineComponent({
|
|
|
4554
4553
|
});
|
|
4555
4554
|
//#endregion
|
|
4556
4555
|
//#region src/components/Combobox/ComboboxDescription.vue
|
|
4557
|
-
const _sfc_main$137 =
|
|
4556
|
+
const _sfc_main$137 = /*@__PURE__*/ defineComponent({
|
|
4558
4557
|
name: "ComboboxDescription",
|
|
4559
4558
|
inheritAttrs: false,
|
|
4560
4559
|
__name: "ComboboxDescription",
|
|
@@ -4590,7 +4589,7 @@ const _sfc_main$137 = /* @__PURE__ */ defineComponent({
|
|
|
4590
4589
|
});
|
|
4591
4590
|
//#endregion
|
|
4592
4591
|
//#region src/components/Combobox/ComboboxEmpty.vue
|
|
4593
|
-
const _sfc_main$136 =
|
|
4592
|
+
const _sfc_main$136 = /*@__PURE__*/ defineComponent({
|
|
4594
4593
|
name: "ComboboxEmpty",
|
|
4595
4594
|
__name: "ComboboxEmpty",
|
|
4596
4595
|
props: {
|
|
@@ -4616,7 +4615,7 @@ const _sfc_main$136 = /* @__PURE__ */ defineComponent({
|
|
|
4616
4615
|
});
|
|
4617
4616
|
//#endregion
|
|
4618
4617
|
//#region src/components/Combobox/ComboboxError.vue
|
|
4619
|
-
const _sfc_main$135 =
|
|
4618
|
+
const _sfc_main$135 = /*@__PURE__*/ defineComponent({
|
|
4620
4619
|
name: "ComboboxError",
|
|
4621
4620
|
inheritAttrs: false,
|
|
4622
4621
|
__name: "ComboboxError",
|
|
@@ -4657,7 +4656,7 @@ const _sfc_main$135 = /* @__PURE__ */ defineComponent({
|
|
|
4657
4656
|
});
|
|
4658
4657
|
//#endregion
|
|
4659
4658
|
//#region src/components/Combobox/ComboboxItem.vue
|
|
4660
|
-
const _sfc_main$134 =
|
|
4659
|
+
const _sfc_main$134 = /*@__PURE__*/ defineComponent({
|
|
4661
4660
|
name: "ComboboxItem",
|
|
4662
4661
|
__name: "ComboboxItem",
|
|
4663
4662
|
props: {
|
|
@@ -4940,10 +4939,10 @@ const [_useDataGridRoot, provideDataGridRoot] = createContext();
|
|
|
4940
4939
|
function useDataGridRoot(namespace = "v0:data-grid") {
|
|
4941
4940
|
return _useDataGridRoot(namespace);
|
|
4942
4941
|
}
|
|
4943
|
-
const _sfc_main$133 =
|
|
4942
|
+
const _sfc_main$133 = /*@__PURE__*/ defineComponent({
|
|
4944
4943
|
name: "DataGridRoot",
|
|
4945
4944
|
__name: "DataGridRoot",
|
|
4946
|
-
props:
|
|
4945
|
+
props: /*@__PURE__*/ mergeModels({
|
|
4947
4946
|
namespace: { default: "v0:data-grid" },
|
|
4948
4947
|
editing: {},
|
|
4949
4948
|
preserveRowOrder: {},
|
|
@@ -4964,7 +4963,7 @@ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
|
|
|
4964
4963
|
"search": { default: "" },
|
|
4965
4964
|
"searchModifiers": {}
|
|
4966
4965
|
}),
|
|
4967
|
-
emits:
|
|
4966
|
+
emits: /*@__PURE__*/ mergeModels(["update:search"], ["update:search"]),
|
|
4968
4967
|
setup(__props) {
|
|
4969
4968
|
const options = createPropsRestProxy(__props, [
|
|
4970
4969
|
"namespace",
|
|
@@ -5003,7 +5002,7 @@ const _sfc_main$133 = /* @__PURE__ */ defineComponent({
|
|
|
5003
5002
|
* The `<tbody>` element wrapper. Exposes the paginated items from the
|
|
5004
5003
|
* context for rendering data rows.
|
|
5005
5004
|
*/
|
|
5006
|
-
const _sfc_main$132 =
|
|
5005
|
+
const _sfc_main$132 = /*@__PURE__*/ defineComponent({
|
|
5007
5006
|
name: "DataGridBody",
|
|
5008
5007
|
inheritAttrs: false,
|
|
5009
5008
|
__name: "DataGridBody",
|
|
@@ -5041,7 +5040,7 @@ const _sfc_main$132 = /* @__PURE__ */ defineComponent({
|
|
|
5041
5040
|
//#endregion
|
|
5042
5041
|
//#region src/components/Splitter/SplitterRoot.vue
|
|
5043
5042
|
const [useSplitterRoot, provideSplitterRoot] = createContext("v0:splitter");
|
|
5044
|
-
const _sfc_main$131 =
|
|
5043
|
+
const _sfc_main$131 = /*@__PURE__*/ defineComponent({
|
|
5045
5044
|
name: "SplitterRoot",
|
|
5046
5045
|
inheritAttrs: false,
|
|
5047
5046
|
__name: "SplitterRoot",
|
|
@@ -5131,54 +5130,58 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
|
|
|
5131
5130
|
let size = /* @__PURE__ */ clamp(before.size + delta, lower, upper);
|
|
5132
5131
|
const beforeCollapsed = !toValue(before.isSelected);
|
|
5133
5132
|
const drag = dragging.value;
|
|
5134
|
-
if (before.collapsible && !beforeCollapsed && size <= before.minSize && delta < 0)
|
|
5135
|
-
if (
|
|
5136
|
-
size
|
|
5137
|
-
|
|
5133
|
+
if (before.collapsible && !beforeCollapsed && size <= before.minSize && delta < 0) {
|
|
5134
|
+
if (drag) {
|
|
5135
|
+
if (before.size >= before.minSize) {
|
|
5136
|
+
size = before.minSize;
|
|
5137
|
+
if (canCollapse(before)) arm(before.id, "collapse", Math.max(0, before.minSize - (before.size + delta)));
|
|
5138
|
+
}
|
|
5139
|
+
} else {
|
|
5140
|
+
size = before.collapsedSize;
|
|
5141
|
+
before.unselect();
|
|
5142
|
+
expandAccum.set(before.id, 0);
|
|
5138
5143
|
}
|
|
5139
|
-
} else {
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
expandAccum.delete(before.id);
|
|
5154
|
-
} else size = before.collapsedSize;
|
|
5155
|
-
}
|
|
5156
|
-
else if (drag) disarm(before.id);
|
|
5144
|
+
} else if (before.collapsible && beforeCollapsed && delta > 0) {
|
|
5145
|
+
if (drag) {
|
|
5146
|
+
size = before.collapsedSize;
|
|
5147
|
+
if (canExpand(before, after)) arm(before.id, "expand", delta);
|
|
5148
|
+
} else {
|
|
5149
|
+
const accum = (expandAccum.get(before.id) ?? 0) + delta;
|
|
5150
|
+
expandAccum.set(before.id, accum);
|
|
5151
|
+
if (accum >= EXPAND_THRESHOLD) {
|
|
5152
|
+
size = /* @__PURE__ */ clamp(accum, before.collapsedSize, before.maxSize);
|
|
5153
|
+
before.select();
|
|
5154
|
+
expandAccum.delete(before.id);
|
|
5155
|
+
} else size = before.collapsedSize;
|
|
5156
|
+
}
|
|
5157
|
+
} else if (drag) disarm(before.id);
|
|
5157
5158
|
const afterSize = total - size;
|
|
5158
5159
|
const afterCollapsed = !toValue(after.isSelected);
|
|
5159
|
-
if (after.collapsible && !afterCollapsed && afterSize <= after.minSize && delta > 0)
|
|
5160
|
-
if (
|
|
5161
|
-
size
|
|
5162
|
-
|
|
5160
|
+
if (after.collapsible && !afterCollapsed && afterSize <= after.minSize && delta > 0) {
|
|
5161
|
+
if (drag) {
|
|
5162
|
+
if (after.size >= after.minSize) {
|
|
5163
|
+
size = total - after.minSize;
|
|
5164
|
+
if (canCollapse(after)) arm(after.id, "collapse", Math.max(0, after.minSize - (after.size - delta)));
|
|
5165
|
+
}
|
|
5166
|
+
} else {
|
|
5167
|
+
size = total - after.collapsedSize;
|
|
5168
|
+
after.unselect();
|
|
5169
|
+
expandAccum.set(after.id, 0);
|
|
5163
5170
|
}
|
|
5164
|
-
} else {
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
expandAccum.delete(after.id);
|
|
5179
|
-
} else size = total - after.collapsedSize;
|
|
5180
|
-
}
|
|
5181
|
-
else if (drag) disarm(after.id);
|
|
5171
|
+
} else if (after.collapsible && afterCollapsed && delta < 0) {
|
|
5172
|
+
if (drag) {
|
|
5173
|
+
size = total - after.collapsedSize;
|
|
5174
|
+
if (canExpand(after, before)) arm(after.id, "expand", delta);
|
|
5175
|
+
} else {
|
|
5176
|
+
const accum = (expandAccum.get(after.id) ?? 0) + Math.abs(delta);
|
|
5177
|
+
expandAccum.set(after.id, accum);
|
|
5178
|
+
if (accum >= EXPAND_THRESHOLD) {
|
|
5179
|
+
size = total - /* @__PURE__ */ clamp(accum, after.collapsedSize, after.maxSize);
|
|
5180
|
+
after.select();
|
|
5181
|
+
expandAccum.delete(after.id);
|
|
5182
|
+
} else size = total - after.collapsedSize;
|
|
5183
|
+
}
|
|
5184
|
+
} else if (drag) disarm(after.id);
|
|
5182
5185
|
before.size = size;
|
|
5183
5186
|
after.size = total - size;
|
|
5184
5187
|
if (options?.emit) emitLayout();
|
|
@@ -5228,7 +5231,8 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
|
|
|
5228
5231
|
if (incoming.length !== values.length) return;
|
|
5229
5232
|
for (const [index, ticket] of values.entries()) {
|
|
5230
5233
|
const value = incoming[index];
|
|
5231
|
-
|
|
5234
|
+
const min = ticket.collapsible && value <= ticket.collapsedSize ? ticket.collapsedSize : ticket.minSize;
|
|
5235
|
+
ticket.size = /* @__PURE__ */ clamp(value, min, ticket.maxSize);
|
|
5232
5236
|
}
|
|
5233
5237
|
let remainder = 100 - values.reduce((sum, t) => sum + t.size, 0);
|
|
5234
5238
|
for (const ticket of values) {
|
|
@@ -5338,11 +5342,11 @@ const _sfc_main$131 = /* @__PURE__ */ defineComponent({
|
|
|
5338
5342
|
});
|
|
5339
5343
|
//#endregion
|
|
5340
5344
|
//#region src/components/Splitter/SplitterPanel.vue
|
|
5341
|
-
const _sfc_main$130 =
|
|
5345
|
+
const _sfc_main$130 = /*@__PURE__*/ defineComponent({
|
|
5342
5346
|
name: "SplitterPanel",
|
|
5343
5347
|
inheritAttrs: false,
|
|
5344
5348
|
__name: "SplitterPanel",
|
|
5345
|
-
props:
|
|
5349
|
+
props: /*@__PURE__*/ mergeModels({
|
|
5346
5350
|
defaultSize: {},
|
|
5347
5351
|
minSize: { default: 0 },
|
|
5348
5352
|
maxSize: { default: 100 },
|
|
@@ -5357,7 +5361,7 @@ const _sfc_main$130 = /* @__PURE__ */ defineComponent({
|
|
|
5357
5361
|
"collapsed": { type: Boolean },
|
|
5358
5362
|
"collapsedModifiers": {}
|
|
5359
5363
|
}),
|
|
5360
|
-
emits:
|
|
5364
|
+
emits: /*@__PURE__*/ mergeModels(["update:collapsed", "resize"], ["update:collapsed"]),
|
|
5361
5365
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
5362
5366
|
const attrs = useAttrs();
|
|
5363
5367
|
const collapsed = useModel(__props, "collapsed");
|
|
@@ -5473,7 +5477,7 @@ const _sfc_main$130 = /* @__PURE__ */ defineComponent({
|
|
|
5473
5477
|
});
|
|
5474
5478
|
//#endregion
|
|
5475
5479
|
//#region src/components/Splitter/SplitterHandle.vue
|
|
5476
|
-
const _sfc_main$129 =
|
|
5480
|
+
const _sfc_main$129 = /*@__PURE__*/ defineComponent({
|
|
5477
5481
|
name: "SplitterHandle",
|
|
5478
5482
|
inheritAttrs: false,
|
|
5479
5483
|
__name: "SplitterHandle",
|
|
@@ -5593,7 +5597,7 @@ const _sfc_main$129 = /* @__PURE__ */ defineComponent({
|
|
|
5593
5597
|
break;
|
|
5594
5598
|
case backward:
|
|
5595
5599
|
e.preventDefault();
|
|
5596
|
-
splitter.resize(ticket.index, -
|
|
5600
|
+
splitter.resize(ticket.index, -1, { emit: true });
|
|
5597
5601
|
break;
|
|
5598
5602
|
case "PageDown":
|
|
5599
5603
|
e.preventDefault();
|
|
@@ -5601,7 +5605,7 @@ const _sfc_main$129 = /* @__PURE__ */ defineComponent({
|
|
|
5601
5605
|
break;
|
|
5602
5606
|
case "PageUp":
|
|
5603
5607
|
e.preventDefault();
|
|
5604
|
-
splitter.resize(ticket.index, -
|
|
5608
|
+
splitter.resize(ticket.index, -10, { emit: true });
|
|
5605
5609
|
break;
|
|
5606
5610
|
case "Home": {
|
|
5607
5611
|
e.preventDefault();
|
|
@@ -5788,7 +5792,7 @@ const Splitter = {
|
|
|
5788
5792
|
* for rendering nested header rows.
|
|
5789
5793
|
*/
|
|
5790
5794
|
const [useDataGridHeader, provideDataGridHeader] = createContext({ suffix: "header" });
|
|
5791
|
-
const _sfc_main$128 =
|
|
5795
|
+
const _sfc_main$128 = /*@__PURE__*/ defineComponent({
|
|
5792
5796
|
name: "DataGridHeader",
|
|
5793
5797
|
inheritAttrs: false,
|
|
5794
5798
|
__name: "DataGridHeader",
|
|
@@ -5850,7 +5854,7 @@ const _sfc_main$128 = /* @__PURE__ */ defineComponent({
|
|
|
5850
5854
|
* table — pass `as="div"` on the Table/Header/Body/Row/Column/Cell chain.
|
|
5851
5855
|
*/
|
|
5852
5856
|
const [useDataGridRow, provideDataGridRow] = createContext({ suffix: "row" });
|
|
5853
|
-
const _sfc_main$127 =
|
|
5857
|
+
const _sfc_main$127 = /*@__PURE__*/ defineComponent({
|
|
5854
5858
|
name: "DataGridRow",
|
|
5855
5859
|
inheritAttrs: false,
|
|
5856
5860
|
__name: "DataGridRow",
|
|
@@ -5958,7 +5962,6 @@ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
|
|
|
5958
5962
|
if (!/* @__PURE__ */ isUndefined(current)) context.expansion.toggle(current);
|
|
5959
5963
|
}
|
|
5960
5964
|
function onSplitterLayout(sizes) {
|
|
5961
|
-
if (sizes.length !== context.layout.columns.value.length) return;
|
|
5962
5965
|
const visible = new Set(context.layout.columns.value.map((c) => c.id));
|
|
5963
5966
|
const assigned = /* @__PURE__ */ new Map();
|
|
5964
5967
|
for (const [index, size] of sizes.entries()) {
|
|
@@ -5974,7 +5977,6 @@ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
|
|
|
5974
5977
|
if (/* @__PURE__ */ isUndefined(size)) return;
|
|
5975
5978
|
permuted.push(size);
|
|
5976
5979
|
}
|
|
5977
|
-
if (permuted.length !== sizes.length) return;
|
|
5978
5980
|
context.layout.distribute(permuted);
|
|
5979
5981
|
}
|
|
5980
5982
|
const slotProps = toRef(() => ({
|
|
@@ -6028,7 +6030,7 @@ const _sfc_main$127 = /* @__PURE__ */ defineComponent({
|
|
|
6028
6030
|
* A `<td>` element for data cells. Exposes editing state, row spanning,
|
|
6029
6031
|
* consumer `colspan`, and layout (pin/size/offset) from the grid context.
|
|
6030
6032
|
*/
|
|
6031
|
-
const _sfc_main$126 =
|
|
6033
|
+
const _sfc_main$126 = /*@__PURE__*/ defineComponent({
|
|
6032
6034
|
name: "DataGridCell",
|
|
6033
6035
|
inheritAttrs: false,
|
|
6034
6036
|
__name: "DataGridCell",
|
|
@@ -6128,7 +6130,7 @@ const _sfc_main$126 = /* @__PURE__ */ defineComponent({
|
|
|
6128
6130
|
* When inside a resizable `DataGridRow`, this component composes
|
|
6129
6131
|
* `Splitter.Panel`. Keep the consumer `as` — do not swap `th` for `div`.
|
|
6130
6132
|
*/
|
|
6131
|
-
const _sfc_main$125 =
|
|
6133
|
+
const _sfc_main$125 = /*@__PURE__*/ defineComponent({
|
|
6132
6134
|
name: "DataGridColumn",
|
|
6133
6135
|
inheritAttrs: false,
|
|
6134
6136
|
__name: "DataGridColumn",
|
|
@@ -6263,7 +6265,7 @@ const _sfc_main$125 = /* @__PURE__ */ defineComponent({
|
|
|
6263
6265
|
* Empty state component that renders when the grid has no items.
|
|
6264
6266
|
* Conditionally renders based on the items count.
|
|
6265
6267
|
*/
|
|
6266
|
-
const _sfc_main$124 =
|
|
6268
|
+
const _sfc_main$124 = /*@__PURE__*/ defineComponent({
|
|
6267
6269
|
name: "DataGridEmpty",
|
|
6268
6270
|
inheritAttrs: false,
|
|
6269
6271
|
__name: "DataGridEmpty",
|
|
@@ -6306,7 +6308,7 @@ const _sfc_main$124 = /* @__PURE__ */ defineComponent({
|
|
|
6306
6308
|
* renders nothing so it cannot hijack an ancestor Splitter or throw
|
|
6307
6309
|
* V0_CONTEXT_MISSING.
|
|
6308
6310
|
*/
|
|
6309
|
-
const _sfc_main$123 =
|
|
6311
|
+
const _sfc_main$123 = /*@__PURE__*/ defineComponent({
|
|
6310
6312
|
name: "DataGridHandle",
|
|
6311
6313
|
inheritAttrs: false,
|
|
6312
6314
|
__name: "DataGridHandle",
|
|
@@ -6360,7 +6362,7 @@ const _sfc_main$123 = /* @__PURE__ */ defineComponent({
|
|
|
6360
6362
|
* The `<table>` element wrapper for the DataGrid compound. Renders a semantic
|
|
6361
6363
|
* table with proper ARIA attributes. This is not an APG Grid widget.
|
|
6362
6364
|
*/
|
|
6363
|
-
const _sfc_main$122 =
|
|
6365
|
+
const _sfc_main$122 = /*@__PURE__*/ defineComponent({
|
|
6364
6366
|
name: "DataGridTable",
|
|
6365
6367
|
inheritAttrs: false,
|
|
6366
6368
|
__name: "DataGridTable",
|
|
@@ -6615,10 +6617,10 @@ const [_useDataTableRoot, provideDataTableRoot] = createContext();
|
|
|
6615
6617
|
function useDataTableRoot(namespace = "v0:data-table") {
|
|
6616
6618
|
return _useDataTableRoot(namespace);
|
|
6617
6619
|
}
|
|
6618
|
-
const _sfc_main$121 =
|
|
6620
|
+
const _sfc_main$121 = /*@__PURE__*/ defineComponent({
|
|
6619
6621
|
name: "DataTableRoot",
|
|
6620
6622
|
__name: "DataTableRoot",
|
|
6621
|
-
props:
|
|
6623
|
+
props: /*@__PURE__*/ mergeModels({
|
|
6622
6624
|
namespace: { default: "v0:data-table" },
|
|
6623
6625
|
filter: {},
|
|
6624
6626
|
pagination: {},
|
|
@@ -6636,7 +6638,7 @@ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
|
|
|
6636
6638
|
"search": { default: "" },
|
|
6637
6639
|
"searchModifiers": {}
|
|
6638
6640
|
}),
|
|
6639
|
-
emits:
|
|
6641
|
+
emits: /*@__PURE__*/ mergeModels(["update:search"], ["update:search"]),
|
|
6640
6642
|
setup(__props) {
|
|
6641
6643
|
const context = createDataTable({
|
|
6642
6644
|
filter: __props.filter,
|
|
@@ -6676,7 +6678,7 @@ const _sfc_main$121 = /* @__PURE__ */ defineComponent({
|
|
|
6676
6678
|
* @remarks
|
|
6677
6679
|
* The `<tbody>` element wrapper. Slot exposes `rank`, `items`, and `isEmpty`.
|
|
6678
6680
|
*/
|
|
6679
|
-
const _sfc_main$120 =
|
|
6681
|
+
const _sfc_main$120 = /*@__PURE__*/ defineComponent({
|
|
6680
6682
|
name: "DataTableBody",
|
|
6681
6683
|
inheritAttrs: false,
|
|
6682
6684
|
__name: "DataTableBody",
|
|
@@ -6716,7 +6718,7 @@ const _sfc_main$120 = /* @__PURE__ */ defineComponent({
|
|
|
6716
6718
|
* @remarks
|
|
6717
6719
|
* A `<td>` element for data cells. Use inside DataTable.Row.
|
|
6718
6720
|
*/
|
|
6719
|
-
const _sfc_main$119 =
|
|
6721
|
+
const _sfc_main$119 = /*@__PURE__*/ defineComponent({
|
|
6720
6722
|
name: "DataTableCell",
|
|
6721
6723
|
inheritAttrs: false,
|
|
6722
6724
|
__name: "DataTableCell",
|
|
@@ -6755,7 +6757,7 @@ const _sfc_main$119 = /* @__PURE__ */ defineComponent({
|
|
|
6755
6757
|
* A `<th>` element for header cells. Exposes sort state and controls
|
|
6756
6758
|
* for sortable columns. Use inside DataTable.Row.
|
|
6757
6759
|
*/
|
|
6758
|
-
const _sfc_main$118 =
|
|
6760
|
+
const _sfc_main$118 = /*@__PURE__*/ defineComponent({
|
|
6759
6761
|
name: "DataTableColumn",
|
|
6760
6762
|
inheritAttrs: false,
|
|
6761
6763
|
__name: "DataTableColumn",
|
|
@@ -6844,7 +6846,7 @@ const _sfc_main$118 = /* @__PURE__ */ defineComponent({
|
|
|
6844
6846
|
* Empty state component that renders when the table has no items.
|
|
6845
6847
|
* Conditionally renders based on the items count.
|
|
6846
6848
|
*/
|
|
6847
|
-
const _sfc_main$117 =
|
|
6849
|
+
const _sfc_main$117 = /*@__PURE__*/ defineComponent({
|
|
6848
6850
|
name: "DataTableEmpty",
|
|
6849
6851
|
inheritAttrs: false,
|
|
6850
6852
|
__name: "DataTableEmpty",
|
|
@@ -6885,7 +6887,7 @@ const _sfc_main$117 = /* @__PURE__ */ defineComponent({
|
|
|
6885
6887
|
* The `<thead>` element wrapper. Exposes the 2D header grid from the context
|
|
6886
6888
|
* for rendering nested header rows.
|
|
6887
6889
|
*/
|
|
6888
|
-
const _sfc_main$116 =
|
|
6890
|
+
const _sfc_main$116 = /*@__PURE__*/ defineComponent({
|
|
6889
6891
|
name: "DataTableHeader",
|
|
6890
6892
|
inheritAttrs: false,
|
|
6891
6893
|
__name: "DataTableHeader",
|
|
@@ -6924,7 +6926,7 @@ const _sfc_main$116 = /* @__PURE__ */ defineComponent({
|
|
|
6924
6926
|
* DataTable.Body (with Cell). Exposes selection and expansion state
|
|
6925
6927
|
* when bound to a row item.
|
|
6926
6928
|
*/
|
|
6927
|
-
const _sfc_main$115 =
|
|
6929
|
+
const _sfc_main$115 = /*@__PURE__*/ defineComponent({
|
|
6928
6930
|
name: "DataTableRow",
|
|
6929
6931
|
inheritAttrs: false,
|
|
6930
6932
|
__name: "DataTableRow",
|
|
@@ -7050,7 +7052,7 @@ const _sfc_main$115 = /* @__PURE__ */ defineComponent({
|
|
|
7050
7052
|
* The `<table>` element wrapper for the DataTable compound. Renders a semantic
|
|
7051
7053
|
* table with proper ARIA attributes.
|
|
7052
7054
|
*/
|
|
7053
|
-
const _sfc_main$114 =
|
|
7055
|
+
const _sfc_main$114 = /*@__PURE__*/ defineComponent({
|
|
7054
7056
|
name: "DataTableTable",
|
|
7055
7057
|
inheritAttrs: false,
|
|
7056
7058
|
__name: "DataTableTable",
|
|
@@ -7375,10 +7377,10 @@ const DataTable = {
|
|
|
7375
7377
|
//#endregion
|
|
7376
7378
|
//#region src/components/Dialog/DialogRoot.vue
|
|
7377
7379
|
const [useDialogContext, provideDialogContext] = createContext();
|
|
7378
|
-
const _sfc_main$113 =
|
|
7380
|
+
const _sfc_main$113 = /*@__PURE__*/ defineComponent({
|
|
7379
7381
|
name: "DialogRoot",
|
|
7380
7382
|
__name: "DialogRoot",
|
|
7381
|
-
props:
|
|
7383
|
+
props: /*@__PURE__*/ mergeModels({
|
|
7382
7384
|
namespace: { default: "v0:dialog" },
|
|
7383
7385
|
id: {},
|
|
7384
7386
|
as: { default: null },
|
|
@@ -7390,7 +7392,7 @@ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
|
|
|
7390
7392
|
},
|
|
7391
7393
|
"modelModifiers": {}
|
|
7392
7394
|
}),
|
|
7393
|
-
emits:
|
|
7395
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
7394
7396
|
setup(__props) {
|
|
7395
7397
|
const isOpen = useModel(__props, "modelValue");
|
|
7396
7398
|
const id = __props.id ?? /* @__PURE__ */ useId$1();
|
|
@@ -7433,7 +7435,7 @@ const _sfc_main$113 = /* @__PURE__ */ defineComponent({
|
|
|
7433
7435
|
});
|
|
7434
7436
|
//#endregion
|
|
7435
7437
|
//#region src/components/Dialog/DialogClose.vue
|
|
7436
|
-
const _sfc_main$112 =
|
|
7438
|
+
const _sfc_main$112 = /*@__PURE__*/ defineComponent({
|
|
7437
7439
|
name: "DialogClose",
|
|
7438
7440
|
__name: "DialogClose",
|
|
7439
7441
|
props: {
|
|
@@ -7477,7 +7479,7 @@ const _sfc_main$112 = /* @__PURE__ */ defineComponent({
|
|
|
7477
7479
|
});
|
|
7478
7480
|
//#endregion
|
|
7479
7481
|
//#region src/components/Dialog/DialogContent.vue
|
|
7480
|
-
const _sfc_main$111 =
|
|
7482
|
+
const _sfc_main$111 = /*@__PURE__*/ defineComponent({
|
|
7481
7483
|
name: "DialogContent",
|
|
7482
7484
|
__name: "DialogContent",
|
|
7483
7485
|
props: {
|
|
@@ -7562,7 +7564,7 @@ const _sfc_main$111 = /* @__PURE__ */ defineComponent({
|
|
|
7562
7564
|
});
|
|
7563
7565
|
//#endregion
|
|
7564
7566
|
//#region src/components/Dialog/DialogDescription.vue
|
|
7565
|
-
const _sfc_main$110 =
|
|
7567
|
+
const _sfc_main$110 = /*@__PURE__*/ defineComponent({
|
|
7566
7568
|
name: "DialogDescription",
|
|
7567
7569
|
__name: "DialogDescription",
|
|
7568
7570
|
props: {
|
|
@@ -7592,7 +7594,7 @@ const _sfc_main$110 = /* @__PURE__ */ defineComponent({
|
|
|
7592
7594
|
});
|
|
7593
7595
|
//#endregion
|
|
7594
7596
|
//#region src/components/Dialog/DialogTitle.vue
|
|
7595
|
-
const _sfc_main$109 =
|
|
7597
|
+
const _sfc_main$109 = /*@__PURE__*/ defineComponent({
|
|
7596
7598
|
name: "DialogTitle",
|
|
7597
7599
|
__name: "DialogTitle",
|
|
7598
7600
|
props: {
|
|
@@ -7622,7 +7624,7 @@ const _sfc_main$109 = /* @__PURE__ */ defineComponent({
|
|
|
7622
7624
|
});
|
|
7623
7625
|
//#endregion
|
|
7624
7626
|
//#region src/components/Dialog/DialogActivator.vue
|
|
7625
|
-
const _sfc_main$108 =
|
|
7627
|
+
const _sfc_main$108 = /*@__PURE__*/ defineComponent({
|
|
7626
7628
|
name: "DialogActivator",
|
|
7627
7629
|
__name: "DialogActivator",
|
|
7628
7630
|
props: {
|
|
@@ -7817,10 +7819,10 @@ const Dialog = {
|
|
|
7817
7819
|
//#endregion
|
|
7818
7820
|
//#region src/components/ExpansionPanel/ExpansionPanelGroup.vue
|
|
7819
7821
|
const [useExpansionPanelGroup, provideExpansionPanelGroup] = createContext();
|
|
7820
|
-
const _sfc_main$107 =
|
|
7822
|
+
const _sfc_main$107 = /*@__PURE__*/ defineComponent({
|
|
7821
7823
|
name: "ExpansionPanelGroup",
|
|
7822
7824
|
__name: "ExpansionPanelGroup",
|
|
7823
|
-
props:
|
|
7825
|
+
props: /*@__PURE__*/ mergeModels({
|
|
7824
7826
|
namespace: { default: "v0:expansion-panel" },
|
|
7825
7827
|
disabled: {
|
|
7826
7828
|
type: Boolean,
|
|
@@ -7844,7 +7846,7 @@ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
|
|
|
7844
7846
|
"modelValue": {},
|
|
7845
7847
|
"modelModifiers": {}
|
|
7846
7848
|
}),
|
|
7847
|
-
emits:
|
|
7849
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
7848
7850
|
setup(__props) {
|
|
7849
7851
|
const model = useModel(__props, "modelValue");
|
|
7850
7852
|
const isDisabled = toRef(() => __props.disabled);
|
|
@@ -7877,7 +7879,7 @@ const _sfc_main$107 = /* @__PURE__ */ defineComponent({
|
|
|
7877
7879
|
//#endregion
|
|
7878
7880
|
//#region src/components/ExpansionPanel/ExpansionPanelRoot.vue
|
|
7879
7881
|
const [useExpansionPanelRoot, provideExpansionPanelRoot] = createContext({ suffix: "item" });
|
|
7880
|
-
const _sfc_main$106 =
|
|
7882
|
+
const _sfc_main$106 = /*@__PURE__*/ defineComponent({
|
|
7881
7883
|
name: "ExpansionPanelRoot",
|
|
7882
7884
|
__name: "ExpansionPanelRoot",
|
|
7883
7885
|
props: {
|
|
@@ -7923,7 +7925,7 @@ const _sfc_main$106 = /* @__PURE__ */ defineComponent({
|
|
|
7923
7925
|
});
|
|
7924
7926
|
//#endregion
|
|
7925
7927
|
//#region src/components/ExpansionPanel/ExpansionPanelActivator.vue
|
|
7926
|
-
const _sfc_main$105 =
|
|
7928
|
+
const _sfc_main$105 = /*@__PURE__*/ defineComponent({
|
|
7927
7929
|
name: "ExpansionPanelActivator",
|
|
7928
7930
|
__name: "ExpansionPanelActivator",
|
|
7929
7931
|
props: {
|
|
@@ -7976,7 +7978,7 @@ const _sfc_main$105 = /* @__PURE__ */ defineComponent({
|
|
|
7976
7978
|
});
|
|
7977
7979
|
//#endregion
|
|
7978
7980
|
//#region src/components/ExpansionPanel/ExpansionPanelContent.vue
|
|
7979
|
-
const _sfc_main$104 =
|
|
7981
|
+
const _sfc_main$104 = /*@__PURE__*/ defineComponent({
|
|
7980
7982
|
name: "ExpansionPanelContent",
|
|
7981
7983
|
__name: "ExpansionPanelContent",
|
|
7982
7984
|
props: {
|
|
@@ -8009,7 +8011,7 @@ const _sfc_main$104 = /* @__PURE__ */ defineComponent({
|
|
|
8009
8011
|
});
|
|
8010
8012
|
//#endregion
|
|
8011
8013
|
//#region src/components/ExpansionPanel/ExpansionPanelCue.vue
|
|
8012
|
-
const _sfc_main$103 =
|
|
8014
|
+
const _sfc_main$103 = /*@__PURE__*/ defineComponent({
|
|
8013
8015
|
name: "ExpansionPanelCue",
|
|
8014
8016
|
__name: "ExpansionPanelCue",
|
|
8015
8017
|
props: {
|
|
@@ -8039,7 +8041,7 @@ const _sfc_main$103 = /* @__PURE__ */ defineComponent({
|
|
|
8039
8041
|
});
|
|
8040
8042
|
//#endregion
|
|
8041
8043
|
//#region src/components/ExpansionPanel/ExpansionPanelHeader.vue
|
|
8042
|
-
const _sfc_main$102 =
|
|
8044
|
+
const _sfc_main$102 = /*@__PURE__*/ defineComponent({
|
|
8043
8045
|
name: "ExpansionPanelHeader",
|
|
8044
8046
|
__name: "ExpansionPanelHeader",
|
|
8045
8047
|
props: {
|
|
@@ -8210,11 +8212,11 @@ const ExpansionPanel = {
|
|
|
8210
8212
|
};
|
|
8211
8213
|
//#endregion
|
|
8212
8214
|
//#region src/components/Form/Form.vue
|
|
8213
|
-
const _sfc_main$101 =
|
|
8215
|
+
const _sfc_main$101 = /*@__PURE__*/ defineComponent({
|
|
8214
8216
|
name: "Form",
|
|
8215
8217
|
inheritAttrs: false,
|
|
8216
8218
|
__name: "Form",
|
|
8217
|
-
props:
|
|
8219
|
+
props: /*@__PURE__*/ mergeModels({
|
|
8218
8220
|
namespace: { default: "v0:form" },
|
|
8219
8221
|
disabled: {
|
|
8220
8222
|
type: Boolean,
|
|
@@ -8237,7 +8239,7 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
|
8237
8239
|
},
|
|
8238
8240
|
"modelModifiers": {}
|
|
8239
8241
|
}),
|
|
8240
|
-
emits:
|
|
8242
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
8241
8243
|
"update:model-value",
|
|
8242
8244
|
"submit",
|
|
8243
8245
|
"reset"
|
|
@@ -8256,7 +8258,8 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
|
8256
8258
|
provideContext(__props.namespace, form);
|
|
8257
8259
|
async function onSubmit(event) {
|
|
8258
8260
|
event.preventDefault();
|
|
8259
|
-
|
|
8261
|
+
const valid = await form.submit();
|
|
8262
|
+
emit("submit", { valid });
|
|
8260
8263
|
}
|
|
8261
8264
|
function onReset(event) {
|
|
8262
8265
|
event.preventDefault();
|
|
@@ -8290,10 +8293,10 @@ const _sfc_main$101 = /* @__PURE__ */ defineComponent({
|
|
|
8290
8293
|
//#endregion
|
|
8291
8294
|
//#region src/components/Group/GroupRoot.vue
|
|
8292
8295
|
const [useGroupRoot, provideGroupRoot] = createContext();
|
|
8293
|
-
const _sfc_main$100 =
|
|
8296
|
+
const _sfc_main$100 = /*@__PURE__*/ defineComponent({
|
|
8294
8297
|
name: "GroupRoot",
|
|
8295
8298
|
__name: "GroupRoot",
|
|
8296
|
-
props:
|
|
8299
|
+
props: /*@__PURE__*/ mergeModels({
|
|
8297
8300
|
namespace: { default: "v0:group" },
|
|
8298
8301
|
disabled: {
|
|
8299
8302
|
type: Boolean,
|
|
@@ -8311,7 +8314,7 @@ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
|
|
|
8311
8314
|
"modelValue": {},
|
|
8312
8315
|
"modelModifiers": {}
|
|
8313
8316
|
}),
|
|
8314
|
-
emits:
|
|
8317
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
8315
8318
|
setup(__props) {
|
|
8316
8319
|
const model = useModel(__props, "modelValue");
|
|
8317
8320
|
const group = createGroup({
|
|
@@ -8342,7 +8345,7 @@ const _sfc_main$100 = /* @__PURE__ */ defineComponent({
|
|
|
8342
8345
|
});
|
|
8343
8346
|
//#endregion
|
|
8344
8347
|
//#region src/components/Group/GroupItem.vue
|
|
8345
|
-
const _sfc_main$99 =
|
|
8348
|
+
const _sfc_main$99 = /*@__PURE__*/ defineComponent({
|
|
8346
8349
|
name: "GroupItem",
|
|
8347
8350
|
__name: "GroupItem",
|
|
8348
8351
|
props: {
|
|
@@ -8455,7 +8458,7 @@ const Group = {
|
|
|
8455
8458
|
//#endregion
|
|
8456
8459
|
//#region src/components/Image/ImageRoot.vue
|
|
8457
8460
|
const [useImageRoot, provideImageRoot] = createContext();
|
|
8458
|
-
const _sfc_main$98 =
|
|
8461
|
+
const _sfc_main$98 = /*@__PURE__*/ defineComponent({
|
|
8459
8462
|
name: "ImageRoot",
|
|
8460
8463
|
__name: "ImageRoot",
|
|
8461
8464
|
props: {
|
|
@@ -8508,7 +8511,7 @@ const _sfc_main$98 = /* @__PURE__ */ defineComponent({
|
|
|
8508
8511
|
});
|
|
8509
8512
|
//#endregion
|
|
8510
8513
|
//#region src/components/Image/ImageFallback.vue
|
|
8511
|
-
const _sfc_main$97 =
|
|
8514
|
+
const _sfc_main$97 = /*@__PURE__*/ defineComponent({
|
|
8512
8515
|
name: "ImageFallback",
|
|
8513
8516
|
__name: "ImageFallback",
|
|
8514
8517
|
props: {
|
|
@@ -8538,7 +8541,7 @@ const _sfc_main$97 = /* @__PURE__ */ defineComponent({
|
|
|
8538
8541
|
});
|
|
8539
8542
|
//#endregion
|
|
8540
8543
|
//#region src/components/Image/ImageImg.vue
|
|
8541
|
-
const _sfc_main$96 =
|
|
8544
|
+
const _sfc_main$96 = /*@__PURE__*/ defineComponent({
|
|
8542
8545
|
name: "ImageImg",
|
|
8543
8546
|
__name: "ImageImg",
|
|
8544
8547
|
props: {
|
|
@@ -8609,7 +8612,7 @@ const _sfc_main$96 = /* @__PURE__ */ defineComponent({
|
|
|
8609
8612
|
});
|
|
8610
8613
|
//#endregion
|
|
8611
8614
|
//#region src/components/Image/ImagePlaceholder.vue
|
|
8612
|
-
const _sfc_main$95 =
|
|
8615
|
+
const _sfc_main$95 = /*@__PURE__*/ defineComponent({
|
|
8613
8616
|
name: "ImagePlaceholder",
|
|
8614
8617
|
__name: "ImagePlaceholder",
|
|
8615
8618
|
props: {
|
|
@@ -8722,11 +8725,11 @@ function parseValidateOn$1(value) {
|
|
|
8722
8725
|
modifier
|
|
8723
8726
|
};
|
|
8724
8727
|
}
|
|
8725
|
-
const _sfc_main$94 =
|
|
8728
|
+
const _sfc_main$94 = /*@__PURE__*/ defineComponent({
|
|
8726
8729
|
name: "InputRoot",
|
|
8727
8730
|
inheritAttrs: false,
|
|
8728
8731
|
__name: "InputRoot",
|
|
8729
|
-
props:
|
|
8732
|
+
props: /*@__PURE__*/ mergeModels({
|
|
8730
8733
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
8731
8734
|
label: {},
|
|
8732
8735
|
name: {},
|
|
@@ -8743,6 +8746,7 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
|
8743
8746
|
},
|
|
8744
8747
|
errorMessages: {},
|
|
8745
8748
|
namespace: { default: "v0:input:root" },
|
|
8749
|
+
formNamespace: { default: "v0:form" },
|
|
8746
8750
|
as: { default: "div" },
|
|
8747
8751
|
renderless: { type: Boolean }
|
|
8748
8752
|
}, {
|
|
@@ -8754,7 +8758,7 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
|
8754
8758
|
},
|
|
8755
8759
|
"focusedModifiers": {}
|
|
8756
8760
|
}),
|
|
8757
|
-
emits:
|
|
8761
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value", "update:focused"], ["update:modelValue", "update:focused"]),
|
|
8758
8762
|
setup(__props) {
|
|
8759
8763
|
const attrs = useAttrs();
|
|
8760
8764
|
const model = useModel(__props, "modelValue");
|
|
@@ -8765,6 +8769,7 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
|
8765
8769
|
label: __props.label,
|
|
8766
8770
|
name: __props.name,
|
|
8767
8771
|
form: __props.form,
|
|
8772
|
+
formNamespace: __props.formNamespace,
|
|
8768
8773
|
required: __props.required,
|
|
8769
8774
|
disabled: () => toValue(__props.disabled),
|
|
8770
8775
|
readonly: () => toValue(__props.readonly),
|
|
@@ -8862,7 +8867,12 @@ const _sfc_main$94 = /* @__PURE__ */ defineComponent({
|
|
|
8862
8867
|
});
|
|
8863
8868
|
//#endregion
|
|
8864
8869
|
//#region src/components/Input/InputControl.vue
|
|
8865
|
-
|
|
8870
|
+
function defined(attrs) {
|
|
8871
|
+
const result = {};
|
|
8872
|
+
for (const key of Object.keys(attrs)) if (!/* @__PURE__ */ isUndefined(attrs[key])) result[key] = attrs[key];
|
|
8873
|
+
return result;
|
|
8874
|
+
}
|
|
8875
|
+
const _sfc_main$93 = /*@__PURE__*/ defineComponent({
|
|
8866
8876
|
name: "InputControl",
|
|
8867
8877
|
inheritAttrs: false,
|
|
8868
8878
|
__name: "InputControl",
|
|
@@ -8892,7 +8902,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
|
8892
8902
|
const disabled = root.isDisabled.value;
|
|
8893
8903
|
const readonly = root.isReadonly.value;
|
|
8894
8904
|
const isFocused = root.isFocused.value;
|
|
8895
|
-
return {
|
|
8905
|
+
return defined({
|
|
8896
8906
|
"id": root.id,
|
|
8897
8907
|
"type": root.type.value,
|
|
8898
8908
|
"name": root.name,
|
|
@@ -8913,7 +8923,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
|
8913
8923
|
"onInput": onInput,
|
|
8914
8924
|
"onFocus": onFocus,
|
|
8915
8925
|
"onBlur": onBlur
|
|
8916
|
-
};
|
|
8926
|
+
});
|
|
8917
8927
|
});
|
|
8918
8928
|
const slotProps = toRef(() => ({
|
|
8919
8929
|
value: root.value.value,
|
|
@@ -8935,7 +8945,7 @@ const _sfc_main$93 = /* @__PURE__ */ defineComponent({
|
|
|
8935
8945
|
});
|
|
8936
8946
|
//#endregion
|
|
8937
8947
|
//#region src/components/Input/InputDescription.vue
|
|
8938
|
-
const _sfc_main$92 =
|
|
8948
|
+
const _sfc_main$92 = /*@__PURE__*/ defineComponent({
|
|
8939
8949
|
name: "InputDescription",
|
|
8940
8950
|
inheritAttrs: false,
|
|
8941
8951
|
__name: "InputDescription",
|
|
@@ -8965,7 +8975,7 @@ const _sfc_main$92 = /* @__PURE__ */ defineComponent({
|
|
|
8965
8975
|
});
|
|
8966
8976
|
//#endregion
|
|
8967
8977
|
//#region src/components/Input/InputError.vue
|
|
8968
|
-
const _sfc_main$91 =
|
|
8978
|
+
const _sfc_main$91 = /*@__PURE__*/ defineComponent({
|
|
8969
8979
|
name: "InputError",
|
|
8970
8980
|
inheritAttrs: false,
|
|
8971
8981
|
__name: "InputError",
|
|
@@ -9117,7 +9127,7 @@ const Input = {
|
|
|
9117
9127
|
};
|
|
9118
9128
|
//#endregion
|
|
9119
9129
|
//#region src/components/Locale/Locale.vue
|
|
9120
|
-
const _sfc_main$90 =
|
|
9130
|
+
const _sfc_main$90 = /*@__PURE__*/ defineComponent({
|
|
9121
9131
|
name: "Locale",
|
|
9122
9132
|
inheritAttrs: false,
|
|
9123
9133
|
__name: "Locale",
|
|
@@ -9158,7 +9168,7 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
9158
9168
|
for (const id of prev) parent.selectedIds.add(id);
|
|
9159
9169
|
}
|
|
9160
9170
|
}
|
|
9161
|
-
|
|
9171
|
+
const scoped = {
|
|
9162
9172
|
...parent,
|
|
9163
9173
|
selectedId,
|
|
9164
9174
|
selectedItem,
|
|
@@ -9166,16 +9176,14 @@ const _sfc_main$90 = /* @__PURE__ */ defineComponent({
|
|
|
9166
9176
|
n,
|
|
9167
9177
|
_rootT: rootT,
|
|
9168
9178
|
_rootN: rootN
|
|
9169
|
-
}
|
|
9179
|
+
};
|
|
9180
|
+
provideContext("v0:locale", scoped);
|
|
9170
9181
|
const attrs = toRef(() => ({
|
|
9171
9182
|
"data-locale": __props.locale,
|
|
9172
9183
|
"lang": __props.locale
|
|
9173
9184
|
}));
|
|
9174
9185
|
return (_ctx, _cache) => {
|
|
9175
|
-
return __props.renderless ? renderSlot(_ctx.$slots, "default", {
|
|
9176
|
-
key: 0,
|
|
9177
|
-
attrs: attrs.value
|
|
9178
|
-
}) : (openBlock(), createBlock(resolveDynamicComponent(__props.as), normalizeProps(mergeProps({ key: 1 }, attrs.value)), {
|
|
9186
|
+
return __props.renderless ? renderSlot(_ctx.$slots, "default", { attrs: attrs.value }, void 0, void 0, 0) : (openBlock(), createBlock(resolveDynamicComponent(__props.as), normalizeProps(mergeProps({ key: 1 }, attrs.value)), {
|
|
9179
9187
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { attrs: attrs.value })]),
|
|
9180
9188
|
_: 3
|
|
9181
9189
|
}, 16));
|
|
@@ -9196,11 +9204,11 @@ function parseValidateOn(value) {
|
|
|
9196
9204
|
modifier
|
|
9197
9205
|
};
|
|
9198
9206
|
}
|
|
9199
|
-
const _sfc_main$89 =
|
|
9207
|
+
const _sfc_main$89 = /*@__PURE__*/ defineComponent({
|
|
9200
9208
|
name: "NumberFieldRoot",
|
|
9201
9209
|
inheritAttrs: false,
|
|
9202
9210
|
__name: "NumberFieldRoot",
|
|
9203
|
-
props:
|
|
9211
|
+
props: /*@__PURE__*/ mergeModels({
|
|
9204
9212
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
9205
9213
|
label: {},
|
|
9206
9214
|
ariaLabelledby: {},
|
|
@@ -9235,13 +9243,14 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
9235
9243
|
default: false
|
|
9236
9244
|
},
|
|
9237
9245
|
namespace: { default: "v0:number-field:root" },
|
|
9246
|
+
formNamespace: { default: "v0:form" },
|
|
9238
9247
|
as: { default: "div" },
|
|
9239
9248
|
renderless: { type: Boolean }
|
|
9240
9249
|
}, {
|
|
9241
9250
|
"modelValue": { default: null },
|
|
9242
9251
|
"modelModifiers": {}
|
|
9243
9252
|
}),
|
|
9244
|
-
emits:
|
|
9253
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
9245
9254
|
setup(__props) {
|
|
9246
9255
|
const attrs = useAttrs();
|
|
9247
9256
|
const model = useModel(__props, "modelValue");
|
|
@@ -9250,6 +9259,8 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
9250
9259
|
id: __props.id,
|
|
9251
9260
|
label: __props.label,
|
|
9252
9261
|
name: __props.name,
|
|
9262
|
+
formNamespace: __props.formNamespace,
|
|
9263
|
+
required: __props.required,
|
|
9253
9264
|
locale: __props.locale,
|
|
9254
9265
|
format: __props.format,
|
|
9255
9266
|
clamp: __props.clamp,
|
|
@@ -9358,7 +9369,7 @@ const _sfc_main$89 = /* @__PURE__ */ defineComponent({
|
|
|
9358
9369
|
});
|
|
9359
9370
|
//#endregion
|
|
9360
9371
|
//#region src/components/NumberField/NumberFieldControl.vue
|
|
9361
|
-
const _sfc_main$88 =
|
|
9372
|
+
const _sfc_main$88 = /*@__PURE__*/ defineComponent({
|
|
9362
9373
|
name: "NumberFieldControl",
|
|
9363
9374
|
inheritAttrs: false,
|
|
9364
9375
|
__name: "NumberFieldControl",
|
|
@@ -9396,7 +9407,8 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
|
9396
9407
|
if (!/^-?\d*\.?\d*$/.test(next)) e.preventDefault();
|
|
9397
9408
|
}
|
|
9398
9409
|
function onInput(e) {
|
|
9399
|
-
|
|
9410
|
+
const target = e.target;
|
|
9411
|
+
text.value = target.value;
|
|
9400
9412
|
if (root.commitOn === "input") {
|
|
9401
9413
|
isEagerWrite = true;
|
|
9402
9414
|
root.write(text.value);
|
|
@@ -9517,7 +9529,7 @@ const _sfc_main$88 = /* @__PURE__ */ defineComponent({
|
|
|
9517
9529
|
});
|
|
9518
9530
|
//#endregion
|
|
9519
9531
|
//#region src/components/NumberField/NumberFieldDecrement.vue
|
|
9520
|
-
const _sfc_main$87 =
|
|
9532
|
+
const _sfc_main$87 = /*@__PURE__*/ defineComponent({
|
|
9521
9533
|
name: "NumberFieldDecrement",
|
|
9522
9534
|
inheritAttrs: false,
|
|
9523
9535
|
__name: "NumberFieldDecrement",
|
|
@@ -9591,7 +9603,7 @@ const _sfc_main$87 = /* @__PURE__ */ defineComponent({
|
|
|
9591
9603
|
});
|
|
9592
9604
|
//#endregion
|
|
9593
9605
|
//#region src/components/NumberField/NumberFieldDescription.vue
|
|
9594
|
-
const _sfc_main$86 =
|
|
9606
|
+
const _sfc_main$86 = /*@__PURE__*/ defineComponent({
|
|
9595
9607
|
name: "NumberFieldDescription",
|
|
9596
9608
|
inheritAttrs: false,
|
|
9597
9609
|
__name: "NumberFieldDescription",
|
|
@@ -9621,7 +9633,7 @@ const _sfc_main$86 = /* @__PURE__ */ defineComponent({
|
|
|
9621
9633
|
});
|
|
9622
9634
|
//#endregion
|
|
9623
9635
|
//#region src/components/NumberField/NumberFieldError.vue
|
|
9624
|
-
const _sfc_main$85 =
|
|
9636
|
+
const _sfc_main$85 = /*@__PURE__*/ defineComponent({
|
|
9625
9637
|
name: "NumberFieldError",
|
|
9626
9638
|
inheritAttrs: false,
|
|
9627
9639
|
__name: "NumberFieldError",
|
|
@@ -9658,7 +9670,7 @@ const _sfc_main$85 = /* @__PURE__ */ defineComponent({
|
|
|
9658
9670
|
});
|
|
9659
9671
|
//#endregion
|
|
9660
9672
|
//#region src/components/NumberField/NumberFieldIncrement.vue
|
|
9661
|
-
const _sfc_main$84 =
|
|
9673
|
+
const _sfc_main$84 = /*@__PURE__*/ defineComponent({
|
|
9662
9674
|
name: "NumberFieldIncrement",
|
|
9663
9675
|
inheritAttrs: false,
|
|
9664
9676
|
__name: "NumberFieldIncrement",
|
|
@@ -9732,7 +9744,7 @@ const _sfc_main$84 = /* @__PURE__ */ defineComponent({
|
|
|
9732
9744
|
});
|
|
9733
9745
|
//#endregion
|
|
9734
9746
|
//#region src/components/NumberField/NumberFieldScrub.vue
|
|
9735
|
-
const _sfc_main$83 =
|
|
9747
|
+
const _sfc_main$83 = /*@__PURE__*/ defineComponent({
|
|
9736
9748
|
name: "NumberFieldScrub",
|
|
9737
9749
|
inheritAttrs: false,
|
|
9738
9750
|
__name: "NumberFieldScrub",
|
|
@@ -9954,7 +9966,7 @@ const NumberField = {
|
|
|
9954
9966
|
* `createOverflow` as a getter so capacity recomputes when the prop changes.
|
|
9955
9967
|
*/
|
|
9956
9968
|
const [useOverflowRoot, provideOverflowRoot] = createContext();
|
|
9957
|
-
const _sfc_main$82 =
|
|
9969
|
+
const _sfc_main$82 = /*@__PURE__*/ defineComponent({
|
|
9958
9970
|
name: "OverflowRoot",
|
|
9959
9971
|
__name: "OverflowRoot",
|
|
9960
9972
|
props: {
|
|
@@ -10043,7 +10055,7 @@ const _sfc_main$82 = /* @__PURE__ */ defineComponent({
|
|
|
10043
10055
|
* slot consumer must spread `slotProps.attrs` onto their own element to
|
|
10044
10056
|
* preserve the data hook and live-region semantics.
|
|
10045
10057
|
*/
|
|
10046
|
-
const _sfc_main$81 =
|
|
10058
|
+
const _sfc_main$81 = /*@__PURE__*/ defineComponent({
|
|
10047
10059
|
name: "OverflowIndicator",
|
|
10048
10060
|
__name: "OverflowIndicator",
|
|
10049
10061
|
props: {
|
|
@@ -10112,7 +10124,7 @@ const _sfc_main$81 = /* @__PURE__ */ defineComponent({
|
|
|
10112
10124
|
* so the slot consumer is responsible for honoring `isHidden` themselves —
|
|
10113
10125
|
* read it from `slotProps.isHidden` and conditionally render or apply CSS.
|
|
10114
10126
|
*/
|
|
10115
|
-
const _sfc_main$80 =
|
|
10127
|
+
const _sfc_main$80 = /*@__PURE__*/ defineComponent({
|
|
10116
10128
|
name: "OverflowItem",
|
|
10117
10129
|
__name: "OverflowItem",
|
|
10118
10130
|
props: {
|
|
@@ -10247,10 +10259,10 @@ const Overflow = {
|
|
|
10247
10259
|
const [usePaginationRoot, providePaginationRoot] = createContext();
|
|
10248
10260
|
const [usePaginationControls, providePaginationControls] = createContext({ suffix: "controls" });
|
|
10249
10261
|
const [usePaginationItems, providePaginationItems] = createContext({ suffix: "items" });
|
|
10250
|
-
const _sfc_main$79 =
|
|
10262
|
+
const _sfc_main$79 = /*@__PURE__*/ defineComponent({
|
|
10251
10263
|
name: "PaginationRoot",
|
|
10252
10264
|
__name: "PaginationRoot",
|
|
10253
|
-
props:
|
|
10265
|
+
props: /*@__PURE__*/ mergeModels({
|
|
10254
10266
|
namespace: { default: "v0:pagination" },
|
|
10255
10267
|
size: { default: 1 },
|
|
10256
10268
|
totalVisible: {},
|
|
@@ -10265,7 +10277,7 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
10265
10277
|
"modelValue": { default: 1 },
|
|
10266
10278
|
"modelModifiers": {}
|
|
10267
10279
|
}),
|
|
10268
|
-
emits:
|
|
10280
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
10269
10281
|
setup(__props) {
|
|
10270
10282
|
const page = useModel(__props, "modelValue");
|
|
10271
10283
|
const locale = useLocale();
|
|
@@ -10294,18 +10306,20 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
10294
10306
|
itemGap.value = gapX;
|
|
10295
10307
|
});
|
|
10296
10308
|
}, { flush: "post" });
|
|
10309
|
+
/* v8 ignore stop */
|
|
10310
|
+
const visible = computed(() => {
|
|
10311
|
+
const totalCap = overflow.capacity.value;
|
|
10312
|
+
if (totalCap === Infinity) return __props.totalVisible ?? 7;
|
|
10313
|
+
/* v8 ignore start -- branches require browser measurement */
|
|
10314
|
+
const pageCap = Math.max(0, totalCap - controls.size);
|
|
10315
|
+
const noVisible = /* @__PURE__ */ isNullOrUndefined(__props.totalVisible);
|
|
10316
|
+
if (pageCap > 0) return noVisible ? pageCap : Math.min(__props.totalVisible, pageCap);
|
|
10317
|
+
return noVisible ? 1 : __props.totalVisible;
|
|
10318
|
+
/* v8 ignore stop */
|
|
10319
|
+
});
|
|
10297
10320
|
const pagination = createPagination({
|
|
10298
10321
|
page,
|
|
10299
|
-
visible
|
|
10300
|
-
const totalCap = overflow.capacity.value;
|
|
10301
|
-
if (totalCap === Infinity) return __props.totalVisible ?? 7;
|
|
10302
|
-
/* v8 ignore start -- branches require browser measurement */
|
|
10303
|
-
const pageCap = Math.max(0, totalCap - controls.size);
|
|
10304
|
-
const noVisible = /* @__PURE__ */ isNullOrUndefined(__props.totalVisible);
|
|
10305
|
-
if (pageCap > 0) return noVisible ? pageCap : Math.min(__props.totalVisible, pageCap);
|
|
10306
|
-
return noVisible ? 1 : __props.totalVisible;
|
|
10307
|
-
/* v8 ignore stop */
|
|
10308
|
-
}),
|
|
10322
|
+
visible,
|
|
10309
10323
|
ellipsis: __props.ellipsis,
|
|
10310
10324
|
size: () => __props.size,
|
|
10311
10325
|
itemsPerPage: () => __props.itemsPerPage
|
|
@@ -10349,7 +10363,7 @@ const _sfc_main$79 = /* @__PURE__ */ defineComponent({
|
|
|
10349
10363
|
});
|
|
10350
10364
|
//#endregion
|
|
10351
10365
|
//#region src/components/Pagination/PaginationEllipsis.vue
|
|
10352
|
-
const _sfc_main$78 =
|
|
10366
|
+
const _sfc_main$78 = /*@__PURE__*/ defineComponent({
|
|
10353
10367
|
name: "PaginationEllipsis",
|
|
10354
10368
|
__name: "PaginationEllipsis",
|
|
10355
10369
|
props: {
|
|
@@ -10392,7 +10406,7 @@ const _sfc_main$78 = /* @__PURE__ */ defineComponent({
|
|
|
10392
10406
|
});
|
|
10393
10407
|
//#endregion
|
|
10394
10408
|
//#region src/components/Pagination/PaginationFirst.vue
|
|
10395
|
-
const _sfc_main$77 =
|
|
10409
|
+
const _sfc_main$77 = /*@__PURE__*/ defineComponent({
|
|
10396
10410
|
name: "PaginationFirst",
|
|
10397
10411
|
__name: "PaginationFirst",
|
|
10398
10412
|
props: {
|
|
@@ -10457,7 +10471,7 @@ const _sfc_main$77 = /* @__PURE__ */ defineComponent({
|
|
|
10457
10471
|
});
|
|
10458
10472
|
//#endregion
|
|
10459
10473
|
//#region src/components/Pagination/PaginationItem.vue
|
|
10460
|
-
const _sfc_main$76 =
|
|
10474
|
+
const _sfc_main$76 = /*@__PURE__*/ defineComponent({
|
|
10461
10475
|
name: "PaginationItem",
|
|
10462
10476
|
__name: "PaginationItem",
|
|
10463
10477
|
props: {
|
|
@@ -10533,7 +10547,7 @@ const _sfc_main$76 = /* @__PURE__ */ defineComponent({
|
|
|
10533
10547
|
});
|
|
10534
10548
|
//#endregion
|
|
10535
10549
|
//#region src/components/Pagination/PaginationLast.vue
|
|
10536
|
-
const _sfc_main$75 =
|
|
10550
|
+
const _sfc_main$75 = /*@__PURE__*/ defineComponent({
|
|
10537
10551
|
name: "PaginationLast",
|
|
10538
10552
|
__name: "PaginationLast",
|
|
10539
10553
|
props: {
|
|
@@ -10598,7 +10612,7 @@ const _sfc_main$75 = /* @__PURE__ */ defineComponent({
|
|
|
10598
10612
|
});
|
|
10599
10613
|
//#endregion
|
|
10600
10614
|
//#region src/components/Pagination/PaginationNext.vue
|
|
10601
|
-
const _sfc_main$74 =
|
|
10615
|
+
const _sfc_main$74 = /*@__PURE__*/ defineComponent({
|
|
10602
10616
|
name: "PaginationNext",
|
|
10603
10617
|
__name: "PaginationNext",
|
|
10604
10618
|
props: {
|
|
@@ -10663,7 +10677,7 @@ const _sfc_main$74 = /* @__PURE__ */ defineComponent({
|
|
|
10663
10677
|
});
|
|
10664
10678
|
//#endregion
|
|
10665
10679
|
//#region src/components/Pagination/PaginationPrev.vue
|
|
10666
|
-
const _sfc_main$73 =
|
|
10680
|
+
const _sfc_main$73 = /*@__PURE__*/ defineComponent({
|
|
10667
10681
|
name: "PaginationPrev",
|
|
10668
10682
|
__name: "PaginationPrev",
|
|
10669
10683
|
props: {
|
|
@@ -10728,7 +10742,7 @@ const _sfc_main$73 = /* @__PURE__ */ defineComponent({
|
|
|
10728
10742
|
});
|
|
10729
10743
|
//#endregion
|
|
10730
10744
|
//#region src/components/Pagination/PaginationStatus.vue
|
|
10731
|
-
const _sfc_main$72 =
|
|
10745
|
+
const _sfc_main$72 = /*@__PURE__*/ defineComponent({
|
|
10732
10746
|
name: "PaginationStatus",
|
|
10733
10747
|
__name: "PaginationStatus",
|
|
10734
10748
|
props: {
|
|
@@ -10995,11 +11009,11 @@ const Pagination = {
|
|
|
10995
11009
|
};
|
|
10996
11010
|
//#endregion
|
|
10997
11011
|
//#region src/components/Popover/PopoverRoot.vue
|
|
10998
|
-
const [usePopoverContext, providePopoverContext] = createContext("v0:popover");
|
|
10999
|
-
const _sfc_main$71 =
|
|
11012
|
+
const [usePopoverContext, providePopoverContext] = createContext("v0:popover:root");
|
|
11013
|
+
const _sfc_main$71 = /*@__PURE__*/ defineComponent({
|
|
11000
11014
|
name: "PopoverRoot",
|
|
11001
11015
|
__name: "PopoverRoot",
|
|
11002
|
-
props:
|
|
11016
|
+
props: /*@__PURE__*/ mergeModels({
|
|
11003
11017
|
id: {},
|
|
11004
11018
|
positionArea: {},
|
|
11005
11019
|
positionTry: {},
|
|
@@ -11042,7 +11056,7 @@ const _sfc_main$71 = /* @__PURE__ */ defineComponent({
|
|
|
11042
11056
|
});
|
|
11043
11057
|
//#endregion
|
|
11044
11058
|
//#region src/components/Popover/PopoverActivator.vue
|
|
11045
|
-
const _sfc_main$70 =
|
|
11059
|
+
const _sfc_main$70 = /*@__PURE__*/ defineComponent({
|
|
11046
11060
|
name: "PopoverActivator",
|
|
11047
11061
|
__name: "PopoverActivator",
|
|
11048
11062
|
props: {
|
|
@@ -11093,7 +11107,7 @@ const _sfc_main$70 = /* @__PURE__ */ defineComponent({
|
|
|
11093
11107
|
});
|
|
11094
11108
|
//#endregion
|
|
11095
11109
|
//#region src/components/Popover/PopoverContent.vue
|
|
11096
|
-
const _sfc_main$69 =
|
|
11110
|
+
const _sfc_main$69 = /*@__PURE__*/ defineComponent({
|
|
11097
11111
|
name: "PopoverContent",
|
|
11098
11112
|
__name: "PopoverContent",
|
|
11099
11113
|
props: {
|
|
@@ -11115,7 +11129,14 @@ const _sfc_main$69 = /* @__PURE__ */ defineComponent({
|
|
|
11115
11129
|
if (!/* @__PURE__ */ isUndefined(value)) context.positionTry.value = value;
|
|
11116
11130
|
}, { immediate: true });
|
|
11117
11131
|
const id = toRef(() => __props.id ?? context.id);
|
|
11118
|
-
const style = toRef(() =>
|
|
11132
|
+
const style = toRef(() => {
|
|
11133
|
+
const styles = context.contentStyles.value;
|
|
11134
|
+
if (/* @__PURE__ */ isUndefined(__props.id)) return styles;
|
|
11135
|
+
return {
|
|
11136
|
+
...styles,
|
|
11137
|
+
"position-anchor": `--${String(__props.id).replace(/[^a-zA-Z0-9_-]/g, "")}`
|
|
11138
|
+
};
|
|
11139
|
+
});
|
|
11119
11140
|
context.attach(() => ref.value?.element);
|
|
11120
11141
|
function onBeforeToggle(e) {
|
|
11121
11142
|
emit("beforetoggle", e);
|
|
@@ -11228,7 +11249,7 @@ const Popover = {
|
|
|
11228
11249
|
* Standardizes the teleport + stack registration pattern used by
|
|
11229
11250
|
* overlay components (Snackbar, Toast, Dialog, etc.).
|
|
11230
11251
|
*/
|
|
11231
|
-
const _sfc_main$68 =
|
|
11252
|
+
const _sfc_main$68 = /*@__PURE__*/ defineComponent({
|
|
11232
11253
|
name: "Portal",
|
|
11233
11254
|
__name: "Portal",
|
|
11234
11255
|
props: {
|
|
@@ -11294,10 +11315,10 @@ const _sfc_main$68 = /* @__PURE__ */ defineComponent({
|
|
|
11294
11315
|
* - Lifecycle events: `enter`, `leave`, `after-leave`
|
|
11295
11316
|
* - Animation-agnostic: works with CSS, WAAPI, GSAP, or nothing
|
|
11296
11317
|
*/
|
|
11297
|
-
const _sfc_main$67 =
|
|
11318
|
+
const _sfc_main$67 = /*@__PURE__*/ defineComponent({
|
|
11298
11319
|
name: "Presence",
|
|
11299
11320
|
__name: "Presence",
|
|
11300
|
-
props:
|
|
11321
|
+
props: /*@__PURE__*/ mergeModels({
|
|
11301
11322
|
lazy: {
|
|
11302
11323
|
type: Boolean,
|
|
11303
11324
|
default: false
|
|
@@ -11313,7 +11334,7 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
11313
11334
|
},
|
|
11314
11335
|
"modelModifiers": {}
|
|
11315
11336
|
}),
|
|
11316
|
-
emits:
|
|
11337
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
11317
11338
|
"enter",
|
|
11318
11339
|
"leave",
|
|
11319
11340
|
"after-leave"
|
|
@@ -11325,8 +11346,9 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
11325
11346
|
* @event after-leave Exit complete, content about to be removed from DOM
|
|
11326
11347
|
*/
|
|
11327
11348
|
const emit = __emit;
|
|
11349
|
+
const model = useModel(__props, "modelValue");
|
|
11328
11350
|
const presence = usePresence({
|
|
11329
|
-
present:
|
|
11351
|
+
present: model,
|
|
11330
11352
|
lazy: __props.lazy,
|
|
11331
11353
|
immediate: __props.immediate
|
|
11332
11354
|
});
|
|
@@ -11347,14 +11369,14 @@ const _sfc_main$67 = /* @__PURE__ */ defineComponent({
|
|
|
11347
11369
|
else if (prev === "leaving" && (state === "unmounted" || state === "mounted")) emit("after-leave");
|
|
11348
11370
|
});
|
|
11349
11371
|
return (_ctx, _cache) => {
|
|
11350
|
-
return unref(presence).isMounted.value ? renderSlot(_ctx.$slots, "default", normalizeProps(
|
|
11372
|
+
return unref(presence).isMounted.value ? renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), void 0, void 0, 0) : createCommentVNode("v-if", true);
|
|
11351
11373
|
};
|
|
11352
11374
|
}
|
|
11353
11375
|
});
|
|
11354
11376
|
//#endregion
|
|
11355
11377
|
//#region src/components/Progress/ProgressHiddenInput.vue
|
|
11356
11378
|
const _hoisted_1$5 = ["name", "value"];
|
|
11357
|
-
const _sfc_main$66 =
|
|
11379
|
+
const _sfc_main$66 = /*@__PURE__*/ defineComponent({
|
|
11358
11380
|
name: "ProgressHiddenInput",
|
|
11359
11381
|
__name: "ProgressHiddenInput",
|
|
11360
11382
|
props: { namespace: { default: "v0:progress:root" } },
|
|
@@ -11374,11 +11396,11 @@ const _sfc_main$66 = /* @__PURE__ */ defineComponent({
|
|
|
11374
11396
|
//#endregion
|
|
11375
11397
|
//#region src/components/Progress/ProgressRoot.vue
|
|
11376
11398
|
const [useProgressRoot, provideProgressRoot] = createContext();
|
|
11377
|
-
const _sfc_main$65 =
|
|
11399
|
+
const _sfc_main$65 = /*@__PURE__*/ defineComponent({
|
|
11378
11400
|
name: "ProgressRoot",
|
|
11379
11401
|
inheritAttrs: false,
|
|
11380
11402
|
__name: "ProgressRoot",
|
|
11381
|
-
props:
|
|
11403
|
+
props: /*@__PURE__*/ mergeModels({
|
|
11382
11404
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
11383
11405
|
ariaLabel: {},
|
|
11384
11406
|
modelValue: {},
|
|
@@ -11396,7 +11418,6 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
11396
11418
|
setup(__props) {
|
|
11397
11419
|
const attrs = useAttrs();
|
|
11398
11420
|
const model = useModel(__props, "modelValue");
|
|
11399
|
-
const scalar = !/* @__PURE__ */ isArray(model.value) && !/* @__PURE__ */ isNullOrUndefined(model.value);
|
|
11400
11421
|
const internal = computed({
|
|
11401
11422
|
get: () => {
|
|
11402
11423
|
if (/* @__PURE__ */ isNullOrUndefined(model.value)) return [];
|
|
@@ -11405,8 +11426,8 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
11405
11426
|
set: (arr) => {
|
|
11406
11427
|
/* v8 ignore next -- defensive guard for null/undefined model with empty registry */
|
|
11407
11428
|
if (/* @__PURE__ */ isNullOrUndefined(model.value) && arr.length === 0) return;
|
|
11408
|
-
/* v8 ignore next -- arr[0]
|
|
11409
|
-
model.value =
|
|
11429
|
+
/* v8 ignore next -- arr[0] is defined once a fill has registered a value */
|
|
11430
|
+
model.value = /* @__PURE__ */ isArray(model.value) ? arr : arr[0] ?? 0;
|
|
11410
11431
|
}
|
|
11411
11432
|
});
|
|
11412
11433
|
const progress = createProgress({
|
|
@@ -11461,7 +11482,7 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
11461
11482
|
});
|
|
11462
11483
|
//#endregion
|
|
11463
11484
|
//#region src/components/Progress/ProgressBuffer.vue
|
|
11464
|
-
const _sfc_main$64 =
|
|
11485
|
+
const _sfc_main$64 = /*@__PURE__*/ defineComponent({
|
|
11465
11486
|
name: "ProgressBuffer",
|
|
11466
11487
|
inheritAttrs: false,
|
|
11467
11488
|
__name: "ProgressBuffer",
|
|
@@ -11507,7 +11528,7 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
11507
11528
|
});
|
|
11508
11529
|
//#endregion
|
|
11509
11530
|
//#region src/components/Progress/ProgressFill.vue
|
|
11510
|
-
const _sfc_main$63 =
|
|
11531
|
+
const _sfc_main$63 = /*@__PURE__*/ defineComponent({
|
|
11511
11532
|
name: "ProgressFill",
|
|
11512
11533
|
inheritAttrs: false,
|
|
11513
11534
|
__name: "ProgressFill",
|
|
@@ -11527,16 +11548,19 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
11527
11548
|
/* v8 ignore next -- defensive: registered ticket.value always coalesces to number via toRef getter above */
|
|
11528
11549
|
const current = toRef(() => toValue(ticket.value) ?? 0);
|
|
11529
11550
|
const percent = toRef(() => root.fromValue(current.value));
|
|
11530
|
-
const slotProps = toRef(() =>
|
|
11531
|
-
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
|
|
11539
|
-
|
|
11551
|
+
const slotProps = toRef(() => {
|
|
11552
|
+
const indeterminate = root.isIndeterminate.value;
|
|
11553
|
+
return {
|
|
11554
|
+
value: current.value,
|
|
11555
|
+
percent: percent.value,
|
|
11556
|
+
index: ticket.index,
|
|
11557
|
+
attrs: {
|
|
11558
|
+
"data-index": ticket.index,
|
|
11559
|
+
"data-state": indeterminate ? "indeterminate" : "determinate",
|
|
11560
|
+
"style": indeterminate ? void 0 : { width: `${percent.value}%` }
|
|
11561
|
+
}
|
|
11562
|
+
};
|
|
11563
|
+
});
|
|
11540
11564
|
return (_ctx, _cache) => {
|
|
11541
11565
|
return openBlock(), createBlock(unref(_sfc_main$192), mergeProps(mergeProps(unref(attrs), slotProps.value.attrs), {
|
|
11542
11566
|
as: __props.as,
|
|
@@ -11555,7 +11579,7 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
11555
11579
|
});
|
|
11556
11580
|
//#endregion
|
|
11557
11581
|
//#region src/components/Progress/ProgressLabel.vue
|
|
11558
|
-
const _sfc_main$62 =
|
|
11582
|
+
const _sfc_main$62 = /*@__PURE__*/ defineComponent({
|
|
11559
11583
|
name: "ProgressLabel",
|
|
11560
11584
|
inheritAttrs: false,
|
|
11561
11585
|
__name: "ProgressLabel",
|
|
@@ -11592,7 +11616,7 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
11592
11616
|
});
|
|
11593
11617
|
//#endregion
|
|
11594
11618
|
//#region src/components/Progress/ProgressTrack.vue
|
|
11595
|
-
const _sfc_main$61 =
|
|
11619
|
+
const _sfc_main$61 = /*@__PURE__*/ defineComponent({
|
|
11596
11620
|
name: "ProgressTrack",
|
|
11597
11621
|
inheritAttrs: false,
|
|
11598
11622
|
__name: "ProgressTrack",
|
|
@@ -11618,7 +11642,7 @@ const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
|
11618
11642
|
});
|
|
11619
11643
|
//#endregion
|
|
11620
11644
|
//#region src/components/Progress/ProgressValue.vue
|
|
11621
|
-
const _sfc_main$60 =
|
|
11645
|
+
const _sfc_main$60 = /*@__PURE__*/ defineComponent({
|
|
11622
11646
|
name: "ProgressValue",
|
|
11623
11647
|
inheritAttrs: false,
|
|
11624
11648
|
__name: "ProgressValue",
|
|
@@ -11857,10 +11881,10 @@ const Progress = {
|
|
|
11857
11881
|
//#endregion
|
|
11858
11882
|
//#region src/components/Radio/RadioGroup.vue
|
|
11859
11883
|
const [useRadioGroup, provideRadioGroup] = createContext();
|
|
11860
|
-
const _sfc_main$59 =
|
|
11884
|
+
const _sfc_main$59 = /*@__PURE__*/ defineComponent({
|
|
11861
11885
|
name: "RadioGroup",
|
|
11862
11886
|
__name: "RadioGroup",
|
|
11863
|
-
props:
|
|
11887
|
+
props: /*@__PURE__*/ mergeModels({
|
|
11864
11888
|
namespace: { default: "v0:radio:group" },
|
|
11865
11889
|
disabled: {
|
|
11866
11890
|
type: Boolean,
|
|
@@ -11882,7 +11906,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
11882
11906
|
"modelValue": {},
|
|
11883
11907
|
"modelModifiers": {}
|
|
11884
11908
|
}),
|
|
11885
|
-
emits:
|
|
11909
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
11886
11910
|
setup(__props) {
|
|
11887
11911
|
const model = useModel(__props, "modelValue");
|
|
11888
11912
|
const single = createSingle({
|
|
@@ -11922,7 +11946,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
11922
11946
|
//#endregion
|
|
11923
11947
|
//#region src/components/Radio/RadioRoot.vue
|
|
11924
11948
|
const [useRadioRoot, provideRadioRoot] = createContext();
|
|
11925
|
-
const _sfc_main$58 =
|
|
11949
|
+
const _sfc_main$58 = /*@__PURE__*/ defineComponent({
|
|
11926
11950
|
name: "RadioRoot",
|
|
11927
11951
|
inheritAttrs: false,
|
|
11928
11952
|
__name: "RadioRoot",
|
|
@@ -12064,7 +12088,7 @@ const visuallyHiddenStyle$3 = {
|
|
|
12064
12088
|
whiteSpace: "nowrap",
|
|
12065
12089
|
border: "0"
|
|
12066
12090
|
};
|
|
12067
|
-
const _sfc_main$57 =
|
|
12091
|
+
const _sfc_main$57 = /*@__PURE__*/ defineComponent({
|
|
12068
12092
|
name: "RadioHiddenInput",
|
|
12069
12093
|
__name: "RadioHiddenInput",
|
|
12070
12094
|
props: {
|
|
@@ -12101,7 +12125,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
12101
12125
|
});
|
|
12102
12126
|
//#endregion
|
|
12103
12127
|
//#region src/components/Radio/RadioIndicator.vue
|
|
12104
|
-
const _sfc_main$56 =
|
|
12128
|
+
const _sfc_main$56 = /*@__PURE__*/ defineComponent({
|
|
12105
12129
|
name: "RadioIndicator",
|
|
12106
12130
|
__name: "RadioIndicator",
|
|
12107
12131
|
props: {
|
|
@@ -12279,11 +12303,11 @@ const Radio = {
|
|
|
12279
12303
|
//#endregion
|
|
12280
12304
|
//#region src/components/Rating/RatingRoot.vue
|
|
12281
12305
|
const [useRatingRoot, provideRatingRoot] = createContext();
|
|
12282
|
-
const _sfc_main$55 =
|
|
12306
|
+
const _sfc_main$55 = /*@__PURE__*/ defineComponent({
|
|
12283
12307
|
name: "RatingRoot",
|
|
12284
12308
|
inheritAttrs: false,
|
|
12285
12309
|
__name: "RatingRoot",
|
|
12286
|
-
props:
|
|
12310
|
+
props: /*@__PURE__*/ mergeModels({
|
|
12287
12311
|
modelValue: {},
|
|
12288
12312
|
size: { default: 5 },
|
|
12289
12313
|
half: {
|
|
@@ -12305,8 +12329,9 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
12305
12329
|
emits: ["update:modelValue"],
|
|
12306
12330
|
setup(__props) {
|
|
12307
12331
|
const attrs = useAttrs();
|
|
12332
|
+
const model = useModel(__props, "modelValue");
|
|
12308
12333
|
const rating = createRating({
|
|
12309
|
-
value:
|
|
12334
|
+
value: model,
|
|
12310
12335
|
size: toRef(() => __props.size),
|
|
12311
12336
|
half: toRef(() => __props.half)
|
|
12312
12337
|
});
|
|
@@ -12387,7 +12412,7 @@ const _hoisted_1$3 = [
|
|
|
12387
12412
|
"name",
|
|
12388
12413
|
"value"
|
|
12389
12414
|
];
|
|
12390
|
-
const _sfc_main$54 =
|
|
12415
|
+
const _sfc_main$54 = /*@__PURE__*/ defineComponent({
|
|
12391
12416
|
name: "RatingHiddenInput",
|
|
12392
12417
|
__name: "RatingHiddenInput",
|
|
12393
12418
|
props: { namespace: { default: "v0:rating:root" } },
|
|
@@ -12408,7 +12433,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
12408
12433
|
});
|
|
12409
12434
|
//#endregion
|
|
12410
12435
|
//#region src/components/Rating/RatingItem.vue
|
|
12411
|
-
const _sfc_main$53 =
|
|
12436
|
+
const _sfc_main$53 = /*@__PURE__*/ defineComponent({
|
|
12412
12437
|
name: "RatingItem",
|
|
12413
12438
|
inheritAttrs: false,
|
|
12414
12439
|
__name: "RatingItem",
|
|
@@ -12610,7 +12635,7 @@ const Rating = {
|
|
|
12610
12635
|
};
|
|
12611
12636
|
//#endregion
|
|
12612
12637
|
//#region src/components/Scrim/Scrim.vue
|
|
12613
|
-
const _sfc_main$52 =
|
|
12638
|
+
const _sfc_main$52 = /*@__PURE__*/ defineComponent({
|
|
12614
12639
|
name: "Scrim",
|
|
12615
12640
|
inheritAttrs: false,
|
|
12616
12641
|
__name: "Scrim",
|
|
@@ -12699,7 +12724,7 @@ const visuallyHiddenStyle$2 = {
|
|
|
12699
12724
|
whiteSpace: "nowrap",
|
|
12700
12725
|
border: "0"
|
|
12701
12726
|
};
|
|
12702
|
-
const _sfc_main$51 =
|
|
12727
|
+
const _sfc_main$51 = /*@__PURE__*/ defineComponent({
|
|
12703
12728
|
name: "SelectHiddenInput",
|
|
12704
12729
|
__name: "SelectHiddenInput",
|
|
12705
12730
|
props: { namespace: { default: "v0:select" } },
|
|
@@ -12733,10 +12758,10 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
12733
12758
|
//#endregion
|
|
12734
12759
|
//#region src/components/Select/SelectRoot.vue
|
|
12735
12760
|
const [useSelectContext, provideSelectContext] = createContext();
|
|
12736
|
-
const _sfc_main$50 =
|
|
12761
|
+
const _sfc_main$50 = /*@__PURE__*/ defineComponent({
|
|
12737
12762
|
name: "SelectRoot",
|
|
12738
12763
|
__name: "SelectRoot",
|
|
12739
|
-
props:
|
|
12764
|
+
props: /*@__PURE__*/ mergeModels({
|
|
12740
12765
|
namespace: { default: "v0:select" },
|
|
12741
12766
|
id: {},
|
|
12742
12767
|
name: {},
|
|
@@ -12760,7 +12785,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
12760
12785
|
"modelValue": {},
|
|
12761
12786
|
"modelModifiers": {}
|
|
12762
12787
|
}),
|
|
12763
|
-
emits:
|
|
12788
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
12764
12789
|
setup(__props) {
|
|
12765
12790
|
const model = useModel(__props, "modelValue");
|
|
12766
12791
|
const id = __props.id ?? /* @__PURE__ */ useId$1();
|
|
@@ -12857,7 +12882,7 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
12857
12882
|
});
|
|
12858
12883
|
//#endregion
|
|
12859
12884
|
//#region src/components/Select/SelectActivator.vue
|
|
12860
|
-
const _sfc_main$49 =
|
|
12885
|
+
const _sfc_main$49 = /*@__PURE__*/ defineComponent({
|
|
12861
12886
|
name: "SelectActivator",
|
|
12862
12887
|
__name: "SelectActivator",
|
|
12863
12888
|
props: {
|
|
@@ -12892,9 +12917,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
12892
12917
|
case "ArrowDown":
|
|
12893
12918
|
case "ArrowUp":
|
|
12894
12919
|
case "Home":
|
|
12895
|
-
case "End":
|
|
12896
|
-
context.virtualFocus.onKeydown(e);
|
|
12897
|
-
break;
|
|
12920
|
+
case "End": context.virtualFocus.onKeydown(e);
|
|
12898
12921
|
}
|
|
12899
12922
|
else switch (e.key) {
|
|
12900
12923
|
case " ":
|
|
@@ -12903,7 +12926,6 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
12903
12926
|
case "ArrowUp":
|
|
12904
12927
|
e.preventDefault();
|
|
12905
12928
|
context.open();
|
|
12906
|
-
break;
|
|
12907
12929
|
}
|
|
12908
12930
|
}
|
|
12909
12931
|
const slotProps = toRef(() => ({
|
|
@@ -12940,7 +12962,7 @@ const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
|
12940
12962
|
});
|
|
12941
12963
|
//#endregion
|
|
12942
12964
|
//#region src/components/Select/SelectContent.vue
|
|
12943
|
-
const _sfc_main$48 =
|
|
12965
|
+
const _sfc_main$48 = /*@__PURE__*/ defineComponent({
|
|
12944
12966
|
name: "SelectContent",
|
|
12945
12967
|
__name: "SelectContent",
|
|
12946
12968
|
props: {
|
|
@@ -12976,7 +12998,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
12976
12998
|
as: __props.as,
|
|
12977
12999
|
renderless: __props.renderless
|
|
12978
13000
|
}, slotProps.value.attrs), {
|
|
12979
|
-
default: withCtx(() => [unref(hasContent) ? renderSlot(_ctx.$slots, "default", normalizeProps(
|
|
13001
|
+
default: withCtx(() => [unref(hasContent) ? renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps.value)), void 0, void 0, 0) : createCommentVNode("v-if", true)]),
|
|
12980
13002
|
_: 3
|
|
12981
13003
|
}, 16, ["as", "renderless"]);
|
|
12982
13004
|
};
|
|
@@ -12984,7 +13006,7 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
12984
13006
|
});
|
|
12985
13007
|
//#endregion
|
|
12986
13008
|
//#region src/components/Select/SelectCue.vue
|
|
12987
|
-
const _sfc_main$47 =
|
|
13009
|
+
const _sfc_main$47 = /*@__PURE__*/ defineComponent({
|
|
12988
13010
|
name: "SelectCue",
|
|
12989
13011
|
__name: "SelectCue",
|
|
12990
13012
|
props: {
|
|
@@ -13014,7 +13036,7 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
13014
13036
|
});
|
|
13015
13037
|
//#endregion
|
|
13016
13038
|
//#region src/components/Select/SelectItem.vue
|
|
13017
|
-
const _sfc_main$46 =
|
|
13039
|
+
const _sfc_main$46 = /*@__PURE__*/ defineComponent({
|
|
13018
13040
|
name: "SelectItem",
|
|
13019
13041
|
__name: "SelectItem",
|
|
13020
13042
|
props: {
|
|
@@ -13073,7 +13095,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
13073
13095
|
});
|
|
13074
13096
|
//#endregion
|
|
13075
13097
|
//#region src/components/Select/SelectPlaceholder.vue
|
|
13076
|
-
const _sfc_main$45 =
|
|
13098
|
+
const _sfc_main$45 = /*@__PURE__*/ defineComponent({
|
|
13077
13099
|
name: "SelectPlaceholder",
|
|
13078
13100
|
__name: "SelectPlaceholder",
|
|
13079
13101
|
props: {
|
|
@@ -13098,7 +13120,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
13098
13120
|
});
|
|
13099
13121
|
//#endregion
|
|
13100
13122
|
//#region src/components/Select/SelectValue.vue
|
|
13101
|
-
const _sfc_main$44 =
|
|
13123
|
+
const _sfc_main$44 = /*@__PURE__*/ defineComponent({
|
|
13102
13124
|
name: "SelectValue",
|
|
13103
13125
|
__name: "SelectValue",
|
|
13104
13126
|
props: {
|
|
@@ -13327,10 +13349,10 @@ const Select = {
|
|
|
13327
13349
|
//#endregion
|
|
13328
13350
|
//#region src/components/Selection/SelectionRoot.vue
|
|
13329
13351
|
const [useSelectionRoot, provideSelectionRoot] = createContext();
|
|
13330
|
-
const _sfc_main$43 =
|
|
13352
|
+
const _sfc_main$43 = /*@__PURE__*/ defineComponent({
|
|
13331
13353
|
name: "SelectionRoot",
|
|
13332
13354
|
__name: "SelectionRoot",
|
|
13333
|
-
props:
|
|
13355
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13334
13356
|
namespace: { default: "v0:selection" },
|
|
13335
13357
|
disabled: {
|
|
13336
13358
|
type: Boolean,
|
|
@@ -13352,7 +13374,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
13352
13374
|
"modelValue": {},
|
|
13353
13375
|
"modelModifiers": {}
|
|
13354
13376
|
}),
|
|
13355
|
-
emits:
|
|
13377
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
13356
13378
|
setup(__props) {
|
|
13357
13379
|
const model = useModel(__props, "modelValue");
|
|
13358
13380
|
const selection = createSelection({
|
|
@@ -13379,7 +13401,7 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
13379
13401
|
});
|
|
13380
13402
|
//#endregion
|
|
13381
13403
|
//#region src/components/Selection/SelectionItem.vue
|
|
13382
|
-
const _sfc_main$42 =
|
|
13404
|
+
const _sfc_main$42 = /*@__PURE__*/ defineComponent({
|
|
13383
13405
|
name: "SelectionItem",
|
|
13384
13406
|
__name: "SelectionItem",
|
|
13385
13407
|
props: {
|
|
@@ -13490,10 +13512,10 @@ const Selection = {
|
|
|
13490
13512
|
//#endregion
|
|
13491
13513
|
//#region src/components/Single/SingleRoot.vue
|
|
13492
13514
|
const [useSingleRoot, provideSingleRoot] = createContext();
|
|
13493
|
-
const _sfc_main$41 =
|
|
13515
|
+
const _sfc_main$41 = /*@__PURE__*/ defineComponent({
|
|
13494
13516
|
name: "SingleRoot",
|
|
13495
13517
|
__name: "SingleRoot",
|
|
13496
|
-
props:
|
|
13518
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13497
13519
|
namespace: { default: "v0:single" },
|
|
13498
13520
|
disabled: {
|
|
13499
13521
|
type: Boolean,
|
|
@@ -13536,7 +13558,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
13536
13558
|
});
|
|
13537
13559
|
//#endregion
|
|
13538
13560
|
//#region src/components/Single/SingleItem.vue
|
|
13539
|
-
const _sfc_main$40 =
|
|
13561
|
+
const _sfc_main$40 = /*@__PURE__*/ defineComponent({
|
|
13540
13562
|
name: "SingleItem",
|
|
13541
13563
|
__name: "SingleItem",
|
|
13542
13564
|
props: {
|
|
@@ -13649,11 +13671,11 @@ const Single = {
|
|
|
13649
13671
|
//#endregion
|
|
13650
13672
|
//#region src/components/Slider/SliderRoot.vue
|
|
13651
13673
|
const [useSliderRoot, provideSliderRoot] = createContext();
|
|
13652
|
-
const _sfc_main$39 =
|
|
13674
|
+
const _sfc_main$39 = /*@__PURE__*/ defineComponent({
|
|
13653
13675
|
name: "SliderRoot",
|
|
13654
13676
|
inheritAttrs: false,
|
|
13655
13677
|
__name: "SliderRoot",
|
|
13656
|
-
props:
|
|
13678
|
+
props: /*@__PURE__*/ mergeModels({
|
|
13657
13679
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
13658
13680
|
min: { default: 0 },
|
|
13659
13681
|
max: { default: 100 },
|
|
@@ -13681,7 +13703,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
13681
13703
|
"modelValue": { default: () => [] },
|
|
13682
13704
|
"modelModifiers": {}
|
|
13683
13705
|
}),
|
|
13684
|
-
emits:
|
|
13706
|
+
emits: /*@__PURE__*/ mergeModels([
|
|
13685
13707
|
"update:model-value",
|
|
13686
13708
|
"start",
|
|
13687
13709
|
"end"
|
|
@@ -13746,7 +13768,8 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
13746
13768
|
event.preventDefault();
|
|
13747
13769
|
if (thumbEl) {
|
|
13748
13770
|
const rect = thumbEl.getBoundingClientRect();
|
|
13749
|
-
|
|
13771
|
+
const isVertical = toValue(slider.orientation) === "vertical";
|
|
13772
|
+
dragOffset.value = isVertical ? event.clientY - (rect.top + rect.height / 2) : event.clientX - (rect.left + rect.width / 2);
|
|
13750
13773
|
} else dragOffset.value = 0;
|
|
13751
13774
|
dragging.value = index;
|
|
13752
13775
|
const values = [...slider.values.value];
|
|
@@ -13814,7 +13837,7 @@ const _hoisted_1$1 = [
|
|
|
13814
13837
|
"name",
|
|
13815
13838
|
"value"
|
|
13816
13839
|
];
|
|
13817
|
-
const _sfc_main$38 =
|
|
13840
|
+
const _sfc_main$38 = /*@__PURE__*/ defineComponent({
|
|
13818
13841
|
name: "SliderHiddenInput",
|
|
13819
13842
|
__name: "SliderHiddenInput",
|
|
13820
13843
|
props: {
|
|
@@ -13839,7 +13862,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
13839
13862
|
});
|
|
13840
13863
|
//#endregion
|
|
13841
13864
|
//#region src/components/Slider/SliderRange.vue
|
|
13842
|
-
const _sfc_main$37 =
|
|
13865
|
+
const _sfc_main$37 = /*@__PURE__*/ defineComponent({
|
|
13843
13866
|
name: "SliderRange",
|
|
13844
13867
|
inheritAttrs: false,
|
|
13845
13868
|
__name: "SliderRange",
|
|
@@ -13897,7 +13920,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
13897
13920
|
});
|
|
13898
13921
|
//#endregion
|
|
13899
13922
|
//#region src/components/Slider/SliderThumb.vue
|
|
13900
|
-
const _sfc_main$36 =
|
|
13923
|
+
const _sfc_main$36 = /*@__PURE__*/ defineComponent({
|
|
13901
13924
|
name: "SliderThumb",
|
|
13902
13925
|
inheritAttrs: false,
|
|
13903
13926
|
__name: "SliderThumb",
|
|
@@ -13954,7 +13977,8 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
13954
13977
|
if (e.shiftKey && e.key.startsWith("Arrow")) {
|
|
13955
13978
|
e.preventDefault();
|
|
13956
13979
|
const base = e.key === "ArrowRight" || e.key === "ArrowUp" ? "up" : "down";
|
|
13957
|
-
|
|
13980
|
+
const method = (e.key === "ArrowRight" || e.key === "ArrowLeft") && isInverted ? base === "up" ? "down" : "up" : base;
|
|
13981
|
+
root[method](index.value, 10);
|
|
13958
13982
|
return;
|
|
13959
13983
|
}
|
|
13960
13984
|
const action = actions[e.key];
|
|
@@ -14009,7 +14033,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
14009
14033
|
});
|
|
14010
14034
|
//#endregion
|
|
14011
14035
|
//#region src/components/Slider/SliderTrack.vue
|
|
14012
|
-
const _sfc_main$35 =
|
|
14036
|
+
const _sfc_main$35 = /*@__PURE__*/ defineComponent({
|
|
14013
14037
|
name: "SliderTrack",
|
|
14014
14038
|
inheritAttrs: false,
|
|
14015
14039
|
__name: "SliderTrack",
|
|
@@ -14230,7 +14254,7 @@ const visuallyHiddenStyle$1 = {
|
|
|
14230
14254
|
whiteSpace: "nowrap",
|
|
14231
14255
|
border: "0"
|
|
14232
14256
|
};
|
|
14233
|
-
const _sfc_main$34 =
|
|
14257
|
+
const _sfc_main$34 = /*@__PURE__*/ defineComponent({
|
|
14234
14258
|
name: "SnackbarAnnouncer",
|
|
14235
14259
|
__name: "SnackbarAnnouncer",
|
|
14236
14260
|
props: { namespace: { default: "v0:notifications" } },
|
|
@@ -14256,7 +14280,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
14256
14280
|
//#endregion
|
|
14257
14281
|
//#region src/components/Snackbar/SnackbarPortal.vue
|
|
14258
14282
|
const [usePortal, providePortal] = createContext({ suffix: "portal" });
|
|
14259
|
-
const _sfc_main$33 =
|
|
14283
|
+
const _sfc_main$33 = /*@__PURE__*/ defineComponent({
|
|
14260
14284
|
name: "SnackbarPortal",
|
|
14261
14285
|
inheritAttrs: false,
|
|
14262
14286
|
__name: "SnackbarPortal",
|
|
@@ -14311,7 +14335,8 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
14311
14335
|
};
|
|
14312
14336
|
}
|
|
14313
14337
|
const atomRef = useTemplateRef("atom");
|
|
14314
|
-
|
|
14338
|
+
const el = toRef(() => /* @__PURE__ */ toElement(atomRef.value?.element) ?? null);
|
|
14339
|
+
watch(el, (value) => {
|
|
14315
14340
|
if (!IN_BROWSER || /* @__PURE__ */ isNull(value)) return;
|
|
14316
14341
|
const element = value;
|
|
14317
14342
|
if (getComputedStyle(element).position === "static") element.style.position = "relative";
|
|
@@ -14341,7 +14366,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
14341
14366
|
//#endregion
|
|
14342
14367
|
//#region src/components/Snackbar/SnackbarQueue.vue
|
|
14343
14368
|
const [useSnackbarQueueContext, provideSnackbarQueueContext] = createContext({ suffix: "queue" });
|
|
14344
|
-
const _sfc_main$32 =
|
|
14369
|
+
const _sfc_main$32 = /*@__PURE__*/ defineComponent({
|
|
14345
14370
|
name: "SnackbarQueue",
|
|
14346
14371
|
__name: "SnackbarQueue",
|
|
14347
14372
|
props: {
|
|
@@ -14412,7 +14437,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
14412
14437
|
//#endregion
|
|
14413
14438
|
//#region src/components/Snackbar/SnackbarRoot.vue
|
|
14414
14439
|
const [useSnackbarRootContext, provideSnackbarRootContext] = createContext({ suffix: "root" });
|
|
14415
|
-
const _sfc_main$31 =
|
|
14440
|
+
const _sfc_main$31 = /*@__PURE__*/ defineComponent({
|
|
14416
14441
|
name: "SnackbarRoot",
|
|
14417
14442
|
__name: "SnackbarRoot",
|
|
14418
14443
|
props: {
|
|
@@ -14461,7 +14486,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
14461
14486
|
});
|
|
14462
14487
|
//#endregion
|
|
14463
14488
|
//#region src/components/Snackbar/SnackbarContent.vue
|
|
14464
|
-
const _sfc_main$30 =
|
|
14489
|
+
const _sfc_main$30 = /*@__PURE__*/ defineComponent({
|
|
14465
14490
|
name: "SnackbarContent",
|
|
14466
14491
|
__name: "SnackbarContent",
|
|
14467
14492
|
props: {
|
|
@@ -14482,7 +14507,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
14482
14507
|
});
|
|
14483
14508
|
//#endregion
|
|
14484
14509
|
//#region src/components/Snackbar/SnackbarClose.vue
|
|
14485
|
-
const _sfc_main$29 =
|
|
14510
|
+
const _sfc_main$29 = /*@__PURE__*/ defineComponent({
|
|
14486
14511
|
name: "SnackbarClose",
|
|
14487
14512
|
__name: "SnackbarClose",
|
|
14488
14513
|
props: {
|
|
@@ -14686,10 +14711,10 @@ const Snackbar = {
|
|
|
14686
14711
|
//#endregion
|
|
14687
14712
|
//#region src/components/Step/StepRoot.vue
|
|
14688
14713
|
const [useStepRoot, provideStepRoot] = createContext();
|
|
14689
|
-
const _sfc_main$28 =
|
|
14714
|
+
const _sfc_main$28 = /*@__PURE__*/ defineComponent({
|
|
14690
14715
|
name: "StepRoot",
|
|
14691
14716
|
__name: "StepRoot",
|
|
14692
|
-
props:
|
|
14717
|
+
props: /*@__PURE__*/ mergeModels({
|
|
14693
14718
|
namespace: { default: "v0:step" },
|
|
14694
14719
|
disabled: {
|
|
14695
14720
|
type: Boolean,
|
|
@@ -14737,7 +14762,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
14737
14762
|
});
|
|
14738
14763
|
//#endregion
|
|
14739
14764
|
//#region src/components/Step/StepItem.vue
|
|
14740
|
-
const _sfc_main$27 =
|
|
14765
|
+
const _sfc_main$27 = /*@__PURE__*/ defineComponent({
|
|
14741
14766
|
name: "StepItem",
|
|
14742
14767
|
__name: "StepItem",
|
|
14743
14768
|
props: {
|
|
@@ -14846,10 +14871,10 @@ const Step = {
|
|
|
14846
14871
|
//#endregion
|
|
14847
14872
|
//#region src/components/Switch/SwitchGroup.vue
|
|
14848
14873
|
const [useSwitchGroup, provideSwitchGroup] = createContext();
|
|
14849
|
-
const _sfc_main$26 =
|
|
14874
|
+
const _sfc_main$26 = /*@__PURE__*/ defineComponent({
|
|
14850
14875
|
name: "SwitchGroup",
|
|
14851
14876
|
__name: "SwitchGroup",
|
|
14852
|
-
props:
|
|
14877
|
+
props: /*@__PURE__*/ mergeModels({
|
|
14853
14878
|
namespace: { default: "v0:switch:group" },
|
|
14854
14879
|
disabled: {
|
|
14855
14880
|
type: Boolean,
|
|
@@ -14872,7 +14897,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
14872
14897
|
"modelValue": {},
|
|
14873
14898
|
"modelModifiers": {}
|
|
14874
14899
|
}),
|
|
14875
|
-
emits:
|
|
14900
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
14876
14901
|
setup(__props) {
|
|
14877
14902
|
const model = useModel(__props, "modelValue");
|
|
14878
14903
|
const group = createGroup({
|
|
@@ -14915,11 +14940,11 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
14915
14940
|
//#endregion
|
|
14916
14941
|
//#region src/components/Switch/SwitchRoot.vue
|
|
14917
14942
|
const [useSwitchRoot, provideSwitchRoot] = createContext();
|
|
14918
|
-
const _sfc_main$25 =
|
|
14943
|
+
const _sfc_main$25 = /*@__PURE__*/ defineComponent({
|
|
14919
14944
|
name: "SwitchRoot",
|
|
14920
14945
|
inheritAttrs: false,
|
|
14921
14946
|
__name: "SwitchRoot",
|
|
14922
|
-
props:
|
|
14947
|
+
props: /*@__PURE__*/ mergeModels({
|
|
14923
14948
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
14924
14949
|
label: {},
|
|
14925
14950
|
value: {},
|
|
@@ -14938,7 +14963,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
14938
14963
|
"modelValue": { type: Boolean },
|
|
14939
14964
|
"modelModifiers": {}
|
|
14940
14965
|
}),
|
|
14941
|
-
emits:
|
|
14966
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
14942
14967
|
setup(__props) {
|
|
14943
14968
|
const attrs = useAttrs();
|
|
14944
14969
|
let group = null;
|
|
@@ -15066,7 +15091,7 @@ const visuallyHiddenStyle = {
|
|
|
15066
15091
|
whiteSpace: "nowrap",
|
|
15067
15092
|
border: "0"
|
|
15068
15093
|
};
|
|
15069
|
-
const _sfc_main$24 =
|
|
15094
|
+
const _sfc_main$24 = /*@__PURE__*/ defineComponent({
|
|
15070
15095
|
name: "SwitchHiddenInput",
|
|
15071
15096
|
__name: "SwitchHiddenInput",
|
|
15072
15097
|
props: {
|
|
@@ -15104,7 +15129,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
15104
15129
|
});
|
|
15105
15130
|
//#endregion
|
|
15106
15131
|
//#region src/components/Switch/SwitchSelectAll.vue
|
|
15107
|
-
const _sfc_main$23 =
|
|
15132
|
+
const _sfc_main$23 = /*@__PURE__*/ defineComponent({
|
|
15108
15133
|
name: "SwitchSelectAll",
|
|
15109
15134
|
inheritAttrs: false,
|
|
15110
15135
|
__name: "SwitchSelectAll",
|
|
@@ -15188,7 +15213,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
15188
15213
|
});
|
|
15189
15214
|
//#endregion
|
|
15190
15215
|
//#region src/components/Switch/SwitchThumb.vue
|
|
15191
|
-
const _sfc_main$22 =
|
|
15216
|
+
const _sfc_main$22 = /*@__PURE__*/ defineComponent({
|
|
15192
15217
|
name: "SwitchThumb",
|
|
15193
15218
|
__name: "SwitchThumb",
|
|
15194
15219
|
props: {
|
|
@@ -15222,7 +15247,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
15222
15247
|
});
|
|
15223
15248
|
//#endregion
|
|
15224
15249
|
//#region src/components/Switch/SwitchTrack.vue
|
|
15225
|
-
const _sfc_main$21 =
|
|
15250
|
+
const _sfc_main$21 = /*@__PURE__*/ defineComponent({
|
|
15226
15251
|
name: "SwitchTrack",
|
|
15227
15252
|
__name: "SwitchTrack",
|
|
15228
15253
|
props: {
|
|
@@ -15451,10 +15476,10 @@ const Switch = {
|
|
|
15451
15476
|
//#endregion
|
|
15452
15477
|
//#region src/components/Tabs/TabsRoot.vue
|
|
15453
15478
|
const [useTabsRoot, provideTabsRoot] = createContext();
|
|
15454
|
-
const _sfc_main$20 =
|
|
15479
|
+
const _sfc_main$20 = /*@__PURE__*/ defineComponent({
|
|
15455
15480
|
name: "TabsRoot",
|
|
15456
15481
|
__name: "TabsRoot",
|
|
15457
|
-
props:
|
|
15482
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15458
15483
|
namespace: { default: "v0:tabs" },
|
|
15459
15484
|
disabled: {
|
|
15460
15485
|
type: Boolean,
|
|
@@ -15478,7 +15503,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
15478
15503
|
"modelValue": {},
|
|
15479
15504
|
"modelModifiers": {}
|
|
15480
15505
|
}),
|
|
15481
|
-
emits:
|
|
15506
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
15482
15507
|
setup(__props) {
|
|
15483
15508
|
const model = useModel(__props, "modelValue");
|
|
15484
15509
|
const rootId = /* @__PURE__ */ useId$1();
|
|
@@ -15519,7 +15544,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
15519
15544
|
});
|
|
15520
15545
|
//#endregion
|
|
15521
15546
|
//#region src/components/Tabs/TabsList.vue
|
|
15522
|
-
const _sfc_main$19 =
|
|
15547
|
+
const _sfc_main$19 = /*@__PURE__*/ defineComponent({
|
|
15523
15548
|
name: "TabsList",
|
|
15524
15549
|
inheritAttrs: false,
|
|
15525
15550
|
__name: "TabsList",
|
|
@@ -15557,7 +15582,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
15557
15582
|
});
|
|
15558
15583
|
//#endregion
|
|
15559
15584
|
//#region src/components/Tabs/TabsItem.vue
|
|
15560
|
-
const _sfc_main$18 =
|
|
15585
|
+
const _sfc_main$18 = /*@__PURE__*/ defineComponent({
|
|
15561
15586
|
name: "TabsItem",
|
|
15562
15587
|
inheritAttrs: false,
|
|
15563
15588
|
__name: "TabsItem",
|
|
@@ -15569,6 +15594,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
15569
15594
|
ariaLabel: {},
|
|
15570
15595
|
ariaLabelledby: {},
|
|
15571
15596
|
ariaDescribedby: {},
|
|
15597
|
+
el: {},
|
|
15572
15598
|
as: { default: "button" },
|
|
15573
15599
|
renderless: { type: Boolean }
|
|
15574
15600
|
},
|
|
@@ -15576,7 +15602,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
15576
15602
|
const attrs = useAttrs();
|
|
15577
15603
|
const rootRef = useTemplateRef("root");
|
|
15578
15604
|
const tabs = useTabsRoot(__props.namespace);
|
|
15579
|
-
const el = toRef(() => /* @__PURE__ */ toElement(rootRef.value?.element) ?? void 0);
|
|
15605
|
+
const el = toRef(() => /* @__PURE__ */ toElement(__props.el) ?? /* @__PURE__ */ toElement(rootRef.value?.element) ?? void 0);
|
|
15580
15606
|
const ticket = tabs.register({
|
|
15581
15607
|
id: __props.id,
|
|
15582
15608
|
value: __props.value,
|
|
@@ -15592,7 +15618,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
15592
15618
|
function focusSelectedTab() {
|
|
15593
15619
|
nextTick(() => {
|
|
15594
15620
|
const selected = tabs.selectedItem.value;
|
|
15595
|
-
if (selected)
|
|
15621
|
+
if (selected) (/* @__PURE__ */ toElement(selected.el))?.focus();
|
|
15596
15622
|
});
|
|
15597
15623
|
}
|
|
15598
15624
|
function focusAdjacent(direction) {
|
|
@@ -15607,7 +15633,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
15607
15633
|
else if (index < 0 || index >= length) return;
|
|
15608
15634
|
const item = all[index];
|
|
15609
15635
|
if (item && !toValue(item.disabled)) {
|
|
15610
|
-
nextTick(() =>
|
|
15636
|
+
nextTick(() => (/* @__PURE__ */ toElement(item.el))?.focus());
|
|
15611
15637
|
return;
|
|
15612
15638
|
}
|
|
15613
15639
|
index += direction;
|
|
@@ -15616,7 +15642,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
15616
15642
|
}
|
|
15617
15643
|
function focusEdge(edge) {
|
|
15618
15644
|
const item = tabs.seek(edge);
|
|
15619
|
-
if (item) nextTick(() =>
|
|
15645
|
+
if (item) nextTick(() => (/* @__PURE__ */ toElement(item.el))?.focus());
|
|
15620
15646
|
}
|
|
15621
15647
|
function onKeydown(e) {
|
|
15622
15648
|
const isHorizontal = tabs.orientation.value === "horizontal";
|
|
@@ -15705,7 +15731,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
15705
15731
|
});
|
|
15706
15732
|
//#endregion
|
|
15707
15733
|
//#region src/components/Tabs/TabsPanel.vue
|
|
15708
|
-
const _sfc_main$17 =
|
|
15734
|
+
const _sfc_main$17 = /*@__PURE__*/ defineComponent({
|
|
15709
15735
|
name: "TabsPanel",
|
|
15710
15736
|
inheritAttrs: false,
|
|
15711
15737
|
__name: "TabsPanel",
|
|
@@ -15810,7 +15836,7 @@ const Tabs = {
|
|
|
15810
15836
|
};
|
|
15811
15837
|
//#endregion
|
|
15812
15838
|
//#region src/components/Theme/Theme.vue
|
|
15813
|
-
const _sfc_main$16 =
|
|
15839
|
+
const _sfc_main$16 = /*@__PURE__*/ defineComponent({
|
|
15814
15840
|
name: "Theme",
|
|
15815
15841
|
inheritAttrs: false,
|
|
15816
15842
|
__name: "Theme",
|
|
@@ -15870,10 +15896,10 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
15870
15896
|
//#endregion
|
|
15871
15897
|
//#region src/components/Toggle/ToggleGroup.vue
|
|
15872
15898
|
const [useToggleGroup, provideToggleGroup] = createContext();
|
|
15873
|
-
const _sfc_main$15 =
|
|
15899
|
+
const _sfc_main$15 = /*@__PURE__*/ defineComponent({
|
|
15874
15900
|
name: "ToggleGroup",
|
|
15875
15901
|
__name: "ToggleGroup",
|
|
15876
|
-
props:
|
|
15902
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15877
15903
|
namespace: { default: "v0:toggle:group" },
|
|
15878
15904
|
disabled: {
|
|
15879
15905
|
type: Boolean,
|
|
@@ -15897,7 +15923,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
15897
15923
|
"modelValue": {},
|
|
15898
15924
|
"modelModifiers": {}
|
|
15899
15925
|
}),
|
|
15900
|
-
emits:
|
|
15926
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
15901
15927
|
setup(__props) {
|
|
15902
15928
|
const model = useModel(__props, "modelValue");
|
|
15903
15929
|
const selection = __props.multiple ? createGroup({
|
|
@@ -15942,11 +15968,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
15942
15968
|
//#endregion
|
|
15943
15969
|
//#region src/components/Toggle/ToggleRoot.vue
|
|
15944
15970
|
const [useToggleRoot, provideToggleRoot] = createContext();
|
|
15945
|
-
const _sfc_main$14 =
|
|
15971
|
+
const _sfc_main$14 = /*@__PURE__*/ defineComponent({
|
|
15946
15972
|
name: "ToggleRoot",
|
|
15947
15973
|
inheritAttrs: false,
|
|
15948
15974
|
__name: "ToggleRoot",
|
|
15949
|
-
props:
|
|
15975
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15950
15976
|
id: { default: () => /* @__PURE__ */ useId$1() },
|
|
15951
15977
|
value: {},
|
|
15952
15978
|
disabled: {
|
|
@@ -15961,7 +15987,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
15961
15987
|
"modelValue": { type: Boolean },
|
|
15962
15988
|
"modelModifiers": {}
|
|
15963
15989
|
}),
|
|
15964
|
-
emits:
|
|
15990
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
15965
15991
|
setup(__props) {
|
|
15966
15992
|
const attrs = useAttrs();
|
|
15967
15993
|
let group = null;
|
|
@@ -16013,7 +16039,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
16013
16039
|
"type": __props.as === "button" ? "button" : void 0,
|
|
16014
16040
|
"role": __props.as === "button" ? void 0 : "button",
|
|
16015
16041
|
"aria-pressed": isPressed.value,
|
|
16016
|
-
"aria-disabled": isDisabled.value,
|
|
16042
|
+
"aria-disabled": __props.as === "button" ? void 0 : isDisabled.value,
|
|
16043
|
+
"disabled": __props.as === "button" ? isDisabled.value : void 0,
|
|
16017
16044
|
"tabindex": isDisabled.value ? -1 : 0,
|
|
16018
16045
|
"data-state": isPressed.value ? "on" : "off",
|
|
16019
16046
|
"data-disabled": isDisabled.value ? true : void 0,
|
|
@@ -16034,7 +16061,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
16034
16061
|
});
|
|
16035
16062
|
//#endregion
|
|
16036
16063
|
//#region src/components/Toggle/ToggleIndicator.vue
|
|
16037
|
-
const _sfc_main$13 =
|
|
16064
|
+
const _sfc_main$13 = /*@__PURE__*/ defineComponent({
|
|
16038
16065
|
name: "ToggleIndicator",
|
|
16039
16066
|
__name: "ToggleIndicator",
|
|
16040
16067
|
props: {
|
|
@@ -16158,10 +16185,10 @@ const Toggle = {
|
|
|
16158
16185
|
//#endregion
|
|
16159
16186
|
//#region src/components/Tooltip/TooltipRoot.vue
|
|
16160
16187
|
const [useTooltipRoot, provideTooltipRoot] = createContext({ suffix: "root" });
|
|
16161
|
-
const _sfc_main$12 =
|
|
16188
|
+
const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
16162
16189
|
name: "TooltipRoot",
|
|
16163
16190
|
__name: "TooltipRoot",
|
|
16164
|
-
props:
|
|
16191
|
+
props: /*@__PURE__*/ mergeModels({
|
|
16165
16192
|
openDelay: {},
|
|
16166
16193
|
closeDelay: {},
|
|
16167
16194
|
disabled: {
|
|
@@ -16185,7 +16212,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
16185
16212
|
},
|
|
16186
16213
|
"modelModifiers": {}
|
|
16187
16214
|
}),
|
|
16188
|
-
emits:
|
|
16215
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
16189
16216
|
setup(__props) {
|
|
16190
16217
|
const isOpen = useModel(__props, "modelValue");
|
|
16191
16218
|
const region = useTooltip();
|
|
@@ -16265,7 +16292,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
16265
16292
|
});
|
|
16266
16293
|
//#endregion
|
|
16267
16294
|
//#region src/components/Tooltip/TooltipActivator.vue
|
|
16268
|
-
const _sfc_main$11 =
|
|
16295
|
+
const _sfc_main$11 = /*@__PURE__*/ defineComponent({
|
|
16269
16296
|
name: "TooltipActivator",
|
|
16270
16297
|
inheritAttrs: false,
|
|
16271
16298
|
__name: "TooltipActivator",
|
|
@@ -16340,7 +16367,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
16340
16367
|
});
|
|
16341
16368
|
//#endregion
|
|
16342
16369
|
//#region src/components/Tooltip/TooltipContent.vue
|
|
16343
|
-
const _sfc_main$10 =
|
|
16370
|
+
const _sfc_main$10 = /*@__PURE__*/ defineComponent({
|
|
16344
16371
|
name: "TooltipContent",
|
|
16345
16372
|
inheritAttrs: false,
|
|
16346
16373
|
__name: "TooltipContent",
|
|
@@ -16470,10 +16497,10 @@ const Tooltip = {
|
|
|
16470
16497
|
//#endregion
|
|
16471
16498
|
//#region src/components/Treeview/TreeviewRoot.vue
|
|
16472
16499
|
const [useTreeviewRoot, provideTreeviewRoot] = createContext();
|
|
16473
|
-
const _sfc_main$9 =
|
|
16500
|
+
const _sfc_main$9 = /*@__PURE__*/ defineComponent({
|
|
16474
16501
|
name: "TreeviewRoot",
|
|
16475
16502
|
__name: "TreeviewRoot",
|
|
16476
|
-
props:
|
|
16503
|
+
props: /*@__PURE__*/ mergeModels({
|
|
16477
16504
|
namespace: { default: "v0:treeview" },
|
|
16478
16505
|
disabled: {
|
|
16479
16506
|
type: Boolean,
|
|
@@ -16506,7 +16533,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16506
16533
|
"modelValue": {},
|
|
16507
16534
|
"modelModifiers": {}
|
|
16508
16535
|
}),
|
|
16509
|
-
emits:
|
|
16536
|
+
emits: /*@__PURE__*/ mergeModels(["update:model-value"], ["update:modelValue"]),
|
|
16510
16537
|
setup(__props) {
|
|
16511
16538
|
const model = useModel(__props, "modelValue");
|
|
16512
16539
|
const nested = createNested({
|
|
@@ -16545,7 +16572,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16545
16572
|
//#region src/components/Treeview/TreeviewList.vue
|
|
16546
16573
|
const FOCUSABLE = "a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]";
|
|
16547
16574
|
const [useTreeviewList, provideTreeviewList] = createContext({ suffix: "list" });
|
|
16548
|
-
const _sfc_main$8 =
|
|
16575
|
+
const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
16549
16576
|
name: "TreeviewList",
|
|
16550
16577
|
__name: "TreeviewList",
|
|
16551
16578
|
props: {
|
|
@@ -16678,7 +16705,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16678
16705
|
const sibs = nested.siblings(ticket.id);
|
|
16679
16706
|
for (const sibId of sibs) if (expandable(nested.get(sibId))) nested.open(sibId);
|
|
16680
16707
|
}
|
|
16681
|
-
break;
|
|
16682
16708
|
}
|
|
16683
16709
|
}
|
|
16684
16710
|
const slotProps = toRef(() => ({ attrs: {
|
|
@@ -16703,7 +16729,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16703
16729
|
//#endregion
|
|
16704
16730
|
//#region src/components/Treeview/TreeviewItem.vue
|
|
16705
16731
|
const [useTreeviewItem, provideTreeviewItem] = createContext({ suffix: "item" });
|
|
16706
|
-
const _sfc_main$7 =
|
|
16732
|
+
const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
16707
16733
|
name: "TreeviewItem",
|
|
16708
16734
|
__name: "TreeviewItem",
|
|
16709
16735
|
props: {
|
|
@@ -16783,7 +16809,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16783
16809
|
});
|
|
16784
16810
|
//#endregion
|
|
16785
16811
|
//#region src/components/Treeview/TreeviewActivator.vue
|
|
16786
|
-
const _sfc_main$6 =
|
|
16812
|
+
const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
16787
16813
|
name: "TreeviewActivator",
|
|
16788
16814
|
__name: "TreeviewActivator",
|
|
16789
16815
|
props: {
|
|
@@ -16822,7 +16848,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16822
16848
|
});
|
|
16823
16849
|
//#endregion
|
|
16824
16850
|
//#region src/components/Treeview/TreeviewCheckbox.vue
|
|
16825
|
-
const _sfc_main$5 =
|
|
16851
|
+
const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
16826
16852
|
name: "TreeviewCheckbox",
|
|
16827
16853
|
__name: "TreeviewCheckbox",
|
|
16828
16854
|
props: {
|
|
@@ -16863,7 +16889,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16863
16889
|
});
|
|
16864
16890
|
//#endregion
|
|
16865
16891
|
//#region src/components/Treeview/TreeviewContent.vue
|
|
16866
|
-
const _sfc_main$4 =
|
|
16892
|
+
const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
16867
16893
|
name: "TreeviewContent",
|
|
16868
16894
|
__name: "TreeviewContent",
|
|
16869
16895
|
props: { namespace: { default: "v0:treeview" } },
|
|
@@ -16880,16 +16906,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
16880
16906
|
item.hasContent.value = false;
|
|
16881
16907
|
});
|
|
16882
16908
|
return (_ctx, _cache) => {
|
|
16883
|
-
return toValue(unref(item).ticket.isOpen) ? renderSlot(_ctx.$slots, "default", {
|
|
16884
|
-
key: 0,
|
|
16885
|
-
isOpen: toValue(unref(item).ticket.isOpen)
|
|
16886
|
-
}) : createCommentVNode("v-if", true);
|
|
16909
|
+
return toValue(unref(item).ticket.isOpen) ? renderSlot(_ctx.$slots, "default", { isOpen: toValue(unref(item).ticket.isOpen) }, void 0, void 0, 0) : createCommentVNode("v-if", true);
|
|
16887
16910
|
};
|
|
16888
16911
|
}
|
|
16889
16912
|
});
|
|
16890
16913
|
//#endregion
|
|
16891
16914
|
//#region src/components/Treeview/TreeviewCue.vue
|
|
16892
|
-
const _sfc_main$3 =
|
|
16915
|
+
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
16893
16916
|
name: "TreeviewCue",
|
|
16894
16917
|
__name: "TreeviewCue",
|
|
16895
16918
|
props: {
|
|
@@ -16923,7 +16946,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
16923
16946
|
});
|
|
16924
16947
|
//#endregion
|
|
16925
16948
|
//#region src/components/Treeview/TreeviewGroup.vue
|
|
16926
|
-
const _sfc_main$2 =
|
|
16949
|
+
const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
16927
16950
|
name: "TreeviewGroup",
|
|
16928
16951
|
__name: "TreeviewGroup",
|
|
16929
16952
|
props: {
|
|
@@ -16945,7 +16968,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
16945
16968
|
});
|
|
16946
16969
|
//#endregion
|
|
16947
16970
|
//#region src/components/Treeview/TreeviewIndicator.vue
|
|
16948
|
-
const _sfc_main$1 =
|
|
16971
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
16949
16972
|
name: "TreeviewIndicator",
|
|
16950
16973
|
__name: "TreeviewIndicator",
|
|
16951
16974
|
props: {
|
|
@@ -16981,7 +17004,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
16981
17004
|
});
|
|
16982
17005
|
//#endregion
|
|
16983
17006
|
//#region src/components/Treeview/TreeviewSelectAll.vue
|
|
16984
|
-
const _sfc_main =
|
|
17007
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
16985
17008
|
name: "TreeviewSelectAll",
|
|
16986
17009
|
__name: "TreeviewSelectAll",
|
|
16987
17010
|
props: {
|