@progress/kendo-themes-html 6.2.1-dev.154 → 6.2.1-dev.170
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/dist/context-menu/tests/context-menu-in-window.js +1 -4
- package/dist/context-menu/tests/context-menu-in-window.js.map +2 -2
- package/dist/datetime-selector/datetime-selector.spec.js +2 -2
- package/dist/datetime-selector/datetime-selector.spec.js.map +2 -2
- package/dist/datetime-selector/tests/datetime-selector.js +2 -2
- package/dist/datetime-selector/tests/datetime-selector.js.map +2 -2
- package/dist/datetimepicker/datetimepicker.spec.js +2 -2
- package/dist/datetimepicker/datetimepicker.spec.js.map +2 -2
- package/dist/datetimepicker/tests/datetimepicker-opened.js +2 -2
- package/dist/datetimepicker/tests/datetimepicker-opened.js.map +2 -2
- package/dist/datetimepicker/tests/datetimepicker.js +2 -2
- package/dist/datetimepicker/tests/datetimepicker.js.map +2 -2
- package/dist/dialog/dialog.spec.js +1 -4
- package/dist/dialog/dialog.spec.js.map +2 -2
- package/dist/dialog/tests/dialog-action-buttons.js +82 -73
- package/dist/dialog/tests/dialog-action-buttons.js.map +3 -3
- package/dist/dialog/tests/dialog-in-window.js +2 -8
- package/dist/dialog/tests/dialog-in-window.js.map +2 -2
- package/dist/dialog/tests/dialog-modal.js +70 -70
- package/dist/dialog/tests/dialog-modal.js.map +3 -3
- package/dist/dialog/tests/dialog-theme-colors.js +82 -73
- package/dist/dialog/tests/dialog-theme-colors.js.map +3 -3
- package/dist/dialog/tests/dialog.js +86 -74
- package/dist/dialog/tests/dialog.js.map +3 -3
- package/dist/editor/tests/editor-find-replace.js +1 -4
- package/dist/editor/tests/editor-find-replace.js.map +2 -2
- package/dist/editor/tests/editor-image-editor.js +276 -276
- package/dist/editor/tests/editor-image-editor.js.map +4 -4
- package/dist/editor/tests/editor-table-wizard-accessibility.js +5 -5
- package/dist/editor/tests/editor-table-wizard-accessibility.js.map +2 -2
- package/dist/editor/tests/editor-view-source.js +5 -5
- package/dist/editor/tests/editor-view-source.js.map +2 -2
- package/dist/filemanager/tests/filemanager-dialogs.js +79 -73
- package/dist/filemanager/tests/filemanager-dialogs.js.map +3 -3
- package/dist/form/tests/form-field-dateinputs.js +4 -4
- package/dist/form/tests/form-field-dateinputs.js.map +2 -2
- package/dist/gantt/tests/gantt-editing-popup-general.js +2300 -0
- package/dist/gantt/tests/gantt-editing-popup-general.js.map +7 -0
- package/dist/gantt/tests/gantt-editing-popup-other.js +2035 -0
- package/dist/gantt/tests/gantt-editing-popup-other.js.map +7 -0
- package/dist/gantt/tests/gantt-editing-popup-predecessors.js +1895 -0
- package/dist/gantt/tests/gantt-editing-popup-predecessors.js.map +7 -0
- package/dist/gantt/tests/gantt-editing-popup-resources.js +2195 -0
- package/dist/gantt/tests/gantt-editing-popup-resources.js.map +7 -0
- package/dist/gantt/tests/gantt-editing-popup-successors.js +1895 -0
- package/dist/gantt/tests/gantt-editing-popup-successors.js.map +7 -0
- package/dist/grid/tests/grid-column-menu-rtl.js +8 -8
- package/dist/grid/tests/grid-column-menu-rtl.js.map +2 -2
- package/dist/grid/tests/grid-column-menu-tabbed.js +1331 -0
- package/dist/grid/tests/grid-column-menu-tabbed.js.map +7 -0
- package/dist/grid/tests/grid-column-menu.js +8 -8
- package/dist/grid/tests/grid-column-menu.js.map +2 -2
- package/dist/grid/tests/grid-editing-custom-editor.js +4 -4
- package/dist/grid/tests/grid-editing-custom-editor.js.map +2 -2
- package/dist/grid/tests/grid-editing-popup.js +724 -338
- package/dist/grid/tests/grid-editing-popup.js.map +4 -4
- package/dist/grid/tests/grid-filter-menu-multi-checkbox.js +8 -8
- package/dist/grid/tests/grid-filter-menu-multi-checkbox.js.map +2 -2
- package/dist/grid/tests/grid-filter-menu.js +2 -2
- package/dist/grid/tests/grid-filter-menu.js.map +2 -2
- package/dist/grid/tests/grid-filter-row.js +4 -4
- package/dist/grid/tests/grid-filter-row.js.map +2 -2
- package/dist/grid/tests/grid-rows-resizing.js +2 -2
- package/dist/grid/tests/grid-rows-resizing.js.map +2 -2
- package/dist/grid/tests/grid-selection-aggregates.js +1348 -0
- package/dist/grid/tests/grid-selection-aggregates.js.map +7 -0
- package/dist/imageeditor/tests/imageeditor-crop-pane.js +48 -32
- package/dist/imageeditor/tests/imageeditor-crop-pane.js.map +2 -2
- package/dist/imageeditor/tests/imageeditor-resize-pane.js +45 -22
- package/dist/imageeditor/tests/imageeditor-resize-pane.js.map +2 -2
- package/dist/index.js +6 -12
- package/dist/index.js.map +2 -2
- package/dist/scheduler/tests/scheduler-edit-dialog.js +1394 -882
- package/dist/scheduler/tests/scheduler-edit-dialog.js.map +4 -4
- package/dist/scheduler/tests/scheduler-editing-weekly.js +2964 -0
- package/dist/scheduler/tests/scheduler-editing-weekly.js.map +7 -0
- package/dist/spreadsheet/tests/spreadsheet-dialog.js +10 -7
- package/dist/spreadsheet/tests/spreadsheet-dialog.js.map +2 -2
- package/dist/timepicker/tests/timepicker-flat.js +2 -2
- package/dist/timepicker/tests/timepicker-flat.js.map +2 -2
- package/dist/timepicker/tests/timepicker-opened.js +2 -2
- package/dist/timepicker/tests/timepicker-opened.js.map +2 -2
- package/dist/timepicker/tests/timepicker-outline.js +2 -2
- package/dist/timepicker/tests/timepicker-outline.js.map +2 -2
- package/dist/timepicker/tests/timepicker.js +2 -2
- package/dist/timepicker/tests/timepicker.js.map +2 -2
- package/dist/timepicker/timepicker.spec.js +2 -2
- package/dist/timepicker/timepicker.spec.js.map +2 -2
- package/dist/treelist/tests/treelist-editing-popup.js +1939 -0
- package/dist/treelist/tests/treelist-editing-popup.js.map +7 -0
- package/dist/window/tests/window-action-buttons.js +82 -73
- package/dist/window/tests/window-action-buttons.js.map +3 -3
- package/dist/window/tests/window-rtl.js +1 -4
- package/dist/window/tests/window-rtl.js.map +2 -2
- package/dist/window/tests/window-theme-colors.js +1 -4
- package/dist/window/tests/window-theme-colors.js.map +2 -2
- package/dist/window/tests/window.js +1 -4
- package/dist/window/tests/window.js.map +2 -2
- package/dist/window/window.spec.js +1 -4
- package/dist/window/window.spec.js.map +2 -2
- package/package.json +2 -2
- package/src/datetime-selector/datetime-selector.spec.tsx +1 -1
- package/src/dialog/dialog.spec.tsx +2 -3
- package/src/dialog/tests/dialog-action-buttons.tsx +25 -4
- package/src/dialog/tests/dialog-modal.tsx +7 -1
- package/src/dialog/tests/dialog-theme-colors.tsx +25 -4
- package/src/dialog/tests/dialog.tsx +31 -5
- package/src/editor/tests/editor-image-editor.tsx +8 -2
- package/src/editor/tests/editor-table-wizard-accessibility.tsx +7 -1
- package/src/editor/tests/editor-view-source.tsx +7 -1
- package/src/filemanager/tests/filemanager-dialogs.tsx +19 -3
- package/src/gantt/tests/gantt-editing-popup-general.tsx +97 -0
- package/src/gantt/tests/gantt-editing-popup-other.tsx +92 -0
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +113 -0
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +180 -0
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +113 -0
- package/src/grid/tests/grid-column-menu-rtl.tsx +4 -4
- package/src/grid/tests/grid-column-menu-tabbed.tsx +337 -0
- package/src/grid/tests/grid-column-menu.tsx +4 -4
- package/src/grid/tests/grid-editing-popup.tsx +18 -30
- package/src/grid/tests/grid-filter-menu-multi-checkbox.tsx +4 -4
- package/src/grid/tests/grid-filter-menu.tsx +1 -1
- package/src/grid/tests/grid-rows-resizing.tsx +6 -3
- package/src/grid/tests/grid-selection-aggregates.tsx +192 -0
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +35 -20
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +31 -16
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +32 -34
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +137 -0
- package/src/spreadsheet/tests/spreadsheet-dialog.tsx +15 -4
- package/src/timepicker/timepicker.spec.tsx +1 -1
- package/src/treelist/tests/treelist-editing-popup.tsx +66 -0
- package/src/window/tests/window-action-buttons.tsx +25 -4
- package/src/window/window.spec.tsx +2 -3
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Pager } from '../../pager';
|
|
3
|
+
|
|
4
|
+
const root = ReactDOM.createRoot(
|
|
5
|
+
document.getElementById('app') as HTMLElement
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
root.render(
|
|
9
|
+
<>
|
|
10
|
+
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
11
|
+
|
|
12
|
+
<span className="col-2">Grid with selection aggregates container</span>
|
|
13
|
+
<section className="col-2">
|
|
14
|
+
<div className="k-grid k-grid-md k-grid-no-scrollbar">
|
|
15
|
+
<div className="k-grid-header">
|
|
16
|
+
<div className="k-grid-header-wrap">
|
|
17
|
+
<table className="k-table k-table-md k-grid-header-table">
|
|
18
|
+
<colgroup>
|
|
19
|
+
<col style={{ width: "100px" }} />
|
|
20
|
+
<col />
|
|
21
|
+
</colgroup>
|
|
22
|
+
<thead className="k-table-thead">
|
|
23
|
+
<tr className="k-table-row">
|
|
24
|
+
<th className="k-table-th k-header">
|
|
25
|
+
<span className="k-cell-inner">
|
|
26
|
+
<span className="k-link">
|
|
27
|
+
<span className="k-column-title">100px</span>
|
|
28
|
+
</span>
|
|
29
|
+
</span>
|
|
30
|
+
</th>
|
|
31
|
+
<th className="k-table-th k-header">
|
|
32
|
+
<span className="k-cell-inner">
|
|
33
|
+
<span className="k-link">
|
|
34
|
+
<span className="k-column-title">no width</span>
|
|
35
|
+
</span>
|
|
36
|
+
</span>
|
|
37
|
+
</th>
|
|
38
|
+
</tr>
|
|
39
|
+
</thead>
|
|
40
|
+
</table>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div className="k-grid-content">
|
|
44
|
+
<table className="k-table k-table-md k-grid-table">
|
|
45
|
+
<colgroup>
|
|
46
|
+
<col style={{ width: "100px" }} />
|
|
47
|
+
<col />
|
|
48
|
+
</colgroup>
|
|
49
|
+
<tbody className="k-table-tbody">
|
|
50
|
+
<tr className="k-table-row">
|
|
51
|
+
<td className="k-table-td">1</td>
|
|
52
|
+
<td className="k-table-td">Row</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
55
|
+
<td className="k-table-td k-selected">2</td>
|
|
56
|
+
<td className="k-table-td k-selected">Alt row</td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr className="k-table-row">
|
|
59
|
+
<td className="k-table-td k-selected">3</td>
|
|
60
|
+
<td className="k-table-td">
|
|
61
|
+
This text continues to the end of the grid to test overflow behavior of row contents, as well as line height and vertical alignment.
|
|
62
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
65
|
+
<td className="k-table-td k-selected">4</td>
|
|
66
|
+
<td className="k-table-td"><span className="k-placeholder-line"></span></td>
|
|
67
|
+
</tr>
|
|
68
|
+
<tr className="k-table-row">
|
|
69
|
+
<td className="k-table-td">5</td>
|
|
70
|
+
<td className="k-table-td"><span className="k-placeholder-line"></span></td>
|
|
71
|
+
</tr>
|
|
72
|
+
</tbody>
|
|
73
|
+
</table>
|
|
74
|
+
</div>
|
|
75
|
+
<div className="k-selection-aggregates k-grid-selection-aggregates">
|
|
76
|
+
<div className="k-selection-aggregates-item">
|
|
77
|
+
<span className="k-selection-aggregates-item-text">Sum: </span>
|
|
78
|
+
<span className="k-selection-aggregates-item-value">9.00</span>
|
|
79
|
+
</div>
|
|
80
|
+
<div className="k-selection-aggregates-item">
|
|
81
|
+
<span className="k-selection-aggregates-item-text">Avg: </span>
|
|
82
|
+
<span className="k-selection-aggregates-item-value">3.00</span>
|
|
83
|
+
</div>
|
|
84
|
+
<div className="k-selection-aggregates-item">
|
|
85
|
+
<span className="k-selection-aggregates-item-text">Min: </span>
|
|
86
|
+
<span className="k-selection-aggregates-item-value">2.00</span>
|
|
87
|
+
</div>
|
|
88
|
+
<div className="k-selection-aggregates-item">
|
|
89
|
+
<span className="k-selection-aggregates-item-text">Max: </span>
|
|
90
|
+
<span className="k-selection-aggregates-item-value">4.00</span>
|
|
91
|
+
</div>
|
|
92
|
+
<div className="k-selection-aggregates-item">
|
|
93
|
+
<span className="k-selection-aggregates-item-text">Count: </span>
|
|
94
|
+
<span className="k-selection-aggregates-item-value">4</span>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<Pager className="k-grid-pager" />
|
|
98
|
+
</div>
|
|
99
|
+
</section>
|
|
100
|
+
|
|
101
|
+
<span className="col-2">Grid with selection aggregates container (RTL)</span>
|
|
102
|
+
<section className="col-2 k-rtl">
|
|
103
|
+
<div className="k-grid k-grid-md k-grid-no-scrollbar">
|
|
104
|
+
<div className="k-grid-header">
|
|
105
|
+
<div className="k-grid-header-wrap">
|
|
106
|
+
<table className="k-table k-table-md k-grid-header-table">
|
|
107
|
+
<colgroup>
|
|
108
|
+
<col style={{ width: "100px" }} />
|
|
109
|
+
<col />
|
|
110
|
+
</colgroup>
|
|
111
|
+
<thead className="k-table-thead">
|
|
112
|
+
<tr className="k-table-row">
|
|
113
|
+
<th className="k-table-th k-header">
|
|
114
|
+
<span className="k-cell-inner">
|
|
115
|
+
<span className="k-link">
|
|
116
|
+
<span className="k-column-title">100px</span>
|
|
117
|
+
</span>
|
|
118
|
+
</span>
|
|
119
|
+
</th>
|
|
120
|
+
<th className="k-table-th k-header">
|
|
121
|
+
<span className="k-cell-inner">
|
|
122
|
+
<span className="k-link">
|
|
123
|
+
<span className="k-column-title">no width</span>
|
|
124
|
+
</span>
|
|
125
|
+
</span>
|
|
126
|
+
</th>
|
|
127
|
+
</tr>
|
|
128
|
+
</thead>
|
|
129
|
+
</table>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div className="k-grid-content">
|
|
133
|
+
<table className="k-table k-table-md k-grid-table">
|
|
134
|
+
<colgroup>
|
|
135
|
+
<col style={{ width: "100px" }} />
|
|
136
|
+
<col />
|
|
137
|
+
</colgroup>
|
|
138
|
+
<tbody className="k-table-tbody">
|
|
139
|
+
<tr className="k-table-row">
|
|
140
|
+
<td className="k-table-td">1</td>
|
|
141
|
+
<td className="k-table-td">Row</td>
|
|
142
|
+
</tr>
|
|
143
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
144
|
+
<td className="k-table-td k-selected">2</td>
|
|
145
|
+
<td className="k-table-td k-selected">Alt row</td>
|
|
146
|
+
</tr>
|
|
147
|
+
<tr className="k-table-row">
|
|
148
|
+
<td className="k-table-td k-selected">3</td>
|
|
149
|
+
<td className="k-table-td">
|
|
150
|
+
This text continues to the end of the grid to test overflow behavior of row contents, as well as line height and vertical alignment.
|
|
151
|
+
</td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
154
|
+
<td className="k-table-td k-selected">4</td>
|
|
155
|
+
<td className="k-table-td"><span className="k-placeholder-line"></span></td>
|
|
156
|
+
</tr>
|
|
157
|
+
<tr className="k-table-row">
|
|
158
|
+
<td className="k-table-td">5</td>
|
|
159
|
+
<td className="k-table-td"><span className="k-placeholder-line"></span></td>
|
|
160
|
+
</tr>
|
|
161
|
+
</tbody>
|
|
162
|
+
</table>
|
|
163
|
+
</div>
|
|
164
|
+
<div className="k-selection-aggregates k-grid-selection-aggregates">
|
|
165
|
+
<div className="k-selection-aggregates-item">
|
|
166
|
+
<span className="k-selection-aggregates-item-text">Sum: </span>
|
|
167
|
+
<span className="k-selection-aggregates-item-value">9.00</span>
|
|
168
|
+
</div>
|
|
169
|
+
<div className="k-selection-aggregates-item">
|
|
170
|
+
<span className="k-selection-aggregates-item-text">Avg: </span>
|
|
171
|
+
<span className="k-selection-aggregates-item-value">3.00</span>
|
|
172
|
+
</div>
|
|
173
|
+
<div className="k-selection-aggregates-item">
|
|
174
|
+
<span className="k-selection-aggregates-item-text">Min: </span>
|
|
175
|
+
<span className="k-selection-aggregates-item-value">2.00</span>
|
|
176
|
+
</div>
|
|
177
|
+
<div className="k-selection-aggregates-item">
|
|
178
|
+
<span className="k-selection-aggregates-item-text">Max: </span>
|
|
179
|
+
<span className="k-selection-aggregates-item-value">4.00</span>
|
|
180
|
+
</div>
|
|
181
|
+
<div className="k-selection-aggregates-item">
|
|
182
|
+
<span className="k-selection-aggregates-item-text">Count: </span>
|
|
183
|
+
<span className="k-selection-aggregates-item-value">4</span>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
<Pager className="k-grid-pager" />
|
|
187
|
+
</div>
|
|
188
|
+
</section>
|
|
189
|
+
|
|
190
|
+
</div>
|
|
191
|
+
</>
|
|
192
|
+
);
|
|
@@ -61,27 +61,42 @@ root.render(
|
|
|
61
61
|
|
|
62
62
|
{/* Crop Pane */}
|
|
63
63
|
<div className="k-imageeditor-action-pane">
|
|
64
|
-
<Form
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<FormField
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
<
|
|
80
|
-
|
|
64
|
+
<Form tag="div" className="k-imageeditor-pane-form" layout="grid" legend="Crop Image" cols={2} gapX={2} formButtons={
|
|
65
|
+
<>
|
|
66
|
+
<Button themeColor="primary">Confirm</Button>
|
|
67
|
+
<Button>Cancel</Button>
|
|
68
|
+
</>
|
|
69
|
+
}>
|
|
70
|
+
<FormField
|
|
71
|
+
className="k-col-span-2"
|
|
72
|
+
label="Aspect Ratio:"
|
|
73
|
+
editor={ <DropdownList value="Original ratio" /> }
|
|
74
|
+
/>
|
|
75
|
+
<FormField
|
|
76
|
+
className="k-col-span-2"
|
|
77
|
+
label="Orientation:"
|
|
78
|
+
editor={
|
|
79
|
+
<ButtonGroup>
|
|
80
|
+
<Button selected>Portrait</Button>
|
|
81
|
+
<Button>Landscape</Button>
|
|
82
|
+
</ButtonGroup>
|
|
83
|
+
}
|
|
84
|
+
/>
|
|
85
|
+
<FormField
|
|
86
|
+
className="k-col-span-1"
|
|
87
|
+
label="Width:"
|
|
88
|
+
editor={ <NumericTextbox showClearButton={false} value="61" /> }
|
|
89
|
+
/>
|
|
90
|
+
<FormField
|
|
91
|
+
className="k-col-span-1"
|
|
92
|
+
label="Height:"
|
|
93
|
+
editor={ <NumericTextbox showClearButton={false} value="68" /> }
|
|
94
|
+
/>
|
|
95
|
+
<FormField
|
|
96
|
+
className="k-col-span-2"
|
|
97
|
+
label="Lock aspect ratio:"
|
|
98
|
+
editor={ <Checkbox /> }
|
|
81
99
|
/>
|
|
82
|
-
<FormField className="k-col-span-1" label="Width:" editor={ <NumericTextbox showClearButton={false} value="61" /> }/>
|
|
83
|
-
<FormField className="k-col-span-1" label="Height:" editor={ <NumericTextbox showClearButton={false} value="68" /> } />
|
|
84
|
-
<FormField className="k-col-span-2" label="Lock aspect ratio:" editor={ <Checkbox /> } />
|
|
85
100
|
</Form>
|
|
86
101
|
</div>
|
|
87
102
|
</div>
|
|
@@ -46,22 +46,37 @@ root.render(
|
|
|
46
46
|
</div>
|
|
47
47
|
|
|
48
48
|
<div className="k-imageeditor-action-pane">
|
|
49
|
-
<Form
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<FormField
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
49
|
+
<Form tag="div" className="k-imageeditor-pane-form" layout="grid" legend="Resize Image" cols={2} gapX={2} formButtons={
|
|
50
|
+
<>
|
|
51
|
+
<Button themeColor="primary">Confirm</Button>
|
|
52
|
+
<Button>Cancel</Button>
|
|
53
|
+
</>
|
|
54
|
+
}>
|
|
55
|
+
<FormField
|
|
56
|
+
className="k-col-span-1"
|
|
57
|
+
label="Width:"
|
|
58
|
+
editor={ <NumericTextbox showClearButton={false} value="61" /> }
|
|
59
|
+
/>
|
|
60
|
+
<FormField
|
|
61
|
+
className="k-col-span-1"
|
|
62
|
+
label=" "
|
|
63
|
+
editor={ <DropdownList value="Pixels" /> }
|
|
64
|
+
/>
|
|
65
|
+
<FormField
|
|
66
|
+
className="k-col-span-1"
|
|
67
|
+
label="Height:"
|
|
68
|
+
editor={ <NumericTextbox showClearButton={false} value="68" /> }
|
|
69
|
+
/>
|
|
70
|
+
<FormField
|
|
71
|
+
className="k-col-span-1"
|
|
72
|
+
label=" "
|
|
73
|
+
editor={ <DropdownList value="Pixels" /> }
|
|
74
|
+
/>
|
|
75
|
+
<FormField
|
|
76
|
+
className="k-col-span-2"
|
|
77
|
+
label="Lock aspect ratio:"
|
|
78
|
+
editor={ <Checkbox /> }
|
|
79
|
+
/>
|
|
65
80
|
</Form>
|
|
66
81
|
</div>
|
|
67
82
|
|
|
@@ -2,14 +2,16 @@ import ReactDOM from 'react-dom/client';
|
|
|
2
2
|
import { Window } from '../../window';
|
|
3
3
|
import { Button } from '../../button';
|
|
4
4
|
import { Checkbox } from '../../checkbox';
|
|
5
|
-
import { DatePicker } from '../../datepicker';
|
|
6
|
-
import { NumericTextbox } from '../../numerictextbox';
|
|
7
|
-
import { RadioButton } from '../../radio';
|
|
8
5
|
import { Textarea } from '../../textarea';
|
|
9
6
|
import { Textbox } from '../../textbox';
|
|
10
|
-
import {
|
|
7
|
+
import { DateTimePicker } from '../../datetimepicker';
|
|
8
|
+
import { Combobox } from '../../combobox';
|
|
9
|
+
import { MultiSelect } from '../../multiselect';
|
|
11
10
|
import { Form, FormField } from '../../form';
|
|
12
11
|
import { ButtonGroup } from '../../button-group';
|
|
12
|
+
import { RadioButton } from '../../radio';
|
|
13
|
+
import { NumericTextbox } from '../../numerictextbox';
|
|
14
|
+
import { DatePicker } from '../../datepicker';
|
|
13
15
|
|
|
14
16
|
const root = ReactDOM.createRoot(
|
|
15
17
|
document.getElementById('app') as HTMLElement
|
|
@@ -20,7 +22,7 @@ const style = `
|
|
|
20
22
|
width: 700px;
|
|
21
23
|
}
|
|
22
24
|
.k-window {
|
|
23
|
-
width:
|
|
25
|
+
min-width: 400px;
|
|
24
26
|
position: relative;
|
|
25
27
|
}
|
|
26
28
|
`;
|
|
@@ -31,50 +33,46 @@ root.render(
|
|
|
31
33
|
<div id="test-area" className="k-d-grid k-grid-cols-1">
|
|
32
34
|
|
|
33
35
|
<section>
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<FormField label="
|
|
45
|
-
|
|
46
|
-
<DatePicker />
|
|
47
|
-
<TimePicker />
|
|
48
|
-
</div>
|
|
49
|
-
} />
|
|
36
|
+
<Window title="Edit event" actions={[ 'minimize', 'maximize', 'close' ]} actionButtonsAlign="start" actionButtons={
|
|
37
|
+
<>
|
|
38
|
+
<Button themeColor="primary" icon="save">Save</Button>
|
|
39
|
+
<Button icon="cancel">Cancel</Button>
|
|
40
|
+
<span className="k-spacer"></span>
|
|
41
|
+
<Button fillMode="flat" themeColor="primary" icon="delete">Delete</Button>
|
|
42
|
+
</>
|
|
43
|
+
}>
|
|
44
|
+
<Form tag="div" className="k-scheduler-edit-form" orientation="vertical">
|
|
45
|
+
<FormField className="k-form-field-error" label="Title" error="Error" editor={ <Textbox invalid value="Invalid" /> }/>
|
|
46
|
+
<FormField label="Start" editor={ <DateTimePicker placeholder="dd/MM/yyyy hh:mm AM" /> }/>
|
|
47
|
+
<FormField label="End" editor={ <DateTimePicker placeholder="dd/MM/yyyy hh:mm AM" /> }/>
|
|
50
48
|
<FormField label=" " editor={
|
|
51
49
|
<>
|
|
52
|
-
<Checkbox
|
|
53
|
-
<label
|
|
50
|
+
<Checkbox />
|
|
51
|
+
<label className="k-checkbox-label">All Day Event</label>
|
|
54
52
|
</>
|
|
55
|
-
}
|
|
53
|
+
}/>
|
|
56
54
|
<FormField label=" " editor={
|
|
57
55
|
<>
|
|
58
|
-
<Checkbox
|
|
59
|
-
<label
|
|
56
|
+
<Checkbox />
|
|
57
|
+
<label className="k-checkbox-label">Specify Time Zone</label>
|
|
60
58
|
</>
|
|
61
|
-
}
|
|
59
|
+
}/>
|
|
62
60
|
<div className="k-recurrence-editor">
|
|
63
61
|
<FormField label="Repeat" editor={
|
|
64
|
-
<ButtonGroup className="k-scheduler-recurrence-repeat
|
|
62
|
+
<ButtonGroup stretched className="k-scheduler-recurrence-repeat">
|
|
65
63
|
<Button>Never</Button>
|
|
66
|
-
<Button selected>Daily</Button>
|
|
64
|
+
<Button selected >Daily</Button>
|
|
67
65
|
<Button>Weekly</Button>
|
|
68
66
|
<Button>Monthly</Button>
|
|
69
67
|
<Button>Yearly</Button>
|
|
70
68
|
</ButtonGroup>
|
|
71
|
-
}
|
|
69
|
+
}/>
|
|
72
70
|
<div className="k-recur-view">
|
|
73
71
|
<div className="k-scheduler-recurrence-interval-editor">
|
|
74
72
|
<FormField label="Repeat every" editor={
|
|
75
73
|
<>
|
|
76
74
|
<NumericTextbox className="k-recur-interval" />
|
|
77
|
-
<span>day(s)</span>
|
|
75
|
+
<span> day(s)</span>
|
|
78
76
|
</>
|
|
79
77
|
} />
|
|
80
78
|
</div>
|
|
@@ -101,12 +99,12 @@ root.render(
|
|
|
101
99
|
</div>
|
|
102
100
|
</div>
|
|
103
101
|
</div>
|
|
104
|
-
<FormField label="Description" editor={ <Textarea /> }
|
|
102
|
+
<FormField label="Description" editor={ <Textarea /> }/>
|
|
103
|
+
<FormField label="Owner" editor={ <Combobox placeholder="Select owner" /> }/>
|
|
104
|
+
<FormField label="Atendee" optional editor={ <MultiSelect placeholder="Invite people" /> }/>
|
|
105
105
|
</Form>
|
|
106
106
|
</Window>
|
|
107
|
-
|
|
108
107
|
</section>
|
|
109
|
-
|
|
110
108
|
</div>
|
|
111
109
|
</>
|
|
112
110
|
);
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Window } from '../../window';
|
|
3
|
+
import { Button } from '../../button';
|
|
4
|
+
import { Checkbox } from '../../checkbox';
|
|
5
|
+
import { Textarea } from '../../textarea';
|
|
6
|
+
import { Textbox } from '../../textbox';
|
|
7
|
+
import { DateTimePicker } from '../../datetimepicker';
|
|
8
|
+
import { Combobox } from '../../combobox';
|
|
9
|
+
import { MultiSelect } from '../../multiselect';
|
|
10
|
+
import { Form, FormField } from '../../form';
|
|
11
|
+
import { ButtonGroup } from '../../button-group';
|
|
12
|
+
import { NumericTextbox } from '../../numerictextbox';
|
|
13
|
+
import { RadioButton } from '../../radio';
|
|
14
|
+
import { DatePicker } from '../../datepicker';
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const root = ReactDOM.createRoot(
|
|
18
|
+
document.getElementById('app') as HTMLElement
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
const style = `
|
|
22
|
+
#test-area {
|
|
23
|
+
width: 700px;
|
|
24
|
+
}
|
|
25
|
+
.k-window {
|
|
26
|
+
min-width: 400px;
|
|
27
|
+
position: relative;
|
|
28
|
+
}
|
|
29
|
+
`;
|
|
30
|
+
|
|
31
|
+
root.render(
|
|
32
|
+
<>
|
|
33
|
+
<style>{style}</style>
|
|
34
|
+
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
35
|
+
|
|
36
|
+
<section>
|
|
37
|
+
|
|
38
|
+
<Window title="Edit event" actions={[ 'minimize', 'maximize', 'close' ]} actionButtonsAlign="start" actionButtons={
|
|
39
|
+
<>
|
|
40
|
+
<Button themeColor="primary" icon="save">Save</Button>
|
|
41
|
+
<Button icon="cancel">Cancel</Button>
|
|
42
|
+
<span className="k-spacer"></span>
|
|
43
|
+
<Button fillMode="flat" themeColor="primary" icon="delete">Delete</Button>
|
|
44
|
+
</>
|
|
45
|
+
}>
|
|
46
|
+
<Form tag="div" className="k-scheduler-edit-form" orientation="vertical">
|
|
47
|
+
<FormField className="k-form-field-error" label="Title" error="Error" editor={ <Textbox invalid value="Invalid" /> }/>
|
|
48
|
+
<FormField label="Start" editor={ <DateTimePicker placeholder="dd/MM/yyyy hh:mm AM" /> }/>
|
|
49
|
+
<FormField label=" " editor={
|
|
50
|
+
<>
|
|
51
|
+
<Checkbox checked />
|
|
52
|
+
<label className="k-checkbox-label">Specify Time Zone</label>
|
|
53
|
+
</>
|
|
54
|
+
} />
|
|
55
|
+
<FormField label="Start Time Zone" editor={
|
|
56
|
+
<Combobox placeholder="Eastern European Summer Time (Sofia-Bulgaria)" />
|
|
57
|
+
} />
|
|
58
|
+
<FormField label="End" editor={ <DateTimePicker placeholder="dd/MM/yyyy hh:mm AM" /> }/>
|
|
59
|
+
<FormField label=" " editor={
|
|
60
|
+
<>
|
|
61
|
+
<Checkbox checked />
|
|
62
|
+
<label className="k-checkbox-label">End in different Time Zone</label>
|
|
63
|
+
</>
|
|
64
|
+
} />
|
|
65
|
+
<FormField label="End Time Zone" editor={
|
|
66
|
+
<Combobox placeholder="Select Time Zone, Country, City" />
|
|
67
|
+
} />
|
|
68
|
+
<FormField label=" " editor={
|
|
69
|
+
<>
|
|
70
|
+
<Checkbox />
|
|
71
|
+
<label className="k-checkbox-label">All Day Event</label>
|
|
72
|
+
</>
|
|
73
|
+
}/>
|
|
74
|
+
<FormField label="Repeat" editor={
|
|
75
|
+
<div className="k-recurrence-editor">
|
|
76
|
+
<ButtonGroup stretched className="k-scheduler-recurrence-repeat">
|
|
77
|
+
<Button>Never</Button>
|
|
78
|
+
<Button>Daily</Button>
|
|
79
|
+
<Button selected >Weekly</Button>
|
|
80
|
+
<Button>Monthly</Button>
|
|
81
|
+
<Button>Yearly</Button>
|
|
82
|
+
</ButtonGroup>
|
|
83
|
+
<div className="k-recur-view">
|
|
84
|
+
<div className="k-scheduler-recurrence-interval-editor">
|
|
85
|
+
<FormField label="Repeat every:" editor={
|
|
86
|
+
<>
|
|
87
|
+
<NumericTextbox className="k-recur-interval" />
|
|
88
|
+
<span> weeks(s)</span>
|
|
89
|
+
</>
|
|
90
|
+
}/>
|
|
91
|
+
<FormField label="Repeat on:" editor={
|
|
92
|
+
<ButtonGroup stretched>
|
|
93
|
+
<Button>Sun</Button>
|
|
94
|
+
<Button selected >Mon</Button>
|
|
95
|
+
<Button>Tue</Button>
|
|
96
|
+
<Button>Wed</Button>
|
|
97
|
+
<Button>Thu</Button>
|
|
98
|
+
<Button>Fri</Button>
|
|
99
|
+
<Button>Sat</Button>
|
|
100
|
+
</ButtonGroup>
|
|
101
|
+
} />
|
|
102
|
+
</div>
|
|
103
|
+
<div className="k-scheduler-recurrence-end-rule-editor">
|
|
104
|
+
<FormField label="End" editor={
|
|
105
|
+
<ul className="k-radio-list">
|
|
106
|
+
<li className="k-radio-list-item">
|
|
107
|
+
<RadioButton id="k-endrule-never" />
|
|
108
|
+
<label className="k-radio-label" htmlFor="k-endrule-never">Never</label>
|
|
109
|
+
</li>
|
|
110
|
+
<li className="k-radio-list-item">
|
|
111
|
+
<RadioButton id="k-endrule-count" />
|
|
112
|
+
<label className="k-radio-label" htmlFor="k-endrule-count">After</label>
|
|
113
|
+
<NumericTextbox className="k-recur-count" />
|
|
114
|
+
<span>occurrence(s)</span>
|
|
115
|
+
</li>
|
|
116
|
+
<li className="k-radio-list-item">
|
|
117
|
+
<RadioButton id="k-endrule-until" />
|
|
118
|
+
<label className="k-radio-label" htmlFor="k-endrule-until">On</label>
|
|
119
|
+
<DatePicker className="k-recur-until" disabled />
|
|
120
|
+
</li>
|
|
121
|
+
</ul>
|
|
122
|
+
} />
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
}/>
|
|
127
|
+
<FormField label="Description" editor={ <Textarea /> }/>
|
|
128
|
+
<FormField label="Owner" editor={ <Combobox placeholder="Select owner" /> }/>
|
|
129
|
+
<FormField label="Atendee" optional editor={ <MultiSelect placeholder="Invite people" /> }/>
|
|
130
|
+
</Form>
|
|
131
|
+
</Window>
|
|
132
|
+
|
|
133
|
+
</section>
|
|
134
|
+
|
|
135
|
+
</div>
|
|
136
|
+
</>
|
|
137
|
+
);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import ReactDOM from 'react-dom/client';
|
|
2
2
|
import { Window } from '../../window';
|
|
3
3
|
import { Textarea } from '../../textarea';
|
|
4
|
+
import { Button } from '../../button';
|
|
4
5
|
import { Form, FormField } from '../../form';
|
|
5
6
|
|
|
6
7
|
const root = ReactDOM.createRoot(
|
|
@@ -12,7 +13,7 @@ const style = `
|
|
|
12
13
|
width: 500px;
|
|
13
14
|
}
|
|
14
15
|
.k-window {
|
|
15
|
-
width:
|
|
16
|
+
min-width: 400px;
|
|
16
17
|
position: relative;
|
|
17
18
|
}
|
|
18
19
|
`;
|
|
@@ -24,15 +25,25 @@ root.render(
|
|
|
24
25
|
|
|
25
26
|
<section>
|
|
26
27
|
|
|
27
|
-
<Window title="Insert comment" actions={[ 'close' ]}
|
|
28
|
+
<Window title="Insert comment" actions={[ 'close' ]} actionButtonsAlign="start" actionButtons={
|
|
29
|
+
<>
|
|
30
|
+
<Button themeColor="primary">Update</Button>
|
|
31
|
+
<Button>Cancel</Button>
|
|
32
|
+
</>
|
|
33
|
+
}>
|
|
28
34
|
<Form tag="div" orientation="horizontal">
|
|
29
|
-
<FormField label="Comment:" editor={ <Textarea /> }
|
|
35
|
+
<FormField label="Comment:" editor={ <Textarea /> }/>
|
|
30
36
|
</Form>
|
|
31
37
|
</Window>
|
|
32
38
|
</section>
|
|
33
39
|
|
|
34
40
|
<section>
|
|
35
|
-
<Window title="Insert image" actions={[ 'close' ]}
|
|
41
|
+
<Window title="Insert image" actions={[ 'close' ]} actionButtonsAlign="start" actionButtons={
|
|
42
|
+
<>
|
|
43
|
+
<Button themeColor="primary">Update</Button>
|
|
44
|
+
<Button>Cancel</Button>
|
|
45
|
+
</>
|
|
46
|
+
}>
|
|
36
47
|
<div className="k-spreadsheet-insert-image-dialog">
|
|
37
48
|
<label>
|
|
38
49
|
<div>Drag an image here, or click to select</div>
|
|
@@ -129,8 +129,8 @@ export const TimePicker = (
|
|
|
129
129
|
</TimeSelectorHeader>
|
|
130
130
|
)}/>
|
|
131
131
|
<ActionButtons alignment="stretched" className="k-time-footer">
|
|
132
|
-
<Button className="k-time-cancel">Cancel</Button>
|
|
133
132
|
<Button themeColor="primary" className="k-time-accept">Set</Button>
|
|
133
|
+
<Button className="k-time-cancel">Cancel</Button>
|
|
134
134
|
</ActionButtons>
|
|
135
135
|
</Popup>
|
|
136
136
|
}
|