funda-ui 4.3.555 → 4.4.15
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/Date/index.js +104 -0
- package/EventCalendar/index.css +7 -0
- package/EventCalendar/index.d.ts +2 -0
- package/EventCalendar/index.js +228 -89
- package/EventCalendarTimeline/index.css +29 -1
- package/EventCalendarTimeline/index.d.ts +11 -1
- package/EventCalendarTimeline/index.js +796 -298
- package/MultipleSelect/index.js +1 -1
- package/NativeSelect/index.js +1 -1
- package/Select/index.css +17 -0
- package/Select/index.d.ts +1 -0
- package/Select/index.js +83 -38
- package/Table/index.d.ts +4 -4
- package/Table/index.js +17 -17
- package/Tree/index.js +1 -1
- package/Utils/date.d.ts +27 -1
- package/Utils/date.js +92 -0
- package/lib/cjs/Date/index.js +104 -0
- package/lib/cjs/EventCalendar/index.d.ts +2 -0
- package/lib/cjs/EventCalendar/index.js +228 -89
- package/lib/cjs/EventCalendarTimeline/index.d.ts +11 -1
- package/lib/cjs/EventCalendarTimeline/index.js +796 -298
- package/lib/cjs/MultipleSelect/index.js +1 -1
- package/lib/cjs/NativeSelect/index.js +1 -1
- package/lib/cjs/Select/index.d.ts +1 -0
- package/lib/cjs/Select/index.js +83 -38
- package/lib/cjs/Table/index.d.ts +4 -4
- package/lib/cjs/Table/index.js +17 -17
- package/lib/cjs/Tree/index.js +1 -1
- package/lib/cjs/Utils/date.d.ts +27 -1
- package/lib/cjs/Utils/date.js +92 -0
- package/lib/css/EventCalendar/index.css +7 -0
- package/lib/css/EventCalendarTimeline/index.css +29 -1
- package/lib/css/Select/index.css +17 -0
- package/lib/esm/EventCalendar/index.scss +9 -0
- package/lib/esm/EventCalendar/index.tsx +203 -156
- package/lib/esm/EventCalendarTimeline/index.scss +46 -1
- package/lib/esm/EventCalendarTimeline/index.tsx +815 -358
- package/lib/esm/MultipleSelect/ItemList.tsx +1 -1
- package/lib/esm/MultipleSelect/index.tsx +1 -1
- package/lib/esm/NativeSelect/index.tsx +1 -1
- package/lib/esm/Select/index.scss +36 -1
- package/lib/esm/Select/index.tsx +179 -30
- package/lib/esm/Table/Table.tsx +2 -2
- package/lib/esm/Table/TableCell.tsx +2 -2
- package/lib/esm/Table/TableRow.tsx +1 -1
- package/lib/esm/Table/index.tsx +4 -4
- package/lib/esm/Tree/TreeList.tsx +1 -1
- package/lib/esm/Utils/libs/date.ts +101 -1
- package/package.json +1 -1
- /package/lib/esm/MultipleSelect/{multiple-select-utils → utils}/func.ts +0 -0
- /package/lib/esm/NativeSelect/{native-select-utils → utils}/func.ts +0 -0
- /package/lib/esm/Select/{select-utils → utils}/func.ts +0 -0
- /package/lib/esm/Table/{table-utils → utils}/DragHandleSprite.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/SortSprite.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/TableFilter.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/ToggleSelection.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/func.ts +0 -0
- /package/lib/esm/Table/{table-utils → utils}/hooks/useTableDraggable.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/hooks/useTableKeyPress.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/hooks/useTableResponsive.tsx +0 -0
- /package/lib/esm/Table/{table-utils → utils}/hooks/useTableSort.tsx +0 -0
- /package/lib/esm/Tree/{tree-utils.ts → utils/func.ts} +0 -0
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
--e-cal-timeline-header-prevnext-btn-radius: 0.25rem;
|
|
26
26
|
--e-cal-timeline-footer-today-btn-bg: rgba(0, 58, 166, 1);
|
|
27
27
|
--e-cal-timeline-footer-today-btn-color: #fff;
|
|
28
|
+
--e-cal-timeline-appearance-btn-active-bg: rgb(239, 239, 239);
|
|
28
29
|
position: relative;
|
|
29
30
|
z-index: 3;
|
|
30
31
|
min-width: var(--e-cal-timeline-wrapper-min-width);
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
/* --HEADER --*/
|
|
33
34
|
/*-- SELECTION --*/
|
|
34
35
|
/* --BUTTON --*/
|
|
36
|
+
/* WEEK MODE --*/
|
|
35
37
|
}
|
|
36
38
|
.e-cal-timeline__wrapper .e-cal-timeline__header {
|
|
37
39
|
font-size: var(--e-cal-timeline-header-fs);
|
|
@@ -40,6 +42,11 @@
|
|
|
40
42
|
display: flex;
|
|
41
43
|
justify-content: space-between;
|
|
42
44
|
}
|
|
45
|
+
.e-cal-timeline__wrapper .e-cal-timeline__header .e-cal-timeline__header__info {
|
|
46
|
+
font-weight: normal;
|
|
47
|
+
font-size: 0.875em;
|
|
48
|
+
margin-bottom: 0.2rem;
|
|
49
|
+
}
|
|
43
50
|
.e-cal-timeline__wrapper .e-cal-timeline__header .e-cal-timeline__header__btns .e-cal-timeline__btn {
|
|
44
51
|
margin-right: 1rem;
|
|
45
52
|
color: var(--e-cal-timeline-header-text-color);
|
|
@@ -133,6 +140,7 @@
|
|
|
133
140
|
margin: 0;
|
|
134
141
|
box-shadow: none;
|
|
135
142
|
cursor: pointer;
|
|
143
|
+
margin-right: 0.35rem;
|
|
136
144
|
/* required */
|
|
137
145
|
display: inline-flex;
|
|
138
146
|
align-items: center;
|
|
@@ -160,7 +168,20 @@
|
|
|
160
168
|
color: var(--e-cal-timeline-footer-today-btn-color);
|
|
161
169
|
background-color: var(--e-cal-timeline-footer-today-btn-bg);
|
|
162
170
|
}
|
|
171
|
+
.e-cal-timeline__wrapper .e-cal-timeline__btn--appearance {
|
|
172
|
+
border: 1px solid var(--e-cal-timeline-border-color);
|
|
173
|
+
border-radius: 0.25rem;
|
|
174
|
+
font-size: 0.875em;
|
|
175
|
+
padding: 0.2rem 1rem;
|
|
176
|
+
}
|
|
177
|
+
.e-cal-timeline__wrapper .e-cal-timeline__btn--appearance.active {
|
|
178
|
+
background-color: var(--e-cal-timeline-appearance-btn-active-bg);
|
|
179
|
+
}
|
|
180
|
+
.e-cal-timeline__wrapper.e-cal-timeline__wrapper--week .e-cal-timeline__header__info {
|
|
181
|
+
transform: translateX(-2.5rem);
|
|
182
|
+
}
|
|
163
183
|
|
|
184
|
+
/* WEEK MODE*/
|
|
164
185
|
/*
|
|
165
186
|
///////////////////////////////////////////////////
|
|
166
187
|
//////////////////// Table Grid //////////////////
|
|
@@ -192,12 +213,13 @@
|
|
|
192
213
|
--e-cal-timeline-table-add-btn-color: #0b5ed7;
|
|
193
214
|
--e-cal-timeline-table-event-font-size: 0.75rem;
|
|
194
215
|
--e-cal-timeline-table-event-hover-bg: rgba(255, 240, 227, 0);
|
|
195
|
-
--e-cal-timeline-table-event-hover-shadow: inset 0px 0px 0px 1px rgba(
|
|
216
|
+
--e-cal-timeline-table-event-hover-shadow: inset 0px 0px 0px 1px rgba(21, 21, 240, 0.45);
|
|
196
217
|
height: 100%; /* Required */
|
|
197
218
|
font-size: var(--e-cal-timeline-table-bodycell-font-size);
|
|
198
219
|
margin-top: -1px;
|
|
199
220
|
position: relative;
|
|
200
221
|
z-index: 2;
|
|
222
|
+
/* Required when using onKeyDown */
|
|
201
223
|
/* list section */
|
|
202
224
|
/* datagrid title */
|
|
203
225
|
/* datagrid content */
|
|
@@ -220,6 +242,9 @@
|
|
|
220
242
|
/* cell */
|
|
221
243
|
/* scroller */
|
|
222
244
|
}
|
|
245
|
+
.e-cal-timeline-table__timeline-table__wrapper[tabindex]:focus-visible {
|
|
246
|
+
outline: none;
|
|
247
|
+
}
|
|
223
248
|
.e-cal-timeline-table__timeline-table__wrapper .e-cal-timeline-table__timeline-table {
|
|
224
249
|
border: var(--e-cal-timeline-table-primary-border);
|
|
225
250
|
text-align: left;
|
|
@@ -468,6 +493,9 @@
|
|
|
468
493
|
overflow: hidden;
|
|
469
494
|
height: auto;
|
|
470
495
|
}
|
|
496
|
+
.e-cal-timeline-table__timeline-table__wrapper .e-cal-timeline-table__scroller-harness--hideX {
|
|
497
|
+
overflow-x: hidden !important;
|
|
498
|
+
}
|
|
471
499
|
.e-cal-timeline-table__timeline-table__wrapper .e-cal-timeline-table__scroller-harness[data-scroll=body].dragging {
|
|
472
500
|
cursor: grab;
|
|
473
501
|
}
|
|
@@ -31,12 +31,18 @@ export declare type EventCalendarTimelineProps = {
|
|
|
31
31
|
tableListEndClassName?: string;
|
|
32
32
|
tableListDividerClassName?: string;
|
|
33
33
|
customTodayDate?: string;
|
|
34
|
+
multipleCells?: boolean;
|
|
35
|
+
appearance?: 'week' | 'month';
|
|
36
|
+
appearanceToggle?: boolean;
|
|
37
|
+
appearanceWeekTmpl?: (startDate: string, endDate: string) => void;
|
|
34
38
|
eventsValue?: TimelineRowListConfig[];
|
|
35
39
|
langWeek?: string[];
|
|
36
40
|
langWeekFull?: string[];
|
|
37
41
|
langMonths?: string[];
|
|
38
42
|
langMonthsFull?: string[];
|
|
39
43
|
langToday?: string;
|
|
44
|
+
langAppearanceLabelMonth?: string;
|
|
45
|
+
langAppearanceLabelWeek?: string;
|
|
40
46
|
iconRemove?: React.ReactNode | string;
|
|
41
47
|
iconAdd?: React.ReactNode | string;
|
|
42
48
|
cellCloseBtnClassName?: string;
|
|
@@ -51,7 +57,9 @@ export declare type EventCalendarTimelineProps = {
|
|
|
51
57
|
onChangeMonth?: (currentData: any) => void;
|
|
52
58
|
onChangeYear?: (currentData: any) => void;
|
|
53
59
|
onChangeToday?: (currentData: any) => void;
|
|
60
|
+
onChangeWeek?: (startDate: string, endDate: string) => void;
|
|
54
61
|
onListRenderComplete?: () => void;
|
|
62
|
+
onChangeAppearanceMode?: (mode: string) => void;
|
|
55
63
|
modalMaskOpacity?: string;
|
|
56
64
|
modalMaxWidth?: number | string;
|
|
57
65
|
modalMinHeight?: number | string;
|
|
@@ -72,7 +80,9 @@ export declare type EventCalendarTimelineProps = {
|
|
|
72
80
|
onModalDeleteEvent?: (currentData: any, closewin: any, gridInit: Function) => void;
|
|
73
81
|
onCellMouseEnter?: (el: any) => void;
|
|
74
82
|
onCellMouseLeave?: (el: any) => void;
|
|
75
|
-
|
|
83
|
+
onCellMouseUp?: (el: any, selectedCellsData: any[]) => void;
|
|
84
|
+
onCellClick?: (el: any, cellData: any) => void;
|
|
85
|
+
onKeyPressed?: (el: any, selectedCellsData: any[]) => void;
|
|
76
86
|
tableListSectionTitle?: string | React.ReactNode;
|
|
77
87
|
tableCellMinWidth?: number;
|
|
78
88
|
tableTooltipDirection?: string;
|