@nutui/nutui 3.1.15-beta.0 → 3.1.15-beta.1

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/README.md +3 -3
  2. package/dist/nutui.d.ts +8 -5
  3. package/dist/nutui.es.js +587 -389
  4. package/dist/nutui.umd.js +593 -392
  5. package/dist/packages/_es/ActionSheet.js +1 -1
  6. package/dist/packages/_es/Address.js +2 -4
  7. package/dist/packages/_es/Avatar.js +1 -1
  8. package/dist/packages/_es/BackTop.js +1 -1
  9. package/dist/packages/_es/Badge.js +1 -1
  10. package/dist/packages/_es/Barrage.js +1 -1
  11. package/dist/packages/_es/Button.js +1 -1
  12. package/dist/packages/_es/Calendar.js +1 -1
  13. package/dist/packages/_es/Card.js +1 -1
  14. package/dist/packages/_es/Cascader.js +1 -1
  15. package/dist/packages/_es/Cell.js +1 -1
  16. package/dist/packages/_es/CellGroup.js +1 -1
  17. package/dist/packages/_es/Checkbox.js +1 -1
  18. package/dist/packages/_es/CheckboxGroup.js +1 -1
  19. package/dist/packages/_es/CircleProgress.js +1 -1
  20. package/dist/packages/_es/Col.js +1 -1
  21. package/dist/packages/_es/Collapse.js +1 -1
  22. package/dist/packages/_es/CollapseItem.js +1 -1
  23. package/dist/packages/_es/CountDown.js +1 -1
  24. package/dist/packages/_es/CountUp.js +1 -1
  25. package/dist/packages/_es/DatePicker.js +1 -1
  26. package/dist/packages/_es/Dialog.js +1 -1
  27. package/dist/packages/_es/Divider.js +1 -1
  28. package/dist/packages/_es/Drag.js +1 -1
  29. package/dist/packages/_es/Elevator.js +1 -1
  30. package/dist/packages/_es/Empty.js +1 -1
  31. package/dist/packages/_es/FixedNav.js +1 -1
  32. package/dist/packages/_es/Form.js +5 -2
  33. package/dist/packages/_es/FormItem.js +1 -1
  34. package/dist/packages/_es/Grid.js +1 -1
  35. package/dist/packages/_es/GridItem.js +1 -1
  36. package/dist/packages/_es/Icon.js +1 -1
  37. package/dist/packages/_es/ImagePreview.js +1 -1
  38. package/dist/packages/_es/Indicator.js +1 -1
  39. package/dist/packages/_es/InfiniteLoading.js +1 -1
  40. package/dist/packages/_es/Input.js +1 -1
  41. package/dist/packages/_es/InputNumber.js +2 -2
  42. package/dist/packages/_es/Layout.js +1 -1
  43. package/dist/packages/_es/Menu.js +3 -3
  44. package/dist/packages/_es/MenuItem.js +1 -1
  45. package/dist/packages/_es/Navbar.js +1 -1
  46. package/dist/packages/_es/NoticeBar.js +1 -1
  47. package/dist/packages/_es/Notify.js +1 -1
  48. package/dist/packages/_es/NumberKeyboard.js +1 -1
  49. package/dist/packages/_es/OverLay.js +1 -1
  50. package/dist/packages/_es/Pagination.js +1 -1
  51. package/dist/packages/_es/Picker.js +1 -1
  52. package/dist/packages/_es/Popover.js +1 -1
  53. package/dist/packages/_es/Popup.js +8 -4
  54. package/dist/packages/_es/Price.js +1 -1
  55. package/dist/packages/_es/Progress.js +1 -1
  56. package/dist/packages/_es/Radio.js +1 -1
  57. package/dist/packages/_es/RadioGroup.js +1 -1
  58. package/dist/packages/_es/Range.js +1 -1
  59. package/dist/packages/_es/Rate.js +1 -1
  60. package/dist/packages/_es/Row.js +1 -1
  61. package/dist/packages/_es/SearchBar.js +1 -1
  62. package/dist/packages/_es/ShortPassword.js +1 -1
  63. package/dist/packages/_es/SideNavBar.js +104 -0
  64. package/dist/packages/_es/SideNavBarItem.js +50 -0
  65. package/dist/packages/_es/Signature.js +1 -1
  66. package/dist/packages/_es/Skeleton.js +1 -1
  67. package/dist/packages/_es/Sku.js +1 -1
  68. package/dist/packages/_es/Step.js +1 -1
  69. package/dist/packages/_es/Steps.js +1 -1
  70. package/dist/packages/_es/SubSideNavBar.js +104 -0
  71. package/dist/packages/_es/Swipe.js +1 -1
  72. package/dist/packages/_es/Swiper.js +1 -1
  73. package/dist/packages/_es/SwiperItem.js +1 -1
  74. package/dist/packages/_es/Switch.js +1 -1
  75. package/dist/packages/_es/TabPane.js +1 -1
  76. package/dist/packages/_es/Tabbar.js +1 -1
  77. package/dist/packages/_es/TabbarItem.js +1 -1
  78. package/dist/packages/_es/Table.js +1 -1
  79. package/dist/packages/_es/Tabs.js +1 -1
  80. package/dist/packages/_es/Tag.js +1 -1
  81. package/dist/packages/_es/TextArea.js +2 -2
  82. package/dist/packages/_es/TimeDetail.js +1 -1
  83. package/dist/packages/_es/TimePannel.js +1 -1
  84. package/dist/packages/_es/TimeSelect.js +1 -1
  85. package/dist/packages/_es/Toast.js +1 -1
  86. package/dist/packages/_es/Uploader.js +1 -1
  87. package/dist/packages/_es/Video.js +1 -1
  88. package/dist/packages/_es/common.js +1 -1
  89. package/dist/packages/_es/component.js +1 -1
  90. package/dist/packages/_es/index.js +1 -1
  91. package/dist/packages/_es/index2.js +1 -1
  92. package/dist/packages/_es/index3.js +1 -1
  93. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  94. package/dist/packages/_es/pxCheck.js +1 -1
  95. package/dist/packages/_es/raf.js +1 -1
  96. package/dist/packages/_es/util.js +1 -1
  97. package/dist/packages/actionsheet/index.scss +2 -2
  98. package/dist/packages/address/index.scss +2 -0
  99. package/dist/packages/cascader/index.scss +13 -13
  100. package/dist/packages/menu/index.scss +10 -6
  101. package/dist/packages/menuitem/index.scss +8 -7
  102. package/dist/packages/noticebar/index.scss +11 -11
  103. package/dist/packages/picker/index.scss +2 -6
  104. package/dist/packages/progress/index.scss +2 -8
  105. package/dist/packages/shortpassword/index.scss +6 -6
  106. package/dist/packages/sidenavbar/index.scss +14 -0
  107. package/dist/packages/sidenavbaritem/index.scss +10 -0
  108. package/dist/packages/sku/index.scss +1 -1
  109. package/dist/packages/subsidenavbar/index.scss +39 -0
  110. package/dist/style.css +1 -1
  111. package/dist/styles/themes/default.scss +38 -35
  112. package/dist/styles/themes/jdd.scss +2 -0
  113. package/dist/styles/variables.scss +72 -68
  114. package/package.json +5 -2
@@ -0,0 +1,104 @@
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
+ /*!
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
+ * (c) 2021 @jdf2e.
23
+ * Released under the MIT License.
24
+ */
25
+ import { ref, reactive, computed, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot } from "vue";
26
+ import { c as createComponent } from "./component.js";
27
+ import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
28
+ const { componentName, create } = createComponent("sidenavbar");
29
+ const _sfc_main = create({
30
+ props: {
31
+ offset: {
32
+ type: [String, Number],
33
+ default: 15
34
+ }
35
+ },
36
+ emits: [],
37
+ setup: (props, context) => {
38
+ const list = ref(null);
39
+ const state = reactive({
40
+ count: 1,
41
+ observer: null
42
+ });
43
+ const classes = computed(() => {
44
+ const prefixCls = componentName;
45
+ return {
46
+ [prefixCls]: true
47
+ };
48
+ });
49
+ const setPaddingLeft = (nodeList, level = 1) => {
50
+ for (let i = 0; i < nodeList.length; i++) {
51
+ let item = nodeList[i];
52
+ item.children[0].style.paddingLeft = props.offset * level + "px";
53
+ if (!item.className.includes("nut-sidenavbaritem")) {
54
+ setPaddingLeft(Array.from(item.children[1].children), ++state.count);
55
+ }
56
+ }
57
+ state.count--;
58
+ };
59
+ const handleSlots = () => {
60
+ let childNodes = list.value.childNodes;
61
+ if (childNodes.length) {
62
+ childNodes = Array.from(childNodes).filter((item) => item.nodeType !== 3).map((item) => {
63
+ return item;
64
+ });
65
+ setPaddingLeft(childNodes);
66
+ }
67
+ };
68
+ onMounted(() => {
69
+ handleSlots();
70
+ state.observer = new MutationObserver(function() {
71
+ state.count = 1;
72
+ handleSlots();
73
+ });
74
+ state.observer.observe(list.value, {
75
+ attributes: false,
76
+ childList: true,
77
+ characterData: false,
78
+ subtree: false
79
+ });
80
+ });
81
+ return __spreadProps(__spreadValues({}, toRefs(state)), {
82
+ list,
83
+ classes
84
+ });
85
+ }
86
+ });
87
+ const _hoisted_1 = { class: "nut-sidenavbar__content" };
88
+ const _hoisted_2 = {
89
+ class: "nut-sidenavbar__content__list",
90
+ ref: "list"
91
+ };
92
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
93
+ return openBlock(), createElementBlock("view", {
94
+ class: normalizeClass(_ctx.classes)
95
+ }, [
96
+ createElementVNode("view", _hoisted_1, [
97
+ createElementVNode("view", _hoisted_2, [
98
+ renderSlot(_ctx.$slots, "default")
99
+ ], 512)
100
+ ])
101
+ ], 2);
102
+ }
103
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
104
+ export { index as default };
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
+ * (c) 2021 @jdf2e.
4
+ * Released under the MIT License.
5
+ */
6
+ import { computed, openBlock, createElementBlock, withModifiers, createElementVNode, toDisplayString } from "vue";
7
+ import { c as createComponent } from "./component.js";
8
+ import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
+ const { componentName, create } = createComponent("sidenavbaritem");
10
+ const _sfc_main = create({
11
+ props: {
12
+ title: {
13
+ type: String,
14
+ default: ""
15
+ },
16
+ ikey: {
17
+ type: String,
18
+ default: ""
19
+ }
20
+ },
21
+ emits: ["click"],
22
+ setup: (props, context) => {
23
+ const classes = computed(() => {
24
+ const prefixCls = componentName;
25
+ return {
26
+ [prefixCls]: true
27
+ };
28
+ });
29
+ const handleClick = () => {
30
+ context.emit("click");
31
+ };
32
+ return {
33
+ classes,
34
+ handleClick
35
+ };
36
+ }
37
+ });
38
+ const _hoisted_1 = ["ikey"];
39
+ const _hoisted_2 = { class: "nut-sidenavbaritem__title" };
40
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
41
+ return openBlock(), createElementBlock("view", {
42
+ class: "nut-sidenavbaritem",
43
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"])),
44
+ ikey: _ctx.ikey
45
+ }, [
46
+ createElementVNode("span", _hoisted_2, toDisplayString(_ctx.title), 1)
47
+ ], 8, _hoisted_1);
48
+ }
49
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
50
+ export { index as default };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -0,0 +1,104 @@
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
+ /*!
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
+ * (c) 2021 @jdf2e.
23
+ * Released under the MIT License.
24
+ */
25
+ import { reactive, computed, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, toDisplayString, createVNode, normalizeStyle, renderSlot } from "vue";
26
+ import { c as createComponent } from "./component.js";
27
+ import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
28
+ const { componentName, create } = createComponent("subsidenavbar");
29
+ const _sfc_main = create({
30
+ props: {
31
+ title: {
32
+ type: String,
33
+ default: ""
34
+ },
35
+ ikey: {
36
+ type: [String, Number],
37
+ default: ""
38
+ },
39
+ open: {
40
+ type: Boolean,
41
+ default: true
42
+ }
43
+ },
44
+ emits: ["title-click"],
45
+ setup: (props, context) => {
46
+ const state = reactive({
47
+ direction: ""
48
+ });
49
+ const classes = computed(() => {
50
+ const prefixCls = componentName;
51
+ return {
52
+ [prefixCls]: true
53
+ };
54
+ });
55
+ const style = computed(() => {
56
+ return {
57
+ height: !state.direction ? "auto" : "0px"
58
+ };
59
+ });
60
+ const handleClick = () => {
61
+ context.emit("title-click");
62
+ state.direction = !state.direction ? "up" : "";
63
+ };
64
+ onMounted(() => {
65
+ state.direction = props.open ? "" : "up";
66
+ });
67
+ return __spreadProps(__spreadValues({}, toRefs(state)), {
68
+ classes,
69
+ style,
70
+ handleClick
71
+ });
72
+ }
73
+ });
74
+ const _hoisted_1 = ["ikey"];
75
+ const _hoisted_2 = { class: "nut-subsidenavbar__title__text" };
76
+ const _hoisted_3 = { class: "nut-subsidenavbar__title__icon" };
77
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
78
+ const _component_nut_icon = resolveComponent("nut-icon");
79
+ return openBlock(), createElementBlock("view", {
80
+ class: normalizeClass(_ctx.classes),
81
+ ikey: _ctx.ikey
82
+ }, [
83
+ createElementVNode("view", {
84
+ class: "nut-subsidenavbar__title",
85
+ onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"]))
86
+ }, [
87
+ createElementVNode("span", _hoisted_2, toDisplayString(_ctx.title), 1),
88
+ createElementVNode("span", _hoisted_3, [
89
+ createVNode(_component_nut_icon, {
90
+ name: "down-arrow",
91
+ class: normalizeClass(_ctx.direction)
92
+ }, null, 8, ["class"])
93
+ ])
94
+ ]),
95
+ createElementVNode("view", {
96
+ class: normalizeClass(["nut-subsidenavbar__list", !_ctx.direction ? "nutFadeIn" : "nutFadeOut"]),
97
+ style: normalizeStyle(_ctx.style)
98
+ }, [
99
+ renderSlot(_ctx.$slots, "default")
100
+ ], 6)
101
+ ], 10, _hoisted_1);
102
+ }
103
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
104
+ export { index as default };
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -19,7 +19,7 @@ var __publicField = (obj, key, value) => {
19
19
  return value;
20
20
  };
21
21
  /*!
22
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
22
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
23
23
  * (c) 2021 @jdf2e.
24
24
  * Released under the MIT License.
25
25
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -65,8 +65,8 @@ const _sfc_main = create({
65
65
  if (props.maxLength && value.length > Number(props.maxLength)) {
66
66
  value = value.substring(0, Number(props.maxLength));
67
67
  }
68
- emit("change", value, event);
69
68
  emit("update:modelValue", value, event);
69
+ emit("change", value, event);
70
70
  };
71
71
  const change = (event) => {
72
72
  const input = event.target;
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -19,7 +19,7 @@ var __publicField = (obj, key, value) => {
19
19
  return value;
20
20
  };
21
21
  /*!
22
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
22
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
23
23
  * (c) 2021 @jdf2e.
24
24
  * Released under the MIT License.
25
25
  */
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  /*!
21
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
21
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
22
22
  * (c) 2021 @jdf2e.
23
23
  * Released under the MIT License.
24
24
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 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.15-beta.0 Thu Dec 23 2021 17:12:09 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.15-beta.1 Mon Jan 10 2022 12:18:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -6,7 +6,7 @@
6
6
  margin: 0;
7
7
  text-align: center;
8
8
  background-color: $white;
9
- border-bottom: 1px solid $light-color;
9
+ border-bottom: 1px solid $actionsheet-light-color;
10
10
  font-size: $font-size-base;
11
11
  color: $title-color;
12
12
  }
@@ -63,6 +63,6 @@
63
63
 
64
64
  .nut-actionsheet-cancel {
65
65
  margin-top: 5px;
66
- border-top: 1px solid $light-color;
66
+ border-top: 1px solid $actionsheet-light-color;
67
67
  }
68
68
  }
@@ -80,6 +80,7 @@
80
80
 
81
81
  .region-item-icon {
82
82
  margin-right: 6px;
83
+ color: $address-icon-color !important;
83
84
  }
84
85
  }
85
86
  }
@@ -115,6 +116,7 @@
115
116
  }
116
117
  .exist-item-icon {
117
118
  margin-right: 9px;
119
+ color: $address-icon-color !important;
118
120
  }
119
121
  span {
120
122
  display: inline-block;
@@ -1,7 +1,7 @@
1
1
  .nut-cascader {
2
2
  width: 100%;
3
- font-size: $nut-cascader-font-size;
4
- line-height: $nut-cascader-line-height;
3
+ font-size: $cascader-font-size;
4
+ line-height: $cascader-line-height;
5
5
 
6
6
  .nut-tabpane {
7
7
  padding: 0;
@@ -10,12 +10,12 @@
10
10
  .nut-tabs__titles-item {
11
11
  flex: initial;
12
12
  min-width: auto;
13
- padding: $nut-cascader-tabs-item-padding;
13
+ padding: $cascader-tabs-item-padding;
14
14
  white-space: nowrap;
15
15
  }
16
16
 
17
17
  .nut-tabs__titles {
18
- padding: $nut-cascader-tabs-item-padding;
18
+ padding: $cascader-tabs-item-padding;
19
19
  background: #fff;
20
20
  }
21
21
 
@@ -23,12 +23,12 @@
23
23
  display: flex;
24
24
  justify-content: center;
25
25
  align-items: center;
26
- padding: $nut-cascader-bar-padding;
26
+ padding: $cascader-bar-padding;
27
27
  text-align: center;
28
28
  font-weight: bold;
29
- line-height: $nut-cascader-bar-line-height;
30
- color: $nut-cascader-bar-color;
31
- font-size: $nut-cascader-bar-font-size;
29
+ line-height: $cascader-bar-line-height;
30
+ color: $cascader-bar-color;
31
+ font-size: $cascader-bar-font-size;
32
32
  }
33
33
 
34
34
  &-pane {
@@ -45,11 +45,11 @@
45
45
  &-item {
46
46
  display: flex;
47
47
  align-items: center;
48
- padding: $nut-cascader-item-padding;
48
+ padding: $cascader-item-padding;
49
49
  margin: 0;
50
50
  cursor: pointer;
51
- font-size: $nut-cascader-item-font-size;
52
- color: $nut-cascader-item-color;
51
+ font-size: $cascader-item-font-size;
52
+ color: $cascader-item-color;
53
53
 
54
54
  &__title {
55
55
  flex: 1;
@@ -65,12 +65,12 @@
65
65
  }
66
66
 
67
67
  &.active:not(.disabled) {
68
- color: $nut-cascader-item-active-color;
68
+ color: $cascader-item-active-color;
69
69
  }
70
70
 
71
71
  &.active &__icon-check {
72
72
  visibility: visible;
73
- color: $nut-cascader-item-active-color;
73
+ color: $cascader-item-active-color;
74
74
  }
75
75
 
76
76
  &.disabled {