@vueland/ui 0.0.1 → 0.0.3
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/LICENSE +21 -0
- package/README.md +147 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/components/CApp/CApp.js +4 -5
- package/dist/components/CAutocomplete/CAutocomplete.js +200 -91
- package/dist/components/CBtn/CBtn.js +26 -27
- package/dist/components/CCheckbox/CCheckbox.js +40 -58
- package/dist/components/CCheckbox/CheckboxElement.js +96 -0
- package/dist/components/CCheckbox/index2.js +5 -0
- package/dist/components/CChip/CChip.js +13 -0
- package/dist/components/CDateInput/CDateInput.js +245 -0
- package/dist/components/CDateInput/index.js +5 -0
- package/dist/components/CDatePicker/CDatePicker.js +324 -0
- package/dist/components/CDatePicker/CDatePickerDates.js +300 -0
- package/dist/components/CDatePicker/CDatePickerHeader.js +62 -0
- package/dist/components/CDatePicker/CDatePickerMonths.js +114 -0
- package/dist/components/CDatePicker/CDatePickerYears.js +143 -0
- package/dist/components/CDatePicker/helpers.js +17 -0
- package/dist/components/CDatePicker/index.js +14 -0
- package/dist/components/CDatePicker/index2.js +5 -0
- package/dist/components/CDatePicker/index3.js +5 -0
- package/dist/components/CDatePicker/index4.js +5 -0
- package/dist/components/CDatePicker/index5.js +5 -0
- package/dist/components/CDatePicker/index6.js +5 -0
- package/dist/components/CDatePicker/locales/en.json.js +44 -0
- package/dist/components/CDatePicker/locales/index.js +9 -0
- package/dist/components/CDatePicker/locales/ru.json.js +44 -0
- package/dist/components/CDatePicker/utils.js +20 -0
- package/dist/components/CDialog/CDialog.js +2 -4
- package/dist/components/CField/CField.js +160 -28
- package/dist/components/CForm/CForm.js +38 -22
- package/dist/components/CGrid/CCol.js +1 -3
- package/dist/components/CGrid/CRow.js +5 -7
- package/dist/components/CIcon/CIcon.js +3 -3
- package/dist/components/CInput/CInput.js +119 -109
- package/dist/components/CList/CList.js +106 -34
- package/dist/components/CList/CListItem.js +44 -14
- package/dist/components/CMenu/CMenu.js +54 -55
- package/dist/components/COverlay/COverlay.js +6 -5
- package/dist/components/CRadio/CRadio.js +11 -5
- package/dist/components/CRadio/CRadioGroup.js +10 -0
- package/dist/components/CSelect/CSelect.js +180 -71
- package/dist/components/CSelectControl/CSelectControl.js +14 -2
- package/dist/components/CTextField/CTextField.js +79 -52
- package/dist/components/CTextField/index.js +2 -2
- package/dist/components/CTextField/index2.js +5 -0
- package/dist/components/CToolbar/CToolbar.js +1 -3
- package/dist/components/CTooltip/CTooltip.js +13 -11
- package/dist/components/CTooltip/index.js +2 -2
- package/dist/components/CTooltip/index2.js +5 -0
- package/dist/components/global-components.d.ts +44 -0
- package/dist/components/index.d.ts +841 -504
- package/dist/components/index.js +11 -7
- package/dist/composables/index.d.ts +384 -235
- package/dist/composables/index.js +22 -14
- package/dist/composables/use-activator.js +15 -25
- package/dist/composables/{use-app-scroll.js → use-application-scroll.js} +4 -8
- package/dist/composables/use-aria-activator.js +15 -0
- package/dist/composables/use-aria-dialog.js +16 -0
- package/dist/composables/use-aria-field.js +18 -0
- package/dist/composables/use-aria-listbox.js +14 -0
- package/dist/composables/use-aria-toggle.js +15 -0
- package/dist/composables/use-auto-position.js +206 -118
- package/dist/composables/use-autocomplete.js +21 -19
- package/dist/composables/use-breakpoints.js +8 -0
- package/dist/composables/use-button-presets.js +3 -7
- package/dist/composables/use-delay-actions.js +8 -2
- package/dist/composables/use-display.js +26 -18
- package/dist/composables/use-field-presets.js +82 -0
- package/dist/composables/use-icon.js +106 -34
- package/dist/composables/use-id.js +9 -0
- package/dist/composables/use-input-presets.js +88 -19
- package/dist/composables/use-keyboard.js +52 -0
- package/dist/composables/use-list.js +8 -0
- package/dist/composables/use-menu.js +8 -0
- package/dist/composables/use-normalized-items.js +22 -0
- package/dist/composables/use-overlay-stack.js +4 -1
- package/dist/composables/use-presets.js +2 -2
- package/dist/composables/use-select-control.js +8 -0
- package/dist/composables/use-selected-chips.js +40 -0
- package/dist/composables/use-validate.js +32 -24
- package/dist/constants/aria.js +32 -0
- package/dist/constants/attrs.js +21 -0
- package/dist/constants/icons.js +55 -8
- package/dist/constants/index.d.ts +187 -53
- package/dist/constants/index.js +3 -1
- package/dist/constants/provide-keys.js +2 -1
- package/dist/css/lib.css +1 -0
- package/dist/css/utils/_borders.css +1 -0
- package/dist/css/utils/_borders.js +3 -0
- package/dist/css/utils/_display.css +1 -1
- package/dist/css/utils/_flex.css +1 -1
- package/dist/css/utils/_grid.css +1 -0
- package/dist/css/utils/_grid.js +3 -0
- package/dist/css/utils/_helpers.css +1 -1
- package/dist/css/utils/_positions.css +1 -1
- package/dist/css/utils/_radius.css +1 -1
- package/dist/css/utils/_sizing.css +1 -1
- package/dist/css/utils/_spaces.css +1 -1
- package/dist/css/utils/_text.css +1 -1
- package/dist/css/utils/_transitions.css +1 -1
- package/dist/css/utils/_typography.css +1 -1
- package/dist/enums/IconName.js +13 -0
- package/dist/enums/index.d.ts +15 -2
- package/dist/helpers/preset.js +11 -0
- package/dist/helpers/theme.js +41 -0
- package/dist/library.js +31 -9
- package/dist/resolvers/font-awesome.js +30 -0
- package/dist/resolvers/index.d.ts +48 -0
- package/dist/resolvers/index.js +1 -0
- package/dist/scss/lib.scss +26 -0
- package/dist/scss/maps/colors-map.scss +342 -0
- package/dist/scss/maps/elevations-map.scss +88 -0
- package/dist/scss/maps/flexes-map.scss +24 -0
- package/dist/scss/maps/grids.scss +23 -0
- package/dist/scss/modules/_global-vars.scss +88 -0
- package/dist/scss/ress.scss +281 -0
- package/dist/scss/styles.scss +20 -0
- package/dist/scss/utils/_borders.scss +28 -0
- package/dist/scss/utils/_colors.scss +86 -0
- package/dist/scss/utils/_cursor.scss +140 -0
- package/dist/scss/utils/_display.scss +32 -0
- package/dist/scss/utils/_elevations.scss +15 -0
- package/dist/scss/utils/_flex.scss +137 -0
- package/dist/scss/utils/_grid.scss +173 -0
- package/dist/scss/utils/_helpers.scss +47 -0
- package/dist/scss/utils/_opacity.scss +13 -0
- package/dist/scss/utils/_overflow.scss +51 -0
- package/dist/scss/utils/_positions.scss +42 -0
- package/dist/scss/utils/_radius.scss +41 -0
- package/dist/scss/utils/_sizing.scss +40 -0
- package/dist/scss/utils/_spaces.scss +164 -0
- package/dist/scss/utils/_text.scss +76 -0
- package/dist/scss/utils/_transitions.scss +98 -0
- package/dist/scss/utils/_typography.scss +81 -0
- package/dist/styles.css +1 -1
- package/dist/temp-types/src/components/CApp/CApp.vue.d.ts +2 -4
- package/dist/temp-types/src/components/CApp/CApp.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CApp/types.d.ts +4 -0
- package/dist/temp-types/src/components/CApp/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts +7 -2
- package/dist/temp-types/src/components/CAutocomplete/CAutocomplete.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CAutocomplete/types.d.ts +16 -6
- package/dist/temp-types/src/components/CAutocomplete/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts +5 -1
- package/dist/temp-types/src/components/CBtn/CBtn.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CBtn/index.d.ts +1 -0
- package/dist/temp-types/src/components/CBtn/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CBtn/types.d.ts +1 -0
- package/dist/temp-types/src/components/CBtn/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts +2 -6
- package/dist/temp-types/src/components/CCheckbox/CCheckbox.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts +32 -0
- package/dist/temp-types/src/components/CCheckbox/CheckboxElement.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CCheckbox/types.d.ts +7 -4
- package/dist/temp-types/src/components/CCheckbox/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CChip/CChip.vue.d.ts +13 -0
- package/dist/temp-types/src/components/CChip/CChip.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CChip/index.d.ts +2 -0
- package/dist/temp-types/src/components/CChip/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts +61 -0
- package/dist/temp-types/src/components/CDateInput/CDateInput.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDateInput/index.d.ts +3 -0
- package/dist/temp-types/src/components/CDateInput/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts +82 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePicker.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts +60 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerDates.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts +27 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerHeader.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts +40 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerMonths.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts +34 -0
- package/dist/temp-types/src/components/CDatePicker/CDatePickerYears.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/helpers.d.ts +4 -0
- package/dist/temp-types/src/components/CDatePicker/helpers.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/index.d.ts +6 -0
- package/dist/temp-types/src/components/CDatePicker/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts +7 -0
- package/dist/temp-types/src/components/CDatePicker/locales/index.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/types.d.ts +22 -0
- package/dist/temp-types/src/components/CDatePicker/types.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDatePicker/utils.d.ts +8 -0
- package/dist/temp-types/src/components/CDatePicker/utils.d.ts.map +1 -0
- package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts +1 -1
- package/dist/temp-types/src/components/CDialog/CDialog.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CDialog/CDialogsStack.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CDialog/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CField/CField.vue.d.ts +26 -10
- package/dist/temp-types/src/components/CField/CField.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CField/index.d.ts +1 -0
- package/dist/temp-types/src/components/CField/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CField/types.d.ts +22 -0
- package/dist/temp-types/src/components/CField/types.d.ts.map +1 -0
- package/dist/temp-types/src/components/CForm/CForm.vue.d.ts +10 -8
- package/dist/temp-types/src/components/CForm/CForm.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CForm/types.d.ts +13 -3
- package/dist/temp-types/src/components/CForm/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CGrid/CCol.d.ts.map +1 -1
- package/dist/temp-types/src/components/CGrid/CRow.d.ts +1 -1
- package/dist/temp-types/src/components/CGrid/CRow.d.ts.map +1 -1
- package/dist/temp-types/src/components/CGrid/index.d.ts +1 -1
- package/dist/temp-types/src/components/CIcon/CIcon.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CIcon/types.d.ts +1 -2
- package/dist/temp-types/src/components/CIcon/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CInput/CInput.vue.d.ts +23 -7
- package/dist/temp-types/src/components/CInput/CInput.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CInput/types.d.ts +42 -28
- package/dist/temp-types/src/components/CInput/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CLabel/CLabel.d.ts.map +1 -1
- package/dist/temp-types/src/components/CList/CList.vue.d.ts +7 -1
- package/dist/temp-types/src/components/CList/CList.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CList/CListItem.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CList/types.d.ts +18 -1
- package/dist/temp-types/src/components/CList/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts +6 -6
- package/dist/temp-types/src/components/CMenu/CMenu.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CMenu/types.d.ts +2 -2
- package/dist/temp-types/src/components/CMenu/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/COverlay/COverlay.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CRadio/CRadio.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts +13 -0
- package/dist/temp-types/src/components/CRadio/CRadioGroup.vue.d.ts.map +1 -0
- package/dist/temp-types/src/components/CRadio/index.d.ts +1 -0
- package/dist/temp-types/src/components/CRadio/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CScrim/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts +7 -2
- package/dist/temp-types/src/components/CSelect/CSelect.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CSelect/types.d.ts +16 -6
- package/dist/temp-types/src/components/CSelect/types.d.ts.map +1 -1
- package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts +5 -1
- package/dist/temp-types/src/components/CSelectControl/CSelectControl.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts +19 -17
- package/dist/temp-types/src/components/CTextField/CTextField.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTextField/index.d.ts +10 -1
- package/dist/temp-types/src/components/CTextField/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTextField/types.d.ts +16 -0
- package/dist/temp-types/src/components/CTextField/types.d.ts.map +1 -0
- package/dist/temp-types/src/components/CToolbar/CToolbar.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts +3 -1
- package/dist/temp-types/src/components/CTooltip/CTooltip.vue.d.ts.map +1 -1
- package/dist/temp-types/src/components/CTooltip/index.d.ts +7 -1
- package/dist/temp-types/src/components/CTooltip/index.d.ts.map +1 -1
- package/dist/temp-types/src/components/index.d.ts +17 -15
- package/dist/temp-types/src/components/index.d.ts.map +1 -1
- package/dist/temp-types/src/composables/index.d.ts +22 -14
- package/dist/temp-types/src/composables/index.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-activator.d.ts +4 -2
- package/dist/temp-types/src/composables/use-activator.d.ts.map +1 -1
- package/dist/temp-types/src/composables/{use-app-scroll.d.ts → use-application-scroll.d.ts} +2 -2
- package/dist/temp-types/src/composables/use-application-scroll.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-application.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-aria-activator.d.ts +8 -0
- package/dist/temp-types/src/composables/use-aria-activator.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-dialog.d.ts +9 -0
- package/dist/temp-types/src/composables/use-aria-dialog.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-field.d.ts +13 -0
- package/dist/temp-types/src/composables/use-aria-field.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-listbox.d.ts +8 -0
- package/dist/temp-types/src/composables/use-aria-listbox.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-aria-toggle.d.ts +11 -0
- package/dist/temp-types/src/composables/use-aria-toggle.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-auto-position.d.ts +12 -9
- package/dist/temp-types/src/composables/use-auto-position.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-autocomplete.d.ts +9 -4
- package/dist/temp-types/src/composables/use-autocomplete.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-breakpoints.d.ts +1 -0
- package/dist/temp-types/src/composables/use-breakpoints.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-button-presets.d.ts +2 -2
- package/dist/temp-types/src/composables/use-button-presets.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-core.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-delay-actions.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-dialogs-stack.d.ts +3 -3
- package/dist/temp-types/src/composables/use-dialogs-stack.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-display.d.ts +29 -55
- package/dist/temp-types/src/composables/use-display.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-effect.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-field-presets.d.ts +12 -0
- package/dist/temp-types/src/composables/use-field-presets.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-form.d.ts +1 -1
- package/dist/temp-types/src/composables/use-form.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-icon.d.ts +32 -4
- package/dist/temp-types/src/composables/use-icon.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-id.d.ts +6 -0
- package/dist/temp-types/src/composables/use-id.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-input-presets.d.ts +6 -7
- package/dist/temp-types/src/composables/use-input-presets.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-keyboard.d.ts +11 -0
- package/dist/temp-types/src/composables/use-keyboard.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-list.d.ts +3 -0
- package/dist/temp-types/src/composables/use-list.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-menu.d.ts +2 -0
- package/dist/temp-types/src/composables/use-menu.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-normalized-items.d.ts +18 -0
- package/dist/temp-types/src/composables/use-normalized-items.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-overlay-stack.d.ts +1 -0
- package/dist/temp-types/src/composables/use-overlay-stack.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-presets.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-select-control.d.ts +2 -0
- package/dist/temp-types/src/composables/use-select-control.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-selected-chips.d.ts +16 -0
- package/dist/temp-types/src/composables/use-selected-chips.d.ts.map +1 -0
- package/dist/temp-types/src/composables/use-toggle.d.ts +1 -1
- package/dist/temp-types/src/composables/use-toggle.d.ts.map +1 -1
- package/dist/temp-types/src/composables/use-validate.d.ts +10 -8
- package/dist/temp-types/src/composables/use-validate.d.ts.map +1 -1
- package/dist/temp-types/src/constants/aria.d.ts +35 -0
- package/dist/temp-types/src/constants/aria.d.ts.map +1 -0
- package/dist/temp-types/src/constants/attrs.d.ts +2 -0
- package/dist/temp-types/src/constants/attrs.d.ts.map +1 -0
- package/dist/temp-types/src/constants/icons.d.ts +91 -18
- package/dist/temp-types/src/constants/icons.d.ts.map +1 -1
- package/dist/temp-types/src/constants/index.d.ts +3 -1
- package/dist/temp-types/src/constants/index.d.ts.map +1 -1
- package/dist/temp-types/src/constants/provide-keys.d.ts +7 -6
- package/dist/temp-types/src/constants/provide-keys.d.ts.map +1 -1
- package/dist/temp-types/src/directives/v-click-outside.d.ts.map +1 -1
- package/dist/temp-types/src/enums/IconName.d.ts +15 -2
- package/dist/temp-types/src/enums/IconName.d.ts.map +1 -1
- package/dist/temp-types/src/helpers/index.d.ts +2 -0
- package/dist/temp-types/src/helpers/index.d.ts.map +1 -1
- package/dist/temp-types/src/helpers/preset.d.ts +8 -0
- package/dist/temp-types/src/helpers/preset.d.ts.map +1 -0
- package/dist/temp-types/src/helpers/theme.d.ts +4 -0
- package/dist/temp-types/src/helpers/theme.d.ts.map +1 -0
- package/dist/temp-types/src/index.d.ts.map +1 -1
- package/dist/temp-types/src/library.d.ts +10 -3
- package/dist/temp-types/src/library.d.ts.map +1 -1
- package/dist/temp-types/src/resolvers/font-awesome.d.ts +18 -0
- package/dist/temp-types/src/resolvers/font-awesome.d.ts.map +1 -0
- package/dist/temp-types/src/resolvers/index.d.ts +2 -0
- package/dist/temp-types/src/resolvers/index.d.ts.map +1 -0
- package/dist/temp-types/src/resolvers/material.d.ts +1 -0
- package/dist/temp-types/src/resolvers/material.d.ts.map +1 -0
- package/dist/temp-types/src/types/icons.d.ts +29 -0
- package/dist/temp-types/src/types/icons.d.ts.map +1 -0
- package/dist/temp-types/src/types/index.d.ts +4 -2
- package/dist/temp-types/src/types/index.d.ts.map +1 -1
- package/dist/temp-types/src/types/presets.d.ts +35 -47
- package/dist/temp-types/src/types/presets.d.ts.map +1 -1
- package/dist/temp-types/src/types/theme.d.ts +32 -0
- package/dist/temp-types/src/types/theme.d.ts.map +1 -0
- package/dist/temp-types/src/utils/aria.d.ts +36 -0
- package/dist/temp-types/src/utils/aria.d.ts.map +1 -0
- package/dist/temp-types/src/utils/compile-css-classes.d.ts.map +1 -1
- package/dist/temp-types/src/utils/create-simple-functional.d.ts.map +1 -1
- package/dist/temp-types/src/utils/index.d.ts +3 -2
- package/dist/temp-types/src/utils/index.d.ts.map +1 -1
- package/dist/temp-types/src/utils/throttle.d.ts.map +1 -1
- package/dist/temp-types/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +125 -0
- package/dist/types.d.ts +137 -72
- package/dist/utils/aria.js +95 -0
- package/dist/utils/compile-css-classes.js +3 -13
- package/dist/utils/create-simple-functional.js +1 -5
- package/dist/utils/index.d.ts +48 -10
- package/dist/utils/index.js +3 -2
- package/package.json +35 -9
- package/dist/components/CItems/CItems.js +0 -66
- package/dist/composables/use-field-attrs.js +0 -43
- package/dist/composables/use-input-state.js +0 -41
- package/dist/composables/use-input-value.js +0 -18
- package/dist/composables/use-menu-presets.js +0 -17
- package/dist/composables/use-position-classes.js +0 -12
- package/dist/css/themes/default-theme.css +0 -1
- package/dist/temp-types/src/components/CItems/CItems.d.ts +0 -16
- package/dist/temp-types/src/components/CItems/CItems.d.ts.map +0 -1
- package/dist/temp-types/src/components/CItems/index.d.ts +0 -2
- package/dist/temp-types/src/components/CItems/index.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-app-scroll.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-field-attrs.d.ts +0 -10
- package/dist/temp-types/src/composables/use-field-attrs.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-input-state.d.ts +0 -17
- package/dist/temp-types/src/composables/use-input-state.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-input-value.d.ts +0 -3
- package/dist/temp-types/src/composables/use-input-value.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-menu-presets.d.ts +0 -7
- package/dist/temp-types/src/composables/use-menu-presets.d.ts.map +0 -1
- package/dist/temp-types/src/composables/use-position-classes.d.ts +0 -10
- package/dist/temp-types/src/composables/use-position-classes.d.ts.map +0 -1
- package/dist/temp-types/src/utils/define-preset.d.ts +0 -2
- package/dist/temp-types/src/utils/define-preset.d.ts.map +0 -1
- /package/dist/css/{themes/default-theme.js → lib.js} +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
type __VLS_Slots =
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
1
|
+
import type { CAppSlots } from './types';
|
|
2
|
+
type __VLS_Slots = CAppSlots;
|
|
5
3
|
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>;
|
|
6
4
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
5
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CApp.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CApp/CApp.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CApp.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CApp/CApp.vue"],"names":[],"mappings":"AAgDI,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC,KAAK,WAAW,GAAG,SAAS,CAAC;AA6DjC,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
export type ApplicationApi = {
|
|
2
3
|
blockScroll(): void;
|
|
3
4
|
unblockScroll(): void;
|
|
4
5
|
getScrollTop(): number;
|
|
5
6
|
getScrollLeft(): number;
|
|
6
7
|
};
|
|
8
|
+
export type CAppSlots = {
|
|
9
|
+
default(): VNode | VNode[];
|
|
10
|
+
};
|
|
7
11
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CApp/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IACzB,WAAW,IAAI,IAAI,CAAA;IACnB,aAAa,IAAI,IAAI,CAAA;IACrB,YAAY,IAAI,MAAM,CAAA;IACtB,aAAa,IAAI,MAAM,CAAA;CAC1B,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CApp/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAEhC,MAAM,MAAM,cAAc,GAAG;IACzB,WAAW,IAAI,IAAI,CAAA;IACnB,aAAa,IAAI,IAAI,CAAA;IACrB,YAAY,IAAI,MAAM,CAAA;IACtB,aAAa,IAAI,MAAM,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACpB,OAAO,IAAI,KAAK,GAAG,KAAK,EAAE,CAAA;CAC7B,CAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CAutocompleteSlots } from './types';
|
|
2
2
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined;
|
|
5
5
|
readonly "onUpdate:search"?: ((val: string) => any) | undefined;
|
|
6
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:search"> & (
|
|
6
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:search"> & (import("../../composables").IterableItemsProps<T> & import("../../composables").SelectableProps<T> & {
|
|
7
|
+
options?: {
|
|
8
|
+
noItemsMessage?: string;
|
|
9
|
+
menuPreset?: string;
|
|
10
|
+
};
|
|
11
|
+
} & {
|
|
7
12
|
modelValue?: T | T[];
|
|
8
13
|
}) & Partial<{}>> & import("vue").PublicProps;
|
|
9
14
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CAutocomplete.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CAutocomplete/CAutocomplete.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CAutocomplete.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CAutocomplete/CAutocomplete.vue"],"names":[],"mappings":"AA+NI,OAAO,KAAK,EAAsB,kBAAkB,EAAE,MAAM,SAAS,CAAA;yBAEpD,CAAC,EACrB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAoXO,mBAAmB,CAAC;;;;;0BA7kBxB,CAAC;sBAA2B,CAAC;;;qBA8SpB,CAAC,GAAG,CAAC,EAAE;SA+R6C,OAAO,IAAsB,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,gHAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA/XrE,wBA+XwE;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
import type { IterableItemsProps, NormalizedItem, SelectableProps } from '../../composables';
|
|
3
|
+
import type { CInputProps, CInputSlots } from '../CInput';
|
|
4
|
+
export type CAutocompleteProps<T> = IterableItemsProps<T> & SelectableProps<T> & {
|
|
5
5
|
options?: {
|
|
6
|
-
extKey?: string;
|
|
7
6
|
noItemsMessage?: string;
|
|
8
7
|
menuPreset?: string;
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
export type CAutocompleteSlots<T> = {
|
|
12
11
|
menu(props: {
|
|
13
|
-
items: T[];
|
|
12
|
+
items: NormalizedItem<T>[];
|
|
14
13
|
onSelect(val: T): void;
|
|
15
14
|
}): void;
|
|
15
|
+
field: CInputSlots['field'];
|
|
16
|
+
prepend(): VNode;
|
|
17
|
+
append(): VNode;
|
|
18
|
+
chips(props: {
|
|
19
|
+
items: T[];
|
|
20
|
+
}): VNode[];
|
|
21
|
+
details(props: {
|
|
22
|
+
errorMessage?: string;
|
|
23
|
+
details?: string;
|
|
24
|
+
}): VNode;
|
|
16
25
|
['no-items-message'](): string;
|
|
17
26
|
};
|
|
27
|
+
export type CAutocompletePublicProps<T> = CInputProps<T> & CAutocompleteProps<T>;
|
|
18
28
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CAutocomplete/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CAutocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAEhC,OAAO,KAAK,EACR,kBAAkB,EAClB,cAAc,EACd,eAAe,EAClB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEzD,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAC5B,kBAAkB,CAAC,CAAC,CAAC,GACnB,eAAe,CAAC,CAAC,CAAC,GAClB;IACF,OAAO,CAAC,EAAE;QACN,cAAc,CAAC,EAAE,MAAM,CAAA;QACvB,UAAU,CAAC,EAAE,MAAM,CAAA;KACtB,CAAC;CACL,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI;IAChC,IAAI,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;QAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAA;IACzE,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3B,OAAO,IAAI,KAAK,CAAA;IAChB,MAAM,IAAI,KAAK,CAAA;IACf,KAAK,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,CAAC,EAAE,CAAA;KAAE,GAAG,KAAK,EAAE,CAAA;IACrC,OAAO,CAAC,KAAK,EAAE;QACX,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,OAAO,CAAC,EAAE,MAAM,CAAA;KACnB,GAAG,KAAK,CAAA;IACT,CAAC,kBAAkB,CAAC,IAAI,MAAM,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -3,7 +3,11 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<CBtnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<CBtnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: (e: MouseEvent) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<CBtnProps> & Readonly<{
|
|
9
|
+
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
11
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
12
|
export default _default;
|
|
9
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CBtn.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CBtn/CBtn.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CBtn.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CBtn/CBtn.vue"],"names":[],"mappings":"AA8CI,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA4C5C,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAuB/C,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CBtn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CBtn/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,YAAY,CAAA;AAC5C,cAAc,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CBtn/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CBtn/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type { CCheckboxSlots } from './types';
|
|
1
|
+
import type { CCheckboxProps, CCheckboxSlots } from './types';
|
|
2
2
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
|
|
5
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (
|
|
6
|
-
modelValue: boolean | T | T[];
|
|
7
|
-
label?: string;
|
|
8
|
-
size?: number;
|
|
9
|
-
} & {
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & (CCheckboxProps<T> & {
|
|
10
6
|
modelValue?: T;
|
|
11
7
|
}) & Partial<{}>> & import("vue").PublicProps;
|
|
12
8
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CCheckbox/CCheckbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CCheckbox/CCheckbox.vue"],"names":[],"mappings":"AAsDI,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;yBAE5C,CAAC,EACrB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAiIO,mBAAmB,CAAC;;;qBA3Gf,CAAC;SA2GmD,OAAO,IAAsB,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA5IrE,wBA4IwE;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
|
+
readonly onToggle?: (() => any) | undefined;
|
|
4
|
+
readonly "onUpdate:focused"?: ((value: boolean) => any) | undefined;
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onToggle" | "onUpdate:focused"> & ({
|
|
6
|
+
error: boolean;
|
|
7
|
+
checked: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
id: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
} & {
|
|
13
|
+
focused?: boolean;
|
|
14
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
15
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {
|
|
18
|
+
icon?: (props: {
|
|
19
|
+
checked: boolean;
|
|
20
|
+
}) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: {}) => any;
|
|
23
|
+
};
|
|
24
|
+
emit: ((e: "toggle") => void) & ((evt: "update:focused", value: boolean) => void);
|
|
25
|
+
}>) => import("vue").VNode & {
|
|
26
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_PrettifyLocal<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
32
|
+
//# sourceMappingURL=CheckboxElement.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxElement.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CCheckbox/CheckboxElement.vue"],"names":[],"mappings":"yBA2FqB,CAAC,EACrB,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAuJO,mBAAmB,CAAC;;;;eAnJb,OAAO;iBACL,OAAO;gBACR,MAAM;YACV,MAAM;mBACC,OAAO;mBACP,OAAO;;kBA0Cd,OAAO;SAoG8C,OAAO,IAAsB,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;eAhCA,CAAC,KAAK;;SAAgB,KAAK,GAAG;;kBAC3B,CAAC,KAAK,IAAiB,KAAK,GAAG;;UAiCtC,KA7IK,QAAQ,KAAG,IAAI,qDA6IsB;EAE7C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAlKrE,wBAkKwE;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { ValidateProps } from '../../composables';
|
|
2
1
|
import type { VNode } from 'vue';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import type { CInputProps } from '../CInput';
|
|
3
|
+
import type { CSelectControlProps } from '../CSelectControl';
|
|
4
|
+
export type CCheckboxModel<T> = T | T[] | boolean;
|
|
5
|
+
export type CCheckboxProps<T> = {
|
|
6
|
+
modelValue: CCheckboxModel<T>;
|
|
7
|
+
value?: T;
|
|
6
8
|
size?: number;
|
|
7
9
|
};
|
|
8
10
|
export type CCheckboxSlots = {
|
|
@@ -14,4 +16,5 @@ export type CCheckboxSlots = {
|
|
|
14
16
|
export type CCheckboxEvents<T> = {
|
|
15
17
|
(e: 'update:modelValue', value: T): void;
|
|
16
18
|
};
|
|
19
|
+
export type CCheckboxPublicProps<T> = CCheckboxProps<T> & CSelectControlProps<T> & CInputProps<CCheckboxModel<T>>;
|
|
17
20
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CCheckbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/CCheckbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAEhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,OAAO,CAAA;AAEjD,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC5B,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IAC7B,KAAK,CAAC,EAAE,CAAC,CAAA;IACT,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,KAAK,CAAA;IACxC,OAAO,IAAI,KAAK,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAC7B,CAAC,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAC9B,cAAc,CAAC,CAAC,CAAC,GACf,mBAAmB,CAAC,CAAC,CAAC,GACtB,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=CChip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CChip.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CChip/CChip.vue"],"names":[],"mappings":"AA4BA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAkB/C,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CChip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { PresetProps, ValidateProps } from '../../composables';
|
|
2
|
+
import { type DatePickerDate, type DatePickerEnrichedDate, type DatePickerSlotApi, type DatePickerWeekDay, type DisabledDates } from '../CDatePicker';
|
|
3
|
+
type __VLS_Props = CDateInputProps;
|
|
4
|
+
type __VLS_Slots = {
|
|
5
|
+
prepend?(): any;
|
|
6
|
+
append?(): any;
|
|
7
|
+
date?(props: DatePickerDate & {
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
isToday: boolean;
|
|
10
|
+
}): any;
|
|
11
|
+
week?(props: {
|
|
12
|
+
days: DatePickerWeekDay[];
|
|
13
|
+
}): any;
|
|
14
|
+
dates?(props: {
|
|
15
|
+
dates: DatePickerEnrichedDate[];
|
|
16
|
+
onSelect: (d: DatePickerDate) => void;
|
|
17
|
+
}): any;
|
|
18
|
+
'before-header'?(props: DatePickerSlotApi): any;
|
|
19
|
+
header?(props: DatePickerSlotApi): any;
|
|
20
|
+
'before-body'?(props: DatePickerSlotApi): any;
|
|
21
|
+
body?(props: DatePickerSlotApi): any;
|
|
22
|
+
footer?(props: DatePickerSlotApi): any;
|
|
23
|
+
};
|
|
24
|
+
export type CDateInputProps = ValidateProps & PresetProps & {
|
|
25
|
+
modelValue?: Date | null;
|
|
26
|
+
label?: string;
|
|
27
|
+
details?: string;
|
|
28
|
+
noDetails?: boolean;
|
|
29
|
+
clearable?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
readonly?: boolean;
|
|
32
|
+
typeable?: boolean;
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
lang?: string;
|
|
35
|
+
format?: string;
|
|
36
|
+
mondayFirst?: boolean;
|
|
37
|
+
disabledDates?: DisabledDates;
|
|
38
|
+
highlightedDates?: (Date | string)[];
|
|
39
|
+
minDate?: Date | string;
|
|
40
|
+
maxDate?: Date | string;
|
|
41
|
+
};
|
|
42
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
43
|
+
modelValue?: Date | null;
|
|
44
|
+
};
|
|
45
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
focus: () => any;
|
|
47
|
+
blur: () => any;
|
|
48
|
+
"update:modelValue": (...args: unknown[]) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
50
|
+
onFocus?: (() => any) | undefined;
|
|
51
|
+
onBlur?: (() => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=CDateInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CDateInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDateInput/CDateInput.vue"],"names":[],"mappings":"AA0RI,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEnE,OAAO,EAEH,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EAEtB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACrB,MAAM,gBAAgB,CAAA;AAWvB,KAAK,WAAW,GAAG,eAAe,CAAC;AAUnC,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,IAAI,GAAG,CAAA;IACf,MAAM,CAAC,IAAI,GAAG,CAAA;IACd,IAAI,CAAC,CAAC,KAAK,EAAE,cAAc,GAAG;QAAE,UAAU,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,GAAG,CAAA;IAC7E,IAAI,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,iBAAiB,EAAE,CAAA;KAAE,GAAG,GAAG,CAAA;IAChD,KAAK,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,sBAAsB,EAAE,CAAC;QAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;KAAE,GAAG,GAAG,CAAA;IAC9F,eAAe,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAA;IAC/C,MAAM,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAA;IACtC,aAAa,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAA;IAC7C,IAAI,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAA;IACpC,MAAM,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,GAAG,CAAA;CACzC,CAAC;AAKF,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,WAAW,GAAG;IACxD,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,gBAAgB,CAAC,EAAE,CAAC,IAAI,GAAG,MAAM,CAAC,EAAE,CAAA;IACpC,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B,CAAA;AA0CL,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB,CAAC;AAgVF,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDateInput/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type VNodeChild } from 'vue';
|
|
2
|
+
import { type EnrichedDate } from './CDatePickerDates.vue';
|
|
3
|
+
import { type EnrichedMonth } from './CDatePickerMonths.vue';
|
|
4
|
+
import { type EnrichedYear } from './CDatePickerYears.vue';
|
|
5
|
+
import type { DatePickerDate, DisabledDates } from './types';
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
'before-header'?(props: DatePickerSlotApi): VNodeChild;
|
|
8
|
+
header?(props: DatePickerSlotApi): VNodeChild;
|
|
9
|
+
'before-body'?(props: DatePickerSlotApi): VNodeChild;
|
|
10
|
+
body?(props: DatePickerSlotApi): VNodeChild;
|
|
11
|
+
footer?(props: DatePickerSlotApi): VNodeChild;
|
|
12
|
+
week?(props: {
|
|
13
|
+
days: DatePickerWeekDay[];
|
|
14
|
+
}): VNodeChild;
|
|
15
|
+
dates?(props: {
|
|
16
|
+
dates: EnrichedDate[];
|
|
17
|
+
onSelect: (d: DatePickerDate) => void;
|
|
18
|
+
}): any;
|
|
19
|
+
date?(props: DatePickerDate & {
|
|
20
|
+
isSelected: boolean;
|
|
21
|
+
isToday: boolean;
|
|
22
|
+
}): VNodeChild;
|
|
23
|
+
months?(props: {
|
|
24
|
+
months: EnrichedMonth[];
|
|
25
|
+
}): VNodeChild;
|
|
26
|
+
month?(props: EnrichedMonth): VNodeChild;
|
|
27
|
+
years?(props: {
|
|
28
|
+
years: EnrichedYear[];
|
|
29
|
+
}): VNodeChild;
|
|
30
|
+
year?(props: EnrichedYear): VNodeChild;
|
|
31
|
+
};
|
|
32
|
+
declare const enum ViewMode {
|
|
33
|
+
DATES = 0,
|
|
34
|
+
MONTHS = 1,
|
|
35
|
+
YEARS = 2
|
|
36
|
+
}
|
|
37
|
+
export type DatePickerSlotApi = {
|
|
38
|
+
view: ViewMode;
|
|
39
|
+
value: string;
|
|
40
|
+
selected: DatePickerDate;
|
|
41
|
+
disablePrev: boolean;
|
|
42
|
+
disableNext: boolean;
|
|
43
|
+
onNext: () => void;
|
|
44
|
+
onPrev: () => void;
|
|
45
|
+
onTable: () => void;
|
|
46
|
+
onToday: () => void;
|
|
47
|
+
};
|
|
48
|
+
export type DatePickerWeekDay = {
|
|
49
|
+
day: number;
|
|
50
|
+
label: string | undefined;
|
|
51
|
+
};
|
|
52
|
+
export type DatePickerEnrichedDate = EnrichedDate;
|
|
53
|
+
export type DatePickerEnrichedMonth = EnrichedMonth;
|
|
54
|
+
export type DatePickerEnrichedYear = EnrichedYear;
|
|
55
|
+
export type CDatePickerProps = {
|
|
56
|
+
modelValue?: Date | string | null;
|
|
57
|
+
lang?: string;
|
|
58
|
+
format?: string;
|
|
59
|
+
mondayFirst?: boolean;
|
|
60
|
+
disabledDates?: DisabledDates;
|
|
61
|
+
highlightedDates?: (Date | string)[];
|
|
62
|
+
minDate?: Date | string;
|
|
63
|
+
maxDate?: Date | string;
|
|
64
|
+
};
|
|
65
|
+
declare const __VLS_component: import("vue").DefineComponent<CDatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
|
+
"update:modelValue": (value: Date | null) => any;
|
|
67
|
+
selected: (value: Date | null) => any;
|
|
68
|
+
}, string, import("vue").PublicProps, Readonly<CDatePickerProps> & Readonly<{
|
|
69
|
+
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
70
|
+
onSelected?: ((value: Date | null) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
lang: string;
|
|
73
|
+
format: string;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
75
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
76
|
+
export default _default;
|
|
77
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
78
|
+
new (): {
|
|
79
|
+
$slots: S;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=CDatePicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDatePicker/CDatePicker.vue"],"names":[],"mappings":"AAAA,OAuZW,EAKH,KAAK,UAAU,EAClB,MAAM,KAAK,CAAA;AAIZ,OAAyB,EAAE,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE5E,OAA0B,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAC/E,OAAyB,EAAE,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE5E,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAiB5D,KAAK,WAAW,GAAG;IACf,eAAe,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAAA;IACtD,MAAM,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAAA;IAC7C,aAAa,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAAA;IACpD,IAAI,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAAA;IAC3C,MAAM,CAAC,CAAC,KAAK,EAAE,iBAAiB,GAAG,UAAU,CAAA;IAC7C,IAAI,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,iBAAiB,EAAE,CAAA;KAAE,GAAG,UAAU,CAAA;IACvD,KAAK,CAAC,CAAC,KAAK,EAAE;QACV,KAAK,EAAE,YAAY,EAAE,CAAA;QACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;KAAE,GACxC,GAAG,CAAA;IACN,IAAI,CAAC,CAAC,KAAK,EAAE,cAAc,GAAG;QAC1B,UAAU,EAAE,OAAO,CAAC;QACpB,OAAO,EAAE,OAAO,CAAA;KACnB,GAAG,UAAU,CAAA;IACd,MAAM,CAAC,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,aAAa,EAAE,CAAA;KAAE,GAAG,UAAU,CAAA;IACvD,KAAK,CAAC,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,CAAA;IACxC,KAAK,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,YAAY,EAAE,CAAA;KAAE,GAAG,UAAU,CAAA;IACpD,IAAI,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,CAAA;CACzC,CAAC;AAGF,mBAAW,QAAQ;IACf,KAAK,IAAI;IACT,MAAM,IAAI;IACV,KAAK,IAAI;CACZ;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,cAAc,CAAA;IACxB,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAA;AACjD,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAA;AACnD,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAA;AAEjD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,gBAAgB,CAAC,EAAE,CAAC,IAAI,GAAG,MAAM,CAAC,EAAE,CAAA;IACpC,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B,CAAA;AAseL,QAAA,MAAM,eAAe;;;;;;;UA7eN,MAAM;YACJ,MAAM;6EAofrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { DatePickerDate, DisabledDates } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
locale?: string[];
|
|
4
|
+
year: number;
|
|
5
|
+
month: number;
|
|
6
|
+
value?: DatePickerDate | null;
|
|
7
|
+
mondayFirst?: boolean;
|
|
8
|
+
disabledDates?: DisabledDates;
|
|
9
|
+
highlightedDates?: (Date | string)[];
|
|
10
|
+
minDate?: DatePickerDate | null;
|
|
11
|
+
maxDate?: DatePickerDate | null;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = {
|
|
14
|
+
week?(props: {
|
|
15
|
+
days: {
|
|
16
|
+
day: number;
|
|
17
|
+
label: string | undefined;
|
|
18
|
+
}[];
|
|
19
|
+
}): any;
|
|
20
|
+
dates?(props: {
|
|
21
|
+
dates: EnrichedDate[];
|
|
22
|
+
onSelect: (d: DatePickerDate) => void;
|
|
23
|
+
}): any;
|
|
24
|
+
date?(props: DatePickerDate & {
|
|
25
|
+
isSelected: boolean;
|
|
26
|
+
isToday: boolean;
|
|
27
|
+
}): any;
|
|
28
|
+
};
|
|
29
|
+
export type EnrichedDate = {
|
|
30
|
+
dateObj: DatePickerDate | null;
|
|
31
|
+
empty: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
highlighted: boolean;
|
|
34
|
+
isSelected: boolean;
|
|
35
|
+
isToday: boolean;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
38
|
+
onNext: () => void;
|
|
39
|
+
onPrev: () => void;
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
"update:value": (date: DatePickerDate) => any;
|
|
42
|
+
"update:month": (params: {
|
|
43
|
+
month: number;
|
|
44
|
+
year?: number;
|
|
45
|
+
}) => any;
|
|
46
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
|
+
"onUpdate:value"?: ((date: DatePickerDate) => any) | undefined;
|
|
48
|
+
"onUpdate:month"?: ((params: {
|
|
49
|
+
month: number;
|
|
50
|
+
year?: number;
|
|
51
|
+
}) => any) | undefined;
|
|
52
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=CDatePickerDates.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CDatePickerDates.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDatePicker/CDatePickerDates.vue"],"names":[],"mappings":"AAiRI,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAI5D,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,gBAAgB,CAAC,EAAE,CAAC,IAAI,GAAG,MAAM,CAAC,EAAE,CAAA;IACpC,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/B,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAClC,CAAC;AASF,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;SAAE,EAAE,CAAA;KAAE,GAAG,GAAG,CAAA;IACzE,KAAK,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,YAAY,EAAE,CAAC;QAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;KAAE,GAAG,GAAG,CAAA;IACpF,IAAI,CAAC,CAAC,KAAK,EAAE,cAAc,GAAG;QAAE,UAAU,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,GAAG,CAAA;CAChF,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG;IACvB,OAAO,EAAE,cAAc,GAAG,IAAI,CAAA;IAC9B,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;CACnB,CAAA;AA4QL,QAAA,MAAM,eAAe;;;;;;eA9RqB,MAAM;eAAS,MAAM;;;;;eAArB,MAAM;eAAS,MAAM;;kFAsS7D,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disablePrev: boolean;
|
|
3
|
+
disableNext: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_13: {}, __VLS_27: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_13) => any;
|
|
8
|
+
} & {
|
|
9
|
+
actions?: (props: typeof __VLS_27) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
table: () => any;
|
|
13
|
+
next: () => any;
|
|
14
|
+
prev: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onTable?: (() => any) | undefined;
|
|
17
|
+
onNext?: (() => any) | undefined;
|
|
18
|
+
onPrev?: (() => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=CDatePickerHeader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CDatePickerHeader.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDatePicker/CDatePickerHeader.vue"],"names":[],"mappings":"AA+DI,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,OAAO,CAAA;CACvB,CAAC;AAwGN,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAwBhD,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { DatePickerDate } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
5
|
+
locale?: string[];
|
|
6
|
+
minDate?: DatePickerDate | null;
|
|
7
|
+
maxDate?: DatePickerDate | null;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
months?(props: {
|
|
11
|
+
months: EnrichedMonth[];
|
|
12
|
+
}): any;
|
|
13
|
+
month?(props: EnrichedMonth): any;
|
|
14
|
+
};
|
|
15
|
+
export type EnrichedMonth = {
|
|
16
|
+
month: number;
|
|
17
|
+
label: string;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
isSelected: boolean;
|
|
20
|
+
isCurrent: boolean;
|
|
21
|
+
onSelect: () => void;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
24
|
+
onNext: () => void;
|
|
25
|
+
onPrev: () => void;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:month": (month: number) => any;
|
|
28
|
+
"update:year": (year: number) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:month"?: ((month: number) => any) | undefined;
|
|
31
|
+
"onUpdate:year"?: ((year: number) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=CDatePickerMonths.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CDatePickerMonths.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDatePicker/CDatePickerMonths.vue"],"names":[],"mappings":"AAuHI,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAI7C,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/B,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CAClC,CAAC;AASF,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,aAAa,EAAE,CAAA;KAAE,GAAG,GAAG,CAAA;IAChD,KAAK,CAAC,CAAC,KAAK,EAAE,aAAa,GAAG,GAAG,CAAA;CACpC,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACvB,CAAA;AA+GL,QAAA,MAAM,eAAe;;;;;;;;;kFAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
year: number;
|
|
3
|
+
minYear?: number;
|
|
4
|
+
maxYear?: number;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
years?(props: {
|
|
8
|
+
years: EnrichedYear[];
|
|
9
|
+
}): any;
|
|
10
|
+
year?(props: EnrichedYear): any;
|
|
11
|
+
};
|
|
12
|
+
export type EnrichedYear = {
|
|
13
|
+
year: number;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
isSelected: boolean;
|
|
16
|
+
isCurrent: boolean;
|
|
17
|
+
onSelect: () => void;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
20
|
+
onNext(): void;
|
|
21
|
+
onPrev(): void;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:year": (year: number) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onUpdate:year"?: ((year: number) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=CDatePickerYears.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CDatePickerYears.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/CDatePicker/CDatePickerYears.vue"],"names":[],"mappings":"AAgJI,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAQF,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,YAAY,EAAE,CAAA;KAAE,GAAG,GAAG,CAAA;IAC7C,IAAI,CAAC,CAAC,KAAK,EAAE,YAAY,GAAG,GAAG,CAAA;CAClC,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACvB,CAAA;AAmJL,QAAA,MAAM,eAAe;;;;;;;kFAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|