laif-ds 0.2.44 → 0.2.46

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 (110) hide show
  1. package/dist/_virtual/index4.js +5 -5
  2. package/dist/_virtual/index5.js +5 -5
  3. package/dist/_virtual/index6.js +2 -2
  4. package/dist/_virtual/index7.js +2 -2
  5. package/dist/agent-docs/components/Accordion.md +157 -0
  6. package/dist/agent-docs/components/Alert.md +95 -0
  7. package/dist/agent-docs/components/AlertDialog.md +126 -0
  8. package/dist/agent-docs/components/AppEditor.md +90 -0
  9. package/dist/agent-docs/components/AppForm.md +291 -0
  10. package/dist/agent-docs/components/AppMultipleSelectDropdown.md +38 -0
  11. package/dist/agent-docs/components/AppRadioGroup.md +223 -0
  12. package/dist/agent-docs/components/AppSelect.md +427 -0
  13. package/dist/agent-docs/components/AppSidebar.md +122 -0
  14. package/dist/agent-docs/components/AppStepper.md +77 -0
  15. package/dist/agent-docs/components/AspectRatio.md +87 -0
  16. package/dist/agent-docs/components/AsyncSelect.md +127 -0
  17. package/dist/agent-docs/components/AudioVisualizer.md +41 -0
  18. package/dist/agent-docs/components/Avatar.md +113 -0
  19. package/dist/agent-docs/components/Badge.md +118 -0
  20. package/dist/agent-docs/components/Breadcrumb.md +78 -0
  21. package/dist/agent-docs/components/Button.md +129 -0
  22. package/dist/agent-docs/components/Calendar.md +222 -0
  23. package/dist/agent-docs/components/Card.md +147 -0
  24. package/dist/agent-docs/components/Carousel.md +129 -0
  25. package/dist/agent-docs/components/Chart.md +75 -0
  26. package/dist/agent-docs/components/Chat.md +109 -0
  27. package/dist/agent-docs/components/ChatMessage.md +61 -0
  28. package/dist/agent-docs/components/Checkbox.md +135 -0
  29. package/dist/agent-docs/components/CircularProgress.md +49 -0
  30. package/dist/agent-docs/components/CodeHighlighter.md +31 -0
  31. package/dist/agent-docs/components/Collapsible.md +95 -0
  32. package/dist/agent-docs/components/Command.md +142 -0
  33. package/dist/agent-docs/components/Confirmer.md +175 -0
  34. package/dist/agent-docs/components/ContextMenu.md +191 -0
  35. package/dist/agent-docs/components/CopyButton.md +26 -0
  36. package/dist/agent-docs/components/DataCrossTable.md +94 -0
  37. package/dist/agent-docs/components/DataTable.md +254 -0
  38. package/dist/agent-docs/components/DatePicker.md +109 -0
  39. package/dist/agent-docs/components/Dialog.md +125 -0
  40. package/dist/agent-docs/components/Drawer.md +127 -0
  41. package/dist/agent-docs/components/DropdownMenu.md +57 -0
  42. package/dist/agent-docs/components/FilePreview.md +99 -0
  43. package/dist/agent-docs/components/FilePreviewer.md +139 -0
  44. package/dist/agent-docs/components/FileUploader.md +129 -0
  45. package/dist/agent-docs/components/Form.md +62 -0
  46. package/dist/agent-docs/components/FormComposer.md +137 -0
  47. package/dist/agent-docs/components/GanttChart.md +122 -0
  48. package/dist/agent-docs/components/HoverCard.md +37 -0
  49. package/dist/agent-docs/components/Icon.md +99 -0
  50. package/dist/agent-docs/components/Input.md +138 -0
  51. package/dist/agent-docs/components/InputOtp.md +40 -0
  52. package/dist/agent-docs/components/InputSelector.md +97 -0
  53. package/dist/agent-docs/components/InterruptPrompt.md +32 -0
  54. package/dist/agent-docs/components/Label.md +28 -0
  55. package/dist/agent-docs/components/MarkdownRenderer.md +36 -0
  56. package/dist/agent-docs/components/Menubar.md +164 -0
  57. package/dist/agent-docs/components/MessageInput.md +131 -0
  58. package/dist/agent-docs/components/MessageList.md +96 -0
  59. package/dist/agent-docs/components/MultipleSelector.md +146 -0
  60. package/dist/agent-docs/components/NavigationMenu.md +51 -0
  61. package/dist/agent-docs/components/Pagination.md +55 -0
  62. package/dist/agent-docs/components/Popover.md +103 -0
  63. package/dist/agent-docs/components/Progress.md +30 -0
  64. package/dist/agent-docs/components/PromptSuggestions.md +33 -0
  65. package/dist/agent-docs/components/RadioGroup.md +90 -0
  66. package/dist/agent-docs/components/Resizable.md +35 -0
  67. package/dist/agent-docs/components/ResizePrompt.md +13 -0
  68. package/dist/agent-docs/components/ScrollArea.md +49 -0
  69. package/dist/agent-docs/components/SecurePdfViewer.md +38 -0
  70. package/dist/agent-docs/components/Select.md +132 -0
  71. package/dist/agent-docs/components/Separator.md +32 -0
  72. package/dist/agent-docs/components/Sheet.md +40 -0
  73. package/dist/agent-docs/components/ShikiHighlighter.md +31 -0
  74. package/dist/agent-docs/components/Sidebar.md +85 -0
  75. package/dist/agent-docs/components/Skeleton.md +29 -0
  76. package/dist/agent-docs/components/Slider.md +58 -0
  77. package/dist/agent-docs/components/Sonner.md +21 -0
  78. package/dist/agent-docs/components/Spinner.md +139 -0
  79. package/dist/agent-docs/components/Stepper.md +67 -0
  80. package/dist/agent-docs/components/Switch.md +42 -0
  81. package/dist/agent-docs/components/Table.md +63 -0
  82. package/dist/agent-docs/components/TableSkeleton.md +46 -0
  83. package/dist/agent-docs/components/Tabs.md +86 -0
  84. package/dist/agent-docs/components/TextArea.md +52 -0
  85. package/dist/agent-docs/components/ThemeSwitcher.md +69 -0
  86. package/dist/agent-docs/components/Toaster.md +23 -0
  87. package/dist/agent-docs/components/Toggle.md +31 -0
  88. package/dist/agent-docs/components/ToggleGroup.md +30 -0
  89. package/dist/agent-docs/components/Tooltip.md +91 -0
  90. package/dist/agent-docs/components/TypingIndicator.md +21 -0
  91. package/dist/agent-docs/components/Typo.md +65 -0
  92. package/dist/agent-docs/components/WeeklyCalendar.md +64 -0
  93. package/dist/agent-docs/components-list.md +144 -0
  94. package/dist/components/ui/app-form.js +61 -60
  95. package/dist/components/ui/date-picker.js +6 -5
  96. package/dist/index.d.ts +4 -3
  97. package/dist/node_modules/date-fns/_lib/normalizeDates.js +5 -5
  98. package/dist/node_modules/date-fns/isSameWeek.js +15 -0
  99. package/dist/node_modules/date-fns/locale/it/_lib/formatDistance.js +71 -0
  100. package/dist/node_modules/date-fns/locale/it/_lib/formatLong.js +34 -0
  101. package/dist/node_modules/date-fns/locale/it/_lib/formatRelative.js +50 -0
  102. package/dist/node_modules/date-fns/locale/it/_lib/localize.js +147 -0
  103. package/dist/node_modules/date-fns/locale/it/_lib/match.js +111 -0
  104. package/dist/node_modules/date-fns/locale/it.js +22 -0
  105. package/dist/node_modules/eventemitter3/index2.js +1 -1
  106. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  107. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  108. package/dist/node_modules/unified/lib/index.js +1 -1
  109. package/dist/styles.v3.css +1 -1
  110. package/package.json +3 -2
@@ -0,0 +1,50 @@
1
+ "use client";
2
+ import { isSameWeek as l } from "../../../isSameWeek.js";
3
+ const a = [
4
+ "domenica",
5
+ "lunedì",
6
+ "martedì",
7
+ "mercoledì",
8
+ "giovedì",
9
+ "venerdì",
10
+ "sabato"
11
+ ];
12
+ function i(e) {
13
+ switch (e) {
14
+ case 0:
15
+ return "'domenica scorsa alle' p";
16
+ default:
17
+ return "'" + a[e] + " scorso alle' p";
18
+ }
19
+ }
20
+ function s(e) {
21
+ return "'" + a[e] + " alle' p";
22
+ }
23
+ function c(e) {
24
+ switch (e) {
25
+ case 0:
26
+ return "'domenica prossima alle' p";
27
+ default:
28
+ return "'" + a[e] + " prossimo alle' p";
29
+ }
30
+ }
31
+ const u = {
32
+ lastWeek: (e, r, o) => {
33
+ const t = e.getDay();
34
+ return l(e, r, o) ? s(t) : i(t);
35
+ },
36
+ yesterday: "'ieri alle' p",
37
+ today: "'oggi alle' p",
38
+ tomorrow: "'domani alle' p",
39
+ nextWeek: (e, r, o) => {
40
+ const t = e.getDay();
41
+ return l(e, r, o) ? s(t) : c(t);
42
+ },
43
+ other: "P"
44
+ }, f = (e, r, o, t) => {
45
+ const n = u[e];
46
+ return typeof n == "function" ? n(r, o, t) : n;
47
+ };
48
+ export {
49
+ f as formatRelative
50
+ };
@@ -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 { __module as x } from "../../_virtual/index6.js";
2
+ import { __module as x } from "../../_virtual/index7.js";
3
3
  var w;
4
4
  function O() {
5
5
  return w ? x.exports : (w = 1, (function(d) {
@@ -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/index5.js";
6
+ import S from "../../../_virtual/index4.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";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { __exports as r } from "../../../_virtual/index7.js";
2
+ import { __exports as r } from "../../../_virtual/index6.js";
3
3
  import { __require as c } from "../../inline-style-parser/index.js";
4
4
  var f;
5
5
  function j() {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { bail as P } from "../../bail/index.js";
3
- import y from "../../../_virtual/index4.js";
3
+ import y from "../../../_virtual/index5.js";
4
4
  import z from "../../is-plain-obj/index.js";
5
5
  import { CallableInstance as C } from "./callable-instance.js";
6
6
  import { trough as A } from "../../trough/lib/index.js";