laif-ds 0.1.71 → 0.1.73
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/dist/_virtual/index.js +3 -5
- package/dist/_virtual/index2.js +2 -5
- package/dist/_virtual/index3.js +2 -5
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +5 -2
- package/dist/_virtual/index6.js +5 -2
- package/dist/_virtual/index7.js +5 -2
- package/dist/_virtual/index8.js +2 -5
- package/dist/_virtual/isoWeek.js +8 -0
- package/dist/_virtual/isoWeek2.js +5 -0
- package/dist/_virtual/it.js +3 -0
- package/dist/_virtual/it2.js +5 -0
- package/dist/_virtual/lodash.js +6 -0
- package/dist/_virtual/lodash2.js +5 -0
- package/dist/components/ui/gantt/components/Chart/Chart.js +1 -1
- package/dist/components/ui/tooltip.js +61 -30
- package/dist/components/ui/weekly-calendar/appointment-card.js +97 -0
- package/dist/components/ui/weekly-calendar/calendar-context.js +35 -0
- package/dist/components/ui/weekly-calendar/calendar-header.js +73 -0
- package/dist/components/ui/weekly-calendar/current-timeline.js +26 -0
- package/dist/components/ui/weekly-calendar/day-column.js +108 -0
- package/dist/components/ui/weekly-calendar/time-column.js +34 -0
- package/dist/components/ui/weekly-calendar/weekly-calendar.js +120 -0
- package/dist/index.d.ts +48 -1
- package/dist/index.js +110 -104
- package/dist/lib/utils.js +27 -5
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +1 -1
- package/dist/node_modules/dayjs/locale/it.js +22 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.js +34 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/lodash/lodash.js +3678 -0
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/use-sync-external-store/shim/index.js +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { __module as t } from "../../../_virtual/it2.js";
|
|
3
|
+
import { __require as m } from "../dayjs.min.js";
|
|
4
|
+
var u = t.exports, _;
|
|
5
|
+
function f() {
|
|
6
|
+
return _ ? t.exports : (_ = 1, function(i, s) {
|
|
7
|
+
(function(o, r) {
|
|
8
|
+
i.exports = r(m());
|
|
9
|
+
})(u, function(o) {
|
|
10
|
+
function r(e) {
|
|
11
|
+
return e && typeof e == "object" && "default" in e ? e : { default: e };
|
|
12
|
+
}
|
|
13
|
+
var a = r(o), n = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
|
|
14
|
+
return e + "º";
|
|
15
|
+
} };
|
|
16
|
+
return a.default.locale(n, null, !0), n;
|
|
17
|
+
});
|
|
18
|
+
}(t), t.exports);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
f as __require
|
|
22
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { __module as o } from "../../../_virtual/isoWeek2.js";
|
|
3
|
+
var v = o.exports, h;
|
|
4
|
+
function O() {
|
|
5
|
+
return h ? o.exports : (h = 1, function(k, x) {
|
|
6
|
+
(function(a, u) {
|
|
7
|
+
k.exports = u();
|
|
8
|
+
})(v, function() {
|
|
9
|
+
var a = "day";
|
|
10
|
+
return function(u, y, d) {
|
|
11
|
+
var f = function(e) {
|
|
12
|
+
return e.add(4 - e.isoWeekday(), a);
|
|
13
|
+
}, s = y.prototype;
|
|
14
|
+
s.isoWeekYear = function() {
|
|
15
|
+
return f(this).year();
|
|
16
|
+
}, s.isoWeek = function(e) {
|
|
17
|
+
if (!this.$utils().u(e)) return this.add(7 * (e - this.isoWeek()), a);
|
|
18
|
+
var t, r, i, n, c = f(this), p = (t = this.isoWeekYear(), r = this.$u, i = (r ? d.utc : d)().year(t).startOf("year"), n = 4 - i.isoWeekday(), i.isoWeekday() > 4 && (n += 7), i.add(n, a));
|
|
19
|
+
return c.diff(p, "week") + 1;
|
|
20
|
+
}, s.isoWeekday = function(e) {
|
|
21
|
+
return this.$utils().u(e) ? this.day() || 7 : this.day(this.day() % 7 ? e : e - 7);
|
|
22
|
+
};
|
|
23
|
+
var W = s.startOf;
|
|
24
|
+
s.startOf = function(e, t) {
|
|
25
|
+
var r = this.$utils(), i = !!r.u(t) || t;
|
|
26
|
+
return r.p(e) === "isoweek" ? i ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : W.bind(this)(e, t);
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
}(o), o.exports);
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
O as __require
|
|
34
|
+
};
|
|
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
|
|
|
3
3
|
import { ok as u } from "../../devlop/lib/default.js";
|
|
4
4
|
import { svg as m, html as C } from "../../property-information/index.js";
|
|
5
5
|
import { stringify as N } from "../../space-separated-tokens/index.js";
|
|
6
|
-
import S from "../../../_virtual/
|
|
6
|
+
import S from "../../../_virtual/index5.js";
|
|
7
7
|
import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
|
|
8
8
|
import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
|
|
9
9
|
import { VFileMessage as h } from "../../vfile-message/lib/index.js";
|