@das-fed/ui 7.1.0-qatar.14 → 7.1.0-qatar.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/ui",
3
- "version": "7.1.0-qatar.14",
3
+ "version": "7.1.0-qatar.15",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -26,7 +26,7 @@
26
26
  "@antv/x6-plugin-snapline": "^2.1.7",
27
27
  "@antv/x6-plugin-transform": "^2.1.8",
28
28
  "@antv/x6-vue-shape": "^2.1.2",
29
- "@das-fed/cli": "7.1.0-qatar.14",
29
+ "@das-fed/cli": "7.1.0-qatar.15",
30
30
  "@element-plus/icons-vue": "^2.3.1",
31
31
  "@types/lodash": "^4.14.194",
32
32
  "@types/lodash-es": "^4.17.9",
@@ -56,9 +56,9 @@
56
56
  "vue-tsc": "^2.0.29"
57
57
  },
58
58
  "dependencies": {
59
- "@das-fed/ui": "7.1.0-qatar.14",
60
- "@das-fed/utils": "7.1.0-qatar.14",
61
- "@das-fed/web": "7.1.0-qatar.14",
59
+ "@das-fed/ui": "7.1.0-qatar.15",
60
+ "@das-fed/utils": "7.1.0-qatar.15",
61
+ "@das-fed/web": "7.1.0-qatar.15",
62
62
  "@types/markdown-it": "^14.1.2",
63
63
  "@wangeditor-next/editor": "5.6.31",
64
64
  "@wangeditor-next/editor-for-vue": "5.1.14",
@@ -1,38 +1,38 @@
1
1
  import '@das-fed/ui/packages/components/calendar/style.css';
2
2
  import { withInstall as ae } from "@das-fed/utils/with-install/index";
3
- import { defineComponent as X, ref as O, computed as g, watch as te, nextTick as G, createElementBlock as m, createCommentVNode as C, openBlock as u, normalizeClass as A, createElementVNode as b, Fragment as P, renderList as L, renderSlot as N, toDisplayString as J, normalizeStyle as re, onMounted as ne, onBeforeUnmount as se, createVNode as oe, createSlots as K, withCtx as F, normalizeProps as Z, mergeProps as j, guardReactiveProps as E, createBlock as de } from "vue";
4
- import { t as B, currentLang as U, setI18nRule as le } from "@das-fed/web/packages/i18n/index";
3
+ import { defineComponent as X, ref as O, computed as g, watch as te, nextTick as G, createElementBlock as m, createCommentVNode as D, openBlock as u, normalizeClass as A, createElementVNode as W, Fragment as P, renderList as L, renderSlot as N, toDisplayString as J, normalizeStyle as re, onMounted as ne, onBeforeUnmount as oe, createVNode as se, createSlots as K, withCtx as F, normalizeProps as Z, mergeProps as j, guardReactiveProps as I, createBlock as le } from "vue";
4
+ import { t as B, currentLang as U, setI18nRule as de } from "@das-fed/web/packages/i18n/index";
5
5
  import M from "dayjs";
6
6
  import { SizeWatcher as ce } from "@das-fed/utils/size-watcher";
7
7
  import { getVar as Y, setGlobalThemeRule as he, setThemeRule as ie } from "@das-fed/web/packages/theme/index";
8
- const ue = (o, i) => {
9
- const d = o.endOf("month"), c = i.startOf("month"), r = d.isSame(c, "week") ? c.add(1, "week") : c;
8
+ const ue = (s, i) => {
9
+ const l = s.endOf("month"), c = i.startOf("month"), r = l.isSame(c, "week") ? c.add(1, "week") : c;
10
10
  return [
11
- [o, d],
11
+ [s, l],
12
12
  [r.startOf("week"), i]
13
13
  ];
14
- }, pe = (o, i) => {
15
- const d = o.endOf("month"), c = o.add(1, "month").startOf("month"), s = d.isSame(
14
+ }, pe = (s, i) => {
15
+ const l = s.endOf("month"), c = s.add(1, "month").startOf("month"), o = l.isSame(
16
16
  c,
17
17
  "week"
18
- ) ? c.add(1, "week") : c, r = s.endOf("month"), f = i.startOf("month"), z = r.isSame(f, "week") ? f.add(1, "week") : f;
18
+ ) ? c.add(1, "week") : c, r = o.endOf("month"), f = i.startOf("month"), z = r.isSame(f, "week") ? f.add(1, "week") : f;
19
19
  return [
20
- [o, d],
21
- [s.startOf("week"), r],
20
+ [s, l],
21
+ [o.startOf("week"), r],
22
22
  [z.startOf("week"), i]
23
23
  ];
24
- }, q = (o, i) => {
25
- const d = o.startOf("week"), c = i.endOf("week"), s = d.get("month"), r = c.get("month");
26
- return s === r ? [[d, c]] : (s + 1) % 12 === r ? ue(d, c) : s + 2 === r || (s + 1) % 11 === r ? pe(d, c) : [];
27
- }, $ = (o) => Array.from(Array.from({ length: o }).keys()), me = (o, i) => {
28
- const d = o.subtract(1, "month").endOf("month").date();
29
- return $(i).map((c, s) => d - (i - s - 1));
30
- }, fe = (o) => {
31
- const i = o.daysInMonth();
32
- return $(i).map((d, c) => c + 1);
33
- }, ye = (o) => $(o.length / 7).map((i) => {
34
- const d = i * 7;
35
- return o.slice(d, d + 7);
24
+ }, q = (s, i) => {
25
+ const l = s.startOf("week"), c = i.endOf("week"), o = l.get("month"), r = c.get("month");
26
+ return o === r ? [[l, c]] : (o + 1) % 12 === r ? ue(l, c) : o + 2 === r || (o + 1) % 11 === r ? pe(l, c) : [];
27
+ }, $ = (s) => Array.from(Array.from({ length: s }).keys()), me = (s, i) => {
28
+ const l = s.subtract(1, "month").endOf("month").date();
29
+ return $(i).map((c, o) => l - (i - o - 1));
30
+ }, fe = (s) => {
31
+ const i = s.daysInMonth();
32
+ return $(i).map((l, c) => c + 1);
33
+ }, ye = (s) => $(s.length / 7).map((i) => {
34
+ const l = i * 7;
35
+ return s.slice(l, l + 7);
36
36
  }), ke = { key: 0 }, ge = { class: "das-calendar-header-box" }, we = { class: "das-calendar-header-week-line" }, Ce = ["onClick"], ve = {
37
37
  name: "calendar-table"
38
38
  }, Q = /* @__PURE__ */ X({
@@ -51,25 +51,25 @@ const ue = (o, i) => {
51
51
  cellHeight: {}
52
52
  },
53
53
  emits: ["pick"],
54
- setup(o, { expose: i, emit: d }) {
55
- const c = d, s = M(), r = o, f = O("128px"), z = O(), R = 60, S = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"], _ = g(() => !!r.range && !!r.range.length), x = g(() => {
54
+ setup(s, { expose: i, emit: l }) {
55
+ const c = l, o = M(), r = s, f = O("128px"), z = O(), R = 60, S = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"], _ = g(() => !!r.range && !!r.range.length), E = g(() => {
56
56
  const e = r.firstDayOfWeek, t = r.showZhou ? "das-calendar-weeks-zhou-" : "das-calendar-weeks-";
57
57
  return e === 0 ? S.map((n) => B(`${t}${n}`)) : S.slice(e).concat(S.slice(0, e)).map((n) => B(`${t}${n}`));
58
- }), D = g(() => {
58
+ }), v = g(() => {
59
59
  let e = [];
60
60
  if (_.value) {
61
61
  const [t, n] = r.range;
62
62
  let h = [];
63
- t.isSame(n, "month") ? h = $(n.date() - t.date() + 1).map((v) => ({
64
- text: t.date() + v,
63
+ t.isSame(n, "month") ? h = $(n.date() - t.date() + 1).map((C) => ({
64
+ text: t.date() + C,
65
65
  type: "current"
66
- })) : h = $(t.endOf("month").date() - t.date() + 1).map((v) => ({
67
- text: t.date() + v,
66
+ })) : h = $(t.endOf("month").date() - t.date() + 1).map((C) => ({
67
+ text: t.date() + C,
68
68
  type: "current"
69
69
  }));
70
70
  let k = h.length % 7;
71
71
  k = k === 0 ? 0 : 7 - k;
72
- const w = $(k).map((v, T) => ({
72
+ const w = $(k).map((C, T) => ({
73
73
  text: T + 1,
74
74
  type: "next"
75
75
  }));
@@ -78,21 +78,21 @@ const ue = (o, i) => {
78
78
  const t = r.date.startOf("month").day(), n = me(
79
79
  r.date,
80
80
  (t - r.firstDayOfWeek + 7) % 7
81
- ).map((v) => ({
82
- text: v,
81
+ ).map((C) => ({
82
+ text: C,
83
83
  type: "prev"
84
- })), h = fe(r.date).map((v) => ({
85
- text: v,
84
+ })), h = fe(r.date).map((C) => ({
85
+ text: C,
86
86
  type: "current"
87
87
  }));
88
88
  e = [...n, ...h];
89
- const k = 7 - (e.length % 7 || 7), w = $(k).map((v, T) => ({
89
+ const k = 7 - (e.length % 7 || 7), w = $(k).map((C, T) => ({
90
90
  text: T + 1,
91
91
  type: "next"
92
92
  }));
93
93
  if (e = e.concat(w), r.calendartType == "simple" && e.length / 7 < 6) {
94
- const v = w.length ? w[w.length - 1].text : 0, T = $(7).map((He, ee) => ({
95
- text: v + ee + 1,
94
+ const C = w.length ? w[w.length - 1].text : 0, T = $(7).map((He, ee) => ({
95
+ text: C + ee + 1,
96
96
  type: "next"
97
97
  }));
98
98
  e = e.concat(T);
@@ -103,10 +103,10 @@ const ue = (o, i) => {
103
103
  var n;
104
104
  const e = (n = r.parent) == null ? void 0 : n.offsetHeight;
105
105
  let t = Number(e) - R - 1;
106
- f.value = t / D.value.length - 1 + "px";
106
+ f.value = t / v.value.length - 1 + "px";
107
107
  };
108
108
  te(
109
- () => D.value,
109
+ () => v.value,
110
110
  (e) => {
111
111
  if (r.cellHeight) {
112
112
  f.value = `${r.cellHeight}px`;
@@ -118,7 +118,7 @@ const ue = (o, i) => {
118
118
  },
119
119
  { immediate: !0 }
120
120
  );
121
- const W = () => {
121
+ const b = () => {
122
122
  if (r.cellHeight) {
123
123
  f.value = `${r.cellHeight}px`;
124
124
  return;
@@ -137,12 +137,12 @@ const ue = (o, i) => {
137
137
  }
138
138
  }, V = ({ text: e, type: t }) => {
139
139
  const n = [t], h = y(e, t);
140
- return h.isSame(r.selectedDay, "day") && n.push("is-selected"), h.isSame(s, "day") && n.push("is-today"), n;
141
- }, I = ({ text: e, type: t }) => {
140
+ return h.isSame(r.selectedDay, "day") && n.push("is-selected"), h.isSame(o, "day") && n.push("is-today"), n;
141
+ }, x = ({ text: e, type: t }) => {
142
142
  const n = y(e, t);
143
143
  c("pick", n);
144
144
  }, a = (e) => {
145
- const t = D.value[0];
145
+ const t = v.value[0];
146
146
  if (t) {
147
147
  const n = t[e];
148
148
  if (n) {
@@ -152,7 +152,7 @@ const ue = (o, i) => {
152
152
  }
153
153
  return "";
154
154
  }, p = (e) => {
155
- const t = D.value[0];
155
+ const t = v.value[0];
156
156
  if (t) {
157
157
  const n = t[e];
158
158
  if (n) {
@@ -171,7 +171,7 @@ const ue = (o, i) => {
171
171
  day: null,
172
172
  date: null
173
173
  };
174
- }, l = ({ text: e, type: t }) => {
174
+ }, d = ({ text: e, type: t }) => {
175
175
  const n = y(e, t);
176
176
  return {
177
177
  isSelected: n.isSame(r.selectedDay),
@@ -181,8 +181,8 @@ const ue = (o, i) => {
181
181
  };
182
182
  };
183
183
  return i({
184
- getHeight: W
185
- }), (e, t) => D.value.length ? (u(), m(
184
+ getHeight: b
185
+ }), (e, t) => v.value.length ? (u(), m(
186
186
  "table",
187
187
  {
188
188
  key: 0,
@@ -193,17 +193,17 @@ const ue = (o, i) => {
193
193
  ref: z
194
194
  },
195
195
  [
196
- e.hideHeader ? C("v-if", !0) : (u(), m("thead", ke, [
196
+ e.hideHeader ? D("v-if", !0) : (u(), m("thead", ke, [
197
197
  (u(!0), m(
198
198
  P,
199
199
  null,
200
- L(x.value, (n, h) => (u(), m("th", {
200
+ L(E.value, (n, h) => (u(), m("th", {
201
201
  class: "das-calendar-table-header",
202
202
  key: n
203
203
  }, [
204
- b("div", ge, [
205
- b("div", we, [
206
- b(
204
+ W("div", ge, [
205
+ W("div", we, [
206
+ W(
207
207
  "div",
208
208
  {
209
209
  class: A(["das-calendar-header-week", { highlight: e.highlightWeek }])
@@ -215,7 +215,7 @@ const ue = (o, i) => {
215
215
  e.calendartType == "week" ? N(e.$slots, "week-type", {
216
216
  key: 0,
217
217
  data: p(h)
218
- }) : C("v-if", !0)
218
+ }) : D("v-if", !0)
219
219
  ]),
220
220
  e.calendartType == "week" ? (u(), m(
221
221
  "div",
@@ -226,18 +226,18 @@ const ue = (o, i) => {
226
226
  J(a(h)),
227
227
  3
228
228
  /* TEXT, CLASS */
229
- )) : C("v-if", !0)
229
+ )) : D("v-if", !0)
230
230
  ])
231
231
  ]))),
232
232
  128
233
233
  /* KEYED_FRAGMENT */
234
234
  ))
235
235
  ])),
236
- b("tbody", null, [
236
+ W("tbody", null, [
237
237
  (u(!0), m(
238
238
  P,
239
239
  null,
240
- L(D.value, (n, h) => (u(), m(
240
+ L(v.value, (n, h) => (u(), m(
241
241
  "tr",
242
242
  {
243
243
  key: h,
@@ -253,11 +253,9 @@ const ue = (o, i) => {
253
253
  L(n, (k, w) => (u(), m("td", {
254
254
  key: w,
255
255
  class: A(V(k)),
256
- onClick: (v) => I(k)
256
+ onClick: (C) => x(k)
257
257
  }, [
258
- C(" v-scrollbar "),
259
- C(' :style="{ height: trHeight }" '),
260
- b(
258
+ W(
261
259
  "div",
262
260
  {
263
261
  class: "das-calendar-day",
@@ -265,7 +263,7 @@ const ue = (o, i) => {
265
263
  },
266
264
  [
267
265
  N(e.$slots, "date-cell", {
268
- data: l(k)
266
+ data: d(k)
269
267
  })
270
268
  ],
271
269
  4
@@ -286,7 +284,7 @@ const ue = (o, i) => {
286
284
  ],
287
285
  2
288
286
  /* CLASS */
289
- )) : C("v-if", !0);
287
+ )) : D("v-if", !0);
290
288
  }
291
289
  }), De = {
292
290
  key: 0,
@@ -308,7 +306,7 @@ const ue = (o, i) => {
308
306
  class: "das-calendar-cell-cont"
309
307
  }, Se = {
310
308
  name: "test"
311
- }, be = /* @__PURE__ */ X({
309
+ }, We = /* @__PURE__ */ X({
312
310
  ...Se,
313
311
  props: {
314
312
  modelValue: {},
@@ -323,29 +321,29 @@ const ue = (o, i) => {
323
321
  cellHeight: { default: 0 }
324
322
  },
325
323
  emits: ["update:model-value", "itemClick"],
326
- setup(o, { expose: i, emit: d }) {
327
- const c = g(() => U.value == "zh-CN" ? 1 : (U.value == "en", 0)), s = o, r = d, f = O(), z = O(), R = O(), S = g(() => s.firstDayOfWeek || c.value), _ = O(), x = M(), D = g({
324
+ setup(s, { expose: i, emit: l }) {
325
+ const c = g(() => U.value == "zh-CN" ? 1 : (U.value == "en", 0)), o = s, r = l, f = O(), z = O(), R = O(), S = g(() => o.firstDayOfWeek || c.value), _ = O(), E = M(), v = g({
328
326
  get() {
329
- return s.modelValue ? (_.value = y.value, y.value) : _.value;
327
+ return o.modelValue ? (_.value = y.value, y.value) : _.value;
330
328
  },
331
329
  set(a) {
332
330
  if (!a) return;
333
331
  _.value = a;
334
332
  const p = a.toDate();
335
- s.isSwitchMonth && r("update:model-value", p);
333
+ o.isSwitchMonth && r("update:model-value", p);
336
334
  }
337
335
  }), H = g(() => {
338
- if (s.type == "week") {
339
- if (s.range) return s.range;
340
- const p = (M(s.modelValue).day() - S.value + 7) % 7, l = 7 - (p + 1), e = [];
341
- return e.push(M(s.modelValue).subtract(p, "day").toDate()), e.push(M(s.modelValue).add(l, "day").toDate()), e;
336
+ if (o.type == "week") {
337
+ if (o.range) return o.range;
338
+ const p = (M(o.modelValue).day() - S.value + 7) % 7, d = 7 - (p + 1), e = [];
339
+ return e.push(M(o.modelValue).subtract(p, "day").toDate()), e.push(M(o.modelValue).add(d, "day").toDate()), e;
342
340
  } else
343
- return s.range ? s.range : void 0;
344
- }), W = g(() => {
341
+ return o.range ? o.range : void 0;
342
+ }), b = g(() => {
345
343
  if (!H.value) return [];
346
- const a = H.value.map((e) => M(e)), [p, l] = a;
347
- return s.type == "week" ? [[p, l]] : p.isAfter(l) ? [] : p.isSame(l, "month") ? q(p, l) : p.add(1, "month").month() !== l.month() ? [] : q(p, l);
348
- }), y = g(() => s.modelValue ? M(s.modelValue) : D.value || (W.value.length ? W.value[0][0] : x));
344
+ const a = H.value.map((e) => M(e)), [p, d] = a;
345
+ return o.type == "week" ? [[p, d]] : p.isAfter(d) ? [] : p.isSame(d, "month") ? q(p, d) : p.add(1, "month").month() !== d.month() ? [] : q(p, d);
346
+ }), y = g(() => o.modelValue ? M(o.modelValue) : v.value || (b.value.length ? b.value[0][0] : E));
349
347
  g(() => y.value.subtract(1, "month").date(1)), g(() => y.value.add(1, "month").date(1)), g(() => y.value.subtract(1, "year").date(1)), g(() => y.value.add(1, "year").date(1)), g(() => {
350
348
  const a = `das-calendar-month${y.value.format("M")}`;
351
349
  return `${y.value.year()} ${B("das-calendar-year")} ${B(a)}`;
@@ -354,16 +352,16 @@ const ue = (o, i) => {
354
352
  var a, p;
355
353
  Array.isArray(z.value) ? (a = z.value[0]) == null || a.getHeight() : (p = z.value) == null || p.getHeight();
356
354
  }, f.value);
357
- }), se(() => {
355
+ }), oe(() => {
358
356
  R.value.disconnect();
359
357
  });
360
358
  const V = (a) => {
361
- s.isSwitchSelection && (D.value = a), r("itemClick", a.toDate());
359
+ o.isSwitchSelection && (v.value = a), r("itemClick", a.toDate());
362
360
  };
363
361
  return i({
364
362
  $calendar: f,
365
363
  setActive: (a) => {
366
- D.value = M(a), r("itemClick", a);
364
+ v.value = M(a), r("itemClick", a);
367
365
  }
368
366
  }), (a, p) => (u(), m(
369
367
  "div",
@@ -373,18 +371,8 @@ const ue = (o, i) => {
373
371
  class: "das-ui-calendar"
374
372
  },
375
373
  [
376
- C(` <div class="das-calendar-header" >\r
377
- <slot name="header" :date="i18nDate">\r
378
- <div class="das-calendar-title" >{{ i18nDate }}</div>\r
379
- <div class="das-calendar-button-group" v-if="validatedRange.length === 0" >\r
380
- <das-button @click="selectDate('prev-month')" > {{ t('das-calendar-prevMonth') }}</das-button>\r
381
- <das-button @click="selectDate('today')" > {{ t('das-calendar-today') }}</das-button>\r
382
- <das-button @click="selectDate('next-month')" > {{ t('das-calendar-nextMonth') }}</das-button>\r
383
- </div>\r
384
- </slot>\r
385
- </div> `),
386
- W.value.length === 0 ? (u(), m("div", De, [
387
- oe(Q, {
374
+ b.value.length === 0 ? (u(), m("div", De, [
375
+ se(Q, {
388
376
  ref_key: "$calendarTable",
389
377
  ref: z,
390
378
  date: y.value,
@@ -398,20 +386,20 @@ const ue = (o, i) => {
398
386
  "selected-day": _.value,
399
387
  onPick: V
400
388
  }, K({
401
- "date-cell": F((l) => [
402
- a.$slots.custom ? N(a.$slots, "custom", Z(j({ key: 0 }, l))) : C("v-if", !0),
389
+ "date-cell": F((d) => [
390
+ a.$slots.custom ? N(a.$slots, "custom", Z(j({ key: 0 }, d))) : D("v-if", !0),
403
391
  a.type != "week" && !a.$slots.custom ? (u(), m("p", ze, [
404
- b(
392
+ W(
405
393
  "span",
406
394
  null,
407
- J(Number(l.data.day.split("-").slice(2)).toString()),
395
+ J(Number(d.data.day.split("-").slice(2)).toString()),
408
396
  1
409
397
  /* TEXT */
410
398
  ),
411
- N(a.$slots, "date-type", Z(E(l)))
412
- ])) : C("v-if", !0),
413
- a.$slots.custom ? C("v-if", !0) : (u(), m("div", Ne, [
414
- N(a.$slots, "date-cell", Z(E(l)))
399
+ N(a.$slots, "date-type", Z(I(d)))
400
+ ])) : D("v-if", !0),
401
+ a.$slots.custom ? D("v-if", !0) : (u(), m("div", Ne, [
402
+ N(a.$slots, "date-cell", Z(I(d)))
415
403
  ]))
416
404
  ]),
417
405
  _: 2
@@ -419,8 +407,8 @@ const ue = (o, i) => {
419
407
  }, [
420
408
  a.$slots["week-type"] && a.type == "week" ? {
421
409
  name: "week-type",
422
- fn: F((l) => [
423
- N(a.$slots, "week-type", Z(E(l)))
410
+ fn: F((d) => [
411
+ N(a.$slots, "week-type", Z(I(d)))
424
412
  ]),
425
413
  key: "0"
426
414
  } : void 0
@@ -429,20 +417,20 @@ const ue = (o, i) => {
429
417
  (u(!0), m(
430
418
  P,
431
419
  null,
432
- L(W.value, (l, e) => (u(), de(Q, {
420
+ L(b.value, (d, e) => (u(), le(Q, {
433
421
  ref_for: !0,
434
422
  ref_key: "$calendarTable",
435
423
  ref: z,
436
424
  key: e,
437
425
  firstDayOfWeek: S.value,
438
- date: l[0],
426
+ date: d[0],
439
427
  calendartType: a.type,
440
428
  highlightWeek: a.highlightWeek,
441
429
  highlightDay: a.highlightDay,
442
430
  showZhou: a.showZhou,
443
431
  cellHeight: a.cellHeight,
444
432
  "selected-day": _.value,
445
- range: l,
433
+ range: d,
446
434
  parent: f.value,
447
435
  "hide-header": e !== 0,
448
436
  onPick: V
@@ -451,17 +439,17 @@ const ue = (o, i) => {
451
439
  a.$slots.custom ? N(a.$slots, "custom", j({
452
440
  key: 0,
453
441
  ref_for: !0
454
- }, t)) : C("v-if", !0),
442
+ }, t)) : D("v-if", !0),
455
443
  a.type != "week" && !a.$slots.custom ? (u(), m("p", Me, [
456
- b(
444
+ W(
457
445
  "span",
458
446
  null,
459
447
  J(Number(t.data.day.split("-").slice(2)).toString()),
460
448
  1
461
449
  /* TEXT */
462
450
  )
463
- ])) : C("v-if", !0),
464
- a.$slots.custom ? C("v-if", !0) : (u(), m("div", $e, [
451
+ ])) : D("v-if", !0),
452
+ a.$slots.custom ? D("v-if", !0) : (u(), m("div", $e, [
465
453
  N(a.$slots, "date-cell", j({ ref_for: !0 }, t))
466
454
  ]))
467
455
  ]),
@@ -485,7 +473,7 @@ const ue = (o, i) => {
485
473
  /* NEED_PATCH */
486
474
  ));
487
475
  }
488
- }), We = {
476
+ }), be = {
489
477
  "--das-ui-calendar-color-primary": Y("--das-color-brand-primary"),
490
478
  // 主题色
491
479
  "--das-ui-calendar-color-text": Y("--das-color-text-title"),
@@ -552,10 +540,10 @@ const ue = (o, i) => {
552
540
  "das-calendar-months-nov": { "zh-CN": "十一月", en: "Nov", ar: "نوفمبر", _appCode: "framework" },
553
541
  "das-calendar-months-dec": { "zh-CN": "十二月", en: "Dec", ar: "ديسمبر", _appCode: "framework" }
554
542
  };
555
- le(Oe);
543
+ de(Oe);
556
544
  he();
557
- ie(We);
558
- const Fe = ae(be), Ze = { name: `calendar ${B("日历")}` };
545
+ ie(be);
546
+ const Fe = ae(We), Ze = { name: `calendar ${B("日历")}` };
559
547
  export {
560
548
  Fe as DasCalendar,
561
549
  Ze as default