@nutui/nutui 3.1.19-beta.7 → 3.1.20-beta.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/CHANGELOG.md +49 -0
- package/README.md +1 -1
- package/dist/nutui.es.js +3329 -1681
- package/dist/nutui.umd.js +3336 -1682
- package/dist/packages/_es/ActionSheet.js +19 -23
- package/dist/packages/_es/Address.js +17 -13
- package/dist/packages/_es/AddressList.js +616 -0
- package/dist/packages/_es/Audio.js +2 -1
- package/dist/packages/_es/AudioOperate.js +2 -1
- package/dist/packages/_es/Avatar.js +120 -24
- package/dist/packages/_es/AvatarGroup.js +78 -0
- package/dist/packages/_es/BackTop.js +2 -1
- package/dist/packages/_es/Badge.js +2 -1
- package/dist/packages/_es/Barrage.js +2 -1
- package/dist/packages/_es/Button.js +2 -1
- package/dist/packages/_es/Calendar.js +2 -1
- package/dist/packages/_es/CalendarItem.js +2 -1
- package/dist/packages/_es/Card.js +13 -5
- package/dist/packages/_es/Cascader.js +30 -31
- package/dist/packages/_es/Category.js +63 -0
- package/dist/packages/_es/CategoryPane.js +116 -0
- package/dist/packages/_es/Cell.js +2 -1
- package/dist/packages/_es/CellGroup.js +2 -1
- package/dist/packages/_es/Checkbox.js +2 -1
- package/dist/packages/_es/CheckboxGroup.js +2 -1
- package/dist/packages/_es/CircleProgress.js +114 -67
- package/dist/packages/_es/Col.js +12 -4
- package/dist/packages/_es/Collapse.js +2 -1
- package/dist/packages/_es/CollapseItem.js +13 -2
- package/dist/packages/_es/Comment.js +440 -0
- package/dist/packages/_es/CountDown.js +175 -137
- package/dist/packages/_es/CountUp.js +2 -1
- package/dist/packages/_es/DatePicker.js +40 -12
- package/dist/packages/_es/Dialog.js +36 -44
- package/dist/packages/_es/Divider.js +2 -1
- package/dist/packages/_es/Drag.js +2 -1
- package/dist/packages/_es/Ecard.js +22 -11
- package/dist/packages/_es/Elevator.js +2 -1
- package/dist/packages/_es/Empty.js +2 -1
- package/dist/packages/_es/FixedNav.js +2 -1
- package/dist/packages/_es/Form.js +2 -1
- package/dist/packages/_es/FormItem.js +6 -4
- package/dist/packages/_es/Grid.js +2 -1
- package/dist/packages/_es/GridItem.js +2 -1
- package/dist/packages/_es/Icon.js +2 -1
- package/dist/packages/_es/ImagePreview.js +11 -14
- package/dist/packages/_es/Indicator.js +2 -1
- package/dist/packages/_es/InfiniteLoading.js +11 -8
- package/dist/packages/_es/Input.js +5 -3
- package/dist/packages/_es/InputNumber.js +2 -1
- package/dist/packages/_es/Layout.js +2 -1
- package/dist/packages/_es/List.js +7 -3
- package/dist/packages/_es/Menu.js +2 -1
- package/dist/packages/_es/MenuItem.js +2 -1
- package/dist/packages/_es/Navbar.js +2 -1
- package/dist/packages/_es/NoticeBar.js +2 -1
- package/dist/packages/_es/Notify.js +41 -23
- package/dist/packages/_es/NumberKeyboard.js +2 -1
- package/dist/packages/_es/OldPicker.js +2 -1
- package/dist/packages/_es/OverLay.js +2 -1
- package/dist/packages/_es/Pagination.js +2 -1
- package/dist/packages/_es/Picker.js +9 -6
- package/dist/packages/_es/Popover.js +2 -1
- package/dist/packages/_es/Popup.js +7 -1
- package/dist/packages/_es/Price.js +2 -1
- package/dist/packages/_es/Progress.js +19 -4
- package/dist/packages/_es/PullRefresh.js +2 -1
- package/dist/packages/_es/Radio.js +2 -1
- package/dist/packages/_es/RadioGroup.js +2 -1
- package/dist/packages/_es/Range.js +2 -1
- package/dist/packages/_es/Rate.js +2 -1
- package/dist/packages/_es/Row.js +12 -4
- package/dist/packages/_es/SearchBar.js +2 -1
- package/dist/packages/_es/ShortPassword.js +2 -1
- package/dist/packages/_es/SideNavBar.js +2 -1
- package/dist/packages/_es/SideNavBarItem.js +2 -1
- package/dist/packages/_es/Signature.js +9 -10
- package/dist/packages/_es/Skeleton.js +2 -1
- package/dist/packages/_es/Sku.js +17 -14
- package/dist/packages/_es/Step.js +2 -1
- package/dist/packages/_es/Steps.js +2 -1
- package/dist/packages/_es/Sticky.js +2 -1
- package/dist/packages/_es/SubSideNavBar.js +2 -1
- package/dist/packages/_es/Swipe.js +2 -1
- package/dist/packages/_es/Swiper.js +2 -1
- package/dist/packages/_es/SwiperItem.js +2 -1
- package/dist/packages/_es/Switch.js +2 -1
- package/dist/packages/_es/TabPane.js +2 -1
- package/dist/packages/_es/Tabbar.js +2 -1
- package/dist/packages/_es/TabbarItem.js +2 -1
- package/dist/packages/_es/Table.js +21 -18
- package/dist/packages/_es/Tabs.js +27 -24
- package/dist/packages/_es/Tag.js +2 -1
- package/dist/packages/_es/TextArea.js +4 -3
- package/dist/packages/_es/TimeDetail.js +2 -1
- package/dist/packages/_es/TimePannel.js +2 -1
- package/dist/packages/_es/TimeSelect.js +7 -5
- package/dist/packages/_es/Toast.js +2 -1
- package/dist/packages/_es/Uploader.js +43 -52
- package/dist/packages/_es/Video.js +2 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +27 -113
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +1 -1
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/_es/style.css +111 -0
- package/dist/packages/actionsheet/index.scss +0 -4
- package/dist/packages/addresslist/index.scss +144 -0
- package/dist/packages/avatar/index.scss +10 -5
- package/dist/packages/avatargroup/index.scss +14 -0
- package/dist/packages/category/index.scss +38 -0
- package/dist/packages/categorypane/index.scss +124 -0
- package/dist/packages/circleprogress/index.scss +12 -53
- package/dist/packages/col/index.scss +2 -2
- package/dist/packages/collapseitem/index.scss +12 -2
- package/dist/packages/comment/index.scss +353 -0
- package/dist/packages/ecard/index.scss +2 -2
- package/dist/packages/input/index.scss +18 -2
- package/dist/packages/locale/index.d.ts +3 -0
- package/dist/packages/locale/index.scss +1 -0
- package/dist/packages/locale/lang/baseLang.js +8 -0
- package/dist/packages/locale/lang/en-US.js +91 -0
- package/dist/packages/locale/lang/index.js +48 -0
- package/dist/packages/locale/lang/index.scss +1 -0
- package/dist/packages/locale/lang/zh-CN.js +91 -0
- package/dist/packages/locale/lang/zh-TW.js +91 -0
- package/dist/packages/locale/locale/index.d.ts +8 -0
- package/dist/packages/locale/locale/lang/baseLang.d.ts +82 -0
- package/dist/packages/locale/locale/lang/en-US.d.ts +83 -0
- package/dist/packages/locale/locale/lang/zh-CN.d.ts +83 -0
- package/dist/packages/locale/locale/lang/zh-TW.d.ts +83 -0
- package/dist/packages/notify/index.scss +2 -0
- package/dist/packages/popup/index.scss +4 -0
- package/dist/smartips/attributes.json +2542 -0
- package/dist/smartips/tags.json +955 -0
- package/dist/style.css +1 -1
- package/dist/styles/font/config.json +5 -0
- package/dist/styles/themes/default.scss +51 -46
- package/dist/styles/themes/jdt.scss +51 -46
- package/dist/styles/variables-jdt.scss +22 -3
- package/dist/styles/variables.scss +21 -2
- package/dist/types/__VUE/actionsheet/index.d.ts +14 -14
- package/dist/types/__VUE/address/index.d.ts +15 -5
- package/dist/types/__VUE/addresslist/components/GeneralShell.d.ts +35 -0
- package/dist/types/__VUE/addresslist/components/ItemContents.d.ts +42 -0
- package/dist/types/__VUE/addresslist/components/LongPressShell.d.ts +47 -0
- package/dist/types/__VUE/addresslist/components/SwipeShell.d.ts +37 -0
- package/dist/types/__VUE/addresslist/index.d.ts +81 -0
- package/dist/types/__VUE/audio/index.d.ts +3 -3
- package/dist/types/__VUE/audiooperate/index.d.ts +3 -3
- package/dist/types/__VUE/avatar/index.d.ts +48 -4
- package/dist/types/__VUE/avatargroup/index.d.ts +93 -0
- package/dist/types/__VUE/backtop/index.d.ts +3 -3
- package/dist/types/__VUE/badge/index.d.ts +3 -3
- package/dist/types/__VUE/barrage/index.d.ts +3 -3
- package/dist/types/__VUE/button/index.d.ts +3 -3
- package/dist/types/__VUE/calendar/index.d.ts +4 -4
- package/dist/types/__VUE/calendaritem/index.d.ts +3 -3
- package/dist/types/__VUE/card/index.d.ts +12 -3
- package/dist/types/__VUE/cascader/cascader-item.d.ts +3 -3
- package/dist/types/__VUE/cascader/index.d.ts +167 -3
- package/dist/types/__VUE/cascader/tree.d.ts +0 -1
- package/dist/types/__VUE/category/index.d.ts +38 -0
- package/dist/types/__VUE/categorypane/index.d.ts +45 -0
- package/dist/types/__VUE/cell/index.d.ts +3 -3
- package/dist/types/__VUE/cellgroup/index.d.ts +3 -3
- package/dist/types/__VUE/checkbox/index.d.ts +3 -3
- package/dist/types/__VUE/checkboxgroup/index.d.ts +3 -3
- package/dist/types/__VUE/circleprogress/index.d.ts +58 -30
- package/dist/types/__VUE/col/index.d.ts +8 -5
- package/dist/types/__VUE/collapse/index.d.ts +4 -4
- package/dist/types/__VUE/collapseitem/index.d.ts +3 -3
- package/dist/types/__VUE/comment/components/CmtBottom.d.ts +52 -0
- package/dist/types/__VUE/comment/components/CmtHeader.d.ts +47 -0
- package/dist/types/__VUE/comment/components/CmtImages.d.ts +51 -0
- package/dist/types/__VUE/comment/index.d.ts +110 -0
- package/dist/types/__VUE/countdown/index.d.ts +81 -67
- package/dist/types/__VUE/countdown/util.d.ts +6 -0
- package/dist/types/__VUE/countup/index.d.ts +3 -3
- package/dist/types/__VUE/datepicker/index.d.ts +13 -4
- package/dist/types/__VUE/dialog/index.d.ts +15 -15
- package/dist/types/__VUE/divider/index.d.ts +3 -3
- package/dist/types/__VUE/drag/index.d.ts +3 -3
- package/dist/types/__VUE/ecard/index.d.ts +4 -3
- package/dist/types/__VUE/elevator/index.d.ts +4 -4
- package/dist/types/__VUE/empty/index.d.ts +3 -3
- package/dist/types/__VUE/fixednav/index.d.ts +4 -4
- package/dist/types/__VUE/form/index.d.ts +3 -3
- package/dist/types/__VUE/formitem/index.d.ts +3 -3
- package/dist/types/__VUE/grid/index.d.ts +3 -3
- package/dist/types/__VUE/griditem/index.d.ts +3 -3
- package/dist/types/__VUE/icon/index.d.ts +3 -3
- package/dist/types/__VUE/imagepreview/index.d.ts +3 -3
- package/dist/types/__VUE/indicator/index.d.ts +3 -3
- package/dist/types/__VUE/infiniteloading/index.d.ts +7 -7
- package/dist/types/__VUE/input/index.d.ts +3 -3
- package/dist/types/__VUE/inputnumber/index.d.ts +3 -3
- package/dist/types/__VUE/layout/index.d.ts +3 -3
- package/dist/types/__VUE/list/index.d.ts +12 -4
- package/dist/types/__VUE/menu/index.d.ts +4 -4
- package/dist/types/__VUE/menuitem/index.d.ts +3 -3
- package/dist/types/__VUE/navbar/index.d.ts +3 -3
- package/dist/types/__VUE/noticebar/index.d.ts +5 -5
- package/dist/types/__VUE/notify/index.d.ts +13 -3
- package/dist/types/__VUE/numberkeyboard/index.d.ts +5 -5
- package/dist/types/__VUE/oldpicker/Column.d.ts +3 -3
- package/dist/types/__VUE/oldpicker/index.d.ts +14 -5
- package/dist/types/__VUE/overlay/index.d.ts +3 -3
- package/dist/types/__VUE/pagination/index.d.ts +3 -3
- package/dist/types/__VUE/picker/Column.d.ts +3 -3
- package/dist/types/__VUE/picker/index.d.ts +14 -5
- package/dist/types/__VUE/popover/index.d.ts +14 -5
- package/dist/types/__VUE/popup/index.d.ts +15 -6
- package/dist/types/__VUE/price/index.d.ts +3 -3
- package/dist/types/__VUE/progress/index.d.ts +4 -3
- package/dist/types/__VUE/pullrefresh/index.d.ts +3 -3
- package/dist/types/__VUE/radio/index.d.ts +3 -3
- package/dist/types/__VUE/radiogroup/index.d.ts +3 -3
- package/dist/types/__VUE/range/index.d.ts +3 -3
- package/dist/types/__VUE/rate/index.d.ts +3 -3
- package/dist/types/__VUE/row/index.d.ts +8 -5
- package/dist/types/__VUE/searchbar/index.d.ts +3 -3
- package/dist/types/__VUE/shortpassword/index.d.ts +4 -4
- package/dist/types/__VUE/sidenavbar/index.d.ts +3 -3
- package/dist/types/__VUE/sidenavbaritem/index.d.ts +3 -3
- package/dist/types/__VUE/signature/index.d.ts +4 -3
- package/dist/types/__VUE/skeleton/index.d.ts +3 -3
- package/dist/types/__VUE/sku/components/SkuHeader.d.ts +4 -3
- package/dist/types/__VUE/sku/components/SkuOperate.d.ts +3 -3
- package/dist/types/__VUE/sku/components/SkuSelect.d.ts +3 -3
- package/dist/types/__VUE/sku/components/SkuStepper.d.ts +3 -3
- package/dist/types/__VUE/sku/index.d.ts +15 -5
- package/dist/types/__VUE/step/index.d.ts +3 -3
- package/dist/types/__VUE/steps/index.d.ts +3 -3
- package/dist/types/__VUE/sticky/index.d.ts +3 -3
- package/dist/types/__VUE/subsidenavbar/index.d.ts +3 -3
- package/dist/types/__VUE/swipe/index.d.ts +5 -5
- package/dist/types/__VUE/swiper/index.d.ts +4 -4
- package/dist/types/__VUE/swiperitem/index.d.ts +3 -3
- package/dist/types/__VUE/switch/index.d.ts +3 -3
- package/dist/types/__VUE/tabbar/index.d.ts +4 -4
- package/dist/types/__VUE/tabbaritem/index.d.ts +3 -3
- package/dist/types/__VUE/table/common.d.ts +2 -1
- package/dist/types/__VUE/table/index.d.ts +3 -3
- package/dist/types/__VUE/table/renderColumn.d.ts +5 -10
- package/dist/types/__VUE/table/types.d.ts +2 -2
- package/dist/types/__VUE/tabpane/index.d.ts +3 -3
- package/dist/types/__VUE/tabs/common.d.ts +78 -0
- package/dist/types/__VUE/tabs/index.d.ts +15 -17
- package/dist/types/__VUE/tag/index.d.ts +4 -4
- package/dist/types/__VUE/textarea/index.d.ts +6 -6
- package/dist/types/__VUE/timedetail/index.d.ts +3 -3
- package/dist/types/__VUE/timepannel/index.d.ts +3 -3
- package/dist/types/__VUE/timeselect/index.d.ts +4 -3
- package/dist/types/__VUE/toast/index.d.ts +3 -3
- package/dist/types/__VUE/uploader/index.d.ts +5 -5
- package/dist/types/__VUE/uploader/uploader.d.ts +1 -1
- package/dist/types/__VUE/video/index.d.ts +3 -3
- package/dist/types/nutui.d.ts +8 -2
- package/package.json +11 -12
- package/dist/index.d.ts +0 -3
- package/dist/nutui.d.ts +0 -103
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, withDirectives, vModelText, createTextVNode, createVNode } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
-
|
|
9
|
+
import "../locale/lang";
|
|
10
|
+
const { componentName, create, translate } = createComponent("ecard");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
12
13
|
chooseText: {
|
|
13
14
|
type: String,
|
|
14
|
-
default: "
|
|
15
|
+
default: ""
|
|
15
16
|
},
|
|
16
17
|
otherValueText: {
|
|
17
18
|
type: String,
|
|
18
|
-
default: "
|
|
19
|
+
default: ""
|
|
19
20
|
},
|
|
20
21
|
dataList: {
|
|
21
22
|
type: [Object, Array],
|
|
@@ -45,7 +46,7 @@ const _sfc_main = create({
|
|
|
45
46
|
},
|
|
46
47
|
placeholder: {
|
|
47
48
|
type: String,
|
|
48
|
-
default: "
|
|
49
|
+
default: ""
|
|
49
50
|
},
|
|
50
51
|
suffix: {
|
|
51
52
|
type: String,
|
|
@@ -55,37 +56,45 @@ const _sfc_main = create({
|
|
|
55
56
|
emits: ["inputChange", "changeStep", "inputClick", "change", "update:modelValue"],
|
|
56
57
|
setup(props, { emit }) {
|
|
57
58
|
const currentIndex = ref(null);
|
|
59
|
+
const currentValue = ref(null);
|
|
58
60
|
const inputValue = ref();
|
|
59
61
|
const stepValue = ref(props.cardAmountMin);
|
|
60
62
|
const money = ref(props.modelValue);
|
|
61
63
|
const handleClick = (item, index2) => {
|
|
62
64
|
currentIndex.value = index2;
|
|
63
65
|
inputValue.value = "";
|
|
66
|
+
stepValue.value = props.cardAmountMin;
|
|
67
|
+
currentValue.value = item.price;
|
|
64
68
|
emit("change", item);
|
|
69
|
+
emit("update:modelValue", item.price);
|
|
65
70
|
};
|
|
66
71
|
const change = (event) => {
|
|
67
72
|
let input = event.target;
|
|
68
73
|
let val = input.value.replace(/[^\d]/g, "");
|
|
69
74
|
inputValue.value = val;
|
|
75
|
+
currentValue.value = val;
|
|
70
76
|
if (Number(val) > props.cardAmountMax) {
|
|
71
77
|
inputValue.value = props.cardAmountMax;
|
|
78
|
+
currentValue.value = props.cardAmountMax;
|
|
72
79
|
}
|
|
73
80
|
if (Number(val) < props.cardAmountMin) {
|
|
74
81
|
inputValue.value = props.cardAmountMin;
|
|
82
|
+
currentValue.value = props.cardAmountMin;
|
|
75
83
|
}
|
|
76
84
|
emit("inputChange", Number(inputValue.value));
|
|
85
|
+
emit("update:modelValue", Number(inputValue.value));
|
|
77
86
|
};
|
|
78
87
|
const inputClick = () => {
|
|
79
88
|
currentIndex.value = "input";
|
|
89
|
+
stepValue.value = props.cardAmountMin;
|
|
80
90
|
emit("update:modelValue", 0);
|
|
81
91
|
emit("inputClick");
|
|
82
92
|
};
|
|
83
93
|
const changeStep = (value) => {
|
|
84
94
|
stepValue.value = value;
|
|
85
|
-
emit("changeStep", stepValue.value);
|
|
95
|
+
emit("changeStep", stepValue.value, currentValue.value);
|
|
86
96
|
};
|
|
87
97
|
watch(() => props.modelValue, (value) => {
|
|
88
|
-
console.log("value", value);
|
|
89
98
|
money.value = value;
|
|
90
99
|
});
|
|
91
100
|
return {
|
|
@@ -96,7 +105,8 @@ const _sfc_main = create({
|
|
|
96
105
|
stepValue,
|
|
97
106
|
currentIndex,
|
|
98
107
|
inputValue,
|
|
99
|
-
money
|
|
108
|
+
money,
|
|
109
|
+
translate
|
|
100
110
|
};
|
|
101
111
|
}
|
|
102
112
|
});
|
|
@@ -110,7 +120,7 @@ const _hoisted_7 = { class: "nut-ecard__list__step" };
|
|
|
110
120
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
111
121
|
const _component_nut_inputnumber = resolveComponent("nut-inputnumber");
|
|
112
122
|
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
113
|
-
createElementVNode("view", _hoisted_2, toDisplayString(_ctx.chooseText), 1),
|
|
123
|
+
createElementVNode("view", _hoisted_2, toDisplayString(_ctx.chooseText || _ctx.translate("chooseText")), 1),
|
|
114
124
|
createElementVNode("view", _hoisted_3, [
|
|
115
125
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dataList, (item, index2) => {
|
|
116
126
|
return openBlock(), createElementBlock("view", {
|
|
@@ -123,13 +133,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
123
133
|
class: normalizeClass(["nut-ecard__list__input", _ctx.currentIndex == "input" ? "active" : ""]),
|
|
124
134
|
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.inputClick && _ctx.inputClick(...args))
|
|
125
135
|
}, [
|
|
126
|
-
createElementVNode("view", null, toDisplayString(_ctx.otherValueText), 1),
|
|
136
|
+
createElementVNode("view", null, toDisplayString(_ctx.otherValueText || _ctx.translate("otherValueText")), 1),
|
|
127
137
|
createElementVNode("view", _hoisted_5, [
|
|
128
138
|
withDirectives(createElementVNode("input", {
|
|
139
|
+
class: "nut-ecard__list__input--input",
|
|
129
140
|
type: "text",
|
|
130
141
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
|
|
131
142
|
onInput: _cache[1] || (_cache[1] = (...args) => _ctx.change && _ctx.change(...args)),
|
|
132
|
-
placeholder: _ctx.placeholder
|
|
143
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder")
|
|
133
144
|
}, null, 40, _hoisted_6), [
|
|
134
145
|
[vModelText, _ctx.inputValue]
|
|
135
146
|
]),
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -26,6 +26,7 @@ import { ref, reactive, computed, toRefs, nextTick, openBlock, createElementBloc
|
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { u as useExpose } from "./index3.js";
|
|
28
28
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
29
|
+
import "../locale/lang";
|
|
29
30
|
const { componentName, create } = createComponent("elevator");
|
|
30
31
|
const _sfc_main = create({
|
|
31
32
|
props: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { toRefs, computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, renderSlot, Fragment, createCommentVNode, toDisplayString } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create, translate } = createComponent("empty");
|
|
10
11
|
const defaultStatus = {
|
|
11
12
|
empty: "https://static-ftcms.jd.com/p/files/61a9e3183985005b3958672b.png",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { computed, resolveComponent, openBlock, createElementBlock, normalizeCla
|
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import overlay from "./OverLay.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const { componentName, create, translate } = createComponent("fixednav");
|
|
11
12
|
const _sfc_main = create({
|
|
12
13
|
components: {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { g as getPropByPath, i as isPromise, c as createComponent } from "./component.js";
|
|
7
7
|
import { computed, reactive, provide, watch, resolveComponent, openBlock, createElementBlock, withModifiers, createVNode, withCtx, renderSlot } from "vue";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const component = {
|
|
10
11
|
props: {
|
|
11
12
|
modelValue: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { p as pxCheck } from "./pxCheck.js";
|
|
7
|
-
import { inject, provide, computed, resolveComponent, openBlock, createBlock, normalizeClass, withCtx, createElementBlock,
|
|
7
|
+
import { inject, provide, computed, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, renderSlot } from "vue";
|
|
8
8
|
import { c as createComponent } from "./component.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const { componentName, create } = createComponent("form-item");
|
|
11
12
|
const _sfc_main = create({
|
|
12
13
|
inheritAttrs: false,
|
|
@@ -84,7 +85,8 @@ const _hoisted_1 = { class: "nut-cell__value nut-form-item__body" };
|
|
|
84
85
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
85
86
|
const _component_nut_cell = resolveComponent("nut-cell");
|
|
86
87
|
return openBlock(), createBlock(_component_nut_cell, {
|
|
87
|
-
class: normalizeClass(["nut-form-item", { error: _ctx.parent[_ctx.prop], line: _ctx.showErrorLine }])
|
|
88
|
+
class: normalizeClass(["nut-form-item", [{ error: _ctx.parent[_ctx.prop], line: _ctx.showErrorLine }, _ctx.$attrs.class]]),
|
|
89
|
+
style: normalizeStyle(_ctx.$attrs.style)
|
|
88
90
|
}, {
|
|
89
91
|
default: withCtx(() => [
|
|
90
92
|
_ctx.label ? (openBlock(), createElementBlock("view", {
|
|
@@ -107,7 +109,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
107
109
|
])
|
|
108
110
|
]),
|
|
109
111
|
_: 3
|
|
110
|
-
}, 8, ["class"]);
|
|
112
|
+
}, 8, ["class", "style"]);
|
|
111
113
|
}
|
|
112
114
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
113
115
|
export { index as default };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { c as createComponent } from "./component.js";
|
|
7
7
|
import { c as component } from "./common.js";
|
|
8
8
|
import "vue";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
import "./pxCheck.js";
|
|
10
11
|
const { create } = createComponent("grid");
|
|
11
12
|
const _sfc_main = create(component);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -9,6 +9,7 @@ import { c as createComponent } from "./component.js";
|
|
|
9
9
|
import { p as pxCheck } from "./pxCheck.js";
|
|
10
10
|
import { G as GRID_KEY } from "./common.js";
|
|
11
11
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
12
|
+
import "../locale/lang";
|
|
12
13
|
function useInject(key) {
|
|
13
14
|
const parent = inject(key, null);
|
|
14
15
|
if (parent) {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { p as pxCheck } from "./pxCheck.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create } = createComponent("icon");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -17,12 +17,8 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __publicField = (obj, key, value) => {
|
|
21
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
22
|
-
return value;
|
|
23
|
-
};
|
|
24
20
|
/*!
|
|
25
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
26
22
|
* (c) 2022 @jdf2e.
|
|
27
23
|
* Released under the MIT License.
|
|
28
24
|
*/
|
|
@@ -33,6 +29,7 @@ import Video from "./Video.js";
|
|
|
33
29
|
import Swiper from "./Swiper.js";
|
|
34
30
|
import SwiperItem from "./SwiperItem.js";
|
|
35
31
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
32
|
+
import "../locale/lang";
|
|
36
33
|
import "./OverLay.js";
|
|
37
34
|
import "./Icon.js";
|
|
38
35
|
import "./pxCheck.js";
|
|
@@ -281,19 +278,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
281
278
|
var ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
282
279
|
class ImagePreviewOptions {
|
|
283
280
|
constructor() {
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
281
|
+
this.show = false;
|
|
282
|
+
this.images = [];
|
|
283
|
+
this.initNo = 1;
|
|
284
|
+
this.paginationVisible = false;
|
|
285
|
+
this.paginationColor = "";
|
|
286
|
+
this.teleport = "body";
|
|
287
|
+
this.onClose = () => {
|
|
288
|
+
};
|
|
292
289
|
}
|
|
293
290
|
}
|
|
294
291
|
class ImagePreviewFunction {
|
|
295
292
|
constructor(_options) {
|
|
296
|
-
|
|
293
|
+
this.options = new ImagePreviewOptions();
|
|
297
294
|
let options = Object.assign(this.options, _options);
|
|
298
295
|
let elWarp = document.body;
|
|
299
296
|
let teleport = options.teleport;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { toRefs, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, toDisplayString } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create } = createComponent("indicator");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { reactive, computed, onMounted, onUnmounted, ref, onActivated, onDeactivated, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, toDisplayString, renderSlot, createCommentVNode } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { componentName, create } = createComponent("infiniteloading");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
props: {
|
|
@@ -99,9 +100,6 @@ const _sfc_main = create({
|
|
|
99
100
|
transition: state.isTouching ? `height 0s cubic-bezier(0.25,0.1,0.25,1)` : `height 0.2s cubic-bezier(0.25,0.1,0.25,1)`
|
|
100
101
|
};
|
|
101
102
|
});
|
|
102
|
-
const getParentElement = (el) => {
|
|
103
|
-
return !!props.containerId ? document.querySelector(`#${props.containerId}`) : el && el.parentNode;
|
|
104
|
-
};
|
|
105
103
|
const requestAniFrame = () => {
|
|
106
104
|
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || function(callback) {
|
|
107
105
|
window.setTimeout(callback, 1e3 / 60);
|
|
@@ -177,12 +175,17 @@ const _sfc_main = create({
|
|
|
177
175
|
}
|
|
178
176
|
};
|
|
179
177
|
const touchEnd = () => {
|
|
180
|
-
if (state.distance
|
|
181
|
-
state.distance
|
|
182
|
-
|
|
183
|
-
|
|
178
|
+
if (state.distance) {
|
|
179
|
+
if (state.distance < state.refreshMaxH) {
|
|
180
|
+
state.distance = 0;
|
|
181
|
+
} else {
|
|
182
|
+
emit("refresh", refreshDone);
|
|
183
|
+
}
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
+
const getParentElement = (el) => {
|
|
187
|
+
return !!props.containerId ? document.querySelector(`#${props.containerId}`) : el && el.parentNode;
|
|
188
|
+
};
|
|
186
189
|
onMounted(() => {
|
|
187
190
|
const parentElement = getParentElement(state.scroller);
|
|
188
191
|
state.scrollEl = props.useWindow ? window : parentElement;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, reactive, computed, watch, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, createCommentVNode, normalizeStyle, createElementVNode, toDisplayString, withDirectives, createBlock, vShow, renderSlot, createTextVNode } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
function trimExtraChar(value, char, regExp) {
|
|
10
11
|
const index2 = value.indexOf(char);
|
|
11
12
|
if (index2 === -1) {
|
|
@@ -155,7 +156,7 @@ const _sfc_main = create({
|
|
|
155
156
|
},
|
|
156
157
|
showWordLimit: {
|
|
157
158
|
type: Boolean,
|
|
158
|
-
default:
|
|
159
|
+
default: false
|
|
159
160
|
},
|
|
160
161
|
autofocus: {
|
|
161
162
|
type: Boolean,
|
|
@@ -229,6 +230,7 @@ const _sfc_main = create({
|
|
|
229
230
|
updateValue(value);
|
|
230
231
|
};
|
|
231
232
|
const updateValue = (value, trigger = "onChange") => {
|
|
233
|
+
var _a;
|
|
232
234
|
if (props.type === "digit") {
|
|
233
235
|
value = formatNumber(value, false, false);
|
|
234
236
|
}
|
|
@@ -238,7 +240,7 @@ const _sfc_main = create({
|
|
|
238
240
|
if (props.formatter && trigger === props.formatTrigger) {
|
|
239
241
|
value = props.formatter(value);
|
|
240
242
|
}
|
|
241
|
-
if (inputRef
|
|
243
|
+
if (((_a = inputRef == null ? void 0 : inputRef.value) == null ? void 0 : _a.value) !== value) {
|
|
242
244
|
inputRef.value.value = value;
|
|
243
245
|
}
|
|
244
246
|
if (value !== props.modelValue) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { computed, resolveComponent, openBlock, createElementBlock, normalizeCla
|
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { p as pxCheck } from "./pxCheck.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const { componentName, create } = createComponent("inputnumber");
|
|
11
12
|
const _sfc_main = create({
|
|
12
13
|
props: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { c as createComponent } from "./component.js";
|
|
7
7
|
import "vue";
|
|
8
|
+
import "../locale/lang";
|
|
8
9
|
const { create } = createComponent("layout");
|
|
9
10
|
const _sfc_main = create({});
|
|
10
11
|
export { _sfc_main as default };
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { ref, reactive, computed, watch, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, renderSlot } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { componentName, create } = createComponent("list");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
props: {
|
|
@@ -37,19 +38,22 @@ const _sfc_main = create({
|
|
|
37
38
|
default: () => {
|
|
38
39
|
return [];
|
|
39
40
|
}
|
|
41
|
+
},
|
|
42
|
+
containerHeight: {
|
|
43
|
+
type: [Number],
|
|
44
|
+
default: document.documentElement.clientHeight || document.body.clientHeight || 667
|
|
40
45
|
}
|
|
41
46
|
},
|
|
42
47
|
emits: ["scroll"],
|
|
43
48
|
setup(props, { emit }) {
|
|
44
49
|
const list = ref(null);
|
|
45
50
|
const state = reactive({
|
|
46
|
-
screenHeight: document.documentElement.clientHeight || document.body.clientHeight || 667,
|
|
47
51
|
startOffset: 0,
|
|
48
52
|
start: 0,
|
|
49
53
|
list: props.listData.slice()
|
|
50
54
|
});
|
|
51
55
|
const visibleCount = computed(() => {
|
|
52
|
-
return Math.ceil(
|
|
56
|
+
return Math.ceil(props.containerHeight / props.height);
|
|
53
57
|
});
|
|
54
58
|
const end = computed(() => {
|
|
55
59
|
return state.start + visibleCount.value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { ref, computed, reactive, provide, resolveComponent, openBlock, createEl
|
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { u as useRect } from "./index2.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
|
+
import "../locale/lang";
|
|
10
11
|
const { componentName, create } = createComponent("menu");
|
|
11
12
|
const _sfc_main = create({
|
|
12
13
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -8,6 +8,7 @@ import { c as createComponent } from "./component.js";
|
|
|
8
8
|
import _sfc_main$1 from "./Icon.js";
|
|
9
9
|
import Popup from "./Popup.js";
|
|
10
10
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
11
|
+
import "../locale/lang";
|
|
11
12
|
import "./pxCheck.js";
|
|
12
13
|
import "./OverLay.js";
|
|
13
14
|
const { componentName, create } = createComponent("menu-item");
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
|
+
import "../locale/lang";
|
|
9
10
|
const { componentName, create } = createComponent("navbar");
|
|
10
11
|
const _sfc_main = create({
|
|
11
12
|
props: {
|
|
@@ -18,13 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.20-beta.0 Mon Apr 25 2022 18:02:52 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, renderSlot, createBlock, createCommentVNode, createElementVNode, createTextVNode, toDisplayString, withModifiers, createVNode, vShow, Fragment, renderList } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
import "../locale/lang";
|
|
28
29
|
const { componentName, create } = createComponent("noticebar");
|
|
29
30
|
const _sfc_main = create({
|
|
30
31
|
props: {
|