@glatam/calendar-ui 1.0.4 → 1.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.
- package/README.md +5 -1
- package/dist/components/calendar-modal.d.ts.map +1 -1
- package/dist/components/series-confirmation-modal.d.ts +19 -0
- package/dist/components/series-confirmation-modal.d.ts.map +1 -0
- package/dist/glatam-calendar-mini.d.ts +7 -0
- package/dist/glatam-calendar-mini.d.ts.map +1 -1
- package/dist/glatam-calendar.cjs +321 -80
- package/dist/glatam-calendar.d.ts +5 -0
- package/dist/glatam-calendar.d.ts.map +1 -1
- package/dist/glatam-calendar.js +825 -437
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/styles/calendar-mini.css.d.ts +2 -0
- package/dist/styles/calendar-mini.css.d.ts.map +1 -0
- package/dist/styles/series-confirmation.css.d.ts +2 -0
- package/dist/styles/series-confirmation.css.d.ts.map +1 -0
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/rule-helper.d.ts +17 -0
- package/dist/utils/rule-helper.d.ts.map +1 -0
- package/dist/views/day-view.d.ts +2 -0
- package/dist/views/day-view.d.ts.map +1 -1
- package/dist/views/month-view.d.ts.map +1 -1
- package/dist/views/week-view.d.ts +2 -0
- package/dist/views/week-view.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,7 +38,11 @@ The primary calendar component displaying the full grid.
|
|
|
38
38
|
|
|
39
39
|
## ⚙️ 2. API Reference: `<glatam-calendar-mini>`
|
|
40
40
|
|
|
41
|
-
The inline checkout popup calendar component.
|
|
41
|
+
The inline checkout popup calendar component for compact booking dropdowns.
|
|
42
|
+
|
|
43
|
+
### New Features in `v1.0.5`:
|
|
44
|
+
- **Interactive Month Navigation**: Includes localized Month & Year header display with `<` and `>` control buttons.
|
|
45
|
+
- **Mobile Touch & Swipe Support**: Native touch swipe gestures (`swipe left` for next month, `swipe right` for previous month) on mobile screens.
|
|
42
46
|
|
|
43
47
|
### Properties and Attributes (Props)
|
|
44
48
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-modal.d.ts","sourceRoot":"","sources":["../../src/components/calendar-modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAEvC,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"calendar-modal.d.ts","sourceRoot":"","sources":["../../src/components/calendar-modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAgB,MAAM,uBAAuB,CAAC;AAGnE,qBACa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAAe;IAEC,IAAI,UAAS;IACd,UAAU,SAAM;IAChB,SAAS,SAAM;IACf,OAAO,SAAM;IACZ,OAAO,UAAS;IACjB,YAAY,EAAE,YAAY,GAAG,IAAI,CAAQ;IAE5D,OAAO,CAAC,WAAW,CAAM;IACzB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,YAAY,CAAgB;IAE7C,UAAU,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;IAqB9C,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;IAa3C,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,UAAU;IAalB,OAAO,CAAC,YAAY;IAUpB,MAAM;CA+EP"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { BlockingRule } from '@glatam/calendar-core';
|
|
3
|
+
|
|
4
|
+
export declare class GlatamSeriesConfirmationModal extends LitElement {
|
|
5
|
+
static styles: import('lit').CSSResult;
|
|
6
|
+
open: boolean;
|
|
7
|
+
dateString: string;
|
|
8
|
+
targetRule: BlockingRule | null;
|
|
9
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
10
|
+
private handleDialogClose;
|
|
11
|
+
private handleSelectOption;
|
|
12
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'glatam-series-confirmation-modal': GlatamSeriesConfirmationModal;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=series-confirmation-modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"series-confirmation-modal.d.ts","sourceRoot":"","sources":["../../src/components/series-confirmation-modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD,qBACa,6BAA8B,SAAQ,UAAU;IAC3D,MAAM,CAAC,MAAM,0BAA4B;IAEZ,IAAI,UAAS;IACd,UAAU,SAAM;IAChB,UAAU,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEnE,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAa/C,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,kBAAkB;IAgB1B,MAAM;CA6DP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kCAAkC,EAAE,6BAA6B,CAAC;KACnE;CACF"}
|
|
@@ -26,6 +26,13 @@ export declare class GlatamCalendarMini extends LitElement {
|
|
|
26
26
|
private activeDate;
|
|
27
27
|
private dropdownOpen;
|
|
28
28
|
private dropdownSelectedDateString;
|
|
29
|
+
private touchStartX;
|
|
30
|
+
private touchStartY;
|
|
31
|
+
private handlePrevMonth;
|
|
32
|
+
private handleNextMonth;
|
|
33
|
+
private handleTouchStart;
|
|
34
|
+
private handleTouchEnd;
|
|
35
|
+
private getFormattedMonthTitle;
|
|
29
36
|
private handleDropdownDaySelect;
|
|
30
37
|
private selectDropdownSlot;
|
|
31
38
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glatam-calendar-mini.d.ts","sourceRoot":"","sources":["../src/glatam-calendar-mini.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"glatam-calendar-mini.d.ts","sourceRoot":"","sources":["../src/glatam-calendar-mini.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAEvC,OAAO,EAAoC,YAAY,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjG,OAAO,uBAAuB,CAAC;AAE/B,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,4BAAyD;IAE1C,IAAI,SAAW;IAA6B,MAAM,SAAQ;IAC1D,cAAc,SAAK;IAA4B,KAAK,EAAE,YAAY,EAAE,CAAM;IAC1E,aAAa,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAQ;IACjE,IAAI,SAAY;IAA6B,YAAY,SAAoB;IAC5F,cAAc,SAAW;IAA6B,OAAO,SAAM;IAA6B,OAAO,SAAM;IAC5G,oBAAoB,UAAQ;IACzB,aAAa,EAAE,CAAC,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC,GAAG,IAAI,CAAQ;IACzF,KAAK,EAAE,QAAQ,EAAE,CAI1C;IAEO,OAAO,CAAC,UAAU,CAAc;IAChC,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,0BAA0B,CAAM;IAEjD,OAAO,CAAC,WAAW,CAAK;IAAC,OAAO,CAAC,WAAW,CAAK;IAEjD,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,sBAAsB;IAK9B,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,kBAAkB;IAU1B,MAAM;CA0DP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAAG,sBAAsB,EAAE,kBAAkB,CAAC;KAAE;CAChF"}
|