@nutui/nutui 3.1.12-beta.1 → 3.1.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.
Files changed (114) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/nutui.d.ts +1 -1
  3. package/dist/nutui.es.js +3219 -2562
  4. package/dist/nutui.umd.js +3292 -2565
  5. package/dist/packages/_es/ActionSheet.js +12 -13
  6. package/dist/packages/_es/Address.js +49 -63
  7. package/dist/packages/_es/Avatar.js +5 -4
  8. package/dist/packages/_es/BackTop.js +109 -72
  9. package/dist/packages/_es/Badge.js +5 -4
  10. package/dist/packages/_es/Barrage.js +57 -63
  11. package/dist/packages/_es/Button.js +6 -5
  12. package/dist/packages/_es/Calendar.js +18 -27
  13. package/dist/packages/_es/Card.js +8 -7
  14. package/dist/packages/_es/Cell.js +13 -5
  15. package/dist/packages/_es/CellGroup.js +14 -7
  16. package/dist/packages/_es/Checkbox.js +3 -3
  17. package/dist/packages/_es/CheckboxGroup.js +4 -9
  18. package/dist/packages/_es/CircleProgress.js +46 -142
  19. package/dist/packages/_es/Col.js +5 -4
  20. package/dist/packages/_es/Collapse.js +10 -35
  21. package/dist/packages/_es/CollapseItem.js +35 -80
  22. package/dist/packages/_es/CountDown.js +5 -7
  23. package/dist/packages/_es/CountUp.js +31 -34
  24. package/dist/packages/_es/DatePicker.js +219 -451
  25. package/dist/packages/_es/Dialog.js +98 -46
  26. package/dist/packages/_es/Divider.js +6 -5
  27. package/dist/packages/_es/Drag.js +50 -76
  28. package/dist/packages/_es/Elevator.js +52 -81
  29. package/dist/packages/_es/FixedNav.js +9 -8
  30. package/dist/packages/_es/Form.js +6 -5
  31. package/dist/packages/_es/FormItem.js +5 -4
  32. package/dist/packages/_es/Icon.js +40 -6
  33. package/dist/packages/_es/ImagePreview.js +158 -44
  34. package/dist/packages/_es/InfiniteLoading.js +109 -95
  35. package/dist/packages/_es/Input.js +21 -22
  36. package/dist/packages/_es/InputNumber.js +18 -24
  37. package/dist/packages/_es/Layout.js +2 -2
  38. package/dist/packages/_es/Menu.js +14 -16
  39. package/dist/packages/_es/MenuItem.js +11 -9
  40. package/dist/packages/_es/Navbar.js +7 -7
  41. package/dist/packages/_es/NoticeBar.js +26 -39
  42. package/dist/packages/_es/Notify.js +166 -30
  43. package/dist/packages/_es/NumberKeyboard.js +7 -9
  44. package/dist/packages/_es/OverLay.js +29 -22
  45. package/dist/packages/_es/Pagination.js +9 -8
  46. package/dist/packages/_es/Picker.js +447 -61
  47. package/dist/packages/_es/Popover.js +34 -161
  48. package/dist/packages/_es/Popup.js +77 -17
  49. package/dist/packages/_es/Price.js +7 -18
  50. package/dist/packages/_es/Progress.js +12 -23
  51. package/dist/packages/_es/Radio.js +3 -3
  52. package/dist/packages/_es/RadioGroup.js +2 -2
  53. package/dist/packages/_es/Range.js +31 -38
  54. package/dist/packages/_es/Rate.js +35 -17
  55. package/dist/packages/_es/Row.js +5 -4
  56. package/dist/packages/_es/SearchBar.js +5 -7
  57. package/dist/packages/_es/ShortPassword.js +59 -89
  58. package/dist/packages/_es/Signature.js +71 -70
  59. package/dist/packages/_es/Sku.js +43 -53
  60. package/dist/packages/_es/Step.js +8 -10
  61. package/dist/packages/_es/Steps.js +2 -2
  62. package/dist/packages/_es/Swipe.js +28 -43
  63. package/dist/packages/_es/Swiper.js +418 -17
  64. package/dist/packages/_es/SwiperItem.js +39 -14
  65. package/dist/packages/_es/Switch.js +32 -11
  66. package/dist/packages/_es/TabPane.js +5 -4
  67. package/dist/packages/_es/Tabbar.js +5 -4
  68. package/dist/packages/_es/TabbarItem.js +9 -8
  69. package/dist/packages/_es/Tabs.js +16 -22
  70. package/dist/packages/_es/Tag.js +6 -5
  71. package/dist/packages/_es/TextArea.js +12 -16
  72. package/dist/packages/_es/TimeDetail.js +5 -7
  73. package/dist/packages/_es/TimePannel.js +5 -7
  74. package/dist/packages/_es/TimeSelect.js +7 -12
  75. package/dist/packages/_es/Toast.js +178 -46
  76. package/dist/packages/_es/Uploader.js +149 -109
  77. package/dist/packages/_es/Video.js +405 -0
  78. package/dist/packages/_es/component.js +1 -1
  79. package/dist/packages/_es/index.js +7 -58
  80. package/dist/packages/_es/index2.js +58 -43
  81. package/dist/packages/_es/index3.js +28 -411
  82. package/dist/packages/_es/plugin-vue_export-helper.js +13 -0
  83. package/dist/packages/_es/pxCheck.js +1 -1
  84. package/dist/packages/_es/raf.js +1 -1
  85. package/dist/packages/_es/util.js +1 -1
  86. package/dist/packages/cellgroup/index.scss +9 -0
  87. package/dist/packages/dialog/index.scss +17 -0
  88. package/dist/packages/drag/index.scss +4 -0
  89. package/dist/packages/fixednav/index.scss +6 -1
  90. package/dist/packages/formitem/index.scss +3 -0
  91. package/dist/packages/icon/index.scss +2 -1
  92. package/dist/packages/numberkeyboard/index.scss +1 -1
  93. package/dist/packages/popover/index.scss +2 -2
  94. package/dist/packages/rate/index.scss +1 -0
  95. package/dist/packages/textarea/index.scss +1 -0
  96. package/dist/packages/timedetail/index.scss +1 -2
  97. package/dist/packages/timeselect/index.scss +3 -0
  98. package/dist/packages/toast/index.scss +6 -0
  99. package/dist/style.css +1 -1
  100. package/dist/style.es.js +2 -1
  101. package/dist/styles/font/config.json +2 -1
  102. package/dist/styles/font/demo_index.html +26 -3
  103. package/dist/styles/font/iconfont.css +7 -3
  104. package/dist/styles/font/iconfont.js +31 -32
  105. package/dist/styles/font/iconfont.json +7 -0
  106. package/dist/styles/font/iconfont.ttf +0 -0
  107. package/dist/styles/font/iconfont.woff +0 -0
  108. package/dist/styles/font/iconfont.woff2 +0 -0
  109. package/dist/styles/themes/default.scss +38 -38
  110. package/dist/styles/variables.scss +5 -1
  111. package/package.json +1 -1
  112. package/dist/packages/_es/commonProps.js +0 -30
  113. package/dist/packages/_es/index.taro.vue_vue&type=script&lang.js +0 -44
  114. package/dist/packages/_es/use-lock-scroll.js +0 -23
@@ -1,419 +1,36 @@
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));
20
- var __require = typeof require !== "undefined" ? require : (x) => {
21
- throw new Error('Dynamic require of "' + x + '" is not supported');
22
- };
23
1
  /*!
24
- * @nutui/nutui v3.1.11 Wed Nov 24 2021 14:54:38 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.12 Sat Nov 27 2021 11:30:43 GMT+0800 (中国标准时间)
25
3
  * (c) 2021 @jdf2e.
26
4
  * Released under the MIT License.
27
5
  */
28
- import { computed, watch, onDeactivated, onBeforeUnmount, onMounted, onActivated, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, withModifiers, normalizeStyle, renderSlot, vShow, h, reactive, onBeforeMount, toRefs, resolveComponent, Teleport, createCommentVNode, createVNode, createElementBlock } from "vue";
29
- import { u as useLockScroll } from "./use-lock-scroll.js";
30
- import { c as createComponent } from "./component.js";
31
- import { p as pxCheck } from "./pxCheck.js";
32
- const { componentName: componentName$2, create: create$2 } = createComponent("overlay");
33
- const overlayProps = {
34
- visible: {
35
- type: Boolean,
36
- default: false
37
- },
38
- zIndex: {
39
- type: [Number, String],
40
- default: 2e3
41
- },
42
- duration: {
43
- type: [Number, String],
44
- default: 0.3
45
- },
46
- overlayClass: {
47
- type: String,
48
- default: ""
49
- },
50
- lockScroll: {
51
- type: Boolean,
52
- default: true
53
- },
54
- overlayStyle: {
55
- type: Object
56
- },
57
- closeOnClickOverlay: {
58
- type: Boolean,
59
- default: true
60
- }
61
- };
62
- var _sfc_main$2 = create$2({
63
- props: overlayProps,
64
- emits: ["click", "update:visible"],
65
- setup(props, { emit }) {
66
- const classes = computed(() => {
67
- const prefixCls = componentName$2;
68
- return {
69
- [prefixCls]: true,
70
- [props.overlayClass]: true
71
- };
72
- });
73
- watch(() => props.visible, (value) => {
74
- value ? lock() : unlock();
75
- });
76
- const lock = () => {
77
- if (props.lockScroll && props.visible) {
78
- document.body.classList.add("nut-overflow-hidden");
79
- }
80
- };
81
- const unlock = () => {
82
- document.body.classList.remove("nut-overflow-hidden");
83
- };
84
- onDeactivated(unlock);
85
- onBeforeUnmount(unlock);
86
- onMounted(lock);
87
- onActivated(lock);
88
- const style = computed(() => {
89
- return __spreadValues({
90
- animationDuration: `${props.duration}s`,
91
- zIndex: props.zIndex
92
- }, props.overlayStyle);
93
- });
94
- const touchmove = (e) => {
95
- if (props.lockScroll)
96
- e.preventDefault();
97
- };
98
- const onClick = (e) => {
99
- emit("click", e);
100
- if (props.closeOnClickOverlay) {
101
- emit("update:visible", false);
102
- }
103
- };
104
- return { classes, style, touchmove, onClick };
105
- }
106
- });
107
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
108
- return openBlock(), createBlock(Transition, { name: "overlay-fade" }, {
109
- default: withCtx(() => [
110
- withDirectives(createElementVNode("view", {
111
- class: normalizeClass(_ctx.classes),
112
- onTouchmove: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.touchmove && _ctx.touchmove(...args), ["stop"])),
113
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClick && _ctx.onClick(...args)),
114
- style: normalizeStyle(_ctx.style)
115
- }, [
116
- renderSlot(_ctx.$slots, "default")
117
- ], 38), [
118
- [vShow, _ctx.visible]
119
- ])
120
- ]),
121
- _: 3
122
- });
6
+ import { unref } from "vue";
7
+ function isWindow(val) {
8
+ return val === window;
123
9
  }
124
- _sfc_main$2.render = _sfc_render$1;
125
- const { componentName: componentName$1, create: create$1 } = createComponent("icon");
126
- var _sfc_main$1 = create$1({
127
- props: {
128
- name: { type: String, default: "" },
129
- size: { type: [String, Number], default: "" },
130
- classPrefix: { type: String, default: "nut-icon" },
131
- fontClassName: { type: String, default: "nutui-iconfont" },
132
- color: { type: String, default: "" },
133
- tag: { type: String, default: "i" }
134
- },
135
- emits: ["click"],
136
- setup(props, { emit, slots }) {
137
- const handleClick = (event) => {
138
- emit("click", event);
139
- };
140
- const isImage = () => {
141
- return props.name ? props.name.indexOf("/") !== -1 : false;
142
- };
143
- return () => {
144
- var _a;
145
- const _isImage = isImage();
146
- return h(_isImage ? "img" : props.tag, {
147
- class: _isImage ? `${componentName$1}__img` : `${props.fontClassName} ${componentName$1} ${props.classPrefix}-${props.name}`,
148
- style: {
149
- color: props.color,
150
- fontSize: pxCheck(props.size),
151
- width: pxCheck(props.size),
152
- height: pxCheck(props.size)
153
- },
154
- onClick: handleClick,
155
- src: _isImage ? props.name : ""
156
- }, (_a = slots.default) == null ? void 0 : _a.call(slots));
10
+ const useRect = (elementRef) => {
11
+ const element = unref(elementRef);
12
+ if (isWindow(element)) {
13
+ const width = element.innerWidth;
14
+ const height = element.innerHeight;
15
+ return {
16
+ top: 0,
17
+ left: 0,
18
+ right: width,
19
+ bottom: height,
20
+ width,
21
+ height
157
22
  };
158
23
  }
159
- });
160
- const { componentName, create } = createComponent("popup");
161
- let _zIndex = 2e3;
162
- const popupProps = __spreadProps(__spreadValues({}, overlayProps), {
163
- position: {
164
- type: String,
165
- default: "center"
166
- },
167
- transition: String,
168
- style: {
169
- type: Object
170
- },
171
- popClass: {
172
- type: String,
173
- default: ""
174
- },
175
- closeable: {
176
- type: Boolean,
177
- default: false
178
- },
179
- closeIconPosition: {
180
- type: String,
181
- default: "top-right"
182
- },
183
- closeIcon: {
184
- type: String,
185
- default: "close"
186
- },
187
- destroyOnClose: {
188
- type: Boolean,
189
- default: true
190
- },
191
- teleport: {
192
- type: [String, Element],
193
- default: "body"
194
- },
195
- overlay: {
196
- type: Boolean,
197
- default: true
198
- },
199
- round: {
200
- type: Boolean,
201
- default: false
202
- },
203
- isWrapTeleport: {
204
- type: Boolean,
205
- default: true
24
+ if (element && element.getBoundingClientRect) {
25
+ return element.getBoundingClientRect();
206
26
  }
207
- });
208
- var _sfc_main = create({
209
- components: {
210
- [_sfc_main$2.name]: _sfc_main$2,
211
- [_sfc_main$1.name]: _sfc_main$1
212
- },
213
- props: __spreadValues({}, popupProps),
214
- emits: ["click", "click-close-icon", "open", "close", "opend", "closed", "update:visible", "click-overlay"],
215
- setup(props, { emit }) {
216
- const state = reactive({
217
- zIndex: props.zIndex ? props.zIndex : _zIndex,
218
- showSlot: true,
219
- transitionName: `popup-fade-${props.position}`,
220
- overLayCount: 1,
221
- keepAlive: false
222
- });
223
- const [lockScroll, unlockScroll] = useLockScroll(() => props.lockScroll);
224
- const classes = computed(() => {
225
- const prefixCls = componentName;
226
- return {
227
- [prefixCls]: true,
228
- ["round"]: props.round,
229
- [`popup-${props.position}`]: true,
230
- [props.popClass]: true
231
- };
232
- });
233
- const popStyle = computed(() => {
234
- return __spreadValues({
235
- zIndex: state.zIndex,
236
- animationDuration: props.duration ? `${props.duration}s` : "initial"
237
- }, props.style);
238
- });
239
- const open = () => {
240
- if (!props.visible) {
241
- if (props.zIndex !== void 0) {
242
- _zIndex = Number(props.zIndex);
243
- }
244
- emit("update:visible", true);
245
- lockScroll();
246
- state.zIndex = ++_zIndex;
247
- }
248
- if (props.destroyOnClose) {
249
- state.showSlot = true;
250
- }
251
- emit("open");
252
- };
253
- const close = () => {
254
- if (props.visible) {
255
- unlockScroll();
256
- emit("update:visible", false);
257
- if (props.destroyOnClose) {
258
- setTimeout(() => {
259
- state.showSlot = false;
260
- emit("close");
261
- }, +props.duration * 1e3);
262
- }
263
- }
264
- };
265
- const onClick = (e) => {
266
- emit("click", e);
267
- };
268
- const onClickCloseIcon = (e) => {
269
- emit("click-close-icon", e);
270
- close();
271
- };
272
- const onClickOverlay = (e) => {
273
- if (props.closeOnClickOverlay) {
274
- emit("click-overlay", e);
275
- close();
276
- }
277
- };
278
- const onOpened = (e) => {
279
- emit("opend", e);
280
- };
281
- const onClosed = (e) => {
282
- emit("closed", e);
283
- };
284
- onMounted(() => {
285
- props.transition ? state.transitionName = props.transition : state.transitionName = `popup-slide-${props.position}`;
286
- props.visible && open();
287
- });
288
- onBeforeUnmount(() => {
289
- props.visible && close();
290
- });
291
- onBeforeMount(() => {
292
- if (props.visible) {
293
- unlockScroll();
294
- }
295
- });
296
- onActivated(() => {
297
- if (state.keepAlive) {
298
- emit("update:visible", true);
299
- state.keepAlive = false;
300
- }
301
- });
302
- onDeactivated(() => {
303
- if (props.visible) {
304
- close();
305
- state.keepAlive = true;
306
- }
307
- });
308
- watch(() => props.visible, (value) => {
309
- if (value) {
310
- open();
311
- } else {
312
- close();
313
- }
314
- });
315
- watch(() => props.position, (value) => {
316
- value === "center" ? state.transitionName = "popup-fade" : state.transitionName = `popup-slide-${value}`;
317
- });
318
- return __spreadProps(__spreadValues({}, toRefs(state)), {
319
- popStyle,
320
- classes,
321
- onClick,
322
- onClickCloseIcon,
323
- onClickOverlay,
324
- onOpened,
325
- onClosed
326
- });
327
- }
328
- });
329
- const _hoisted_1 = { key: 1 };
330
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
331
- const _component_nut_overlay = resolveComponent("nut-overlay");
332
- const _component_nut_icon = resolveComponent("nut-icon");
333
- return _ctx.isWrapTeleport ? (openBlock(), createBlock(Teleport, {
334
- key: 0,
335
- to: _ctx.teleport
336
- }, [
337
- _ctx.overlay ? (openBlock(), createBlock(_component_nut_overlay, {
338
- key: 0,
339
- visible: _ctx.visible,
340
- "close-on-click-overlay": _ctx.closeOnClickOverlay,
341
- class: normalizeClass(_ctx.overlayClass),
342
- style: normalizeStyle(_ctx.overlayStyle),
343
- "z-index": _ctx.zIndex,
344
- "lock-scroll": _ctx.lockScroll,
345
- duration: _ctx.duration,
346
- onClick: _ctx.onClickOverlay
347
- }, null, 8, ["visible", "close-on-click-overlay", "class", "style", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
348
- createVNode(Transition, {
349
- name: _ctx.transitionName,
350
- onAfterEnter: _ctx.onOpened,
351
- onAfterLeave: _ctx.onClosed
352
- }, {
353
- default: withCtx(() => [
354
- withDirectives(createElementVNode("view", {
355
- class: normalizeClass(_ctx.classes),
356
- style: normalizeStyle(_ctx.popStyle),
357
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClick && _ctx.onClick(...args))
358
- }, [
359
- _ctx.showSlot ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true),
360
- _ctx.closeable ? (openBlock(), createElementBlock("view", {
361
- key: 1,
362
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
363
- class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
364
- }, [
365
- createVNode(_component_nut_icon, {
366
- name: _ctx.closeIcon,
367
- size: "12px"
368
- }, null, 8, ["name"])
369
- ], 2)) : createCommentVNode("", true)
370
- ], 6), [
371
- [vShow, _ctx.visible]
372
- ])
373
- ]),
374
- _: 3
375
- }, 8, ["name", "onAfterEnter", "onAfterLeave"])
376
- ], 8, ["to"])) : (openBlock(), createElementBlock("view", _hoisted_1, [
377
- _ctx.overlay ? (openBlock(), createBlock(_component_nut_overlay, {
378
- key: 0,
379
- visible: _ctx.visible,
380
- "close-on-click-overlay": _ctx.closeOnClickOverlay,
381
- class: normalizeClass(_ctx.overlayClass),
382
- style: normalizeStyle(_ctx.overlayStyle),
383
- "z-index": _ctx.zIndex,
384
- "lock-scroll": _ctx.lockScroll,
385
- duration: _ctx.duration,
386
- onClick: _ctx.onClickOverlay
387
- }, null, 8, ["visible", "close-on-click-overlay", "class", "style", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
388
- createVNode(Transition, {
389
- name: _ctx.transitionName,
390
- onAfterEnter: _ctx.onOpened,
391
- onAfterLeave: _ctx.onClosed
392
- }, {
393
- default: withCtx(() => [
394
- withDirectives(createElementVNode("view", {
395
- class: normalizeClass(_ctx.classes),
396
- style: normalizeStyle(_ctx.popStyle),
397
- onClick: _cache[3] || (_cache[3] = (...args) => _ctx.onClick && _ctx.onClick(...args))
398
- }, [
399
- _ctx.showSlot ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true),
400
- _ctx.closeable ? (openBlock(), createElementBlock("view", {
401
- key: 1,
402
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
403
- class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
404
- }, [
405
- createVNode(_component_nut_icon, {
406
- name: _ctx.closeIcon,
407
- size: "12px"
408
- }, null, 8, ["name"])
409
- ], 2)) : createCommentVNode("", true)
410
- ], 6), [
411
- [vShow, _ctx.visible]
412
- ])
413
- ]),
414
- _: 3
415
- }, 8, ["name", "onAfterEnter", "onAfterLeave"])
416
- ]));
417
- }
418
- _sfc_main.render = _sfc_render;
419
- export { _sfc_main$1 as _, _sfc_main as a, popupProps as p };
27
+ return {
28
+ top: 0,
29
+ left: 0,
30
+ right: 0,
31
+ bottom: 0,
32
+ width: 0,
33
+ height: 0
34
+ };
35
+ };
36
+ export { useRect as u };
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * @nutui/nutui v3.1.12 Sat Nov 27 2021 11:30:43 GMT+0800 (中国标准时间)
3
+ * (c) 2021 @jdf2e.
4
+ * Released under the MIT License.
5
+ */
6
+ var _export_sfc = (sfc, props) => {
7
+ const target = sfc.__vccOpts || sfc;
8
+ for (const [key, val] of props) {
9
+ target[key] = val;
10
+ }
11
+ return target;
12
+ };
13
+ export { _export_sfc as _ };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.11 Wed Nov 24 2021 14:54:38 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.12 Sat Nov 27 2021 11:30:43 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.11 Wed Nov 24 2021 14:54:38 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.12 Sat Nov 27 2021 11:30:43 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.11 Wed Nov 24 2021 14:54:38 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.12 Sat Nov 27 2021 11:30:43 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -9,6 +9,15 @@
9
9
  margin-top: 30px;
10
10
  margin-bottom: 10px;
11
11
  }
12
+ &__desc {
13
+ display: inherit;
14
+ padding: $cell-group-desc-padding;
15
+ color: $cell-group-desc-color;
16
+ font-size: $cell-group-desc-font-size;
17
+ line-height: $cell-group-desc-line-height;
18
+ margin-top: 10px;
19
+ margin-bottom: 10px;
20
+ }
12
21
  &__warp {
13
22
  display: inherit;
14
23
  border-radius: $cell-border-radius;
@@ -34,6 +34,23 @@
34
34
  width: 100%;
35
35
  justify-content: space-around;
36
36
 
37
+ &.horizontal {
38
+ }
39
+ &.vertical {
40
+ flex-direction: column;
41
+
42
+ .nut-button {
43
+ min-width: 100%;
44
+ margin: 0;
45
+ &.nut-dialog__footer-cancel {
46
+ border: 0;
47
+ }
48
+ &.nut-dialog__footer-ok {
49
+ margin-top: 10px;
50
+ }
51
+ }
52
+ }
53
+
37
54
  .nut-button {
38
55
  min-width: 100px;
39
56
  }
@@ -4,6 +4,10 @@
4
4
  z-index: 9997 !important;
5
5
  width: fit-content;
6
6
  height: fit-content;
7
+
8
+ .nut-fixednav {
9
+ position: relative !important;
10
+ }
7
11
  }
8
12
  .nut-taro-drag {
9
13
  // position: fixed;
@@ -55,7 +55,9 @@
55
55
  right: 0;
56
56
  transform: translateX(100%);
57
57
  transition: all 0.5s;
58
-
58
+ box-sizing: border-box;
59
+ padding: 0;
60
+ margin: 0;
59
61
  z-index: $fixednav-index;
60
62
  flex-shrink: 0;
61
63
  height: 100%;
@@ -69,6 +71,9 @@
69
71
  right: 80px;
70
72
  }
71
73
  &-item {
74
+ box-sizing: border-box;
75
+ padding: 0;
76
+ margin: 0;
72
77
  position: relative;
73
78
  flex: 1;
74
79
  height: 100%;
@@ -51,6 +51,9 @@
51
51
  .nut-range-container {
52
52
  min-height: 24px;
53
53
  }
54
+ .nut-textarea {
55
+ padding: 0 !important;
56
+ }
54
57
  }
55
58
  &__tips {
56
59
  font-size: 10px;
@@ -19,7 +19,8 @@
19
19
  height: $icon-height;
20
20
  object-fit: contain;
21
21
  }
22
- &-loading {
22
+ &-loading,
23
+ &-loading1 {
23
24
  display: inline-block;
24
25
  animation: loadingCircle 1s infinite linear;
25
26
  }
@@ -104,5 +104,5 @@
104
104
  }
105
105
  }
106
106
  .nut-numberkeyboard-overlay {
107
- background-color: rgba(0, 0, 0, 0)!important;
107
+ background-color: rgba(0, 0, 0, 0) !important;
108
108
  }
@@ -4,13 +4,13 @@
4
4
  display: inline-block;
5
5
  margin-right: 20px;
6
6
  .more-background {
7
- background: $popover-white-background-color;
8
7
  opacity: 0;
9
8
  position: fixed;
10
9
  width: 100%;
11
- height: 1000px;
10
+ height: 100%;
12
11
  z-index: 10;
13
12
  left: 0;
13
+ top: 0;
14
14
  }
15
15
  .popoverContent--left,
16
16
  .popoverContent--right,
@@ -28,6 +28,7 @@
28
28
  left: 0;
29
29
  top: 0;
30
30
  overflow: hidden;
31
+ height: auto !important;
31
32
  }
32
33
  }
33
34
  }
@@ -30,6 +30,7 @@
30
30
  min-width: 0;
31
31
  margin: 0;
32
32
  padding: 0;
33
+ font-size: $textarea-font;
33
34
  color: $textarea-text-color;
34
35
  text-align: left;
35
36
  background-color: transparent;
@@ -1,7 +1,6 @@
1
1
  .nut-timedetail {
2
+ display: flex;
2
3
  width: 100%;
3
- height: 100%;
4
- overflow: auto;
5
4
  padding: 0 5px 50px 13px;
6
5
  &__detail {
7
6
  width: 100%;
@@ -4,6 +4,7 @@
4
4
  position: relative;
5
5
  overflow: hidden;
6
6
  &__title {
7
+ display: flex;
7
8
  width: 100%;
8
9
  height: 50px;
9
10
  line-height: 50px;
@@ -29,6 +30,8 @@
29
30
  &__detail {
30
31
  width: calc(100% - 140px);
31
32
  height: 308px;
33
+ overflow-y: auto;
34
+ overflow-x: hidden;
32
35
  }
33
36
  }
34
37
  }
@@ -51,6 +51,12 @@
51
51
  margin-bottom: -8px;
52
52
  }
53
53
  }
54
+ &-title {
55
+ font-size: 16px;
56
+ &:empty {
57
+ margin-bottom: -8px;
58
+ }
59
+ }
54
60
  &-has-icon {
55
61
  .nut-toast-icon-wrapper {
56
62
  width: 100%;