@nuralyui/datepicker 0.0.4 → 0.0.6

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 (82) hide show
  1. package/bundle.js +788 -0
  2. package/datepicker.component.d.ts +189 -0
  3. package/datepicker.component.js +668 -0
  4. package/datepicker.component.js.map +1 -0
  5. package/datepicker.constant.d.ts +60 -0
  6. package/datepicker.constant.js +60 -0
  7. package/datepicker.constant.js.map +1 -0
  8. package/datepicker.style.d.ts +17 -0
  9. package/datepicker.style.js +455 -0
  10. package/datepicker.style.js.map +1 -0
  11. package/datepicker.style.variables.d.ts +2 -0
  12. package/datepicker.style.variables.js +119 -0
  13. package/datepicker.style.variables.js.map +1 -0
  14. package/datepicker.types.d.ts +113 -10
  15. package/datepicker.types.js +67 -0
  16. package/datepicker.types.js.map +1 -1
  17. package/index.d.ts +3 -1
  18. package/index.js +3 -1
  19. package/index.js.map +1 -1
  20. package/package.json +16 -2
  21. package/react.d.ts +15 -2
  22. package/react.js +17 -4
  23. package/react.js.map +1 -1
  24. package/constants.d.ts +0 -2
  25. package/constants.d.ts.map +0 -1
  26. package/constants.js +0 -2
  27. package/constants.js.map +0 -1
  28. package/core/day.helper.d.ts +0 -5
  29. package/core/day.helper.d.ts.map +0 -1
  30. package/core/day.helper.js +0 -53
  31. package/core/day.helper.js.map +0 -1
  32. package/core/formatter.d.ts +0 -2
  33. package/core/formatter.d.ts.map +0 -1
  34. package/core/formatter.js +0 -9
  35. package/core/formatter.js.map +0 -1
  36. package/core/locale.helper.d.ts +0 -144
  37. package/core/locale.helper.d.ts.map +0 -1
  38. package/core/locale.helper.js +0 -151
  39. package/core/locale.helper.js.map +0 -1
  40. package/core/month.helper.d.ts +0 -3
  41. package/core/month.helper.d.ts.map +0 -1
  42. package/core/month.helper.js +0 -24
  43. package/core/month.helper.js.map +0 -1
  44. package/core/string.helper.d.ts +0 -2
  45. package/core/string.helper.d.ts.map +0 -1
  46. package/core/string.helper.js +0 -4
  47. package/core/string.helper.js.map +0 -1
  48. package/date-picker.component.d.ts +0 -80
  49. package/date-picker.component.d.ts.map +0 -1
  50. package/date-picker.component.js +0 -475
  51. package/date-picker.component.js.map +0 -1
  52. package/date-picker.style.d.ts +0 -2
  53. package/date-picker.style.d.ts.map +0 -1
  54. package/date-picker.style.js +0 -223
  55. package/date-picker.style.js.map +0 -1
  56. package/datepicker.types.d.ts.map +0 -1
  57. package/demo/date-picker-demo.d.ts +0 -18
  58. package/demo/date-picker-demo.d.ts.map +0 -1
  59. package/demo/date-picker-demo.js +0 -95
  60. package/demo/date-picker-demo.js.map +0 -1
  61. package/index.d.ts.map +0 -1
  62. package/react.d.ts.map +0 -1
  63. package/templates/days.template.d.ts +0 -4
  64. package/templates/days.template.d.ts.map +0 -1
  65. package/templates/days.template.js +0 -28
  66. package/templates/days.template.js.map +0 -1
  67. package/templates/headers.template.d.ts +0 -2
  68. package/templates/headers.template.d.ts.map +0 -1
  69. package/templates/headers.template.js +0 -5
  70. package/templates/headers.template.js.map +0 -1
  71. package/templates/months.template.d.ts +0 -6
  72. package/templates/months.template.d.ts.map +0 -1
  73. package/templates/months.template.js +0 -10
  74. package/templates/months.template.js.map +0 -1
  75. package/templates/years.template.d.ts +0 -6
  76. package/templates/years.template.d.ts.map +0 -1
  77. package/templates/years.template.js +0 -11
  78. package/templates/years.template.js.map +0 -1
  79. package/test/datepicker_test.d.ts +0 -2
  80. package/test/datepicker_test.d.ts.map +0 -1
  81. package/test/datepicker_test.js +0 -132
  82. package/test/datepicker_test.js.map +0 -1
@@ -1,16 +1,46 @@
1
- export declare enum Mode {
2
- Day = "day",
3
- Month = "month",
4
- Year = "year",
5
- Decade = "decade"
6
- }
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ /**
7
+ * Date picker option type for individual date selections
8
+ */
9
+ export declare type DatePickerOption = {
10
+ value: string;
11
+ label: string;
12
+ date: Date;
13
+ disabled?: boolean;
14
+ state?: DatePickerState;
15
+ message?: string;
16
+ htmlContent?: string;
17
+ className?: string;
18
+ style?: string;
19
+ title?: string;
20
+ id?: string;
21
+ };
22
+ /**
23
+ * State types for date picker validation and feedback
24
+ */
25
+ export declare type DatePickerState = 'error' | 'warning' | 'success';
26
+ /**
27
+ * Navigation date structure for date picker
28
+ */
7
29
  export interface INavigationDate {
8
30
  start: {
9
31
  year: number;
10
32
  month: number;
11
33
  day: number;
12
34
  };
35
+ end?: {
36
+ year: number;
37
+ month: number;
38
+ day: number;
39
+ };
13
40
  }
41
+ /**
42
+ * Day presentation structure for calendar rendering
43
+ */
14
44
  export interface IDayPresentation {
15
45
  date: number;
16
46
  day: number;
@@ -19,7 +49,15 @@ export interface IDayPresentation {
19
49
  valid: number;
20
50
  year: number;
21
51
  timestamp: number;
52
+ isToday?: boolean;
53
+ isSelected?: boolean;
54
+ isInRange?: boolean;
55
+ isDisabled?: boolean;
56
+ state?: DatePickerState;
22
57
  }
58
+ /**
59
+ * Day information for month calculations
60
+ */
23
61
  export interface IDayInfo {
24
62
  dayIndex: number;
25
63
  numberOfDays: number;
@@ -28,12 +66,77 @@ export interface IDayInfo {
28
66
  month: number;
29
67
  days: string[];
30
68
  }
69
+ /**
70
+ * Raw date object for internal state management
71
+ */
31
72
  export interface DateRawObject {
32
- curentYear: number;
73
+ currentYear: number;
33
74
  currentMonth: number;
34
75
  currentDay: number;
35
- endYear: number;
36
- endMonth: number;
37
- endDay: number;
76
+ endYear?: number;
77
+ endMonth?: number;
78
+ endDay?: number;
79
+ }
80
+ /**
81
+ * Date picker modes enumeration
82
+ */
83
+ export declare enum DatePickerMode {
84
+ Day = "day",
85
+ Month = "month",
86
+ Year = "year",
87
+ Decade = "decade"
88
+ }
89
+ /**
90
+ * Date picker types enumeration
91
+ */
92
+ export declare enum DatePickerType {
93
+ Single = "single",
94
+ Range = "range",
95
+ Multiple = "multiple"
96
+ }
97
+ /**
98
+ * Date picker size enumeration
99
+ */
100
+ export declare enum DatePickerSize {
101
+ Small = "small",
102
+ Medium = "medium",
103
+ Large = "large"
104
+ }
105
+ /**
106
+ * Date picker variant enumeration
107
+ */
108
+ export declare enum DatePickerVariant {
109
+ Default = "default",
110
+ Outlined = "outlined",
111
+ Filled = "filled"
112
+ }
113
+ /**
114
+ * Date format patterns
115
+ */
116
+ export declare enum DatePickerFormat {
117
+ ISO = "YYYY-MM-DD",
118
+ US = "MM/DD/YYYY",
119
+ EU = "DD/MM/YYYY",
120
+ Short = "DD/MM/YY",
121
+ Long = "DD MMMM YYYY",
122
+ Medium = "DD MMM YYYY"
123
+ }
124
+ /**
125
+ * Date picker placement options
126
+ */
127
+ export declare enum DatePickerPlacement {
128
+ Bottom = "bottom",
129
+ Top = "top",
130
+ Auto = "auto"
131
+ }
132
+ /**
133
+ * Legacy compatibility - keeping original Mode enum
134
+ * @deprecated Use DatePickerMode instead
135
+ */
136
+ export declare enum Mode {
137
+ Day = "day",
138
+ Month = "month",
139
+ Year = "year",
140
+ Decade = "decade"
38
141
  }
39
142
  //# sourceMappingURL=datepicker.types.d.ts.map
@@ -1,3 +1,70 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ /**
7
+ * Date picker modes enumeration
8
+ */
9
+ export var DatePickerMode;
10
+ (function (DatePickerMode) {
11
+ DatePickerMode["Day"] = "day";
12
+ DatePickerMode["Month"] = "month";
13
+ DatePickerMode["Year"] = "year";
14
+ DatePickerMode["Decade"] = "decade";
15
+ })(DatePickerMode || (DatePickerMode = {}));
16
+ /**
17
+ * Date picker types enumeration
18
+ */
19
+ export var DatePickerType;
20
+ (function (DatePickerType) {
21
+ DatePickerType["Single"] = "single";
22
+ DatePickerType["Range"] = "range";
23
+ DatePickerType["Multiple"] = "multiple";
24
+ })(DatePickerType || (DatePickerType = {}));
25
+ /**
26
+ * Date picker size enumeration
27
+ */
28
+ export var DatePickerSize;
29
+ (function (DatePickerSize) {
30
+ DatePickerSize["Small"] = "small";
31
+ DatePickerSize["Medium"] = "medium";
32
+ DatePickerSize["Large"] = "large";
33
+ })(DatePickerSize || (DatePickerSize = {}));
34
+ /**
35
+ * Date picker variant enumeration
36
+ */
37
+ export var DatePickerVariant;
38
+ (function (DatePickerVariant) {
39
+ DatePickerVariant["Default"] = "default";
40
+ DatePickerVariant["Outlined"] = "outlined";
41
+ DatePickerVariant["Filled"] = "filled";
42
+ })(DatePickerVariant || (DatePickerVariant = {}));
43
+ /**
44
+ * Date format patterns
45
+ */
46
+ export var DatePickerFormat;
47
+ (function (DatePickerFormat) {
48
+ DatePickerFormat["ISO"] = "YYYY-MM-DD";
49
+ DatePickerFormat["US"] = "MM/DD/YYYY";
50
+ DatePickerFormat["EU"] = "DD/MM/YYYY";
51
+ DatePickerFormat["Short"] = "DD/MM/YY";
52
+ DatePickerFormat["Long"] = "DD MMMM YYYY";
53
+ DatePickerFormat["Medium"] = "DD MMM YYYY";
54
+ })(DatePickerFormat || (DatePickerFormat = {}));
55
+ /**
56
+ * Date picker placement options
57
+ */
58
+ export var DatePickerPlacement;
59
+ (function (DatePickerPlacement) {
60
+ DatePickerPlacement["Bottom"] = "bottom";
61
+ DatePickerPlacement["Top"] = "top";
62
+ DatePickerPlacement["Auto"] = "auto";
63
+ })(DatePickerPlacement || (DatePickerPlacement = {}));
64
+ /**
65
+ * Legacy compatibility - keeping original Mode enum
66
+ * @deprecated Use DatePickerMode instead
67
+ */
1
68
  export var Mode;
2
69
  (function (Mode) {
3
70
  Mode["Day"] = "day";
@@ -1 +1 @@
1
- {"version":3,"file":"datepicker.types.js","sourceRoot":"","sources":["../../../src/components/datepicker/datepicker.types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,mBAAW,CAAA;IACX,uBAAe,CAAA;IACf,qBAAa,CAAA;IACb,yBAAiB,CAAA;AACnB,CAAC,EALW,IAAI,KAAJ,IAAI,QAKf","sourcesContent":["export enum Mode {\n Day = 'day',\n Month = 'month',\n Year = 'year',\n Decade = 'decade',\n}\n\nexport interface INavigationDate {\n start: {\n year: number;\n month: number;\n day: number;\n };\n}\nexport interface IDayPresentation {\n date: number;\n day: number;\n dayString: string;\n month: number;\n valid: number;\n year: number;\n timestamp: number;\n}\n\nexport interface IDayInfo {\n dayIndex: number;\n numberOfDays: number;\n firstDay: number;\n year: number;\n month: number;\n days: string[];\n}\nexport interface DateRawObject {\n curentYear: number;\n currentMonth: number;\n currentDay: number;\n endYear: number;\n endMonth: number;\n endDay: number;\n}\n"]}
1
+ {"version":3,"file":"datepicker.types.js","sourceRoot":"","sources":["../../../src/components/datepicker/datepicker.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAkFH;;GAEG;AACH,MAAM,CAAN,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,6BAAW,CAAA;IACX,iCAAe,CAAA;IACf,+BAAa,CAAA;IACb,mCAAiB,CAAA;AACnB,CAAC,EALW,cAAc,KAAd,cAAc,QAKzB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,iCAAe,CAAA;AACjB,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,sCAAiB,CAAA;AACnB,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,QAI5B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,sCAAkB,CAAA;IAClB,qCAAiB,CAAA;IACjB,qCAAiB,CAAA;IACjB,sCAAkB,CAAA;IAClB,yCAAqB,CAAA;IACrB,0CAAsB,CAAA;AACxB,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,wCAAiB,CAAA;IACjB,kCAAW,CAAA;IACX,oCAAa,CAAA;AACf,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,mBAAW,CAAA;IACX,uBAAe,CAAA;IACf,qBAAa,CAAA;IACb,yBAAiB,CAAA;AACnB,CAAC,EALW,IAAI,KAAJ,IAAI,QAKf","sourcesContent":["/**\n * @license\n * Copyright 2023 Google Laabidi Aymen\n * SPDX-License-Identifier: MIT\n */\n\n/**\n * Date picker option type for individual date selections\n */\nexport type DatePickerOption = {\n value: string;\n label: string;\n date: Date;\n disabled?: boolean;\n state?: DatePickerState;\n message?: string;\n htmlContent?: string;\n className?: string;\n style?: string;\n title?: string;\n id?: string;\n};\n\n/**\n * State types for date picker validation and feedback\n */\nexport type DatePickerState = 'error' | 'warning' | 'success';\n\n/**\n * Navigation date structure for date picker\n */\nexport interface INavigationDate {\n start: {\n year: number;\n month: number;\n day: number;\n };\n end?: {\n year: number;\n month: number;\n day: number;\n };\n}\n\n/**\n * Day presentation structure for calendar rendering\n */\nexport interface IDayPresentation {\n date: number;\n day: number;\n dayString: string;\n month: number;\n valid: number;\n year: number;\n timestamp: number;\n isToday?: boolean;\n isSelected?: boolean;\n isInRange?: boolean;\n isDisabled?: boolean;\n state?: DatePickerState;\n}\n\n/**\n * Day information for month calculations\n */\nexport interface IDayInfo {\n dayIndex: number;\n numberOfDays: number;\n firstDay: number;\n year: number;\n month: number;\n days: string[];\n}\n\n/**\n * Raw date object for internal state management\n */\nexport interface DateRawObject {\n currentYear: number;\n currentMonth: number;\n currentDay: number;\n endYear?: number;\n endMonth?: number;\n endDay?: number;\n}\n\n/**\n * Date picker modes enumeration\n */\nexport enum DatePickerMode {\n Day = 'day',\n Month = 'month', \n Year = 'year',\n Decade = 'decade',\n}\n\n/**\n * Date picker types enumeration\n */\nexport enum DatePickerType {\n Single = 'single',\n Range = 'range',\n Multiple = 'multiple',\n}\n\n/**\n * Date picker size enumeration\n */\nexport enum DatePickerSize {\n Small = 'small',\n Medium = 'medium',\n Large = 'large',\n}\n\n/**\n * Date picker variant enumeration\n */\nexport enum DatePickerVariant {\n Default = 'default',\n Outlined = 'outlined',\n Filled = 'filled',\n}\n\n/**\n * Date format patterns\n */\nexport enum DatePickerFormat {\n ISO = 'YYYY-MM-DD',\n US = 'MM/DD/YYYY',\n EU = 'DD/MM/YYYY',\n Short = 'DD/MM/YY',\n Long = 'DD MMMM YYYY',\n Medium = 'DD MMM YYYY',\n}\n\n/**\n * Date picker placement options\n */\nexport enum DatePickerPlacement {\n Bottom = 'bottom',\n Top = 'top',\n Auto = 'auto',\n}\n\n/**\n * Legacy compatibility - keeping original Mode enum\n * @deprecated Use DatePickerMode instead\n */\nexport enum Mode {\n Day = 'day',\n Month = 'month',\n Year = 'year', \n Decade = 'decade',\n}\n"]}
package/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
- export * from './date-picker.component.js';
1
+ export * from './datepicker.component.js';
2
+ export * from './datepicker.types.js';
3
+ export * from './controllers/index.js';
2
4
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,2 +1,4 @@
1
- export * from './date-picker.component.js';
1
+ export * from './datepicker.component.js';
2
+ export * from './datepicker.types.js';
3
+ export * from './controllers/index.js';
2
4
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/datepicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './date-picker.component.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/datepicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC","sourcesContent":["export * from './datepicker.component.js';\nexport * from './datepicker.types.js';\nexport * from './controllers/index.js';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuralyui/datepicker",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -11,5 +11,19 @@
11
11
  "test": "echo \"Error: no test specified\" && exit 1"
12
12
  },
13
13
  "author": "Labidi Aymen",
14
- "license": "ISC"
14
+ "license": "ISC",
15
+ "exports": {
16
+ ".": {
17
+ "import": "./index.js"
18
+ },
19
+ "./bundle": {
20
+ "import": "./bundle.js"
21
+ }
22
+ },
23
+ "files": [
24
+ "bundle.js",
25
+ "*.js",
26
+ "*.d.ts",
27
+ "*.js.map"
28
+ ]
15
29
  }
package/react.d.ts CHANGED
@@ -1,3 +1,16 @@
1
- import { HyDatePickerElement } from './date-picker.component.js';
2
- export declare const HyDatepicker: import("@lit-labs/react").ReactWebComponent<HyDatePickerElement, {}>;
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import { HyDatePickerElement } from './datepicker.component.js';
7
+ export declare const HyDatepicker: import("@lit-labs/react").ReactWebComponent<HyDatePickerElement, {
8
+ onDateChange: string;
9
+ onRangeChange: string;
10
+ onCalendarOpen: string;
11
+ onCalendarClose: string;
12
+ onFocus: string;
13
+ onBlur: string;
14
+ onValidation: string;
15
+ }>;
3
16
  //# sourceMappingURL=react.d.ts.map
package/react.js CHANGED
@@ -1,10 +1,23 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import React from 'react';
1
7
  import { createComponent } from '@lit-labs/react';
2
- import * as React from 'react';
3
- import { HyDatePickerElement } from './date-picker.component.js';
8
+ import { HyDatePickerElement } from './datepicker.component.js';
4
9
  export const HyDatepicker = createComponent({
5
- tagName: 'hy-datepicker',
10
+ tagName: 'nr-datepicker',
6
11
  elementClass: HyDatePickerElement,
7
12
  react: React,
8
- events: {},
13
+ events: {
14
+ onDateChange: 'nr-date-change',
15
+ onRangeChange: 'nr-range-change',
16
+ onCalendarOpen: 'nr-calendar-open',
17
+ onCalendarClose: 'nr-calendar-close',
18
+ onFocus: 'nr-focus',
19
+ onBlur: 'nr-blur',
20
+ onValidation: 'nr-validation',
21
+ },
9
22
  });
10
23
  //# sourceMappingURL=react.js.map
package/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/components/datepicker/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,mBAAmB,EAAC,MAAM,4BAA4B,CAAC;AAC/D,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;IAC1C,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,mBAAmB;IACjC,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAE;CACX,CAAC,CAAC","sourcesContent":["import {createComponent} from '@lit-labs/react';\nimport * as React from 'react';\nimport {HyDatePickerElement} from './date-picker.component.js';\nexport const HyDatepicker = createComponent({\n tagName: 'hy-datepicker',\n elementClass: HyDatePickerElement,\n react: React,\n events: {},\n});\n"]}
1
+ {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/components/datepicker/react.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;IAC1C,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,mBAAmB;IACjC,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,YAAY,EAAE,gBAAgB;QAC9B,aAAa,EAAE,iBAAiB;QAChC,cAAc,EAAE,kBAAkB;QAClC,eAAe,EAAE,mBAAmB;QACpC,OAAO,EAAE,UAAU;QACnB,MAAM,EAAE,SAAS;QACjB,YAAY,EAAE,eAAe;KAC9B;CACF,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2023 Google Laabidi Aymen\n * SPDX-License-Identifier: MIT\n */\n\nimport React from 'react';\nimport { createComponent } from '@lit-labs/react';\nimport { HyDatePickerElement } from './datepicker.component.js';\n\nexport const HyDatepicker = createComponent({\n tagName: 'nr-datepicker',\n elementClass: HyDatePickerElement,\n react: React,\n events: {\n onDateChange: 'nr-date-change',\n onRangeChange: 'nr-range-change',\n onCalendarOpen: 'nr-calendar-open',\n onCalendarClose: 'nr-calendar-close',\n onFocus: 'nr-focus',\n onBlur: 'nr-blur',\n onValidation: 'nr-validation',\n },\n});\n"]}
package/constants.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare const EMPTY_STRING = "";
2
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/datepicker/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,KAAK,CAAC"}
package/constants.js DELETED
@@ -1,2 +0,0 @@
1
- export const EMPTY_STRING = '';
2
- //# sourceMappingURL=constants.js.map
package/constants.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/datepicker/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,CAAC","sourcesContent":["export const EMPTY_STRING = '';\n"]}
@@ -1,5 +0,0 @@
1
- import { DateRawObject, IDayInfo, IDayPresentation } from '../datepicker.types.js';
2
- export declare const getDayDetails: ({ dayIndex, month, year, numberOfDays, firstDay, days }: IDayInfo) => IDayPresentation;
3
- export declare const getNumberOfDays: (year: number, month: number) => number;
4
- export declare const todayIsTheDay: (day: IDayPresentation, dateRawObject: DateRawObject, isRange: boolean) => boolean;
5
- //# sourceMappingURL=day.helper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"day.helper.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/core/day.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAEjF,eAAO,MAAM,aAAa,4DAA2D,QAAQ,KAAG,gBAqC/F,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,MAAM,SAAS,MAAM,WAE1D,CAAC;AAEF,eAAO,MAAM,aAAa,QAAS,gBAAgB,iBAAiB,aAAa,WAAW,OAAO,KAAG,OAUrG,CAAC"}
@@ -1,53 +0,0 @@
1
- export const getDayDetails = ({ dayIndex, month, year, numberOfDays, firstDay, days }) => {
2
- const date = dayIndex - firstDay;
3
- const day = dayIndex % 7;
4
- let prevMonth = month - 1;
5
- let prevYear = year;
6
- if (prevMonth < 0) {
7
- prevMonth = 11;
8
- prevYear--;
9
- }
10
- const prevMonthNumberOfDays = getNumberOfDays(prevYear, prevMonth);
11
- const _date = (date < 0 ? prevMonthNumberOfDays + date : date % numberOfDays) + 1;
12
- const valid = date >= 0 && date < numberOfDays ? 1 : 0;
13
- const timestamp = new Date(year, month, _date).getTime();
14
- let _month = month;
15
- let _year = year;
16
- if (date > 0 && date >= numberOfDays) {
17
- _month += 1;
18
- if (_month > 11) {
19
- _month = 0;
20
- _year++;
21
- }
22
- }
23
- else if (date < 0) {
24
- _month -= 1;
25
- if (_month < 0) {
26
- _month = 11;
27
- _year--;
28
- }
29
- }
30
- return {
31
- date: _date,
32
- day,
33
- valid,
34
- timestamp,
35
- dayString: days[day],
36
- month: _month,
37
- year: _year,
38
- };
39
- };
40
- export const getNumberOfDays = (year, month) => {
41
- return 32 - new Date(year, month, 32).getDate();
42
- };
43
- export const todayIsTheDay = (day, dateRawObject, isRange) => {
44
- let isTheDate = false;
45
- if (!isRange) {
46
- isTheDate =
47
- day.year === dateRawObject.curentYear &&
48
- dateRawObject.currentMonth === day.month + 1 &&
49
- day.date === dateRawObject.currentDay;
50
- }
51
- return isTheDate;
52
- };
53
- //# sourceMappingURL=day.helper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"day.helper.js","sourceRoot":"","sources":["../../../../src/components/datepicker/core/day.helper.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAW,EAAoB,EAAE;IACjH,MAAM,IAAI,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACjC,MAAM,GAAG,GAAG,QAAQ,GAAG,CAAC,CAAC;IACzB,IAAI,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;IAC1B,IAAI,QAAQ,GAAG,IAAI,CAAC;IACpB,IAAI,SAAS,GAAG,CAAC,EAAE;QACjB,SAAS,GAAG,EAAE,CAAC;QACf,QAAQ,EAAE,CAAC;KACZ;IACD,MAAM,qBAAqB,GAAG,eAAe,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IACnE,MAAM,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,qBAAqB,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IAClF,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,IAAI,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;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AAC;KACzC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC","sourcesContent":["import {DateRawObject, IDayInfo, IDayPresentation} from '../datepicker.types.js';\n\nexport const getDayDetails = ({dayIndex, month, year, numberOfDays, firstDay, days}: IDayInfo): IDayPresentation => {\n const date = dayIndex - firstDay;\n const day = dayIndex % 7;\n let prevMonth = month - 1;\n let prevYear = year;\n if (prevMonth < 0) {\n prevMonth = 11;\n prevYear--;\n }\n const prevMonthNumberOfDays = getNumberOfDays(prevYear, prevMonth);\n const _date = (date < 0 ? prevMonthNumberOfDays + date : date % numberOfDays) + 1;\n const valid = date >= 0 && date < numberOfDays ? 1 : 0;\n const timestamp = new Date(year, month, _date).getTime();\n let _month = month;\n let _year = year;\n if (date > 0 && date >= numberOfDays) {\n _month += 1;\n if (_month > 11) {\n _month = 0;\n _year++;\n }\n } else if (date < 0) {\n _month -= 1;\n if (_month < 0) {\n _month = 11;\n _year--;\n }\n }\n return {\n date: _date,\n day,\n valid,\n timestamp,\n dayString: days[day],\n month: _month,\n year: _year,\n };\n};\n\nexport const getNumberOfDays = (year: number, month: number) => {\n return 32 - new Date(year, month, 32).getDate();\n};\n\nexport const todayIsTheDay = (day: IDayPresentation, dateRawObject: DateRawObject, isRange: boolean): boolean => {\n let isTheDate = false;\n if (!isRange) {\n isTheDate =\n day.year === dateRawObject.curentYear &&\n dateRawObject.currentMonth === day.month + 1 &&\n day.date === dateRawObject.currentDay;\n }\n\n return isTheDate;\n};\n"]}
@@ -1,2 +0,0 @@
1
- export declare function oneToTwoDigit(num: number): string;
2
- //# sourceMappingURL=formatter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatter.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/core/formatter.ts"],"names":[],"mappings":"AACA,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,UAMxC"}
package/core/formatter.js DELETED
@@ -1,9 +0,0 @@
1
- export function oneToTwoDigit(num) {
2
- if (num < 10) {
3
- return "0" + num;
4
- }
5
- else {
6
- return num.toString();
7
- }
8
- }
9
- //# sourceMappingURL=formatter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../../src/components/datepicker/core/formatter.ts"],"names":[],"mappings":"AACA,MAAM,UAAU,aAAa,CAAC,GAAW;IACrC,IAAI,GAAG,GAAG,EAAE,EAAE;QACV,OAAO,GAAG,GAAG,GAAG,CAAC;KACpB;SAAM;QACH,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;KACzB;AACL,CAAC","sourcesContent":["\nexport function oneToTwoDigit(num: number) {\n if (num < 10) {\n return \"0\" + num;\n } else {\n return num.toString();\n }\n}"]}
@@ -1,144 +0,0 @@
1
- import 'dayjs/locale/af';
2
- import 'dayjs/locale/am';
3
- import 'dayjs/locale/ar-dz';
4
- import 'dayjs/locale/ar-iq';
5
- import 'dayjs/locale/ar-kw';
6
- import 'dayjs/locale/ar-ly';
7
- import 'dayjs/locale/ar-ma';
8
- import 'dayjs/locale/ar-sa';
9
- import 'dayjs/locale/ar-tn';
10
- import 'dayjs/locale/ar';
11
- import 'dayjs/locale/az';
12
- import 'dayjs/locale/be';
13
- import 'dayjs/locale/bg';
14
- import 'dayjs/locale/bi';
15
- import 'dayjs/locale/bm';
16
- import 'dayjs/locale/bn-bd';
17
- import 'dayjs/locale/bn';
18
- import 'dayjs/locale/bo';
19
- import 'dayjs/locale/br';
20
- import 'dayjs/locale/bs';
21
- import 'dayjs/locale/ca';
22
- import 'dayjs/locale/cs';
23
- import 'dayjs/locale/cv';
24
- import 'dayjs/locale/cy';
25
- import 'dayjs/locale/da';
26
- import 'dayjs/locale/de-at';
27
- import 'dayjs/locale/de-ch';
28
- import 'dayjs/locale/de';
29
- import 'dayjs/locale/dv';
30
- import 'dayjs/locale/el';
31
- import 'dayjs/locale/en-au';
32
- import 'dayjs/locale/en-ca';
33
- import 'dayjs/locale/en-gb';
34
- import 'dayjs/locale/en-ie';
35
- import 'dayjs/locale/en-il';
36
- import 'dayjs/locale/en-in';
37
- import 'dayjs/locale/en-nz';
38
- import 'dayjs/locale/en-sg';
39
- import 'dayjs/locale/en-tt';
40
- import 'dayjs/locale/en';
41
- import 'dayjs/locale/eo';
42
- import 'dayjs/locale/es-do';
43
- import 'dayjs/locale/es-mx';
44
- import 'dayjs/locale/es-pr';
45
- import 'dayjs/locale/es-us';
46
- import 'dayjs/locale/es';
47
- import 'dayjs/locale/et';
48
- import 'dayjs/locale/eu';
49
- import 'dayjs/locale/fa';
50
- import 'dayjs/locale/fi';
51
- import 'dayjs/locale/fo';
52
- import 'dayjs/locale/fr-ca';
53
- import 'dayjs/locale/fr-ch';
54
- import 'dayjs/locale/fr';
55
- import 'dayjs/locale/fy';
56
- import 'dayjs/locale/ga';
57
- import 'dayjs/locale/gd';
58
- import 'dayjs/locale/gl';
59
- import 'dayjs/locale/gom-latn';
60
- import 'dayjs/locale/gu';
61
- import 'dayjs/locale/he';
62
- import 'dayjs/locale/hi';
63
- import 'dayjs/locale/hr';
64
- import 'dayjs/locale/ht';
65
- import 'dayjs/locale/hu';
66
- import 'dayjs/locale/hy-am';
67
- import 'dayjs/locale/id';
68
- import 'dayjs/locale/is';
69
- import 'dayjs/locale/it-ch';
70
- import 'dayjs/locale/it';
71
- import 'dayjs/locale/ja';
72
- import 'dayjs/locale/jv';
73
- import 'dayjs/locale/ka';
74
- import 'dayjs/locale/kk';
75
- import 'dayjs/locale/km';
76
- import 'dayjs/locale/kn';
77
- import 'dayjs/locale/ko';
78
- import 'dayjs/locale/ku';
79
- import 'dayjs/locale/ky';
80
- import 'dayjs/locale/lb';
81
- import 'dayjs/locale/lo';
82
- import 'dayjs/locale/lt';
83
- import 'dayjs/locale/lv';
84
- import 'dayjs/locale/me';
85
- import 'dayjs/locale/mi';
86
- import 'dayjs/locale/mk';
87
- import 'dayjs/locale/ml';
88
- import 'dayjs/locale/mn';
89
- import 'dayjs/locale/mr';
90
- import 'dayjs/locale/ms-my';
91
- import 'dayjs/locale/ms';
92
- import 'dayjs/locale/mt';
93
- import 'dayjs/locale/my';
94
- import 'dayjs/locale/nb';
95
- import 'dayjs/locale/ne';
96
- import 'dayjs/locale/nl-be';
97
- import 'dayjs/locale/nl';
98
- import 'dayjs/locale/nn';
99
- import 'dayjs/locale/oc-lnc';
100
- import 'dayjs/locale/pa-in';
101
- import 'dayjs/locale/pl';
102
- import 'dayjs/locale/pt-br';
103
- import 'dayjs/locale/pt';
104
- import 'dayjs/locale/rn';
105
- import 'dayjs/locale/ro';
106
- import 'dayjs/locale/ru';
107
- import 'dayjs/locale/rw';
108
- import 'dayjs/locale/sd';
109
- import 'dayjs/locale/se';
110
- import 'dayjs/locale/si';
111
- import 'dayjs/locale/sk';
112
- import 'dayjs/locale/sl';
113
- import 'dayjs/locale/sq';
114
- import 'dayjs/locale/sr-cyrl';
115
- import 'dayjs/locale/sr';
116
- import 'dayjs/locale/ss';
117
- import 'dayjs/locale/sv-fi';
118
- import 'dayjs/locale/sv';
119
- import 'dayjs/locale/sw';
120
- import 'dayjs/locale/ta';
121
- import 'dayjs/locale/te';
122
- import 'dayjs/locale/tet';
123
- import 'dayjs/locale/tg';
124
- import 'dayjs/locale/th';
125
- import 'dayjs/locale/tk';
126
- import 'dayjs/locale/tl-ph';
127
- import 'dayjs/locale/tlh';
128
- import 'dayjs/locale/tr';
129
- import 'dayjs/locale/tzl';
130
- import 'dayjs/locale/tzm-latn';
131
- import 'dayjs/locale/tzm';
132
- import 'dayjs/locale/ug-cn';
133
- import 'dayjs/locale/uk';
134
- import 'dayjs/locale/ur';
135
- import 'dayjs/locale/uz-latn';
136
- import 'dayjs/locale/uz';
137
- import 'dayjs/locale/vi';
138
- import 'dayjs/locale/x-pseudo';
139
- import 'dayjs/locale/yo';
140
- import 'dayjs/locale/zh-cn';
141
- import 'dayjs/locale/zh-hk';
142
- import 'dayjs/locale/zh-tw';
143
- import 'dayjs/locale/zh';
144
- //# sourceMappingURL=locale.helper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"locale.helper.d.ts","sourceRoot":"","sources":["../../../../src/components/datepicker/core/locale.helper.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC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