@nutui/nutui 4.0.12-beta.1 → 4.0.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 (158) hide show
  1. package/dist/nutui.es.js +1 -1
  2. package/dist/nutui.js +1 -1
  3. package/dist/nutui.umd.js +1 -1
  4. package/dist/packages/_es/ActionSheet.js +111 -78
  5. package/dist/packages/_es/Address.js +375 -250
  6. package/dist/packages/_es/AddressList.js +354 -269
  7. package/dist/packages/_es/Animate.js +58 -41
  8. package/dist/packages/_es/Audio.js +197 -128
  9. package/dist/packages/_es/AudioOperate.js +71 -60
  10. package/dist/packages/_es/Avatar.js +89 -66
  11. package/dist/packages/_es/AvatarGroup.js +31 -23
  12. package/dist/packages/_es/Backtop.js +99 -59
  13. package/dist/packages/_es/Badge.js +47 -36
  14. package/dist/packages/_es/Barrage.js +147 -68
  15. package/dist/packages/_es/Button.js +66 -47
  16. package/dist/packages/_es/Calendar.js +157 -135
  17. package/dist/packages/_es/CalendarItem.js +6 -6
  18. package/dist/packages/_es/Card.js +56 -42
  19. package/dist/packages/_es/Cascader.js +474 -315
  20. package/dist/packages/_es/Category.js +39 -29
  21. package/dist/packages/_es/CategoryPane.js +83 -57
  22. package/dist/packages/_es/Cell.js +71 -56
  23. package/dist/packages/_es/CellGroup.js +27 -19
  24. package/dist/packages/_es/Checkbox.js +156 -109
  25. package/dist/packages/_es/CheckboxGroup.js +59 -38
  26. package/dist/packages/_es/CircleProgress.js +96 -67
  27. package/dist/packages/_es/Col.js +31 -23
  28. package/dist/packages/_es/Collapse.js +58 -33
  29. package/dist/packages/_es/CollapseItem.js +108 -78
  30. package/dist/packages/_es/Comment.js +279 -207
  31. package/dist/packages/_es/ConfigProvider.js +55 -37
  32. package/dist/packages/_es/Countdown.js +212 -100
  33. package/dist/packages/_es/Countup.js +445 -232
  34. package/dist/packages/_es/DatePicker.js +265 -162
  35. package/dist/packages/_es/Dialog.js +213 -161
  36. package/dist/packages/_es/Divider.js +57 -42
  37. package/dist/packages/_es/Drag.js +153 -70
  38. package/dist/packages/_es/Ecard.js +104 -64
  39. package/dist/packages/_es/Elevator.js +219 -143
  40. package/dist/packages/_es/Ellipsis.js +178 -95
  41. package/dist/packages/_es/Empty.js +39 -23
  42. package/dist/packages/_es/FixedNav.js +116 -93
  43. package/dist/packages/_es/Form.js +178 -107
  44. package/dist/packages/_es/FormItem.js +61 -48
  45. package/dist/packages/_es/Grid.js +6 -5
  46. package/dist/packages/_es/GridItem.js +84 -58
  47. package/dist/packages/_es/Image.js +130 -90
  48. package/dist/packages/_es/ImagePreview.js +412 -256
  49. package/dist/packages/_es/Indicator.js +34 -30
  50. package/dist/packages/_es/InfiniteLoading.js +136 -83
  51. package/dist/packages/_es/Input.js +264 -160
  52. package/dist/packages/_es/InputNumber.js +117 -81
  53. package/dist/packages/_es/Interceptor-956b24fc.js +29 -0
  54. package/dist/packages/_es/Invoice.js +130 -104
  55. package/dist/packages/_es/Layout.js +4 -3
  56. package/dist/packages/_es/List.js +215 -117
  57. package/dist/packages/_es/Menu.js +150 -95
  58. package/dist/packages/_es/MenuItem.js +154 -109
  59. package/dist/packages/_es/Navbar.js +119 -103
  60. package/dist/packages/_es/Noticebar.js +312 -197
  61. package/dist/packages/_es/Notify.js +166 -110
  62. package/dist/packages/_es/NumberKeyboard.js +202 -127
  63. package/dist/packages/_es/Overlay.js +80 -52
  64. package/dist/packages/_es/Pagination.js +100 -70
  65. package/dist/packages/_es/Picker.js +437 -275
  66. package/dist/packages/_es/Popover.js +225 -122
  67. package/dist/packages/_es/Popup.js +4 -4
  68. package/dist/packages/_es/Price.js +82 -44
  69. package/dist/packages/_es/Progress.js +79 -63
  70. package/dist/packages/_es/PullRefresh.js +173 -95
  71. package/dist/packages/_es/Radio.js +4 -4
  72. package/dist/packages/_es/RadioGroup.js +3 -3
  73. package/dist/packages/_es/Range.js +347 -204
  74. package/dist/packages/_es/Rate.js +141 -92
  75. package/dist/packages/_es/Row.js +27 -21
  76. package/dist/packages/_es/Searchbar.js +174 -123
  77. package/dist/packages/_es/ShortPassword.js +93 -69
  78. package/dist/packages/_es/SideNavbar.js +80 -49
  79. package/dist/packages/_es/SideNavbarItem.js +32 -22
  80. package/dist/packages/_es/Signature.js +146 -83
  81. package/dist/packages/_es/Skeleton.js +130 -110
  82. package/dist/packages/_es/Sku.js +343 -250
  83. package/dist/packages/_es/Step.js +86 -59
  84. package/dist/packages/_es/Steps.js +31 -26
  85. package/dist/packages/_es/Sticky.js +4 -4
  86. package/dist/packages/_es/SubSideNavbar.js +74 -52
  87. package/dist/packages/_es/Swipe.js +155 -83
  88. package/dist/packages/_es/Swiper.js +311 -174
  89. package/dist/packages/_es/SwiperItem.js +44 -28
  90. package/dist/packages/_es/Switch.js +68 -55
  91. package/dist/packages/_es/TabPane.js +41 -30
  92. package/dist/packages/_es/Tabbar.js +52 -41
  93. package/dist/packages/_es/TabbarItem.js +82 -61
  94. package/dist/packages/_es/Table.js +165 -109
  95. package/dist/packages/_es/Tabs.js +388 -240
  96. package/dist/packages/_es/Tag.js +61 -44
  97. package/dist/packages/_es/Textarea.js +124 -80
  98. package/dist/packages/_es/TimeDetail.js +76 -49
  99. package/dist/packages/_es/TimePannel.js +48 -34
  100. package/dist/packages/_es/TimeSelect.js +68 -47
  101. package/dist/packages/_es/Toast.js +218 -144
  102. package/dist/packages/_es/Tour.js +192 -138
  103. package/dist/packages/_es/TrendArrow.js +77 -57
  104. package/dist/packages/_es/Uploader.js +359 -234
  105. package/dist/packages/_es/Video.js +316 -191
  106. package/dist/packages/_es/Watermark.js +117 -84
  107. package/dist/packages/_es/_plugin-vue_export-helper-cc2b3d55.js +10 -0
  108. package/dist/packages/_es/common-b9a5e726.js +145 -0
  109. package/dist/packages/_es/component-81a4c1d0.js +145 -0
  110. package/dist/packages/_es/index-29892cda.js +33 -0
  111. package/dist/packages/_es/index-43c34ac6.js +30 -0
  112. package/dist/packages/_es/index-54d03fc1.js +8 -0
  113. package/dist/packages/_es/index-79c5dc33.js +10 -0
  114. package/dist/packages/_es/index-7a7385e4.js +67 -0
  115. package/dist/packages/_es/index-87422be8.js +942 -0
  116. package/dist/packages/_es/index-da0a7662.js +259 -0
  117. package/dist/packages/_es/index.vue_vue_type_script_lang-22dfc112.js +46 -0
  118. package/dist/packages/_es/index.vue_vue_type_script_lang-a8856969.js +97 -0
  119. package/dist/packages/_es/index.vue_vue_type_script_lang-cc5c4086.js +151 -0
  120. package/dist/packages/_es/mountComponent-8b24c346.js +39 -0
  121. package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
  122. package/dist/packages/_es/raf-729dad54.js +25 -0
  123. package/dist/packages/_es/renderIcon-3d0fd47c.js +9 -0
  124. package/dist/packages/locale/lang/baseLang-3a8457ac.js +5 -0
  125. package/dist/packages/locale/lang/en-US.js +39 -36
  126. package/dist/packages/locale/lang/id-ID.js +39 -36
  127. package/dist/packages/locale/lang/index.js +44 -22
  128. package/dist/packages/locale/lang/zh-CN.js +38 -35
  129. package/dist/packages/locale/lang/zh-TW.js +38 -35
  130. package/dist/resolver/index.js +26 -1
  131. package/dist/resolver/index.mjs +17 -14
  132. package/dist/smartips/web-types.json +1 -1
  133. package/dist/style.css +1 -1
  134. package/dist/styles/themes/default.scss +50 -50
  135. package/dist/styles/themes/jdb.scss +50 -50
  136. package/dist/styles/themes/jddkh.scss +50 -50
  137. package/dist/styles/themes/jdt.scss +50 -50
  138. package/dist/types/index.d.ts +1 -1
  139. package/package.json +2 -2
  140. package/dist/packages/_es/Interceptor-6e26b757.js +0 -18
  141. package/dist/packages/_es/_plugin-vue_export-helper-dad06003.js +0 -9
  142. package/dist/packages/_es/common-d218746f.js +0 -116
  143. package/dist/packages/_es/component-234624bc.js +0 -89
  144. package/dist/packages/_es/index-14dfadc4.js +0 -561
  145. package/dist/packages/_es/index-192a3ef6.js +0 -29
  146. package/dist/packages/_es/index-360c5092.js +0 -210
  147. package/dist/packages/_es/index-496e6e05.js +0 -24
  148. package/dist/packages/_es/index-50eed3d9.js +0 -7
  149. package/dist/packages/_es/index-53ec2d4d.js +0 -34
  150. package/dist/packages/_es/index-fadb0974.js +0 -8
  151. package/dist/packages/_es/index.vue_vue_type_script_lang-1139b29a.js +0 -43
  152. package/dist/packages/_es/index.vue_vue_type_script_lang-43b774dd.js +0 -77
  153. package/dist/packages/_es/index.vue_vue_type_script_lang-f44c159d.js +0 -110
  154. package/dist/packages/_es/mountComponent-6d4ff200.js +0 -23
  155. package/dist/packages/_es/pxCheck-38173291.js +0 -4
  156. package/dist/packages/_es/raf-a74f1a06.js +0 -16
  157. package/dist/packages/_es/renderIcon-47498b32.js +0 -5
  158. package/dist/packages/locale/lang/baseLang-0bdc6353.js +0 -5
@@ -1,16 +1,17 @@
1
- import { toRefs as T, ref as v, computed as C, onMounted as R, nextTick as z, resolveComponent as N, openBlock as l, createElementBlock as o, createElementVNode as r, normalizeClass as g, normalizeStyle as m, renderSlot as s, createVNode as w, createCommentVNode as a, toDisplayString as d } from "vue";
2
- import { c as V } from "./component-234624bc.js";
3
- import { Left as A } from "@nutui/icons-vue";
4
- import { _ as E } from "./_plugin-vue_export-helper-dad06003.js";
1
+ import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createVNode, createCommentVNode, toDisplayString } from "vue";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { Left } from "@nutui/icons-vue";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
6
- const { componentName: W, create: D } = V("navbar"), H = D({
7
- components: { Left: A },
6
+ const { componentName, create } = createComponent("navbar");
7
+ const _sfc_main = create({
8
+ components: { Left },
8
9
  props: {
9
- leftShow: { type: Boolean, default: !1 },
10
+ leftShow: { type: Boolean, default: false },
10
11
  //左侧 是否显示返回icon
11
12
  title: { type: String, default: "" },
12
13
  //中间 文字标题
13
- titleIcon: { type: Boolean, default: !1 },
14
+ titleIcon: { type: Boolean, default: false },
14
15
  //中间
15
16
  leftText: { type: String, default: "" },
16
17
  //左侧文字
@@ -18,20 +19,20 @@ const { componentName: W, create: D } = V("navbar"), H = D({
18
19
  //右侧 按钮文字
19
20
  fixed: {
20
21
  type: Boolean,
21
- default: !1
22
+ default: false
22
23
  },
23
24
  safeAreaInsetTop: {
24
25
  type: Boolean,
25
- default: !1
26
+ default: false
26
27
  },
27
28
  border: {
28
29
  type: Boolean,
29
- default: !1
30
+ default: false
30
31
  },
31
32
  placeholder: {
32
33
  // 生成一个等高的占位元素
33
34
  type: Boolean,
34
- default: !0
35
+ default: true
35
36
  },
36
37
  zIndex: {
37
38
  type: [Number, String],
@@ -39,157 +40,172 @@ const { componentName: W, create: D } = V("navbar"), H = D({
39
40
  }
40
41
  },
41
42
  emits: ["on-click-back", "on-click-title", "on-click-icon", "on-click-right"],
42
- setup(e, { emit: t }) {
43
- const { border: h, fixed: p, safeAreaInsetTop: k, placeholder: c, zIndex: f } = T(e), n = v(null), u = v(null);
44
- let y = v();
45
- const b = C(() => {
46
- const i = W;
43
+ setup(props, { emit }) {
44
+ const { border, fixed, safeAreaInsetTop, placeholder, zIndex } = toRefs(props);
45
+ const navBarWrap = ref(null);
46
+ const navBarHtml = ref(null);
47
+ let navHeight = ref();
48
+ const classes = computed(() => {
49
+ const prefixCls = componentName;
47
50
  return {
48
- [i]: !0,
49
- [`${i}--border`]: h.value,
50
- [`${i}--fixed`]: p.value,
51
- [`${i}--safe-area-inset-top`]: k.value
51
+ [prefixCls]: true,
52
+ [`${prefixCls}--border`]: border.value,
53
+ [`${prefixCls}--fixed`]: fixed.value,
54
+ [`${prefixCls}--safe-area-inset-top`]: safeAreaInsetTop.value
52
55
  };
53
- }), I = C(() => ({
54
- zIndex: f.value
55
- }));
56
- R(() => {
57
- p.value && c.value && z(() => {
58
- var i;
59
- y.value = (i = u == null ? void 0 : u.value) == null ? void 0 : i.getBoundingClientRect().height, n.value.style.height = y.value + "px";
60
- });
61
56
  });
62
- function $() {
63
- t("on-click-back");
57
+ const styles = computed(() => {
58
+ return {
59
+ zIndex: zIndex.value
60
+ };
61
+ });
62
+ onMounted(() => {
63
+ if (fixed.value && placeholder.value) {
64
+ nextTick(() => {
65
+ var _a;
66
+ navHeight.value = (_a = navBarHtml == null ? void 0 : navBarHtml.value) == null ? void 0 : _a.getBoundingClientRect().height;
67
+ navBarWrap.value.style.height = navHeight.value + "px";
68
+ });
69
+ }
70
+ });
71
+ function handleLeft() {
72
+ emit("on-click-back");
64
73
  }
65
- function B() {
66
- t("on-click-title");
74
+ function handleCenter() {
75
+ emit("on-click-title");
67
76
  }
68
- function S() {
69
- t("on-click-icon");
77
+ function handleCenterIcon() {
78
+ emit("on-click-icon");
70
79
  }
71
- function L() {
72
- t("on-click-right");
80
+ function handleRight() {
81
+ emit("on-click-right");
73
82
  }
74
83
  return {
75
- navBarWrap: n,
76
- navBarHtml: u,
77
- classes: b,
78
- styles: I,
79
- handleLeft: $,
80
- handleCenter: B,
81
- handleCenterIcon: S,
82
- handleRight: L
84
+ navBarWrap,
85
+ navBarHtml,
86
+ classes,
87
+ styles,
88
+ handleLeft,
89
+ handleCenter,
90
+ handleCenterIcon,
91
+ handleRight
83
92
  };
84
93
  }
85
- }), M = {
94
+ });
95
+ const _hoisted_1 = {
86
96
  key: 0,
87
97
  class: "nut-navbar--placeholder",
88
98
  ref: "navBarWrap"
89
- }, j = {
99
+ };
100
+ const _hoisted_2 = {
90
101
  key: 1,
91
102
  class: "nut-navbar__text"
92
- }, q = { class: "nut-navbar__title" }, F = {
103
+ };
104
+ const _hoisted_3 = { class: "nut-navbar__title" };
105
+ const _hoisted_4 = {
93
106
  key: 0,
94
107
  class: "nut-navbar__text"
95
- }, G = {
108
+ };
109
+ const _hoisted_5 = {
96
110
  key: 1,
97
111
  class: "nut-navbar__text"
98
- }, J = { class: "nut-navbar__title" }, K = {
112
+ };
113
+ const _hoisted_6 = { class: "nut-navbar__title" };
114
+ const _hoisted_7 = {
99
115
  key: 0,
100
116
  class: "nut-navbar__text"
101
117
  };
102
- function O(e, t, h, p, k, c) {
103
- const f = N("Left");
104
- return e.fixed && e.placeholder ? (l(), o("view", M, [
105
- r("view", {
106
- class: g(e.classes),
107
- style: m(e.styles),
118
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
119
+ const _component_Left = resolveComponent("Left");
120
+ return _ctx.fixed && _ctx.placeholder ? (openBlock(), createElementBlock("view", _hoisted_1, [
121
+ createElementVNode("view", {
122
+ class: normalizeClass(_ctx.classes),
123
+ style: normalizeStyle(_ctx.styles),
108
124
  ref: "navBarHtml"
109
125
  }, [
110
- r("view", {
126
+ createElementVNode("view", {
111
127
  class: "nut-navbar__left",
112
- onClick: t[0] || (t[0] = (...n) => e.handleLeft && e.handleLeft(...n))
128
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleLeft && _ctx.handleLeft(...args))
113
129
  }, [
114
- e.leftShow ? s(e.$slots, "left-show", { key: 0 }, () => [
115
- w(f, {
130
+ _ctx.leftShow ? renderSlot(_ctx.$slots, "left-show", { key: 0 }, () => [
131
+ createVNode(_component_Left, {
116
132
  height: "12px",
117
133
  color: "#979797"
118
134
  })
119
- ]) : a("", !0),
120
- e.leftText ? (l(), o("view", j, d(e.leftText), 1)) : a("", !0),
121
- s(e.$slots, "left")
135
+ ]) : createCommentVNode("", true),
136
+ _ctx.leftText ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.leftText), 1)) : createCommentVNode("", true),
137
+ renderSlot(_ctx.$slots, "left")
122
138
  ]),
123
- r("view", q, [
124
- e.title ? (l(), o("view", {
139
+ createElementVNode("view", _hoisted_3, [
140
+ _ctx.title ? (openBlock(), createElementBlock("view", {
125
141
  key: 0,
126
142
  class: "title",
127
- onClick: t[1] || (t[1] = (...n) => e.handleCenter && e.handleCenter(...n))
128
- }, d(e.title), 1)) : a("", !0),
129
- e.titleIcon ? (l(), o("view", {
143
+ onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
144
+ }, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
145
+ _ctx.titleIcon ? (openBlock(), createElementBlock("view", {
130
146
  key: 1,
131
147
  class: "icon",
132
- onClick: t[3] || (t[3] = (...n) => e.handleCenterIcon && e.handleCenterIcon(...n))
148
+ onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
133
149
  }, [
134
- s(e.$slots, "title-icon", {
135
- onClick: t[2] || (t[2] = (...n) => e.handleCenterIcon && e.handleCenterIcon(...n))
150
+ renderSlot(_ctx.$slots, "title-icon", {
151
+ onClick: _cache[2] || (_cache[2] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
136
152
  })
137
- ])) : a("", !0),
138
- s(e.$slots, "content")
153
+ ])) : createCommentVNode("", true),
154
+ renderSlot(_ctx.$slots, "content")
139
155
  ]),
140
- r("view", {
156
+ createElementVNode("view", {
141
157
  class: "nut-navbar__right",
142
- onClick: t[4] || (t[4] = (...n) => e.handleRight && e.handleRight(...n))
158
+ onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleRight && _ctx.handleRight(...args))
143
159
  }, [
144
- e.desc ? (l(), o("view", F, d(e.desc), 1)) : a("", !0),
145
- s(e.$slots, "right")
160
+ _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_4, toDisplayString(_ctx.desc), 1)) : createCommentVNode("", true),
161
+ renderSlot(_ctx.$slots, "right")
146
162
  ])
147
163
  ], 6)
148
- ], 512)) : (l(), o("view", {
164
+ ], 512)) : (openBlock(), createElementBlock("view", {
149
165
  key: 1,
150
- class: g(e.classes),
151
- style: m(e.styles)
166
+ class: normalizeClass(_ctx.classes),
167
+ style: normalizeStyle(_ctx.styles)
152
168
  }, [
153
- r("view", {
169
+ createElementVNode("view", {
154
170
  class: "nut-navbar__left",
155
- onClick: t[5] || (t[5] = (...n) => e.handleLeft && e.handleLeft(...n))
171
+ onClick: _cache[5] || (_cache[5] = (...args) => _ctx.handleLeft && _ctx.handleLeft(...args))
156
172
  }, [
157
- e.leftShow ? s(e.$slots, "left-show", { key: 0 }, () => [
158
- w(f, {
173
+ _ctx.leftShow ? renderSlot(_ctx.$slots, "left-show", { key: 0 }, () => [
174
+ createVNode(_component_Left, {
159
175
  height: "12px",
160
176
  color: "#979797"
161
177
  })
162
- ]) : a("", !0),
163
- e.leftText ? (l(), o("view", G, d(e.leftText), 1)) : a("", !0),
164
- s(e.$slots, "left")
178
+ ]) : createCommentVNode("", true),
179
+ _ctx.leftText ? (openBlock(), createElementBlock("view", _hoisted_5, toDisplayString(_ctx.leftText), 1)) : createCommentVNode("", true),
180
+ renderSlot(_ctx.$slots, "left")
165
181
  ]),
166
- r("view", J, [
167
- e.title ? (l(), o("view", {
182
+ createElementVNode("view", _hoisted_6, [
183
+ _ctx.title ? (openBlock(), createElementBlock("view", {
168
184
  key: 0,
169
185
  class: "title",
170
- onClick: t[6] || (t[6] = (...n) => e.handleCenter && e.handleCenter(...n))
171
- }, d(e.title), 1)) : a("", !0),
172
- e.titleIcon ? (l(), o("view", {
186
+ onClick: _cache[6] || (_cache[6] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
187
+ }, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
188
+ _ctx.titleIcon ? (openBlock(), createElementBlock("view", {
173
189
  key: 1,
174
190
  class: "icon",
175
- onClick: t[8] || (t[8] = (...n) => e.handleCenterIcon && e.handleCenterIcon(...n))
191
+ onClick: _cache[8] || (_cache[8] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
176
192
  }, [
177
- s(e.$slots, "title-icon", {
178
- onClick: t[7] || (t[7] = (...n) => e.handleCenterIcon && e.handleCenterIcon(...n))
193
+ renderSlot(_ctx.$slots, "title-icon", {
194
+ onClick: _cache[7] || (_cache[7] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
179
195
  })
180
- ])) : a("", !0),
181
- s(e.$slots, "content")
196
+ ])) : createCommentVNode("", true),
197
+ renderSlot(_ctx.$slots, "content")
182
198
  ]),
183
- r("view", {
199
+ createElementVNode("view", {
184
200
  class: "nut-navbar__right",
185
- onClick: t[9] || (t[9] = (...n) => e.handleRight && e.handleRight(...n))
201
+ onClick: _cache[9] || (_cache[9] = (...args) => _ctx.handleRight && _ctx.handleRight(...args))
186
202
  }, [
187
- e.desc ? (l(), o("view", K, d(e.desc), 1)) : a("", !0),
188
- s(e.$slots, "right")
203
+ _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_7, toDisplayString(_ctx.desc), 1)) : createCommentVNode("", true),
204
+ renderSlot(_ctx.$slots, "right")
189
205
  ])
190
206
  ], 6));
191
207
  }
192
- const Z = /* @__PURE__ */ E(H, [["render", O]]);
208
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
193
209
  export {
194
- Z as default
210
+ index as default
195
211
  };