@nmorph/nmorph-ui-kit 2.2.58 → 3.0.0
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/pagination.svg.js +18 -5
- package/dist/assets/icons/speaker-off.svg.js +28 -0
- 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 +20 -20
- 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 +405 -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 +21 -21
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +9 -8
- 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/NmorphGuide.css +1 -0
- package/dist/components/feedback/nmorph-guide/NmorphGuide.vue.js +15 -0
- package/dist/components/feedback/nmorph-guide/NmorphGuide.vue2.js +124 -0
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.css +1 -0
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +105 -0
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue2.js +55 -0
- package/dist/components/feedback/nmorph-guide/types.js +4 -0
- 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 -23
- 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.css +1 -0
- package/dist/components/navigation/nmorph-stepper/NmorphStepper.vue.js +48 -0
- package/dist/components/navigation/nmorph-stepper/NmorphStepper.vue2.js +98 -0
- 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 +405 -395
- package/dist/index.es.js +861 -839
- package/dist/index.umd.js +234 -64
- 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 +2 -2
- package/dist/src/components/basic/nmorph-button/types.d.ts +17 -19
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +1 -1
- package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +5 -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 +1 -0
- package/dist/src/components/data/nmorph-media-tile/types.d.ts +1 -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/index.d.ts +3 -0
- 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 +48 -0
- package/dist/src/components/feedback/nmorph-guide/NmorphGuideStep.vue.d.ts +18 -0
- package/dist/src/components/feedback/nmorph-guide/types.d.ts +90 -0
- 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 -1
- 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 -0
- 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/index.d.ts +2 -0
- 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/navigation/nmorph-stepper/NmorphStepper.vue.d.ts +27 -0
- package/dist/src/components/navigation/nmorph-stepper/types.d.ts +30 -0
- 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 +1 @@
|
|
|
1
|
-
.nmorph-alert{--background-color: var(--nmorph-overlay-color);display:inline-block;padding:var(--indentation-03) var(--indentation-04);background:var(--background-color);border-radius:var(--default-border-radius)}.nmorph-alert .nmorph-alert__content,.nmorph-alert .nmorph-alert__content-title{color:var(--nmorph-white-color);white-space:pre-line}.nmorph-alert .nmorph-alert__content-title{font-weight:
|
|
1
|
+
.nmorph-alert{--nmorph-private-alert-background-color: var(--nmorph-overlay-color);display:inline-block;padding:var(--indentation-03) var(--indentation-04);background:var(--nmorph-private-alert-background-color);border-radius:var(--default-border-radius)}.nmorph-alert .nmorph-alert__content,.nmorph-alert .nmorph-alert__content-title{color:var(--nmorph-white-color);white-space:pre-line}.nmorph-alert .nmorph-alert__content-title{font-weight:var(--nmorph-typography-title-small-font-weight);font-size:var(--nmorph-typography-title-small-font-size);line-height:1;line-height:var(--line-height-loose)}.nmorph-alert .nmorph-alert__html-wrapper{display:block}.nmorph-alert .nmorph-alert__wrapper{justify-content:space-between}.nmorph-alert .nmorph-alert__wrapper,.nmorph-alert .nmorph-alert__left-side{display:flex;align-items:center}.nmorph-alert .nmorph-alert__icon{margin-right:var(--indentation-03)}.nmorph-alert .nmorph-alert__close{align-self:var(--nmorph-private-alert-close-align);margin-left:var(--indentation-03);cursor:pointer}.nmorph-alert .nmorph-alert__close .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-white-color)}.nmorph-alert .nmorph-alert--success .nmorph-alert__icon .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-success-color)}.nmorph-alert.nmorph-alert--error .nmorph-alert__icon .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-error-color)}.nmorph-alert.nmorph-alert--warning .nmorph-alert__icon .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-warn-color)}.nmorph-alert.nmorph-alert--info .nmorph-alert__icon .nmorph-icon{--nmorph-private-icon-color: var(--nmorph-info-color)}.nmorph-alert.nmorph-alert--bordered{border:1px solid var(--nmorph-gray-color)}.nmorph-alert.nmorph-alert--fill{width:100%}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './NmorphAlert.css';
|
|
2
2
|
import { defineComponent as m, computed as l, useSlots as u } from "vue";
|
|
3
3
|
import { useModifiers as y } from "../../../utils/create-modifiers.js";
|
|
4
|
-
import { createCssVariables as
|
|
5
|
-
import
|
|
6
|
-
import h from "../../../assets/icons/circle-close-filled.svg.js";
|
|
4
|
+
import { createCssVariables as h } from "../../../utils/common.js";
|
|
5
|
+
import g from "../../../assets/icons/circle-close-filled.svg.js";
|
|
7
6
|
import I from "../../../assets/icons/info-filled.svg.js";
|
|
8
7
|
import q from "../../../assets/icons/warn-triangle-filled.svg.js";
|
|
9
8
|
import N from "../../../assets/icons/success-filled.svg.js";
|
|
9
|
+
import { NmorphAlertType as r } from "./types.js";
|
|
10
10
|
import b from "../../../assets/icons/cross.svg.js";
|
|
11
11
|
import S from "../../basic/nmorph-icon/NmorphIcon.vue.js";
|
|
12
12
|
const M = /* @__PURE__ */ m({
|
|
@@ -25,16 +25,16 @@ const M = /* @__PURE__ */ m({
|
|
|
25
25
|
backgroundColor: { type: String, required: !1, default: void 0 }
|
|
26
26
|
},
|
|
27
27
|
emits: ["close"],
|
|
28
|
-
setup(
|
|
29
|
-
|
|
30
|
-
const e =
|
|
28
|
+
setup(i, { expose: n, emit: s }) {
|
|
29
|
+
n();
|
|
30
|
+
const e = i, o = s, a = l(
|
|
31
31
|
() => y({
|
|
32
32
|
"nmorph-alert": [e.type, e.bordered && "bordered", e.fill && "fill"]
|
|
33
33
|
})
|
|
34
34
|
), p = l(() => ({
|
|
35
|
-
"--nmorph-alert-close-align": e.closeIconPosition,
|
|
36
|
-
...
|
|
37
|
-
"--background-color": e.backgroundColor
|
|
35
|
+
"--nmorph-private-alert-close-align": e.closeIconPosition,
|
|
36
|
+
...h({
|
|
37
|
+
"--nmorph-private-alert-background-color": e.backgroundColor
|
|
38
38
|
})
|
|
39
39
|
})), f = () => {
|
|
40
40
|
o("close");
|
|
@@ -42,7 +42,7 @@ const M = /* @__PURE__ */ m({
|
|
|
42
42
|
[r.success]: N,
|
|
43
43
|
[r.warning]: q,
|
|
44
44
|
[r.info]: I,
|
|
45
|
-
[r.error]:
|
|
45
|
+
[r.error]: g
|
|
46
46
|
}, c = u(), t = { props: e, emit: o, modifiers: a, styles: p, closeHandler: f, iconNameMap: d, slots: c, get NmorphIcon() {
|
|
47
47
|
return S;
|
|
48
48
|
}, get NmorphIconCross() {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
const r = {
|
|
2
|
+
success: "success",
|
|
3
|
+
error: "error",
|
|
4
|
+
warning: "warning",
|
|
5
|
+
info: "info"
|
|
6
|
+
};
|
|
2
7
|
export {
|
|
3
8
|
r as NmorphAlertType
|
|
4
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-callout{--callout-color: var(--nmorph-accent-color);--callout-padding: var(--indentation-03) var(--indentation-04);--callout-border-radius: var(--default-border-radius);--callout-accent-width: var(--indentation-02);--callout-title-gap: var(--indentation-03);--callout-title-font-size: var(--font-size
|
|
1
|
+
.nmorph-callout{--nmorph-private-callout-color: var(--nmorph-accent-color);--nmorph-private-callout-padding: var(--indentation-03) var(--indentation-04);--nmorph-private-callout-border-radius: var(--default-border-radius);--nmorph-private-callout-accent-width: var(--indentation-02);--nmorph-private-callout-title-gap: var(--indentation-03);--nmorph-private-callout-title-font-size: var(--nmorph-typography-title-small-font-size);--nmorph-private-callout-content-font-size: var(--nmorph-typography-body-small-font-size);position:relative;display:block;padding:var(--nmorph-private-callout-padding);overflow:hidden;color:inherit;text-decoration:none;border-radius:var(--nmorph-private-callout-border-radius)}.nmorph-callout:before{position:absolute;top:0;left:0;width:var(--nmorph-private-callout-accent-width);height:100%;background:var(--nmorph-private-callout-color);content:""}.nmorph-callout:after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--nmorph-private-callout-color);opacity:.2;content:""}.nmorph-callout.nmorph-callout--warning{--nmorph-private-callout-color: var(--nmorph-warn-color)}.nmorph-callout.nmorph-callout--success{--nmorph-private-callout-color: var(--nmorph-success-color)}.nmorph-callout.nmorph-callout--error{--nmorph-private-callout-color: var(--nmorph-error-color)}.nmorph-callout .nmorph-callout__title{margin-bottom:var(--nmorph-private-callout-title-gap);font-weight:var(--nmorph-typography-title-small-font-weight);font-size:var(--nmorph-private-callout-title-font-size);line-height:var(--nmorph-typography-title-small-line-height)}.nmorph-callout .nmorph-callout__title,.nmorph-callout .nmorph-callout__content{position:relative;z-index:1}.nmorph-callout .nmorph-callout__content{font-weight:var(--nmorph-typography-body-small-font-weight);font-size:var(--nmorph-private-callout-content-font-size);line-height:var(--nmorph-typography-body-small-line-height);white-space:pre-wrap}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './NmorphCallout.css';
|
|
2
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as f, useSlots as c, computed as t } from "vue";
|
|
3
3
|
import { createCssVariables as g, createCssSizeVariables as y } from "../../../utils/common.js";
|
|
4
|
-
const
|
|
4
|
+
const S = /* @__PURE__ */ f({
|
|
5
5
|
__name: "NmorphCallout",
|
|
6
6
|
props: {
|
|
7
7
|
type: { type: String, required: !1, default: "info" },
|
|
@@ -20,8 +20,8 @@ const b = /* @__PURE__ */ p({
|
|
|
20
20
|
borderRadius: { type: [Number, String], required: !1, default: "var(--default-border-radius)" },
|
|
21
21
|
accentWidth: { type: [Number, String], required: !1, default: "var(--indentation-02)" },
|
|
22
22
|
titleGap: { type: [Number, String], required: !1, default: "var(--indentation-03)" },
|
|
23
|
-
titleFontSize: { type: [Number, String], required: !1, default: "var(--font-size
|
|
24
|
-
contentFontSize: { type: [Number, String], required: !1, default: "var(--
|
|
23
|
+
titleFontSize: { type: [Number, String], required: !1, default: "var(--nmorph-typography-title-small-font-size)" },
|
|
24
|
+
contentFontSize: { type: [Number, String], required: !1, default: "var(--nmorph-typography-body-small-font-size)" }
|
|
25
25
|
},
|
|
26
26
|
setup(o, { expose: n }) {
|
|
27
27
|
n();
|
|
@@ -32,30 +32,30 @@ const b = /* @__PURE__ */ p({
|
|
|
32
32
|
top: "_top"
|
|
33
33
|
}, e = o, r = c(), d = t(() => ({
|
|
34
34
|
...y({
|
|
35
|
-
"--callout-padding": e.padding,
|
|
36
|
-
"--callout-border-radius": e.borderRadius,
|
|
37
|
-
"--callout-accent-width": e.accentWidth,
|
|
38
|
-
"--callout-title-gap": e.titleGap,
|
|
39
|
-
"--callout-title-font-size": e.titleFontSize,
|
|
40
|
-
"--callout-content-font-size": e.contentFontSize
|
|
35
|
+
"--nmorph-private-callout-padding": e.padding,
|
|
36
|
+
"--nmorph-private-callout-border-radius": e.borderRadius,
|
|
37
|
+
"--nmorph-private-callout-accent-width": e.accentWidth,
|
|
38
|
+
"--nmorph-private-callout-title-gap": e.titleGap,
|
|
39
|
+
"--nmorph-private-callout-title-font-size": e.titleFontSize,
|
|
40
|
+
"--nmorph-private-callout-content-font-size": e.contentFontSize
|
|
41
41
|
}),
|
|
42
42
|
...g({
|
|
43
|
-
"--callout-color": e.color
|
|
43
|
+
"--nmorph-private-callout-color": e.color
|
|
44
44
|
})
|
|
45
|
-
})),
|
|
45
|
+
})), i = t(() => {
|
|
46
46
|
if (e.target)
|
|
47
47
|
return e.target in a ? a[e.target] : e.target;
|
|
48
48
|
}), u = t(() => e.as !== "a" ? {} : {
|
|
49
49
|
href: e.href,
|
|
50
|
-
target:
|
|
50
|
+
target: i.value,
|
|
51
51
|
rel: e.rel,
|
|
52
52
|
referrerpolicy: e.referrerpolicy ?? e.referrerPolicy,
|
|
53
53
|
download: e.download === !0 ? "" : e.download === !1 ? void 0 : e.download,
|
|
54
54
|
"aria-label": e.ariaLabel
|
|
55
|
-
}),
|
|
56
|
-
return Object.defineProperty(
|
|
55
|
+
}), p = t(() => !!(r.header || r.title || e.title)), s = t(() => !!r.default), l = { targetMap: a, props: e, slots: r, styles: d, resolvedTarget: i, rootAttrs: u, hasHeader: p, hasDefaultContent: s };
|
|
56
|
+
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
S as default
|
|
61
61
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-dialog{position:absolute;top:50%;left:50%;display:flex;flex-direction:column;box-sizing:border-box;width:var(--width);max-width:var(--nmorph-dialog-max-width
|
|
1
|
+
.nmorph-dialog{position:absolute;top:50%;left:50%;display:flex;flex-direction:column;box-sizing:border-box;width:var(--nmorph-private-dialog-width);max-width:var(--nmorph-private-dialog-max-width);max-height:var(--nmorph-private-dialog-max-height, var(--nmorph-private-dialog-default-max-height));padding:var(--indentation-03);background:var(--nmorph-main-color);border-radius:var(--default-border-radius);transform:translate(-50%,-50%);--nmorph-private-dialog-max-width: calc(100vw - 32px) ;--nmorph-private-dialog-default-max-height: calc(100vh - 32px) }@supports (height: 100dvh){.nmorph-dialog{--nmorph-private-dialog-default-max-height: calc(100dvh - 32px) }}.nmorph-dialog .nmorph-dialog__header{display:flex;flex:0 0 auto;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--indentation-02);font-weight:var(--nmorph-typography-title-font-weight);font-size:var(--nmorph-typography-title-font-size);line-height:var(--nmorph-typography-title-line-height)}.nmorph-dialog .nmorph-dialog__close-icon{display:inline-flex;flex:0 0 auto;justify-content:center;align-items:center;width:32px;height:32px;padding:0;color:inherit;background:transparent;border:0;cursor:pointer}.nmorph-dialog .nmorph-dialog__content{flex:1 1 auto;box-sizing:border-box;min-height:0;padding:var(--indentation-02);overflow:hidden auto}
|
|
@@ -1,67 +1,68 @@
|
|
|
1
1
|
import './NmorphDialog.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { useModifiers as
|
|
4
|
-
import
|
|
2
|
+
import { defineComponent as y, useSlots as g, computed as i, ref as v, watch as x } from "vue";
|
|
3
|
+
import { useModifiers as T } from "../../../utils/create-modifiers.js";
|
|
4
|
+
import q from "../../basic/nmorph-icon/NmorphIcon.vue.js";
|
|
5
5
|
import N from "../../others/nmorph-overlay/NmorphOverlay.vue.js";
|
|
6
6
|
import _ from "../../../assets/icons/cross.svg.js";
|
|
7
|
-
const
|
|
7
|
+
const b = /* @__PURE__ */ y({
|
|
8
8
|
__name: "NmorphDialog",
|
|
9
9
|
props: {
|
|
10
10
|
modelValue: { type: Boolean, required: !1, default: !1 },
|
|
11
11
|
title: { type: String, required: !1, default: "" },
|
|
12
12
|
width: { type: String, required: !1, default: "330px" },
|
|
13
|
+
maxWidth: { type: String, required: !1, default: void 0 },
|
|
13
14
|
maxHeight: { type: String, required: !1, default: void 0 },
|
|
14
15
|
openDelay: { type: Number, required: !1, default: 0 },
|
|
15
16
|
closeDelay: { type: Number, required: !1, default: 0 },
|
|
16
|
-
closeOnClickModal: { type: Boolean, required: !1, default: !0 },
|
|
17
17
|
showClose: { type: Boolean, required: !1, default: !0 },
|
|
18
18
|
zIndex: { type: Number, required: !1, default: void 0 },
|
|
19
19
|
closeOnOverlay: { type: Boolean, required: !1, default: !0 },
|
|
20
20
|
closeOnEscape: { type: Boolean, required: !1, default: !0 }
|
|
21
21
|
},
|
|
22
22
|
emits: ["on-close", "update:model-value"],
|
|
23
|
-
setup(
|
|
24
|
-
|
|
25
|
-
const e =
|
|
26
|
-
() =>
|
|
23
|
+
setup(n, { expose: d, emit: p }) {
|
|
24
|
+
d();
|
|
25
|
+
const e = n, r = p, s = g(), f = i(
|
|
26
|
+
() => T({
|
|
27
27
|
"nmorph-dialog": []
|
|
28
28
|
})
|
|
29
|
-
),
|
|
30
|
-
"--nmorph-dialog-width": e.width,
|
|
31
|
-
...e.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
), c = i(() => ({
|
|
30
|
+
"--nmorph-private-dialog-width": e.width,
|
|
31
|
+
...e.maxWidth && { "--nmorph-private-dialog-max-width": e.maxWidth },
|
|
32
|
+
...e.maxHeight && { "--nmorph-private-dialog-max-height": e.maxHeight }
|
|
33
|
+
})), h = i(() => !!(s.header || e.title || e.showClose)), a = v(e.modelValue);
|
|
34
|
+
let o = null, l = null;
|
|
35
|
+
x(
|
|
35
36
|
() => e.modelValue,
|
|
36
|
-
(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}, e.openDelay)) : (
|
|
40
|
-
|
|
37
|
+
(t) => {
|
|
38
|
+
t ? (l && clearTimeout(l), o = setTimeout(() => {
|
|
39
|
+
a.value = !0;
|
|
40
|
+
}, e.openDelay)) : (o && clearTimeout(o), l = setTimeout(() => {
|
|
41
|
+
a.value = !1;
|
|
41
42
|
}, e.closeDelay));
|
|
42
43
|
},
|
|
43
44
|
{ immediate: !0 }
|
|
44
45
|
);
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
|
|
46
|
+
const u = () => {
|
|
47
|
+
r("on-close"), o && clearTimeout(o);
|
|
48
|
+
const t = () => {
|
|
49
|
+
r("update:model-value", !1);
|
|
49
50
|
};
|
|
50
|
-
e.closeDelay <= 0 ?
|
|
51
|
-
}, m = { props: e, emit:
|
|
52
|
-
return
|
|
53
|
-
}, set openTimeout(
|
|
54
|
-
|
|
51
|
+
e.closeDelay <= 0 ? t() : l = setTimeout(t, e.closeDelay);
|
|
52
|
+
}, m = { props: e, emit: r, slots: s, modifiers: f, dialogStyle: c, hasHeader: h, isVisible: a, get openTimeout() {
|
|
53
|
+
return o;
|
|
54
|
+
}, set openTimeout(t) {
|
|
55
|
+
o = t;
|
|
55
56
|
}, get closeTimeout() {
|
|
56
57
|
return l;
|
|
57
|
-
}, set closeTimeout(
|
|
58
|
-
l =
|
|
59
|
-
}, closeHandler:
|
|
60
|
-
|
|
58
|
+
}, set closeTimeout(t) {
|
|
59
|
+
l = t;
|
|
60
|
+
}, closeHandler: u, overlayClickHandler: () => {
|
|
61
|
+
e.closeOnOverlay && u();
|
|
61
62
|
}, get NmorphOverlay() {
|
|
62
63
|
return N;
|
|
63
64
|
}, get NmorphIcon() {
|
|
64
|
-
return
|
|
65
|
+
return q;
|
|
65
66
|
}, get NmorphIconCross() {
|
|
66
67
|
return _;
|
|
67
68
|
} };
|
|
@@ -69,5 +70,5 @@ const B = /* @__PURE__ */ g({
|
|
|
69
70
|
}
|
|
70
71
|
});
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
b as default
|
|
73
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-drawer{position:fixed;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;color:var(--nmorph-text-color);background:var(--nmorph-main-color);box-shadow:
|
|
1
|
+
.nmorph-drawer{position:fixed;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;color:var(--nmorph-text-color);background:var(--nmorph-main-color);box-shadow:none;transition:transform var(--transition-02) ease}.nmorph-drawer--left,.nmorph-drawer--right{top:0;width:min(var(--nmorph-private-drawer-size),100vw);height:100vh}.nmorph-drawer--top,.nmorph-drawer--bottom{left:0;width:100vw;height:min(var(--nmorph-private-drawer-size),100vh)}.nmorph-drawer--left{left:0;transform:translate(-110%)}.nmorph-drawer--right{right:0;transform:translate(110%)}.nmorph-drawer--top{top:0;transform:translateY(-110%)}.nmorph-drawer--bottom{bottom:0;transform:translateY(110%)}.nmorph-drawer--open{transform:translate(0)}.nmorph-drawer .nmorph-drawer__header,.nmorph-drawer .nmorph-drawer__footer{flex:0 0 auto;box-sizing:border-box;padding:var(--indentation-04)}.nmorph-drawer .nmorph-drawer__header{display:flex;gap:var(--indentation-03);justify-content:space-between;align-items:center;font-weight:var(--nmorph-typography-title-font-weight);font-size:var(--nmorph-typography-title-font-size);line-height:var(--nmorph-typography-title-line-height)}.nmorph-drawer .nmorph-drawer__title{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nmorph-drawer .nmorph-drawer__close{display:inline-flex;flex:0 0 auto;justify-content:center;align-items:center;width:32px;height:32px;padding:0;color:inherit;background:transparent;border:0;cursor:pointer}.nmorph-drawer .nmorph-drawer__content{flex:1 1 auto;box-sizing:border-box;min-width:0;min-height:0;padding:0 var(--indentation-04) var(--indentation-04);overflow:hidden auto}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './NmorphDrawer.css';
|
|
2
|
-
import { defineComponent as m, useSlots as c, computed as
|
|
2
|
+
import { defineComponent as m, useSlots as c, computed as t } from "vue";
|
|
3
3
|
import { useModifiers as y } from "../../../utils/create-modifiers.js";
|
|
4
4
|
import { createCssSizeVariables as h } from "../../../utils/common.js";
|
|
5
5
|
import q from "../../others/nmorph-overlay/NmorphOverlay.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import v from "../../basic/nmorph-icon/NmorphIcon.vue.js";
|
|
7
|
+
import _ from "../../../assets/icons/cross.svg.js";
|
|
8
8
|
const w = /* @__PURE__ */ m({
|
|
9
9
|
__name: "NmorphDrawer",
|
|
10
10
|
props: {
|
|
@@ -23,22 +23,22 @@ const w = /* @__PURE__ */ m({
|
|
|
23
23
|
emits: ["on-close", "update:model-value"],
|
|
24
24
|
setup(s, { expose: n, emit: u }) {
|
|
25
25
|
n();
|
|
26
|
-
const e = s, r = u,
|
|
26
|
+
const e = s, r = u, o = c(), p = t(
|
|
27
27
|
() => y({
|
|
28
28
|
"nmorph-drawer": [e.placement, e.modelValue && "open"]
|
|
29
29
|
})
|
|
30
|
-
),
|
|
30
|
+
), d = t(
|
|
31
31
|
() => h({
|
|
32
|
-
"--nmorph-drawer-size": e.size
|
|
32
|
+
"--nmorph-private-drawer-size": e.size
|
|
33
33
|
})
|
|
34
34
|
), l = () => {
|
|
35
35
|
r("on-close"), r("update:model-value", !1);
|
|
36
36
|
}, i = () => {
|
|
37
37
|
e.closeOnOverlay && l();
|
|
38
|
-
}, f =
|
|
39
|
-
return _;
|
|
40
|
-
}, get NmorphIconCross() {
|
|
38
|
+
}, f = t(() => !!(o.header || e.title || e.showClose)), a = { props: e, emit: r, slots: o, modifiers: p, drawerStyle: d, closeHandler: l, overlayClickHandler: i, hasHeader: f, get NmorphIcon() {
|
|
41
39
|
return v;
|
|
40
|
+
}, get NmorphIconCross() {
|
|
41
|
+
return _;
|
|
42
42
|
}, get NmorphOverlay() {
|
|
43
43
|
return q;
|
|
44
44
|
} };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.nmorph-guide{display:contents}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './NmorphGuide.css';
|
|
2
|
+
import o from "./NmorphGuide.vue2.js";
|
|
3
|
+
import { openBlock as r, createElementBlock as t, renderSlot as n } from "vue";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import p from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const s = { class: "nmorph-guide" };
|
|
7
|
+
function i(e, c, m, d, a, f) {
|
|
8
|
+
return r(), t("div", s, [
|
|
9
|
+
n(e.$slots, "default")
|
|
10
|
+
]);
|
|
11
|
+
}
|
|
12
|
+
const $ = /* @__PURE__ */ p(o, [["render", i], ["__file", "/builds/ketjo/nmorph/library/src/components/feedback/nmorph-guide/NmorphGuide.vue"]]);
|
|
13
|
+
export {
|
|
14
|
+
$ as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import './NmorphGuide.css';
|
|
2
|
+
import { defineComponent as P, ref as C, computed as a, watch as j, provide as z } from "vue";
|
|
3
|
+
import { nmorphGuideInjectionKey as A } from "./types.js";
|
|
4
|
+
const G = /* @__PURE__ */ P({
|
|
5
|
+
__name: "NmorphGuide",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: { type: Boolean, required: !1, default: !1 },
|
|
8
|
+
activeStep: { type: [String, Number], required: !1, default: void 0 },
|
|
9
|
+
steps: { type: Array, required: !1, default: () => [] },
|
|
10
|
+
loop: { type: Boolean, required: !1, default: !1 },
|
|
11
|
+
closeOnFinish: { type: Boolean, required: !1, default: !0 },
|
|
12
|
+
showClose: { type: Boolean, required: !1, default: !0 },
|
|
13
|
+
showProgress: { type: Boolean, required: !1, default: !0 },
|
|
14
|
+
backText: { type: String, required: !1, default: "Back" },
|
|
15
|
+
nextText: { type: String, required: !1, default: "Next" },
|
|
16
|
+
finishText: { type: String, required: !1, default: "Finish" },
|
|
17
|
+
closeText: { type: String, required: !1, default: "Close" },
|
|
18
|
+
zIndex: { type: Number, required: !1, default: void 0 },
|
|
19
|
+
width: { type: [Number, String], required: !1, default: void 0 },
|
|
20
|
+
maxWidth: { type: [Number, String], required: !1, default: "280px" }
|
|
21
|
+
},
|
|
22
|
+
emits: ["update:model-value", "update:active-step", "change", "back", "next", "finish", "close"],
|
|
23
|
+
setup(I, { expose: N, emit: B }) {
|
|
24
|
+
const r = I, l = B, u = C({}), g = C(void 0);
|
|
25
|
+
let f = 0;
|
|
26
|
+
const d = (e) => String(e), y = a(() => {
|
|
27
|
+
const e = /* @__PURE__ */ new Map();
|
|
28
|
+
return r.steps.forEach((t, s) => {
|
|
29
|
+
e.set(d(t.name), {
|
|
30
|
+
...t,
|
|
31
|
+
order: t.order ?? s
|
|
32
|
+
});
|
|
33
|
+
}), e;
|
|
34
|
+
}), n = a(
|
|
35
|
+
() => Object.values(u.value).map((e) => ({
|
|
36
|
+
...e,
|
|
37
|
+
...y.value.get(d(e.name)),
|
|
38
|
+
registrationOrder: e.registrationOrder
|
|
39
|
+
})).filter((e) => !e.disabled).sort((e, t) => {
|
|
40
|
+
const s = e.order ?? e.registrationOrder, F = t.order ?? t.registrationOrder;
|
|
41
|
+
return s - F;
|
|
42
|
+
})
|
|
43
|
+
), q = a(() => r.modelValue && n.value.length > 0), O = a(() => r.activeStep ?? g.value), o = a(() => n.value.findIndex((e) => e.name === O.value)), i = a(() => n.value[o.value] ?? null), T = a(() => o.value <= 0), b = a(() => o.value >= n.value.length - 1), p = (e) => {
|
|
44
|
+
const t = n.value.find((s) => s.name === e);
|
|
45
|
+
t && (g.value = e, l("update:active-step", e), l("change", t, n.value.indexOf(t)));
|
|
46
|
+
}, c = (e) => {
|
|
47
|
+
const t = n.value[e];
|
|
48
|
+
t && p(t.name);
|
|
49
|
+
}, v = () => {
|
|
50
|
+
l("update:model-value", !1), l("close", i.value, o.value);
|
|
51
|
+
}, m = () => {
|
|
52
|
+
l("finish", i.value, o.value), r.closeOnFinish && v();
|
|
53
|
+
}, x = () => {
|
|
54
|
+
if (i.value) {
|
|
55
|
+
if (l("back", i.value, o.value), T.value) {
|
|
56
|
+
r.loop && c(n.value.length - 1);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
c(o.value - 1);
|
|
60
|
+
}
|
|
61
|
+
}, h = () => {
|
|
62
|
+
if (i.value) {
|
|
63
|
+
if (l("next", i.value, o.value), b.value) {
|
|
64
|
+
r.loop ? c(0) : m();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
c(o.value + 1);
|
|
68
|
+
}
|
|
69
|
+
}, S = (e) => {
|
|
70
|
+
p(e);
|
|
71
|
+
}, w = (e) => {
|
|
72
|
+
const t = d(e.name), s = u.value[t];
|
|
73
|
+
u.value = {
|
|
74
|
+
...u.value,
|
|
75
|
+
[t]: {
|
|
76
|
+
...s,
|
|
77
|
+
...e,
|
|
78
|
+
registrationOrder: s?.registrationOrder ?? f
|
|
79
|
+
}
|
|
80
|
+
}, s || (f += 1);
|
|
81
|
+
}, _ = (e) => {
|
|
82
|
+
const t = d(e), s = { ...u.value };
|
|
83
|
+
delete s[t], u.value = s;
|
|
84
|
+
};
|
|
85
|
+
j(
|
|
86
|
+
[() => r.modelValue, n, i],
|
|
87
|
+
([e, t, s]) => {
|
|
88
|
+
!e || s || t.length === 0 || p(t[0].name);
|
|
89
|
+
},
|
|
90
|
+
{ immediate: !0 }
|
|
91
|
+
), z(A, {
|
|
92
|
+
active: q,
|
|
93
|
+
activeStep: i,
|
|
94
|
+
activeIndex: o,
|
|
95
|
+
steps: n,
|
|
96
|
+
loop: a(() => r.loop),
|
|
97
|
+
showClose: a(() => r.showClose),
|
|
98
|
+
showProgress: a(() => r.showProgress),
|
|
99
|
+
backText: a(() => r.backText),
|
|
100
|
+
nextText: a(() => r.nextText),
|
|
101
|
+
finishText: a(() => r.finishText),
|
|
102
|
+
closeText: a(() => r.closeText),
|
|
103
|
+
zIndex: a(() => r.zIndex),
|
|
104
|
+
width: a(() => r.width),
|
|
105
|
+
maxWidth: a(() => r.maxWidth),
|
|
106
|
+
registerStep: w,
|
|
107
|
+
unregisterStep: _,
|
|
108
|
+
goToStep: S,
|
|
109
|
+
back: x,
|
|
110
|
+
next: h,
|
|
111
|
+
finish: m,
|
|
112
|
+
close: v
|
|
113
|
+
}), N({ back: x, next: h, finish: m, close: v, goToStep: S });
|
|
114
|
+
const k = { props: r, emit: l, registeredSteps: u, internalActiveStep: g, get registrationCursor() {
|
|
115
|
+
return f;
|
|
116
|
+
}, set registrationCursor(e) {
|
|
117
|
+
f = e;
|
|
118
|
+
}, getStepKey: d, stepOverrides: y, steps: n, active: q, activeStepName: O, activeIndex: o, activeStep: i, isFirstStep: T, isLastStep: b, setActiveStep: p, goToIndex: c, close: v, finish: m, back: x, next: h, goToStep: S, registerStep: w, unregisterStep: _ };
|
|
119
|
+
return Object.defineProperty(k, "__isScriptSetup", { enumerable: !1, value: !0 }), k;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
G as default
|
|
124
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.nmorph-guide-step__card{display:grid;gap:var(--indentation-03);min-width:min(240px,100vw - 48px)}.nmorph-guide-step__image{display:block;width:100%;max-height:140px;border-radius:var(--default-border-radius);object-fit:cover}.nmorph-guide-step__body{display:grid;gap:var(--indentation-02)}.nmorph-guide-step__progress{color:var(--nmorph-placeholder-text-color);font-size:var(--nmorph-typography-body-small-font-size);line-height:var(--nmorph-typography-body-small-line-height)}.nmorph-guide-step__title{margin:0;color:var(--nmorph-text-color);font-size:var(--nmorph-typography-title-small-font-size);line-height:var(--nmorph-typography-title-small-line-height)}.nmorph-guide-step__text{margin:0;color:var(--nmorph-text-color);font-size:var(--nmorph-typography-body-font-size);line-height:var(--nmorph-typography-body-line-height)}.nmorph-guide-step__actions{display:flex;gap:var(--indentation-02);align-items:center}.nmorph-guide-step__spacer{flex:1 1 auto}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import './NmorphGuideStep.css';
|
|
2
|
+
import m from "./NmorphGuideStep.vue2.js";
|
|
3
|
+
import { openBlock as t, createBlock as s, withCtx as a, renderSlot as c, normalizeProps as g, mergeProps as p, createElementBlock as o, createCommentVNode as i, createElementVNode as l, toDisplayString as n, createVNode as h } from "vue";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const u = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "nmorph-guide-step__card",
|
|
9
|
+
role: "dialog",
|
|
10
|
+
"aria-live": "polite"
|
|
11
|
+
}, v = ["src", "alt"], x = { class: "nmorph-guide-step__body" }, k = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "nmorph-guide-step__progress"
|
|
14
|
+
}, S = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "nmorph-guide-step__title"
|
|
17
|
+
}, f = {
|
|
18
|
+
key: 2,
|
|
19
|
+
class: "nmorph-guide-step__text"
|
|
20
|
+
}, b = { class: "nmorph-guide-step__actions" };
|
|
21
|
+
function w(d, r, y, e, C, N) {
|
|
22
|
+
return t(), s(e.NmorphTooltip, {
|
|
23
|
+
"force-show": e.isActive,
|
|
24
|
+
position: e.tooltipPosition,
|
|
25
|
+
"z-index": e.guide?.zIndex.value,
|
|
26
|
+
width: e.guide?.width.value,
|
|
27
|
+
"max-width": e.guide?.maxWidth.value,
|
|
28
|
+
trigger: "manual",
|
|
29
|
+
disabled: !e.guide || e.props.disabled
|
|
30
|
+
}, {
|
|
31
|
+
content: a(() => [
|
|
32
|
+
e.hasCustomContent && e.stepSlotProps ? c(d.$slots, "content", g(p({ key: 0 }, e.stepSlotProps))) : e.currentStep && e.stepSlotProps ? (t(), o("div", u, [
|
|
33
|
+
e.currentStep.imageSrc ? (t(), o("img", {
|
|
34
|
+
key: 0,
|
|
35
|
+
class: "nmorph-guide-step__image",
|
|
36
|
+
src: e.currentStep.imageSrc,
|
|
37
|
+
alt: e.currentStep.imageAlt || e.currentStep.title || ""
|
|
38
|
+
}, null, 8, v)) : i("v-if", !0),
|
|
39
|
+
l("div", x, [
|
|
40
|
+
e.guide?.showProgress.value ? (t(), o(
|
|
41
|
+
"div",
|
|
42
|
+
k,
|
|
43
|
+
n(e.stepSlotProps.index + 1) + " / " + n(e.stepSlotProps.total),
|
|
44
|
+
1
|
|
45
|
+
/* TEXT */
|
|
46
|
+
)) : i("v-if", !0),
|
|
47
|
+
e.currentStep.title ? (t(), o(
|
|
48
|
+
"h3",
|
|
49
|
+
S,
|
|
50
|
+
n(e.currentStep.title),
|
|
51
|
+
1
|
|
52
|
+
/* TEXT */
|
|
53
|
+
)) : i("v-if", !0),
|
|
54
|
+
e.currentStep.text ? (t(), o(
|
|
55
|
+
"p",
|
|
56
|
+
f,
|
|
57
|
+
n(e.currentStep.text),
|
|
58
|
+
1
|
|
59
|
+
/* TEXT */
|
|
60
|
+
)) : i("v-if", !0)
|
|
61
|
+
]),
|
|
62
|
+
l("div", b, [
|
|
63
|
+
e.guide?.showClose.value ? (t(), s(e.NmorphButton, {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: "nmorph-guide-step__close",
|
|
66
|
+
text: e.guide.closeText.value,
|
|
67
|
+
design: "plain",
|
|
68
|
+
thickness: "thin",
|
|
69
|
+
onClick: e.guide.close
|
|
70
|
+
}, null, 8, ["text", "onClick"])) : i("v-if", !0),
|
|
71
|
+
r[1] || (r[1] = l(
|
|
72
|
+
"span",
|
|
73
|
+
{ class: "nmorph-guide-step__spacer" },
|
|
74
|
+
null,
|
|
75
|
+
-1
|
|
76
|
+
/* CACHED */
|
|
77
|
+
)),
|
|
78
|
+
h(e.NmorphButton, {
|
|
79
|
+
class: "nmorph-guide-step__back",
|
|
80
|
+
text: e.guide?.backText.value,
|
|
81
|
+
design: "plain",
|
|
82
|
+
thickness: "thin",
|
|
83
|
+
disabled: e.isFirstStep && !e.guide?.loop.value,
|
|
84
|
+
onClick: e.guide?.back
|
|
85
|
+
}, null, 8, ["text", "disabled", "onClick"]),
|
|
86
|
+
h(e.NmorphButton, {
|
|
87
|
+
class: "nmorph-guide-step__next",
|
|
88
|
+
text: e.isLastStep && !e.guide?.loop.value ? e.guide?.finishText.value : e.guide?.nextText.value,
|
|
89
|
+
thickness: "thin",
|
|
90
|
+
onClick: r[0] || (r[0] = (P) => e.isLastStep && !e.guide?.loop.value ? e.guide?.finish() : e.guide?.next())
|
|
91
|
+
}, null, 8, ["text"])
|
|
92
|
+
])
|
|
93
|
+
])) : i("v-if", !0)
|
|
94
|
+
]),
|
|
95
|
+
default: a(() => [
|
|
96
|
+
c(d.$slots, "default")
|
|
97
|
+
]),
|
|
98
|
+
_: 3
|
|
99
|
+
/* FORWARDED */
|
|
100
|
+
}, 8, ["force-show", "position", "z-index", "width", "max-width", "disabled"]);
|
|
101
|
+
}
|
|
102
|
+
const A = /* @__PURE__ */ _(m, [["render", w], ["__file", "/builds/ketjo/nmorph/library/src/components/feedback/nmorph-guide/NmorphGuideStep.vue"]]);
|
|
103
|
+
export {
|
|
104
|
+
A as default
|
|
105
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import './NmorphGuideStep.css';
|
|
2
|
+
import { defineComponent as g, inject as b, useSlots as x, computed as o, watch as y, onBeforeUnmount as _ } from "vue";
|
|
3
|
+
import h from "../../basic/nmorph-button/NmorphButton.vue.js";
|
|
4
|
+
import q from "../nmorph-tooltip/NmorphTooltip.vue.js";
|
|
5
|
+
import { nmorphGuideInjectionKey as B } from "./types.js";
|
|
6
|
+
const I = /* @__PURE__ */ g({
|
|
7
|
+
__name: "NmorphGuideStep",
|
|
8
|
+
props: {
|
|
9
|
+
name: { type: [String, Number], required: !0 },
|
|
10
|
+
title: { type: String, required: !1, default: "" },
|
|
11
|
+
text: { type: String, required: !1, default: "" },
|
|
12
|
+
imageSrc: { type: String, required: !1, default: "" },
|
|
13
|
+
imageAlt: { type: String, required: !1, default: "" },
|
|
14
|
+
position: { type: null, required: !1, default: "bottom" },
|
|
15
|
+
order: { type: Number, required: !1, default: void 0 },
|
|
16
|
+
disabled: { type: Boolean, required: !1, default: !1 }
|
|
17
|
+
},
|
|
18
|
+
setup(p, { expose: d }) {
|
|
19
|
+
d();
|
|
20
|
+
const e = p, t = b(B, null), a = x(), i = o(() => t?.activeStep.value ?? null), r = o(() => t?.activeIndex.value ?? -1), n = o(() => t?.steps.value.length ?? 0), s = o(() => r.value <= 0), l = o(() => r.value >= n.value - 1), m = o(() => !!(t?.active.value && i.value?.name === e.name)), c = o(() => i.value?.position ?? e.position), f = o(() => !!a.content), v = o(() => !t || !i.value ? null : {
|
|
21
|
+
step: i.value,
|
|
22
|
+
index: r.value,
|
|
23
|
+
total: n.value,
|
|
24
|
+
isFirst: s.value,
|
|
25
|
+
isLast: l.value,
|
|
26
|
+
back: t.back,
|
|
27
|
+
next: t.next,
|
|
28
|
+
close: t.close,
|
|
29
|
+
finish: t.finish
|
|
30
|
+
});
|
|
31
|
+
y(
|
|
32
|
+
() => ({
|
|
33
|
+
name: e.name,
|
|
34
|
+
title: e.title,
|
|
35
|
+
text: e.text,
|
|
36
|
+
imageSrc: e.imageSrc,
|
|
37
|
+
imageAlt: e.imageAlt,
|
|
38
|
+
position: e.position,
|
|
39
|
+
order: e.order,
|
|
40
|
+
disabled: e.disabled
|
|
41
|
+
}),
|
|
42
|
+
(S) => {
|
|
43
|
+
t?.registerStep(S);
|
|
44
|
+
},
|
|
45
|
+
{ immediate: !0 }
|
|
46
|
+
), _(() => {
|
|
47
|
+
t?.unregisterStep(e.name);
|
|
48
|
+
});
|
|
49
|
+
const u = { props: e, guide: t, slots: a, currentStep: i, currentIndex: r, totalSteps: n, isFirstStep: s, isLastStep: l, isActive: m, tooltipPosition: c, hasCustomContent: f, stepSlotProps: v, NmorphButton: h, NmorphTooltip: q };
|
|
50
|
+
return Object.defineProperty(u, "__isScriptSetup", { enumerable: !1, value: !0 }), u;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
export {
|
|
54
|
+
I as default
|
|
55
|
+
};
|