@nutui/nutui 3.2.6-beta.2 → 3.2.7

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.
Files changed (195) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +11 -1
  3. package/dist/nutui.es.js +682 -1156
  4. package/dist/nutui.umd.js +689 -1164
  5. package/dist/packages/_es/ActionSheet.js +1 -1
  6. package/dist/packages/_es/Address.js +1 -1
  7. package/dist/packages/_es/AddressList.js +1 -1
  8. package/dist/packages/_es/Animate.js +1 -1
  9. package/dist/packages/_es/Audio.js +1 -1
  10. package/dist/packages/_es/AudioOperate.js +1 -1
  11. package/dist/packages/_es/Avatar.js +1 -1
  12. package/dist/packages/_es/AvatarGroup.js +1 -1
  13. package/dist/packages/_es/BackTop.js +1 -1
  14. package/dist/packages/_es/Badge.js +1 -1
  15. package/dist/packages/_es/Barrage.js +1 -1
  16. package/dist/packages/_es/Button.js +1 -1
  17. package/dist/packages/_es/Calendar.js +11 -4
  18. package/dist/packages/_es/CalendarItem.js +1 -1
  19. package/dist/packages/_es/Card.js +1 -1
  20. package/dist/packages/_es/Cascader.js +1 -1
  21. package/dist/packages/_es/Category.js +1 -1
  22. package/dist/packages/_es/CategoryPane.js +1 -1
  23. package/dist/packages/_es/Cell.js +1 -1
  24. package/dist/packages/_es/CellGroup.js +1 -1
  25. package/dist/packages/_es/Checkbox.js +1 -1
  26. package/dist/packages/_es/CheckboxGroup.js +1 -1
  27. package/dist/packages/_es/CircleProgress.js +1 -1
  28. package/dist/packages/_es/Col.js +1 -1
  29. package/dist/packages/_es/Collapse.js +1 -1
  30. package/dist/packages/_es/CollapseItem.js +9 -12
  31. package/dist/packages/_es/Comment.js +1 -1
  32. package/dist/packages/_es/ConfigProvider.js +1 -1
  33. package/dist/packages/_es/CountDown.js +1 -1
  34. package/dist/packages/_es/CountUp.js +1 -1
  35. package/dist/packages/_es/DatePicker.js +1 -1
  36. package/dist/packages/_es/Dialog.js +1 -1
  37. package/dist/packages/_es/Divider.js +1 -1
  38. package/dist/packages/_es/Drag.js +1 -1
  39. package/dist/packages/_es/Ecard.js +1 -1
  40. package/dist/packages/_es/Elevator.js +8 -2
  41. package/dist/packages/_es/Ellipsis.js +3 -3
  42. package/dist/packages/_es/Empty.js +1 -1
  43. package/dist/packages/_es/FixedNav.js +1 -1
  44. package/dist/packages/_es/Form.js +1 -1
  45. package/dist/packages/_es/FormItem.js +1 -1
  46. package/dist/packages/_es/Grid.js +1 -1
  47. package/dist/packages/_es/GridItem.js +1 -1
  48. package/dist/packages/_es/Icon.js +1 -1
  49. package/dist/packages/_es/Image.js +1 -1
  50. package/dist/packages/_es/ImagePreview.js +16 -5
  51. package/dist/packages/_es/Indicator.js +1 -1
  52. package/dist/packages/_es/InfiniteLoading.js +9 -2
  53. package/dist/packages/_es/Input.js +5 -12
  54. package/dist/packages/_es/InputNumber.js +1 -1
  55. package/dist/packages/_es/Invoice.js +1 -1
  56. package/dist/packages/_es/Layout.js +1 -1
  57. package/dist/packages/_es/List.js +1 -1
  58. package/dist/packages/_es/Menu.js +1 -1
  59. package/dist/packages/_es/MenuItem.js +5 -2
  60. package/dist/packages/_es/Navbar.js +1 -1
  61. package/dist/packages/_es/NoticeBar.js +1 -1
  62. package/dist/packages/_es/Notify.js +1 -1
  63. package/dist/packages/_es/NumberKeyboard.js +1 -1
  64. package/dist/packages/_es/OverLay.js +1 -1
  65. package/dist/packages/_es/Pagination.js +1 -1
  66. package/dist/packages/_es/Picker.js +1 -1
  67. package/dist/packages/_es/Popover.js +1 -1
  68. package/dist/packages/_es/Popup.js +6 -47
  69. package/dist/packages/_es/Price.js +1 -1
  70. package/dist/packages/_es/Progress.js +1 -1
  71. package/dist/packages/_es/PullRefresh.js +1 -1
  72. package/dist/packages/_es/Radio.js +1 -1
  73. package/dist/packages/_es/RadioGroup.js +1 -1
  74. package/dist/packages/_es/Range.js +1 -1
  75. package/dist/packages/_es/Rate.js +1 -1
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +1 -1
  78. package/dist/packages/_es/ShortPassword.js +1 -1
  79. package/dist/packages/_es/SideNavBar.js +1 -1
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +1 -1
  82. package/dist/packages/_es/Skeleton.js +19 -24
  83. package/dist/packages/_es/Sku.js +1 -1
  84. package/dist/packages/_es/Step.js +1 -1
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +1 -1
  87. package/dist/packages/_es/SubSideNavBar.js +1 -1
  88. package/dist/packages/_es/Swipe.js +1 -1
  89. package/dist/packages/_es/Swiper.js +1 -1
  90. package/dist/packages/_es/SwiperItem.js +1 -1
  91. package/dist/packages/_es/Switch.js +1 -1
  92. package/dist/packages/_es/TabPane.js +1 -1
  93. package/dist/packages/_es/Tabbar.js +1 -1
  94. package/dist/packages/_es/TabbarItem.js +24 -10
  95. package/dist/packages/_es/Table.js +1 -1
  96. package/dist/packages/_es/Tabs.js +1 -1
  97. package/dist/packages/_es/Tag.js +1 -1
  98. package/dist/packages/_es/TextArea.js +1 -1
  99. package/dist/packages/_es/TimeDetail.js +1 -1
  100. package/dist/packages/_es/TimePannel.js +1 -1
  101. package/dist/packages/_es/TimeSelect.js +1 -1
  102. package/dist/packages/_es/Toast.js +1 -1
  103. package/dist/packages/_es/TrendArrow.js +1 -1
  104. package/dist/packages/_es/Uploader.js +6 -6
  105. package/dist/packages/_es/Video.js +3 -2
  106. package/dist/packages/_es/WaterMark.js +1 -1
  107. package/dist/packages/_es/common.js +1 -1
  108. package/dist/packages/_es/component.js +1 -1
  109. package/dist/packages/_es/index.js +1 -1
  110. package/dist/packages/_es/index2.js +1 -1
  111. package/dist/packages/_es/index3.js +1 -1
  112. package/dist/packages/_es/index4.js +1 -1
  113. package/dist/packages/_es/index5.js +8 -2
  114. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  115. package/dist/packages/_es/pxCheck.js +1 -1
  116. package/dist/packages/_es/raf.js +1 -1
  117. package/dist/packages/address/index.scss +5 -1
  118. package/dist/packages/card/index.scss +1 -0
  119. package/dist/packages/ellipsis/index.scss +4 -0
  120. package/dist/packages/formitem/index.scss +2 -0
  121. package/dist/packages/imagepreview/index.scss +5 -0
  122. package/dist/packages/locale/lang/baseLang.js +1 -1
  123. package/dist/packages/locale/lang/en-US.js +1 -1
  124. package/dist/packages/locale/lang/id-ID.js +1 -1
  125. package/dist/packages/locale/lang/index.js +1 -1
  126. package/dist/packages/locale/lang/zh-CN.js +1 -1
  127. package/dist/packages/locale/lang/zh-TW.js +1 -1
  128. package/dist/packages/menuitem/index.scss +1 -0
  129. package/dist/packages/signature/index.scss +6 -2
  130. package/dist/packages/skeleton/index.scss +21 -19
  131. package/dist/packages/sticky/index.scss +3 -0
  132. package/dist/packages/tabbaritem/index.scss +4 -0
  133. package/dist/packages/timeselect/index.scss +0 -1
  134. package/dist/smartips/attributes.json +32 -56
  135. package/dist/smartips/tags.json +6 -16
  136. package/dist/smartips/web-types.json +48 -109
  137. package/dist/style.css +1 -1
  138. package/dist/styles/font/config.json +4 -0
  139. package/dist/styles/font/demo_index.html +118 -26
  140. package/dist/styles/font/iconfont.css +23 -7
  141. package/dist/styles/font/iconfont.js +6 -6
  142. package/dist/styles/font/iconfont.json +35 -7
  143. package/dist/styles/font/iconfont.ttf +0 -0
  144. package/dist/styles/font/iconfont.woff +0 -0
  145. package/dist/styles/font/iconfont.woff2 +0 -0
  146. package/dist/styles/themes/default.scss +53 -54
  147. package/dist/styles/themes/jdb.scss +53 -54
  148. package/dist/styles/themes/jddkh.scss +53 -54
  149. package/dist/styles/themes/jdt.scss +53 -54
  150. package/dist/styles/variables-jdb.scss +8 -1
  151. package/dist/styles/variables-jddkh.scss +8 -1
  152. package/dist/styles/variables-jdt.scss +8 -1
  153. package/dist/styles/variables.scss +8 -1
  154. package/dist/types/__VUE/address/index.vue.d.ts +2 -2
  155. package/dist/types/__VUE/audio/index.vue.d.ts +4 -4
  156. package/dist/types/__VUE/calendar/index.vue.d.ts +11 -0
  157. package/dist/types/__VUE/calendaritem/index.vue.d.ts +15 -5
  158. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  159. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  160. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  161. package/dist/types/__VUE/elevator/index.vue.d.ts +2 -1
  162. package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
  163. package/dist/types/__VUE/image/index.vue.d.ts +4 -4
  164. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
  165. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
  166. package/dist/types/__VUE/input/index.vue.d.ts +1 -2
  167. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  168. package/dist/types/__VUE/menuitem/index.vue.d.ts +3 -1
  169. package/dist/types/__VUE/navbar/index.vue.d.ts +2 -2
  170. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
  171. package/dist/types/__VUE/picker/Column.vue.d.ts +4 -4
  172. package/dist/types/__VUE/picker/index.vue.d.ts +4 -4
  173. package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
  174. package/dist/types/__VUE/range/index.vue.d.ts +7 -7
  175. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  176. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/skeleton/common.d.ts +2 -3
  178. package/dist/types/__VUE/skeleton/index.vue.d.ts +2 -3
  179. package/dist/types/__VUE/swiper/index.vue.d.ts +1 -1
  180. package/dist/types/__VUE/switch/index.vue.d.ts +1 -1
  181. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
  182. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -0
  183. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
  184. package/dist/types/__VUE/uploader/index.vue.d.ts +13 -4
  185. package/dist/types/__VUE/video/index.vue.d.ts +2 -2
  186. package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
  187. package/dist/types/index.d.ts +1 -1
  188. package/dist/types/nutui.d.ts +1 -2
  189. package/package.json +2 -1
  190. package/dist/packages/_es/OldPicker.js +0 -486
  191. package/dist/packages/oldpicker/index.scss +0 -133
  192. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +0 -96
  193. package/dist/types/__VUE/oldpicker/commonProps.d.ts +0 -22
  194. package/dist/types/__VUE/oldpicker/index.vue.d.ts +0 -369
  195. package/dist/types/__VUE/oldpicker/types.d.ts +0 -24
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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 { u as useRouter } from "./index.js";
8
- import { inject, reactive, getCurrentInstance, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, toDisplayString, createCommentVNode, createVNode, renderSlot } from "vue";
8
+ import { inject, reactive, getCurrentInstance, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
9
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
10
10
  import "../locale/lang";
11
11
  const { create } = createComponent("tabbar-item");
@@ -52,7 +52,10 @@ const _sfc_main = create({
52
52
  },
53
53
  to: [Object, String]
54
54
  },
55
- setup(props, ctx) {
55
+ setup(props, { emit, slots }) {
56
+ const isHaveSlot = (slot) => {
57
+ return slots[slot];
58
+ };
56
59
  const parent = inject("parent");
57
60
  const state = reactive({
58
61
  size: parent.size,
@@ -114,6 +117,7 @@ const _sfc_main = create({
114
117
  return {
115
118
  state,
116
119
  active,
120
+ isHaveSlot,
117
121
  change
118
122
  };
119
123
  }
@@ -131,8 +135,12 @@ const _hoisted_4 = {
131
135
  key: 1,
132
136
  class: "nut-tabbar-item_icon-box_dot"
133
137
  };
134
- const _hoisted_5 = { key: 2 };
135
- const _hoisted_6 = { key: 0 };
138
+ const _hoisted_5 = {
139
+ key: 2,
140
+ class: "nut-tabbar-item_icon-box_icon"
141
+ };
142
+ const _hoisted_6 = { key: 3 };
143
+ const _hoisted_7 = { key: 0 };
136
144
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
137
145
  const _component_nut_icon = resolveComponent("nut-icon");
138
146
  return openBlock(), createElementBlock("div", {
@@ -147,7 +155,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
147
155
  _ctx.num && _ctx.num <= 99 ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (openBlock(), createElementBlock("view", _hoisted_3, toDisplayString("99+"))) : createCommentVNode("", true)
148
156
  ], 64)) : createCommentVNode("", true),
149
157
  _ctx.dot ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true),
150
- _ctx.icon ? (openBlock(), createElementBlock("view", _hoisted_5, [
158
+ _ctx.isHaveSlot("icon") ? (openBlock(), createElementBlock("div", _hoisted_5, [
159
+ renderSlot(_ctx.$slots, "icon", { active: _ctx.active })
160
+ ])) : createCommentVNode("", true),
161
+ _ctx.icon && !_ctx.isHaveSlot("icon") ? (openBlock(), createElementBlock("view", _hoisted_6, [
151
162
  createVNode(_component_nut_icon, {
152
163
  class: "nut-tabbar-item_icon-box_icon",
153
164
  size: _ctx.state.size,
@@ -156,8 +167,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
156
167
  "class-prefix": _ctx.classPrefix
157
168
  }, null, 8, ["size", "name", "font-class-name", "class-prefix"])
158
169
  ])) : createCommentVNode("", true),
159
- !_ctx.icon && _ctx.activeImg ? (openBlock(), createElementBlock("div", {
160
- key: 3,
170
+ !_ctx.icon && _ctx.activeImg && !_ctx.isHaveSlot("icon") ? (openBlock(), createElementBlock("div", {
171
+ key: 4,
161
172
  class: "nut-tabbar-item_icon-box_icon",
162
173
  style: normalizeStyle({
163
174
  backgroundImage: `url(${_ctx.active ? _ctx.activeImg : _ctx.img})`,
@@ -166,9 +177,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
166
177
  })
167
178
  }, null, 4)) : createCommentVNode("", true),
168
179
  createElementVNode("view", {
169
- class: normalizeClass(["nut-tabbar-item_icon-box_nav-word", { "nut-tabbar-item_icon-box_big-word": !_ctx.icon && !_ctx.activeImg }])
180
+ class: normalizeClass([
181
+ "nut-tabbar-item_icon-box_nav-word",
182
+ { "nut-tabbar-item_icon-box_big-word": !_ctx.icon && !_ctx.activeImg && !_ctx.isHaveSlot("icon") }
183
+ ])
170
184
  }, [
171
- _ctx.tabTitle ? (openBlock(), createElementBlock("view", _hoisted_6, toDisplayString(_ctx.tabTitle), 1)) : createCommentVNode("", true),
185
+ _ctx.tabTitle ? (openBlock(), createElementBlock("view", _hoisted_7, toDisplayString(_ctx.tabTitle), 1)) : createCommentVNode("", true),
172
186
  !_ctx.tabTitle ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("", true)
173
187
  ], 2)
174
188
  ])
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { reactive, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createCommentVNode, renderList, createElementVNode, toDisplayString, createVNode, createBlock, createTextVNode, mergeProps } from "vue";
6
+ import { reactive, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, createCommentVNode, renderList, createElementVNode, toDisplayString, createVNode, createBlock, mergeProps, createTextVNode } from "vue";
7
7
  import { c as createComponent, i as isPromise } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
@@ -138,6 +138,7 @@ const _sfc_main = create({
138
138
  multiple: { type: Boolean, default: false },
139
139
  disabled: { type: Boolean, default: false },
140
140
  autoUpload: { type: Boolean, default: true },
141
+ deleteIcon: { type: String, default: "failure" },
141
142
  beforeUpload: {
142
143
  type: Function,
143
144
  default: null
@@ -435,12 +436,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
435
436
  }, null, 8, ["name"]),
436
437
  createElementVNode("view", _hoisted_8, toDisplayString(item.message), 1)
437
438
  ])) : createCommentVNode("", true),
438
- _ctx.isDeletable ? (openBlock(), createBlock(_component_nut_icon, {
439
- key: 2,
439
+ _ctx.isDeletable ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 2 }, _ctx.$attrs, {
440
440
  onClick: ($event) => _ctx.onDelete(item, index2),
441
441
  class: "close",
442
- name: "failure"
443
- }, null, 8, ["onClick"])) : createCommentVNode("", true),
442
+ name: _ctx.deleteIcon
443
+ }), null, 16, ["onClick", "name"])) : createCommentVNode("", true),
444
444
  item.type.includes("image") && item.url ? (openBlock(), createElementBlock("img", {
445
445
  key: 3,
446
446
  class: "nut-uploader__preview-img__c",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -100,7 +100,8 @@ const _sfc_main = create({
100
100
  state.videoElm.load();
101
101
  });
102
102
  }
103
- }
103
+ },
104
+ { immediate: true, deep: true }
104
105
  );
105
106
  watch(
106
107
  () => props.options,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -147,11 +147,16 @@ const _sfc_main = create({
147
147
  endDate: {
148
148
  type: String,
149
149
  default: Utils.getDay(365)
150
+ },
151
+ firstDayOfWeek: {
152
+ type: Number,
153
+ default: 0
150
154
  }
151
155
  },
152
156
  emits: ["choose", "update", "close", "select"],
153
157
  setup(props, { emit, slots }) {
154
- const weeks = ref(translate("weekdays"));
158
+ const weekdays = translate("weekdays");
159
+ const weeks = ref([...weekdays.slice(props.firstDayOfWeek, 7), ...weekdays.slice(0, props.firstDayOfWeek)]);
155
160
  const months = ref(null);
156
161
  const monthsPanel = ref(null);
157
162
  const weeksPanel = ref(null);
@@ -340,6 +345,7 @@ const _sfc_main = create({
340
345
  });
341
346
  };
342
347
  const getPreDaysStatus = (days, type, dateInfo, preCurrMonthDays) => {
348
+ days = days - props.firstDayOfWeek;
343
349
  let { year, month } = dateInfo;
344
350
  if (type == "prev" && days >= 7) {
345
351
  days -= 7;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -140,7 +140,7 @@
140
140
  .region-item {
141
141
  display: flex;
142
142
  align-items: center;
143
- margin-bottom: 20px;
143
+
144
144
  font-size: $address-region-item-font-size;
145
145
  color: $address-region-item-color;
146
146
  &.active {
@@ -151,6 +151,10 @@
151
151
  margin-right: 6px;
152
152
  color: $address-icon-color !important;
153
153
  }
154
+
155
+ > div {
156
+ margin: 10px 0;
157
+ }
154
158
  }
155
159
  }
156
160
  }
@@ -12,6 +12,7 @@
12
12
 
13
13
  .nut-card__left {
14
14
  width: 120px;
15
+ height: 120px;
15
16
  flex-shrink: 0;
16
17
  background-color: $card-left-background-color;
17
18
  border-radius: $card-left-border-radius;
@@ -5,6 +5,10 @@
5
5
  color: $ellipsis-expand-collapse-color;
6
6
  display: inline;
7
7
  }
8
+
9
+ .nut-ellipsis-wordbreak {
10
+ word-break: break-all;
11
+ }
8
12
  }
9
13
 
10
14
  .nut-ellipsis-copy {
@@ -63,6 +63,8 @@
63
63
  border: 0;
64
64
  text-decoration: none;
65
65
  background: transparent;
66
+ padding: 0;
67
+ margin: 0;
66
68
  }
67
69
  .nut-range-container {
68
70
  min-height: 24px;
@@ -13,6 +13,11 @@
13
13
  object-fit: contain;
14
14
  }
15
15
 
16
+ &-taro-img {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+
16
21
  &-index {
17
22
  position: fixed;
18
23
  z-index: 2002;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:53 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:53 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:53 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:53 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:53 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:53 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -53,6 +53,7 @@
53
53
 
54
54
  .nut-menu__overlay {
55
55
  position: absolute !important;
56
+ top: auto;
56
57
  }
57
58
 
58
59
  .placeholder-element {
@@ -1,6 +1,6 @@
1
1
  .nut-signature {
2
2
  .nut-signature-inner {
3
- // height: 10rem;
3
+ height: 10rem;
4
4
  margin-bottom: 1rem;
5
5
  border: 1px solid #dadada;
6
6
  display: flex;
@@ -8,7 +8,11 @@
8
8
  align-items: center;
9
9
  }
10
10
  .spcanvas_WEAPP {
11
- height: 10rem;
11
+ width: 100%;
12
+ height: 100%;
13
+ #spcanvas {
14
+ width: 100%;
15
+ }
12
16
  }
13
17
 
14
18
  .nut-signature-btn {
@@ -7,30 +7,32 @@
7
7
  display: flex;
8
8
  .avatarClass {
9
9
  margin-right: 20px;
10
- background: rgb(239, 239, 239);
11
- }
12
-
13
- .blockClass,
14
- .blockClass--round {
15
- width: 100%;
16
- height: 100%;
17
- background: rgb(239, 239, 239);
18
- margin-top: 10px;
19
- &:last-child {
20
- width: 70% !important;
21
- }
22
- }
23
- .blockClass--round {
24
- border-radius: 10px;
10
+ background-color: $skeleton-content-avatar-background-color;
25
11
  }
26
12
 
27
13
  .content-line {
28
14
  display: flex;
29
15
  flex-direction: column;
30
- .title {
16
+ .blockTitle,
17
+ .blockLine {
18
+ width: 100%;
19
+ margin-bottom: 10px;
20
+ background-color: $skeleton-content-line-background-color;
21
+ }
22
+ .blockTitle {
31
23
  width: 30%;
32
- height: 15px;
33
- background: $skeleton-content-line-title-background-color;
24
+ }
25
+ .blockLine ~ .blockLine:last-of-type {
26
+ width: 70%;
27
+ }
28
+ .blockTitle:last-of-type,
29
+ .blockLine:last-of-type {
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ .blockTitle--round,
34
+ .blockLine--round {
35
+ border-radius: 10px;
34
36
  }
35
37
  }
36
38
  }
@@ -42,7 +44,7 @@
42
44
  width: 100%;
43
45
  height: 100%;
44
46
  z-index: 1;
45
- background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0.5) 50%, hsla(0, 0%, 100%, 0) 80%);
47
+ background: $skeleton-animation-background-color;
46
48
  background-repeat: no-repeat;
47
49
  animation: backpos 2s ease-in-out 0s infinite;
48
50
  }
@@ -1,4 +1,7 @@
1
1
  .nut-sticky {
2
+ &--stickyed {
3
+ position: sticky;
4
+ }
2
5
  &--fixed {
3
6
  position: fixed;
4
7
  }
@@ -72,6 +72,10 @@
72
72
  display: block;
73
73
  background-size: 100% 100%;
74
74
  background-position: center center;
75
+ img {
76
+ width: 20px;
77
+ height: 20px;
78
+ }
75
79
  }
76
80
  &_nav-word {
77
81
  font-size: $tabbar-item-text-font-size;
@@ -31,7 +31,6 @@
31
31
  color: $timeselect-title-color;
32
32
  text-align: center;
33
33
  &__fixed {
34
- position: fixed;
35
34
  width: 100%;
36
35
  height: 50px;
37
36
  }