@progress/kendo-themes-html 6.4.0-dev.5 → 6.4.0-dev.6
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/cjs/action-sheet/action-sheet.spec.js +56 -21
- package/dist/cjs/action-sheet/tests/action-sheet-calendar-infinite.js +478 -443
- package/dist/cjs/action-sheet/tests/action-sheet-calendar.js +404 -369
- package/dist/cjs/action-sheet/tests/action-sheet-data-table.js +367 -332
- package/dist/cjs/action-sheet/tests/action-sheet-date-time-selector.js +446 -411
- package/dist/cjs/action-sheet/tests/action-sheet-list.js +365 -330
- package/dist/cjs/action-sheet/tests/action-sheet-position.js +254 -219
- package/dist/cjs/action-sheet/tests/action-sheet-time-selector.js +266 -231
- package/dist/cjs/action-sheet/tests/action-sheet-treeview.js +316 -281
- package/dist/cjs/action-sheet/tests/action-sheet.js +254 -219
- package/dist/cjs/animation-container/animation-container.spec.js +70 -0
- package/dist/cjs/chat/tests/chat.js +353 -306
- package/dist/cjs/colorpicker/tests/colorpicker-dropdown.js +76 -12
- package/dist/cjs/combobox/combobox.spec.js +71 -24
- package/dist/cjs/combobox/tests/combobox-flat.js +93 -46
- package/dist/cjs/combobox/tests/combobox-opened.js +165 -115
- package/dist/cjs/combobox/tests/combobox-outline.js +93 -46
- package/dist/cjs/combobox/tests/combobox.js +93 -46
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +67 -20
- package/dist/cjs/context-menu/tests/context-menu.js +73 -28
- package/dist/cjs/datepicker/datepicker.spec.js +239 -192
- package/dist/cjs/datepicker/tests/datepicker-adaptive.js +406 -371
- package/dist/cjs/datepicker/tests/datepicker-flat.js +261 -214
- package/dist/cjs/datepicker/tests/datepicker-opened.js +251 -200
- package/dist/cjs/datepicker/tests/datepicker-outline.js +261 -214
- package/dist/cjs/datepicker/tests/datepicker.js +261 -214
- package/dist/cjs/daterangepicker/daterangepicker.spec.js +67 -20
- package/dist/cjs/daterangepicker/tests/daterangepicker-adaptive.js +417 -382
- package/dist/cjs/daterangepicker/tests/daterangepicker-opened.js +82 -27
- package/dist/cjs/daterangepicker/tests/daterangepicker-size-rounded.js +91 -44
- package/dist/cjs/daterangepicker/tests/daterangepicker.js +89 -42
- package/dist/cjs/datetime-selector/tests/datetime-selector.js +72 -10
- package/dist/cjs/datetimepicker/datetimepicker.spec.js +312 -265
- package/dist/cjs/datetimepicker/tests/datetimepicker-opened.js +326 -275
- package/dist/cjs/datetimepicker/tests/datetimepicker.js +334 -287
- package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +71 -24
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +93 -46
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +214 -163
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +93 -46
- package/dist/cjs/dropdowngrid/tests/dropdowngrid.js +93 -46
- package/dist/cjs/dropdownlist/dropdownlist.spec.js +72 -25
- package/dist/cjs/dropdownlist/templates/dropdownlist-filtering.js +80 -33
- package/dist/cjs/dropdownlist/templates/dropdownlist-grouping-filtering.js +85 -38
- package/dist/cjs/dropdownlist/templates/dropdownlist-grouping.js +83 -36
- package/dist/cjs/dropdownlist/templates/dropdownlist-normal.js +74 -27
- package/dist/cjs/dropdownlist/templates/dropdownlist-popup.js +78 -31
- package/dist/cjs/dropdownlist/tests/dropdownlist-adaptive.js +333 -298
- package/dist/cjs/dropdownlist/tests/dropdownlist-filtering.js +186 -135
- package/dist/cjs/dropdownlist/tests/dropdownlist-flat.js +189 -142
- package/dist/cjs/dropdownlist/tests/dropdownlist-grouping-filtering.js +191 -140
- package/dist/cjs/dropdownlist/tests/dropdownlist-grouping.js +189 -138
- package/dist/cjs/dropdownlist/tests/dropdownlist-opened.js +184 -133
- package/dist/cjs/dropdownlist/tests/dropdownlist-option-label.js +205 -154
- package/dist/cjs/dropdownlist/tests/dropdownlist-outline.js +189 -142
- package/dist/cjs/dropdownlist/tests/dropdownlist.js +189 -142
- package/dist/cjs/dropdowntree/dropdowntree.spec.js +72 -25
- package/dist/cjs/dropdowntree/tests/dropdowntree-flat.js +94 -47
- package/dist/cjs/dropdowntree/tests/dropdowntree-opened.js +142 -91
- package/dist/cjs/dropdowntree/tests/dropdowntree-outline.js +94 -47
- package/dist/cjs/dropdowntree/tests/dropdowntree.js +94 -47
- package/dist/cjs/editor/editor-toolbar.js +262 -215
- package/dist/cjs/editor/tests/editor-find-replace.js +366 -319
- package/dist/cjs/editor/tests/editor-table-wizard.js +362 -315
- package/dist/cjs/editor/tests/editor.js +480 -426
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +428 -381
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +322 -275
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +387 -340
- package/dist/cjs/filemanager/tests/filemanager-listview.js +341 -294
- package/dist/cjs/filemanager/tests/filemanager-preview.js +440 -393
- package/dist/cjs/filemanager/tests/filemanager-toolbar.js +248 -201
- package/dist/cjs/filter/tests/filter.js +577 -530
- package/dist/cjs/floating-label/tests/floating-label-flat.js +116 -69
- package/dist/cjs/floating-label/tests/floating-label-outline.js +116 -69
- package/dist/cjs/floating-label/tests/floating-label.js +116 -69
- package/dist/cjs/form/tests/form-field-dateinputs.js +442 -395
- package/dist/cjs/form/tests/form-field-dropdowns.js +258 -211
- package/dist/cjs/form/tests/form-grid-layout.js +224 -177
- package/dist/cjs/form/tests/form-sizes.js +246 -199
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +500 -453
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +333 -286
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +331 -284
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +374 -327
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +331 -284
- package/dist/cjs/gantt/tests/gantt-react.js +628 -581
- package/dist/cjs/gantt/tests/gantt-row-reordering.js +933 -886
- package/dist/cjs/gantt/tests/gantt.js +907 -860
- package/dist/cjs/grid/tests/grid-adaptive-pager.js +222 -175
- package/dist/cjs/grid/tests/grid-adaptive-search.js +254 -207
- package/dist/cjs/grid/tests/grid-angular.js +353 -306
- package/dist/cjs/grid/tests/grid-column-menu-rtl.js +376 -329
- package/dist/cjs/grid/tests/grid-column-menu-tabbed.js +307 -260
- package/dist/cjs/grid/tests/grid-column-menu.js +376 -329
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +502 -455
- package/dist/cjs/grid/tests/grid-column-reordering.js +7212 -0
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +695 -648
- package/dist/cjs/grid/tests/grid-editing-inline-angular.js +324 -277
- package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +322 -275
- package/dist/cjs/grid/tests/grid-editing-popup.js +385 -338
- package/dist/cjs/grid/tests/grid-editing.js +342 -295
- package/dist/cjs/grid/tests/grid-filter-menu-multi-checkbox.js +114 -78
- package/dist/cjs/grid/tests/grid-filter-menu.js +207 -160
- package/dist/cjs/grid/tests/grid-filter-row-angular.js +427 -380
- package/dist/cjs/grid/tests/grid-filter-row-blazor.js +422 -375
- package/dist/cjs/grid/tests/grid-filter-row.js +581 -534
- package/dist/cjs/grid/tests/grid-grouping-actions.js +468 -421
- package/dist/cjs/grid/tests/grid-grouping.js +473 -426
- package/dist/cjs/grid/tests/grid-pager.js +308 -261
- package/dist/cjs/grid/tests/grid-row-reordering.js +459 -412
- package/dist/cjs/grid/tests/grid-rows-resizing.js +356 -309
- package/dist/cjs/grid/tests/grid-rtl-angular.js +308 -261
- package/dist/cjs/grid/tests/grid-rtl.js +301 -254
- package/dist/cjs/grid/tests/grid-selection-aggregates.js +310 -263
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +561 -514
- package/dist/cjs/grid/tests/grid-size-sm.js +561 -514
- package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +361 -314
- package/dist/cjs/grid/tests/grid-toolbar.js +314 -267
- package/dist/cjs/grid/tests/grid.js +326 -279
- package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +385 -338
- package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +373 -326
- package/dist/cjs/imageeditor/tests/imageeditor.js +315 -268
- package/dist/cjs/index.js +2770 -2722
- package/dist/cjs/listview/listview.spec.js +235 -188
- package/dist/cjs/listview/tests/listview-layout.js +282 -235
- package/dist/cjs/listview/tests/listview-loading.js +253 -206
- package/dist/cjs/listview/tests/listview.js +268 -221
- package/dist/cjs/mediaplayer/tests/mediaplayer.js +317 -270
- package/dist/cjs/menu/tests/menu-popup-size.js +129 -65
- package/dist/cjs/menu/tests/menu.js +141 -94
- package/dist/cjs/multiselect/multiselect.spec.js +73 -26
- package/dist/cjs/multiselect/tests/multiselect-flat.js +128 -81
- package/dist/cjs/multiselect/tests/multiselect-opened.js +103 -52
- package/dist/cjs/multiselect/tests/multiselect-outline.js +128 -81
- package/dist/cjs/multiselect/tests/multiselect-size.js +92 -45
- package/dist/cjs/multiselect/tests/multiselect.js +128 -81
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +72 -25
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +127 -80
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +181 -130
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +127 -80
- package/dist/cjs/multiselecttree/tests/multiselecttree-size.js +91 -44
- package/dist/cjs/multiselecttree/tests/multiselecttree.js +127 -80
- package/dist/cjs/notification/tests/notification-jquery.js +66 -30
- package/dist/cjs/pager/index.js +216 -169
- package/dist/cjs/pager/pager.spec.js +216 -169
- package/dist/cjs/pager/tests/pager-responsive.js +236 -189
- package/dist/cjs/pager/tests/pager-sizes.js +236 -189
- package/dist/cjs/pager/tests/pager.js +226 -179
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +322 -275
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +332 -285
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +318 -271
- package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +322 -275
- package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +336 -289
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +342 -295
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +370 -323
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +415 -341
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +424 -377
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-top.js +554 -507
- package/dist/cjs/pivotgrid/tests/pivotgrid.js +535 -488
- package/dist/cjs/popup/popup.spec.js +54 -7
- package/dist/cjs/popup/tests/popup-list-grouping.js +146 -99
- package/dist/cjs/popup/tests/popup-list.js +154 -107
- package/dist/cjs/popup/tests/popup-no-data.js +72 -25
- package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +302 -255
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +480 -433
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +403 -356
- package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +348 -301
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +384 -337
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +384 -337
- package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +440 -393
- package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +401 -354
- package/dist/cjs/scheduler/tests/scheduler-angular-month.js +401 -354
- package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +556 -509
- package/dist/cjs/scheduler/tests/scheduler-angular.js +556 -509
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +506 -459
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +520 -473
- package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +414 -367
- package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +324 -277
- package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +393 -346
- package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +471 -424
- package/dist/cjs/scheduler/tests/scheduler-react-day.js +956 -909
- package/dist/cjs/scheduler/tests/scheduler-react-month.js +1891 -1844
- package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +863 -816
- package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +777 -730
- package/dist/cjs/scheduler/tests/scheduler-react-week.js +1692 -1645
- package/dist/cjs/scheduler/tests/scheduler-tooltip.js +76 -31
- package/dist/cjs/scheduler/tests/scheduler-year.js +1006 -959
- package/dist/cjs/scheduler/tests/scheduler.js +656 -609
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +186 -139
- package/dist/cjs/spreadsheet/tests/spreadsheet-dialog.js +287 -240
- package/dist/cjs/spreadsheet/tests/spreadsheet-filter-menu.js +67 -31
- package/dist/cjs/spreadsheet/tests/spreadsheet-tools-popup.js +602 -555
- package/dist/cjs/spreadsheet/tests/spreadsheet.js +558 -511
- package/dist/cjs/taskboard/tests/taskboard-card.js +319 -272
- package/dist/cjs/taskboard/tests/taskboard-pane.js +400 -353
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +316 -269
- package/dist/cjs/taskboard/tests/taskboard.js +310 -263
- package/dist/cjs/time-selector/tests/time-selector.js +89 -25
- package/dist/cjs/timedurationpicker/tests/timedurationpicker-expanded.js +127 -76
- package/dist/cjs/timedurationpicker/tests/timedurationpicker.js +137 -90
- package/dist/cjs/timedurationpicker/timedurationpicker.spec.js +115 -68
- package/dist/cjs/timepicker/tests/timepicker-adaptive.js +266 -231
- package/dist/cjs/timepicker/tests/timepicker-flat.js +135 -88
- package/dist/cjs/timepicker/tests/timepicker-opened.js +125 -74
- package/dist/cjs/timepicker/tests/timepicker-outline.js +135 -88
- package/dist/cjs/timepicker/tests/timepicker.js +135 -88
- package/dist/cjs/timepicker/timepicker.spec.js +113 -66
- package/dist/cjs/toolbar/tests/toolbar-angular.js +267 -220
- package/dist/cjs/toolbar/tests/toolbar-components.js +304 -257
- package/dist/cjs/toolbar/tests/toolbar-popup-size.js +101 -37
- package/dist/cjs/toolbar/tests/toolbar-popup.js +145 -81
- package/dist/cjs/toolbar/tests/toolbar-sizes.js +317 -270
- package/dist/cjs/toolbar/tests/toolbar.js +331 -284
- package/dist/cjs/toolbar/toolbar-angular.spec.js +232 -185
- package/dist/cjs/toolbar/toolbar.spec.js +232 -185
- package/dist/cjs/tooltip/tests/tooltip-rtl.js +73 -37
- package/dist/cjs/tooltip/tests/tooltip-states.js +73 -28
- package/dist/cjs/tooltip/tests/tooltip.js +120 -84
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +285 -238
- package/dist/cjs/treelist/tests/treelist-react.js +492 -445
- package/dist/esm/action-sheet/action-sheet.spec.js +55 -20
- package/dist/esm/action-sheet/tests/action-sheet-calendar-infinite.js +436 -401
- package/dist/esm/action-sheet/tests/action-sheet-calendar.js +367 -332
- package/dist/esm/action-sheet/tests/action-sheet-data-table.js +341 -306
- package/dist/esm/action-sheet/tests/action-sheet-date-time-selector.js +400 -365
- package/dist/esm/action-sheet/tests/action-sheet-list.js +344 -309
- package/dist/esm/action-sheet/tests/action-sheet-position.js +242 -207
- package/dist/esm/action-sheet/tests/action-sheet-time-selector.js +251 -216
- package/dist/esm/action-sheet/tests/action-sheet-treeview.js +301 -266
- package/dist/esm/action-sheet/tests/action-sheet.js +240 -205
- package/dist/esm/animation-container/animation-container.spec.js +48 -0
- package/dist/esm/chat/tests/chat.js +322 -275
- package/dist/esm/colorpicker/tests/colorpicker-dropdown.js +74 -10
- package/dist/esm/combobox/combobox.spec.js +69 -22
- package/dist/esm/combobox/tests/combobox-flat.js +89 -42
- package/dist/esm/combobox/tests/combobox-opened.js +154 -104
- package/dist/esm/combobox/tests/combobox-outline.js +89 -42
- package/dist/esm/combobox/tests/combobox.js +89 -42
- package/dist/esm/context-menu/tests/context-menu-in-window.js +66 -19
- package/dist/esm/context-menu/tests/context-menu.js +72 -27
- package/dist/esm/datepicker/datepicker.spec.js +210 -163
- package/dist/esm/datepicker/tests/datepicker-adaptive.js +369 -334
- package/dist/esm/datepicker/tests/datepicker-flat.js +230 -183
- package/dist/esm/datepicker/tests/datepicker-opened.js +220 -169
- package/dist/esm/datepicker/tests/datepicker-outline.js +230 -183
- package/dist/esm/datepicker/tests/datepicker.js +230 -183
- package/dist/esm/daterangepicker/daterangepicker.spec.js +65 -18
- package/dist/esm/daterangepicker/tests/daterangepicker-adaptive.js +380 -345
- package/dist/esm/daterangepicker/tests/daterangepicker-opened.js +80 -25
- package/dist/esm/daterangepicker/tests/daterangepicker-size-rounded.js +87 -40
- package/dist/esm/daterangepicker/tests/daterangepicker.js +87 -40
- package/dist/esm/datetime-selector/tests/datetime-selector.js +70 -8
- package/dist/esm/datetimepicker/datetimepicker.spec.js +275 -228
- package/dist/esm/datetimepicker/tests/datetimepicker-opened.js +287 -236
- package/dist/esm/datetimepicker/tests/datetimepicker.js +295 -248
- package/dist/esm/dropdowngrid/dropdowngrid.spec.js +69 -22
- package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +89 -42
- package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +192 -141
- package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +89 -42
- package/dist/esm/dropdowngrid/tests/dropdowngrid.js +89 -42
- package/dist/esm/dropdownlist/dropdownlist.spec.js +70 -23
- package/dist/esm/dropdownlist/templates/dropdownlist-filtering.js +76 -29
- package/dist/esm/dropdownlist/templates/dropdownlist-grouping-filtering.js +79 -32
- package/dist/esm/dropdownlist/templates/dropdownlist-grouping.js +78 -31
- package/dist/esm/dropdownlist/templates/dropdownlist-normal.js +72 -25
- package/dist/esm/dropdownlist/templates/dropdownlist-popup.js +75 -28
- package/dist/esm/dropdownlist/tests/dropdownlist-adaptive.js +318 -283
- package/dist/esm/dropdownlist/tests/dropdownlist-filtering.js +174 -123
- package/dist/esm/dropdownlist/tests/dropdownlist-flat.js +179 -132
- package/dist/esm/dropdownlist/tests/dropdownlist-grouping-filtering.js +177 -126
- package/dist/esm/dropdownlist/tests/dropdownlist-grouping.js +176 -125
- package/dist/esm/dropdownlist/tests/dropdownlist-opened.js +173 -122
- package/dist/esm/dropdownlist/tests/dropdownlist-option-label.js +195 -144
- package/dist/esm/dropdownlist/tests/dropdownlist-outline.js +179 -132
- package/dist/esm/dropdownlist/tests/dropdownlist.js +179 -132
- package/dist/esm/dropdowntree/dropdowntree.spec.js +70 -23
- package/dist/esm/dropdowntree/tests/dropdowntree-flat.js +90 -43
- package/dist/esm/dropdowntree/tests/dropdowntree-opened.js +129 -78
- package/dist/esm/dropdowntree/tests/dropdowntree-outline.js +90 -43
- package/dist/esm/dropdowntree/tests/dropdowntree.js +90 -43
- package/dist/esm/editor/editor-toolbar.js +251 -204
- package/dist/esm/editor/tests/editor-find-replace.js +336 -289
- package/dist/esm/editor/tests/editor-table-wizard.js +337 -290
- package/dist/esm/editor/tests/editor.js +433 -379
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +404 -357
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +300 -253
- package/dist/esm/filemanager/tests/filemanager-gridview.js +350 -303
- package/dist/esm/filemanager/tests/filemanager-listview.js +315 -268
- package/dist/esm/filemanager/tests/filemanager-preview.js +392 -345
- package/dist/esm/filemanager/tests/filemanager-toolbar.js +236 -189
- package/dist/esm/filter/tests/filter.js +527 -480
- package/dist/esm/floating-label/tests/floating-label-flat.js +112 -65
- package/dist/esm/floating-label/tests/floating-label-outline.js +112 -65
- package/dist/esm/floating-label/tests/floating-label.js +112 -65
- package/dist/esm/form/tests/form-field-dateinputs.js +390 -343
- package/dist/esm/form/tests/form-field-dropdowns.js +238 -191
- package/dist/esm/form/tests/form-grid-layout.js +210 -163
- package/dist/esm/form/tests/form-sizes.js +222 -175
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +446 -399
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +294 -247
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +313 -266
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +346 -299
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +313 -266
- package/dist/esm/gantt/tests/gantt-react.js +567 -520
- package/dist/esm/gantt/tests/gantt-row-reordering.js +827 -780
- package/dist/esm/gantt/tests/gantt.js +801 -754
- package/dist/esm/grid/tests/grid-adaptive-pager.js +208 -161
- package/dist/esm/grid/tests/grid-adaptive-search.js +244 -197
- package/dist/esm/grid/tests/grid-angular.js +309 -262
- package/dist/esm/grid/tests/grid-column-menu-rtl.js +325 -278
- package/dist/esm/grid/tests/grid-column-menu-tabbed.js +284 -237
- package/dist/esm/grid/tests/grid-column-menu.js +325 -278
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +455 -408
- package/dist/esm/grid/tests/grid-column-reordering.js +7196 -0
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +619 -572
- package/dist/esm/grid/tests/grid-editing-inline-angular.js +293 -246
- package/dist/esm/grid/tests/grid-editing-inline-blazor.js +298 -251
- package/dist/esm/grid/tests/grid-editing-popup.js +341 -294
- package/dist/esm/grid/tests/grid-editing.js +307 -260
- package/dist/esm/grid/tests/grid-filter-menu-multi-checkbox.js +104 -68
- package/dist/esm/grid/tests/grid-filter-menu.js +195 -148
- package/dist/esm/grid/tests/grid-filter-row-angular.js +388 -341
- package/dist/esm/grid/tests/grid-filter-row-blazor.js +384 -337
- package/dist/esm/grid/tests/grid-filter-row.js +526 -479
- package/dist/esm/grid/tests/grid-grouping-actions.js +433 -386
- package/dist/esm/grid/tests/grid-grouping.js +427 -380
- package/dist/esm/grid/tests/grid-pager.js +272 -225
- package/dist/esm/grid/tests/grid-row-reordering.js +428 -381
- package/dist/esm/grid/tests/grid-rows-resizing.js +317 -270
- package/dist/esm/grid/tests/grid-rtl-angular.js +276 -229
- package/dist/esm/grid/tests/grid-rtl.js +272 -225
- package/dist/esm/grid/tests/grid-selection-aggregates.js +268 -221
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +497 -450
- package/dist/esm/grid/tests/grid-size-sm.js +497 -450
- package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +336 -289
- package/dist/esm/grid/tests/grid-toolbar.js +298 -251
- package/dist/esm/grid/tests/grid.js +292 -245
- package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +362 -315
- package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +351 -304
- package/dist/esm/imageeditor/tests/imageeditor.js +300 -253
- package/dist/esm/index.js +2425 -2377
- package/dist/esm/listview/listview.spec.js +219 -172
- package/dist/esm/listview/tests/listview-layout.js +254 -207
- package/dist/esm/listview/tests/listview-loading.js +234 -187
- package/dist/esm/listview/tests/listview.js +244 -197
- package/dist/esm/mediaplayer/tests/mediaplayer.js +300 -253
- package/dist/esm/menu/tests/menu-popup-size.js +127 -63
- package/dist/esm/menu/tests/menu.js +132 -85
- package/dist/esm/multiselect/multiselect.spec.js +70 -23
- package/dist/esm/multiselect/tests/multiselect-flat.js +121 -74
- package/dist/esm/multiselect/tests/multiselect-opened.js +94 -43
- package/dist/esm/multiselect/tests/multiselect-outline.js +121 -74
- package/dist/esm/multiselect/tests/multiselect-size.js +84 -37
- package/dist/esm/multiselect/tests/multiselect.js +121 -74
- package/dist/esm/multiselecttree/multiselecttree.spec.js +70 -23
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +121 -74
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +167 -116
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +121 -74
- package/dist/esm/multiselecttree/tests/multiselecttree-size.js +84 -37
- package/dist/esm/multiselecttree/tests/multiselecttree.js +121 -74
- package/dist/esm/notification/tests/notification-jquery.js +64 -28
- package/dist/esm/pager/index.js +202 -155
- package/dist/esm/pager/pager.spec.js +202 -155
- package/dist/esm/pager/tests/pager-responsive.js +222 -175
- package/dist/esm/pager/tests/pager-sizes.js +222 -175
- package/dist/esm/pager/tests/pager.js +212 -165
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +303 -256
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +311 -264
- package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +296 -249
- package/dist/esm/pdf-viewer/tests/pdf-viewer.js +303 -256
- package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +290 -243
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +319 -272
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +319 -272
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +413 -339
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +367 -320
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-top.js +473 -426
- package/dist/esm/pivotgrid/tests/pivotgrid.js +461 -414
- package/dist/esm/popup/popup.spec.js +54 -7
- package/dist/esm/popup/tests/popup-list-grouping.js +128 -81
- package/dist/esm/popup/tests/popup-list.js +152 -105
- package/dist/esm/popup/tests/popup-no-data.js +70 -23
- package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +284 -237
- package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +425 -378
- package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +384 -337
- package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +325 -278
- package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +348 -301
- package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +348 -301
- package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +400 -353
- package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +358 -311
- package/dist/esm/scheduler/tests/scheduler-angular-month.js +358 -311
- package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +505 -458
- package/dist/esm/scheduler/tests/scheduler-angular.js +505 -458
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +447 -400
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +460 -413
- package/dist/esm/scheduler/tests/scheduler-flex-layout.js +385 -338
- package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +301 -254
- package/dist/esm/scheduler/tests/scheduler-jquery-month.js +353 -306
- package/dist/esm/scheduler/tests/scheduler-react-agenda.js +419 -372
- package/dist/esm/scheduler/tests/scheduler-react-day.js +846 -799
- package/dist/esm/scheduler/tests/scheduler-react-month.js +1282 -1235
- package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +755 -708
- package/dist/esm/scheduler/tests/scheduler-react-timeline.js +687 -640
- package/dist/esm/scheduler/tests/scheduler-react-week.js +1502 -1455
- package/dist/esm/scheduler/tests/scheduler-tooltip.js +66 -23
- package/dist/esm/scheduler/tests/scheduler-year.js +893 -846
- package/dist/esm/scheduler/tests/scheduler.js +579 -532
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +171 -124
- package/dist/esm/spreadsheet/tests/spreadsheet-dialog.js +259 -212
- package/dist/esm/spreadsheet/tests/spreadsheet-filter-menu.js +60 -24
- package/dist/esm/spreadsheet/tests/spreadsheet-tools-popup.js +558 -511
- package/dist/esm/spreadsheet/tests/spreadsheet.js +518 -471
- package/dist/esm/taskboard/tests/taskboard-card.js +284 -237
- package/dist/esm/taskboard/tests/taskboard-pane.js +345 -298
- package/dist/esm/taskboard/tests/taskboard-rtl.js +280 -233
- package/dist/esm/taskboard/tests/taskboard.js +277 -230
- package/dist/esm/time-selector/tests/time-selector.js +84 -20
- package/dist/esm/timedurationpicker/tests/timedurationpicker-expanded.js +116 -65
- package/dist/esm/timedurationpicker/tests/timedurationpicker.js +126 -79
- package/dist/esm/timedurationpicker/timedurationpicker.spec.js +106 -59
- package/dist/esm/timepicker/tests/timepicker-adaptive.js +251 -216
- package/dist/esm/timepicker/tests/timepicker-flat.js +125 -78
- package/dist/esm/timepicker/tests/timepicker-opened.js +115 -64
- package/dist/esm/timepicker/tests/timepicker-outline.js +125 -78
- package/dist/esm/timepicker/tests/timepicker.js +125 -78
- package/dist/esm/timepicker/timepicker.spec.js +105 -58
- package/dist/esm/toolbar/tests/toolbar-angular.js +254 -207
- package/dist/esm/toolbar/tests/toolbar-components.js +290 -243
- package/dist/esm/toolbar/tests/toolbar-popup-size.js +99 -35
- package/dist/esm/toolbar/tests/toolbar-popup.js +143 -79
- package/dist/esm/toolbar/tests/toolbar-sizes.js +300 -253
- package/dist/esm/toolbar/tests/toolbar.js +314 -267
- package/dist/esm/toolbar/toolbar-angular.spec.js +221 -174
- package/dist/esm/toolbar/toolbar.spec.js +221 -174
- package/dist/esm/tooltip/tests/tooltip-rtl.js +67 -31
- package/dist/esm/tooltip/tests/tooltip-states.js +70 -27
- package/dist/esm/tooltip/tests/tooltip.js +114 -78
- package/dist/esm/treelist/tests/treelist-editing-popup.js +248 -201
- package/dist/esm/treelist/tests/treelist-react.js +431 -384
- package/dist/types/animation-container/animation-container.spec.d.ts +20 -0
- package/dist/types/animation-container/index.d.ts +1 -0
- package/dist/types/grid/tests/grid-column-reordering.d.ts +3 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/popup/popup.spec.d.ts +11 -2
- package/package.json +2 -2
- package/src/action-sheet/action-sheet.spec.tsx +31 -32
- package/src/animation-container/animation-container.spec.tsx +59 -0
- package/src/animation-container/index.ts +1 -0
- package/src/colorpicker/tests/colorpicker-dropdown.tsx +7 -15
- package/src/combobox/combobox.spec.tsx +1 -1
- package/src/combobox/tests/combobox-opened.tsx +3 -0
- package/src/context-menu/tests/context-menu-in-window.tsx +10 -12
- package/src/context-menu/tests/context-menu.tsx +20 -25
- package/src/datepicker/datepicker.spec.tsx +1 -1
- package/src/datepicker/tests/datepicker-opened.tsx +4 -0
- package/src/daterangepicker/daterangepicker.spec.tsx +1 -1
- package/src/daterangepicker/tests/daterangepicker-opened.tsx +6 -0
- package/src/datetime-selector/tests/datetime-selector.tsx +8 -12
- package/src/datetimepicker/datetimepicker.spec.tsx +1 -1
- package/src/datetimepicker/tests/datetimepicker-opened.tsx +4 -0
- package/src/dropdowngrid/tests/dropdowngrid-opened.tsx +4 -0
- package/src/dropdownlist/dropdownlist.spec.tsx +1 -1
- package/src/dropdownlist/tests/dropdownlist-filtering.tsx +4 -0
- package/src/dropdownlist/tests/dropdownlist-grouping-filtering.tsx +4 -0
- package/src/dropdownlist/tests/dropdownlist-grouping.tsx +4 -0
- package/src/dropdownlist/tests/dropdownlist-opened.tsx +6 -2
- package/src/dropdownlist/tests/dropdownlist-option-label.tsx +4 -0
- package/src/dropdowntree/dropdowntree.spec.tsx +1 -1
- package/src/dropdowntree/tests/dropdowntree-opened.tsx +4 -0
- package/src/editor/tests/editor.tsx +48 -42
- package/src/filemanager/tests/filemanager-contextmenu.tsx +6 -8
- package/src/gantt/tests/gantt-react.tsx +1 -1
- package/src/gantt/tests/gantt-row-reordering.tsx +1 -1
- package/src/gantt/tests/gantt.tsx +1 -1
- package/src/grid/tests/grid-angular.tsx +22 -24
- package/src/grid/tests/grid-column-menu-rtl.tsx +310 -321
- package/src/grid/tests/grid-column-menu-tabbed.tsx +255 -264
- package/src/grid/tests/grid-column-menu.tsx +310 -321
- package/src/grid/tests/grid-column-reordering-actions.tsx +69 -73
- package/src/grid/tests/grid-column-reordering.tsx +247 -0
- package/src/grid/tests/grid-filter-menu-multi-checkbox.tsx +9 -8
- package/src/grid/tests/grid-filter-menu.tsx +3 -2
- package/src/grid/tests/grid-grouping-actions.tsx +10 -13
- package/src/index.ts +1 -0
- package/src/menu/tests/menu-popup-size.tsx +73 -90
- package/src/menu/tests/menu.tsx +20 -24
- package/src/multiselect/multiselect.spec.tsx +1 -1
- package/src/multiselect/tests/multiselect-opened.tsx +4 -0
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +4 -0
- package/src/notification/tests/notification-jquery.tsx +49 -48
- package/src/pivotgrid/tests/pivotgrid-column-menus.tsx +211 -227
- package/src/pivotgrid/tests/pivotgrid-settings-panel-reordering.tsx +40 -34
- package/src/popup/popup.spec.tsx +25 -5
- package/src/popup/tests/popup-list-grouping.tsx +112 -128
- package/src/popup/tests/popup-list.tsx +104 -120
- package/src/popup/tests/popup-no-data.tsx +22 -30
- package/src/scheduler/tests/scheduler-adaptive-agenda.tsx +1 -1
- package/src/scheduler/tests/scheduler-adaptive-day-resource-group.tsx +1 -1
- package/src/scheduler/tests/scheduler-adaptive-day.tsx +1 -1
- package/src/scheduler/tests/scheduler-adaptive-month.tsx +1 -1
- package/src/scheduler/tests/scheduler-tooltip.tsx +5 -4
- package/src/spreadsheet/tests/spreadsheet-filter-menu.tsx +3 -2
- package/src/time-selector/tests/time-selector.tsx +34 -39
- package/src/timedurationpicker/tests/timedurationpicker-expanded.tsx +4 -0
- package/src/timepicker/tests/timepicker-opened.tsx +4 -0
- package/src/timepicker/timepicker.spec.tsx +1 -1
- package/src/toolbar/tests/toolbar-popup-size.tsx +37 -42
- package/src/toolbar/tests/toolbar-popup.tsx +89 -104
- package/src/tooltip/tests/tooltip-rtl.tsx +17 -16
- package/src/tooltip/tests/tooltip-states.tsx +17 -16
- package/src/tooltip/tests/tooltip.tsx +41 -40
|
@@ -5051,31 +5051,78 @@ Textbox.options = options16;
|
|
|
5051
5051
|
Textbox.className = TEXTBOX_CLASSNAME;
|
|
5052
5052
|
Textbox.defaultProps = defaultProps14;
|
|
5053
5053
|
|
|
5054
|
-
// src/
|
|
5054
|
+
// src/animation-container/animation-container.spec.tsx
|
|
5055
5055
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
5056
|
-
var
|
|
5056
|
+
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5057
5057
|
var states18 = [];
|
|
5058
5058
|
var options17 = {};
|
|
5059
|
-
var defaultProps15 = {
|
|
5059
|
+
var defaultProps15 = {
|
|
5060
|
+
positionMode: "absolute"
|
|
5061
|
+
};
|
|
5062
|
+
var AnimationContainer = (props) => {
|
|
5063
|
+
const {
|
|
5064
|
+
positionMode,
|
|
5065
|
+
animationStyle,
|
|
5066
|
+
offset,
|
|
5067
|
+
...other
|
|
5068
|
+
} = props;
|
|
5069
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
5070
|
+
"div",
|
|
5071
|
+
{
|
|
5072
|
+
...other,
|
|
5073
|
+
style: { ...offset, ...props.style },
|
|
5074
|
+
className: classNames(
|
|
5075
|
+
ANIMATION_CONTAINER_CLASSNAME,
|
|
5076
|
+
"k-animation-container-shown",
|
|
5077
|
+
{
|
|
5078
|
+
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5079
|
+
}
|
|
5080
|
+
),
|
|
5081
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5082
|
+
}
|
|
5083
|
+
);
|
|
5084
|
+
};
|
|
5085
|
+
AnimationContainer.states = states18;
|
|
5086
|
+
AnimationContainer.options = options17;
|
|
5087
|
+
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
5088
|
+
AnimationContainer.defaultProps = defaultProps15;
|
|
5089
|
+
|
|
5090
|
+
// src/popup/popup.spec.tsx
|
|
5091
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
5092
|
+
var POPUP_CLASSNAME = `k-popup`;
|
|
5093
|
+
var states19 = [];
|
|
5094
|
+
var options18 = {};
|
|
5095
|
+
var defaultProps16 = {
|
|
5096
|
+
positionMode: "absolute"
|
|
5097
|
+
};
|
|
5060
5098
|
var Popup = (props) => {
|
|
5061
5099
|
const {
|
|
5100
|
+
offset,
|
|
5101
|
+
positionMode,
|
|
5062
5102
|
...other
|
|
5063
5103
|
} = props;
|
|
5064
|
-
return /* @__PURE__ */ (0,
|
|
5104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
5105
|
+
AnimationContainer,
|
|
5106
|
+
{
|
|
5107
|
+
positionMode,
|
|
5108
|
+
offset,
|
|
5109
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5110
|
+
}
|
|
5111
|
+
);
|
|
5065
5112
|
};
|
|
5066
|
-
Popup.states =
|
|
5067
|
-
Popup.options =
|
|
5113
|
+
Popup.states = states19;
|
|
5114
|
+
Popup.options = options18;
|
|
5068
5115
|
Popup.className = POPUP_CLASSNAME;
|
|
5069
|
-
Popup.defaultProps =
|
|
5116
|
+
Popup.defaultProps = defaultProps16;
|
|
5070
5117
|
|
|
5071
5118
|
// src/calendar/calendar.spec.tsx
|
|
5072
|
-
var
|
|
5119
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
5073
5120
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5074
|
-
var
|
|
5075
|
-
var
|
|
5121
|
+
var states20 = [];
|
|
5122
|
+
var options19 = {
|
|
5076
5123
|
size: [Size.small, Size.medium, Size.large]
|
|
5077
5124
|
};
|
|
5078
|
-
var
|
|
5125
|
+
var defaultProps17 = {
|
|
5079
5126
|
size: Size.medium,
|
|
5080
5127
|
viewsCount: 1,
|
|
5081
5128
|
orientation: "horizontal",
|
|
@@ -5084,11 +5131,11 @@ var defaultProps16 = {
|
|
|
5084
5131
|
};
|
|
5085
5132
|
var Calendar = (props) => {
|
|
5086
5133
|
const {
|
|
5087
|
-
size =
|
|
5088
|
-
orientation =
|
|
5089
|
-
calendarView =
|
|
5090
|
-
calendarHeaderText =
|
|
5091
|
-
viewsCount =
|
|
5134
|
+
size = defaultProps17.size,
|
|
5135
|
+
orientation = defaultProps17.orientation,
|
|
5136
|
+
calendarView = defaultProps17.calendarView,
|
|
5137
|
+
calendarHeaderText = defaultProps17.calendarHeaderText,
|
|
5138
|
+
viewsCount = defaultProps17.viewsCount,
|
|
5092
5139
|
showWeek,
|
|
5093
5140
|
showOtherMonth,
|
|
5094
5141
|
showCalendarCaption,
|
|
@@ -5097,7 +5144,7 @@ var Calendar = (props) => {
|
|
|
5097
5144
|
dir,
|
|
5098
5145
|
...other
|
|
5099
5146
|
} = props;
|
|
5100
|
-
return /* @__PURE__ */ (0,
|
|
5147
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
5101
5148
|
"div",
|
|
5102
5149
|
{
|
|
5103
5150
|
...other,
|
|
@@ -5113,7 +5160,7 @@ var Calendar = (props) => {
|
|
|
5113
5160
|
}
|
|
5114
5161
|
),
|
|
5115
5162
|
children: [
|
|
5116
|
-
/* @__PURE__ */ (0,
|
|
5163
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
5117
5164
|
CalendarHeader,
|
|
5118
5165
|
{
|
|
5119
5166
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5123,7 +5170,7 @@ var Calendar = (props) => {
|
|
|
5123
5170
|
dir
|
|
5124
5171
|
}
|
|
5125
5172
|
),
|
|
5126
|
-
/* @__PURE__ */ (0,
|
|
5173
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
5127
5174
|
CalendarView,
|
|
5128
5175
|
{
|
|
5129
5176
|
calendarView,
|
|
@@ -5135,19 +5182,19 @@ var Calendar = (props) => {
|
|
|
5135
5182
|
selectedRange
|
|
5136
5183
|
}
|
|
5137
5184
|
),
|
|
5138
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
5185
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CalendarFooter, {})
|
|
5139
5186
|
]
|
|
5140
5187
|
}
|
|
5141
5188
|
);
|
|
5142
5189
|
};
|
|
5143
|
-
Calendar.states =
|
|
5144
|
-
Calendar.options =
|
|
5190
|
+
Calendar.states = states20;
|
|
5191
|
+
Calendar.options = options19;
|
|
5145
5192
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
5146
|
-
Calendar.defaultProps =
|
|
5193
|
+
Calendar.defaultProps = defaultProps17;
|
|
5147
5194
|
|
|
5148
5195
|
// src/calendar/calendar-cell.tsx
|
|
5149
|
-
var
|
|
5150
|
-
var
|
|
5196
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
5197
|
+
var states21 = [
|
|
5151
5198
|
States.hover,
|
|
5152
5199
|
States.focus,
|
|
5153
5200
|
States.active,
|
|
@@ -5196,21 +5243,21 @@ var CalendarCell = (props) => {
|
|
|
5196
5243
|
}
|
|
5197
5244
|
];
|
|
5198
5245
|
if (headerCell) {
|
|
5199
|
-
return /* @__PURE__ */ (0,
|
|
5246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5200
5247
|
}
|
|
5201
5248
|
if (weekCell) {
|
|
5202
|
-
return /* @__PURE__ */ (0,
|
|
5249
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5203
5250
|
}
|
|
5204
|
-
return /* @__PURE__ */ (0,
|
|
5251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "k-link", children: text }) });
|
|
5205
5252
|
};
|
|
5206
5253
|
|
|
5207
5254
|
// src/calendar/calendar-header.tsx
|
|
5208
|
-
var
|
|
5255
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5209
5256
|
var className9 = `k-calendar-header`;
|
|
5210
|
-
var
|
|
5257
|
+
var options20 = {
|
|
5211
5258
|
size: [Size.small, Size.medium, Size.large]
|
|
5212
5259
|
};
|
|
5213
|
-
var
|
|
5260
|
+
var defaultProps18 = {
|
|
5214
5261
|
calendarHeaderText: "October 2021",
|
|
5215
5262
|
showToday: true,
|
|
5216
5263
|
orientation: "horizontal",
|
|
@@ -5218,16 +5265,16 @@ var defaultProps17 = {
|
|
|
5218
5265
|
};
|
|
5219
5266
|
var CalendarHeader = (props) => {
|
|
5220
5267
|
const {
|
|
5221
|
-
calendarHeaderText =
|
|
5222
|
-
showToday =
|
|
5223
|
-
orientation =
|
|
5224
|
-
size =
|
|
5268
|
+
calendarHeaderText = defaultProps18.calendarHeaderText,
|
|
5269
|
+
showToday = defaultProps18.showToday,
|
|
5270
|
+
orientation = defaultProps18.orientation,
|
|
5271
|
+
size = defaultProps18.size,
|
|
5225
5272
|
dir,
|
|
5226
5273
|
...other
|
|
5227
5274
|
} = props;
|
|
5228
5275
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
5229
5276
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
5230
|
-
return /* @__PURE__ */ (0,
|
|
5277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
5231
5278
|
"div",
|
|
5232
5279
|
{
|
|
5233
5280
|
...other,
|
|
@@ -5239,12 +5286,12 @@ var CalendarHeader = (props) => {
|
|
|
5239
5286
|
}
|
|
5240
5287
|
),
|
|
5241
5288
|
children: [
|
|
5242
|
-
/* @__PURE__ */ (0,
|
|
5243
|
-
/* @__PURE__ */ (0,
|
|
5244
|
-
/* @__PURE__ */ (0,
|
|
5245
|
-
/* @__PURE__ */ (0,
|
|
5246
|
-
showToday && /* @__PURE__ */ (0,
|
|
5247
|
-
/* @__PURE__ */ (0,
|
|
5289
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5290
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "k-spacer" }),
|
|
5291
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
5292
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5293
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5294
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5248
5295
|
] })
|
|
5249
5296
|
]
|
|
5250
5297
|
}
|
|
@@ -5252,12 +5299,12 @@ var CalendarHeader = (props) => {
|
|
|
5252
5299
|
};
|
|
5253
5300
|
|
|
5254
5301
|
// src/calendar/calendar-footer.tsx
|
|
5255
|
-
var
|
|
5302
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5256
5303
|
var className10 = `k-calendar-footer`;
|
|
5257
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
5304
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5258
5305
|
|
|
5259
5306
|
// src/calendar/calendar-table.tsx
|
|
5260
|
-
var
|
|
5307
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5261
5308
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5262
5309
|
var CalendarTable = (props) => {
|
|
5263
5310
|
const {
|
|
@@ -5269,7 +5316,7 @@ var CalendarTable = (props) => {
|
|
|
5269
5316
|
...other
|
|
5270
5317
|
} = props;
|
|
5271
5318
|
if (calendarView === "year") {
|
|
5272
|
-
return /* @__PURE__ */ (0,
|
|
5319
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5273
5320
|
"table",
|
|
5274
5321
|
{
|
|
5275
5322
|
...other,
|
|
@@ -5278,25 +5325,25 @@ var CalendarTable = (props) => {
|
|
|
5278
5325
|
CALENDARTABLE_CLASSNAME
|
|
5279
5326
|
),
|
|
5280
5327
|
children: [
|
|
5281
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5282
|
-
/* @__PURE__ */ (0,
|
|
5283
|
-
/* @__PURE__ */ (0,
|
|
5284
|
-
/* @__PURE__ */ (0,
|
|
5285
|
-
/* @__PURE__ */ (0,
|
|
5286
|
-
/* @__PURE__ */ (0,
|
|
5287
|
-
/* @__PURE__ */ (0,
|
|
5328
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5329
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5330
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5331
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Jan" }),
|
|
5332
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Feb" }),
|
|
5333
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Mar" }),
|
|
5334
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Apr" })
|
|
5288
5335
|
] }),
|
|
5289
|
-
/* @__PURE__ */ (0,
|
|
5290
|
-
/* @__PURE__ */ (0,
|
|
5291
|
-
/* @__PURE__ */ (0,
|
|
5292
|
-
/* @__PURE__ */ (0,
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5336
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5337
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "May" }),
|
|
5338
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
5340
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
5294
5341
|
] }),
|
|
5295
|
-
/* @__PURE__ */ (0,
|
|
5296
|
-
/* @__PURE__ */ (0,
|
|
5297
|
-
/* @__PURE__ */ (0,
|
|
5298
|
-
/* @__PURE__ */ (0,
|
|
5299
|
-
/* @__PURE__ */ (0,
|
|
5342
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5343
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Sep" }),
|
|
5344
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
5345
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Nov" }),
|
|
5346
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "Dec" })
|
|
5300
5347
|
] })
|
|
5301
5348
|
] })
|
|
5302
5349
|
]
|
|
@@ -5304,7 +5351,7 @@ var CalendarTable = (props) => {
|
|
|
5304
5351
|
);
|
|
5305
5352
|
}
|
|
5306
5353
|
if (calendarView === "decade") {
|
|
5307
|
-
return /* @__PURE__ */ (0,
|
|
5354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5308
5355
|
"table",
|
|
5309
5356
|
{
|
|
5310
5357
|
...other,
|
|
@@ -5313,25 +5360,25 @@ var CalendarTable = (props) => {
|
|
|
5313
5360
|
CALENDARTABLE_CLASSNAME
|
|
5314
5361
|
),
|
|
5315
5362
|
children: [
|
|
5316
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5317
|
-
/* @__PURE__ */ (0,
|
|
5318
|
-
/* @__PURE__ */ (0,
|
|
5319
|
-
/* @__PURE__ */ (0,
|
|
5320
|
-
/* @__PURE__ */ (0,
|
|
5321
|
-
/* @__PURE__ */ (0,
|
|
5322
|
-
/* @__PURE__ */ (0,
|
|
5363
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5364
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5365
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5366
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
5367
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2020" }),
|
|
5368
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
5369
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2022" })
|
|
5323
5370
|
] }),
|
|
5324
|
-
/* @__PURE__ */ (0,
|
|
5325
|
-
/* @__PURE__ */ (0,
|
|
5326
|
-
/* @__PURE__ */ (0,
|
|
5327
|
-
/* @__PURE__ */ (0,
|
|
5328
|
-
/* @__PURE__ */ (0,
|
|
5371
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5372
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2023" }),
|
|
5373
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
5374
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
5375
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
5329
5376
|
] }),
|
|
5330
|
-
/* @__PURE__ */ (0,
|
|
5331
|
-
/* @__PURE__ */ (0,
|
|
5332
|
-
/* @__PURE__ */ (0,
|
|
5333
|
-
/* @__PURE__ */ (0,
|
|
5334
|
-
/* @__PURE__ */ (0,
|
|
5377
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5378
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2027" }),
|
|
5379
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2028" }),
|
|
5380
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2029" }),
|
|
5381
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5335
5382
|
] })
|
|
5336
5383
|
] })
|
|
5337
5384
|
]
|
|
@@ -5339,7 +5386,7 @@ var CalendarTable = (props) => {
|
|
|
5339
5386
|
);
|
|
5340
5387
|
}
|
|
5341
5388
|
if (calendarView === "century") {
|
|
5342
|
-
return /* @__PURE__ */ (0,
|
|
5389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5343
5390
|
"table",
|
|
5344
5391
|
{
|
|
5345
5392
|
...other,
|
|
@@ -5348,32 +5395,32 @@ var CalendarTable = (props) => {
|
|
|
5348
5395
|
CALENDARTABLE_CLASSNAME
|
|
5349
5396
|
),
|
|
5350
5397
|
children: [
|
|
5351
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5352
|
-
/* @__PURE__ */ (0,
|
|
5353
|
-
/* @__PURE__ */ (0,
|
|
5354
|
-
/* @__PURE__ */ (0,
|
|
5355
|
-
/* @__PURE__ */ (0,
|
|
5356
|
-
/* @__PURE__ */ (0,
|
|
5357
|
-
/* @__PURE__ */ (0,
|
|
5398
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5399
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5400
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5401
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
5402
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
5403
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5404
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
5358
5405
|
] }),
|
|
5359
|
-
/* @__PURE__ */ (0,
|
|
5360
|
-
/* @__PURE__ */ (0,
|
|
5361
|
-
/* @__PURE__ */ (0,
|
|
5362
|
-
/* @__PURE__ */ (0,
|
|
5363
|
-
/* @__PURE__ */ (0,
|
|
5406
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5407
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
5408
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5409
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5410
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5364
5411
|
] }),
|
|
5365
|
-
/* @__PURE__ */ (0,
|
|
5366
|
-
/* @__PURE__ */ (0,
|
|
5367
|
-
/* @__PURE__ */ (0,
|
|
5368
|
-
/* @__PURE__ */ (0,
|
|
5369
|
-
/* @__PURE__ */ (0,
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
5415
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
5416
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5370
5417
|
] })
|
|
5371
5418
|
] })
|
|
5372
5419
|
]
|
|
5373
5420
|
}
|
|
5374
5421
|
);
|
|
5375
5422
|
}
|
|
5376
|
-
return /* @__PURE__ */ (0,
|
|
5423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5377
5424
|
"table",
|
|
5378
5425
|
{
|
|
5379
5426
|
...other,
|
|
@@ -5382,68 +5429,68 @@ var CalendarTable = (props) => {
|
|
|
5382
5429
|
CALENDARTABLE_CLASSNAME
|
|
5383
5430
|
),
|
|
5384
5431
|
children: [
|
|
5385
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5386
|
-
/* @__PURE__ */ (0,
|
|
5387
|
-
/* @__PURE__ */ (0,
|
|
5388
|
-
/* @__PURE__ */ (0,
|
|
5389
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5390
|
-
/* @__PURE__ */ (0,
|
|
5391
|
-
/* @__PURE__ */ (0,
|
|
5392
|
-
/* @__PURE__ */ (0,
|
|
5393
|
-
/* @__PURE__ */ (0,
|
|
5394
|
-
/* @__PURE__ */ (0,
|
|
5395
|
-
/* @__PURE__ */ (0,
|
|
5396
|
-
/* @__PURE__ */ (0,
|
|
5432
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarTableHead, { showWeek }),
|
|
5434
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5435
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5436
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
5437
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5438
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "1" }),
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2" }),
|
|
5440
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "3" }),
|
|
5441
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "4" }),
|
|
5442
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "5" }),
|
|
5443
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
5397
5444
|
] }),
|
|
5398
|
-
/* @__PURE__ */ (0,
|
|
5399
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5400
|
-
/* @__PURE__ */ (0,
|
|
5401
|
-
/* @__PURE__ */ (0,
|
|
5402
|
-
/* @__PURE__ */ (0,
|
|
5403
|
-
/* @__PURE__ */ (0,
|
|
5404
|
-
/* @__PURE__ */ (0,
|
|
5405
|
-
/* @__PURE__ */ (0,
|
|
5406
|
-
/* @__PURE__ */ (0,
|
|
5445
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5446
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
5447
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
5448
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
5449
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
5450
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
5451
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5452
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5453
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
5407
5454
|
] }),
|
|
5408
|
-
/* @__PURE__ */ (0,
|
|
5409
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5410
|
-
/* @__PURE__ */ (0,
|
|
5411
|
-
/* @__PURE__ */ (0,
|
|
5412
|
-
/* @__PURE__ */ (0,
|
|
5413
|
-
/* @__PURE__ */ (0,
|
|
5414
|
-
/* @__PURE__ */ (0,
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5455
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5456
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
5457
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
5458
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "15" }),
|
|
5459
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "16", today: true }),
|
|
5460
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "17" }),
|
|
5461
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "18" }),
|
|
5462
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "19" }),
|
|
5463
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
5417
5464
|
] }),
|
|
5418
|
-
/* @__PURE__ */ (0,
|
|
5419
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5420
|
-
/* @__PURE__ */ (0,
|
|
5421
|
-
/* @__PURE__ */ (0,
|
|
5422
|
-
/* @__PURE__ */ (0,
|
|
5423
|
-
/* @__PURE__ */ (0,
|
|
5424
|
-
/* @__PURE__ */ (0,
|
|
5425
|
-
/* @__PURE__ */ (0,
|
|
5426
|
-
/* @__PURE__ */ (0,
|
|
5465
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5466
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
5467
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
5468
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "22" }),
|
|
5469
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "23" }),
|
|
5470
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "24" }),
|
|
5471
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5472
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5473
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5427
5474
|
] }),
|
|
5428
|
-
/* @__PURE__ */ (0,
|
|
5429
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5430
|
-
/* @__PURE__ */ (0,
|
|
5431
|
-
/* @__PURE__ */ (0,
|
|
5432
|
-
/* @__PURE__ */ (0,
|
|
5433
|
-
/* @__PURE__ */ (0,
|
|
5434
|
-
/* @__PURE__ */ (0,
|
|
5435
|
-
/* @__PURE__ */ (0,
|
|
5436
|
-
/* @__PURE__ */ (0,
|
|
5475
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5476
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
5477
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5478
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5479
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "30" }),
|
|
5480
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "31" }),
|
|
5481
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5482
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5483
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5437
5484
|
] }),
|
|
5438
|
-
/* @__PURE__ */ (0,
|
|
5439
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
/* @__PURE__ */ (0,
|
|
5442
|
-
/* @__PURE__ */ (0,
|
|
5443
|
-
/* @__PURE__ */ (0,
|
|
5444
|
-
/* @__PURE__ */ (0,
|
|
5445
|
-
/* @__PURE__ */ (0,
|
|
5446
|
-
/* @__PURE__ */ (0,
|
|
5485
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5486
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
5487
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5488
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5489
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5490
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5491
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5492
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5493
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5447
5494
|
] })
|
|
5448
5495
|
] })
|
|
5449
5496
|
]
|
|
@@ -5452,52 +5499,52 @@ var CalendarTable = (props) => {
|
|
|
5452
5499
|
};
|
|
5453
5500
|
|
|
5454
5501
|
// src/calendar/calendar-table-head.tsx
|
|
5455
|
-
var
|
|
5502
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5456
5503
|
var className11 = `k-calendar-thead`;
|
|
5457
5504
|
var CalendarTableHead = (props) => {
|
|
5458
5505
|
const {
|
|
5459
5506
|
showWeek,
|
|
5460
5507
|
...other
|
|
5461
5508
|
} = props;
|
|
5462
|
-
return /* @__PURE__ */ (0,
|
|
5509
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5463
5510
|
"thead",
|
|
5464
5511
|
{
|
|
5465
5512
|
...other,
|
|
5466
5513
|
className: classNames(props.className, className11),
|
|
5467
|
-
children: /* @__PURE__ */ (0,
|
|
5468
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5469
|
-
/* @__PURE__ */ (0,
|
|
5470
|
-
/* @__PURE__ */ (0,
|
|
5471
|
-
/* @__PURE__ */ (0,
|
|
5472
|
-
/* @__PURE__ */ (0,
|
|
5473
|
-
/* @__PURE__ */ (0,
|
|
5474
|
-
/* @__PURE__ */ (0,
|
|
5475
|
-
/* @__PURE__ */ (0,
|
|
5514
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5515
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5516
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
5517
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5518
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5519
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
5520
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
5521
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5522
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
5476
5523
|
] })
|
|
5477
5524
|
}
|
|
5478
5525
|
);
|
|
5479
5526
|
};
|
|
5480
5527
|
|
|
5481
5528
|
// src/calendar/calendar-view.tsx
|
|
5482
|
-
var
|
|
5529
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5483
5530
|
var className12 = `k-calendar-view`;
|
|
5484
|
-
var
|
|
5531
|
+
var defaultProps19 = {
|
|
5485
5532
|
viewsCount: 1,
|
|
5486
5533
|
orientation: "horizontal",
|
|
5487
5534
|
calendarView: "month"
|
|
5488
5535
|
};
|
|
5489
5536
|
var CalendarView = (props) => {
|
|
5490
5537
|
const {
|
|
5491
|
-
orientation =
|
|
5492
|
-
calendarView =
|
|
5493
|
-
viewsCount =
|
|
5538
|
+
orientation = defaultProps19.orientation,
|
|
5539
|
+
calendarView = defaultProps19.calendarView,
|
|
5540
|
+
viewsCount = defaultProps19.viewsCount,
|
|
5494
5541
|
showWeek,
|
|
5495
5542
|
showOtherMonth,
|
|
5496
5543
|
showCalendarCaption,
|
|
5497
5544
|
selectedRange,
|
|
5498
5545
|
...other
|
|
5499
5546
|
} = props;
|
|
5500
|
-
return /* @__PURE__ */ (0,
|
|
5547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
5501
5548
|
"div",
|
|
5502
5549
|
{
|
|
5503
5550
|
...other,
|
|
@@ -5513,7 +5560,7 @@ var CalendarView = (props) => {
|
|
|
5513
5560
|
}
|
|
5514
5561
|
),
|
|
5515
5562
|
children: [...Array(viewsCount)].map(
|
|
5516
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
5563
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
5517
5564
|
CalendarTable,
|
|
5518
5565
|
{
|
|
5519
5566
|
calendarView,
|
|
@@ -5530,9 +5577,9 @@ var CalendarView = (props) => {
|
|
|
5530
5577
|
};
|
|
5531
5578
|
|
|
5532
5579
|
// src/datepicker/datepicker.spec.tsx
|
|
5533
|
-
var
|
|
5580
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5534
5581
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
5535
|
-
var
|
|
5582
|
+
var states22 = [
|
|
5536
5583
|
States.hover,
|
|
5537
5584
|
States.focus,
|
|
5538
5585
|
States.valid,
|
|
@@ -5542,12 +5589,12 @@ var states21 = [
|
|
|
5542
5589
|
States.loading,
|
|
5543
5590
|
States.readonly
|
|
5544
5591
|
];
|
|
5545
|
-
var
|
|
5592
|
+
var options21 = {
|
|
5546
5593
|
size: [Size.small, Size.medium, Size.large],
|
|
5547
5594
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5548
5595
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5549
5596
|
};
|
|
5550
|
-
var
|
|
5597
|
+
var defaultProps20 = {
|
|
5551
5598
|
size: Input.defaultProps.size,
|
|
5552
5599
|
rounded: Input.defaultProps.rounded,
|
|
5553
5600
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -5573,8 +5620,8 @@ var DatePicker = (props) => {
|
|
|
5573
5620
|
dir,
|
|
5574
5621
|
...other
|
|
5575
5622
|
} = props;
|
|
5576
|
-
return /* @__PURE__ */ (0,
|
|
5577
|
-
/* @__PURE__ */ (0,
|
|
5623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
|
|
5624
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
5578
5625
|
Input,
|
|
5579
5626
|
{
|
|
5580
5627
|
...other,
|
|
@@ -5592,9 +5639,9 @@ var DatePicker = (props) => {
|
|
|
5592
5639
|
readonly,
|
|
5593
5640
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
5594
5641
|
children: [
|
|
5595
|
-
/* @__PURE__ */ (0,
|
|
5596
|
-
/* @__PURE__ */ (0,
|
|
5597
|
-
/* @__PURE__ */ (0,
|
|
5642
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputPrefix, { children: prefix }),
|
|
5643
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputInnerInput, { placeholder, value }),
|
|
5644
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5598
5645
|
InputValidationIcon,
|
|
5599
5646
|
{
|
|
5600
5647
|
valid,
|
|
@@ -5603,14 +5650,14 @@ var DatePicker = (props) => {
|
|
|
5603
5650
|
disabled
|
|
5604
5651
|
}
|
|
5605
5652
|
),
|
|
5606
|
-
/* @__PURE__ */ (0,
|
|
5653
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5607
5654
|
InputLoadingIcon,
|
|
5608
5655
|
{
|
|
5609
5656
|
loading,
|
|
5610
5657
|
disabled
|
|
5611
5658
|
}
|
|
5612
5659
|
),
|
|
5613
|
-
/* @__PURE__ */ (0,
|
|
5660
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5614
5661
|
InputClearValue,
|
|
5615
5662
|
{
|
|
5616
5663
|
loading,
|
|
@@ -5619,8 +5666,8 @@ var DatePicker = (props) => {
|
|
|
5619
5666
|
value
|
|
5620
5667
|
}
|
|
5621
5668
|
),
|
|
5622
|
-
/* @__PURE__ */ (0,
|
|
5623
|
-
/* @__PURE__ */ (0,
|
|
5669
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputSuffix, { children: suffix }),
|
|
5670
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5624
5671
|
Button,
|
|
5625
5672
|
{
|
|
5626
5673
|
className: "k-input-button",
|
|
@@ -5633,32 +5680,32 @@ var DatePicker = (props) => {
|
|
|
5633
5680
|
]
|
|
5634
5681
|
}
|
|
5635
5682
|
),
|
|
5636
|
-
opened && /* @__PURE__ */ (0,
|
|
5683
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Calendar, { dir }) })
|
|
5637
5684
|
] });
|
|
5638
5685
|
};
|
|
5639
|
-
DatePicker.states =
|
|
5640
|
-
DatePicker.options =
|
|
5686
|
+
DatePicker.states = states22;
|
|
5687
|
+
DatePicker.options = options21;
|
|
5641
5688
|
DatePicker.className = DATEPICKER_CLASSNAME;
|
|
5642
|
-
DatePicker.defaultProps =
|
|
5689
|
+
DatePicker.defaultProps = defaultProps20;
|
|
5643
5690
|
|
|
5644
5691
|
// src/form/fieldset.tsx
|
|
5645
|
-
var
|
|
5692
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5646
5693
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
5647
5694
|
var Fieldset = (props) => {
|
|
5648
5695
|
const {
|
|
5649
5696
|
legend
|
|
5650
5697
|
} = props;
|
|
5651
|
-
return /* @__PURE__ */ (0,
|
|
5652
|
-
legend && /* @__PURE__ */ (0,
|
|
5698
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
5699
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
5653
5700
|
props.children
|
|
5654
5701
|
] });
|
|
5655
5702
|
};
|
|
5656
5703
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
5657
5704
|
|
|
5658
5705
|
// src/form/form-field.tsx
|
|
5659
|
-
var
|
|
5706
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5660
5707
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
5661
|
-
var
|
|
5708
|
+
var states23 = [
|
|
5662
5709
|
States.disabled
|
|
5663
5710
|
];
|
|
5664
5711
|
var FormField = (props) => {
|
|
@@ -5673,7 +5720,7 @@ var FormField = (props) => {
|
|
|
5673
5720
|
disabled,
|
|
5674
5721
|
dir
|
|
5675
5722
|
} = props;
|
|
5676
|
-
return /* @__PURE__ */ (0,
|
|
5723
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
5677
5724
|
"div",
|
|
5678
5725
|
{
|
|
5679
5726
|
className: classNames(
|
|
@@ -5683,19 +5730,19 @@ var FormField = (props) => {
|
|
|
5683
5730
|
),
|
|
5684
5731
|
dir,
|
|
5685
5732
|
children: [
|
|
5686
|
-
label && /* @__PURE__ */ (0,
|
|
5733
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("label", { className: classNames(
|
|
5687
5734
|
"k-label",
|
|
5688
5735
|
"k-form-label"
|
|
5689
5736
|
), children: [
|
|
5690
5737
|
label,
|
|
5691
|
-
optional && /* @__PURE__ */ (0,
|
|
5692
|
-
info && /* @__PURE__ */ (0,
|
|
5738
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
5739
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
5693
5740
|
] }),
|
|
5694
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
5695
|
-
/* @__PURE__ */ (0,
|
|
5741
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
5742
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
5696
5743
|
editor,
|
|
5697
|
-
hint && /* @__PURE__ */ (0,
|
|
5698
|
-
error && /* @__PURE__ */ (0,
|
|
5744
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
5745
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-form-error", children: error })
|
|
5699
5746
|
] })
|
|
5700
5747
|
]
|
|
5701
5748
|
}
|
|
@@ -5704,33 +5751,33 @@ var FormField = (props) => {
|
|
|
5704
5751
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
5705
5752
|
|
|
5706
5753
|
// src/form/form.spec.tsx
|
|
5707
|
-
var
|
|
5754
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5708
5755
|
var import_react = require("react");
|
|
5709
5756
|
var FORM_CLASSNAME = "k-form";
|
|
5710
|
-
var
|
|
5711
|
-
var
|
|
5757
|
+
var states24 = [];
|
|
5758
|
+
var options22 = {
|
|
5712
5759
|
size: [Size.small, Size.medium, Size.large]
|
|
5713
5760
|
};
|
|
5714
|
-
var
|
|
5761
|
+
var defaultProps21 = {
|
|
5715
5762
|
size: Size.medium,
|
|
5716
5763
|
layout: "basic",
|
|
5717
5764
|
tag: "form"
|
|
5718
5765
|
};
|
|
5719
5766
|
var Form = (props) => {
|
|
5720
5767
|
const {
|
|
5721
|
-
size =
|
|
5768
|
+
size = defaultProps21.size,
|
|
5722
5769
|
orientation,
|
|
5723
|
-
layout =
|
|
5770
|
+
layout = defaultProps21.layout,
|
|
5724
5771
|
formButtons,
|
|
5725
5772
|
legend,
|
|
5726
5773
|
cols,
|
|
5727
5774
|
gapX,
|
|
5728
5775
|
gapY,
|
|
5729
|
-
tag =
|
|
5776
|
+
tag = defaultProps21.tag,
|
|
5730
5777
|
children
|
|
5731
5778
|
} = props;
|
|
5732
5779
|
const ConditionalWrapper = ({ condition, wrapper, children: children2 }) => condition ? wrapper(children2) : children2;
|
|
5733
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
5780
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("form", { className: className13, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: className13, children: children2 });
|
|
5734
5781
|
const formChildren = [];
|
|
5735
5782
|
if (children) {
|
|
5736
5783
|
if (Array.isArray(children)) {
|
|
@@ -5744,10 +5791,10 @@ var Form = (props) => {
|
|
|
5744
5791
|
}
|
|
5745
5792
|
});
|
|
5746
5793
|
} else {
|
|
5747
|
-
children.type === FormField && formChildren.push(/* @__PURE__ */ (0,
|
|
5794
|
+
children.type === FormField && formChildren.push(/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(FormField, { ...children.props, orientation }));
|
|
5748
5795
|
}
|
|
5749
5796
|
}
|
|
5750
|
-
return /* @__PURE__ */ (0,
|
|
5797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(Parent, { tag, className: classNames(
|
|
5751
5798
|
props.className,
|
|
5752
5799
|
FORM_CLASSNAME,
|
|
5753
5800
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -5757,11 +5804,11 @@ var Form = (props) => {
|
|
|
5757
5804
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
5758
5805
|
}
|
|
5759
5806
|
), children: [
|
|
5760
|
-
/* @__PURE__ */ (0,
|
|
5807
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
5761
5808
|
ConditionalWrapper,
|
|
5762
5809
|
{
|
|
5763
5810
|
condition: layout === "grid",
|
|
5764
|
-
wrapper: (children2) => /* @__PURE__ */ (0,
|
|
5811
|
+
wrapper: (children2) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Fieldset, { legend, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: classNames(
|
|
5765
5812
|
"k-form-layout",
|
|
5766
5813
|
"k-d-grid",
|
|
5767
5814
|
{
|
|
@@ -5773,16 +5820,16 @@ var Form = (props) => {
|
|
|
5773
5820
|
children: formChildren
|
|
5774
5821
|
}
|
|
5775
5822
|
),
|
|
5776
|
-
formButtons && /* @__PURE__ */ (0,
|
|
5823
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
5777
5824
|
] });
|
|
5778
5825
|
};
|
|
5779
|
-
Form.states =
|
|
5780
|
-
Form.options =
|
|
5826
|
+
Form.states = states24;
|
|
5827
|
+
Form.options = options22;
|
|
5781
5828
|
Form.className = FORM_CLASSNAME;
|
|
5782
|
-
Form.defaultProps =
|
|
5829
|
+
Form.defaultProps = defaultProps21;
|
|
5783
5830
|
|
|
5784
5831
|
// src/treelist/tests/treelist-editing-popup.tsx
|
|
5785
|
-
var
|
|
5832
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5786
5833
|
var styles = `
|
|
5787
5834
|
#test-area {
|
|
5788
5835
|
width: 500px;
|
|
@@ -5792,41 +5839,41 @@ var styles = `
|
|
|
5792
5839
|
position: relative;
|
|
5793
5840
|
}
|
|
5794
5841
|
`;
|
|
5795
|
-
var treelist_editing_popup_default = () => /* @__PURE__ */ (0,
|
|
5796
|
-
/* @__PURE__ */ (0,
|
|
5797
|
-
/* @__PURE__ */ (0,
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5799
|
-
/* @__PURE__ */ (0,
|
|
5800
|
-
] }), children: /* @__PURE__ */ (0,
|
|
5801
|
-
/* @__PURE__ */ (0,
|
|
5842
|
+
var treelist_editing_popup_default = () => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
5843
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("style", { children: styles }),
|
|
5844
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Window, { title: "Add item", actions: ["window-minimize", "window", "x"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
5845
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
5846
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Button, { icon: "cancel", children: "Cancel" })
|
|
5847
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Form, { tag: "div", orientation: "vertical", children: [
|
|
5848
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5802
5849
|
FormField,
|
|
5803
5850
|
{
|
|
5804
5851
|
className: "k-form-field-error",
|
|
5805
5852
|
label: "Text data field label",
|
|
5806
5853
|
error: "Error",
|
|
5807
|
-
editor: /* @__PURE__ */ (0,
|
|
5854
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Textbox, { value: "Invalid", invalid: true, showClearButton: true })
|
|
5808
5855
|
}
|
|
5809
5856
|
),
|
|
5810
|
-
/* @__PURE__ */ (0,
|
|
5857
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5811
5858
|
FormField,
|
|
5812
5859
|
{
|
|
5813
5860
|
label: "Date data field label",
|
|
5814
|
-
editor: /* @__PURE__ */ (0,
|
|
5861
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DatePicker, { placeholder: "dd/MM/yyyy" })
|
|
5815
5862
|
}
|
|
5816
5863
|
),
|
|
5817
|
-
/* @__PURE__ */ (0,
|
|
5864
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5818
5865
|
FormField,
|
|
5819
5866
|
{
|
|
5820
5867
|
label: "Numeric data field label",
|
|
5821
|
-
editor: /* @__PURE__ */ (0,
|
|
5868
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(NumericTextbox, { placeholder: "##,###" })
|
|
5822
5869
|
}
|
|
5823
5870
|
),
|
|
5824
|
-
/* @__PURE__ */ (0,
|
|
5871
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5825
5872
|
FormField,
|
|
5826
5873
|
{
|
|
5827
|
-
editor: /* @__PURE__ */ (0,
|
|
5828
|
-
/* @__PURE__ */ (0,
|
|
5829
|
-
/* @__PURE__ */ (0,
|
|
5874
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
5875
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Checkbox, { checked: true }),
|
|
5876
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
5830
5877
|
] })
|
|
5831
5878
|
}
|
|
5832
5879
|
)
|