@seresweb/website-component 2.3.5 → 2.3.7

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 (44) hide show
  1. package/dist/cjs/config-provider.cjs +1 -1
  2. package/dist/cjs/date-picker.cjs +1 -1
  3. package/dist/cjs/date-select.cjs +1 -1
  4. package/dist/cjs/horizontal-viewer.cjs +1 -1
  5. package/dist/cjs/image-indicator.cjs +1 -1
  6. package/dist/cjs/index.cjs +1 -1
  7. package/dist/cjs/locales.cjs +1 -1
  8. package/dist/cjs/swiper-normal.cjs +1 -1
  9. package/dist/cjs/swiper-showcase.cjs +1 -1
  10. package/dist/css/checkbox.css +1 -1
  11. package/dist/css/date-picker.css +1 -1
  12. package/dist/css/swiper-showcase.css +1 -1
  13. package/dist/dayjs.min-B_s8lXoY.js +288 -0
  14. package/dist/dayjs.min-Bs4YQaH1.cjs +1 -0
  15. package/dist/{en-US-BBTWftdk.js → en-US-DRY37Ke3.js} +1 -0
  16. package/dist/en-US-DYuJmmdF.cjs +1 -0
  17. package/dist/es/config-provider.mjs +53 -10
  18. package/dist/es/date-picker.mjs +354 -4
  19. package/dist/es/date-select.mjs +42 -37
  20. package/dist/es/horizontal-viewer.mjs +1 -1
  21. package/dist/es/image-indicator.mjs +1 -1
  22. package/dist/es/index.mjs +3 -3
  23. package/dist/es/locales.mjs +2 -1
  24. package/dist/es/swiper-normal.mjs +1 -1
  25. package/dist/es/swiper-showcase.mjs +109 -99
  26. package/dist/index-0n3E5pgL.cjs +1 -0
  27. package/dist/{index-BPpds5EG.js → index-Dzp0ckB8.js} +1 -1
  28. package/dist/index.css +1 -1
  29. package/dist/scss/checkbox.scss +7 -1
  30. package/dist/scss/date-picker.scss +12 -0
  31. package/dist/scss/swiper-showcase.scss +6 -1
  32. package/dist/types/components/date-picker/date-picker.vue.d.ts +8 -8
  33. package/dist/types/components/date-picker/index.d.ts +22 -22
  34. package/dist/types/components/date-picker/type.d.ts +6 -6
  35. package/dist/types/components/date-select/date-select.vue.d.ts +6 -6
  36. package/dist/types/components/date-select/type.d.ts +7 -7
  37. package/dist/types/components/locales/ar-SA.d.ts +1 -0
  38. package/dist/types/components/locales/en-US.d.ts +1 -0
  39. package/dist/types/components/locales/index.d.ts +2 -0
  40. package/package.json +1 -1
  41. package/dist/en-US-UkqgG0fb.cjs +0 -1
  42. package/dist/index-B-0yM6xR.cjs +0 -1
  43. package/dist/index-CMZ8zDDd.js +0 -644
  44. package/dist/index-D6pYBGfZ.cjs +0 -1
@@ -1,6 +1,356 @@
1
- import "../_utils-B7LThWoT.js";
2
- import { S as t, S as o } from "../index-CMZ8zDDd.js";
1
+ import { w as ve } from "../_utils-B7LThWoT.js";
2
+ import { defineComponent as De, inject as ye, ref as oe, computed as ie, watch as ke, createElementBlock as E, openBlock as V, normalizeClass as v, unref as o, createElementVNode as $, toDisplayString as R, Fragment as le, renderList as ce } from "vue";
3
+ import { g as Me, d as T } from "../dayjs.min-B_s8lXoY.js";
4
+ import { P as u } from "../_vars-BV4QQF-p.js";
5
+ import { e as _e } from "../en-US-DRY37Ke3.js";
6
+ import { C as Ye } from "../_icons-B97SN5iK.js";
7
+ var X = { exports: {} }, $e = X.exports, de;
8
+ function ge() {
9
+ return de || (de = 1, (function(q, re) {
10
+ (function(O, k) {
11
+ q.exports = k();
12
+ })($e, (function() {
13
+ var O = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, k = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, A = /\d/, g = /\d\d/, l = /\d\d?/, c = /\d*[^-_:/,()\s\d]+/, f = {}, F = function(e) {
14
+ return (e = +e) + (e > 68 ? 1900 : 2e3);
15
+ }, d = function(e) {
16
+ return function(t) {
17
+ this[e] = +t;
18
+ };
19
+ }, C = [/[+-]\d\d:?(\d\d)?|Z/, function(e) {
20
+ (this.zone || (this.zone = {})).offset = (function(t) {
21
+ if (!t || t === "Z") return 0;
22
+ var r = t.match(/([+-]|\d\d)/g), s = 60 * r[1] + (+r[2] || 0);
23
+ return s === 0 ? 0 : r[0] === "+" ? -s : s;
24
+ })(e);
25
+ }], H = function(e) {
26
+ var t = f[e];
27
+ return t && (t.indexOf ? t : t.s.concat(t.f));
28
+ }, Z = function(e, t) {
29
+ var r, s = f.meridiem;
30
+ if (s) {
31
+ for (var h = 1; h <= 24; h += 1) if (e.indexOf(s(h, 0, t)) > -1) {
32
+ r = h > 12;
33
+ break;
34
+ }
35
+ } else r = e === (t ? "pm" : "PM");
36
+ return r;
37
+ }, Q = { A: [c, function(e) {
38
+ this.afternoon = Z(e, !1);
39
+ }], a: [c, function(e) {
40
+ this.afternoon = Z(e, !0);
41
+ }], Q: [A, function(e) {
42
+ this.month = 3 * (e - 1) + 1;
43
+ }], S: [A, function(e) {
44
+ this.milliseconds = 100 * +e;
45
+ }], SS: [g, function(e) {
46
+ this.milliseconds = 10 * +e;
47
+ }], SSS: [/\d{3}/, function(e) {
48
+ this.milliseconds = +e;
49
+ }], s: [l, d("seconds")], ss: [l, d("seconds")], m: [l, d("minutes")], mm: [l, d("minutes")], H: [l, d("hours")], h: [l, d("hours")], HH: [l, d("hours")], hh: [l, d("hours")], D: [l, d("day")], DD: [g, d("day")], Do: [c, function(e) {
50
+ var t = f.ordinal, r = e.match(/\d+/);
51
+ if (this.day = r[0], t) for (var s = 1; s <= 31; s += 1) t(s).replace(/\[|\]/g, "") === e && (this.day = s);
52
+ }], w: [l, d("week")], ww: [g, d("week")], M: [l, d("month")], MM: [g, d("month")], MMM: [c, function(e) {
53
+ var t = H("months"), r = (H("monthsShort") || t.map((function(s) {
54
+ return s.slice(0, 3);
55
+ }))).indexOf(e) + 1;
56
+ if (r < 1) throw new Error();
57
+ this.month = r % 12 || r;
58
+ }], MMMM: [c, function(e) {
59
+ var t = H("months").indexOf(e) + 1;
60
+ if (t < 1) throw new Error();
61
+ this.month = t % 12 || t;
62
+ }], Y: [/[+-]?\d+/, d("year")], YY: [g, function(e) {
63
+ this.year = F(e);
64
+ }], YYYY: [/\d{4}/, d("year")], Z: C, ZZ: C };
65
+ function a(e) {
66
+ var t, r;
67
+ t = e, r = f && f.formats;
68
+ for (var s = (e = t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(m, M, _) {
69
+ var y = _ && _.toUpperCase();
70
+ return M || r[_] || O[_] || r[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(w, x, S) {
71
+ return x || S.slice(1);
72
+ }));
73
+ }))).match(k), h = s.length, D = 0; D < h; D += 1) {
74
+ var L = s[D], Y = Q[L], n = Y && Y[0], i = Y && Y[1];
75
+ s[D] = i ? { regex: n, parser: i } : L.replace(/^\[|\]$/g, "");
76
+ }
77
+ return function(m) {
78
+ for (var M = {}, _ = 0, y = 0; _ < h; _ += 1) {
79
+ var w = s[_];
80
+ if (typeof w == "string") y += w.length;
81
+ else {
82
+ var x = w.regex, S = w.parser, z = m.slice(y), P = x.exec(z)[0];
83
+ S.call(M, P), m = m.replace(P, "");
84
+ }
85
+ }
86
+ return (function(b) {
87
+ var B = b.afternoon;
88
+ if (B !== void 0) {
89
+ var p = b.hours;
90
+ B ? p < 12 && (b.hours += 12) : p === 12 && (b.hours = 0), delete b.afternoon;
91
+ }
92
+ })(M), M;
93
+ };
94
+ }
95
+ return function(e, t, r) {
96
+ r.p.customParseFormat = !0, e && e.parseTwoDigitYear && (F = e.parseTwoDigitYear);
97
+ var s = t.prototype, h = s.parse;
98
+ s.parse = function(D) {
99
+ var L = D.date, Y = D.utc, n = D.args;
100
+ this.$u = Y;
101
+ var i = n[1];
102
+ if (typeof i == "string") {
103
+ var m = n[2] === !0, M = n[3] === !0, _ = m || M, y = n[2];
104
+ M && (y = n[2]), f = this.$locale(), !m && y && (f = r.Ls[y]), this.$d = (function(z, P, b, B) {
105
+ try {
106
+ if (["x", "X"].indexOf(P) > -1) return new Date((P === "X" ? 1e3 : 1) * z);
107
+ var p = a(P)(z), W = p.year, U = p.month, ue = p.day, fe = p.hours, he = p.minutes, me = p.seconds, pe = p.milliseconds, ne = p.zone, se = p.week, N = /* @__PURE__ */ new Date(), G = ue || (W || U ? 1 : N.getDate()), J = W || N.getFullYear(), j = 0;
108
+ W && !U || (j = U > 0 ? U - 1 : N.getMonth());
109
+ var I, K = fe || 0, ee = he || 0, te = me || 0, ae = pe || 0;
110
+ return ne ? new Date(Date.UTC(J, j, G, K, ee, te, ae + 60 * ne.offset * 1e3)) : b ? new Date(Date.UTC(J, j, G, K, ee, te, ae)) : (I = new Date(J, j, G, K, ee, te, ae), se && (I = B(I).week(se).toDate()), I);
111
+ } catch {
112
+ return /* @__PURE__ */ new Date("");
113
+ }
114
+ })(L, i, Y, r), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), _ && L != this.format(i) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
115
+ } else if (i instanceof Array) for (var w = i.length, x = 1; x <= w; x += 1) {
116
+ n[1] = i[x - 1];
117
+ var S = r.apply(this, n);
118
+ if (S.isValid()) {
119
+ this.$d = S.$d, this.$L = S.$L, this.init();
120
+ break;
121
+ }
122
+ x === w && (this.$d = /* @__PURE__ */ new Date(""));
123
+ }
124
+ else h.call(this, D);
125
+ };
126
+ };
127
+ }));
128
+ })(X)), X.exports;
129
+ }
130
+ var we = ge();
131
+ const xe = /* @__PURE__ */ Me(we), Le = ["innerHTML"], Se = ["innerHTML"], be = ["onClick"], Te = "YYYY-MM-DD", Fe = /* @__PURE__ */ De({
132
+ name: "ScDatePicker",
133
+ __name: "date-picker",
134
+ props: {
135
+ modelValue: { default: null },
136
+ displayFormat: { default: Te },
137
+ disabled: { type: Boolean, default: !1 },
138
+ dark: { type: Boolean, default: !1 },
139
+ minDate: { default: void 0 },
140
+ maxDate: { default: void 0 }
141
+ },
142
+ emits: ["update:modelValue", "change"],
143
+ setup(q, { emit: re }) {
144
+ T.extend(xe);
145
+ const O = Ye, k = q, A = re, g = ye("scLocale", _e), l = oe((/* @__PURE__ */ new Date()).getFullYear()), c = oe((/* @__PURE__ */ new Date()).getMonth()), f = (a) => {
146
+ if (a == null) return null;
147
+ if (typeof a == "number" || a instanceof Date) {
148
+ const e = T(a);
149
+ return e.isValid() ? e : null;
150
+ }
151
+ return null;
152
+ }, F = ie(() => f(k.modelValue)), d = ie(() => {
153
+ const a = [], e = T().year(l.value).month(c.value).date(1), t = e.endOf("month"), r = e.subtract(1, "day"), s = T(), h = e.day(), D = h === 0 ? 6 : h - 1;
154
+ for (let n = D - 1; n >= 0; n--) {
155
+ const i = r.date() - n, m = T().year(l.value).month(c.value - 1).date(i);
156
+ a.push({
157
+ date: i,
158
+ fullDate: m,
159
+ key: `prev-${i}`,
160
+ isOtherMonth: !0,
161
+ isToday: !1,
162
+ isSelected: !1,
163
+ isDisabled: C(m)
164
+ });
165
+ }
166
+ const L = t.date();
167
+ for (let n = 1; n <= L; n++) {
168
+ const i = T().year(l.value).month(c.value).date(n), m = i.isSame(s, "day"), M = F.value ? i.isSame(F.value, "day") : !1;
169
+ a.push({
170
+ date: n,
171
+ fullDate: i,
172
+ key: `current-${n}`,
173
+ isOtherMonth: !1,
174
+ isToday: m,
175
+ isSelected: M,
176
+ isDisabled: C(i)
177
+ });
178
+ }
179
+ const Y = 42 - a.length;
180
+ for (let n = 1; n <= Y; n++) {
181
+ const i = T().year(l.value).month(c.value + 1).date(n);
182
+ a.push({
183
+ date: n,
184
+ fullDate: i,
185
+ key: `next-${n}`,
186
+ isOtherMonth: !0,
187
+ isToday: !1,
188
+ isSelected: !1,
189
+ isDisabled: C(i)
190
+ });
191
+ }
192
+ return a;
193
+ });
194
+ function C(a) {
195
+ if (k.minDate) {
196
+ const e = f(k.minDate);
197
+ if (e && a.isBefore(e, "day")) return !0;
198
+ }
199
+ if (k.maxDate) {
200
+ const e = f(k.maxDate);
201
+ if (e && a.isAfter(e, "day")) return !0;
202
+ }
203
+ return !1;
204
+ }
205
+ function H(a) {
206
+ a.preventDefault(), c.value === 0 ? (c.value = 11, l.value--) : c.value--;
207
+ }
208
+ function Z(a) {
209
+ a.preventDefault(), c.value === 11 ? (c.value = 0, l.value++) : c.value++;
210
+ }
211
+ function Q(a, e) {
212
+ if (a.preventDefault(), e.isDisabled || k.disabled) return;
213
+ const t = e.fullDate.valueOf();
214
+ A("update:modelValue", t), A("change", t);
215
+ }
216
+ return ke(
217
+ F,
218
+ (a) => {
219
+ a && (l.value = a.year(), c.value = a.month());
220
+ },
221
+ { immediate: !0 }
222
+ ), (a, e) => (V(), E(
223
+ "div",
224
+ {
225
+ class: v([
226
+ `${o(u)}-date-picker`,
227
+ { [`${o(u)}-date-picker--disabled`]: a.disabled, [`${o(u)}-date-picker--dark`]: a.dark }
228
+ ])
229
+ },
230
+ [
231
+ $(
232
+ "div",
233
+ {
234
+ class: v(`${o(u)}-date-picker__panel`)
235
+ },
236
+ [
237
+ $(
238
+ "div",
239
+ {
240
+ class: v(`${o(u)}-date-picker__header`)
241
+ },
242
+ [
243
+ $(
244
+ "button",
245
+ {
246
+ class: v(`${o(u)}-date-picker__nav`),
247
+ onClick: H
248
+ },
249
+ [
250
+ $("span", {
251
+ class: v(`${o(u)}-date-picker__nav-prev`),
252
+ innerHTML: o(O),
253
+ "aria-hidden": "true"
254
+ }, null, 10, Le)
255
+ ],
256
+ 2
257
+ /* CLASS */
258
+ ),
259
+ $(
260
+ "div",
261
+ {
262
+ class: v(`${o(u)}-date-picker__header-label`)
263
+ },
264
+ R(o(g).datePicker.months[c.value]) + " " + R(l.value),
265
+ 3
266
+ /* TEXT, CLASS */
267
+ ),
268
+ $(
269
+ "button",
270
+ {
271
+ class: v(`${o(u)}-date-picker__nav`),
272
+ onClick: Z
273
+ },
274
+ [
275
+ $("span", {
276
+ class: v(`${o(u)}-date-picker__nav-next`),
277
+ innerHTML: o(O),
278
+ "aria-hidden": "true"
279
+ }, null, 10, Se)
280
+ ],
281
+ 2
282
+ /* CLASS */
283
+ )
284
+ ],
285
+ 2
286
+ /* CLASS */
287
+ ),
288
+ $(
289
+ "div",
290
+ {
291
+ class: v(`${o(u)}-date-picker__weekdays`)
292
+ },
293
+ [
294
+ (V(!0), E(
295
+ le,
296
+ null,
297
+ ce(o(g).datePicker.weekdays, (t) => (V(), E(
298
+ "div",
299
+ {
300
+ key: t,
301
+ class: v(`${o(u)}-date-picker__weekday`)
302
+ },
303
+ R(t),
304
+ 3
305
+ /* TEXT, CLASS */
306
+ ))),
307
+ 128
308
+ /* KEYED_FRAGMENT */
309
+ ))
310
+ ],
311
+ 2
312
+ /* CLASS */
313
+ ),
314
+ $(
315
+ "div",
316
+ {
317
+ class: v(`${o(u)}-date-picker__days`)
318
+ },
319
+ [
320
+ (V(!0), E(
321
+ le,
322
+ null,
323
+ ce(d.value, (t) => (V(), E("div", {
324
+ key: t.key,
325
+ class: v([
326
+ `${o(u)}-date-picker__day`,
327
+ {
328
+ [`${o(u)}-date-picker__day--today`]: t.isToday,
329
+ [`${o(u)}-date-picker__day--selected`]: t.isSelected,
330
+ [`${o(u)}-date-picker__day--other-month`]: t.isOtherMonth,
331
+ [`${o(u)}-date-picker__day--disabled`]: t.isDisabled
332
+ }
333
+ ]),
334
+ onClick: (r) => Q(r, t)
335
+ }, R(t.date), 11, be))),
336
+ 128
337
+ /* KEYED_FRAGMENT */
338
+ ))
339
+ ],
340
+ 2
341
+ /* CLASS */
342
+ )
343
+ ],
344
+ 2
345
+ /* CLASS */
346
+ )
347
+ ],
348
+ 2
349
+ /* CLASS */
350
+ ));
351
+ }
352
+ }), Ze = ve(Fe);
3
353
  export {
4
- t as ScDatePicker,
5
- o as default
354
+ Ze as ScDatePicker,
355
+ Ze as default
6
356
  };
@@ -1,14 +1,15 @@
1
- import { defineComponent as C, ref as v, computed as y, watch as B, createElementBlock as s, openBlock as m, normalizeClass as c, unref as o, createVNode as V, withCtx as h, createElementVNode as E, toDisplayString as k } from "vue";
2
- import { d as Y, S as F } from "../index-CMZ8zDDd.js";
3
- import { P as i } from "../_vars-BV4QQF-p.js";
4
- import { a as M } from "../_icons-B97SN5iK.js";
1
+ import { defineComponent as S, ref as C, computed as F, watch as B, createElementBlock as u, openBlock as m, normalizeClass as i, unref as d, createVNode as h, withCtx as y, createElementVNode as E, toDisplayString as k } from "vue";
2
+ import { d as D } from "../dayjs.min-B_s8lXoY.js";
3
+ import { P as c } from "../_vars-BV4QQF-p.js";
4
+ import { a as Y } from "../_icons-B97SN5iK.js";
5
+ import { ScDatePicker as M } from "./date-picker.mjs";
5
6
  import { ScSelect as P } from "./select.mjs";
6
- const U = { key: 0 }, D = "YYYY-MM-DD", p = /* @__PURE__ */ C({
7
+ const U = { key: 0 }, p = "YYYY-MM-DD", f = /* @__PURE__ */ S({
7
8
  name: "ScDateSelect",
8
9
  __name: "date-select",
9
10
  props: {
10
11
  modelValue: { default: null },
11
- format: { default: D },
12
+ displayFormat: { default: p },
12
13
  placeholder: { default: "请选择日期" },
13
14
  disabled: { type: Boolean, default: !1 },
14
15
  dark: { type: Boolean, default: !1 },
@@ -18,83 +19,87 @@ const U = { key: 0 }, D = "YYYY-MM-DD", p = /* @__PURE__ */ C({
18
19
  },
19
20
  emits: ["update:modelValue", "change"],
20
21
  setup(r, { emit: g }) {
21
- const u = r, l = g, a = v(u.modelValue ?? null), f = y({
22
+ const s = r, o = g, a = C(s.modelValue ?? null), V = F({
22
23
  get: () => {
23
24
  if (!a.value) return "";
24
- const e = Y(a.value);
25
- return e.isValid() ? e.format(u.format || D) : "";
25
+ const e = D(a.value);
26
+ return e.isValid() ? e.format(s.displayFormat || p) : "";
26
27
  },
27
28
  set: (e) => {
28
29
  if (!e) {
29
- a.value = null, l("update:modelValue", null), l("change", null);
30
+ a.value = null, o("update:modelValue", null), o("change", null);
30
31
  return;
31
32
  }
32
- a.value = e, l("update:modelValue", e), l("change", e);
33
+ const l = D(e, s.displayFormat || p);
34
+ if (l.isValid()) {
35
+ const t = l.valueOf();
36
+ a.value = t, o("update:modelValue", t), o("change", t);
37
+ }
33
38
  }
34
39
  });
35
40
  B(
36
- () => u.modelValue,
41
+ () => s.modelValue,
37
42
  (e) => {
38
43
  a.value = e ?? null;
39
44
  }
40
45
  );
41
- const S = (e, t) => {
42
- a.value = e, l("update:modelValue", e), l("change", e), t();
43
- }, b = (e) => {
44
- e === null && (a.value = null, l("update:modelValue", null), l("change", null));
46
+ const b = (e, l) => {
47
+ a.value = e, o("update:modelValue", e), o("change", e), l();
48
+ }, v = (e) => {
49
+ e === null && (a.value = null, o("update:modelValue", null), o("change", null));
45
50
  };
46
- return (e, t) => (m(), s(
51
+ return (e, l) => (m(), u(
47
52
  "div",
48
53
  {
49
- class: c(`${o(i)}-date-select`)
54
+ class: i(`${d(c)}-date-select`)
50
55
  },
51
56
  [
52
- V(o(P), {
53
- modelValue: f.value,
54
- "onUpdate:modelValue": t[1] || (t[1] = (d) => f.value = d),
57
+ h(d(P), {
58
+ modelValue: V.value,
59
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => V.value = t),
55
60
  placeholder: e.placeholder,
56
61
  disabled: e.disabled,
57
62
  dark: e.dark,
58
63
  clearable: e.clearable,
59
- icon: o(M),
64
+ icon: d(Y),
60
65
  "icon-rotate": !1,
61
- onChange: b
66
+ onChange: v
62
67
  }, {
63
- selected: h(({ value: d, hasValue: n }) => [
64
- n ? (m(), s(
68
+ selected: y(({ value: t, hasValue: n }) => [
69
+ n ? (m(), u(
65
70
  "span",
66
71
  U,
67
- k(d),
72
+ k(t),
68
73
  1
69
74
  /* TEXT */
70
- )) : (m(), s(
75
+ )) : (m(), u(
71
76
  "span",
72
77
  {
73
78
  key: 1,
74
- class: c(`${o(i)}-date-select__placeholder`)
79
+ class: i(`${d(c)}-date-select__placeholder`)
75
80
  },
76
81
  k(e.placeholder),
77
82
  3
78
83
  /* TEXT, CLASS */
79
84
  ))
80
85
  ]),
81
- default: h(({ close: d }) => [
86
+ default: y(({ close: t }) => [
82
87
  E(
83
88
  "div",
84
89
  {
85
- class: c(`${o(i)}-date-select__panel`)
90
+ class: i(`${d(c)}-date-select__panel`)
86
91
  },
87
92
  [
88
- V(o(F), {
93
+ h(d(M), {
89
94
  modelValue: a.value,
90
- "onUpdate:modelValue": t[0] || (t[0] = (n) => a.value = n),
95
+ "onUpdate:modelValue": l[0] || (l[0] = (n) => a.value = n),
91
96
  dark: e.dark,
92
- format: e.format,
97
+ "display-format": e.displayFormat,
93
98
  disabled: e.disabled,
94
99
  "min-date": e.minDate,
95
100
  "max-date": e.maxDate,
96
- onChange: (n) => S(n, d)
97
- }, null, 8, ["modelValue", "dark", "format", "disabled", "min-date", "max-date", "onChange"])
101
+ onChange: (n) => b(n, t)
102
+ }, null, 8, ["modelValue", "dark", "display-format", "disabled", "min-date", "max-date", "onChange"])
98
103
  ],
99
104
  2
100
105
  /* CLASS */
@@ -109,8 +114,8 @@ const U = { key: 0 }, D = "YYYY-MM-DD", p = /* @__PURE__ */ C({
109
114
  ));
110
115
  }
111
116
  });
112
- p.install = (r) => (r.component("ScDateSelect", p), r);
113
- const R = p;
117
+ f.install = (r) => (r.component("ScDateSelect", f), r);
118
+ const R = f;
114
119
  export {
115
120
  R as ScDateSelect
116
121
  };
@@ -1,4 +1,4 @@
1
- import { S as e } from "../index-BPpds5EG.js";
1
+ import { S as e } from "../index-Dzp0ckB8.js";
2
2
  export {
3
3
  e as ScHorizontalViewer
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as r } from "../index-BPpds5EG.js";
1
+ import { a as r } from "../index-Dzp0ckB8.js";
2
2
  export {
3
3
  r as ScImageIndicator
4
4
  };
package/dist/es/index.mjs CHANGED
@@ -3,12 +3,12 @@ import { ScAnimatedNumber as a } from "./animated-number.mjs";
3
3
  import { ScCheckbox as S } from "./checkbox.mjs";
4
4
  import { ScCol as l } from "./col.mjs";
5
5
  import { ScConfigProvider as d } from "./config-provider.mjs";
6
- import { S as u } from "../index-CMZ8zDDd.js";
6
+ import { ScDatePicker as u } from "./date-picker.mjs";
7
7
  import { ScDateSelect as h } from "./date-select.mjs";
8
8
  import { ScDrawer as w } from "./drawer.mjs";
9
9
  import { ScDropdown as x } from "./dropdown.mjs";
10
10
  import { ScGradualHighlight as g } from "./gradual-highlight.mjs";
11
- import { S as y, a as b, b as v } from "../index-BPpds5EG.js";
11
+ import { S as y, a as b, b as v } from "../index-Dzp0ckB8.js";
12
12
  import { ScInput as I } from "./input.mjs";
13
13
  import { ScLayzImage as P } from "./layz-image.mjs";
14
14
  import { ScLocales as $ } from "./locales.mjs";
@@ -21,7 +21,7 @@ import { ScSwiperShowcase as z } from "./swiper-showcase.mjs";
21
21
  import { ScSwiperVehicle as L } from "./swiper-vehicle.mjs";
22
22
  import { ScTabIndicator as R } from "./tab-indicator.mjs";
23
23
  import { ScVideo as V } from "./video.mjs";
24
- import { e as po } from "../en-US-BBTWftdk.js";
24
+ import { e as po } from "../en-US-DRY37Ke3.js";
25
25
  const n = "@seresweb/website-component", so = (t = {}) => {
26
26
  const s = t.prefix || "Sc", o = t.importStyle ?? "css";
27
27
  return {
@@ -1,5 +1,6 @@
1
- import { e } from "../en-US-BBTWftdk.js";
1
+ import { e } from "../en-US-DRY37Ke3.js";
2
2
  const t = {
3
+ dayjsLocale: "ar",
3
4
  datePicker: {
4
5
  months: [
5
6
  "يناير",
@@ -1,4 +1,4 @@
1
- import { b as a } from "../index-BPpds5EG.js";
1
+ import { b as a } from "../index-Dzp0ckB8.js";
2
2
  export {
3
3
  a as ScSwiperNormal
4
4
  };