@progressive-development/pd-calendar 0.2.21 → 0.5.0
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/index.js +10 -0
- package/dist/locales/be.js +31 -0
- package/dist/locales/de.js +31 -0
- package/dist/locales/en.js +31 -0
- package/dist/pd-calendar.js +4 -0
- package/{src → dist/src}/PdCalendar.js +116 -211
- package/{src → dist/src}/PdCalendarCell.js +29 -63
- package/{src → dist/src}/PdYearPopup.js +26 -31
- package/package.json +54 -42
- package/.editorconfig +0 -29
- package/.storybook/main.js +0 -13
- package/.storybook/preview.js +0 -14
- package/demo/index.html +0 -29
- package/index.js +0 -1
- package/lit-localize.json +0 -18
- package/pd-calendar.js +0 -3
- package/src/generated/locale/be.js +0 -39
- package/src/generated/locale/de.js +0 -39
- package/src/generated/locale/en.js +0 -39
- package/src/generated/locale-codes.js +0 -27
- package/src/stories/cell.stories.js +0 -57
- package/src/stories/index.stories.js +0 -177
- package/test/pd-calendar.test.js +0 -34
- package/web-dev-server.config.mjs +0 -27
- package/web-test-runner.config.mjs +0 -41
- package/xliff/be.xlf +0 -85
- package/xliff/de.xlf +0 -85
- package/xliff/en.xlf +0 -85
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PdCalendar } from "./src/PdCalendar.js";
|
|
2
|
+
import { templates } from "./locales/be.js";
|
|
3
|
+
import { templates as templates2 } from "./locales/de.js";
|
|
4
|
+
import { templates as templates3 } from "./locales/en.js";
|
|
5
|
+
export {
|
|
6
|
+
PdCalendar,
|
|
7
|
+
templates as beTemplates,
|
|
8
|
+
templates2 as deTemplates,
|
|
9
|
+
templates3 as enTemplates
|
|
10
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const templates = {
|
|
2
|
+
"pd.datepicker.day.fri": `Vrijdag`,
|
|
3
|
+
"pd.datepicker.day.mon": `Maandag`,
|
|
4
|
+
"pd.datepicker.day.sat": `Zaterdag`,
|
|
5
|
+
"pd.datepicker.day.sun": `Zondag`,
|
|
6
|
+
"pd.datepicker.day.thi": `Donderdag`,
|
|
7
|
+
"pd.datepicker.day.tue": `Dinsdag`,
|
|
8
|
+
"pd.datepicker.day.wed": `Woensdag`,
|
|
9
|
+
"pd.datepicker.month.apr": `April`,
|
|
10
|
+
"pd.datepicker.month.aug": `Augustus`,
|
|
11
|
+
"pd.datepicker.month.dec": `December`,
|
|
12
|
+
"pd.datepicker.month.feb": `Februari`,
|
|
13
|
+
"pd.datepicker.month.jan": `Januari`,
|
|
14
|
+
"pd.datepicker.month.jul": `Juli`,
|
|
15
|
+
"pd.datepicker.month.jun": `Juni`,
|
|
16
|
+
"pd.datepicker.month.mar": `Maart`,
|
|
17
|
+
"pd.datepicker.month.may": `Mei`,
|
|
18
|
+
"pd.datepicker.month.nov": `November`,
|
|
19
|
+
"pd.datepicker.month.oct": `Oktober`,
|
|
20
|
+
"pd.datepicker.month.sep": `September`,
|
|
21
|
+
"pd.datepicker.shortday.fri": `Vr`,
|
|
22
|
+
"pd.datepicker.shortday.mon": `Ma`,
|
|
23
|
+
"pd.datepicker.shortday.sat": `Za`,
|
|
24
|
+
"pd.datepicker.shortday.sun": `Zo`,
|
|
25
|
+
"pd.datepicker.shortday.thi": `Do`,
|
|
26
|
+
"pd.datepicker.shortday.tue": `Di`,
|
|
27
|
+
"pd.datepicker.shortday.wed": `Wo`
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
templates
|
|
31
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const templates = {
|
|
2
|
+
"pd.datepicker.month.jan": `Januar`,
|
|
3
|
+
"pd.datepicker.month.feb": `Februar`,
|
|
4
|
+
"pd.datepicker.month.mar": `März`,
|
|
5
|
+
"pd.datepicker.month.apr": `April`,
|
|
6
|
+
"pd.datepicker.month.may": `Mai`,
|
|
7
|
+
"pd.datepicker.month.jun": `Juni`,
|
|
8
|
+
"pd.datepicker.month.jul": `Juli`,
|
|
9
|
+
"pd.datepicker.month.aug": `August`,
|
|
10
|
+
"pd.datepicker.month.sep": `September`,
|
|
11
|
+
"pd.datepicker.month.oct": `Oktober`,
|
|
12
|
+
"pd.datepicker.month.nov": `November`,
|
|
13
|
+
"pd.datepicker.month.dec": `Dezember`,
|
|
14
|
+
"pd.datepicker.day.sun": `Sonntag`,
|
|
15
|
+
"pd.datepicker.day.mon": `Montag`,
|
|
16
|
+
"pd.datepicker.day.tue": `Dienstag`,
|
|
17
|
+
"pd.datepicker.day.wed": `Mittwoch`,
|
|
18
|
+
"pd.datepicker.day.thi": `Donnerstag`,
|
|
19
|
+
"pd.datepicker.day.fri": `Freitag`,
|
|
20
|
+
"pd.datepicker.day.sat": `Samstag`,
|
|
21
|
+
"pd.datepicker.shortday.mon": `Mo`,
|
|
22
|
+
"pd.datepicker.shortday.tue": `Di`,
|
|
23
|
+
"pd.datepicker.shortday.wed": `Mi`,
|
|
24
|
+
"pd.datepicker.shortday.thi": `Do`,
|
|
25
|
+
"pd.datepicker.shortday.fri": `Fr`,
|
|
26
|
+
"pd.datepicker.shortday.sat": `Sa`,
|
|
27
|
+
"pd.datepicker.shortday.sun": `So`
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
templates
|
|
31
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const templates = {
|
|
2
|
+
"pd.datepicker.day.fri": `Friday`,
|
|
3
|
+
"pd.datepicker.day.mon": `Monday`,
|
|
4
|
+
"pd.datepicker.day.sat": `Saturday`,
|
|
5
|
+
"pd.datepicker.day.sun": `Sunday`,
|
|
6
|
+
"pd.datepicker.day.thi": `Thursday`,
|
|
7
|
+
"pd.datepicker.day.tue": `Tuesday`,
|
|
8
|
+
"pd.datepicker.day.wed": `Wednesday`,
|
|
9
|
+
"pd.datepicker.month.apr": `April`,
|
|
10
|
+
"pd.datepicker.month.aug": `August`,
|
|
11
|
+
"pd.datepicker.month.dec": `December`,
|
|
12
|
+
"pd.datepicker.month.feb": `February`,
|
|
13
|
+
"pd.datepicker.month.jan": `January`,
|
|
14
|
+
"pd.datepicker.month.jul": `July`,
|
|
15
|
+
"pd.datepicker.month.jun": `June`,
|
|
16
|
+
"pd.datepicker.month.mar": `March`,
|
|
17
|
+
"pd.datepicker.month.may": `May`,
|
|
18
|
+
"pd.datepicker.month.nov": `November`,
|
|
19
|
+
"pd.datepicker.month.oct": `October`,
|
|
20
|
+
"pd.datepicker.month.sep": `September`,
|
|
21
|
+
"pd.datepicker.shortday.fri": `Fri`,
|
|
22
|
+
"pd.datepicker.shortday.mon": `Mon`,
|
|
23
|
+
"pd.datepicker.shortday.sat": `Sat`,
|
|
24
|
+
"pd.datepicker.shortday.sun": `Sun`,
|
|
25
|
+
"pd.datepicker.shortday.thi": `Thu`,
|
|
26
|
+
"pd.datepicker.shortday.tue": `Tue`,
|
|
27
|
+
"pd.datepicker.shortday.wed": `Wed`
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
templates
|
|
31
|
+
};
|