@khsura/sui 0.0.0-stage → 1.18.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/.claude-plugin/marketplace.json +18 -0
- package/@types/components/badge/index.d.ts +1 -0
- package/@types/components/badge/sBadge.vue.d.ts +18 -0
- package/@types/components/badge/sBadgeContent.vue.d.ts +14 -0
- package/@types/components/calendar/index.d.ts +1 -0
- package/@types/components/calendar/sCalendar.vue.d.ts +52 -0
- package/@types/components/calendar/sCalendarMonthly.vue.d.ts +51 -0
- package/@types/components/calendar/sCalendarWeekly.vue.d.ts +75 -0
- package/@types/components/cards/index.d.ts +5 -0
- package/@types/components/cards/sCard.vue.d.ts +14 -0
- package/@types/components/cards/sCardActions.vue.d.ts +15 -0
- package/@types/components/cards/sCardSubtitle.vue.d.ts +15 -0
- package/@types/components/cards/sCardText.vue.d.ts +15 -0
- package/@types/components/cards/sCardTitle.vue.d.ts +15 -0
- package/@types/components/carousel/index.d.ts +2 -0
- package/@types/components/carousel/sCarousel.vue.d.ts +34 -0
- package/@types/components/carousel/sCarouselItem.vue.d.ts +14 -0
- package/@types/components/datePicker/index.d.ts +2 -0
- package/@types/components/datePicker/sDatePicker.vue.d.ts +22 -0
- package/@types/components/datePicker/sDatePickerDate.vue.d.ts +12 -0
- package/@types/components/datePicker/sDatePickerInput.vue.d.ts +31 -0
- package/@types/components/datePicker/sDatePickerMonth.vue.d.ts +12 -0
- package/@types/components/datePicker/sDatePickerSwitch.vue.d.ts +15 -0
- package/@types/components/datePicker/sDatePickerTitle.vue.d.ts +16 -0
- package/@types/components/datePicker/sDatePickerYear.vue.d.ts +12 -0
- package/@types/components/expansionPanel/index.d.ts +4 -0
- package/@types/components/expansionPanel/sExpansionPanel.vue.d.ts +17 -0
- package/@types/components/expansionPanel/sExpansionPanelContent.vue.d.ts +15 -0
- package/@types/components/expansionPanel/sExpansionPanelHeader.vue.d.ts +21 -0
- package/@types/components/expansionPanel/sExpansionPanels.vue.d.ts +24 -0
- package/@types/components/form/common/index.d.ts +1 -0
- package/@types/components/form/common/sFormInputError.vue.d.ts +25 -0
- package/@types/components/form/index.d.ts +7 -0
- package/@types/components/form/radio/index.d.ts +2 -0
- package/@types/components/form/radio/sRadio.vue.d.ts +32 -0
- package/@types/components/form/radio/sRadioGroup.vue.d.ts +35 -0
- package/@types/components/form/sCheckbox.vue.d.ts +22 -0
- package/@types/components/form/sForm.vue.d.ts +31 -0
- package/@types/components/form/sInput.vue.d.ts +73 -0
- package/@types/components/form/sSelect.vue.d.ts +64 -0
- package/@types/components/form/sTextarea.vue.d.ts +38 -0
- package/@types/components/grids/index.d.ts +4 -0
- package/@types/components/grids/sColumn.vue.d.ts +14 -0
- package/@types/components/grids/sContainer.vue.d.ts +14 -0
- package/@types/components/grids/sRow.vue.d.ts +14 -0
- package/@types/components/grids/sSpacer.vue.d.ts +13 -0
- package/@types/components/index.d.ts +36 -0
- package/@types/components/layout/index.d.ts +8 -0
- package/@types/components/layout/sApp.vue.d.ts +15 -0
- package/@types/components/layout/sAppBar.vue.d.ts +22 -0
- package/@types/components/layout/sAppBarTitle.vue.d.ts +16 -0
- package/@types/components/layout/sBottomNavigation.vue.d.ts +24 -0
- package/@types/components/layout/sFooter.vue.d.ts +18 -0
- package/@types/components/layout/sLayout.vue.d.ts +14 -0
- package/@types/components/layout/sMain.vue.d.ts +14 -0
- package/@types/components/layout/sNavigationDrawer.vue.d.ts +45 -0
- package/@types/components/list/index.d.ts +8 -0
- package/@types/components/list/sList.vue.d.ts +14 -0
- package/@types/components/list/sListItem.vue.d.ts +18 -0
- package/@types/components/list/sListItemAction.vue.d.ts +14 -0
- package/@types/components/list/sListItemContent.vue.d.ts +13 -0
- package/@types/components/list/sListItemGroup.vue.d.ts +47 -0
- package/@types/components/list/sListItemIcon.vue.d.ts +14 -0
- package/@types/components/list/sListItemSubtitle.vue.d.ts +13 -0
- package/@types/components/list/sListItemTitle.vue.d.ts +13 -0
- package/@types/components/progress/index.d.ts +2 -0
- package/@types/components/progress/sProgressCircular.vue.d.ts +18 -0
- package/@types/components/progress/sProgressLinear.vue.d.ts +17 -0
- package/@types/components/sAlert.vue.d.ts +14 -0
- package/@types/components/sAutocomplete.vue.d.ts +57 -0
- package/@types/components/sBreadcrumbs.vue.d.ts +16 -0
- package/@types/components/sButton.vue.d.ts +20 -0
- package/@types/components/sChip.vue.d.ts +24 -0
- package/@types/components/sDialog.vue.d.ts +33 -0
- package/@types/components/sDivider.vue.d.ts +4 -0
- package/@types/components/sDroppable.vue.d.ts +28 -0
- package/@types/components/sIcon.vue.d.ts +4 -0
- package/@types/components/sImage.vue.d.ts +14 -0
- package/@types/components/sMenu.vue.d.ts +36 -0
- package/@types/components/sOverlay.vue.d.ts +26 -0
- package/@types/components/sSheet.vue.d.ts +14 -0
- package/@types/components/sSnackbar.vue.d.ts +35 -0
- package/@types/components/sSubheader.vue.d.ts +13 -0
- package/@types/components/sSwitch.vue.d.ts +23 -0
- package/@types/components/sTooltip.vue.d.ts +25 -0
- package/@types/components/slideGroup/index.d.ts +2 -0
- package/@types/components/slideGroup/sSlideGroup.vue.d.ts +42 -0
- package/@types/components/slideGroup/sSlideItem.vue.d.ts +17 -0
- package/@types/components/splitViews/index.d.ts +2 -0
- package/@types/components/splitViews/sSplitView.vue.d.ts +17 -0
- package/@types/components/splitViews/sSplitViewItem.vue.d.ts +13 -0
- package/@types/components/stepper/index.d.ts +2 -0
- package/@types/components/stepper/sStepper.vue.d.ts +26 -0
- package/@types/components/stepper/sStepperStep.vue.d.ts +14 -0
- package/@types/components/table/index.d.ts +3 -0
- package/@types/components/table/sTable.vue.d.ts +153 -0
- package/@types/components/table/sTableBodyCell.vue.d.ts +22 -0
- package/@types/components/table/sTableHeadCell.vue.d.ts +24 -0
- package/@types/components/table/sTablePagination.vue.d.ts +33 -0
- package/@types/components/tabs/index.d.ts +2 -0
- package/@types/components/tabs/sTab.vue.d.ts +14 -0
- package/@types/components/tabs/sTabs.vue.d.ts +20 -0
- package/@types/components/toggleButtonGroup/index.d.ts +2 -0
- package/@types/components/toggleButtonGroup/sToggleButton.vue.d.ts +14 -0
- package/@types/components/toggleButtonGroup/sToggleButtonGroup.vue.d.ts +31 -0
- package/@types/components/toolbar/index.d.ts +3 -0
- package/@types/components/toolbar/sToolbar.vue.d.ts +23 -0
- package/@types/components/toolbar/sToolbarItem.vue.d.ts +5 -0
- package/@types/components/toolbar/sToolbarTitle.vue.d.ts +16 -0
- package/@types/components/window/index.d.ts +2 -0
- package/@types/components/window/sWindow.vue.d.ts +57 -0
- package/@types/components/window/sWindowItem.vue.d.ts +13 -0
- package/@types/componentsTypes.d.ts +8 -0
- package/@types/configs/app.d.ts +72 -0
- package/@types/configs/color.d.ts +2 -0
- package/@types/configs/core/breakpoint.d.ts +9 -0
- package/@types/configs/core/index.d.ts +1 -0
- package/@types/configs/datePicker.d.ts +34 -0
- package/@types/configs/grids.d.ts +3 -0
- package/@types/configs/i18n.d.ts +73 -0
- package/@types/configs/iconSizes.d.ts +7 -0
- package/@types/configs/index.d.ts +11 -0
- package/@types/configs/provider.d.ts +42 -0
- package/@types/configs/size.d.ts +2 -0
- package/@types/configs/toolbar.d.ts +11 -0
- package/@types/configs/transitions.d.ts +2 -0
- package/@types/constants/alert.d.ts +52 -0
- package/@types/constants/app.d.ts +7 -0
- package/@types/constants/button.d.ts +5 -0
- package/@types/constants/color.d.ts +318 -0
- package/@types/constants/cssVariables.d.ts +4 -0
- package/@types/constants/datePicker.d.ts +14 -0
- package/@types/constants/form.d.ts +9 -0
- package/@types/constants/grids.d.ts +14 -0
- package/@types/constants/i18n.d.ts +68 -0
- package/@types/constants/imageLoader.d.ts +13 -0
- package/@types/constants/index.d.ts +20 -0
- package/@types/constants/layout.d.ts +10 -0
- package/@types/constants/lazyLoad.d.ts +5 -0
- package/@types/constants/materialDesignIcon.d.ts +3 -0
- package/@types/constants/menuDimensions.d.ts +2 -0
- package/@types/constants/navigationDrawer.d.ts +8 -0
- package/@types/constants/overlay.d.ts +1 -0
- package/@types/constants/position.d.ts +1 -0
- package/@types/constants/size.d.ts +7 -0
- package/@types/constants/toolbar.d.ts +7 -0
- package/@types/constants/transition.d.ts +6 -0
- package/@types/definitions/app.d.ts +22 -0
- package/@types/definitions/emits/emitsTable.d.ts +18 -0
- package/@types/definitions/emits/index.d.ts +1 -0
- package/@types/definitions/index.d.ts +4 -0
- package/@types/definitions/props/core/index.d.ts +18 -0
- package/@types/definitions/props/core/propsActivator.d.ts +6 -0
- package/@types/definitions/props/core/propsBorder.d.ts +5 -0
- package/@types/definitions/props/core/propsButtonVariant.d.ts +3 -0
- package/@types/definitions/props/core/propsColor.d.ts +6 -0
- package/@types/definitions/props/core/propsComponentTheme.d.ts +4 -0
- package/@types/definitions/props/core/propsContent.d.ts +5 -0
- package/@types/definitions/props/core/propsDisabled.d.ts +4 -0
- package/@types/definitions/props/core/propsElevation.d.ts +3 -0
- package/@types/definitions/props/core/propsGroup.d.ts +6 -0
- package/@types/definitions/props/core/propsGroupItem.d.ts +6 -0
- package/@types/definitions/props/core/propsLayoutBase.d.ts +3 -0
- package/@types/definitions/props/core/propsLink.d.ts +7 -0
- package/@types/definitions/props/core/propsLocation.d.ts +6 -0
- package/@types/definitions/props/core/propsMeasurableStyles.d.ts +8 -0
- package/@types/definitions/props/core/propsPosition.d.ts +4 -0
- package/@types/definitions/props/core/propsTag.d.ts +4 -0
- package/@types/definitions/props/core/propsTextColor.d.ts +3 -0
- package/@types/definitions/props/core/propsToggleButtonGroupVariant.d.ts +3 -0
- package/@types/definitions/props/index.d.ts +70 -0
- package/@types/definitions/props/propsAlert.d.ts +7 -0
- package/@types/definitions/props/propsApp.d.ts +2 -0
- package/@types/definitions/props/propsAppBar.d.ts +9 -0
- package/@types/definitions/props/propsAutocomplete.d.ts +40 -0
- package/@types/definitions/props/propsBadge.d.ts +19 -0
- package/@types/definitions/props/propsBottomNavigation.d.ts +14 -0
- package/@types/definitions/props/propsBreadcrumbs.d.ts +7 -0
- package/@types/definitions/props/propsButton.d.ts +10 -0
- package/@types/definitions/props/propsCalendar.d.ts +27 -0
- package/@types/definitions/props/propsCard.d.ts +2 -0
- package/@types/definitions/props/propsCarousel.d.ts +12 -0
- package/@types/definitions/props/propsCarouselItem.d.ts +3 -0
- package/@types/definitions/props/propsCheckbox.d.ts +9 -0
- package/@types/definitions/props/propsChip.d.ts +7 -0
- package/@types/definitions/props/propsColumn.d.ts +10 -0
- package/@types/definitions/props/propsContainer.d.ts +8 -0
- package/@types/definitions/props/propsDatePicker.d.ts +15 -0
- package/@types/definitions/props/propsDatePickerFormat.d.ts +5 -0
- package/@types/definitions/props/propsDatePickerInput.d.ts +18 -0
- package/@types/definitions/props/propsDatePickerItem.d.ts +18 -0
- package/@types/definitions/props/propsDatePickerItemSwitch.d.ts +9 -0
- package/@types/definitions/props/propsDatePickerItemTitle.d.ts +3 -0
- package/@types/definitions/props/propsDialog.d.ts +10 -0
- package/@types/definitions/props/propsDivider.d.ts +3 -0
- package/@types/definitions/props/propsDroppable.d.ts +2 -0
- package/@types/definitions/props/propsExpansionPanels.d.ts +8 -0
- package/@types/definitions/props/propsFooter.d.ts +6 -0
- package/@types/definitions/props/propsFormInput.d.ts +10 -0
- package/@types/definitions/props/propsIcon.d.ts +10 -0
- package/@types/definitions/props/propsImage.d.ts +9 -0
- package/@types/definitions/props/propsImageLoader.d.ts +11 -0
- package/@types/definitions/props/propsInput.d.ts +32 -0
- package/@types/definitions/props/propsLayout.d.ts +6 -0
- package/@types/definitions/props/propsLayoutProvider.d.ts +4 -0
- package/@types/definitions/props/propsLink.d.ts +7 -0
- package/@types/definitions/props/propsList.d.ts +10 -0
- package/@types/definitions/props/propsListItem.d.ts +7 -0
- package/@types/definitions/props/propsListMediaItem.d.ts +4 -0
- package/@types/definitions/props/propsMain.d.ts +4 -0
- package/@types/definitions/props/propsMenu.d.ts +9 -0
- package/@types/definitions/props/propsNavigationDrawer.d.ts +20 -0
- package/@types/definitions/props/propsOverlay.d.ts +8 -0
- package/@types/definitions/props/propsProgressCircular.d.ts +8 -0
- package/@types/definitions/props/propsProgressLinear.d.ts +9 -0
- package/@types/definitions/props/propsRadioGroup.d.ts +9 -0
- package/@types/definitions/props/propsRow.d.ts +11 -0
- package/@types/definitions/props/propsScrollable.d.ts +5 -0
- package/@types/definitions/props/propsSelect.d.ts +13 -0
- package/@types/definitions/props/propsSheet.d.ts +2 -0
- package/@types/definitions/props/propsSingleGroup.d.ts +6 -0
- package/@types/definitions/props/propsSingleGroupItem.d.ts +5 -0
- package/@types/definitions/props/propsSizePreset.d.ts +4 -0
- package/@types/definitions/props/propsSizeUnion.d.ts +4 -0
- package/@types/definitions/props/propsSlideGroup.d.ts +11 -0
- package/@types/definitions/props/propsSnackbar.d.ts +6 -0
- package/@types/definitions/props/propsSplitView.d.ts +9 -0
- package/@types/definitions/props/propsStepper.d.ts +10 -0
- package/@types/definitions/props/propsStepperStep.d.ts +6 -0
- package/@types/definitions/props/propsSwitch.d.ts +5 -0
- package/@types/definitions/props/propsTab.d.ts +5 -0
- package/@types/definitions/props/propsTable.d.ts +58 -0
- package/@types/definitions/props/propsTabs.d.ts +12 -0
- package/@types/definitions/props/propsTextarea.d.ts +25 -0
- package/@types/definitions/props/propsToggleButton.d.ts +3 -0
- package/@types/definitions/props/propsToggleButtonGroup.d.ts +8 -0
- package/@types/definitions/props/propsToolbar.d.ts +11 -0
- package/@types/definitions/props/propsToolbarTitle.d.ts +4 -0
- package/@types/definitions/props/propsTooltip.d.ts +9 -0
- package/@types/definitions/props/propsWindow.d.ts +13 -0
- package/@types/definitions/props/propsWindowItem.d.ts +2 -0
- package/@types/definitions/provider.d.ts +20 -0
- package/@types/directives/index.d.ts +2 -0
- package/@types/directives/resize.d.ts +2 -0
- package/@types/directives/scroll.d.ts +2 -0
- package/@types/helpers/autocompleteHelpers.d.ts +7 -0
- package/@types/helpers/colorHelpers.d.ts +3 -0
- package/@types/helpers/createAppStore.d.ts +77 -0
- package/@types/helpers/display.d.ts +1 -0
- package/@types/helpers/index.d.ts +6 -0
- package/@types/helpers/selectItemHelpers.d.ts +4 -0
- package/@types/helpers/tableHelpers.d.ts +9 -0
- package/@types/helpers/themeHelpers.d.ts +2 -0
- package/@types/index.d.ts +10 -0
- package/@types/lib/browser.d.ts +26 -0
- package/@types/lib/button.d.ts +3 -0
- package/@types/lib/color.d.ts +19 -0
- package/@types/lib/compositionApi.d.ts +2 -0
- package/@types/lib/formatNumber.d.ts +1 -0
- package/@types/lib/getCleanSetObject.d.ts +5 -0
- package/@types/lib/getNumericCssAttribute.d.ts +1 -0
- package/@types/lib/getNumericValue.d.ts +13 -0
- package/@types/lib/getPluginName.d.ts +1 -0
- package/@types/lib/htmlClass.d.ts +1 -0
- package/@types/lib/htmlToText.d.ts +2 -0
- package/@types/lib/index.d.ts +12 -0
- package/@types/lib/isEmpty.d.ts +1 -0
- package/@types/lib/retry.d.ts +1 -0
- package/@types/lib/scroll.d.ts +13 -0
- package/@types/lib/wait.d.ts +1 -0
- package/@types/modules/index.d.ts +1 -0
- package/@types/modules/sUI.d.ts +2 -0
- package/@types/repositories/calendarRepository.d.ts +3 -0
- package/@types/repositories/colorRepository.d.ts +14 -0
- package/@types/repositories/columnRepository.d.ts +9 -0
- package/@types/repositories/core/appProviderRepository.d.ts +4 -0
- package/@types/repositories/datePicker.d.ts +18 -0
- package/@types/repositories/form.d.ts +66 -0
- package/@types/repositories/htmlClassRepository.d.ts +1 -0
- package/@types/repositories/index.d.ts +9 -0
- package/@types/repositories/positionRepository.d.ts +10 -0
- package/@types/repositories/tableRepository.d.ts +2 -0
- package/@types/repositories/touchRepository.d.ts +4 -0
- package/@types/services/appBarService.d.ts +41 -0
- package/@types/services/appService.d.ts +6 -0
- package/@types/services/autocompleteService.d.ts +42 -0
- package/@types/services/backgroundScrollService.d.ts +4 -0
- package/@types/services/borderService.d.ts +12 -0
- package/@types/services/calendar/calendarEventService.d.ts +5 -0
- package/@types/services/calendar/calendarMonthlyService.d.ts +14 -0
- package/@types/services/calendar/calendarService.d.ts +8 -0
- package/@types/services/calendar/calendarWeeklyService.d.ts +28 -0
- package/@types/services/calendar/index.d.ts +8 -0
- package/@types/services/calendar/useCalendarDateFormatters.d.ts +6 -0
- package/@types/services/calendar/useCalendarEventHandlers.d.ts +19 -0
- package/@types/services/calendar/useCalendarWeeklyAllDayEvents.d.ts +20 -0
- package/@types/services/calendar/useCalendarWeeklyEventPositioning.d.ts +23 -0
- package/@types/services/colorService.d.ts +19 -0
- package/@types/services/columnService.d.ts +8 -0
- package/@types/services/componentDefaultsService.d.ts +1 -0
- package/@types/services/componentThemeService.d.ts +6 -0
- package/@types/services/core/activatorService.d.ts +16 -0
- package/@types/services/core/clickOutsideService.d.ts +9 -0
- package/@types/services/core/contentService.d.ts +13 -0
- package/@types/services/core/expandableItemCoreService.d.ts +4 -0
- package/@types/services/core/groupCoreItemService.d.ts +11 -0
- package/@types/services/core/groupCoreService.d.ts +16 -0
- package/@types/services/core/index.d.ts +9 -0
- package/@types/services/core/layoutCoreService.d.ts +21 -0
- package/@types/services/core/locationService.d.ts +11 -0
- package/@types/services/core/tableCellCommonService.d.ts +8 -0
- package/@types/services/datePicker/datePickerInputService.d.ts +9 -0
- package/@types/services/datePicker/datePickerItemCoreService.d.ts +30 -0
- package/@types/services/datePicker/datePickerItemDateService.d.ts +18 -0
- package/@types/services/datePicker/datePickerItemMonthService.d.ts +17 -0
- package/@types/services/datePicker/datePickerItemSwitchService.d.ts +11 -0
- package/@types/services/datePicker/datePickerItemTitleService.d.ts +8 -0
- package/@types/services/datePicker/datePickerItemYearService.d.ts +17 -0
- package/@types/services/datePicker/datePickerService.d.ts +7 -0
- package/@types/services/datePicker/index.d.ts +7 -0
- package/@types/services/dialogService.d.ts +32 -0
- package/@types/services/disabledService.d.ts +12 -0
- package/@types/services/displayService.d.ts +24 -0
- package/@types/services/elevationService.d.ts +6 -0
- package/@types/services/expandableItemService.d.ts +5 -0
- package/@types/services/expandableService.d.ts +5 -0
- package/@types/services/formInputService.d.ts +8 -0
- package/@types/services/groupItemService.d.ts +10 -0
- package/@types/services/groupService.d.ts +16 -0
- package/@types/services/index.d.ts +43 -0
- package/@types/services/layoutProviderService.d.ts +28 -0
- package/@types/services/layoutService.d.ts +24 -0
- package/@types/services/linkService.d.ts +21 -0
- package/@types/services/listMediaItemService.d.ts +8 -0
- package/@types/services/measurableStylesService.d.ts +11 -0
- package/@types/services/menuService.d.ts +35 -0
- package/@types/services/navigationDrawerResizeService.d.ts +10 -0
- package/@types/services/navigationDrawerService.d.ts +6 -0
- package/@types/services/positionService.d.ts +10 -0
- package/@types/services/resizeService.d.ts +4 -0
- package/@types/services/scrollService.d.ts +8 -0
- package/@types/services/scrollableService.d.ts +15 -0
- package/@types/services/singleGroupItemService.d.ts +10 -0
- package/@types/services/singleGroupService.d.ts +34 -0
- package/@types/services/sizeService.d.ts +12 -0
- package/@types/services/slideGroupService.d.ts +19 -0
- package/@types/services/table/index.d.ts +3 -0
- package/@types/services/table/tableBodyCellService.d.ts +9 -0
- package/@types/services/table/tableHeadCellService.d.ts +8 -0
- package/@types/services/table/tableService.d.ts +179 -0
- package/@types/services/tagService.d.ts +9 -0
- package/@types/services/textColorService.d.ts +15 -0
- package/@types/services/themeService.d.ts +5 -0
- package/@types/services/toolbarService.d.ts +7 -0
- package/@types/services/touchService.d.ts +2 -0
- package/@types/store/index.d.ts +5 -0
- package/@types/types/app.d.ts +36 -0
- package/@types/types/autocomplete.d.ts +7 -0
- package/@types/types/breadcrumbs.d.ts +8 -0
- package/@types/types/button.d.ts +1 -0
- package/@types/types/calendar.d.ts +61 -0
- package/@types/types/core/color.d.ts +2 -0
- package/@types/types/core/emit.d.ts +1 -0
- package/@types/types/core/form.d.ts +2 -0
- package/@types/types/core/group.d.ts +1 -0
- package/@types/types/core/index.d.ts +4 -0
- package/@types/types/datePicker.d.ts +12 -0
- package/@types/types/display.d.ts +9 -0
- package/@types/types/emits.d.ts +17 -0
- package/@types/types/form.d.ts +9 -0
- package/@types/types/grids.d.ts +2 -0
- package/@types/types/html.d.ts +1 -0
- package/@types/types/icon.d.ts +1 -0
- package/@types/types/index.d.ts +24 -0
- package/@types/types/input.d.ts +3 -0
- package/@types/types/location.d.ts +2 -0
- package/@types/types/materialDesignIcon.d.ts +2 -0
- package/@types/types/menu.d.ts +9 -0
- package/@types/types/resize.d.ts +12 -0
- package/@types/types/scroll.d.ts +26 -0
- package/@types/types/select.d.ts +6 -0
- package/@types/types/size.d.ts +2 -0
- package/@types/types/table.d.ts +39 -0
- package/@types/types/tag.d.ts +1 -0
- package/@types/types/toolbar.d.ts +2 -0
- package/@types/types/touch.d.ts +28 -0
- package/@types/validators/index.d.ts +1 -0
- package/@types/validators/numeric.d.ts +1 -0
- package/@types/vendors/dayjs.d.ts +2 -0
- package/@types/vendors/merge.d.ts +2 -0
- package/@types/vite.config.d.ts +2 -0
- package/@types/vitest.config.d.ts +2 -0
- package/README.md +210 -2
- package/dist/base.css +7282 -0
- package/dist/base.css.map +1 -0
- package/dist/s-ui.css +2 -0
- package/dist/s-ui.js +8976 -0
- package/dist/s-ui.umd.cjs +1 -0
- package/dist/styles/_helpers.scss +9 -0
- package/dist/styles/components/appBar/_variables.scss +4 -0
- package/dist/styles/components/appBar/index.scss +1 -0
- package/dist/styles/components/button/_variables.scss +51 -0
- package/dist/styles/components/button/index.scss +2 -0
- package/dist/styles/components/button/mixins.scss +60 -0
- package/dist/styles/components/cards/index.scss +1 -0
- package/dist/styles/components/cards/variables.scss +5 -0
- package/dist/styles/components/icon/_variables.scss +14 -0
- package/dist/styles/components/icon/index.scss +1 -0
- package/dist/styles/components/index.scss +10 -0
- package/dist/styles/components/layout/_mixins.scss +7 -0
- package/dist/styles/components/layout/_variables.scss +6 -0
- package/dist/styles/components/layout/index.scss +2 -0
- package/dist/styles/components/list/_mixins.scss +53 -0
- package/dist/styles/components/list/index.scss +1 -0
- package/dist/styles/components/menu/_mixins.scss +11 -0
- package/dist/styles/components/menu/index.scss +1 -0
- package/dist/styles/components/table/_mixins.scss +51 -0
- package/dist/styles/components/table/index.scss +1 -0
- package/dist/styles/components/toggleButton/_variables.scss +4 -0
- package/dist/styles/components/toggleButton/index.scss +1 -0
- package/dist/styles/components/window/_variables.scss +2 -0
- package/dist/styles/components/window/index.scss +1 -0
- package/dist/styles/generic/_common.scss +95 -0
- package/dist/styles/generic/_reset.scss +357 -0
- package/dist/styles/generic/_transitions.scss +83 -0
- package/dist/styles/generic/index.scss +3 -0
- package/dist/styles/index.scss +6 -0
- package/dist/styles/lib/_functions.scss +86 -0
- package/dist/styles/lib/index.scss +1 -0
- package/dist/styles/mixins/_app.scss +13 -0
- package/dist/styles/mixins/_border.scss +104 -0
- package/dist/styles/mixins/_dark.scss +31 -0
- package/dist/styles/mixins/_display.scss +9 -0
- package/dist/styles/mixins/_elevation.scss +15 -0
- package/dist/styles/mixins/_grids.scss +66 -0
- package/dist/styles/mixins/_media.scss +14 -0
- package/dist/styles/mixins/_text.scss +44 -0
- package/dist/styles/mixins/_utilities.scss +68 -0
- package/dist/styles/mixins/index.scss +10 -0
- package/dist/styles/modules/breakpoints.module.scss +10 -0
- package/dist/styles/tools/_breakpoint.scss +20 -0
- package/dist/styles/tools/_color.scss +35 -0
- package/dist/styles/tools/index.scss +2 -0
- package/dist/styles/variables/_border.scss +19 -0
- package/dist/styles/variables/_colors.scss +34 -0
- package/dist/styles/variables/_elevations.scss +98 -0
- package/dist/styles/variables/_font.scss +8 -0
- package/dist/styles/variables/_grid.scss +36 -0
- package/dist/styles/variables/_headings.scss +100 -0
- package/dist/styles/variables/_spacers.scss +17 -0
- package/dist/styles/variables/_transitions.scss +16 -0
- package/dist/styles/variables/_utilities.scss +360 -0
- package/dist/styles/variables/index.scss +9 -0
- package/package.json +68 -4
- package/sui-plugin/.claude-plugin/plugin.json +10 -0
- package/sui-plugin/README.md +73 -0
- package/sui-plugin/skills/sui-component/SKILL.md +133 -0
- package/sui-plugin/skills/sui-component/references/alert.md +53 -0
- package/sui-plugin/skills/sui-component/references/autocomplete.md +110 -0
- package/sui-plugin/skills/sui-component/references/badge.md +80 -0
- package/sui-plugin/skills/sui-component/references/breadcrumbs.md +67 -0
- package/sui-plugin/skills/sui-component/references/button.md +74 -0
- package/sui-plugin/skills/sui-component/references/calendar.md +120 -0
- package/sui-plugin/skills/sui-component/references/cards.md +97 -0
- package/sui-plugin/skills/sui-component/references/carousel.md +113 -0
- package/sui-plugin/skills/sui-component/references/chip.md +68 -0
- package/sui-plugin/skills/sui-component/references/date-picker.md +140 -0
- package/sui-plugin/skills/sui-component/references/dialog.md +82 -0
- package/sui-plugin/skills/sui-component/references/divider.md +52 -0
- package/sui-plugin/skills/sui-component/references/droppable.md +68 -0
- package/sui-plugin/skills/sui-component/references/expansion-panels.md +108 -0
- package/sui-plugin/skills/sui-component/references/form.md +175 -0
- package/sui-plugin/skills/sui-component/references/icon.md +61 -0
- package/sui-plugin/skills/sui-component/references/image.md +56 -0
- package/sui-plugin/skills/sui-component/references/layout.md +226 -0
- package/sui-plugin/skills/sui-component/references/list.md +153 -0
- package/sui-plugin/skills/sui-component/references/menu.md +74 -0
- package/sui-plugin/skills/sui-component/references/overlay.md +48 -0
- package/sui-plugin/skills/sui-component/references/progress.md +78 -0
- package/sui-plugin/skills/sui-component/references/sheet.md +58 -0
- package/sui-plugin/skills/sui-component/references/slide-group.md +123 -0
- package/sui-plugin/skills/sui-component/references/snackbar.md +59 -0
- package/sui-plugin/skills/sui-component/references/split-view.md +59 -0
- package/sui-plugin/skills/sui-component/references/stepper.md +92 -0
- package/sui-plugin/skills/sui-component/references/table.md +151 -0
- package/sui-plugin/skills/sui-component/references/tabs.md +88 -0
- package/sui-plugin/skills/sui-component/references/toggle-button-group.md +109 -0
- package/sui-plugin/skills/sui-component/references/toolbar.md +101 -0
- package/sui-plugin/skills/sui-component/references/tooltip.md +65 -0
- package/sui-plugin/skills/sui-component/references/window.md +75 -0
- package/sui-plugin/skills/sui-form/SKILL.md +225 -0
- package/sui-plugin/skills/sui-getting-started/SKILL.md +374 -0
- package/sui-plugin/skills/sui-layout/SKILL.md +111 -0
- package/sui-plugin/skills/sui-utilities/SKILL.md +40 -0
- package/sui-plugin/skills/sui-utilities/docs/classes.md +487 -0
- package/sui-plugin/skills/sui-utilities/docs/directives.md +200 -0
- package/sui-plugin/skills/sui-utilities/docs/helpers.md +583 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PropsColor, type PropsDisabled, type PropsTag } from './core';
|
|
2
|
+
import { type PropsSingleGroup } from './propsSingleGroup';
|
|
3
|
+
import { type MaterialDesignIcon, type TouchHandlers } from '../../types';
|
|
4
|
+
export type PropsWindow = {
|
|
5
|
+
nextIcon?: MaterialDesignIcon;
|
|
6
|
+
prevIcon?: MaterialDesignIcon;
|
|
7
|
+
hideArrows?: boolean;
|
|
8
|
+
touch?: boolean | TouchHandlers;
|
|
9
|
+
noAnimation?: boolean;
|
|
10
|
+
selectedClass?: string;
|
|
11
|
+
mandatory?: boolean;
|
|
12
|
+
continuous?: boolean;
|
|
13
|
+
} & PropsColor & PropsDisabled & PropsTag & PropsSingleGroup;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
+
import { type GroupItemValue } from '../types';
|
|
3
|
+
export interface GroupProvider<T extends GroupItemValue = GroupItemValue> {
|
|
4
|
+
registerItem: (name: T, attrs: {
|
|
5
|
+
element?: Ref<HTMLElement | null>;
|
|
6
|
+
}) => number;
|
|
7
|
+
unregisterItem: (name: T | undefined) => void;
|
|
8
|
+
toggleItem: (name: T | undefined) => void;
|
|
9
|
+
isSelectedItem: (name: T | undefined) => boolean;
|
|
10
|
+
items: ComputedRef<Array<{
|
|
11
|
+
value: T;
|
|
12
|
+
readonly element: HTMLElement | null;
|
|
13
|
+
}>>;
|
|
14
|
+
}
|
|
15
|
+
export interface SingleGroupProvider extends GroupProvider {
|
|
16
|
+
selectedItem: ComputedRef<{
|
|
17
|
+
value?: GroupItemValue | undefined;
|
|
18
|
+
id: number;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type AutocompleteModelTypeBase } from '../types/autocomplete';
|
|
2
|
+
import type { SelectItem } from '../types';
|
|
3
|
+
import type { AutocompleteModelType } from '../types/autocomplete';
|
|
4
|
+
export declare const isDelimiter: (event: KeyboardEvent, delimiter?: string | string[] | RegExp) => boolean;
|
|
5
|
+
export declare const getItemFromText: (items: SelectItem[] | string[] | undefined, inputText: string | number | undefined | null) => SelectItem | undefined;
|
|
6
|
+
export declare const getItemFromValue: (items: SelectItem[] | string[] | undefined, inputValue: string | number | undefined | null) => SelectItem | undefined;
|
|
7
|
+
export declare const getSafeTypeModelValue: <V extends boolean = boolean>(multiple: V | boolean | undefined, newModelValue: AutocompleteModelType<V> | AutocompleteModelTypeBase | AutocompleteModelTypeBase[]) => AutocompleteModelType<V>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CssColor } from '../constants';
|
|
2
|
+
export declare const getCssColor: (color: string) => CssColor | undefined;
|
|
3
|
+
export declare const getCssColorHex: (color: string) => "#F0F8FF" | "#FAEBD7" | "#00FFFF" | "#7FFFD4" | "#F0FFFF" | "#F5F5DC" | "#FFE4C4" | "#000000" | "#FFEBCD" | "#0000FF" | "#8A2BE2" | "#A52A2A" | "#DEB887" | "#2196F3" | "#5F9EA0" | "#7FFF00" | "#CCCCCC" | "#D2691E" | "#FF7F50" | "#6495ED" | "#FFF8DC" | "#DC143C" | "#00008B" | "#008B8B" | "#B8860B" | "#A9A9A9" | "#006400" | "#BDB76B" | "#8B008B" | "#556B2F" | "#FF8C00" | "#9932CC" | "#8B0000" | "#E9967A" | "#8FBC8F" | "#483D8B" | "#2F4F4F" | "#00CED1" | "#9400D3" | "#FF1493" | "#00BFFF" | "#696969" | "#1E90FF" | "#B22222" | "#FFFAF0" | "#228B22" | "#FF00FF" | "#DCDCDC" | "#F8F8FF" | "#FFD700" | "#DAA520" | "#808080" | "#008000" | "#ADFF2F" | "#F0FFF0" | "#FF69B4" | "#CD5C5C" | "#4B0082" | "#FFFFF0" | "#F0E68C" | "#E6E6FA" | "#FFF0F5" | "#7CFC00" | "#FFFACD" | "#ADD8E6" | "#F08080" | "#E0FFFF" | "#FAFAD2" | "#D3D3D3" | "#90EE90" | "#FFB6C1" | "#FFA07A" | "#20B2AA" | "#87CEFA" | "#778899" | "#B0C4DE" | "#FFFFE0" | "#00FF00" | "#32CD32" | "#FAF0E6" | "#800000" | "#66CDAA" | "#0000CD" | "#BA55D3" | "#9370DB" | "#3CB371" | "#7B68EE" | "#00FA9A" | "#48D1CC" | "#C71585" | "#191970" | "#F5FFFA" | "#FFE4E1" | "#FFE4B5" | "#FFDEAD" | "#000080" | "#FDF5E6" | "#808000" | "#6B8E23" | "#FFA500" | "#FF4500" | "#DA70D6" | "#EEE8AA" | "#98FB98" | "#AFEEEE" | "#DB7093" | "#FFEFD5" | "#FFDAB9" | "#CD853F" | "#FFC0CB" | "#DDA0DD" | "#B0E0E6" | "#800080" | "#663399" | "#FF0000" | "#BC8F8F" | "#4169E1" | "#8B4513" | "#FA8072" | "#F4A460" | "#2E8B57" | "#FFF5EE" | "#A0522D" | "#C0C0C0" | "#87CEEB" | "#6A5ACD" | "#708090" | "#FFFAFA" | "#00FF7F" | "#4682B4" | "#D2B48C" | "#008080" | "#D8BFD8" | "#FF6347" | "#40E0D0" | "#EE82EE" | "#F5DEB3" | "#FFFFFF" | "#F5F5F5" | "#FFFF00" | "#9ACD32" | undefined;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { type AppStateOptions } from '../definitions';
|
|
2
|
+
export declare const createAppStore: <T extends string = "sui">(name: T, config?: AppStateOptions) => {
|
|
3
|
+
readonly name: import("vue").UnwrapRef<T>;
|
|
4
|
+
display: {
|
|
5
|
+
thresholds: {
|
|
6
|
+
xs: number;
|
|
7
|
+
sm: number;
|
|
8
|
+
md: number;
|
|
9
|
+
lg: number;
|
|
10
|
+
xl: number;
|
|
11
|
+
xxl: number;
|
|
12
|
+
};
|
|
13
|
+
scrollBarWidth: number;
|
|
14
|
+
};
|
|
15
|
+
themes: {
|
|
16
|
+
light: {
|
|
17
|
+
appColors: {
|
|
18
|
+
[x: string]: string;
|
|
19
|
+
appBar: string;
|
|
20
|
+
title: string;
|
|
21
|
+
text: string;
|
|
22
|
+
textErrorHover: string;
|
|
23
|
+
secondaryText: string;
|
|
24
|
+
anchor: string;
|
|
25
|
+
background: string;
|
|
26
|
+
button: string;
|
|
27
|
+
card: string;
|
|
28
|
+
switch: string;
|
|
29
|
+
border: string;
|
|
30
|
+
disabled: string;
|
|
31
|
+
inputPlaceholderShown: string;
|
|
32
|
+
snackbar: string;
|
|
33
|
+
};
|
|
34
|
+
presetColors: {
|
|
35
|
+
[x: string]: string;
|
|
36
|
+
primary: string;
|
|
37
|
+
secondary: string;
|
|
38
|
+
success: string;
|
|
39
|
+
info: string;
|
|
40
|
+
warning: string;
|
|
41
|
+
important: string;
|
|
42
|
+
error: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
dark: {
|
|
46
|
+
appColors: {
|
|
47
|
+
[x: string]: string;
|
|
48
|
+
appBar: string;
|
|
49
|
+
title: string;
|
|
50
|
+
text: string;
|
|
51
|
+
textErrorHover: string;
|
|
52
|
+
secondaryText: string;
|
|
53
|
+
anchor: string;
|
|
54
|
+
background: string;
|
|
55
|
+
button: string;
|
|
56
|
+
card: string;
|
|
57
|
+
switch: string;
|
|
58
|
+
border: string;
|
|
59
|
+
disabled: string;
|
|
60
|
+
inputPlaceholderShown: string;
|
|
61
|
+
snackbar: string;
|
|
62
|
+
};
|
|
63
|
+
presetColors: {
|
|
64
|
+
[x: string]: string;
|
|
65
|
+
primary: string;
|
|
66
|
+
secondary: string;
|
|
67
|
+
success: string;
|
|
68
|
+
info: string;
|
|
69
|
+
warning: string;
|
|
70
|
+
important: string;
|
|
71
|
+
error: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
theme: import("..").AppThemeType;
|
|
76
|
+
components: import("../definitions").ComponentsOption;
|
|
77
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const listenDisplayChange: () => void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SelectItem } from '../types';
|
|
2
|
+
export declare const getItemText: <T extends SelectItem | string | undefined | null = SelectItem | string | undefined | null>(item: T) => string | null | undefined;
|
|
3
|
+
export declare const getItemValue: <T extends SelectItem | string | undefined | null = SelectItem | string | undefined | null>(item: T) => string | number | null | undefined;
|
|
4
|
+
export declare const getSelectItem: <T extends SelectItem | string | undefined | null = SelectItem | string | undefined | null>(item: T) => SelectItem;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PropsTableBodyCell } from '../definitions';
|
|
2
|
+
import type { TableItem, TableItemClass, TableItemStyle, TableRowClass } from '../types';
|
|
3
|
+
export declare const getTableRowClass: <T extends TableItem = TableItem>(props: Pick<PropsTableBodyCell<T>, "item" | "cellType">, itemRowClass: TableRowClass<T> | undefined) => Partial<{
|
|
4
|
+
[x: string]: NonNullable<boolean | null | undefined>;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const getTableItemClass: <T extends TableItem = TableItem, CellKey extends string = keyof TableItem>(props: Pick<PropsTableBodyCell<T, CellKey>, "cellKey" | "item" | "cellType">, cellClass: TableItemClass<T, CellKey> | undefined) => Partial<{
|
|
7
|
+
[x: string]: NonNullable<boolean | null | undefined>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const getTableItemStyle: <T extends TableItem = TableItem, CellKey extends string = keyof TableItem>(props: Pick<PropsTableBodyCell<T, CellKey>, "cellKey" | "item" | "cellType">, cellStyle: TableItemStyle<T, CellKey> | undefined) => import("vue").CSSProperties | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './definitions';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './constants';
|
|
5
|
+
export * from './configs';
|
|
6
|
+
export * from './helpers';
|
|
7
|
+
export { useClickOutsideService as useClickOutside, useDisplayService as useDisplay, useScrollService as useScroll, useThemeService as useTheme, } from './services';
|
|
8
|
+
export * from './modules';
|
|
9
|
+
export * from './componentsTypes';
|
|
10
|
+
export { getFormInputModelValueRules } from './repositories/form';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const getDocument: () => Document | null;
|
|
2
|
+
export declare const getWindow: () => (Window & typeof globalThis) | null;
|
|
3
|
+
export declare const querySelector: (selectors: keyof HTMLElementTagNameMap) => HTMLElement | null;
|
|
4
|
+
export declare const hasScrollFeature: () => boolean;
|
|
5
|
+
export declare const getNavigator: () => Navigator | null;
|
|
6
|
+
export declare const getUserAgent: () => string | null;
|
|
7
|
+
export declare const hasDragDropFeature: () => boolean;
|
|
8
|
+
export declare const isBrowser: () => boolean;
|
|
9
|
+
export interface ViewportLocation {
|
|
10
|
+
left: number;
|
|
11
|
+
top: number;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
right: number;
|
|
15
|
+
bottom: number;
|
|
16
|
+
isWithinOverlay: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const getViewportLocation: () => {
|
|
19
|
+
left: number;
|
|
20
|
+
top: number;
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
right: number;
|
|
24
|
+
bottom: number;
|
|
25
|
+
isWithinOverlay: boolean;
|
|
26
|
+
} | null;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const hexToRgb: (hex: string) => {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
} | null;
|
|
6
|
+
export declare const convertToRgb: (rgb: string | [number, number, number] | {
|
|
7
|
+
r: number;
|
|
8
|
+
g: number;
|
|
9
|
+
b: number;
|
|
10
|
+
}) => {
|
|
11
|
+
r: number;
|
|
12
|
+
g: number;
|
|
13
|
+
b: number;
|
|
14
|
+
} | null;
|
|
15
|
+
export declare const isDarkColor: (rgb: string | [number, number, number] | {
|
|
16
|
+
r: number;
|
|
17
|
+
g: number;
|
|
18
|
+
b: number;
|
|
19
|
+
} | null | undefined, threshold?: number) => boolean | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatNumber: (number: number | string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getNumericCssAttribute: (attribute?: string | number | null | undefined, unit?: string) => string | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO: Sura - pass options as object, add more options such as isPositive etc.
|
|
3
|
+
* @param {any} [options.defaultValue] - default is `null`
|
|
4
|
+
*/
|
|
5
|
+
export declare const getNumericValue: <D extends number | null = null, S extends boolean = false, R extends (S extends true ? number : D | number) = S extends true ? number : D | number>(value: number | string | null | undefined, options?: {
|
|
6
|
+
defaultValue?: D;
|
|
7
|
+
allowDecimal?: boolean | undefined | null;
|
|
8
|
+
isPositive?: boolean | undefined | null;
|
|
9
|
+
isStrictIntCheck?: boolean;
|
|
10
|
+
isStrictParse?: S;
|
|
11
|
+
max?: number | string | undefined | string | null;
|
|
12
|
+
min?: number | string | undefined | string | null;
|
|
13
|
+
}) => R;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPluginName: <T extends string = "sui">(name?: string | symbol) => T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getHtmlClassAttributeObject: (classes: string | string[] | Record<string, boolean | null | undefined> | null | undefined) => Record<string, boolean | null | undefined>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './browser';
|
|
2
|
+
export * from './color';
|
|
3
|
+
export * from './compositionApi';
|
|
4
|
+
export * from './formatNumber';
|
|
5
|
+
export * from './getCleanSetObject';
|
|
6
|
+
export * from './getNumericCssAttribute';
|
|
7
|
+
export * from './getNumericValue';
|
|
8
|
+
export * from './htmlToText';
|
|
9
|
+
export * from './scroll';
|
|
10
|
+
export * from './wait';
|
|
11
|
+
export * from './htmlClass';
|
|
12
|
+
export * from './retry';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isEmpty: (value: any) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const retry: <T>(fn: () => Promise<T | false>, attempts: number, delay: number) => Promise<T | false>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
mozRequestAnimationFrame?: typeof window.requestAnimationFrame;
|
|
4
|
+
webkitRequestAnimationFrame?: typeof window.requestAnimationFrame;
|
|
5
|
+
msRequestAnimationFrame?: typeof window.requestAnimationFrame;
|
|
6
|
+
mozCancelAnimationFrame?: typeof window.cancelAnimationFrame;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare const scrollIntoView: (el: string | HTMLElement | null, options?: ScrollToOptions | undefined) => void;
|
|
10
|
+
export declare const smoothScrollTo: (el: HTMLElement | string | null, options?: {
|
|
11
|
+
offsetTop?: number;
|
|
12
|
+
}) => void;
|
|
13
|
+
export declare const smoothElementScroll: (element: HTMLElement | null, options?: ScrollToOptions | undefined) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const wait: (milliseconds?: number) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sUI';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const useColorRepository: (appName?: string | symbol) => {
|
|
2
|
+
getAppColor: (color: string | undefined | null) => string | undefined;
|
|
3
|
+
getIsAppColor: (color: string | undefined | null) => boolean;
|
|
4
|
+
getPresetColor: (color: string | undefined | null) => string | undefined;
|
|
5
|
+
getIsPresetColor: (color: string | undefined | null) => boolean;
|
|
6
|
+
getPresetColorValue: (color: string | undefined | null) => string | undefined;
|
|
7
|
+
getIsPredefinedPresetColor: (color: string | undefined | null) => boolean;
|
|
8
|
+
getBackgroundColorAttributes: (color: string | undefined | null) => {
|
|
9
|
+
class: {
|
|
10
|
+
[x: string]: boolean;
|
|
11
|
+
};
|
|
12
|
+
style: Partial<{}>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const isOptionalNumeric: (options?: {
|
|
2
|
+
min?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
whitelist?: Array<string | number>;
|
|
5
|
+
}) => (possiblyNumeric: number | string | null) => boolean;
|
|
6
|
+
export declare const orderValidator: (options?: {
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
}) => (value: string | number | null) => boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type DatePickerCompareUnit, type DatePickerSelectTypeType, type DatePickerStepUnit, type DatePickerSwitchType, type DatePickerTypeType } from '../types';
|
|
2
|
+
import dayjs from '../vendors/dayjs';
|
|
3
|
+
export declare const getDatePickerFormat: (type: DatePickerTypeType) => "YYYY" | "YYYY-MM-DD" | "YYYY-MM";
|
|
4
|
+
export declare const getDatePickerSwitchType: (type: DatePickerSelectTypeType) => DatePickerSwitchType | undefined;
|
|
5
|
+
/** Granularity of a single carousel step for the given picker type. */
|
|
6
|
+
export declare const getDatePickerStepUnit: (type: DatePickerTypeType) => DatePickerStepUnit;
|
|
7
|
+
/** Granularity used to compare a value against the `min`/`max` bounds for the given picker type. */
|
|
8
|
+
export declare const getDatePickerCompareUnit: (type: DatePickerTypeType) => DatePickerCompareUnit;
|
|
9
|
+
/**
|
|
10
|
+
* Parses a value of the given picker type into a dayjs instance.
|
|
11
|
+
* `month` and `year` values are widened to the first day of that period.
|
|
12
|
+
*/
|
|
13
|
+
export declare const getDatePickerDate: (value: string | null | undefined, type: DatePickerTypeType) => dayjs.Dayjs;
|
|
14
|
+
/**
|
|
15
|
+
* Re-expresses a value in the format of the given picker type.
|
|
16
|
+
* Used when the picker type changes and the model has to be converted.
|
|
17
|
+
*/
|
|
18
|
+
export declare const convertDatePickerValue: (value: string | null | undefined, type: DatePickerTypeType) => string | null | undefined;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type useI18n } from 'vue-i18n';
|
|
2
|
+
import { type FormInputModelValueRule } from '../types';
|
|
3
|
+
export declare const getFormInputModelValueRules: (i18n: Pick<ReturnType<typeof useI18n>, "t">) => {
|
|
4
|
+
/** @example `${options.target}を入力してください。` */
|
|
5
|
+
required: (options: {
|
|
6
|
+
target: string;
|
|
7
|
+
}) => FormInputModelValueRule;
|
|
8
|
+
/** @example `${options.target}は${options.maxLength}文字以内で入力してください。` */
|
|
9
|
+
maxLength: (options: {
|
|
10
|
+
target: string;
|
|
11
|
+
maxLength: number;
|
|
12
|
+
}) => FormInputModelValueRule;
|
|
13
|
+
length: (options: {
|
|
14
|
+
target: string;
|
|
15
|
+
length: number;
|
|
16
|
+
}) => FormInputModelValueRule;
|
|
17
|
+
lengthNumeric: (options: {
|
|
18
|
+
target: string;
|
|
19
|
+
length: number;
|
|
20
|
+
}) => FormInputModelValueRule;
|
|
21
|
+
match: (options: {
|
|
22
|
+
target: string;
|
|
23
|
+
comparator: string;
|
|
24
|
+
matchTo: RegExp;
|
|
25
|
+
}) => FormInputModelValueRule;
|
|
26
|
+
/** @example `${options.target}を${formatNumber(options.max)}${options.unit ?? ''}までの範囲で入力してください。` */
|
|
27
|
+
maxUnit: (options: {
|
|
28
|
+
target: string;
|
|
29
|
+
multiplier?: number;
|
|
30
|
+
max: number;
|
|
31
|
+
unit?: string;
|
|
32
|
+
}) => FormInputModelValueRule;
|
|
33
|
+
max: (options: {
|
|
34
|
+
target: string;
|
|
35
|
+
multiplier?: number;
|
|
36
|
+
max: number;
|
|
37
|
+
}) => FormInputModelValueRule;
|
|
38
|
+
/** @example `${options.target}を${formatNumber(options.step)}${options.unit}単位で入力してください。` */
|
|
39
|
+
step: (options: {
|
|
40
|
+
target: string;
|
|
41
|
+
multiplier?: number;
|
|
42
|
+
step: number;
|
|
43
|
+
unit: string;
|
|
44
|
+
}) => FormInputModelValueRule;
|
|
45
|
+
select: (options: {
|
|
46
|
+
target: string;
|
|
47
|
+
}) => FormInputModelValueRule;
|
|
48
|
+
shouldFix: (options: {
|
|
49
|
+
target: string;
|
|
50
|
+
pattern: RegExp;
|
|
51
|
+
}) => FormInputModelValueRule;
|
|
52
|
+
badInput: (options: {
|
|
53
|
+
target: string;
|
|
54
|
+
pattern: RegExp;
|
|
55
|
+
}) => FormInputModelValueRule;
|
|
56
|
+
matchPattern: (options: {
|
|
57
|
+
target: string;
|
|
58
|
+
pattern: RegExp;
|
|
59
|
+
}) => FormInputModelValueRule;
|
|
60
|
+
numeric: (options: {
|
|
61
|
+
target: string;
|
|
62
|
+
}) => FormInputModelValueRule;
|
|
63
|
+
integer: (options: {
|
|
64
|
+
target: string;
|
|
65
|
+
}) => FormInputModelValueRule;
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getHtmlClassAttributeObject: (classes: string | string[] | Record<string, boolean | null | undefined> | null | undefined) => Record<string, boolean | null | undefined>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './calendarRepository';
|
|
2
|
+
export * from './colorRepository';
|
|
3
|
+
export * from './columnRepository';
|
|
4
|
+
export * from './datePicker';
|
|
5
|
+
export * from './form';
|
|
6
|
+
export * from './htmlClassRepository';
|
|
7
|
+
export * from './tableRepository';
|
|
8
|
+
export * from './touchRepository';
|
|
9
|
+
export * from './positionRepository';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Position } from '../constants';
|
|
2
|
+
interface Params {
|
|
3
|
+
position?: Position;
|
|
4
|
+
name?: string;
|
|
5
|
+
for?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const getIsAbsolutePosition: (params: Params) => boolean;
|
|
8
|
+
export declare const getIsFixedPosition: (params: Params) => boolean;
|
|
9
|
+
export declare const getIsFixedOrAbsolutePosition: (params: Params) => boolean;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type TouchWrapper } from '../types';
|
|
2
|
+
export declare const touchend: (event: TouchEvent, wrapper: TouchWrapper) => void;
|
|
3
|
+
export declare const touchmove: (event: TouchEvent, wrapper: TouchWrapper) => void;
|
|
4
|
+
export declare const touchstart: (event: TouchEvent, wrapper: TouchWrapper) => void;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type PropsAppBar } from '../definitions';
|
|
2
|
+
export declare const useAppBarService: (props: PropsAppBar) => {
|
|
3
|
+
computedExtensionHeight: import("vue").ComputedRef<number>;
|
|
4
|
+
contentHeight: import("vue").ComputedRef<number>;
|
|
5
|
+
isExtended: import("vue").ComputedRef<boolean>;
|
|
6
|
+
toolbarHeight: import("vue").ComputedRef<number>;
|
|
7
|
+
app: import("vue").Ref<{
|
|
8
|
+
left: number;
|
|
9
|
+
right: number;
|
|
10
|
+
offsetTop: number;
|
|
11
|
+
bottomNavigationHeight: number;
|
|
12
|
+
appBarPosition: import("..").Position;
|
|
13
|
+
appBarHeight: number;
|
|
14
|
+
footerHeight: number;
|
|
15
|
+
}, {
|
|
16
|
+
left: number;
|
|
17
|
+
right: number;
|
|
18
|
+
offsetTop: number;
|
|
19
|
+
bottomNavigationHeight: number;
|
|
20
|
+
appBarPosition: import("..").Position;
|
|
21
|
+
appBarHeight: number;
|
|
22
|
+
footerHeight: number;
|
|
23
|
+
}>;
|
|
24
|
+
classes: import("vue").ComputedRef<{
|
|
25
|
+
s_appBar: boolean;
|
|
26
|
+
's_appBar--hideShadow': boolean;
|
|
27
|
+
's_appBar--elevateOnScroll': boolean | undefined;
|
|
28
|
+
's_appBar--fixed': boolean;
|
|
29
|
+
k_position__fixed: boolean | undefined;
|
|
30
|
+
k_position__absolute: boolean | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
styles: import("vue").ComputedRef<Partial<{
|
|
33
|
+
marginLeft: string;
|
|
34
|
+
marginRight: string;
|
|
35
|
+
width: string;
|
|
36
|
+
top: string;
|
|
37
|
+
transform: string;
|
|
38
|
+
}>>;
|
|
39
|
+
isActive: import("vue").Ref<boolean, boolean>;
|
|
40
|
+
updateIsAppBarDisplayStatus: () => void;
|
|
41
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ComponentPublicInstance, type EmitFn, type Ref, type ShallowRef } from 'vue';
|
|
2
|
+
import type { AutocompleteEmitEvents, AutocompleteModelType, AutocompleteModelTypeBase } from '../types/autocomplete';
|
|
3
|
+
import type { PropsAutocomplete } from '../definitions';
|
|
4
|
+
import type { SelectItem } from '../types';
|
|
5
|
+
export declare const useAutocompleteService: <T extends boolean = false>(props: PropsAutocomplete<T>, model: Ref<AutocompleteModelType<T> | null | undefined>, emit: EmitFn<AutocompleteEmitEvents>, templateRefs: {
|
|
6
|
+
activatorElement: ShallowRef<HTMLElement | null>;
|
|
7
|
+
contentElement: ShallowRef<HTMLElement | ComponentPublicInstance | null>;
|
|
8
|
+
inputElement: Ref<HTMLElement | null>;
|
|
9
|
+
}) => {
|
|
10
|
+
queryText: Ref<string, string>;
|
|
11
|
+
contentClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
12
|
+
contentStyles: import("vue").ComputedRef<import("../types").MenuContentStyle>;
|
|
13
|
+
filteredItems: import("vue").ComputedRef<(string | SelectItem)[]>;
|
|
14
|
+
showCreateOption: import("vue").ComputedRef<boolean>;
|
|
15
|
+
isFocused: Ref<boolean, boolean>;
|
|
16
|
+
isMenuOpen: Ref<boolean, boolean>;
|
|
17
|
+
isMultiple: import("vue").ComputedRef<boolean>;
|
|
18
|
+
clear: () => void;
|
|
19
|
+
updateLocation: (viewportLocation?: {
|
|
20
|
+
left: number;
|
|
21
|
+
top: number;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
right: number;
|
|
25
|
+
bottom: number;
|
|
26
|
+
isWithinOverlay: boolean;
|
|
27
|
+
} | null) => void;
|
|
28
|
+
onBlur: (hideMenu?: boolean) => void;
|
|
29
|
+
onFocus: () => Promise<void>;
|
|
30
|
+
onEnter: () => void;
|
|
31
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
32
|
+
removeInput: (value: AutocompleteModelTypeBase) => Promise<void>;
|
|
33
|
+
onBackspace: () => void;
|
|
34
|
+
getIsSelected: (item: SelectItem | string) => boolean | undefined;
|
|
35
|
+
getItemText: <T_1 extends SelectItem | string | undefined | null = string | SelectItem | null | undefined>(item: T_1) => string | null | undefined;
|
|
36
|
+
onClickOutside: (event: Event) => void;
|
|
37
|
+
onSelectItem: (item: SelectItem | string) => Promise<void>;
|
|
38
|
+
onSelectUnlisted: () => Promise<void>;
|
|
39
|
+
updateModelType: (multiple: boolean) => void;
|
|
40
|
+
updateItemsPool: (items: SelectItem[] | string[]) => void;
|
|
41
|
+
getItemFromItemsPool: (value: AutocompleteModelTypeBase) => SelectItem | undefined;
|
|
42
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ComputedRef } from 'vue';
|
|
2
|
+
import { type PropsBorder } from '../definitions';
|
|
3
|
+
export declare const useBorderService: (props?: Partial<PropsBorder> | ComputedRef<Partial<PropsBorder>>, options?: {
|
|
4
|
+
block?: string;
|
|
5
|
+
}) => {
|
|
6
|
+
classListBorder: ComputedRef<Partial<{
|
|
7
|
+
[x: string]: NonNullable<boolean | null | undefined>;
|
|
8
|
+
}>>;
|
|
9
|
+
styleListBorder: ComputedRef<Partial<{
|
|
10
|
+
borderRadius: NonNullable<number | `${number}em` | `${number}px` | `${number}rem` | `${number}%` | `${number}vh` | `${number}vw` | "tile" | "rounded" | null | undefined>;
|
|
11
|
+
}>>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type CalendarEvent, type CalendarEventExtended, type ProcessEventOptions } from '../../types';
|
|
2
|
+
import dayjs from '../../vendors/dayjs';
|
|
3
|
+
export declare const processCalendarEvent: <T extends CalendarEvent>({ target, event, eventId, eventColor, isWeekly, getBackgroundColorAttributes, }: ProcessEventOptions<T>) => CalendarEventExtended<T>;
|
|
4
|
+
export declare const filterEventsForDate: <T extends CalendarEvent>(events: T[] | undefined, target: dayjs.Dayjs) => T[];
|
|
5
|
+
export declare const sortEvents: <T extends CalendarEvent>(events: CalendarEventExtended<T>[]) => CalendarEventExtended<T>[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type PropsCalendarMonthly } from '../../definitions';
|
|
2
|
+
import { type CalendarDate, type CalendarEvent, type CalendarEventExtended } from '../../types';
|
|
3
|
+
import dayjs from '../../vendors/dayjs';
|
|
4
|
+
export declare const useCalendarMonthlyService: <T extends CalendarEvent>(props: PropsCalendarMonthly<T>) => {
|
|
5
|
+
days: dayjs.WeekdayNames;
|
|
6
|
+
eventPadding: string;
|
|
7
|
+
dates: import("vue").ComputedRef<{
|
|
8
|
+
value: string;
|
|
9
|
+
isToday: boolean;
|
|
10
|
+
isThisMonth: boolean;
|
|
11
|
+
events: Array<CalendarEventExtended<T>>;
|
|
12
|
+
date: CalendarDate;
|
|
13
|
+
}[]>;
|
|
14
|
+
};
|