@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,92 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Button } from '../../button';
|
|
3
|
+
import { Window } from '../../window';
|
|
4
|
+
import { Textarea } from '../../textarea';
|
|
5
|
+
import { Textbox } from '../../textbox';
|
|
6
|
+
import { DatePicker } from '../../datepicker';
|
|
7
|
+
import { NumericTextbox } from '../../numerictextbox';
|
|
8
|
+
import { Checkbox } from '../../checkbox';
|
|
9
|
+
import { Form, FormField } from '../../form';
|
|
10
|
+
|
|
11
|
+
const root = ReactDOM.createRoot(
|
|
12
|
+
document.getElementById('app') as HTMLElement
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
const styles = `
|
|
16
|
+
.k-window {
|
|
17
|
+
min-width: 580px;
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
root.render(
|
|
23
|
+
<>
|
|
24
|
+
<style>{styles}</style>
|
|
25
|
+
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
26
|
+
|
|
27
|
+
<section>
|
|
28
|
+
<Window title="Edit task" actions={[ 'window-minimize', 'window-maximize', 'close' ]} actionButtons={
|
|
29
|
+
<>
|
|
30
|
+
<Button icon="save" themeColor="primary">Save</Button>
|
|
31
|
+
<Button icon="cancel">Cancel</Button>
|
|
32
|
+
<span className="k-spacer"></span>
|
|
33
|
+
<Button icon="delete" fillMode="flat" themeColor="primary">Delete</Button>
|
|
34
|
+
</>
|
|
35
|
+
}>
|
|
36
|
+
<div className="k-tabstrip k-tabstrip-top">
|
|
37
|
+
<div className="k-tabstrip-items-wrapper k-hstack">
|
|
38
|
+
<ul className="k-reset k-tabstrip-items">
|
|
39
|
+
<li className="k-item k-first">
|
|
40
|
+
<span className="k-link">General</span>
|
|
41
|
+
</li>
|
|
42
|
+
<li className="k-item">
|
|
43
|
+
<span className="k-link">Resources</span>
|
|
44
|
+
</li>
|
|
45
|
+
<li className="k-item">
|
|
46
|
+
<span className="k-link">Predecessors</span>
|
|
47
|
+
</li>
|
|
48
|
+
<li className="k-item">
|
|
49
|
+
<span className="k-link">Successors</span>
|
|
50
|
+
</li>
|
|
51
|
+
<li className="k-item k-last k-active">
|
|
52
|
+
<span className="k-link">Other</span>
|
|
53
|
+
</li>
|
|
54
|
+
</ul>
|
|
55
|
+
</div>
|
|
56
|
+
<div className="k-tabstrip-content k-active">
|
|
57
|
+
<Form orientation="vertical">
|
|
58
|
+
<FormField
|
|
59
|
+
label="Notes"
|
|
60
|
+
optional
|
|
61
|
+
editor={ <Textarea placeholder="Placeholder" /> }
|
|
62
|
+
/>
|
|
63
|
+
<FormField
|
|
64
|
+
label="Text data field label"
|
|
65
|
+
editor={ <Textbox placeholder="Placeholder" /> }
|
|
66
|
+
/>
|
|
67
|
+
<FormField
|
|
68
|
+
label="Date data field label"
|
|
69
|
+
editor={ <DatePicker placeholder="dd/MM/yyyy" /> }
|
|
70
|
+
/>
|
|
71
|
+
<FormField
|
|
72
|
+
label="Numeric data field label"
|
|
73
|
+
editor={ <NumericTextbox placeholder="##,##" /> }
|
|
74
|
+
/>
|
|
75
|
+
<FormField
|
|
76
|
+
editor={
|
|
77
|
+
<>
|
|
78
|
+
<Checkbox checked />
|
|
79
|
+
<label className="k-checkbox-label">Boolean data field label</label>
|
|
80
|
+
</>
|
|
81
|
+
}
|
|
82
|
+
/>
|
|
83
|
+
</Form>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</Window>
|
|
87
|
+
</section>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
</>
|
|
92
|
+
);
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Window } from '../../window';
|
|
3
|
+
import { DropdownList } from '../../dropdownlist';
|
|
4
|
+
import { Toolbar } from '../../toolbar';
|
|
5
|
+
import { Button } from '../../button';
|
|
6
|
+
import { Icon } from '../../icon';
|
|
7
|
+
|
|
8
|
+
const root = ReactDOM.createRoot(
|
|
9
|
+
document.getElementById('app') as HTMLElement
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
const styles = `
|
|
13
|
+
.k-window {
|
|
14
|
+
min-width: 580px;
|
|
15
|
+
min-height: 500px;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
root.render(
|
|
21
|
+
<>
|
|
22
|
+
<style>{styles}</style>
|
|
23
|
+
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
24
|
+
|
|
25
|
+
<section>
|
|
26
|
+
<Window title="Edit task" actions={[ 'window-minimize', 'window-maximize', 'close' ]} actionButtons={
|
|
27
|
+
<>
|
|
28
|
+
<Button icon="save" themeColor="primary">Save</Button>
|
|
29
|
+
<Button icon="cancel">Cancel</Button>
|
|
30
|
+
<span className="k-spacer"></span>
|
|
31
|
+
<Button icon="delete" fillMode="flat" themeColor="primary">Delete</Button>
|
|
32
|
+
</>
|
|
33
|
+
}>
|
|
34
|
+
<div className="k-tabstrip k-tabstrip-top">
|
|
35
|
+
<div className="k-tabstrip-items-wrapper k-hstack">
|
|
36
|
+
<ul className="k-reset k-tabstrip-items">
|
|
37
|
+
<li className="k-item k-first">
|
|
38
|
+
<span className="k-link">General</span>
|
|
39
|
+
</li>
|
|
40
|
+
<li className="k-item">
|
|
41
|
+
<span className="k-link">Resources</span>
|
|
42
|
+
</li>
|
|
43
|
+
<li className="k-item k-active">
|
|
44
|
+
<span className="k-link">Predecessors</span>
|
|
45
|
+
</li>
|
|
46
|
+
<li className="k-item k-last">
|
|
47
|
+
<span className="k-link">Successors</span>
|
|
48
|
+
</li>
|
|
49
|
+
</ul>
|
|
50
|
+
</div>
|
|
51
|
+
<div className="k-tabstrip-content k-active">
|
|
52
|
+
<div className="k-grid k-grid-md k-grid-no-scrollbar">
|
|
53
|
+
<Toolbar className="k-grid-toolbar">
|
|
54
|
+
<Button icon="add">Add</Button>
|
|
55
|
+
<Button icon="minus">Remove</Button>
|
|
56
|
+
</Toolbar>
|
|
57
|
+
<div className="k-grid-header">
|
|
58
|
+
<div className="k-grid-header-wrap">
|
|
59
|
+
<table className="k-table k-table-md k-grid-header-table">
|
|
60
|
+
<colgroup>
|
|
61
|
+
<col/>
|
|
62
|
+
<col/>
|
|
63
|
+
</colgroup>
|
|
64
|
+
<thead className="k-table-thead">
|
|
65
|
+
<tr className="k-table-row">
|
|
66
|
+
<th className="k-table-th k-header">
|
|
67
|
+
<span className="k-cell-inner">
|
|
68
|
+
<span className="k-link">
|
|
69
|
+
<span className="k-column-title">Name</span>
|
|
70
|
+
<span className="k-sort-icon"><Icon name="sort-asc-small" /></span>
|
|
71
|
+
</span>
|
|
72
|
+
</span>
|
|
73
|
+
</th>
|
|
74
|
+
<th className="k-table-th k-header">
|
|
75
|
+
<span className="k-cell-inner">
|
|
76
|
+
<span className="k-link">
|
|
77
|
+
<span className="k-column-title">Type</span>
|
|
78
|
+
<span className="k-sort-icon"><Icon name="sort-asc-small" /></span>
|
|
79
|
+
</span>
|
|
80
|
+
</span>
|
|
81
|
+
</th>
|
|
82
|
+
</tr>
|
|
83
|
+
</thead>
|
|
84
|
+
</table>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
<div className="k-grid-content">
|
|
88
|
+
<table className="k-table k-table-md k-grid-table">
|
|
89
|
+
<colgroup>
|
|
90
|
+
<col/>
|
|
91
|
+
<col/>
|
|
92
|
+
</colgroup>
|
|
93
|
+
<tbody className="k-table-tbody">
|
|
94
|
+
<tr className="k-table-row">
|
|
95
|
+
<td className="k-table-td">
|
|
96
|
+
<DropdownList placeholder="-Select task-"/>
|
|
97
|
+
</td>
|
|
98
|
+
<td className="k-table-td">
|
|
99
|
+
<DropdownList placeholder="Finish-Start"/>
|
|
100
|
+
</td>
|
|
101
|
+
</tr>
|
|
102
|
+
</tbody>
|
|
103
|
+
</table>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</Window>
|
|
109
|
+
</section>
|
|
110
|
+
|
|
111
|
+
</div>
|
|
112
|
+
</>
|
|
113
|
+
);
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Window } from '../../window';
|
|
3
|
+
import { NumericTextbox } from '../../numerictextbox';
|
|
4
|
+
import { DropdownList } from '../../dropdownlist';
|
|
5
|
+
import { Toolbar } from '../../toolbar';
|
|
6
|
+
import { Button } from '../../button';
|
|
7
|
+
import { Checkbox } from '../../checkbox';
|
|
8
|
+
import { Icon } from '../../icon';
|
|
9
|
+
|
|
10
|
+
const root = ReactDOM.createRoot(
|
|
11
|
+
document.getElementById('app') as HTMLElement
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
const styles = `
|
|
15
|
+
.k-window {
|
|
16
|
+
min-width: 580px;
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
root.render(
|
|
22
|
+
<>
|
|
23
|
+
<style>{styles}</style>
|
|
24
|
+
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
25
|
+
|
|
26
|
+
<section>
|
|
27
|
+
<Window title="Edit task" actions={[ 'window-minimize', 'window-maximize', 'close' ]} actionButtons={
|
|
28
|
+
<>
|
|
29
|
+
<Button icon="save" themeColor="primary">Save</Button>
|
|
30
|
+
<Button icon="cancel">Cancel</Button>
|
|
31
|
+
<span className="k-spacer"></span>
|
|
32
|
+
<Button icon="delete" fillMode="flat" themeColor="primary">Delete</Button>
|
|
33
|
+
</>
|
|
34
|
+
}>
|
|
35
|
+
<div className="k-tabstrip k-tabstrip-top">
|
|
36
|
+
<div className="k-tabstrip-items-wrapper k-hstack">
|
|
37
|
+
<ul className="k-reset k-tabstrip-items">
|
|
38
|
+
<li className="k-item k-first">
|
|
39
|
+
<span className="k-link">General</span>
|
|
40
|
+
</li>
|
|
41
|
+
<li className="k-item k-active">
|
|
42
|
+
<span className="k-link">Resources</span>
|
|
43
|
+
</li>
|
|
44
|
+
<li className="k-item">
|
|
45
|
+
<span className="k-link">Predecessors</span>
|
|
46
|
+
</li>
|
|
47
|
+
<li className="k-item k-last">
|
|
48
|
+
<span className="k-link">Successors</span>
|
|
49
|
+
</li>
|
|
50
|
+
</ul>
|
|
51
|
+
</div>
|
|
52
|
+
<div className="k-tabstrip-content k-active">
|
|
53
|
+
<div className="k-grid k-grid-md k-grid-no-scrollbar">
|
|
54
|
+
<Toolbar className="k-grid-toolbar">
|
|
55
|
+
<Button icon="add">Add</Button>
|
|
56
|
+
<Button icon="minus">Remove</Button>
|
|
57
|
+
</Toolbar>
|
|
58
|
+
<div className="k-grid-header">
|
|
59
|
+
<div className="k-grid-header-wrap">
|
|
60
|
+
<table className="k-table k-table-md k-grid-header-table">
|
|
61
|
+
<colgroup>
|
|
62
|
+
<col style={{ width: "42px" }}/>
|
|
63
|
+
<col/>
|
|
64
|
+
<col/>
|
|
65
|
+
</colgroup>
|
|
66
|
+
<thead className="k-table-thead">
|
|
67
|
+
<tr className="k-table-row">
|
|
68
|
+
<th className="k-table-th k-header">
|
|
69
|
+
<span className="k-checkbox-wrap">
|
|
70
|
+
<Checkbox />
|
|
71
|
+
</span>
|
|
72
|
+
<label className="k-checkbox-label"></label>
|
|
73
|
+
</th>
|
|
74
|
+
<th className="k-table-th k-header k-filterable">
|
|
75
|
+
<span className="k-cell-inner">
|
|
76
|
+
<span className="k-link">
|
|
77
|
+
<span className="k-column-title">Resources</span>
|
|
78
|
+
<span className="k-sort-icon"><Icon name="sort-asc-small" /></span>
|
|
79
|
+
</span>
|
|
80
|
+
<div><a href="#" className="k-grid-filter-menu k-grid-header-menu"><Icon name="filter" /></a></div>
|
|
81
|
+
</span>
|
|
82
|
+
</th>
|
|
83
|
+
<th className="k-table-th k-header k-filterable">
|
|
84
|
+
<span className="k-cell-inner">
|
|
85
|
+
<span className="k-link">
|
|
86
|
+
<span className="k-column-title">Units</span>
|
|
87
|
+
<span className="k-sort-icon"><Icon name="sort-asc-small" /></span>
|
|
88
|
+
</span>
|
|
89
|
+
<div><a href="#" className="k-grid-filter-menu k-grid-header-menu"><Icon name="filter" /></a></div>
|
|
90
|
+
</span>
|
|
91
|
+
</th>
|
|
92
|
+
</tr>
|
|
93
|
+
</thead>
|
|
94
|
+
</table>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div className="k-grid-content">
|
|
98
|
+
<table className="k-table k-table-md k-grid-table">
|
|
99
|
+
<colgroup>
|
|
100
|
+
<col style={{ width: "42px" }}/>
|
|
101
|
+
<col/>
|
|
102
|
+
<col/>
|
|
103
|
+
</colgroup>
|
|
104
|
+
<tbody className="k-table-tbody">
|
|
105
|
+
<tr className="k-table-row">
|
|
106
|
+
<td className="k-table-td">
|
|
107
|
+
<span className="k-checkbox-wrap">
|
|
108
|
+
<Checkbox />
|
|
109
|
+
<label className="k-checkbox-label"></label>
|
|
110
|
+
</span>
|
|
111
|
+
</td>
|
|
112
|
+
<td className="k-table-td">
|
|
113
|
+
<DropdownList placeholder="-Select resource-"/>
|
|
114
|
+
</td>
|
|
115
|
+
<td className="k-table-td">
|
|
116
|
+
<NumericTextbox value="40"/>
|
|
117
|
+
</td>
|
|
118
|
+
</tr>
|
|
119
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
120
|
+
<td className="k-table-td">
|
|
121
|
+
<span className="k-checkbox-wrap">
|
|
122
|
+
<Checkbox />
|
|
123
|
+
<label className="k-checkbox-label"></label>
|
|
124
|
+
</span>
|
|
125
|
+
</td>
|
|
126
|
+
<td className="k-table-td">Grid Cell</td>
|
|
127
|
+
<td className="k-table-td">Grid Cell</td>
|
|
128
|
+
</tr>
|
|
129
|
+
<tr className="k-table-row">
|
|
130
|
+
<td className="k-table-td">
|
|
131
|
+
<span className="k-checkbox-wrap">
|
|
132
|
+
<Checkbox />
|
|
133
|
+
<label className="k-checkbox-label"></label>
|
|
134
|
+
</span>
|
|
135
|
+
</td>
|
|
136
|
+
<td className="k-table-td">Grid Cell</td>
|
|
137
|
+
<td className="k-table-td">Grid Cell</td>
|
|
138
|
+
</tr>
|
|
139
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
140
|
+
<td className="k-table-td">
|
|
141
|
+
<span className="k-checkbox-wrap">
|
|
142
|
+
<Checkbox />
|
|
143
|
+
<label className="k-checkbox-label"></label>
|
|
144
|
+
</span>
|
|
145
|
+
</td>
|
|
146
|
+
<td className="k-table-td">Grid Cell</td>
|
|
147
|
+
<td className="k-table-td">Grid Cell</td>
|
|
148
|
+
</tr>
|
|
149
|
+
<tr className="k-table-row">
|
|
150
|
+
<td className="k-table-td">
|
|
151
|
+
<span className="k-checkbox-wrap">
|
|
152
|
+
<Checkbox />
|
|
153
|
+
<label className="k-checkbox-label"></label>
|
|
154
|
+
</span>
|
|
155
|
+
</td>
|
|
156
|
+
<td className="k-table-td">Grid Cell</td>
|
|
157
|
+
<td className="k-table-td">Grid Cell</td>
|
|
158
|
+
</tr>
|
|
159
|
+
<tr className="k-table-row k-table-alt-row k-alt">
|
|
160
|
+
<td className="k-table-td">
|
|
161
|
+
<span className="k-checkbox-wrap">
|
|
162
|
+
<Checkbox />
|
|
163
|
+
<label className="k-checkbox-label"></label>
|
|
164
|
+
</span>
|
|
165
|
+
</td>
|
|
166
|
+
<td className="k-table-td">Grid Cell</td>
|
|
167
|
+
<td className="k-table-td">Grid Cell</td>
|
|
168
|
+
</tr>
|
|
169
|
+
</tbody>
|
|
170
|
+
</table>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</Window>
|
|
176
|
+
</section>
|
|
177
|
+
|
|
178
|
+
</div>
|
|
179
|
+
</>
|
|
180
|
+
);
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import ReactDOM from 'react-dom/client';
|
|
2
|
+
import { Window } from '../../window';
|
|
3
|
+
import { DropdownList } from '../../dropdownlist';
|
|
4
|
+
import { Toolbar } from '../../toolbar';
|
|
5
|
+
import { Button } from '../../button';
|
|
6
|
+
import { Icon } from '../../icon';
|
|
7
|
+
|
|
8
|
+
const root = ReactDOM.createRoot(
|
|
9
|
+
document.getElementById('app') as HTMLElement
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
const styles = `
|
|
13
|
+
.k-window {
|
|
14
|
+
min-width: 580px;
|
|
15
|
+
min-height: 500px;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
root.render(
|
|
21
|
+
<>
|
|
22
|
+
<style>{styles}</style>
|
|
23
|
+
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
24
|
+
|
|
25
|
+
<section>
|
|
26
|
+
<Window title="Edit task" actions={[ 'window-minimize', 'window-maximize', 'close' ]} actionButtons={
|
|
27
|
+
<>
|
|
28
|
+
<Button icon="save" themeColor="primary">Save</Button>
|
|
29
|
+
<Button icon="cancel">Cancel</Button>
|
|
30
|
+
<span className="k-spacer"></span>
|
|
31
|
+
<Button icon="delete" fillMode="flat" themeColor="primary">Delete</Button>
|
|
32
|
+
</>
|
|
33
|
+
}>
|
|
34
|
+
<div className="k-tabstrip k-tabstrip-top">
|
|
35
|
+
<div className="k-tabstrip-items-wrapper k-hstack">
|
|
36
|
+
<ul className="k-reset k-tabstrip-items">
|
|
37
|
+
<li className="k-item k-first">
|
|
38
|
+
<span className="k-link">General</span>
|
|
39
|
+
</li>
|
|
40
|
+
<li className="k-item">
|
|
41
|
+
<span className="k-link">Resources</span>
|
|
42
|
+
</li>
|
|
43
|
+
<li className="k-item">
|
|
44
|
+
<span className="k-link">Predecessors</span>
|
|
45
|
+
</li>
|
|
46
|
+
<li className="k-item k-last k-active">
|
|
47
|
+
<span className="k-link">Successors</span>
|
|
48
|
+
</li>
|
|
49
|
+
</ul>
|
|
50
|
+
</div>
|
|
51
|
+
<div className="k-tabstrip-content k-active">
|
|
52
|
+
<div className="k-grid k-grid-md k-grid-no-scrollbar">
|
|
53
|
+
<Toolbar className="k-grid-toolbar">
|
|
54
|
+
<Button icon="add">Add</Button>
|
|
55
|
+
<Button icon="minus">Remove</Button>
|
|
56
|
+
</Toolbar>
|
|
57
|
+
<div className="k-grid-header">
|
|
58
|
+
<div className="k-grid-header-wrap">
|
|
59
|
+
<table className="k-table k-table-md k-grid-header-table">
|
|
60
|
+
<colgroup>
|
|
61
|
+
<col/>
|
|
62
|
+
<col/>
|
|
63
|
+
</colgroup>
|
|
64
|
+
<thead className="k-table-thead">
|
|
65
|
+
<tr className="k-table-row">
|
|
66
|
+
<th className="k-table-th k-header">
|
|
67
|
+
<span className="k-cell-inner">
|
|
68
|
+
<span className="k-link">
|
|
69
|
+
<span className="k-column-title">Name</span>
|
|
70
|
+
<span className="k-sort-icon"><Icon name="sort-asc-small" /></span>
|
|
71
|
+
</span>
|
|
72
|
+
</span>
|
|
73
|
+
</th>
|
|
74
|
+
<th className="k-table-th k-header">
|
|
75
|
+
<span className="k-cell-inner">
|
|
76
|
+
<span className="k-link">
|
|
77
|
+
<span className="k-column-title">Type</span>
|
|
78
|
+
<span className="k-sort-icon"><Icon name="sort-asc-small" /></span>
|
|
79
|
+
</span>
|
|
80
|
+
</span>
|
|
81
|
+
</th>
|
|
82
|
+
</tr>
|
|
83
|
+
</thead>
|
|
84
|
+
</table>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
<div className="k-grid-content">
|
|
88
|
+
<table className="k-table k-table-md k-grid-table">
|
|
89
|
+
<colgroup>
|
|
90
|
+
<col/>
|
|
91
|
+
<col/>
|
|
92
|
+
</colgroup>
|
|
93
|
+
<tbody className="k-table-tbody">
|
|
94
|
+
<tr className="k-table-row">
|
|
95
|
+
<td className="k-table-td">
|
|
96
|
+
<DropdownList placeholder="-Select task-"/>
|
|
97
|
+
</td>
|
|
98
|
+
<td className="k-table-td">
|
|
99
|
+
<DropdownList placeholder="Finish-Start"/>
|
|
100
|
+
</td>
|
|
101
|
+
</tr>
|
|
102
|
+
</tbody>
|
|
103
|
+
</table>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</Window>
|
|
109
|
+
</section>
|
|
110
|
+
|
|
111
|
+
</div>
|
|
112
|
+
</>
|
|
113
|
+
);
|
|
@@ -107,8 +107,8 @@ root.render(
|
|
|
107
107
|
</div>
|
|
108
108
|
</div>
|
|
109
109
|
<ActionButtons alignment="stretched">
|
|
110
|
-
<Button>Reset</Button>
|
|
111
110
|
<Button themeColor="primary">Apply</Button>
|
|
111
|
+
<Button>Reset</Button>
|
|
112
112
|
</ActionButtons>
|
|
113
113
|
</div>
|
|
114
114
|
</div>
|
|
@@ -186,8 +186,8 @@ root.render(
|
|
|
186
186
|
</div>
|
|
187
187
|
</div>
|
|
188
188
|
<ActionButtons alignment="stretched">
|
|
189
|
-
<Button>Reset</Button>
|
|
190
189
|
<Button themeColor="primary">Apply</Button>
|
|
190
|
+
<Button>Reset</Button>
|
|
191
191
|
</ActionButtons>
|
|
192
192
|
</div>
|
|
193
193
|
</div>
|
|
@@ -316,8 +316,8 @@ root.render(
|
|
|
316
316
|
<DropdownList value="Contains" />
|
|
317
317
|
<Textbox placeholder="Filter..." />
|
|
318
318
|
<ActionButtons alignment="stretched">
|
|
319
|
-
<Button>Clear</Button>
|
|
320
319
|
<Button themeColor="primary">Filter</Button>
|
|
320
|
+
<Button>Clear</Button>
|
|
321
321
|
</ActionButtons>
|
|
322
322
|
</div>
|
|
323
323
|
</form>
|
|
@@ -381,8 +381,8 @@ root.render(
|
|
|
381
381
|
</ul>
|
|
382
382
|
<div className="k-filter-selected-items">0 selected items</div>
|
|
383
383
|
<ActionButtons alignment="stretched">
|
|
384
|
-
<Button>Clear</Button>
|
|
385
384
|
<Button themeColor="primary">Filter</Button>
|
|
385
|
+
<Button>Clear</Button>
|
|
386
386
|
</ActionButtons>
|
|
387
387
|
</div>
|
|
388
388
|
</form>
|