@nutui/nutui 4.3.11 → 4.3.12

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.
@@ -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
- if (props.image.startsWith("https://") || props.image.startsWith("http://") || props.image.startsWith("//")) {
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", {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "NutUI",
5
- "version": "4.3.11",
5
+ "version": "4.3.12",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -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.11";
157
+ declare const version = "4.3.12";
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",