@nutui/nutui 4.3.7 → 4.3.9
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/CHANGELOG.md +26 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +4275 -4416
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +1 -1
- package/dist/packages/address/Address.js +1 -1
- package/dist/packages/address/index.css +1 -1
- package/dist/packages/badge/Badge.js +60 -72
- package/dist/packages/calendar/Calendar.js +1 -1
- package/dist/packages/cascader/Cascader.js +1 -1
- package/dist/packages/countdown/Countdown.js +2 -2
- package/dist/packages/dialog/Dialog.js +3 -3
- package/dist/packages/elevator/index.css +1 -1
- package/dist/packages/elevator/index.scss +4 -0
- package/dist/packages/fixednav/FixedNav.js +2 -2
- package/dist/packages/imagepreview/ImagePreview.js +3 -3
- package/dist/packages/{index-uHBD4dfS.js → index-wLaOjIn1.js} +2 -2
- package/dist/packages/list/index.css +1 -1
- package/dist/packages/list/index.scss +4 -0
- package/dist/packages/menuitem/MenuItem.js +1 -1
- package/dist/packages/menuitem/index.css +1 -1
- package/dist/packages/menuitem/index.scss +4 -0
- package/dist/packages/notify/Notify.js +1 -1
- package/dist/packages/numberkeyboard/NumberKeyboard.js +1 -1
- package/dist/packages/overlay/Overlay.js +40 -54
- package/dist/packages/popover/Popover.js +1 -1
- package/dist/packages/popup/Popup.js +1 -1
- package/dist/packages/shortpassword/ShortPassword.js +1 -1
- package/dist/packages/sku/Sku.js +1 -1
- package/dist/packages/tabbaritem/TabbarItem.js +3 -3
- package/dist/packages/timeselect/TimeSelect.js +1 -1
- package/dist/packages/watermark/Watermark.js +69 -159
- package/dist/smartips/web-types.json +3 -3
- package/dist/style.css +1 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
- package/dist/types/__VUE/address/index.vue.d.ts +5 -5
- package/dist/types/__VUE/badge/badge.vue.d.ts +93 -0
- package/dist/types/__VUE/badge/index.d.ts +5 -0
- package/dist/types/__VUE/calendar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +2 -2
- package/dist/types/__VUE/collapseitem/collapse-item.vue.d.ts +1 -1
- package/dist/types/__VUE/dialog/index.vue.d.ts +4 -4
- package/dist/types/__VUE/divider/divider.vue.d.ts +1 -1
- package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
- package/dist/types/__VUE/input/input.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menu/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +2 -2
- package/dist/types/__VUE/overlay/index.d.ts +5 -0
- package/dist/types/__VUE/overlay/overlay.vue.d.ts +87 -0
- package/dist/types/__VUE/picker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/popover/index.vue.d.ts +4 -4
- package/dist/types/__VUE/popup/index.vue.d.ts +3 -3
- package/dist/types/__VUE/row/row.vue.d.ts +1 -1
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +2 -2
- package/dist/types/__VUE/sku/index.vue.d.ts +2 -2
- package/dist/types/__VUE/swipe/swipe.vue.d.ts +1 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
- package/dist/types/__VUE/watermark/index.d.ts +6 -0
- package/dist/types/__VUE/watermark/watermark.vue.d.ts +127 -0
- package/dist/types/index.d.ts +7 -4
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/types/__VUE/badge/index.vue.d.ts +0 -102
- package/dist/types/__VUE/overlay/index.vue.d.ts +0 -85
- package/dist/types/__VUE/watermark/index.vue.d.ts +0 -201
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
21
21
|
import { useSlots, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeClass, normalizeStyle } from "vue";
|
|
22
|
-
import { N as NutPopup, p as popupProps } from "../index-
|
|
22
|
+
import { N as NutPopup, p as popupProps } from "../index-wLaOjIn1.js";
|
|
23
23
|
import { Loading } from "@nutui/icons-vue";
|
|
24
24
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
25
25
|
const { create } = createComponent("action-sheet");
|
|
@@ -20,7 +20,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20
20
|
import { ref, reactive, computed, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, renderSlot, withDirectives, createVNode, vShow, toDisplayString, createElementBlock, Fragment, renderList, normalizeClass, createCommentVNode, normalizeStyle, createTextVNode } from "vue";
|
|
21
21
|
import { Location, Location2, Check, Close, Left } from "@nutui/icons-vue";
|
|
22
22
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
23
|
-
import { N as NutPopup, p as popupProps } from "../index-
|
|
23
|
+
import { N as NutPopup, p as popupProps } from "../index-wLaOjIn1.js";
|
|
24
24
|
import NutElevator from "../elevator/Elevator.js";
|
|
25
25
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
26
26
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.overlay-fade-enter-active,.overlay-fade-leave-active{transition-property:opacity;transition-timing-function:ease}.overlay-fade-enter-from,.overlay-fade-leave-to{opacity:0}.nut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--nut-overlay-bg-color, rgba(0, 0, 0, 0.7))}.nut-overflow-hidden{overflow:hidden !important}.nut-theme-dark .nut-popup{background:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-popup__close-icon{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-popup-slide-center-enter-active,.nut-popup-slide-center-leave-active{transition-property:opacity;transition-timing-function:ease}.nut-popup-slide-center-enter-from,.nut-popup-slide-center-leave-to{opacity:0}.nut-popup-slide-top-enter-from,.nut-popup-slide-top-leave-active{transform:translate(0, -100%)}.nut-popup-slide-right-enter-from,.nut-popup-slide-right-leave-active{transform:translate(100%, 0)}.nut-popup-slide-bottom-enter-from,.nut-popup-slide-bottom-leave-active{transform:translate(0, 100%)}.nut-popup-slide-left-enter-from,.nut-popup-slide-left-leave-active{transform:translate(-100%, 0)}.nut-popup--center{top:50%;left:50%;transform:translate(-50%, -50%)}.nut-popup--center.round{border-radius:var(--nut-popup-border-radius, 20px)}.nut-popup--bottom{bottom:0;left:0;width:100%}.nut-popup--bottom.round{border-radius:var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0 0}.nut-popup--bottom--safebottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.nut-popup--right{top:0;right:0}.nut-popup--right.round{border-radius:var(--nut-popup-border-radius, 20px) 0 0 var(--nut-popup-border-radius, 20px)}.nut-popup--left{top:0;left:0}.nut-popup--left.round{border-radius:0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0}.nut-popup--top{top:0;left:0;width:100%}.nut-popup--top.round{border-radius:0 0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px)}.nut-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:var(--nut-white, #fff);-webkit-overflow-scrolling:touch}.nut-popup__close-icon{position:absolute !important;z-index:1;color:#969799;font-size:18px;cursor:pointer;width:30px;height:30px;line-height:30px;text-align:center}.nut-popup__close-icon:active{opacity:.7}.nut-popup__close-icon--top-left{top:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--top-right{top:var(--nut-popup-close-icon-margin, 16px);right:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-left{bottom:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-right{right:var(--nut-popup-close-icon-margin, 16px);bottom:var(--nut-popup-close-icon-margin, 16px)}.nut-theme-dark .nut-elevator{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-elevator__list__item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__item__code{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__fixed{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-elevator{width:100%;display:block;position:relative}.nut-elevator__list{display:block;position:relative;overflow:auto}.nut-elevator__list__item{display:block;font-size:var(--nut-elevator-list-item-font-size, 12px);color:var(--nut-elevator-list-item-font-color, #333333)}.nut-elevator__list__item__code{display:flex;position:relative;height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-item-code-font-color, #1a1a1a);padding:var(--nut-elevator-list-item-code-padding, 0 20px);font-weight:var(--nut-elevator-list-item-code-font-weight, 500);box-sizing:border-box}.nut-elevator__list__item__code::after{content:" ";width:var(--nut-elevator-list-item-code-after-width, 100%);height:var(--nut-elevator-list-item-code-after-height, 1px);position:absolute;left:0;bottom:0;background-color:var(--nut-elevator-list-item-code-after-bg-color, #f5f5f5)}.nut-elevator__list__item__name{display:flex;align-items:center;padding:var(--nut-elevator-list-item-name-padding, 0 20px);height:var(--nut-elevator-list-item-name-height, 30px);line-height:var(--nut-elevator-list-item-name-line-height, 30px)}.nut-elevator__list__item__name--highcolor{color:var(--nut-elevator-list-item-highcolor, var(--nut-primary-color, #fa2c19))}.nut-elevator__list__fixed{width:100%;position:absolute;top:0;left:0;padding:var(--nut-elevator-list-item-code-padding, 0 20px);height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-fixed-color, var(--nut-primary-color, #fa2c19));font-weight:var(--nut-elevator-list-item-code-font-weight, 500);background-color:var(--nut-elevator-list-fixed-bg-color, var(--nut-white, #fff));box-sizing:border-box;box-shadow:var(--nut-elevator-list-fixed-box-shadow, 0 0 10px #eee);z-index:1}.nut-elevator__code--current{position:var(--nut-elevator-list-item-code-current-position, absolute);right:var(--nut-elevator-list-item-code-current-right, 60px);top:var(--nut-elevator-list-item-code-current-top, 50%);transform:var(--nut-elevator-list-item-code-current-transform, translateY(-50%));width:var(--nut-elevator-list-item-code-current-width, 45px);height:var(--nut-elevator-list-item-code-current-height, 45px);line-height:var(--nut-elevator-list-item-code-current-line-height, 45px);border-radius:var(--nut-elevator-list-item-code-current-border-radius, 50%);background:var(--nut-elevator-list-item-code-current-bg-color, #fff);box-shadow:var(--nut-elevator-list-item-code-current-box-shadow, 0 3px 3px 1px rgb(240, 240, 240));text-align:var(--nut-elevator-list-item-code-current-text-align, center)}.nut-elevator__bars{position:var(--nut-elevator-list-item-bars-position, absolute);right:var(--nut-elevator-list-item-bars-right, 8px);top:var(--nut-elevator-list-item-bars-top, 50%);transform:var(--nut-elevator-list-item-bars-transform, translateY(-50%));padding:var(--nut-elevator-list-item-bars-padding, 15px 0);background-color:var(--nut-elevator-list-item-bars-background-color, #eeeff2);border-radius:var(--nut-elevator-list-item-bars-border-radius, 6px);text-align:var(--nut-elevator-list-item-bars-text-align, center);z-index:var(--nut-elevator-list-item-bars-z-index, 1)}.nut-elevator__bars__inner__item{display:block;padding:var(--nut-elevator-list-item-bars-inner-item-padding, 3px);font-size:var(--nut-elevator-list-item-bars-inner-item-font-size, 10px)}.nut-elevator__bars__inner__item.active{color:var(--nut-elevator-list-item-bars-inner-item-active-color, var(--nut-primary-color, #fa2c19))}.nut-theme-dark .nut-address__header{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address__header__title{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__custom .nut-address__region{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__exist .nut-address__exist-choose{border-top:1px solid var(--nut-dark-background, #131313)}.nut-theme-dark .nut-address-custom-buttom{border-top:1px solid var(--nut-dark-background, #131313)}.nut-address{display:block}.nut-address__header{display:flex;justify-content:space-between;align-items:center;height:68px;padding:0 20px;text-align:center;font-weight:bold;color:#333}.nut-address__header__title{display:block;color:var(--nut-address-header-title-color, #262626);font-size:var(--nut-address-header-title-font-size, 18px)}.nut-address .nut-address__custom{display:block}.nut-address .nut-address__custom .nut-address__region{position:relative;padding:0 20px;display:flex;font-size:var(--nut-address-region-tab-font-size, 13px);color:var(--nut-address-region-tab-color, #1d1e1e)}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item{position:relative;min-width:2px;margin-right:30px;display:block}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item.active{font-weight:var(--nut-address-region-tab-active-item-font-weight, bold)}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item view{display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item .nut-address__region-line--mini{position:absolute;bottom:-10px;left:0px;display:inline-block;margin-top:5px;width:0;height:3px;background:var(--nut-address-region-tab-line, linear-gradient(90deg, var(--nut-primary-color, #fa2c19) 0%, rgba(250, 44, 25, 0.15) 100%));transition:.2s all linear}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item .nut-address__region-line--mini.active{width:26px}.nut-address .nut-address__custom .nut-address__region .nut-address__region-line{position:absolute;bottom:-10px;left:20px;display:inline-block;margin-top:5px;width:26px;height:3px;background:var(--nut-address-region-tab-line, linear-gradient(90deg, var(--nut-primary-color, #fa2c19) 0%, rgba(250, 44, 25, 0.15) 100%));transition:.2s all linear;border-radius:var(--nut-address-region-tab-line-border-radius, 0);opacity:var(--nut-address-region-tab-line-opacity, 1)}.nut-address .nut-address__custom .nut-address__detail{display:block;margin:20px 20px 0}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list{padding-top:15px;height:270px;box-sizing:border-box;padding:0}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item{display:flex;align-items:center;font-size:var(--nut-address-region-item-font-size, var(--nut-font-size-1, 12px));color:var(--nut-address-region-item-color, #333)}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item.active{font-weight:bold}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item>div{display:flex;align-items:center;margin:10px 0}.nut-address .nut-address__custom .nut-address__elevator-group{display:flex;margin-top:20px}.nut-address .nut-address__exist{display:block;margin-top:15px}.nut-address .nut-address__exist .nut-address__exist-group{padding:15px 20px 0;height:279px;overflow-y:scroll}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list{box-sizing:border-box;padding:0}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item{display:flex;align-items:center;margin-bottom:20px;font-size:var(--nut-font-size-1, 12px);line-height:14px;color:#333}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item.active{font-weight:bold}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item .exist-item-icon{margin-right:var(--nut-address-item-margin-right, 9px);color:var(--nut-address-icon-color, var(--nut-primary-color, #fa2c19)) !important}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item span{display:inline-block;flex:1}.nut-address .nut-address__exist .nut-address__exist-choose{width:100%;height:54px;padding:6px 0px 0;border-top:1px solid #f2f2f2}.nut-address .nut-address__exist .nut-address__exist-choose .nut-address__exist-choose-btn{width:90%;height:42px;line-height:42px;margin:auto;text-align:center;background:var(--nut-button-primary-background-color, linear-gradient(135deg, var(--nut-primary-color, var(--nut-primary-color, #fa2c19)) 0%, var(--nut-primary-color, var(--nut-primary-color, #fa2c19)) 100%));border-radius:21px;font-size:15px;color:var(--nut-white, #fff)}.nut-address-select-icon{margin-right:var(--nut-address-item-margin-right, 9px);color:var(--nut-address-icon-color, var(--nut-primary-color, #fa2c19)) !important}
|
|
1
|
+
.overlay-fade-enter-active,.overlay-fade-leave-active{transition-property:opacity;transition-timing-function:ease}.overlay-fade-enter-from,.overlay-fade-leave-to{opacity:0}.nut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--nut-overlay-bg-color, rgba(0, 0, 0, 0.7))}.nut-overflow-hidden{overflow:hidden !important}.nut-theme-dark .nut-popup{background:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-popup__close-icon{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-popup-slide-center-enter-active,.nut-popup-slide-center-leave-active{transition-property:opacity;transition-timing-function:ease}.nut-popup-slide-center-enter-from,.nut-popup-slide-center-leave-to{opacity:0}.nut-popup-slide-top-enter-from,.nut-popup-slide-top-leave-active{transform:translate(0, -100%)}.nut-popup-slide-right-enter-from,.nut-popup-slide-right-leave-active{transform:translate(100%, 0)}.nut-popup-slide-bottom-enter-from,.nut-popup-slide-bottom-leave-active{transform:translate(0, 100%)}.nut-popup-slide-left-enter-from,.nut-popup-slide-left-leave-active{transform:translate(-100%, 0)}.nut-popup--center{top:50%;left:50%;transform:translate(-50%, -50%)}.nut-popup--center.round{border-radius:var(--nut-popup-border-radius, 20px)}.nut-popup--bottom{bottom:0;left:0;width:100%}.nut-popup--bottom.round{border-radius:var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0 0}.nut-popup--bottom--safebottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.nut-popup--right{top:0;right:0}.nut-popup--right.round{border-radius:var(--nut-popup-border-radius, 20px) 0 0 var(--nut-popup-border-radius, 20px)}.nut-popup--left{top:0;left:0}.nut-popup--left.round{border-radius:0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0}.nut-popup--top{top:0;left:0;width:100%}.nut-popup--top.round{border-radius:0 0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px)}.nut-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:var(--nut-white, #fff);-webkit-overflow-scrolling:touch}.nut-popup__close-icon{position:absolute !important;z-index:1;color:#969799;font-size:18px;cursor:pointer;width:30px;height:30px;line-height:30px;text-align:center}.nut-popup__close-icon:active{opacity:.7}.nut-popup__close-icon--top-left{top:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--top-right{top:var(--nut-popup-close-icon-margin, 16px);right:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-left{bottom:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-right{right:var(--nut-popup-close-icon-margin, 16px);bottom:var(--nut-popup-close-icon-margin, 16px)}.nut-theme-dark .nut-elevator{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-elevator__list__item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__item__code{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__fixed{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-elevator{width:100%;display:block;position:relative}.nut-elevator__list{display:block;position:relative;overflow:auto}.nut-elevator__list::-webkit-scrollbar{display:none;width:0}.nut-elevator__list__item{display:block;font-size:var(--nut-elevator-list-item-font-size, 12px);color:var(--nut-elevator-list-item-font-color, #333333)}.nut-elevator__list__item__code{display:flex;position:relative;height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-item-code-font-color, #1a1a1a);padding:var(--nut-elevator-list-item-code-padding, 0 20px);font-weight:var(--nut-elevator-list-item-code-font-weight, 500);box-sizing:border-box}.nut-elevator__list__item__code::after{content:" ";width:var(--nut-elevator-list-item-code-after-width, 100%);height:var(--nut-elevator-list-item-code-after-height, 1px);position:absolute;left:0;bottom:0;background-color:var(--nut-elevator-list-item-code-after-bg-color, #f5f5f5)}.nut-elevator__list__item__name{display:flex;align-items:center;padding:var(--nut-elevator-list-item-name-padding, 0 20px);height:var(--nut-elevator-list-item-name-height, 30px);line-height:var(--nut-elevator-list-item-name-line-height, 30px)}.nut-elevator__list__item__name--highcolor{color:var(--nut-elevator-list-item-highcolor, var(--nut-primary-color, #fa2c19))}.nut-elevator__list__fixed{width:100%;position:absolute;top:0;left:0;padding:var(--nut-elevator-list-item-code-padding, 0 20px);height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-fixed-color, var(--nut-primary-color, #fa2c19));font-weight:var(--nut-elevator-list-item-code-font-weight, 500);background-color:var(--nut-elevator-list-fixed-bg-color, var(--nut-white, #fff));box-sizing:border-box;box-shadow:var(--nut-elevator-list-fixed-box-shadow, 0 0 10px #eee);z-index:1}.nut-elevator__code--current{position:var(--nut-elevator-list-item-code-current-position, absolute);right:var(--nut-elevator-list-item-code-current-right, 60px);top:var(--nut-elevator-list-item-code-current-top, 50%);transform:var(--nut-elevator-list-item-code-current-transform, translateY(-50%));width:var(--nut-elevator-list-item-code-current-width, 45px);height:var(--nut-elevator-list-item-code-current-height, 45px);line-height:var(--nut-elevator-list-item-code-current-line-height, 45px);border-radius:var(--nut-elevator-list-item-code-current-border-radius, 50%);background:var(--nut-elevator-list-item-code-current-bg-color, #fff);box-shadow:var(--nut-elevator-list-item-code-current-box-shadow, 0 3px 3px 1px rgb(240, 240, 240));text-align:var(--nut-elevator-list-item-code-current-text-align, center)}.nut-elevator__bars{position:var(--nut-elevator-list-item-bars-position, absolute);right:var(--nut-elevator-list-item-bars-right, 8px);top:var(--nut-elevator-list-item-bars-top, 50%);transform:var(--nut-elevator-list-item-bars-transform, translateY(-50%));padding:var(--nut-elevator-list-item-bars-padding, 15px 0);background-color:var(--nut-elevator-list-item-bars-background-color, #eeeff2);border-radius:var(--nut-elevator-list-item-bars-border-radius, 6px);text-align:var(--nut-elevator-list-item-bars-text-align, center);z-index:var(--nut-elevator-list-item-bars-z-index, 1)}.nut-elevator__bars__inner__item{display:block;padding:var(--nut-elevator-list-item-bars-inner-item-padding, 3px);font-size:var(--nut-elevator-list-item-bars-inner-item-font-size, 10px)}.nut-elevator__bars__inner__item.active{color:var(--nut-elevator-list-item-bars-inner-item-active-color, var(--nut-primary-color, #fa2c19))}.nut-theme-dark .nut-address__header{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address__header__title{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__custom .nut-address__region{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-address .nut-address__exist .nut-address__exist-choose{border-top:1px solid var(--nut-dark-background, #131313)}.nut-theme-dark .nut-address-custom-buttom{border-top:1px solid var(--nut-dark-background, #131313)}.nut-address{display:block}.nut-address__header{display:flex;justify-content:space-between;align-items:center;height:68px;padding:0 20px;text-align:center;font-weight:bold;color:#333}.nut-address__header__title{display:block;color:var(--nut-address-header-title-color, #262626);font-size:var(--nut-address-header-title-font-size, 18px)}.nut-address .nut-address__custom{display:block}.nut-address .nut-address__custom .nut-address__region{position:relative;padding:0 20px;display:flex;font-size:var(--nut-address-region-tab-font-size, 13px);color:var(--nut-address-region-tab-color, #1d1e1e)}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item{position:relative;min-width:2px;margin-right:30px;display:block}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item.active{font-weight:var(--nut-address-region-tab-active-item-font-weight, bold)}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item view{display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item .nut-address__region-line--mini{position:absolute;bottom:-10px;left:0px;display:inline-block;margin-top:5px;width:0;height:3px;background:var(--nut-address-region-tab-line, linear-gradient(90deg, var(--nut-primary-color, #fa2c19) 0%, rgba(250, 44, 25, 0.15) 100%));transition:.2s all linear}.nut-address .nut-address__custom .nut-address__region .nut-address__region-item .nut-address__region-line--mini.active{width:26px}.nut-address .nut-address__custom .nut-address__region .nut-address__region-line{position:absolute;bottom:-10px;left:20px;display:inline-block;margin-top:5px;width:26px;height:3px;background:var(--nut-address-region-tab-line, linear-gradient(90deg, var(--nut-primary-color, #fa2c19) 0%, rgba(250, 44, 25, 0.15) 100%));transition:.2s all linear;border-radius:var(--nut-address-region-tab-line-border-radius, 0);opacity:var(--nut-address-region-tab-line-opacity, 1)}.nut-address .nut-address__custom .nut-address__detail{display:block;margin:20px 20px 0}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list{padding-top:15px;height:270px;box-sizing:border-box;padding:0}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item{display:flex;align-items:center;font-size:var(--nut-address-region-item-font-size, var(--nut-font-size-1, 12px));color:var(--nut-address-region-item-color, #333)}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item.active{font-weight:bold}.nut-address .nut-address__custom .nut-address__detail .nut-address__detail-list .nut-address__detail-item>div{display:flex;align-items:center;margin:10px 0}.nut-address .nut-address__custom .nut-address__elevator-group{display:flex;margin-top:20px}.nut-address .nut-address__exist{display:block;margin-top:15px}.nut-address .nut-address__exist .nut-address__exist-group{padding:15px 20px 0;height:279px;overflow-y:scroll}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list{box-sizing:border-box;padding:0}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item{display:flex;align-items:center;margin-bottom:20px;font-size:var(--nut-font-size-1, 12px);line-height:14px;color:#333}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item.active{font-weight:bold}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item .exist-item-icon{margin-right:var(--nut-address-item-margin-right, 9px);color:var(--nut-address-icon-color, var(--nut-primary-color, #fa2c19)) !important}.nut-address .nut-address__exist .nut-address__exist-group .nut-address__exist-group-list .nut-address__exist-group-item span{display:inline-block;flex:1}.nut-address .nut-address__exist .nut-address__exist-choose{width:100%;height:54px;padding:6px 0px 0;border-top:1px solid #f2f2f2}.nut-address .nut-address__exist .nut-address__exist-choose .nut-address__exist-choose-btn{width:90%;height:42px;line-height:42px;margin:auto;text-align:center;background:var(--nut-button-primary-background-color, linear-gradient(135deg, var(--nut-primary-color, var(--nut-primary-color, #fa2c19)) 0%, var(--nut-primary-color, var(--nut-primary-color, #fa2c19)) 100%));border-radius:21px;font-size:15px;color:var(--nut-white, #fff)}.nut-address-select-icon{margin-right:var(--nut-address-item-margin-right, 9px);color:var(--nut-address-icon-color, var(--nut-primary-color, #fa2c19)) !important}
|
|
@@ -1,48 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
default: false
|
|
17
|
-
},
|
|
18
|
-
bubble: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false
|
|
21
|
-
},
|
|
22
|
-
hidden: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false
|
|
25
|
-
},
|
|
26
|
-
top: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: "0"
|
|
29
|
-
},
|
|
30
|
-
right: {
|
|
31
|
-
type: String,
|
|
32
|
-
default: "0"
|
|
33
|
-
},
|
|
34
|
-
zIndex: {
|
|
35
|
-
type: Number,
|
|
36
|
-
default: 9
|
|
37
|
-
},
|
|
38
|
-
color: {
|
|
39
|
-
type: String,
|
|
40
|
-
default: ""
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
41
16
|
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
import { defineComponent, computed, openBlock, createElementBlock, withDirectives, createElementVNode, normalizeStyle, renderSlot, vShow, normalizeClass, toDisplayString } from "vue";
|
|
21
|
+
import { w as withInstall } from "../with-install-Ch3FF0uS.js";
|
|
22
|
+
const _hoisted_1 = { class: "nut-badge" };
|
|
23
|
+
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
24
|
+
name: "NutBadge"
|
|
25
|
+
}), {
|
|
26
|
+
__name: "badge",
|
|
27
|
+
props: {
|
|
28
|
+
value: {},
|
|
29
|
+
max: { default: 1e4 },
|
|
30
|
+
dot: { type: Boolean, default: false },
|
|
31
|
+
bubble: { type: Boolean, default: false },
|
|
32
|
+
hidden: { type: Boolean, default: false },
|
|
33
|
+
top: { default: "0" },
|
|
34
|
+
right: { default: "0" },
|
|
35
|
+
zIndex: { default: 9 },
|
|
36
|
+
color: { default: "" }
|
|
42
37
|
},
|
|
43
|
-
setup(
|
|
44
|
-
const
|
|
45
|
-
const
|
|
38
|
+
setup(__props) {
|
|
39
|
+
const props = __props;
|
|
40
|
+
const style = computed(() => {
|
|
46
41
|
return {
|
|
47
42
|
top: `${props.top}px`,
|
|
48
43
|
right: `${props.right}px`,
|
|
@@ -60,36 +55,29 @@ const _sfc_main = create({
|
|
|
60
55
|
}
|
|
61
56
|
return value;
|
|
62
57
|
});
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
return (_ctx, _cache) => {
|
|
59
|
+
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
60
|
+
withDirectives(createElementVNode("view", {
|
|
61
|
+
class: "nut-badge__icon",
|
|
62
|
+
style: normalizeStyle(style.value)
|
|
63
|
+
}, [
|
|
64
|
+
renderSlot(_ctx.$slots, "icon")
|
|
65
|
+
], 4), [
|
|
66
|
+
[vShow, !_ctx.hidden && !_ctx.dot && _ctx.$slots.icon]
|
|
67
|
+
]),
|
|
68
|
+
renderSlot(_ctx.$slots, "default"),
|
|
69
|
+
withDirectives(createElementVNode("view", {
|
|
70
|
+
class: normalizeClass(["nut-badge__content nut-badge__content--sup", { "nut-badge__content--dot": _ctx.dot, "nut-badge__content--bubble": !_ctx.dot && _ctx.bubble }]),
|
|
71
|
+
style: normalizeStyle(style.value)
|
|
72
|
+
}, toDisplayString(content.value), 7), [
|
|
73
|
+
[vShow, !_ctx.hidden && (content.value || _ctx.dot)]
|
|
74
|
+
])
|
|
75
|
+
]);
|
|
67
76
|
};
|
|
68
77
|
}
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
const _hoisted_2 = ["textContent"];
|
|
72
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
73
|
-
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
74
|
-
withDirectives(createElementVNode("view", {
|
|
75
|
-
class: "nut-badge__icon",
|
|
76
|
-
style: normalizeStyle(_ctx.stl)
|
|
77
|
-
}, [
|
|
78
|
-
renderSlot(_ctx.$slots, "icon")
|
|
79
|
-
], 4), [
|
|
80
|
-
[vShow, !_ctx.hidden && !_ctx.dot && _ctx.$slots.icon]
|
|
81
|
-
]),
|
|
82
|
-
renderSlot(_ctx.$slots, "default"),
|
|
83
|
-
withDirectives(createElementVNode("view", {
|
|
84
|
-
class: normalizeClass(["nut-badge__content nut-badge__content--sup", { "nut-badge__content--dot": _ctx.dot, "nut-badge__content--bubble": !_ctx.dot && _ctx.bubble }]),
|
|
85
|
-
style: normalizeStyle(_ctx.stl),
|
|
86
|
-
textContent: toDisplayString(_ctx.content)
|
|
87
|
-
}, null, 14, _hoisted_2), [
|
|
88
|
-
[vShow, !_ctx.hidden && (_ctx.content || _ctx.dot)]
|
|
89
|
-
])
|
|
90
|
-
]);
|
|
91
|
-
}
|
|
92
|
-
const NutBadge = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
78
|
+
}));
|
|
79
|
+
withInstall(_sfc_main);
|
|
93
80
|
export {
|
|
94
|
-
|
|
81
|
+
_sfc_main as Badge,
|
|
82
|
+
_sfc_main as default
|
|
95
83
|
};
|
|
@@ -23,7 +23,7 @@ import { U as Utils } from "../date-DHXcwF1m.js";
|
|
|
23
23
|
import { r as requestAniFrame } from "../raf-c01wDYCo.js";
|
|
24
24
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
25
25
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
26
|
-
import { N as NutPopup } from "../index-
|
|
26
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
27
27
|
const { create: create$1 } = createComponent("calendar-item");
|
|
28
28
|
const cN = "NutCalendarItem";
|
|
29
29
|
const _sfc_main$1 = create$1({
|
|
@@ -55,7 +55,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
57
|
import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
58
|
-
import { N as NutPopup, p as popupProps } from "../index-
|
|
58
|
+
import { N as NutPopup, p as popupProps } from "../index-wLaOjIn1.js";
|
|
59
59
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
60
60
|
import { Loading, Checklist } from "@nutui/icons-vue";
|
|
61
61
|
import NutTabs from "../tabs/Tabs.js";
|
|
@@ -161,8 +161,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
161
161
|
const pause = () => {
|
|
162
162
|
cancelAnimationFrame(timer.value);
|
|
163
163
|
counting.value = false;
|
|
164
|
-
emit("
|
|
165
|
-
emit("
|
|
164
|
+
emit("paused", restTime.value);
|
|
165
|
+
emit("onPaused", restTime.value);
|
|
166
166
|
};
|
|
167
167
|
const reset = () => {
|
|
168
168
|
if (!props.autoStart) {
|
|
@@ -24,11 +24,11 @@ var __publicField = (obj, key, value) => {
|
|
|
24
24
|
import { ref, onMounted, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode, resolveDynamicComponent, nextTick, h } from "vue";
|
|
25
25
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
26
26
|
import { f as funInterceptor } from "../Interceptor-DlY2h6Y7.js";
|
|
27
|
-
import { N as NutPopup, p as popupProps } from "../index-
|
|
27
|
+
import { N as NutPopup, p as popupProps } from "../index-wLaOjIn1.js";
|
|
28
28
|
import { Button as _sfc_main$1 } from "../button/Button.js";
|
|
29
29
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
30
30
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
31
|
-
import
|
|
31
|
+
import { Overlay as _sfc_main$2 } from "../overlay/Overlay.js";
|
|
32
32
|
import { C as CreateComponent } from "../mountComponent-DBQ88Fjz.js";
|
|
33
33
|
const { create } = createComponent("dialog");
|
|
34
34
|
const cN = "NutDialog";
|
|
@@ -290,7 +290,7 @@ class DialogFunction {
|
|
|
290
290
|
const options = Object.assign(this.options, _options);
|
|
291
291
|
const { unmount } = CreateComponent(options, {
|
|
292
292
|
name: "dialog",
|
|
293
|
-
components: [NutPopup, _sfc_main$1,
|
|
293
|
+
components: [NutPopup, _sfc_main$1, _sfc_main$2],
|
|
294
294
|
wrapper: (elWrap, root) => {
|
|
295
295
|
return {
|
|
296
296
|
setup() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nut-theme-dark .nut-elevator{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-elevator__list__item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__item__code{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__fixed{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-elevator{width:100%;display:block;position:relative}.nut-elevator__list{display:block;position:relative;overflow:auto}.nut-elevator__list__item{display:block;font-size:var(--nut-elevator-list-item-font-size, 12px);color:var(--nut-elevator-list-item-font-color, #333333)}.nut-elevator__list__item__code{display:flex;position:relative;height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-item-code-font-color, #1a1a1a);padding:var(--nut-elevator-list-item-code-padding, 0 20px);font-weight:var(--nut-elevator-list-item-code-font-weight, 500);box-sizing:border-box}.nut-elevator__list__item__code::after{content:" ";width:var(--nut-elevator-list-item-code-after-width, 100%);height:var(--nut-elevator-list-item-code-after-height, 1px);position:absolute;left:0;bottom:0;background-color:var(--nut-elevator-list-item-code-after-bg-color, #f5f5f5)}.nut-elevator__list__item__name{display:flex;align-items:center;padding:var(--nut-elevator-list-item-name-padding, 0 20px);height:var(--nut-elevator-list-item-name-height, 30px);line-height:var(--nut-elevator-list-item-name-line-height, 30px)}.nut-elevator__list__item__name--highcolor{color:var(--nut-elevator-list-item-highcolor, var(--nut-primary-color, #fa2c19))}.nut-elevator__list__fixed{width:100%;position:absolute;top:0;left:0;padding:var(--nut-elevator-list-item-code-padding, 0 20px);height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-fixed-color, var(--nut-primary-color, #fa2c19));font-weight:var(--nut-elevator-list-item-code-font-weight, 500);background-color:var(--nut-elevator-list-fixed-bg-color, var(--nut-white, #fff));box-sizing:border-box;box-shadow:var(--nut-elevator-list-fixed-box-shadow, 0 0 10px #eee);z-index:1}.nut-elevator__code--current{position:var(--nut-elevator-list-item-code-current-position, absolute);right:var(--nut-elevator-list-item-code-current-right, 60px);top:var(--nut-elevator-list-item-code-current-top, 50%);transform:var(--nut-elevator-list-item-code-current-transform, translateY(-50%));width:var(--nut-elevator-list-item-code-current-width, 45px);height:var(--nut-elevator-list-item-code-current-height, 45px);line-height:var(--nut-elevator-list-item-code-current-line-height, 45px);border-radius:var(--nut-elevator-list-item-code-current-border-radius, 50%);background:var(--nut-elevator-list-item-code-current-bg-color, #fff);box-shadow:var(--nut-elevator-list-item-code-current-box-shadow, 0 3px 3px 1px rgb(240, 240, 240));text-align:var(--nut-elevator-list-item-code-current-text-align, center)}.nut-elevator__bars{position:var(--nut-elevator-list-item-bars-position, absolute);right:var(--nut-elevator-list-item-bars-right, 8px);top:var(--nut-elevator-list-item-bars-top, 50%);transform:var(--nut-elevator-list-item-bars-transform, translateY(-50%));padding:var(--nut-elevator-list-item-bars-padding, 15px 0);background-color:var(--nut-elevator-list-item-bars-background-color, #eeeff2);border-radius:var(--nut-elevator-list-item-bars-border-radius, 6px);text-align:var(--nut-elevator-list-item-bars-text-align, center);z-index:var(--nut-elevator-list-item-bars-z-index, 1)}.nut-elevator__bars__inner__item{display:block;padding:var(--nut-elevator-list-item-bars-inner-item-padding, 3px);font-size:var(--nut-elevator-list-item-bars-inner-item-font-size, 10px)}.nut-elevator__bars__inner__item.active{color:var(--nut-elevator-list-item-bars-inner-item-active-color, var(--nut-primary-color, #fa2c19))}
|
|
1
|
+
.nut-theme-dark .nut-elevator{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-elevator__list__item{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__item__code{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-elevator__list__fixed{background-color:var(--nut-dark-background2, #1b1b1b)}.nut-elevator{width:100%;display:block;position:relative}.nut-elevator__list{display:block;position:relative;overflow:auto}.nut-elevator__list::-webkit-scrollbar{display:none;width:0}.nut-elevator__list__item{display:block;font-size:var(--nut-elevator-list-item-font-size, 12px);color:var(--nut-elevator-list-item-font-color, #333333)}.nut-elevator__list__item__code{display:flex;position:relative;height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-item-code-font-color, #1a1a1a);padding:var(--nut-elevator-list-item-code-padding, 0 20px);font-weight:var(--nut-elevator-list-item-code-font-weight, 500);box-sizing:border-box}.nut-elevator__list__item__code::after{content:" ";width:var(--nut-elevator-list-item-code-after-width, 100%);height:var(--nut-elevator-list-item-code-after-height, 1px);position:absolute;left:0;bottom:0;background-color:var(--nut-elevator-list-item-code-after-bg-color, #f5f5f5)}.nut-elevator__list__item__name{display:flex;align-items:center;padding:var(--nut-elevator-list-item-name-padding, 0 20px);height:var(--nut-elevator-list-item-name-height, 30px);line-height:var(--nut-elevator-list-item-name-line-height, 30px)}.nut-elevator__list__item__name--highcolor{color:var(--nut-elevator-list-item-highcolor, var(--nut-primary-color, #fa2c19))}.nut-elevator__list__fixed{width:100%;position:absolute;top:0;left:0;padding:var(--nut-elevator-list-item-code-padding, 0 20px);height:var(--nut-elevator-list-item-code-height, 35px);line-height:var(--nut-elevator-list-item-code-line-height, 35px);font-size:var(--nut-elevator-list-item-code-font-size, 14px);color:var(--nut-elevator-list-fixed-color, var(--nut-primary-color, #fa2c19));font-weight:var(--nut-elevator-list-item-code-font-weight, 500);background-color:var(--nut-elevator-list-fixed-bg-color, var(--nut-white, #fff));box-sizing:border-box;box-shadow:var(--nut-elevator-list-fixed-box-shadow, 0 0 10px #eee);z-index:1}.nut-elevator__code--current{position:var(--nut-elevator-list-item-code-current-position, absolute);right:var(--nut-elevator-list-item-code-current-right, 60px);top:var(--nut-elevator-list-item-code-current-top, 50%);transform:var(--nut-elevator-list-item-code-current-transform, translateY(-50%));width:var(--nut-elevator-list-item-code-current-width, 45px);height:var(--nut-elevator-list-item-code-current-height, 45px);line-height:var(--nut-elevator-list-item-code-current-line-height, 45px);border-radius:var(--nut-elevator-list-item-code-current-border-radius, 50%);background:var(--nut-elevator-list-item-code-current-bg-color, #fff);box-shadow:var(--nut-elevator-list-item-code-current-box-shadow, 0 3px 3px 1px rgb(240, 240, 240));text-align:var(--nut-elevator-list-item-code-current-text-align, center)}.nut-elevator__bars{position:var(--nut-elevator-list-item-bars-position, absolute);right:var(--nut-elevator-list-item-bars-right, 8px);top:var(--nut-elevator-list-item-bars-top, 50%);transform:var(--nut-elevator-list-item-bars-transform, translateY(-50%));padding:var(--nut-elevator-list-item-bars-padding, 15px 0);background-color:var(--nut-elevator-list-item-bars-background-color, #eeeff2);border-radius:var(--nut-elevator-list-item-bars-border-radius, 6px);text-align:var(--nut-elevator-list-item-bars-text-align, center);z-index:var(--nut-elevator-list-item-bars-z-index, 1)}.nut-elevator__bars__inner__item{display:block;padding:var(--nut-elevator-list-item-bars-inner-item-padding, 3px);font-size:var(--nut-elevator-list-item-bars-inner-item-font-size, 10px)}.nut-elevator__bars__inner__item.active{color:var(--nut-elevator-list-item-bars-inner-item-active-color, var(--nut-primary-color, #fa2c19))}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
|
2
2
|
import { Left } from "@nutui/icons-vue";
|
|
3
|
-
import
|
|
3
|
+
import { Overlay as _sfc_main$1 } from "../overlay/Overlay.js";
|
|
4
4
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
5
5
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
6
6
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
@@ -8,7 +8,7 @@ const { create } = createComponent("fixed-nav");
|
|
|
8
8
|
const cN = "NutFixedNav";
|
|
9
9
|
const _sfc_main = create({
|
|
10
10
|
components: {
|
|
11
|
-
NutOverlay,
|
|
11
|
+
NutOverlay: _sfc_main$1,
|
|
12
12
|
Left
|
|
13
13
|
},
|
|
14
14
|
props: {
|
|
@@ -31,11 +31,11 @@ import NutVideo from "../video/Video.js";
|
|
|
31
31
|
import NutSwiperItem from "../swiperitem/SwiperItem.js";
|
|
32
32
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
33
33
|
import { CircleClose } from "@nutui/icons-vue";
|
|
34
|
-
import { N as NutPopup } from "../index-
|
|
34
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
35
35
|
import NutSwiper from "../swiper/Swiper.js";
|
|
36
36
|
import { f as funInterceptor } from "../Interceptor-DlY2h6Y7.js";
|
|
37
37
|
import { C as CreateComponent } from "../mountComponent-DBQ88Fjz.js";
|
|
38
|
-
import
|
|
38
|
+
import { Overlay as _sfc_main$2 } from "../overlay/Overlay.js";
|
|
39
39
|
const baseProps = {
|
|
40
40
|
show: { type: Boolean, default: false },
|
|
41
41
|
initNo: { type: Number, default: 0 },
|
|
@@ -503,7 +503,7 @@ class ImagePreviewFunction {
|
|
|
503
503
|
const options = Object.assign(this.options, _options);
|
|
504
504
|
const { unmount } = CreateComponent(options, {
|
|
505
505
|
name: "image-preview",
|
|
506
|
-
components: [NutPopup, NutVideo, NutSwiper, NutSwiperItem,
|
|
506
|
+
components: [NutPopup, NutVideo, NutSwiper, NutSwiperItem, _sfc_main$2],
|
|
507
507
|
wrapper: () => {
|
|
508
508
|
return {
|
|
509
509
|
setup() {
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, computed, watch, watchEffect, toRefs, resolveComponent, openBlock, createBlock, Teleport, mergeProps, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, vShow } from "vue";
|
|
21
21
|
import { Close } from "@nutui/icons-vue";
|
|
22
|
-
import
|
|
22
|
+
import { Overlay as _sfc_main$1 } from "./overlay/Overlay.js";
|
|
23
23
|
import { c as createComponent } from "./component-DQf3CENX.js";
|
|
24
24
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-1tPrXgE0.js";
|
|
25
25
|
const popupProps = {
|
|
@@ -105,7 +105,7 @@ const initIndex = 2e3;
|
|
|
105
105
|
let _zIndex = initIndex;
|
|
106
106
|
const _sfc_main = create({
|
|
107
107
|
components: {
|
|
108
|
-
NutOverlay,
|
|
108
|
+
NutOverlay: _sfc_main$1,
|
|
109
109
|
Close
|
|
110
110
|
},
|
|
111
111
|
props: popupProps,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nut-list{width:100%;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.nut-list-phantom{position:relative;z-index:-1}.nut-list-container{position:absolute;top:0;left:0;right:0}.nut-list-item{overflow:hidden}
|
|
1
|
+
.nut-list{width:100%;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.nut-list::-webkit-scrollbar{display:none;width:0}.nut-list-phantom{position:relative;z-index:-1}.nut-list-container{position:absolute;top:0;left:0;right:0}.nut-list-item{overflow:hidden}
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, computed, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeStyle, createElementVNode, vShow, createVNode, mergeProps, withCtx, Fragment, renderList, normalizeClass, renderSlot, createCommentVNode, toDisplayString } from "vue";
|
|
21
21
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
22
|
-
import { N as NutPopup } from "../index-
|
|
22
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
23
23
|
import { Check } from "@nutui/icons-vue";
|
|
24
24
|
import { u as useParent } from "../useParent-D6DiuxZZ.js";
|
|
25
25
|
import { M as MENU_KEY } from "../types-CkPfROfI.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.overlay-fade-enter-active,.overlay-fade-leave-active{transition-property:opacity;transition-timing-function:ease}.overlay-fade-enter-from,.overlay-fade-leave-to{opacity:0}.nut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--nut-overlay-bg-color, rgba(0, 0, 0, 0.7))}.nut-overflow-hidden{overflow:hidden !important}.nut-theme-dark .nut-popup{background:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-popup__close-icon{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-popup-slide-center-enter-active,.nut-popup-slide-center-leave-active{transition-property:opacity;transition-timing-function:ease}.nut-popup-slide-center-enter-from,.nut-popup-slide-center-leave-to{opacity:0}.nut-popup-slide-top-enter-from,.nut-popup-slide-top-leave-active{transform:translate(0, -100%)}.nut-popup-slide-right-enter-from,.nut-popup-slide-right-leave-active{transform:translate(100%, 0)}.nut-popup-slide-bottom-enter-from,.nut-popup-slide-bottom-leave-active{transform:translate(0, 100%)}.nut-popup-slide-left-enter-from,.nut-popup-slide-left-leave-active{transform:translate(-100%, 0)}.nut-popup--center{top:50%;left:50%;transform:translate(-50%, -50%)}.nut-popup--center.round{border-radius:var(--nut-popup-border-radius, 20px)}.nut-popup--bottom{bottom:0;left:0;width:100%}.nut-popup--bottom.round{border-radius:var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0 0}.nut-popup--bottom--safebottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.nut-popup--right{top:0;right:0}.nut-popup--right.round{border-radius:var(--nut-popup-border-radius, 20px) 0 0 var(--nut-popup-border-radius, 20px)}.nut-popup--left{top:0;left:0}.nut-popup--left.round{border-radius:0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0}.nut-popup--top{top:0;left:0;width:100%}.nut-popup--top.round{border-radius:0 0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px)}.nut-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:var(--nut-white, #fff);-webkit-overflow-scrolling:touch}.nut-popup__close-icon{position:absolute !important;z-index:1;color:#969799;font-size:18px;cursor:pointer;width:30px;height:30px;line-height:30px;text-align:center}.nut-popup__close-icon:active{opacity:.7}.nut-popup__close-icon--top-left{top:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--top-right{top:var(--nut-popup-close-icon-margin, 16px);right:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-left{bottom:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-right{right:var(--nut-popup-close-icon-margin, 16px);bottom:var(--nut-popup-close-icon-margin, 16px)}.nut-theme-dark .nut-menu-item__content .nut-menu-item__option{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-menu-item{position:fixed;z-index:var(--nut-menu-bar-opened-z-index, 2001);left:0;right:0;height:100vh;overflow:hidden}.nut-menu-item .active{font-weight:var(--nut-menu-active-item-font-weight, 500);color:var(--nut-menu-item-active-text-color, var(--nut-primary-color, #fa2c19)) !important}.nut-menu-item__content{padding:var(--nut-menu-item-content-padding, 12px 24px);max-height:var(--nut-menu-item-content-max-height, 214px);display:flex;flex-wrap:wrap}.nut-menu-item__content.nut-menu-item__overflow{overflow-y:auto}.nut-menu-item__content .nut-menu-item__option{color:var(--nut-title-color, #1a1a1a);font-size:var(--nut-font-size-2, 14px);padding-top:var(--nut-menu-item-option-padding-top, 12px);padding-bottom:var(--nut-menu-item-option-padding-bottom, 12px);display:flex;align-items:center}.nut-menu-item__content .nut-menu-item__option .nut-menu-item__span{display:flex;align-items:center;margin-right:var(--nut-menu-item-option-i-margin-right, 6px)}.nut-menu-item-placeholder-element{position:fixed;left:0;right:0;z-index:var(--nut-menu-bar-opened-z-index, 2001);background-color:rgba(0,0,0,0)}
|
|
1
|
+
.overlay-fade-enter-active,.overlay-fade-leave-active{transition-property:opacity;transition-timing-function:ease}.overlay-fade-enter-from,.overlay-fade-leave-to{opacity:0}.nut-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--nut-overlay-bg-color, rgba(0, 0, 0, 0.7))}.nut-overflow-hidden{overflow:hidden !important}.nut-theme-dark .nut-popup{background:var(--nut-dark-background2, #1b1b1b)}.nut-theme-dark .nut-popup__close-icon{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-popup-slide-center-enter-active,.nut-popup-slide-center-leave-active{transition-property:opacity;transition-timing-function:ease}.nut-popup-slide-center-enter-from,.nut-popup-slide-center-leave-to{opacity:0}.nut-popup-slide-top-enter-from,.nut-popup-slide-top-leave-active{transform:translate(0, -100%)}.nut-popup-slide-right-enter-from,.nut-popup-slide-right-leave-active{transform:translate(100%, 0)}.nut-popup-slide-bottom-enter-from,.nut-popup-slide-bottom-leave-active{transform:translate(0, 100%)}.nut-popup-slide-left-enter-from,.nut-popup-slide-left-leave-active{transform:translate(-100%, 0)}.nut-popup--center{top:50%;left:50%;transform:translate(-50%, -50%)}.nut-popup--center.round{border-radius:var(--nut-popup-border-radius, 20px)}.nut-popup--bottom{bottom:0;left:0;width:100%}.nut-popup--bottom.round{border-radius:var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0 0}.nut-popup--bottom--safebottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.nut-popup--right{top:0;right:0}.nut-popup--right.round{border-radius:var(--nut-popup-border-radius, 20px) 0 0 var(--nut-popup-border-radius, 20px)}.nut-popup--left{top:0;left:0}.nut-popup--left.round{border-radius:0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px) 0}.nut-popup--top{top:0;left:0;width:100%}.nut-popup--top.round{border-radius:0 0 var(--nut-popup-border-radius, 20px) var(--nut-popup-border-radius, 20px)}.nut-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:var(--nut-white, #fff);-webkit-overflow-scrolling:touch}.nut-popup__close-icon{position:absolute !important;z-index:1;color:#969799;font-size:18px;cursor:pointer;width:30px;height:30px;line-height:30px;text-align:center}.nut-popup__close-icon:active{opacity:.7}.nut-popup__close-icon--top-left{top:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--top-right{top:var(--nut-popup-close-icon-margin, 16px);right:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-left{bottom:var(--nut-popup-close-icon-margin, 16px);left:var(--nut-popup-close-icon-margin, 16px)}.nut-popup__close-icon--bottom-right{right:var(--nut-popup-close-icon-margin, 16px);bottom:var(--nut-popup-close-icon-margin, 16px)}.nut-theme-dark .nut-menu-item__content .nut-menu-item__option{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-menu-item{position:fixed;z-index:var(--nut-menu-bar-opened-z-index, 2001);left:0;right:0;height:100vh;overflow:hidden}.nut-menu-item .active{font-weight:var(--nut-menu-active-item-font-weight, 500);color:var(--nut-menu-item-active-text-color, var(--nut-primary-color, #fa2c19)) !important}.nut-menu-item__content{padding:var(--nut-menu-item-content-padding, 12px 24px);max-height:var(--nut-menu-item-content-max-height, 214px);display:flex;flex-wrap:wrap}.nut-menu-item__content.nut-menu-item__overflow{overflow-y:auto}.nut-menu-item__content.nut-menu-item__overflow::-webkit-scrollbar{display:none;width:0}.nut-menu-item__content .nut-menu-item__option{color:var(--nut-title-color, #1a1a1a);font-size:var(--nut-font-size-2, 14px);padding-top:var(--nut-menu-item-option-padding-top, 12px);padding-bottom:var(--nut-menu-item-option-padding-bottom, 12px);display:flex;align-items:center}.nut-menu-item__content .nut-menu-item__option .nut-menu-item__span{display:flex;align-items:center;margin-right:var(--nut-menu-item-option-i-margin-right, 6px)}.nut-menu-item-placeholder-element{position:fixed;left:0;right:0;z-index:var(--nut-menu-bar-opened-z-index, 2001);background-color:rgba(0,0,0,0)}
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, render, onMounted, h } from "vue";
|
|
21
21
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
22
|
-
import { N as NutPopup } from "../index-
|
|
22
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
24
24
|
const { create } = createComponent("notify");
|
|
25
25
|
const _sfc_main = create({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
3
|
-
import { N as NutPopup } from "../index-
|
|
3
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
4
4
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
6
|
const { create } = createComponent("number-keyboard");
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,10 +16,10 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
17
|
-
|
|
18
|
-
import {
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
import { defineComponent, computed, watchEffect, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, withModifiers, renderSlot, vShow } from "vue";
|
|
19
21
|
import { b as body } from "../util-DnfK0Qan.js";
|
|
20
|
-
import {
|
|
22
|
+
import { w as withInstall } from "../with-install-Ch3FF0uS.js";
|
|
21
23
|
let count = 0;
|
|
22
24
|
const CLSNAME = "nut-overflow-hidden";
|
|
23
25
|
const useLockScroll = (isLock) => {
|
|
@@ -43,42 +45,26 @@ const useLockScroll = (isLock) => {
|
|
|
43
45
|
};
|
|
44
46
|
return [lock, unlock];
|
|
45
47
|
};
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
+
const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
|
|
49
|
+
name: "NutOverlay"
|
|
50
|
+
}), {
|
|
51
|
+
__name: "overlay",
|
|
48
52
|
props: {
|
|
49
|
-
visible: {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
duration: {
|
|
58
|
-
type: [Number, String],
|
|
59
|
-
default: 0.3
|
|
60
|
-
},
|
|
61
|
-
lockScroll: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: true
|
|
64
|
-
},
|
|
65
|
-
overlayClass: {
|
|
66
|
-
type: String,
|
|
67
|
-
default: ""
|
|
68
|
-
},
|
|
69
|
-
overlayStyle: {
|
|
70
|
-
type: Object
|
|
71
|
-
},
|
|
72
|
-
closeOnClickOverlay: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
default: true
|
|
75
|
-
}
|
|
53
|
+
visible: { type: Boolean, default: false },
|
|
54
|
+
zIndex: { default: 2e3 },
|
|
55
|
+
duration: { default: 0.3 },
|
|
56
|
+
lockScroll: { type: Boolean, default: true },
|
|
57
|
+
overlayClass: { default: "" },
|
|
58
|
+
overlayStyle: {},
|
|
59
|
+
closeOnClickOverlay: { type: Boolean, default: true }
|
|
76
60
|
},
|
|
77
61
|
emits: ["click", "update:visible"],
|
|
78
|
-
setup(
|
|
62
|
+
setup(__props, { emit: __emit }) {
|
|
63
|
+
const props = __props;
|
|
64
|
+
const emit = __emit;
|
|
79
65
|
const [lock, unlock] = useLockScroll(() => props.lockScroll);
|
|
80
66
|
const classes = computed(() => {
|
|
81
|
-
const prefixCls =
|
|
67
|
+
const prefixCls = "nut-overlay";
|
|
82
68
|
return {
|
|
83
69
|
[prefixCls]: true,
|
|
84
70
|
[props.overlayClass]: true
|
|
@@ -99,26 +85,26 @@ const _sfc_main = create({
|
|
|
99
85
|
emit("update:visible", false);
|
|
100
86
|
}
|
|
101
87
|
};
|
|
102
|
-
return
|
|
88
|
+
return (_ctx, _cache) => {
|
|
89
|
+
return openBlock(), createBlock(Transition, { name: "overlay-fade" }, {
|
|
90
|
+
default: withCtx(() => [
|
|
91
|
+
withDirectives(createElementVNode("view", {
|
|
92
|
+
class: normalizeClass(classes.value),
|
|
93
|
+
style: normalizeStyle(style.value),
|
|
94
|
+
onClick: withModifiers(onClick, ["stop"])
|
|
95
|
+
}, [
|
|
96
|
+
renderSlot(_ctx.$slots, "default")
|
|
97
|
+
], 6), [
|
|
98
|
+
[vShow, _ctx.visible]
|
|
99
|
+
])
|
|
100
|
+
]),
|
|
101
|
+
_: 3
|
|
102
|
+
});
|
|
103
|
+
};
|
|
103
104
|
}
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
return openBlock(), createBlock(Transition, { name: "overlay-fade" }, {
|
|
107
|
-
default: withCtx(() => [
|
|
108
|
-
withDirectives(createElementVNode("view", {
|
|
109
|
-
class: normalizeClass(_ctx.classes),
|
|
110
|
-
style: normalizeStyle(_ctx.style),
|
|
111
|
-
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
|
|
112
|
-
}, [
|
|
113
|
-
renderSlot(_ctx.$slots, "default")
|
|
114
|
-
], 6), [
|
|
115
|
-
[vShow, _ctx.visible]
|
|
116
|
-
])
|
|
117
|
-
]),
|
|
118
|
-
_: 3
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
const NutOverlay = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
105
|
+
}));
|
|
106
|
+
withInstall(_sfc_main);
|
|
122
107
|
export {
|
|
123
|
-
|
|
108
|
+
_sfc_main as Overlay,
|
|
109
|
+
_sfc_main as default
|
|
124
110
|
};
|
|
@@ -2,7 +2,7 @@ import { ref, computed, onMounted, watch, nextTick, resolveComponent, openBlock,
|
|
|
2
2
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
3
3
|
import { r as renderIcon } from "../renderIcon-BfOvhG7i.js";
|
|
4
4
|
import { u as useRect } from "../index-B1qsj2XR.js";
|
|
5
|
-
import { N as NutPopup } from "../index-
|
|
5
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
6
6
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
7
7
|
const { create } = createComponent("popover");
|
|
8
8
|
const _sfc_main = create({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "../component-DQf3CENX.js";
|
|
3
|
-
import { N as NutPopup } from "../index-
|
|
3
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
4
4
|
import { Tips } from "@nutui/icons-vue";
|
|
5
5
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
6
6
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
package/dist/packages/sku/Sku.js
CHANGED
|
@@ -4,7 +4,7 @@ import { c as createComponent } from "../component-DQf3CENX.js";
|
|
|
4
4
|
import { u as useLocale } from "../index-CFigyH92.js";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.js";
|
|
6
6
|
import { InputNumber as _sfc_main$6 } from "../inputnumber/InputNumber.js";
|
|
7
|
-
import { N as NutPopup } from "../index-
|
|
7
|
+
import { N as NutPopup } from "../index-wLaOjIn1.js";
|
|
8
8
|
const { create: create$4 } = createComponent("sku-header");
|
|
9
9
|
const cN$1 = "NutSkuHeader";
|
|
10
10
|
const _sfc_main$4 = create$4({
|