@educarehq/solaris-ui 0.27.3 → 1.0.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/fesm2022/educarehq-solaris-ui-holidays-en-US-DcPJhM_F.mjs +99 -0
- package/fesm2022/educarehq-solaris-ui-holidays-en-US-DcPJhM_F.mjs.map +1 -0
- package/fesm2022/educarehq-solaris-ui-holidays-es-Ed4G0MdW.mjs +75 -0
- package/fesm2022/educarehq-solaris-ui-holidays-es-Ed4G0MdW.mjs.map +1 -0
- package/fesm2022/educarehq-solaris-ui-holidays-pt-BR-PbAFZhhU.mjs +129 -0
- package/fesm2022/educarehq-solaris-ui-holidays-pt-BR-PbAFZhhU.mjs.map +1 -0
- package/fesm2022/educarehq-solaris-ui.mjs +45987 -15022
- package/fesm2022/educarehq-solaris-ui.mjs.map +1 -1
- package/package.json +12 -6
- package/styles/_button.scss +494 -270
- package/styles/_core.scss +3 -0
- package/styles/_dropdown-menu.scss +3 -3
- package/styles/_form-field.scss +116 -0
- package/styles/_icon-button.scss +577 -210
- package/styles/_index.scss +3 -0
- package/styles/_input.scss +113 -63
- package/styles/_loading-zone.scss +7 -0
- package/styles/_motion.scss +14 -0
- package/styles/_popover.scss +5 -4
- package/styles/_textarea.scss +97 -47
- package/styles/_theme.scss +12 -0
- package/styles/token/color/_dark.scss +61 -51
- package/styles/token/color/_high-contrast.scss +157 -122
- package/styles/token/color/_light.scss +62 -52
- package/styles/token/density/_comfortable.scss +12 -12
- package/styles/token/density/_compact.scss +13 -13
- package/styles/token/density/_normal.scss +13 -13
- package/styles/token/focus/_focus.scss +4 -2
- package/styles/token/motion/_index.scss +2 -0
- package/styles/token/motion/_motion-keyframes.scss +188 -0
- package/styles/token/motion/_motion-mixins.scss +213 -0
- package/styles/token/motion/_motion.scss +4 -1
- package/styles/token/motion/_reduced-motion.scss +2 -0
- package/styles/token/radius/_radius.scss +1 -0
- package/styles/token/sizing/_control-height.scss +42 -0
- package/styles/token/sizing/_control-matrix.scss +37 -0
- package/styles/token/sizing/_index.scss +2 -0
- package/styles/token/spacing/_spacing.scss +19 -16
- package/styles/token/typography/_font-family.scss +1 -2
- package/styles/token/typography/_typography.scss +15 -11
- package/types/educarehq-solaris-ui.d.ts +5743 -322
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
const localeHolidays = {
|
|
2
|
+
locale: 'en-US',
|
|
3
|
+
fixed: [
|
|
4
|
+
{
|
|
5
|
+
month: 1,
|
|
6
|
+
day: 1,
|
|
7
|
+
name: "New Year's Day",
|
|
8
|
+
nameKey: 'solaris.calendar.holidays.new-year',
|
|
9
|
+
observed: true,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
month: 6,
|
|
13
|
+
day: 19,
|
|
14
|
+
name: 'Juneteenth',
|
|
15
|
+
nameKey: 'solaris.calendar.holidays.juneteenth',
|
|
16
|
+
observed: true,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
month: 7,
|
|
20
|
+
day: 4,
|
|
21
|
+
name: 'Independence Day',
|
|
22
|
+
nameKey: 'solaris.calendar.holidays.independence-day',
|
|
23
|
+
observed: true,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
month: 11,
|
|
27
|
+
day: 11,
|
|
28
|
+
name: 'Veterans Day',
|
|
29
|
+
nameKey: 'solaris.calendar.holidays.veterans-day',
|
|
30
|
+
observed: true,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
month: 12,
|
|
34
|
+
day: 25,
|
|
35
|
+
name: 'Christmas Day',
|
|
36
|
+
nameKey: 'solaris.calendar.holidays.christmas',
|
|
37
|
+
observed: true,
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
weekday: [
|
|
41
|
+
{
|
|
42
|
+
month: 1,
|
|
43
|
+
weekday: 1,
|
|
44
|
+
occurrence: 3,
|
|
45
|
+
name: 'Martin Luther King Jr. Day',
|
|
46
|
+
nameKey: 'solaris.calendar.holidays.mlk-day',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
month: 2,
|
|
50
|
+
weekday: 1,
|
|
51
|
+
occurrence: 3,
|
|
52
|
+
name: "Presidents' Day",
|
|
53
|
+
nameKey: 'solaris.calendar.holidays.presidents-day',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
month: 5,
|
|
57
|
+
weekday: 1,
|
|
58
|
+
occurrence: 'last',
|
|
59
|
+
name: 'Memorial Day',
|
|
60
|
+
nameKey: 'solaris.calendar.holidays.memorial-day',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
month: 9,
|
|
64
|
+
weekday: 1,
|
|
65
|
+
occurrence: 1,
|
|
66
|
+
name: 'Labor Day',
|
|
67
|
+
nameKey: 'solaris.calendar.holidays.labor-day',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
month: 10,
|
|
71
|
+
weekday: 1,
|
|
72
|
+
occurrence: 2,
|
|
73
|
+
name: 'Columbus Day',
|
|
74
|
+
nameKey: 'solaris.calendar.holidays.columbus-day',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
month: 11,
|
|
78
|
+
weekday: 4,
|
|
79
|
+
occurrence: 4,
|
|
80
|
+
name: 'Thanksgiving Day',
|
|
81
|
+
nameKey: 'solaris.calendar.holidays.thanksgiving',
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
movable: [
|
|
85
|
+
{
|
|
86
|
+
easterOffset: -2,
|
|
87
|
+
name: 'Good Friday',
|
|
88
|
+
nameKey: 'solaris.calendar.holidays.good-friday',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
easterOffset: 0,
|
|
92
|
+
name: 'Easter Sunday',
|
|
93
|
+
nameKey: 'solaris.calendar.holidays.easter',
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export { localeHolidays };
|
|
99
|
+
//# sourceMappingURL=educarehq-solaris-ui-holidays-en-US-DcPJhM_F.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educarehq-solaris-ui-holidays-en-US-DcPJhM_F.mjs","sources":["../../../../packages/angular/src/lib/components/scheduling/calendar/holidays/builtin/locales/holidays-en-US.ts"],"sourcesContent":["import type { BuiltInLocaleHolidays } from '../../model/holidays.types';\n\nexport const localeHolidays: BuiltInLocaleHolidays = {\n locale: 'en-US',\n fixed: [\n {\n month: 1,\n day: 1,\n name: \"New Year's Day\",\n nameKey: 'solaris.calendar.holidays.new-year',\n observed: true,\n },\n {\n month: 6,\n day: 19,\n name: 'Juneteenth',\n nameKey: 'solaris.calendar.holidays.juneteenth',\n observed: true,\n },\n {\n month: 7,\n day: 4,\n name: 'Independence Day',\n nameKey: 'solaris.calendar.holidays.independence-day',\n observed: true,\n },\n {\n month: 11,\n day: 11,\n name: 'Veterans Day',\n nameKey: 'solaris.calendar.holidays.veterans-day',\n observed: true,\n },\n {\n month: 12,\n day: 25,\n name: 'Christmas Day',\n nameKey: 'solaris.calendar.holidays.christmas',\n observed: true,\n },\n ],\n weekday: [\n {\n month: 1,\n weekday: 1,\n occurrence: 3,\n name: 'Martin Luther King Jr. Day',\n nameKey: 'solaris.calendar.holidays.mlk-day',\n },\n {\n month: 2,\n weekday: 1,\n occurrence: 3,\n name: \"Presidents' Day\",\n nameKey: 'solaris.calendar.holidays.presidents-day',\n },\n {\n month: 5,\n weekday: 1,\n occurrence: 'last',\n name: 'Memorial Day',\n nameKey: 'solaris.calendar.holidays.memorial-day',\n },\n {\n month: 9,\n weekday: 1,\n occurrence: 1,\n name: 'Labor Day',\n nameKey: 'solaris.calendar.holidays.labor-day',\n },\n {\n month: 10,\n weekday: 1,\n occurrence: 2,\n name: 'Columbus Day',\n nameKey: 'solaris.calendar.holidays.columbus-day',\n },\n {\n month: 11,\n weekday: 4,\n occurrence: 4,\n name: 'Thanksgiving Day',\n nameKey: 'solaris.calendar.holidays.thanksgiving',\n },\n ],\n movable: [\n {\n easterOffset: -2,\n name: 'Good Friday',\n nameKey: 'solaris.calendar.holidays.good-friday',\n },\n {\n easterOffset: 0,\n name: 'Easter Sunday',\n nameKey: 'solaris.calendar.holidays.easter',\n },\n ],\n};\n"],"names":[],"mappings":"AAEO,MAAM,cAAc,GAA0B;AACnD,IAAA,MAAM,EAAE,OAAO;AACf,IAAA,KAAK,EAAE;AACL,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,OAAO,EAAE,oCAAoC;AAC7C,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,OAAO,EAAE,sCAAsC;AAC/C,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,OAAO,EAAE,4CAA4C;AACrD,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,cAAc;AACpB,YAAA,OAAO,EAAE,wCAAwC;AACjD,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,OAAO,EAAE,qCAAqC;AAC9C,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,OAAO,EAAE,CAAC;AACV,YAAA,UAAU,EAAE,CAAC;AACb,YAAA,IAA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|
|
1
|
+
const localeHolidays = {
|
|
2
|
+
locale: 'es',
|
|
3
|
+
fixed: [
|
|
4
|
+
{
|
|
5
|
+
month: 1,
|
|
6
|
+
day: 1,
|
|
7
|
+
name: 'Año Nuevo',
|
|
8
|
+
nameKey: 'solaris.calendar.holidays.new-year',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
month: 1,
|
|
12
|
+
day: 6,
|
|
13
|
+
name: 'Epifanía del Señor',
|
|
14
|
+
nameKey: 'solaris.calendar.holidays.epiphany',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
month: 5,
|
|
18
|
+
day: 1,
|
|
19
|
+
name: 'Fiesta del Trabajo',
|
|
20
|
+
nameKey: 'solaris.calendar.holidays.labour-day',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
month: 8,
|
|
24
|
+
day: 15,
|
|
25
|
+
name: 'Asunción de la Virgen',
|
|
26
|
+
nameKey: 'solaris.calendar.holidays.assumption',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
month: 10,
|
|
30
|
+
day: 12,
|
|
31
|
+
name: 'Fiesta Nacional de España',
|
|
32
|
+
nameKey: 'solaris.calendar.holidays.hispanic-day',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
month: 11,
|
|
36
|
+
day: 1,
|
|
37
|
+
name: 'Todos los Santos',
|
|
38
|
+
nameKey: 'solaris.calendar.holidays.all-saints',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
month: 12,
|
|
42
|
+
day: 6,
|
|
43
|
+
name: 'Día de la Constitución',
|
|
44
|
+
nameKey: 'solaris.calendar.holidays.constitution-day',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
month: 12,
|
|
48
|
+
day: 8,
|
|
49
|
+
name: 'Inmaculada Concepción',
|
|
50
|
+
nameKey: 'solaris.calendar.holidays.immaculate-conception',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
month: 12,
|
|
54
|
+
day: 25,
|
|
55
|
+
name: 'Navidad',
|
|
56
|
+
nameKey: 'solaris.calendar.holidays.christmas',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
weekday: [],
|
|
60
|
+
movable: [
|
|
61
|
+
{
|
|
62
|
+
easterOffset: -2,
|
|
63
|
+
name: 'Viernes Santo',
|
|
64
|
+
nameKey: 'solaris.calendar.holidays.good-friday',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
easterOffset: 0,
|
|
68
|
+
name: 'Domingo de Resurrección',
|
|
69
|
+
nameKey: 'solaris.calendar.holidays.easter',
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export { localeHolidays };
|
|
75
|
+
//# sourceMappingURL=educarehq-solaris-ui-holidays-es-Ed4G0MdW.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educarehq-solaris-ui-holidays-es-Ed4G0MdW.mjs","sources":["../../../../packages/angular/src/lib/components/scheduling/calendar/holidays/builtin/locales/holidays-es.ts"],"sourcesContent":["import type { BuiltInLocaleHolidays } from '../../model/holidays.types';\n\nexport const localeHolidays: BuiltInLocaleHolidays = {\n locale: 'es',\n fixed: [\n {\n month: 1,\n day: 1,\n name: 'Año Nuevo',\n nameKey: 'solaris.calendar.holidays.new-year',\n },\n {\n month: 1,\n day: 6,\n name: 'Epifanía del Señor',\n nameKey: 'solaris.calendar.holidays.epiphany',\n },\n {\n month: 5,\n day: 1,\n name: 'Fiesta del Trabajo',\n nameKey: 'solaris.calendar.holidays.labour-day',\n },\n {\n month: 8,\n day: 15,\n name: 'Asunción de la Virgen',\n nameKey: 'solaris.calendar.holidays.assumption',\n },\n {\n month: 10,\n day: 12,\n name: 'Fiesta Nacional de España',\n nameKey: 'solaris.calendar.holidays.hispanic-day',\n },\n {\n month: 11,\n day: 1,\n name: 'Todos los Santos',\n nameKey: 'solaris.calendar.holidays.all-saints',\n },\n {\n month: 12,\n day: 6,\n name: 'Día de la Constitución',\n nameKey: 'solaris.calendar.holidays.constitution-day',\n },\n {\n month: 12,\n day: 8,\n name: 'Inmaculada Concepción',\n nameKey: 'solaris.calendar.holidays.immaculate-conception',\n },\n {\n month: 12,\n day: 25,\n name: 'Navidad',\n nameKey: 'solaris.calendar.holidays.christmas',\n },\n ],\n weekday: [],\n movable: [\n {\n easterOffset: -2,\n name: 'Viernes Santo',\n nameKey: 'solaris.calendar.holidays.good-friday',\n },\n {\n easterOffset: 0,\n name: 'Domingo de Resurrección',\n nameKey: 'solaris.calendar.holidays.easter',\n },\n ],\n};\n"],"names":[],"mappings":"AAEO,MAAM,cAAc,GAA0B;AACnD,IAAA,MAAM,EAAE,IAAI;AACZ,IAAA,KAAK,EAAE;AACL,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,OAAO,EAAE,oCAAoC;AAC9C,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,OAAO,EAAE,oCAAoC;AAC9C,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,OAAO,EAAE,sCAAsC;AAChD,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,OAAO,EAAE,sCAAsC;AAChD,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,2BAA2B;AACjC,YAAA,OAAO,EAAE,wCAAwC;AAClD,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,OAAO,EAAE,sCAAsC;AAChD,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,wBAAwB;AAC9B,YAAA,OAAO,EAAE,4CAA4C;AACtD,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,OAAO,EAAE,iDAAiD;AAC3D,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,OAAO,EAAE,qCAAqC;AAC/C,SAAA;AACF,KAAA;AACD,IAAA,OAAO,EAAE,EAAE;AACX,IAAA,OAAO,EAAE;AACP,QAAA;YACE,YAAY,EAAE,CAAC,CAAC;AAChB,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,OAAO,EAAE,uCAAuC;AACjD,SAAA;AACD,QAAA;AACE,YAAA,YAAY,EAAE,CAAC;AACf,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,OAAO,EAAE,kCAAkC;AAC5C,SAAA;AACF,KAAA;;;;;"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
const localeHolidays = {
|
|
2
|
+
locale: 'pt-BR',
|
|
3
|
+
fixed: [
|
|
4
|
+
{
|
|
5
|
+
month: 1,
|
|
6
|
+
day: 1,
|
|
7
|
+
name: 'Confraternização Universal',
|
|
8
|
+
nameKey: 'solaris.calendar.holidays.new-year',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
month: 4,
|
|
12
|
+
day: 21,
|
|
13
|
+
name: 'Tiradentes',
|
|
14
|
+
nameKey: 'solaris.calendar.holidays.tiradentes',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
month: 5,
|
|
18
|
+
day: 1,
|
|
19
|
+
name: 'Dia do Trabalho',
|
|
20
|
+
nameKey: 'solaris.calendar.holidays.labour-day',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
month: 9,
|
|
24
|
+
day: 7,
|
|
25
|
+
name: 'Independência do Brasil',
|
|
26
|
+
nameKey: 'solaris.calendar.holidays.independence-day',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
month: 10,
|
|
30
|
+
day: 12,
|
|
31
|
+
name: 'Nossa Senhora Aparecida',
|
|
32
|
+
nameKey: 'solaris.calendar.holidays.our-lady-of-aparecida',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
month: 11,
|
|
36
|
+
day: 2,
|
|
37
|
+
name: 'Finados',
|
|
38
|
+
nameKey: 'solaris.calendar.holidays.all-souls',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
month: 11,
|
|
42
|
+
day: 15,
|
|
43
|
+
name: 'Proclamação da República',
|
|
44
|
+
nameKey: 'solaris.calendar.holidays.republic-day',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
month: 11,
|
|
48
|
+
day: 20,
|
|
49
|
+
name: 'Consciência Negra',
|
|
50
|
+
nameKey: 'solaris.calendar.holidays.black-consciousness',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
month: 12,
|
|
54
|
+
day: 25,
|
|
55
|
+
name: 'Natal',
|
|
56
|
+
nameKey: 'solaris.calendar.holidays.christmas',
|
|
57
|
+
},
|
|
58
|
+
// School observances (non-statutory): the primary consumers are
|
|
59
|
+
// educational institutions, so these dates render as holiday chips.
|
|
60
|
+
{
|
|
61
|
+
month: 3,
|
|
62
|
+
day: 15,
|
|
63
|
+
name: 'Dia da Escola',
|
|
64
|
+
nameKey: 'solaris.calendar.holidays.school-day',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
month: 4,
|
|
68
|
+
day: 19,
|
|
69
|
+
name: 'Dia dos Povos Indígenas',
|
|
70
|
+
nameKey: 'solaris.calendar.holidays.indigenous-peoples-day',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
month: 4,
|
|
74
|
+
day: 22,
|
|
75
|
+
name: 'Descobrimento do Brasil',
|
|
76
|
+
nameKey: 'solaris.calendar.holidays.discovery-day',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
month: 5,
|
|
80
|
+
day: 13,
|
|
81
|
+
name: 'Abolição da Escravatura',
|
|
82
|
+
nameKey: 'solaris.calendar.holidays.abolition-day',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
month: 8,
|
|
86
|
+
day: 11,
|
|
87
|
+
name: 'Dia do Estudante',
|
|
88
|
+
nameKey: 'solaris.calendar.holidays.students-day',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
month: 9,
|
|
92
|
+
day: 21,
|
|
93
|
+
name: 'Dia da Árvore',
|
|
94
|
+
nameKey: 'solaris.calendar.holidays.tree-day',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
month: 10,
|
|
98
|
+
day: 15,
|
|
99
|
+
name: 'Dia dos Professores',
|
|
100
|
+
nameKey: 'solaris.calendar.holidays.teachers-day',
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
weekday: [],
|
|
104
|
+
movable: [
|
|
105
|
+
{
|
|
106
|
+
easterOffset: -47,
|
|
107
|
+
name: 'Carnaval',
|
|
108
|
+
nameKey: 'solaris.calendar.holidays.carnival',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
easterOffset: -2,
|
|
112
|
+
name: 'Sexta-feira Santa',
|
|
113
|
+
nameKey: 'solaris.calendar.holidays.good-friday',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
easterOffset: 0,
|
|
117
|
+
name: 'Páscoa',
|
|
118
|
+
nameKey: 'solaris.calendar.holidays.easter',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
easterOffset: 60,
|
|
122
|
+
name: 'Corpus Christi',
|
|
123
|
+
nameKey: 'solaris.calendar.holidays.corpus-christi',
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export { localeHolidays };
|
|
129
|
+
//# sourceMappingURL=educarehq-solaris-ui-holidays-pt-BR-PbAFZhhU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educarehq-solaris-ui-holidays-pt-BR-PbAFZhhU.mjs","sources":["../../../../packages/angular/src/lib/components/scheduling/calendar/holidays/builtin/locales/holidays-pt-BR.ts"],"sourcesContent":["import type { BuiltInLocaleHolidays } from '../../model/holidays.types';\n\nexport const localeHolidays: BuiltInLocaleHolidays = {\n locale: 'pt-BR',\n fixed: [\n {\n month: 1,\n day: 1,\n name: 'Confraternização Universal',\n nameKey: 'solaris.calendar.holidays.new-year',\n },\n {\n month: 4,\n day: 21,\n name: 'Tiradentes',\n nameKey: 'solaris.calendar.holidays.tiradentes',\n },\n {\n month: 5,\n day: 1,\n name: 'Dia do Trabalho',\n nameKey: 'solaris.calendar.holidays.labour-day',\n },\n {\n month: 9,\n day: 7,\n name: 'Independência do Brasil',\n nameKey: 'solaris.calendar.holidays.independence-day',\n },\n {\n month: 10,\n day: 12,\n name: 'Nossa Senhora Aparecida',\n nameKey: 'solaris.calendar.holidays.our-lady-of-aparecida',\n },\n {\n month: 11,\n day: 2,\n name: 'Finados',\n nameKey: 'solaris.calendar.holidays.all-souls',\n },\n {\n month: 11,\n day: 15,\n name: 'Proclamação da República',\n nameKey: 'solaris.calendar.holidays.republic-day',\n },\n {\n month: 11,\n day: 20,\n name: 'Consciência Negra',\n nameKey: 'solaris.calendar.holidays.black-consciousness',\n },\n {\n month: 12,\n day: 25,\n name: 'Natal',\n nameKey: 'solaris.calendar.holidays.christmas',\n },\n // School observances (non-statutory): the primary consumers are\n // educational institutions, so these dates render as holiday chips.\n {\n month: 3,\n day: 15,\n name: 'Dia da Escola',\n nameKey: 'solaris.calendar.holidays.school-day',\n },\n {\n month: 4,\n day: 19,\n name: 'Dia dos Povos Indígenas',\n nameKey: 'solaris.calendar.holidays.indigenous-peoples-day',\n },\n {\n month: 4,\n day: 22,\n name: 'Descobrimento do Brasil',\n nameKey: 'solaris.calendar.holidays.discovery-day',\n },\n {\n month: 5,\n day: 13,\n name: 'Abolição da Escravatura',\n nameKey: 'solaris.calendar.holidays.abolition-day',\n },\n {\n month: 8,\n day: 11,\n name: 'Dia do Estudante',\n nameKey: 'solaris.calendar.holidays.students-day',\n },\n {\n month: 9,\n day: 21,\n name: 'Dia da Árvore',\n nameKey: 'solaris.calendar.holidays.tree-day',\n },\n {\n month: 10,\n day: 15,\n name: 'Dia dos Professores',\n nameKey: 'solaris.calendar.holidays.teachers-day',\n },\n ],\n weekday: [],\n movable: [\n {\n easterOffset: -47,\n name: 'Carnaval',\n nameKey: 'solaris.calendar.holidays.carnival',\n },\n {\n easterOffset: -2,\n name: 'Sexta-feira Santa',\n nameKey: 'solaris.calendar.holidays.good-friday',\n },\n {\n easterOffset: 0,\n name: 'Páscoa',\n nameKey: 'solaris.calendar.holidays.easter',\n },\n {\n easterOffset: 60,\n name: 'Corpus Christi',\n nameKey: 'solaris.calendar.holidays.corpus-christi',\n },\n ],\n};\n"],"names":[],"mappings":"AAEO,MAAM,cAAc,GAA0B;AACnD,IAAA,MAAM,EAAE,OAAO;AACf,IAAA,KAAK,EAAE;AACL,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,IAAI,EAAE,4BAA4B;AAClC,YAAA,OAAO,EAAE,oCAAoC;AAC9C,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,EAAE;AACP,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,OAAO,EAAE,sCAAsC;AAChD,SAAA;AACD,QAAA;AACE,YAAA,KAAK,EAAE,CAA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