laif-ds 0.2.45 → 0.2.47

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.
@@ -0,0 +1,147 @@
1
+ "use client";
2
+ import { buildLocalizeFn as e } from "../../_lib/buildLocalizeFn.js";
3
+ const i = {
4
+ narrow: ["aC", "dC"],
5
+ abbreviated: ["a.C.", "d.C."],
6
+ wide: ["avanti Cristo", "dopo Cristo"]
7
+ }, t = {
8
+ narrow: ["1", "2", "3", "4"],
9
+ abbreviated: ["T1", "T2", "T3", "T4"],
10
+ wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
11
+ }, a = {
12
+ narrow: ["G", "F", "M", "A", "M", "G", "L", "A", "S", "O", "N", "D"],
13
+ abbreviated: [
14
+ "gen",
15
+ "feb",
16
+ "mar",
17
+ "apr",
18
+ "mag",
19
+ "giu",
20
+ "lug",
21
+ "ago",
22
+ "set",
23
+ "ott",
24
+ "nov",
25
+ "dic"
26
+ ],
27
+ wide: [
28
+ "gennaio",
29
+ "febbraio",
30
+ "marzo",
31
+ "aprile",
32
+ "maggio",
33
+ "giugno",
34
+ "luglio",
35
+ "agosto",
36
+ "settembre",
37
+ "ottobre",
38
+ "novembre",
39
+ "dicembre"
40
+ ]
41
+ }, r = {
42
+ narrow: ["D", "L", "M", "M", "G", "V", "S"],
43
+ short: ["dom", "lun", "mar", "mer", "gio", "ven", "sab"],
44
+ abbreviated: ["dom", "lun", "mar", "mer", "gio", "ven", "sab"],
45
+ wide: [
46
+ "domenica",
47
+ "lunedì",
48
+ "martedì",
49
+ "mercoledì",
50
+ "giovedì",
51
+ "venerdì",
52
+ "sabato"
53
+ ]
54
+ }, m = {
55
+ narrow: {
56
+ am: "m.",
57
+ pm: "p.",
58
+ midnight: "mezzanotte",
59
+ noon: "mezzogiorno",
60
+ morning: "mattina",
61
+ afternoon: "pomeriggio",
62
+ evening: "sera",
63
+ night: "notte"
64
+ },
65
+ abbreviated: {
66
+ am: "AM",
67
+ pm: "PM",
68
+ midnight: "mezzanotte",
69
+ noon: "mezzogiorno",
70
+ morning: "mattina",
71
+ afternoon: "pomeriggio",
72
+ evening: "sera",
73
+ night: "notte"
74
+ },
75
+ wide: {
76
+ am: "AM",
77
+ pm: "PM",
78
+ midnight: "mezzanotte",
79
+ noon: "mezzogiorno",
80
+ morning: "mattina",
81
+ afternoon: "pomeriggio",
82
+ evening: "sera",
83
+ night: "notte"
84
+ }
85
+ }, d = {
86
+ narrow: {
87
+ am: "m.",
88
+ pm: "p.",
89
+ midnight: "mezzanotte",
90
+ noon: "mezzogiorno",
91
+ morning: "di mattina",
92
+ afternoon: "del pomeriggio",
93
+ evening: "di sera",
94
+ night: "di notte"
95
+ },
96
+ abbreviated: {
97
+ am: "AM",
98
+ pm: "PM",
99
+ midnight: "mezzanotte",
100
+ noon: "mezzogiorno",
101
+ morning: "di mattina",
102
+ afternoon: "del pomeriggio",
103
+ evening: "di sera",
104
+ night: "di notte"
105
+ },
106
+ wide: {
107
+ am: "AM",
108
+ pm: "PM",
109
+ midnight: "mezzanotte",
110
+ noon: "mezzogiorno",
111
+ morning: "di mattina",
112
+ afternoon: "del pomeriggio",
113
+ evening: "di sera",
114
+ night: "di notte"
115
+ }
116
+ }, g = (o, s) => {
117
+ const n = Number(o);
118
+ return String(n);
119
+ }, u = {
120
+ ordinalNumber: g,
121
+ era: e({
122
+ values: i,
123
+ defaultWidth: "wide"
124
+ }),
125
+ quarter: e({
126
+ values: t,
127
+ defaultWidth: "wide",
128
+ argumentCallback: (o) => o - 1
129
+ }),
130
+ month: e({
131
+ values: a,
132
+ defaultWidth: "wide"
133
+ }),
134
+ day: e({
135
+ values: r,
136
+ defaultWidth: "wide"
137
+ }),
138
+ dayPeriod: e({
139
+ values: m,
140
+ defaultWidth: "wide",
141
+ formattingValues: d,
142
+ defaultFormattingWidth: "wide"
143
+ })
144
+ };
145
+ export {
146
+ u as localize
147
+ };
@@ -0,0 +1,111 @@
1
+ "use client";
2
+ import { buildMatchFn as a } from "../../_lib/buildMatchFn.js";
3
+ import { buildMatchPatternFn as i } from "../../_lib/buildMatchPatternFn.js";
4
+ const e = /^(\d+)(º)?/i, r = /\d+/i, n = {
5
+ narrow: /^(aC|dC)/i,
6
+ abbreviated: /^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,
7
+ wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i
8
+ }, o = {
9
+ any: [/^a/i, /^(d|e)/i]
10
+ }, s = {
11
+ narrow: /^[1234]/i,
12
+ abbreviated: /^t[1234]/i,
13
+ wide: /^[1234](º)? trimestre/i
14
+ }, d = {
15
+ any: [/1/i, /2/i, /3/i, /4/i]
16
+ }, m = {
17
+ narrow: /^[gfmalsond]/i,
18
+ abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,
19
+ wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i
20
+ }, c = {
21
+ narrow: [
22
+ /^g/i,
23
+ /^f/i,
24
+ /^m/i,
25
+ /^a/i,
26
+ /^m/i,
27
+ /^g/i,
28
+ /^l/i,
29
+ /^a/i,
30
+ /^s/i,
31
+ /^o/i,
32
+ /^n/i,
33
+ /^d/i
34
+ ],
35
+ any: [
36
+ /^ge/i,
37
+ /^f/i,
38
+ /^mar/i,
39
+ /^ap/i,
40
+ /^mag/i,
41
+ /^gi/i,
42
+ /^l/i,
43
+ /^ag/i,
44
+ /^s/i,
45
+ /^o/i,
46
+ /^n/i,
47
+ /^d/i
48
+ ]
49
+ }, l = {
50
+ narrow: /^[dlmgvs]/i,
51
+ short: /^(do|lu|ma|me|gi|ve|sa)/i,
52
+ abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i,
53
+ wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i
54
+ }, g = {
55
+ narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i],
56
+ any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i]
57
+ }, h = {
58
+ narrow: /^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,
59
+ any: /^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i
60
+ }, P = {
61
+ any: {
62
+ am: /^a/i,
63
+ pm: /^p/i,
64
+ midnight: /^mezza/i,
65
+ noon: /^mezzo/i,
66
+ morning: /mattina/i,
67
+ afternoon: /pomeriggio/i,
68
+ evening: /sera/i,
69
+ night: /notte/i
70
+ }
71
+ }, b = {
72
+ ordinalNumber: i({
73
+ matchPattern: e,
74
+ parsePattern: r,
75
+ valueCallback: (t) => parseInt(t, 10)
76
+ }),
77
+ era: a({
78
+ matchPatterns: n,
79
+ defaultMatchWidth: "wide",
80
+ parsePatterns: o,
81
+ defaultParseWidth: "any"
82
+ }),
83
+ quarter: a({
84
+ matchPatterns: s,
85
+ defaultMatchWidth: "wide",
86
+ parsePatterns: d,
87
+ defaultParseWidth: "any",
88
+ valueCallback: (t) => t + 1
89
+ }),
90
+ month: a({
91
+ matchPatterns: m,
92
+ defaultMatchWidth: "wide",
93
+ parsePatterns: c,
94
+ defaultParseWidth: "any"
95
+ }),
96
+ day: a({
97
+ matchPatterns: l,
98
+ defaultMatchWidth: "wide",
99
+ parsePatterns: g,
100
+ defaultParseWidth: "any"
101
+ }),
102
+ dayPeriod: a({
103
+ matchPatterns: h,
104
+ defaultMatchWidth: "any",
105
+ parsePatterns: P,
106
+ defaultParseWidth: "any"
107
+ })
108
+ };
109
+ export {
110
+ b as match
111
+ };
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ import { formatDistance as t } from "./it/_lib/formatDistance.js";
3
+ import { formatLong as o } from "./it/_lib/formatLong.js";
4
+ import { formatRelative as a } from "./it/_lib/formatRelative.js";
5
+ import { localize as r } from "./it/_lib/localize.js";
6
+ import { match as e } from "./it/_lib/match.js";
7
+ const s = {
8
+ code: "it",
9
+ formatDistance: t,
10
+ formatLong: o,
11
+ formatRelative: a,
12
+ localize: r,
13
+ match: e,
14
+ options: {
15
+ weekStartsOn: 1,
16
+ firstWeekContainsDate: 4
17
+ }
18
+ };
19
+ export {
20
+ s as default,
21
+ s as it
22
+ };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../_virtual/index3.js";
2
+ import e from "../../_virtual/index2.js";
3
3
  export {
4
4
  e as EventEmitter,
5
5
  e as default
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __module as x } from "../../_virtual/index7.js";
2
+ import { __module as x } from "../../_virtual/index6.js";
3
3
  var w;
4
4
  function O() {
5
5
  return w ? x.exports : (w = 1, (function(d) {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../../../_virtual/index3.js";
2
+ import e from "../../../../_virtual/index2.js";
3
3
  var r = new e(), n = "recharts.syncEvent.tooltip";
4
4
  export {
5
5
  n as TOOLTIP_SYNC_EVENT,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __exports as r } from "../../../_virtual/index6.js";
2
+ import { __exports as r } from "../../../_virtual/index7.js";
3
3
  import { __require as c } from "../../inline-style-parser/index.js";
4
4
  var f;
5
5
  function j() {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __module as e } from "../../../_virtual/index2.js";
2
+ import { __module as e } from "../../../_virtual/index3.js";
3
3
  import { __require as i } from "../cjs/use-sync-external-store-shim.production.js";
4
4
  import { __require as o } from "../cjs/use-sync-external-store-shim.development.js";
5
5
  var r;