@progress/kendo-themes-html 6.7.0 → 6.7.1-dev.1
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/tests/action-sheet-list.js +167 -107
- package/dist/cjs/action-sheet/tests/action-sheet-treeview.js +136 -76
- package/dist/cjs/autocomplete/autocomplete.spec.js +123 -63
- package/dist/cjs/autocomplete/templates/autocomplete-adaptive.js +125 -65
- package/dist/cjs/autocomplete/templates/autocomplete-normal.js +125 -65
- package/dist/cjs/autocomplete/templates/autocomplete-popup.js +129 -69
- package/dist/cjs/autocomplete/tests/autocomplete-adaptive.js +135 -75
- package/dist/cjs/autocomplete/tests/autocomplete-flat.js +140 -80
- package/dist/cjs/autocomplete/tests/autocomplete-opened.js +139 -79
- package/dist/cjs/autocomplete/tests/autocomplete-outline.js +140 -80
- package/dist/cjs/autocomplete/tests/autocomplete-solid.js +140 -80
- package/dist/cjs/checkbox/checkbox-group.spec.js +67 -0
- package/dist/cjs/checkbox/checkbox-item.spec.js +61 -0
- package/dist/cjs/checkbox/templates/{checkbox-label.js → checkbox-with-label.js} +10 -8
- package/dist/cjs/checkbox/tests/checkbox-group.js +277 -0
- package/dist/cjs/checkbox/tests/checkbox-rounded.js +79 -19
- package/dist/cjs/checkbox/tests/checkbox-size.js +74 -28
- package/dist/cjs/checkbox/tests/checkbox.js +23 -23
- package/dist/cjs/combobox/combobox.spec.js +124 -64
- package/dist/cjs/combobox/templates/combobox-adaptive.js +126 -66
- package/dist/cjs/combobox/templates/combobox-grouping.js +347 -287
- package/dist/cjs/combobox/templates/combobox-normal.js +126 -66
- package/dist/cjs/combobox/templates/combobox-popup.js +342 -282
- package/dist/cjs/combobox/tests/combobox-adaptive.js +137 -77
- package/dist/cjs/combobox/tests/combobox-flat.js +142 -82
- package/dist/cjs/combobox/tests/combobox-grouping.js +146 -86
- package/dist/cjs/combobox/tests/combobox-opened.js +141 -81
- package/dist/cjs/combobox/tests/combobox-outline.js +142 -82
- package/dist/cjs/combobox/tests/combobox-size-rounded.js +140 -80
- package/dist/cjs/combobox/tests/combobox-solid.js +142 -82
- package/dist/cjs/dropdownlist/templates/dropdownlist-filtering.js +289 -229
- package/dist/cjs/dropdownlist/templates/dropdownlist-grouping-filtering.js +294 -234
- package/dist/cjs/dropdownlist/templates/dropdownlist-grouping.js +276 -216
- package/dist/cjs/dropdownlist/templates/dropdownlist-popup.js +271 -211
- package/dist/cjs/dropdownlist/tests/dropdownlist-adaptive.js +135 -75
- package/dist/cjs/dropdownlist/tests/dropdownlist-filtering.js +136 -76
- package/dist/cjs/dropdownlist/tests/dropdownlist-flat.js +143 -83
- package/dist/cjs/dropdownlist/tests/dropdownlist-grouping-filtering.js +141 -81
- package/dist/cjs/dropdownlist/tests/dropdownlist-grouping.js +139 -79
- package/dist/cjs/dropdownlist/tests/dropdownlist-opened.js +134 -74
- package/dist/cjs/dropdownlist/tests/dropdownlist-option-label.js +155 -95
- package/dist/cjs/dropdownlist/tests/dropdownlist-outline.js +143 -83
- package/dist/cjs/dropdownlist/tests/dropdownlist.js +143 -83
- package/dist/cjs/dropdowntree/dropdowntree.spec.js +123 -63
- package/dist/cjs/dropdowntree/templates/dropdowntree-adaptive.js +125 -65
- package/dist/cjs/dropdowntree/templates/dropdowntree-normal.js +125 -65
- package/dist/cjs/dropdowntree/templates/dropdowntree-popup.js +359 -299
- package/dist/cjs/dropdowntree/tests/dropdowntree-adaptive.js +135 -75
- package/dist/cjs/dropdowntree/tests/dropdowntree-flat.js +140 -80
- package/dist/cjs/dropdowntree/tests/dropdowntree-opened.js +145 -85
- package/dist/cjs/dropdowntree/tests/dropdowntree-outline.js +140 -80
- package/dist/cjs/dropdowntree/tests/dropdowntree-size-rounded.js +138 -78
- package/dist/cjs/dropdowntree/tests/dropdowntree-solid.js +140 -80
- package/dist/cjs/editor/editor-toolbar.js +267 -207
- package/dist/cjs/editor/tests/editor-find-replace.js +610 -569
- package/dist/cjs/editor/tests/editor-table-wizard.js +495 -435
- package/dist/cjs/editor/tests/editor.js +524 -464
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +301 -241
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +331 -271
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +396 -336
- package/dist/cjs/filemanager/tests/filemanager-listview.js +350 -290
- package/dist/cjs/filemanager/tests/filemanager-preview.js +449 -389
- package/dist/cjs/filemanager/tests/filemanager-toolbar.js +236 -176
- package/dist/cjs/filter/tests/filter.js +407 -347
- package/dist/cjs/floating-label/tests/floating-label-flat.js +174 -114
- package/dist/cjs/floating-label/tests/floating-label-outline.js +174 -114
- package/dist/cjs/floating-label/tests/floating-label.js +174 -114
- package/dist/cjs/form/tests/form-field-dropdowns.js +315 -255
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +619 -518
- package/dist/cjs/form/tests/form-field-inputs.js +545 -444
- package/dist/cjs/form/tests/form-grid-layout.js +190 -130
- package/dist/cjs/form/tests/form-misc.js +278 -218
- package/dist/cjs/form/tests/form-sizes.js +207 -147
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +164 -104
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +120 -60
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +373 -313
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +416 -356
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +373 -313
- package/dist/cjs/gantt/tests/gantt-react.js +633 -573
- package/dist/cjs/gantt/tests/gantt-row-reordering.js +938 -878
- package/dist/cjs/gantt/tests/gantt.js +912 -852
- package/dist/cjs/grid/tests/grid-adaptive-filter-bool.js +82 -22
- package/dist/cjs/grid/tests/grid-adaptive-filter-multi.js +167 -107
- package/dist/cjs/grid/tests/grid-adaptive-filter.js +91 -31
- package/dist/cjs/grid/tests/grid-adaptive-pager.js +197 -137
- package/dist/cjs/grid/tests/grid-adaptive-search.js +274 -214
- package/dist/cjs/grid/tests/grid-angular.js +488 -428
- package/dist/cjs/grid/tests/grid-column-menu-angular.js +156 -96
- package/dist/cjs/grid/tests/grid-column-menu-blazor.js +163 -103
- package/dist/cjs/grid/tests/grid-column-menu-rtl.js +478 -418
- package/dist/cjs/grid/tests/grid-column-menu-tabbed.js +410 -350
- package/dist/cjs/grid/tests/grid-column-menu.js +478 -418
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +578 -518
- package/dist/cjs/grid/tests/grid-column-reordering.js +583 -523
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +637 -577
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +723 -663
- package/dist/cjs/grid/tests/grid-editing-inline-angular.js +580 -520
- package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +578 -518
- package/dist/cjs/grid/tests/grid-editing-popup.js +583 -523
- package/dist/cjs/grid/tests/grid-editing.js +626 -566
- package/dist/cjs/grid/tests/grid-filter-menu-angular.js +154 -94
- package/dist/cjs/grid/tests/grid-filter-menu-blazor.js +157 -97
- package/dist/cjs/grid/tests/grid-filter-menu-multi-checkbox.js +232 -172
- package/dist/cjs/grid/tests/grid-filter-menu.js +162 -102
- package/dist/cjs/grid/tests/grid-filter-row-angular.js +634 -574
- package/dist/cjs/grid/tests/grid-filter-row-blazor.js +629 -569
- package/dist/cjs/grid/tests/grid-filter-row.js +614 -554
- package/dist/cjs/grid/tests/grid-grouping-actions.js +544 -484
- package/dist/cjs/grid/tests/grid-grouping-blazor.js +252 -192
- package/dist/cjs/grid/tests/grid-grouping-detail-template.js +345 -285
- package/dist/cjs/grid/tests/grid-grouping.js +485 -425
- package/dist/cjs/grid/tests/grid-locked-columns-rtl.js +249 -189
- package/dist/cjs/grid/tests/grid-locked-columns.js +405 -345
- package/dist/cjs/grid/tests/grid-pager.js +283 -223
- package/dist/cjs/grid/tests/grid-react-basic.js +190 -130
- package/dist/cjs/grid/tests/grid-row-reordering.js +536 -476
- package/dist/cjs/grid/tests/grid-rows-resizing.js +361 -301
- package/dist/cjs/grid/tests/grid-rows-states.js +167 -107
- package/dist/cjs/grid/tests/grid-rtl-angular.js +293 -233
- package/dist/cjs/grid/tests/grid-rtl.js +286 -226
- package/dist/cjs/grid/tests/grid-selection-aggregates.js +295 -235
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +838 -778
- package/dist/cjs/grid/tests/grid-size-sm.js +838 -778
- package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +343 -283
- package/dist/cjs/grid/tests/grid-toolbar.js +334 -274
- package/dist/cjs/grid/tests/grid.js +311 -251
- package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +591 -531
- package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +579 -519
- package/dist/cjs/imageeditor/tests/imageeditor.js +367 -307
- package/dist/cjs/index.js +3596 -3466
- package/dist/cjs/list/list-angular.spec.js +152 -92
- package/dist/cjs/list/list-group.js +136 -76
- package/dist/cjs/list/list-item.spec.js +109 -49
- package/dist/cjs/list/list.spec.js +151 -91
- package/dist/cjs/list/templates/list-grouping-angular.js +145 -85
- package/dist/cjs/list/templates/list-grouping.js +145 -85
- package/dist/cjs/list/templates/list-normal.js +140 -80
- package/dist/cjs/list/templates/list-virtualization-angular.js +137 -77
- package/dist/cjs/list/templates/list-virtualization.js +137 -77
- package/dist/cjs/list/templates/list-virualization-grouping-angular.js +145 -85
- package/dist/cjs/list/templates/list-virualization-grouping.js +145 -85
- package/dist/cjs/list/tests/list-grouping.js +192 -132
- package/dist/cjs/list/tests/list-sizes.js +168 -108
- package/dist/cjs/list/tests/list.js +193 -133
- package/dist/cjs/listbox/listbox.spec.js +130 -70
- package/dist/cjs/listbox/templates/listbox-normal.js +132 -72
- package/dist/cjs/listbox/tests/listbox-sizes.js +186 -126
- package/dist/cjs/listbox/tests/listbox.js +195 -135
- package/dist/cjs/listview/listview.spec.js +210 -150
- package/dist/cjs/listview/tests/listview-layout.js +257 -197
- package/dist/cjs/listview/tests/listview-loading.js +228 -168
- package/dist/cjs/listview/tests/listview.js +243 -183
- package/dist/cjs/mediaplayer/tests/mediaplayer.js +369 -309
- package/dist/cjs/multiselect/multiselect.spec.js +126 -66
- package/dist/cjs/multiselect/templates/multiselect-adaptive.js +128 -68
- package/dist/cjs/multiselect/templates/multiselect-arrow-button.js +128 -68
- package/dist/cjs/multiselect/templates/multiselect-grouping.js +397 -337
- package/dist/cjs/multiselect/templates/multiselect-normal.js +128 -68
- package/dist/cjs/multiselect/templates/multiselect-popup.js +393 -333
- package/dist/cjs/multiselect/templates/multiselect-value.js +129 -69
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +141 -81
- package/dist/cjs/multiselect/tests/multiselect-flat.js +165 -105
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +150 -90
- package/dist/cjs/multiselect/tests/multiselect-opened.js +148 -88
- package/dist/cjs/multiselect/tests/multiselect-outline.js +165 -105
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +145 -85
- package/dist/cjs/multiselect/tests/multiselect-solid.js +165 -105
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +164 -104
- package/dist/cjs/pager/index.js +195 -135
- package/dist/cjs/pager/pager.spec.js +187 -127
- package/dist/cjs/pager/templates/pager-adaptive-input.js +189 -129
- package/dist/cjs/pager/templates/pager-adaptive.js +189 -129
- package/dist/cjs/pager/templates/pager-input.js +189 -129
- package/dist/cjs/pager/templates/pager-normal.js +189 -129
- package/dist/cjs/pager/tests/pager-adaptive.js +208 -148
- package/dist/cjs/pager/tests/pager-sizes.js +199 -139
- package/dist/cjs/pager/tests/pager.js +199 -139
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +348 -288
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +358 -298
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +359 -299
- package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +348 -288
- package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +443 -383
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery-configurator.js +202 -142
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +347 -287
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +534 -474
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +537 -477
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +588 -528
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-top.js +718 -658
- package/dist/cjs/pivotgrid/tests/pivotgrid.js +699 -639
- package/dist/cjs/popup/tests/popup-list-grouping.js +238 -178
- package/dist/cjs/popup/tests/popup-list.js +246 -186
- package/dist/cjs/popup/tests/popup-no-data.js +253 -193
- package/dist/cjs/radio/radio-group.spec.js +67 -0
- package/dist/cjs/radio/radio-item.spec.js +61 -0
- package/dist/cjs/radio/tests/radio-group.js +285 -0
- package/dist/cjs/radio/tests/radio-size.js +74 -14
- package/dist/cjs/radio/tests/radio.js +93 -33
- package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +307 -247
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +485 -425
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +408 -348
- package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +353 -293
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +389 -329
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +389 -329
- package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +445 -385
- package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +406 -346
- package/dist/cjs/scheduler/tests/scheduler-angular-month.js +406 -346
- package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +561 -501
- package/dist/cjs/scheduler/tests/scheduler-angular.js +561 -501
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +872 -752
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +886 -766
- package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +419 -359
- package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +329 -269
- package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +398 -338
- package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +476 -416
- package/dist/cjs/scheduler/tests/scheduler-react-day.js +961 -901
- package/dist/cjs/scheduler/tests/scheduler-react-month.js +1896 -1836
- package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +868 -808
- package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +782 -722
- package/dist/cjs/scheduler/tests/scheduler-react-week.js +1697 -1637
- package/dist/cjs/scheduler/tests/scheduler-year.js +1011 -951
- package/dist/cjs/scheduler/tests/scheduler.js +661 -601
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +412 -293
- package/dist/cjs/spreadsheet/tests/spreadsheet-dialog.js +400 -287
- package/dist/cjs/spreadsheet/tests/spreadsheet-filter-menu.js +132 -72
- package/dist/cjs/spreadsheet/tests/spreadsheet-tools-popup.js +582 -522
- package/dist/cjs/spreadsheet/tests/spreadsheet.js +563 -503
- package/dist/cjs/taskboard/tests/taskboard-card.js +339 -279
- package/dist/cjs/taskboard/tests/taskboard-pane.js +421 -361
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +336 -276
- package/dist/cjs/taskboard/tests/taskboard.js +330 -270
- package/dist/cjs/toolbar/tests/toolbar-adaptive.js +260 -200
- package/dist/cjs/toolbar/tests/toolbar-angular.js +234 -174
- package/dist/cjs/toolbar/tests/toolbar-components.js +318 -258
- package/dist/cjs/toolbar/tests/toolbar-sizes.js +322 -262
- package/dist/cjs/toolbar/tests/toolbar.js +298 -238
- package/dist/cjs/toolbar/toolbar-angular.spec.js +237 -177
- package/dist/cjs/toolbar/toolbar.spec.js +237 -177
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +491 -431
- package/dist/cjs/treelist/tests/treelist-react.js +506 -446
- package/dist/cjs/treeview/templates/treeview-checkboxes.js +138 -78
- package/dist/cjs/treeview/templates/treeview-hierarchy.js +138 -78
- package/dist/cjs/treeview/templates/treeview-icons.js +138 -78
- package/dist/cjs/treeview/templates/treeview-normal.js +131 -71
- package/dist/cjs/treeview/tests/treeview-size.js +144 -84
- package/dist/cjs/treeview/tests/treeview.js +198 -138
- package/dist/cjs/treeview/treeview-group.js +123 -63
- package/dist/cjs/treeview/treeview-item.spec.js +123 -63
- package/dist/cjs/treeview/treeview.spec.js +139 -79
- package/dist/esm/action-sheet/tests/action-sheet-list.js +157 -97
- package/dist/esm/action-sheet/tests/action-sheet-treeview.js +130 -70
- package/dist/esm/autocomplete/autocomplete.spec.js +118 -58
- package/dist/esm/autocomplete/templates/autocomplete-adaptive.js +120 -60
- package/dist/esm/autocomplete/templates/autocomplete-normal.js +120 -60
- package/dist/esm/autocomplete/templates/autocomplete-popup.js +123 -63
- package/dist/esm/autocomplete/tests/autocomplete-adaptive.js +128 -68
- package/dist/esm/autocomplete/tests/autocomplete-flat.js +132 -72
- package/dist/esm/autocomplete/tests/autocomplete-opened.js +131 -71
- package/dist/esm/autocomplete/tests/autocomplete-outline.js +132 -72
- package/dist/esm/autocomplete/tests/autocomplete-solid.js +132 -72
- package/dist/esm/checkbox/checkbox-group.spec.js +45 -0
- package/dist/esm/checkbox/checkbox-item.spec.js +39 -0
- package/dist/esm/checkbox/templates/{checkbox-label.js → checkbox-with-label.js} +6 -4
- package/dist/esm/checkbox/tests/checkbox-group.js +255 -0
- package/dist/esm/checkbox/tests/checkbox-rounded.js +74 -14
- package/dist/esm/checkbox/tests/checkbox-size.js +73 -27
- package/dist/esm/checkbox/tests/checkbox.js +23 -23
- package/dist/esm/combobox/combobox.spec.js +119 -59
- package/dist/esm/combobox/templates/combobox-adaptive.js +121 -61
- package/dist/esm/combobox/templates/combobox-grouping.js +330 -270
- package/dist/esm/combobox/templates/combobox-normal.js +121 -61
- package/dist/esm/combobox/templates/combobox-popup.js +327 -267
- package/dist/esm/combobox/tests/combobox-adaptive.js +130 -70
- package/dist/esm/combobox/tests/combobox-flat.js +134 -74
- package/dist/esm/combobox/tests/combobox-grouping.js +136 -76
- package/dist/esm/combobox/tests/combobox-opened.js +133 -73
- package/dist/esm/combobox/tests/combobox-outline.js +134 -74
- package/dist/esm/combobox/tests/combobox-size-rounded.js +132 -72
- package/dist/esm/combobox/tests/combobox-solid.js +134 -74
- package/dist/esm/dropdownlist/templates/dropdownlist-filtering.js +279 -219
- package/dist/esm/dropdownlist/templates/dropdownlist-grouping-filtering.js +282 -222
- package/dist/esm/dropdownlist/templates/dropdownlist-grouping.js +266 -206
- package/dist/esm/dropdownlist/templates/dropdownlist-popup.js +263 -203
- package/dist/esm/dropdownlist/tests/dropdownlist-adaptive.js +131 -71
- package/dist/esm/dropdownlist/tests/dropdownlist-filtering.js +129 -69
- package/dist/esm/dropdownlist/tests/dropdownlist-flat.js +138 -78
- package/dist/esm/dropdownlist/tests/dropdownlist-grouping-filtering.js +132 -72
- package/dist/esm/dropdownlist/tests/dropdownlist-grouping.js +131 -71
- package/dist/esm/dropdownlist/tests/dropdownlist-opened.js +128 -68
- package/dist/esm/dropdownlist/tests/dropdownlist-option-label.js +150 -90
- package/dist/esm/dropdownlist/tests/dropdownlist-outline.js +138 -78
- package/dist/esm/dropdownlist/tests/dropdownlist.js +138 -78
- package/dist/esm/dropdowntree/dropdowntree.spec.js +117 -57
- package/dist/esm/dropdowntree/templates/dropdowntree-adaptive.js +119 -59
- package/dist/esm/dropdowntree/templates/dropdowntree-normal.js +119 -59
- package/dist/esm/dropdowntree/templates/dropdowntree-popup.js +341 -281
- package/dist/esm/dropdowntree/tests/dropdowntree-adaptive.js +127 -67
- package/dist/esm/dropdowntree/tests/dropdowntree-flat.js +131 -71
- package/dist/esm/dropdowntree/tests/dropdowntree-opened.js +134 -74
- package/dist/esm/dropdowntree/tests/dropdowntree-outline.js +131 -71
- package/dist/esm/dropdowntree/tests/dropdowntree-size-rounded.js +129 -69
- package/dist/esm/dropdowntree/tests/dropdowntree-solid.js +131 -71
- package/dist/esm/editor/editor-toolbar.js +255 -195
- package/dist/esm/editor/tests/editor-find-replace.js +575 -534
- package/dist/esm/editor/tests/editor-table-wizard.js +467 -407
- package/dist/esm/editor/tests/editor.js +472 -412
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +281 -221
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +308 -248
- package/dist/esm/filemanager/tests/filemanager-gridview.js +358 -298
- package/dist/esm/filemanager/tests/filemanager-listview.js +323 -263
- package/dist/esm/filemanager/tests/filemanager-preview.js +400 -340
- package/dist/esm/filemanager/tests/filemanager-toolbar.js +225 -165
- package/dist/esm/filter/tests/filter.js +386 -326
- package/dist/esm/floating-label/tests/floating-label-flat.js +167 -107
- package/dist/esm/floating-label/tests/floating-label-outline.js +167 -107
- package/dist/esm/floating-label/tests/floating-label.js +167 -107
- package/dist/esm/form/tests/form-field-dropdowns.js +293 -233
- package/dist/esm/form/tests/form-field-inputs-rtl.js +580 -479
- package/dist/esm/form/tests/form-field-inputs.js +505 -404
- package/dist/esm/form/tests/form-grid-layout.js +179 -119
- package/dist/esm/form/tests/form-misc.js +262 -202
- package/dist/esm/form/tests/form-sizes.js +188 -128
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +155 -95
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +113 -53
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +350 -290
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +383 -323
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +350 -290
- package/dist/esm/gantt/tests/gantt-react.js +570 -510
- package/dist/esm/gantt/tests/gantt-row-reordering.js +830 -770
- package/dist/esm/gantt/tests/gantt.js +804 -744
- package/dist/esm/grid/tests/grid-adaptive-filter-bool.js +80 -20
- package/dist/esm/grid/tests/grid-adaptive-filter-multi.js +163 -103
- package/dist/esm/grid/tests/grid-adaptive-filter.js +88 -28
- package/dist/esm/grid/tests/grid-adaptive-pager.js +187 -127
- package/dist/esm/grid/tests/grid-adaptive-search.js +262 -202
- package/dist/esm/grid/tests/grid-angular.js +443 -383
- package/dist/esm/grid/tests/grid-column-menu-angular.js +142 -82
- package/dist/esm/grid/tests/grid-column-menu-blazor.js +141 -81
- package/dist/esm/grid/tests/grid-column-menu-rtl.js +427 -367
- package/dist/esm/grid/tests/grid-column-menu-tabbed.js +387 -327
- package/dist/esm/grid/tests/grid-column-menu.js +427 -367
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +525 -465
- package/dist/esm/grid/tests/grid-column-reordering.js +528 -468
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +584 -524
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +642 -582
- package/dist/esm/grid/tests/grid-editing-inline-angular.js +536 -476
- package/dist/esm/grid/tests/grid-editing-inline-blazor.js +541 -481
- package/dist/esm/grid/tests/grid-editing-popup.js +530 -470
- package/dist/esm/grid/tests/grid-editing.js +576 -516
- package/dist/esm/grid/tests/grid-filter-menu-angular.js +138 -78
- package/dist/esm/grid/tests/grid-filter-menu-blazor.js +136 -76
- package/dist/esm/grid/tests/grid-filter-menu-multi-checkbox.js +221 -161
- package/dist/esm/grid/tests/grid-filter-menu.js +155 -95
- package/dist/esm/grid/tests/grid-filter-row-angular.js +585 -525
- package/dist/esm/grid/tests/grid-filter-row-blazor.js +581 -521
- package/dist/esm/grid/tests/grid-filter-row.js +553 -493
- package/dist/esm/grid/tests/grid-grouping-actions.js +503 -443
- package/dist/esm/grid/tests/grid-grouping-blazor.js +229 -169
- package/dist/esm/grid/tests/grid-grouping-detail-template.js +306 -246
- package/dist/esm/grid/tests/grid-grouping.js +438 -378
- package/dist/esm/grid/tests/grid-locked-columns-rtl.js +212 -152
- package/dist/esm/grid/tests/grid-locked-columns.js +324 -264
- package/dist/esm/grid/tests/grid-pager.js +251 -191
- package/dist/esm/grid/tests/grid-react-basic.js +174 -114
- package/dist/esm/grid/tests/grid-row-reordering.js +499 -439
- package/dist/esm/grid/tests/grid-rows-resizing.js +321 -261
- package/dist/esm/grid/tests/grid-rows-states.js +140 -80
- package/dist/esm/grid/tests/grid-rtl-angular.js +265 -205
- package/dist/esm/grid/tests/grid-rtl.js +261 -201
- package/dist/esm/grid/tests/grid-selection-aggregates.js +257 -197
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +763 -703
- package/dist/esm/grid/tests/grid-size-sm.js +763 -703
- package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +322 -262
- package/dist/esm/grid/tests/grid-toolbar.js +316 -256
- package/dist/esm/grid/tests/grid.js +281 -221
- package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +557 -497
- package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +546 -486
- package/dist/esm/imageeditor/tests/imageeditor.js +347 -287
- package/dist/esm/index.js +3019 -2889
- package/dist/esm/list/list-angular.spec.js +149 -89
- package/dist/esm/list/list-group.js +134 -74
- package/dist/esm/list/list-item.spec.js +109 -49
- package/dist/esm/list/list.spec.js +148 -88
- package/dist/esm/list/templates/list-grouping-angular.js +140 -80
- package/dist/esm/list/templates/list-grouping.js +140 -80
- package/dist/esm/list/templates/list-normal.js +138 -78
- package/dist/esm/list/templates/list-virtualization-angular.js +135 -75
- package/dist/esm/list/templates/list-virtualization.js +135 -75
- package/dist/esm/list/templates/list-virualization-grouping-angular.js +140 -80
- package/dist/esm/list/templates/list-virualization-grouping.js +140 -80
- package/dist/esm/list/tests/list-grouping.js +176 -116
- package/dist/esm/list/tests/list-sizes.js +160 -100
- package/dist/esm/list/tests/list.js +189 -129
- package/dist/esm/listbox/listbox.spec.js +126 -66
- package/dist/esm/listbox/templates/listbox-normal.js +128 -68
- package/dist/esm/listbox/tests/listbox-sizes.js +179 -119
- package/dist/esm/listbox/tests/listbox.js +185 -125
- package/dist/esm/listview/listview.spec.js +198 -138
- package/dist/esm/listview/tests/listview-layout.js +233 -173
- package/dist/esm/listview/tests/listview-loading.js +213 -153
- package/dist/esm/listview/tests/listview.js +223 -163
- package/dist/esm/mediaplayer/tests/mediaplayer.js +347 -287
- package/dist/esm/multiselect/multiselect.spec.js +120 -60
- package/dist/esm/multiselect/templates/multiselect-adaptive.js +122 -62
- package/dist/esm/multiselect/templates/multiselect-arrow-button.js +122 -62
- package/dist/esm/multiselect/templates/multiselect-grouping.js +378 -318
- package/dist/esm/multiselect/templates/multiselect-normal.js +122 -62
- package/dist/esm/multiselect/templates/multiselect-popup.js +376 -316
- package/dist/esm/multiselect/templates/multiselect-value.js +123 -63
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +133 -73
- package/dist/esm/multiselect/tests/multiselect-flat.js +154 -94
- package/dist/esm/multiselect/tests/multiselect-grouping.js +139 -79
- package/dist/esm/multiselect/tests/multiselect-opened.js +139 -79
- package/dist/esm/multiselect/tests/multiselect-outline.js +154 -94
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +136 -76
- package/dist/esm/multiselect/tests/multiselect-solid.js +154 -94
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +153 -93
- package/dist/esm/pager/index.js +185 -125
- package/dist/esm/pager/pager.spec.js +177 -117
- package/dist/esm/pager/templates/pager-adaptive-input.js +179 -119
- package/dist/esm/pager/templates/pager-adaptive.js +179 -119
- package/dist/esm/pager/templates/pager-input.js +179 -119
- package/dist/esm/pager/templates/pager-normal.js +179 -119
- package/dist/esm/pager/tests/pager-adaptive.js +196 -136
- package/dist/esm/pager/tests/pager-sizes.js +187 -127
- package/dist/esm/pager/tests/pager.js +189 -129
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +327 -267
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +335 -275
- package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +334 -274
- package/dist/esm/pdf-viewer/tests/pdf-viewer.js +327 -267
- package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +397 -337
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery-configurator.js +170 -110
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +323 -263
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +482 -422
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +478 -418
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +530 -470
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-top.js +636 -576
- package/dist/esm/pivotgrid/tests/pivotgrid.js +624 -564
- package/dist/esm/popup/tests/popup-list-grouping.js +218 -158
- package/dist/esm/popup/tests/popup-list.js +242 -182
- package/dist/esm/popup/tests/popup-no-data.js +247 -187
- package/dist/esm/radio/radio-group.spec.js +45 -0
- package/dist/esm/radio/radio-item.spec.js +39 -0
- package/dist/esm/radio/tests/radio-group.js +263 -0
- package/dist/esm/radio/tests/radio-size.js +71 -11
- package/dist/esm/radio/tests/radio.js +89 -29
- package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +288 -228
- package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +429 -369
- package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +388 -328
- package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +329 -269
- package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +352 -292
- package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +352 -292
- package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +404 -344
- package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +362 -302
- package/dist/esm/scheduler/tests/scheduler-angular-month.js +362 -302
- package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +509 -449
- package/dist/esm/scheduler/tests/scheduler-angular.js +509 -449
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +800 -680
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +813 -693
- package/dist/esm/scheduler/tests/scheduler-flex-layout.js +389 -329
- package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +305 -245
- package/dist/esm/scheduler/tests/scheduler-jquery-month.js +357 -297
- package/dist/esm/scheduler/tests/scheduler-react-agenda.js +423 -363
- package/dist/esm/scheduler/tests/scheduler-react-day.js +850 -790
- package/dist/esm/scheduler/tests/scheduler-react-month.js +1286 -1226
- package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +759 -699
- package/dist/esm/scheduler/tests/scheduler-react-timeline.js +691 -631
- package/dist/esm/scheduler/tests/scheduler-react-week.js +1506 -1446
- package/dist/esm/scheduler/tests/scheduler-year.js +897 -837
- package/dist/esm/scheduler/tests/scheduler.js +583 -523
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +394 -275
- package/dist/esm/spreadsheet/tests/spreadsheet-dialog.js +376 -263
- package/dist/esm/spreadsheet/tests/spreadsheet-filter-menu.js +123 -63
- package/dist/esm/spreadsheet/tests/spreadsheet-tools-popup.js +539 -479
- package/dist/esm/spreadsheet/tests/spreadsheet.js +522 -462
- package/dist/esm/taskboard/tests/taskboard-card.js +302 -242
- package/dist/esm/taskboard/tests/taskboard-pane.js +364 -304
- package/dist/esm/taskboard/tests/taskboard-rtl.js +298 -238
- package/dist/esm/taskboard/tests/taskboard.js +295 -235
- package/dist/esm/toolbar/tests/toolbar-adaptive.js +243 -183
- package/dist/esm/toolbar/tests/toolbar-angular.js +224 -164
- package/dist/esm/toolbar/tests/toolbar-components.js +303 -243
- package/dist/esm/toolbar/tests/toolbar-sizes.js +304 -244
- package/dist/esm/toolbar/tests/toolbar.js +284 -224
- package/dist/esm/toolbar/toolbar-angular.spec.js +225 -165
- package/dist/esm/toolbar/toolbar.spec.js +225 -165
- package/dist/esm/treelist/tests/treelist-editing-popup.js +444 -384
- package/dist/esm/treelist/tests/treelist-react.js +444 -384
- package/dist/esm/treeview/templates/treeview-checkboxes.js +135 -75
- package/dist/esm/treeview/templates/treeview-hierarchy.js +136 -76
- package/dist/esm/treeview/templates/treeview-icons.js +136 -76
- package/dist/esm/treeview/templates/treeview-normal.js +129 -69
- package/dist/esm/treeview/tests/treeview-size.js +142 -82
- package/dist/esm/treeview/tests/treeview.js +195 -135
- package/dist/esm/treeview/treeview-group.js +121 -61
- package/dist/esm/treeview/treeview-item.spec.js +121 -61
- package/dist/esm/treeview/treeview.spec.js +137 -77
- package/dist/types/checkbox/checkbox-group.spec.d.ts +14 -0
- package/dist/types/checkbox/checkbox-item.spec.d.ts +13 -0
- package/dist/types/checkbox/checkbox.spec.d.ts +1 -1
- package/dist/types/checkbox/index.d.ts +3 -1
- package/dist/types/checkbox/templates/checkbox-with-label.d.ts +5 -0
- package/dist/types/checkbox/tests/checkbox-group.d.ts +2 -0
- package/dist/types/radio/index.d.ts +2 -0
- package/dist/types/radio/radio-group.spec.d.ts +14 -0
- package/dist/types/radio/radio-item.spec.d.ts +13 -0
- package/dist/types/radio/radio.spec.d.ts +1 -1
- package/dist/types/radio/tests/radio-group.d.ts +2 -0
- package/package.json +2 -2
- package/src/checkbox/checkbox-group.spec.tsx +47 -0
- package/src/checkbox/checkbox-item.spec.tsx +38 -0
- package/src/checkbox/checkbox.spec.tsx +1 -1
- package/src/checkbox/index.ts +3 -1
- package/src/checkbox/templates/checkbox-with-label.tsx +13 -0
- package/src/checkbox/tests/checkbox-group.tsx +63 -0
- package/src/checkbox/tests/checkbox-size.tsx +10 -52
- package/src/checkbox/tests/checkbox.tsx +21 -21
- package/src/editor/tests/editor-find-replace.tsx +29 -37
- package/src/form/tests/form-field-inputs-rtl.tsx +33 -44
- package/src/form/tests/form-field-inputs.tsx +33 -44
- package/src/radio/index.ts +3 -1
- package/src/radio/radio-group.spec.tsx +47 -0
- package/src/radio/radio-item.spec.tsx +38 -0
- package/src/radio/radio.spec.tsx +1 -1
- package/src/radio/tests/radio-group.tsx +87 -0
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +12 -15
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +12 -15
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +9 -12
- package/src/spreadsheet/tests/spreadsheet-dialog.tsx +15 -19
- package/dist/types/checkbox/templates/checkbox-label.d.ts +0 -1
- package/src/checkbox/templates/checkbox-label.tsx +0 -8
|
@@ -4571,16 +4571,76 @@ Checkbox.options = options7;
|
|
|
4571
4571
|
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
4572
4572
|
Checkbox.defaultProps = defaultProps7;
|
|
4573
4573
|
|
|
4574
|
-
// src/checkbox/
|
|
4575
|
-
import {
|
|
4574
|
+
// src/checkbox/checkbox-group.spec.tsx
|
|
4575
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4576
|
+
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
4577
|
+
var states8 = [];
|
|
4578
|
+
var options8 = {};
|
|
4579
|
+
var defaultProps8 = {
|
|
4580
|
+
layout: "vertical"
|
|
4581
|
+
};
|
|
4582
|
+
var CheckboxGroup = (props) => {
|
|
4583
|
+
const {
|
|
4584
|
+
layout = defaultProps8.layout,
|
|
4585
|
+
...other
|
|
4586
|
+
} = props;
|
|
4587
|
+
return /* @__PURE__ */ jsx11(
|
|
4588
|
+
"ul",
|
|
4589
|
+
{
|
|
4590
|
+
...other,
|
|
4591
|
+
className: classNames(
|
|
4592
|
+
props.className,
|
|
4593
|
+
CHECKBOXGROUP_CLASSNAME,
|
|
4594
|
+
{
|
|
4595
|
+
[`k-list-${layout}`]: layout
|
|
4596
|
+
}
|
|
4597
|
+
),
|
|
4598
|
+
children: props.children
|
|
4599
|
+
}
|
|
4600
|
+
);
|
|
4601
|
+
};
|
|
4602
|
+
CheckboxGroup.states = states8;
|
|
4603
|
+
CheckboxGroup.options = options8;
|
|
4604
|
+
CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
4605
|
+
CheckboxGroup.defaultProps = defaultProps8;
|
|
4576
4606
|
|
|
4577
|
-
// src/checkbox/
|
|
4607
|
+
// src/checkbox/checkbox-item.spec.tsx
|
|
4578
4608
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
4609
|
+
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
4610
|
+
var states9 = [];
|
|
4611
|
+
var options9 = {};
|
|
4612
|
+
var defaultProps9 = {};
|
|
4613
|
+
var CheckboxItem = (props) => {
|
|
4614
|
+
const {
|
|
4615
|
+
...other
|
|
4616
|
+
} = props;
|
|
4617
|
+
return /* @__PURE__ */ jsx12(
|
|
4618
|
+
"li",
|
|
4619
|
+
{
|
|
4620
|
+
...other,
|
|
4621
|
+
className: classNames(
|
|
4622
|
+
props.className,
|
|
4623
|
+
CHECKBOXITEM_CLASSNAME
|
|
4624
|
+
),
|
|
4625
|
+
children: props.children
|
|
4626
|
+
}
|
|
4627
|
+
);
|
|
4628
|
+
};
|
|
4629
|
+
CheckboxItem.states = states9;
|
|
4630
|
+
CheckboxItem.options = options9;
|
|
4631
|
+
CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
4632
|
+
CheckboxItem.defaultProps = defaultProps9;
|
|
4633
|
+
|
|
4634
|
+
// src/checkbox/templates/checkbox-with-label.tsx
|
|
4635
|
+
import { Fragment as Fragment6, jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4636
|
+
|
|
4637
|
+
// src/checkbox/templates/checkbox-normal.tsx
|
|
4638
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4579
4639
|
|
|
4580
4640
|
// src/input/input.spec.tsx
|
|
4581
|
-
import { jsx as
|
|
4641
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4582
4642
|
var INPUT_CLASSNAME = `k-input`;
|
|
4583
|
-
var
|
|
4643
|
+
var states10 = [
|
|
4584
4644
|
States.hover,
|
|
4585
4645
|
States.focus,
|
|
4586
4646
|
States.valid,
|
|
@@ -4590,12 +4650,12 @@ var states8 = [
|
|
|
4590
4650
|
States.loading,
|
|
4591
4651
|
States.readonly
|
|
4592
4652
|
];
|
|
4593
|
-
var
|
|
4653
|
+
var options10 = {
|
|
4594
4654
|
size: [Size.small, Size.medium, Size.large],
|
|
4595
4655
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4596
4656
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4597
4657
|
};
|
|
4598
|
-
var
|
|
4658
|
+
var defaultProps10 = {
|
|
4599
4659
|
size: Size.medium,
|
|
4600
4660
|
rounded: Size.medium,
|
|
4601
4661
|
fillMode: FillMode.solid
|
|
@@ -4609,12 +4669,12 @@ var Input = (props) => {
|
|
|
4609
4669
|
valid,
|
|
4610
4670
|
loading,
|
|
4611
4671
|
readonly,
|
|
4612
|
-
size =
|
|
4613
|
-
rounded =
|
|
4614
|
-
fillMode =
|
|
4672
|
+
size = defaultProps10.size,
|
|
4673
|
+
rounded = defaultProps10.rounded,
|
|
4674
|
+
fillMode = defaultProps10.fillMode,
|
|
4615
4675
|
...other
|
|
4616
4676
|
} = props;
|
|
4617
|
-
return /* @__PURE__ */
|
|
4677
|
+
return /* @__PURE__ */ jsx15(
|
|
4618
4678
|
"span",
|
|
4619
4679
|
{
|
|
4620
4680
|
...other,
|
|
@@ -4627,13 +4687,13 @@ var Input = (props) => {
|
|
|
4627
4687
|
}
|
|
4628
4688
|
);
|
|
4629
4689
|
};
|
|
4630
|
-
Input.states =
|
|
4631
|
-
Input.options =
|
|
4690
|
+
Input.states = states10;
|
|
4691
|
+
Input.options = options10;
|
|
4632
4692
|
Input.className = INPUT_CLASSNAME;
|
|
4633
|
-
Input.defaultProps =
|
|
4693
|
+
Input.defaultProps = defaultProps10;
|
|
4634
4694
|
|
|
4635
4695
|
// src/input/picker.spec.tsx
|
|
4636
|
-
import { jsx as
|
|
4696
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4637
4697
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4638
4698
|
var pickerStates = [
|
|
4639
4699
|
States.hover,
|
|
@@ -4650,7 +4710,7 @@ var pickerOptions = {
|
|
|
4650
4710
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4651
4711
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4652
4712
|
};
|
|
4653
|
-
var
|
|
4713
|
+
var defaultProps11 = {
|
|
4654
4714
|
size: Size.medium,
|
|
4655
4715
|
rounded: Roundness.medium,
|
|
4656
4716
|
fillMode: FillMode.solid
|
|
@@ -4664,12 +4724,12 @@ var Picker = (props) => {
|
|
|
4664
4724
|
valid,
|
|
4665
4725
|
loading,
|
|
4666
4726
|
readonly,
|
|
4667
|
-
size =
|
|
4668
|
-
rounded =
|
|
4669
|
-
fillMode =
|
|
4727
|
+
size = defaultProps11.size,
|
|
4728
|
+
rounded = defaultProps11.rounded,
|
|
4729
|
+
fillMode = defaultProps11.fillMode,
|
|
4670
4730
|
...other
|
|
4671
4731
|
} = props;
|
|
4672
|
-
return /* @__PURE__ */
|
|
4732
|
+
return /* @__PURE__ */ jsx16(
|
|
4673
4733
|
"span",
|
|
4674
4734
|
{
|
|
4675
4735
|
...other,
|
|
@@ -4686,17 +4746,17 @@ var Picker = (props) => {
|
|
|
4686
4746
|
Picker.states = pickerStates;
|
|
4687
4747
|
Picker.options = pickerOptions;
|
|
4688
4748
|
Picker.className = PICKER_CLASSNAME;
|
|
4689
|
-
Picker.defaultProps =
|
|
4749
|
+
Picker.defaultProps = defaultProps11;
|
|
4690
4750
|
|
|
4691
4751
|
// src/input/input-clear-value.tsx
|
|
4692
|
-
import { Fragment as Fragment7, jsx as
|
|
4752
|
+
import { Fragment as Fragment7, jsx as jsx17 } from "react/jsx-runtime";
|
|
4693
4753
|
var className = `k-clear-value`;
|
|
4694
|
-
var
|
|
4754
|
+
var states11 = [
|
|
4695
4755
|
States.disabled,
|
|
4696
4756
|
States.loading,
|
|
4697
4757
|
States.readonly
|
|
4698
4758
|
];
|
|
4699
|
-
var
|
|
4759
|
+
var options11 = {};
|
|
4700
4760
|
var InputClearValue = (props) => {
|
|
4701
4761
|
const {
|
|
4702
4762
|
disabled,
|
|
@@ -4705,20 +4765,20 @@ var InputClearValue = (props) => {
|
|
|
4705
4765
|
value
|
|
4706
4766
|
} = props;
|
|
4707
4767
|
if (disabled || readonly || loading || !value) {
|
|
4708
|
-
return /* @__PURE__ */
|
|
4768
|
+
return /* @__PURE__ */ jsx17(Fragment7, {});
|
|
4709
4769
|
}
|
|
4710
|
-
return /* @__PURE__ */
|
|
4770
|
+
return /* @__PURE__ */ jsx17("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx17(Icon, { icon: "x" }) });
|
|
4711
4771
|
};
|
|
4712
|
-
InputClearValue.states =
|
|
4713
|
-
InputClearValue.options =
|
|
4772
|
+
InputClearValue.states = states11;
|
|
4773
|
+
InputClearValue.options = options11;
|
|
4714
4774
|
InputClearValue.className = className;
|
|
4715
4775
|
|
|
4716
4776
|
// src/input/input-inner-input.tsx
|
|
4717
|
-
import { jsx as
|
|
4777
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4718
4778
|
var className2 = `k-input-inner`;
|
|
4719
|
-
var
|
|
4720
|
-
var
|
|
4721
|
-
var
|
|
4779
|
+
var states12 = [];
|
|
4780
|
+
var options12 = {};
|
|
4781
|
+
var defaultProps12 = {
|
|
4722
4782
|
type: "text",
|
|
4723
4783
|
autocomplete: "off",
|
|
4724
4784
|
value: "",
|
|
@@ -4726,13 +4786,13 @@ var defaultProps10 = {
|
|
|
4726
4786
|
};
|
|
4727
4787
|
var InputInnerInput = (props) => {
|
|
4728
4788
|
const {
|
|
4729
|
-
value =
|
|
4730
|
-
type =
|
|
4731
|
-
placeholder =
|
|
4732
|
-
autocomplete =
|
|
4789
|
+
value = defaultProps12.value,
|
|
4790
|
+
type = defaultProps12.type,
|
|
4791
|
+
placeholder = defaultProps12.placeholder,
|
|
4792
|
+
autocomplete = defaultProps12.autocomplete,
|
|
4733
4793
|
...other
|
|
4734
4794
|
} = props;
|
|
4735
|
-
return /* @__PURE__ */
|
|
4795
|
+
return /* @__PURE__ */ jsx18(
|
|
4736
4796
|
"input",
|
|
4737
4797
|
{
|
|
4738
4798
|
...other,
|
|
@@ -4744,15 +4804,15 @@ var InputInnerInput = (props) => {
|
|
|
4744
4804
|
}
|
|
4745
4805
|
);
|
|
4746
4806
|
};
|
|
4747
|
-
InputInnerInput.states =
|
|
4748
|
-
InputInnerInput.options =
|
|
4807
|
+
InputInnerInput.states = states12;
|
|
4808
|
+
InputInnerInput.options = options12;
|
|
4749
4809
|
InputInnerInput.className = className2;
|
|
4750
4810
|
|
|
4751
4811
|
// src/input/input-inner-span.tsx
|
|
4752
|
-
import { jsx as
|
|
4812
|
+
import { jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4753
4813
|
var className3 = `k-input-inner`;
|
|
4754
|
-
var
|
|
4755
|
-
var
|
|
4814
|
+
var states13 = [];
|
|
4815
|
+
var options13 = {};
|
|
4756
4816
|
var InputInnerSpan = (props) => {
|
|
4757
4817
|
const {
|
|
4758
4818
|
value,
|
|
@@ -4769,34 +4829,34 @@ var InputInnerSpan = (props) => {
|
|
|
4769
4829
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4770
4830
|
children: [
|
|
4771
4831
|
valueIcon,
|
|
4772
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4832
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx19(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4773
4833
|
showValue && !value && placeholder,
|
|
4774
|
-
showValue && value && /* @__PURE__ */
|
|
4834
|
+
showValue && value && /* @__PURE__ */ jsx19("span", { className: "k-input-value-text", children: value })
|
|
4775
4835
|
]
|
|
4776
4836
|
}
|
|
4777
4837
|
);
|
|
4778
4838
|
};
|
|
4779
|
-
InputInnerSpan.states =
|
|
4780
|
-
InputInnerSpan.options =
|
|
4839
|
+
InputInnerSpan.states = states13;
|
|
4840
|
+
InputInnerSpan.options = options13;
|
|
4781
4841
|
InputInnerSpan.className = className3;
|
|
4782
4842
|
|
|
4783
4843
|
// src/input/input-inner-textarea.tsx
|
|
4784
|
-
import { jsx as
|
|
4785
|
-
var
|
|
4844
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4845
|
+
var defaultProps13 = {
|
|
4786
4846
|
value: "",
|
|
4787
4847
|
placeholder: ""
|
|
4788
4848
|
};
|
|
4789
4849
|
var className4 = `k-input-inner`;
|
|
4790
|
-
var
|
|
4791
|
-
var
|
|
4850
|
+
var states14 = [];
|
|
4851
|
+
var options14 = {};
|
|
4792
4852
|
var InputInnerTextarea = (props) => {
|
|
4793
4853
|
const {
|
|
4794
|
-
value =
|
|
4795
|
-
placeholder =
|
|
4854
|
+
value = defaultProps13.value,
|
|
4855
|
+
placeholder = defaultProps13.placeholder,
|
|
4796
4856
|
rows,
|
|
4797
4857
|
...other
|
|
4798
4858
|
} = props;
|
|
4799
|
-
return /* @__PURE__ */
|
|
4859
|
+
return /* @__PURE__ */ jsx20(
|
|
4800
4860
|
"textarea",
|
|
4801
4861
|
{
|
|
4802
4862
|
...other,
|
|
@@ -4807,14 +4867,14 @@ var InputInnerTextarea = (props) => {
|
|
|
4807
4867
|
}
|
|
4808
4868
|
);
|
|
4809
4869
|
};
|
|
4810
|
-
InputInnerTextarea.states =
|
|
4811
|
-
InputInnerTextarea.options =
|
|
4870
|
+
InputInnerTextarea.states = states14;
|
|
4871
|
+
InputInnerTextarea.options = options14;
|
|
4812
4872
|
InputInnerTextarea.className = className4;
|
|
4813
4873
|
|
|
4814
4874
|
// src/input/input-loading-icon.tsx
|
|
4815
|
-
import { Fragment as Fragment8, jsx as
|
|
4875
|
+
import { Fragment as Fragment8, jsx as jsx21 } from "react/jsx-runtime";
|
|
4816
4876
|
var className5 = `k-input-loading-icon`;
|
|
4817
|
-
var
|
|
4877
|
+
var states15 = [
|
|
4818
4878
|
States.disabled,
|
|
4819
4879
|
States.loading
|
|
4820
4880
|
];
|
|
@@ -4824,21 +4884,21 @@ var InputLoadingIcon = (props) => {
|
|
|
4824
4884
|
loading
|
|
4825
4885
|
} = props;
|
|
4826
4886
|
if (disabled || !loading) {
|
|
4827
|
-
return /* @__PURE__ */
|
|
4887
|
+
return /* @__PURE__ */ jsx21(Fragment8, {});
|
|
4828
4888
|
}
|
|
4829
|
-
return /* @__PURE__ */
|
|
4889
|
+
return /* @__PURE__ */ jsx21(Icon, { className: classNames(props.className, className5), icon: "loading", type: "font" });
|
|
4830
4890
|
};
|
|
4831
4891
|
|
|
4832
4892
|
// src/input/input-validation-icon.tsx
|
|
4833
|
-
import { Fragment as Fragment9, jsx as
|
|
4893
|
+
import { Fragment as Fragment9, jsx as jsx22 } from "react/jsx-runtime";
|
|
4834
4894
|
var className6 = `k-input-validation-icon`;
|
|
4835
|
-
var
|
|
4895
|
+
var states16 = [
|
|
4836
4896
|
States.valid,
|
|
4837
4897
|
States.invalid,
|
|
4838
4898
|
States.disabled,
|
|
4839
4899
|
States.loading
|
|
4840
4900
|
];
|
|
4841
|
-
var
|
|
4901
|
+
var options15 = {};
|
|
4842
4902
|
var InputValidationIcon = (props) => {
|
|
4843
4903
|
const {
|
|
4844
4904
|
valid,
|
|
@@ -4849,41 +4909,41 @@ var InputValidationIcon = (props) => {
|
|
|
4849
4909
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4850
4910
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4851
4911
|
if (disabled || loading || !renderValidationIcon) {
|
|
4852
|
-
return /* @__PURE__ */
|
|
4912
|
+
return /* @__PURE__ */ jsx22(Fragment9, {});
|
|
4853
4913
|
}
|
|
4854
|
-
return /* @__PURE__ */
|
|
4914
|
+
return /* @__PURE__ */ jsx22(Icon, { className: classNames(className6), icon: iconName });
|
|
4855
4915
|
};
|
|
4856
|
-
InputValidationIcon.states =
|
|
4857
|
-
InputValidationIcon.options =
|
|
4916
|
+
InputValidationIcon.states = states16;
|
|
4917
|
+
InputValidationIcon.options = options15;
|
|
4858
4918
|
InputValidationIcon.className = className6;
|
|
4859
4919
|
|
|
4860
4920
|
// src/input/input-prefix.tsx
|
|
4861
|
-
import { Fragment as Fragment10, jsx as
|
|
4921
|
+
import { Fragment as Fragment10, jsx as jsx23 } from "react/jsx-runtime";
|
|
4862
4922
|
var className7 = `k-input-prefix`;
|
|
4863
4923
|
var InputPrefix = (props) => {
|
|
4864
4924
|
if (!props.children) {
|
|
4865
|
-
return /* @__PURE__ */
|
|
4925
|
+
return /* @__PURE__ */ jsx23(Fragment10, {});
|
|
4866
4926
|
}
|
|
4867
|
-
return /* @__PURE__ */
|
|
4927
|
+
return /* @__PURE__ */ jsx23("span", { className: classNames(className7, props.className), children: props.children });
|
|
4868
4928
|
};
|
|
4869
4929
|
|
|
4870
4930
|
// src/input/input-suffix.tsx
|
|
4871
|
-
import { Fragment as Fragment11, jsx as
|
|
4931
|
+
import { Fragment as Fragment11, jsx as jsx24 } from "react/jsx-runtime";
|
|
4872
4932
|
var className8 = `k-input-suffix`;
|
|
4873
4933
|
var InputSuffix = (props) => {
|
|
4874
4934
|
if (!props.children) {
|
|
4875
|
-
return /* @__PURE__ */
|
|
4935
|
+
return /* @__PURE__ */ jsx24(Fragment11, {});
|
|
4876
4936
|
}
|
|
4877
|
-
return /* @__PURE__ */
|
|
4937
|
+
return /* @__PURE__ */ jsx24("span", { className: classNames(className8, props.className), children: props.children });
|
|
4878
4938
|
};
|
|
4879
4939
|
|
|
4880
4940
|
// src/input/input-separator.tsx
|
|
4881
|
-
import { jsx as
|
|
4941
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4882
4942
|
|
|
4883
4943
|
// src/textarea/textarea.spec.tsx
|
|
4884
|
-
import { jsx as
|
|
4944
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4885
4945
|
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
4886
|
-
var
|
|
4946
|
+
var states17 = [
|
|
4887
4947
|
States.hover,
|
|
4888
4948
|
States.focus,
|
|
4889
4949
|
States.valid,
|
|
@@ -4891,12 +4951,12 @@ var states15 = [
|
|
|
4891
4951
|
States.required,
|
|
4892
4952
|
States.disabled
|
|
4893
4953
|
];
|
|
4894
|
-
var
|
|
4954
|
+
var options16 = {
|
|
4895
4955
|
size: [Size.small, Size.medium, Size.large],
|
|
4896
4956
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4897
4957
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4898
4958
|
};
|
|
4899
|
-
var
|
|
4959
|
+
var defaultProps14 = {
|
|
4900
4960
|
size: Input.defaultProps.size,
|
|
4901
4961
|
rounded: Input.defaultProps.rounded,
|
|
4902
4962
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -4917,7 +4977,7 @@ var Textarea = (props) => {
|
|
|
4917
4977
|
disabled,
|
|
4918
4978
|
...other
|
|
4919
4979
|
} = props;
|
|
4920
|
-
return /* @__PURE__ */
|
|
4980
|
+
return /* @__PURE__ */ jsx26(
|
|
4921
4981
|
Input,
|
|
4922
4982
|
{
|
|
4923
4983
|
...other,
|
|
@@ -4931,7 +4991,7 @@ var Textarea = (props) => {
|
|
|
4931
4991
|
required,
|
|
4932
4992
|
disabled,
|
|
4933
4993
|
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
4934
|
-
children: /* @__PURE__ */
|
|
4994
|
+
children: /* @__PURE__ */ jsx26(
|
|
4935
4995
|
InputInnerTextarea,
|
|
4936
4996
|
{
|
|
4937
4997
|
className: classNames(
|
|
@@ -4945,18 +5005,18 @@ var Textarea = (props) => {
|
|
|
4945
5005
|
}
|
|
4946
5006
|
);
|
|
4947
5007
|
};
|
|
4948
|
-
Textarea.states =
|
|
4949
|
-
Textarea.options =
|
|
5008
|
+
Textarea.states = states17;
|
|
5009
|
+
Textarea.options = options16;
|
|
4950
5010
|
Textarea.className = TEXTAREA_CLASSNAME;
|
|
4951
|
-
Textarea.defaultProps =
|
|
5011
|
+
Textarea.defaultProps = defaultProps14;
|
|
4952
5012
|
|
|
4953
5013
|
// src/textarea/templates/textarea-normal.tsx
|
|
4954
|
-
import { jsx as
|
|
5014
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4955
5015
|
|
|
4956
5016
|
// src/textbox/textbox.spec.tsx
|
|
4957
|
-
import { jsx as
|
|
5017
|
+
import { jsx as jsx28, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4958
5018
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4959
|
-
var
|
|
5019
|
+
var states18 = [
|
|
4960
5020
|
States.hover,
|
|
4961
5021
|
States.focus,
|
|
4962
5022
|
States.valid,
|
|
@@ -4966,12 +5026,12 @@ var states16 = [
|
|
|
4966
5026
|
States.loading,
|
|
4967
5027
|
States.readonly
|
|
4968
5028
|
];
|
|
4969
|
-
var
|
|
5029
|
+
var options17 = {
|
|
4970
5030
|
size: [Size.small, Size.medium, Size.large],
|
|
4971
5031
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4972
5032
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4973
5033
|
};
|
|
4974
|
-
var
|
|
5034
|
+
var defaultProps15 = {
|
|
4975
5035
|
showClearButton: true,
|
|
4976
5036
|
size: Input.defaultProps.size,
|
|
4977
5037
|
rounded: Input.defaultProps.rounded,
|
|
@@ -4994,7 +5054,7 @@ var Textbox = (props) => {
|
|
|
4994
5054
|
loading,
|
|
4995
5055
|
disabled,
|
|
4996
5056
|
readonly,
|
|
4997
|
-
showClearButton =
|
|
5057
|
+
showClearButton = defaultProps15.showClearButton,
|
|
4998
5058
|
...other
|
|
4999
5059
|
} = props;
|
|
5000
5060
|
return /* @__PURE__ */ jsxs5(
|
|
@@ -5014,9 +5074,9 @@ var Textbox = (props) => {
|
|
|
5014
5074
|
readonly,
|
|
5015
5075
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5016
5076
|
children: [
|
|
5017
|
-
/* @__PURE__ */
|
|
5018
|
-
/* @__PURE__ */
|
|
5019
|
-
/* @__PURE__ */
|
|
5077
|
+
/* @__PURE__ */ jsx28(InputPrefix, { children: prefix }),
|
|
5078
|
+
/* @__PURE__ */ jsx28(InputInnerInput, { placeholder, value }),
|
|
5079
|
+
/* @__PURE__ */ jsx28(
|
|
5020
5080
|
InputValidationIcon,
|
|
5021
5081
|
{
|
|
5022
5082
|
valid,
|
|
@@ -5025,14 +5085,14 @@ var Textbox = (props) => {
|
|
|
5025
5085
|
disabled
|
|
5026
5086
|
}
|
|
5027
5087
|
),
|
|
5028
|
-
/* @__PURE__ */
|
|
5088
|
+
/* @__PURE__ */ jsx28(
|
|
5029
5089
|
InputLoadingIcon,
|
|
5030
5090
|
{
|
|
5031
5091
|
loading,
|
|
5032
5092
|
disabled
|
|
5033
5093
|
}
|
|
5034
5094
|
),
|
|
5035
|
-
showClearButton && /* @__PURE__ */
|
|
5095
|
+
showClearButton && /* @__PURE__ */ jsx28(
|
|
5036
5096
|
InputClearValue,
|
|
5037
5097
|
{
|
|
5038
5098
|
loading,
|
|
@@ -5041,31 +5101,31 @@ var Textbox = (props) => {
|
|
|
5041
5101
|
value
|
|
5042
5102
|
}
|
|
5043
5103
|
),
|
|
5044
|
-
/* @__PURE__ */
|
|
5104
|
+
/* @__PURE__ */ jsx28(InputSuffix, { children: suffix })
|
|
5045
5105
|
]
|
|
5046
5106
|
}
|
|
5047
5107
|
);
|
|
5048
5108
|
};
|
|
5049
|
-
Textbox.states =
|
|
5050
|
-
Textbox.options =
|
|
5109
|
+
Textbox.states = states18;
|
|
5110
|
+
Textbox.options = options17;
|
|
5051
5111
|
Textbox.className = TEXTBOX_CLASSNAME;
|
|
5052
|
-
Textbox.defaultProps =
|
|
5112
|
+
Textbox.defaultProps = defaultProps15;
|
|
5053
5113
|
|
|
5054
5114
|
// src/textbox/templates/textbox-normal.tsx
|
|
5055
|
-
import { jsx as
|
|
5115
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5056
5116
|
|
|
5057
5117
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5058
|
-
import { jsx as
|
|
5118
|
+
import { jsx as jsx30, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5059
5119
|
|
|
5060
5120
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5061
|
-
import { jsx as
|
|
5121
|
+
import { jsx as jsx31, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5062
5122
|
|
|
5063
5123
|
// src/animation-container/animation-container.spec.tsx
|
|
5064
|
-
import { jsx as
|
|
5124
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5065
5125
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5066
|
-
var
|
|
5067
|
-
var
|
|
5068
|
-
var
|
|
5126
|
+
var states19 = [];
|
|
5127
|
+
var options18 = {};
|
|
5128
|
+
var defaultProps16 = {
|
|
5069
5129
|
positionMode: "absolute"
|
|
5070
5130
|
};
|
|
5071
5131
|
var AnimationContainer = (props) => {
|
|
@@ -5075,7 +5135,7 @@ var AnimationContainer = (props) => {
|
|
|
5075
5135
|
offset,
|
|
5076
5136
|
...other
|
|
5077
5137
|
} = props;
|
|
5078
|
-
return /* @__PURE__ */
|
|
5138
|
+
return /* @__PURE__ */ jsx32(
|
|
5079
5139
|
"div",
|
|
5080
5140
|
{
|
|
5081
5141
|
...other,
|
|
@@ -5087,21 +5147,21 @@ var AnimationContainer = (props) => {
|
|
|
5087
5147
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5088
5148
|
}
|
|
5089
5149
|
),
|
|
5090
|
-
children: /* @__PURE__ */
|
|
5150
|
+
children: /* @__PURE__ */ jsx32("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5091
5151
|
}
|
|
5092
5152
|
);
|
|
5093
5153
|
};
|
|
5094
|
-
AnimationContainer.states =
|
|
5095
|
-
AnimationContainer.options =
|
|
5154
|
+
AnimationContainer.states = states19;
|
|
5155
|
+
AnimationContainer.options = options18;
|
|
5096
5156
|
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
5097
|
-
AnimationContainer.defaultProps =
|
|
5157
|
+
AnimationContainer.defaultProps = defaultProps16;
|
|
5098
5158
|
|
|
5099
5159
|
// src/popup/popup.spec.tsx
|
|
5100
|
-
import { jsx as
|
|
5160
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5101
5161
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5102
|
-
var
|
|
5103
|
-
var
|
|
5104
|
-
var
|
|
5162
|
+
var states20 = [];
|
|
5163
|
+
var options19 = {};
|
|
5164
|
+
var defaultProps17 = {
|
|
5105
5165
|
positionMode: "absolute"
|
|
5106
5166
|
};
|
|
5107
5167
|
var Popup = (props) => {
|
|
@@ -5110,40 +5170,40 @@ var Popup = (props) => {
|
|
|
5110
5170
|
positionMode,
|
|
5111
5171
|
...other
|
|
5112
5172
|
} = props;
|
|
5113
|
-
return /* @__PURE__ */
|
|
5173
|
+
return /* @__PURE__ */ jsx33(
|
|
5114
5174
|
AnimationContainer,
|
|
5115
5175
|
{
|
|
5116
5176
|
positionMode,
|
|
5117
5177
|
offset,
|
|
5118
|
-
children: /* @__PURE__ */
|
|
5178
|
+
children: /* @__PURE__ */ jsx33("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5119
5179
|
}
|
|
5120
5180
|
);
|
|
5121
5181
|
};
|
|
5122
|
-
Popup.states =
|
|
5123
|
-
Popup.options =
|
|
5182
|
+
Popup.states = states20;
|
|
5183
|
+
Popup.options = options19;
|
|
5124
5184
|
Popup.className = POPUP_CLASSNAME;
|
|
5125
|
-
Popup.defaultProps =
|
|
5185
|
+
Popup.defaultProps = defaultProps17;
|
|
5126
5186
|
|
|
5127
5187
|
// src/button-group/button-group.spec.tsx
|
|
5128
|
-
import { jsx as
|
|
5188
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5129
5189
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5130
|
-
var
|
|
5190
|
+
var states21 = [
|
|
5131
5191
|
States.disabled
|
|
5132
5192
|
];
|
|
5133
|
-
var
|
|
5193
|
+
var options20 = {
|
|
5134
5194
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
5135
5195
|
};
|
|
5136
|
-
var
|
|
5196
|
+
var defaultProps18 = {
|
|
5137
5197
|
fillMode: FillMode.solid
|
|
5138
5198
|
};
|
|
5139
5199
|
var ButtonGroup = (props) => {
|
|
5140
5200
|
const {
|
|
5141
|
-
fillMode =
|
|
5201
|
+
fillMode = defaultProps18.fillMode,
|
|
5142
5202
|
disabled,
|
|
5143
5203
|
stretched,
|
|
5144
5204
|
...other
|
|
5145
5205
|
} = props;
|
|
5146
|
-
return /* @__PURE__ */
|
|
5206
|
+
return /* @__PURE__ */ jsx34(
|
|
5147
5207
|
"div",
|
|
5148
5208
|
{
|
|
5149
5209
|
...other,
|
|
@@ -5164,31 +5224,31 @@ var ButtonGroup = (props) => {
|
|
|
5164
5224
|
}
|
|
5165
5225
|
);
|
|
5166
5226
|
};
|
|
5167
|
-
ButtonGroup.states =
|
|
5168
|
-
ButtonGroup.options =
|
|
5227
|
+
ButtonGroup.states = states21;
|
|
5228
|
+
ButtonGroup.options = options20;
|
|
5169
5229
|
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
5170
|
-
ButtonGroup.defaultProps =
|
|
5230
|
+
ButtonGroup.defaultProps = defaultProps18;
|
|
5171
5231
|
|
|
5172
5232
|
// src/button-group/templates/icon-button-group.tsx
|
|
5173
|
-
import { jsx as
|
|
5233
|
+
import { jsx as jsx35, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5174
5234
|
|
|
5175
5235
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5176
|
-
import { jsx as
|
|
5236
|
+
import { jsx as jsx36, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5177
5237
|
|
|
5178
5238
|
// src/button-group/templates/text-button-group.tsx
|
|
5179
|
-
import { jsx as
|
|
5239
|
+
import { jsx as jsx37, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5180
5240
|
|
|
5181
5241
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5182
|
-
import { jsx as
|
|
5242
|
+
import { jsx as jsx38, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5183
5243
|
|
|
5184
5244
|
// src/calendar/calendar.spec.tsx
|
|
5185
|
-
import { jsx as
|
|
5245
|
+
import { jsx as jsx39, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5186
5246
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5187
|
-
var
|
|
5188
|
-
var
|
|
5247
|
+
var states22 = [];
|
|
5248
|
+
var options21 = {
|
|
5189
5249
|
size: [Size.small, Size.medium, Size.large]
|
|
5190
5250
|
};
|
|
5191
|
-
var
|
|
5251
|
+
var defaultProps19 = {
|
|
5192
5252
|
size: Size.medium,
|
|
5193
5253
|
viewsCount: 1,
|
|
5194
5254
|
orientation: "horizontal",
|
|
@@ -5197,11 +5257,11 @@ var defaultProps17 = {
|
|
|
5197
5257
|
};
|
|
5198
5258
|
var Calendar = (props) => {
|
|
5199
5259
|
const {
|
|
5200
|
-
size =
|
|
5201
|
-
orientation =
|
|
5202
|
-
calendarView =
|
|
5203
|
-
calendarHeaderText =
|
|
5204
|
-
viewsCount =
|
|
5260
|
+
size = defaultProps19.size,
|
|
5261
|
+
orientation = defaultProps19.orientation,
|
|
5262
|
+
calendarView = defaultProps19.calendarView,
|
|
5263
|
+
calendarHeaderText = defaultProps19.calendarHeaderText,
|
|
5264
|
+
viewsCount = defaultProps19.viewsCount,
|
|
5205
5265
|
showWeek,
|
|
5206
5266
|
showOtherMonth,
|
|
5207
5267
|
showCalendarCaption,
|
|
@@ -5226,7 +5286,7 @@ var Calendar = (props) => {
|
|
|
5226
5286
|
}
|
|
5227
5287
|
),
|
|
5228
5288
|
children: [
|
|
5229
|
-
/* @__PURE__ */
|
|
5289
|
+
/* @__PURE__ */ jsx39(
|
|
5230
5290
|
CalendarHeader,
|
|
5231
5291
|
{
|
|
5232
5292
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5236,7 +5296,7 @@ var Calendar = (props) => {
|
|
|
5236
5296
|
dir
|
|
5237
5297
|
}
|
|
5238
5298
|
),
|
|
5239
|
-
/* @__PURE__ */
|
|
5299
|
+
/* @__PURE__ */ jsx39(
|
|
5240
5300
|
CalendarView,
|
|
5241
5301
|
{
|
|
5242
5302
|
calendarView,
|
|
@@ -5248,19 +5308,19 @@ var Calendar = (props) => {
|
|
|
5248
5308
|
selectedRange
|
|
5249
5309
|
}
|
|
5250
5310
|
),
|
|
5251
|
-
showCalendarFooter && /* @__PURE__ */
|
|
5311
|
+
showCalendarFooter && /* @__PURE__ */ jsx39(CalendarFooter, {})
|
|
5252
5312
|
]
|
|
5253
5313
|
}
|
|
5254
5314
|
);
|
|
5255
5315
|
};
|
|
5256
|
-
Calendar.states =
|
|
5257
|
-
Calendar.options =
|
|
5316
|
+
Calendar.states = states22;
|
|
5317
|
+
Calendar.options = options21;
|
|
5258
5318
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
5259
|
-
Calendar.defaultProps =
|
|
5319
|
+
Calendar.defaultProps = defaultProps19;
|
|
5260
5320
|
|
|
5261
5321
|
// src/calendar/calendar-cell.tsx
|
|
5262
|
-
import { jsx as
|
|
5263
|
-
var
|
|
5322
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5323
|
+
var states23 = [
|
|
5264
5324
|
States.hover,
|
|
5265
5325
|
States.focus,
|
|
5266
5326
|
States.active,
|
|
@@ -5309,21 +5369,21 @@ var CalendarCell = (props) => {
|
|
|
5309
5369
|
}
|
|
5310
5370
|
];
|
|
5311
5371
|
if (headerCell) {
|
|
5312
|
-
return /* @__PURE__ */
|
|
5372
|
+
return /* @__PURE__ */ jsx40("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5313
5373
|
}
|
|
5314
5374
|
if (weekCell) {
|
|
5315
|
-
return /* @__PURE__ */
|
|
5375
|
+
return /* @__PURE__ */ jsx40("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5316
5376
|
}
|
|
5317
|
-
return /* @__PURE__ */
|
|
5377
|
+
return /* @__PURE__ */ jsx40("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ jsx40("span", { className: "k-link", children: text }) });
|
|
5318
5378
|
};
|
|
5319
5379
|
|
|
5320
5380
|
// src/calendar/calendar-header.tsx
|
|
5321
|
-
import { jsx as
|
|
5381
|
+
import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5322
5382
|
var className9 = `k-calendar-header`;
|
|
5323
|
-
var
|
|
5383
|
+
var options22 = {
|
|
5324
5384
|
size: [Size.small, Size.medium, Size.large]
|
|
5325
5385
|
};
|
|
5326
|
-
var
|
|
5386
|
+
var defaultProps20 = {
|
|
5327
5387
|
calendarHeaderText: "October 2021",
|
|
5328
5388
|
showToday: true,
|
|
5329
5389
|
orientation: "horizontal",
|
|
@@ -5331,10 +5391,10 @@ var defaultProps18 = {
|
|
|
5331
5391
|
};
|
|
5332
5392
|
var CalendarHeader = (props) => {
|
|
5333
5393
|
const {
|
|
5334
|
-
calendarHeaderText =
|
|
5335
|
-
showToday =
|
|
5336
|
-
orientation =
|
|
5337
|
-
size =
|
|
5394
|
+
calendarHeaderText = defaultProps20.calendarHeaderText,
|
|
5395
|
+
showToday = defaultProps20.showToday,
|
|
5396
|
+
orientation = defaultProps20.orientation,
|
|
5397
|
+
size = defaultProps20.size,
|
|
5338
5398
|
dir,
|
|
5339
5399
|
...other
|
|
5340
5400
|
} = props;
|
|
@@ -5352,12 +5412,12 @@ var CalendarHeader = (props) => {
|
|
|
5352
5412
|
}
|
|
5353
5413
|
),
|
|
5354
5414
|
children: [
|
|
5355
|
-
/* @__PURE__ */
|
|
5356
|
-
/* @__PURE__ */
|
|
5415
|
+
/* @__PURE__ */ jsx41(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5416
|
+
/* @__PURE__ */ jsx41("span", { className: "k-spacer" }),
|
|
5357
5417
|
/* @__PURE__ */ jsxs13("span", { className: "k-calendar-nav", children: [
|
|
5358
|
-
/* @__PURE__ */
|
|
5359
|
-
showToday && /* @__PURE__ */
|
|
5360
|
-
/* @__PURE__ */
|
|
5418
|
+
/* @__PURE__ */ jsx41(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5419
|
+
showToday && /* @__PURE__ */ jsx41(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5420
|
+
/* @__PURE__ */ jsx41(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5361
5421
|
] })
|
|
5362
5422
|
]
|
|
5363
5423
|
}
|
|
@@ -5365,12 +5425,12 @@ var CalendarHeader = (props) => {
|
|
|
5365
5425
|
};
|
|
5366
5426
|
|
|
5367
5427
|
// src/calendar/calendar-footer.tsx
|
|
5368
|
-
import { jsx as
|
|
5428
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5369
5429
|
var className10 = `k-calendar-footer`;
|
|
5370
|
-
var CalendarFooter = (props) => /* @__PURE__ */
|
|
5430
|
+
var CalendarFooter = (props) => /* @__PURE__ */ jsx42("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ jsx42(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5371
5431
|
|
|
5372
5432
|
// src/calendar/calendar-table.tsx
|
|
5373
|
-
import { jsx as
|
|
5433
|
+
import { jsx as jsx43, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5374
5434
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5375
5435
|
var CalendarTable = (props) => {
|
|
5376
5436
|
const {
|
|
@@ -5391,25 +5451,25 @@ var CalendarTable = (props) => {
|
|
|
5391
5451
|
CALENDARTABLE_CLASSNAME
|
|
5392
5452
|
),
|
|
5393
5453
|
children: [
|
|
5394
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5454
|
+
showCalendarCaption && /* @__PURE__ */ jsx43("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5395
5455
|
/* @__PURE__ */ jsxs14("tbody", { className: "k-calendar-tbody", children: [
|
|
5396
5456
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5397
|
-
/* @__PURE__ */
|
|
5398
|
-
/* @__PURE__ */
|
|
5399
|
-
/* @__PURE__ */
|
|
5400
|
-
/* @__PURE__ */
|
|
5457
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Jan" }),
|
|
5458
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Feb" }),
|
|
5459
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Mar" }),
|
|
5460
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Apr" })
|
|
5401
5461
|
] }),
|
|
5402
5462
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5403
|
-
/* @__PURE__ */
|
|
5404
|
-
/* @__PURE__ */
|
|
5405
|
-
/* @__PURE__ */
|
|
5406
|
-
/* @__PURE__ */
|
|
5463
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "May" }),
|
|
5464
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Jun", hover: true }),
|
|
5465
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Jul", focus: true }),
|
|
5466
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Au", selected: true })
|
|
5407
5467
|
] }),
|
|
5408
5468
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5409
|
-
/* @__PURE__ */
|
|
5410
|
-
/* @__PURE__ */
|
|
5411
|
-
/* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5469
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Sep" }),
|
|
5470
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Oct", today: true }),
|
|
5471
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Nov" }),
|
|
5472
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "Dec" })
|
|
5413
5473
|
] })
|
|
5414
5474
|
] })
|
|
5415
5475
|
]
|
|
@@ -5426,25 +5486,25 @@ var CalendarTable = (props) => {
|
|
|
5426
5486
|
CALENDARTABLE_CLASSNAME
|
|
5427
5487
|
),
|
|
5428
5488
|
children: [
|
|
5429
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5489
|
+
showCalendarCaption && /* @__PURE__ */ jsx43("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5430
5490
|
/* @__PURE__ */ jsxs14("tbody", { className: "k-calendar-tbody", children: [
|
|
5431
5491
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5432
|
-
/* @__PURE__ */
|
|
5433
|
-
/* @__PURE__ */
|
|
5434
|
-
/* @__PURE__ */
|
|
5435
|
-
/* @__PURE__ */
|
|
5492
|
+
/* @__PURE__ */ jsx43(CalendarCell, { className: "k-out-of-range" }),
|
|
5493
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2020" }),
|
|
5494
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2021", today: true }),
|
|
5495
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2022" })
|
|
5436
5496
|
] }),
|
|
5437
5497
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5438
|
-
/* @__PURE__ */
|
|
5439
|
-
/* @__PURE__ */
|
|
5440
|
-
/* @__PURE__ */
|
|
5441
|
-
/* @__PURE__ */
|
|
5498
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2023" }),
|
|
5499
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2024", hover: true }),
|
|
5500
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2025", focus: true }),
|
|
5501
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2026", selected: true })
|
|
5442
5502
|
] }),
|
|
5443
5503
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5444
|
-
/* @__PURE__ */
|
|
5445
|
-
/* @__PURE__ */
|
|
5446
|
-
/* @__PURE__ */
|
|
5447
|
-
/* @__PURE__ */
|
|
5504
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2027" }),
|
|
5505
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2028" }),
|
|
5506
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2029" }),
|
|
5507
|
+
/* @__PURE__ */ jsx43(CalendarCell, { className: "k-out-of-range" })
|
|
5448
5508
|
] })
|
|
5449
5509
|
] })
|
|
5450
5510
|
]
|
|
@@ -5461,25 +5521,25 @@ var CalendarTable = (props) => {
|
|
|
5461
5521
|
CALENDARTABLE_CLASSNAME
|
|
5462
5522
|
),
|
|
5463
5523
|
children: [
|
|
5464
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5524
|
+
showCalendarCaption && /* @__PURE__ */ jsx43("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5465
5525
|
/* @__PURE__ */ jsxs14("tbody", { className: "k-calendar-tbody", children: [
|
|
5466
5526
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5467
|
-
/* @__PURE__ */
|
|
5468
|
-
/* @__PURE__ */
|
|
5469
|
-
/* @__PURE__ */
|
|
5470
|
-
/* @__PURE__ */
|
|
5527
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "1990 - 1999" }),
|
|
5528
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2000 - 2009" }),
|
|
5529
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5530
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2020 - 2029" })
|
|
5471
5531
|
] }),
|
|
5472
5532
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5473
|
-
/* @__PURE__ */
|
|
5474
|
-
/* @__PURE__ */
|
|
5475
|
-
/* @__PURE__ */
|
|
5476
|
-
/* @__PURE__ */
|
|
5533
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2030 - 2039" }),
|
|
5534
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5535
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5536
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5477
5537
|
] }),
|
|
5478
5538
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5479
|
-
/* @__PURE__ */
|
|
5480
|
-
/* @__PURE__ */
|
|
5481
|
-
/* @__PURE__ */
|
|
5482
|
-
/* @__PURE__ */
|
|
5539
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2070 - 2079" }),
|
|
5540
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2080 - 2089" }),
|
|
5541
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2090 - 2099" }),
|
|
5542
|
+
/* @__PURE__ */ jsx43(CalendarCell, { className: "k-out-of-range" })
|
|
5483
5543
|
] })
|
|
5484
5544
|
] })
|
|
5485
5545
|
]
|
|
@@ -5495,68 +5555,68 @@ var CalendarTable = (props) => {
|
|
|
5495
5555
|
CALENDARTABLE_CLASSNAME
|
|
5496
5556
|
),
|
|
5497
5557
|
children: [
|
|
5498
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5499
|
-
/* @__PURE__ */
|
|
5558
|
+
showCalendarCaption && /* @__PURE__ */ jsx43("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5559
|
+
/* @__PURE__ */ jsx43(CalendarTableHead, { showWeek }),
|
|
5500
5560
|
/* @__PURE__ */ jsxs14("tbody", { className: "k-calendar-tbody", children: [
|
|
5501
5561
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5502
|
-
showWeek && /* @__PURE__ */
|
|
5503
|
-
/* @__PURE__ */
|
|
5504
|
-
/* @__PURE__ */
|
|
5505
|
-
/* @__PURE__ */
|
|
5506
|
-
/* @__PURE__ */
|
|
5507
|
-
/* @__PURE__ */
|
|
5508
|
-
/* @__PURE__ */
|
|
5509
|
-
/* @__PURE__ */
|
|
5562
|
+
showWeek && /* @__PURE__ */ jsx43(CalendarCell, { text: "39", weekCell: true }),
|
|
5563
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5564
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "1" }),
|
|
5565
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2" }),
|
|
5566
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "3" }),
|
|
5567
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "4" }),
|
|
5568
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "5" }),
|
|
5569
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "6", weekend: true })
|
|
5510
5570
|
] }),
|
|
5511
5571
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5512
|
-
showWeek && /* @__PURE__ */
|
|
5513
|
-
/* @__PURE__ */
|
|
5514
|
-
/* @__PURE__ */
|
|
5515
|
-
/* @__PURE__ */
|
|
5516
|
-
/* @__PURE__ */
|
|
5517
|
-
/* @__PURE__ */
|
|
5518
|
-
/* @__PURE__ */
|
|
5519
|
-
/* @__PURE__ */
|
|
5572
|
+
showWeek && /* @__PURE__ */ jsx43(CalendarCell, { text: "40", weekCell: true }),
|
|
5573
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "7", weekend: true }),
|
|
5574
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "8", hover: true }),
|
|
5575
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "9", focus: true }),
|
|
5576
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "10", selected: true }),
|
|
5577
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5578
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5579
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "13", weekend: true })
|
|
5520
5580
|
] }),
|
|
5521
5581
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5522
|
-
showWeek && /* @__PURE__ */
|
|
5523
|
-
/* @__PURE__ */
|
|
5524
|
-
/* @__PURE__ */
|
|
5525
|
-
/* @__PURE__ */
|
|
5526
|
-
/* @__PURE__ */
|
|
5527
|
-
/* @__PURE__ */
|
|
5528
|
-
/* @__PURE__ */
|
|
5529
|
-
/* @__PURE__ */
|
|
5582
|
+
showWeek && /* @__PURE__ */ jsx43(CalendarCell, { text: "41", weekCell: true }),
|
|
5583
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "14", weekend: true }),
|
|
5584
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "15" }),
|
|
5585
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "16", today: true }),
|
|
5586
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "17" }),
|
|
5587
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "18" }),
|
|
5588
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "19" }),
|
|
5589
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "20", weekend: true })
|
|
5530
5590
|
] }),
|
|
5531
5591
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5532
|
-
showWeek && /* @__PURE__ */
|
|
5533
|
-
/* @__PURE__ */
|
|
5534
|
-
/* @__PURE__ */
|
|
5535
|
-
/* @__PURE__ */
|
|
5536
|
-
/* @__PURE__ */
|
|
5537
|
-
/* @__PURE__ */
|
|
5538
|
-
/* @__PURE__ */
|
|
5539
|
-
/* @__PURE__ */
|
|
5592
|
+
showWeek && /* @__PURE__ */ jsx43(CalendarCell, { text: "42", weekCell: true }),
|
|
5593
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "21", weekend: true }),
|
|
5594
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "22" }),
|
|
5595
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "23" }),
|
|
5596
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "24" }),
|
|
5597
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5598
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5599
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5540
5600
|
] }),
|
|
5541
5601
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5542
|
-
showWeek && /* @__PURE__ */
|
|
5543
|
-
/* @__PURE__ */
|
|
5544
|
-
/* @__PURE__ */
|
|
5545
|
-
/* @__PURE__ */
|
|
5546
|
-
/* @__PURE__ */
|
|
5547
|
-
/* @__PURE__ */
|
|
5548
|
-
/* @__PURE__ */
|
|
5549
|
-
/* @__PURE__ */
|
|
5602
|
+
showWeek && /* @__PURE__ */ jsx43(CalendarCell, { text: "43", weekCell: true }),
|
|
5603
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5604
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5605
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "30" }),
|
|
5606
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "31" }),
|
|
5607
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5608
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5609
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5550
5610
|
] }),
|
|
5551
5611
|
/* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5552
|
-
showWeek && /* @__PURE__ */
|
|
5553
|
-
/* @__PURE__ */
|
|
5554
|
-
/* @__PURE__ */
|
|
5555
|
-
/* @__PURE__ */
|
|
5556
|
-
/* @__PURE__ */
|
|
5557
|
-
/* @__PURE__ */
|
|
5558
|
-
/* @__PURE__ */
|
|
5559
|
-
/* @__PURE__ */
|
|
5612
|
+
showWeek && /* @__PURE__ */ jsx43(CalendarCell, { text: "44", weekCell: true }),
|
|
5613
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5614
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5615
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5616
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5617
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5618
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5619
|
+
/* @__PURE__ */ jsx43(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5560
5620
|
] })
|
|
5561
5621
|
] })
|
|
5562
5622
|
]
|
|
@@ -5565,52 +5625,52 @@ var CalendarTable = (props) => {
|
|
|
5565
5625
|
};
|
|
5566
5626
|
|
|
5567
5627
|
// src/calendar/calendar-table-head.tsx
|
|
5568
|
-
import { jsx as
|
|
5628
|
+
import { jsx as jsx44, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5569
5629
|
var className11 = `k-calendar-thead`;
|
|
5570
5630
|
var CalendarTableHead = (props) => {
|
|
5571
5631
|
const {
|
|
5572
5632
|
showWeek,
|
|
5573
5633
|
...other
|
|
5574
5634
|
} = props;
|
|
5575
|
-
return /* @__PURE__ */
|
|
5635
|
+
return /* @__PURE__ */ jsx44(
|
|
5576
5636
|
"thead",
|
|
5577
5637
|
{
|
|
5578
5638
|
...other,
|
|
5579
5639
|
className: classNames(props.className, className11),
|
|
5580
5640
|
children: /* @__PURE__ */ jsxs15("tr", { className: "k-calendar-tr", children: [
|
|
5581
|
-
showWeek && /* @__PURE__ */
|
|
5582
|
-
/* @__PURE__ */
|
|
5583
|
-
/* @__PURE__ */
|
|
5584
|
-
/* @__PURE__ */
|
|
5585
|
-
/* @__PURE__ */
|
|
5586
|
-
/* @__PURE__ */
|
|
5587
|
-
/* @__PURE__ */
|
|
5588
|
-
/* @__PURE__ */
|
|
5641
|
+
showWeek && /* @__PURE__ */ jsx44(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5642
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "Su", headerCell: true }),
|
|
5643
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5644
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5645
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "We", headerCell: true }),
|
|
5646
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "Th", headerCell: true }),
|
|
5647
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5648
|
+
/* @__PURE__ */ jsx44(CalendarCell, { text: "Sa", headerCell: true })
|
|
5589
5649
|
] })
|
|
5590
5650
|
}
|
|
5591
5651
|
);
|
|
5592
5652
|
};
|
|
5593
5653
|
|
|
5594
5654
|
// src/calendar/calendar-view.tsx
|
|
5595
|
-
import { jsx as
|
|
5655
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5596
5656
|
var className12 = `k-calendar-view`;
|
|
5597
|
-
var
|
|
5657
|
+
var defaultProps21 = {
|
|
5598
5658
|
viewsCount: 1,
|
|
5599
5659
|
orientation: "horizontal",
|
|
5600
5660
|
calendarView: "month"
|
|
5601
5661
|
};
|
|
5602
5662
|
var CalendarView = (props) => {
|
|
5603
5663
|
const {
|
|
5604
|
-
orientation =
|
|
5605
|
-
calendarView =
|
|
5606
|
-
viewsCount =
|
|
5664
|
+
orientation = defaultProps21.orientation,
|
|
5665
|
+
calendarView = defaultProps21.calendarView,
|
|
5666
|
+
viewsCount = defaultProps21.viewsCount,
|
|
5607
5667
|
showWeek,
|
|
5608
5668
|
showOtherMonth,
|
|
5609
5669
|
showCalendarCaption,
|
|
5610
5670
|
selectedRange,
|
|
5611
5671
|
...other
|
|
5612
5672
|
} = props;
|
|
5613
|
-
return /* @__PURE__ */
|
|
5673
|
+
return /* @__PURE__ */ jsx45(
|
|
5614
5674
|
"div",
|
|
5615
5675
|
{
|
|
5616
5676
|
...other,
|
|
@@ -5626,7 +5686,7 @@ var CalendarView = (props) => {
|
|
|
5626
5686
|
}
|
|
5627
5687
|
),
|
|
5628
5688
|
children: [...Array(viewsCount)].map(
|
|
5629
|
-
(_e, i) => /* @__PURE__ */
|
|
5689
|
+
(_e, i) => /* @__PURE__ */ jsx45(
|
|
5630
5690
|
CalendarTable,
|
|
5631
5691
|
{
|
|
5632
5692
|
calendarView,
|
|
@@ -5643,18 +5703,18 @@ var CalendarView = (props) => {
|
|
|
5643
5703
|
};
|
|
5644
5704
|
|
|
5645
5705
|
// src/time-selector/time-selector.spec.tsx
|
|
5646
|
-
import { Fragment as Fragment12, jsx as
|
|
5706
|
+
import { Fragment as Fragment12, jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5647
5707
|
var TIMESELECTOR_CLASSNAME = `k-timeselector`;
|
|
5648
|
-
var
|
|
5649
|
-
var
|
|
5708
|
+
var states24 = [];
|
|
5709
|
+
var options23 = {
|
|
5650
5710
|
size: [Size.small, Size.medium, Size.large]
|
|
5651
5711
|
};
|
|
5652
|
-
var
|
|
5712
|
+
var defaultProps22 = {
|
|
5653
5713
|
size: Size.medium
|
|
5654
5714
|
};
|
|
5655
5715
|
var TimeSelector = (props) => {
|
|
5656
5716
|
const {
|
|
5657
|
-
size =
|
|
5717
|
+
size = defaultProps22.size,
|
|
5658
5718
|
header,
|
|
5659
5719
|
fastSelection,
|
|
5660
5720
|
columns,
|
|
@@ -5670,7 +5730,7 @@ var TimeSelector = (props) => {
|
|
|
5670
5730
|
if (index === 0 || columnType === "tt") {
|
|
5671
5731
|
separator = false;
|
|
5672
5732
|
}
|
|
5673
|
-
return /* @__PURE__ */
|
|
5733
|
+
return /* @__PURE__ */ jsx46(Fragment12, { children: /* @__PURE__ */ jsx46(TimeSelectorColumn, { type: columnType, focus, separator }) });
|
|
5674
5734
|
});
|
|
5675
5735
|
return /* @__PURE__ */ jsxs16(
|
|
5676
5736
|
"div",
|
|
@@ -5684,24 +5744,24 @@ var TimeSelector = (props) => {
|
|
|
5684
5744
|
})
|
|
5685
5745
|
),
|
|
5686
5746
|
children: [
|
|
5687
|
-
/* @__PURE__ */
|
|
5688
|
-
/* @__PURE__ */
|
|
5747
|
+
/* @__PURE__ */ jsx46(Fragment12, { children: header }),
|
|
5748
|
+
/* @__PURE__ */ jsx46(Fragment12, { children: fastSelection }),
|
|
5689
5749
|
/* @__PURE__ */ jsxs16("div", { className: "k-time-list-container", children: [
|
|
5690
|
-
/* @__PURE__ */
|
|
5750
|
+
/* @__PURE__ */ jsx46("span", { className: "k-time-highlight" }),
|
|
5691
5751
|
columnsDom
|
|
5692
5752
|
] })
|
|
5693
5753
|
]
|
|
5694
5754
|
}
|
|
5695
5755
|
);
|
|
5696
5756
|
};
|
|
5697
|
-
TimeSelector.states =
|
|
5698
|
-
TimeSelector.options =
|
|
5757
|
+
TimeSelector.states = states24;
|
|
5758
|
+
TimeSelector.options = options23;
|
|
5699
5759
|
TimeSelector.className = TIMESELECTOR_CLASSNAME;
|
|
5700
|
-
TimeSelector.defaultProps =
|
|
5760
|
+
TimeSelector.defaultProps = defaultProps22;
|
|
5701
5761
|
|
|
5702
5762
|
// src/time-selector/time-selector-column.tsx
|
|
5703
|
-
import { Fragment as Fragment13, jsx as
|
|
5704
|
-
var
|
|
5763
|
+
import { Fragment as Fragment13, jsx as jsx47, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5764
|
+
var states25 = [
|
|
5705
5765
|
States.focus
|
|
5706
5766
|
];
|
|
5707
5767
|
var TimeSelectorColumn = (props) => {
|
|
@@ -5739,10 +5799,10 @@ var TimeSelectorColumn = (props) => {
|
|
|
5739
5799
|
break;
|
|
5740
5800
|
}
|
|
5741
5801
|
const items = columnData.map(
|
|
5742
|
-
(data) => /* @__PURE__ */
|
|
5802
|
+
(data) => /* @__PURE__ */ jsx47(Fragment13, { children: /* @__PURE__ */ jsx47("li", { className: "k-item", children: /* @__PURE__ */ jsx47("span", { children: data }) }) })
|
|
5743
5803
|
);
|
|
5744
5804
|
return /* @__PURE__ */ jsxs17(Fragment13, { children: [
|
|
5745
|
-
separator && /* @__PURE__ */
|
|
5805
|
+
separator && /* @__PURE__ */ jsx47("div", { className: "k-time-separator", children: ":" }),
|
|
5746
5806
|
/* @__PURE__ */ jsxs17(
|
|
5747
5807
|
"div",
|
|
5748
5808
|
{
|
|
@@ -5755,10 +5815,10 @@ var TimeSelectorColumn = (props) => {
|
|
|
5755
5815
|
})
|
|
5756
5816
|
),
|
|
5757
5817
|
children: [
|
|
5758
|
-
/* @__PURE__ */
|
|
5759
|
-
/* @__PURE__ */
|
|
5760
|
-
/* @__PURE__ */
|
|
5761
|
-
/* @__PURE__ */
|
|
5818
|
+
/* @__PURE__ */ jsx47("span", { className: "k-title", children: text }),
|
|
5819
|
+
/* @__PURE__ */ jsx47("div", { className: "k-time-list", children: /* @__PURE__ */ jsxs17("div", { className: "k-content k-scrollable k-time-container", children: [
|
|
5820
|
+
/* @__PURE__ */ jsx47("ul", { className: "k-reset", style: { transform: "translateY(97px)" }, children: items }),
|
|
5821
|
+
/* @__PURE__ */ jsx47("div", { className: "k-scrollable-placeholder" })
|
|
5762
5822
|
] }) })
|
|
5763
5823
|
]
|
|
5764
5824
|
}
|
|
@@ -5767,7 +5827,7 @@ var TimeSelectorColumn = (props) => {
|
|
|
5767
5827
|
};
|
|
5768
5828
|
|
|
5769
5829
|
// src/time-selector/time-selector-header.tsx
|
|
5770
|
-
import { jsx as
|
|
5830
|
+
import { jsx as jsx48, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5771
5831
|
var className13 = `k-time-header`;
|
|
5772
5832
|
var TimeSelectorHeader = (props) => {
|
|
5773
5833
|
const {
|
|
@@ -5783,7 +5843,7 @@ var TimeSelectorHeader = (props) => {
|
|
|
5783
5843
|
className13
|
|
5784
5844
|
),
|
|
5785
5845
|
children: [
|
|
5786
|
-
title != null && /* @__PURE__ */
|
|
5846
|
+
title != null && /* @__PURE__ */ jsx48("span", { className: "k-title", children: title }),
|
|
5787
5847
|
props.children
|
|
5788
5848
|
]
|
|
5789
5849
|
}
|
|
@@ -5791,34 +5851,34 @@ var TimeSelectorHeader = (props) => {
|
|
|
5791
5851
|
};
|
|
5792
5852
|
|
|
5793
5853
|
// src/time-selector/time-selector-fast-selection.tsx
|
|
5794
|
-
import { jsx as
|
|
5854
|
+
import { jsx as jsx49, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5795
5855
|
|
|
5796
5856
|
// src/time-selector/templates/time-selector-all.tsx
|
|
5797
|
-
import { jsx as
|
|
5857
|
+
import { jsx as jsx50, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5798
5858
|
|
|
5799
5859
|
// src/time-selector/templates/time-selector-hour.tsx
|
|
5800
|
-
import { jsx as
|
|
5860
|
+
import { jsx as jsx51, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5801
5861
|
|
|
5802
5862
|
// src/time-selector/templates/time-selector-minute.tsx
|
|
5803
|
-
import { jsx as
|
|
5863
|
+
import { jsx as jsx52, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5804
5864
|
|
|
5805
5865
|
// src/datetime-selector/datetime-selector.spec.tsx
|
|
5806
|
-
import { Fragment as Fragment14, jsx as
|
|
5866
|
+
import { Fragment as Fragment14, jsx as jsx53, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5807
5867
|
var DATETIMESELECTOR_CLASSNAME = `k-datetime-wrap`;
|
|
5808
|
-
var
|
|
5809
|
-
var
|
|
5868
|
+
var states26 = [];
|
|
5869
|
+
var options24 = {
|
|
5810
5870
|
size: [Size.small, Size.medium, Size.large]
|
|
5811
5871
|
};
|
|
5812
|
-
var
|
|
5872
|
+
var defaultProps23 = {
|
|
5813
5873
|
tab: "date",
|
|
5814
5874
|
size: Size.medium,
|
|
5815
5875
|
actionButtons: true
|
|
5816
5876
|
};
|
|
5817
5877
|
var DateTimeSelector = (props) => {
|
|
5818
5878
|
const {
|
|
5819
|
-
size =
|
|
5820
|
-
tab =
|
|
5821
|
-
actionButtons =
|
|
5879
|
+
size = defaultProps23.size,
|
|
5880
|
+
tab = defaultProps23.tab,
|
|
5881
|
+
actionButtons = defaultProps23.actionButtons,
|
|
5822
5882
|
dir,
|
|
5823
5883
|
...other
|
|
5824
5884
|
} = props;
|
|
@@ -5838,36 +5898,36 @@ var DateTimeSelector = (props) => {
|
|
|
5838
5898
|
})
|
|
5839
5899
|
),
|
|
5840
5900
|
children: [
|
|
5841
|
-
/* @__PURE__ */
|
|
5842
|
-
/* @__PURE__ */
|
|
5843
|
-
/* @__PURE__ */
|
|
5901
|
+
/* @__PURE__ */ jsx53("div", { className: "k-datetime-buttongroup", children: /* @__PURE__ */ jsxs23(ButtonGroup, { stretched: true, children: [
|
|
5902
|
+
/* @__PURE__ */ jsx53(Button, { className: "k-group-start", size, selected: tab === "date", children: "Date" }),
|
|
5903
|
+
/* @__PURE__ */ jsx53(Button, { className: "k-group-end", size, selected: tab === "time", children: "Time" })
|
|
5844
5904
|
] }) }),
|
|
5845
|
-
/* @__PURE__ */
|
|
5846
|
-
/* @__PURE__ */
|
|
5847
|
-
/* @__PURE__ */
|
|
5905
|
+
/* @__PURE__ */ jsx53("div", { className: "k-datetime-selector", children: tab === "time" ? /* @__PURE__ */ jsxs23(Fragment14, { children: [
|
|
5906
|
+
/* @__PURE__ */ jsx53("div", { className: "k-datetime-calendar-wrap" }),
|
|
5907
|
+
/* @__PURE__ */ jsx53("div", { className: "k-datetime-time-wrap", children: /* @__PURE__ */ jsx53(TimeSelector, { size, columns: ["HH", "mm", "ss", "tt"], focusedColumn: "mm", header: /* @__PURE__ */ jsx53(TimeSelectorHeader, { title: "10:00:00 AM", children: /* @__PURE__ */ jsx53(Button, { size, fillMode: "flat", className: "k-time-now", children: "Now" }) }) }) })
|
|
5848
5908
|
] }) : /* @__PURE__ */ jsxs23(Fragment14, { children: [
|
|
5849
|
-
/* @__PURE__ */
|
|
5850
|
-
/* @__PURE__ */
|
|
5909
|
+
/* @__PURE__ */ jsx53("div", { className: "k-datetime-calendar-wrap", children: /* @__PURE__ */ jsx53(Calendar, { size, showOtherMonth: true, dir }) }),
|
|
5910
|
+
/* @__PURE__ */ jsx53("div", { className: "k-datetime-time-wrap" })
|
|
5851
5911
|
] }) }),
|
|
5852
5912
|
actionButtons && /* @__PURE__ */ jsxs23(ActionButtons, { className: "k-datetime-footer", alignment: "stretched", children: [
|
|
5853
|
-
/* @__PURE__ */
|
|
5854
|
-
/* @__PURE__ */
|
|
5913
|
+
/* @__PURE__ */ jsx53(Button, { size, themeColor: "primary", className: "k-time-accept", children: "Set" }),
|
|
5914
|
+
/* @__PURE__ */ jsx53(Button, { size, className: "k-time-cancel", children: "Cancel" })
|
|
5855
5915
|
] })
|
|
5856
5916
|
]
|
|
5857
5917
|
}
|
|
5858
5918
|
);
|
|
5859
5919
|
};
|
|
5860
|
-
DateTimeSelector.states =
|
|
5861
|
-
DateTimeSelector.options =
|
|
5920
|
+
DateTimeSelector.states = states26;
|
|
5921
|
+
DateTimeSelector.options = options24;
|
|
5862
5922
|
DateTimeSelector.className = DATETIMESELECTOR_CLASSNAME;
|
|
5863
|
-
DateTimeSelector.defaultProps =
|
|
5923
|
+
DateTimeSelector.defaultProps = defaultProps23;
|
|
5864
5924
|
|
|
5865
5925
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5866
|
-
import { Fragment as Fragment15, jsx as
|
|
5926
|
+
import { Fragment as Fragment15, jsx as jsx54, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5867
5927
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5868
|
-
var
|
|
5869
|
-
var
|
|
5870
|
-
var
|
|
5928
|
+
var states27 = [];
|
|
5929
|
+
var options25 = {};
|
|
5930
|
+
var defaultProps24 = {
|
|
5871
5931
|
side: "bottom",
|
|
5872
5932
|
fullscreen: false,
|
|
5873
5933
|
adaptive: false,
|
|
@@ -5880,14 +5940,14 @@ var ActionSheet = (props) => {
|
|
|
5880
5940
|
header,
|
|
5881
5941
|
footer,
|
|
5882
5942
|
actions,
|
|
5883
|
-
side =
|
|
5884
|
-
fullscreen =
|
|
5885
|
-
adaptive =
|
|
5886
|
-
overlay =
|
|
5943
|
+
side = defaultProps24.side,
|
|
5944
|
+
fullscreen = defaultProps24.fullscreen,
|
|
5945
|
+
adaptive = defaultProps24.adaptive,
|
|
5946
|
+
overlay = defaultProps24.overlay,
|
|
5887
5947
|
...other
|
|
5888
5948
|
} = props;
|
|
5889
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
5890
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
5949
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx54(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5950
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx54(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx54(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5891
5951
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5892
5952
|
switch (child.type) {
|
|
5893
5953
|
case ActionSheetHeader:
|
|
@@ -5897,10 +5957,10 @@ var ActionSheet = (props) => {
|
|
|
5897
5957
|
return true;
|
|
5898
5958
|
}
|
|
5899
5959
|
return true;
|
|
5900
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
5960
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx54(Fragment15, {});
|
|
5901
5961
|
return /* @__PURE__ */ jsxs24("div", { className: "k-actionsheet-container", children: [
|
|
5902
|
-
overlay && /* @__PURE__ */
|
|
5903
|
-
/* @__PURE__ */
|
|
5962
|
+
overlay && /* @__PURE__ */ jsx54("div", { className: "k-overlay" }),
|
|
5963
|
+
/* @__PURE__ */ jsx54(
|
|
5904
5964
|
AnimationContainer,
|
|
5905
5965
|
{
|
|
5906
5966
|
animationStyle: {
|
|
@@ -5910,7 +5970,7 @@ var ActionSheet = (props) => {
|
|
|
5910
5970
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5911
5971
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5912
5972
|
},
|
|
5913
|
-
children: /* @__PURE__ */
|
|
5973
|
+
children: /* @__PURE__ */ jsx54(
|
|
5914
5974
|
"div",
|
|
5915
5975
|
{
|
|
5916
5976
|
...other,
|
|
@@ -5925,7 +5985,7 @@ var ActionSheet = (props) => {
|
|
|
5925
5985
|
),
|
|
5926
5986
|
children: /* @__PURE__ */ jsxs24(Fragment15, { children: [
|
|
5927
5987
|
_ActionSheetHeader,
|
|
5928
|
-
/* @__PURE__ */
|
|
5988
|
+
/* @__PURE__ */ jsx54("div", { className: classNames(
|
|
5929
5989
|
"k-actionsheet-content",
|
|
5930
5990
|
{
|
|
5931
5991
|
"!k-overflow-hidden": adaptive
|
|
@@ -5939,15 +5999,15 @@ var ActionSheet = (props) => {
|
|
|
5939
5999
|
)
|
|
5940
6000
|
] });
|
|
5941
6001
|
};
|
|
5942
|
-
ActionSheet.states =
|
|
5943
|
-
ActionSheet.options =
|
|
6002
|
+
ActionSheet.states = states27;
|
|
6003
|
+
ActionSheet.options = options25;
|
|
5944
6004
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
5945
|
-
ActionSheet.defaultProps =
|
|
6005
|
+
ActionSheet.defaultProps = defaultProps24;
|
|
5946
6006
|
|
|
5947
6007
|
// src/searchbox/searchbox.spec.tsx
|
|
5948
|
-
import { jsx as
|
|
6008
|
+
import { jsx as jsx55, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5949
6009
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5950
|
-
var
|
|
6010
|
+
var states28 = [
|
|
5951
6011
|
States.hover,
|
|
5952
6012
|
States.focus,
|
|
5953
6013
|
States.valid,
|
|
@@ -5956,12 +6016,12 @@ var states26 = [
|
|
|
5956
6016
|
States.disabled,
|
|
5957
6017
|
States.loading
|
|
5958
6018
|
];
|
|
5959
|
-
var
|
|
6019
|
+
var options26 = {
|
|
5960
6020
|
size: [Size.small, Size.medium, Size.large],
|
|
5961
6021
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5962
6022
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5963
6023
|
};
|
|
5964
|
-
var
|
|
6024
|
+
var defaultProps25 = {
|
|
5965
6025
|
showIcon: true,
|
|
5966
6026
|
icon: "search",
|
|
5967
6027
|
size: Input.defaultProps.size,
|
|
@@ -5982,8 +6042,8 @@ var Searchbox = (props) => {
|
|
|
5982
6042
|
required,
|
|
5983
6043
|
loading,
|
|
5984
6044
|
disabled,
|
|
5985
|
-
showIcon =
|
|
5986
|
-
icon =
|
|
6045
|
+
showIcon = defaultProps25.showIcon,
|
|
6046
|
+
icon = defaultProps25.icon,
|
|
5987
6047
|
...other
|
|
5988
6048
|
} = props;
|
|
5989
6049
|
return /* @__PURE__ */ jsxs25(
|
|
@@ -6002,25 +6062,25 @@ var Searchbox = (props) => {
|
|
|
6002
6062
|
disabled,
|
|
6003
6063
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6004
6064
|
children: [
|
|
6005
|
-
showIcon && /* @__PURE__ */
|
|
6006
|
-
/* @__PURE__ */
|
|
6007
|
-
/* @__PURE__ */
|
|
6008
|
-
/* @__PURE__ */
|
|
6009
|
-
/* @__PURE__ */
|
|
6065
|
+
showIcon && /* @__PURE__ */ jsx55(Icon, { className: "k-input-icon", icon }),
|
|
6066
|
+
/* @__PURE__ */ jsx55(InputInnerInput, { placeholder, value }),
|
|
6067
|
+
/* @__PURE__ */ jsx55(InputLoadingIcon, { ...props }),
|
|
6068
|
+
/* @__PURE__ */ jsx55(InputValidationIcon, { ...props }),
|
|
6069
|
+
/* @__PURE__ */ jsx55(InputClearValue, { ...props })
|
|
6010
6070
|
]
|
|
6011
6071
|
}
|
|
6012
6072
|
);
|
|
6013
6073
|
};
|
|
6014
|
-
Searchbox.states =
|
|
6015
|
-
Searchbox.options =
|
|
6074
|
+
Searchbox.states = states28;
|
|
6075
|
+
Searchbox.options = options26;
|
|
6016
6076
|
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
6017
|
-
Searchbox.defaultProps =
|
|
6077
|
+
Searchbox.defaultProps = defaultProps25;
|
|
6018
6078
|
|
|
6019
6079
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
6020
|
-
import { jsx as
|
|
6080
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6021
6081
|
|
|
6022
6082
|
// src/action-sheet/actionsheet-header.tsx
|
|
6023
|
-
import { Fragment as Fragment16, jsx as
|
|
6083
|
+
import { Fragment as Fragment16, jsx as jsx57, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6024
6084
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6025
6085
|
var ActionSheetHeader = (props) => {
|
|
6026
6086
|
const {
|
|
@@ -6030,7 +6090,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6030
6090
|
filter,
|
|
6031
6091
|
...other
|
|
6032
6092
|
} = props;
|
|
6033
|
-
return /* @__PURE__ */
|
|
6093
|
+
return /* @__PURE__ */ jsx57(
|
|
6034
6094
|
"div",
|
|
6035
6095
|
{
|
|
6036
6096
|
...other,
|
|
@@ -6040,28 +6100,28 @@ var ActionSheetHeader = (props) => {
|
|
|
6040
6100
|
),
|
|
6041
6101
|
children: /* @__PURE__ */ jsxs26(Fragment16, { children: [
|
|
6042
6102
|
/* @__PURE__ */ jsxs26("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6043
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6044
|
-
title !== "" && /* @__PURE__ */
|
|
6045
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6103
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx57(Fragment16, { children: /* @__PURE__ */ jsxs26("div", { className: "k-actionsheet-title", children: [
|
|
6104
|
+
title !== "" && /* @__PURE__ */ jsx57("div", { className: "k-text-center", children: title }),
|
|
6105
|
+
subTitle !== "" && /* @__PURE__ */ jsx57("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6046
6106
|
] }) }),
|
|
6047
|
-
props.children && /* @__PURE__ */
|
|
6048
|
-
actions && /* @__PURE__ */
|
|
6107
|
+
props.children && /* @__PURE__ */ jsx57("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6108
|
+
actions && /* @__PURE__ */ jsx57(Fragment16, { children: /* @__PURE__ */ jsx57("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx57(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6049
6109
|
] }),
|
|
6050
|
-
filter && /* @__PURE__ */
|
|
6110
|
+
filter && /* @__PURE__ */ jsx57(Fragment16, { children: /* @__PURE__ */ jsx57("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx57(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6051
6111
|
] })
|
|
6052
6112
|
}
|
|
6053
6113
|
);
|
|
6054
6114
|
};
|
|
6055
6115
|
|
|
6056
6116
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6057
|
-
import { Fragment as Fragment17, jsx as
|
|
6117
|
+
import { Fragment as Fragment17, jsx as jsx58, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6058
6118
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6059
6119
|
var ActionSheetFooter = (props) => {
|
|
6060
6120
|
const {
|
|
6061
6121
|
actions,
|
|
6062
6122
|
...other
|
|
6063
6123
|
} = props;
|
|
6064
|
-
return /* @__PURE__ */
|
|
6124
|
+
return /* @__PURE__ */ jsx58(
|
|
6065
6125
|
action_buttons_spec_default,
|
|
6066
6126
|
{
|
|
6067
6127
|
...other,
|
|
@@ -6073,14 +6133,14 @@ var ActionSheetFooter = (props) => {
|
|
|
6073
6133
|
children: /* @__PURE__ */ jsxs27(Fragment17, { children: [
|
|
6074
6134
|
actions && actions.map((action, index) => {
|
|
6075
6135
|
if (action === "|") {
|
|
6076
|
-
return /* @__PURE__ */
|
|
6136
|
+
return /* @__PURE__ */ jsx58("span", { className: "k-separator" }, index);
|
|
6077
6137
|
}
|
|
6078
6138
|
if (action === " ") {
|
|
6079
|
-
return /* @__PURE__ */
|
|
6139
|
+
return /* @__PURE__ */ jsx58("span", { className: "k-spacer" }, index);
|
|
6080
6140
|
}
|
|
6081
6141
|
const importantFlag = action.startsWith("!");
|
|
6082
6142
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6083
|
-
return /* @__PURE__ */
|
|
6143
|
+
return /* @__PURE__ */ jsx58(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6084
6144
|
}),
|
|
6085
6145
|
!actions && props.children
|
|
6086
6146
|
] })
|
|
@@ -6089,12 +6149,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6089
6149
|
};
|
|
6090
6150
|
|
|
6091
6151
|
// src/action-sheet/actionsheet-items.tsx
|
|
6092
|
-
import { jsx as
|
|
6152
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
6093
6153
|
var ActionSheetItems = (props) => {
|
|
6094
6154
|
const {
|
|
6095
6155
|
...other
|
|
6096
6156
|
} = props;
|
|
6097
|
-
return /* @__PURE__ */
|
|
6157
|
+
return /* @__PURE__ */ jsx59(
|
|
6098
6158
|
"div",
|
|
6099
6159
|
{
|
|
6100
6160
|
...other,
|
|
@@ -6108,8 +6168,8 @@ var ActionSheetItems = (props) => {
|
|
|
6108
6168
|
};
|
|
6109
6169
|
|
|
6110
6170
|
// src/action-sheet/actionsheet-item.tsx
|
|
6111
|
-
import { Fragment as Fragment18, jsx as
|
|
6112
|
-
var
|
|
6171
|
+
import { Fragment as Fragment18, jsx as jsx60, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6172
|
+
var states29 = [
|
|
6113
6173
|
States.hover,
|
|
6114
6174
|
States.focus,
|
|
6115
6175
|
States.selected,
|
|
@@ -6117,9 +6177,9 @@ var states27 = [
|
|
|
6117
6177
|
];
|
|
6118
6178
|
|
|
6119
6179
|
// src/datetimepicker/datetimepicker.spec.tsx
|
|
6120
|
-
import { Fragment as Fragment19, jsx as
|
|
6180
|
+
import { Fragment as Fragment19, jsx as jsx61, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6121
6181
|
var DATETIMEPICKER_CLASSNAME = `k-datetimepicker`;
|
|
6122
|
-
var
|
|
6182
|
+
var states30 = [
|
|
6123
6183
|
States.hover,
|
|
6124
6184
|
States.focus,
|
|
6125
6185
|
States.valid,
|
|
@@ -6129,12 +6189,12 @@ var states28 = [
|
|
|
6129
6189
|
States.loading,
|
|
6130
6190
|
States.readonly
|
|
6131
6191
|
];
|
|
6132
|
-
var
|
|
6192
|
+
var options27 = {
|
|
6133
6193
|
size: [Size.small, Size.medium, Size.large],
|
|
6134
6194
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6135
6195
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6136
6196
|
};
|
|
6137
|
-
var
|
|
6197
|
+
var defaultProps26 = {
|
|
6138
6198
|
tab: "date",
|
|
6139
6199
|
size: Input.defaultProps.size,
|
|
6140
6200
|
rounded: Input.defaultProps.rounded,
|
|
@@ -6158,7 +6218,7 @@ var DateTimePicker = (props) => {
|
|
|
6158
6218
|
disabled,
|
|
6159
6219
|
readonly,
|
|
6160
6220
|
opened,
|
|
6161
|
-
tab =
|
|
6221
|
+
tab = defaultProps26.tab,
|
|
6162
6222
|
dir,
|
|
6163
6223
|
adaptive,
|
|
6164
6224
|
adaptiveSettings,
|
|
@@ -6183,9 +6243,9 @@ var DateTimePicker = (props) => {
|
|
|
6183
6243
|
readonly,
|
|
6184
6244
|
className: classNames(props.className, DATETIMEPICKER_CLASSNAME),
|
|
6185
6245
|
children: [
|
|
6186
|
-
/* @__PURE__ */
|
|
6187
|
-
/* @__PURE__ */
|
|
6188
|
-
/* @__PURE__ */
|
|
6246
|
+
/* @__PURE__ */ jsx61(InputPrefix, { children: prefix }),
|
|
6247
|
+
/* @__PURE__ */ jsx61(InputInnerInput, { placeholder, value }),
|
|
6248
|
+
/* @__PURE__ */ jsx61(
|
|
6189
6249
|
InputValidationIcon,
|
|
6190
6250
|
{
|
|
6191
6251
|
valid,
|
|
@@ -6194,14 +6254,14 @@ var DateTimePicker = (props) => {
|
|
|
6194
6254
|
disabled
|
|
6195
6255
|
}
|
|
6196
6256
|
),
|
|
6197
|
-
/* @__PURE__ */
|
|
6257
|
+
/* @__PURE__ */ jsx61(
|
|
6198
6258
|
InputLoadingIcon,
|
|
6199
6259
|
{
|
|
6200
6260
|
loading,
|
|
6201
6261
|
disabled
|
|
6202
6262
|
}
|
|
6203
6263
|
),
|
|
6204
|
-
/* @__PURE__ */
|
|
6264
|
+
/* @__PURE__ */ jsx61(
|
|
6205
6265
|
InputClearValue,
|
|
6206
6266
|
{
|
|
6207
6267
|
loading,
|
|
@@ -6210,8 +6270,8 @@ var DateTimePicker = (props) => {
|
|
|
6210
6270
|
value
|
|
6211
6271
|
}
|
|
6212
6272
|
),
|
|
6213
|
-
/* @__PURE__ */
|
|
6214
|
-
/* @__PURE__ */
|
|
6273
|
+
/* @__PURE__ */ jsx61(InputSuffix, { children: suffix }),
|
|
6274
|
+
/* @__PURE__ */ jsx61(
|
|
6215
6275
|
Button,
|
|
6216
6276
|
{
|
|
6217
6277
|
className: "k-input-button",
|
|
@@ -6224,9 +6284,9 @@ var DateTimePicker = (props) => {
|
|
|
6224
6284
|
]
|
|
6225
6285
|
}
|
|
6226
6286
|
),
|
|
6227
|
-
opened && /* @__PURE__ */
|
|
6287
|
+
opened && /* @__PURE__ */ jsx61(Popup, { className: `k-${tab === "time" ? "list" : "calendar"}-container k-datetimepicker-popup`, dir, children: /* @__PURE__ */ jsx61(DateTimeSelector, { tab, dir }) }),
|
|
6228
6288
|
adaptive && /* @__PURE__ */ jsxs29(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6229
|
-
/* @__PURE__ */
|
|
6289
|
+
/* @__PURE__ */ jsx61(
|
|
6230
6290
|
ActionSheetHeader,
|
|
6231
6291
|
{
|
|
6232
6292
|
actions: ["x"],
|
|
@@ -6234,43 +6294,43 @@ var DateTimePicker = (props) => {
|
|
|
6234
6294
|
subTitle: "DD / MM / YY"
|
|
6235
6295
|
}
|
|
6236
6296
|
),
|
|
6237
|
-
/* @__PURE__ */
|
|
6238
|
-
/* @__PURE__ */
|
|
6297
|
+
/* @__PURE__ */ jsx61(DateTimeSelector, { size: "large", tab, actionButtons: false }),
|
|
6298
|
+
/* @__PURE__ */ jsx61(ActionSheetFooter, { actions: ["Cancel", "!Set"] })
|
|
6239
6299
|
] })
|
|
6240
6300
|
] });
|
|
6241
6301
|
};
|
|
6242
|
-
DateTimePicker.states =
|
|
6243
|
-
DateTimePicker.options =
|
|
6302
|
+
DateTimePicker.states = states30;
|
|
6303
|
+
DateTimePicker.options = options27;
|
|
6244
6304
|
DateTimePicker.className = DATETIMEPICKER_CLASSNAME;
|
|
6245
|
-
DateTimePicker.defaultProps =
|
|
6305
|
+
DateTimePicker.defaultProps = defaultProps26;
|
|
6246
6306
|
|
|
6247
6307
|
// src/datetimepicker/templates/datetimepicker-normal.tsx
|
|
6248
|
-
import { jsx as
|
|
6308
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
6249
6309
|
|
|
6250
6310
|
// src/datetimepicker/templates/datetimepicker-popup.tsx
|
|
6251
|
-
import { jsx as
|
|
6311
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
6252
6312
|
|
|
6253
6313
|
// src/datetimepicker/templates/datetimepicker-adaptive.tsx
|
|
6254
|
-
import { jsx as
|
|
6314
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6255
6315
|
|
|
6256
6316
|
// src/nodata/nodata.tsx
|
|
6257
|
-
import { jsx as
|
|
6317
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6258
6318
|
var className14 = `k-nodata`;
|
|
6259
|
-
var NoData = (props) => /* @__PURE__ */
|
|
6319
|
+
var NoData = (props) => /* @__PURE__ */ jsx65("span", { className: classNames(className14, props.className), children: props.children });
|
|
6260
6320
|
|
|
6261
6321
|
// src/list/list.spec.tsx
|
|
6262
|
-
import { jsx as
|
|
6322
|
+
import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6263
6323
|
var LIST_CLASSNAME = `k-list`;
|
|
6264
|
-
var
|
|
6265
|
-
var
|
|
6324
|
+
var states31 = [];
|
|
6325
|
+
var options28 = {
|
|
6266
6326
|
size: [Size.small, Size.medium, Size.large]
|
|
6267
6327
|
};
|
|
6268
|
-
var
|
|
6328
|
+
var defaultProps27 = {
|
|
6269
6329
|
size: Size.medium
|
|
6270
6330
|
};
|
|
6271
6331
|
var List = (props) => {
|
|
6272
6332
|
const {
|
|
6273
|
-
size =
|
|
6333
|
+
size = defaultProps27.size,
|
|
6274
6334
|
virtualization,
|
|
6275
6335
|
children,
|
|
6276
6336
|
optionLabel,
|
|
@@ -6287,7 +6347,7 @@ var List = (props) => {
|
|
|
6287
6347
|
listHeader = child.props.label;
|
|
6288
6348
|
child.props.children.map((optChild, index2) => {
|
|
6289
6349
|
listChildren.push(
|
|
6290
|
-
/* @__PURE__ */
|
|
6350
|
+
/* @__PURE__ */ jsx66(
|
|
6291
6351
|
ListItem,
|
|
6292
6352
|
{
|
|
6293
6353
|
...optChild.props
|
|
@@ -6303,7 +6363,7 @@ var List = (props) => {
|
|
|
6303
6363
|
groupLabel = child.props.label;
|
|
6304
6364
|
}
|
|
6305
6365
|
listChildren.push(
|
|
6306
|
-
/* @__PURE__ */
|
|
6366
|
+
/* @__PURE__ */ jsx66(
|
|
6307
6367
|
ListItem,
|
|
6308
6368
|
{
|
|
6309
6369
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6315,14 +6375,14 @@ var List = (props) => {
|
|
|
6315
6375
|
);
|
|
6316
6376
|
});
|
|
6317
6377
|
}
|
|
6318
|
-
listGroup = /* @__PURE__ */
|
|
6378
|
+
listGroup = /* @__PURE__ */ jsx66(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6319
6379
|
} else if (child.type === ListItem) {
|
|
6320
|
-
listChildren.push(/* @__PURE__ */
|
|
6321
|
-
listContent = /* @__PURE__ */
|
|
6380
|
+
listChildren.push(/* @__PURE__ */ jsx66(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6381
|
+
listContent = /* @__PURE__ */ jsx66(ListContent, { virtualization, children: listChildren });
|
|
6322
6382
|
}
|
|
6323
6383
|
});
|
|
6324
6384
|
} else {
|
|
6325
|
-
listContent = /* @__PURE__ */
|
|
6385
|
+
listContent = /* @__PURE__ */ jsx66(NoData, { children: "No data found." });
|
|
6326
6386
|
}
|
|
6327
6387
|
return /* @__PURE__ */ jsxs30(
|
|
6328
6388
|
"div",
|
|
@@ -6346,24 +6406,24 @@ var List = (props) => {
|
|
|
6346
6406
|
}
|
|
6347
6407
|
);
|
|
6348
6408
|
};
|
|
6349
|
-
List.states =
|
|
6350
|
-
List.options =
|
|
6409
|
+
List.states = states31;
|
|
6410
|
+
List.options = options28;
|
|
6351
6411
|
List.className = LIST_CLASSNAME;
|
|
6352
|
-
List.defaultProps =
|
|
6412
|
+
List.defaultProps = defaultProps27;
|
|
6353
6413
|
|
|
6354
6414
|
// src/list/list-angular.spec.tsx
|
|
6355
|
-
import { jsx as
|
|
6415
|
+
import { jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6356
6416
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6357
|
-
var
|
|
6358
|
-
var
|
|
6417
|
+
var states32 = [];
|
|
6418
|
+
var options29 = {
|
|
6359
6419
|
size: [Size.small, Size.medium, Size.large]
|
|
6360
6420
|
};
|
|
6361
|
-
var
|
|
6421
|
+
var defaultProps28 = {
|
|
6362
6422
|
size: Size.medium
|
|
6363
6423
|
};
|
|
6364
6424
|
var ListAngular = (props) => {
|
|
6365
6425
|
const {
|
|
6366
|
-
size =
|
|
6426
|
+
size = defaultProps28.size,
|
|
6367
6427
|
virtualization,
|
|
6368
6428
|
children,
|
|
6369
6429
|
...other
|
|
@@ -6379,7 +6439,7 @@ var ListAngular = (props) => {
|
|
|
6379
6439
|
listHeader = child.props.label;
|
|
6380
6440
|
child.props.children.map((optChild, index2) => {
|
|
6381
6441
|
listChildren.push(
|
|
6382
|
-
/* @__PURE__ */
|
|
6442
|
+
/* @__PURE__ */ jsx67(
|
|
6383
6443
|
ListItem,
|
|
6384
6444
|
{
|
|
6385
6445
|
...optChild.props
|
|
@@ -6390,7 +6450,7 @@ var ListAngular = (props) => {
|
|
|
6390
6450
|
});
|
|
6391
6451
|
} else {
|
|
6392
6452
|
listChildren.push(
|
|
6393
|
-
/* @__PURE__ */
|
|
6453
|
+
/* @__PURE__ */ jsx67(
|
|
6394
6454
|
ListGroupItem,
|
|
6395
6455
|
{
|
|
6396
6456
|
...child.props,
|
|
@@ -6401,7 +6461,7 @@ var ListAngular = (props) => {
|
|
|
6401
6461
|
);
|
|
6402
6462
|
child.props.children.map((optChild, index2) => {
|
|
6403
6463
|
listChildren.push(
|
|
6404
|
-
/* @__PURE__ */
|
|
6464
|
+
/* @__PURE__ */ jsx67(
|
|
6405
6465
|
ListItem,
|
|
6406
6466
|
{
|
|
6407
6467
|
...optChild.props
|
|
@@ -6411,14 +6471,14 @@ var ListAngular = (props) => {
|
|
|
6411
6471
|
);
|
|
6412
6472
|
});
|
|
6413
6473
|
}
|
|
6414
|
-
listGroup = /* @__PURE__ */
|
|
6474
|
+
listGroup = /* @__PURE__ */ jsx67(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6415
6475
|
} else if (child.type === ListItem) {
|
|
6416
|
-
listChildren.push(/* @__PURE__ */
|
|
6417
|
-
listContent = /* @__PURE__ */
|
|
6476
|
+
listChildren.push(/* @__PURE__ */ jsx67(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6477
|
+
listContent = /* @__PURE__ */ jsx67(ListContent, { virtualization, children: listChildren });
|
|
6418
6478
|
}
|
|
6419
6479
|
});
|
|
6420
6480
|
} else {
|
|
6421
|
-
listContent = /* @__PURE__ */
|
|
6481
|
+
listContent = /* @__PURE__ */ jsx67(NoData, { children: "No data found." });
|
|
6422
6482
|
}
|
|
6423
6483
|
return /* @__PURE__ */ jsxs31(
|
|
6424
6484
|
"div",
|
|
@@ -6441,22 +6501,22 @@ var ListAngular = (props) => {
|
|
|
6441
6501
|
}
|
|
6442
6502
|
);
|
|
6443
6503
|
};
|
|
6444
|
-
ListAngular.states =
|
|
6445
|
-
ListAngular.options =
|
|
6504
|
+
ListAngular.states = states32;
|
|
6505
|
+
ListAngular.options = options29;
|
|
6446
6506
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
6447
|
-
ListAngular.defaultProps =
|
|
6507
|
+
ListAngular.defaultProps = defaultProps28;
|
|
6448
6508
|
|
|
6449
6509
|
// src/list/list-item.spec.tsx
|
|
6450
|
-
import { jsx as
|
|
6510
|
+
import { jsx as jsx68, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6451
6511
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6452
|
-
var
|
|
6512
|
+
var states33 = [
|
|
6453
6513
|
States.hover,
|
|
6454
6514
|
States.focus,
|
|
6455
6515
|
States.selected,
|
|
6456
6516
|
States.disabled
|
|
6457
6517
|
];
|
|
6458
|
-
var
|
|
6459
|
-
var
|
|
6518
|
+
var options30 = {};
|
|
6519
|
+
var defaultProps29 = {};
|
|
6460
6520
|
var ListItem = (props) => {
|
|
6461
6521
|
const {
|
|
6462
6522
|
text,
|
|
@@ -6487,66 +6547,66 @@ var ListItem = (props) => {
|
|
|
6487
6547
|
})
|
|
6488
6548
|
),
|
|
6489
6549
|
children: [
|
|
6490
|
-
showCheckbox && /* @__PURE__ */
|
|
6491
|
-
showIcon && /* @__PURE__ */
|
|
6492
|
-
/* @__PURE__ */
|
|
6493
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
6550
|
+
showCheckbox && /* @__PURE__ */ jsx68(Checkbox, { checked }),
|
|
6551
|
+
showIcon && /* @__PURE__ */ jsx68(Icon, { icon: iconName }),
|
|
6552
|
+
/* @__PURE__ */ jsx68("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6553
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx68("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6494
6554
|
]
|
|
6495
6555
|
}
|
|
6496
6556
|
);
|
|
6497
6557
|
};
|
|
6498
|
-
ListItem.states =
|
|
6499
|
-
ListItem.options =
|
|
6558
|
+
ListItem.states = states33;
|
|
6559
|
+
ListItem.options = options30;
|
|
6500
6560
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
6501
|
-
ListItem.defaultProps =
|
|
6561
|
+
ListItem.defaultProps = defaultProps29;
|
|
6502
6562
|
|
|
6503
6563
|
// src/list/list-content.tsx
|
|
6504
|
-
import { jsx as
|
|
6564
|
+
import { jsx as jsx69, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6505
6565
|
var className15 = `k-list-content`;
|
|
6506
6566
|
var ListContent = (props) => {
|
|
6507
6567
|
const {
|
|
6508
6568
|
virtualization
|
|
6509
6569
|
} = props;
|
|
6510
6570
|
return /* @__PURE__ */ jsxs33("div", { className: classNames(className15, props.className), children: [
|
|
6511
|
-
/* @__PURE__ */
|
|
6512
|
-
virtualization && /* @__PURE__ */
|
|
6571
|
+
/* @__PURE__ */ jsx69("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6572
|
+
virtualization && /* @__PURE__ */ jsx69("div", { className: "k-height-container", children: /* @__PURE__ */ jsx69("div", {}) })
|
|
6513
6573
|
] });
|
|
6514
6574
|
};
|
|
6515
6575
|
|
|
6516
6576
|
// src/list/list-header.tsx
|
|
6517
|
-
import { jsx as
|
|
6577
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
6518
6578
|
var className16 = `k-list-group-sticky-header`;
|
|
6519
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
6579
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx70("div", { className: classNames(className16, props.className), children: /* @__PURE__ */ jsx70("div", { className: "k-list-header-text", children: props.children }) });
|
|
6520
6580
|
|
|
6521
6581
|
// src/list/list-group.tsx
|
|
6522
|
-
import { Fragment as Fragment20, jsx as
|
|
6582
|
+
import { Fragment as Fragment20, jsx as jsx71, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6523
6583
|
var ListGroup = (props) => {
|
|
6524
6584
|
const {
|
|
6525
6585
|
virtualization,
|
|
6526
6586
|
label
|
|
6527
6587
|
} = props;
|
|
6528
6588
|
return /* @__PURE__ */ jsxs34(Fragment20, { children: [
|
|
6529
|
-
label && /* @__PURE__ */
|
|
6530
|
-
props.children && /* @__PURE__ */
|
|
6589
|
+
label && /* @__PURE__ */ jsx71(ListHeader, { children: label }),
|
|
6590
|
+
props.children && /* @__PURE__ */ jsx71(ListContent, { virtualization, children: props.children })
|
|
6531
6591
|
] });
|
|
6532
6592
|
};
|
|
6533
6593
|
|
|
6534
6594
|
// src/list/list-group-item.tsx
|
|
6535
|
-
import { jsx as
|
|
6595
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6536
6596
|
var className17 = `k-list-group-item`;
|
|
6537
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6597
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx72("li", { className: classNames(className17, props.className), children: /* @__PURE__ */ jsx72("span", { className: "k-list-item-text", children: props.children }) });
|
|
6538
6598
|
|
|
6539
6599
|
// src/list/list-option-label.tsx
|
|
6540
|
-
import { jsx as
|
|
6600
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
6541
6601
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6542
|
-
var
|
|
6602
|
+
var states34 = [
|
|
6543
6603
|
States.hover,
|
|
6544
6604
|
States.focus,
|
|
6545
6605
|
States.selected,
|
|
6546
6606
|
States.disabled
|
|
6547
6607
|
];
|
|
6548
|
-
var
|
|
6549
|
-
var
|
|
6608
|
+
var options31 = {};
|
|
6609
|
+
var defaultProps30 = {};
|
|
6550
6610
|
var ListOptionLabel = (props) => {
|
|
6551
6611
|
const {
|
|
6552
6612
|
text,
|
|
@@ -6556,7 +6616,7 @@ var ListOptionLabel = (props) => {
|
|
|
6556
6616
|
disabled,
|
|
6557
6617
|
...other
|
|
6558
6618
|
} = props;
|
|
6559
|
-
return /* @__PURE__ */
|
|
6619
|
+
return /* @__PURE__ */ jsx73(
|
|
6560
6620
|
"div",
|
|
6561
6621
|
{
|
|
6562
6622
|
...other,
|
|
@@ -6573,36 +6633,36 @@ var ListOptionLabel = (props) => {
|
|
|
6573
6633
|
}
|
|
6574
6634
|
);
|
|
6575
6635
|
};
|
|
6576
|
-
ListOptionLabel.states =
|
|
6577
|
-
ListOptionLabel.options =
|
|
6636
|
+
ListOptionLabel.states = states34;
|
|
6637
|
+
ListOptionLabel.options = options31;
|
|
6578
6638
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
6579
|
-
ListOptionLabel.defaultProps =
|
|
6639
|
+
ListOptionLabel.defaultProps = defaultProps30;
|
|
6580
6640
|
|
|
6581
6641
|
// src/list/templates/list-normal.tsx
|
|
6582
|
-
import { jsx as
|
|
6642
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6583
6643
|
|
|
6584
6644
|
// src/list/templates/list-virtualization.tsx
|
|
6585
|
-
import { jsx as
|
|
6645
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6586
6646
|
|
|
6587
6647
|
// src/list/templates/list-grouping.tsx
|
|
6588
|
-
import { jsx as
|
|
6648
|
+
import { jsx as jsx76, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6589
6649
|
|
|
6590
6650
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6591
|
-
import { jsx as
|
|
6651
|
+
import { jsx as jsx77, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6592
6652
|
|
|
6593
6653
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6594
|
-
import { jsx as
|
|
6654
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6595
6655
|
|
|
6596
6656
|
// src/list/templates/list-grouping-angular.tsx
|
|
6597
|
-
import { jsx as
|
|
6657
|
+
import { jsx as jsx79, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6598
6658
|
|
|
6599
6659
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6600
|
-
import { jsx as
|
|
6660
|
+
import { jsx as jsx80, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6601
6661
|
|
|
6602
6662
|
// src/combobox/combobox.spec.tsx
|
|
6603
|
-
import { Fragment as Fragment21, jsx as
|
|
6663
|
+
import { Fragment as Fragment21, jsx as jsx81, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6604
6664
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6605
|
-
var
|
|
6665
|
+
var states35 = [
|
|
6606
6666
|
States.hover,
|
|
6607
6667
|
States.focus,
|
|
6608
6668
|
States.valid,
|
|
@@ -6612,12 +6672,12 @@ var states33 = [
|
|
|
6612
6672
|
States.disabled,
|
|
6613
6673
|
States.readonly
|
|
6614
6674
|
];
|
|
6615
|
-
var
|
|
6675
|
+
var defaultProps31 = {
|
|
6616
6676
|
size: Input.defaultProps.size,
|
|
6617
6677
|
rounded: Input.defaultProps.rounded,
|
|
6618
6678
|
fillMode: Input.defaultProps.fillMode
|
|
6619
6679
|
};
|
|
6620
|
-
var
|
|
6680
|
+
var options32 = {
|
|
6621
6681
|
size: [Size.small, Size.medium, Size.large],
|
|
6622
6682
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6623
6683
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -6663,9 +6723,9 @@ var Combobox = (props) => {
|
|
|
6663
6723
|
readonly,
|
|
6664
6724
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6665
6725
|
children: [
|
|
6666
|
-
/* @__PURE__ */
|
|
6667
|
-
/* @__PURE__ */
|
|
6668
|
-
/* @__PURE__ */
|
|
6726
|
+
/* @__PURE__ */ jsx81(InputPrefix, { children: prefix }),
|
|
6727
|
+
/* @__PURE__ */ jsx81(InputInnerInput, { placeholder, value }),
|
|
6728
|
+
/* @__PURE__ */ jsx81(
|
|
6669
6729
|
InputValidationIcon,
|
|
6670
6730
|
{
|
|
6671
6731
|
valid,
|
|
@@ -6674,14 +6734,14 @@ var Combobox = (props) => {
|
|
|
6674
6734
|
disabled
|
|
6675
6735
|
}
|
|
6676
6736
|
),
|
|
6677
|
-
/* @__PURE__ */
|
|
6737
|
+
/* @__PURE__ */ jsx81(
|
|
6678
6738
|
InputLoadingIcon,
|
|
6679
6739
|
{
|
|
6680
6740
|
loading,
|
|
6681
6741
|
disabled
|
|
6682
6742
|
}
|
|
6683
6743
|
),
|
|
6684
|
-
/* @__PURE__ */
|
|
6744
|
+
/* @__PURE__ */ jsx81(
|
|
6685
6745
|
InputClearValue,
|
|
6686
6746
|
{
|
|
6687
6747
|
loading,
|
|
@@ -6690,8 +6750,8 @@ var Combobox = (props) => {
|
|
|
6690
6750
|
value
|
|
6691
6751
|
}
|
|
6692
6752
|
),
|
|
6693
|
-
/* @__PURE__ */
|
|
6694
|
-
/* @__PURE__ */
|
|
6753
|
+
/* @__PURE__ */ jsx81(InputSuffix, { children: suffix }),
|
|
6754
|
+
/* @__PURE__ */ jsx81(
|
|
6695
6755
|
Button,
|
|
6696
6756
|
{
|
|
6697
6757
|
className: "k-input-button",
|
|
@@ -6704,9 +6764,9 @@ var Combobox = (props) => {
|
|
|
6704
6764
|
]
|
|
6705
6765
|
}
|
|
6706
6766
|
),
|
|
6707
|
-
opened && popup && /* @__PURE__ */
|
|
6767
|
+
opened && popup && /* @__PURE__ */ jsx81(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6708
6768
|
adaptive && /* @__PURE__ */ jsxs39(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6709
|
-
/* @__PURE__ */
|
|
6769
|
+
/* @__PURE__ */ jsx81(
|
|
6710
6770
|
ActionSheetHeader,
|
|
6711
6771
|
{
|
|
6712
6772
|
actions: ["x"],
|
|
@@ -6714,45 +6774,45 @@ var Combobox = (props) => {
|
|
|
6714
6774
|
title: "Select Item"
|
|
6715
6775
|
}
|
|
6716
6776
|
),
|
|
6717
|
-
/* @__PURE__ */
|
|
6718
|
-
/* @__PURE__ */
|
|
6719
|
-
/* @__PURE__ */
|
|
6720
|
-
/* @__PURE__ */
|
|
6777
|
+
/* @__PURE__ */ jsx81("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs39(List, { size: "large", children: [
|
|
6778
|
+
/* @__PURE__ */ jsx81(ListItem, { text: "List item" }),
|
|
6779
|
+
/* @__PURE__ */ jsx81(ListItem, { text: "List item" }),
|
|
6780
|
+
/* @__PURE__ */ jsx81(ListItem, { text: "List item" })
|
|
6721
6781
|
] }) })
|
|
6722
6782
|
] })
|
|
6723
6783
|
] });
|
|
6724
6784
|
};
|
|
6725
|
-
Combobox.states =
|
|
6726
|
-
Combobox.options =
|
|
6785
|
+
Combobox.states = states35;
|
|
6786
|
+
Combobox.options = options32;
|
|
6727
6787
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
6728
|
-
Combobox.defaultProps =
|
|
6788
|
+
Combobox.defaultProps = defaultProps31;
|
|
6729
6789
|
|
|
6730
6790
|
// src/combobox/templates/combobox-normal.tsx
|
|
6731
|
-
import { jsx as
|
|
6791
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6732
6792
|
|
|
6733
6793
|
// src/combobox/templates/combobox-popup.tsx
|
|
6734
|
-
import { jsx as
|
|
6794
|
+
import { jsx as jsx83, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6735
6795
|
|
|
6736
6796
|
// src/combobox/templates/combobox-grouping.tsx
|
|
6737
|
-
import { jsx as
|
|
6797
|
+
import { jsx as jsx84, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6738
6798
|
|
|
6739
6799
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
6740
|
-
import { jsx as
|
|
6800
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6741
6801
|
|
|
6742
6802
|
// src/chip/chip-action.tsx
|
|
6743
|
-
import { jsx as
|
|
6803
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6744
6804
|
|
|
6745
6805
|
// src/avatar/avatar.spec.tsx
|
|
6746
|
-
import { jsx as
|
|
6806
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
6747
6807
|
var AVATAR_CLASSNAME = `k-avatar`;
|
|
6748
|
-
var
|
|
6808
|
+
var states36 = [
|
|
6749
6809
|
States.hover,
|
|
6750
6810
|
States.focus,
|
|
6751
6811
|
States.active,
|
|
6752
6812
|
States.selected,
|
|
6753
6813
|
States.disabled
|
|
6754
6814
|
];
|
|
6755
|
-
var
|
|
6815
|
+
var options33 = {
|
|
6756
6816
|
size: [Size.small, Size.medium, Size.large],
|
|
6757
6817
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6758
6818
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
|
|
@@ -6770,7 +6830,7 @@ var options31 = {
|
|
|
6770
6830
|
ThemeColor.inverse
|
|
6771
6831
|
]
|
|
6772
6832
|
};
|
|
6773
|
-
var
|
|
6833
|
+
var defaultProps32 = {
|
|
6774
6834
|
type: "text" /* TEXT */,
|
|
6775
6835
|
size: Size.medium,
|
|
6776
6836
|
rounded: Roundness.full,
|
|
@@ -6780,15 +6840,15 @@ var defaultProps30 = {
|
|
|
6780
6840
|
};
|
|
6781
6841
|
var Avatar = (props) => {
|
|
6782
6842
|
const {
|
|
6783
|
-
size =
|
|
6784
|
-
rounded =
|
|
6785
|
-
fillMode =
|
|
6786
|
-
themeColor =
|
|
6787
|
-
type =
|
|
6788
|
-
border =
|
|
6843
|
+
size = defaultProps32.size,
|
|
6844
|
+
rounded = defaultProps32.rounded,
|
|
6845
|
+
fillMode = defaultProps32.fillMode,
|
|
6846
|
+
themeColor = defaultProps32.themeColor,
|
|
6847
|
+
type = defaultProps32.type,
|
|
6848
|
+
border = defaultProps32.border,
|
|
6789
6849
|
...other
|
|
6790
6850
|
} = props;
|
|
6791
|
-
return /* @__PURE__ */
|
|
6851
|
+
return /* @__PURE__ */ jsx87(
|
|
6792
6852
|
"div",
|
|
6793
6853
|
{
|
|
6794
6854
|
...other,
|
|
@@ -6805,35 +6865,35 @@ var Avatar = (props) => {
|
|
|
6805
6865
|
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
6806
6866
|
}
|
|
6807
6867
|
),
|
|
6808
|
-
children: /* @__PURE__ */
|
|
6868
|
+
children: /* @__PURE__ */ jsx87("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
6809
6869
|
}
|
|
6810
6870
|
);
|
|
6811
6871
|
};
|
|
6812
|
-
Avatar.states =
|
|
6813
|
-
Avatar.options =
|
|
6872
|
+
Avatar.states = states36;
|
|
6873
|
+
Avatar.options = options33;
|
|
6814
6874
|
Avatar.className = AVATAR_CLASSNAME;
|
|
6815
|
-
Avatar.defaultProps =
|
|
6875
|
+
Avatar.defaultProps = defaultProps32;
|
|
6816
6876
|
|
|
6817
6877
|
// src/avatar/templates/avatar-icon.tsx
|
|
6818
|
-
import { jsx as
|
|
6878
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6819
6879
|
|
|
6820
6880
|
// src/avatar/templates/avatar-text.tsx
|
|
6821
|
-
import { jsx as
|
|
6881
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
6822
6882
|
|
|
6823
6883
|
// src/avatar/templates/avatar-image.tsx
|
|
6824
|
-
import { jsx as
|
|
6884
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6825
6885
|
|
|
6826
6886
|
// src/chip/chip.spec.tsx
|
|
6827
|
-
import { jsx as
|
|
6887
|
+
import { jsx as jsx91, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6828
6888
|
var CHIP_CLASSNAME = `k-chip`;
|
|
6829
|
-
var
|
|
6889
|
+
var states37 = [
|
|
6830
6890
|
States.hover,
|
|
6831
6891
|
States.focus,
|
|
6832
6892
|
States.active,
|
|
6833
6893
|
States.selected,
|
|
6834
6894
|
States.disabled
|
|
6835
6895
|
];
|
|
6836
|
-
var
|
|
6896
|
+
var options34 = {
|
|
6837
6897
|
size: [Size.small, Size.medium, Size.large],
|
|
6838
6898
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6839
6899
|
fillMode: [FillMode.solid, FillMode.outline],
|
|
@@ -6845,7 +6905,7 @@ var options32 = {
|
|
|
6845
6905
|
ThemeColor.info
|
|
6846
6906
|
]
|
|
6847
6907
|
};
|
|
6848
|
-
var
|
|
6908
|
+
var defaultProps33 = {
|
|
6849
6909
|
size: Size.medium,
|
|
6850
6910
|
rounded: Roundness.medium,
|
|
6851
6911
|
fillMode: FillMode.solid,
|
|
@@ -6853,10 +6913,10 @@ var defaultProps31 = {
|
|
|
6853
6913
|
};
|
|
6854
6914
|
var Chip = (props) => {
|
|
6855
6915
|
const {
|
|
6856
|
-
size =
|
|
6857
|
-
rounded =
|
|
6858
|
-
fillMode =
|
|
6859
|
-
themeColor =
|
|
6916
|
+
size = defaultProps33.size,
|
|
6917
|
+
rounded = defaultProps33.rounded,
|
|
6918
|
+
fillMode = defaultProps33.fillMode,
|
|
6919
|
+
themeColor = defaultProps33.themeColor,
|
|
6860
6920
|
text,
|
|
6861
6921
|
icon,
|
|
6862
6922
|
actions,
|
|
@@ -6890,35 +6950,35 @@ var Chip = (props) => {
|
|
|
6890
6950
|
})
|
|
6891
6951
|
),
|
|
6892
6952
|
children: [
|
|
6893
|
-
icon && /* @__PURE__ */
|
|
6894
|
-
showAvatar && /* @__PURE__ */
|
|
6895
|
-
/* @__PURE__ */
|
|
6896
|
-
actions && /* @__PURE__ */
|
|
6953
|
+
icon && /* @__PURE__ */ jsx91(Icon, { className: "k-chip-icon", icon, size: "small" }),
|
|
6954
|
+
showAvatar && /* @__PURE__ */ jsx91(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ jsx91("img", { src: "/packages/html/assets/avatar.jpg" }) }),
|
|
6955
|
+
/* @__PURE__ */ jsx91("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ jsx91("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
|
|
6956
|
+
actions && /* @__PURE__ */ jsx91("span", { className: "k-chip-actions", children: actions })
|
|
6897
6957
|
]
|
|
6898
6958
|
}
|
|
6899
6959
|
);
|
|
6900
6960
|
};
|
|
6901
|
-
Chip.states =
|
|
6902
|
-
Chip.options =
|
|
6961
|
+
Chip.states = states37;
|
|
6962
|
+
Chip.options = options34;
|
|
6903
6963
|
Chip.className = CHIP_CLASSNAME;
|
|
6904
|
-
Chip.defaultProps =
|
|
6964
|
+
Chip.defaultProps = defaultProps33;
|
|
6905
6965
|
|
|
6906
6966
|
// src/chip/chip-list.spec.tsx
|
|
6907
|
-
import { jsx as
|
|
6967
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6908
6968
|
var CHIPLIST_CLASSNAME = `k-chip-list`;
|
|
6909
|
-
var
|
|
6910
|
-
var
|
|
6969
|
+
var states38 = [];
|
|
6970
|
+
var options35 = {
|
|
6911
6971
|
size: [Size.small, Size.medium, Size.large]
|
|
6912
6972
|
};
|
|
6913
|
-
var
|
|
6973
|
+
var defaultProps34 = {
|
|
6914
6974
|
size: Size.medium
|
|
6915
6975
|
};
|
|
6916
6976
|
var ChipList = (props) => {
|
|
6917
6977
|
const {
|
|
6918
|
-
size =
|
|
6978
|
+
size = defaultProps34.size,
|
|
6919
6979
|
...other
|
|
6920
6980
|
} = props;
|
|
6921
|
-
return /* @__PURE__ */
|
|
6981
|
+
return /* @__PURE__ */ jsx92(
|
|
6922
6982
|
"div",
|
|
6923
6983
|
{
|
|
6924
6984
|
...other,
|
|
@@ -6933,27 +6993,27 @@ var ChipList = (props) => {
|
|
|
6933
6993
|
}
|
|
6934
6994
|
);
|
|
6935
6995
|
};
|
|
6936
|
-
ChipList.states =
|
|
6937
|
-
ChipList.options =
|
|
6996
|
+
ChipList.states = states38;
|
|
6997
|
+
ChipList.options = options35;
|
|
6938
6998
|
ChipList.className = CHIPLIST_CLASSNAME;
|
|
6939
|
-
ChipList.defaultProps =
|
|
6999
|
+
ChipList.defaultProps = defaultProps34;
|
|
6940
7000
|
|
|
6941
7001
|
// src/chip/templates/chip-avatar.tsx
|
|
6942
|
-
import { jsx as
|
|
7002
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6943
7003
|
|
|
6944
7004
|
// src/chip/templates/chip-icon.tsx
|
|
6945
|
-
import { jsx as
|
|
7005
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
6946
7006
|
|
|
6947
7007
|
// src/chip/templates/chip-normal.tsx
|
|
6948
|
-
import { jsx as
|
|
7008
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
6949
7009
|
|
|
6950
7010
|
// src/chip/templates/chip-removable.tsx
|
|
6951
|
-
import { jsx as
|
|
7011
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6952
7012
|
|
|
6953
7013
|
// src/multiselect/multiselect.spec.tsx
|
|
6954
|
-
import { Fragment as Fragment22, jsx as
|
|
7014
|
+
import { Fragment as Fragment22, jsx as jsx97, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6955
7015
|
var MULTISELECT_CLASSNAME = `k-multiselect`;
|
|
6956
|
-
var
|
|
7016
|
+
var states39 = [
|
|
6957
7017
|
States.hover,
|
|
6958
7018
|
States.focus,
|
|
6959
7019
|
States.valid,
|
|
@@ -6963,12 +7023,12 @@ var states37 = [
|
|
|
6963
7023
|
States.loading,
|
|
6964
7024
|
States.readonly
|
|
6965
7025
|
];
|
|
6966
|
-
var
|
|
7026
|
+
var options36 = {
|
|
6967
7027
|
size: [Size.small, Size.medium, Size.large],
|
|
6968
7028
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6969
7029
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6970
7030
|
};
|
|
6971
|
-
var
|
|
7031
|
+
var defaultProps35 = {
|
|
6972
7032
|
size: Input.defaultProps.size,
|
|
6973
7033
|
rounded: Input.defaultProps.rounded,
|
|
6974
7034
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -7016,12 +7076,12 @@ var MultiSelect = (props) => {
|
|
|
7016
7076
|
readonly,
|
|
7017
7077
|
className: classNames(props.className, MULTISELECT_CLASSNAME),
|
|
7018
7078
|
children: [
|
|
7019
|
-
/* @__PURE__ */
|
|
7079
|
+
/* @__PURE__ */ jsx97(InputPrefix, { children: prefix }),
|
|
7020
7080
|
/* @__PURE__ */ jsxs43("div", { className: "k-input-values", children: [
|
|
7021
|
-
/* @__PURE__ */
|
|
7022
|
-
/* @__PURE__ */
|
|
7081
|
+
/* @__PURE__ */ jsx97(ChipList, { size, children: /* @__PURE__ */ jsx97(Fragment22, { children: tags }) }),
|
|
7082
|
+
/* @__PURE__ */ jsx97(InputInnerInput, { placeholder, value })
|
|
7023
7083
|
] }),
|
|
7024
|
-
/* @__PURE__ */
|
|
7084
|
+
/* @__PURE__ */ jsx97(
|
|
7025
7085
|
InputValidationIcon,
|
|
7026
7086
|
{
|
|
7027
7087
|
valid,
|
|
@@ -7030,14 +7090,14 @@ var MultiSelect = (props) => {
|
|
|
7030
7090
|
disabled
|
|
7031
7091
|
}
|
|
7032
7092
|
),
|
|
7033
|
-
/* @__PURE__ */
|
|
7093
|
+
/* @__PURE__ */ jsx97(
|
|
7034
7094
|
InputLoadingIcon,
|
|
7035
7095
|
{
|
|
7036
7096
|
loading,
|
|
7037
7097
|
disabled
|
|
7038
7098
|
}
|
|
7039
7099
|
),
|
|
7040
|
-
/* @__PURE__ */
|
|
7100
|
+
/* @__PURE__ */ jsx97(
|
|
7041
7101
|
InputClearValue,
|
|
7042
7102
|
{
|
|
7043
7103
|
loading,
|
|
@@ -7046,8 +7106,8 @@ var MultiSelect = (props) => {
|
|
|
7046
7106
|
value: tags ? "value" : ""
|
|
7047
7107
|
}
|
|
7048
7108
|
),
|
|
7049
|
-
/* @__PURE__ */
|
|
7050
|
-
showArrowButton && /* @__PURE__ */
|
|
7109
|
+
/* @__PURE__ */ jsx97(InputSuffix, { children: suffix }),
|
|
7110
|
+
showArrowButton && /* @__PURE__ */ jsx97(
|
|
7051
7111
|
Button,
|
|
7052
7112
|
{
|
|
7053
7113
|
className: "k-input-button",
|
|
@@ -7060,9 +7120,9 @@ var MultiSelect = (props) => {
|
|
|
7060
7120
|
]
|
|
7061
7121
|
}
|
|
7062
7122
|
),
|
|
7063
|
-
opened && popup && /* @__PURE__ */
|
|
7123
|
+
opened && popup && /* @__PURE__ */ jsx97(Popup, { className: "k-list-container k-multiselect-popup", children: popup }),
|
|
7064
7124
|
adaptive && /* @__PURE__ */ jsxs43(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7065
|
-
/* @__PURE__ */
|
|
7125
|
+
/* @__PURE__ */ jsx97(
|
|
7066
7126
|
ActionSheetHeader,
|
|
7067
7127
|
{
|
|
7068
7128
|
actions: ["x"],
|
|
@@ -7070,41 +7130,41 @@ var MultiSelect = (props) => {
|
|
|
7070
7130
|
title: "Select Item"
|
|
7071
7131
|
}
|
|
7072
7132
|
),
|
|
7073
|
-
/* @__PURE__ */
|
|
7074
|
-
/* @__PURE__ */
|
|
7075
|
-
/* @__PURE__ */
|
|
7076
|
-
/* @__PURE__ */
|
|
7133
|
+
/* @__PURE__ */ jsx97("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs43(List, { size: "large", children: [
|
|
7134
|
+
/* @__PURE__ */ jsx97(ListItem, { text: "List item" }),
|
|
7135
|
+
/* @__PURE__ */ jsx97(ListItem, { text: "List item" }),
|
|
7136
|
+
/* @__PURE__ */ jsx97(ListItem, { text: "List item" })
|
|
7077
7137
|
] }) })
|
|
7078
7138
|
] })
|
|
7079
7139
|
] });
|
|
7080
7140
|
};
|
|
7081
|
-
MultiSelect.states =
|
|
7082
|
-
MultiSelect.options =
|
|
7141
|
+
MultiSelect.states = states39;
|
|
7142
|
+
MultiSelect.options = options36;
|
|
7083
7143
|
MultiSelect.className = MULTISELECT_CLASSNAME;
|
|
7084
|
-
MultiSelect.defaultProps =
|
|
7144
|
+
MultiSelect.defaultProps = defaultProps35;
|
|
7085
7145
|
|
|
7086
7146
|
// src/multiselect/templates/multiselect-normal.tsx
|
|
7087
|
-
import { jsx as
|
|
7147
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
7088
7148
|
|
|
7089
7149
|
// src/multiselect/templates/multiselect-popup.tsx
|
|
7090
|
-
import { jsx as
|
|
7150
|
+
import { jsx as jsx99, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7091
7151
|
|
|
7092
7152
|
// src/multiselect/templates/multiselect-value.tsx
|
|
7093
|
-
import { Fragment as Fragment23, jsx as
|
|
7153
|
+
import { Fragment as Fragment23, jsx as jsx100 } from "react/jsx-runtime";
|
|
7094
7154
|
|
|
7095
7155
|
// src/multiselect/templates/multiselect-arrow-button.tsx
|
|
7096
|
-
import { jsx as
|
|
7156
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
7097
7157
|
|
|
7098
7158
|
// src/multiselect/templates/multiselect-adaptive.tsx
|
|
7099
|
-
import { jsx as
|
|
7159
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
7100
7160
|
|
|
7101
7161
|
// src/multiselect/templates/multiselect-grouping.tsx
|
|
7102
|
-
import { jsx as
|
|
7162
|
+
import { jsx as jsx103, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7103
7163
|
|
|
7104
7164
|
// src/form/form-field.tsx
|
|
7105
|
-
import { jsx as
|
|
7165
|
+
import { jsx as jsx104, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7106
7166
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
7107
|
-
var
|
|
7167
|
+
var states40 = [
|
|
7108
7168
|
States.disabled
|
|
7109
7169
|
];
|
|
7110
7170
|
var FormField = (props) => {
|
|
@@ -7138,14 +7198,14 @@ var FormField = (props) => {
|
|
|
7138
7198
|
"k-form-label"
|
|
7139
7199
|
), children: [
|
|
7140
7200
|
label,
|
|
7141
|
-
optional && /* @__PURE__ */
|
|
7142
|
-
info && /* @__PURE__ */
|
|
7201
|
+
optional && /* @__PURE__ */ jsx104("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
7202
|
+
info && /* @__PURE__ */ jsx104("span", { className: "k-field-info", children: "(field info)" })
|
|
7143
7203
|
] }),
|
|
7144
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
7204
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx104("span", { className: "k-label k-form-label k-label-empty" }),
|
|
7145
7205
|
/* @__PURE__ */ jsxs46("div", { className: "k-form-field-wrap", children: [
|
|
7146
7206
|
editor,
|
|
7147
|
-
hint && /* @__PURE__ */
|
|
7148
|
-
error && /* @__PURE__ */
|
|
7207
|
+
hint && /* @__PURE__ */ jsx104("div", { className: "k-form-hint", children: hint }),
|
|
7208
|
+
error && /* @__PURE__ */ jsx104("div", { className: "k-form-error", children: error })
|
|
7149
7209
|
] })
|
|
7150
7210
|
]
|
|
7151
7211
|
}
|
|
@@ -7154,7 +7214,7 @@ var FormField = (props) => {
|
|
|
7154
7214
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
7155
7215
|
|
|
7156
7216
|
// src/form/fieldset.tsx
|
|
7157
|
-
import { Fragment as Fragment24, jsx as
|
|
7217
|
+
import { Fragment as Fragment24, jsx as jsx105, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7158
7218
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
7159
7219
|
var Fieldset = (props) => {
|
|
7160
7220
|
const {
|
|
@@ -7165,8 +7225,8 @@ var Fieldset = (props) => {
|
|
|
7165
7225
|
gapY
|
|
7166
7226
|
} = props;
|
|
7167
7227
|
return /* @__PURE__ */ jsxs47("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
7168
|
-
legend && /* @__PURE__ */
|
|
7169
|
-
layout === "grid" ? /* @__PURE__ */
|
|
7228
|
+
legend && /* @__PURE__ */ jsx105("legend", { className: "k-form-legend", children: legend }),
|
|
7229
|
+
layout === "grid" ? /* @__PURE__ */ jsx105("div", { className: classNames(
|
|
7170
7230
|
"k-form-layout",
|
|
7171
7231
|
"k-d-grid",
|
|
7172
7232
|
{
|
|
@@ -7174,37 +7234,37 @@ var Fieldset = (props) => {
|
|
|
7174
7234
|
[`k-gap-x-${gapX}`]: gapX,
|
|
7175
7235
|
[`k-gap-y-${gapY}`]: gapY
|
|
7176
7236
|
}
|
|
7177
|
-
), children: props.children }) : /* @__PURE__ */
|
|
7237
|
+
), children: props.children }) : /* @__PURE__ */ jsx105(Fragment24, { children: props.children })
|
|
7178
7238
|
] });
|
|
7179
7239
|
};
|
|
7180
7240
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
7181
7241
|
|
|
7182
7242
|
// src/form/form.spec.tsx
|
|
7183
|
-
import { Fragment as Fragment25, jsx as
|
|
7243
|
+
import { Fragment as Fragment25, jsx as jsx106, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7184
7244
|
import { createElement } from "react";
|
|
7185
7245
|
var FORM_CLASSNAME = "k-form";
|
|
7186
|
-
var
|
|
7187
|
-
var
|
|
7246
|
+
var states41 = [];
|
|
7247
|
+
var options37 = {
|
|
7188
7248
|
size: [Size.small, Size.medium, Size.large]
|
|
7189
7249
|
};
|
|
7190
|
-
var
|
|
7250
|
+
var defaultProps36 = {
|
|
7191
7251
|
size: Size.medium,
|
|
7192
7252
|
layout: "basic",
|
|
7193
7253
|
tag: "form"
|
|
7194
7254
|
};
|
|
7195
7255
|
var Form = (props) => {
|
|
7196
7256
|
const {
|
|
7197
|
-
size =
|
|
7257
|
+
size = defaultProps36.size,
|
|
7198
7258
|
orientation,
|
|
7199
|
-
layout =
|
|
7259
|
+
layout = defaultProps36.layout,
|
|
7200
7260
|
formButtons,
|
|
7201
7261
|
cols,
|
|
7202
7262
|
gapX,
|
|
7203
7263
|
gapY,
|
|
7204
|
-
tag =
|
|
7264
|
+
tag = defaultProps36.tag,
|
|
7205
7265
|
children
|
|
7206
7266
|
} = props;
|
|
7207
|
-
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
7267
|
+
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx106("form", { className: className18, children: children2 }) : /* @__PURE__ */ jsx106("div", { className: className18, children: children2 });
|
|
7208
7268
|
const formChildren = [];
|
|
7209
7269
|
if (children) {
|
|
7210
7270
|
if (Array.isArray(children)) {
|
|
@@ -7233,7 +7293,7 @@ var Form = (props) => {
|
|
|
7233
7293
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
7234
7294
|
}
|
|
7235
7295
|
), children: [
|
|
7236
|
-
layout === "grid" ? /* @__PURE__ */
|
|
7296
|
+
layout === "grid" ? /* @__PURE__ */ jsx106("div", { className: classNames(
|
|
7237
7297
|
"k-form-layout",
|
|
7238
7298
|
"k-d-grid",
|
|
7239
7299
|
{
|
|
@@ -7241,19 +7301,19 @@ var Form = (props) => {
|
|
|
7241
7301
|
[`k-gap-x-${gapX}`]: gapX,
|
|
7242
7302
|
[`k-gap-y-${gapY}`]: gapY
|
|
7243
7303
|
}
|
|
7244
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
7245
|
-
formButtons && /* @__PURE__ */
|
|
7304
|
+
), children: formChildren }) : /* @__PURE__ */ jsx106(Fragment25, { children: formChildren }),
|
|
7305
|
+
formButtons && /* @__PURE__ */ jsx106("div", { className: "k-form-buttons", children: formButtons })
|
|
7246
7306
|
] });
|
|
7247
7307
|
};
|
|
7248
|
-
Form.states =
|
|
7249
|
-
Form.options =
|
|
7308
|
+
Form.states = states41;
|
|
7309
|
+
Form.options = options37;
|
|
7250
7310
|
Form.className = FORM_CLASSNAME;
|
|
7251
|
-
Form.defaultProps =
|
|
7311
|
+
Form.defaultProps = defaultProps36;
|
|
7252
7312
|
|
|
7253
7313
|
// src/radio/radio.spec.tsx
|
|
7254
|
-
import { jsx as
|
|
7314
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
7255
7315
|
var RADIOBUTTON_CLASSNAME = `k-radio`;
|
|
7256
|
-
var
|
|
7316
|
+
var states42 = [
|
|
7257
7317
|
States.hover,
|
|
7258
7318
|
States.focus,
|
|
7259
7319
|
States.valid,
|
|
@@ -7262,10 +7322,10 @@ var states40 = [
|
|
|
7262
7322
|
States.disabled,
|
|
7263
7323
|
States.checked
|
|
7264
7324
|
];
|
|
7265
|
-
var
|
|
7325
|
+
var options38 = {
|
|
7266
7326
|
size: [Size.small, Size.medium, Size.large]
|
|
7267
7327
|
};
|
|
7268
|
-
var
|
|
7328
|
+
var defaultProps37 = {
|
|
7269
7329
|
size: Size.medium
|
|
7270
7330
|
};
|
|
7271
7331
|
var RadioButton = (props) => {
|
|
@@ -7278,10 +7338,10 @@ var RadioButton = (props) => {
|
|
|
7278
7338
|
invalid,
|
|
7279
7339
|
valid,
|
|
7280
7340
|
required,
|
|
7281
|
-
size =
|
|
7341
|
+
size = defaultProps37.size,
|
|
7282
7342
|
...other
|
|
7283
7343
|
} = props;
|
|
7284
|
-
return /* @__PURE__ */
|
|
7344
|
+
return /* @__PURE__ */ jsx107("span", { className: "k-radio-wrap", children: /* @__PURE__ */ jsx107(
|
|
7285
7345
|
"input",
|
|
7286
7346
|
{
|
|
7287
7347
|
...other,
|
|
@@ -7298,36 +7358,101 @@ var RadioButton = (props) => {
|
|
|
7298
7358
|
}
|
|
7299
7359
|
) });
|
|
7300
7360
|
};
|
|
7301
|
-
RadioButton.states =
|
|
7302
|
-
RadioButton.options =
|
|
7361
|
+
RadioButton.states = states42;
|
|
7362
|
+
RadioButton.options = options38;
|
|
7303
7363
|
RadioButton.className = RADIOBUTTON_CLASSNAME;
|
|
7304
|
-
RadioButton.defaultProps =
|
|
7364
|
+
RadioButton.defaultProps = defaultProps37;
|
|
7365
|
+
var radio_spec_default = RadioButton;
|
|
7366
|
+
|
|
7367
|
+
// src/radio/radio-group.spec.tsx
|
|
7368
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
7369
|
+
var RADIOGROUP_CLASSNAME = `k-radio-list`;
|
|
7370
|
+
var states43 = [];
|
|
7371
|
+
var options39 = {};
|
|
7372
|
+
var defaultProps38 = {
|
|
7373
|
+
layout: "vertical"
|
|
7374
|
+
};
|
|
7375
|
+
var RadioGroup = (props) => {
|
|
7376
|
+
const {
|
|
7377
|
+
layout = defaultProps38.layout,
|
|
7378
|
+
...other
|
|
7379
|
+
} = props;
|
|
7380
|
+
return /* @__PURE__ */ jsx108(
|
|
7381
|
+
"ul",
|
|
7382
|
+
{
|
|
7383
|
+
...other,
|
|
7384
|
+
className: classNames(
|
|
7385
|
+
props.className,
|
|
7386
|
+
RADIOGROUP_CLASSNAME,
|
|
7387
|
+
{
|
|
7388
|
+
[`k-list-${layout}`]: layout
|
|
7389
|
+
}
|
|
7390
|
+
),
|
|
7391
|
+
children: props.children
|
|
7392
|
+
}
|
|
7393
|
+
);
|
|
7394
|
+
};
|
|
7395
|
+
RadioGroup.states = states43;
|
|
7396
|
+
RadioGroup.options = options39;
|
|
7397
|
+
RadioGroup.className = RADIOGROUP_CLASSNAME;
|
|
7398
|
+
RadioGroup.defaultProps = defaultProps38;
|
|
7399
|
+
|
|
7400
|
+
// src/radio/radio-item.spec.tsx
|
|
7401
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7402
|
+
var RADIOITEM_CLASSNAME = `k-radio-list-item`;
|
|
7403
|
+
var states44 = [];
|
|
7404
|
+
var options40 = {};
|
|
7405
|
+
var defaultProps39 = {};
|
|
7406
|
+
var RadioItem = (props) => {
|
|
7407
|
+
const {
|
|
7408
|
+
...other
|
|
7409
|
+
} = props;
|
|
7410
|
+
return /* @__PURE__ */ jsx109(
|
|
7411
|
+
"li",
|
|
7412
|
+
{
|
|
7413
|
+
...other,
|
|
7414
|
+
className: classNames(
|
|
7415
|
+
props.className,
|
|
7416
|
+
RADIOITEM_CLASSNAME
|
|
7417
|
+
),
|
|
7418
|
+
children: props.children
|
|
7419
|
+
}
|
|
7420
|
+
);
|
|
7421
|
+
};
|
|
7422
|
+
RadioItem.states = states44;
|
|
7423
|
+
RadioItem.options = options40;
|
|
7424
|
+
RadioItem.className = RADIOITEM_CLASSNAME;
|
|
7425
|
+
RadioItem.defaultProps = defaultProps39;
|
|
7305
7426
|
|
|
7306
7427
|
// src/radio/templates/radio-normal.tsx
|
|
7307
|
-
import { jsx as
|
|
7428
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
7308
7429
|
|
|
7309
7430
|
// src/radio/templates/radio-label.tsx
|
|
7310
|
-
import { Fragment as Fragment26, jsx as
|
|
7431
|
+
import { Fragment as Fragment26, jsx as jsx111, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7432
|
+
var RadioButtonLabel = ({ children, id, ...other }) => /* @__PURE__ */ jsxs49(Fragment26, { children: [
|
|
7433
|
+
/* @__PURE__ */ jsx111(radio_spec_default, { ...other, id }),
|
|
7434
|
+
/* @__PURE__ */ jsx111("label", { className: "k-radio-label", htmlFor: id, children })
|
|
7435
|
+
] });
|
|
7311
7436
|
|
|
7312
7437
|
// src/radio/templates/radio-inside-label.tsx
|
|
7313
|
-
import { Fragment as Fragment27, jsx as
|
|
7438
|
+
import { Fragment as Fragment27, jsx as jsx112, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7314
7439
|
|
|
7315
7440
|
// src/spinbutton/spinbutton.spec.tsx
|
|
7316
|
-
import { jsx as
|
|
7441
|
+
import { jsx as jsx113, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7317
7442
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
7318
|
-
var
|
|
7319
|
-
var
|
|
7443
|
+
var states45 = [];
|
|
7444
|
+
var options41 = {
|
|
7320
7445
|
size: [Size.small, Size.medium, Size.large],
|
|
7321
7446
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
7322
7447
|
};
|
|
7323
|
-
var
|
|
7448
|
+
var defaultProps40 = {
|
|
7324
7449
|
size: Size.medium,
|
|
7325
7450
|
fillMode: FillMode.solid
|
|
7326
7451
|
};
|
|
7327
7452
|
var SpinButton = (props) => {
|
|
7328
7453
|
const {
|
|
7329
|
-
size =
|
|
7330
|
-
fillMode =
|
|
7454
|
+
size = defaultProps40.size,
|
|
7455
|
+
fillMode = defaultProps40.fillMode,
|
|
7331
7456
|
...other
|
|
7332
7457
|
} = props;
|
|
7333
7458
|
return /* @__PURE__ */ jsxs51(
|
|
@@ -7339,7 +7464,7 @@ var SpinButton = (props) => {
|
|
|
7339
7464
|
props.className
|
|
7340
7465
|
),
|
|
7341
7466
|
children: [
|
|
7342
|
-
/* @__PURE__ */
|
|
7467
|
+
/* @__PURE__ */ jsx113(
|
|
7343
7468
|
Button,
|
|
7344
7469
|
{
|
|
7345
7470
|
className: "k-spinner-increase",
|
|
@@ -7349,7 +7474,7 @@ var SpinButton = (props) => {
|
|
|
7349
7474
|
fillMode
|
|
7350
7475
|
}
|
|
7351
7476
|
),
|
|
7352
|
-
/* @__PURE__ */
|
|
7477
|
+
/* @__PURE__ */ jsx113(
|
|
7353
7478
|
Button,
|
|
7354
7479
|
{
|
|
7355
7480
|
className: "k-spinner-decrease",
|
|
@@ -7363,15 +7488,15 @@ var SpinButton = (props) => {
|
|
|
7363
7488
|
}
|
|
7364
7489
|
);
|
|
7365
7490
|
};
|
|
7366
|
-
SpinButton.states =
|
|
7367
|
-
SpinButton.options =
|
|
7491
|
+
SpinButton.states = states45;
|
|
7492
|
+
SpinButton.options = options41;
|
|
7368
7493
|
SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
7369
|
-
SpinButton.defaultProps =
|
|
7494
|
+
SpinButton.defaultProps = defaultProps40;
|
|
7370
7495
|
|
|
7371
7496
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
7372
|
-
import { jsx as
|
|
7497
|
+
import { jsx as jsx114, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7373
7498
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
7374
|
-
var
|
|
7499
|
+
var states46 = [
|
|
7375
7500
|
States.hover,
|
|
7376
7501
|
States.focus,
|
|
7377
7502
|
States.valid,
|
|
@@ -7381,12 +7506,12 @@ var states42 = [
|
|
|
7381
7506
|
States.disabled,
|
|
7382
7507
|
States.readonly
|
|
7383
7508
|
];
|
|
7384
|
-
var
|
|
7509
|
+
var options42 = {
|
|
7385
7510
|
size: [Size.small, Size.medium, Size.large],
|
|
7386
7511
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7387
7512
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
7388
7513
|
};
|
|
7389
|
-
var
|
|
7514
|
+
var defaultProps41 = {
|
|
7390
7515
|
showSpinButton: true,
|
|
7391
7516
|
showClearButton: true,
|
|
7392
7517
|
size: Input.defaultProps.size,
|
|
@@ -7408,8 +7533,8 @@ var NumericTextbox = (props) => {
|
|
|
7408
7533
|
loading,
|
|
7409
7534
|
disabled,
|
|
7410
7535
|
readonly,
|
|
7411
|
-
showClearButton =
|
|
7412
|
-
showSpinButton =
|
|
7536
|
+
showClearButton = defaultProps41.showClearButton,
|
|
7537
|
+
showSpinButton = defaultProps41.showSpinButton,
|
|
7413
7538
|
...other
|
|
7414
7539
|
} = props;
|
|
7415
7540
|
return /* @__PURE__ */ jsxs52(
|
|
@@ -7429,8 +7554,8 @@ var NumericTextbox = (props) => {
|
|
|
7429
7554
|
readonly,
|
|
7430
7555
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
7431
7556
|
children: [
|
|
7432
|
-
/* @__PURE__ */
|
|
7433
|
-
/* @__PURE__ */
|
|
7557
|
+
/* @__PURE__ */ jsx114(InputInnerInput, { placeholder, value }),
|
|
7558
|
+
/* @__PURE__ */ jsx114(
|
|
7434
7559
|
InputValidationIcon,
|
|
7435
7560
|
{
|
|
7436
7561
|
valid,
|
|
@@ -7439,14 +7564,14 @@ var NumericTextbox = (props) => {
|
|
|
7439
7564
|
disabled
|
|
7440
7565
|
}
|
|
7441
7566
|
),
|
|
7442
|
-
/* @__PURE__ */
|
|
7567
|
+
/* @__PURE__ */ jsx114(
|
|
7443
7568
|
InputLoadingIcon,
|
|
7444
7569
|
{
|
|
7445
7570
|
loading,
|
|
7446
7571
|
disabled
|
|
7447
7572
|
}
|
|
7448
7573
|
),
|
|
7449
|
-
showClearButton && /* @__PURE__ */
|
|
7574
|
+
showClearButton && /* @__PURE__ */ jsx114(
|
|
7450
7575
|
InputClearValue,
|
|
7451
7576
|
{
|
|
7452
7577
|
loading,
|
|
@@ -7455,7 +7580,7 @@ var NumericTextbox = (props) => {
|
|
|
7455
7580
|
value
|
|
7456
7581
|
}
|
|
7457
7582
|
),
|
|
7458
|
-
showSpinButton && /* @__PURE__ */
|
|
7583
|
+
showSpinButton && /* @__PURE__ */ jsx114(
|
|
7459
7584
|
SpinButton,
|
|
7460
7585
|
{
|
|
7461
7586
|
className: "k-input-spinner",
|
|
@@ -7467,18 +7592,18 @@ var NumericTextbox = (props) => {
|
|
|
7467
7592
|
}
|
|
7468
7593
|
);
|
|
7469
7594
|
};
|
|
7470
|
-
NumericTextbox.states =
|
|
7471
|
-
NumericTextbox.options =
|
|
7595
|
+
NumericTextbox.states = states46;
|
|
7596
|
+
NumericTextbox.options = options42;
|
|
7472
7597
|
NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
7473
|
-
NumericTextbox.defaultProps =
|
|
7598
|
+
NumericTextbox.defaultProps = defaultProps41;
|
|
7474
7599
|
|
|
7475
7600
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
7476
|
-
import { jsx as
|
|
7601
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
7477
7602
|
|
|
7478
7603
|
// src/datepicker/datepicker.spec.tsx
|
|
7479
|
-
import { Fragment as Fragment28, jsx as
|
|
7604
|
+
import { Fragment as Fragment28, jsx as jsx116, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7480
7605
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
7481
|
-
var
|
|
7606
|
+
var states47 = [
|
|
7482
7607
|
States.hover,
|
|
7483
7608
|
States.focus,
|
|
7484
7609
|
States.valid,
|
|
@@ -7488,12 +7613,12 @@ var states43 = [
|
|
|
7488
7613
|
States.loading,
|
|
7489
7614
|
States.readonly
|
|
7490
7615
|
];
|
|
7491
|
-
var
|
|
7616
|
+
var options43 = {
|
|
7492
7617
|
size: [Size.small, Size.medium, Size.large],
|
|
7493
7618
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7494
7619
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
7495
7620
|
};
|
|
7496
|
-
var
|
|
7621
|
+
var defaultProps42 = {
|
|
7497
7622
|
size: Input.defaultProps.size,
|
|
7498
7623
|
rounded: Input.defaultProps.rounded,
|
|
7499
7624
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -7540,9 +7665,9 @@ var DatePicker = (props) => {
|
|
|
7540
7665
|
readonly,
|
|
7541
7666
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
7542
7667
|
children: [
|
|
7543
|
-
/* @__PURE__ */
|
|
7544
|
-
/* @__PURE__ */
|
|
7545
|
-
/* @__PURE__ */
|
|
7668
|
+
/* @__PURE__ */ jsx116(InputPrefix, { children: prefix }),
|
|
7669
|
+
/* @__PURE__ */ jsx116(InputInnerInput, { placeholder, value }),
|
|
7670
|
+
/* @__PURE__ */ jsx116(
|
|
7546
7671
|
InputValidationIcon,
|
|
7547
7672
|
{
|
|
7548
7673
|
valid,
|
|
@@ -7551,14 +7676,14 @@ var DatePicker = (props) => {
|
|
|
7551
7676
|
disabled
|
|
7552
7677
|
}
|
|
7553
7678
|
),
|
|
7554
|
-
/* @__PURE__ */
|
|
7679
|
+
/* @__PURE__ */ jsx116(
|
|
7555
7680
|
InputLoadingIcon,
|
|
7556
7681
|
{
|
|
7557
7682
|
loading,
|
|
7558
7683
|
disabled
|
|
7559
7684
|
}
|
|
7560
7685
|
),
|
|
7561
|
-
/* @__PURE__ */
|
|
7686
|
+
/* @__PURE__ */ jsx116(
|
|
7562
7687
|
InputClearValue,
|
|
7563
7688
|
{
|
|
7564
7689
|
loading,
|
|
@@ -7567,8 +7692,8 @@ var DatePicker = (props) => {
|
|
|
7567
7692
|
value
|
|
7568
7693
|
}
|
|
7569
7694
|
),
|
|
7570
|
-
/* @__PURE__ */
|
|
7571
|
-
/* @__PURE__ */
|
|
7695
|
+
/* @__PURE__ */ jsx116(InputSuffix, { children: suffix }),
|
|
7696
|
+
/* @__PURE__ */ jsx116(
|
|
7572
7697
|
Button,
|
|
7573
7698
|
{
|
|
7574
7699
|
className: "k-input-button",
|
|
@@ -7581,9 +7706,9 @@ var DatePicker = (props) => {
|
|
|
7581
7706
|
]
|
|
7582
7707
|
}
|
|
7583
7708
|
),
|
|
7584
|
-
opened && /* @__PURE__ */
|
|
7709
|
+
opened && /* @__PURE__ */ jsx116(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ jsx116(Calendar, { dir }) }),
|
|
7585
7710
|
adaptive && /* @__PURE__ */ jsxs53(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7586
|
-
/* @__PURE__ */
|
|
7711
|
+
/* @__PURE__ */ jsx116(
|
|
7587
7712
|
ActionSheetHeader,
|
|
7588
7713
|
{
|
|
7589
7714
|
actions: ["x"],
|
|
@@ -7591,26 +7716,26 @@ var DatePicker = (props) => {
|
|
|
7591
7716
|
subTitle: "DD / MM / YY"
|
|
7592
7717
|
}
|
|
7593
7718
|
),
|
|
7594
|
-
/* @__PURE__ */
|
|
7719
|
+
/* @__PURE__ */ jsx116(Calendar, { size: "large" })
|
|
7595
7720
|
] })
|
|
7596
7721
|
] });
|
|
7597
7722
|
};
|
|
7598
|
-
DatePicker.states =
|
|
7599
|
-
DatePicker.options =
|
|
7723
|
+
DatePicker.states = states47;
|
|
7724
|
+
DatePicker.options = options43;
|
|
7600
7725
|
DatePicker.className = DATEPICKER_CLASSNAME;
|
|
7601
|
-
DatePicker.defaultProps =
|
|
7726
|
+
DatePicker.defaultProps = defaultProps42;
|
|
7602
7727
|
|
|
7603
7728
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
7604
|
-
import { jsx as
|
|
7729
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
7605
7730
|
|
|
7606
7731
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
7607
|
-
import { jsx as
|
|
7732
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7608
7733
|
|
|
7609
7734
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
7610
|
-
import { jsx as
|
|
7735
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
7611
7736
|
|
|
7612
7737
|
// src/scheduler/tests/scheduler-edit-dialog.tsx
|
|
7613
|
-
import { Fragment as Fragment29, jsx as
|
|
7738
|
+
import { Fragment as Fragment29, jsx as jsx120, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7614
7739
|
var style = `
|
|
7615
7740
|
#test-area {
|
|
7616
7741
|
width: 700px;
|
|
@@ -7621,59 +7746,54 @@ var style = `
|
|
|
7621
7746
|
}
|
|
7622
7747
|
`;
|
|
7623
7748
|
var scheduler_edit_dialog_default = () => /* @__PURE__ */ jsxs54(Fragment29, { children: [
|
|
7624
|
-
/* @__PURE__ */
|
|
7625
|
-
/* @__PURE__ */
|
|
7626
|
-
/* @__PURE__ */
|
|
7627
|
-
/* @__PURE__ */
|
|
7628
|
-
/* @__PURE__ */
|
|
7629
|
-
/* @__PURE__ */
|
|
7749
|
+
/* @__PURE__ */ jsx120("style", { children: style }),
|
|
7750
|
+
/* @__PURE__ */ jsx120("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsx120("section", { children: /* @__PURE__ */ jsx120(Window, { title: "Edit event", actions: ["window-minimize", "window", "x"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs54(Fragment29, { children: [
|
|
7751
|
+
/* @__PURE__ */ jsx120(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
7752
|
+
/* @__PURE__ */ jsx120(Button, { icon: "cancel", children: "Cancel" }),
|
|
7753
|
+
/* @__PURE__ */ jsx120("span", { className: "k-spacer" }),
|
|
7754
|
+
/* @__PURE__ */ jsx120(Button, { fillMode: "flat", themeColor: "primary", icon: "trash", children: "Delete" })
|
|
7630
7755
|
] }), children: /* @__PURE__ */ jsxs54(Form, { tag: "div", className: "k-scheduler-edit-form", children: [
|
|
7631
|
-
/* @__PURE__ */
|
|
7632
|
-
/* @__PURE__ */
|
|
7633
|
-
/* @__PURE__ */
|
|
7634
|
-
/* @__PURE__ */
|
|
7635
|
-
/* @__PURE__ */
|
|
7636
|
-
/* @__PURE__ */
|
|
7756
|
+
/* @__PURE__ */ jsx120(FormField, { className: "k-form-field-error", label: "Title", error: "Error", editor: /* @__PURE__ */ jsx120(Textbox, { invalid: true, value: "Invalid" }) }),
|
|
7757
|
+
/* @__PURE__ */ jsx120(FormField, { label: "Start", editor: /* @__PURE__ */ jsx120(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" }) }),
|
|
7758
|
+
/* @__PURE__ */ jsx120(FormField, { label: "End", editor: /* @__PURE__ */ jsx120(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" }) }),
|
|
7759
|
+
/* @__PURE__ */ jsx120(FormField, { editor: /* @__PURE__ */ jsxs54(Fragment29, { children: [
|
|
7760
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7761
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label", children: "All Day Event" })
|
|
7637
7762
|
] }) }),
|
|
7638
|
-
/* @__PURE__ */
|
|
7639
|
-
/* @__PURE__ */
|
|
7640
|
-
/* @__PURE__ */
|
|
7763
|
+
/* @__PURE__ */ jsx120(FormField, { editor: /* @__PURE__ */ jsxs54(Fragment29, { children: [
|
|
7764
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7765
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label", children: "Specify Time Zone" })
|
|
7641
7766
|
] }) }),
|
|
7642
7767
|
/* @__PURE__ */ jsxs54("div", { className: "k-recurrence-editor", children: [
|
|
7643
|
-
/* @__PURE__ */
|
|
7644
|
-
/* @__PURE__ */
|
|
7645
|
-
/* @__PURE__ */
|
|
7646
|
-
/* @__PURE__ */
|
|
7647
|
-
/* @__PURE__ */
|
|
7648
|
-
/* @__PURE__ */
|
|
7768
|
+
/* @__PURE__ */ jsx120(FormField, { label: "Repeat", editor: /* @__PURE__ */ jsxs54(ButtonGroup, { stretched: true, className: "k-scheduler-recurrence-repeat", children: [
|
|
7769
|
+
/* @__PURE__ */ jsx120(Button, { children: "Never" }),
|
|
7770
|
+
/* @__PURE__ */ jsx120(Button, { selected: true, children: "Daily" }),
|
|
7771
|
+
/* @__PURE__ */ jsx120(Button, { children: "Weekly" }),
|
|
7772
|
+
/* @__PURE__ */ jsx120(Button, { children: "Monthly" }),
|
|
7773
|
+
/* @__PURE__ */ jsx120(Button, { children: "Yearly" })
|
|
7649
7774
|
] }) }),
|
|
7650
7775
|
/* @__PURE__ */ jsxs54("div", { className: "k-recur-view", children: [
|
|
7651
|
-
/* @__PURE__ */
|
|
7652
|
-
/* @__PURE__ */
|
|
7653
|
-
/* @__PURE__ */
|
|
7776
|
+
/* @__PURE__ */ jsx120("div", { className: "k-scheduler-recurrence-interval-editor", children: /* @__PURE__ */ jsx120(FormField, { label: "Repeat every", editor: /* @__PURE__ */ jsxs54(Fragment29, { children: [
|
|
7777
|
+
/* @__PURE__ */ jsx120(NumericTextbox, { className: "k-recur-interval" }),
|
|
7778
|
+
/* @__PURE__ */ jsx120("span", { children: " day(s)" })
|
|
7654
7779
|
] }) }) }),
|
|
7655
|
-
/* @__PURE__ */
|
|
7656
|
-
/* @__PURE__ */
|
|
7657
|
-
|
|
7658
|
-
/* @__PURE__ */
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
/* @__PURE__ */ jsx116(RadioButton, { id: "k-endrule-count" }),
|
|
7662
|
-
/* @__PURE__ */ jsx116("label", { className: "k-radio-label", htmlFor: "k-endrule-count", children: "After" }),
|
|
7663
|
-
/* @__PURE__ */ jsx116(NumericTextbox, { className: "k-recur-count" }),
|
|
7664
|
-
/* @__PURE__ */ jsx116("span", { children: "occurrence(s)" })
|
|
7780
|
+
/* @__PURE__ */ jsx120("div", { className: "k-scheduler-recurrence-end-rule-editor", children: /* @__PURE__ */ jsx120(FormField, { label: "End", editor: /* @__PURE__ */ jsxs54(RadioGroup, { children: [
|
|
7781
|
+
/* @__PURE__ */ jsx120(RadioItem, { children: /* @__PURE__ */ jsx120(RadioButtonLabel, { id: "k-endrule-never", children: "Never" }) }),
|
|
7782
|
+
/* @__PURE__ */ jsxs54(RadioItem, { children: [
|
|
7783
|
+
/* @__PURE__ */ jsx120(RadioButtonLabel, { id: "k-endrule-count", children: "After" }),
|
|
7784
|
+
/* @__PURE__ */ jsx120(NumericTextbox, { className: "k-recur-count" }),
|
|
7785
|
+
/* @__PURE__ */ jsx120("span", { children: "occurrence(s)" })
|
|
7665
7786
|
] }),
|
|
7666
|
-
/* @__PURE__ */ jsxs54(
|
|
7667
|
-
/* @__PURE__ */
|
|
7668
|
-
/* @__PURE__ */
|
|
7669
|
-
/* @__PURE__ */ jsx116(DatePicker, { className: "k-recur-until", disabled: true })
|
|
7787
|
+
/* @__PURE__ */ jsxs54(RadioItem, { children: [
|
|
7788
|
+
/* @__PURE__ */ jsx120(RadioButtonLabel, { id: "k-endrule-until", children: "On" }),
|
|
7789
|
+
/* @__PURE__ */ jsx120(DatePicker, { className: "k-recur-until", disabled: true })
|
|
7670
7790
|
] })
|
|
7671
7791
|
] }) }) })
|
|
7672
7792
|
] })
|
|
7673
7793
|
] }),
|
|
7674
|
-
/* @__PURE__ */
|
|
7675
|
-
/* @__PURE__ */
|
|
7676
|
-
/* @__PURE__ */
|
|
7794
|
+
/* @__PURE__ */ jsx120(FormField, { label: "Description", editor: /* @__PURE__ */ jsx120(Textarea, {}) }),
|
|
7795
|
+
/* @__PURE__ */ jsx120(FormField, { label: "Owner", editor: /* @__PURE__ */ jsx120(Combobox, { placeholder: "Select owner" }) }),
|
|
7796
|
+
/* @__PURE__ */ jsx120(FormField, { label: "Atendee", optional: true, editor: /* @__PURE__ */ jsx120(MultiSelect, { placeholder: "Invite people" }) })
|
|
7677
7797
|
] }) }) }) })
|
|
7678
7798
|
] });
|
|
7679
7799
|
export {
|