@nutui/nutui 4.0.11 → 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 +2 -2
  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 +48 -48
  135. package/dist/styles/themes/jdb.scss +48 -48
  136. package/dist/styles/themes/jddkh.scss +48 -48
  137. package/dist/styles/themes/jdt.scss +48 -48
  138. package/dist/types/index.d.ts +1 -1
  139. package/package.json +3 -4
  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,45 +1,58 @@
1
- var R = Object.defineProperty, L = Object.defineProperties;
2
- var T = Object.getOwnPropertyDescriptors;
3
- var w = Object.getOwnPropertySymbols;
4
- var V = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
- var D = (e, n, r) => n in e ? R(e, n, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[n] = r, g = (e, n) => {
6
- for (var r in n || (n = {}))
7
- V.call(n, r) && D(e, r, n[r]);
8
- if (w)
9
- for (var r of w(n))
10
- j.call(n, r) && D(e, r, n[r]);
11
- return e;
12
- }, v = (e, n) => L(e, T(n));
13
- import { defineComponent as z, h as E, reactive as F, computed as H, watch as M, toRefs as O, resolveComponent as $, openBlock as o, createElementBlock as a, normalizeClass as _, createElementVNode as c, Fragment as h, renderList as p, normalizeStyle as S, createTextVNode as q, toDisplayString as b, renderSlot as I, createBlock as A, createCommentVNode as m } from "vue";
14
- import { c as G } from "./component-234624bc.js";
15
- import { DownArrow as J } from "@nutui/icons-vue";
16
- import { _ as K } from "./_plugin-vue_export-helper-dad06003.js";
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
+ import { defineComponent, h, reactive, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
21
+ import { c as createComponent } from "./component-81a4c1d0.js";
22
+ import { DownArrow } from "@nutui/icons-vue";
23
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
17
24
  import "../locale/lang";
18
- const P = z({
19
- setup(e) {
20
- return () => E("view", {}, e.slots[0] ? e.slots[0](e.record) : e.slots[1](e.record));
25
+ const RenderColumn = defineComponent({
26
+ setup(props) {
27
+ return () => h(`view`, {}, props.slots[0] ? props.slots[0](props.record) : props.slots[1](props.record));
21
28
  },
22
29
  props: {
23
30
  slots: Array,
24
31
  record: Object
25
32
  }
26
- }), { componentName: Q, create: U, translate: W } = G("table"), X = U({
33
+ });
34
+ const { componentName, create, translate } = createComponent("table");
35
+ const _sfc_main = create({
27
36
  components: {
28
- RenderColumn: P,
29
- DownArrow: J
37
+ RenderColumn,
38
+ DownArrow
30
39
  },
31
40
  props: {
32
41
  bordered: {
33
42
  type: Boolean,
34
- default: !0
43
+ default: true
35
44
  },
36
45
  columns: {
37
46
  type: Array,
38
- default: () => []
47
+ default: () => {
48
+ return [];
49
+ }
39
50
  },
40
51
  data: {
41
52
  type: Object,
42
- default: () => ({})
53
+ default: () => {
54
+ return {};
55
+ }
43
56
  },
44
57
  summary: {
45
58
  type: Function,
@@ -47,113 +60,156 @@ const P = z({
47
60
  },
48
61
  striped: {
49
62
  type: Boolean,
50
- default: !1
63
+ default: false
51
64
  }
52
65
  },
53
66
  emits: ["sorter"],
54
- setup(e, { emit: n, slots: r }) {
55
- const u = F({
56
- curData: e.data
57
- }), C = H(() => ({
58
- [Q]: !0
59
- })), k = (t) => ({
60
- "nut-table__main__head__tr--border": e.bordered,
61
- [`nut-table__main__head__tr--align${t.align ? t.align : ""}`]: !0
62
- }), y = (t) => t.stylehead ? t.stylehead : "", f = (t) => t.stylecolumn ? t.stylecolumn : "", s = (t) => e.columns.filter((i) => i.key === t)[0], l = (t) => {
63
- const i = e.columns.filter((N) => N.key === t);
64
- return i[0].stylecolumn ? i[0].stylecolumn : "";
65
- }, d = (t) => {
66
- t.sorter && (n("sorter", t), u.curData = typeof t.sorter == "function" ? u.curData.sort(t.sorter) : t.sorter === "default" ? u.curData.sort() : u.curData);
67
- }, B = () => e.columns.map((t) => [t.key, t.render]);
68
- return M(
69
- () => e.data,
70
- (t) => {
71
- u.curData = t.slice();
67
+ setup(props, { emit, slots }) {
68
+ const state = reactive({
69
+ curData: props.data
70
+ });
71
+ const classes = computed(() => {
72
+ const prefixCls = componentName;
73
+ return {
74
+ [prefixCls]: true
75
+ };
76
+ });
77
+ const cellClasses = (item) => {
78
+ return {
79
+ "nut-table__main__head__tr--border": props.bordered,
80
+ [`nut-table__main__head__tr--align${item.align ? item.align : ""}`]: true
81
+ };
82
+ };
83
+ const stylehead = (item) => {
84
+ return item.stylehead ? item.stylehead : "";
85
+ };
86
+ const stylecolumn = (item) => {
87
+ return item.stylecolumn ? item.stylecolumn : "";
88
+ };
89
+ const getColumnItem = (value) => {
90
+ return props.columns.filter((item) => item.key === value)[0];
91
+ };
92
+ const getColumnItemStyle = (value) => {
93
+ const style = props.columns.filter((item) => item.key === value);
94
+ return style[0].stylecolumn ? style[0].stylecolumn : "";
95
+ };
96
+ const handleSorterClick = (item) => {
97
+ if (item.sorter) {
98
+ emit("sorter", item);
99
+ state.curData = typeof item.sorter === "function" ? state.curData.sort(item.sorter) : item.sorter === "default" ? state.curData.sort() : state.curData;
72
100
  }
73
- ), v(g({}, O(u)), {
74
- classes: C,
75
- cellClasses: k,
76
- getColumnItem: s,
77
- getColumnItemStyle: l,
78
- handleSorterClick: d,
79
- sortDataItem: B,
80
- translate: W,
81
- stylehead: y,
82
- stylecolumn: f
101
+ };
102
+ const sortDataItem = () => {
103
+ return props.columns.map((columns) => {
104
+ return [columns.key, columns.render];
105
+ });
106
+ };
107
+ watch(
108
+ () => props.data,
109
+ (val) => {
110
+ state.curData = val.slice();
111
+ }
112
+ );
113
+ return __spreadProps(__spreadValues({}, toRefs(state)), {
114
+ classes,
115
+ cellClasses,
116
+ getColumnItem,
117
+ getColumnItemStyle,
118
+ handleSorterClick,
119
+ sortDataItem,
120
+ translate,
121
+ stylehead,
122
+ stylecolumn
83
123
  });
84
124
  }
85
- }), Y = { class: "nut-table__main__head" }, Z = { class: "nut-table__main__head__tr" }, x = ["onClick"], ee = { class: "nut-table__main__body" }, te = { key: 1 }, ne = {
125
+ });
126
+ const _hoisted_1 = { class: "nut-table__main__head" };
127
+ const _hoisted_2 = { class: "nut-table__main__head__tr" };
128
+ const _hoisted_3 = ["onClick"];
129
+ const _hoisted_4 = { class: "nut-table__main__body" };
130
+ const _hoisted_5 = { key: 1 };
131
+ const _hoisted_6 = {
86
132
  key: 0,
87
133
  class: "nut-table__nodata"
88
- }, se = {
134
+ };
135
+ const _hoisted_7 = {
89
136
  key: 0,
90
137
  class: "nut-table__nodata__text"
91
- }, oe = {
138
+ };
139
+ const _hoisted_8 = {
92
140
  key: 1,
93
141
  class: "nut-table__summary"
94
- }, re = ["innerHTML"];
95
- function ae(e, n, r, u, C, k) {
96
- const y = $("DownArrow"), f = $("RenderColumn");
97
- return o(), a("view", {
98
- class: _(e.classes)
142
+ };
143
+ const _hoisted_9 = ["innerHTML"];
144
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
145
+ const _component_DownArrow = resolveComponent("DownArrow");
146
+ const _component_RenderColumn = resolveComponent("RenderColumn");
147
+ return openBlock(), createElementBlock("view", {
148
+ class: normalizeClass(_ctx.classes)
99
149
  }, [
100
- c("view", {
101
- class: _(["nut-table__main", { "nut-table__main--striped": e.striped }])
150
+ createElementVNode("view", {
151
+ class: normalizeClass(["nut-table__main", { "nut-table__main--striped": _ctx.striped }])
102
152
  }, [
103
- c("view", Y, [
104
- c("view", Z, [
105
- (o(!0), a(h, null, p(e.columns, (s) => (o(), a("span", {
106
- class: _(["nut-table__main__head__tr__th", e.cellClasses(s)]),
107
- key: s.key,
108
- onClick: (l) => e.handleSorterClick(s),
109
- style: S(s.stylehead)
110
- }, [
111
- q(b(s.title) + " ", 1),
112
- I(e.$slots, "icon"),
113
- !e.$slots.icon && s.sorter ? (o(), A(y, {
114
- key: 0,
115
- width: "12px",
116
- height: "12px"
117
- })) : m("", !0)
118
- ], 14, x))), 128))
153
+ createElementVNode("view", _hoisted_1, [
154
+ createElementVNode("view", _hoisted_2, [
155
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (item) => {
156
+ return openBlock(), createElementBlock("span", {
157
+ class: normalizeClass(["nut-table__main__head__tr__th", _ctx.cellClasses(item)]),
158
+ key: item.key,
159
+ onClick: ($event) => _ctx.handleSorterClick(item),
160
+ style: normalizeStyle(item.stylehead)
161
+ }, [
162
+ createTextVNode(toDisplayString(item.title) + " ", 1),
163
+ renderSlot(_ctx.$slots, "icon"),
164
+ !_ctx.$slots.icon && item.sorter ? (openBlock(), createBlock(_component_DownArrow, {
165
+ key: 0,
166
+ width: "12px",
167
+ height: "12px"
168
+ })) : createCommentVNode("", true)
169
+ ], 14, _hoisted_3);
170
+ }), 128))
119
171
  ])
120
172
  ]),
121
- c("view", ee, [
122
- (o(!0), a(h, null, p(e.curData, (s) => (o(), a("view", {
123
- class: "nut-table__main__body__tr",
124
- key: s
125
- }, [
126
- (o(!0), a(h, null, p(e.sortDataItem(), ([l, d]) => (o(), a("span", {
127
- class: _(["nut-table__main__body__tr__td", e.cellClasses(e.getColumnItem(l))]),
128
- key: l,
129
- style: S(e.getColumnItemStyle(l))
173
+ createElementVNode("view", _hoisted_4, [
174
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.curData, (item) => {
175
+ return openBlock(), createElementBlock("view", {
176
+ class: "nut-table__main__body__tr",
177
+ key: item
130
178
  }, [
131
- typeof s[l] == "function" || typeof d == "function" ? (o(), A(f, {
132
- key: 0,
133
- slots: [d, s[l]],
134
- record: s
135
- }, null, 8, ["slots", "record"])) : (o(), a("view", te, b(s[l]), 1))
136
- ], 6))), 128))
137
- ]))), 128))
179
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sortDataItem(), ([value, render]) => {
180
+ return openBlock(), createElementBlock("span", {
181
+ class: normalizeClass(["nut-table__main__body__tr__td", _ctx.cellClasses(_ctx.getColumnItem(value))]),
182
+ key: value,
183
+ style: normalizeStyle(_ctx.getColumnItemStyle(value))
184
+ }, [
185
+ typeof item[value] === "function" || typeof render === "function" ? (openBlock(), createBlock(_component_RenderColumn, {
186
+ key: 0,
187
+ slots: [render, item[value]],
188
+ record: item
189
+ }, null, 8, ["slots", "record"])) : (openBlock(), createElementBlock("view", _hoisted_5, toDisplayString(item[value]), 1))
190
+ ], 6);
191
+ }), 128))
192
+ ]);
193
+ }), 128))
138
194
  ])
139
195
  ], 2),
140
- e.curData.length ? m("", !0) : (o(), a("view", ne, [
141
- c("div", {
142
- class: _(["nut-table__nodata", { "nut-table__nodata--border": e.bordered }])
196
+ !_ctx.curData.length ? (openBlock(), createElementBlock("view", _hoisted_6, [
197
+ createElementVNode("div", {
198
+ class: normalizeClass(["nut-table__nodata", { "nut-table__nodata--border": _ctx.bordered }])
143
199
  }, [
144
- I(e.$slots, "nodata"),
145
- e.$slots.nodata ? m("", !0) : (o(), a("div", se, b(e.translate("noData")), 1))
200
+ renderSlot(_ctx.$slots, "nodata"),
201
+ !_ctx.$slots.nodata ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(_ctx.translate("noData")), 1)) : createCommentVNode("", true)
146
202
  ], 2)
147
- ])),
148
- e.summary ? (o(), a("view", oe, [
149
- c("span", {
203
+ ])) : createCommentVNode("", true),
204
+ _ctx.summary ? (openBlock(), createElementBlock("view", _hoisted_8, [
205
+ createElementVNode("span", {
150
206
  class: "nut-table__summary__text",
151
- innerHTML: e.summary().value
152
- }, null, 8, re)
153
- ])) : m("", !0)
207
+ innerHTML: _ctx.summary().value
208
+ }, null, 8, _hoisted_9)
209
+ ])) : createCommentVNode("", true)
154
210
  ], 2);
155
211
  }
156
- const me = /* @__PURE__ */ K(X, [["render", ae]]);
212
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
157
213
  export {
158
- me as default
214
+ index as default
159
215
  };