@nutui/nutui 4.2.2-beta.1 → 4.2.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +1448 -1452
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/{Interceptor-a7d38af1.js → Interceptor-6aab6fe0.js} +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +3 -3
- package/dist/packages/address/Address.js +5 -4
- package/dist/packages/addresslist/AddressList.js +4 -3
- package/dist/packages/animate/Animate.js +1 -2
- package/dist/packages/audio/Audio.js +2 -2
- package/dist/packages/audiooperate/AudioOperate.js +4 -3
- package/dist/packages/avatar/Avatar.js +1 -2
- package/dist/packages/avatarcropper/AvatarCropper.js +2 -2
- package/dist/packages/avatargroup/AvatarGroup.js +1 -2
- package/dist/packages/backtop/Backtop.js +1 -2
- package/dist/packages/badge/Badge.js +1 -2
- package/dist/packages/barrage/Barrage.js +1 -2
- package/dist/packages/button/Button.js +1 -2
- package/dist/packages/calendar/Calendar.js +6 -5
- package/dist/packages/calendaritem/CalendarItem.js +5 -4
- package/dist/packages/card/Card.js +1 -2
- package/dist/packages/cascader/Cascader.js +5 -4
- package/dist/packages/category/Category.js +1 -2
- package/dist/packages/categorypane/CategoryPane.js +1 -2
- package/dist/packages/cell/Cell.js +1 -2
- package/dist/packages/cellgroup/CellGroup.js +1 -2
- package/dist/packages/checkbox/Checkbox.js +1 -2
- package/dist/packages/checkboxgroup/CheckboxGroup.js +1 -2
- package/dist/packages/circleprogress/CircleProgress.js +2 -2
- package/dist/packages/col/Col.js +1 -2
- package/dist/packages/collapse/Collapse.js +1 -2
- package/dist/packages/collapseitem/CollapseItem.js +1 -2
- package/dist/packages/comment/Comment.js +4 -3
- package/dist/packages/{common-3db007cd.js → common-72c11f1d.js} +1 -1
- package/dist/packages/component-669c158a.js +18 -0
- package/dist/packages/configprovider/ConfigProvider.js +1 -2
- package/dist/packages/countdown/Countdown.js +4 -3
- package/dist/packages/countup/Countup.js +1 -2
- package/dist/packages/datepicker/DatePicker.js +4 -3
- package/dist/packages/dialog/Dialog.js +7 -6
- package/dist/packages/divider/Divider.js +1 -2
- package/dist/packages/drag/Drag.js +1 -2
- package/dist/packages/ecard/Ecard.js +4 -3
- package/dist/packages/elevator/Elevator.js +1 -2
- package/dist/packages/ellipsis/Ellipsis.js +1 -2
- package/dist/packages/empty/Empty.js +4 -3
- package/dist/packages/fixednav/FixedNav.js +4 -3
- package/dist/packages/form/Form.js +2 -2
- package/dist/packages/formitem/FormItem.js +1 -2
- package/dist/packages/grid/Grid.js +2 -3
- package/dist/packages/griditem/GridItem.js +2 -3
- package/dist/packages/image/Image.js +1 -2
- package/dist/packages/imagepreview/ImagePreview.js +7 -6
- package/dist/packages/{index-ae743c4f.js → index-37ae1f41.js} +1 -1
- package/dist/packages/{index-47708e50.js → index-914a76f0.js} +2 -2
- package/dist/packages/{index-99fdd331.js → index-c0fa0f6b.js} +2 -2
- package/dist/packages/{index.vue_vue_type_script_lang-e1fb856d.js → index.vue_vue_type_script_lang-0185ccea.js} +1 -1
- package/dist/packages/{index.vue_vue_type_script_lang-336a1e7d.js → index.vue_vue_type_script_lang-825ed1e0.js} +1 -1
- package/dist/packages/indicator/Indicator.js +2 -2
- package/dist/packages/infiniteloading/InfiniteLoading.js +4 -3
- package/dist/packages/input/Input.js +1 -2
- package/dist/packages/inputnumber/InputNumber.js +1 -2
- package/dist/packages/invoice/Invoice.js +4 -4
- package/dist/packages/layout/Layout.js +1 -2
- package/dist/packages/list/List.js +1 -2
- package/dist/packages/menu/Menu.js +1 -2
- package/dist/packages/menuitem/MenuItem.js +3 -3
- package/dist/packages/{mountComponent-614f1309.js → mountComponent-867a9167.js} +1 -1
- package/dist/packages/navbar/Navbar.js +1 -2
- package/dist/packages/noticebar/Noticebar.js +1 -2
- package/dist/packages/notify/Notify.js +3 -3
- package/dist/packages/numberkeyboard/NumberKeyboard.js +5 -4
- package/dist/packages/overlay/Overlay.js +2 -2
- package/dist/packages/pagination/Pagination.js +4 -3
- package/dist/packages/picker/Picker.js +4 -3
- package/dist/packages/popover/Popover.js +3 -3
- package/dist/packages/popup/Popup.js +3 -3
- package/dist/packages/price/Price.js +1 -2
- package/dist/packages/progress/Progress.js +1 -2
- package/dist/packages/pullrefresh/PullRefresh.js +4 -3
- package/dist/packages/radio/Radio.js +2 -3
- package/dist/packages/radiogroup/RadioGroup.js +2 -3
- package/dist/packages/range/Range.js +2 -2
- package/dist/packages/rate/Rate.js +1 -2
- package/dist/packages/row/Row.js +1 -2
- package/dist/packages/searchbar/Searchbar.js +4 -3
- package/dist/packages/shortpassword/ShortPassword.js +5 -4
- package/dist/packages/sidenavbar/SideNavbar.js +1 -2
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +1 -2
- package/dist/packages/signature/Signature.js +4 -3
- package/dist/packages/skeleton/Skeleton.js +1 -2
- package/dist/packages/sku/Sku.js +5 -4
- package/dist/packages/space/Space.js +1 -2
- package/dist/packages/step/Step.js +1 -2
- package/dist/packages/steps/Steps.js +1 -2
- package/dist/packages/sticky/Sticky.js +1 -2
- package/dist/packages/subsidenavbar/SubSideNavbar.js +1 -2
- package/dist/packages/swipe/Swipe.js +1 -2
- package/dist/packages/swipegroup/SwipeGroup.js +1 -2
- package/dist/packages/swiper/Swiper.js +2 -2
- package/dist/packages/swiperitem/SwiperItem.js +1 -2
- package/dist/packages/switch/Switch.js +1 -2
- package/dist/packages/tabbar/Tabbar.js +1 -2
- package/dist/packages/tabbaritem/TabbarItem.js +1 -2
- package/dist/packages/table/Table.js +4 -3
- package/dist/packages/tabpane/TabPane.js +1 -2
- package/dist/packages/tabs/Tabs.js +2 -2
- package/dist/packages/tag/Tag.js +1 -2
- package/dist/packages/textarea/Textarea.js +4 -3
- package/dist/packages/timedetail/TimeDetail.js +1 -2
- package/dist/packages/timepannel/TimePannel.js +1 -2
- package/dist/packages/timeselect/TimeSelect.js +5 -4
- package/dist/packages/toast/Toast.js +3 -3
- package/dist/packages/tour/Tour.js +3 -3
- package/dist/packages/trendarrow/TrendArrow.js +2 -2
- package/dist/packages/uploader/Uploader.js +5 -4
- package/dist/packages/{component-a8dfbf81.js → util-6f26722f.js} +8 -29
- package/dist/packages/video/Video.js +4 -3
- package/dist/packages/watermark/Watermark.js +1 -2
- package/dist/smartips/web-types.json +1 -1
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/comment/index.vue.d.ts +2 -2
- package/dist/types/__VUE/menu/index.vue.d.ts +2 -2
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/radio/index.vue.d.ts +2 -2
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +6 -6
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/textarea/index.vue.d.ts +2 -2
- package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/canvas.d.ts +1 -1
- package/dist/types/utils/create/component.d.ts +0 -1
- package/dist/types/utils/create/renderIcon.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { c as createComponent } from "../component-
|
|
1
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
2
2
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, createElementVNode, createBlock, normalizeClass, normalizeStyle, Fragment, renderList } from "vue";
|
|
3
3
|
import NutAvatar from "../avatar/Avatar.js";
|
|
4
4
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
-
import "../locale/lang";
|
|
6
5
|
const { create } = createComponent("skeleton");
|
|
7
6
|
const _sfc_main = create({
|
|
8
7
|
components: {
|
package/dist/packages/sku/Sku.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createCommentVNode, toDisplayString, ref, watch, onMounted, Fragment, renderList, normalizeClass, createVNode, withCtx, createSlots } from "vue";
|
|
2
2
|
import NutPrice from "../price/Price.js";
|
|
3
|
-
import { c as createComponent
|
|
4
|
-
import { u as useLocale } from "../index-
|
|
3
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
4
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
|
+
import { T as TypeOfFun } from "../util-6f26722f.js";
|
|
6
7
|
import NutInputNumber from "../inputnumber/InputNumber.js";
|
|
7
|
-
import { N as NutPopup } from "../index-
|
|
8
|
-
import "
|
|
8
|
+
import { N as NutPopup } from "../index-37ae1f41.js";
|
|
9
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
9
10
|
import "../pxCheck-a27490eb.js";
|
|
10
11
|
import "@nutui/icons-vue";
|
|
11
12
|
import "../overlay/Overlay.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { h, Fragment, Comment, Text } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
3
|
-
import "../locale/lang";
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
4
3
|
const { create, componentName } = createComponent("space");
|
|
5
4
|
const _sfc_main = create({
|
|
6
5
|
props: {
|
|
@@ -18,9 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { getCurrentInstance, inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, toDisplayString, createCommentVNode } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
|
-
import "../locale/lang";
|
|
24
23
|
const { create, componentName } = createComponent("step");
|
|
25
24
|
const _sfc_main = create({
|
|
26
25
|
props: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { reactive, computed, provide, h } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
3
|
-
import "../locale/lang";
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
4
3
|
const { create, componentName } = createComponent("steps");
|
|
5
4
|
const _sfc_main = create({
|
|
6
5
|
props: {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ref, reactive, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeStyle, createElementVNode, renderSlot } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { g as getScrollParent } from "../index-97b44e6c.js";
|
|
4
4
|
import { u as useRect } from "../index-29892cda.js";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
|
-
import "../locale/lang";
|
|
7
6
|
const { create } = createComponent("sticky");
|
|
8
7
|
const _sfc_main = create({
|
|
9
8
|
props: {
|
|
@@ -18,10 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, computed, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, withModifiers, toDisplayString, createBlock, withDirectives, normalizeClass, normalizeStyle, renderSlot, vShow } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { ArrowDown2, ArrowUp2 } from "@nutui/icons-vue";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
|
-
import "../locale/lang";
|
|
25
24
|
const { create } = createComponent("sub-side-navbar");
|
|
26
25
|
const _sfc_main = create({
|
|
27
26
|
props: {
|
|
@@ -19,9 +19,8 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { u as useTouch } from "../index-7a7385e4.js";
|
|
21
21
|
import { ref, computed, inject, watch, reactive, openBlock, createElementBlock, normalizeStyle, createElementVNode, renderSlot } from "vue";
|
|
22
|
-
import { c as createComponent } from "../component-
|
|
22
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
|
-
import "../locale/lang";
|
|
25
24
|
const { create } = createComponent("swipe");
|
|
26
25
|
const _sfc_main = create({
|
|
27
26
|
props: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ref, provide, openBlock, createElementBlock, renderSlot } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
4
|
-
import "../locale/lang";
|
|
5
4
|
const { create } = createComponent("swipe-group");
|
|
6
5
|
const _sfc_main = create({
|
|
7
6
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref, reactive, computed, provide, onDeactivated, onBeforeUnmount, watch, nextTick, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
|
-
import { c as createComponent
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { e as clamp } from "../util-6f26722f.js";
|
|
3
4
|
import { u as useTouch } from "../index-7a7385e4.js";
|
|
4
5
|
import { u as useExpose } from "../index-79c5dc33.js";
|
|
5
6
|
import { r as requestAniFrame } from "../raf-729dad54.js";
|
|
6
7
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
|
-
import "../locale/lang";
|
|
8
8
|
const { create, componentName } = createComponent("swiper");
|
|
9
9
|
const _sfc_main = create({
|
|
10
10
|
props: {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { inject, getCurrentInstance, reactive, computed, onUnmounted, openBlock, createElementBlock, normalizeStyle, renderSlot } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { u as useExpose } from "../index-79c5dc33.js";
|
|
4
4
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
-
import "../locale/lang";
|
|
6
5
|
const { create } = createComponent("swiper-item");
|
|
7
6
|
const _sfc_main = create({
|
|
8
7
|
setup() {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createVNode, createCommentVNode, Fragment, withDirectives, toDisplayString, vShow } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { Loading1 } from "@nutui/icons-vue";
|
|
4
4
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
-
import "../locale/lang";
|
|
6
5
|
const { componentName, create } = createComponent("switch");
|
|
7
6
|
const _sfc_main = create({
|
|
8
7
|
components: { Loading1 },
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { toRefs, ref, reactive, provide, watch, onMounted, nextTick, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
4
|
-
import "../locale/lang";
|
|
5
4
|
const { create } = createComponent("tabbar");
|
|
6
5
|
const _sfc_main = create({
|
|
7
6
|
props: {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { c as createComponent } from "../component-
|
|
1
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
2
2
|
import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
|
|
3
3
|
import { inject, reactive, getCurrentInstance, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, normalizeProps, guardReactiveProps, withCtx, createElementVNode, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
|
|
4
4
|
import { u as useRouter } from "../index-54d03fc1.js";
|
|
5
5
|
import NutBadge from "../badge/Badge.js";
|
|
6
6
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
|
-
import "../locale/lang";
|
|
8
7
|
const { create } = createComponent("tabbar-item");
|
|
9
8
|
const _sfc_main = create({
|
|
10
9
|
components: { NutBadge },
|
|
@@ -18,11 +18,12 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { defineComponent, h, reactive, watch, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { DownArrow } from "@nutui/icons-vue";
|
|
23
|
-
import { u as useLocale } from "../index-
|
|
23
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
24
24
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
25
|
-
import "
|
|
25
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
26
|
+
import "../util-6f26722f.js";
|
|
26
27
|
const RenderColumn = defineComponent({
|
|
27
28
|
props: {
|
|
28
29
|
slots: {
|
|
@@ -18,9 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { inject, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
|
-
import "../locale/lang";
|
|
24
23
|
const { create } = createComponent("tab-pane");
|
|
25
24
|
const _sfc_main = create({
|
|
26
25
|
props: {
|
|
@@ -38,8 +38,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
38
38
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
39
39
|
});
|
|
40
40
|
};
|
|
41
|
-
import { c as createComponent
|
|
41
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
42
42
|
import { ref, onMounted, reactive, provide, computed, watch, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
|
|
43
|
+
import { T as TypeOfFun } from "../util-6f26722f.js";
|
|
43
44
|
import { p as pxCheck } from "../pxCheck-a27490eb.js";
|
|
44
45
|
import { u as useRect } from "../index-29892cda.js";
|
|
45
46
|
import { r as requestAniFrame } from "../raf-729dad54.js";
|
|
@@ -47,7 +48,6 @@ import NutSticky from "../sticky/Sticky.js";
|
|
|
47
48
|
import { JoySmile } from "@nutui/icons-vue";
|
|
48
49
|
import { u as useTouch } from "../index-7a7385e4.js";
|
|
49
50
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
50
|
-
import "../locale/lang";
|
|
51
51
|
import "../index-97b44e6c.js";
|
|
52
52
|
const useTabContentTouch = (props, tabMethods, taro, useTaroRect) => {
|
|
53
53
|
const tabsContentRef = ref();
|
package/dist/packages/tag/Tag.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
3
|
import { Close } from "@nutui/icons-vue";
|
|
4
4
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
-
import "../locale/lang";
|
|
6
5
|
const { create } = createComponent("tag");
|
|
7
6
|
const _sfc_main = create({
|
|
8
7
|
props: {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ref, computed, onMounted, nextTick, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
3
|
-
import { u as useLocale } from "../index-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
4
4
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
|
-
import "
|
|
5
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
6
|
+
import "../util-6f26722f.js";
|
|
6
7
|
const { create } = createComponent("textarea");
|
|
7
8
|
const cN = "NutTextarea";
|
|
8
9
|
const _sfc_main = create({
|
|
@@ -18,9 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
|
-
import "../locale/lang";
|
|
24
23
|
const { create } = createComponent("time-detail");
|
|
25
24
|
const _sfc_main = create({
|
|
26
25
|
name: "timedetail",
|
|
@@ -18,9 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
|
-
import "../locale/lang";
|
|
24
23
|
const { componentName, create } = createComponent("time-pannel");
|
|
25
24
|
const _sfc_main = create({
|
|
26
25
|
name: "timepannel",
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, createElementBlock, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { c as createComponent } from "../component-
|
|
3
|
-
import { N as NutPopup } from "../index-
|
|
4
|
-
import { u as useLocale } from "../index-
|
|
2
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
3
|
+
import { N as NutPopup } from "../index-37ae1f41.js";
|
|
4
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
5
5
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
|
-
import "../locale/lang";
|
|
7
6
|
import "@nutui/icons-vue";
|
|
8
7
|
import "../overlay/Overlay.js";
|
|
8
|
+
import "../util-6f26722f.js";
|
|
9
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
9
10
|
const { create } = createComponent("time-select");
|
|
10
11
|
const cN = "NutTimeSelect";
|
|
11
12
|
const _sfc_main = create({
|
|
@@ -18,12 +18,12 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
|
-
import "../
|
|
25
|
-
import { C as CreateComponent } from "../mountComponent-614f1309.js";
|
|
24
|
+
import { C as CreateComponent } from "../mountComponent-867a9167.js";
|
|
26
25
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
|
|
26
|
+
import "../util-6f26722f.js";
|
|
27
27
|
const { create } = createComponent("toast");
|
|
28
28
|
const _sfc_main = create({
|
|
29
29
|
components: {},
|
|
@@ -18,14 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, ref, computed, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vShow, Fragment, renderList, normalizeStyle, createCommentVNode, createVNode, withCtx, renderSlot, toDisplayString } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { u as useRect } from "../index-29892cda.js";
|
|
23
23
|
import { Close } from "@nutui/icons-vue";
|
|
24
24
|
import NutPopover from "../popover/Popover.js";
|
|
25
25
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
26
|
-
import "../locale/lang";
|
|
27
26
|
import "../renderIcon-3d0fd47c.js";
|
|
28
|
-
import "../
|
|
27
|
+
import "../util-6f26722f.js";
|
|
28
|
+
import "../index-37ae1f41.js";
|
|
29
29
|
import "../overlay/Overlay.js";
|
|
30
30
|
const { create } = createComponent("tour");
|
|
31
31
|
const _sfc_main = create({
|
|
@@ -18,10 +18,10 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
|
|
21
|
-
import { m as myFixed
|
|
21
|
+
import { m as myFixed } from "../util-6f26722f.js";
|
|
22
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
23
|
import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
|
|
23
24
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
|
-
import "../locale/lang";
|
|
25
25
|
const { create } = createComponent("trend-arrow");
|
|
26
26
|
const _sfc_main = create({
|
|
27
27
|
components: { TriangleUp, TriangleDown },
|
|
@@ -5,13 +5,14 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import { ref, watch, h, reactive, resolveComponent, openBlock, createElementBlock, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
8
|
-
import { c as createComponent } from "../component-
|
|
9
|
-
import { f as funInterceptor } from "../Interceptor-
|
|
8
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
9
|
+
import { f as funInterceptor } from "../Interceptor-6aab6fe0.js";
|
|
10
10
|
import NutProgress from "../progress/Progress.js";
|
|
11
11
|
import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
|
|
12
|
-
import { u as useLocale } from "../index-
|
|
12
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
13
13
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
14
|
-
import "../
|
|
14
|
+
import "../util-6f26722f.js";
|
|
15
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
15
16
|
class UploadOptions {
|
|
16
17
|
constructor() {
|
|
17
18
|
__publicField(this, "url", "");
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { defineComponent } from "vue";
|
|
2
|
-
import locale from "../locale/lang";
|
|
3
1
|
const TypeOfFun = (value) => {
|
|
4
2
|
if (null === value) {
|
|
5
3
|
return "null";
|
|
@@ -101,39 +99,20 @@ const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
|
|
|
101
99
|
const getScrollTopRoot = () => {
|
|
102
100
|
return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
103
101
|
};
|
|
104
|
-
function createComponent(name) {
|
|
105
|
-
const componentName = "nut-" + name;
|
|
106
|
-
return {
|
|
107
|
-
componentName,
|
|
108
|
-
translate(keyPath, ...args) {
|
|
109
|
-
const languages = locale.languages();
|
|
110
|
-
const text = getPropByPath(languages, `${name.replace("-", "")}.${keyPath}`) || getPropByPath(languages, keyPath);
|
|
111
|
-
return isFunction(text) ? text(...args) : text;
|
|
112
|
-
},
|
|
113
|
-
create: function(_component) {
|
|
114
|
-
_component.name = componentName;
|
|
115
|
-
_component.install = (vue) => {
|
|
116
|
-
vue.component(_component.name, _component);
|
|
117
|
-
};
|
|
118
|
-
return defineComponent(_component);
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
102
|
export {
|
|
123
103
|
TypeOfFun as T,
|
|
124
104
|
isArray as a,
|
|
125
105
|
body as b,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
106
|
+
isDate as c,
|
|
107
|
+
preventDefault as d,
|
|
108
|
+
clamp as e,
|
|
109
|
+
isPromise as f,
|
|
130
110
|
getPropByPath as g,
|
|
131
|
-
|
|
111
|
+
isString as h,
|
|
132
112
|
isFunction as i,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
113
|
+
getScrollTopRoot as j,
|
|
114
|
+
isObject as k,
|
|
115
|
+
floatData as l,
|
|
136
116
|
myFixed as m,
|
|
137
|
-
floatData as n,
|
|
138
117
|
padZero as p
|
|
139
118
|
};
|
|
@@ -18,10 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
22
|
-
import { u as useLocale } from "../index-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
|
+
import { u as useLocale } from "../index-c0fa0f6b.js";
|
|
23
23
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
24
|
-
import "
|
|
24
|
+
import "@nutui/nutui/dist/packages/locale/lang";
|
|
25
|
+
import "../util-6f26722f.js";
|
|
25
26
|
function throttle(fn, delay) {
|
|
26
27
|
let timer = null;
|
|
27
28
|
let startTime = Date.now();
|
|
@@ -18,9 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
|
|
21
|
-
import { c as createComponent } from "../component-
|
|
21
|
+
import { c as createComponent } from "../component-669c158a.js";
|
|
22
22
|
import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
|
|
23
|
-
import "../locale/lang";
|
|
24
23
|
const { componentName, create } = createComponent("watermark");
|
|
25
24
|
const _sfc_main = create({
|
|
26
25
|
props: {
|
|
@@ -97,9 +97,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
97
97
|
classes: import("vue").ComputedRef<{
|
|
98
98
|
[x: string]: boolean;
|
|
99
99
|
}>;
|
|
100
|
-
renderIcon: (icon: import("vue").Component, props?: any) =>
|
|
100
|
+
renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
101
101
|
[key: string]: any;
|
|
102
|
-
}
|
|
102
|
+
}> | "";
|
|
103
103
|
wrapperRef: any;
|
|
104
104
|
contentRef: any;
|
|
105
105
|
open: () => void;
|
|
@@ -23,7 +23,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
ellipsis: {
|
|
26
|
-
type: (
|
|
26
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
29
|
videos: {
|
|
@@ -66,7 +66,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
68
|
ellipsis: {
|
|
69
|
-
type: (
|
|
69
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
72
|
videos: {
|
|
@@ -28,7 +28,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
scrollFixed: {
|
|
31
|
-
type: (
|
|
31
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
34
|
titleClass: StringConstructor[];
|
|
@@ -68,7 +68,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
68
68
|
default: string;
|
|
69
69
|
};
|
|
70
70
|
scrollFixed: {
|
|
71
|
-
type: (
|
|
71
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
74
|
titleClass: StringConstructor[];
|
|
@@ -83,9 +83,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
83
83
|
getRootPosition: import("vue").ComputedRef<CSSProperties>;
|
|
84
84
|
customStyle: import("vue").ComputedRef<CSSProperties>;
|
|
85
85
|
popoverArrowStyle: import("vue").ComputedRef<CSSProperties>;
|
|
86
|
-
renderIcon: (icon: import("vue").Component, props?: any) =>
|
|
86
|
+
renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
87
87
|
[key: string]: any;
|
|
88
|
-
}
|
|
88
|
+
}> | "";
|
|
89
89
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "open" | "choose" | "update")[], "close" | "update:visible" | "open" | "choose" | "update", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
90
|
visible: {
|
|
91
91
|
type: BooleanConstructor;
|
|
@@ -12,7 +12,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
label: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
iconSize: {
|
|
@@ -31,7 +31,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
label: {
|
|
34
|
-
type: (
|
|
34
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
iconSize: {
|
|
@@ -4,7 +4,7 @@ declare type Install<T> = T & {
|
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
direction: {
|
|
@@ -19,7 +19,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
19
19
|
[key: string]: any;
|
|
20
20
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
modelValue: {
|
|
22
|
-
type: (
|
|
22
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
direction: {
|
|
@@ -107,9 +107,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
107
107
|
pxCheck: (value?: string | number | undefined) => string | undefined;
|
|
108
108
|
rateRefs: Ref<HTMLElement[]>;
|
|
109
109
|
refRandomId: string;
|
|
110
|
-
renderIcon: (icon: import("vue").Component, props?: any) =>
|
|
110
|
+
renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
111
111
|
[key: string]: any;
|
|
112
|
-
}
|
|
112
|
+
}> | "";
|
|
113
113
|
slots: Readonly<{
|
|
114
114
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
115
115
|
}>;
|
|
@@ -141,9 +141,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
141
141
|
rightIconClick: (event: Event) => void;
|
|
142
142
|
styleSearchbar: import("vue").ComputedRef<CSSProperties>;
|
|
143
143
|
active: Ref<boolean>;
|
|
144
|
-
renderIcon: (icon: import("vue").Component, props?: any) =>
|
|
144
|
+
renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
145
145
|
[key: string]: any;
|
|
146
|
-
}
|
|
146
|
+
}> | "";
|
|
147
147
|
inputsearch: Ref<HTMLElement | null>;
|
|
148
148
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "clear" | "change" | "update:modelValue" | "blur" | "focus" | "clickInput" | "clickLeftIcon" | "clickRightIcon")[], "search" | "clear" | "change" | "update:modelValue" | "blur" | "focus" | "clickInput" | "clickLeftIcon" | "clickRightIcon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
149
149
|
modelValue: {
|