@nutui/nutui 4.3.11 → 4.3.13
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 +177 -146
- package/README.md +1 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +6 -3
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/cascader/Cascader.js +4 -1
- package/dist/packages/empty/Empty.js +2 -10
- package/dist/packages/tabs/index.scss +1 -1
- package/dist/smartips/web-types.json +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -563,6 +563,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
563
563
|
position: "bottom",
|
|
564
564
|
"pop-class": "nut-cascader__popup",
|
|
565
565
|
round: "",
|
|
566
|
+
"lock-scroll": _ctx.lockScroll,
|
|
567
|
+
teleport: _ctx.teleport,
|
|
568
|
+
"teleport-disable": _ctx.teleportDisable,
|
|
566
569
|
closeable: _ctx.closeable,
|
|
567
570
|
"destroy-on-close": false,
|
|
568
571
|
"close-icon-position": _ctx.closeIconPosition,
|
|
@@ -589,7 +592,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
589
592
|
}, null, 8, ["model-value", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible", "onChange", "onPathChange"])
|
|
590
593
|
]),
|
|
591
594
|
_: 1
|
|
592
|
-
}, 8, ["visible", "closeable", "close-icon-position", "z-index"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
|
|
595
|
+
}, 8, ["visible", "lock-scroll", "teleport", "teleport-disable", "closeable", "close-icon-position", "z-index"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
|
|
593
596
|
key: 1,
|
|
594
597
|
"model-value": _ctx.innerValue,
|
|
595
598
|
options: _ctx.options,
|
|
@@ -51,16 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
|
|
|
51
51
|
}
|
|
52
52
|
return {};
|
|
53
53
|
});
|
|
54
|
-
const src = computed(() =>
|
|
55
|
-
|
|
56
|
-
return props.image;
|
|
57
|
-
} else {
|
|
58
|
-
return defaultStatus[props.image];
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
const descriptionText = computed(() => {
|
|
62
|
-
return props.description || translate("noData");
|
|
63
|
-
});
|
|
54
|
+
const src = computed(() => /^https?:\/\/|^\/\//.test(props.image) ? props.image : defaultStatus[props.image]);
|
|
55
|
+
const descriptionText = computed(() => props.description || translate("noData"));
|
|
64
56
|
return (_ctx, _cache) => {
|
|
65
57
|
return openBlock(), createElementBlock("view", _hoisted_1, [
|
|
66
58
|
createElementVNode("view", {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ import Invoice from './__VUE/invoice/index';
|
|
|
154
154
|
export * from './__VUE/invoice/index';
|
|
155
155
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
156
156
|
declare function install(app: App): void;
|
|
157
|
-
declare const version = "4.3.
|
|
157
|
+
declare const version = "4.3.13";
|
|
158
158
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, CalendarCard, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
159
159
|
declare const _default: {
|
|
160
160
|
install: typeof install;
|