@progress/kendo-themes-html 6.7.1-dev.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
|
@@ -5328,23 +5328,83 @@ Checkbox.options = options18;
|
|
|
5328
5328
|
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
5329
5329
|
Checkbox.defaultProps = defaultProps16;
|
|
5330
5330
|
|
|
5331
|
-
// src/checkbox/
|
|
5332
|
-
import {
|
|
5331
|
+
// src/checkbox/checkbox-group.spec.tsx
|
|
5332
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5333
|
+
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5334
|
+
var states21 = [];
|
|
5335
|
+
var options19 = {};
|
|
5336
|
+
var defaultProps17 = {
|
|
5337
|
+
layout: "vertical"
|
|
5338
|
+
};
|
|
5339
|
+
var CheckboxGroup = (props) => {
|
|
5340
|
+
const {
|
|
5341
|
+
layout = defaultProps17.layout,
|
|
5342
|
+
...other
|
|
5343
|
+
} = props;
|
|
5344
|
+
return /* @__PURE__ */ jsx33(
|
|
5345
|
+
"ul",
|
|
5346
|
+
{
|
|
5347
|
+
...other,
|
|
5348
|
+
className: classNames(
|
|
5349
|
+
props.className,
|
|
5350
|
+
CHECKBOXGROUP_CLASSNAME,
|
|
5351
|
+
{
|
|
5352
|
+
[`k-list-${layout}`]: layout
|
|
5353
|
+
}
|
|
5354
|
+
),
|
|
5355
|
+
children: props.children
|
|
5356
|
+
}
|
|
5357
|
+
);
|
|
5358
|
+
};
|
|
5359
|
+
CheckboxGroup.states = states21;
|
|
5360
|
+
CheckboxGroup.options = options19;
|
|
5361
|
+
CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
5362
|
+
CheckboxGroup.defaultProps = defaultProps17;
|
|
5333
5363
|
|
|
5334
|
-
// src/checkbox/
|
|
5364
|
+
// src/checkbox/checkbox-item.spec.tsx
|
|
5335
5365
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5366
|
+
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5367
|
+
var states22 = [];
|
|
5368
|
+
var options20 = {};
|
|
5369
|
+
var defaultProps18 = {};
|
|
5370
|
+
var CheckboxItem = (props) => {
|
|
5371
|
+
const {
|
|
5372
|
+
...other
|
|
5373
|
+
} = props;
|
|
5374
|
+
return /* @__PURE__ */ jsx34(
|
|
5375
|
+
"li",
|
|
5376
|
+
{
|
|
5377
|
+
...other,
|
|
5378
|
+
className: classNames(
|
|
5379
|
+
props.className,
|
|
5380
|
+
CHECKBOXITEM_CLASSNAME
|
|
5381
|
+
),
|
|
5382
|
+
children: props.children
|
|
5383
|
+
}
|
|
5384
|
+
);
|
|
5385
|
+
};
|
|
5386
|
+
CheckboxItem.states = states22;
|
|
5387
|
+
CheckboxItem.options = options20;
|
|
5388
|
+
CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
5389
|
+
CheckboxItem.defaultProps = defaultProps18;
|
|
5390
|
+
|
|
5391
|
+
// src/checkbox/templates/checkbox-with-label.tsx
|
|
5392
|
+
import { Fragment as Fragment14, jsx as jsx35, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5393
|
+
|
|
5394
|
+
// src/checkbox/templates/checkbox-normal.tsx
|
|
5395
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5336
5396
|
|
|
5337
5397
|
// src/list/list-item.spec.tsx
|
|
5338
|
-
import { jsx as
|
|
5398
|
+
import { jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5339
5399
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5340
|
-
var
|
|
5400
|
+
var states23 = [
|
|
5341
5401
|
States.hover,
|
|
5342
5402
|
States.focus,
|
|
5343
5403
|
States.selected,
|
|
5344
5404
|
States.disabled
|
|
5345
5405
|
];
|
|
5346
|
-
var
|
|
5347
|
-
var
|
|
5406
|
+
var options21 = {};
|
|
5407
|
+
var defaultProps19 = {};
|
|
5348
5408
|
var ListItem = (props) => {
|
|
5349
5409
|
const {
|
|
5350
5410
|
text,
|
|
@@ -5375,66 +5435,66 @@ var ListItem = (props) => {
|
|
|
5375
5435
|
})
|
|
5376
5436
|
),
|
|
5377
5437
|
children: [
|
|
5378
|
-
showCheckbox && /* @__PURE__ */
|
|
5379
|
-
showIcon && /* @__PURE__ */
|
|
5380
|
-
/* @__PURE__ */
|
|
5381
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5438
|
+
showCheckbox && /* @__PURE__ */ jsx37(Checkbox, { checked }),
|
|
5439
|
+
showIcon && /* @__PURE__ */ jsx37(Icon, { icon: iconName }),
|
|
5440
|
+
/* @__PURE__ */ jsx37("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5441
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx37("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5382
5442
|
]
|
|
5383
5443
|
}
|
|
5384
5444
|
);
|
|
5385
5445
|
};
|
|
5386
|
-
ListItem.states =
|
|
5387
|
-
ListItem.options =
|
|
5446
|
+
ListItem.states = states23;
|
|
5447
|
+
ListItem.options = options21;
|
|
5388
5448
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
5389
|
-
ListItem.defaultProps =
|
|
5449
|
+
ListItem.defaultProps = defaultProps19;
|
|
5390
5450
|
|
|
5391
5451
|
// src/list/list-content.tsx
|
|
5392
|
-
import { jsx as
|
|
5452
|
+
import { jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5393
5453
|
var className10 = `k-list-content`;
|
|
5394
5454
|
var ListContent = (props) => {
|
|
5395
5455
|
const {
|
|
5396
5456
|
virtualization
|
|
5397
5457
|
} = props;
|
|
5398
5458
|
return /* @__PURE__ */ jsxs12("div", { className: classNames(className10, props.className), children: [
|
|
5399
|
-
/* @__PURE__ */
|
|
5400
|
-
virtualization && /* @__PURE__ */
|
|
5459
|
+
/* @__PURE__ */ jsx38("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5460
|
+
virtualization && /* @__PURE__ */ jsx38("div", { className: "k-height-container", children: /* @__PURE__ */ jsx38("div", {}) })
|
|
5401
5461
|
] });
|
|
5402
5462
|
};
|
|
5403
5463
|
|
|
5404
5464
|
// src/list/list-header.tsx
|
|
5405
|
-
import { jsx as
|
|
5465
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5406
5466
|
var className11 = `k-list-group-sticky-header`;
|
|
5407
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5467
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx39("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx39("div", { className: "k-list-header-text", children: props.children }) });
|
|
5408
5468
|
|
|
5409
5469
|
// src/list/list-group.tsx
|
|
5410
|
-
import { Fragment as Fragment15, jsx as
|
|
5470
|
+
import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5411
5471
|
var ListGroup = (props) => {
|
|
5412
5472
|
const {
|
|
5413
5473
|
virtualization,
|
|
5414
5474
|
label
|
|
5415
5475
|
} = props;
|
|
5416
5476
|
return /* @__PURE__ */ jsxs13(Fragment15, { children: [
|
|
5417
|
-
label && /* @__PURE__ */
|
|
5418
|
-
props.children && /* @__PURE__ */
|
|
5477
|
+
label && /* @__PURE__ */ jsx40(ListHeader, { children: label }),
|
|
5478
|
+
props.children && /* @__PURE__ */ jsx40(ListContent, { virtualization, children: props.children })
|
|
5419
5479
|
] });
|
|
5420
5480
|
};
|
|
5421
5481
|
|
|
5422
5482
|
// src/list/list-group-item.tsx
|
|
5423
|
-
import { jsx as
|
|
5483
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5424
5484
|
var className12 = `k-list-group-item`;
|
|
5425
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5485
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx41("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx41("span", { className: "k-list-item-text", children: props.children }) });
|
|
5426
5486
|
|
|
5427
5487
|
// src/list/list-option-label.tsx
|
|
5428
|
-
import { jsx as
|
|
5488
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5429
5489
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5430
|
-
var
|
|
5490
|
+
var states24 = [
|
|
5431
5491
|
States.hover,
|
|
5432
5492
|
States.focus,
|
|
5433
5493
|
States.selected,
|
|
5434
5494
|
States.disabled
|
|
5435
5495
|
];
|
|
5436
|
-
var
|
|
5437
|
-
var
|
|
5496
|
+
var options22 = {};
|
|
5497
|
+
var defaultProps20 = {};
|
|
5438
5498
|
var ListOptionLabel = (props) => {
|
|
5439
5499
|
const {
|
|
5440
5500
|
text,
|
|
@@ -5444,7 +5504,7 @@ var ListOptionLabel = (props) => {
|
|
|
5444
5504
|
disabled,
|
|
5445
5505
|
...other
|
|
5446
5506
|
} = props;
|
|
5447
|
-
return /* @__PURE__ */
|
|
5507
|
+
return /* @__PURE__ */ jsx42(
|
|
5448
5508
|
"div",
|
|
5449
5509
|
{
|
|
5450
5510
|
...other,
|
|
@@ -5461,36 +5521,36 @@ var ListOptionLabel = (props) => {
|
|
|
5461
5521
|
}
|
|
5462
5522
|
);
|
|
5463
5523
|
};
|
|
5464
|
-
ListOptionLabel.states =
|
|
5465
|
-
ListOptionLabel.options =
|
|
5524
|
+
ListOptionLabel.states = states24;
|
|
5525
|
+
ListOptionLabel.options = options22;
|
|
5466
5526
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
5467
|
-
ListOptionLabel.defaultProps =
|
|
5527
|
+
ListOptionLabel.defaultProps = defaultProps20;
|
|
5468
5528
|
|
|
5469
5529
|
// src/list/templates/list-normal.tsx
|
|
5470
|
-
import { jsx as
|
|
5530
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5471
5531
|
|
|
5472
5532
|
// src/list/templates/list-virtualization.tsx
|
|
5473
|
-
import { jsx as
|
|
5533
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5474
5534
|
|
|
5475
5535
|
// src/list/templates/list-grouping.tsx
|
|
5476
|
-
import { jsx as
|
|
5536
|
+
import { jsx as jsx45, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5477
5537
|
|
|
5478
5538
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5479
|
-
import { jsx as
|
|
5539
|
+
import { jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5480
5540
|
|
|
5481
5541
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5482
|
-
import { jsx as
|
|
5542
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5483
5543
|
|
|
5484
5544
|
// src/list/templates/list-grouping-angular.tsx
|
|
5485
|
-
import { jsx as
|
|
5545
|
+
import { jsx as jsx48, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5486
5546
|
|
|
5487
5547
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5488
|
-
import { jsx as
|
|
5548
|
+
import { jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5489
5549
|
|
|
5490
5550
|
// src/autocomplete/autocomplete.spec.tsx
|
|
5491
|
-
import { Fragment as Fragment16, jsx as
|
|
5551
|
+
import { Fragment as Fragment16, jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5492
5552
|
var AUTOCOMPLETE_CLASSNAME = `k-autocomplete`;
|
|
5493
|
-
var
|
|
5553
|
+
var states25 = [
|
|
5494
5554
|
States.hover,
|
|
5495
5555
|
States.focus,
|
|
5496
5556
|
States.valid,
|
|
@@ -5500,12 +5560,12 @@ var states23 = [
|
|
|
5500
5560
|
States.loading,
|
|
5501
5561
|
States.readonly
|
|
5502
5562
|
];
|
|
5503
|
-
var
|
|
5563
|
+
var options23 = {
|
|
5504
5564
|
size: [Size.small, Size.medium, Size.large],
|
|
5505
5565
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5506
5566
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5507
5567
|
};
|
|
5508
|
-
var
|
|
5568
|
+
var defaultProps21 = {
|
|
5509
5569
|
size: Input.defaultProps.size,
|
|
5510
5570
|
rounded: Input.defaultProps.rounded,
|
|
5511
5571
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -5551,9 +5611,9 @@ var Autocomplete = (props) => {
|
|
|
5551
5611
|
readonly,
|
|
5552
5612
|
className: classNames(props.className, AUTOCOMPLETE_CLASSNAME),
|
|
5553
5613
|
children: [
|
|
5554
|
-
/* @__PURE__ */
|
|
5555
|
-
/* @__PURE__ */
|
|
5556
|
-
/* @__PURE__ */
|
|
5614
|
+
/* @__PURE__ */ jsx50(InputPrefix, { children: prefix }),
|
|
5615
|
+
/* @__PURE__ */ jsx50(InputInnerInput, { placeholder, value }),
|
|
5616
|
+
/* @__PURE__ */ jsx50(
|
|
5557
5617
|
InputValidationIcon,
|
|
5558
5618
|
{
|
|
5559
5619
|
valid,
|
|
@@ -5562,14 +5622,14 @@ var Autocomplete = (props) => {
|
|
|
5562
5622
|
disabled
|
|
5563
5623
|
}
|
|
5564
5624
|
),
|
|
5565
|
-
/* @__PURE__ */
|
|
5625
|
+
/* @__PURE__ */ jsx50(
|
|
5566
5626
|
InputLoadingIcon,
|
|
5567
5627
|
{
|
|
5568
5628
|
loading,
|
|
5569
5629
|
disabled
|
|
5570
5630
|
}
|
|
5571
5631
|
),
|
|
5572
|
-
/* @__PURE__ */
|
|
5632
|
+
/* @__PURE__ */ jsx50(
|
|
5573
5633
|
InputClearValue,
|
|
5574
5634
|
{
|
|
5575
5635
|
loading,
|
|
@@ -5578,13 +5638,13 @@ var Autocomplete = (props) => {
|
|
|
5578
5638
|
value
|
|
5579
5639
|
}
|
|
5580
5640
|
),
|
|
5581
|
-
/* @__PURE__ */
|
|
5641
|
+
/* @__PURE__ */ jsx50(InputSuffix, { children: suffix })
|
|
5582
5642
|
]
|
|
5583
5643
|
}
|
|
5584
5644
|
),
|
|
5585
|
-
opened && popup && /* @__PURE__ */
|
|
5645
|
+
opened && popup && /* @__PURE__ */ jsx50(Popup, { className: "k-list-container k-autocomplete-popup", children: popup }),
|
|
5586
5646
|
adaptive && /* @__PURE__ */ jsxs18(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5587
|
-
/* @__PURE__ */
|
|
5647
|
+
/* @__PURE__ */ jsx50(
|
|
5588
5648
|
ActionSheetHeader,
|
|
5589
5649
|
{
|
|
5590
5650
|
actions: ["x"],
|
|
@@ -5592,30 +5652,30 @@ var Autocomplete = (props) => {
|
|
|
5592
5652
|
title: "Select Item"
|
|
5593
5653
|
}
|
|
5594
5654
|
),
|
|
5595
|
-
/* @__PURE__ */
|
|
5596
|
-
/* @__PURE__ */
|
|
5597
|
-
/* @__PURE__ */
|
|
5598
|
-
/* @__PURE__ */
|
|
5655
|
+
/* @__PURE__ */ jsx50("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs18(List, { size: "large", children: [
|
|
5656
|
+
/* @__PURE__ */ jsx50(ListItem, { text: "List item" }),
|
|
5657
|
+
/* @__PURE__ */ jsx50(ListItem, { text: "List item" }),
|
|
5658
|
+
/* @__PURE__ */ jsx50(ListItem, { text: "List item" })
|
|
5599
5659
|
] }) })
|
|
5600
5660
|
] })
|
|
5601
5661
|
] });
|
|
5602
5662
|
};
|
|
5603
|
-
Autocomplete.states =
|
|
5604
|
-
Autocomplete.options =
|
|
5663
|
+
Autocomplete.states = states25;
|
|
5664
|
+
Autocomplete.options = options23;
|
|
5605
5665
|
Autocomplete.className = AUTOCOMPLETE_CLASSNAME;
|
|
5606
|
-
Autocomplete.defaultProps =
|
|
5666
|
+
Autocomplete.defaultProps = defaultProps21;
|
|
5607
5667
|
|
|
5608
5668
|
// src/autocomplete/templates/autocomplete-normal.tsx
|
|
5609
|
-
import { jsx as
|
|
5669
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
5610
5670
|
|
|
5611
5671
|
// src/autocomplete/templates/autocomplete-popup.tsx
|
|
5612
|
-
import { jsx as
|
|
5672
|
+
import { jsx as jsx52, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5613
5673
|
|
|
5614
5674
|
// src/autocomplete/templates/autocomplete-adaptive.tsx
|
|
5615
|
-
import { jsx as
|
|
5675
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5616
5676
|
|
|
5617
5677
|
// src/chip/chip-action.tsx
|
|
5618
|
-
import { jsx as
|
|
5678
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5619
5679
|
var CHIPACTION_CLASSNAME = `k-chip-action`;
|
|
5620
5680
|
var ChipAction = (props) => {
|
|
5621
5681
|
const {
|
|
@@ -5625,15 +5685,15 @@ var ChipAction = (props) => {
|
|
|
5625
5685
|
let icon;
|
|
5626
5686
|
switch (type) {
|
|
5627
5687
|
case "remove" /* REMOVE */:
|
|
5628
|
-
icon = /* @__PURE__ */
|
|
5688
|
+
icon = /* @__PURE__ */ jsx54(Icon, { icon: "x-circle", size: "small" });
|
|
5629
5689
|
break;
|
|
5630
5690
|
case "more" /* MORE */:
|
|
5631
|
-
icon = /* @__PURE__ */
|
|
5691
|
+
icon = /* @__PURE__ */ jsx54(Icon, { icon: "more-vertical", size: "small" });
|
|
5632
5692
|
break;
|
|
5633
5693
|
default:
|
|
5634
|
-
return /* @__PURE__ */
|
|
5694
|
+
return /* @__PURE__ */ jsx54(Icon, { icon: type, size: "small" });
|
|
5635
5695
|
}
|
|
5636
|
-
return /* @__PURE__ */
|
|
5696
|
+
return /* @__PURE__ */ jsx54(
|
|
5637
5697
|
"span",
|
|
5638
5698
|
{
|
|
5639
5699
|
...other,
|
|
@@ -5648,16 +5708,16 @@ var ChipAction = (props) => {
|
|
|
5648
5708
|
};
|
|
5649
5709
|
|
|
5650
5710
|
// src/avatar/avatar.spec.tsx
|
|
5651
|
-
import { jsx as
|
|
5711
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5652
5712
|
var AVATAR_CLASSNAME = `k-avatar`;
|
|
5653
|
-
var
|
|
5713
|
+
var states26 = [
|
|
5654
5714
|
States.hover,
|
|
5655
5715
|
States.focus,
|
|
5656
5716
|
States.active,
|
|
5657
5717
|
States.selected,
|
|
5658
5718
|
States.disabled
|
|
5659
5719
|
];
|
|
5660
|
-
var
|
|
5720
|
+
var options24 = {
|
|
5661
5721
|
size: [Size.small, Size.medium, Size.large],
|
|
5662
5722
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5663
5723
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
|
|
@@ -5675,7 +5735,7 @@ var options22 = {
|
|
|
5675
5735
|
ThemeColor.inverse
|
|
5676
5736
|
]
|
|
5677
5737
|
};
|
|
5678
|
-
var
|
|
5738
|
+
var defaultProps22 = {
|
|
5679
5739
|
type: "text" /* TEXT */,
|
|
5680
5740
|
size: Size.medium,
|
|
5681
5741
|
rounded: Roundness.full,
|
|
@@ -5685,15 +5745,15 @@ var defaultProps20 = {
|
|
|
5685
5745
|
};
|
|
5686
5746
|
var Avatar = (props) => {
|
|
5687
5747
|
const {
|
|
5688
|
-
size =
|
|
5689
|
-
rounded =
|
|
5690
|
-
fillMode =
|
|
5691
|
-
themeColor =
|
|
5692
|
-
type =
|
|
5693
|
-
border =
|
|
5748
|
+
size = defaultProps22.size,
|
|
5749
|
+
rounded = defaultProps22.rounded,
|
|
5750
|
+
fillMode = defaultProps22.fillMode,
|
|
5751
|
+
themeColor = defaultProps22.themeColor,
|
|
5752
|
+
type = defaultProps22.type,
|
|
5753
|
+
border = defaultProps22.border,
|
|
5694
5754
|
...other
|
|
5695
5755
|
} = props;
|
|
5696
|
-
return /* @__PURE__ */
|
|
5756
|
+
return /* @__PURE__ */ jsx55(
|
|
5697
5757
|
"div",
|
|
5698
5758
|
{
|
|
5699
5759
|
...other,
|
|
@@ -5710,35 +5770,35 @@ var Avatar = (props) => {
|
|
|
5710
5770
|
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
5711
5771
|
}
|
|
5712
5772
|
),
|
|
5713
|
-
children: /* @__PURE__ */
|
|
5773
|
+
children: /* @__PURE__ */ jsx55("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
5714
5774
|
}
|
|
5715
5775
|
);
|
|
5716
5776
|
};
|
|
5717
|
-
Avatar.states =
|
|
5718
|
-
Avatar.options =
|
|
5777
|
+
Avatar.states = states26;
|
|
5778
|
+
Avatar.options = options24;
|
|
5719
5779
|
Avatar.className = AVATAR_CLASSNAME;
|
|
5720
|
-
Avatar.defaultProps =
|
|
5780
|
+
Avatar.defaultProps = defaultProps22;
|
|
5721
5781
|
|
|
5722
5782
|
// src/avatar/templates/avatar-icon.tsx
|
|
5723
|
-
import { jsx as
|
|
5783
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
5724
5784
|
|
|
5725
5785
|
// src/avatar/templates/avatar-text.tsx
|
|
5726
|
-
import { jsx as
|
|
5786
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5727
5787
|
|
|
5728
5788
|
// src/avatar/templates/avatar-image.tsx
|
|
5729
|
-
import { jsx as
|
|
5789
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5730
5790
|
|
|
5731
5791
|
// src/chip/chip.spec.tsx
|
|
5732
|
-
import { jsx as
|
|
5792
|
+
import { jsx as jsx59, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5733
5793
|
var CHIP_CLASSNAME = `k-chip`;
|
|
5734
|
-
var
|
|
5794
|
+
var states27 = [
|
|
5735
5795
|
States.hover,
|
|
5736
5796
|
States.focus,
|
|
5737
5797
|
States.active,
|
|
5738
5798
|
States.selected,
|
|
5739
5799
|
States.disabled
|
|
5740
5800
|
];
|
|
5741
|
-
var
|
|
5801
|
+
var options25 = {
|
|
5742
5802
|
size: [Size.small, Size.medium, Size.large],
|
|
5743
5803
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5744
5804
|
fillMode: [FillMode.solid, FillMode.outline],
|
|
@@ -5750,7 +5810,7 @@ var options23 = {
|
|
|
5750
5810
|
ThemeColor.info
|
|
5751
5811
|
]
|
|
5752
5812
|
};
|
|
5753
|
-
var
|
|
5813
|
+
var defaultProps23 = {
|
|
5754
5814
|
size: Size.medium,
|
|
5755
5815
|
rounded: Roundness.medium,
|
|
5756
5816
|
fillMode: FillMode.solid,
|
|
@@ -5758,10 +5818,10 @@ var defaultProps21 = {
|
|
|
5758
5818
|
};
|
|
5759
5819
|
var Chip = (props) => {
|
|
5760
5820
|
const {
|
|
5761
|
-
size =
|
|
5762
|
-
rounded =
|
|
5763
|
-
fillMode =
|
|
5764
|
-
themeColor =
|
|
5821
|
+
size = defaultProps23.size,
|
|
5822
|
+
rounded = defaultProps23.rounded,
|
|
5823
|
+
fillMode = defaultProps23.fillMode,
|
|
5824
|
+
themeColor = defaultProps23.themeColor,
|
|
5765
5825
|
text,
|
|
5766
5826
|
icon,
|
|
5767
5827
|
actions,
|
|
@@ -5795,35 +5855,35 @@ var Chip = (props) => {
|
|
|
5795
5855
|
})
|
|
5796
5856
|
),
|
|
5797
5857
|
children: [
|
|
5798
|
-
icon && /* @__PURE__ */
|
|
5799
|
-
showAvatar && /* @__PURE__ */
|
|
5800
|
-
/* @__PURE__ */
|
|
5801
|
-
actions && /* @__PURE__ */
|
|
5858
|
+
icon && /* @__PURE__ */ jsx59(Icon, { className: "k-chip-icon", icon, size: "small" }),
|
|
5859
|
+
showAvatar && /* @__PURE__ */ jsx59(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ jsx59("img", { src: "/packages/html/assets/avatar.jpg" }) }),
|
|
5860
|
+
/* @__PURE__ */ jsx59("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ jsx59("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
|
|
5861
|
+
actions && /* @__PURE__ */ jsx59("span", { className: "k-chip-actions", children: actions })
|
|
5802
5862
|
]
|
|
5803
5863
|
}
|
|
5804
5864
|
);
|
|
5805
5865
|
};
|
|
5806
|
-
Chip.states =
|
|
5807
|
-
Chip.options =
|
|
5866
|
+
Chip.states = states27;
|
|
5867
|
+
Chip.options = options25;
|
|
5808
5868
|
Chip.className = CHIP_CLASSNAME;
|
|
5809
|
-
Chip.defaultProps =
|
|
5869
|
+
Chip.defaultProps = defaultProps23;
|
|
5810
5870
|
|
|
5811
5871
|
// src/chip/chip-list.spec.tsx
|
|
5812
|
-
import { jsx as
|
|
5872
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5813
5873
|
var CHIPLIST_CLASSNAME = `k-chip-list`;
|
|
5814
|
-
var
|
|
5815
|
-
var
|
|
5874
|
+
var states28 = [];
|
|
5875
|
+
var options26 = {
|
|
5816
5876
|
size: [Size.small, Size.medium, Size.large]
|
|
5817
5877
|
};
|
|
5818
|
-
var
|
|
5878
|
+
var defaultProps24 = {
|
|
5819
5879
|
size: Size.medium
|
|
5820
5880
|
};
|
|
5821
5881
|
var ChipList = (props) => {
|
|
5822
5882
|
const {
|
|
5823
|
-
size =
|
|
5883
|
+
size = defaultProps24.size,
|
|
5824
5884
|
...other
|
|
5825
5885
|
} = props;
|
|
5826
|
-
return /* @__PURE__ */
|
|
5886
|
+
return /* @__PURE__ */ jsx60(
|
|
5827
5887
|
"div",
|
|
5828
5888
|
{
|
|
5829
5889
|
...other,
|
|
@@ -5838,27 +5898,27 @@ var ChipList = (props) => {
|
|
|
5838
5898
|
}
|
|
5839
5899
|
);
|
|
5840
5900
|
};
|
|
5841
|
-
ChipList.states =
|
|
5842
|
-
ChipList.options =
|
|
5901
|
+
ChipList.states = states28;
|
|
5902
|
+
ChipList.options = options26;
|
|
5843
5903
|
ChipList.className = CHIPLIST_CLASSNAME;
|
|
5844
|
-
ChipList.defaultProps =
|
|
5904
|
+
ChipList.defaultProps = defaultProps24;
|
|
5845
5905
|
|
|
5846
5906
|
// src/chip/templates/chip-avatar.tsx
|
|
5847
|
-
import { jsx as
|
|
5907
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5848
5908
|
|
|
5849
5909
|
// src/chip/templates/chip-icon.tsx
|
|
5850
|
-
import { jsx as
|
|
5910
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5851
5911
|
|
|
5852
5912
|
// src/chip/templates/chip-normal.tsx
|
|
5853
|
-
import { jsx as
|
|
5913
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5854
5914
|
|
|
5855
5915
|
// src/chip/templates/chip-removable.tsx
|
|
5856
|
-
import { jsx as
|
|
5916
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5857
5917
|
|
|
5858
5918
|
// src/combobox/combobox.spec.tsx
|
|
5859
|
-
import { Fragment as Fragment17, jsx as
|
|
5919
|
+
import { Fragment as Fragment17, jsx as jsx65, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5860
5920
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
5861
|
-
var
|
|
5921
|
+
var states29 = [
|
|
5862
5922
|
States.hover,
|
|
5863
5923
|
States.focus,
|
|
5864
5924
|
States.valid,
|
|
@@ -5868,12 +5928,12 @@ var states27 = [
|
|
|
5868
5928
|
States.disabled,
|
|
5869
5929
|
States.readonly
|
|
5870
5930
|
];
|
|
5871
|
-
var
|
|
5931
|
+
var defaultProps25 = {
|
|
5872
5932
|
size: Input.defaultProps.size,
|
|
5873
5933
|
rounded: Input.defaultProps.rounded,
|
|
5874
5934
|
fillMode: Input.defaultProps.fillMode
|
|
5875
5935
|
};
|
|
5876
|
-
var
|
|
5936
|
+
var options27 = {
|
|
5877
5937
|
size: [Size.small, Size.medium, Size.large],
|
|
5878
5938
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5879
5939
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -5919,9 +5979,9 @@ var Combobox = (props) => {
|
|
|
5919
5979
|
readonly,
|
|
5920
5980
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
5921
5981
|
children: [
|
|
5922
|
-
/* @__PURE__ */
|
|
5923
|
-
/* @__PURE__ */
|
|
5924
|
-
/* @__PURE__ */
|
|
5982
|
+
/* @__PURE__ */ jsx65(InputPrefix, { children: prefix }),
|
|
5983
|
+
/* @__PURE__ */ jsx65(InputInnerInput, { placeholder, value }),
|
|
5984
|
+
/* @__PURE__ */ jsx65(
|
|
5925
5985
|
InputValidationIcon,
|
|
5926
5986
|
{
|
|
5927
5987
|
valid,
|
|
@@ -5930,14 +5990,14 @@ var Combobox = (props) => {
|
|
|
5930
5990
|
disabled
|
|
5931
5991
|
}
|
|
5932
5992
|
),
|
|
5933
|
-
/* @__PURE__ */
|
|
5993
|
+
/* @__PURE__ */ jsx65(
|
|
5934
5994
|
InputLoadingIcon,
|
|
5935
5995
|
{
|
|
5936
5996
|
loading,
|
|
5937
5997
|
disabled
|
|
5938
5998
|
}
|
|
5939
5999
|
),
|
|
5940
|
-
/* @__PURE__ */
|
|
6000
|
+
/* @__PURE__ */ jsx65(
|
|
5941
6001
|
InputClearValue,
|
|
5942
6002
|
{
|
|
5943
6003
|
loading,
|
|
@@ -5946,8 +6006,8 @@ var Combobox = (props) => {
|
|
|
5946
6006
|
value
|
|
5947
6007
|
}
|
|
5948
6008
|
),
|
|
5949
|
-
/* @__PURE__ */
|
|
5950
|
-
/* @__PURE__ */
|
|
6009
|
+
/* @__PURE__ */ jsx65(InputSuffix, { children: suffix }),
|
|
6010
|
+
/* @__PURE__ */ jsx65(
|
|
5951
6011
|
Button,
|
|
5952
6012
|
{
|
|
5953
6013
|
className: "k-input-button",
|
|
@@ -5960,9 +6020,9 @@ var Combobox = (props) => {
|
|
|
5960
6020
|
]
|
|
5961
6021
|
}
|
|
5962
6022
|
),
|
|
5963
|
-
opened && popup && /* @__PURE__ */
|
|
6023
|
+
opened && popup && /* @__PURE__ */ jsx65(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
5964
6024
|
adaptive && /* @__PURE__ */ jsxs21(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5965
|
-
/* @__PURE__ */
|
|
6025
|
+
/* @__PURE__ */ jsx65(
|
|
5966
6026
|
ActionSheetHeader,
|
|
5967
6027
|
{
|
|
5968
6028
|
actions: ["x"],
|
|
@@ -5970,35 +6030,35 @@ var Combobox = (props) => {
|
|
|
5970
6030
|
title: "Select Item"
|
|
5971
6031
|
}
|
|
5972
6032
|
),
|
|
5973
|
-
/* @__PURE__ */
|
|
5974
|
-
/* @__PURE__ */
|
|
5975
|
-
/* @__PURE__ */
|
|
5976
|
-
/* @__PURE__ */
|
|
6033
|
+
/* @__PURE__ */ jsx65("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs21(List, { size: "large", children: [
|
|
6034
|
+
/* @__PURE__ */ jsx65(ListItem, { text: "List item" }),
|
|
6035
|
+
/* @__PURE__ */ jsx65(ListItem, { text: "List item" }),
|
|
6036
|
+
/* @__PURE__ */ jsx65(ListItem, { text: "List item" })
|
|
5977
6037
|
] }) })
|
|
5978
6038
|
] })
|
|
5979
6039
|
] });
|
|
5980
6040
|
};
|
|
5981
|
-
Combobox.states =
|
|
5982
|
-
Combobox.options =
|
|
6041
|
+
Combobox.states = states29;
|
|
6042
|
+
Combobox.options = options27;
|
|
5983
6043
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
5984
|
-
Combobox.defaultProps =
|
|
6044
|
+
Combobox.defaultProps = defaultProps25;
|
|
5985
6045
|
|
|
5986
6046
|
// src/combobox/templates/combobox-normal.tsx
|
|
5987
|
-
import { jsx as
|
|
6047
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
5988
6048
|
|
|
5989
6049
|
// src/combobox/templates/combobox-popup.tsx
|
|
5990
|
-
import { jsx as
|
|
6050
|
+
import { jsx as jsx67, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5991
6051
|
|
|
5992
6052
|
// src/combobox/templates/combobox-grouping.tsx
|
|
5993
|
-
import { jsx as
|
|
6053
|
+
import { jsx as jsx68, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5994
6054
|
|
|
5995
6055
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
5996
|
-
import { jsx as
|
|
6056
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
5997
6057
|
|
|
5998
6058
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5999
|
-
import { Fragment as Fragment18, jsx as
|
|
6059
|
+
import { Fragment as Fragment18, jsx as jsx70, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6000
6060
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
6001
|
-
var
|
|
6061
|
+
var states30 = [
|
|
6002
6062
|
States.hover,
|
|
6003
6063
|
States.focus,
|
|
6004
6064
|
States.valid,
|
|
@@ -6008,12 +6068,12 @@ var states28 = [
|
|
|
6008
6068
|
States.loading,
|
|
6009
6069
|
States.readonly
|
|
6010
6070
|
];
|
|
6011
|
-
var
|
|
6071
|
+
var options28 = {
|
|
6012
6072
|
size: [Size.small, Size.medium, Size.large],
|
|
6013
6073
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6014
6074
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6015
6075
|
};
|
|
6016
|
-
var
|
|
6076
|
+
var defaultProps26 = {
|
|
6017
6077
|
showValue: true,
|
|
6018
6078
|
arrowIconName: "caret-alt-down",
|
|
6019
6079
|
size: Size.medium,
|
|
@@ -6023,7 +6083,7 @@ var defaultProps24 = {
|
|
|
6023
6083
|
var DropdownList = (props) => {
|
|
6024
6084
|
const {
|
|
6025
6085
|
valueIconName,
|
|
6026
|
-
arrowIconName =
|
|
6086
|
+
arrowIconName = defaultProps26.arrowIconName,
|
|
6027
6087
|
prefix,
|
|
6028
6088
|
suffix,
|
|
6029
6089
|
value,
|
|
@@ -6039,7 +6099,7 @@ var DropdownList = (props) => {
|
|
|
6039
6099
|
loading,
|
|
6040
6100
|
disabled,
|
|
6041
6101
|
readonly,
|
|
6042
|
-
showValue =
|
|
6102
|
+
showValue = defaultProps26.showValue,
|
|
6043
6103
|
popup,
|
|
6044
6104
|
opened,
|
|
6045
6105
|
...other
|
|
@@ -6068,8 +6128,8 @@ var DropdownList = (props) => {
|
|
|
6068
6128
|
}
|
|
6069
6129
|
),
|
|
6070
6130
|
children: [
|
|
6071
|
-
/* @__PURE__ */
|
|
6072
|
-
/* @__PURE__ */
|
|
6131
|
+
/* @__PURE__ */ jsx70(InputPrefix, { children: prefix }),
|
|
6132
|
+
/* @__PURE__ */ jsx70(
|
|
6073
6133
|
InputInnerSpan,
|
|
6074
6134
|
{
|
|
6075
6135
|
placeholder,
|
|
@@ -6078,7 +6138,7 @@ var DropdownList = (props) => {
|
|
|
6078
6138
|
valueIconName
|
|
6079
6139
|
}
|
|
6080
6140
|
),
|
|
6081
|
-
/* @__PURE__ */
|
|
6141
|
+
/* @__PURE__ */ jsx70(
|
|
6082
6142
|
InputValidationIcon,
|
|
6083
6143
|
{
|
|
6084
6144
|
valid,
|
|
@@ -6087,15 +6147,15 @@ var DropdownList = (props) => {
|
|
|
6087
6147
|
disabled
|
|
6088
6148
|
}
|
|
6089
6149
|
),
|
|
6090
|
-
/* @__PURE__ */
|
|
6150
|
+
/* @__PURE__ */ jsx70(
|
|
6091
6151
|
InputLoadingIcon,
|
|
6092
6152
|
{
|
|
6093
6153
|
loading,
|
|
6094
6154
|
disabled
|
|
6095
6155
|
}
|
|
6096
6156
|
),
|
|
6097
|
-
/* @__PURE__ */
|
|
6098
|
-
/* @__PURE__ */
|
|
6157
|
+
/* @__PURE__ */ jsx70(InputSuffix, { children: suffix }),
|
|
6158
|
+
/* @__PURE__ */ jsx70(
|
|
6099
6159
|
Button,
|
|
6100
6160
|
{
|
|
6101
6161
|
className: "k-input-button",
|
|
@@ -6108,33 +6168,33 @@ var DropdownList = (props) => {
|
|
|
6108
6168
|
]
|
|
6109
6169
|
}
|
|
6110
6170
|
),
|
|
6111
|
-
opened && popup && /* @__PURE__ */
|
|
6171
|
+
opened && popup && /* @__PURE__ */ jsx70(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
6112
6172
|
] });
|
|
6113
6173
|
};
|
|
6114
|
-
DropdownList.states =
|
|
6115
|
-
DropdownList.options =
|
|
6174
|
+
DropdownList.states = states30;
|
|
6175
|
+
DropdownList.options = options28;
|
|
6116
6176
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
6117
|
-
DropdownList.defaultProps =
|
|
6177
|
+
DropdownList.defaultProps = defaultProps26;
|
|
6118
6178
|
|
|
6119
6179
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
6120
|
-
import { jsx as
|
|
6180
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6121
6181
|
|
|
6122
6182
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6123
|
-
import { jsx as
|
|
6183
|
+
import { jsx as jsx72, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6124
6184
|
|
|
6125
6185
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6126
|
-
import { Fragment as Fragment19, jsx as
|
|
6186
|
+
import { Fragment as Fragment19, jsx as jsx73, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6127
6187
|
|
|
6128
6188
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6129
|
-
import { jsx as
|
|
6189
|
+
import { jsx as jsx74, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6130
6190
|
|
|
6131
6191
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6132
|
-
import { Fragment as Fragment20, jsx as
|
|
6192
|
+
import { Fragment as Fragment20, jsx as jsx75, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6133
6193
|
|
|
6134
6194
|
// src/multiselect/multiselect.spec.tsx
|
|
6135
|
-
import { Fragment as Fragment21, jsx as
|
|
6195
|
+
import { Fragment as Fragment21, jsx as jsx76, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6136
6196
|
var MULTISELECT_CLASSNAME = `k-multiselect`;
|
|
6137
|
-
var
|
|
6197
|
+
var states31 = [
|
|
6138
6198
|
States.hover,
|
|
6139
6199
|
States.focus,
|
|
6140
6200
|
States.valid,
|
|
@@ -6144,12 +6204,12 @@ var states29 = [
|
|
|
6144
6204
|
States.loading,
|
|
6145
6205
|
States.readonly
|
|
6146
6206
|
];
|
|
6147
|
-
var
|
|
6207
|
+
var options29 = {
|
|
6148
6208
|
size: [Size.small, Size.medium, Size.large],
|
|
6149
6209
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6150
6210
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6151
6211
|
};
|
|
6152
|
-
var
|
|
6212
|
+
var defaultProps27 = {
|
|
6153
6213
|
size: Input.defaultProps.size,
|
|
6154
6214
|
rounded: Input.defaultProps.rounded,
|
|
6155
6215
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -6197,12 +6257,12 @@ var MultiSelect = (props) => {
|
|
|
6197
6257
|
readonly,
|
|
6198
6258
|
className: classNames(props.className, MULTISELECT_CLASSNAME),
|
|
6199
6259
|
children: [
|
|
6200
|
-
/* @__PURE__ */
|
|
6260
|
+
/* @__PURE__ */ jsx76(InputPrefix, { children: prefix }),
|
|
6201
6261
|
/* @__PURE__ */ jsxs29("div", { className: "k-input-values", children: [
|
|
6202
|
-
/* @__PURE__ */
|
|
6203
|
-
/* @__PURE__ */
|
|
6262
|
+
/* @__PURE__ */ jsx76(ChipList, { size, children: /* @__PURE__ */ jsx76(Fragment21, { children: tags }) }),
|
|
6263
|
+
/* @__PURE__ */ jsx76(InputInnerInput, { placeholder, value })
|
|
6204
6264
|
] }),
|
|
6205
|
-
/* @__PURE__ */
|
|
6265
|
+
/* @__PURE__ */ jsx76(
|
|
6206
6266
|
InputValidationIcon,
|
|
6207
6267
|
{
|
|
6208
6268
|
valid,
|
|
@@ -6211,14 +6271,14 @@ var MultiSelect = (props) => {
|
|
|
6211
6271
|
disabled
|
|
6212
6272
|
}
|
|
6213
6273
|
),
|
|
6214
|
-
/* @__PURE__ */
|
|
6274
|
+
/* @__PURE__ */ jsx76(
|
|
6215
6275
|
InputLoadingIcon,
|
|
6216
6276
|
{
|
|
6217
6277
|
loading,
|
|
6218
6278
|
disabled
|
|
6219
6279
|
}
|
|
6220
6280
|
),
|
|
6221
|
-
/* @__PURE__ */
|
|
6281
|
+
/* @__PURE__ */ jsx76(
|
|
6222
6282
|
InputClearValue,
|
|
6223
6283
|
{
|
|
6224
6284
|
loading,
|
|
@@ -6227,8 +6287,8 @@ var MultiSelect = (props) => {
|
|
|
6227
6287
|
value: tags ? "value" : ""
|
|
6228
6288
|
}
|
|
6229
6289
|
),
|
|
6230
|
-
/* @__PURE__ */
|
|
6231
|
-
showArrowButton && /* @__PURE__ */
|
|
6290
|
+
/* @__PURE__ */ jsx76(InputSuffix, { children: suffix }),
|
|
6291
|
+
showArrowButton && /* @__PURE__ */ jsx76(
|
|
6232
6292
|
Button,
|
|
6233
6293
|
{
|
|
6234
6294
|
className: "k-input-button",
|
|
@@ -6241,9 +6301,9 @@ var MultiSelect = (props) => {
|
|
|
6241
6301
|
]
|
|
6242
6302
|
}
|
|
6243
6303
|
),
|
|
6244
|
-
opened && popup && /* @__PURE__ */
|
|
6304
|
+
opened && popup && /* @__PURE__ */ jsx76(Popup, { className: "k-list-container k-multiselect-popup", children: popup }),
|
|
6245
6305
|
adaptive && /* @__PURE__ */ jsxs29(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6246
|
-
/* @__PURE__ */
|
|
6306
|
+
/* @__PURE__ */ jsx76(
|
|
6247
6307
|
ActionSheetHeader,
|
|
6248
6308
|
{
|
|
6249
6309
|
actions: ["x"],
|
|
@@ -6251,41 +6311,41 @@ var MultiSelect = (props) => {
|
|
|
6251
6311
|
title: "Select Item"
|
|
6252
6312
|
}
|
|
6253
6313
|
),
|
|
6254
|
-
/* @__PURE__ */
|
|
6255
|
-
/* @__PURE__ */
|
|
6256
|
-
/* @__PURE__ */
|
|
6257
|
-
/* @__PURE__ */
|
|
6314
|
+
/* @__PURE__ */ jsx76("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs29(List, { size: "large", children: [
|
|
6315
|
+
/* @__PURE__ */ jsx76(ListItem, { text: "List item" }),
|
|
6316
|
+
/* @__PURE__ */ jsx76(ListItem, { text: "List item" }),
|
|
6317
|
+
/* @__PURE__ */ jsx76(ListItem, { text: "List item" })
|
|
6258
6318
|
] }) })
|
|
6259
6319
|
] })
|
|
6260
6320
|
] });
|
|
6261
6321
|
};
|
|
6262
|
-
MultiSelect.states =
|
|
6263
|
-
MultiSelect.options =
|
|
6322
|
+
MultiSelect.states = states31;
|
|
6323
|
+
MultiSelect.options = options29;
|
|
6264
6324
|
MultiSelect.className = MULTISELECT_CLASSNAME;
|
|
6265
|
-
MultiSelect.defaultProps =
|
|
6325
|
+
MultiSelect.defaultProps = defaultProps27;
|
|
6266
6326
|
|
|
6267
6327
|
// src/multiselect/templates/multiselect-normal.tsx
|
|
6268
|
-
import { jsx as
|
|
6328
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6269
6329
|
|
|
6270
6330
|
// src/multiselect/templates/multiselect-popup.tsx
|
|
6271
|
-
import { jsx as
|
|
6331
|
+
import { jsx as jsx78, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6272
6332
|
|
|
6273
6333
|
// src/multiselect/templates/multiselect-value.tsx
|
|
6274
|
-
import { Fragment as Fragment22, jsx as
|
|
6334
|
+
import { Fragment as Fragment22, jsx as jsx79 } from "react/jsx-runtime";
|
|
6275
6335
|
|
|
6276
6336
|
// src/multiselect/templates/multiselect-arrow-button.tsx
|
|
6277
|
-
import { jsx as
|
|
6337
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6278
6338
|
|
|
6279
6339
|
// src/multiselect/templates/multiselect-adaptive.tsx
|
|
6280
|
-
import { jsx as
|
|
6340
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6281
6341
|
|
|
6282
6342
|
// src/multiselect/templates/multiselect-grouping.tsx
|
|
6283
|
-
import { jsx as
|
|
6343
|
+
import { jsx as jsx82, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6284
6344
|
|
|
6285
6345
|
// src/form/form-field.tsx
|
|
6286
|
-
import { jsx as
|
|
6346
|
+
import { jsx as jsx83, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6287
6347
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6288
|
-
var
|
|
6348
|
+
var states32 = [
|
|
6289
6349
|
States.disabled
|
|
6290
6350
|
];
|
|
6291
6351
|
var FormField = (props) => {
|
|
@@ -6319,14 +6379,14 @@ var FormField = (props) => {
|
|
|
6319
6379
|
"k-form-label"
|
|
6320
6380
|
), children: [
|
|
6321
6381
|
label,
|
|
6322
|
-
optional && /* @__PURE__ */
|
|
6323
|
-
info && /* @__PURE__ */
|
|
6382
|
+
optional && /* @__PURE__ */ jsx83("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6383
|
+
info && /* @__PURE__ */ jsx83("span", { className: "k-field-info", children: "(field info)" })
|
|
6324
6384
|
] }),
|
|
6325
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
6385
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx83("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6326
6386
|
/* @__PURE__ */ jsxs32("div", { className: "k-form-field-wrap", children: [
|
|
6327
6387
|
editor,
|
|
6328
|
-
hint && /* @__PURE__ */
|
|
6329
|
-
error && /* @__PURE__ */
|
|
6388
|
+
hint && /* @__PURE__ */ jsx83("div", { className: "k-form-hint", children: hint }),
|
|
6389
|
+
error && /* @__PURE__ */ jsx83("div", { className: "k-form-error", children: error })
|
|
6330
6390
|
] })
|
|
6331
6391
|
]
|
|
6332
6392
|
}
|
|
@@ -6335,7 +6395,7 @@ var FormField = (props) => {
|
|
|
6335
6395
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6336
6396
|
|
|
6337
6397
|
// src/form/fieldset.tsx
|
|
6338
|
-
import { Fragment as Fragment23, jsx as
|
|
6398
|
+
import { Fragment as Fragment23, jsx as jsx84, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6339
6399
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6340
6400
|
var Fieldset = (props) => {
|
|
6341
6401
|
const {
|
|
@@ -6346,8 +6406,8 @@ var Fieldset = (props) => {
|
|
|
6346
6406
|
gapY
|
|
6347
6407
|
} = props;
|
|
6348
6408
|
return /* @__PURE__ */ jsxs33("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6349
|
-
legend && /* @__PURE__ */
|
|
6350
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6409
|
+
legend && /* @__PURE__ */ jsx84("legend", { className: "k-form-legend", children: legend }),
|
|
6410
|
+
layout === "grid" ? /* @__PURE__ */ jsx84("div", { className: classNames(
|
|
6351
6411
|
"k-form-layout",
|
|
6352
6412
|
"k-d-grid",
|
|
6353
6413
|
{
|
|
@@ -6355,37 +6415,37 @@ var Fieldset = (props) => {
|
|
|
6355
6415
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6356
6416
|
[`k-gap-y-${gapY}`]: gapY
|
|
6357
6417
|
}
|
|
6358
|
-
), children: props.children }) : /* @__PURE__ */
|
|
6418
|
+
), children: props.children }) : /* @__PURE__ */ jsx84(Fragment23, { children: props.children })
|
|
6359
6419
|
] });
|
|
6360
6420
|
};
|
|
6361
6421
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6362
6422
|
|
|
6363
6423
|
// src/form/form.spec.tsx
|
|
6364
|
-
import { Fragment as Fragment24, jsx as
|
|
6424
|
+
import { Fragment as Fragment24, jsx as jsx85, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6365
6425
|
import { createElement } from "react";
|
|
6366
6426
|
var FORM_CLASSNAME = "k-form";
|
|
6367
|
-
var
|
|
6368
|
-
var
|
|
6427
|
+
var states33 = [];
|
|
6428
|
+
var options30 = {
|
|
6369
6429
|
size: [Size.small, Size.medium, Size.large]
|
|
6370
6430
|
};
|
|
6371
|
-
var
|
|
6431
|
+
var defaultProps28 = {
|
|
6372
6432
|
size: Size.medium,
|
|
6373
6433
|
layout: "basic",
|
|
6374
6434
|
tag: "form"
|
|
6375
6435
|
};
|
|
6376
6436
|
var Form = (props) => {
|
|
6377
6437
|
const {
|
|
6378
|
-
size =
|
|
6438
|
+
size = defaultProps28.size,
|
|
6379
6439
|
orientation,
|
|
6380
|
-
layout =
|
|
6440
|
+
layout = defaultProps28.layout,
|
|
6381
6441
|
formButtons,
|
|
6382
6442
|
cols,
|
|
6383
6443
|
gapX,
|
|
6384
6444
|
gapY,
|
|
6385
|
-
tag =
|
|
6445
|
+
tag = defaultProps28.tag,
|
|
6386
6446
|
children
|
|
6387
6447
|
} = props;
|
|
6388
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
6448
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx85("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx85("div", { className: className13, children: children2 });
|
|
6389
6449
|
const formChildren = [];
|
|
6390
6450
|
if (children) {
|
|
6391
6451
|
if (Array.isArray(children)) {
|
|
@@ -6414,7 +6474,7 @@ var Form = (props) => {
|
|
|
6414
6474
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6415
6475
|
}
|
|
6416
6476
|
), children: [
|
|
6417
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6477
|
+
layout === "grid" ? /* @__PURE__ */ jsx85("div", { className: classNames(
|
|
6418
6478
|
"k-form-layout",
|
|
6419
6479
|
"k-d-grid",
|
|
6420
6480
|
{
|
|
@@ -6422,17 +6482,17 @@ var Form = (props) => {
|
|
|
6422
6482
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6423
6483
|
[`k-gap-y-${gapY}`]: gapY
|
|
6424
6484
|
}
|
|
6425
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
6426
|
-
formButtons && /* @__PURE__ */
|
|
6485
|
+
), children: formChildren }) : /* @__PURE__ */ jsx85(Fragment24, { children: formChildren }),
|
|
6486
|
+
formButtons && /* @__PURE__ */ jsx85("div", { className: "k-form-buttons", children: formButtons })
|
|
6427
6487
|
] });
|
|
6428
6488
|
};
|
|
6429
|
-
Form.states =
|
|
6430
|
-
Form.options =
|
|
6489
|
+
Form.states = states33;
|
|
6490
|
+
Form.options = options30;
|
|
6431
6491
|
Form.className = FORM_CLASSNAME;
|
|
6432
|
-
Form.defaultProps =
|
|
6492
|
+
Form.defaultProps = defaultProps28;
|
|
6433
6493
|
|
|
6434
6494
|
// src/form/tests/form-field-dropdowns.tsx
|
|
6435
|
-
import { Fragment as Fragment25, jsx as
|
|
6495
|
+
import { Fragment as Fragment25, jsx as jsx86, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6436
6496
|
var styles = `
|
|
6437
6497
|
section {
|
|
6438
6498
|
padding: 20px;
|
|
@@ -6440,75 +6500,75 @@ var styles = `
|
|
|
6440
6500
|
}
|
|
6441
6501
|
`;
|
|
6442
6502
|
var form_field_dropdowns_default = () => /* @__PURE__ */ jsxs35(Fragment25, { children: [
|
|
6443
|
-
/* @__PURE__ */
|
|
6503
|
+
/* @__PURE__ */ jsx86("style", { children: styles }),
|
|
6444
6504
|
/* @__PURE__ */ jsxs35("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
6445
|
-
/* @__PURE__ */
|
|
6446
|
-
/* @__PURE__ */
|
|
6447
|
-
/* @__PURE__ */
|
|
6448
|
-
/* @__PURE__ */
|
|
6505
|
+
/* @__PURE__ */ jsx86("span", { children: "Vertical Form" }),
|
|
6506
|
+
/* @__PURE__ */ jsx86("span", { children: "Horizontal Form" }),
|
|
6507
|
+
/* @__PURE__ */ jsx86("section", { children: /* @__PURE__ */ jsxs35(Form, { children: [
|
|
6508
|
+
/* @__PURE__ */ jsx86(
|
|
6449
6509
|
FormField,
|
|
6450
6510
|
{
|
|
6451
6511
|
label: "AutoComplete:",
|
|
6452
|
-
editor: /* @__PURE__ */
|
|
6512
|
+
editor: /* @__PURE__ */ jsx86(Autocomplete, { placeholder: "Autocomplete..." })
|
|
6453
6513
|
}
|
|
6454
6514
|
),
|
|
6455
|
-
/* @__PURE__ */
|
|
6515
|
+
/* @__PURE__ */ jsx86(
|
|
6456
6516
|
FormField,
|
|
6457
6517
|
{
|
|
6458
6518
|
label: "ComboBox:",
|
|
6459
|
-
editor: /* @__PURE__ */
|
|
6519
|
+
editor: /* @__PURE__ */ jsx86(Combobox, { placeholder: "Combobox..." })
|
|
6460
6520
|
}
|
|
6461
6521
|
),
|
|
6462
|
-
/* @__PURE__ */
|
|
6522
|
+
/* @__PURE__ */ jsx86(
|
|
6463
6523
|
FormField,
|
|
6464
6524
|
{
|
|
6465
6525
|
label: "DropDownList:",
|
|
6466
|
-
editor: /* @__PURE__ */
|
|
6526
|
+
editor: /* @__PURE__ */ jsx86(DropdownList, { placeholder: "DropdownList..." })
|
|
6467
6527
|
}
|
|
6468
6528
|
),
|
|
6469
|
-
/* @__PURE__ */
|
|
6529
|
+
/* @__PURE__ */ jsx86(
|
|
6470
6530
|
FormField,
|
|
6471
6531
|
{
|
|
6472
6532
|
label: "MultiSelect:",
|
|
6473
|
-
editor: /* @__PURE__ */
|
|
6533
|
+
editor: /* @__PURE__ */ jsx86(
|
|
6474
6534
|
MultiSelect,
|
|
6475
6535
|
{
|
|
6476
|
-
tags: /* @__PURE__ */
|
|
6536
|
+
tags: /* @__PURE__ */ jsx86(Chip, { text: "Female", actions: /* @__PURE__ */ jsx86(ChipAction, { type: "remove" }) })
|
|
6477
6537
|
}
|
|
6478
6538
|
)
|
|
6479
6539
|
}
|
|
6480
6540
|
)
|
|
6481
6541
|
] }) }),
|
|
6482
|
-
/* @__PURE__ */
|
|
6483
|
-
/* @__PURE__ */
|
|
6542
|
+
/* @__PURE__ */ jsx86("section", { children: /* @__PURE__ */ jsxs35(Form, { orientation: "horizontal", children: [
|
|
6543
|
+
/* @__PURE__ */ jsx86(
|
|
6484
6544
|
FormField,
|
|
6485
6545
|
{
|
|
6486
6546
|
label: "AutoComplete:",
|
|
6487
|
-
editor: /* @__PURE__ */
|
|
6547
|
+
editor: /* @__PURE__ */ jsx86(Autocomplete, { placeholder: "Autocomplete..." })
|
|
6488
6548
|
}
|
|
6489
6549
|
),
|
|
6490
|
-
/* @__PURE__ */
|
|
6550
|
+
/* @__PURE__ */ jsx86(
|
|
6491
6551
|
FormField,
|
|
6492
6552
|
{
|
|
6493
6553
|
label: "ComboBox:",
|
|
6494
|
-
editor: /* @__PURE__ */
|
|
6554
|
+
editor: /* @__PURE__ */ jsx86(Combobox, { placeholder: "Combobox..." })
|
|
6495
6555
|
}
|
|
6496
6556
|
),
|
|
6497
|
-
/* @__PURE__ */
|
|
6557
|
+
/* @__PURE__ */ jsx86(
|
|
6498
6558
|
FormField,
|
|
6499
6559
|
{
|
|
6500
6560
|
label: "DropDownList:",
|
|
6501
|
-
editor: /* @__PURE__ */
|
|
6561
|
+
editor: /* @__PURE__ */ jsx86(DropdownList, { placeholder: "DropdownList..." })
|
|
6502
6562
|
}
|
|
6503
6563
|
),
|
|
6504
|
-
/* @__PURE__ */
|
|
6564
|
+
/* @__PURE__ */ jsx86(
|
|
6505
6565
|
FormField,
|
|
6506
6566
|
{
|
|
6507
6567
|
label: "MultiSelect:",
|
|
6508
|
-
editor: /* @__PURE__ */
|
|
6568
|
+
editor: /* @__PURE__ */ jsx86(
|
|
6509
6569
|
MultiSelect,
|
|
6510
6570
|
{
|
|
6511
|
-
tags: /* @__PURE__ */
|
|
6571
|
+
tags: /* @__PURE__ */ jsx86(Chip, { text: "Female", actions: /* @__PURE__ */ jsx86(ChipAction, { type: "remove" }) })
|
|
6512
6572
|
}
|
|
6513
6573
|
)
|
|
6514
6574
|
}
|