@oicl/openbridge-webcomponents-react 0.0.20260410082518 → 0.0.20260410101111
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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventName } from '@lit/react';
|
|
2
|
+
import { ObcCalendar as ObcCalendarElement } from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar.js';
|
|
3
|
+
import { CalendarEvent } from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';
|
|
4
|
+
export type { CalendarEvent } from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';
|
|
5
|
+
export declare const ObcCalendar: import("@lit/react").ReactWebComponent<ObcCalendarElement, {
|
|
6
|
+
onMonthChange: EventName<CustomEvent<{
|
|
7
|
+
date: Date;
|
|
8
|
+
}>>;
|
|
9
|
+
onDateSelect: EventName<CustomEvent<{
|
|
10
|
+
date: Date;
|
|
11
|
+
events: CalendarEvent[];
|
|
12
|
+
}>>;
|
|
13
|
+
onTodayClick: EventName<CustomEvent<void>>;
|
|
14
|
+
onNewEventClick: EventName<CustomEvent<void>>;
|
|
15
|
+
onCalendarClick: EventName<CustomEvent<void>>;
|
|
16
|
+
}>;
|
|
17
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/components/calendar/calendar.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,qEAAqE,CAAC;AACtH,OAAO,EAAC,aAAa,EAAC,MAAM,2EAA2E,CAAC;AACxG,YAAY,EAAC,aAAa,EAAC,MAAM,2EAA2E,CAAC;AAI7G,eAAO,MAAM,WAAW;mBAMa,SAAS,CAAC,WAAW,CAAC;QAAC,IAAI,EAAE,IAAI,CAAA;KAAC,CAAC,CAAC;kBACtC,SAAS,CAAC,WAAW,CAAC;QAAC,IAAI,EAAE,IAAI,CAAC;QAAC,MAAM,EAAE,aAAa,EAAE,CAAA;KAAC,CAAC,CAAC;kBAC7D,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;qBACrB,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;qBAC7B,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;EAElE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { ObcCalendar as ObcCalendarElement } from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar.js';
|
|
4
|
+
export const ObcCalendar = createComponent({
|
|
5
|
+
react: React,
|
|
6
|
+
tagName: 'obc-calendar',
|
|
7
|
+
elementClass: ObcCalendarElement,
|
|
8
|
+
events: {
|
|
9
|
+
onMonthChange: 'month-change',
|
|
10
|
+
onDateSelect: 'date-select',
|
|
11
|
+
onTodayClick: 'today-click',
|
|
12
|
+
onNewEventClick: 'new-event-click',
|
|
13
|
+
onCalendarClick: 'calendar-click',
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=calendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../src/components/calendar/calendar.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,qEAAqE,CAAC;AAMtH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;IACzC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,cAAc;IACvB,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE;QAEN,aAAa,EAAE,cAAsD;QACrE,YAAY,EAAE,aAA8E;QAC5F,YAAY,EAAE,aAA6C;QAC3D,eAAe,EAAE,iBAAiD;QAClE,eAAe,EAAE,gBAAgD;KAClE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcCalendar as ObcCalendarElement} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar.js';\n import {CalendarEvent} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';\n export type {CalendarEvent} from '@oicl/openbridge-webcomponents/dist/components/calendar/calendar-utils.js';\n \n\n \n export const ObcCalendar = createComponent({\n react: React,\n tagName: 'obc-calendar',\n elementClass: ObcCalendarElement,\n events: {\n \n onMonthChange: 'month-change' as EventName<CustomEvent<{date: Date}>>,\n onDateSelect: 'date-select' as EventName<CustomEvent<{date: Date, events: CalendarEvent[]}>>,\n onTodayClick: 'today-click' as EventName<CustomEvent<void>>,\n onNewEventClick: 'new-event-click' as EventName<CustomEvent<void>>,\n onCalendarClick: 'calendar-click' as EventName<CustomEvent<void>>,\n }\n });\n \n "]}
|
package/package.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"build": "tsc",
|
|
6
6
|
"build:watch": "tsc --watch"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.20260410101111",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@oicl/openbridge-webcomponents": "^0.0.
|
|
10
|
+
"@oicl/openbridge-webcomponents": "^0.0.20260410101111",
|
|
11
11
|
"@lit/react": "^1.0.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
"components/breadcrumb/breadcrumb.{js,js.map,d.ts,d.ts.map}",
|
|
119
119
|
"components/brilliance-menu/brilliance-menu.{js,js.map,d.ts,d.ts.map}",
|
|
120
120
|
"components/button/button.{js,js.map,d.ts,d.ts.map}",
|
|
121
|
+
"components/calendar/calendar.{js,js.map,d.ts,d.ts.map}",
|
|
121
122
|
"components/card/card.{js,js.map,d.ts,d.ts.map}",
|
|
122
123
|
"components/chat-message/chat-message.{js,js.map,d.ts,d.ts.map}",
|
|
123
124
|
"components/check-button/check-button.{js,js.map,d.ts,d.ts.map}",
|