@nutui/nutui 3.2.2-beta.1 → 3.2.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.
Files changed (183) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +5 -3
  3. package/dist/nutui.es.js +1767 -1993
  4. package/dist/nutui.umd.js +1777 -2002
  5. package/dist/packages/_es/ActionSheet.js +22 -4
  6. package/dist/packages/_es/Address.js +57 -63
  7. package/dist/packages/_es/AddressList.js +3 -7
  8. package/dist/packages/_es/Animate.js +21 -2
  9. package/dist/packages/_es/Audio.js +25 -11
  10. package/dist/packages/_es/AudioOperate.js +21 -2
  11. package/dist/packages/_es/Avatar.js +20 -5
  12. package/dist/packages/_es/AvatarGroup.js +1 -1
  13. package/dist/packages/_es/BackTop.js +2 -2
  14. package/dist/packages/_es/Badge.js +1 -1
  15. package/dist/packages/_es/Barrage.js +4 -7
  16. package/dist/packages/_es/Button.js +1 -1
  17. package/dist/packages/_es/Calendar.js +1 -1
  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 +65 -51
  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 +17 -31
  26. package/dist/packages/_es/CheckboxGroup.js +7 -14
  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 +19 -22
  30. package/dist/packages/_es/CollapseItem.js +32 -18
  31. package/dist/packages/_es/Comment.js +9 -13
  32. package/dist/packages/_es/ConfigProvider.js +4 -8
  33. package/dist/packages/_es/CountDown.js +46 -40
  34. package/dist/packages/_es/CountUp.js +40 -39
  35. package/dist/packages/_es/DatePicker.js +40 -27
  36. package/dist/packages/_es/Dialog.js +28 -13
  37. package/dist/packages/_es/Divider.js +24 -7
  38. package/dist/packages/_es/Drag.js +4 -4
  39. package/dist/packages/_es/Ecard.js +4 -7
  40. package/dist/packages/_es/Elevator.js +38 -25
  41. package/dist/packages/_es/Ellipsis.js +28 -14
  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 +5 -9
  45. package/dist/packages/_es/FormItem.js +5 -4
  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 +11 -15
  49. package/dist/packages/_es/Image.js +24 -8
  50. package/dist/packages/_es/ImagePreview.js +34 -22
  51. package/dist/packages/_es/Indicator.js +1 -1
  52. package/dist/packages/_es/InfiniteLoading.js +24 -5
  53. package/dist/packages/_es/Input.js +9 -13
  54. package/dist/packages/_es/InputNumber.js +1 -1
  55. package/dist/packages/_es/Invoice.js +156 -0
  56. package/dist/packages/_es/Layout.js +1 -1
  57. package/dist/packages/_es/List.js +25 -10
  58. package/dist/packages/_es/Menu.js +7 -13
  59. package/dist/packages/_es/MenuItem.js +22 -3
  60. package/dist/packages/_es/Navbar.js +2 -2
  61. package/dist/packages/_es/NoticeBar.js +28 -17
  62. package/dist/packages/_es/Notify.js +38 -20
  63. package/dist/packages/_es/NumberKeyboard.js +5 -12
  64. package/dist/packages/_es/OldPicker.js +46 -47
  65. package/dist/packages/_es/OverLay.js +23 -11
  66. package/dist/packages/_es/Pagination.js +1 -1
  67. package/dist/packages/_es/Picker.js +72 -64
  68. package/dist/packages/_es/Popover.js +52 -55
  69. package/dist/packages/_es/Popup.js +40 -35
  70. package/dist/packages/_es/Price.js +1 -1
  71. package/dist/packages/_es/Progress.js +1 -1
  72. package/dist/packages/_es/PullRefresh.js +20 -5
  73. package/dist/packages/_es/Radio.js +15 -27
  74. package/dist/packages/_es/RadioGroup.js +5 -12
  75. package/dist/packages/_es/Range.js +33 -20
  76. package/dist/packages/_es/Rate.js +24 -5
  77. package/dist/packages/_es/Row.js +1 -1
  78. package/dist/packages/_es/SearchBar.js +44 -11
  79. package/dist/packages/_es/ShortPassword.js +11 -18
  80. package/dist/packages/_es/SideNavBar.js +22 -4
  81. package/dist/packages/_es/SideNavBarItem.js +1 -1
  82. package/dist/packages/_es/Signature.js +21 -2
  83. package/dist/packages/_es/Skeleton.js +1 -1
  84. package/dist/packages/_es/Sku.js +32 -24
  85. package/dist/packages/_es/Step.js +22 -4
  86. package/dist/packages/_es/Steps.js +4 -8
  87. package/dist/packages/_es/Sticky.js +12 -23
  88. package/dist/packages/_es/SubSideNavBar.js +22 -4
  89. package/dist/packages/_es/Swipe.js +24 -5
  90. package/dist/packages/_es/Swiper.js +14 -23
  91. package/dist/packages/_es/SwiperItem.js +1 -1
  92. package/dist/packages/_es/Switch.js +7 -10
  93. package/dist/packages/_es/TabPane.js +1 -1
  94. package/dist/packages/_es/Tabbar.js +4 -7
  95. package/dist/packages/_es/TabbarItem.js +1 -1
  96. package/dist/packages/_es/Table.js +25 -10
  97. package/dist/packages/_es/Tabs.js +41 -25
  98. package/dist/packages/_es/Tag.js +1 -1
  99. package/dist/packages/_es/TextArea.js +5 -8
  100. package/dist/packages/_es/TimeDetail.js +24 -5
  101. package/dist/packages/_es/TimePannel.js +22 -4
  102. package/dist/packages/_es/TimeSelect.js +1 -1
  103. package/dist/packages/_es/Toast.js +47 -28
  104. package/dist/packages/_es/Uploader.js +27 -18
  105. package/dist/packages/_es/Video.js +33 -22
  106. package/dist/packages/_es/WaterMark.js +41 -31
  107. package/dist/packages/_es/common.js +11 -21
  108. package/dist/packages/_es/component.js +5 -5
  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 +31 -23
  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 +17 -0
  118. package/dist/packages/invoice/index.scss +33 -0
  119. package/dist/packages/locale/lang/baseLang.js +1 -1
  120. package/dist/packages/locale/lang/en-US.js +1 -1
  121. package/dist/packages/locale/lang/id-ID.js +1 -1
  122. package/dist/packages/locale/lang/index.js +1 -1
  123. package/dist/packages/locale/lang/zh-CN.js +1 -1
  124. package/dist/packages/locale/lang/zh-TW.js +1 -1
  125. package/dist/packages/menuitem/index.scss +3 -1
  126. package/dist/packages/navbar/index.scss +6 -8
  127. package/dist/packages/picker/index.scss +8 -0
  128. package/dist/packages/price/index.scss +1 -1
  129. package/dist/packages/searchbar/index.scss +2 -0
  130. package/dist/packages/textarea/index.scss +4 -1
  131. package/dist/packages/toast/index.scss +3 -0
  132. package/dist/smartips/attributes.json +36 -12
  133. package/dist/smartips/tags.json +20 -10
  134. package/dist/smartips/web-types.json +74 -13
  135. package/dist/style.css +1 -1
  136. package/dist/style.es.js +1 -1
  137. package/dist/styles/themes/default.scss +51 -50
  138. package/dist/styles/themes/jdb.scss +51 -50
  139. package/dist/styles/themes/jdt.scss +51 -50
  140. package/dist/styles/variables-jdb.scss +4 -1
  141. package/dist/styles/variables-jdt.scss +4 -1
  142. package/dist/styles/variables.scss +4 -1
  143. package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
  144. package/dist/types/__VUE/address/index.vue.d.ts +3 -3
  145. package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
  146. package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
  147. package/dist/types/__VUE/backtop/index.vue.d.ts +5 -8
  148. package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
  149. package/dist/types/__VUE/button/index.vue.d.ts +2 -2
  150. package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
  151. package/dist/types/__VUE/cascader/index.vue.d.ts +3 -3
  152. package/dist/types/__VUE/cell/index.vue.d.ts +8 -8
  153. package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
  154. package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
  155. package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -2
  156. package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
  157. package/dist/types/__VUE/fixednav/index.vue.d.ts +2 -2
  158. package/dist/types/__VUE/formitem/index.vue.d.ts +1 -0
  159. package/dist/types/__VUE/grid/index.vue.d.ts +4 -4
  160. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  161. package/dist/types/__VUE/input/index.vue.d.ts +6 -7
  162. package/dist/types/__VUE/invoice/index.vue.d.ts +48 -0
  163. package/dist/types/__VUE/menu/index.vue.d.ts +2 -2
  164. package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
  165. package/dist/types/__VUE/notify/index.d.ts +15 -5
  166. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +2 -2
  167. package/dist/types/__VUE/oldpicker/index.vue.d.ts +3 -3
  168. package/dist/types/__VUE/picker/index.vue.d.ts +5 -3
  169. package/dist/types/__VUE/popover/index.vue.d.ts +6 -6
  170. package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
  171. package/dist/types/__VUE/radio/index.vue.d.ts +3 -3
  172. package/dist/types/__VUE/searchbar/index.vue.d.ts +18 -3
  173. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
  174. package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
  175. package/dist/types/__VUE/step/index.vue.d.ts +2 -2
  176. package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
  177. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
  178. package/dist/types/__VUE/toast/index.vue.d.ts +5 -2
  179. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
  180. package/dist/types/__VUE/video/index.vue.d.ts +1 -1
  181. package/dist/types/index.d.ts +1 -1
  182. package/dist/types/nutui.d.ts +2 -1
  183. package/package.json +1 -1
@@ -1,5 +1,24 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __spreadValues = (a, b) => {
9
+ for (var prop in b || (b = {}))
10
+ if (__hasOwnProp.call(b, prop))
11
+ __defNormalProp(a, prop, b[prop]);
12
+ if (__getOwnPropSymbols)
13
+ for (var prop of __getOwnPropSymbols(b)) {
14
+ if (__propIsEnum.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ }
17
+ return a;
18
+ };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
1
20
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
3
22
  * (c) 2022 @jdf2e.
4
23
  * Released under the MIT License.
5
24
  */
@@ -120,13 +139,7 @@ const _sfc_main = create({
120
139
  img.referrerPolicy = "no-referrer";
121
140
  img.src = image;
122
141
  img.onload = () => {
123
- ctx.drawImage(
124
- img,
125
- -imageWidth * ratio / 2,
126
- -imageHeight * ratio / 2,
127
- imageWidth * ratio,
128
- imageHeight * ratio
129
- );
142
+ ctx.drawImage(img, -imageWidth * ratio / 2, -imageHeight * ratio / 2, imageWidth * ratio, imageHeight * ratio);
130
143
  ctx.restore();
131
144
  state.base64Url = canvas.toDataURL();
132
145
  };
@@ -147,28 +160,25 @@ const _sfc_main = create({
147
160
  }
148
161
  };
149
162
  init();
150
- watch(
151
- () => [
152
- zIndex,
153
- gapX,
154
- gapY,
155
- width,
156
- height,
157
- rotate,
158
- image,
159
- imageWidth,
160
- imageHeight,
161
- content,
162
- fontStyle,
163
- fontWeight,
164
- fontColor,
165
- fontSize,
166
- fontFamily
167
- ],
168
- () => {
169
- init();
170
- }
171
- );
163
+ watch(() => [
164
+ zIndex,
165
+ gapX,
166
+ gapY,
167
+ width,
168
+ height,
169
+ rotate,
170
+ image,
171
+ imageWidth,
172
+ imageHeight,
173
+ content,
174
+ fontStyle,
175
+ fontWeight,
176
+ fontColor,
177
+ fontSize,
178
+ fontFamily
179
+ ], () => {
180
+ init();
181
+ });
172
182
  const classes = computed(() => {
173
183
  const prefixCls = componentName;
174
184
  return {
@@ -176,7 +186,7 @@ const _sfc_main = create({
176
186
  [`${prefixCls}-full-page`]: props.fullPage
177
187
  };
178
188
  });
179
- return { ...toRefs(state), classes };
189
+ return __spreadProps(__spreadValues({}, toRefs(state)), { classes });
180
190
  }
181
191
  });
182
192
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { shallowReactive, getCurrentInstance, provide, markRaw, isVNode, computed, h } from "vue";
6
+ import { provide, shallowReactive, getCurrentInstance, markRaw, isVNode, computed, h } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { p as pxCheck } from "./pxCheck.js";
9
9
  function flattenVNodes(children, childName) {
@@ -54,17 +54,11 @@ function useProvide(key, childName) {
54
54
  };
55
55
  const extend = Object.assign;
56
56
  return (value) => {
57
- provide(
58
- key,
59
- extend(
60
- {
61
- add,
62
- remove,
63
- internalChildren
64
- },
65
- value
66
- )
67
- );
57
+ provide(key, extend({
58
+ add,
59
+ remove,
60
+ internalChildren
61
+ }, value));
68
62
  return {
69
63
  internalChildren
70
64
  };
@@ -132,14 +126,10 @@ const component = {
132
126
  });
133
127
  return () => {
134
128
  var _a;
135
- return h(
136
- "view",
137
- {
138
- class: rootClass.value,
139
- style: rootStyle.value
140
- },
141
- (_a = slots.default) == null ? void 0 : _a.call(slots)
142
- );
129
+ return h("view", {
130
+ class: rootClass.value,
131
+ style: rootStyle.value
132
+ }, (_a = slots.default) == null ? void 0 : _a.call(slots));
143
133
  };
144
134
  }
145
135
  };
@@ -1,16 +1,16 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { defineComponent } from "vue";
7
7
  import locale from "../locale/lang";
8
8
  const TypeOfFun = (value) => {
9
- if (null === value) {
9
+ if (value === null) {
10
10
  return "null";
11
11
  }
12
12
  const type = typeof value;
13
- if ("undefined" === type || "string" === type) {
13
+ if (type === "undefined" || type === "string") {
14
14
  return type;
15
15
  }
16
16
  const typeString = toString.call(value);
@@ -28,8 +28,8 @@ const TypeOfFun = (value) => {
28
28
  case "[object RegExp]":
29
29
  return "regexp";
30
30
  case "[object Object]":
31
- if (void 0 !== value.nodeType) {
32
- if (3 == value.nodeType) {
31
+ if (value.nodeType !== void 0) {
32
+ if (value.nodeType == 3) {
33
33
  return /\S/.test(value.nodeValue) ? "textnode" : "whitespace";
34
34
  } else {
35
35
  return "element";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 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.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 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.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 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.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,24 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __spreadValues = (a, b) => {
9
+ for (var prop in b || (b = {}))
10
+ if (__hasOwnProp.call(b, prop))
11
+ __defNormalProp(a, prop, b[prop]);
12
+ if (__getOwnPropSymbols)
13
+ for (var prop of __getOwnPropSymbols(b)) {
14
+ if (__propIsEnum.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ }
17
+ return a;
18
+ };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
1
20
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
3
22
  * (c) 2022 @jdf2e.
4
23
  * Released under the MIT License.
5
24
  */
@@ -302,7 +321,6 @@ const _sfc_main = create({
302
321
  state.chooseData = [...days];
303
322
  }
304
323
  if (!isFirst) {
305
- console.log(state.chooseData);
306
324
  emit("select", state.chooseData);
307
325
  if (props.isAutoBackFill || !props.poppable) {
308
326
  confirm();
@@ -384,17 +402,11 @@ const _sfc_main = create({
384
402
  }
385
403
  monthInfo.cssScrollHeight = cssScrollHeight;
386
404
  if (type == "next") {
387
- if (!state.endData || !Utils.compareDate(
388
- `${state.endData[0]}-${state.endData[1]}-${Utils.getMonthDays(state.endData[0], state.endData[1])}`,
389
- `${curData[0]}-${curData[1]}-${curData[2]}`
390
- )) {
405
+ if (!state.endData || !Utils.compareDate(`${state.endData[0]}-${state.endData[1]}-${Utils.getMonthDays(state.endData[0], state.endData[1])}`, `${curData[0]}-${curData[1]}-${curData[2]}`)) {
391
406
  state.monthsData.push(monthInfo);
392
407
  }
393
408
  } else {
394
- if (!state.startData || !Utils.compareDate(
395
- `${curData[0]}-${curData[1]}-${curData[2]}`,
396
- `${state.startData[0]}-${state.startData[1]}-01`
397
- )) {
409
+ if (!state.startData || !Utils.compareDate(`${curData[0]}-${curData[1]}-${curData[2]}`, `${state.startData[0]}-${state.startData[1]}-01`)) {
398
410
  state.monthsData.unshift(monthInfo);
399
411
  } else {
400
412
  state.unLoadPrev = true;
@@ -627,17 +639,14 @@ const _sfc_main = create({
627
639
  initData();
628
640
  };
629
641
  initData();
630
- watch(
631
- () => props.defaultValue,
632
- (val) => {
633
- if (val) {
634
- if (props.poppable) {
635
- resetRender();
636
- }
642
+ watch(() => props.defaultValue, (val) => {
643
+ if (val) {
644
+ if (props.poppable) {
645
+ resetRender();
637
646
  }
638
647
  }
639
- );
640
- return {
648
+ });
649
+ return __spreadProps(__spreadValues(__spreadValues({
641
650
  weeks,
642
651
  compConthsData,
643
652
  showTopBtn,
@@ -654,11 +663,10 @@ const _sfc_main = create({
654
663
  monthsPanel,
655
664
  months,
656
665
  weeksPanel,
657
- viewArea,
658
- ...toRefs(state),
659
- ...toRefs(props),
666
+ viewArea
667
+ }, toRefs(state)), toRefs(props)), {
660
668
  translate
661
- };
669
+ });
662
670
  }
663
671
  });
664
672
  const _hoisted_1 = {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 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.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 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.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -72,6 +72,7 @@
72
72
  color: #1d1e1e;
73
73
 
74
74
  .tab-item {
75
+ position: relative;
75
76
  min-width: 2px;
76
77
  margin-right: 30px;
77
78
  display: block;
@@ -94,6 +95,22 @@
94
95
  overflow: hidden;
95
96
  text-overflow: ellipsis;
96
97
  }
98
+
99
+ .region-tab-line-mini {
100
+ position: absolute;
101
+ bottom: -10px;
102
+ left: 0px;
103
+ display: inline-block;
104
+ margin-top: 5px;
105
+ width: 0;
106
+ height: 3px;
107
+ background: $address-region-tab-line;
108
+ transition: 0.2s all linear;
109
+
110
+ &.active {
111
+ width: 26px;
112
+ }
113
+ }
97
114
  }
98
115
 
99
116
  .region-tab-line {
@@ -0,0 +1,33 @@
1
+ .nut-theme-dark {
2
+ .nut-invoice {
3
+ .nut-invoice__submit {
4
+ background: $dark-background2;
5
+ }
6
+ }
7
+ }
8
+
9
+ .nut-invoice {
10
+ width: 100%;
11
+ position: relative;
12
+ .nut-cell {
13
+ align-items: baseline;
14
+ }
15
+ &__submit {
16
+ position: fixed;
17
+ bottom: 0;
18
+ width: 100%;
19
+ padding: $invoice-padding;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ background: #fff;
24
+ box-sizing: border-box;
25
+ bottom: constant(safe-area-inset-bottom);
26
+ bottom: env(safe-area-inset-bottom);
27
+ }
28
+ .nut-radio {
29
+ display: inline-block;
30
+ margin-right: 6px;
31
+ margin-bottom: 0;
32
+ }
33
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:20:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:47 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.2-beta.1 Mon Aug 22 2022 15:20:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:47 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.2-beta.1 Mon Aug 22 2022 15:20:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:47 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.2-beta.1 Mon Aug 22 2022 15:20:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:47 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.2-beta.1 Mon Aug 22 2022 15:20:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:47 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.2-beta.1 Mon Aug 22 2022 15:20:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:47 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -16,9 +16,11 @@
16
16
  .nut-menu-item__content {
17
17
  padding: $menu-item-content-padding;
18
18
  max-height: $menu-item-content-max-height;
19
- overflow-y: auto;
20
19
  display: flex;
21
20
  flex-wrap: wrap;
21
+ &.nut-menu-item__overflow {
22
+ overflow-y: auto;
23
+ }
22
24
 
23
25
  .nut-menu-item__option {
24
26
  color: $title-color;
@@ -40,6 +40,12 @@
40
40
  padding-top: constant(safe-area-inset-top);
41
41
  padding-top: env(safe-area-inset-top);
42
42
  }
43
+ &--fixed {
44
+ &.nut-navbar--safe-area-inset-top {
45
+ height: calc($navbar-height + constant(safe-area-inset-top));
46
+ height: calc($navbar-height + env(safe-area-inset-top));
47
+ }
48
+ }
43
49
  &--clickable {
44
50
  &::before {
45
51
  position: absolute;
@@ -110,10 +116,6 @@
110
116
  &__left {
111
117
  font-size: $cell-desc-font;
112
118
  color: $cell-desc-color;
113
- position: absolute;
114
- left: 0;
115
- top: 0;
116
- bottom: 0;
117
119
  display: flex;
118
120
  align-items: center;
119
121
  cursor: pointer;
@@ -122,10 +124,6 @@
122
124
  &__right {
123
125
  font-size: $cell-desc-font;
124
126
  color: $cell-desc-color;
125
- position: absolute;
126
- right: 0;
127
- top: 0;
128
- bottom: 0;
129
127
  display: flex;
130
128
  align-items: center;
131
129
  padding: 0 16px;
@@ -46,6 +46,7 @@
46
46
  align-items: center;
47
47
  justify-content: center;
48
48
  min-width: 50px;
49
+ height: 100%;
49
50
  }
50
51
  &__left {
51
52
  color: $picker-cancel-color;
@@ -126,6 +127,9 @@
126
127
  line-height: $picker-item-height;
127
128
  color: $picker-item-text-color;
128
129
  font-size: $picker-item-text-font-size;
130
+ overflow: hidden;
131
+ text-overflow: ellipsis;
132
+ white-space: nowrap;
129
133
 
130
134
  &-hidden {
131
135
  visibility: hidden;
@@ -140,6 +144,10 @@
140
144
  line-height: $picker-item-height;
141
145
  color: $picker-item-text-color;
142
146
  font-size: $picker-item-text-font-size;
147
+
148
+ overflow: hidden;
149
+ text-overflow: ellipsis;
150
+ white-space: nowrap;
143
151
  }
144
152
  }
145
153
 
@@ -1,5 +1,5 @@
1
1
  .nut-price {
2
- font-size: $font-size-3;
2
+ font-size: 0;
3
3
  display: inline;
4
4
  color: $primary-color;
5
5
  &--symbol {
@@ -26,6 +26,7 @@
26
26
  padding: $searchbar-padding;
27
27
  background: $searchbar-background;
28
28
  box-sizing: border-box;
29
+
29
30
  &__search-label {
30
31
  padding: 0 5px;
31
32
  color: #323233;
@@ -40,6 +41,7 @@
40
41
  border-radius: $searchbar-input-border-radius;
41
42
  box-shadow: $searchbar-input-box-shadow;
42
43
  background: $searchbar-input-background;
44
+ box-sizing: border-box;
43
45
 
44
46
  .nut-searchbar__input-inner {
45
47
  display: flex;
@@ -42,10 +42,13 @@
42
42
  color: $textarea-text-color;
43
43
  text-align: left;
44
44
  background-color: transparent;
45
- border: 0;
45
+ border: none;
46
46
  resize: none;
47
47
  line-height: 20px;
48
48
  }
49
+ &__ali {
50
+ line-height: 17px;
51
+ }
49
52
  .cpoyText {
50
53
  position: absolute;
51
54
  top: -999999px;
@@ -81,6 +81,9 @@
81
81
  .nut-toast-icon-wrapper {
82
82
  animation: rotation 2s linear infinite;
83
83
  }
84
+ .nut-toast-icon-no-animation {
85
+ animation: none;
86
+ }
84
87
  }
85
88
  }
86
89