@calenderjs/react 0.0.1 → 0.3.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/README.md +69 -190
- package/dist/Calendar.d.ts.map +1 -1
- package/dist/components/ResizableSplitter.d.ts.map +1 -1
- package/dist/index.cjs +10 -312
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +11 -313
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -8
- package/dist/components/EventEditor.d.ts +0 -52
- package/dist/components/EventEditor.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -5,44 +5,41 @@ React wrapper for `@calenderjs/calendar` Web Component.
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
pnpm add @calenderjs/react @calenderjs/calendar
|
|
8
|
+
pnpm add @calenderjs/react @calenderjs/calendar
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
本包仅封装日历 Web Component(`Calendar`)与布局辅助(`ResizableSplitter`)。Event DSL 编辑器请用独立包 `@calenderjs/react-event-editor`。
|
|
12
12
|
|
|
13
13
|
## 使用方式
|
|
14
14
|
|
|
15
15
|
### 基础使用
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
|
-
import { Calendar } from
|
|
18
|
+
import { Calendar } from "@calenderjs/react";
|
|
19
19
|
|
|
20
20
|
function App() {
|
|
21
|
-
return
|
|
22
|
-
<Calendar
|
|
23
|
-
view="month"
|
|
24
|
-
date="2024-12-30"
|
|
25
|
-
/>
|
|
26
|
-
);
|
|
21
|
+
return <Calendar view="month" date="2024-12-30" />;
|
|
27
22
|
}
|
|
28
23
|
```
|
|
29
24
|
|
|
30
25
|
### 使用事件回调
|
|
31
26
|
|
|
32
27
|
```tsx
|
|
33
|
-
import { Calendar } from
|
|
28
|
+
import { Calendar } from "@calenderjs/react";
|
|
34
29
|
|
|
35
30
|
function App() {
|
|
36
31
|
const handleDateChange = (e: CustomEvent<{ date: Date }>) => {
|
|
37
|
-
console.log(
|
|
32
|
+
console.log("Date changed:", e.detail.date);
|
|
38
33
|
};
|
|
39
34
|
|
|
40
|
-
const handleViewChange = (
|
|
41
|
-
|
|
35
|
+
const handleViewChange = (
|
|
36
|
+
e: CustomEvent<{ view: "month" | "week" | "day" }>,
|
|
37
|
+
) => {
|
|
38
|
+
console.log("View changed:", e.detail.view);
|
|
42
39
|
};
|
|
43
40
|
|
|
44
41
|
return (
|
|
45
|
-
<Calendar
|
|
42
|
+
<Calendar
|
|
46
43
|
view="month"
|
|
47
44
|
date={new Date()}
|
|
48
45
|
onDateChange={handleDateChange}
|
|
@@ -55,8 +52,8 @@ function App() {
|
|
|
55
52
|
### 使用 ref 控制组件
|
|
56
53
|
|
|
57
54
|
```tsx
|
|
58
|
-
import { Calendar, CalendarRef } from
|
|
59
|
-
import { useRef } from
|
|
55
|
+
import { Calendar, CalendarRef } from "@calenderjs/react";
|
|
56
|
+
import { useRef } from "react";
|
|
60
57
|
|
|
61
58
|
function App() {
|
|
62
59
|
const calendarRef = useRef<CalendarRef>(null);
|
|
@@ -65,14 +62,14 @@ function App() {
|
|
|
65
62
|
calendarRef.current?.goToToday();
|
|
66
63
|
};
|
|
67
64
|
|
|
68
|
-
const handleSetView = (view:
|
|
65
|
+
const handleSetView = (view: "month" | "week" | "day") => {
|
|
69
66
|
calendarRef.current?.setView(view);
|
|
70
67
|
};
|
|
71
68
|
|
|
72
69
|
return (
|
|
73
70
|
<div>
|
|
74
71
|
<button onClick={handleGoToToday}>今天</button>
|
|
75
|
-
<button onClick={() => handleSetView(
|
|
72
|
+
<button onClick={() => handleSetView("week")}>周视图</button>
|
|
76
73
|
<Calendar ref={calendarRef} />
|
|
77
74
|
</div>
|
|
78
75
|
);
|
|
@@ -82,140 +79,22 @@ function App() {
|
|
|
82
79
|
### 设置事件数据
|
|
83
80
|
|
|
84
81
|
```tsx
|
|
85
|
-
import { Calendar } from
|
|
86
|
-
import type { Event } from
|
|
82
|
+
import { Calendar } from "@calenderjs/react";
|
|
83
|
+
import type { Event } from "@calenderjs/event-model";
|
|
87
84
|
|
|
88
85
|
function App() {
|
|
89
86
|
const events: Event[] = [
|
|
90
87
|
{
|
|
91
|
-
id:
|
|
92
|
-
type:
|
|
93
|
-
title:
|
|
94
|
-
startTime: new Date(
|
|
95
|
-
endTime: new Date(
|
|
88
|
+
id: "1",
|
|
89
|
+
type: "meeting",
|
|
90
|
+
title: "团队会议",
|
|
91
|
+
startTime: new Date("2024-12-30T10:00:00"),
|
|
92
|
+
endTime: new Date("2024-12-30T11:00:00"),
|
|
96
93
|
data: {},
|
|
97
94
|
},
|
|
98
95
|
];
|
|
99
96
|
|
|
100
|
-
return
|
|
101
|
-
<Calendar
|
|
102
|
-
view="month"
|
|
103
|
-
events={events}
|
|
104
|
-
/>
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
## EventEditor 组件
|
|
110
|
-
|
|
111
|
-
`EventEditor` 是一个基于 Monaco Editor 的 Event DSL 专用编辑器组件,提供语法高亮、自动完成等功能。
|
|
112
|
-
|
|
113
|
-
### 基础使用
|
|
114
|
-
|
|
115
|
-
```tsx
|
|
116
|
-
import { EventEditor } from '@calenderjs/react';
|
|
117
|
-
import { Editor } from '@monaco-editor/react';
|
|
118
|
-
import { useState } from 'react';
|
|
119
|
-
|
|
120
|
-
function App() {
|
|
121
|
-
const [dsl, setDsl] = useState('type: meeting\nname: "团队会议"');
|
|
122
|
-
|
|
123
|
-
return (
|
|
124
|
-
<EventEditor
|
|
125
|
-
EditorComponent={Editor}
|
|
126
|
-
value={dsl}
|
|
127
|
-
onChange={setDsl}
|
|
128
|
-
height="100%"
|
|
129
|
-
darkMode={false}
|
|
130
|
-
/>
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
**注意**: `EventEditor` 是一个标准 React 组件,需要用户自己导入 `Editor` 组件并传入 `EditorComponent` prop。
|
|
136
|
-
|
|
137
|
-
### 与 Calendar 结合使用
|
|
138
|
-
|
|
139
|
-
```tsx
|
|
140
|
-
import { EventEditor, Calendar, ResizableSplitter } from '@calenderjs/react';
|
|
141
|
-
import { Editor } from '@monaco-editor/react';
|
|
142
|
-
import { useState } from 'react';
|
|
143
|
-
|
|
144
|
-
function App() {
|
|
145
|
-
const [dsl, setDsl] = useState('type: meeting\nname: "会议"');
|
|
146
|
-
|
|
147
|
-
return (
|
|
148
|
-
<ResizableSplitter
|
|
149
|
-
left={
|
|
150
|
-
<div style={{ padding: '20px' }}>
|
|
151
|
-
<h2>Event DSL 编辑器</h2>
|
|
152
|
-
<EventEditor
|
|
153
|
-
EditorComponent={Editor}
|
|
154
|
-
value={dsl}
|
|
155
|
-
onChange={setDsl}
|
|
156
|
-
height="calc(100% - 60px)"
|
|
157
|
-
darkMode={false}
|
|
158
|
-
/>
|
|
159
|
-
</div>
|
|
160
|
-
}
|
|
161
|
-
right={
|
|
162
|
-
<div style={{ padding: '20px' }}>
|
|
163
|
-
<h2>日历</h2>
|
|
164
|
-
<Calendar view="month" />
|
|
165
|
-
</div>
|
|
166
|
-
}
|
|
167
|
-
/>
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### EventEditor Props
|
|
173
|
-
|
|
174
|
-
| 属性 | 类型 | 默认值 | 说明 |
|
|
175
|
-
|------|------|--------|------|
|
|
176
|
-
| `EditorComponent` | `React.ComponentType<EditorProps>` | - | Monaco Editor 组件(必需,从 `@monaco-editor/react` 导入) |
|
|
177
|
-
| `value` | `string` | `""` | Event DSL 代码内容 |
|
|
178
|
-
| `onChange` | `(value: string \| undefined) => void` | - | 代码变化时的回调 |
|
|
179
|
-
| `height` | `string \| number` | `"100%"` | 编辑器高度 |
|
|
180
|
-
| `darkMode` | `boolean` | `false` | 是否使用暗色主题 |
|
|
181
|
-
| `className` | `string` | `""` | 自定义 CSS 类名 |
|
|
182
|
-
| `style` | `React.CSSProperties` | - | 自定义样式 |
|
|
183
|
-
| `options` | `editor.IStandaloneEditorConstructionOptions` | - | Monaco Editor 选项(会与默认选项合并) |
|
|
184
|
-
| `onMount` | `(editor, monaco) => void` | - | 编辑器挂载时的回调 |
|
|
185
|
-
|
|
186
|
-
### 默认编辑器选项
|
|
187
|
-
|
|
188
|
-
EventEditor 提供以下默认配置:
|
|
189
|
-
|
|
190
|
-
- `minimap: { enabled: false }` - 禁用小地图
|
|
191
|
-
- `fontSize: 14` - 字体大小 14px
|
|
192
|
-
- `wordWrap: "on"` - 启用自动换行
|
|
193
|
-
- `lineNumbers: "on"` - 显示行号
|
|
194
|
-
- `scrollBeyondLastLine: false` - 不滚动到最后一行之后
|
|
195
|
-
- `suggestOnTriggerCharacters: true` - 触发字符时显示建议
|
|
196
|
-
- `quickSuggestions: true` - 快速建议
|
|
197
|
-
- `tabSize: 2` - Tab 大小为 2 个空格
|
|
198
|
-
- `autoIndent: "full"` - 完整自动缩进
|
|
199
|
-
|
|
200
|
-
可以通过 `options` 属性覆盖这些默认值。
|
|
201
|
-
|
|
202
|
-
### EventEditor CSS 变量
|
|
203
|
-
|
|
204
|
-
组件使用 CSS 变量来支持主题定制,所有变量都使用 `--event-editor-` 前缀:
|
|
205
|
-
|
|
206
|
-
```css
|
|
207
|
-
:root {
|
|
208
|
-
/* 编辑器容器 */
|
|
209
|
-
--event-editor-bg-color: #fff; /* 浅色模式背景色 */
|
|
210
|
-
--event-editor-bg-color-dark: #1e1e1e; /* 暗色模式背景色 */
|
|
211
|
-
}
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### 暗色模式示例
|
|
215
|
-
|
|
216
|
-
```css
|
|
217
|
-
.dark-mode {
|
|
218
|
-
--event-editor-bg-color-dark: #1e1e1e;
|
|
97
|
+
return <Calendar view="month" events={events} />;
|
|
219
98
|
}
|
|
220
99
|
```
|
|
221
100
|
|
|
@@ -226,7 +105,7 @@ EventEditor 提供以下默认配置:
|
|
|
226
105
|
### 基础使用
|
|
227
106
|
|
|
228
107
|
```tsx
|
|
229
|
-
import { ResizableSplitter } from
|
|
108
|
+
import { ResizableSplitter } from "@calenderjs/react";
|
|
230
109
|
|
|
231
110
|
function App() {
|
|
232
111
|
return (
|
|
@@ -244,19 +123,19 @@ function App() {
|
|
|
244
123
|
### 与 Calendar 结合使用
|
|
245
124
|
|
|
246
125
|
```tsx
|
|
247
|
-
import { ResizableSplitter, Calendar } from
|
|
126
|
+
import { ResizableSplitter, Calendar } from "@calenderjs/react";
|
|
248
127
|
|
|
249
128
|
function App() {
|
|
250
129
|
return (
|
|
251
130
|
<ResizableSplitter
|
|
252
131
|
left={
|
|
253
|
-
<div style={{ padding:
|
|
132
|
+
<div style={{ padding: "20px" }}>
|
|
254
133
|
<h2>编辑器</h2>
|
|
255
|
-
<textarea style={{ width:
|
|
134
|
+
<textarea style={{ width: "100%", height: "100%" }} />
|
|
256
135
|
</div>
|
|
257
136
|
}
|
|
258
137
|
right={
|
|
259
|
-
<div style={{ padding:
|
|
138
|
+
<div style={{ padding: "20px" }}>
|
|
260
139
|
<h2>日历</h2>
|
|
261
140
|
<Calendar view="month" />
|
|
262
141
|
</div>
|
|
@@ -273,36 +152,36 @@ function App() {
|
|
|
273
152
|
|
|
274
153
|
### Calendar Props
|
|
275
154
|
|
|
276
|
-
| 属性
|
|
277
|
-
|
|
278
|
-
| `view`
|
|
279
|
-
| `date`
|
|
280
|
-
| `events`
|
|
281
|
-
| `user`
|
|
282
|
-
| `onDateChange` | `(e: CustomEvent<{ date: Date }>) => void`
|
|
283
|
-
| `onViewChange` | `(e: CustomEvent<{ view: 'month' \| 'week' \| 'day' }>) => void` | -
|
|
284
|
-
| `className`
|
|
285
|
-
| `style`
|
|
155
|
+
| 属性 | 类型 | 默认值 | 说明 |
|
|
156
|
+
| -------------- | ---------------------------------------------------------------- | ----------- | -------------------- |
|
|
157
|
+
| `view` | `'month' \| 'week' \| 'day'` | `'month'` | 初始视图 |
|
|
158
|
+
| `date` | `string \| Date` | 当前日期 | 初始日期 |
|
|
159
|
+
| `events` | `Event[]` | `[]` | 事件列表(数据模型) |
|
|
160
|
+
| `user` | `any` | `undefined` | 当前用户 |
|
|
161
|
+
| `onDateChange` | `(e: CustomEvent<{ date: Date }>) => void` | - | 日期变化回调 |
|
|
162
|
+
| `onViewChange` | `(e: CustomEvent<{ view: 'month' \| 'week' \| 'day' }>) => void` | - | 视图切换回调 |
|
|
163
|
+
| `className` | `string` | - | CSS 类名 |
|
|
164
|
+
| `style` | `React.CSSProperties` | - | 内联样式 |
|
|
286
165
|
|
|
287
166
|
### CalendarRef
|
|
288
167
|
|
|
289
|
-
| 方法
|
|
290
|
-
|
|
291
|
-
| `getElement()`
|
|
292
|
-
| `setView(view)` | 设置当前视图
|
|
293
|
-
| `setDate(date)` | 设置当前日期
|
|
294
|
-
| `goToToday()`
|
|
168
|
+
| 方法 | 说明 |
|
|
169
|
+
| --------------- | ----------------------------- |
|
|
170
|
+
| `getElement()` | 获取底层的 Web Component 实例 |
|
|
171
|
+
| `setView(view)` | 设置当前视图 |
|
|
172
|
+
| `setDate(date)` | 设置当前日期 |
|
|
173
|
+
| `goToToday()` | 跳转到今天 |
|
|
295
174
|
|
|
296
175
|
### ResizableSplitter Props
|
|
297
176
|
|
|
298
|
-
| 属性
|
|
299
|
-
|
|
300
|
-
| `left`
|
|
301
|
-
| `right`
|
|
302
|
-
| `initialLeftWidth` | `number`
|
|
303
|
-
| `minLeftWidth`
|
|
304
|
-
| `maxLeftWidth`
|
|
305
|
-
| `className`
|
|
177
|
+
| 属性 | 类型 | 默认值 | 说明 |
|
|
178
|
+
| ------------------ | ----------------- | ------ | --------------------------------- |
|
|
179
|
+
| `left` | `React.ReactNode` | - | 左侧面板内容(必需) |
|
|
180
|
+
| `right` | `React.ReactNode` | - | 右侧面板内容(必需) |
|
|
181
|
+
| `initialLeftWidth` | `number` | `40` | 初始左侧面板宽度(百分比,0-100) |
|
|
182
|
+
| `minLeftWidth` | `number` | `20` | 左侧面板最小宽度(百分比) |
|
|
183
|
+
| `maxLeftWidth` | `number` | `80` | 左侧面板最大宽度(百分比) |
|
|
184
|
+
| `className` | `string` | `""` | 自定义 CSS 类名 |
|
|
306
185
|
|
|
307
186
|
## CSS 变量自定义
|
|
308
187
|
|
|
@@ -318,24 +197,24 @@ Calendar 组件支持大量 CSS 变量来自定义外观。主要变量包括:
|
|
|
318
197
|
--calender-bg-color: #fff;
|
|
319
198
|
--calender-text-color: #202124;
|
|
320
199
|
--calender-primary-color: #1a73e8;
|
|
321
|
-
|
|
200
|
+
|
|
322
201
|
/* 状态颜色 */
|
|
323
202
|
--calender-today-bg-color: #e8f0fe;
|
|
324
203
|
--calender-selected-bg-color: #e8f0fe;
|
|
325
204
|
--calender-hover-bg-color: #f1f3f4;
|
|
326
|
-
|
|
205
|
+
|
|
327
206
|
/* 边框 */
|
|
328
207
|
--calender-border-color: #dadce0;
|
|
329
208
|
--calender-border-radius: 4px;
|
|
330
|
-
|
|
209
|
+
|
|
331
210
|
/* 字体 */
|
|
332
|
-
--calender-font-family:
|
|
211
|
+
--calender-font-family: "Google Sans", Roboto, Arial, sans-serif;
|
|
333
212
|
--calender-font-size: 14px;
|
|
334
|
-
|
|
213
|
+
|
|
335
214
|
/* 尺寸 */
|
|
336
215
|
--calender-month-cell-min-height: 100px;
|
|
337
216
|
--calender-hour-cell-height: 48px;
|
|
338
|
-
|
|
217
|
+
|
|
339
218
|
/* 过渡 */
|
|
340
219
|
--calender-transition-duration: 0.2s;
|
|
341
220
|
}
|
|
@@ -350,21 +229,21 @@ Calendar 组件支持大量 CSS 变量来自定义外观。主要变量包括:
|
|
|
350
229
|
```css
|
|
351
230
|
:root {
|
|
352
231
|
/* 分割器主体 */
|
|
353
|
-
--resizable-splitter-width: 4px;
|
|
354
|
-
--resizable-splitter-bg-color: #ddd;
|
|
355
|
-
--resizable-splitter-hover-bg-color: #bbb;
|
|
232
|
+
--resizable-splitter-width: 4px; /* 分割器宽度 */
|
|
233
|
+
--resizable-splitter-bg-color: #ddd; /* 分割器背景色 */
|
|
234
|
+
--resizable-splitter-hover-bg-color: #bbb; /* 分割器悬停背景色 */
|
|
356
235
|
--resizable-splitter-transition: background-color 0.2s; /* 过渡效果 */
|
|
357
236
|
|
|
358
237
|
/* 分割器手柄 */
|
|
359
|
-
--resizable-splitter-handle-width: 20px;
|
|
360
|
-
--resizable-splitter-handle-height: 40px;
|
|
238
|
+
--resizable-splitter-handle-width: 20px; /* 手柄宽度 */
|
|
239
|
+
--resizable-splitter-handle-height: 40px; /* 手柄高度 */
|
|
361
240
|
--resizable-splitter-handle-border-radius: 4px; /* 手柄圆角 */
|
|
362
|
-
--resizable-splitter-handle-bg-color: rgba(0,0,0,0.1); /* 手柄背景色 */
|
|
241
|
+
--resizable-splitter-handle-bg-color: rgba(0, 0, 0, 0.1); /* 手柄背景色 */
|
|
363
242
|
|
|
364
243
|
/* 分割器圆点 */
|
|
365
|
-
--resizable-splitter-dot-size: 3px;
|
|
366
|
-
--resizable-splitter-dot-color: #999;
|
|
367
|
-
--resizable-splitter-dot-gap: 2px;
|
|
244
|
+
--resizable-splitter-dot-size: 3px; /* 圆点大小 */
|
|
245
|
+
--resizable-splitter-dot-color: #999; /* 圆点颜色 */
|
|
246
|
+
--resizable-splitter-dot-gap: 2px; /* 圆点间距 */
|
|
368
247
|
}
|
|
369
248
|
```
|
|
370
249
|
|
|
@@ -379,11 +258,11 @@ Calendar 组件支持大量 CSS 变量来自定义外观。主要变量包括:
|
|
|
379
258
|
--calender-primary-color: #4285f4;
|
|
380
259
|
--calender-today-bg-color: #1a3a5a;
|
|
381
260
|
--calender-hover-bg-color: #2a2a2a;
|
|
382
|
-
|
|
261
|
+
|
|
383
262
|
/* ResizableSplitter 暗色模式 */
|
|
384
263
|
--resizable-splitter-bg-color: #333;
|
|
385
264
|
--resizable-splitter-hover-bg-color: #555;
|
|
386
|
-
--resizable-splitter-handle-bg-color: rgba(255,255,255,0.1);
|
|
265
|
+
--resizable-splitter-handle-bg-color: rgba(255, 255, 255, 0.1);
|
|
387
266
|
--resizable-splitter-dot-color: #ccc;
|
|
388
267
|
}
|
|
389
268
|
```
|
package/dist/Calendar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../src/Calendar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAarD,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../src/Calendar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAarD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,cAAc,EAAE,KAAK,CAAC,iBAAiB,CACrC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;gBAClC,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;gBAChC,IAAI,CAAC,EAAE,MAAM,CAAC;aACf,EACD,WAAW,CACZ,GAAG;gBACF,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;gBACjB,IAAI,CAAC,EAAE,GAAG,CAAC;aACZ,CAAC;SACH;KACF;CACF;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC;IAEX;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;IAE5D;;OAEG;IACH,YAAY,CAAC,EAAE,CACb,KAAK,EAAE,WAAW,CAAC;QAAE,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAA;KAAE,CAAC,KACnD,IAAI,CAAC;IAEV;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC;QAAE,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;IAE9D;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;IAEjE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,WAAW,GAAG,IAAI,CAAC;IAErC;;OAEG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,KAAK,IAAI,CAAC;IAElD;;OAEG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,KAAK,IAAI,CAAC;IAEvC;;OAEG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ,gGA+IpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResizableSplitter.d.ts","sourceRoot":"","sources":["../../src/components/ResizableSplitter.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,sBAAsB;
|
|
1
|
+
{"version":3,"file":"ResizableSplitter.d.ts","sourceRoot":"","sources":["../../src/components/ResizableSplitter.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,sBAAsB;IACrC,aAAa;IACb,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,aAAa;IACb,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,0BAA0B;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,IAAI,EACJ,KAAK,EACL,gBAAqB,EACrB,YAAiB,EACjB,YAAiB,EACjB,SAAc,GACf,EAAE,sBAAsB,2CAyKxB"}
|