@nutui/nutui 4.0.0-beta.25 → 4.0.0-beta.26

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.
@@ -1,6 +1,6 @@
1
1
  import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
2
2
  import { c as createComponent } from "./component-81a4c1d0.js";
3
- import { C as CalendarItem, U as Utils } from "./index-f3a722c9.js";
3
+ import { C as CalendarItem, U as Utils } from "./index-2ae3ae87.js";
4
4
  import { P as Popup } from "./index-991c279f.js";
5
5
  import { u as useExpose } from "./index-79c5dc33.js";
6
6
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -86,13 +86,13 @@ const _sfc_main = create({
86
86
  return slots.btn;
87
87
  });
88
88
  const topInfo = computed(() => {
89
- return slots.topInfo;
89
+ return slots["top-info"];
90
90
  });
91
91
  const dayInfo = computed(() => {
92
92
  return slots.day;
93
93
  });
94
94
  const bottomInfo = computed(() => {
95
- return slots.bottomInfo;
95
+ return slots["bottom-info"];
96
96
  });
97
97
  const calendarRef = ref(null);
98
98
  const scrollToDate = (date) => {
@@ -189,18 +189,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
189
189
  key: "1"
190
190
  } : void 0,
191
191
  _ctx.topInfo ? {
192
- name: "topInfo",
192
+ name: "top-info",
193
193
  fn: withCtx((date) => [
194
- renderSlot(_ctx.$slots, "topInfo", {
194
+ renderSlot(_ctx.$slots, "top-info", {
195
195
  date: date.date
196
196
  })
197
197
  ]),
198
198
  key: "2"
199
199
  } : void 0,
200
200
  _ctx.bottomInfo ? {
201
- name: "bottomInfo",
201
+ name: "bottom-info",
202
202
  fn: withCtx((date) => [
203
- renderSlot(_ctx.$slots, "bottomInfo", {
203
+ renderSlot(_ctx.$slots, "bottom-info", {
204
204
  date: date.date
205
205
  })
206
206
  ]),
@@ -249,18 +249,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
249
249
  key: "1"
250
250
  } : void 0,
251
251
  _ctx.topInfo ? {
252
- name: "topInfo",
252
+ name: "top-info",
253
253
  fn: withCtx((date) => [
254
- renderSlot(_ctx.$slots, "topInfo", {
254
+ renderSlot(_ctx.$slots, "top-info", {
255
255
  date: date.date
256
256
  })
257
257
  ]),
258
258
  key: "2"
259
259
  } : void 0,
260
260
  _ctx.bottomInfo ? {
261
- name: "bottomInfo",
261
+ name: "bottom-info",
262
262
  fn: withCtx((date) => [
263
- renderSlot(_ctx.$slots, "bottomInfo", {
263
+ renderSlot(_ctx.$slots, "bottom-info", {
264
264
  date: date.date
265
265
  })
266
266
  ]),
@@ -1,4 +1,4 @@
1
- import { C } from "./index-f3a722c9.js";
1
+ import { C } from "./index-2ae3ae87.js";
2
2
  import "vue";
3
3
  import "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "./component-81a4c1d0.js";
@@ -201,10 +201,10 @@ const _sfc_main = create({
201
201
  return slots.btn;
202
202
  });
203
203
  const topInfo = computed(() => {
204
- return slots.topInfo;
204
+ return slots["top-info"];
205
205
  });
206
206
  const bottomInfo = computed(() => {
207
- return slots.bottomInfo;
207
+ return slots["bottom-info"];
208
208
  });
209
209
  const state = reactive({
210
210
  yearMonthTitle: "",
@@ -807,12 +807,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
807
807
  ])
808
808
  ]),
809
809
  _ctx.topInfo ? (openBlock(), createElementBlock("view", _hoisted_11, [
810
- renderSlot(_ctx.$slots, "topInfo", {
810
+ renderSlot(_ctx.$slots, "top-info", {
811
811
  date: day.type == "curr" ? day : ""
812
812
  })
813
813
  ])) : createCommentVNode("", true),
814
814
  _ctx.bottomInfo ? (openBlock(), createElementBlock("view", _hoisted_12, [
815
- renderSlot(_ctx.$slots, "bottomInfo", {
815
+ renderSlot(_ctx.$slots, "bottom-info", {
816
816
  date: day.type == "curr" ? day : ""
817
817
  })
818
818
  ])) : createCommentVNode("", true),
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "NutUI",
5
- "version": "4.0.0-beta.25",
5
+ "version": "4.0.0-beta.26",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -1076,7 +1076,7 @@
1076
1076
  },
1077
1077
  {
1078
1078
  "name": "closeable",
1079
- "default": "`true`",
1079
+ "default": "`false`",
1080
1080
  "description": "是否显示关闭按钮,继承 `Popup` 组件",
1081
1081
  "value": {
1082
1082
  "type": "boolean",