@cocoar/vue-ui 3.3.0 → 3.4.0-beta.21

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.
Files changed (153) hide show
  1. package/README.md +1 -1
  2. package/dist/components/_internal/pageScrollLock.d.ts +17 -0
  3. package/dist/components/_internal/pageScrollLock.d.ts.map +1 -0
  4. package/dist/components/_internal/useFocusTrap.d.ts +9 -0
  5. package/dist/components/_internal/useFocusTrap.d.ts.map +1 -0
  6. package/dist/components/_internal/useVisualViewport.d.ts +26 -0
  7. package/dist/components/_internal/useVisualViewport.d.ts.map +1 -0
  8. package/dist/components/date-time/_shared/use-plain-date-picker.d.ts +95 -0
  9. package/dist/components/date-time/_shared/use-plain-date-picker.d.ts.map +1 -0
  10. package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts +113 -0
  11. package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts.map +1 -0
  12. package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts +132 -0
  13. package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts.map +1 -0
  14. package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts.map +1 -1
  15. package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts.map +1 -1
  16. package/dist/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue.d.ts.map +1 -1
  17. package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts.map +1 -1
  18. package/dist/components/dialog/CoarDialogFooter.vue.d.ts +20 -0
  19. package/dist/components/dialog/CoarDialogFooter.vue.d.ts.map +1 -0
  20. package/dist/components/dialog/CoarDialogShell.vue.d.ts +2 -0
  21. package/dist/components/dialog/CoarDialogShell.vue.d.ts.map +1 -1
  22. package/dist/components/dialog/CoarSheetShell.vue.d.ts +50 -0
  23. package/dist/components/dialog/CoarSheetShell.vue.d.ts.map +1 -0
  24. package/dist/components/dialog/dialog-types.d.ts +27 -0
  25. package/dist/components/dialog/dialog-types.d.ts.map +1 -1
  26. package/dist/components/dialog/dialogFooter.d.ts +21 -0
  27. package/dist/components/dialog/dialogFooter.d.ts.map +1 -0
  28. package/dist/components/dialog/index.d.ts +2 -1
  29. package/dist/components/dialog/index.d.ts.map +1 -1
  30. package/dist/components/dialog/useDialog.d.ts +6 -15
  31. package/dist/components/dialog/useDialog.d.ts.map +1 -1
  32. package/dist/components/dialog/useSheetDrag.d.ts +46 -0
  33. package/dist/components/dialog/useSheetDrag.d.ts.map +1 -0
  34. package/dist/components/input-frame/CoarInputFrame.vue.d.ts.map +1 -1
  35. package/dist/components/input-frame/CoarInputFrameButton.vue.d.ts.map +1 -1
  36. package/dist/components/listbox/CoarListbox.vue.d.ts.map +1 -1
  37. package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
  38. package/dist/components/menu/CoarMenuItem.vue.d.ts.map +1 -1
  39. package/dist/components/menu/CoarSubExpand.vue.d.ts.map +1 -1
  40. package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
  41. package/dist/components/menu/useContextMenu.d.ts +7 -20
  42. package/dist/components/menu/useContextMenu.d.ts.map +1 -1
  43. package/dist/components/otp-input/CoarOtpInput.vue.d.ts.map +1 -1
  44. package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
  45. package/dist/components/overlay/index.d.ts +1 -1
  46. package/dist/components/overlay/index.d.ts.map +1 -1
  47. package/dist/components/overlay/overlay-presets.d.ts +9 -0
  48. package/dist/components/overlay/overlay-presets.d.ts.map +1 -1
  49. package/dist/components/overlay/overlay-service.d.ts +12 -0
  50. package/dist/components/overlay/overlay-service.d.ts.map +1 -1
  51. package/dist/components/overlay/overlay-types.d.ts +6 -0
  52. package/dist/components/overlay/overlay-types.d.ts.map +1 -1
  53. package/dist/components/pagination/CoarPagination.vue.d.ts.map +1 -1
  54. package/dist/components/segmented-control/CoarSegmentedControl.vue.d.ts.map +1 -1
  55. package/dist/components/select/CoarMultiSelect.vue.d.ts.map +1 -1
  56. package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts.map +1 -1
  57. package/dist/components/select/CoarSelect.vue.d.ts.map +1 -1
  58. package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts.map +1 -1
  59. package/dist/components/select/CoarTagSelect.vue.d.ts.map +1 -1
  60. package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts.map +1 -1
  61. package/dist/components/tabs/CoarTabGroup.vue.d.ts.map +1 -1
  62. package/dist/components/tag/CoarTag.vue.d.ts.map +1 -1
  63. package/dist/index.css +1 -1
  64. package/dist/index.d.ts +3 -3
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +4558 -3950
  67. package/package.json +11 -11
  68. package/skills/cocoar-vue-ui/SKILL.md +9 -5
  69. package/skills/cocoar-vue-ui/references/components/avatar.md +2 -0
  70. package/skills/cocoar-vue-ui/references/components/badge.md +2 -0
  71. package/skills/cocoar-vue-ui/references/components/breadcrumb.md +2 -0
  72. package/skills/cocoar-vue-ui/references/components/button.md +2 -0
  73. package/skills/cocoar-vue-ui/references/components/calendar/agenda-view.md +2 -0
  74. package/skills/cocoar-vue-ui/references/components/calendar/coar-calendar.md +2 -0
  75. package/skills/cocoar-vue-ui/references/components/calendar/day-view.md +2 -0
  76. package/skills/cocoar-vue-ui/references/components/calendar/index.md +2 -0
  77. package/skills/cocoar-vue-ui/references/components/calendar/month-view.md +2 -0
  78. package/skills/cocoar-vue-ui/references/components/calendar/time-selection.md +2 -0
  79. package/skills/cocoar-vue-ui/references/components/calendar/timeline-view.md +2 -0
  80. package/skills/cocoar-vue-ui/references/components/calendar/week-view.md +2 -0
  81. package/skills/cocoar-vue-ui/references/components/calendar/work-week-view.md +2 -0
  82. package/skills/cocoar-vue-ui/references/components/calendar/year-view.md +2 -0
  83. package/skills/cocoar-vue-ui/references/components/card.md +2 -0
  84. package/skills/cocoar-vue-ui/references/components/checkbox-group.md +2 -0
  85. package/skills/cocoar-vue-ui/references/components/checkbox.md +2 -0
  86. package/skills/cocoar-vue-ui/references/components/code-block.md +2 -0
  87. package/skills/cocoar-vue-ui/references/components/context-menu.md +3 -0
  88. package/skills/cocoar-vue-ui/references/components/data-grid/checkbox.md +2 -0
  89. package/skills/cocoar-vue-ui/references/components/data-grid/date-columns.md +2 -0
  90. package/skills/cocoar-vue-ui/references/components/data-grid/editing.md +2 -0
  91. package/skills/cocoar-vue-ui/references/components/data-grid/multi-select.md +2 -0
  92. package/skills/cocoar-vue-ui/references/components/data-grid/number.md +2 -0
  93. package/skills/cocoar-vue-ui/references/components/data-grid/select.md +2 -0
  94. package/skills/cocoar-vue-ui/references/components/data-grid/text.md +2 -0
  95. package/skills/cocoar-vue-ui/references/components/data-grid.md +2 -0
  96. package/skills/cocoar-vue-ui/references/components/data-list.md +2 -0
  97. package/skills/cocoar-vue-ui/references/components/date-or-time-picker.md +2 -0
  98. package/skills/cocoar-vue-ui/references/components/date-picker.md +2 -0
  99. package/skills/cocoar-vue-ui/references/components/date-time-picker.md +2 -0
  100. package/skills/cocoar-vue-ui/references/components/date-views.md +2 -0
  101. package/skills/cocoar-vue-ui/references/components/dialog.md +162 -1
  102. package/skills/cocoar-vue-ui/references/components/divider.md +2 -0
  103. package/skills/cocoar-vue-ui/references/components/document-viewer/annotations.md +2 -0
  104. package/skills/cocoar-vue-ui/references/components/document-viewer/coar-document-viewer.md +2 -0
  105. package/skills/cocoar-vue-ui/references/components/document-viewer/index.md +2 -0
  106. package/skills/cocoar-vue-ui/references/components/document-viewer/toolbar.md +2 -0
  107. package/skills/cocoar-vue-ui/references/components/drag-drop.md +2 -0
  108. package/skills/cocoar-vue-ui/references/components/dual-listbox.md +2 -0
  109. package/skills/cocoar-vue-ui/references/components/form-field.md +2 -0
  110. package/skills/cocoar-vue-ui/references/components/link.md +2 -0
  111. package/skills/cocoar-vue-ui/references/components/listbox.md +2 -0
  112. package/skills/cocoar-vue-ui/references/components/map/editor.md +2 -0
  113. package/skills/cocoar-vue-ui/references/components/map/index.md +2 -0
  114. package/skills/cocoar-vue-ui/references/components/markdown-diagrams.md +2 -0
  115. package/skills/cocoar-vue-ui/references/components/markdown-editor.md +2 -0
  116. package/skills/cocoar-vue-ui/references/components/markdown-form.md +2 -0
  117. package/skills/cocoar-vue-ui/references/components/markdown.md +2 -0
  118. package/skills/cocoar-vue-ui/references/components/menu.md +2 -0
  119. package/skills/cocoar-vue-ui/references/components/mermaid.md +2 -0
  120. package/skills/cocoar-vue-ui/references/components/navbar.md +2 -0
  121. package/skills/cocoar-vue-ui/references/components/note.md +2 -0
  122. package/skills/cocoar-vue-ui/references/components/notice.md +2 -0
  123. package/skills/cocoar-vue-ui/references/components/number-input.md +2 -0
  124. package/skills/cocoar-vue-ui/references/components/otp-input.md +2 -0
  125. package/skills/cocoar-vue-ui/references/components/page-builder/coar-page-builder.md +2 -0
  126. package/skills/cocoar-vue-ui/references/components/page-builder/coar-page-renderer.md +2 -0
  127. package/skills/cocoar-vue-ui/references/components/pagination.md +2 -0
  128. package/skills/cocoar-vue-ui/references/components/panel-layout.md +2 -0
  129. package/skills/cocoar-vue-ui/references/components/password-input.md +2 -0
  130. package/skills/cocoar-vue-ui/references/components/popconfirm.md +2 -0
  131. package/skills/cocoar-vue-ui/references/components/popover.md +2 -0
  132. package/skills/cocoar-vue-ui/references/components/progress-bar.md +2 -0
  133. package/skills/cocoar-vue-ui/references/components/radio-group.md +2 -0
  134. package/skills/cocoar-vue-ui/references/components/script-editor.md +2 -0
  135. package/skills/cocoar-vue-ui/references/components/segmented-control.md +2 -0
  136. package/skills/cocoar-vue-ui/references/components/select.md +2 -0
  137. package/skills/cocoar-vue-ui/references/components/sidebar.md +2 -0
  138. package/skills/cocoar-vue-ui/references/components/spinner.md +2 -0
  139. package/skills/cocoar-vue-ui/references/components/switch.md +2 -0
  140. package/skills/cocoar-vue-ui/references/components/table.md +2 -0
  141. package/skills/cocoar-vue-ui/references/components/tabs.md +2 -0
  142. package/skills/cocoar-vue-ui/references/components/tag.md +2 -0
  143. package/skills/cocoar-vue-ui/references/components/text-input.md +2 -0
  144. package/skills/cocoar-vue-ui/references/components/toast.md +2 -0
  145. package/skills/cocoar-vue-ui/references/components/tooltip.md +2 -0
  146. package/skills/cocoar-vue-ui/references/components/tree.md +2 -0
  147. package/skills/cocoar-vue-ui/references/components/wizard.md +2 -0
  148. package/skills/cocoar-vue-ui/references/components/zoned-date-time-picker.md +2 -0
  149. package/skills/cocoar-vue-ui/references/foundations/design-principles.md +27 -3
  150. package/skills/cocoar-vue-ui/references/guide/getting-started.md +2 -2
  151. package/skills/cocoar-vue-ui/references/guide/mobile.md +326 -13
  152. package/styles/tokens/mobile.css +2 -0
  153. package/styles/tokens/new-components.css +9 -0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @cocoar/vue-ui
2
2
 
3
- Cocoar Design System — a touch-first Vue 3 component library with 30+ accessible, themeable components.
3
+ Cocoar Design System — a tablet-first Vue 3 component library with 30+ accessible, themeable components.
4
4
 
5
5
  ## Install
6
6
 
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Page scroll lock for modal surfaces that cover the page from below (bottom sheets).
3
+ * Counted: the page is locked from the first `lockPageScroll()` until the last release.
4
+ *
5
+ * - `overflow: hidden` on `<html>` stops wheel, keyboard and scrollbar scrolling of the
6
+ * document; the scrollbar's width is added to the body's right padding so the page does
7
+ * not shift sideways.
8
+ * - iOS Safari (before 16) and app shells that scroll an inner container still scroll on
9
+ * touch, so a non-passive `touchmove` listener cancels every touch move that does not
10
+ * start inside an overlay (`.coar-overlay-host`): the sheet itself, and selects or
11
+ * pickers opened from it, keep scrolling.
12
+ *
13
+ * Without `position: fixed` on the body: it would jump the page to the top and back.
14
+ */
15
+ /** Locks page scroll and returns the release; calling the release twice is harmless. */
16
+ export declare function lockPageScroll(): () => void;
17
+ //# sourceMappingURL=pageScrollLock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageScrollLock.d.ts","sourceRoot":"","sources":["../../../src/components/_internal/pageScrollLock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAqDH,wFAAwF;AACxF,wBAAgB,cAAc,IAAI,MAAM,IAAI,CAS3C"}
@@ -0,0 +1,9 @@
1
+ import { Ref } from 'vue';
2
+ /**
3
+ * Focus trap of a modal surface (dialog shell, sheet shell). On mount it remembers the
4
+ * focused element and moves focus into the container (`[autofocus]`, else the first
5
+ * focusable element, else the container itself); while mounted Tab and Shift+Tab wrap
6
+ * inside the container; on unmount focus returns to the remembered element.
7
+ */
8
+ export declare function useFocusTrap(containerRef: Ref<HTMLElement | null>): void;
9
+ //# sourceMappingURL=useFocusTrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFocusTrap.d.ts","sourceRoot":"","sources":["../../../src/components/_internal/useFocusTrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAWrE;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,YAAY,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,QAiFjE"}
@@ -0,0 +1,26 @@
1
+ import { Ref } from 'vue';
2
+ /** What a surface docked to the bottom needs to know about the visual viewport. */
3
+ export interface VisualViewportMetrics {
4
+ /** Height of the visible part of the page in px. */
5
+ readonly height: number;
6
+ /**
7
+ * Distance in px from the bottom of the layout viewport (what `position: fixed;
8
+ * bottom: 0` docks to) up to the bottom of the visible part: the on-screen keyboard,
9
+ * or the part of the page that iOS panned away.
10
+ */
11
+ readonly bottomInset: number;
12
+ }
13
+ /**
14
+ * Metrics of a visual viewport, or `null` while it is pinch-zoomed: zoomed, the layout
15
+ * viewport is the right frame and following the visual one would shrink the surface.
16
+ */
17
+ export declare function visualViewportMetrics(layoutHeight: number, viewport: Pick<VisualViewport, 'height' | 'offsetTop' | 'scale'>): VisualViewportMetrics | null;
18
+ /**
19
+ * Follows `window.visualViewport` while the calling component is mounted. `metrics` stays
20
+ * `null` during SSR, where the browser has no visual viewport (happy-dom, old browsers),
21
+ * and while the page is pinch-zoomed: the caller then keeps its CSS-only layout.
22
+ */
23
+ export declare function useVisualViewport(): {
24
+ metrics: Ref<VisualViewportMetrics | null>;
25
+ };
26
+ //# sourceMappingURL=useVisualViewport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useVisualViewport.d.ts","sourceRoot":"","sources":["../../../src/components/_internal/useVisualViewport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAEhE,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC,GAC/D,qBAAqB,GAAG,IAAI,CAM9B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI;IAAE,OAAO,EAAE,GAAG,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAAA;CAAE,CA2BlF"}
@@ -0,0 +1,95 @@
1
+ import { Ref } from 'vue';
2
+ import { Temporal } from '@js-temporal/polyfill';
3
+ import { DateFormatConfig } from './types';
4
+ interface PlainDatePickerOptions {
5
+ readonly placeholder: string;
6
+ readonly locale?: string;
7
+ readonly dateFormat?: DateFormatConfig;
8
+ readonly min: Temporal.PlainDate | null;
9
+ readonly max: Temporal.PlainDate | null;
10
+ }
11
+ /**
12
+ * Internal value logic shared by presentations of the plain date picker.
13
+ * Pass reactive props (or getters) so options remain live. DOM, masking and overlay
14
+ * lifecycle belong to the presentation, not this composable.
15
+ */
16
+ export declare function usePlainDatePicker(modelValue: Ref<Temporal.PlainDate | null>, props: PlainDatePickerOptions): {
17
+ pickerBase: {
18
+ effectiveLocale: import('vue').ComputedRef<string>;
19
+ effectiveDateFormat: import('vue').ComputedRef<DateFormatConfig>;
20
+ separator: import('vue').ComputedRef<"." | "-" | "/">;
21
+ timezone: Readonly<Ref<string, string>>;
22
+ isOpen: Ref<boolean, boolean>;
23
+ open: () => void;
24
+ close: () => void;
25
+ toggle: () => void;
26
+ };
27
+ activeMonth: Ref<{
28
+ readonly era: string | undefined;
29
+ readonly eraYear: number | undefined;
30
+ readonly year: number;
31
+ readonly month: number;
32
+ readonly monthCode: string;
33
+ readonly calendarId: string;
34
+ readonly daysInMonth: number;
35
+ readonly daysInYear: number;
36
+ readonly monthsInYear: number;
37
+ readonly inLeapYear: boolean;
38
+ equals: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string) => boolean;
39
+ with: (yearMonthLike: Temporal.PlainYearMonthLike, options?: Temporal.AssignmentOptions) => Temporal.PlainYearMonth;
40
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
41
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
42
+ until: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
43
+ since: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
44
+ toPlainDate: (day: {
45
+ day: number;
46
+ }) => Temporal.PlainDate;
47
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
48
+ toJSON: () => string;
49
+ toString: (options?: Temporal.ShowCalendarOption) => string;
50
+ valueOf: () => never;
51
+ readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
52
+ }, Temporal.PlainYearMonth | {
53
+ readonly era: string | undefined;
54
+ readonly eraYear: number | undefined;
55
+ readonly year: number;
56
+ readonly month: number;
57
+ readonly monthCode: string;
58
+ readonly calendarId: string;
59
+ readonly daysInMonth: number;
60
+ readonly daysInYear: number;
61
+ readonly monthsInYear: number;
62
+ readonly inLeapYear: boolean;
63
+ equals: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string) => boolean;
64
+ with: (yearMonthLike: Temporal.PlainYearMonthLike, options?: Temporal.AssignmentOptions) => Temporal.PlainYearMonth;
65
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
66
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
67
+ until: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
68
+ since: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
69
+ toPlainDate: (day: {
70
+ day: number;
71
+ }) => Temporal.PlainDate;
72
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
73
+ toJSON: () => string;
74
+ toString: (options?: Temporal.ShowCalendarOption) => string;
75
+ valueOf: () => never;
76
+ readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
77
+ }>;
78
+ displayValue: Ref<string, string>;
79
+ inputPlaceholder: import('vue').ComputedRef<string>;
80
+ isPrevYearDisabled: import('vue').ComputedRef<boolean>;
81
+ isNextYearDisabled: import('vue').ComputedRef<boolean>;
82
+ today: import('vue').ComputedRef<Temporal.PlainDate>;
83
+ formatValue: (val: Temporal.PlainDate) => string;
84
+ parseValueFromInput: (text: string) => Temporal.PlainDate | null;
85
+ selectDate: (date: Temporal.PlainDate) => void;
86
+ selectMonth: (month: Temporal.PlainYearMonth) => void;
87
+ previousYear: () => void;
88
+ nextYear: () => void;
89
+ scrollToTodayMonth: () => void;
90
+ clearValue: () => void;
91
+ changeInput: (text: string) => void;
92
+ blurInput: () => void;
93
+ };
94
+ export {};
95
+ //# sourceMappingURL=use-plain-date-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-plain-date-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/_shared/use-plain-date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IACvC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;CACzC;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC,EAC1C,KAAK,EAAE,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAkBH,QAAQ,CAAC,SAAS,KAAG,MAAM;gCAKlB,MAAM,KAAG,QAAQ,CAAC,SAAS,GAAG,IAAI;uBAgB3C,QAAQ,CAAC,SAAS;yBAIhB,QAAQ,CAAC,cAAc;;;;;wBAqBxB,MAAM;;EAqBlC"}
@@ -0,0 +1,113 @@
1
+ import { Ref } from 'vue';
2
+ import { Temporal } from '@js-temporal/polyfill';
3
+ import { DateFormatConfig, CoarTimeValue } from './types';
4
+ interface PlainDateTimePickerOptions {
5
+ readonly placeholder: string;
6
+ readonly locale?: string;
7
+ readonly dateFormat?: DateFormatConfig;
8
+ readonly min: Temporal.PlainDateTime | null;
9
+ readonly max: Temporal.PlainDateTime | null;
10
+ readonly use24Hour: boolean | 'auto';
11
+ readonly minuteStep: 1 | 5 | 10 | 15;
12
+ readonly defaultTime: CoarTimeValue;
13
+ }
14
+ /**
15
+ * Internal value logic shared by presentations of the plain date-time picker.
16
+ * Pass reactive props (or getters) so options remain live. DOM, masking and overlay
17
+ * lifecycle belong to the presentation, not this composable.
18
+ */
19
+ export declare function usePlainDateTimePicker(modelValue: Ref<Temporal.PlainDateTime | null>, props: PlainDateTimePickerOptions): {
20
+ pickerBase: {
21
+ effectiveLocale: import('vue').ComputedRef<string>;
22
+ effectiveDateFormat: import('vue').ComputedRef<DateFormatConfig>;
23
+ separator: import('vue').ComputedRef<"." | "-" | "/">;
24
+ timezone: Readonly<Ref<string, string>>;
25
+ isOpen: Ref<boolean, boolean>;
26
+ open: () => void;
27
+ close: () => void;
28
+ toggle: () => void;
29
+ };
30
+ activeMonth: Ref<{
31
+ readonly era: string | undefined;
32
+ readonly eraYear: number | undefined;
33
+ readonly year: number;
34
+ readonly month: number;
35
+ readonly monthCode: string;
36
+ readonly calendarId: string;
37
+ readonly daysInMonth: number;
38
+ readonly daysInYear: number;
39
+ readonly monthsInYear: number;
40
+ readonly inLeapYear: boolean;
41
+ equals: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string) => boolean;
42
+ with: (yearMonthLike: Temporal.PlainYearMonthLike, options?: Temporal.AssignmentOptions) => Temporal.PlainYearMonth;
43
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
44
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
45
+ until: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
46
+ since: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
47
+ toPlainDate: (day: {
48
+ day: number;
49
+ }) => Temporal.PlainDate;
50
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
51
+ toJSON: () => string;
52
+ toString: (options?: Temporal.ShowCalendarOption) => string;
53
+ valueOf: () => never;
54
+ readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
55
+ }, Temporal.PlainYearMonth | {
56
+ readonly era: string | undefined;
57
+ readonly eraYear: number | undefined;
58
+ readonly year: number;
59
+ readonly month: number;
60
+ readonly monthCode: string;
61
+ readonly calendarId: string;
62
+ readonly daysInMonth: number;
63
+ readonly daysInYear: number;
64
+ readonly monthsInYear: number;
65
+ readonly inLeapYear: boolean;
66
+ equals: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string) => boolean;
67
+ with: (yearMonthLike: Temporal.PlainYearMonthLike, options?: Temporal.AssignmentOptions) => Temporal.PlainYearMonth;
68
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
69
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
70
+ until: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
71
+ since: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
72
+ toPlainDate: (day: {
73
+ day: number;
74
+ }) => Temporal.PlainDate;
75
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
76
+ toJSON: () => string;
77
+ toString: (options?: Temporal.ShowCalendarOption) => string;
78
+ valueOf: () => never;
79
+ readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
80
+ }>;
81
+ pendingTime: Ref<{
82
+ readonly hours: number;
83
+ readonly minutes: number;
84
+ } | null, CoarTimeValue | {
85
+ readonly hours: number;
86
+ readonly minutes: number;
87
+ } | null>;
88
+ displayValue: Ref<string, string>;
89
+ effectiveUse24Hour: import('vue').ComputedRef<boolean>;
90
+ inputPlaceholder: import('vue').ComputedRef<string>;
91
+ selectedDate: import('vue').ComputedRef<Temporal.PlainDate | null>;
92
+ selectedTime: import('vue').ComputedRef<CoarTimeValue | null>;
93
+ minDate: import('vue').ComputedRef<Temporal.PlainDate | null>;
94
+ maxDate: import('vue').ComputedRef<Temporal.PlainDate | null>;
95
+ effectiveMinTime: import('vue').ComputedRef<CoarTimeValue | null>;
96
+ effectiveMaxTime: import('vue').ComputedRef<CoarTimeValue | null>;
97
+ isPrevYearDisabled: import('vue').ComputedRef<boolean>;
98
+ isNextYearDisabled: import('vue').ComputedRef<boolean>;
99
+ today: import('vue').ComputedRef<Temporal.PlainDate>;
100
+ formatValue: (val: Temporal.PlainDateTime) => string;
101
+ parseValueFromInput: (text: string) => Temporal.PlainDateTime | null;
102
+ selectDate: (date: Temporal.PlainDate) => void;
103
+ changeTime: (time: CoarTimeValue | null) => void;
104
+ selectMonth: (month: Temporal.PlainYearMonth) => void;
105
+ previousYear: () => void;
106
+ nextYear: () => void;
107
+ scrollToTodayMonth: () => void;
108
+ clearValue: () => void;
109
+ changeInput: (text: string) => void;
110
+ blurInput: () => void;
111
+ };
112
+ export {};
113
+ //# sourceMappingURL=use-plain-date-time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-plain-date-time-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/_shared/use-plain-date-time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AASjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE/D,UAAU,0BAA0B;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IACvC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,CAAC;IACrC,QAAQ,CAAC,UAAU,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;CACrC;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC,EAC9C,KAAK,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAoDP,QAAQ,CAAC,aAAa,KAAG,MAAM;gCAOtB,MAAM,KAAG,QAAQ,CAAC,aAAa,GAAG,IAAI;uBAiC/C,QAAQ,CAAC,SAAS;uBAKlB,aAAa,GAAG,IAAI;yBAMlB,QAAQ,CAAC,cAAc;;;;;wBAuBxB,MAAM;;EAsBlC"}
@@ -0,0 +1,132 @@
1
+ import { Ref } from 'vue';
2
+ import { Temporal } from '@js-temporal/polyfill';
3
+ import { DateFormatConfig, CoarTimeValue } from './types';
4
+ interface ZonedDateTimePickerOptions {
5
+ readonly placeholder: string;
6
+ readonly locale?: string;
7
+ readonly dateFormat?: DateFormatConfig;
8
+ readonly min: Temporal.ZonedDateTime | null;
9
+ readonly max: Temporal.ZonedDateTime | null;
10
+ readonly use24Hour: boolean | 'auto';
11
+ readonly minuteStep: 1 | 5 | 10 | 15;
12
+ readonly defaultTime: CoarTimeValue;
13
+ readonly timeZone: string | null;
14
+ }
15
+ /**
16
+ * Internal value logic shared by presentations of the zoned date-time picker.
17
+ * Pass reactive props (or getters) so options remain live. DOM, masking and overlay
18
+ * lifecycle belong to the presentation, not this composable.
19
+ */
20
+ export declare function useZonedDateTimePicker(modelValue: Ref<Temporal.ZonedDateTime | null>, props: ZonedDateTimePickerOptions): {
21
+ pickerBase: {
22
+ effectiveLocale: import('vue').ComputedRef<string>;
23
+ effectiveDateFormat: import('vue').ComputedRef<DateFormatConfig>;
24
+ separator: import('vue').ComputedRef<"." | "-" | "/">;
25
+ timezone: Readonly<Ref<string, string>>;
26
+ isOpen: Ref<boolean, boolean>;
27
+ open: () => void;
28
+ close: () => void;
29
+ toggle: () => void;
30
+ };
31
+ activeMonth: Ref<{
32
+ readonly era: string | undefined;
33
+ readonly eraYear: number | undefined;
34
+ readonly year: number;
35
+ readonly month: number;
36
+ readonly monthCode: string;
37
+ readonly calendarId: string;
38
+ readonly daysInMonth: number;
39
+ readonly daysInYear: number;
40
+ readonly monthsInYear: number;
41
+ readonly inLeapYear: boolean;
42
+ equals: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string) => boolean;
43
+ with: (yearMonthLike: Temporal.PlainYearMonthLike, options?: Temporal.AssignmentOptions) => Temporal.PlainYearMonth;
44
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
45
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
46
+ until: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
47
+ since: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
48
+ toPlainDate: (day: {
49
+ day: number;
50
+ }) => Temporal.PlainDate;
51
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
52
+ toJSON: () => string;
53
+ toString: (options?: Temporal.ShowCalendarOption) => string;
54
+ valueOf: () => never;
55
+ readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
56
+ }, Temporal.PlainYearMonth | {
57
+ readonly era: string | undefined;
58
+ readonly eraYear: number | undefined;
59
+ readonly year: number;
60
+ readonly month: number;
61
+ readonly monthCode: string;
62
+ readonly calendarId: string;
63
+ readonly daysInMonth: number;
64
+ readonly daysInYear: number;
65
+ readonly monthsInYear: number;
66
+ readonly inLeapYear: boolean;
67
+ equals: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string) => boolean;
68
+ with: (yearMonthLike: Temporal.PlainYearMonthLike, options?: Temporal.AssignmentOptions) => Temporal.PlainYearMonth;
69
+ add: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
70
+ subtract: (durationLike: Temporal.Duration | Temporal.DurationLike | string, options?: Temporal.ArithmeticOptions) => Temporal.PlainYearMonth;
71
+ until: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
72
+ since: (other: Temporal.PlainYearMonth | Temporal.PlainYearMonthLike | string, options?: Temporal.DifferenceOptions<"year" | "month">) => Temporal.Duration;
73
+ toPlainDate: (day: {
74
+ day: number;
75
+ }) => Temporal.PlainDate;
76
+ toLocaleString: (locales?: Temporal.LocalesArgument, options?: globalThis.Intl.DateTimeFormatOptions) => string;
77
+ toJSON: () => string;
78
+ toString: (options?: Temporal.ShowCalendarOption) => string;
79
+ valueOf: () => never;
80
+ readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
81
+ }>;
82
+ pendingTime: Ref<{
83
+ readonly hours: number;
84
+ readonly minutes: number;
85
+ } | null, CoarTimeValue | {
86
+ readonly hours: number;
87
+ readonly minutes: number;
88
+ } | null>;
89
+ displayTimeZone: Ref<string | null, string | null>;
90
+ displayValue: Ref<string, string>;
91
+ userTimeZone: import('vue').ComputedRef<string>;
92
+ valueTimeZone: import('vue').ComputedRef<string | null>;
93
+ effectiveDisplayTimeZone: import('vue').ComputedRef<string>;
94
+ effectiveDefaultTimeZone: import('vue').ComputedRef<string>;
95
+ locationDiffersFromUser: import('vue').ComputedRef<boolean>;
96
+ timeZonesDiffer: import('vue').ComputedRef<boolean>;
97
+ timezoneIndicatorState: import('vue').ComputedRef<"home" | "location" | "world">;
98
+ timezoneIndicatorClickable: import('vue').ComputedRef<boolean>;
99
+ currentTimeZoneDisplayName: import('vue').ComputedRef<string>;
100
+ valueTimeZoneLabel: import('vue').ComputedRef<string>;
101
+ allTimezones: string[];
102
+ effectiveUse24Hour: import('vue').ComputedRef<boolean>;
103
+ inputPlaceholder: import('vue').ComputedRef<string>;
104
+ workingTimeZone: import('vue').ComputedRef<string>;
105
+ valueInWorkingTz: import('vue').ComputedRef<Temporal.ZonedDateTime | null>;
106
+ selectedDate: import('vue').ComputedRef<Temporal.PlainDate | null>;
107
+ selectedTime: import('vue').ComputedRef<CoarTimeValue | null>;
108
+ minDate: import('vue').ComputedRef<Temporal.PlainDate | null>;
109
+ maxDate: import('vue').ComputedRef<Temporal.PlainDate | null>;
110
+ effectiveMinTime: import('vue').ComputedRef<CoarTimeValue | null>;
111
+ effectiveMaxTime: import('vue').ComputedRef<CoarTimeValue | null>;
112
+ isPrevYearDisabled: import('vue').ComputedRef<boolean>;
113
+ isNextYearDisabled: import('vue').ComputedRef<boolean>;
114
+ today: import('vue').ComputedRef<Temporal.PlainDate>;
115
+ formatValue: (val: Temporal.ZonedDateTime) => string;
116
+ formatValueInValueTz: () => string;
117
+ parseValueFromInput: (text: string) => Temporal.ZonedDateTime | null;
118
+ selectDate: (date: Temporal.PlainDate) => void;
119
+ changeTime: (time: CoarTimeValue | null) => void;
120
+ selectMonth: (month: Temporal.PlainYearMonth) => void;
121
+ previousYear: () => void;
122
+ nextYear: () => void;
123
+ scrollToTodayMonth: () => void;
124
+ selectDisplayTimezone: (tzId: string) => void;
125
+ changeValueTimezone: (newTzId: string) => void;
126
+ toggleDisplayTimezone: () => void;
127
+ clearValue: () => void;
128
+ changeInput: (text: string) => void;
129
+ blurInput: () => void;
130
+ };
131
+ export {};
132
+ //# sourceMappingURL=use-zoned-date-time-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-zoned-date-time-picker.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/_shared/use-zoned-date-time-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAUjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE/D,UAAU,0BAA0B;IAClC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IACvC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,CAAC;IACrC,QAAQ,CAAC,UAAU,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;;GAIG;AAC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AE;0BAaH,OAAO;gBAXjB,gBAAgB;iBAUf,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuKP,GAAG,8CAA8C,GAAG,yBAC9D,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0gBvD,wBAUG"}
1
+ {"version":3,"file":"CoarPlainDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue"],"names":[],"mappings":"AAyhBA,OAAO,EAAoB,QAAQ,EAA6D,MAAM,KAAK,CAAC;AAE5G,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAajD,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIxF,MAAM,MAAM,2BAA2B,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjE,KAAK,WAAW,GAAG;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,2BAA2B,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,kCAAkC;IAClC,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IACpC,kCAAkC;IAClC,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IACpC,uBAAuB;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,kBAAkB;IAClB,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAkVJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;CAC1C,GAAG,WAAW,CAAC;;;;;;;;;;WAxWJ,OAAO;QAEV,MAAM;UAVJ,2BAA2B;cAGvB,OAAO;cAFP,OAAO;iBAFJ,MAAM;SAqBd,QAAQ,CAAC,aAAa,GAAG,IAAI;cAlBxB,OAAO;eASN,OAAO;SAOb,QAAQ,CAAC,aAAa,GAAG,IAAI;YAH1B,MAAM;eAOH,OAAO,GAAG,MAAM;gBAEf,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE;qBAZV,OAAO;uBACL,OAAO;aACjB,cAAc,EAAE;0BAaH,OAAO;gBAXjB,gBAAgB;iBAUf,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAkXnB,GAAE,8CAER,GACL,yBAAyB,GAAG,6DAClB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiLd,wBAUG"}
@@ -1 +1 @@
1
- {"version":3,"file":"CoarScrollableCalendar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue"],"names":[],"mappings":"AA07BA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,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,cAAc,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,eAAe,EAAE,CAAC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC;CAChC;AAQD,KAAK,WAAW,GAAG;IACf,8BAA8B;IAC9B,GAAG,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,8BAA8B;IAC9B,GAAG,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,+BAA+B;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gCAAgC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qCAAqC;IACrC,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B,CAAC;AA6mBJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IACvC,aAAa,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC;CACvC,GAAG,WAAW,CAAC;;;;;;;;;;SA3nBN,QAAQ,CAAC,SAAS,GAAG,IAAI;SAFzB,QAAQ,CAAC,SAAS,GAAG,IAAI;YAItB,MAAM;sBAEI,gBAAgB;qBAEjB,OAAO;uBAEL,OAAO;aAEjB,cAAc,EAAE;;;;AA6xB9B,wBAUG"}
@@ -1 +1 @@
1
- {"version":3,"file":"CoarZonedDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue"],"names":[],"mappings":"AAi3BA,OAAO,EAAoB,QAAQ,EAA6D,MAAM,KAAK,CAAC;AAE5G,OAAO,EAAE,QAAQ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AG,IAAI;cAlBxB,OAAO;eASN,OAAO;SAOb,QAAQ,CAAC,aAAa,GAAG,IAAI;YAH1B,MAAM;eAOH,OAAO,GAAG,MAAM;gBAEf,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE;qBAZV,OAAO;uBACL,OAAO;aACjB,cAAc,EAAE;0BAaH,OAAO;gBAXjB,gBAAgB;iBAUf,aAAa;cAGhB,MAAM,GAAG,IAAI;oBAEP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+DT,GAAG,8CAA8C,GACrE,yBAAyB,GAAG,6DAC1B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4dL,wBAUG"}
@@ -0,0 +1,20 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: Readonly<{
4
+ default(): unknown;
5
+ }> & {
6
+ default(): unknown;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=CoarDialogFooter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarDialogFooter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/CoarDialogFooter.vue"],"names":[],"mappings":"AA6DA,iBAAS,cAAc;WAkCT,OAAO,IAA6B;;mBA1CL,OAAO;;mBAAP,OAAO;;;;EA+CnD;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -23,6 +23,7 @@ declare function __VLS_template(): {
23
23
  };
24
24
  refs: {
25
25
  dialogRef: HTMLDivElement;
26
+ footerRef: HTMLDivElement;
26
27
  };
27
28
  rootEl: HTMLDivElement;
28
29
  };
@@ -33,6 +34,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
33
34
  onClose?: ((result?: unknown) => any) | undefined;
34
35
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
36
  dialogRef: HTMLDivElement;
37
+ footerRef: HTMLDivElement;
36
38
  }, HTMLDivElement>;
37
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
40
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarDialogShell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/CoarDialogShell.vue"],"names":[],"mappings":"AAqRA,OAAO,EAAuD,KAAK,SAAS,EAAK,MAAM,KAAK,CAAC;AAE7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAKjD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,kEAAkE;IAClE,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MA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OAAO,CAAC,CAAC;CAC9C,CAAC;AAmCF,iBAAS,cAAc;WAmKT,OAAO,IAA6B;;yBAbpB,GAAG;wBACJ,GAAG;;;;;;;EAiB/B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;kBASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { Component } from 'vue';
2
+ import { DialogSize } from './dialog-types';
3
+ type __VLS_Props = {
4
+ title: string;
5
+ /** Caps the width from a 640 px wide window on; below the sheet spans the full width. */
6
+ size: DialogSize;
7
+ showCloseButton: boolean;
8
+ /** Whether dragging the handle or header down closes the sheet. */
9
+ dragToClose: boolean;
10
+ /** When true, renders built-in confirm UI (message + buttons). */
11
+ confirmMode: boolean;
12
+ confirmMessage: string;
13
+ confirmText: string;
14
+ /** Empty: no cancel button (alert). */
15
+ cancelText: string;
16
+ confirmVariant: 'primary' | 'danger';
17
+ /** Optional body component for programmatic rendering (falls back to slot). */
18
+ bodyComponent?: Component;
19
+ /** Props to pass to bodyComponent. */
20
+ bodyComponentProps?: Record<string, unknown>;
21
+ };
22
+ declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
24
+ slots: {
25
+ default?(_: {}): any;
26
+ footer?(_: {}): any;
27
+ };
28
+ refs: {
29
+ sheetRef: HTMLDivElement;
30
+ footerRef: HTMLDivElement;
31
+ };
32
+ rootEl: HTMLDivElement;
33
+ };
34
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
35
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ close: (result?: unknown) => any;
37
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
38
+ onClose?: ((result?: unknown) => any) | undefined;
39
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
40
+ sheetRef: HTMLDivElement;
41
+ footerRef: HTMLDivElement;
42
+ }, HTMLDivElement>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ //# sourceMappingURL=CoarSheetShell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoarSheetShell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/CoarSheetShell.vue"],"names":[],"mappings":"AAiUA;;;;;;GAMG;AACH,OAAO,EAAiE,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAEpG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAUjD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,yFAAyF;IACzF,IAAI,EAAE,UAAU,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,WAAW,EAAE,OAAO,CAAC;IACrB,kEAAkE;IAClE,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,SAAS,GAAG,QAAQ,CAAC;IACrC,+EAA+E;IAC/E,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,sCAAsC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC9C,CAAC;AA8FF,iBAAS,cAAc;WA2LT,OAAO,IAA6B;;yBAbpB,GAAG;wBACJ,GAAG;;;;;;;EAiB/B;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;kBASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,10 @@
1
1
  export type DialogSize = 's' | 'm' | 'l' | 'xl';
2
+ /**
3
+ * **Preview** — may still change. How a dialog is presented: `'dialog'` centered,
4
+ * `'sheet'` docked to the bottom of the visible viewport (drag handle, full-width footer
5
+ * buttons, follows the on-screen keyboard, locks page scroll while open).
6
+ */
7
+ export type DialogPresentation = 'dialog' | 'sheet';
2
8
  export interface DialogConfig {
3
9
  /** Dialog title shown in header. */
4
10
  title?: string;
@@ -10,6 +16,19 @@ export interface DialogConfig {
10
16
  closeOnEscape?: boolean;
11
17
  /** Whether to show the close (×) button. Default: true. */
12
18
  showCloseButton?: boolean;
19
+ /** **Preview** — may still change. How the dialog is presented. Default: `'dialog'`. */
20
+ presentation?: DialogPresentation;
21
+ /**
22
+ * **Preview** — may still change. Sheet only: whether dragging it down closes it.
23
+ * Default: follows `closeOnBackdropClick`.
24
+ */
25
+ dragToClose?: boolean;
26
+ /**
27
+ * **Preview** — may still change. Element the dialog belongs to: the overlay host takes
28
+ * over the local presentation of its surroundings (a `.coar-mobile` area). Defaults to
29
+ * the element of the component whose `setup()` called `useDialog()`.
30
+ */
31
+ context?: Element;
13
32
  }
14
33
  export interface ConfirmOptions {
15
34
  title: string;
@@ -19,6 +38,14 @@ export interface ConfirmOptions {
19
38
  confirmVariant?: 'primary' | 'danger';
20
39
  /** Size variant. Default: 's'. */
21
40
  size?: DialogSize;
41
+ /** **Preview** — may still change. How the dialog is presented. Default: `'dialog'`. */
42
+ presentation?: DialogPresentation;
43
+ /**
44
+ * **Preview** — may still change. Element the dialog belongs to: the overlay host takes
45
+ * over the local presentation of its surroundings (a `.coar-mobile` area). Defaults to
46
+ * the element of the component whose `setup()` called `useDialog()`.
47
+ */
48
+ context?: Element;
22
49
  }
23
50
  export interface DialogRef<T = unknown> {
24
51
  close(result?: T): void;