@nutui/nutui 4.1.0-beta.1 → 4.1.0-beta.3

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 (227) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +10 -42
  3. package/dist/nutui.es.js +1 -1
  4. package/dist/nutui.js +16177 -0
  5. package/dist/nutui.umd.js +1 -7
  6. package/dist/packages/_es/ActionSheet.js +22 -4
  7. package/dist/packages/_es/Address.js +41 -32
  8. package/dist/packages/_es/AddressList.js +5 -5
  9. package/dist/packages/_es/Animate.js +20 -1
  10. package/dist/packages/_es/Audio.js +21 -4
  11. package/dist/packages/_es/AudioOperate.js +20 -1
  12. package/dist/packages/_es/Avatar.js +19 -4
  13. package/dist/packages/_es/Calendar.js +2 -2
  14. package/dist/packages/_es/CalendarItem.js +1 -1
  15. package/dist/packages/_es/Cascader.js +123 -76
  16. package/dist/packages/_es/CellGroup.js +11 -23
  17. package/dist/packages/_es/Checkbox.js +4 -4
  18. package/dist/packages/_es/CheckboxGroup.js +15 -30
  19. package/dist/packages/_es/Collapse.js +33 -35
  20. package/dist/packages/_es/CollapseItem.js +52 -115
  21. package/dist/packages/_es/Countdown.js +22 -4
  22. package/dist/packages/_es/Countup.js +21 -4
  23. package/dist/packages/_es/DatePicker.js +21 -3
  24. package/dist/packages/_es/Dialog.js +31 -8
  25. package/dist/packages/_es/Divider.js +8 -18
  26. package/dist/packages/_es/Elevator.js +23 -4
  27. package/dist/packages/_es/Ellipsis.js +20 -1
  28. package/dist/packages/_es/Form.js +54 -24
  29. package/dist/packages/_es/Image.js +57 -7
  30. package/dist/packages/_es/ImagePreview.js +44 -19
  31. package/dist/packages/_es/InfiniteLoading.js +23 -4
  32. package/dist/packages/_es/Input.js +23 -5
  33. package/dist/packages/_es/Invoice.js +22 -4
  34. package/dist/packages/_es/List.js +21 -3
  35. package/dist/packages/_es/Menu.js +1 -2
  36. package/dist/packages/_es/MenuItem.js +44 -35
  37. package/dist/packages/_es/Noticebar.js +21 -4
  38. package/dist/packages/_es/Notify.js +28 -9
  39. package/dist/packages/_es/NumberKeyboard.js +1 -1
  40. package/dist/packages/_es/Overlay.js +19 -4
  41. package/dist/packages/_es/Picker.js +32 -19
  42. package/dist/packages/_es/Popover.js +1 -1
  43. package/dist/packages/_es/Popup.js +1 -1
  44. package/dist/packages/_es/PullRefresh.js +23 -4
  45. package/dist/packages/_es/Radio.js +1 -1
  46. package/dist/packages/_es/Range.js +23 -4
  47. package/dist/packages/_es/Rate.js +23 -4
  48. package/dist/packages/_es/Row.js +12 -12
  49. package/dist/packages/_es/Searchbar.js +33 -12
  50. package/dist/packages/_es/ShortPassword.js +1 -1
  51. package/dist/packages/_es/SideNavbar.js +21 -3
  52. package/dist/packages/_es/Signature.js +20 -1
  53. package/dist/packages/_es/Sku.js +22 -4
  54. package/dist/packages/_es/Step.js +21 -3
  55. package/dist/packages/_es/SubSideNavbar.js +21 -3
  56. package/dist/packages/_es/Swipe.js +23 -4
  57. package/dist/packages/_es/TabPane.js +21 -3
  58. package/dist/packages/_es/TabbarItem.js +8 -7
  59. package/dist/packages/_es/Table.js +21 -3
  60. package/dist/packages/_es/Tabs.js +48 -14
  61. package/dist/packages/_es/TimeDetail.js +23 -4
  62. package/dist/packages/_es/TimePannel.js +21 -3
  63. package/dist/packages/_es/TimeSelect.js +1 -1
  64. package/dist/packages/_es/Toast.js +30 -11
  65. package/dist/packages/_es/Tour.js +22 -4
  66. package/dist/packages/_es/TrendArrow.js +20 -1
  67. package/dist/packages/_es/Video.js +23 -5
  68. package/dist/packages/_es/Watermark.js +20 -1
  69. package/dist/packages/_es/{index-f933fcf6.js → index-87422be8.js} +23 -5
  70. package/dist/packages/_es/{index-c55ad69e.js → index-da0a7662.js} +25 -10
  71. package/dist/packages/_es/{index.vue_vue_type_script_lang-442e4704.js → index.vue_vue_type_script_lang-a8856969.js} +0 -1
  72. package/dist/packages/cell/index.scss +1 -1
  73. package/dist/packages/cellgroup/index.scss +1 -0
  74. package/dist/packages/circleprogress/index.scss +1 -1
  75. package/dist/packages/col/index.scss +2 -2
  76. package/dist/packages/imagepreview/index.scss +0 -5
  77. package/dist/packages/locale/lang/baseLang-3a8457ac.js +5 -0
  78. package/dist/packages/locale/lang/en-US.js +39 -36
  79. package/dist/packages/locale/lang/id-ID.js +39 -36
  80. package/dist/packages/locale/lang/index.js +44 -22
  81. package/dist/packages/locale/lang/zh-CN.js +38 -35
  82. package/dist/packages/locale/lang/zh-TW.js +38 -35
  83. package/dist/packages/menuitem/index.scss +7 -10
  84. package/dist/packages/numberkeyboard/index.scss +5 -3
  85. package/dist/packages/searchbar/index.scss +4 -0
  86. package/dist/packages/textarea/index.scss +1 -1
  87. package/dist/resolver/index.js +26 -1
  88. package/dist/resolver/index.mjs +17 -14
  89. package/dist/smartips/web-types.json +42 -159
  90. package/dist/style.css +1 -1
  91. package/dist/styles/mixins/make-animation.scss +1 -5
  92. package/dist/styles/themes/default.scss +148 -45
  93. package/dist/styles/themes/jdb.scss +148 -45
  94. package/dist/styles/themes/jddkh.scss +148 -45
  95. package/dist/styles/themes/jdt.scss +148 -45
  96. package/dist/styles/variables-jdb.scss +1 -0
  97. package/dist/styles/variables-jddkh.scss +1 -0
  98. package/dist/styles/variables-jdt.scss +1 -0
  99. package/dist/styles/variables.scss +1 -0
  100. package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -291
  101. package/dist/types/__VUE/address/index.vue.d.ts +1 -345
  102. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +1 -59
  103. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +1 -22
  104. package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -72
  105. package/dist/types/__VUE/animate/index.vue.d.ts +1 -49
  106. package/dist/types/__VUE/audio/index.vue.d.ts +1 -109
  107. package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -26
  108. package/dist/types/__VUE/avatar/index.vue.d.ts +1 -65
  109. package/dist/types/__VUE/avatargroup/index.vue.d.ts +1 -81
  110. package/dist/types/__VUE/backtop/index.vue.d.ts +1 -87
  111. package/dist/types/__VUE/badge/index.vue.d.ts +1 -91
  112. package/dist/types/__VUE/barrage/index.vue.d.ts +1 -67
  113. package/dist/types/__VUE/button/index.vue.d.ts +1 -79
  114. package/dist/types/__VUE/button/type.d.ts +1 -0
  115. package/dist/types/__VUE/calendar/index.vue.d.ts +1 -164
  116. package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -205
  117. package/dist/types/__VUE/card/index.vue.d.ts +1 -57
  118. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +1 -66
  119. package/dist/types/__VUE/cascader/index.vue.d.ts +1 -252
  120. package/dist/types/__VUE/category/index.vue.d.ts +1 -27
  121. package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -34
  122. package/dist/types/__VUE/cell/index.vue.d.ts +1 -106
  123. package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -26
  124. package/dist/types/__VUE/checkbox/index.vue.d.ts +1 -1
  125. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -36
  126. package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -83
  127. package/dist/types/__VUE/col/index.vue.d.ts +1 -30
  128. package/dist/types/__VUE/collapse/index.vue.d.ts +1 -30
  129. package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -100
  130. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -41
  131. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -35
  132. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -58
  133. package/dist/types/__VUE/comment/index.vue.d.ts +1 -109
  134. package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -34
  135. package/dist/types/__VUE/countdown/index.vue.d.ts +1 -92
  136. package/dist/types/__VUE/countup/index.vue.d.ts +1 -204
  137. package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -222
  138. package/dist/types/__VUE/dialog/index.d.ts +1 -0
  139. package/dist/types/__VUE/dialog/index.vue.d.ts +1 -325
  140. package/dist/types/__VUE/divider/index.vue.d.ts +1 -42
  141. package/dist/types/__VUE/divider/types.d.ts +2 -0
  142. package/dist/types/__VUE/drag/index.vue.d.ts +1 -49
  143. package/dist/types/__VUE/ecard/index.vue.d.ts +1 -114
  144. package/dist/types/__VUE/elevator/index.vue.d.ts +1 -98
  145. package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -85
  146. package/dist/types/__VUE/empty/index.vue.d.ts +1 -35
  147. package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -94
  148. package/dist/types/__VUE/form/index.vue.d.ts +1 -29
  149. package/dist/types/__VUE/formitem/index.vue.d.ts +1 -103
  150. package/dist/types/__VUE/formitem/types.d.ts +1 -1
  151. package/dist/types/__VUE/grid/index.vue.d.ts +1 -73
  152. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -36
  153. package/dist/types/__VUE/icon/index.vue.d.ts +1 -1
  154. package/dist/types/__VUE/image/index.vue.d.ts +1 -104
  155. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -106
  156. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -172
  157. package/dist/types/__VUE/indicator/index.vue.d.ts +1 -59
  158. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -76
  159. package/dist/types/__VUE/input/index.vue.d.ts +2 -208
  160. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -105
  161. package/dist/types/__VUE/invoice/index.vue.d.ts +1 -41
  162. package/dist/types/__VUE/layout/index.vue.d.ts +1 -1
  163. package/dist/types/__VUE/list/index.vue.d.ts +1 -76
  164. package/dist/types/__VUE/menu/index.vue.d.ts +1 -81
  165. package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -79
  166. package/dist/types/__VUE/navbar/index.vue.d.ts +1 -111
  167. package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -196
  168. package/dist/types/__VUE/notify/index.vue.d.ts +1 -99
  169. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +1 -109
  170. package/dist/types/__VUE/overlay/index.vue.d.ts +1 -74
  171. package/dist/types/__VUE/pagination/index.vue.d.ts +1 -100
  172. package/dist/types/__VUE/picker/Column.vue.d.ts +1 -103
  173. package/dist/types/__VUE/picker/common.d.ts +4 -405
  174. package/dist/types/__VUE/picker/index.vue.d.ts +1 -216
  175. package/dist/types/__VUE/picker/usePicker.d.ts +1 -1
  176. package/dist/types/__VUE/popover/index.vue.d.ts +1 -176
  177. package/dist/types/__VUE/popup/index.vue.d.ts +1 -208
  178. package/dist/types/__VUE/price/index.vue.d.ts +1 -84
  179. package/dist/types/__VUE/progress/index.vue.d.ts +1 -109
  180. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -106
  181. package/dist/types/__VUE/radio/index.vue.d.ts +1 -42
  182. package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -36
  183. package/dist/types/__VUE/range/index.vue.d.ts +1 -146
  184. package/dist/types/__VUE/rate/index.vue.d.ts +1 -122
  185. package/dist/types/__VUE/row/index.vue.d.ts +1 -51
  186. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -165
  187. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -92
  188. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +1 -25
  189. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +1 -29
  190. package/dist/types/__VUE/signature/index.vue.d.ts +1 -70
  191. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -104
  192. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +1 -16
  193. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +1 -59
  194. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +1 -24
  195. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +1 -55
  196. package/dist/types/__VUE/sku/index.vue.d.ts +1 -312
  197. package/dist/types/__VUE/step/index.vue.d.ts +1 -31
  198. package/dist/types/__VUE/steps/index.vue.d.ts +1 -35
  199. package/dist/types/__VUE/sticky/index.vue.d.ts +1 -52
  200. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +1 -42
  201. package/dist/types/__VUE/swipe/index.vue.d.ts +1 -58
  202. package/dist/types/__VUE/swiper/index.vue.d.ts +1 -163
  203. package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -7
  204. package/dist/types/__VUE/switch/index.vue.d.ts +1 -98
  205. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -74
  206. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -49
  207. package/dist/types/__VUE/table/common.d.ts +56 -3
  208. package/dist/types/__VUE/table/index.vue.d.ts +1 -69
  209. package/dist/types/__VUE/table/renderColumn.d.ts +1 -1
  210. package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -33
  211. package/dist/types/__VUE/tabs/index.vue.d.ts +2 -167
  212. package/dist/types/__VUE/tag/index.vue.d.ts +1 -79
  213. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -111
  214. package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -27
  215. package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -31
  216. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -81
  217. package/dist/types/__VUE/toast/index.vue.d.ts +1 -149
  218. package/dist/types/__VUE/tour/index.vue.d.ts +1 -184
  219. package/dist/types/__VUE/trendarrow/index.vue.d.ts +1 -94
  220. package/dist/types/__VUE/uploader/index.vue.d.ts +1 -243
  221. package/dist/types/__VUE/video/index.vue.d.ts +1 -114
  222. package/dist/types/__VUE/watermark/index.vue.d.ts +1 -164
  223. package/dist/types/index.d.ts +1 -1
  224. package/dist/types/utils/create/component.d.ts +24 -3
  225. package/dist/types/utils/unit.d.ts +2 -0
  226. package/package.json +4 -5
  227. package/dist/packages/locale/lang/baseLang-0bdc6353.js +0 -5
@@ -1,3 +1,22 @@
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
  import { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
2
21
  import { c as createComponent } from "./component-81a4c1d0.js";
3
22
  import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
@@ -249,9 +268,9 @@ const updateToast = (opts) => {
249
268
  if (container) {
250
269
  const currentOpt = optsMap.find((item) => item.id === opts.id);
251
270
  if (currentOpt) {
252
- opts = { ...defaultOptions, ...currentOpt, ...opts };
271
+ opts = __spreadValues(__spreadValues(__spreadValues({}, defaultOptions), currentOpt), opts);
253
272
  } else {
254
- opts = { ...defaultOptions, ...opts };
273
+ opts = __spreadValues(__spreadValues({}, defaultOptions), opts);
255
274
  }
256
275
  const instance = createVNode(Toast, opts);
257
276
  render(instance, container);
@@ -269,7 +288,7 @@ const mountToast = (opts) => {
269
288
  } else {
270
289
  _id = (/* @__PURE__ */ new Date()).getTime() + "";
271
290
  }
272
- opts = { ...defaultOptions, ...opts };
291
+ opts = __spreadValues(__spreadValues({}, defaultOptions), opts);
273
292
  opts.id = _id;
274
293
  idsMap.push(opts.id);
275
294
  optsMap.push(opts);
@@ -287,27 +306,27 @@ const errorMsg = (msg) => {
287
306
  const showToast = {
288
307
  text(msg, opts = {}) {
289
308
  errorMsg(msg);
290
- return mountToast({ ...opts, type: "text", msg });
309
+ return mountToast(__spreadProps(__spreadValues({}, opts), { type: "text", msg }));
291
310
  },
292
311
  success(msg, opts = {}) {
293
312
  errorMsg(msg);
294
- return mountToast({ icon: Success, ...opts, msg, type: "success" });
313
+ return mountToast(__spreadProps(__spreadValues({ icon: Success }, opts), { msg, type: "success" }));
295
314
  },
296
315
  fail(msg, opts = {}) {
297
316
  errorMsg(msg);
298
- return mountToast({ icon: Failure, ...opts, msg, type: "fail" });
317
+ return mountToast(__spreadProps(__spreadValues({ icon: Failure }, opts), { msg, type: "fail" }));
299
318
  },
300
319
  warn(msg, opts = {}) {
301
320
  errorMsg(msg);
302
- return mountToast({ icon: Tips, ...opts, msg, type: "warn" });
321
+ return mountToast(__spreadProps(__spreadValues({ icon: Tips }, opts), { msg, type: "warn" }));
303
322
  },
304
323
  loading(msg, opts = {}) {
305
- return mountToast({
306
- icon: Loading,
307
- ...opts,
324
+ return mountToast(__spreadProps(__spreadValues({
325
+ icon: Loading
326
+ }, opts), {
308
327
  msg,
309
328
  type: "loading"
310
- });
329
+ }));
311
330
  },
312
331
  hide(id) {
313
332
  clearToast(id);
@@ -1,3 +1,22 @@
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
  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";
2
21
  import { c as createComponent } from "./component-81a4c1d0.js";
3
22
  import { u as useRect } from "./index-29892cda.js";
@@ -6,7 +25,7 @@ import Popover from "./Popover.js";
6
25
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
7
26
  import "../locale/lang";
8
27
  import "./renderIcon-3d0fd47c.js";
9
- import "./index-c55ad69e.js";
28
+ import "./index-da0a7662.js";
10
29
  import "./Overlay.js";
11
30
  const { create } = createComponent("tour");
12
31
  const _sfc_main = create({
@@ -150,14 +169,13 @@ const _sfc_main = create({
150
169
  state.showPopup = val;
151
170
  }
152
171
  );
153
- return {
154
- ...toRefs(state),
172
+ return __spreadProps(__spreadValues({}, toRefs(state)), {
155
173
  classes,
156
174
  maskStyle,
157
175
  changeStep,
158
176
  close,
159
177
  handleClickMask
160
- };
178
+ });
161
179
  }
162
180
  });
163
181
  const _hoisted_1 = {
@@ -1,3 +1,22 @@
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
  import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
2
21
  import { m as myFixed, c as createComponent } from "./component-81a4c1d0.js";
3
22
  import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
@@ -74,7 +93,7 @@ const _sfc_main = create({
74
93
  };
75
94
  return style;
76
95
  });
77
- return { ...toRefs(state), classes, calcRate, calcStyle };
96
+ return __spreadProps(__spreadValues({}, toRefs(state)), { classes, calcRate, calcStyle });
78
97
  }
79
98
  });
80
99
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -1,3 +1,22 @@
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
  import { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } from "vue";
2
21
  import { c as createComponent } from "./component-81a4c1d0.js";
3
22
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -281,10 +300,9 @@ const _sfc_main = create({
281
300
  onMounted(() => {
282
301
  init();
283
302
  });
284
- return {
285
- root,
286
- ...toRefs(props),
287
- ...toRefs(state),
303
+ return __spreadProps(__spreadValues(__spreadValues({
304
+ root
305
+ }, toRefs(props)), toRefs(state)), {
288
306
  handleError,
289
307
  isDisabled,
290
308
  play,
@@ -295,7 +313,7 @@ const _sfc_main = create({
295
313
  retry,
296
314
  fullScreen,
297
315
  translate
298
- };
316
+ });
299
317
  }
300
318
  });
301
319
  const _hoisted_1 = {
@@ -1,3 +1,22 @@
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
  import { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
2
21
  import { c as createComponent } from "./component-81a4c1d0.js";
3
22
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -171,7 +190,7 @@ const _sfc_main = create({
171
190
  [`${prefixCls}-full-page`]: props.fullPage
172
191
  };
173
192
  });
174
- return { ...toRefs(state), classes };
193
+ return __spreadProps(__spreadValues({}, toRefs(state)), { classes });
175
194
  }
176
195
  });
177
196
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -1,3 +1,22 @@
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
  import { ref, computed, reactive, watch, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
2
21
  import { c as createComponent } from "./component-81a4c1d0.js";
3
22
  import { r as requestAniFrame } from "./raf-729dad54.js";
@@ -759,7 +778,7 @@ const _sfc_main = create({
759
778
  }
760
779
  }
761
780
  );
762
- return {
781
+ return __spreadProps(__spreadValues(__spreadValues({
763
782
  weeks,
764
783
  compConthsData,
765
784
  showTopBtn,
@@ -776,11 +795,10 @@ const _sfc_main = create({
776
795
  monthsPanel,
777
796
  months,
778
797
  weeksPanel,
779
- viewArea,
780
- ...toRefs(state),
781
- ...toRefs(props),
798
+ viewArea
799
+ }, toRefs(state)), toRefs(props)), {
782
800
  translate
783
- };
801
+ });
784
802
  }
785
803
  });
786
804
  const _hoisted_1 = { class: "nut-calendar__header" };
@@ -1,3 +1,22 @@
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
  import { c as createComponent } from "./component-81a4c1d0.js";
2
21
  import { reactive, computed, watch, watchEffect, toRefs, resolveComponent, openBlock, createBlock, Teleport, mergeProps, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, vShow } from "vue";
3
22
  import Overlay from "./Overlay.js";
@@ -90,9 +109,7 @@ let _zIndex = initIndex;
90
109
  const component = (componentName2, components) => {
91
110
  return {
92
111
  components,
93
- props: {
94
- ...popupProps
95
- },
112
+ props: __spreadValues({}, popupProps),
96
113
  emits: ["click-pop", "click-close-icon", "open", "close", "opend", "closed", "click-overlay", "update:visible"],
97
114
  setup(props, { emit }) {
98
115
  const state = reactive({
@@ -111,11 +128,10 @@ const component = (componentName2, components) => {
111
128
  };
112
129
  });
113
130
  const popStyle = computed(() => {
114
- return {
131
+ return __spreadValues({
115
132
  zIndex: state.zIndex,
116
- transitionDuration: `${props.duration}s`,
117
- ...props.style
118
- };
133
+ transitionDuration: `${props.duration}s`
134
+ }, props.style);
119
135
  });
120
136
  const transitionName = computed(() => {
121
137
  return props.transition ? props.transition : `nut-popup-slide-${props.position}`;
@@ -169,8 +185,7 @@ const component = (componentName2, components) => {
169
185
  watchEffect(() => {
170
186
  state.closed = props.closeable;
171
187
  });
172
- return {
173
- ...toRefs(state),
188
+ return __spreadProps(__spreadValues({}, toRefs(state)), {
174
189
  popStyle,
175
190
  transitionName,
176
191
  classes,
@@ -179,7 +194,7 @@ const component = (componentName2, components) => {
179
194
  onClickOverlay,
180
195
  onOpened,
181
196
  onClosed
182
- };
197
+ });
183
198
  }
184
199
  };
185
200
  };
@@ -49,7 +49,6 @@ const _sfc_main = create({
49
49
  return h(iconNode, {
50
50
  width: size,
51
51
  height: size,
52
- size,
53
52
  class: color.value
54
53
  });
55
54
  };
@@ -13,7 +13,7 @@
13
13
  padding: $cell-padding;
14
14
  background: $cell-background;
15
15
  border-radius: $cell-border-radius;
16
- box-shadow: 0px 1px 7px 0px rgba(237, 238, 241, 1);
16
+ box-shadow: $cell-box-shadow;
17
17
  font-size: $cell-title-font;
18
18
  color: $cell-color;
19
19
  margin: 10px 0;
@@ -21,6 +21,7 @@
21
21
  &__wrap {
22
22
  display: inherit;
23
23
  border-radius: $cell-border-radius;
24
+ box-shadow: $cell-box-shadow;
24
25
  overflow: hidden;
25
26
  background-color: $cell-group-background-color;
26
27
  margin: 10px 0;
@@ -1,5 +1,5 @@
1
1
  .nut-theme-dark {
2
- .nut-circle-progress-text {
2
+ .nut-circle-progress__text {
3
3
  color: $dark-color;
4
4
  }
5
5
  }
@@ -15,10 +15,10 @@
15
15
 
16
16
  @for $i from 1 through 24 {
17
17
  .nut-col-offset-#{$i} {
18
- margin-left: calc(100 / 24) * $i * 1%;
18
+ margin-left: calc((100 / 24) * #{$i} * 1%);
19
19
  }
20
20
 
21
21
  .nut-col-#{$i} {
22
- width: calc(100 / 24) * $i * 1%;
22
+ width: calc((100 / 24) * #{$i} * 1%);
23
23
  }
24
24
  }
@@ -18,11 +18,6 @@
18
18
  object-fit: contain;
19
19
  }
20
20
 
21
- &-taro-img {
22
- width: 100%;
23
- height: 100%;
24
- }
25
-
26
21
  &-index {
27
22
  position: fixed;
28
23
  z-index: 2002;
@@ -0,0 +1,5 @@
1
+ class BaseLang {
2
+ }
3
+ export {
4
+ BaseLang as B
5
+ };
@@ -1,43 +1,46 @@
1
- var d = Object.defineProperty;
2
- var s = (t, a, o) => a in t ? d(t, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[a] = o;
3
- var e = (t, a, o) => (s(t, typeof a != "symbol" ? a + "" : a, o), o);
4
- import { B as i } from "./baseLang-0bdc6353.js";
5
- class u extends i {
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+ import { B as BaseLang } from "./baseLang-3a8457ac.js";
8
+ class Lang extends BaseLang {
6
9
  constructor() {
7
10
  super(...arguments);
8
- e(this, "save", "Save");
9
- e(this, "confirm", "Confirm");
10
- e(this, "cancel", "Cancel");
11
- e(this, "done", "Done");
12
- e(this, "noData", "No Data");
13
- e(this, "placeholder", "Placeholder");
14
- e(this, "select", "Select");
15
- e(this, "video", {
11
+ __publicField(this, "save", "Save");
12
+ __publicField(this, "confirm", "Confirm");
13
+ __publicField(this, "cancel", "Cancel");
14
+ __publicField(this, "done", "Done");
15
+ __publicField(this, "noData", "No Data");
16
+ __publicField(this, "placeholder", "Placeholder");
17
+ __publicField(this, "select", "Select");
18
+ __publicField(this, "video", {
16
19
  errorTip: "Error Tip",
17
20
  clickRetry: "Click Retry"
18
21
  });
19
- e(this, "fixednav", {
22
+ __publicField(this, "fixednav", {
20
23
  activeText: "Close Nav",
21
24
  unActiveText: "Open Nav"
22
25
  });
23
- e(this, "pagination", {
26
+ __publicField(this, "pagination", {
24
27
  prev: "Previous",
25
28
  next: "Next"
26
29
  });
27
- e(this, "calendaritem", {
30
+ __publicField(this, "calendaritem", {
28
31
  weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
29
32
  end: "End",
30
33
  start: "Start",
31
34
  title: "Calendar",
32
- monthTitle: (o, r) => `${o}/${r}`,
35
+ monthTitle: (year, month) => `${year}/${month}`,
33
36
  today: "Today"
34
37
  });
35
- e(this, "shortpassword", {
38
+ __publicField(this, "shortpassword", {
36
39
  title: "Please input a password",
37
40
  desc: "Verify",
38
41
  tips: "Forget password"
39
42
  });
40
- e(this, "uploader", {
43
+ __publicField(this, "uploader", {
41
44
  ready: "Ready",
42
45
  readyUpload: "Ready to upload",
43
46
  waitingUpload: "Waiting for upload",
@@ -45,52 +48,52 @@ class u extends i {
45
48
  success: "Upload successful",
46
49
  error: "Upload failed"
47
50
  });
48
- e(this, "countdown", {
51
+ __publicField(this, "countdown", {
49
52
  day: " Day ",
50
53
  hour: " Hour ",
51
54
  minute: " Minute ",
52
55
  second: " Second "
53
56
  });
54
- e(this, "address", {
57
+ __publicField(this, "address", {
55
58
  selectRegion: "Select Region",
56
59
  deliveryTo: "Delivery To",
57
60
  chooseAnotherAddress: "Choose Another Address"
58
61
  });
59
- e(this, "signature", {
62
+ __publicField(this, "signature", {
60
63
  reSign: "Re Sign",
61
- unSupportTpl: "Sorry, the current browser doesn't support canvas, so we can't use this control!"
64
+ unSupportTpl: `Sorry, the current browser doesn't support canvas, so we can't use this control!`
62
65
  });
63
- e(this, "ecard", {
66
+ __publicField(this, "ecard", {
64
67
  chooseText: "Select",
65
68
  otherValueText: "Other Value",
66
69
  placeholder: "Placeholder"
67
70
  });
68
- e(this, "timeselect", {
71
+ __publicField(this, "timeselect", {
69
72
  pickupTime: "Pickup Time"
70
73
  });
71
- e(this, "sku", {
74
+ __publicField(this, "sku", {
72
75
  buyNow: "Buy Now",
73
76
  buyNumber: "Buy Number",
74
77
  addToCart: "Add to Cart"
75
78
  });
76
- e(this, "skuheader", {
79
+ __publicField(this, "skuheader", {
77
80
  skuId: "Sku Number"
78
81
  });
79
- e(this, "addresslist", {
82
+ __publicField(this, "addresslist", {
80
83
  addAddress: "Add New Address",
81
84
  default: "default"
82
85
  });
83
- e(this, "comment", {
86
+ __publicField(this, "comment", {
84
87
  complaintsText: "I have a complaint",
85
- additionalReview: (o) => `Review after ${o} days of purchase`,
86
- additionalImages: (o) => `There are ${o} follow-up comments`
88
+ additionalReview: (day) => `Review after ${day} days of purchase`,
89
+ additionalImages: (length) => `There are ${length} follow-up comments`
87
90
  });
88
- e(this, "infiniteloading", {
91
+ __publicField(this, "infiniteloading", {
89
92
  loading: "Loading...",
90
93
  pullTxt: "Loose to refresh",
91
94
  loadMoreTxt: "Oops, this is the bottom"
92
95
  });
93
- e(this, "datepicker", {
96
+ __publicField(this, "datepicker", {
94
97
  year: "Year",
95
98
  month: "Month",
96
99
  day: "Day",
@@ -98,14 +101,14 @@ class u extends i {
98
101
  min: "Minute",
99
102
  seconds: "Second"
100
103
  });
101
- e(this, "audiooperate", {
104
+ __publicField(this, "audiooperate", {
102
105
  back: "Back",
103
106
  start: "Start",
104
107
  pause: "Pause",
105
108
  forward: "Forward",
106
109
  mute: "Mute"
107
110
  });
108
- e(this, "pullrefresh", {
111
+ __publicField(this, "pullrefresh", {
109
112
  pulling: "Pull to refresh...",
110
113
  loosing: "Loose to refresh...",
111
114
  loading: "Loading..."
@@ -113,5 +116,5 @@ class u extends i {
113
116
  }
114
117
  }
115
118
  export {
116
- u as default
119
+ Lang as default
117
120
  };