@cocoar/vue-ui 3.4.0-beta.8 → 4.0.0-beta.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compact-fonts.d.ts +1 -0
- package/dist/compact-fonts.d.ts.map +1 -0
- package/dist/compact-fonts.js +4 -0
- package/dist/components/_internal/keyboardInset.d.ts +9 -0
- package/dist/components/_internal/keyboardInset.d.ts.map +1 -0
- package/dist/components/_internal/pageScrollLock.d.ts +17 -0
- package/dist/components/_internal/pageScrollLock.d.ts.map +1 -0
- package/dist/components/_internal/useFocusTrap.d.ts +9 -0
- package/dist/components/_internal/useFocusTrap.d.ts.map +1 -0
- package/dist/components/_internal/useVisualViewport.d.ts +26 -0
- package/dist/components/_internal/useVisualViewport.d.ts.map +1 -0
- package/dist/components/badge/CoarBadge.vue.d.ts.map +1 -1
- package/dist/components/card/CoarCard.vue.d.ts.map +1 -1
- package/dist/components/checkbox/CoarCheckbox.vue.d.ts +2 -2
- package/dist/components/checkbox/CoarCheckbox.vue.d.ts.map +1 -1
- package/dist/components/code-block/CoarCodeBlock.vue.d.ts +1 -1
- package/dist/components/code-block/CoarCodeBlock.vue.d.ts.map +1 -1
- package/dist/components/data-list/CoarDataList.vue.d.ts.map +1 -1
- package/dist/components/date-time/_shared/use-plain-date-picker.d.ts +95 -0
- package/dist/components/date-time/_shared/use-plain-date-picker.d.ts.map +1 -0
- package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts +113 -0
- package/dist/components/date-time/_shared/use-plain-date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts +132 -0
- package/dist/components/date-time/_shared/use-zoned-date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts +23 -6
- package/dist/components/date-time/plain-date-picker/CoarPlainDatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue.d.ts +4 -0
- package/dist/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts +23 -6
- package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue.d.ts.map +1 -1
- package/dist/components/date-time/time-picker/CoarTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue.d.ts +4 -0
- package/dist/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts +23 -6
- package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts.map +1 -1
- package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue.d.ts.map +1 -1
- package/dist/components/dialog/CoarDialogFooter.vue.d.ts +20 -0
- package/dist/components/dialog/CoarDialogFooter.vue.d.ts.map +1 -0
- package/dist/components/dialog/CoarDialogShell.vue.d.ts +2 -0
- package/dist/components/dialog/CoarDialogShell.vue.d.ts.map +1 -1
- package/dist/components/dialog/CoarSheetShell.vue.d.ts +50 -0
- package/dist/components/dialog/CoarSheetShell.vue.d.ts.map +1 -0
- package/dist/components/dialog/dialog-types.d.ts +27 -0
- package/dist/components/dialog/dialog-types.d.ts.map +1 -1
- package/dist/components/dialog/dialogFooter.d.ts +21 -0
- package/dist/components/dialog/dialogFooter.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/dialog/index.d.ts.map +1 -1
- package/dist/components/dialog/useDialog.d.ts +6 -15
- package/dist/components/dialog/useDialog.d.ts.map +1 -1
- package/dist/components/dialog/useSheetDrag.d.ts +46 -0
- package/dist/components/dialog/useSheetDrag.d.ts.map +1 -0
- package/dist/components/form-field/CoarFormField.vue.d.ts +2 -2
- package/dist/components/form-field/CoarFormField.vue.d.ts.map +1 -1
- package/dist/components/form-field/constants.d.ts +6 -0
- package/dist/components/form-field/constants.d.ts.map +1 -1
- package/dist/components/icon/CoarIcon.vue.d.ts +3 -3
- package/dist/components/icon/CoarIcon.vue.d.ts.map +1 -1
- package/dist/components/icon/core-icons.d.ts +2 -0
- package/dist/components/icon/core-icons.d.ts.map +1 -1
- package/dist/components/input-frame/CoarInputFrame.vue.d.ts +17 -6
- package/dist/components/input-frame/CoarInputFrame.vue.d.ts.map +1 -1
- package/dist/components/input-frame/CoarInputFrameButton.vue.d.ts.map +1 -1
- package/dist/components/input-frame/types.d.ts +9 -0
- package/dist/components/input-frame/types.d.ts.map +1 -0
- package/dist/components/listbox/CoarListbox.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarContextMenu.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarSubExpand.vue.d.ts.map +1 -1
- package/dist/components/menu/CoarSubFlyout.vue.d.ts.map +1 -1
- package/dist/components/menu/useContextMenu.d.ts +7 -20
- package/dist/components/menu/useContextMenu.d.ts.map +1 -1
- package/dist/components/number-input/CoarNumberInput.vue.d.ts +16 -1
- package/dist/components/number-input/CoarNumberInput.vue.d.ts.map +1 -1
- package/dist/components/otp-input/CoarOtpInput.vue.d.ts +2 -2
- package/dist/components/otp-input/CoarOtpInput.vue.d.ts.map +1 -1
- package/dist/components/overlay/CoarOverlayOutlet.vue.d.ts.map +1 -1
- package/dist/components/overlay/compact-context.d.ts +10 -0
- package/dist/components/overlay/compact-context.d.ts.map +1 -0
- package/dist/components/overlay/index.d.ts +3 -1
- package/dist/components/overlay/index.d.ts.map +1 -1
- package/dist/components/overlay/overlay-presets.d.ts +9 -0
- package/dist/components/overlay/overlay-presets.d.ts.map +1 -1
- package/dist/components/overlay/overlay-service.d.ts +12 -0
- package/dist/components/overlay/overlay-service.d.ts.map +1 -1
- package/dist/components/overlay/overlay-types.d.ts +6 -0
- package/dist/components/overlay/overlay-types.d.ts.map +1 -1
- package/dist/components/overlay/useCompactPresentationContext.d.ts +33 -0
- package/dist/components/overlay/useCompactPresentationContext.d.ts.map +1 -0
- package/dist/components/pagination/CoarPagination.vue.d.ts.map +1 -1
- package/dist/components/panel-layout/internal/CoarPaneDivider.vue.d.ts.map +1 -1
- package/dist/components/password-input/CoarPasswordInput.vue.d.ts +5 -1
- package/dist/components/password-input/CoarPasswordInput.vue.d.ts.map +1 -1
- package/dist/components/scrollbar/index.d.ts +1 -1
- package/dist/components/scrollbar/index.d.ts.map +1 -1
- package/dist/components/scrollbar/vScrollbar.d.ts +9 -0
- package/dist/components/scrollbar/vScrollbar.d.ts.map +1 -1
- package/dist/components/segmented-control/CoarSegmentedControl.vue.d.ts.map +1 -1
- package/dist/components/select/CoarMultiSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarMultiSelectDropdownPanel.vue.d.ts.map +1 -1
- package/dist/components/select/CoarSelect.vue.d.ts +17 -3
- package/dist/components/select/CoarSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts +7 -4
- package/dist/components/select/CoarSelectDropdownPanel.vue.d.ts.map +1 -1
- package/dist/components/select/CoarTagSelect.vue.d.ts.map +1 -1
- package/dist/components/select/CoarTagSelectDropdownPanel.vue.d.ts.map +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.d.ts.map +1 -1
- package/dist/components/select/types.d.ts +13 -0
- package/dist/components/select/types.d.ts.map +1 -1
- package/dist/components/select/useSelectBase.d.ts +2 -1
- package/dist/components/select/useSelectBase.d.ts.map +1 -1
- package/dist/components/sidebar/CoarSidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/switch/CoarSwitch.vue.d.ts +2 -2
- package/dist/components/switch/CoarSwitch.vue.d.ts.map +1 -1
- package/dist/components/tabs/CoarTabGroup.vue.d.ts.map +1 -1
- package/dist/components/tag/CoarTag.vue.d.ts.map +1 -1
- package/dist/components/text-input/CoarTextInput.vue.d.ts +16 -2
- package/dist/components/text-input/CoarTextInput.vue.d.ts.map +1 -1
- package/dist/components/theme-editor/CoarPaletteEditor.vue.d.ts +8 -2
- package/dist/components/theme-editor/CoarPaletteEditor.vue.d.ts.map +1 -1
- package/dist/components/theme-editor/color-preview.d.ts +22 -0
- package/dist/components/theme-editor/color-preview.d.ts.map +1 -0
- package/dist/components/theme-editor/font-preview.d.ts +46 -0
- package/dist/components/theme-editor/font-preview.d.ts.map +1 -0
- package/dist/components/theme-editor/scheme-values.d.ts +12 -0
- package/dist/components/theme-editor/scheme-values.d.ts.map +1 -0
- package/dist/components/theme-editor/theme-editor-state.d.ts +199 -183
- package/dist/components/theme-editor/theme-editor-state.d.ts.map +1 -1
- package/dist/components/theme-scope/CoarThemeScope.vue.d.ts.map +1 -1
- package/dist/components/tree/CoarTreeNode.vue.d.ts.map +1 -1
- package/dist/composables/useDragDrop.d.ts.map +1 -1
- package/dist/composables/useDragImage.d.ts +2 -14
- package/dist/composables/useDragImage.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6785 -4523
- package/dist/onest-fonts.d.ts +1 -0
- package/dist/onest-fonts.d.ts.map +1 -0
- package/dist/onest-fonts.js +4 -0
- package/dist/theme/color-contrast.d.ts +10 -0
- package/dist/theme/color-contrast.d.ts.map +1 -0
- package/dist/theme/compact-packages/calendar.d.ts +8 -0
- package/dist/theme/compact-packages/calendar.d.ts.map +1 -0
- package/dist/theme/compact-packages/data-grid.d.ts +8 -0
- package/dist/theme/compact-packages/data-grid.d.ts.map +1 -0
- package/dist/theme/compact-packages/document-viewer.d.ts +8 -0
- package/dist/theme/compact-packages/document-viewer.d.ts.map +1 -0
- package/dist/theme/compact-packages/map.d.ts +11 -0
- package/dist/theme/compact-packages/map.d.ts.map +1 -0
- package/dist/theme/compact-packages/markdown-editor.d.ts +8 -0
- package/dist/theme/compact-packages/markdown-editor.d.ts.map +1 -0
- package/dist/theme/compact-packages/markdown.d.ts +14 -0
- package/dist/theme/compact-packages/markdown.d.ts.map +1 -0
- package/dist/theme/compact-packages/mermaid.d.ts +8 -0
- package/dist/theme/compact-packages/mermaid.d.ts.map +1 -0
- package/dist/theme/compact-packages/page-builder.d.ts +8 -0
- package/dist/theme/compact-packages/page-builder.d.ts.map +1 -0
- package/dist/theme/compact-packages/script-editor.d.ts +8 -0
- package/dist/theme/compact-packages/script-editor.d.ts.map +1 -0
- package/dist/theme/compact-theme.d.ts +11 -0
- package/dist/theme/compact-theme.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/calendar.d.ts +3 -0
- package/dist/theme/enterprise-packages/calendar.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/document-viewer.d.ts +3 -0
- package/dist/theme/enterprise-packages/document-viewer.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/map.d.ts +3 -0
- package/dist/theme/enterprise-packages/map.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/markdown.d.ts +7 -0
- package/dist/theme/enterprise-packages/markdown.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/mermaid.d.ts +3 -0
- package/dist/theme/enterprise-packages/mermaid.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/page-builder.d.ts +3 -0
- package/dist/theme/enterprise-packages/page-builder.d.ts.map +1 -0
- package/dist/theme/enterprise-packages/script-editor.d.ts +7 -0
- package/dist/theme/enterprise-packages/script-editor.d.ts.map +1 -0
- package/dist/theme/enterprise-theme.d.ts +8 -0
- package/dist/theme/enterprise-theme.d.ts.map +1 -0
- package/dist/theme/palette-inputs.d.ts +34 -0
- package/dist/theme/palette-inputs.d.ts.map +1 -0
- package/dist/theme/role-derived-tokens.d.ts +3 -0
- package/dist/theme/role-derived-tokens.d.ts.map +1 -0
- package/dist/theme/role-input-defaults.d.ts +5 -0
- package/dist/theme/role-input-defaults.d.ts.map +1 -0
- package/dist/theme/role-theme-contract.d.ts +8 -0
- package/dist/theme/role-theme-contract.d.ts.map +1 -0
- package/dist/theme/role-theme.d.ts +40 -0
- package/dist/theme/role-theme.d.ts.map +1 -0
- package/package.json +15 -4
- package/skills/cocoar-vue-ui/SKILL.md +8 -1
- package/skills/cocoar-vue-ui/references/components/calendar/board.md +212 -0
- package/skills/cocoar-vue-ui/references/components/calendar/coar-calendar.md +32 -1
- package/skills/cocoar-vue-ui/references/components/calendar/day-view.md +21 -0
- package/skills/cocoar-vue-ui/references/components/calendar/index.md +26 -1
- package/skills/cocoar-vue-ui/references/components/calendar/mini-month.md +59 -0
- package/skills/cocoar-vue-ui/references/components/calendar/month-view.md +48 -1
- package/skills/cocoar-vue-ui/references/components/context-menu.md +1 -0
- package/skills/cocoar-vue-ui/references/components/data-grid.md +4 -0
- package/skills/cocoar-vue-ui/references/components/date-or-time-picker.md +30 -1
- package/skills/cocoar-vue-ui/references/components/date-picker.md +32 -1
- package/skills/cocoar-vue-ui/references/components/date-time-picker.md +28 -1
- package/skills/cocoar-vue-ui/references/components/dialog.md +188 -2
- package/skills/cocoar-vue-ui/references/components/document-viewer/coar-document-viewer.md +4 -0
- package/skills/cocoar-vue-ui/references/components/form-field.md +10 -6
- package/skills/cocoar-vue-ui/references/components/listbox.md +3 -1
- package/skills/cocoar-vue-ui/references/components/map/index.md +5 -1
- package/skills/cocoar-vue-ui/references/components/markdown-editor.md +10 -0
- package/skills/cocoar-vue-ui/references/components/markdown-form.md +9 -0
- package/skills/cocoar-vue-ui/references/components/markdown.md +10 -0
- package/skills/cocoar-vue-ui/references/components/menu.md +1 -1
- package/skills/cocoar-vue-ui/references/components/mermaid.md +11 -0
- package/skills/cocoar-vue-ui/references/components/number-input.md +81 -0
- package/skills/cocoar-vue-ui/references/components/object-editor.md +738 -0
- package/skills/cocoar-vue-ui/references/components/otp-input.md +1 -1
- package/skills/cocoar-vue-ui/references/components/pagination.md +1 -1
- package/skills/cocoar-vue-ui/references/components/password-input.md +32 -0
- package/skills/cocoar-vue-ui/references/components/script-editor.md +10 -0
- package/skills/cocoar-vue-ui/references/components/segmented-control.md +1 -1
- package/skills/cocoar-vue-ui/references/components/select.md +136 -2
- package/skills/cocoar-vue-ui/references/components/tabs.md +1 -1
- package/skills/cocoar-vue-ui/references/components/tag.md +1 -1
- package/skills/cocoar-vue-ui/references/components/text-input.md +189 -0
- package/skills/cocoar-vue-ui/references/components/zoned-date-time-picker.md +42 -1
- package/skills/cocoar-vue-ui/references/foundations/colors.md +32 -3
- package/skills/cocoar-vue-ui/references/foundations/compact-presentation.md +248 -0
- package/skills/cocoar-vue-ui/references/foundations/theming.md +98 -11
- package/skills/cocoar-vue-ui/references/foundations/typography.md +3 -0
- package/skills/cocoar-vue-ui/references/guide/getting-started.md +2 -2
- package/skills/cocoar-vue-ui/references/guide/migration-color-roles.md +28 -0
- package/skills/cocoar-vue-ui/references/guide/migration-object-editor-values.md +40 -0
- package/skills/cocoar-vue-ui/references/guide/mobile.md +126 -27
- package/skills/cocoar-vue-ui/references/guide/theming.md +25 -0
- package/styles/tokens/all.css +6 -0
- package/styles/tokens/code-block.css +2 -2
- package/styles/tokens/colors-primitives-dark.css +50 -50
- package/styles/tokens/colors-primitives-light.css +50 -50
- package/styles/tokens/colors-usage.css +132 -111
- package/styles/tokens/compact.css +4442 -0
- package/styles/tokens/components-shared.css +4 -4
- package/styles/tokens/derived.css +525 -0
- package/styles/tokens/menu.css +21 -21
- package/styles/tokens/mobile.css +2 -0
- package/styles/tokens/new-components.css +42 -33
- package/styles/tokens/select-overlay.css +12 -12
- package/styles/tokens/sidebar.css +12 -12
- package/styles/tokens/theme-none.css +99 -93
- package/styles/tokens/tooltip.css +4 -4
- package/styles/tokens/typography.css +19 -19
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarPlainDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-picker/CoarPlainDatePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarPlainDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-picker/CoarPlainDatePicker.vue"],"names":[],"mappings":"AA8eA,OAAO,EAGL,QAAQ,EAOT,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAOnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIzE,MAAM,MAAM,uBAAuB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE7D,KAAK,WAAW,GAAG;IACf,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,uEAAuE;IACvE,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,qEAAqE;IACrE,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sDAAsD;IACtD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oCAAoC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,6BAA6B;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,mBAAmB;IACnB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,sBAAsB;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,8BAA8B;IAC9B,GAAG,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,8BAA8B;IAC9B,GAAG,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChC,2BAA2B;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AA6OJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;CACtC,GAAG,WAAW,CAAC;;;;;;;;;;WAtQJ,OAAO;gBAdF,mBAAmB;WAExB,cAAc;QAcjB,MAAM;UAlBJ,uBAAuB;cAUnB,OAAO;cAJP,OAAO;iBARJ,MAAM;SAsCd,QAAQ,CAAC,SAAS,GAAG,IAAI;cA5BpB,OAAO;eAYN,OAAO;SAcb,QAAQ,CAAC,SAAS,GAAG,IAAI;YAJtB,MAAM;qBANG,OAAO;uBAEL,OAAO;aAEjB,cAAc,EAAE;0BAUH,OAAO;mBAhBd,OAAO;gBAUV,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA0QO,GAAG,8CACC,GAAG,yBACvB,GAAG,6DACrB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiMT,wBAUG"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
import { CoarInputAppearance } from '../../input-frame/types';
|
|
2
3
|
export type CoarPlainDateTimeOrDatePickerSize = 'xs' | 's' | 'm' | 'l';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
placeholder?: string;
|
|
5
6
|
size?: CoarPlainDateTimeOrDatePickerSize;
|
|
7
|
+
/** `inline`: no border or surface until hovered or edited (Preview) */
|
|
8
|
+
appearance?: CoarInputAppearance;
|
|
6
9
|
disabled?: boolean;
|
|
7
10
|
readonly?: boolean;
|
|
8
11
|
required?: boolean;
|
|
@@ -36,6 +39,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
36
39
|
"onUpdate:withTime"?: ((value: boolean) => any) | undefined;
|
|
37
40
|
}>, {
|
|
38
41
|
error: boolean;
|
|
42
|
+
appearance: CoarInputAppearance;
|
|
39
43
|
size: CoarPlainDateTimeOrDatePickerSize;
|
|
40
44
|
required: boolean;
|
|
41
45
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarPlainDateTimeOrDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarPlainDateTimeOrDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-time-or-date-picker/CoarPlainDateTimeOrDatePicker.vue"],"names":[],"mappings":"AAwKA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,6BAA6B,CAAC;AAErC,MAAM,MAAM,iCAAiC,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEvE,KAAK,WAAW,GAAG;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,iCAAiC,CAAC;IACzC,uEAAuE;IACvE,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mFAAmF;IACnF,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IACpC,GAAG,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7B,gDAAgD;IAChD,cAAc,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACjC,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAyEJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;;;;WAzFJ,OAAO;gBAJF,mBAAmB;UAFzB,iCAAiC;cAK7B,OAAO;cAFP,OAAO;iBAJJ,MAAM;SAYd,QAAQ,CAAC,aAAa,GAAG,IAAI;cAPxB,OAAO;eAGN,OAAO;SAGb,QAAQ,CAAC,aAAa,GAAG,IAAI;YAF1B,MAAM;gBAIF,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE;oBAEX,OAAO,GAAG,KAAK;kBAEjB,MAAM;qBAEH,MAAM;;AA2R5B,wBASG"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
2
|
import { Temporal } from '@js-temporal/polyfill';
|
|
3
|
+
import { CoarInputAppearance, CoarInputWidth } from '../../input-frame/types';
|
|
3
4
|
import { DateFormatConfig, CoarDateMarker, CoarTimeValue } from '../_shared/types';
|
|
4
5
|
export type CoarPlainDateTimePickerSize = 'xs' | 's' | 'm' | 'l';
|
|
5
6
|
type __VLS_Props = {
|
|
6
7
|
placeholder?: string;
|
|
7
8
|
size?: CoarPlainDateTimePickerSize;
|
|
9
|
+
/** `inline`: no border or surface until hovered or edited (Preview) */
|
|
10
|
+
appearance?: CoarInputAppearance;
|
|
11
|
+
/** `content`: as wide as the shown value or placeholder (Preview) */
|
|
12
|
+
width?: CoarInputWidth;
|
|
8
13
|
disabled?: boolean;
|
|
9
14
|
readonly?: boolean;
|
|
10
15
|
required?: boolean;
|
|
@@ -46,6 +51,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
46
51
|
onOpened?: (() => any) | undefined;
|
|
47
52
|
}>, {
|
|
48
53
|
error: boolean;
|
|
54
|
+
appearance: CoarInputAppearance;
|
|
55
|
+
width: CoarInputWidth;
|
|
49
56
|
id: string;
|
|
50
57
|
size: CoarPlainDateTimePickerSize;
|
|
51
58
|
required: boolean;
|
|
@@ -75,8 +82,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
75
82
|
readonly readonly?: boolean | undefined;
|
|
76
83
|
readonly mobileSizing?: boolean | undefined;
|
|
77
84
|
readonly active?: boolean | undefined;
|
|
78
|
-
readonly
|
|
85
|
+
readonly appearance?: CoarInputAppearance | undefined;
|
|
79
86
|
readonly multiline?: boolean | undefined;
|
|
87
|
+
readonly segmentStart?: boolean | undefined;
|
|
88
|
+
readonly segmentEnd?: boolean | undefined;
|
|
80
89
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
81
90
|
$attrs: import('vue').Attrs;
|
|
82
91
|
$refs: {
|
|
@@ -97,17 +106,21 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
97
106
|
readonly?: boolean;
|
|
98
107
|
mobileSizing?: boolean;
|
|
99
108
|
active?: boolean;
|
|
100
|
-
|
|
109
|
+
appearance?: CoarInputAppearance;
|
|
101
110
|
multiline?: boolean;
|
|
111
|
+
segmentStart?: boolean;
|
|
112
|
+
segmentEnd?: boolean;
|
|
102
113
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
103
114
|
error: boolean;
|
|
115
|
+
appearance: CoarInputAppearance;
|
|
104
116
|
size: "xs" | "s" | "m" | "l";
|
|
105
117
|
disabled: boolean;
|
|
106
|
-
borderless: boolean;
|
|
107
118
|
readonly: boolean;
|
|
108
119
|
mobileSizing: boolean;
|
|
109
120
|
active: boolean;
|
|
110
121
|
multiline: boolean;
|
|
122
|
+
segmentStart: boolean;
|
|
123
|
+
segmentEnd: boolean;
|
|
111
124
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
112
125
|
beforeCreate?: (() => void) | (() => void)[];
|
|
113
126
|
created?: (() => void) | (() => void)[];
|
|
@@ -130,13 +143,15 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
130
143
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
131
144
|
} & Readonly<{
|
|
132
145
|
error: boolean;
|
|
146
|
+
appearance: CoarInputAppearance;
|
|
133
147
|
size: "xs" | "s" | "m" | "l";
|
|
134
148
|
disabled: boolean;
|
|
135
|
-
borderless: boolean;
|
|
136
149
|
readonly: boolean;
|
|
137
150
|
mobileSizing: boolean;
|
|
138
151
|
active: boolean;
|
|
139
152
|
multiline: boolean;
|
|
153
|
+
segmentStart: boolean;
|
|
154
|
+
segmentEnd: boolean;
|
|
140
155
|
}> & Omit<Readonly<{
|
|
141
156
|
size?: "xs" | "s" | "m" | "l";
|
|
142
157
|
error?: boolean;
|
|
@@ -144,9 +159,11 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
144
159
|
readonly?: boolean;
|
|
145
160
|
mobileSizing?: boolean;
|
|
146
161
|
active?: boolean;
|
|
147
|
-
|
|
162
|
+
appearance?: CoarInputAppearance;
|
|
148
163
|
multiline?: boolean;
|
|
149
|
-
|
|
164
|
+
segmentStart?: boolean;
|
|
165
|
+
segmentEnd?: boolean;
|
|
166
|
+
}> & Readonly<{}>, "error" | "appearance" | "size" | "disabled" | "readonly" | "mobileSizing" | "active" | "multiline" | "segmentStart" | "segmentEnd"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
150
167
|
$slots: {
|
|
151
168
|
leading?(_: {}): any;
|
|
152
169
|
default?(_: {}): any;
|
package/dist/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarPlainDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarPlainDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/plain-date-time-picker/CoarPlainDateTimePicker.vue"],"names":[],"mappings":"AAgjBA,OAAO,EAAoB,QAAQ,EAA6D,MAAM,KAAK,CAAC;AAE5G,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAOnF,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,uEAAuE;IACvE,UAA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Ob,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8UlB,GACZ,8CAEQ,GAAG,yBACM,GAAG,6DAChB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+NR,wBAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarScrollableCalendar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarScrollableCalendar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue"],"names":[],"mappings":"AAqlCA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAUzE,iDAAiD;AACjD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC;IAClC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,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ts","sourceRoot":"","sources":["../../../../src/components/date-time/time-picker/CoarTimePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/time-picker/CoarTimePicker.vue"],"names":[],"mappings":"AAiqBA,OAAO,KAAK,EAAkB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAUtE,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAExD,KAAK,WAAW,GAAG;IACf,mBAAmB;IACnB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,yCAAyC;IACzC,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,2BAA2B;IAC3B,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA+QJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC,GAAG,WAAW,CAAC;;;;;;UAlSL,kBAAkB;cAMd,OAAO;eAUN,MAAM;cARP,OAAO;YAET,MAAM;eARH,OAAO,GAAG,MAAM;gBAEf,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE;aAQlB,aAAa,GAAG,IAAI;aAEpB,aAAa,GAAG,IAAI;;AAmhBlC,wBASG"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
import { CoarInputAppearance } from '../../input-frame/types';
|
|
2
3
|
export type CoarZonedDateTimeOrDatePickerSize = 'xs' | 's' | 'm' | 'l';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
placeholder?: string;
|
|
5
6
|
size?: CoarZonedDateTimeOrDatePickerSize;
|
|
7
|
+
/** `inline`: no border or surface until hovered or edited (Preview) */
|
|
8
|
+
appearance?: CoarInputAppearance;
|
|
6
9
|
disabled?: boolean;
|
|
7
10
|
readonly?: boolean;
|
|
8
11
|
required?: boolean;
|
|
@@ -39,6 +42,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
39
42
|
"onUpdate:withTime"?: ((value: boolean) => any) | undefined;
|
|
40
43
|
}>, {
|
|
41
44
|
error: boolean;
|
|
45
|
+
appearance: CoarInputAppearance;
|
|
42
46
|
size: CoarZonedDateTimeOrDatePickerSize;
|
|
43
47
|
required: boolean;
|
|
44
48
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarZonedDateTimeOrDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarZonedDateTimeOrDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue"],"names":[],"mappings":"AAmLA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,6BAA6B,CAAC;AAErC,MAAM,MAAM,iCAAiC,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEvE,KAAK,WAAW,GAAG;IACf,WAAW,CAAC,EAAE,M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AAG,EAAE,GAAG,EAAE;cAEjB,MAAM,GAAG,IAAI;oBACP,MAAM,EAAE;oBAER,OAAO,GAAG,KAAK;kBAEjB,MAAM;qBAEH,MAAM;;AAuS5B,wBASG"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { nextTick } from 'vue';
|
|
2
2
|
import { Temporal } from '@js-temporal/polyfill';
|
|
3
|
+
import { CoarInputAppearance, CoarInputWidth } from '../../input-frame/types';
|
|
3
4
|
import { DateFormatConfig, CoarDateMarker, CoarTimeValue } from '../_shared/types';
|
|
4
5
|
export type CoarZonedDateTimePickerSize = 'xs' | 's' | 'm' | 'l';
|
|
5
6
|
type __VLS_Props = {
|
|
6
7
|
placeholder?: string;
|
|
7
8
|
size?: CoarZonedDateTimePickerSize;
|
|
9
|
+
/** `inline`: no border or surface until hovered or edited (Preview) */
|
|
10
|
+
appearance?: CoarInputAppearance;
|
|
11
|
+
/** `content`: as wide as the shown value and its zone caption (Preview) */
|
|
12
|
+
width?: CoarInputWidth;
|
|
8
13
|
disabled?: boolean;
|
|
9
14
|
readonly?: boolean;
|
|
10
15
|
required?: boolean;
|
|
@@ -50,6 +55,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
50
55
|
onOpened?: (() => any) | undefined;
|
|
51
56
|
}>, {
|
|
52
57
|
error: boolean;
|
|
58
|
+
appearance: CoarInputAppearance;
|
|
59
|
+
width: CoarInputWidth;
|
|
53
60
|
id: string;
|
|
54
61
|
size: CoarZonedDateTimePickerSize;
|
|
55
62
|
required: boolean;
|
|
@@ -81,8 +88,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
81
88
|
readonly readonly?: boolean | undefined;
|
|
82
89
|
readonly mobileSizing?: boolean | undefined;
|
|
83
90
|
readonly active?: boolean | undefined;
|
|
84
|
-
readonly
|
|
91
|
+
readonly appearance?: CoarInputAppearance | undefined;
|
|
85
92
|
readonly multiline?: boolean | undefined;
|
|
93
|
+
readonly segmentStart?: boolean | undefined;
|
|
94
|
+
readonly segmentEnd?: boolean | undefined;
|
|
86
95
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
87
96
|
$attrs: import('vue').Attrs;
|
|
88
97
|
$refs: {
|
|
@@ -103,17 +112,21 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
103
112
|
readonly?: boolean;
|
|
104
113
|
mobileSizing?: boolean;
|
|
105
114
|
active?: boolean;
|
|
106
|
-
|
|
115
|
+
appearance?: CoarInputAppearance;
|
|
107
116
|
multiline?: boolean;
|
|
117
|
+
segmentStart?: boolean;
|
|
118
|
+
segmentEnd?: boolean;
|
|
108
119
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
109
120
|
error: boolean;
|
|
121
|
+
appearance: CoarInputAppearance;
|
|
110
122
|
size: "xs" | "s" | "m" | "l";
|
|
111
123
|
disabled: boolean;
|
|
112
|
-
borderless: boolean;
|
|
113
124
|
readonly: boolean;
|
|
114
125
|
mobileSizing: boolean;
|
|
115
126
|
active: boolean;
|
|
116
127
|
multiline: boolean;
|
|
128
|
+
segmentStart: boolean;
|
|
129
|
+
segmentEnd: boolean;
|
|
117
130
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
118
131
|
beforeCreate?: (() => void) | (() => void)[];
|
|
119
132
|
created?: (() => void) | (() => void)[];
|
|
@@ -136,13 +149,15 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
136
149
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
137
150
|
} & Readonly<{
|
|
138
151
|
error: boolean;
|
|
152
|
+
appearance: CoarInputAppearance;
|
|
139
153
|
size: "xs" | "s" | "m" | "l";
|
|
140
154
|
disabled: boolean;
|
|
141
|
-
borderless: boolean;
|
|
142
155
|
readonly: boolean;
|
|
143
156
|
mobileSizing: boolean;
|
|
144
157
|
active: boolean;
|
|
145
158
|
multiline: boolean;
|
|
159
|
+
segmentStart: boolean;
|
|
160
|
+
segmentEnd: boolean;
|
|
146
161
|
}> & Omit<Readonly<{
|
|
147
162
|
size?: "xs" | "s" | "m" | "l";
|
|
148
163
|
error?: boolean;
|
|
@@ -150,9 +165,11 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
150
165
|
readonly?: boolean;
|
|
151
166
|
mobileSizing?: boolean;
|
|
152
167
|
active?: boolean;
|
|
153
|
-
|
|
168
|
+
appearance?: CoarInputAppearance;
|
|
154
169
|
multiline?: boolean;
|
|
155
|
-
|
|
170
|
+
segmentStart?: boolean;
|
|
171
|
+
segmentEnd?: boolean;
|
|
172
|
+
}> & Readonly<{}>, "error" | "appearance" | "size" | "disabled" | "readonly" | "mobileSizing" | "active" | "multiline" | "segmentStart" | "segmentEnd"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
156
173
|
$slots: {
|
|
157
174
|
leading?(_: {}): any;
|
|
158
175
|
default?(_: {}): any;
|
package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarZonedDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoarZonedDateTimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePicker.vue"],"names":[],"mappings":"AA0pBA,OAAO,EAAoB,QAAQ,EAA6D,MAAM,KAAK,CAAC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AE,CAAC;IAC7B,+DAA+D;IAC/D,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAoSJ,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;CAC1C,GAAG,WAAW,CAAC;;;;;;;;;;WA9TJ,OAAO;gBAVF,mBAAmB;WAExB,cAAc;QAUjB,MAAM;UAdJ,2BAA2B;cAOvB,OAAO;cAFP,OAAO;iBANJ,MAAM;SAyBd,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;cAGhB,MAAM,GAAG,IAAI;oBAEP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCARd,GAAE,8CAEX,GAAG,yBAAyB,GAAG,6DACjC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwjBP,wBAUG"}
|
package/dist/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoarZonedDateTimePickerPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":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Q,CAAC,SAAS,KAAK,IAAI,CAAC;IACnD,oBAAoB,EAAE,CAAC,EAAE,EAAE,QAAQ,CAAC,cAAc,KAAK,IAAI,CAAC;IAC5D,aAAa,EAAE,CAAC,EAAE,EAAE,QAAQ,CAAC,cAAc,KAAK,IAAI,CAAC;IACrD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,aAAa,EAAE,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,uBAAuB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;;;;;AA+jBF,wBAQG"}
|
|
@@ -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":"
|
|
1
|
+
{"version":3,"file":"CoarDialogShell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/CoarDialogShell.vue"],"names":[],"mappings":"AAwNA,OAAO,EAAiB,KAAK,SAAS,EAAK,MAAM,KAAK,CAAC;AAEvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAOjD,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,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;AAmCF,iBAAS,cAAc;WAoKT,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":"AAqZA;;;;;;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;AA0IF,iBAAS,cAAc;WAuMT,OAAO,IAA6B;;yBAbpB,GAAG;wBACJ,GAAG;;;;;;;EAiB/B;AA0BD,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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-types.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEhD,MAAM,WAAW,YAAY;IAC3B,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,sEAAsE;IACtE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gEAAgE;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2DAA2D;IAC3D,eAAe,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"dialog-types.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEhD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,sEAAsE;IACtE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gEAAgE;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2DAA2D;IAC3D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wFAAwF;IACxF,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IACtC,kCAAkC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,wFAAwF;IACxF,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,OAAO;IACpC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
2
|
+
/** What a dialog or sheet shell offers `CoarDialogFooter`: the element of its fixed footer. */
|
|
3
|
+
export interface DialogFooterTarget {
|
|
4
|
+
/** The footer element, once the shell has rendered it. */
|
|
5
|
+
readonly element: Readonly<Ref<HTMLElement | null>>;
|
|
6
|
+
/** Called by each `CoarDialogFooter` on setup; the returned function unregisters it. */
|
|
7
|
+
register(): () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const DIALOG_FOOTER_KEY: InjectionKey<DialogFooterTarget>;
|
|
10
|
+
/**
|
|
11
|
+
* Used by the shells: provides the footer target to the body. `element` is the ref the shell
|
|
12
|
+
* binds to its footer element; `used` is true while a `CoarDialogFooter` is mounted, so the
|
|
13
|
+
* shell renders its footer element only then (unused, the DOM stays as it was).
|
|
14
|
+
*/
|
|
15
|
+
export declare function provideDialogFooter(): {
|
|
16
|
+
element: Ref<HTMLElement | null>;
|
|
17
|
+
used: ComputedRef<boolean>;
|
|
18
|
+
};
|
|
19
|
+
/** Used by `CoarDialogFooter`: the footer target of the enclosing shell, if any. */
|
|
20
|
+
export declare function injectDialogFooter(): DialogFooterTarget | null;
|
|
21
|
+
//# sourceMappingURL=dialogFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialogFooter.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialogFooter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAEpG,+FAA+F;AAC/F,MAAM,WAAW,kBAAkB;IACjC,0DAA0D;IAC1D,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;IACpD,wFAAwF;IACxF,QAAQ,IAAI,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,kBAAkB,CAAgC,CAAC;AAEhG;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI;IAAE,OAAO,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CAAE,CAgBtG;AAED,oFAAoF;AACpF,wBAAgB,kBAAkB,IAAI,kBAAkB,GAAG,IAAI,CAE9D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as CoarDialogShell } from './CoarDialogShell.vue';
|
|
2
2
|
export { useDialog } from './useDialog';
|
|
3
|
-
export
|
|
3
|
+
export { default as CoarDialogFooter } from './CoarDialogFooter.vue';
|
|
4
|
+
export type { DialogConfig, DialogRef, DialogSize, DialogPresentation, ConfirmOptions } from './dialog-types';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
2
|
import { DialogConfig, DialogRef, ConfirmOptions } from './dialog-types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Dialogs opened from a component: called in `setup()`, it remembers the component and
|
|
5
|
+
* opens each dialog with that component's element as `context`, unless one is given.
|
|
6
|
+
* Outside `setup()` the dialogs have no context.
|
|
6
7
|
*/
|
|
7
|
-
declare function open<T = unknown>(body: Component, config?: DialogConfig, bodyProps?: Record<string, unknown>): DialogRef<T>;
|
|
8
|
-
/**
|
|
9
|
-
* Show a simple confirm dialog that resolves to true (confirm) or false/undefined (cancel/dismiss).
|
|
10
|
-
*/
|
|
11
|
-
declare function confirm(options: ConfirmOptions): DialogRef<boolean>;
|
|
12
|
-
/**
|
|
13
|
-
* Show a simple alert/info dialog with only a close button.
|
|
14
|
-
*/
|
|
15
|
-
declare function alert(title: string, message: string): DialogRef<void>;
|
|
16
8
|
export declare function useDialog(): {
|
|
17
|
-
open:
|
|
18
|
-
confirm:
|
|
19
|
-
alert:
|
|
9
|
+
open<T = unknown>(body: Component, config?: DialogConfig, bodyProps?: Record<string, unknown>): DialogRef<T>;
|
|
10
|
+
confirm(options: ConfirmOptions): DialogRef<boolean>;
|
|
11
|
+
alert(title: string, message: string, config?: Pick<DialogConfig, "context" | "presentation">): DialogRef<void>;
|
|
20
12
|
};
|
|
21
|
-
export {};
|
|
22
13
|
//# sourceMappingURL=useDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/useDialog.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/useDialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAkC,MAAM,KAAK,CAAC;AAGlG,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,cAAc,EAAkC,MAAM,gBAAgB,CAAC;AAwM9G;;;;GAIG;AACH,wBAAgB,SAAS;SAGhB,CAAC,kBACE,SAAS,WACP,YAAY,cACR,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAClC,SAAS,CAAC,CAAC,CAAC;qBAIE,cAAc,GAAG,SAAS,CAAC,OAAO,CAAC;iBAI3C,MAAM,WACJ,MAAM,WACP,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,cAAc,CAAC,GACrD,SAAS,CAAC,IAAI,CAAC;EAOrB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** A sheet dragged down by more than this share of its height closes on release. */
|
|
2
|
+
export declare const SHEET_CLOSE_DISTANCE_RATIO = 0.3;
|
|
3
|
+
/** A sheet released moving down at least this fast (px/ms) closes, however short the drag. */
|
|
4
|
+
export declare const SHEET_CLOSE_VELOCITY = 0.5;
|
|
5
|
+
export interface DragSample {
|
|
6
|
+
readonly y: number;
|
|
7
|
+
readonly time: number;
|
|
8
|
+
}
|
|
9
|
+
/** Downward velocity in px/ms of the last `VELOCITY_WINDOW_MS` before `samples` end. */
|
|
10
|
+
export declare function releaseVelocity(samples: readonly DragSample[]): number;
|
|
11
|
+
/**
|
|
12
|
+
* Whether a released drag closes the sheet: dragged down by more than 30 % of its height,
|
|
13
|
+
* or released with a downward flick. Otherwise it springs back.
|
|
14
|
+
*/
|
|
15
|
+
export declare function shouldCloseSheet(drag: {
|
|
16
|
+
distance: number;
|
|
17
|
+
height: number;
|
|
18
|
+
velocity: number;
|
|
19
|
+
}): boolean;
|
|
20
|
+
export interface SheetDragOptions {
|
|
21
|
+
/** Read on each pointerdown: whether dragging is allowed. */
|
|
22
|
+
enabled: () => boolean;
|
|
23
|
+
/** Height of the sheet in px, read on release. */
|
|
24
|
+
sheetHeight: () => number;
|
|
25
|
+
/** Called when a released drag closes the sheet. */
|
|
26
|
+
onClose: () => void;
|
|
27
|
+
/** Clock in ms. Default: `performance.now()`. */
|
|
28
|
+
now?: () => number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Drag-to-close of a sheet with pointer events (finger, pen, mouse) and pointer capture.
|
|
32
|
+
* Bind `handlers` to the elements that may start a drag (handle and header: they never
|
|
33
|
+
* scroll, so there is no conflict with scrolling the content). `offset` is the current
|
|
34
|
+
* downward displacement in px; `dragging` is true while a pointer drags.
|
|
35
|
+
*/
|
|
36
|
+
export declare function useSheetDrag(options: SheetDragOptions): {
|
|
37
|
+
offset: import('vue').Ref<number, number>;
|
|
38
|
+
dragging: import('vue').Ref<boolean, boolean>;
|
|
39
|
+
handlers: {
|
|
40
|
+
onPointerdown: (event: PointerEvent) => void;
|
|
41
|
+
onPointermove: (event: PointerEvent) => void;
|
|
42
|
+
onPointerup: (event: PointerEvent) => void;
|
|
43
|
+
onPointercancel: (event: PointerEvent) => void;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=useSheetDrag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSheetDrag.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/useSheetDrag.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAIxC,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,OAAO,EAAE,SAAS,UAAU,EAAE,GAAG,MAAM,CAMtE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAItG;AAED,MAAM,WAAW,gBAAgB;IAC/B,6DAA6D;IAC7D,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,kDAAkD;IAClD,WAAW,EAAE,MAAM,MAAM,CAAC;IAC1B,oDAAoD;IACpD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iDAAiD;IACjD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;CACpB;AAKD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,gBAAgB;;;;+BAsBtB,YAAY;+BAeZ,YAAY;6BASd,YAAY;iCAiBR,YAAY;;EAW7C"}
|
|
@@ -119,9 +119,9 @@ declare function __VLS_template(): {
|
|
|
119
119
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
120
120
|
declare const __VLS_component: import('vue').DefineComponent<CoarFormFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CoarFormFieldProps> & Readonly<{}>, {
|
|
121
121
|
error: string | readonly string[];
|
|
122
|
-
id: string;
|
|
123
|
-
label: string;
|
|
124
122
|
warning: string | readonly string[];
|
|
123
|
+
label: string;
|
|
124
|
+
id: string;
|
|
125
125
|
required: boolean;
|
|
126
126
|
disabled: boolean;
|
|
127
127
|
hint: string;
|