@progress/kendo-themes-html 6.7.0-dev.0 → 6.7.0-dev.2
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-data-table.js +100 -88
- package/dist/cjs/action-sheet/tests/action-sheet-date-time-selector.js +63 -26
- package/dist/cjs/action-sheet/tests/action-sheet-time-selector.js +51 -14
- package/dist/cjs/action-sheet/tests/action-sheet-treeview.js +56 -44
- package/dist/cjs/captcha/captcha.spec.js +55 -25
- package/dist/cjs/captcha/tests/captcha-loading.js +59 -29
- package/dist/cjs/captcha/tests/captcha.js +59 -29
- package/dist/cjs/chat/chat-message-group.js +261 -0
- package/dist/cjs/chat/chat-message.js +112 -0
- package/dist/cjs/chat/chat-quick-replies.js +71 -0
- package/dist/cjs/chat/chat.spec.js +6859 -0
- package/dist/cjs/chat/tests/chat-rtl.js +2613 -235
- package/dist/cjs/chat/tests/chat-scrollable-deck.js +2802 -206
- package/dist/cjs/chat/tests/chat.js +1117 -790
- package/dist/cjs/datetime-selector/datetime-selector.spec.js +96 -23
- package/dist/cjs/datetime-selector/tests/datetime-selector.js +94 -85
- package/dist/cjs/datetimepicker/datetimepicker.spec.js +75 -66
- package/dist/cjs/datetimepicker/templates/datetimepicker-adaptive.js +77 -68
- package/dist/cjs/datetimepicker/templates/datetimepicker-normal.js +77 -68
- package/dist/cjs/datetimepicker/templates/datetimepicker-popup.js +77 -68
- package/dist/cjs/datetimepicker/tests/datetimepicker-adaptive.js +87 -78
- package/dist/cjs/datetimepicker/tests/datetimepicker-flat.js +92 -83
- package/dist/cjs/datetimepicker/tests/datetimepicker-opened.js +89 -80
- package/dist/cjs/datetimepicker/tests/datetimepicker-outline.js +92 -83
- package/dist/cjs/datetimepicker/tests/datetimepicker-size-rounded.js +90 -81
- package/dist/cjs/datetimepicker/tests/datetimepicker-solid.js +92 -83
- package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +63 -51
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-adaptive.js +65 -53
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-normal.js +65 -53
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-popup.js +103 -91
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-adaptive.js +75 -63
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +80 -68
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +113 -101
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +82 -70
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-size-rounded.js +78 -66
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-solid.js +80 -68
- package/dist/cjs/dropdowntree/dropdowntree.spec.js +35 -23
- package/dist/cjs/dropdowntree/templates/dropdowntree-adaptive.js +37 -25
- package/dist/cjs/dropdowntree/templates/dropdowntree-normal.js +37 -25
- package/dist/cjs/dropdowntree/templates/dropdowntree-popup.js +47 -35
- package/dist/cjs/dropdowntree/tests/dropdowntree-adaptive.js +47 -35
- package/dist/cjs/dropdowntree/tests/dropdowntree-flat.js +52 -40
- package/dist/cjs/dropdowntree/tests/dropdowntree-opened.js +57 -45
- package/dist/cjs/dropdowntree/tests/dropdowntree-outline.js +52 -40
- package/dist/cjs/dropdowntree/tests/dropdowntree-size-rounded.js +50 -38
- package/dist/cjs/dropdowntree/tests/dropdowntree-solid.js +52 -40
- package/dist/cjs/editor/editor-toolbar.js +48 -43
- package/dist/cjs/editor/tests/editor-find-replace.js +48 -43
- package/dist/cjs/editor/tests/editor-table-wizard.js +129 -127
- package/dist/cjs/editor/tests/editor-view-source.js +14 -12
- package/dist/cjs/editor/tests/editor.js +48 -43
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +84 -67
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +84 -67
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +149 -132
- package/dist/cjs/filemanager/tests/filemanager-listview.js +103 -86
- package/dist/cjs/filemanager/tests/filemanager-preview.js +202 -185
- package/dist/cjs/filemanager/tests/filemanager-toolbar.js +605 -580
- package/dist/cjs/filter/tests/filter.js +48 -43
- package/dist/cjs/floating-label/tests/floating-label-flat.js +43 -41
- package/dist/cjs/floating-label/tests/floating-label-outline.js +43 -41
- package/dist/cjs/floating-label/tests/floating-label.js +43 -41
- package/dist/cjs/form/tests/form-field-dateinputs.js +111 -102
- package/dist/cjs/form/tests/form-field-dropdowns.js +82 -47
- package/dist/cjs/form/tests/form-field-fieldset.js +68 -66
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +239 -222
- package/dist/cjs/form/tests/form-field-inputs.js +240 -223
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +204 -195
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +288 -286
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +48 -43
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +48 -43
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +48 -43
- package/dist/cjs/gantt/tests/gantt-react.js +48 -43
- package/dist/cjs/gantt/tests/gantt-row-reordering.js +48 -43
- package/dist/cjs/gantt/tests/gantt.js +48 -43
- package/dist/cjs/grid/tests/grid-adaptive-column-menu.js +58 -50
- package/dist/cjs/grid/tests/grid-adaptive-filter-bool.js +28 -19
- package/dist/cjs/grid/tests/grid-adaptive-filter.js +37 -28
- package/dist/cjs/grid/tests/grid-adaptive-pager.js +149 -92
- package/dist/cjs/grid/tests/grid-adaptive-search.js +48 -43
- package/dist/cjs/grid/tests/grid-angular.js +180 -87
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +580 -506
- package/dist/cjs/grid/tests/grid-column-reordering.js +585 -511
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +728 -547
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +275 -223
- package/dist/cjs/grid/tests/grid-editing-inline-angular.js +48 -43
- package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +48 -43
- package/dist/cjs/grid/tests/grid-editing.js +48 -43
- package/dist/cjs/grid/tests/grid-filter-row-angular.js +48 -43
- package/dist/cjs/grid/tests/grid-filter-row-blazor.js +48 -43
- package/dist/cjs/grid/tests/grid-filter-row.js +160 -151
- package/dist/cjs/grid/tests/grid-grouping-actions.js +546 -472
- package/dist/cjs/grid/tests/grid-grouping.js +48 -43
- package/dist/cjs/grid/tests/grid-pager.js +235 -178
- package/dist/cjs/grid/tests/grid-row-reordering.js +538 -464
- package/dist/cjs/grid/tests/grid-rows-resizing.js +48 -43
- package/dist/cjs/grid/tests/grid-rtl-angular.js +181 -88
- package/dist/cjs/grid/tests/grid-rtl.js +181 -88
- package/dist/cjs/grid/tests/grid-selection-aggregates.js +183 -90
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +670 -628
- package/dist/cjs/grid/tests/grid-size-sm.js +670 -628
- package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +295 -238
- package/dist/cjs/grid/tests/grid-toolbar.js +48 -43
- package/dist/cjs/grid/tests/grid-virtualization.js +452 -407
- package/dist/cjs/grid/tests/grid.js +181 -88
- package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +48 -43
- package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +48 -43
- package/dist/cjs/imageeditor/tests/imageeditor.js +48 -43
- package/dist/cjs/index.js +3301 -2760
- package/dist/cjs/listgroup/listgroup-item.spec.js +78 -0
- package/dist/cjs/listgroup/listgroup.spec.js +125 -0
- package/dist/cjs/listgroup/templates/listgroup-normal.js +136 -0
- package/dist/cjs/listgroup/tests/listgroup.js +145 -40
- package/dist/cjs/listview/listview.spec.js +162 -105
- package/dist/cjs/listview/tests/listview-layout.js +209 -152
- package/dist/cjs/listview/tests/listview-loading.js +180 -123
- package/dist/cjs/listview/tests/listview.js +195 -138
- package/dist/cjs/mediaplayer/tests/mediaplayer.js +48 -43
- package/dist/cjs/multiselect/multiselect.spec.js +737 -19
- package/dist/cjs/multiselect/templates/multiselect-adaptive.js +5802 -0
- package/dist/cjs/multiselect/templates/multiselect-arrow-button.js +5796 -0
- package/dist/cjs/multiselect/templates/multiselect-grouping.js +5814 -0
- package/dist/cjs/multiselect/{tests/multiselect-size.js → templates/multiselect-normal.js} +1260 -614
- package/dist/cjs/multiselect/templates/multiselect-popup.js +5808 -0
- package/dist/cjs/multiselect/templates/multiselect-value.js +5834 -0
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +5842 -0
- package/dist/cjs/multiselect/tests/multiselect-flat.js +799 -148
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +5850 -0
- package/dist/cjs/multiselect/tests/multiselect-opened.js +1175 -895
- package/dist/cjs/multiselect/tests/multiselect-outline.js +799 -148
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +5870 -0
- package/dist/cjs/multiselect/tests/{multiselect.js → multiselect-solid.js} +805 -142
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +54 -42
- package/dist/cjs/pager/index.js +143 -86
- package/dist/cjs/pager/pager.spec.js +143 -86
- package/dist/cjs/pager/tests/{pager-responsive.js → pager-adaptive.js} +169 -113
- package/dist/cjs/pager/tests/pager-sizes.js +163 -106
- package/dist/cjs/pager/tests/pager.js +153 -96
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +204 -142
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +214 -152
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-search-panel.js +293 -124
- package/dist/cjs/pdf-viewer/tests/pdf-viewer.js +204 -142
- package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +133 -121
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery-configurator.js +122 -110
- package/dist/cjs/pivotgrid/tests/pivotgrid-jquery.js +48 -43
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +172 -160
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +298 -286
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +226 -214
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-top.js +356 -344
- package/dist/cjs/pivotgrid/tests/pivotgrid.js +337 -325
- package/dist/cjs/radio/templates/radio-inside-label.js +165 -0
- package/dist/cjs/radio/templates/radio-label.js +165 -0
- package/dist/cjs/radio/templates/radio-normal.js +162 -0
- package/dist/cjs/radio/tests/radio-size.js +23 -74
- package/dist/cjs/radio/tests/radio.js +44 -136
- package/dist/cjs/scheduler/tests/scheduler-adaptive-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day-resource-group.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-adaptive-day.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-adaptive-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-day-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-month-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular-rtl.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-angular.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +513 -458
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +527 -472
- package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-jquery-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-jquery-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-agenda.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-day.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-month.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-timeline.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-react-week.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler-year.js +48 -43
- package/dist/cjs/scheduler/tests/scheduler.js +48 -43
- package/dist/cjs/scrollview/{tests/scrollview-angular.js → scrollview-spec.js} +98 -84
- package/dist/cjs/scrollview/tests/scrollview.js +108 -89
- package/dist/cjs/skeleton/index.js +68 -0
- package/dist/cjs/skeleton/skeleton.spec.js +70 -0
- package/dist/cjs/skeleton/tests/skeleton.js +58 -13
- package/dist/cjs/split-button/split-button.spec.js +124 -55
- package/dist/cjs/split-button/{tests/split-button.js → templates/icon-split-button.js} +132 -100
- package/dist/cjs/split-button/templates/icon-text-split-button.js +4553 -0
- package/dist/cjs/split-button/{tests/split-button-size.js → templates/split-button-popup.js} +306 -147
- package/dist/cjs/split-button/templates/text-split-button.js +4553 -0
- package/dist/cjs/split-button/tests/split-button-flat.js +4763 -0
- package/dist/cjs/split-button/tests/split-button-opened.js +4770 -0
- package/dist/cjs/split-button/tests/split-button-outline.js +4763 -0
- package/dist/cjs/split-button/tests/split-button-size-rounded.js +4770 -0
- package/dist/cjs/split-button/tests/split-button-solid.js +4763 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +172 -163
- package/dist/cjs/spreadsheet/tests/spreadsheet-dialog.js +216 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-filter-menu.js +46 -34
- package/dist/cjs/spreadsheet/tests/spreadsheet-tools-popup.js +48 -43
- package/dist/cjs/spreadsheet/tests/spreadsheet.js +48 -43
- package/dist/cjs/switch/switch.spec.js +17 -9
- package/dist/cjs/switch/templates/switch-checked.js +203 -0
- package/dist/cjs/switch/templates/switch-normal.js +203 -0
- package/dist/cjs/switch/tests/switch-size-rounded.js +51 -53
- package/dist/cjs/switch/tests/switch.js +49 -37
- package/dist/cjs/table/table-header.js +15 -3
- package/dist/cjs/table/templates/data-table-normal.js +489 -0
- package/dist/cjs/table/templates/table-list-virtualization.js +489 -0
- package/dist/cjs/table/templates/table-list.js +519 -0
- package/dist/cjs/table/templates/table-native.js +452 -0
- package/dist/cjs/table/tests/table-data-sizes.js +76 -175
- package/dist/cjs/table/tests/table-list-jquery.js +151 -139
- package/dist/cjs/table/tests/table-list-sizes.js +69 -154
- package/dist/cjs/table/tests/table-list-virtual.js +89 -76
- package/dist/cjs/table/tests/table-native-sizes.js +69 -144
- package/dist/cjs/table/tests/table-native-states.js +145 -58
- package/dist/cjs/taskboard/tests/taskboard-card.js +48 -43
- package/dist/cjs/taskboard/tests/taskboard-pane.js +48 -43
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +48 -43
- package/dist/cjs/taskboard/tests/taskboard.js +48 -43
- package/dist/cjs/textarea/templates/textarea-normal.js +4621 -0
- package/dist/cjs/textarea/tests/textarea-flat.js +25 -27
- package/dist/cjs/textarea/tests/textarea-outline.js +25 -27
- package/dist/cjs/textarea/tests/textarea-size-rounded.js +4642 -0
- package/dist/cjs/textarea/tests/{textarea.js → textarea-solid.js} +30 -32
- package/dist/cjs/textarea/textarea.spec.js +4 -5
- package/dist/cjs/tilelayout/tests/tilelayout-resizing.js +190 -107
- package/dist/cjs/tilelayout/tests/tilelayout.js +231 -134
- package/dist/cjs/tilelayout/tilelayout-item-hint.spec.js +40 -0
- package/dist/cjs/tilelayout/{tests/tilelayout-react.js → tilelayout-item.spec.js} +61 -27
- package/dist/cjs/tilelayout/tilelayout.spec.js +72 -0
- package/dist/cjs/time-selector/templates/time-selector-all.js +4653 -0
- package/dist/cjs/time-selector/templates/time-selector-hour.js +4653 -0
- package/dist/cjs/time-selector/templates/time-selector-minute.js +4653 -0
- package/dist/cjs/time-selector/tests/time-selector.js +196 -165
- package/dist/cjs/time-selector/time-selector.spec.js +87 -14
- package/dist/cjs/timedurationpicker/tests/timedurationpicker-expanded.js +32 -23
- package/dist/cjs/timedurationpicker/tests/timedurationpicker.js +46 -37
- package/dist/cjs/timedurationpicker/timedurationpicker.spec.js +24 -15
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +67 -58
- package/dist/cjs/timepicker/templates/timepicker-normal.js +67 -58
- package/dist/cjs/timepicker/templates/timepicker-popup.js +67 -58
- package/dist/cjs/timepicker/tests/timepicker-adaptive.js +77 -68
- package/dist/cjs/timepicker/tests/timepicker-flat.js +82 -73
- package/dist/cjs/timepicker/tests/timepicker-opened.js +77 -68
- package/dist/cjs/timepicker/tests/timepicker-outline.js +82 -73
- package/dist/cjs/timepicker/tests/timepicker-solid.js +82 -73
- package/dist/cjs/timepicker/timepicker.spec.js +65 -56
- package/dist/cjs/toolbar/tests/toolbar-adaptive.js +48 -43
- package/dist/cjs/toolbar/tests/toolbar-angular.js +442 -425
- package/dist/cjs/toolbar/tests/toolbar-components.js +444 -427
- package/dist/cjs/toolbar/tests/toolbar-sizes.js +308 -295
- package/dist/cjs/toolbar/tests/toolbar.js +529 -504
- package/dist/cjs/toolbar/toolbar-angular.spec.js +48 -43
- package/dist/cjs/toolbar/toolbar.spec.js +48 -43
- package/dist/cjs/treeview/templates/treeview-checkboxes.js +4595 -0
- package/dist/cjs/treeview/templates/treeview-hierarchy.js +4595 -0
- package/dist/cjs/treeview/templates/treeview-icons.js +4595 -0
- package/dist/cjs/treeview/templates/treeview-normal.js +4586 -0
- package/dist/cjs/treeview/tests/treeview-size.js +38 -38
- package/dist/cjs/treeview/tests/treeview.js +117 -112
- package/dist/cjs/treeview/treeview.spec.js +17 -5
- package/dist/esm/action-sheet/tests/action-sheet-data-table.js +100 -88
- package/dist/esm/action-sheet/tests/action-sheet-date-time-selector.js +63 -26
- package/dist/esm/action-sheet/tests/action-sheet-time-selector.js +51 -14
- package/dist/esm/action-sheet/tests/action-sheet-treeview.js +56 -44
- package/dist/esm/captcha/captcha.spec.js +50 -20
- package/dist/esm/captcha/tests/captcha-loading.js +54 -24
- package/dist/esm/captcha/tests/captcha.js +54 -24
- package/dist/esm/chat/chat-message-group.js +239 -0
- package/dist/esm/chat/chat-message.js +90 -0
- package/dist/esm/chat/chat-quick-replies.js +49 -0
- package/dist/esm/chat/chat.spec.js +6843 -0
- package/dist/esm/chat/tests/chat-rtl.js +2624 -246
- package/dist/esm/chat/tests/chat-scrollable-deck.js +2799 -203
- package/dist/esm/chat/tests/chat.js +1113 -786
- package/dist/esm/datetime-selector/datetime-selector.spec.js +96 -23
- package/dist/esm/datetime-selector/tests/datetime-selector.js +95 -86
- package/dist/esm/datetimepicker/datetimepicker.spec.js +75 -66
- package/dist/esm/datetimepicker/templates/datetimepicker-adaptive.js +77 -68
- package/dist/esm/datetimepicker/templates/datetimepicker-normal.js +77 -68
- package/dist/esm/datetimepicker/templates/datetimepicker-popup.js +77 -68
- package/dist/esm/datetimepicker/tests/datetimepicker-adaptive.js +87 -78
- package/dist/esm/datetimepicker/tests/datetimepicker-flat.js +92 -83
- package/dist/esm/datetimepicker/tests/datetimepicker-opened.js +89 -80
- package/dist/esm/datetimepicker/tests/datetimepicker-outline.js +92 -83
- package/dist/esm/datetimepicker/tests/datetimepicker-size-rounded.js +90 -81
- package/dist/esm/datetimepicker/tests/datetimepicker-solid.js +92 -83
- package/dist/esm/dropdowngrid/dropdowngrid.spec.js +63 -51
- package/dist/esm/dropdowngrid/templates/dropdowngrid-adaptive.js +65 -53
- package/dist/esm/dropdowngrid/templates/dropdowngrid-normal.js +65 -53
- package/dist/esm/dropdowngrid/templates/dropdowngrid-popup.js +103 -91
- package/dist/esm/dropdowngrid/tests/dropdowngrid-adaptive.js +75 -63
- package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +80 -68
- package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +113 -101
- package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +82 -70
- package/dist/esm/dropdowngrid/tests/dropdowngrid-size-rounded.js +78 -66
- package/dist/esm/dropdowngrid/tests/dropdowngrid-solid.js +80 -68
- package/dist/esm/dropdowntree/dropdowntree.spec.js +35 -23
- package/dist/esm/dropdowntree/templates/dropdowntree-adaptive.js +37 -25
- package/dist/esm/dropdowntree/templates/dropdowntree-normal.js +37 -25
- package/dist/esm/dropdowntree/templates/dropdowntree-popup.js +47 -35
- package/dist/esm/dropdowntree/tests/dropdowntree-adaptive.js +47 -35
- package/dist/esm/dropdowntree/tests/dropdowntree-flat.js +52 -40
- package/dist/esm/dropdowntree/tests/dropdowntree-opened.js +57 -45
- package/dist/esm/dropdowntree/tests/dropdowntree-outline.js +52 -40
- package/dist/esm/dropdowntree/tests/dropdowntree-size-rounded.js +50 -38
- package/dist/esm/dropdowntree/tests/dropdowntree-solid.js +52 -40
- package/dist/esm/editor/editor-toolbar.js +49 -44
- package/dist/esm/editor/tests/editor-find-replace.js +57 -52
- package/dist/esm/editor/tests/editor-table-wizard.js +118 -116
- package/dist/esm/editor/tests/editor-view-source.js +13 -11
- package/dist/esm/editor/tests/editor.js +51 -46
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +87 -70
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +87 -70
- package/dist/esm/filemanager/tests/filemanager-gridview.js +152 -135
- package/dist/esm/filemanager/tests/filemanager-listview.js +106 -89
- package/dist/esm/filemanager/tests/filemanager-preview.js +205 -188
- package/dist/esm/filemanager/tests/filemanager-toolbar.js +651 -626
- package/dist/esm/filter/tests/filter.js +53 -48
- package/dist/esm/floating-label/tests/floating-label-flat.js +41 -39
- package/dist/esm/floating-label/tests/floating-label-outline.js +41 -39
- package/dist/esm/floating-label/tests/floating-label.js +41 -39
- package/dist/esm/form/tests/form-field-dateinputs.js +111 -102
- package/dist/esm/form/tests/form-field-dropdowns.js +82 -47
- package/dist/esm/form/tests/form-field-fieldset.js +54 -52
- package/dist/esm/form/tests/form-field-inputs-rtl.js +239 -222
- package/dist/esm/form/tests/form-field-inputs.js +240 -223
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +204 -195
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +241 -239
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +52 -47
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +52 -47
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +52 -47
- package/dist/esm/gantt/tests/gantt-react.js +51 -46
- package/dist/esm/gantt/tests/gantt-row-reordering.js +51 -46
- package/dist/esm/gantt/tests/gantt.js +51 -46
- package/dist/esm/grid/tests/grid-adaptive-column-menu.js +55 -47
- package/dist/esm/grid/tests/grid-adaptive-filter-bool.js +28 -19
- package/dist/esm/grid/tests/grid-adaptive-filter.js +37 -28
- package/dist/esm/grid/tests/grid-adaptive-pager.js +150 -93
- package/dist/esm/grid/tests/grid-adaptive-search.js +51 -46
- package/dist/esm/grid/tests/grid-angular.js +234 -141
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +582 -508
- package/dist/esm/grid/tests/grid-column-reordering.js +587 -513
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +730 -549
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +275 -223
- package/dist/esm/grid/tests/grid-editing-inline-angular.js +51 -46
- package/dist/esm/grid/tests/grid-editing-inline-blazor.js +51 -46
- package/dist/esm/grid/tests/grid-editing.js +51 -46
- package/dist/esm/grid/tests/grid-filter-row-angular.js +51 -46
- package/dist/esm/grid/tests/grid-filter-row-blazor.js +51 -46
- package/dist/esm/grid/tests/grid-filter-row.js +160 -151
- package/dist/esm/grid/tests/grid-grouping-actions.js +548 -474
- package/dist/esm/grid/tests/grid-grouping.js +51 -46
- package/dist/esm/grid/tests/grid-pager.js +236 -179
- package/dist/esm/grid/tests/grid-row-reordering.js +540 -466
- package/dist/esm/grid/tests/grid-rows-resizing.js +51 -46
- package/dist/esm/grid/tests/grid-rtl-angular.js +216 -123
- package/dist/esm/grid/tests/grid-rtl.js +212 -119
- package/dist/esm/grid/tests/grid-selection-aggregates.js +222 -129
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +615 -573
- package/dist/esm/grid/tests/grid-size-sm.js +615 -573
- package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +296 -239
- package/dist/esm/grid/tests/grid-toolbar.js +51 -46
- package/dist/esm/grid/tests/grid-virtualization.js +399 -356
- package/dist/esm/grid/tests/grid.js +221 -128
- package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +56 -51
- package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +56 -51
- package/dist/esm/imageeditor/tests/imageeditor.js +51 -46
- package/dist/esm/index.js +3301 -2760
- package/dist/esm/listgroup/listgroup-item.spec.js +56 -0
- package/dist/esm/listgroup/listgroup.spec.js +103 -0
- package/dist/esm/listgroup/templates/listgroup-normal.js +114 -0
- package/dist/esm/listgroup/tests/listgroup.js +145 -40
- package/dist/esm/listview/listview.spec.js +163 -106
- package/dist/esm/listview/tests/listview-layout.js +210 -153
- package/dist/esm/listview/tests/listview-loading.js +181 -124
- package/dist/esm/listview/tests/listview.js +196 -139
- package/dist/esm/mediaplayer/tests/mediaplayer.js +51 -46
- package/dist/esm/multiselect/multiselect.spec.js +737 -19
- package/dist/esm/multiselect/templates/multiselect-adaptive.js +5786 -0
- package/dist/esm/multiselect/templates/multiselect-arrow-button.js +5780 -0
- package/dist/esm/multiselect/templates/multiselect-grouping.js +5798 -0
- package/dist/esm/multiselect/{tests/multiselect-size.js → templates/multiselect-normal.js} +1223 -577
- package/dist/esm/multiselect/templates/multiselect-popup.js +5792 -0
- package/dist/esm/multiselect/templates/multiselect-value.js +5818 -0
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +5826 -0
- package/dist/esm/multiselect/tests/multiselect-flat.js +799 -148
- package/dist/esm/multiselect/tests/multiselect-grouping.js +5834 -0
- package/dist/esm/multiselect/tests/multiselect-opened.js +1161 -881
- package/dist/esm/multiselect/tests/multiselect-outline.js +799 -148
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +5854 -0
- package/dist/esm/multiselect/tests/{multiselect.js → multiselect-solid.js} +801 -138
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +54 -42
- package/dist/esm/pager/index.js +144 -87
- package/dist/esm/pager/pager.spec.js +144 -87
- package/dist/esm/pager/tests/{pager-responsive.js → pager-adaptive.js} +166 -110
- package/dist/esm/pager/tests/pager-sizes.js +164 -107
- package/dist/esm/pager/tests/pager.js +154 -97
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page-blazor.js +206 -144
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +216 -154
- package/dist/esm/pdf-viewer/tests/pdf-viewer-search-panel.js +294 -125
- package/dist/esm/pdf-viewer/tests/pdf-viewer.js +206 -144
- package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +133 -121
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery-configurator.js +122 -110
- package/dist/esm/pivotgrid/tests/pivotgrid-jquery.js +55 -50
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-horizontal.js +172 -160
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +298 -286
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-vertical.js +226 -214
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-top.js +356 -344
- package/dist/esm/pivotgrid/tests/pivotgrid.js +337 -325
- package/dist/esm/radio/templates/radio-inside-label.js +143 -0
- package/dist/esm/radio/templates/radio-label.js +143 -0
- package/dist/esm/radio/templates/radio-normal.js +140 -0
- package/dist/esm/radio/tests/radio-size.js +23 -74
- package/dist/esm/radio/tests/radio.js +44 -136
- package/dist/esm/scheduler/tests/scheduler-adaptive-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-day-resource-group.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-day.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-adaptive-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-agenda-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-day-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-month-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular-rtl.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-angular.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +480 -425
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +494 -439
- package/dist/esm/scheduler/tests/scheduler-flex-layout.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-jquery-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-jquery-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-agenda.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-day.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-month.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-timeline.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-react-week.js +51 -46
- package/dist/esm/scheduler/tests/scheduler-year.js +51 -46
- package/dist/esm/scheduler/tests/scheduler.js +51 -46
- package/dist/esm/scrollview/{tests/scrollview-angular.js → scrollview-spec.js} +94 -80
- package/dist/esm/scrollview/tests/scrollview.js +108 -89
- package/dist/esm/skeleton/index.js +46 -0
- package/dist/esm/skeleton/skeleton.spec.js +48 -0
- package/dist/esm/skeleton/tests/skeleton.js +54 -11
- package/dist/esm/split-button/split-button.spec.js +124 -55
- package/dist/esm/split-button/{tests/split-button.js → templates/icon-split-button.js} +128 -96
- package/dist/esm/split-button/{tests/split-button-size.js → templates/icon-text-split-button.js} +128 -157
- package/dist/esm/split-button/templates/split-button-popup.js +4725 -0
- package/dist/esm/{scrollview/tests/scrollview-blazor.js → split-button/templates/text-split-button.js} +327 -91
- package/dist/esm/split-button/tests/split-button-flat.js +4747 -0
- package/dist/esm/split-button/tests/split-button-opened.js +4754 -0
- package/dist/esm/split-button/tests/split-button-outline.js +4747 -0
- package/dist/esm/split-button/tests/split-button-size-rounded.js +4754 -0
- package/dist/esm/split-button/tests/split-button-solid.js +4747 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +172 -163
- package/dist/esm/spreadsheet/tests/spreadsheet-dialog.js +211 -200
- package/dist/esm/spreadsheet/tests/spreadsheet-filter-menu.js +46 -34
- package/dist/esm/spreadsheet/tests/spreadsheet-tools-popup.js +51 -46
- package/dist/esm/spreadsheet/tests/spreadsheet.js +51 -46
- package/dist/esm/switch/switch.spec.js +17 -9
- package/dist/esm/switch/templates/switch-checked.js +181 -0
- package/dist/esm/switch/templates/switch-normal.js +181 -0
- package/dist/esm/switch/tests/switch-size-rounded.js +49 -51
- package/dist/esm/switch/tests/switch.js +48 -36
- package/dist/esm/table/table-header.js +15 -3
- package/dist/esm/table/templates/data-table-normal.js +467 -0
- package/dist/esm/table/templates/table-list-virtualization.js +467 -0
- package/dist/esm/table/templates/table-list.js +497 -0
- package/dist/esm/table/templates/table-native.js +430 -0
- package/dist/esm/table/tests/table-data-sizes.js +76 -175
- package/dist/esm/table/tests/table-list-jquery.js +151 -139
- package/dist/esm/table/tests/table-list-sizes.js +69 -154
- package/dist/esm/table/tests/table-list-virtual.js +89 -76
- package/dist/esm/table/tests/table-native-sizes.js +70 -145
- package/dist/esm/table/tests/table-native-states.js +145 -58
- package/dist/esm/taskboard/tests/taskboard-card.js +51 -46
- package/dist/esm/taskboard/tests/taskboard-pane.js +55 -50
- package/dist/esm/taskboard/tests/taskboard-rtl.js +51 -46
- package/dist/esm/taskboard/tests/taskboard.js +51 -46
- package/dist/esm/textarea/templates/textarea-normal.js +4605 -0
- package/dist/esm/textarea/tests/textarea-flat.js +23 -25
- package/dist/esm/textarea/tests/textarea-outline.js +23 -25
- package/dist/esm/textarea/tests/textarea-size-rounded.js +4626 -0
- package/dist/esm/textarea/tests/{textarea.js → textarea-solid.js} +26 -28
- package/dist/esm/textarea/textarea.spec.js +4 -5
- package/dist/esm/tilelayout/tests/tilelayout-resizing.js +175 -102
- package/dist/esm/tilelayout/tests/tilelayout.js +216 -129
- package/dist/esm/tilelayout/tilelayout-item-hint.spec.js +20 -0
- package/dist/esm/tilelayout/{tests/tilelayout-react.js → tilelayout-item.spec.js} +50 -24
- package/dist/esm/tilelayout/tilelayout.spec.js +50 -0
- package/dist/esm/time-selector/templates/time-selector-all.js +4637 -0
- package/dist/esm/time-selector/templates/time-selector-hour.js +4637 -0
- package/dist/esm/time-selector/templates/time-selector-minute.js +4637 -0
- package/dist/esm/time-selector/tests/time-selector.js +197 -166
- package/dist/esm/time-selector/time-selector.spec.js +87 -14
- package/dist/esm/timedurationpicker/tests/timedurationpicker-expanded.js +32 -23
- package/dist/esm/timedurationpicker/tests/timedurationpicker.js +46 -37
- package/dist/esm/timedurationpicker/timedurationpicker.spec.js +24 -15
- package/dist/esm/timepicker/templates/timepicker-adaptive.js +67 -58
- package/dist/esm/timepicker/templates/timepicker-normal.js +67 -58
- package/dist/esm/timepicker/templates/timepicker-popup.js +67 -58
- package/dist/esm/timepicker/tests/timepicker-adaptive.js +77 -68
- package/dist/esm/timepicker/tests/timepicker-flat.js +82 -73
- package/dist/esm/timepicker/tests/timepicker-opened.js +77 -68
- package/dist/esm/timepicker/tests/timepicker-outline.js +82 -73
- package/dist/esm/timepicker/tests/timepicker-solid.js +82 -73
- package/dist/esm/timepicker/timepicker.spec.js +65 -56
- package/dist/esm/toolbar/tests/toolbar-adaptive.js +51 -46
- package/dist/esm/toolbar/tests/toolbar-angular.js +442 -425
- package/dist/esm/toolbar/tests/toolbar-components.js +444 -427
- package/dist/esm/toolbar/tests/toolbar-sizes.js +283 -270
- package/dist/esm/toolbar/tests/toolbar.js +529 -504
- package/dist/esm/toolbar/toolbar-angular.spec.js +49 -44
- package/dist/esm/toolbar/toolbar.spec.js +49 -44
- package/dist/esm/treeview/templates/treeview-checkboxes.js +4579 -0
- package/dist/esm/treeview/templates/treeview-hierarchy.js +4579 -0
- package/dist/esm/treeview/templates/treeview-icons.js +4579 -0
- package/dist/esm/treeview/templates/treeview-normal.js +4570 -0
- package/dist/esm/treeview/tests/treeview-size.js +38 -38
- package/dist/esm/treeview/tests/treeview.js +117 -112
- package/dist/esm/treeview/treeview.spec.js +17 -5
- package/dist/types/chat/chat-message-group.d.ts +22 -0
- package/dist/types/chat/chat-message.d.ts +22 -0
- package/dist/types/chat/chat-quick-replies.d.ts +13 -0
- package/dist/types/chat/chat.spec.d.ts +18 -0
- package/dist/types/chat/index.d.ts +4 -0
- package/dist/types/listgroup/index.d.ts +3 -0
- package/dist/types/listgroup/listgroup-item.spec.d.ts +25 -0
- package/dist/types/listgroup/listgroup.spec.d.ts +16 -0
- package/dist/types/listgroup/templates/listgroup-normal.d.ts +1 -0
- package/dist/types/multiselect/index.d.ts +6 -0
- package/dist/types/multiselect/multiselect.spec.d.ts +3 -0
- package/dist/types/multiselect/templates/multiselect-adaptive.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-arrow-button.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-grouping.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-normal.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-popup.d.ts +1 -0
- package/dist/types/multiselect/templates/multiselect-value.d.ts +1 -0
- package/dist/types/pager/pager.spec.d.ts +4 -2
- package/dist/types/radio/index.d.ts +3 -0
- package/dist/types/radio/templates/radio-inside-label.d.ts +1 -0
- package/dist/types/radio/templates/radio-label.d.ts +1 -0
- package/dist/types/radio/templates/radio-normal.d.ts +1 -0
- package/dist/types/scrollview/index.d.ts +1 -0
- package/dist/types/scrollview/scrollview-spec.d.ts +23 -0
- package/dist/types/skeleton/index.d.ts +1 -0
- package/dist/types/skeleton/skeleton.spec.d.ts +18 -0
- package/dist/types/split-button/index.d.ts +4 -0
- package/dist/types/split-button/split-button.spec.d.ts +3 -0
- package/dist/types/split-button/templates/icon-split-button.d.ts +1 -0
- package/dist/types/split-button/templates/icon-text-split-button.d.ts +1 -0
- package/dist/types/split-button/templates/split-button-popup.d.ts +1 -0
- package/dist/types/split-button/templates/text-split-button.d.ts +1 -0
- package/dist/types/split-button/tests/split-button-solid.d.ts +2 -0
- package/dist/types/switch/index.d.ts +2 -0
- package/dist/types/switch/switch.spec.d.ts +8 -4
- package/dist/types/switch/templates/switch-checked.d.ts +1 -0
- package/dist/types/switch/templates/switch-normal.d.ts +1 -0
- package/dist/types/table/index.d.ts +4 -0
- package/dist/types/table/templates/data-table-normal.d.ts +1 -0
- package/dist/types/table/templates/table-list-virtualization.d.ts +1 -0
- package/dist/types/table/templates/table-list.d.ts +1 -0
- package/dist/types/table/templates/table-native.d.ts +1 -0
- package/dist/types/textarea/index.d.ts +1 -0
- package/dist/types/textarea/templates/textarea-normal.d.ts +1 -0
- package/dist/types/textarea/tests/textarea-size-rounded.d.ts +2 -0
- package/dist/types/textarea/tests/textarea-solid.d.ts +2 -0
- package/dist/types/textarea/textarea.spec.d.ts +2 -2
- package/dist/types/tilelayout/index.d.ts +3 -0
- package/dist/types/tilelayout/tilelayout-item-hint.spec.d.ts +13 -0
- package/dist/types/tilelayout/tilelayout-item.spec.d.ts +17 -0
- package/dist/types/tilelayout/tilelayout.spec.d.ts +18 -0
- package/dist/types/time-selector/index.d.ts +3 -0
- package/dist/types/time-selector/templates/time-selector-all.d.ts +1 -0
- package/dist/types/time-selector/templates/time-selector-hour.d.ts +1 -0
- package/dist/types/time-selector/templates/time-selector-minute.d.ts +1 -0
- package/dist/types/treeview/index.d.ts +4 -0
- package/dist/types/treeview/templates/treeview-checkboxes.d.ts +1 -0
- package/dist/types/treeview/templates/treeview-hierarchy.d.ts +1 -0
- package/dist/types/treeview/templates/treeview-icons.d.ts +1 -0
- package/dist/types/treeview/templates/treeview-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/captcha/captcha.spec.tsx +2 -4
- package/src/chat/chat-message-group.tsx +63 -0
- package/src/chat/chat-message.tsx +58 -0
- package/src/chat/chat-quick-replies.tsx +54 -0
- package/src/chat/chat.spec.tsx +88 -0
- package/src/chat/index.ts +4 -0
- package/src/chat/tests/chat-rtl.tsx +45 -84
- package/src/chat/tests/chat-scrollable-deck.tsx +42 -56
- package/src/chat/tests/chat.tsx +85 -150
- package/src/grid/tests/grid-adaptive-pager.tsx +2 -2
- package/src/grid/tests/grid-angular.tsx +2 -1
- package/src/grid/tests/grid-rtl-angular.tsx +3 -2
- package/src/grid/tests/grid-rtl.tsx +3 -2
- package/src/grid/tests/grid-selection-aggregates.tsx +5 -4
- package/src/grid/tests/grid-size-sm-comp-sm.tsx +3 -2
- package/src/grid/tests/grid-size-sm.tsx +3 -2
- package/src/grid/tests/grid-sticky-columns-rtl.tsx +1 -1
- package/src/grid/tests/grid-virtualization.tsx +202 -200
- package/src/grid/tests/grid.tsx +3 -2
- package/src/listgroup/index.ts +3 -0
- package/src/listgroup/listgroup-item.spec.tsx +69 -0
- package/src/listgroup/listgroup.spec.tsx +62 -0
- package/src/listgroup/templates/listgroup-normal.tsx +12 -0
- package/src/listgroup/tests/listgroup.tsx +35 -38
- package/src/multiselect/index.ts +6 -0
- package/src/multiselect/multiselect.spec.tsx +22 -0
- package/src/multiselect/templates/multiselect-adaptive.tsx +8 -0
- package/src/multiselect/templates/multiselect-arrow-button.tsx +3 -0
- package/src/multiselect/templates/multiselect-grouping.tsx +23 -0
- package/src/multiselect/templates/multiselect-normal.tsx +3 -0
- package/src/multiselect/templates/multiselect-popup.tsx +16 -0
- package/src/multiselect/templates/multiselect-value.tsx +12 -0
- package/src/multiselect/tests/multiselect-adaptive.tsx +33 -0
- package/src/multiselect/tests/multiselect-flat.tsx +28 -124
- package/src/multiselect/tests/multiselect-grouping.tsx +28 -0
- package/src/multiselect/tests/multiselect-opened.tsx +3 -36
- package/src/multiselect/tests/multiselect-outline.tsx +28 -124
- package/src/multiselect/tests/multiselect-size-rounded.tsx +32 -0
- package/src/multiselect/tests/multiselect-solid.tsx +79 -0
- package/src/pager/pager.spec.tsx +36 -29
- package/src/pager/tests/pager-adaptive.tsx +25 -0
- package/src/radio/index.ts +3 -0
- package/src/radio/templates/radio-inside-label.tsx +10 -0
- package/src/radio/templates/radio-label.tsx +8 -0
- package/src/radio/templates/radio-normal.tsx +3 -0
- package/src/radio/tests/radio-size.tsx +11 -73
- package/src/radio/tests/radio.tsx +29 -142
- package/src/scrollview/index.ts +1 -0
- package/src/scrollview/scrollview-spec.tsx +134 -0
- package/src/scrollview/tests/scrollview.tsx +5 -119
- package/src/skeleton/index.tsx +1 -0
- package/src/skeleton/skeleton.spec.tsx +50 -0
- package/src/skeleton/tests/skeleton.tsx +11 -12
- package/src/split-button/index.ts +4 -0
- package/src/split-button/split-button.spec.tsx +47 -35
- package/src/split-button/templates/icon-split-button.tsx +3 -0
- package/src/split-button/templates/icon-text-split-button.tsx +3 -0
- package/src/split-button/templates/split-button-popup.tsx +17 -0
- package/src/split-button/templates/text-split-button.tsx +3 -0
- package/src/split-button/tests/split-button-flat.tsx +28 -0
- package/src/split-button/tests/split-button-opened.tsx +27 -0
- package/src/split-button/tests/split-button-outline.tsx +28 -0
- package/src/split-button/tests/split-button-size-rounded.tsx +39 -0
- package/src/split-button/tests/split-button-solid.tsx +29 -0
- package/src/switch/index.ts +2 -0
- package/src/switch/switch.spec.tsx +14 -12
- package/src/switch/templates/switch-checked.tsx +3 -0
- package/src/switch/templates/switch-normal.tsx +3 -0
- package/src/switch/tests/switch-size-rounded.tsx +23 -102
- package/src/switch/tests/switch.tsx +26 -51
- package/src/table/index.ts +5 -0
- package/src/table/templates/data-table-normal.tsx +76 -0
- package/src/table/templates/table-list-virtualization.tsx +79 -0
- package/src/table/templates/table-list.tsx +63 -0
- package/src/table/templates/table-native.tsx +64 -0
- package/src/table/tests/table-data-sizes.tsx +4 -226
- package/src/table/tests/table-list-sizes.tsx +4 -187
- package/src/table/tests/table-list-virtual.tsx +2 -78
- package/src/table/tests/table-native-sizes.tsx +4 -182
- package/src/table/tests/table-native-states.tsx +3 -5
- package/src/textarea/index.ts +1 -0
- package/src/textarea/templates/textarea-normal.tsx +3 -0
- package/src/textarea/tests/textarea-flat.tsx +17 -40
- package/src/textarea/tests/textarea-outline.tsx +17 -41
- package/src/textarea/tests/textarea-size-rounded.tsx +32 -0
- package/src/textarea/tests/textarea-solid.tsx +52 -0
- package/src/textarea/textarea.spec.tsx +4 -5
- package/src/tilelayout/index.ts +3 -0
- package/src/tilelayout/tests/tilelayout-resizing.tsx +8 -35
- package/src/tilelayout/tests/tilelayout.tsx +27 -87
- package/src/tilelayout/tilelayout-item-hint.spec.tsx +30 -0
- package/src/tilelayout/tilelayout-item.spec.tsx +69 -0
- package/src/tilelayout/tilelayout.spec.tsx +56 -0
- package/src/time-selector/index.ts +3 -0
- package/src/time-selector/templates/time-selector-all.tsx +23 -0
- package/src/time-selector/templates/time-selector-hour.tsx +23 -0
- package/src/time-selector/templates/time-selector-minute.tsx +23 -0
- package/src/time-selector/tests/time-selector.tsx +4 -39
- package/src/treeview/index.ts +4 -0
- package/src/treeview/templates/treeview-checkboxes.tsx +28 -0
- package/src/treeview/templates/treeview-hierarchy.tsx +30 -0
- package/src/treeview/templates/treeview-icons.tsx +30 -0
- package/src/treeview/templates/treeview-normal.tsx +13 -0
- package/src/treeview/tests/treeview-size.tsx +4 -41
- package/src/treeview/tests/treeview.tsx +11 -136
- package/dist/cjs/scrollview/tests/scrollview-blazor.js +0 -4317
- package/src/multiselect/tests/multiselect-size.tsx +0 -50
- package/src/multiselect/tests/multiselect.tsx +0 -176
- package/src/pager/tests/pager-responsive.tsx +0 -27
- package/src/scrollview/tests/scrollview-angular.tsx +0 -109
- package/src/scrollview/tests/scrollview-blazor.tsx +0 -120
- package/src/split-button/tests/split-button-size.tsx +0 -111
- package/src/split-button/tests/split-button.tsx +0 -87
- package/src/textarea/tests/textarea.tsx +0 -75
- package/src/tilelayout/tests/tilelayout-react.tsx +0 -44
- /package/dist/types/multiselect/tests/{multiselect-size.d.ts → multiselect-adaptive.d.ts} +0 -0
- /package/dist/types/multiselect/tests/{multiselect.d.ts → multiselect-grouping.d.ts} +0 -0
- /package/dist/types/{pager/tests/pager-responsive.d.ts → multiselect/tests/multiselect-size-rounded.d.ts} +0 -0
- /package/dist/types/{scrollview/tests/scrollview-angular.d.ts → multiselect/tests/multiselect-solid.d.ts} +0 -0
- /package/dist/types/{scrollview/tests/scrollview-blazor.d.ts → pager/tests/pager-adaptive.d.ts} +0 -0
- /package/dist/types/split-button/tests/{split-button-size.d.ts → split-button-flat.d.ts} +0 -0
- /package/dist/types/split-button/tests/{split-button.d.ts → split-button-opened.d.ts} +0 -0
- /package/dist/types/{textarea/tests/textarea.d.ts → split-button/tests/split-button-outline.d.ts} +0 -0
- /package/dist/types/{tilelayout/tests/tilelayout-react.d.ts → split-button/tests/split-button-size-rounded.d.ts} +0 -0
|
@@ -110,92 +110,162 @@ var States = {
|
|
|
110
110
|
"checked": "checked",
|
|
111
111
|
"readonly": "readonly"
|
|
112
112
|
};
|
|
113
|
+
var kendoThemeMaps = {
|
|
114
|
+
calloutMap: {
|
|
115
|
+
top: "n",
|
|
116
|
+
bottom: "s",
|
|
117
|
+
left: "w",
|
|
118
|
+
right: "e"
|
|
119
|
+
},
|
|
120
|
+
orientationMap: {
|
|
121
|
+
vertical: "vstack",
|
|
122
|
+
horizontal: "hstack"
|
|
123
|
+
}
|
|
124
|
+
};
|
|
113
125
|
|
|
114
|
-
// src/
|
|
126
|
+
// src/card/card-callout.tsx
|
|
115
127
|
import { jsx } from "react/jsx-runtime";
|
|
116
|
-
var
|
|
128
|
+
var CARDCALLOUT_CLASSNAME = `k-card-callout`;
|
|
129
|
+
var CardCallout = (props) => {
|
|
130
|
+
const {
|
|
131
|
+
callout,
|
|
132
|
+
...other
|
|
133
|
+
} = props;
|
|
134
|
+
return /* @__PURE__ */ jsx(
|
|
135
|
+
"span",
|
|
136
|
+
{
|
|
137
|
+
...other,
|
|
138
|
+
className: classNames(
|
|
139
|
+
props.className,
|
|
140
|
+
CARDCALLOUT_CLASSNAME,
|
|
141
|
+
{
|
|
142
|
+
[`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
// src/card/card.spec.tsx
|
|
150
|
+
import { Fragment, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
151
|
+
var CARD_CLASSNAME = `k-card`;
|
|
117
152
|
var states = [
|
|
118
153
|
States.hover,
|
|
119
154
|
States.focus,
|
|
120
|
-
States.active,
|
|
121
155
|
States.selected,
|
|
122
156
|
States.disabled
|
|
123
157
|
];
|
|
124
158
|
var options = {
|
|
125
|
-
size: [Size.small, Size.medium, Size.large],
|
|
126
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
127
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
|
|
128
159
|
themeColor: [
|
|
129
|
-
ThemeColor.base,
|
|
130
160
|
ThemeColor.primary,
|
|
131
|
-
ThemeColor.secondary,
|
|
132
|
-
ThemeColor.tertiary,
|
|
133
161
|
ThemeColor.success,
|
|
134
162
|
ThemeColor.warning,
|
|
135
163
|
ThemeColor.error,
|
|
136
|
-
ThemeColor.info
|
|
137
|
-
ThemeColor.light,
|
|
138
|
-
ThemeColor.dark,
|
|
139
|
-
ThemeColor.inverse
|
|
164
|
+
ThemeColor.info
|
|
140
165
|
]
|
|
141
166
|
};
|
|
142
|
-
var defaultProps = {
|
|
143
|
-
|
|
144
|
-
size: Size.medium,
|
|
145
|
-
rounded: Roundness.full,
|
|
146
|
-
fillMode: FillMode.solid,
|
|
147
|
-
themeColor: ThemeColor.primary,
|
|
148
|
-
border: false
|
|
149
|
-
};
|
|
150
|
-
var Avatar = (props) => {
|
|
167
|
+
var defaultProps = {};
|
|
168
|
+
var Card = (props) => {
|
|
151
169
|
const {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
170
|
+
orientation,
|
|
171
|
+
themeColor,
|
|
172
|
+
callout,
|
|
173
|
+
hover,
|
|
174
|
+
focus,
|
|
175
|
+
selected,
|
|
176
|
+
disabled,
|
|
158
177
|
...other
|
|
159
178
|
} = props;
|
|
160
|
-
return /* @__PURE__ */
|
|
179
|
+
return /* @__PURE__ */ jsxs(
|
|
161
180
|
"div",
|
|
162
181
|
{
|
|
163
182
|
...other,
|
|
164
183
|
className: classNames(
|
|
165
184
|
props.className,
|
|
166
|
-
|
|
167
|
-
optionClassNames(
|
|
168
|
-
size,
|
|
169
|
-
rounded,
|
|
170
|
-
fillMode,
|
|
185
|
+
CARD_CLASSNAME,
|
|
186
|
+
optionClassNames(CARD_CLASSNAME, {
|
|
171
187
|
themeColor
|
|
172
188
|
}),
|
|
189
|
+
stateClassNames(CARD_CLASSNAME, {
|
|
190
|
+
hover,
|
|
191
|
+
focus,
|
|
192
|
+
disabled,
|
|
193
|
+
selected
|
|
194
|
+
}),
|
|
173
195
|
{
|
|
174
|
-
[
|
|
196
|
+
[`k-card-${orientation}`]: orientation,
|
|
197
|
+
"k-card-with-callout": callout
|
|
175
198
|
}
|
|
176
199
|
),
|
|
177
|
-
children:
|
|
200
|
+
children: [
|
|
201
|
+
callout && callout !== "true" && /* @__PURE__ */ jsx2(CardCallout, { callout }),
|
|
202
|
+
/* @__PURE__ */ jsx2(Fragment, { children: props.children })
|
|
203
|
+
]
|
|
178
204
|
}
|
|
179
205
|
);
|
|
180
206
|
};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
207
|
+
Card.states = states;
|
|
208
|
+
Card.options = options;
|
|
209
|
+
Card.className = CARD_CLASSNAME;
|
|
210
|
+
Card.defaultProps = defaultProps;
|
|
185
211
|
|
|
186
|
-
// src/
|
|
187
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
188
|
-
|
|
189
|
-
// src/avatar/templates/avatar-text.tsx
|
|
212
|
+
// src/card/card-title.tsx
|
|
190
213
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
214
|
+
var CARDTITLE_CLASSNAME = `k-card-title`;
|
|
215
|
+
var states2 = [
|
|
216
|
+
States.hover,
|
|
217
|
+
States.focus
|
|
218
|
+
];
|
|
219
|
+
var CardTitle = (props) => {
|
|
220
|
+
const {
|
|
221
|
+
hover,
|
|
222
|
+
focus,
|
|
223
|
+
...other
|
|
224
|
+
} = props;
|
|
225
|
+
return /* @__PURE__ */ jsx3(
|
|
226
|
+
"div",
|
|
227
|
+
{
|
|
228
|
+
...other,
|
|
229
|
+
className: classNames(
|
|
230
|
+
props.className,
|
|
231
|
+
CARDTITLE_CLASSNAME,
|
|
232
|
+
stateClassNames(CARDTITLE_CLASSNAME, {
|
|
233
|
+
hover,
|
|
234
|
+
focus
|
|
235
|
+
})
|
|
236
|
+
),
|
|
237
|
+
children: props.children
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
};
|
|
191
241
|
|
|
192
|
-
// src/
|
|
242
|
+
// src/card/card-subtitle.tsx
|
|
193
243
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
244
|
+
var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
|
|
245
|
+
var CardSubtitle = (props) => {
|
|
246
|
+
const {
|
|
247
|
+
...other
|
|
248
|
+
} = props;
|
|
249
|
+
return /* @__PURE__ */ jsx4(
|
|
250
|
+
"div",
|
|
251
|
+
{
|
|
252
|
+
...other,
|
|
253
|
+
className: classNames(
|
|
254
|
+
props.className,
|
|
255
|
+
CARDSUBTITLE_CLASSNAME
|
|
256
|
+
),
|
|
257
|
+
children: props.children
|
|
258
|
+
}
|
|
259
|
+
);
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
// src/card/card-img.tsx
|
|
263
|
+
import { Fragment as Fragment2, jsx as jsx5 } from "react/jsx-runtime";
|
|
194
264
|
|
|
195
265
|
// src/icon/font-icon.spec.tsx
|
|
196
|
-
import { Fragment, jsx as
|
|
266
|
+
import { Fragment as Fragment3, jsx as jsx6 } from "react/jsx-runtime";
|
|
197
267
|
var FONTICON_CLASSNAME = `k-icon`;
|
|
198
|
-
var
|
|
268
|
+
var states3 = [];
|
|
199
269
|
var options2 = {
|
|
200
270
|
size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
|
|
201
271
|
themeColor: [
|
|
@@ -222,9 +292,9 @@ var FontIcon = (props) => {
|
|
|
222
292
|
...other
|
|
223
293
|
} = props;
|
|
224
294
|
if (!icon) {
|
|
225
|
-
return /* @__PURE__ */
|
|
295
|
+
return /* @__PURE__ */ jsx6(Fragment3, {});
|
|
226
296
|
}
|
|
227
|
-
return /* @__PURE__ */
|
|
297
|
+
return /* @__PURE__ */ jsx6(
|
|
228
298
|
"span",
|
|
229
299
|
{
|
|
230
300
|
...other,
|
|
@@ -245,16 +315,16 @@ var FontIcon = (props) => {
|
|
|
245
315
|
}
|
|
246
316
|
);
|
|
247
317
|
};
|
|
248
|
-
FontIcon.states =
|
|
318
|
+
FontIcon.states = states3;
|
|
249
319
|
FontIcon.options = options2;
|
|
250
320
|
FontIcon.className = FONTICON_CLASSNAME;
|
|
251
321
|
FontIcon.defaultProps = defaultProps2;
|
|
252
322
|
var font_icon_spec_default = FontIcon;
|
|
253
323
|
|
|
254
324
|
// src/icon/svg-icon.spec.tsx
|
|
255
|
-
import { Fragment as
|
|
325
|
+
import { Fragment as Fragment4, jsx as jsx7 } from "react/jsx-runtime";
|
|
256
326
|
var SVGICON_CLASSNAME = `k-svg-icon`;
|
|
257
|
-
var
|
|
327
|
+
var states4 = [];
|
|
258
328
|
var options3 = {
|
|
259
329
|
size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
|
|
260
330
|
themeColor: [
|
|
@@ -284,10 +354,10 @@ var SvgIcon = (props) => {
|
|
|
284
354
|
...other
|
|
285
355
|
} = props;
|
|
286
356
|
if (!icon) {
|
|
287
|
-
return /* @__PURE__ */
|
|
357
|
+
return /* @__PURE__ */ jsx7(Fragment4, {});
|
|
288
358
|
}
|
|
289
359
|
if (icon === "none") {
|
|
290
|
-
/* @__PURE__ */
|
|
360
|
+
/* @__PURE__ */ jsx7(
|
|
291
361
|
"span",
|
|
292
362
|
{
|
|
293
363
|
...other,
|
|
@@ -300,7 +370,7 @@ var SvgIcon = (props) => {
|
|
|
300
370
|
);
|
|
301
371
|
}
|
|
302
372
|
const name = typeof icon === "object" && icon.name && icon.name;
|
|
303
|
-
return /* @__PURE__ */
|
|
373
|
+
return /* @__PURE__ */ jsx7(
|
|
304
374
|
"span",
|
|
305
375
|
{
|
|
306
376
|
...other,
|
|
@@ -318,7 +388,7 @@ var SvgIcon = (props) => {
|
|
|
318
388
|
"k-flip-v": flip === "v" || flip === "both"
|
|
319
389
|
}
|
|
320
390
|
),
|
|
321
|
-
children: /* @__PURE__ */
|
|
391
|
+
children: /* @__PURE__ */ jsx7(
|
|
322
392
|
"svg",
|
|
323
393
|
{
|
|
324
394
|
"aria-hidden": true,
|
|
@@ -332,7 +402,7 @@ var SvgIcon = (props) => {
|
|
|
332
402
|
}
|
|
333
403
|
);
|
|
334
404
|
};
|
|
335
|
-
SvgIcon.states =
|
|
405
|
+
SvgIcon.states = states4;
|
|
336
406
|
SvgIcon.options = options3;
|
|
337
407
|
SvgIcon.className = SVGICON_CLASSNAME;
|
|
338
408
|
SvgIcon.defaultProps = defaultProps3;
|
|
@@ -4274,12 +4344,12 @@ var chartChoroplethIcon = {
|
|
|
4274
4344
|
};
|
|
4275
4345
|
|
|
4276
4346
|
// src/icon/icon.spec.tsx
|
|
4277
|
-
import { Fragment as
|
|
4347
|
+
import { Fragment as Fragment5, jsx as jsx8 } from "react/jsx-runtime";
|
|
4278
4348
|
var snakeToCamel = (str) => str.toLowerCase().replace(
|
|
4279
4349
|
/([-_][a-z])/g,
|
|
4280
4350
|
(group) => group.toUpperCase().replace("-", "").replace("_", "")
|
|
4281
4351
|
);
|
|
4282
|
-
var
|
|
4352
|
+
var states5 = [];
|
|
4283
4353
|
var options4 = {
|
|
4284
4354
|
size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
|
|
4285
4355
|
themeColor: [
|
|
@@ -4311,28 +4381,28 @@ var Icon = (props) => {
|
|
|
4311
4381
|
...other
|
|
4312
4382
|
} = props;
|
|
4313
4383
|
if (!icon) {
|
|
4314
|
-
return /* @__PURE__ */
|
|
4384
|
+
return /* @__PURE__ */ jsx8(Fragment5, {});
|
|
4315
4385
|
}
|
|
4316
4386
|
if (type === "svg") {
|
|
4317
4387
|
if (icon === "none") {
|
|
4318
|
-
return /* @__PURE__ */
|
|
4388
|
+
return /* @__PURE__ */ jsx8(svg_icon_spec_default, { ...other, icon, size });
|
|
4319
4389
|
}
|
|
4320
4390
|
const iconSVG = snakeToCamel(`${icon}-icon`);
|
|
4321
4391
|
if (!index_es_exports[iconSVG]) {
|
|
4322
|
-
return /* @__PURE__ */
|
|
4392
|
+
return /* @__PURE__ */ jsx8(Fragment5, {});
|
|
4323
4393
|
}
|
|
4324
|
-
return /* @__PURE__ */
|
|
4394
|
+
return /* @__PURE__ */ jsx8(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
|
|
4325
4395
|
}
|
|
4326
|
-
return /* @__PURE__ */
|
|
4396
|
+
return /* @__PURE__ */ jsx8(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
|
|
4327
4397
|
};
|
|
4328
|
-
Icon.states =
|
|
4398
|
+
Icon.states = states5;
|
|
4329
4399
|
Icon.options = options4;
|
|
4330
4400
|
Icon.defaultProps = defaultProps4;
|
|
4331
4401
|
|
|
4332
4402
|
// src/button/button.spec.tsx
|
|
4333
|
-
import { Fragment as
|
|
4403
|
+
import { Fragment as Fragment6, jsx as jsx9, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
4334
4404
|
var BUTTON_CLASSNAME = `k-button`;
|
|
4335
|
-
var
|
|
4405
|
+
var states6 = [
|
|
4336
4406
|
States.hover,
|
|
4337
4407
|
States.focus,
|
|
4338
4408
|
States.active,
|
|
@@ -4385,7 +4455,7 @@ var Button = (props) => {
|
|
|
4385
4455
|
} = props;
|
|
4386
4456
|
const hasIcon = icon !== void 0;
|
|
4387
4457
|
const hasChildren = props.children !== void 0;
|
|
4388
|
-
return /* @__PURE__ */
|
|
4458
|
+
return /* @__PURE__ */ jsxs2(
|
|
4389
4459
|
"button",
|
|
4390
4460
|
{
|
|
4391
4461
|
...other,
|
|
@@ -4410,40 +4480,161 @@ var Button = (props) => {
|
|
|
4410
4480
|
}
|
|
4411
4481
|
),
|
|
4412
4482
|
children: [
|
|
4413
|
-
icon && /* @__PURE__ */
|
|
4483
|
+
icon && /* @__PURE__ */ jsx9(
|
|
4414
4484
|
Icon,
|
|
4415
4485
|
{
|
|
4416
4486
|
className: classNames(iconClassName, "k-button-icon"),
|
|
4417
4487
|
icon
|
|
4418
4488
|
}
|
|
4419
4489
|
),
|
|
4420
|
-
text ? /* @__PURE__ */
|
|
4421
|
-
text && /* @__PURE__ */
|
|
4490
|
+
text ? /* @__PURE__ */ jsxs2(Fragment6, { children: [
|
|
4491
|
+
text && /* @__PURE__ */ jsx9("span", { className: "k-button-text", children: text }),
|
|
4422
4492
|
props.children
|
|
4423
|
-
] }) : props.children && /* @__PURE__ */
|
|
4424
|
-
showArrow && /* @__PURE__ */
|
|
4493
|
+
] }) : props.children && /* @__PURE__ */ jsx9("span", { className: "k-button-text", children: props.children }),
|
|
4494
|
+
showArrow && /* @__PURE__ */ jsx9("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx9(Icon, { icon: arrowIconName }) })
|
|
4425
4495
|
]
|
|
4426
4496
|
}
|
|
4427
4497
|
);
|
|
4428
4498
|
};
|
|
4429
|
-
Button.states =
|
|
4499
|
+
Button.states = states6;
|
|
4430
4500
|
Button.options = options5;
|
|
4431
4501
|
Button.className = BUTTON_CLASSNAME;
|
|
4432
4502
|
Button.defaultProps = defaultProps5;
|
|
4433
4503
|
|
|
4434
4504
|
// src/button/templates/icon-button.tsx
|
|
4435
|
-
import { jsx as
|
|
4505
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
4436
4506
|
|
|
4437
4507
|
// src/button/templates/icon-text-button.tsx
|
|
4438
|
-
import { jsx as
|
|
4508
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4439
4509
|
|
|
4440
4510
|
// src/button/templates/text-button.tsx
|
|
4441
|
-
import { jsx as
|
|
4511
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
4512
|
+
|
|
4513
|
+
// src/card/card-header.tsx
|
|
4514
|
+
import { Fragment as Fragment7, jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4515
|
+
|
|
4516
|
+
// src/card/card-footer.tsx
|
|
4517
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4518
|
+
|
|
4519
|
+
// src/card/card-body.tsx
|
|
4520
|
+
import { Fragment as Fragment8, jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4521
|
+
var CARDBODY_CLASSNAME = `k-card-body`;
|
|
4522
|
+
var CardBody = (props) => {
|
|
4523
|
+
const {
|
|
4524
|
+
title,
|
|
4525
|
+
subtitle,
|
|
4526
|
+
details,
|
|
4527
|
+
...other
|
|
4528
|
+
} = props;
|
|
4529
|
+
return /* @__PURE__ */ jsxs4(
|
|
4530
|
+
"div",
|
|
4531
|
+
{
|
|
4532
|
+
...other,
|
|
4533
|
+
className: classNames(
|
|
4534
|
+
props.className,
|
|
4535
|
+
CARDBODY_CLASSNAME
|
|
4536
|
+
),
|
|
4537
|
+
children: [
|
|
4538
|
+
title && /* @__PURE__ */ jsx15(CardTitle, { children: title }),
|
|
4539
|
+
subtitle && /* @__PURE__ */ jsx15(CardSubtitle, { children: subtitle }),
|
|
4540
|
+
/* @__PURE__ */ jsx15(Fragment8, { children: props.children }),
|
|
4541
|
+
details && /* @__PURE__ */ jsx15("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx15(
|
|
4542
|
+
Button,
|
|
4543
|
+
{
|
|
4544
|
+
className: "k-card-details",
|
|
4545
|
+
icon: "more-vertical",
|
|
4546
|
+
rounded: "medium",
|
|
4547
|
+
size: "medium",
|
|
4548
|
+
fillMode: "flat",
|
|
4549
|
+
themeColor: "base"
|
|
4550
|
+
}
|
|
4551
|
+
) })
|
|
4552
|
+
]
|
|
4553
|
+
}
|
|
4554
|
+
);
|
|
4555
|
+
};
|
|
4556
|
+
|
|
4557
|
+
// src/card/card-deck.tsx
|
|
4558
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4559
|
+
var CARDDECK_CLASSNAME = `k-card-deck`;
|
|
4560
|
+
var CardDeck = (props) => {
|
|
4561
|
+
const {
|
|
4562
|
+
...other
|
|
4563
|
+
} = props;
|
|
4564
|
+
return /* @__PURE__ */ jsx16(
|
|
4565
|
+
"div",
|
|
4566
|
+
{
|
|
4567
|
+
...other,
|
|
4568
|
+
className: classNames(
|
|
4569
|
+
props.className,
|
|
4570
|
+
CARDDECK_CLASSNAME
|
|
4571
|
+
),
|
|
4572
|
+
children: props.children
|
|
4573
|
+
}
|
|
4574
|
+
);
|
|
4575
|
+
};
|
|
4576
|
+
|
|
4577
|
+
// src/button-group/button-group.spec.tsx
|
|
4578
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4579
|
+
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4580
|
+
var states7 = [
|
|
4581
|
+
States.disabled
|
|
4582
|
+
];
|
|
4583
|
+
var options6 = {
|
|
4584
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
4585
|
+
};
|
|
4586
|
+
var defaultProps6 = {
|
|
4587
|
+
fillMode: FillMode.solid
|
|
4588
|
+
};
|
|
4589
|
+
var ButtonGroup = (props) => {
|
|
4590
|
+
const {
|
|
4591
|
+
fillMode = defaultProps6.fillMode,
|
|
4592
|
+
disabled,
|
|
4593
|
+
stretched,
|
|
4594
|
+
...other
|
|
4595
|
+
} = props;
|
|
4596
|
+
return /* @__PURE__ */ jsx17(
|
|
4597
|
+
"div",
|
|
4598
|
+
{
|
|
4599
|
+
...other,
|
|
4600
|
+
className: classNames(
|
|
4601
|
+
props.className,
|
|
4602
|
+
BUTTONGROUP_CLASSNAME,
|
|
4603
|
+
optionClassNames(BUTTONGROUP_CLASSNAME, {
|
|
4604
|
+
fillMode
|
|
4605
|
+
}),
|
|
4606
|
+
stateClassNames(BUTTONGROUP_CLASSNAME, {
|
|
4607
|
+
disabled
|
|
4608
|
+
}),
|
|
4609
|
+
{
|
|
4610
|
+
[`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
|
|
4611
|
+
}
|
|
4612
|
+
),
|
|
4613
|
+
children: props.children
|
|
4614
|
+
}
|
|
4615
|
+
);
|
|
4616
|
+
};
|
|
4617
|
+
ButtonGroup.states = states7;
|
|
4618
|
+
ButtonGroup.options = options6;
|
|
4619
|
+
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
4620
|
+
ButtonGroup.defaultProps = defaultProps6;
|
|
4621
|
+
|
|
4622
|
+
// src/button-group/templates/icon-button-group.tsx
|
|
4623
|
+
import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4624
|
+
|
|
4625
|
+
// src/button-group/templates/icon-text-button-group.tsx
|
|
4626
|
+
import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4627
|
+
|
|
4628
|
+
// src/button-group/templates/text-button-group.tsx
|
|
4629
|
+
import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4630
|
+
|
|
4631
|
+
// src/button-group/templates/mixed-button-group.tsx
|
|
4632
|
+
import { jsx as jsx21, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4442
4633
|
|
|
4443
4634
|
// src/input/input.spec.tsx
|
|
4444
|
-
import { jsx as
|
|
4635
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4445
4636
|
var INPUT_CLASSNAME = `k-input`;
|
|
4446
|
-
var
|
|
4637
|
+
var states8 = [
|
|
4447
4638
|
States.hover,
|
|
4448
4639
|
States.focus,
|
|
4449
4640
|
States.valid,
|
|
@@ -4453,12 +4644,12 @@ var states6 = [
|
|
|
4453
4644
|
States.loading,
|
|
4454
4645
|
States.readonly
|
|
4455
4646
|
];
|
|
4456
|
-
var
|
|
4647
|
+
var options7 = {
|
|
4457
4648
|
size: [Size.small, Size.medium, Size.large],
|
|
4458
4649
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4459
4650
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4460
4651
|
};
|
|
4461
|
-
var
|
|
4652
|
+
var defaultProps7 = {
|
|
4462
4653
|
size: Size.medium,
|
|
4463
4654
|
rounded: Size.medium,
|
|
4464
4655
|
fillMode: FillMode.solid
|
|
@@ -4472,12 +4663,12 @@ var Input = (props) => {
|
|
|
4472
4663
|
valid,
|
|
4473
4664
|
loading,
|
|
4474
4665
|
readonly,
|
|
4475
|
-
size =
|
|
4476
|
-
rounded =
|
|
4477
|
-
fillMode =
|
|
4666
|
+
size = defaultProps7.size,
|
|
4667
|
+
rounded = defaultProps7.rounded,
|
|
4668
|
+
fillMode = defaultProps7.fillMode,
|
|
4478
4669
|
...other
|
|
4479
4670
|
} = props;
|
|
4480
|
-
return /* @__PURE__ */
|
|
4671
|
+
return /* @__PURE__ */ jsx22(
|
|
4481
4672
|
"span",
|
|
4482
4673
|
{
|
|
4483
4674
|
...other,
|
|
@@ -4490,13 +4681,13 @@ var Input = (props) => {
|
|
|
4490
4681
|
}
|
|
4491
4682
|
);
|
|
4492
4683
|
};
|
|
4493
|
-
Input.states =
|
|
4494
|
-
Input.options =
|
|
4684
|
+
Input.states = states8;
|
|
4685
|
+
Input.options = options7;
|
|
4495
4686
|
Input.className = INPUT_CLASSNAME;
|
|
4496
|
-
Input.defaultProps =
|
|
4687
|
+
Input.defaultProps = defaultProps7;
|
|
4497
4688
|
|
|
4498
4689
|
// src/input/picker.spec.tsx
|
|
4499
|
-
import { jsx as
|
|
4690
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4500
4691
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4501
4692
|
var pickerStates = [
|
|
4502
4693
|
States.hover,
|
|
@@ -4513,7 +4704,7 @@ var pickerOptions = {
|
|
|
4513
4704
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4514
4705
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4515
4706
|
};
|
|
4516
|
-
var
|
|
4707
|
+
var defaultProps8 = {
|
|
4517
4708
|
size: Size.medium,
|
|
4518
4709
|
rounded: Roundness.medium,
|
|
4519
4710
|
fillMode: FillMode.solid
|
|
@@ -4527,12 +4718,12 @@ var Picker = (props) => {
|
|
|
4527
4718
|
valid,
|
|
4528
4719
|
loading,
|
|
4529
4720
|
readonly,
|
|
4530
|
-
size =
|
|
4531
|
-
rounded =
|
|
4532
|
-
fillMode =
|
|
4721
|
+
size = defaultProps8.size,
|
|
4722
|
+
rounded = defaultProps8.rounded,
|
|
4723
|
+
fillMode = defaultProps8.fillMode,
|
|
4533
4724
|
...other
|
|
4534
4725
|
} = props;
|
|
4535
|
-
return /* @__PURE__ */
|
|
4726
|
+
return /* @__PURE__ */ jsx23(
|
|
4536
4727
|
"span",
|
|
4537
4728
|
{
|
|
4538
4729
|
...other,
|
|
@@ -4549,17 +4740,17 @@ var Picker = (props) => {
|
|
|
4549
4740
|
Picker.states = pickerStates;
|
|
4550
4741
|
Picker.options = pickerOptions;
|
|
4551
4742
|
Picker.className = PICKER_CLASSNAME;
|
|
4552
|
-
Picker.defaultProps =
|
|
4743
|
+
Picker.defaultProps = defaultProps8;
|
|
4553
4744
|
|
|
4554
4745
|
// src/input/input-clear-value.tsx
|
|
4555
|
-
import { Fragment as
|
|
4746
|
+
import { Fragment as Fragment9, jsx as jsx24 } from "react/jsx-runtime";
|
|
4556
4747
|
var className = `k-clear-value`;
|
|
4557
|
-
var
|
|
4748
|
+
var states9 = [
|
|
4558
4749
|
States.disabled,
|
|
4559
4750
|
States.loading,
|
|
4560
4751
|
States.readonly
|
|
4561
4752
|
];
|
|
4562
|
-
var
|
|
4753
|
+
var options8 = {};
|
|
4563
4754
|
var InputClearValue = (props) => {
|
|
4564
4755
|
const {
|
|
4565
4756
|
disabled,
|
|
@@ -4568,20 +4759,20 @@ var InputClearValue = (props) => {
|
|
|
4568
4759
|
value
|
|
4569
4760
|
} = props;
|
|
4570
4761
|
if (disabled || readonly || loading || !value) {
|
|
4571
|
-
return /* @__PURE__ */
|
|
4762
|
+
return /* @__PURE__ */ jsx24(Fragment9, {});
|
|
4572
4763
|
}
|
|
4573
|
-
return /* @__PURE__ */
|
|
4764
|
+
return /* @__PURE__ */ jsx24("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx24(Icon, { icon: "x" }) });
|
|
4574
4765
|
};
|
|
4575
|
-
InputClearValue.states =
|
|
4576
|
-
InputClearValue.options =
|
|
4766
|
+
InputClearValue.states = states9;
|
|
4767
|
+
InputClearValue.options = options8;
|
|
4577
4768
|
InputClearValue.className = className;
|
|
4578
4769
|
|
|
4579
4770
|
// src/input/input-inner-input.tsx
|
|
4580
|
-
import { jsx as
|
|
4771
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4581
4772
|
var className2 = `k-input-inner`;
|
|
4582
|
-
var
|
|
4583
|
-
var
|
|
4584
|
-
var
|
|
4773
|
+
var states10 = [];
|
|
4774
|
+
var options9 = {};
|
|
4775
|
+
var defaultProps9 = {
|
|
4585
4776
|
type: "text",
|
|
4586
4777
|
autocomplete: "off",
|
|
4587
4778
|
value: "",
|
|
@@ -4589,13 +4780,13 @@ var defaultProps8 = {
|
|
|
4589
4780
|
};
|
|
4590
4781
|
var InputInnerInput = (props) => {
|
|
4591
4782
|
const {
|
|
4592
|
-
value =
|
|
4593
|
-
type =
|
|
4594
|
-
placeholder =
|
|
4595
|
-
autocomplete =
|
|
4783
|
+
value = defaultProps9.value,
|
|
4784
|
+
type = defaultProps9.type,
|
|
4785
|
+
placeholder = defaultProps9.placeholder,
|
|
4786
|
+
autocomplete = defaultProps9.autocomplete,
|
|
4596
4787
|
...other
|
|
4597
4788
|
} = props;
|
|
4598
|
-
return /* @__PURE__ */
|
|
4789
|
+
return /* @__PURE__ */ jsx25(
|
|
4599
4790
|
"input",
|
|
4600
4791
|
{
|
|
4601
4792
|
...other,
|
|
@@ -4607,15 +4798,15 @@ var InputInnerInput = (props) => {
|
|
|
4607
4798
|
}
|
|
4608
4799
|
);
|
|
4609
4800
|
};
|
|
4610
|
-
InputInnerInput.states =
|
|
4611
|
-
InputInnerInput.options =
|
|
4801
|
+
InputInnerInput.states = states10;
|
|
4802
|
+
InputInnerInput.options = options9;
|
|
4612
4803
|
InputInnerInput.className = className2;
|
|
4613
4804
|
|
|
4614
4805
|
// src/input/input-inner-span.tsx
|
|
4615
|
-
import { jsx as
|
|
4806
|
+
import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4616
4807
|
var className3 = `k-input-inner`;
|
|
4617
|
-
var
|
|
4618
|
-
var
|
|
4808
|
+
var states11 = [];
|
|
4809
|
+
var options10 = {};
|
|
4619
4810
|
var InputInnerSpan = (props) => {
|
|
4620
4811
|
const {
|
|
4621
4812
|
value,
|
|
@@ -4625,41 +4816,41 @@ var InputInnerSpan = (props) => {
|
|
|
4625
4816
|
valueIconName,
|
|
4626
4817
|
...other
|
|
4627
4818
|
} = props;
|
|
4628
|
-
return /* @__PURE__ */
|
|
4819
|
+
return /* @__PURE__ */ jsxs9(
|
|
4629
4820
|
"span",
|
|
4630
4821
|
{
|
|
4631
4822
|
...other,
|
|
4632
4823
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4633
4824
|
children: [
|
|
4634
4825
|
valueIcon,
|
|
4635
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4826
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx26(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4636
4827
|
showValue && !value && placeholder,
|
|
4637
|
-
showValue && value && /* @__PURE__ */
|
|
4828
|
+
showValue && value && /* @__PURE__ */ jsx26("span", { className: "k-input-value-text", children: value })
|
|
4638
4829
|
]
|
|
4639
4830
|
}
|
|
4640
4831
|
);
|
|
4641
4832
|
};
|
|
4642
|
-
InputInnerSpan.states =
|
|
4643
|
-
InputInnerSpan.options =
|
|
4833
|
+
InputInnerSpan.states = states11;
|
|
4834
|
+
InputInnerSpan.options = options10;
|
|
4644
4835
|
InputInnerSpan.className = className3;
|
|
4645
4836
|
|
|
4646
4837
|
// src/input/input-inner-textarea.tsx
|
|
4647
|
-
import { jsx as
|
|
4648
|
-
var
|
|
4838
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4839
|
+
var defaultProps10 = {
|
|
4649
4840
|
value: "",
|
|
4650
4841
|
placeholder: ""
|
|
4651
4842
|
};
|
|
4652
4843
|
var className4 = `k-input-inner`;
|
|
4653
|
-
var
|
|
4654
|
-
var
|
|
4844
|
+
var states12 = [];
|
|
4845
|
+
var options11 = {};
|
|
4655
4846
|
var InputInnerTextarea = (props) => {
|
|
4656
4847
|
const {
|
|
4657
|
-
value =
|
|
4658
|
-
placeholder =
|
|
4848
|
+
value = defaultProps10.value,
|
|
4849
|
+
placeholder = defaultProps10.placeholder,
|
|
4659
4850
|
rows,
|
|
4660
4851
|
...other
|
|
4661
4852
|
} = props;
|
|
4662
|
-
return /* @__PURE__ */
|
|
4853
|
+
return /* @__PURE__ */ jsx27(
|
|
4663
4854
|
"textarea",
|
|
4664
4855
|
{
|
|
4665
4856
|
...other,
|
|
@@ -4670,14 +4861,14 @@ var InputInnerTextarea = (props) => {
|
|
|
4670
4861
|
}
|
|
4671
4862
|
);
|
|
4672
4863
|
};
|
|
4673
|
-
InputInnerTextarea.states =
|
|
4674
|
-
InputInnerTextarea.options =
|
|
4864
|
+
InputInnerTextarea.states = states12;
|
|
4865
|
+
InputInnerTextarea.options = options11;
|
|
4675
4866
|
InputInnerTextarea.className = className4;
|
|
4676
4867
|
|
|
4677
4868
|
// src/input/input-loading-icon.tsx
|
|
4678
|
-
import { Fragment as
|
|
4869
|
+
import { Fragment as Fragment10, jsx as jsx28 } from "react/jsx-runtime";
|
|
4679
4870
|
var className5 = `k-input-loading-icon`;
|
|
4680
|
-
var
|
|
4871
|
+
var states13 = [
|
|
4681
4872
|
States.disabled,
|
|
4682
4873
|
States.loading
|
|
4683
4874
|
];
|
|
@@ -4687,21 +4878,21 @@ var InputLoadingIcon = (props) => {
|
|
|
4687
4878
|
loading
|
|
4688
4879
|
} = props;
|
|
4689
4880
|
if (disabled || !loading) {
|
|
4690
|
-
return /* @__PURE__ */
|
|
4881
|
+
return /* @__PURE__ */ jsx28(Fragment10, {});
|
|
4691
4882
|
}
|
|
4692
|
-
return /* @__PURE__ */
|
|
4883
|
+
return /* @__PURE__ */ jsx28(Icon, { className: classNames(props.className, className5), icon: "loading", type: "font" });
|
|
4693
4884
|
};
|
|
4694
4885
|
|
|
4695
4886
|
// src/input/input-validation-icon.tsx
|
|
4696
|
-
import { Fragment as
|
|
4887
|
+
import { Fragment as Fragment11, jsx as jsx29 } from "react/jsx-runtime";
|
|
4697
4888
|
var className6 = `k-input-validation-icon`;
|
|
4698
|
-
var
|
|
4889
|
+
var states14 = [
|
|
4699
4890
|
States.valid,
|
|
4700
4891
|
States.invalid,
|
|
4701
4892
|
States.disabled,
|
|
4702
4893
|
States.loading
|
|
4703
4894
|
];
|
|
4704
|
-
var
|
|
4895
|
+
var options12 = {};
|
|
4705
4896
|
var InputValidationIcon = (props) => {
|
|
4706
4897
|
const {
|
|
4707
4898
|
valid,
|
|
@@ -4712,206 +4903,42 @@ var InputValidationIcon = (props) => {
|
|
|
4712
4903
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4713
4904
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4714
4905
|
if (disabled || loading || !renderValidationIcon) {
|
|
4715
|
-
return /* @__PURE__ */
|
|
4906
|
+
return /* @__PURE__ */ jsx29(Fragment11, {});
|
|
4716
4907
|
}
|
|
4717
|
-
return /* @__PURE__ */
|
|
4908
|
+
return /* @__PURE__ */ jsx29(Icon, { className: classNames(className6), icon: iconName });
|
|
4718
4909
|
};
|
|
4719
|
-
InputValidationIcon.states =
|
|
4720
|
-
InputValidationIcon.options =
|
|
4910
|
+
InputValidationIcon.states = states14;
|
|
4911
|
+
InputValidationIcon.options = options12;
|
|
4721
4912
|
InputValidationIcon.className = className6;
|
|
4722
4913
|
|
|
4723
4914
|
// src/input/input-prefix.tsx
|
|
4724
|
-
import { Fragment as
|
|
4915
|
+
import { Fragment as Fragment12, jsx as jsx30 } from "react/jsx-runtime";
|
|
4725
4916
|
var className7 = `k-input-prefix`;
|
|
4726
4917
|
var InputPrefix = (props) => {
|
|
4727
4918
|
if (!props.children) {
|
|
4728
|
-
return /* @__PURE__ */
|
|
4919
|
+
return /* @__PURE__ */ jsx30(Fragment12, {});
|
|
4729
4920
|
}
|
|
4730
|
-
return /* @__PURE__ */
|
|
4921
|
+
return /* @__PURE__ */ jsx30("span", { className: classNames(className7, props.className), children: props.children });
|
|
4731
4922
|
};
|
|
4732
4923
|
|
|
4733
4924
|
// src/input/input-suffix.tsx
|
|
4734
|
-
import { Fragment as
|
|
4925
|
+
import { Fragment as Fragment13, jsx as jsx31 } from "react/jsx-runtime";
|
|
4735
4926
|
var className8 = `k-input-suffix`;
|
|
4736
4927
|
var InputSuffix = (props) => {
|
|
4737
4928
|
if (!props.children) {
|
|
4738
|
-
return /* @__PURE__ */
|
|
4929
|
+
return /* @__PURE__ */ jsx31(Fragment13, {});
|
|
4739
4930
|
}
|
|
4740
|
-
return /* @__PURE__ */
|
|
4931
|
+
return /* @__PURE__ */ jsx31("span", { className: classNames(className8, props.className), children: props.children });
|
|
4741
4932
|
};
|
|
4742
4933
|
|
|
4743
4934
|
// src/input/input-separator.tsx
|
|
4744
|
-
import { jsx as
|
|
4745
|
-
|
|
4746
|
-
// src/textbox/textbox.spec.tsx
|
|
4747
|
-
import { jsx as jsx23, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4748
|
-
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4749
|
-
var states13 = [
|
|
4750
|
-
States.hover,
|
|
4751
|
-
States.focus,
|
|
4752
|
-
States.valid,
|
|
4753
|
-
States.invalid,
|
|
4754
|
-
States.required,
|
|
4755
|
-
States.disabled,
|
|
4756
|
-
States.loading,
|
|
4757
|
-
States.readonly
|
|
4758
|
-
];
|
|
4759
|
-
var options12 = {
|
|
4760
|
-
size: [Size.small, Size.medium, Size.large],
|
|
4761
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4762
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4763
|
-
};
|
|
4764
|
-
var defaultProps10 = {
|
|
4765
|
-
showClearButton: true,
|
|
4766
|
-
size: Input.defaultProps.size,
|
|
4767
|
-
rounded: Input.defaultProps.rounded,
|
|
4768
|
-
fillMode: Input.defaultProps.fillMode
|
|
4769
|
-
};
|
|
4770
|
-
var Textbox = (props) => {
|
|
4771
|
-
const {
|
|
4772
|
-
prefix,
|
|
4773
|
-
suffix,
|
|
4774
|
-
value,
|
|
4775
|
-
placeholder,
|
|
4776
|
-
size,
|
|
4777
|
-
rounded,
|
|
4778
|
-
fillMode,
|
|
4779
|
-
hover,
|
|
4780
|
-
focus,
|
|
4781
|
-
valid,
|
|
4782
|
-
invalid,
|
|
4783
|
-
required,
|
|
4784
|
-
loading,
|
|
4785
|
-
disabled,
|
|
4786
|
-
readonly,
|
|
4787
|
-
showClearButton = defaultProps10.showClearButton,
|
|
4788
|
-
...other
|
|
4789
|
-
} = props;
|
|
4790
|
-
return /* @__PURE__ */ jsxs3(
|
|
4791
|
-
Input,
|
|
4792
|
-
{
|
|
4793
|
-
...other,
|
|
4794
|
-
size,
|
|
4795
|
-
rounded,
|
|
4796
|
-
fillMode,
|
|
4797
|
-
hover,
|
|
4798
|
-
focus,
|
|
4799
|
-
valid,
|
|
4800
|
-
invalid,
|
|
4801
|
-
required,
|
|
4802
|
-
loading,
|
|
4803
|
-
disabled,
|
|
4804
|
-
readonly,
|
|
4805
|
-
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
4806
|
-
children: [
|
|
4807
|
-
/* @__PURE__ */ jsx23(InputPrefix, { children: prefix }),
|
|
4808
|
-
/* @__PURE__ */ jsx23(InputInnerInput, { placeholder, value }),
|
|
4809
|
-
/* @__PURE__ */ jsx23(
|
|
4810
|
-
InputValidationIcon,
|
|
4811
|
-
{
|
|
4812
|
-
valid,
|
|
4813
|
-
invalid,
|
|
4814
|
-
loading,
|
|
4815
|
-
disabled
|
|
4816
|
-
}
|
|
4817
|
-
),
|
|
4818
|
-
/* @__PURE__ */ jsx23(
|
|
4819
|
-
InputLoadingIcon,
|
|
4820
|
-
{
|
|
4821
|
-
loading,
|
|
4822
|
-
disabled
|
|
4823
|
-
}
|
|
4824
|
-
),
|
|
4825
|
-
showClearButton && /* @__PURE__ */ jsx23(
|
|
4826
|
-
InputClearValue,
|
|
4827
|
-
{
|
|
4828
|
-
loading,
|
|
4829
|
-
disabled,
|
|
4830
|
-
readonly,
|
|
4831
|
-
value
|
|
4832
|
-
}
|
|
4833
|
-
),
|
|
4834
|
-
/* @__PURE__ */ jsx23(InputSuffix, { children: suffix })
|
|
4835
|
-
]
|
|
4836
|
-
}
|
|
4837
|
-
);
|
|
4838
|
-
};
|
|
4839
|
-
Textbox.states = states13;
|
|
4840
|
-
Textbox.options = options12;
|
|
4841
|
-
Textbox.className = TEXTBOX_CLASSNAME;
|
|
4842
|
-
Textbox.defaultProps = defaultProps10;
|
|
4843
|
-
|
|
4844
|
-
// src/textbox/templates/textbox-normal.tsx
|
|
4845
|
-
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4846
|
-
|
|
4847
|
-
// src/textbox/templates/textbox-prefix.tsx
|
|
4848
|
-
import { jsx as jsx25, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4849
|
-
|
|
4850
|
-
// src/textbox/templates/textbox-suffix.tsx
|
|
4851
|
-
import { jsx as jsx26, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4852
|
-
|
|
4853
|
-
// src/button-group/button-group.spec.tsx
|
|
4854
|
-
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4855
|
-
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4856
|
-
var states14 = [
|
|
4857
|
-
States.disabled
|
|
4858
|
-
];
|
|
4859
|
-
var options13 = {
|
|
4860
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
4861
|
-
};
|
|
4862
|
-
var defaultProps11 = {
|
|
4863
|
-
fillMode: FillMode.solid
|
|
4864
|
-
};
|
|
4865
|
-
var ButtonGroup = (props) => {
|
|
4866
|
-
const {
|
|
4867
|
-
fillMode = defaultProps11.fillMode,
|
|
4868
|
-
disabled,
|
|
4869
|
-
stretched,
|
|
4870
|
-
...other
|
|
4871
|
-
} = props;
|
|
4872
|
-
return /* @__PURE__ */ jsx27(
|
|
4873
|
-
"div",
|
|
4874
|
-
{
|
|
4875
|
-
...other,
|
|
4876
|
-
className: classNames(
|
|
4877
|
-
props.className,
|
|
4878
|
-
BUTTONGROUP_CLASSNAME,
|
|
4879
|
-
optionClassNames(BUTTONGROUP_CLASSNAME, {
|
|
4880
|
-
fillMode
|
|
4881
|
-
}),
|
|
4882
|
-
stateClassNames(BUTTONGROUP_CLASSNAME, {
|
|
4883
|
-
disabled
|
|
4884
|
-
}),
|
|
4885
|
-
{
|
|
4886
|
-
[`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
|
|
4887
|
-
}
|
|
4888
|
-
),
|
|
4889
|
-
children: props.children
|
|
4890
|
-
}
|
|
4891
|
-
);
|
|
4892
|
-
};
|
|
4893
|
-
ButtonGroup.states = states14;
|
|
4894
|
-
ButtonGroup.options = options13;
|
|
4895
|
-
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
4896
|
-
ButtonGroup.defaultProps = defaultProps11;
|
|
4897
|
-
|
|
4898
|
-
// src/button-group/templates/icon-button-group.tsx
|
|
4899
|
-
import { jsx as jsx28, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4900
|
-
|
|
4901
|
-
// src/button-group/templates/icon-text-button-group.tsx
|
|
4902
|
-
import { jsx as jsx29, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4903
|
-
|
|
4904
|
-
// src/button-group/templates/text-button-group.tsx
|
|
4905
|
-
import { jsx as jsx30, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4906
|
-
|
|
4907
|
-
// src/button-group/templates/mixed-button-group.tsx
|
|
4908
|
-
import { jsx as jsx31, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4935
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
4909
4936
|
|
|
4910
4937
|
// src/color-preview/color-preview.tsx
|
|
4911
|
-
import { jsx as
|
|
4938
|
+
import { jsx as jsx33, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4912
4939
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
4913
4940
|
var states15 = [];
|
|
4914
|
-
var
|
|
4941
|
+
var options13 = {};
|
|
4915
4942
|
var ColorPreview = (props) => {
|
|
4916
4943
|
const {
|
|
4917
4944
|
color,
|
|
@@ -4931,8 +4958,8 @@ var ColorPreview = (props) => {
|
|
|
4931
4958
|
}
|
|
4932
4959
|
),
|
|
4933
4960
|
children: [
|
|
4934
|
-
iconName && /* @__PURE__ */
|
|
4935
|
-
/* @__PURE__ */
|
|
4961
|
+
iconName && /* @__PURE__ */ jsx33(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
4962
|
+
/* @__PURE__ */ jsx33(
|
|
4936
4963
|
"span",
|
|
4937
4964
|
{
|
|
4938
4965
|
className: "k-color-preview-mask",
|
|
@@ -4944,11 +4971,11 @@ var ColorPreview = (props) => {
|
|
|
4944
4971
|
);
|
|
4945
4972
|
};
|
|
4946
4973
|
ColorPreview.states = states15;
|
|
4947
|
-
ColorPreview.options =
|
|
4974
|
+
ColorPreview.options = options13;
|
|
4948
4975
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
4949
4976
|
|
|
4950
4977
|
// src/colorpicker/colorpicker.spec.tsx
|
|
4951
|
-
import { jsx as
|
|
4978
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
4952
4979
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
4953
4980
|
var states16 = [
|
|
4954
4981
|
States.hover,
|
|
@@ -4958,12 +4985,12 @@ var states16 = [
|
|
|
4958
4985
|
States.required,
|
|
4959
4986
|
States.disabled
|
|
4960
4987
|
];
|
|
4961
|
-
var
|
|
4988
|
+
var options14 = {
|
|
4962
4989
|
size: [Size.small, Size.medium, Size.large],
|
|
4963
4990
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4964
4991
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4965
4992
|
};
|
|
4966
|
-
var
|
|
4993
|
+
var defaultProps11 = {
|
|
4967
4994
|
arrowIconName: "caret-alt-down",
|
|
4968
4995
|
size: Picker.defaultProps.size,
|
|
4969
4996
|
rounded: Picker.defaultProps.rounded,
|
|
@@ -4985,7 +5012,7 @@ var ColorPicker = (props) => {
|
|
|
4985
5012
|
required,
|
|
4986
5013
|
disabled,
|
|
4987
5014
|
valueIconName,
|
|
4988
|
-
arrowIconName =
|
|
5015
|
+
arrowIconName = defaultProps11.arrowIconName,
|
|
4989
5016
|
...other
|
|
4990
5017
|
} = props;
|
|
4991
5018
|
return /* @__PURE__ */ jsxs11(
|
|
@@ -5007,14 +5034,14 @@ var ColorPicker = (props) => {
|
|
|
5007
5034
|
"k-icon-picker"
|
|
5008
5035
|
),
|
|
5009
5036
|
children: [
|
|
5010
|
-
/* @__PURE__ */
|
|
5011
|
-
/* @__PURE__ */
|
|
5037
|
+
/* @__PURE__ */ jsx34(InputPrefix, { children: prefix }),
|
|
5038
|
+
/* @__PURE__ */ jsx34(
|
|
5012
5039
|
InputInnerSpan,
|
|
5013
5040
|
{
|
|
5014
5041
|
placeholder,
|
|
5015
5042
|
value,
|
|
5016
5043
|
showValue: false,
|
|
5017
|
-
valueIcon: /* @__PURE__ */
|
|
5044
|
+
valueIcon: /* @__PURE__ */ jsx34(
|
|
5018
5045
|
ColorPreview,
|
|
5019
5046
|
{
|
|
5020
5047
|
className: "k-value-icon",
|
|
@@ -5025,8 +5052,8 @@ var ColorPicker = (props) => {
|
|
|
5025
5052
|
valueIconName
|
|
5026
5053
|
}
|
|
5027
5054
|
),
|
|
5028
|
-
/* @__PURE__ */
|
|
5029
|
-
/* @__PURE__ */
|
|
5055
|
+
/* @__PURE__ */ jsx34(InputSuffix, { children: suffix }),
|
|
5056
|
+
/* @__PURE__ */ jsx34(
|
|
5030
5057
|
Button,
|
|
5031
5058
|
{
|
|
5032
5059
|
className: "k-input-button",
|
|
@@ -5041,16 +5068,16 @@ var ColorPicker = (props) => {
|
|
|
5041
5068
|
);
|
|
5042
5069
|
};
|
|
5043
5070
|
ColorPicker.states = states16;
|
|
5044
|
-
ColorPicker.options =
|
|
5071
|
+
ColorPicker.options = options14;
|
|
5045
5072
|
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
5046
|
-
ColorPicker.defaultProps =
|
|
5073
|
+
ColorPicker.defaultProps = defaultProps11;
|
|
5047
5074
|
|
|
5048
5075
|
// src/animation-container/animation-container.spec.tsx
|
|
5049
|
-
import { jsx as
|
|
5076
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
5050
5077
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5051
5078
|
var states17 = [];
|
|
5052
|
-
var
|
|
5053
|
-
var
|
|
5079
|
+
var options15 = {};
|
|
5080
|
+
var defaultProps12 = {
|
|
5054
5081
|
positionMode: "absolute"
|
|
5055
5082
|
};
|
|
5056
5083
|
var AnimationContainer = (props) => {
|
|
@@ -5060,7 +5087,7 @@ var AnimationContainer = (props) => {
|
|
|
5060
5087
|
offset,
|
|
5061
5088
|
...other
|
|
5062
5089
|
} = props;
|
|
5063
|
-
return /* @__PURE__ */
|
|
5090
|
+
return /* @__PURE__ */ jsx35(
|
|
5064
5091
|
"div",
|
|
5065
5092
|
{
|
|
5066
5093
|
...other,
|
|
@@ -5072,21 +5099,21 @@ var AnimationContainer = (props) => {
|
|
|
5072
5099
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5073
5100
|
}
|
|
5074
5101
|
),
|
|
5075
|
-
children: /* @__PURE__ */
|
|
5102
|
+
children: /* @__PURE__ */ jsx35("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5076
5103
|
}
|
|
5077
5104
|
);
|
|
5078
5105
|
};
|
|
5079
5106
|
AnimationContainer.states = states17;
|
|
5080
|
-
AnimationContainer.options =
|
|
5107
|
+
AnimationContainer.options = options15;
|
|
5081
5108
|
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
5082
|
-
AnimationContainer.defaultProps =
|
|
5109
|
+
AnimationContainer.defaultProps = defaultProps12;
|
|
5083
5110
|
|
|
5084
5111
|
// src/popup/popup.spec.tsx
|
|
5085
|
-
import { jsx as
|
|
5112
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5086
5113
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5087
5114
|
var states18 = [];
|
|
5088
|
-
var
|
|
5089
|
-
var
|
|
5115
|
+
var options16 = {};
|
|
5116
|
+
var defaultProps13 = {
|
|
5090
5117
|
positionMode: "absolute"
|
|
5091
5118
|
};
|
|
5092
5119
|
var Popup = (props) => {
|
|
@@ -5095,26 +5122,26 @@ var Popup = (props) => {
|
|
|
5095
5122
|
positionMode,
|
|
5096
5123
|
...other
|
|
5097
5124
|
} = props;
|
|
5098
|
-
return /* @__PURE__ */
|
|
5125
|
+
return /* @__PURE__ */ jsx36(
|
|
5099
5126
|
AnimationContainer,
|
|
5100
5127
|
{
|
|
5101
5128
|
positionMode,
|
|
5102
5129
|
offset,
|
|
5103
|
-
children: /* @__PURE__ */
|
|
5130
|
+
children: /* @__PURE__ */ jsx36("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5104
5131
|
}
|
|
5105
5132
|
);
|
|
5106
5133
|
};
|
|
5107
5134
|
Popup.states = states18;
|
|
5108
|
-
Popup.options =
|
|
5135
|
+
Popup.options = options16;
|
|
5109
5136
|
Popup.className = POPUP_CLASSNAME;
|
|
5110
|
-
Popup.defaultProps =
|
|
5137
|
+
Popup.defaultProps = defaultProps13;
|
|
5111
5138
|
|
|
5112
5139
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5113
|
-
import { Fragment as
|
|
5140
|
+
import { Fragment as Fragment14, jsx as jsx37, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5114
5141
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5115
5142
|
var states19 = [];
|
|
5116
|
-
var
|
|
5117
|
-
var
|
|
5143
|
+
var options17 = {};
|
|
5144
|
+
var defaultProps14 = {
|
|
5118
5145
|
side: "bottom",
|
|
5119
5146
|
fullscreen: false,
|
|
5120
5147
|
adaptive: false,
|
|
@@ -5127,14 +5154,14 @@ var ActionSheet = (props) => {
|
|
|
5127
5154
|
header,
|
|
5128
5155
|
footer,
|
|
5129
5156
|
actions,
|
|
5130
|
-
side =
|
|
5131
|
-
fullscreen =
|
|
5132
|
-
adaptive =
|
|
5133
|
-
overlay =
|
|
5157
|
+
side = defaultProps14.side,
|
|
5158
|
+
fullscreen = defaultProps14.fullscreen,
|
|
5159
|
+
adaptive = defaultProps14.adaptive,
|
|
5160
|
+
overlay = defaultProps14.overlay,
|
|
5134
5161
|
...other
|
|
5135
5162
|
} = props;
|
|
5136
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
5137
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
5163
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx37(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5164
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx37(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx37(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5138
5165
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5139
5166
|
switch (child.type) {
|
|
5140
5167
|
case ActionSheetHeader:
|
|
@@ -5144,10 +5171,10 @@ var ActionSheet = (props) => {
|
|
|
5144
5171
|
return true;
|
|
5145
5172
|
}
|
|
5146
5173
|
return true;
|
|
5147
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
5174
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx37(Fragment14, {});
|
|
5148
5175
|
return /* @__PURE__ */ jsxs12("div", { className: "k-actionsheet-container", children: [
|
|
5149
|
-
overlay && /* @__PURE__ */
|
|
5150
|
-
/* @__PURE__ */
|
|
5176
|
+
overlay && /* @__PURE__ */ jsx37("div", { className: "k-overlay" }),
|
|
5177
|
+
/* @__PURE__ */ jsx37(
|
|
5151
5178
|
AnimationContainer,
|
|
5152
5179
|
{
|
|
5153
5180
|
animationStyle: {
|
|
@@ -5157,7 +5184,7 @@ var ActionSheet = (props) => {
|
|
|
5157
5184
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5158
5185
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5159
5186
|
},
|
|
5160
|
-
children: /* @__PURE__ */
|
|
5187
|
+
children: /* @__PURE__ */ jsx37(
|
|
5161
5188
|
"div",
|
|
5162
5189
|
{
|
|
5163
5190
|
...other,
|
|
@@ -5170,9 +5197,9 @@ var ActionSheet = (props) => {
|
|
|
5170
5197
|
"k-adaptive-actionsheet": adaptive
|
|
5171
5198
|
}
|
|
5172
5199
|
),
|
|
5173
|
-
children: /* @__PURE__ */ jsxs12(
|
|
5200
|
+
children: /* @__PURE__ */ jsxs12(Fragment14, { children: [
|
|
5174
5201
|
_ActionSheetHeader,
|
|
5175
|
-
/* @__PURE__ */
|
|
5202
|
+
/* @__PURE__ */ jsx37("div", { className: classNames(
|
|
5176
5203
|
"k-actionsheet-content",
|
|
5177
5204
|
{
|
|
5178
5205
|
"!k-overflow-hidden": adaptive
|
|
@@ -5187,12 +5214,12 @@ var ActionSheet = (props) => {
|
|
|
5187
5214
|
] });
|
|
5188
5215
|
};
|
|
5189
5216
|
ActionSheet.states = states19;
|
|
5190
|
-
ActionSheet.options =
|
|
5217
|
+
ActionSheet.options = options17;
|
|
5191
5218
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
5192
|
-
ActionSheet.defaultProps =
|
|
5219
|
+
ActionSheet.defaultProps = defaultProps14;
|
|
5193
5220
|
|
|
5194
5221
|
// src/searchbox/searchbox.spec.tsx
|
|
5195
|
-
import { jsx as
|
|
5222
|
+
import { jsx as jsx38, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5196
5223
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5197
5224
|
var states20 = [
|
|
5198
5225
|
States.hover,
|
|
@@ -5203,12 +5230,12 @@ var states20 = [
|
|
|
5203
5230
|
States.disabled,
|
|
5204
5231
|
States.loading
|
|
5205
5232
|
];
|
|
5206
|
-
var
|
|
5233
|
+
var options18 = {
|
|
5207
5234
|
size: [Size.small, Size.medium, Size.large],
|
|
5208
5235
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5209
5236
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5210
5237
|
};
|
|
5211
|
-
var
|
|
5238
|
+
var defaultProps15 = {
|
|
5212
5239
|
showIcon: true,
|
|
5213
5240
|
icon: "search",
|
|
5214
5241
|
size: Input.defaultProps.size,
|
|
@@ -5229,8 +5256,8 @@ var Searchbox = (props) => {
|
|
|
5229
5256
|
required,
|
|
5230
5257
|
loading,
|
|
5231
5258
|
disabled,
|
|
5232
|
-
showIcon =
|
|
5233
|
-
icon =
|
|
5259
|
+
showIcon = defaultProps15.showIcon,
|
|
5260
|
+
icon = defaultProps15.icon,
|
|
5234
5261
|
...other
|
|
5235
5262
|
} = props;
|
|
5236
5263
|
return /* @__PURE__ */ jsxs13(
|
|
@@ -5249,25 +5276,25 @@ var Searchbox = (props) => {
|
|
|
5249
5276
|
disabled,
|
|
5250
5277
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5251
5278
|
children: [
|
|
5252
|
-
showIcon && /* @__PURE__ */
|
|
5253
|
-
/* @__PURE__ */
|
|
5254
|
-
/* @__PURE__ */
|
|
5255
|
-
/* @__PURE__ */
|
|
5256
|
-
/* @__PURE__ */
|
|
5279
|
+
showIcon && /* @__PURE__ */ jsx38(Icon, { className: "k-input-icon", icon }),
|
|
5280
|
+
/* @__PURE__ */ jsx38(InputInnerInput, { placeholder, value }),
|
|
5281
|
+
/* @__PURE__ */ jsx38(InputLoadingIcon, { ...props }),
|
|
5282
|
+
/* @__PURE__ */ jsx38(InputValidationIcon, { ...props }),
|
|
5283
|
+
/* @__PURE__ */ jsx38(InputClearValue, { ...props })
|
|
5257
5284
|
]
|
|
5258
5285
|
}
|
|
5259
5286
|
);
|
|
5260
5287
|
};
|
|
5261
5288
|
Searchbox.states = states20;
|
|
5262
|
-
Searchbox.options =
|
|
5289
|
+
Searchbox.options = options18;
|
|
5263
5290
|
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
5264
|
-
Searchbox.defaultProps =
|
|
5291
|
+
Searchbox.defaultProps = defaultProps15;
|
|
5265
5292
|
|
|
5266
5293
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5267
|
-
import { jsx as
|
|
5294
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5268
5295
|
|
|
5269
5296
|
// src/action-sheet/actionsheet-header.tsx
|
|
5270
|
-
import { Fragment as
|
|
5297
|
+
import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5271
5298
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5272
5299
|
var ActionSheetHeader = (props) => {
|
|
5273
5300
|
const {
|
|
@@ -5277,7 +5304,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5277
5304
|
filter,
|
|
5278
5305
|
...other
|
|
5279
5306
|
} = props;
|
|
5280
|
-
return /* @__PURE__ */
|
|
5307
|
+
return /* @__PURE__ */ jsx40(
|
|
5281
5308
|
"div",
|
|
5282
5309
|
{
|
|
5283
5310
|
...other,
|
|
@@ -5285,37 +5312,37 @@ var ActionSheetHeader = (props) => {
|
|
|
5285
5312
|
props.className,
|
|
5286
5313
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5287
5314
|
),
|
|
5288
|
-
children: /* @__PURE__ */ jsxs14(
|
|
5315
|
+
children: /* @__PURE__ */ jsxs14(Fragment15, { children: [
|
|
5289
5316
|
/* @__PURE__ */ jsxs14("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5290
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
5291
|
-
title !== "" && /* @__PURE__ */
|
|
5292
|
-
subTitle !== "" && /* @__PURE__ */
|
|
5317
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsxs14("div", { className: "k-actionsheet-title", children: [
|
|
5318
|
+
title !== "" && /* @__PURE__ */ jsx40("div", { className: "k-text-center", children: title }),
|
|
5319
|
+
subTitle !== "" && /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5293
5320
|
] }) }),
|
|
5294
|
-
props.children && /* @__PURE__ */
|
|
5295
|
-
actions && /* @__PURE__ */
|
|
5321
|
+
props.children && /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5322
|
+
actions && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx40(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5296
5323
|
] }),
|
|
5297
|
-
filter && /* @__PURE__ */
|
|
5324
|
+
filter && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx40(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5298
5325
|
] })
|
|
5299
5326
|
}
|
|
5300
5327
|
);
|
|
5301
5328
|
};
|
|
5302
5329
|
|
|
5303
5330
|
// src/action-buttons/action-buttons.spec.tsx
|
|
5304
|
-
import { jsx as
|
|
5331
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5305
5332
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5306
5333
|
var states21 = [];
|
|
5307
|
-
var
|
|
5308
|
-
var
|
|
5334
|
+
var options19 = {};
|
|
5335
|
+
var defaultProps16 = {
|
|
5309
5336
|
alignment: "start",
|
|
5310
5337
|
orientation: "horizontal"
|
|
5311
5338
|
};
|
|
5312
5339
|
var ActionButtons = (props) => {
|
|
5313
5340
|
const {
|
|
5314
|
-
alignment =
|
|
5315
|
-
orientation =
|
|
5341
|
+
alignment = defaultProps16.alignment,
|
|
5342
|
+
orientation = defaultProps16.orientation,
|
|
5316
5343
|
...other
|
|
5317
5344
|
} = props;
|
|
5318
|
-
return /* @__PURE__ */
|
|
5345
|
+
return /* @__PURE__ */ jsx41(
|
|
5319
5346
|
"div",
|
|
5320
5347
|
{
|
|
5321
5348
|
...other,
|
|
@@ -5332,20 +5359,20 @@ var ActionButtons = (props) => {
|
|
|
5332
5359
|
);
|
|
5333
5360
|
};
|
|
5334
5361
|
ActionButtons.states = states21;
|
|
5335
|
-
ActionButtons.options =
|
|
5362
|
+
ActionButtons.options = options19;
|
|
5336
5363
|
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
5337
|
-
ActionButtons.defaultProps =
|
|
5364
|
+
ActionButtons.defaultProps = defaultProps16;
|
|
5338
5365
|
var action_buttons_spec_default = ActionButtons;
|
|
5339
5366
|
|
|
5340
5367
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5341
|
-
import { Fragment as
|
|
5368
|
+
import { Fragment as Fragment16, jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5342
5369
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5343
5370
|
var ActionSheetFooter = (props) => {
|
|
5344
5371
|
const {
|
|
5345
5372
|
actions,
|
|
5346
5373
|
...other
|
|
5347
5374
|
} = props;
|
|
5348
|
-
return /* @__PURE__ */
|
|
5375
|
+
return /* @__PURE__ */ jsx42(
|
|
5349
5376
|
action_buttons_spec_default,
|
|
5350
5377
|
{
|
|
5351
5378
|
...other,
|
|
@@ -5354,17 +5381,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5354
5381
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5355
5382
|
),
|
|
5356
5383
|
alignment: "stretched",
|
|
5357
|
-
children: /* @__PURE__ */ jsxs15(
|
|
5384
|
+
children: /* @__PURE__ */ jsxs15(Fragment16, { children: [
|
|
5358
5385
|
actions && actions.map((action, index) => {
|
|
5359
5386
|
if (action === "|") {
|
|
5360
|
-
return /* @__PURE__ */
|
|
5387
|
+
return /* @__PURE__ */ jsx42("span", { className: "k-separator" }, index);
|
|
5361
5388
|
}
|
|
5362
5389
|
if (action === " ") {
|
|
5363
|
-
return /* @__PURE__ */
|
|
5390
|
+
return /* @__PURE__ */ jsx42("span", { className: "k-spacer" }, index);
|
|
5364
5391
|
}
|
|
5365
5392
|
const importantFlag = action.startsWith("!");
|
|
5366
5393
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5367
|
-
return /* @__PURE__ */
|
|
5394
|
+
return /* @__PURE__ */ jsx42(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5368
5395
|
}),
|
|
5369
5396
|
!actions && props.children
|
|
5370
5397
|
] })
|
|
@@ -5373,12 +5400,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5373
5400
|
};
|
|
5374
5401
|
|
|
5375
5402
|
// src/action-sheet/actionsheet-items.tsx
|
|
5376
|
-
import { jsx as
|
|
5403
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5377
5404
|
var ActionSheetItems = (props) => {
|
|
5378
5405
|
const {
|
|
5379
5406
|
...other
|
|
5380
5407
|
} = props;
|
|
5381
|
-
return /* @__PURE__ */
|
|
5408
|
+
return /* @__PURE__ */ jsx43(
|
|
5382
5409
|
"div",
|
|
5383
5410
|
{
|
|
5384
5411
|
...other,
|
|
@@ -5392,7 +5419,7 @@ var ActionSheetItems = (props) => {
|
|
|
5392
5419
|
};
|
|
5393
5420
|
|
|
5394
5421
|
// src/action-sheet/actionsheet-item.tsx
|
|
5395
|
-
import { Fragment as
|
|
5422
|
+
import { Fragment as Fragment17, jsx as jsx44, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5396
5423
|
var states22 = [
|
|
5397
5424
|
States.hover,
|
|
5398
5425
|
States.focus,
|
|
@@ -5401,23 +5428,23 @@ var states22 = [
|
|
|
5401
5428
|
];
|
|
5402
5429
|
|
|
5403
5430
|
// src/nodata/nodata.tsx
|
|
5404
|
-
import { jsx as
|
|
5431
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5405
5432
|
var className9 = `k-nodata`;
|
|
5406
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5433
|
+
var NoData = (props) => /* @__PURE__ */ jsx45("span", { className: classNames(className9, props.className), children: props.children });
|
|
5407
5434
|
|
|
5408
5435
|
// src/list/list.spec.tsx
|
|
5409
|
-
import { jsx as
|
|
5436
|
+
import { jsx as jsx46, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5410
5437
|
var LIST_CLASSNAME = `k-list`;
|
|
5411
5438
|
var states23 = [];
|
|
5412
|
-
var
|
|
5439
|
+
var options20 = {
|
|
5413
5440
|
size: [Size.small, Size.medium, Size.large]
|
|
5414
5441
|
};
|
|
5415
|
-
var
|
|
5442
|
+
var defaultProps17 = {
|
|
5416
5443
|
size: Size.medium
|
|
5417
5444
|
};
|
|
5418
5445
|
var List = (props) => {
|
|
5419
5446
|
const {
|
|
5420
|
-
size =
|
|
5447
|
+
size = defaultProps17.size,
|
|
5421
5448
|
virtualization,
|
|
5422
5449
|
children,
|
|
5423
5450
|
optionLabel,
|
|
@@ -5434,7 +5461,7 @@ var List = (props) => {
|
|
|
5434
5461
|
listHeader = child.props.label;
|
|
5435
5462
|
child.props.children.map((optChild, index2) => {
|
|
5436
5463
|
listChildren.push(
|
|
5437
|
-
/* @__PURE__ */
|
|
5464
|
+
/* @__PURE__ */ jsx46(
|
|
5438
5465
|
ListItem,
|
|
5439
5466
|
{
|
|
5440
5467
|
...optChild.props
|
|
@@ -5450,7 +5477,7 @@ var List = (props) => {
|
|
|
5450
5477
|
groupLabel = child.props.label;
|
|
5451
5478
|
}
|
|
5452
5479
|
listChildren.push(
|
|
5453
|
-
/* @__PURE__ */
|
|
5480
|
+
/* @__PURE__ */ jsx46(
|
|
5454
5481
|
ListItem,
|
|
5455
5482
|
{
|
|
5456
5483
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5462,14 +5489,14 @@ var List = (props) => {
|
|
|
5462
5489
|
);
|
|
5463
5490
|
});
|
|
5464
5491
|
}
|
|
5465
|
-
listGroup = /* @__PURE__ */
|
|
5492
|
+
listGroup = /* @__PURE__ */ jsx46(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5466
5493
|
} else if (child.type === ListItem) {
|
|
5467
|
-
listChildren.push(/* @__PURE__ */
|
|
5468
|
-
listContent = /* @__PURE__ */
|
|
5494
|
+
listChildren.push(/* @__PURE__ */ jsx46(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5495
|
+
listContent = /* @__PURE__ */ jsx46(ListContent, { virtualization, children: listChildren });
|
|
5469
5496
|
}
|
|
5470
5497
|
});
|
|
5471
5498
|
} else {
|
|
5472
|
-
listContent = /* @__PURE__ */
|
|
5499
|
+
listContent = /* @__PURE__ */ jsx46(NoData, { children: "No data found." });
|
|
5473
5500
|
}
|
|
5474
5501
|
return /* @__PURE__ */ jsxs17(
|
|
5475
5502
|
"div",
|
|
@@ -5494,23 +5521,23 @@ var List = (props) => {
|
|
|
5494
5521
|
);
|
|
5495
5522
|
};
|
|
5496
5523
|
List.states = states23;
|
|
5497
|
-
List.options =
|
|
5524
|
+
List.options = options20;
|
|
5498
5525
|
List.className = LIST_CLASSNAME;
|
|
5499
|
-
List.defaultProps =
|
|
5526
|
+
List.defaultProps = defaultProps17;
|
|
5500
5527
|
|
|
5501
5528
|
// src/list/list-angular.spec.tsx
|
|
5502
|
-
import { jsx as
|
|
5529
|
+
import { jsx as jsx47, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5503
5530
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5504
5531
|
var states24 = [];
|
|
5505
|
-
var
|
|
5532
|
+
var options21 = {
|
|
5506
5533
|
size: [Size.small, Size.medium, Size.large]
|
|
5507
5534
|
};
|
|
5508
|
-
var
|
|
5535
|
+
var defaultProps18 = {
|
|
5509
5536
|
size: Size.medium
|
|
5510
5537
|
};
|
|
5511
5538
|
var ListAngular = (props) => {
|
|
5512
5539
|
const {
|
|
5513
|
-
size =
|
|
5540
|
+
size = defaultProps18.size,
|
|
5514
5541
|
virtualization,
|
|
5515
5542
|
children,
|
|
5516
5543
|
...other
|
|
@@ -5526,7 +5553,7 @@ var ListAngular = (props) => {
|
|
|
5526
5553
|
listHeader = child.props.label;
|
|
5527
5554
|
child.props.children.map((optChild, index2) => {
|
|
5528
5555
|
listChildren.push(
|
|
5529
|
-
/* @__PURE__ */
|
|
5556
|
+
/* @__PURE__ */ jsx47(
|
|
5530
5557
|
ListItem,
|
|
5531
5558
|
{
|
|
5532
5559
|
...optChild.props
|
|
@@ -5537,7 +5564,7 @@ var ListAngular = (props) => {
|
|
|
5537
5564
|
});
|
|
5538
5565
|
} else {
|
|
5539
5566
|
listChildren.push(
|
|
5540
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ jsx47(
|
|
5541
5568
|
ListGroupItem,
|
|
5542
5569
|
{
|
|
5543
5570
|
...child.props,
|
|
@@ -5548,7 +5575,7 @@ var ListAngular = (props) => {
|
|
|
5548
5575
|
);
|
|
5549
5576
|
child.props.children.map((optChild, index2) => {
|
|
5550
5577
|
listChildren.push(
|
|
5551
|
-
/* @__PURE__ */
|
|
5578
|
+
/* @__PURE__ */ jsx47(
|
|
5552
5579
|
ListItem,
|
|
5553
5580
|
{
|
|
5554
5581
|
...optChild.props
|
|
@@ -5558,14 +5585,14 @@ var ListAngular = (props) => {
|
|
|
5558
5585
|
);
|
|
5559
5586
|
});
|
|
5560
5587
|
}
|
|
5561
|
-
listGroup = /* @__PURE__ */
|
|
5588
|
+
listGroup = /* @__PURE__ */ jsx47(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5562
5589
|
} else if (child.type === ListItem) {
|
|
5563
|
-
listChildren.push(/* @__PURE__ */
|
|
5564
|
-
listContent = /* @__PURE__ */
|
|
5590
|
+
listChildren.push(/* @__PURE__ */ jsx47(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5591
|
+
listContent = /* @__PURE__ */ jsx47(ListContent, { virtualization, children: listChildren });
|
|
5565
5592
|
}
|
|
5566
5593
|
});
|
|
5567
5594
|
} else {
|
|
5568
|
-
listContent = /* @__PURE__ */
|
|
5595
|
+
listContent = /* @__PURE__ */ jsx47(NoData, { children: "No data found." });
|
|
5569
5596
|
}
|
|
5570
5597
|
return /* @__PURE__ */ jsxs18(
|
|
5571
5598
|
"div",
|
|
@@ -5589,12 +5616,12 @@ var ListAngular = (props) => {
|
|
|
5589
5616
|
);
|
|
5590
5617
|
};
|
|
5591
5618
|
ListAngular.states = states24;
|
|
5592
|
-
ListAngular.options =
|
|
5619
|
+
ListAngular.options = options21;
|
|
5593
5620
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
5594
|
-
ListAngular.defaultProps =
|
|
5621
|
+
ListAngular.defaultProps = defaultProps18;
|
|
5595
5622
|
|
|
5596
5623
|
// src/checkbox/checkbox.spec.tsx
|
|
5597
|
-
import { jsx as
|
|
5624
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5598
5625
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5599
5626
|
var states25 = [
|
|
5600
5627
|
States.hover,
|
|
@@ -5606,11 +5633,11 @@ var states25 = [
|
|
|
5606
5633
|
States.checked,
|
|
5607
5634
|
States.indeterminate
|
|
5608
5635
|
];
|
|
5609
|
-
var
|
|
5636
|
+
var options22 = {
|
|
5610
5637
|
size: [Size.small, Size.medium, Size.large],
|
|
5611
5638
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
5612
5639
|
};
|
|
5613
|
-
var
|
|
5640
|
+
var defaultProps19 = {
|
|
5614
5641
|
size: Size.medium,
|
|
5615
5642
|
rounded: Roundness.medium
|
|
5616
5643
|
};
|
|
@@ -5625,11 +5652,11 @@ var Checkbox = (props) => {
|
|
|
5625
5652
|
invalid,
|
|
5626
5653
|
valid,
|
|
5627
5654
|
required,
|
|
5628
|
-
size =
|
|
5629
|
-
rounded =
|
|
5655
|
+
size = defaultProps19.size,
|
|
5656
|
+
rounded = defaultProps19.rounded,
|
|
5630
5657
|
...other
|
|
5631
5658
|
} = props;
|
|
5632
|
-
return /* @__PURE__ */
|
|
5659
|
+
return /* @__PURE__ */ jsx48("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx48(
|
|
5633
5660
|
"input",
|
|
5634
5661
|
{
|
|
5635
5662
|
...other,
|
|
@@ -5647,18 +5674,18 @@ var Checkbox = (props) => {
|
|
|
5647
5674
|
) });
|
|
5648
5675
|
};
|
|
5649
5676
|
Checkbox.states = states25;
|
|
5650
|
-
Checkbox.options =
|
|
5677
|
+
Checkbox.options = options22;
|
|
5651
5678
|
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
5652
|
-
Checkbox.defaultProps =
|
|
5679
|
+
Checkbox.defaultProps = defaultProps19;
|
|
5653
5680
|
|
|
5654
5681
|
// src/checkbox/templates/checkbox-label.tsx
|
|
5655
|
-
import { Fragment as
|
|
5682
|
+
import { Fragment as Fragment18, jsx as jsx49, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5656
5683
|
|
|
5657
5684
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5658
|
-
import { jsx as
|
|
5685
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5659
5686
|
|
|
5660
5687
|
// src/list/list-item.spec.tsx
|
|
5661
|
-
import { jsx as
|
|
5688
|
+
import { jsx as jsx51, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5662
5689
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5663
5690
|
var states26 = [
|
|
5664
5691
|
States.hover,
|
|
@@ -5666,8 +5693,8 @@ var states26 = [
|
|
|
5666
5693
|
States.selected,
|
|
5667
5694
|
States.disabled
|
|
5668
5695
|
];
|
|
5669
|
-
var
|
|
5670
|
-
var
|
|
5696
|
+
var options23 = {};
|
|
5697
|
+
var defaultProps20 = {};
|
|
5671
5698
|
var ListItem = (props) => {
|
|
5672
5699
|
const {
|
|
5673
5700
|
text,
|
|
@@ -5698,57 +5725,57 @@ var ListItem = (props) => {
|
|
|
5698
5725
|
})
|
|
5699
5726
|
),
|
|
5700
5727
|
children: [
|
|
5701
|
-
showCheckbox && /* @__PURE__ */
|
|
5702
|
-
showIcon && /* @__PURE__ */
|
|
5703
|
-
/* @__PURE__ */
|
|
5704
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5728
|
+
showCheckbox && /* @__PURE__ */ jsx51(Checkbox, { checked }),
|
|
5729
|
+
showIcon && /* @__PURE__ */ jsx51(Icon, { icon: iconName }),
|
|
5730
|
+
/* @__PURE__ */ jsx51("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5731
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx51("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5705
5732
|
]
|
|
5706
5733
|
}
|
|
5707
5734
|
);
|
|
5708
5735
|
};
|
|
5709
5736
|
ListItem.states = states26;
|
|
5710
|
-
ListItem.options =
|
|
5737
|
+
ListItem.options = options23;
|
|
5711
5738
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
5712
|
-
ListItem.defaultProps =
|
|
5739
|
+
ListItem.defaultProps = defaultProps20;
|
|
5713
5740
|
|
|
5714
5741
|
// src/list/list-content.tsx
|
|
5715
|
-
import { jsx as
|
|
5742
|
+
import { jsx as jsx52, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5716
5743
|
var className10 = `k-list-content`;
|
|
5717
5744
|
var ListContent = (props) => {
|
|
5718
5745
|
const {
|
|
5719
5746
|
virtualization
|
|
5720
5747
|
} = props;
|
|
5721
5748
|
return /* @__PURE__ */ jsxs21("div", { className: classNames(className10, props.className), children: [
|
|
5722
|
-
/* @__PURE__ */
|
|
5723
|
-
virtualization && /* @__PURE__ */
|
|
5749
|
+
/* @__PURE__ */ jsx52("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5750
|
+
virtualization && /* @__PURE__ */ jsx52("div", { className: "k-height-container", children: /* @__PURE__ */ jsx52("div", {}) })
|
|
5724
5751
|
] });
|
|
5725
5752
|
};
|
|
5726
5753
|
|
|
5727
5754
|
// src/list/list-header.tsx
|
|
5728
|
-
import { jsx as
|
|
5755
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5729
5756
|
var className11 = `k-list-group-sticky-header`;
|
|
5730
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5757
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx53("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx53("div", { className: "k-list-header-text", children: props.children }) });
|
|
5731
5758
|
|
|
5732
5759
|
// src/list/list-group.tsx
|
|
5733
|
-
import { Fragment as
|
|
5760
|
+
import { Fragment as Fragment19, jsx as jsx54, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5734
5761
|
var ListGroup = (props) => {
|
|
5735
5762
|
const {
|
|
5736
5763
|
virtualization,
|
|
5737
5764
|
label
|
|
5738
5765
|
} = props;
|
|
5739
|
-
return /* @__PURE__ */ jsxs22(
|
|
5740
|
-
label && /* @__PURE__ */
|
|
5741
|
-
props.children && /* @__PURE__ */
|
|
5766
|
+
return /* @__PURE__ */ jsxs22(Fragment19, { children: [
|
|
5767
|
+
label && /* @__PURE__ */ jsx54(ListHeader, { children: label }),
|
|
5768
|
+
props.children && /* @__PURE__ */ jsx54(ListContent, { virtualization, children: props.children })
|
|
5742
5769
|
] });
|
|
5743
5770
|
};
|
|
5744
5771
|
|
|
5745
5772
|
// src/list/list-group-item.tsx
|
|
5746
|
-
import { jsx as
|
|
5773
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5747
5774
|
var className12 = `k-list-group-item`;
|
|
5748
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5775
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx55("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx55("span", { className: "k-list-item-text", children: props.children }) });
|
|
5749
5776
|
|
|
5750
5777
|
// src/list/list-option-label.tsx
|
|
5751
|
-
import { jsx as
|
|
5778
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
5752
5779
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5753
5780
|
var states27 = [
|
|
5754
5781
|
States.hover,
|
|
@@ -5756,8 +5783,8 @@ var states27 = [
|
|
|
5756
5783
|
States.selected,
|
|
5757
5784
|
States.disabled
|
|
5758
5785
|
];
|
|
5759
|
-
var
|
|
5760
|
-
var
|
|
5786
|
+
var options24 = {};
|
|
5787
|
+
var defaultProps21 = {};
|
|
5761
5788
|
var ListOptionLabel = (props) => {
|
|
5762
5789
|
const {
|
|
5763
5790
|
text,
|
|
@@ -5767,7 +5794,7 @@ var ListOptionLabel = (props) => {
|
|
|
5767
5794
|
disabled,
|
|
5768
5795
|
...other
|
|
5769
5796
|
} = props;
|
|
5770
|
-
return /* @__PURE__ */
|
|
5797
|
+
return /* @__PURE__ */ jsx56(
|
|
5771
5798
|
"div",
|
|
5772
5799
|
{
|
|
5773
5800
|
...other,
|
|
@@ -5785,33 +5812,33 @@ var ListOptionLabel = (props) => {
|
|
|
5785
5812
|
);
|
|
5786
5813
|
};
|
|
5787
5814
|
ListOptionLabel.states = states27;
|
|
5788
|
-
ListOptionLabel.options =
|
|
5815
|
+
ListOptionLabel.options = options24;
|
|
5789
5816
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
5790
|
-
ListOptionLabel.defaultProps =
|
|
5817
|
+
ListOptionLabel.defaultProps = defaultProps21;
|
|
5791
5818
|
|
|
5792
5819
|
// src/list/templates/list-normal.tsx
|
|
5793
|
-
import { jsx as
|
|
5820
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5794
5821
|
|
|
5795
5822
|
// src/list/templates/list-virtualization.tsx
|
|
5796
|
-
import { jsx as
|
|
5823
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5797
5824
|
|
|
5798
5825
|
// src/list/templates/list-grouping.tsx
|
|
5799
|
-
import { jsx as
|
|
5826
|
+
import { jsx as jsx59, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5800
5827
|
|
|
5801
5828
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5802
|
-
import { jsx as
|
|
5829
|
+
import { jsx as jsx60, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5803
5830
|
|
|
5804
5831
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5805
|
-
import { jsx as
|
|
5832
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5806
5833
|
|
|
5807
5834
|
// src/list/templates/list-grouping-angular.tsx
|
|
5808
|
-
import { jsx as
|
|
5835
|
+
import { jsx as jsx62, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5809
5836
|
|
|
5810
5837
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5811
|
-
import { jsx as
|
|
5838
|
+
import { jsx as jsx63, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5812
5839
|
|
|
5813
5840
|
// src/combobox/combobox.spec.tsx
|
|
5814
|
-
import { Fragment as
|
|
5841
|
+
import { Fragment as Fragment20, jsx as jsx64, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5815
5842
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
5816
5843
|
var states28 = [
|
|
5817
5844
|
States.hover,
|
|
@@ -5823,12 +5850,12 @@ var states28 = [
|
|
|
5823
5850
|
States.disabled,
|
|
5824
5851
|
States.readonly
|
|
5825
5852
|
];
|
|
5826
|
-
var
|
|
5853
|
+
var defaultProps22 = {
|
|
5827
5854
|
size: Input.defaultProps.size,
|
|
5828
5855
|
rounded: Input.defaultProps.rounded,
|
|
5829
5856
|
fillMode: Input.defaultProps.fillMode
|
|
5830
5857
|
};
|
|
5831
|
-
var
|
|
5858
|
+
var options25 = {
|
|
5832
5859
|
size: [Size.small, Size.medium, Size.large],
|
|
5833
5860
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5834
5861
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -5856,7 +5883,7 @@ var Combobox = (props) => {
|
|
|
5856
5883
|
adaptiveSettings,
|
|
5857
5884
|
...other
|
|
5858
5885
|
} = props;
|
|
5859
|
-
return /* @__PURE__ */ jsxs27(
|
|
5886
|
+
return /* @__PURE__ */ jsxs27(Fragment20, { children: [
|
|
5860
5887
|
/* @__PURE__ */ jsxs27(
|
|
5861
5888
|
Input,
|
|
5862
5889
|
{
|
|
@@ -5874,9 +5901,9 @@ var Combobox = (props) => {
|
|
|
5874
5901
|
readonly,
|
|
5875
5902
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
5876
5903
|
children: [
|
|
5877
|
-
/* @__PURE__ */
|
|
5878
|
-
/* @__PURE__ */
|
|
5879
|
-
/* @__PURE__ */
|
|
5904
|
+
/* @__PURE__ */ jsx64(InputPrefix, { children: prefix }),
|
|
5905
|
+
/* @__PURE__ */ jsx64(InputInnerInput, { placeholder, value }),
|
|
5906
|
+
/* @__PURE__ */ jsx64(
|
|
5880
5907
|
InputValidationIcon,
|
|
5881
5908
|
{
|
|
5882
5909
|
valid,
|
|
@@ -5885,14 +5912,14 @@ var Combobox = (props) => {
|
|
|
5885
5912
|
disabled
|
|
5886
5913
|
}
|
|
5887
5914
|
),
|
|
5888
|
-
/* @__PURE__ */
|
|
5915
|
+
/* @__PURE__ */ jsx64(
|
|
5889
5916
|
InputLoadingIcon,
|
|
5890
5917
|
{
|
|
5891
5918
|
loading,
|
|
5892
5919
|
disabled
|
|
5893
5920
|
}
|
|
5894
5921
|
),
|
|
5895
|
-
/* @__PURE__ */
|
|
5922
|
+
/* @__PURE__ */ jsx64(
|
|
5896
5923
|
InputClearValue,
|
|
5897
5924
|
{
|
|
5898
5925
|
loading,
|
|
@@ -5901,8 +5928,8 @@ var Combobox = (props) => {
|
|
|
5901
5928
|
value
|
|
5902
5929
|
}
|
|
5903
5930
|
),
|
|
5904
|
-
/* @__PURE__ */
|
|
5905
|
-
/* @__PURE__ */
|
|
5931
|
+
/* @__PURE__ */ jsx64(InputSuffix, { children: suffix }),
|
|
5932
|
+
/* @__PURE__ */ jsx64(
|
|
5906
5933
|
Button,
|
|
5907
5934
|
{
|
|
5908
5935
|
className: "k-input-button",
|
|
@@ -5915,9 +5942,9 @@ var Combobox = (props) => {
|
|
|
5915
5942
|
]
|
|
5916
5943
|
}
|
|
5917
5944
|
),
|
|
5918
|
-
opened && popup && /* @__PURE__ */
|
|
5945
|
+
opened && popup && /* @__PURE__ */ jsx64(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
5919
5946
|
adaptive && /* @__PURE__ */ jsxs27(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5920
|
-
/* @__PURE__ */
|
|
5947
|
+
/* @__PURE__ */ jsx64(
|
|
5921
5948
|
ActionSheetHeader,
|
|
5922
5949
|
{
|
|
5923
5950
|
actions: ["x"],
|
|
@@ -5925,33 +5952,33 @@ var Combobox = (props) => {
|
|
|
5925
5952
|
title: "Select Item"
|
|
5926
5953
|
}
|
|
5927
5954
|
),
|
|
5928
|
-
/* @__PURE__ */
|
|
5929
|
-
/* @__PURE__ */
|
|
5930
|
-
/* @__PURE__ */
|
|
5931
|
-
/* @__PURE__ */
|
|
5955
|
+
/* @__PURE__ */ jsx64("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs27(List, { size: "large", children: [
|
|
5956
|
+
/* @__PURE__ */ jsx64(ListItem, { text: "List item" }),
|
|
5957
|
+
/* @__PURE__ */ jsx64(ListItem, { text: "List item" }),
|
|
5958
|
+
/* @__PURE__ */ jsx64(ListItem, { text: "List item" })
|
|
5932
5959
|
] }) })
|
|
5933
5960
|
] })
|
|
5934
5961
|
] });
|
|
5935
5962
|
};
|
|
5936
5963
|
Combobox.states = states28;
|
|
5937
|
-
Combobox.options =
|
|
5964
|
+
Combobox.options = options25;
|
|
5938
5965
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
5939
|
-
Combobox.defaultProps =
|
|
5966
|
+
Combobox.defaultProps = defaultProps22;
|
|
5940
5967
|
|
|
5941
5968
|
// src/combobox/templates/combobox-normal.tsx
|
|
5942
|
-
import { jsx as
|
|
5969
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
5943
5970
|
|
|
5944
5971
|
// src/combobox/templates/combobox-popup.tsx
|
|
5945
|
-
import { jsx as
|
|
5972
|
+
import { jsx as jsx66, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5946
5973
|
|
|
5947
5974
|
// src/combobox/templates/combobox-grouping.tsx
|
|
5948
|
-
import { jsx as
|
|
5975
|
+
import { jsx as jsx67, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5949
5976
|
|
|
5950
5977
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
5951
|
-
import { jsx as
|
|
5978
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
5952
5979
|
|
|
5953
5980
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5954
|
-
import { Fragment as
|
|
5981
|
+
import { Fragment as Fragment21, jsx as jsx69, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5955
5982
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5956
5983
|
var states29 = [
|
|
5957
5984
|
States.hover,
|
|
@@ -5963,12 +5990,12 @@ var states29 = [
|
|
|
5963
5990
|
States.loading,
|
|
5964
5991
|
States.readonly
|
|
5965
5992
|
];
|
|
5966
|
-
var
|
|
5993
|
+
var options26 = {
|
|
5967
5994
|
size: [Size.small, Size.medium, Size.large],
|
|
5968
5995
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5969
5996
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5970
5997
|
};
|
|
5971
|
-
var
|
|
5998
|
+
var defaultProps23 = {
|
|
5972
5999
|
showValue: true,
|
|
5973
6000
|
arrowIconName: "caret-alt-down",
|
|
5974
6001
|
size: Size.medium,
|
|
@@ -5978,7 +6005,7 @@ var defaultProps24 = {
|
|
|
5978
6005
|
var DropdownList = (props) => {
|
|
5979
6006
|
const {
|
|
5980
6007
|
valueIconName,
|
|
5981
|
-
arrowIconName =
|
|
6008
|
+
arrowIconName = defaultProps23.arrowIconName,
|
|
5982
6009
|
prefix,
|
|
5983
6010
|
suffix,
|
|
5984
6011
|
value,
|
|
@@ -5994,12 +6021,12 @@ var DropdownList = (props) => {
|
|
|
5994
6021
|
loading,
|
|
5995
6022
|
disabled,
|
|
5996
6023
|
readonly,
|
|
5997
|
-
showValue =
|
|
6024
|
+
showValue = defaultProps23.showValue,
|
|
5998
6025
|
popup,
|
|
5999
6026
|
opened,
|
|
6000
6027
|
...other
|
|
6001
6028
|
} = props;
|
|
6002
|
-
return /* @__PURE__ */ jsxs30(
|
|
6029
|
+
return /* @__PURE__ */ jsxs30(Fragment21, { children: [
|
|
6003
6030
|
/* @__PURE__ */ jsxs30(
|
|
6004
6031
|
Picker,
|
|
6005
6032
|
{
|
|
@@ -6023,8 +6050,8 @@ var DropdownList = (props) => {
|
|
|
6023
6050
|
}
|
|
6024
6051
|
),
|
|
6025
6052
|
children: [
|
|
6026
|
-
/* @__PURE__ */
|
|
6027
|
-
/* @__PURE__ */
|
|
6053
|
+
/* @__PURE__ */ jsx69(InputPrefix, { children: prefix }),
|
|
6054
|
+
/* @__PURE__ */ jsx69(
|
|
6028
6055
|
InputInnerSpan,
|
|
6029
6056
|
{
|
|
6030
6057
|
placeholder,
|
|
@@ -6033,7 +6060,7 @@ var DropdownList = (props) => {
|
|
|
6033
6060
|
valueIconName
|
|
6034
6061
|
}
|
|
6035
6062
|
),
|
|
6036
|
-
/* @__PURE__ */
|
|
6063
|
+
/* @__PURE__ */ jsx69(
|
|
6037
6064
|
InputValidationIcon,
|
|
6038
6065
|
{
|
|
6039
6066
|
valid,
|
|
@@ -6042,15 +6069,15 @@ var DropdownList = (props) => {
|
|
|
6042
6069
|
disabled
|
|
6043
6070
|
}
|
|
6044
6071
|
),
|
|
6045
|
-
/* @__PURE__ */
|
|
6072
|
+
/* @__PURE__ */ jsx69(
|
|
6046
6073
|
InputLoadingIcon,
|
|
6047
6074
|
{
|
|
6048
6075
|
loading,
|
|
6049
6076
|
disabled
|
|
6050
6077
|
}
|
|
6051
6078
|
),
|
|
6052
|
-
/* @__PURE__ */
|
|
6053
|
-
/* @__PURE__ */
|
|
6079
|
+
/* @__PURE__ */ jsx69(InputSuffix, { children: suffix }),
|
|
6080
|
+
/* @__PURE__ */ jsx69(
|
|
6054
6081
|
Button,
|
|
6055
6082
|
{
|
|
6056
6083
|
className: "k-input-button",
|
|
@@ -6063,31 +6090,31 @@ var DropdownList = (props) => {
|
|
|
6063
6090
|
]
|
|
6064
6091
|
}
|
|
6065
6092
|
),
|
|
6066
|
-
opened && popup && /* @__PURE__ */
|
|
6093
|
+
opened && popup && /* @__PURE__ */ jsx69(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
6067
6094
|
] });
|
|
6068
6095
|
};
|
|
6069
6096
|
DropdownList.states = states29;
|
|
6070
|
-
DropdownList.options =
|
|
6097
|
+
DropdownList.options = options26;
|
|
6071
6098
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
6072
|
-
DropdownList.defaultProps =
|
|
6099
|
+
DropdownList.defaultProps = defaultProps23;
|
|
6073
6100
|
|
|
6074
6101
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
6075
|
-
import { jsx as
|
|
6102
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
6076
6103
|
|
|
6077
6104
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6078
|
-
import { jsx as
|
|
6105
|
+
import { jsx as jsx71, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6079
6106
|
|
|
6080
6107
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6081
|
-
import { Fragment as
|
|
6108
|
+
import { Fragment as Fragment22, jsx as jsx72, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6082
6109
|
|
|
6083
6110
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6084
|
-
import { jsx as
|
|
6111
|
+
import { jsx as jsx73, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6085
6112
|
|
|
6086
6113
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6087
|
-
import { Fragment as
|
|
6114
|
+
import { Fragment as Fragment23, jsx as jsx74, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6088
6115
|
|
|
6089
6116
|
// src/menu-button/menu-button.spec.tsx
|
|
6090
|
-
import { Fragment as
|
|
6117
|
+
import { Fragment as Fragment24, jsx as jsx75, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6091
6118
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
6092
6119
|
var states30 = [
|
|
6093
6120
|
States.hover,
|
|
@@ -6096,7 +6123,7 @@ var states30 = [
|
|
|
6096
6123
|
States.selected,
|
|
6097
6124
|
States.disabled
|
|
6098
6125
|
];
|
|
6099
|
-
var
|
|
6126
|
+
var options27 = {
|
|
6100
6127
|
size: [Size.small, Size.medium, Size.large],
|
|
6101
6128
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6102
6129
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -6114,7 +6141,7 @@ var options28 = {
|
|
|
6114
6141
|
ThemeColor.inverse
|
|
6115
6142
|
]
|
|
6116
6143
|
};
|
|
6117
|
-
var
|
|
6144
|
+
var defaultProps24 = {
|
|
6118
6145
|
size: Size.medium,
|
|
6119
6146
|
rounded: Roundness.medium,
|
|
6120
6147
|
fillMode: FillMode.solid,
|
|
@@ -6124,10 +6151,10 @@ var defaultProps25 = {
|
|
|
6124
6151
|
};
|
|
6125
6152
|
var MenuButton = (props) => {
|
|
6126
6153
|
const {
|
|
6127
|
-
size =
|
|
6128
|
-
rounded =
|
|
6129
|
-
fillMode =
|
|
6130
|
-
themeColor =
|
|
6154
|
+
size = defaultProps24.size,
|
|
6155
|
+
rounded = defaultProps24.rounded,
|
|
6156
|
+
fillMode = defaultProps24.fillMode,
|
|
6157
|
+
themeColor = defaultProps24.themeColor,
|
|
6131
6158
|
hover,
|
|
6132
6159
|
focus,
|
|
6133
6160
|
active,
|
|
@@ -6135,14 +6162,14 @@ var MenuButton = (props) => {
|
|
|
6135
6162
|
disabled,
|
|
6136
6163
|
icon,
|
|
6137
6164
|
text,
|
|
6138
|
-
showArrow =
|
|
6139
|
-
arrowIconName =
|
|
6165
|
+
showArrow = defaultProps24.showArrow,
|
|
6166
|
+
arrowIconName = defaultProps24.arrowIconName,
|
|
6140
6167
|
popup,
|
|
6141
6168
|
opened,
|
|
6142
6169
|
...other
|
|
6143
6170
|
} = props;
|
|
6144
|
-
return /* @__PURE__ */ jsxs35(
|
|
6145
|
-
/* @__PURE__ */
|
|
6171
|
+
return /* @__PURE__ */ jsxs35(Fragment24, { children: [
|
|
6172
|
+
/* @__PURE__ */ jsx75(
|
|
6146
6173
|
Button,
|
|
6147
6174
|
{
|
|
6148
6175
|
...other,
|
|
@@ -6165,25 +6192,25 @@ var MenuButton = (props) => {
|
|
|
6165
6192
|
arrowIconName
|
|
6166
6193
|
}
|
|
6167
6194
|
),
|
|
6168
|
-
opened && popup && /* @__PURE__ */
|
|
6195
|
+
opened && popup && /* @__PURE__ */ jsx75(Popup, { className: "k-menu-popup", children: popup })
|
|
6169
6196
|
] });
|
|
6170
6197
|
};
|
|
6171
6198
|
MenuButton.states = states30;
|
|
6172
|
-
MenuButton.options =
|
|
6199
|
+
MenuButton.options = options27;
|
|
6173
6200
|
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
6174
|
-
MenuButton.defaultProps =
|
|
6201
|
+
MenuButton.defaultProps = defaultProps24;
|
|
6175
6202
|
|
|
6176
6203
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
6177
|
-
import { jsx as
|
|
6204
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6178
6205
|
|
|
6179
6206
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
6180
|
-
import { jsx as
|
|
6207
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6181
6208
|
|
|
6182
6209
|
// src/menu-button/templates/text-menu-button.tsx
|
|
6183
|
-
import { jsx as
|
|
6210
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6184
6211
|
|
|
6185
6212
|
// src/menu/menu-item.spec.tsx
|
|
6186
|
-
import { Fragment as
|
|
6213
|
+
import { Fragment as Fragment25, jsx as jsx79, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6187
6214
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
6188
6215
|
var states31 = [
|
|
6189
6216
|
States.hover,
|
|
@@ -6192,8 +6219,8 @@ var states31 = [
|
|
|
6192
6219
|
States.selected,
|
|
6193
6220
|
States.disabled
|
|
6194
6221
|
];
|
|
6195
|
-
var
|
|
6196
|
-
var
|
|
6222
|
+
var options28 = {};
|
|
6223
|
+
var defaultProps25 = {
|
|
6197
6224
|
dir: "ltr"
|
|
6198
6225
|
};
|
|
6199
6226
|
var MenuItem = (props) => {
|
|
@@ -6207,11 +6234,11 @@ var MenuItem = (props) => {
|
|
|
6207
6234
|
text,
|
|
6208
6235
|
showArrow,
|
|
6209
6236
|
arrowIconName,
|
|
6210
|
-
dir =
|
|
6237
|
+
dir = defaultProps25.dir,
|
|
6211
6238
|
children,
|
|
6212
6239
|
...other
|
|
6213
6240
|
} = props;
|
|
6214
|
-
const contentTemplate = /* @__PURE__ */
|
|
6241
|
+
const contentTemplate = /* @__PURE__ */ jsx79(Fragment25, {});
|
|
6215
6242
|
if (children) {
|
|
6216
6243
|
children.forEach((child) => {
|
|
6217
6244
|
const component = child.type;
|
|
@@ -6253,9 +6280,9 @@ var MenuItem = (props) => {
|
|
|
6253
6280
|
})
|
|
6254
6281
|
),
|
|
6255
6282
|
children: [
|
|
6256
|
-
icon && /* @__PURE__ */
|
|
6257
|
-
/* @__PURE__ */
|
|
6258
|
-
showArrow && /* @__PURE__ */
|
|
6283
|
+
icon && /* @__PURE__ */ jsx79(Icon, { className: "k-menu-link-icon", icon }),
|
|
6284
|
+
/* @__PURE__ */ jsx79("span", { className: "k-menu-link-text", children: text }),
|
|
6285
|
+
showArrow && /* @__PURE__ */ jsx79("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx79(Icon, { icon: expandArrowName }) })
|
|
6259
6286
|
]
|
|
6260
6287
|
}
|
|
6261
6288
|
),
|
|
@@ -6265,23 +6292,23 @@ var MenuItem = (props) => {
|
|
|
6265
6292
|
);
|
|
6266
6293
|
};
|
|
6267
6294
|
MenuItem.states = states31;
|
|
6268
|
-
MenuItem.options =
|
|
6295
|
+
MenuItem.options = options28;
|
|
6269
6296
|
MenuItem.className = MENUITEM_CLASSNAME;
|
|
6270
|
-
MenuItem.defaultProps =
|
|
6297
|
+
MenuItem.defaultProps = defaultProps25;
|
|
6271
6298
|
var menu_item_spec_default = MenuItem;
|
|
6272
6299
|
|
|
6273
6300
|
// src/menu/menu-separator.spec.tsx
|
|
6274
|
-
import { jsx as
|
|
6301
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6275
6302
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
6276
|
-
var
|
|
6303
|
+
var defaultProps26 = {
|
|
6277
6304
|
orientation: "horizontal"
|
|
6278
6305
|
};
|
|
6279
6306
|
var MenuSeparator = (props) => {
|
|
6280
6307
|
const {
|
|
6281
|
-
orientation =
|
|
6308
|
+
orientation = defaultProps26.orientation,
|
|
6282
6309
|
...other
|
|
6283
6310
|
} = props;
|
|
6284
|
-
return /* @__PURE__ */
|
|
6311
|
+
return /* @__PURE__ */ jsx80(
|
|
6285
6312
|
"li",
|
|
6286
6313
|
{
|
|
6287
6314
|
...other,
|
|
@@ -6299,25 +6326,25 @@ var MenuSeparator = (props) => {
|
|
|
6299
6326
|
var menu_separator_spec_default = MenuSeparator;
|
|
6300
6327
|
|
|
6301
6328
|
// src/menu/menu-item-content.tsx
|
|
6302
|
-
import { Fragment as
|
|
6329
|
+
import { Fragment as Fragment26, jsx as jsx81 } from "react/jsx-runtime";
|
|
6303
6330
|
|
|
6304
6331
|
// src/menu/menu-list.spec.tsx
|
|
6305
|
-
import { jsx as
|
|
6332
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6306
6333
|
import { createElement } from "react";
|
|
6307
6334
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
6308
6335
|
var states32 = [];
|
|
6309
|
-
var
|
|
6336
|
+
var options29 = {
|
|
6310
6337
|
size: [Size.small, Size.medium, Size.large]
|
|
6311
6338
|
};
|
|
6312
|
-
var
|
|
6339
|
+
var defaultProps27 = {
|
|
6313
6340
|
size: Size.medium,
|
|
6314
6341
|
dir: "ltr"
|
|
6315
6342
|
};
|
|
6316
6343
|
var MenuList = (props) => {
|
|
6317
6344
|
const {
|
|
6318
6345
|
children,
|
|
6319
|
-
size =
|
|
6320
|
-
dir =
|
|
6346
|
+
size = defaultProps27.size,
|
|
6347
|
+
dir = defaultProps27.dir,
|
|
6321
6348
|
...other
|
|
6322
6349
|
} = props;
|
|
6323
6350
|
const listChildren = [];
|
|
@@ -6330,7 +6357,7 @@ var MenuList = (props) => {
|
|
|
6330
6357
|
);
|
|
6331
6358
|
} else if (child.type === menu_separator_spec_default) {
|
|
6332
6359
|
listChildren.push(
|
|
6333
|
-
/* @__PURE__ */
|
|
6360
|
+
/* @__PURE__ */ jsx82(menu_separator_spec_default, {})
|
|
6334
6361
|
);
|
|
6335
6362
|
} else {
|
|
6336
6363
|
listChildren.push(child);
|
|
@@ -6338,7 +6365,7 @@ var MenuList = (props) => {
|
|
|
6338
6365
|
});
|
|
6339
6366
|
}
|
|
6340
6367
|
}
|
|
6341
|
-
return /* @__PURE__ */
|
|
6368
|
+
return /* @__PURE__ */ jsx82(
|
|
6342
6369
|
"ul",
|
|
6343
6370
|
{
|
|
6344
6371
|
...other,
|
|
@@ -6354,15 +6381,15 @@ var MenuList = (props) => {
|
|
|
6354
6381
|
);
|
|
6355
6382
|
};
|
|
6356
6383
|
MenuList.states = states32;
|
|
6357
|
-
MenuList.options =
|
|
6384
|
+
MenuList.options = options29;
|
|
6358
6385
|
MenuList.className = MENULIST_CLASSNAME;
|
|
6359
|
-
MenuList.defaultProps =
|
|
6386
|
+
MenuList.defaultProps = defaultProps27;
|
|
6360
6387
|
|
|
6361
6388
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
6362
|
-
import { jsx as
|
|
6389
|
+
import { jsx as jsx83, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6363
6390
|
|
|
6364
6391
|
// src/split-button/split-button.spec.tsx
|
|
6365
|
-
import { jsx as
|
|
6392
|
+
import { Fragment as Fragment27, jsx as jsx84, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6366
6393
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
6367
6394
|
var states33 = [
|
|
6368
6395
|
States.hover,
|
|
@@ -6371,7 +6398,7 @@ var states33 = [
|
|
|
6371
6398
|
States.selected,
|
|
6372
6399
|
States.disabled
|
|
6373
6400
|
];
|
|
6374
|
-
var
|
|
6401
|
+
var options30 = {
|
|
6375
6402
|
size: [Size.small, Size.medium, Size.large],
|
|
6376
6403
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6377
6404
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -6389,7 +6416,7 @@ var options31 = {
|
|
|
6389
6416
|
ThemeColor.inverse
|
|
6390
6417
|
]
|
|
6391
6418
|
};
|
|
6392
|
-
var
|
|
6419
|
+
var defaultProps28 = {
|
|
6393
6420
|
size: Size.medium,
|
|
6394
6421
|
rounded: Roundness.medium,
|
|
6395
6422
|
fillMode: FillMode.solid,
|
|
@@ -6398,10 +6425,10 @@ var defaultProps29 = {
|
|
|
6398
6425
|
};
|
|
6399
6426
|
var SplitButton = (props) => {
|
|
6400
6427
|
const {
|
|
6401
|
-
size =
|
|
6402
|
-
rounded =
|
|
6403
|
-
fillMode =
|
|
6404
|
-
themeColor =
|
|
6428
|
+
size = defaultProps28.size,
|
|
6429
|
+
rounded = defaultProps28.rounded,
|
|
6430
|
+
fillMode = defaultProps28.fillMode,
|
|
6431
|
+
themeColor = defaultProps28.themeColor,
|
|
6405
6432
|
hover,
|
|
6406
6433
|
focus,
|
|
6407
6434
|
active,
|
|
@@ -6409,75 +6436,80 @@ var SplitButton = (props) => {
|
|
|
6409
6436
|
disabled,
|
|
6410
6437
|
icon,
|
|
6411
6438
|
text,
|
|
6412
|
-
arrowIconName =
|
|
6439
|
+
arrowIconName = defaultProps28.arrowIconName,
|
|
6440
|
+
popup,
|
|
6441
|
+
opened,
|
|
6413
6442
|
...other
|
|
6414
6443
|
} = props;
|
|
6415
|
-
return /* @__PURE__ */ jsxs38(
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
children: [
|
|
6428
|
-
/* @__PURE__ */ jsx83(
|
|
6429
|
-
Button,
|
|
6430
|
-
{
|
|
6431
|
-
text,
|
|
6432
|
-
icon,
|
|
6433
|
-
size,
|
|
6434
|
-
rounded,
|
|
6435
|
-
fillMode,
|
|
6436
|
-
themeColor,
|
|
6437
|
-
hover,
|
|
6438
|
-
focus,
|
|
6439
|
-
active,
|
|
6440
|
-
selected,
|
|
6441
|
-
disabled,
|
|
6442
|
-
children: props.children
|
|
6443
|
-
}
|
|
6444
|
+
return /* @__PURE__ */ jsxs38(Fragment27, { children: [
|
|
6445
|
+
/* @__PURE__ */ jsxs38(
|
|
6446
|
+
"div",
|
|
6447
|
+
{
|
|
6448
|
+
...other,
|
|
6449
|
+
className: classNames(
|
|
6450
|
+
props.className,
|
|
6451
|
+
SPLITBUTTON_CLASSNAME,
|
|
6452
|
+
"k-button-group",
|
|
6453
|
+
optionClassNames(SPLITBUTTON_CLASSNAME, {
|
|
6454
|
+
rounded
|
|
6455
|
+
})
|
|
6444
6456
|
),
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6457
|
+
children: [
|
|
6458
|
+
/* @__PURE__ */ jsx84(
|
|
6459
|
+
Button,
|
|
6460
|
+
{
|
|
6461
|
+
text,
|
|
6462
|
+
icon,
|
|
6463
|
+
size,
|
|
6464
|
+
rounded,
|
|
6465
|
+
fillMode,
|
|
6466
|
+
themeColor,
|
|
6467
|
+
hover,
|
|
6468
|
+
focus,
|
|
6469
|
+
active,
|
|
6470
|
+
selected,
|
|
6471
|
+
disabled,
|
|
6472
|
+
children: props.children
|
|
6473
|
+
}
|
|
6474
|
+
),
|
|
6475
|
+
/* @__PURE__ */ jsx84(
|
|
6476
|
+
Button,
|
|
6477
|
+
{
|
|
6478
|
+
className: "k-split-button-arrow",
|
|
6479
|
+
icon: arrowIconName,
|
|
6480
|
+
size,
|
|
6481
|
+
rounded,
|
|
6482
|
+
fillMode,
|
|
6483
|
+
disabled
|
|
6484
|
+
}
|
|
6485
|
+
)
|
|
6486
|
+
]
|
|
6487
|
+
}
|
|
6488
|
+
),
|
|
6489
|
+
opened && popup && /* @__PURE__ */ jsx84(Popup, { className: "k-menu-popup", children: popup })
|
|
6490
|
+
] });
|
|
6491
|
+
};
|
|
6492
|
+
SplitButton.states = states33;
|
|
6493
|
+
SplitButton.options = options30;
|
|
6494
|
+
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
6495
|
+
SplitButton.defaultProps = defaultProps28;
|
|
6496
|
+
var split_button_spec_default = SplitButton;
|
|
6497
|
+
|
|
6498
|
+
// src/toolbar/toolbar.spec.tsx
|
|
6499
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6500
|
+
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
6501
|
+
var states34 = [
|
|
6502
|
+
States.focus
|
|
6503
|
+
];
|
|
6504
|
+
var options31 = {
|
|
6473
6505
|
size: [Size.small, Size.medium, Size.large]
|
|
6474
6506
|
};
|
|
6475
|
-
var
|
|
6507
|
+
var defaultProps29 = {
|
|
6476
6508
|
size: Size.medium
|
|
6477
6509
|
};
|
|
6478
6510
|
var Toolbar = (props) => {
|
|
6479
6511
|
const {
|
|
6480
|
-
size =
|
|
6512
|
+
size = defaultProps29.size,
|
|
6481
6513
|
focus,
|
|
6482
6514
|
resizable,
|
|
6483
6515
|
...other
|
|
@@ -6487,7 +6519,7 @@ var Toolbar = (props) => {
|
|
|
6487
6519
|
const tempToolbarChildren = [];
|
|
6488
6520
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
6489
6521
|
tempToolbarChildren.push(
|
|
6490
|
-
/* @__PURE__ */
|
|
6522
|
+
/* @__PURE__ */ jsx85(
|
|
6491
6523
|
Button,
|
|
6492
6524
|
{
|
|
6493
6525
|
...child.props,
|
|
@@ -6498,7 +6530,7 @@ var Toolbar = (props) => {
|
|
|
6498
6530
|
);
|
|
6499
6531
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
6500
6532
|
tempToolbarChildren.push(
|
|
6501
|
-
/* @__PURE__ */
|
|
6533
|
+
/* @__PURE__ */ jsx85(
|
|
6502
6534
|
Button,
|
|
6503
6535
|
{
|
|
6504
6536
|
...child.props,
|
|
@@ -6509,7 +6541,7 @@ var Toolbar = (props) => {
|
|
|
6509
6541
|
);
|
|
6510
6542
|
} else if (child.type === Button) {
|
|
6511
6543
|
tempToolbarChildren.push(
|
|
6512
|
-
/* @__PURE__ */
|
|
6544
|
+
/* @__PURE__ */ jsx85(
|
|
6513
6545
|
Button,
|
|
6514
6546
|
{
|
|
6515
6547
|
...child.props,
|
|
@@ -6520,7 +6552,7 @@ var Toolbar = (props) => {
|
|
|
6520
6552
|
);
|
|
6521
6553
|
} else if (child.type === MenuButton) {
|
|
6522
6554
|
tempToolbarChildren.push(
|
|
6523
|
-
/* @__PURE__ */
|
|
6555
|
+
/* @__PURE__ */ jsx85(
|
|
6524
6556
|
MenuButton,
|
|
6525
6557
|
{
|
|
6526
6558
|
...child.props,
|
|
@@ -6531,7 +6563,7 @@ var Toolbar = (props) => {
|
|
|
6531
6563
|
);
|
|
6532
6564
|
} else if (child.type === split_button_spec_default) {
|
|
6533
6565
|
tempToolbarChildren.push(
|
|
6534
|
-
/* @__PURE__ */
|
|
6566
|
+
/* @__PURE__ */ jsx85(
|
|
6535
6567
|
split_button_spec_default,
|
|
6536
6568
|
{
|
|
6537
6569
|
...child.props,
|
|
@@ -6545,7 +6577,7 @@ var Toolbar = (props) => {
|
|
|
6545
6577
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
6546
6578
|
childrenArray.forEach((button, bindex) => {
|
|
6547
6579
|
buttonGroupItems.push(
|
|
6548
|
-
/* @__PURE__ */
|
|
6580
|
+
/* @__PURE__ */ jsx85(
|
|
6549
6581
|
Button,
|
|
6550
6582
|
{
|
|
6551
6583
|
...button.props,
|
|
@@ -6556,7 +6588,7 @@ var Toolbar = (props) => {
|
|
|
6556
6588
|
);
|
|
6557
6589
|
});
|
|
6558
6590
|
tempToolbarChildren.push(
|
|
6559
|
-
/* @__PURE__ */
|
|
6591
|
+
/* @__PURE__ */ jsx85(
|
|
6560
6592
|
ButtonGroup,
|
|
6561
6593
|
{
|
|
6562
6594
|
...child.props,
|
|
@@ -6568,7 +6600,7 @@ var Toolbar = (props) => {
|
|
|
6568
6600
|
);
|
|
6569
6601
|
} else if (child.type === Combobox) {
|
|
6570
6602
|
tempToolbarChildren.push(
|
|
6571
|
-
/* @__PURE__ */
|
|
6603
|
+
/* @__PURE__ */ jsx85(
|
|
6572
6604
|
Combobox,
|
|
6573
6605
|
{
|
|
6574
6606
|
...child.props,
|
|
@@ -6579,7 +6611,7 @@ var Toolbar = (props) => {
|
|
|
6579
6611
|
);
|
|
6580
6612
|
} else if (child.type === DropdownList) {
|
|
6581
6613
|
tempToolbarChildren.push(
|
|
6582
|
-
/* @__PURE__ */
|
|
6614
|
+
/* @__PURE__ */ jsx85(
|
|
6583
6615
|
DropdownList,
|
|
6584
6616
|
{
|
|
6585
6617
|
...child.props,
|
|
@@ -6590,7 +6622,7 @@ var Toolbar = (props) => {
|
|
|
6590
6622
|
);
|
|
6591
6623
|
} else if (child.type === ColorPicker) {
|
|
6592
6624
|
tempToolbarChildren.push(
|
|
6593
|
-
/* @__PURE__ */
|
|
6625
|
+
/* @__PURE__ */ jsx85(
|
|
6594
6626
|
ColorPicker,
|
|
6595
6627
|
{
|
|
6596
6628
|
...child.props,
|
|
@@ -6612,7 +6644,7 @@ var Toolbar = (props) => {
|
|
|
6612
6644
|
addUniqueToolClass(child, index);
|
|
6613
6645
|
});
|
|
6614
6646
|
}
|
|
6615
|
-
return /* @__PURE__ */
|
|
6647
|
+
return /* @__PURE__ */ jsx85(
|
|
6616
6648
|
"div",
|
|
6617
6649
|
{
|
|
6618
6650
|
...other,
|
|
@@ -6634,25 +6666,25 @@ var Toolbar = (props) => {
|
|
|
6634
6666
|
);
|
|
6635
6667
|
};
|
|
6636
6668
|
Toolbar.states = states34;
|
|
6637
|
-
Toolbar.options =
|
|
6669
|
+
Toolbar.options = options31;
|
|
6638
6670
|
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
6639
|
-
Toolbar.defaultProps =
|
|
6671
|
+
Toolbar.defaultProps = defaultProps29;
|
|
6640
6672
|
|
|
6641
6673
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
6642
|
-
import { jsx as
|
|
6674
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6643
6675
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
6644
6676
|
var states35 = [
|
|
6645
6677
|
States.focus
|
|
6646
6678
|
];
|
|
6647
|
-
var
|
|
6679
|
+
var options32 = {
|
|
6648
6680
|
size: [Size.small, Size.medium, Size.large]
|
|
6649
6681
|
};
|
|
6650
|
-
var
|
|
6682
|
+
var defaultProps30 = {
|
|
6651
6683
|
size: Size.medium
|
|
6652
6684
|
};
|
|
6653
6685
|
var ToolbarAngular = (props) => {
|
|
6654
6686
|
const {
|
|
6655
|
-
size =
|
|
6687
|
+
size = defaultProps30.size,
|
|
6656
6688
|
focus,
|
|
6657
6689
|
resizable,
|
|
6658
6690
|
...other
|
|
@@ -6662,7 +6694,7 @@ var ToolbarAngular = (props) => {
|
|
|
6662
6694
|
const tempToolbarChildren = [];
|
|
6663
6695
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
6664
6696
|
tempToolbarChildren.push(
|
|
6665
|
-
/* @__PURE__ */
|
|
6697
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6666
6698
|
Button,
|
|
6667
6699
|
{
|
|
6668
6700
|
...child.props,
|
|
@@ -6673,7 +6705,7 @@ var ToolbarAngular = (props) => {
|
|
|
6673
6705
|
);
|
|
6674
6706
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
6675
6707
|
tempToolbarChildren.push(
|
|
6676
|
-
/* @__PURE__ */
|
|
6708
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6677
6709
|
Button,
|
|
6678
6710
|
{
|
|
6679
6711
|
...child.props,
|
|
@@ -6684,7 +6716,7 @@ var ToolbarAngular = (props) => {
|
|
|
6684
6716
|
);
|
|
6685
6717
|
} else if (child.type === Button) {
|
|
6686
6718
|
tempToolbarChildren.push(
|
|
6687
|
-
/* @__PURE__ */
|
|
6719
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6688
6720
|
Button,
|
|
6689
6721
|
{
|
|
6690
6722
|
...child.props,
|
|
@@ -6695,7 +6727,7 @@ var ToolbarAngular = (props) => {
|
|
|
6695
6727
|
);
|
|
6696
6728
|
} else if (child.type === MenuButton) {
|
|
6697
6729
|
tempToolbarChildren.push(
|
|
6698
|
-
/* @__PURE__ */
|
|
6730
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6699
6731
|
MenuButton,
|
|
6700
6732
|
{
|
|
6701
6733
|
...child.props,
|
|
@@ -6706,7 +6738,7 @@ var ToolbarAngular = (props) => {
|
|
|
6706
6738
|
);
|
|
6707
6739
|
} else if (child.type === split_button_spec_default) {
|
|
6708
6740
|
tempToolbarChildren.push(
|
|
6709
|
-
/* @__PURE__ */
|
|
6741
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6710
6742
|
split_button_spec_default,
|
|
6711
6743
|
{
|
|
6712
6744
|
...child.props,
|
|
@@ -6720,7 +6752,7 @@ var ToolbarAngular = (props) => {
|
|
|
6720
6752
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
6721
6753
|
childrenArray.forEach((button, bindex) => {
|
|
6722
6754
|
buttonGroupItems.push(
|
|
6723
|
-
/* @__PURE__ */
|
|
6755
|
+
/* @__PURE__ */ jsx86(
|
|
6724
6756
|
Button,
|
|
6725
6757
|
{
|
|
6726
6758
|
...button.props,
|
|
@@ -6731,7 +6763,7 @@ var ToolbarAngular = (props) => {
|
|
|
6731
6763
|
);
|
|
6732
6764
|
});
|
|
6733
6765
|
tempToolbarChildren.push(
|
|
6734
|
-
/* @__PURE__ */
|
|
6766
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6735
6767
|
ButtonGroup,
|
|
6736
6768
|
{
|
|
6737
6769
|
...child.props,
|
|
@@ -6743,7 +6775,7 @@ var ToolbarAngular = (props) => {
|
|
|
6743
6775
|
);
|
|
6744
6776
|
} else if (child.type === Combobox) {
|
|
6745
6777
|
tempToolbarChildren.push(
|
|
6746
|
-
/* @__PURE__ */
|
|
6778
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6747
6779
|
Combobox,
|
|
6748
6780
|
{
|
|
6749
6781
|
...child.props,
|
|
@@ -6754,7 +6786,7 @@ var ToolbarAngular = (props) => {
|
|
|
6754
6786
|
);
|
|
6755
6787
|
} else if (child.type === DropdownList) {
|
|
6756
6788
|
tempToolbarChildren.push(
|
|
6757
|
-
/* @__PURE__ */
|
|
6789
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6758
6790
|
DropdownList,
|
|
6759
6791
|
{
|
|
6760
6792
|
...child.props,
|
|
@@ -6765,7 +6797,7 @@ var ToolbarAngular = (props) => {
|
|
|
6765
6797
|
);
|
|
6766
6798
|
} else if (child.type === ColorPicker) {
|
|
6767
6799
|
tempToolbarChildren.push(
|
|
6768
|
-
/* @__PURE__ */
|
|
6800
|
+
/* @__PURE__ */ jsx86("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx86(
|
|
6769
6801
|
ColorPicker,
|
|
6770
6802
|
{
|
|
6771
6803
|
...child.props,
|
|
@@ -6787,7 +6819,7 @@ var ToolbarAngular = (props) => {
|
|
|
6787
6819
|
addUniqueToolClass(child, index);
|
|
6788
6820
|
});
|
|
6789
6821
|
}
|
|
6790
|
-
return /* @__PURE__ */
|
|
6822
|
+
return /* @__PURE__ */ jsx86(
|
|
6791
6823
|
"div",
|
|
6792
6824
|
{
|
|
6793
6825
|
...other,
|
|
@@ -6809,27 +6841,27 @@ var ToolbarAngular = (props) => {
|
|
|
6809
6841
|
);
|
|
6810
6842
|
};
|
|
6811
6843
|
ToolbarAngular.states = states35;
|
|
6812
|
-
ToolbarAngular.options =
|
|
6844
|
+
ToolbarAngular.options = options32;
|
|
6813
6845
|
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
6814
|
-
ToolbarAngular.defaultProps =
|
|
6846
|
+
ToolbarAngular.defaultProps = defaultProps30;
|
|
6815
6847
|
|
|
6816
6848
|
// src/toolbar/toolbar-separator.tsx
|
|
6817
|
-
import { jsx as
|
|
6849
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
6818
6850
|
|
|
6819
6851
|
// src/toolbar/toolbar-item.spec.tsx
|
|
6820
|
-
import { jsx as
|
|
6852
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6821
6853
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
6822
6854
|
var states36 = [
|
|
6823
6855
|
States.focus
|
|
6824
6856
|
];
|
|
6825
|
-
var
|
|
6826
|
-
var
|
|
6857
|
+
var options33 = {};
|
|
6858
|
+
var defaultProps31 = {};
|
|
6827
6859
|
var ToolbarItem = (props) => {
|
|
6828
6860
|
const {
|
|
6829
6861
|
focus,
|
|
6830
6862
|
...other
|
|
6831
6863
|
} = props;
|
|
6832
|
-
return /* @__PURE__ */
|
|
6864
|
+
return /* @__PURE__ */ jsx88(
|
|
6833
6865
|
"div",
|
|
6834
6866
|
{
|
|
6835
6867
|
...other,
|
|
@@ -6845,147 +6877,442 @@ var ToolbarItem = (props) => {
|
|
|
6845
6877
|
);
|
|
6846
6878
|
};
|
|
6847
6879
|
ToolbarItem.states = states36;
|
|
6848
|
-
ToolbarItem.options =
|
|
6880
|
+
ToolbarItem.options = options33;
|
|
6849
6881
|
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
6850
|
-
ToolbarItem.defaultProps =
|
|
6882
|
+
ToolbarItem.defaultProps = defaultProps31;
|
|
6883
|
+
|
|
6884
|
+
// src/textbox/textbox.spec.tsx
|
|
6885
|
+
import { jsx as jsx89, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6886
|
+
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
6887
|
+
var states37 = [
|
|
6888
|
+
States.hover,
|
|
6889
|
+
States.focus,
|
|
6890
|
+
States.valid,
|
|
6891
|
+
States.invalid,
|
|
6892
|
+
States.required,
|
|
6893
|
+
States.disabled,
|
|
6894
|
+
States.loading,
|
|
6895
|
+
States.readonly
|
|
6896
|
+
];
|
|
6897
|
+
var options34 = {
|
|
6898
|
+
size: [Size.small, Size.medium, Size.large],
|
|
6899
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6900
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6901
|
+
};
|
|
6902
|
+
var defaultProps32 = {
|
|
6903
|
+
showClearButton: true,
|
|
6904
|
+
size: Input.defaultProps.size,
|
|
6905
|
+
rounded: Input.defaultProps.rounded,
|
|
6906
|
+
fillMode: Input.defaultProps.fillMode
|
|
6907
|
+
};
|
|
6908
|
+
var Textbox = (props) => {
|
|
6909
|
+
const {
|
|
6910
|
+
prefix,
|
|
6911
|
+
suffix,
|
|
6912
|
+
value,
|
|
6913
|
+
placeholder,
|
|
6914
|
+
size,
|
|
6915
|
+
rounded,
|
|
6916
|
+
fillMode,
|
|
6917
|
+
hover,
|
|
6918
|
+
focus,
|
|
6919
|
+
valid,
|
|
6920
|
+
invalid,
|
|
6921
|
+
required,
|
|
6922
|
+
loading,
|
|
6923
|
+
disabled,
|
|
6924
|
+
readonly,
|
|
6925
|
+
showClearButton = defaultProps32.showClearButton,
|
|
6926
|
+
...other
|
|
6927
|
+
} = props;
|
|
6928
|
+
return /* @__PURE__ */ jsxs39(
|
|
6929
|
+
Input,
|
|
6930
|
+
{
|
|
6931
|
+
...other,
|
|
6932
|
+
size,
|
|
6933
|
+
rounded,
|
|
6934
|
+
fillMode,
|
|
6935
|
+
hover,
|
|
6936
|
+
focus,
|
|
6937
|
+
valid,
|
|
6938
|
+
invalid,
|
|
6939
|
+
required,
|
|
6940
|
+
loading,
|
|
6941
|
+
disabled,
|
|
6942
|
+
readonly,
|
|
6943
|
+
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
6944
|
+
children: [
|
|
6945
|
+
/* @__PURE__ */ jsx89(InputPrefix, { children: prefix }),
|
|
6946
|
+
/* @__PURE__ */ jsx89(InputInnerInput, { placeholder, value }),
|
|
6947
|
+
/* @__PURE__ */ jsx89(
|
|
6948
|
+
InputValidationIcon,
|
|
6949
|
+
{
|
|
6950
|
+
valid,
|
|
6951
|
+
invalid,
|
|
6952
|
+
loading,
|
|
6953
|
+
disabled
|
|
6954
|
+
}
|
|
6955
|
+
),
|
|
6956
|
+
/* @__PURE__ */ jsx89(
|
|
6957
|
+
InputLoadingIcon,
|
|
6958
|
+
{
|
|
6959
|
+
loading,
|
|
6960
|
+
disabled
|
|
6961
|
+
}
|
|
6962
|
+
),
|
|
6963
|
+
showClearButton && /* @__PURE__ */ jsx89(
|
|
6964
|
+
InputClearValue,
|
|
6965
|
+
{
|
|
6966
|
+
loading,
|
|
6967
|
+
disabled,
|
|
6968
|
+
readonly,
|
|
6969
|
+
value
|
|
6970
|
+
}
|
|
6971
|
+
),
|
|
6972
|
+
/* @__PURE__ */ jsx89(InputSuffix, { children: suffix })
|
|
6973
|
+
]
|
|
6974
|
+
}
|
|
6975
|
+
);
|
|
6976
|
+
};
|
|
6977
|
+
Textbox.states = states37;
|
|
6978
|
+
Textbox.options = options34;
|
|
6979
|
+
Textbox.className = TEXTBOX_CLASSNAME;
|
|
6980
|
+
Textbox.defaultProps = defaultProps32;
|
|
6981
|
+
|
|
6982
|
+
// src/textbox/templates/textbox-normal.tsx
|
|
6983
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6984
|
+
|
|
6985
|
+
// src/textbox/templates/textbox-prefix.tsx
|
|
6986
|
+
import { jsx as jsx91, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6987
|
+
|
|
6988
|
+
// src/textbox/templates/textbox-suffix.tsx
|
|
6989
|
+
import { jsx as jsx92, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6990
|
+
|
|
6991
|
+
// src/chat/chat.spec.tsx
|
|
6992
|
+
import { Fragment as Fragment28, jsx as jsx93, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6993
|
+
var CHAT_CLASSNAME = "k-chat";
|
|
6994
|
+
var states38 = [];
|
|
6995
|
+
var options35 = {};
|
|
6996
|
+
var defaultOptions = {
|
|
6997
|
+
showToolbar: true,
|
|
6998
|
+
showMessageBox: true,
|
|
6999
|
+
showMoreButton: true
|
|
7000
|
+
};
|
|
7001
|
+
var Chat = (props) => {
|
|
7002
|
+
const {
|
|
7003
|
+
dir,
|
|
7004
|
+
showToolbar = defaultOptions.showToolbar,
|
|
7005
|
+
showMessageBox = defaultOptions.showMessageBox,
|
|
7006
|
+
showMoreButton = defaultOptions.showMoreButton,
|
|
7007
|
+
...other
|
|
7008
|
+
} = props;
|
|
7009
|
+
return /* @__PURE__ */ jsxs42(
|
|
7010
|
+
"div",
|
|
7011
|
+
{
|
|
7012
|
+
...other,
|
|
7013
|
+
className: classNames(
|
|
7014
|
+
CHAT_CLASSNAME,
|
|
7015
|
+
props.className
|
|
7016
|
+
),
|
|
7017
|
+
dir,
|
|
7018
|
+
children: [
|
|
7019
|
+
/* @__PURE__ */ jsx93("div", { className: "k-message-list k-avatars", children: /* @__PURE__ */ jsx93("div", { className: "k-message-list-content", children: props.children }) }),
|
|
7020
|
+
showMessageBox && /* @__PURE__ */ jsx93(
|
|
7021
|
+
Textbox,
|
|
7022
|
+
{
|
|
7023
|
+
className: "k-message-box",
|
|
7024
|
+
placeholder: "Type a message...",
|
|
7025
|
+
suffix: /* @__PURE__ */ jsxs42(Fragment28, { children: [
|
|
7026
|
+
showMoreButton && /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "more-horizontal" }),
|
|
7027
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "paper-plane", className: "k-chat-send" })
|
|
7028
|
+
] })
|
|
7029
|
+
}
|
|
7030
|
+
),
|
|
7031
|
+
showToolbar && /* @__PURE__ */ jsxs42(Toolbar, { className: "k-chat-toolbar", children: [
|
|
7032
|
+
/* @__PURE__ */ jsx93(Button, { className: "k-scroll-button k-scroll-button-left k-hidden", fillMode: "flat", rounded: null, size: null, icon: "chevron-left" }),
|
|
7033
|
+
/* @__PURE__ */ jsxs42("div", { className: "k-toolbar-group k-button-list", children: [
|
|
7034
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "arrow-rotate-cw" }),
|
|
7035
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "gear" }),
|
|
7036
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "wrench" }),
|
|
7037
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "plus" }),
|
|
7038
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "search" }),
|
|
7039
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "star" }),
|
|
7040
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "bell" }),
|
|
7041
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "question-circle" }),
|
|
7042
|
+
/* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "trash" })
|
|
7043
|
+
] }),
|
|
7044
|
+
/* @__PURE__ */ jsx93(Button, { className: "k-scroll-button k-scroll-button-right", fillMode: "flat", rounded: null, size: null, icon: "chevron-right" })
|
|
7045
|
+
] })
|
|
7046
|
+
]
|
|
7047
|
+
}
|
|
7048
|
+
);
|
|
7049
|
+
};
|
|
7050
|
+
Chat.states = states38;
|
|
7051
|
+
Chat.options = options35;
|
|
7052
|
+
Chat.className = CHAT_CLASSNAME;
|
|
7053
|
+
Chat.defaultOptions = defaultOptions;
|
|
7054
|
+
|
|
7055
|
+
// src/chat/chat-message.tsx
|
|
7056
|
+
import { jsx as jsx94, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
7057
|
+
var CHATMESSAGE_CLASSNAME = "k-message";
|
|
7058
|
+
var states39 = [
|
|
7059
|
+
States.selected
|
|
7060
|
+
];
|
|
7061
|
+
var options36 = {};
|
|
7062
|
+
var defaultProps33 = {
|
|
7063
|
+
time: "Thu Feb 08 2018",
|
|
7064
|
+
text: "How can I help you?",
|
|
7065
|
+
status: "Seen"
|
|
7066
|
+
};
|
|
7067
|
+
var ChatMessage = (props) => {
|
|
7068
|
+
const {
|
|
7069
|
+
time = defaultProps33.time,
|
|
7070
|
+
text = defaultProps33.text,
|
|
7071
|
+
status = defaultProps33.status,
|
|
7072
|
+
selected,
|
|
7073
|
+
...other
|
|
7074
|
+
} = props;
|
|
7075
|
+
return /* @__PURE__ */ jsxs43(
|
|
7076
|
+
"div",
|
|
7077
|
+
{
|
|
7078
|
+
...other,
|
|
7079
|
+
className: classNames(
|
|
7080
|
+
CHATMESSAGE_CLASSNAME,
|
|
7081
|
+
props.className,
|
|
7082
|
+
stateClassNames(CHATMESSAGE_CLASSNAME, { selected })
|
|
7083
|
+
),
|
|
7084
|
+
children: [
|
|
7085
|
+
/* @__PURE__ */ jsx94("time", { className: "k-message-time", children: time }),
|
|
7086
|
+
/* @__PURE__ */ jsx94("div", { className: "k-chat-bubble", children: text }),
|
|
7087
|
+
/* @__PURE__ */ jsx94("span", { className: "k-message-status", children: status })
|
|
7088
|
+
]
|
|
7089
|
+
}
|
|
7090
|
+
);
|
|
7091
|
+
};
|
|
7092
|
+
ChatMessage.states = states39;
|
|
7093
|
+
ChatMessage.options = options36;
|
|
7094
|
+
ChatMessage.className = CHATMESSAGE_CLASSNAME;
|
|
7095
|
+
ChatMessage.defaultProps = defaultProps33;
|
|
7096
|
+
|
|
7097
|
+
// src/avatar/avatar.spec.tsx
|
|
7098
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
7099
|
+
var AVATAR_CLASSNAME = `k-avatar`;
|
|
7100
|
+
var states40 = [
|
|
7101
|
+
States.hover,
|
|
7102
|
+
States.focus,
|
|
7103
|
+
States.active,
|
|
7104
|
+
States.selected,
|
|
7105
|
+
States.disabled
|
|
7106
|
+
];
|
|
7107
|
+
var options37 = {
|
|
7108
|
+
size: [Size.small, Size.medium, Size.large],
|
|
7109
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7110
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline],
|
|
7111
|
+
themeColor: [
|
|
7112
|
+
ThemeColor.base,
|
|
7113
|
+
ThemeColor.primary,
|
|
7114
|
+
ThemeColor.secondary,
|
|
7115
|
+
ThemeColor.tertiary,
|
|
7116
|
+
ThemeColor.success,
|
|
7117
|
+
ThemeColor.warning,
|
|
7118
|
+
ThemeColor.error,
|
|
7119
|
+
ThemeColor.info,
|
|
7120
|
+
ThemeColor.light,
|
|
7121
|
+
ThemeColor.dark,
|
|
7122
|
+
ThemeColor.inverse
|
|
7123
|
+
]
|
|
7124
|
+
};
|
|
7125
|
+
var defaultProps34 = {
|
|
7126
|
+
type: "text" /* TEXT */,
|
|
7127
|
+
size: Size.medium,
|
|
7128
|
+
rounded: Roundness.full,
|
|
7129
|
+
fillMode: FillMode.solid,
|
|
7130
|
+
themeColor: ThemeColor.primary,
|
|
7131
|
+
border: false
|
|
7132
|
+
};
|
|
7133
|
+
var Avatar = (props) => {
|
|
7134
|
+
const {
|
|
7135
|
+
size = defaultProps34.size,
|
|
7136
|
+
rounded = defaultProps34.rounded,
|
|
7137
|
+
fillMode = defaultProps34.fillMode,
|
|
7138
|
+
themeColor = defaultProps34.themeColor,
|
|
7139
|
+
type = defaultProps34.type,
|
|
7140
|
+
border = defaultProps34.border,
|
|
7141
|
+
...other
|
|
7142
|
+
} = props;
|
|
7143
|
+
return /* @__PURE__ */ jsx95(
|
|
7144
|
+
"div",
|
|
7145
|
+
{
|
|
7146
|
+
...other,
|
|
7147
|
+
className: classNames(
|
|
7148
|
+
props.className,
|
|
7149
|
+
AVATAR_CLASSNAME,
|
|
7150
|
+
optionClassNames(AVATAR_CLASSNAME, {
|
|
7151
|
+
size,
|
|
7152
|
+
rounded,
|
|
7153
|
+
fillMode,
|
|
7154
|
+
themeColor
|
|
7155
|
+
}),
|
|
7156
|
+
{
|
|
7157
|
+
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
7158
|
+
}
|
|
7159
|
+
),
|
|
7160
|
+
children: /* @__PURE__ */ jsx95("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
7161
|
+
}
|
|
7162
|
+
);
|
|
7163
|
+
};
|
|
7164
|
+
Avatar.states = states40;
|
|
7165
|
+
Avatar.options = options37;
|
|
7166
|
+
Avatar.className = AVATAR_CLASSNAME;
|
|
7167
|
+
Avatar.defaultProps = defaultProps34;
|
|
7168
|
+
|
|
7169
|
+
// src/avatar/templates/avatar-icon.tsx
|
|
7170
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
7171
|
+
|
|
7172
|
+
// src/avatar/templates/avatar-text.tsx
|
|
7173
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
7174
|
+
|
|
7175
|
+
// src/avatar/templates/avatar-image.tsx
|
|
7176
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
7177
|
+
|
|
7178
|
+
// src/chat/chat-message-group.tsx
|
|
7179
|
+
import { jsx as jsx99, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7180
|
+
var CHATMESSAGEGROUP_CLASSNAME = "k-message-group";
|
|
7181
|
+
var states41 = [
|
|
7182
|
+
States.selected
|
|
7183
|
+
];
|
|
7184
|
+
var options38 = {};
|
|
7185
|
+
var defaultProps35 = {
|
|
7186
|
+
author: "Bruv",
|
|
7187
|
+
avatar: "/packages/html/assets/avatar.jpg",
|
|
7188
|
+
alt: false
|
|
7189
|
+
};
|
|
7190
|
+
var ChatMessageGroup = (props) => {
|
|
7191
|
+
const {
|
|
7192
|
+
alt = defaultProps35.alt,
|
|
7193
|
+
author = defaultProps35.author,
|
|
7194
|
+
avatar = defaultProps35.avatar,
|
|
7195
|
+
selected,
|
|
7196
|
+
...other
|
|
7197
|
+
} = props;
|
|
7198
|
+
return /* @__PURE__ */ jsxs44(
|
|
7199
|
+
"div",
|
|
7200
|
+
{
|
|
7201
|
+
...other,
|
|
7202
|
+
className: classNames(
|
|
7203
|
+
CHATMESSAGEGROUP_CLASSNAME,
|
|
7204
|
+
props.className,
|
|
7205
|
+
stateClassNames(CHATMESSAGEGROUP_CLASSNAME, { selected }),
|
|
7206
|
+
{
|
|
7207
|
+
"k-alt": alt,
|
|
7208
|
+
"k-no-avatar": !avatar
|
|
7209
|
+
}
|
|
7210
|
+
),
|
|
7211
|
+
children: [
|
|
7212
|
+
author && /* @__PURE__ */ jsx99("p", { className: "k-author", children: author }),
|
|
7213
|
+
avatar && /* @__PURE__ */ jsx99(Avatar, { type: "image", children: /* @__PURE__ */ jsx99("img", { src: avatar }) }),
|
|
7214
|
+
props.children
|
|
7215
|
+
]
|
|
7216
|
+
}
|
|
7217
|
+
);
|
|
7218
|
+
};
|
|
7219
|
+
ChatMessageGroup.states = states41;
|
|
7220
|
+
ChatMessageGroup.options = options38;
|
|
7221
|
+
ChatMessageGroup.className = CHATMESSAGEGROUP_CLASSNAME;
|
|
7222
|
+
ChatMessageGroup.defaultProps = defaultProps35;
|
|
7223
|
+
|
|
7224
|
+
// src/chat/chat-quick-replies.tsx
|
|
7225
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
7226
|
+
var CHATQUICKREPLY_CLASSNAME = "k-quick-replies";
|
|
7227
|
+
var states42 = [];
|
|
7228
|
+
var options39 = {};
|
|
7229
|
+
var defaultOptions2 = {
|
|
7230
|
+
actions: ["Quick", "Reply", "Another quick", "Reply with different length"]
|
|
7231
|
+
};
|
|
7232
|
+
var ChatQuickReply = (props) => {
|
|
7233
|
+
const {
|
|
7234
|
+
actions = defaultOptions2.actions,
|
|
7235
|
+
...other
|
|
7236
|
+
} = props;
|
|
7237
|
+
const children = [];
|
|
7238
|
+
if (actions) {
|
|
7239
|
+
actions.map((action, index) => {
|
|
7240
|
+
children.push(
|
|
7241
|
+
/* @__PURE__ */ jsx100("span", { className: "k-quick-reply", children: action }, index)
|
|
7242
|
+
);
|
|
7243
|
+
});
|
|
7244
|
+
}
|
|
7245
|
+
return /* @__PURE__ */ jsx100(
|
|
7246
|
+
"div",
|
|
7247
|
+
{
|
|
7248
|
+
...other,
|
|
7249
|
+
className: classNames(
|
|
7250
|
+
CHATQUICKREPLY_CLASSNAME,
|
|
7251
|
+
props.className
|
|
7252
|
+
),
|
|
7253
|
+
children
|
|
7254
|
+
}
|
|
7255
|
+
);
|
|
7256
|
+
};
|
|
7257
|
+
ChatQuickReply.states = states42;
|
|
7258
|
+
ChatQuickReply.options = options39;
|
|
7259
|
+
ChatQuickReply.className = CHATQUICKREPLY_CLASSNAME;
|
|
7260
|
+
ChatQuickReply.defaultOptions = defaultOptions2;
|
|
6851
7261
|
|
|
6852
7262
|
// src/chat/tests/chat.tsx
|
|
6853
|
-
import { Fragment as
|
|
7263
|
+
import { Fragment as Fragment29, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6854
7264
|
var styles = `
|
|
6855
7265
|
/* needed for test */
|
|
6856
|
-
.k-chat .k-bubble {
|
|
7266
|
+
.k-chat .k-chat-bubble {
|
|
6857
7267
|
white-space: normal;
|
|
6858
7268
|
}
|
|
6859
7269
|
`;
|
|
6860
|
-
var chat_default = () => /* @__PURE__ */
|
|
6861
|
-
/* @__PURE__ */
|
|
6862
|
-
/* @__PURE__ */
|
|
6863
|
-
/* @__PURE__ */
|
|
6864
|
-
/* @__PURE__ */
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
/* @__PURE__ */
|
|
6878
|
-
/* @__PURE__ */
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
/* @__PURE__ */
|
|
6888
|
-
/* @__PURE__ */
|
|
6889
|
-
/* @__PURE__ */
|
|
6890
|
-
] })
|
|
6891
|
-
/* @__PURE__ */ jsx88("div", { className: "k-timestamp", children: "Card Deck" }),
|
|
6892
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-card-deck", children: [
|
|
6893
|
-
/* @__PURE__ */ jsx88("div", { className: "k-card", children: /* @__PURE__ */ jsxs39("div", { className: "k-card-body", children: [
|
|
6894
|
-
/* @__PURE__ */ jsx88("h5", { className: "k-card-title", children: "Card Title" }),
|
|
6895
|
-
/* @__PURE__ */ jsx88("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
6896
|
-
/* @__PURE__ */ jsx88("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
6897
|
-
] }) }),
|
|
6898
|
-
/* @__PURE__ */ jsx88("div", { className: "k-card", children: /* @__PURE__ */ jsxs39("div", { className: "k-card-body", children: [
|
|
6899
|
-
/* @__PURE__ */ jsx88("h5", { className: "k-card-title", children: "Card Title" }),
|
|
6900
|
-
/* @__PURE__ */ jsx88("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
6901
|
-
/* @__PURE__ */ jsx88("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
6902
|
-
] }) }),
|
|
6903
|
-
/* @__PURE__ */ jsx88("div", { className: "k-card", children: /* @__PURE__ */ jsxs39("div", { className: "k-card-body", children: [
|
|
6904
|
-
/* @__PURE__ */ jsx88("h5", { className: "k-card-title", children: "Card Title" }),
|
|
6905
|
-
/* @__PURE__ */ jsx88("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
6906
|
-
/* @__PURE__ */ jsx88("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
6907
|
-
] }) }),
|
|
6908
|
-
/* @__PURE__ */ jsx88("div", { className: "k-card", children: /* @__PURE__ */ jsxs39("div", { className: "k-card-body", children: [
|
|
6909
|
-
/* @__PURE__ */ jsx88("h5", { className: "k-card-title", children: "Card Title" }),
|
|
6910
|
-
/* @__PURE__ */ jsx88("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
6911
|
-
/* @__PURE__ */ jsx88("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
6912
|
-
] }) })
|
|
6913
|
-
] })
|
|
6914
|
-
] }) }),
|
|
6915
|
-
/* @__PURE__ */ jsx88(
|
|
6916
|
-
Textbox,
|
|
6917
|
-
{
|
|
6918
|
-
className: "k-message-box",
|
|
6919
|
-
placeholder: "Type a message...",
|
|
6920
|
-
suffix: /* @__PURE__ */ jsxs39(Fragment23, { children: [
|
|
6921
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "more-horizontal" }),
|
|
6922
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "pencil", className: "k-chat-send" })
|
|
6923
|
-
] })
|
|
6924
|
-
}
|
|
6925
|
-
),
|
|
6926
|
-
/* @__PURE__ */ jsxs39(Toolbar, { className: "k-chat-toolbar", children: [
|
|
6927
|
-
/* @__PURE__ */ jsx88(Button, { className: "k-scroll-button k-scroll-button-left k-hidden", fillMode: "flat", rounded: null, size: null, icon: "chevron-left" }),
|
|
6928
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-toolbar-group k-button-list", children: [
|
|
6929
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "arrow-rotate-cw" }),
|
|
6930
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "gear" }),
|
|
6931
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "wrench" }),
|
|
6932
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "plus" }),
|
|
6933
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "search" }),
|
|
6934
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "star" }),
|
|
6935
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "bell" }),
|
|
6936
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "question-circle" }),
|
|
6937
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "trash" })
|
|
6938
|
-
] }),
|
|
6939
|
-
/* @__PURE__ */ jsx88(Button, { className: "k-scroll-button k-scroll-button-right", fillMode: "flat", rounded: null, size: null, icon: "chevron-right" })
|
|
7270
|
+
var chat_default = () => /* @__PURE__ */ jsxs45(Fragment29, { children: [
|
|
7271
|
+
/* @__PURE__ */ jsx101("style", { children: styles }),
|
|
7272
|
+
/* @__PURE__ */ jsxs45("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
7273
|
+
/* @__PURE__ */ jsx101("section", { children: /* @__PURE__ */ jsxs45(Chat, { children: [
|
|
7274
|
+
/* @__PURE__ */ jsx101("div", { className: "k-timestamp", children: "Bubbles" }),
|
|
7275
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only" }) }),
|
|
7276
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { alt: true, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only" }) }),
|
|
7277
|
+
/* @__PURE__ */ jsx101("div", { className: "k-timestamp", children: "Quick Replies" }),
|
|
7278
|
+
/* @__PURE__ */ jsx101(ChatQuickReply, {}),
|
|
7279
|
+
/* @__PURE__ */ jsx101("div", { className: "k-timestamp", children: "Card Deck" }),
|
|
7280
|
+
/* @__PURE__ */ jsxs45(CardDeck, { children: [
|
|
7281
|
+
/* @__PURE__ */ jsx101(Card, { children: /* @__PURE__ */ jsxs45(CardBody, { children: [
|
|
7282
|
+
/* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
|
|
7283
|
+
/* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
7284
|
+
/* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
7285
|
+
] }) }),
|
|
7286
|
+
/* @__PURE__ */ jsx101(Card, { children: /* @__PURE__ */ jsxs45(CardBody, { children: [
|
|
7287
|
+
/* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
|
|
7288
|
+
/* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
7289
|
+
/* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
7290
|
+
] }) }),
|
|
7291
|
+
/* @__PURE__ */ jsx101(Card, { children: /* @__PURE__ */ jsxs45(CardBody, { children: [
|
|
7292
|
+
/* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
|
|
7293
|
+
/* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
7294
|
+
/* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
7295
|
+
] }) }),
|
|
7296
|
+
/* @__PURE__ */ jsx101(Card, { children: /* @__PURE__ */ jsxs45(CardBody, { children: [
|
|
7297
|
+
/* @__PURE__ */ jsx101("h5", { className: "k-card-title", children: "Card Title" }),
|
|
7298
|
+
/* @__PURE__ */ jsx101("h6", { className: "k-card-subtitle", children: "Card Subtitle" }),
|
|
7299
|
+
/* @__PURE__ */ jsx101("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." })
|
|
7300
|
+
] }) })
|
|
6940
7301
|
] })
|
|
6941
7302
|
] }) }),
|
|
6942
|
-
/* @__PURE__ */
|
|
6943
|
-
/* @__PURE__ */
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-message k-only", children: [
|
|
6956
|
-
/* @__PURE__ */ jsx88("time", { className: "k-message-time", children: "Thu Feb 08 2018" }),
|
|
6957
|
-
/* @__PURE__ */ jsx88("div", { className: "k-bubble", children: "How can I help you?" }),
|
|
6958
|
-
/* @__PURE__ */ jsx88("span", { className: "k-message-status", children: "Seen" })
|
|
6959
|
-
] })
|
|
6960
|
-
] }),
|
|
6961
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-message-group k-no-avatar", children: [
|
|
6962
|
-
/* @__PURE__ */ jsx88("p", { className: "k-author", children: "Bruv" }),
|
|
6963
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-message k-only", children: [
|
|
6964
|
-
/* @__PURE__ */ jsx88("time", { className: "k-message-time", children: "Thu Feb 08 2018" }),
|
|
6965
|
-
/* @__PURE__ */ jsx88("div", { className: "k-bubble", children: "Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior." }),
|
|
6966
|
-
/* @__PURE__ */ jsx88("span", { className: "k-message-status", children: "Seen" })
|
|
6967
|
-
] })
|
|
6968
|
-
] }),
|
|
6969
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-message-group k-alt k-no-avatar", children: [
|
|
6970
|
-
/* @__PURE__ */ jsx88("p", { className: "k-author", children: "Bruv" }),
|
|
6971
|
-
/* @__PURE__ */ jsxs39("div", { className: "k-message k-only", children: [
|
|
6972
|
-
/* @__PURE__ */ jsx88("time", { className: "k-message-time", children: "Thu Feb 08 2018" }),
|
|
6973
|
-
/* @__PURE__ */ jsx88("div", { className: "k-bubble", children: "Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior" }),
|
|
6974
|
-
/* @__PURE__ */ jsx88("span", { className: "k-message-status", children: "Seen" })
|
|
6975
|
-
] })
|
|
6976
|
-
] })
|
|
6977
|
-
] }) }),
|
|
6978
|
-
/* @__PURE__ */ jsx88(
|
|
6979
|
-
Textbox,
|
|
6980
|
-
{
|
|
6981
|
-
className: "k-message-box",
|
|
6982
|
-
placeholder: "Type a message...",
|
|
6983
|
-
suffix: /* @__PURE__ */ jsxs39(Fragment23, { children: [
|
|
6984
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "more-horizontal" }),
|
|
6985
|
-
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "pencil", className: "k-chat-send" })
|
|
6986
|
-
] })
|
|
6987
|
-
}
|
|
6988
|
-
)
|
|
7303
|
+
/* @__PURE__ */ jsx101("section", { children: /* @__PURE__ */ jsxs45(Chat, { showToolbar: false, children: [
|
|
7304
|
+
/* @__PURE__ */ jsx101("div", { className: "k-timestamp", children: "Bubbles without avatar" }),
|
|
7305
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { avatar: null, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only" }) }),
|
|
7306
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { alt: true, avatar: null, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only" }) }),
|
|
7307
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { avatar: null, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only", text: "Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior." }) }),
|
|
7308
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { alt: true, avatar: null, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only", text: "Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior" }) })
|
|
7309
|
+
] }) }),
|
|
7310
|
+
/* @__PURE__ */ jsx101("section", { children: /* @__PURE__ */ jsxs45(Chat, { showToolbar: false, children: [
|
|
7311
|
+
/* @__PURE__ */ jsx101("div", { className: "k-timestamp", children: "Messages with attachment list" }),
|
|
7312
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { avatar: null, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only", text: "A message with attachment" }) }),
|
|
7313
|
+
/* @__PURE__ */ jsx101("div", { className: "k-card-list", children: /* @__PURE__ */ jsx101(Card, { children: /* @__PURE__ */ jsx101(CardBody, { children: /* @__PURE__ */ jsx101("img", { width: "200px", height: "200px", src: "/packages/html/assets/sofia.jpg" }) }) }) }),
|
|
7314
|
+
/* @__PURE__ */ jsx101(ChatMessageGroup, { alt: true, avatar: null, children: /* @__PURE__ */ jsx101(ChatMessage, { className: "k-only", text: "Another message with attachment" }) }),
|
|
7315
|
+
/* @__PURE__ */ jsx101("div", { className: "k-card-list", children: /* @__PURE__ */ jsx101(Card, { children: /* @__PURE__ */ jsx101(CardBody, { children: /* @__PURE__ */ jsx101("img", { width: "200px", height: "200px", src: "/packages/html/assets/sofia.jpg" }) }) }) })
|
|
6989
7316
|
] }) })
|
|
6990
7317
|
] })
|
|
6991
7318
|
] });
|