@nmorph/nmorph-ui-kit 2.2.59 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/expand.svg.js +13 -6
- package/dist/assets/icons/hand.svg.js +21 -0
- package/dist/assets/icons/list-simple.svg.js +21 -0
- package/dist/assets/icons/mute-speaker.svg.js +28 -0
- package/dist/assets/icons/pagination.svg.js +18 -5
- package/dist/assets/icons/speaker.svg.js +21 -0
- package/dist/assets/icons/triangle-down.svg.js +6 -6
- package/dist/assets/icons/video-camera-off.svg.js +28 -0
- package/dist/components/basic/nmorph-button/NmorphButton.css +1 -1
- package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +21 -19
- package/dist/components/basic/nmorph-button/types.js +12 -4
- package/dist/components/basic/nmorph-icon/NmorphIcon.css +1 -1
- package/dist/components/basic/nmorph-icon/NmorphIcon.vue2.js +10 -10
- package/dist/components/basic/nmorph-icon/NmorphIcons.js +406 -395
- package/dist/components/basic/nmorph-icon/types.js +6 -2
- package/dist/components/basic/nmorph-layout/NmorphLayout.css +1 -1
- package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +7 -7
- package/dist/components/basic/nmorph-link/NmorphLink.css +1 -1
- package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +7 -7
- package/dist/components/basic/nmorph-link/types.js +7 -2
- package/dist/components/basic/nmorph-scroll/NmorphScroll.css +1 -1
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.js +4 -3
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +123 -112
- package/dist/components/basic/nmorph-scroll/types.js +13 -3
- package/dist/components/basic/nmorph-space/NmorphSpace.css +1 -1
- package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +9 -9
- package/dist/components/basic/nmorph-text/NmorphText.vue.js +19 -0
- package/dist/components/basic/nmorph-text/NmorphText.vue2.js +50 -0
- package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.css +1 -1
- package/dist/components/data/nmorph-audio-meter/NmorphAudioMeter.vue2.js +22 -12
- package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.css +1 -1
- package/dist/components/data/nmorph-audio-preview/NmorphAudioPreview.vue2.js +8 -6
- package/dist/components/data/nmorph-avatar/NmorphAvatar.css +1 -1
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.js +54 -51
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue2.js +41 -36
- package/dist/components/data/nmorph-badge/NmorphBadge.css +1 -1
- package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +47 -51
- package/dist/components/data/nmorph-calendar/NmorphCalendar.css +1 -1
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.js +34 -32
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +35 -34
- package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.css +1 -1
- package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.js +25 -22
- package/dist/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue2.js +10 -9
- package/dist/components/data/nmorph-card/NmorphCard.css +1 -1
- package/dist/components/data/nmorph-card/NmorphCard.vue2.js +20 -19
- package/dist/components/data/nmorph-carousel/NmorphCarousel.css +1 -0
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.js +12 -10
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue2.js +23 -20
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.css +1 -1
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.js +29 -17
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +35 -29
- package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.css +1 -1
- package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.js +12 -12
- package/dist/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue2.js +103 -89
- package/dist/components/data/nmorph-empty/NmorphEmpty.css +1 -1
- package/dist/components/data/nmorph-empty/NmorphEmpty.vue2.js +12 -12
- package/dist/components/data/nmorph-file-card/NmorphFileCard.css +1 -1
- package/dist/components/data/nmorph-file-card/NmorphFileCard.vue2.js +2 -2
- package/dist/components/data/nmorph-image/NmorphImage.css +1 -1
- package/dist/components/data/nmorph-image/NmorphImage.vue2.js +32 -20
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.css +1 -1
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.js +66 -62
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +53 -51
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.js +17 -15
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue2.js +56 -54
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.css +1 -1
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue.js +20 -16
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +16 -14
- package/dist/components/data/nmorph-pagination/NmorphPagination.css +1 -1
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +50 -50
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +23 -23
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.css +1 -1
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.js +14 -12
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue2.js +22 -18
- package/dist/components/data/nmorph-progress/NmorphProgress.css +1 -1
- package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +22 -22
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.css +1 -1
- package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue2.js +18 -19
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.css +1 -1
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +5 -5
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.css +1 -1
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.js +7 -7
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue2.js +4 -4
- package/dist/components/data/nmorph-skeleton/types.js +6 -2
- package/dist/components/data/nmorph-table/NmorphTable.css +1 -1
- package/dist/components/data/nmorph-table/NmorphTable.vue2.js +13 -13
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.css +1 -1
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.js +36 -40
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue2.js +14 -23
- package/dist/components/data/nmorph-tag-list/NmorphTagList.css +1 -1
- package/dist/components/data/nmorph-tag-list/NmorphTagList.vue.js +38 -44
- package/dist/components/data/nmorph-tag-list/NmorphTagList.vue2.js +14 -29
- package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.css +1 -1
- package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue2.js +34 -34
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.css +1 -1
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +26 -22
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.css +1 -1
- package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue2.js +6 -6
- package/dist/components/feedback/nmorph-alert/NmorphAlert.css +1 -1
- package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +10 -10
- package/dist/components/feedback/nmorph-alert/types.js +6 -1
- package/dist/components/feedback/nmorph-callout/NmorphCallout.css +1 -1
- package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +16 -16
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.css +1 -1
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +36 -35
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.css +1 -1
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +9 -9
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.css +1 -1
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +33 -33
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.css +1 -1
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +21 -21
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.css +1 -1
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.js +21 -18
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +20 -20
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.css +1 -1
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue.js +15 -15
- package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +30 -31
- package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.js +20 -21
- package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue2.js +28 -28
- package/dist/components/form/nmorph-color-picker/NmorphColorPicker.css +1 -1
- package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +27 -27
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.css +1 -1
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +40 -38
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.js +94 -108
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue2.js +14 -19
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.js +55 -64
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue2.js +32 -37
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.css +1 -1
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.js +10 -10
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +1 -1
- package/dist/components/form/nmorph-file-upload/types.js +34 -16
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.css +1 -1
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.js +12 -12
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +7 -7
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +6 -6
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.css +1 -1
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.js +12 -13
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.css +1 -1
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.js +41 -37
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +28 -28
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.css +1 -1
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue.js +19 -19
- package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +37 -37
- package/dist/components/form/nmorph-radio/NmorphRadio.css +1 -1
- package/dist/components/form/nmorph-radio/NmorphRadio.vue.js +4 -4
- package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +21 -21
- package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue.js +18 -18
- package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue2.js +21 -21
- package/dist/components/form/nmorph-select/NmorphSelect.css +1 -1
- package/dist/components/form/nmorph-select/NmorphSelect.vue.js +86 -77
- package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +52 -52
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.css +1 -1
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +21 -21
- package/dist/components/form/nmorph-select-button/NmorphSelectButton.css +1 -1
- package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +27 -31
- package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.css +1 -1
- package/dist/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.js +13 -11
- package/dist/components/form/nmorph-slider/NmorphSlider.css +1 -1
- package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +52 -47
- package/dist/components/form/nmorph-switch/NmorphSwitch.css +1 -1
- package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +26 -26
- package/dist/components/form/nmorph-text-input/NmorphTextInput.css +1 -1
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +35 -36
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +49 -36
- package/dist/components/form/nmorph-textarea/NmorphTextarea.css +1 -1
- package/dist/components/form/nmorph-textarea/NmorphTextarea.vue2.js +18 -18
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.css +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.js +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +44 -44
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.css +1 -1
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.js +11 -11
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue2.js +15 -15
- package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.css +1 -1
- package/dist/components/navigation/nmorph-context-menu/NmorphContextMenu.vue2.js +9 -9
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.css +1 -1
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +6 -5
- package/dist/components/navigation/nmorph-stepper/NmorphStepper.vue2.js +20 -20
- package/dist/components/others/nmorph-divider/NmorphDivider.css +1 -1
- package/dist/components/others/nmorph-divider/NmorphDivider.vue2.js +9 -8
- package/dist/components/others/nmorph-overlay/NmorphOverlay.css +1 -1
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +13 -13
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.css +1 -1
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +35 -25
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +22 -25
- package/dist/components/providers/nmorph-notification-provider/types.js +9 -2
- package/dist/emoji/base.js +571 -20
- package/dist/hooks/use-common-styles.js +228 -49
- package/dist/hooks/use-field-validation.js +42 -45
- package/dist/hooks/use-virtual-list.js +65 -57
- package/dist/icons.js +406 -395
- package/dist/index.es.js +853 -838
- package/dist/index.umd.js +241 -71
- package/dist/package.json.js +1 -1
- package/dist/plugin.js +37 -34
- package/dist/src/components/basic/index.d.ts +2 -0
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +3 -2
- package/dist/src/components/basic/nmorph-button/types.d.ts +18 -19
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +1 -1
- package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +6 -0
- package/dist/src/components/basic/nmorph-icon/types.d.ts +7 -6
- package/dist/src/components/basic/nmorph-link/types.d.ts +9 -8
- package/dist/src/components/basic/nmorph-scroll/types.d.ts +16 -14
- package/dist/src/components/basic/nmorph-text/NmorphText.vue.d.ts +20 -0
- package/dist/src/components/basic/nmorph-text/types.d.ts +12 -0
- package/dist/src/components/data/nmorph-audio-meter/NmorphAudioMeter.vue.d.ts +5 -1
- package/dist/src/components/data/nmorph-audio-meter/types.d.ts +4 -0
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-avatar/types.d.ts +3 -2
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +3 -2
- package/dist/src/components/data/nmorph-badge/types.d.ts +3 -8
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -1
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-calendar/types.d.ts +2 -1
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-card/types.d.ts +2 -1
- package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-carousel/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.d.ts +7 -1
- package/dist/src/components/data/nmorph-emoji-picker/types.d.ts +6 -0
- package/dist/src/components/data/nmorph-empty/NmorphEmpty.vue.d.ts +1 -2
- package/dist/src/components/data/nmorph-file-card/NmorphFileCard.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +3 -0
- package/dist/src/components/data/nmorph-image/types.d.ts +2 -1
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -1
- package/dist/src/components/data/nmorph-image-preview/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-gallery/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-tile/NmorphMediaTile.vue.d.ts +2 -0
- package/dist/src/components/data/nmorph-media-tile/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-pagination/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.d.ts +4 -0
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +2 -3
- package/dist/src/components/data/nmorph-skeleton/types.d.ts +6 -5
- package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-table/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +3 -4
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +2 -3
- package/dist/src/components/data/nmorph-tag-list/types.d.ts +2 -2
- package/dist/src/components/data/nmorph-video-preview/NmorphVideoPreview.vue.d.ts +3 -1
- package/dist/src/components/data/nmorph-video-preview/types.d.ts +2 -0
- package/dist/src/components/data/nmorph-virtual-list/NmorphVirtualList.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-alert/types.d.ts +8 -7
- package/dist/src/components/feedback/nmorph-callout/NmorphCallout.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-dialog/types.d.ts +1 -4
- package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +2 -17
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +2 -15
- package/dist/src/components/form/nmorph-checkbox-group/types.d.ts +4 -6
- package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +2 -1
- package/dist/src/components/form/nmorph-date-picker/types.d.ts +1 -0
- package/dist/src/components/form/nmorph-file-upload/types.d.ts +55 -55
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/types.d.ts +2 -2
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/types.d.ts +2 -2
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +2 -14
- package/dist/src/components/form/nmorph-radio/types.d.ts +6 -4
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +2 -14
- package/dist/src/components/form/nmorph-radio-group/types.d.ts +4 -6
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +2 -4
- package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/types.d.ts +1 -1
- package/dist/src/components/form/nmorph-select-button/types.d.ts +1 -3
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +10 -10
- package/dist/src/components/form/nmorph-slider/types.d.ts +1 -1
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-switch/types.d.ts +1 -1
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +4 -1
- package/dist/src/components/form/nmorph-text-input/types.d.ts +3 -0
- package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -2
- package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +2 -1
- package/dist/src/components/navigation/nmorph-dropdown/types.d.ts +2 -1
- package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +1 -0
- package/dist/src/components/others/nmorph-divider/types.d.ts +2 -0
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
- package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +8 -8
- package/dist/src/hooks/use-field-validation.d.ts +21 -24
- package/dist/src/hooks/use-nmorph-translation.d.ts +2 -2
- package/dist/src/types/app.types.d.ts +0 -5
- package/dist/src/types/common.types.d.ts +91 -35
- package/dist/src/types/date.types.d.ts +6 -5
- package/dist/src/types/image.types.d.ts +16 -12
- package/dist/src/types/selection.types.d.ts +19 -14
- package/dist/src/types/table.types.d.ts +6 -5
- package/dist/src/types/translation.types.d.ts +7 -6
- package/dist/src/utils/common.d.ts +2 -2
- package/dist/src/utils/file-types.d.ts +1 -1
- package/dist/src/utils/theme-style.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/types/common.types.js +73 -8
- package/dist/types/date.types.js +6 -2
- package/dist/types/image.types.js +12 -3
- package/dist/types/table.types.js +5 -2
- package/dist/types/translation.types.js +6 -2
- package/dist/utils/common.js +3 -3
- package/dist/utils/file-types.js +6 -7
- package/dist/utils/theme-style.js +42 -48
- package/package.json +1 -1
- package/dist/types/selection.types.js +0 -4
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import './NmorphRadio.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { useModifiers as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
2
|
+
import { defineComponent as v, inject as n, computed as r, ref as g } from "vue";
|
|
3
|
+
import { useModifiers as b } from "../../../utils/create-modifiers.js";
|
|
4
|
+
import { NmorphSelectionControlThickness as k } from "../../../types/common.types.js";
|
|
5
|
+
const S = /* @__PURE__ */ v({
|
|
6
6
|
__name: "NmorphRadio",
|
|
7
7
|
props: {
|
|
8
|
-
value: { type: String, required: !1, default: "" },
|
|
9
|
-
styleType: { type: null, required: !1, default: "button" },
|
|
10
|
-
checked: { type: Boolean, required: !1, default: !1 },
|
|
11
8
|
disabled: { type: Boolean, required: !1, default: !1 },
|
|
12
9
|
label: { type: String, required: !1, default: "" },
|
|
10
|
+
value: { type: String, required: !1, default: "" },
|
|
13
11
|
tabindex: { type: Number, required: !1, default: 0 },
|
|
14
|
-
|
|
12
|
+
checked: { type: Boolean, required: !1, default: !1 },
|
|
13
|
+
design: { type: String, required: !1, default: "nmorph" },
|
|
14
|
+
thickness: { type: null, required: !1 }
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const o =
|
|
16
|
+
setup(p, { expose: f }) {
|
|
17
|
+
const o = n(
|
|
18
18
|
"radio-group-selected-value",
|
|
19
19
|
void 0
|
|
20
|
-
), t =
|
|
20
|
+
), t = n(
|
|
21
21
|
"change-radio-button-value-handler",
|
|
22
22
|
void 0
|
|
23
|
-
),
|
|
23
|
+
), i = n("radio-group-thickness", void 0), e = p, h = () => {
|
|
24
24
|
t && !e.disabled && t(e.value);
|
|
25
|
-
},
|
|
26
|
-
() =>
|
|
27
|
-
nmorph: [
|
|
28
|
-
"nmorph-radio": [e.disabled && "disabled",
|
|
25
|
+
}, l = r(() => o?.value === e.value || e.checked), a = r(() => e.design || "nmorph"), s = r(() => e.thickness || i?.value || "basic"), u = r(() => a.value !== "plain" && s.value === "extra-thin" ? "basic" : s.value), m = r(
|
|
26
|
+
() => b({
|
|
27
|
+
nmorph: [k[u.value]],
|
|
28
|
+
"nmorph-radio": [e.disabled && "disabled", l.value && "checked", a.value]
|
|
29
29
|
})
|
|
30
|
-
),
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
return Object.defineProperty(
|
|
30
|
+
), d = g(null);
|
|
31
|
+
f({ inputDOMRef: d });
|
|
32
|
+
const c = { groupSelectedValue: o, changeValue: t, groupThickness: i, props: e, changeHandler: h, checked: l, resolvedDesign: a, requestedThickness: s, thickness: u, modifiers: m, inputDOMRef: d };
|
|
33
|
+
return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
S as default
|
|
38
38
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import './NmorphRadioGroup.css';
|
|
2
|
-
import
|
|
3
|
-
import { openBlock as o, createElementBlock as
|
|
2
|
+
import l from "./NmorphRadioGroup.vue2.js";
|
|
3
|
+
import { openBlock as o, createElementBlock as s, normalizeClass as n, createElementVNode as a, Fragment as t, renderList as c, createBlock as m, renderSlot as p } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
function b(
|
|
8
|
-
return o(),
|
|
5
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const u = { class: "nmorph-radio-group__wrapper" }, h = { class: "nmorph-radio-group__content" };
|
|
7
|
+
function b(d, f, i, r, k, g) {
|
|
8
|
+
return o(), s(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
class:
|
|
11
|
+
class: n(r.modifiers)
|
|
12
12
|
},
|
|
13
13
|
[
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
(o(!0),
|
|
17
|
-
|
|
14
|
+
a("div", u, [
|
|
15
|
+
a("div", h, [
|
|
16
|
+
(o(!0), s(
|
|
17
|
+
t,
|
|
18
18
|
null,
|
|
19
|
-
|
|
19
|
+
c(i.options, (e) => (o(), m(r.NmorphRadio, {
|
|
20
20
|
key: e.value,
|
|
21
21
|
label: e.label,
|
|
22
22
|
value: e.value,
|
|
23
23
|
disabled: e.disabled || r.props.disabled,
|
|
24
|
-
|
|
24
|
+
design: e.design || r.props.design,
|
|
25
25
|
tabindex: e.tabindex,
|
|
26
|
-
|
|
27
|
-
}, null, 8, ["label", "value", "disabled", "
|
|
26
|
+
thickness: e.thickness || r.thickness
|
|
27
|
+
}, null, 8, ["label", "value", "disabled", "design", "tabindex", "thickness"]))),
|
|
28
28
|
128
|
|
29
29
|
/* KEYED_FRAGMENT */
|
|
30
30
|
)),
|
|
31
|
-
|
|
31
|
+
p(d.$slots, "default")
|
|
32
32
|
])
|
|
33
33
|
])
|
|
34
34
|
],
|
|
@@ -36,7 +36,7 @@ function b(t, f, d, r, g, v) {
|
|
|
36
36
|
/* CLASS */
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const R = /* @__PURE__ */ _(l, [["render", b], ["__file", "/builds/ketjo/nmorph/library/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue"]]);
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
R as default
|
|
42
42
|
};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import './NmorphRadioGroup.css';
|
|
2
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as g, ref as h, watch as y, computed as n, provide as a } from "vue";
|
|
3
3
|
import { useModifiers as q } from "../../../utils/create-modifiers.js";
|
|
4
4
|
import { useFormItemModel as v } from "../nmorph-form/use-form-item-input.js";
|
|
5
5
|
import _ from "../nmorph-radio/NmorphRadio.vue.js";
|
|
6
|
-
const
|
|
6
|
+
const V = /* @__PURE__ */ g({
|
|
7
7
|
__name: "NmorphRadioGroup",
|
|
8
8
|
props: {
|
|
9
|
-
modelValue: { type: String, required: !1, default: "" },
|
|
10
|
-
options: { type: Array, required: !1, default: () => [] },
|
|
11
|
-
styleType: { type: null, required: !1, default: "button" },
|
|
12
|
-
direction: { type: null, required: !1, default: "row" },
|
|
13
|
-
height: { type: null, required: !1, default: "thin" },
|
|
14
9
|
id: { type: String, required: !1 },
|
|
15
10
|
name: { type: String, required: !1 },
|
|
16
11
|
autocomplete: { type: String, required: !1 },
|
|
17
12
|
disabled: { type: Boolean, required: !1, default: !1 },
|
|
18
|
-
tabindex: { type: Number, required: !1 }
|
|
13
|
+
tabindex: { type: Number, required: !1 },
|
|
14
|
+
modelValue: { type: String, required: !1, default: "" },
|
|
15
|
+
options: { type: Array, required: !1, default: () => [] },
|
|
16
|
+
direction: { type: null, required: !1, default: "row" },
|
|
17
|
+
design: { type: String, required: !1, default: "nmorph" },
|
|
18
|
+
thickness: { type: null, required: !1, default: "basic" }
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:model-value"],
|
|
21
|
-
setup(
|
|
21
|
+
setup(p, { expose: m, emit: f }) {
|
|
22
22
|
m();
|
|
23
|
-
const e =
|
|
23
|
+
const e = p, i = f, { modelValue: o, updateModelValue: u } = v(
|
|
24
24
|
e,
|
|
25
|
-
(
|
|
25
|
+
(t) => i("update:model-value", t),
|
|
26
26
|
""
|
|
27
|
-
),
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
), r = h(o.value);
|
|
28
|
+
y(o, (t) => {
|
|
29
|
+
r.value = t;
|
|
30
30
|
});
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
}, c = n(() => q({ "nmorph-radio-group": [e.
|
|
34
|
-
a("radio-group-selected-value",
|
|
35
|
-
const
|
|
31
|
+
const d = (t) => {
|
|
32
|
+
r.value = t, u(r.value);
|
|
33
|
+
}, c = n(() => q({ "nmorph-radio-group": [e.design, e.direction] })), l = n(() => e.thickness);
|
|
34
|
+
a("radio-group-selected-value", r), a("change-radio-button-value-handler", d), a("radio-group-thickness", l);
|
|
35
|
+
const s = { props: e, emit: i, modelValue: o, updateModelValue: u, initialValue: r, changeHandler: d, modifiers: c, thickness: l, get NmorphRadio() {
|
|
36
36
|
return _;
|
|
37
37
|
} };
|
|
38
|
-
return Object.defineProperty(
|
|
38
|
+
return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
V as default
|
|
43
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-select{--
|
|
1
|
+
.nmorph-select{--nmorph-private-select-width: 200px;width:var(--nmorph-private-select-width);height:var(--nmorph-private-control-height);border-radius:var(--default-border-radius);cursor:pointer}.nmorph-select .nmorph-select__content{position:relative;height:100%;background:var(--nmorph-main-color);border-radius:inherit;box-shadow:var(--nmorph-shadow-outset)}.nmorph-select .nmorph-select__selected-values-line{display:flex;justify-content:space-between;align-items:center;height:100%;padding:var(--indentation-00) var(--default-indentation-input);border-radius:inherit}.nmorph-select .nmorph-select__selected-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transform:translateY(var(--nmorph-private-control-text-offset-y))}.nmorph-select select,.nmorph-select option{position:absolute;width:0;height:0;padding:0;border:none;opacity:0}.nmorph-select.nmorph-select--loading .nmorph-select__options{display:flex;justify-content:center;padding:16px}.nmorph-select.nmorph-select--disabled{cursor:not-allowed;opacity:.6}.nmorph-select.nmorph-select--fill{width:100%}.nmorph-select.nmorph-select--options-auto-width .nmorph-select__options{width:max-content;max-width:calc(100vw - var(--indentation-02) * 2)}.nmorph-select .nmorph-select__virtual-list{overflow-y:auto}.nmorph-select .nmorph-select__virtual-spacer{position:relative}.nmorph-select .nmorph-select__virtual-content{position:absolute;top:0;right:0;left:0}.nmorph-select.nmorph-select--open .nmorph-select__chevron{transform:rotate(180deg)}.nmorph-select.nmorph-select--open .nmorph-select__content{background:var(--nmorph-main-color);box-shadow:var(--nmorph-shadow-inset)}.nmorph-select.nmorph-select--selected-line-outset .nmorph-select__content{background:var(--nmorph-main-color);box-shadow:var(--nmorph-shadow-outset)}.nmorph-select.nmorph-select--focus{outline:2px solid var(--nmorph-accent-color)}.nmorph-select.nmorph-select--focus .nmorph-select__content{box-shadow:none}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import './NmorphSelect.css';
|
|
2
|
-
import
|
|
3
|
-
import { openBlock as
|
|
2
|
+
import y from "./NmorphSelect.vue2.js";
|
|
3
|
+
import { openBlock as r, createElementBlock as o, normalizeStyle as t, normalizeClass as x, createElementVNode as i, withKeys as a, withModifiers as n, Fragment as c, renderList as s, toDisplayString as v, createBlock as d, createVNode as _, withCtx as h, renderSlot as w, createCommentVNode as u } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import g from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const H = { class: "nmorph-select__content" }, I = ["id", "name", "autocomplete", "tabindex", "disabled", "aria-expanded", "aria-controls", "aria-activedescendant", "onKeydown"], N = ["value"], S = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "nmorph-select__selected-value"
|
|
9
|
-
},
|
|
9
|
+
}, p = {
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "nmorph-select__selected-value"
|
|
12
|
-
},
|
|
12
|
+
}, C = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "nmorph-select__selected-value"
|
|
15
|
-
},
|
|
16
|
-
function E(
|
|
17
|
-
return
|
|
15
|
+
}, D = ["id"];
|
|
16
|
+
function E(b, m, f, e, O, M) {
|
|
17
|
+
return r(), o(
|
|
18
18
|
"div",
|
|
19
19
|
{
|
|
20
20
|
class: x(e.modifiers),
|
|
21
|
-
style:
|
|
21
|
+
style: t(e.styles)
|
|
22
22
|
},
|
|
23
23
|
[
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
i("div", H, [
|
|
25
|
+
i("select", {
|
|
26
26
|
id: e.id,
|
|
27
27
|
name: e.name,
|
|
28
28
|
autocomplete: e.autocomplete,
|
|
@@ -44,18 +44,18 @@ function E(y, v, p, e, M, R) {
|
|
|
44
44
|
a(n(e.endHandler, ["prevent"]), ["end"])
|
|
45
45
|
]
|
|
46
46
|
}, [
|
|
47
|
-
(
|
|
48
|
-
|
|
47
|
+
(r(!0), o(
|
|
48
|
+
c,
|
|
49
49
|
null,
|
|
50
|
-
|
|
51
|
-
key:
|
|
52
|
-
value:
|
|
53
|
-
}, null, 8,
|
|
50
|
+
s(e.nativeOptions, (l) => (r(), o("option", {
|
|
51
|
+
key: l,
|
|
52
|
+
value: l
|
|
53
|
+
}, null, 8, N))),
|
|
54
54
|
128
|
|
55
55
|
/* KEYED_FRAGMENT */
|
|
56
56
|
))
|
|
57
|
-
], 40,
|
|
58
|
-
|
|
57
|
+
], 40, I),
|
|
58
|
+
i(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
ref: "nmorphSelectDOMRef",
|
|
@@ -64,37 +64,38 @@ function E(y, v, p, e, M, R) {
|
|
|
64
64
|
onClick: n(e.clickHandler, ["stop"])
|
|
65
65
|
},
|
|
66
66
|
[
|
|
67
|
-
Array.isArray(e.initialValue) ? e.initialValue.length === 0 ? (
|
|
67
|
+
Array.isArray(e.initialValue) ? e.initialValue.length === 0 ? (r(), o(
|
|
68
68
|
"div",
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
p,
|
|
70
|
+
v(e.computedNoElementPlaceholder),
|
|
71
71
|
1
|
|
72
72
|
/* TEXT */
|
|
73
|
-
)) : (
|
|
74
|
-
(
|
|
75
|
-
|
|
73
|
+
)) : (r(), o("div", C, [
|
|
74
|
+
(r(!0), o(
|
|
75
|
+
c,
|
|
76
76
|
null,
|
|
77
|
-
|
|
78
|
-
key:
|
|
79
|
-
|
|
77
|
+
s(e.tags, (l) => (r(), d(e.NmorphTagItem, {
|
|
78
|
+
key: l.value,
|
|
79
|
+
value: l.value,
|
|
80
|
+
text: l.text,
|
|
80
81
|
transparent: "",
|
|
81
82
|
removable: e.tags.length > 1 || !e.props.valueRequired,
|
|
82
|
-
|
|
83
|
+
thickness: "thin",
|
|
83
84
|
onClose: e.changeHandler
|
|
84
|
-
}
|
|
85
|
+
}, null, 8, ["value", "text", "removable"]))),
|
|
85
86
|
128
|
|
86
87
|
/* KEYED_FRAGMENT */
|
|
87
88
|
))
|
|
88
|
-
])) : (
|
|
89
|
+
])) : (r(), o(
|
|
89
90
|
"div",
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
S,
|
|
92
|
+
v(e.selectedValueTitle),
|
|
92
93
|
1
|
|
93
94
|
/* TEXT */
|
|
94
95
|
)),
|
|
95
|
-
|
|
96
|
-
default:
|
|
97
|
-
e.props.loading ? (
|
|
96
|
+
_(e.NmorphIcon, { class: "nmorph-select__chevron" }, {
|
|
97
|
+
default: h(() => [
|
|
98
|
+
e.props.loading ? (r(), d(e.NmorphIconLoaderDots, { key: 0 })) : (r(), d(e.NmorphIconChevronDown, { key: 1 }))
|
|
98
99
|
]),
|
|
99
100
|
_: 1
|
|
100
101
|
/* STABLE */
|
|
@@ -104,9 +105,9 @@ function E(y, v, p, e, M, R) {
|
|
|
104
105
|
/* NEED_PATCH */
|
|
105
106
|
)
|
|
106
107
|
]),
|
|
107
|
-
e.nmorphSelectDOMRef && !e.
|
|
108
|
+
e.nmorphSelectDOMRef && !e.disabledInput ? (r(), d(e.NmorphDropdown, {
|
|
108
109
|
key: 0,
|
|
109
|
-
open: e.open && !e.
|
|
110
|
+
open: e.open && !e.disabledInput,
|
|
110
111
|
"relative-element": e.nmorphSelectDOMRef,
|
|
111
112
|
"fill-width": !e.autoOptionsWidth,
|
|
112
113
|
width: e.autoOptionsWidth ? "max-content" : void 0,
|
|
@@ -117,59 +118,63 @@ function E(y, v, p, e, M, R) {
|
|
|
117
118
|
onOnOutsideClick: e.closeHandler,
|
|
118
119
|
onOnEscapeKeydown: e.escapeHandler
|
|
119
120
|
}, {
|
|
120
|
-
default:
|
|
121
|
-
|
|
121
|
+
default: h(() => [
|
|
122
|
+
i("div", {
|
|
122
123
|
id: e.listboxId,
|
|
123
124
|
ref: "optionsDOMRef",
|
|
124
125
|
class: "nmorph-select__options",
|
|
125
126
|
role: "listbox"
|
|
126
127
|
}, [
|
|
127
|
-
e.props.loading ? (
|
|
128
|
+
e.props.loading ? (r(), d(e.NmorphIcon, {
|
|
128
129
|
key: 0,
|
|
129
130
|
class: "nmorph-select__chevron",
|
|
130
131
|
size: "medium"
|
|
131
132
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
|
|
133
|
+
default: h(() => [
|
|
134
|
+
_(e.NmorphIconChevronDown)
|
|
134
135
|
]),
|
|
135
136
|
_: 1
|
|
136
137
|
/* STABLE */
|
|
137
|
-
})) : e.virtualEnabled ? (
|
|
138
|
+
})) : e.virtualEnabled ? (r(), o(
|
|
138
139
|
"div",
|
|
139
140
|
{
|
|
140
141
|
key: 1,
|
|
141
142
|
ref: e.virtualList.containerRef,
|
|
142
143
|
class: "nmorph-select__virtual-list",
|
|
143
|
-
style:
|
|
144
|
-
onScroll:
|
|
144
|
+
style: t({ maxHeight: e.virtualMaxHeight }),
|
|
145
|
+
onScroll: m[0] || (m[0] = (...l) => e.virtualList.scrollHandler && e.virtualList.scrollHandler(...l))
|
|
145
146
|
},
|
|
146
147
|
[
|
|
147
|
-
|
|
148
|
+
i(
|
|
148
149
|
"div",
|
|
149
150
|
{
|
|
150
151
|
class: "nmorph-select__virtual-spacer",
|
|
151
|
-
style:
|
|
152
|
+
style: t(e.virtualSpacerStyle)
|
|
152
153
|
},
|
|
153
154
|
[
|
|
154
|
-
|
|
155
|
+
i(
|
|
155
156
|
"div",
|
|
156
157
|
{
|
|
157
158
|
class: "nmorph-select__virtual-content",
|
|
158
|
-
style:
|
|
159
|
+
style: t(e.virtualContentStyle)
|
|
159
160
|
},
|
|
160
161
|
[
|
|
161
|
-
(
|
|
162
|
-
|
|
162
|
+
(r(!0), o(
|
|
163
|
+
c,
|
|
163
164
|
null,
|
|
164
|
-
|
|
165
|
-
id: e.getOptionId(
|
|
165
|
+
s(e.virtualOptions, (l) => (r(), d(e.NmorphSelectOption, {
|
|
166
|
+
id: e.getOptionId(l.item.value),
|
|
166
167
|
ref_for: !0,
|
|
167
|
-
ref: (
|
|
168
|
-
key:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
168
|
+
ref: (k) => e.setVirtualOptionRef(k, l.index),
|
|
169
|
+
key: l.index,
|
|
170
|
+
value: l.item.value,
|
|
171
|
+
label: l.item.label,
|
|
172
|
+
disabled: l.item.disabled,
|
|
173
|
+
"hover-background": l.item.hoverBackground,
|
|
174
|
+
"hover-color": l.item.hoverColor,
|
|
175
|
+
focused: l.item.value === e.currentFocusedEl,
|
|
176
|
+
thickness: l.item.thickness || e.props.thickness
|
|
177
|
+
}, null, 8, ["id", "value", "label", "disabled", "hover-background", "hover-color", "focused", "thickness"]))),
|
|
173
178
|
128
|
|
174
179
|
/* KEYED_FRAGMENT */
|
|
175
180
|
))
|
|
@@ -184,39 +189,43 @@ function E(y, v, p, e, M, R) {
|
|
|
184
189
|
],
|
|
185
190
|
36
|
|
186
191
|
/* STYLE, NEED_HYDRATION */
|
|
187
|
-
)) : (
|
|
188
|
-
|
|
192
|
+
)) : (r(), o(
|
|
193
|
+
c,
|
|
189
194
|
{ key: 2 },
|
|
190
195
|
[
|
|
191
|
-
(
|
|
192
|
-
|
|
196
|
+
(r(!0), o(
|
|
197
|
+
c,
|
|
193
198
|
null,
|
|
194
|
-
|
|
195
|
-
id: e.getOptionId(
|
|
196
|
-
key:
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
s(f.options, (l) => (r(), d(e.NmorphSelectOption, {
|
|
200
|
+
id: e.getOptionId(l.value),
|
|
201
|
+
key: l.value,
|
|
202
|
+
value: l.value,
|
|
203
|
+
label: l.label,
|
|
204
|
+
disabled: l.disabled,
|
|
205
|
+
"hover-background": l.hoverBackground,
|
|
206
|
+
"hover-color": l.hoverColor,
|
|
207
|
+
focused: l.value === e.currentFocusedEl,
|
|
208
|
+
thickness: l.thickness || e.props.thickness
|
|
209
|
+
}, null, 8, ["id", "value", "label", "disabled", "hover-background", "hover-color", "focused", "thickness"]))),
|
|
201
210
|
128
|
|
202
211
|
/* KEYED_FRAGMENT */
|
|
203
212
|
)),
|
|
204
|
-
b
|
|
213
|
+
w(b.$slots, "default")
|
|
205
214
|
],
|
|
206
215
|
64
|
|
207
216
|
/* STABLE_FRAGMENT */
|
|
208
217
|
))
|
|
209
|
-
], 8,
|
|
218
|
+
], 8, D)
|
|
210
219
|
]),
|
|
211
220
|
_: 3
|
|
212
221
|
/* FORWARDED */
|
|
213
|
-
}, 8, ["open", "relative-element", "fill-width", "width", "min-width", "z-index", "aria-label"])) :
|
|
222
|
+
}, 8, ["open", "relative-element", "fill-width", "width", "min-width", "z-index", "aria-label"])) : u("v-if", !0)
|
|
214
223
|
],
|
|
215
224
|
6
|
|
216
225
|
/* CLASS, STYLE */
|
|
217
226
|
);
|
|
218
227
|
}
|
|
219
|
-
const
|
|
228
|
+
const F = /* @__PURE__ */ g(y, [["render", E], ["__file", "/builds/ketjo/nmorph/library/src/components/form/nmorph-select/NmorphSelect.vue"]]);
|
|
220
229
|
export {
|
|
221
|
-
|
|
230
|
+
F as default
|
|
222
231
|
};
|