@nutui/nutui 4.0.8-beta.1 → 4.0.9-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/ActionSheet.js +22 -4
- package/dist/packages/_es/Address.js +26 -8
- package/dist/packages/_es/Animate.js +20 -1
- package/dist/packages/_es/Audio.js +21 -4
- package/dist/packages/_es/AudioOperate.js +20 -1
- package/dist/packages/_es/Avatar.js +19 -4
- package/dist/packages/_es/Calendar.js +2 -2
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Cascader.js +123 -76
- package/dist/packages/_es/Checkbox.js +4 -4
- package/dist/packages/_es/CheckboxGroup.js +15 -30
- package/dist/packages/_es/Countdown.js +22 -4
- package/dist/packages/_es/Countup.js +21 -4
- package/dist/packages/_es/DatePicker.js +21 -3
- package/dist/packages/_es/Dialog.js +20 -4
- package/dist/packages/_es/Divider.js +23 -6
- package/dist/packages/_es/Elevator.js +23 -4
- package/dist/packages/_es/Ellipsis.js +20 -1
- package/dist/packages/_es/Form.js +16 -1
- package/dist/packages/_es/Image.js +20 -1
- package/dist/packages/_es/ImagePreview.js +30 -15
- package/dist/packages/_es/InfiniteLoading.js +23 -4
- package/dist/packages/_es/Input.js +23 -5
- package/dist/packages/_es/Invoice.js +21 -3
- package/dist/packages/_es/List.js +21 -3
- package/dist/packages/_es/MenuItem.js +21 -2
- package/dist/packages/_es/Noticebar.js +21 -4
- package/dist/packages/_es/Notify.js +28 -9
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/Overlay.js +19 -4
- package/dist/packages/_es/Picker.js +25 -8
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/PullRefresh.js +23 -4
- package/dist/packages/_es/Range.js +23 -4
- package/dist/packages/_es/Rate.js +23 -4
- package/dist/packages/_es/Searchbar.js +24 -5
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavbar.js +21 -3
- package/dist/packages/_es/Signature.js +20 -1
- package/dist/packages/_es/Sku.js +22 -4
- package/dist/packages/_es/Step.js +21 -3
- package/dist/packages/_es/SubSideNavbar.js +21 -3
- package/dist/packages/_es/Swipe.js +23 -4
- package/dist/packages/_es/TabPane.js +21 -3
- package/dist/packages/_es/TabbarItem.js +8 -7
- package/dist/packages/_es/Table.js +21 -3
- package/dist/packages/_es/Tabs.js +40 -8
- package/dist/packages/_es/TimeDetail.js +23 -4
- package/dist/packages/_es/TimePannel.js +21 -3
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +30 -11
- package/dist/packages/_es/Tour.js +22 -4
- package/dist/packages/_es/TrendArrow.js +20 -1
- package/dist/packages/_es/Video.js +23 -5
- package/dist/packages/_es/Watermark.js +20 -1
- package/dist/packages/_es/{index-f933fcf6.js → index-87422be8.js} +23 -5
- package/dist/packages/_es/{index-c55ad69e.js → index-da0a7662.js} +25 -10
- package/dist/smartips/web-types.json +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +47 -47
- package/dist/styles/themes/jdb.scss +47 -47
- package/dist/styles/themes/jddkh.scss +47 -47
- package/dist/styles/themes/jdt.scss +47 -47
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,22 @@
|
|
|
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]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
1
20
|
import { ref, computed, reactive, watch, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
|
|
2
21
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
22
|
import { r as requestAniFrame } from "./raf-729dad54.js";
|
|
@@ -759,7 +778,7 @@ const _sfc_main = create({
|
|
|
759
778
|
}
|
|
760
779
|
}
|
|
761
780
|
);
|
|
762
|
-
return {
|
|
781
|
+
return __spreadProps(__spreadValues(__spreadValues({
|
|
763
782
|
weeks,
|
|
764
783
|
compConthsData,
|
|
765
784
|
showTopBtn,
|
|
@@ -776,11 +795,10 @@ const _sfc_main = create({
|
|
|
776
795
|
monthsPanel,
|
|
777
796
|
months,
|
|
778
797
|
weeksPanel,
|
|
779
|
-
viewArea
|
|
780
|
-
|
|
781
|
-
...toRefs(props),
|
|
798
|
+
viewArea
|
|
799
|
+
}, toRefs(state)), toRefs(props)), {
|
|
782
800
|
translate
|
|
783
|
-
};
|
|
801
|
+
});
|
|
784
802
|
}
|
|
785
803
|
});
|
|
786
804
|
const _hoisted_1 = { class: "nut-calendar__header" };
|
|
@@ -1,3 +1,22 @@
|
|
|
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]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
1
20
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
2
21
|
import { reactive, computed, watch, watchEffect, toRefs, resolveComponent, openBlock, createBlock, Teleport, mergeProps, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, vShow } from "vue";
|
|
3
22
|
import Overlay from "./Overlay.js";
|
|
@@ -90,9 +109,7 @@ let _zIndex = initIndex;
|
|
|
90
109
|
const component = (componentName2, components) => {
|
|
91
110
|
return {
|
|
92
111
|
components,
|
|
93
|
-
props: {
|
|
94
|
-
...popupProps
|
|
95
|
-
},
|
|
112
|
+
props: __spreadValues({}, popupProps),
|
|
96
113
|
emits: ["click-pop", "click-close-icon", "open", "close", "opend", "closed", "click-overlay", "update:visible"],
|
|
97
114
|
setup(props, { emit }) {
|
|
98
115
|
const state = reactive({
|
|
@@ -111,11 +128,10 @@ const component = (componentName2, components) => {
|
|
|
111
128
|
};
|
|
112
129
|
});
|
|
113
130
|
const popStyle = computed(() => {
|
|
114
|
-
return {
|
|
131
|
+
return __spreadValues({
|
|
115
132
|
zIndex: state.zIndex,
|
|
116
|
-
transitionDuration: `${props.duration}s
|
|
117
|
-
|
|
118
|
-
};
|
|
133
|
+
transitionDuration: `${props.duration}s`
|
|
134
|
+
}, props.style);
|
|
119
135
|
});
|
|
120
136
|
const transitionName = computed(() => {
|
|
121
137
|
return props.transition ? props.transition : `nut-popup-slide-${props.position}`;
|
|
@@ -169,8 +185,7 @@ const component = (componentName2, components) => {
|
|
|
169
185
|
watchEffect(() => {
|
|
170
186
|
state.closed = props.closeable;
|
|
171
187
|
});
|
|
172
|
-
return {
|
|
173
|
-
...toRefs(state),
|
|
188
|
+
return __spreadProps(__spreadValues({}, toRefs(state)), {
|
|
174
189
|
popStyle,
|
|
175
190
|
transitionName,
|
|
176
191
|
classes,
|
|
@@ -179,7 +194,7 @@ const component = (componentName2, components) => {
|
|
|
179
194
|
onClickOverlay,
|
|
180
195
|
onOpened,
|
|
181
196
|
onClosed
|
|
182
|
-
};
|
|
197
|
+
});
|
|
183
198
|
}
|
|
184
199
|
};
|
|
185
200
|
};
|