@progress/kendo-themes-html 7.0.3-dev.0 → 7.0.3-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/badge/templates/badge-normal.js +4370 -0
- package/dist/cjs/badge/templates/icon-badge.js +4376 -0
- package/dist/cjs/badge/tests/badge-cutout-border.js +4421 -0
- package/dist/cjs/badge/tests/badge-misc.js +63 -73
- package/dist/cjs/badge/tests/badge-outline.js +4392 -0
- package/dist/cjs/badge/tests/badge-position-outline.js +4454 -0
- package/dist/cjs/badge/tests/badge-position-solid.js +4454 -0
- package/dist/cjs/badge/tests/badge-size.js +4235 -63
- package/dist/cjs/badge/tests/badge-solid.js +4392 -0
- package/dist/cjs/breadcrumb/breadcrumb-link.js +1 -0
- package/dist/cjs/breadcrumb/{tests → templates}/breadcrumb-adaptive.js +237 -260
- package/dist/cjs/breadcrumb/templates/breadcrumb-normal.js +4520 -0
- package/dist/cjs/breadcrumb/templates/breadcrumb-root-adaptive.js +4543 -0
- package/dist/cjs/breadcrumb/templates/breadcrumb-root.js +4542 -0
- package/dist/cjs/breadcrumb/tests/breadcrumb-items-rtl.js +5202 -0
- package/dist/cjs/breadcrumb/tests/breadcrumb-items.js +5202 -0
- package/dist/cjs/breadcrumb/tests/breadcrumb-rtl.js +469 -945
- package/dist/cjs/breadcrumb/tests/breadcrumb-size.js +55 -53
- package/dist/cjs/breadcrumb/tests/breadcrumb.js +405 -951
- package/dist/cjs/captcha/captcha.spec.js +29 -13
- package/dist/cjs/captcha/{tests/captcha-loading.js → templates/captcha-normal.js} +37 -24
- package/dist/cjs/captcha/tests/captcha-rtl.js +4987 -0
- package/dist/cjs/captcha/tests/captcha.js +41 -18
- package/dist/cjs/chat/chat.spec.js +4 -4
- package/dist/cjs/chat/templates/chat-normal.js +5142 -0
- package/dist/cjs/chat/templates/chat-with-options.js +5143 -0
- package/dist/cjs/chat/templates/chat-with-toolbar.js +5144 -0
- package/dist/cjs/chat/tests/chat-content-rtl.js +5455 -0
- package/dist/cjs/chat/tests/{chat-scrollable-deck.js → chat-content.js} +115 -37
- package/dist/cjs/chat/tests/chat-rtl.js +300 -472
- package/dist/cjs/chat/tests/chat.js +296 -484
- package/dist/cjs/dropzone/dropzone.spec.js +11 -9
- package/dist/cjs/dropzone/templates/dropzone-normal.js +4364 -0
- package/dist/cjs/dropzone/templates/dropzone-with-note.js +4370 -0
- package/dist/cjs/dropzone/tests/dropzone-states.js +4386 -0
- package/dist/cjs/dropzone/tests/dropzone.js +37 -19
- package/dist/cjs/editor/tests/editor-find-replace.js +225 -52
- package/dist/cjs/editor/tests/editor-image-editor.js +936 -15
- package/dist/cjs/editor/tests/editor-table-wizard.js +301 -128
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +529 -453
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +529 -453
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +594 -518
- package/dist/cjs/filemanager/tests/filemanager-listview.js +548 -472
- package/dist/cjs/filemanager/tests/filemanager-preview.js +647 -571
- package/dist/cjs/form/templates/form-horizontal.js +5920 -0
- package/dist/cjs/form/templates/form-normal.js +5919 -0
- package/dist/cjs/form/tests/form-field-dateinputs.js +895 -58
- package/dist/cjs/form/tests/form-field-dropdowns.js +394 -59
- package/dist/cjs/form/tests/form-field-fieldset.js +1003 -27
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +898 -238
- package/dist/cjs/form/tests/form-field-inputs.js +2304 -1664
- package/dist/cjs/form/tests/form-grid-layout.js +192 -22
- package/dist/cjs/form/tests/form-misc.js +874 -43
- package/dist/cjs/form/tests/form-sizes.js +680 -505
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +202 -29
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +684 -29
- package/dist/cjs/grid/tests/grid-angular.js +156 -146
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +279 -106
- package/dist/cjs/grid/tests/grid-editing-popup.js +187 -14
- package/dist/cjs/grid/tests/grid-rtl-angular.js +102 -92
- package/dist/cjs/grid/tests/grid-rtl.js +95 -85
- package/dist/cjs/grid/tests/grid-selection-aggregates.js +104 -94
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +480 -470
- package/dist/cjs/grid/tests/grid-size-sm.js +480 -470
- package/dist/cjs/grid/tests/grid-virtualization.js +418 -408
- package/dist/cjs/grid/tests/grid.js +120 -110
- package/dist/cjs/imageeditor/tests/imageeditor-crop-pane.js +217 -44
- package/dist/cjs/imageeditor/tests/imageeditor-resize-pane.js +205 -32
- package/dist/cjs/index.js +4482 -4153
- package/dist/cjs/loader/templates/loader-container-normal.js +250 -0
- package/dist/cjs/loader/templates/loader-converging.js +250 -0
- package/dist/cjs/loader/templates/loader-infinite.js +250 -0
- package/dist/cjs/loader/templates/loader-normal.js +250 -0
- package/dist/cjs/loader/tests/{loader-sizes.js → loader-colors.js} +32 -23
- package/dist/cjs/loader/tests/loader-container-colors.js +20 -25
- package/dist/cjs/loader/tests/loader-container-overlay.js +26 -13
- package/dist/cjs/loader/tests/loader-container.js +27 -20
- package/dist/cjs/loader/tests/loader.js +27 -46
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +28 -21
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +309 -125
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +420 -236
- package/dist/cjs/skeleton/index.js +28 -1
- package/dist/cjs/skeleton/templates/skeleton-circle.js +83 -0
- package/dist/cjs/skeleton/templates/skeleton-normal.js +77 -0
- package/dist/cjs/skeleton/templates/skeleton-rectangle.js +83 -0
- package/dist/cjs/skeleton/tests/skeleton.js +38 -14
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +370 -322
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +548 -368
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +450 -277
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +950 -777
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +308 -28
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +1119 -933
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +782 -734
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +924 -67
- package/dist/cjs/taskboard/tests/taskboard-pane.js +299 -126
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +673 -18
- package/dist/esm/badge/templates/badge-normal.js +4354 -0
- package/dist/esm/badge/templates/icon-badge.js +4360 -0
- package/dist/esm/badge/tests/badge-cutout-border.js +4405 -0
- package/dist/esm/badge/tests/badge-misc.js +62 -72
- package/dist/esm/badge/tests/badge-outline.js +4376 -0
- package/dist/esm/badge/tests/badge-position-outline.js +4438 -0
- package/dist/esm/badge/tests/badge-position-solid.js +4438 -0
- package/dist/esm/badge/tests/badge-size.js +4242 -64
- package/dist/esm/badge/tests/badge-solid.js +4376 -0
- package/dist/esm/breadcrumb/breadcrumb-link.js +1 -0
- package/dist/esm/breadcrumb/templates/breadcrumb-adaptive.js +4507 -0
- package/dist/esm/breadcrumb/templates/breadcrumb-normal.js +4504 -0
- package/dist/esm/breadcrumb/{tests/breadcrumb-adaptive.js → templates/breadcrumb-root-adaptive.js} +258 -261
- package/dist/esm/breadcrumb/templates/breadcrumb-root.js +4526 -0
- package/dist/esm/breadcrumb/tests/breadcrumb-items-rtl.js +5186 -0
- package/dist/esm/breadcrumb/tests/breadcrumb-items.js +5186 -0
- package/dist/esm/breadcrumb/tests/breadcrumb-rtl.js +470 -946
- package/dist/esm/breadcrumb/tests/breadcrumb-size.js +56 -54
- package/dist/esm/breadcrumb/tests/breadcrumb.js +406 -952
- package/dist/esm/captcha/captcha.spec.js +24 -8
- package/dist/esm/captcha/{tests/captcha-loading.js → templates/captcha-normal.js} +28 -15
- package/dist/esm/captcha/tests/captcha-rtl.js +4971 -0
- package/dist/esm/captcha/tests/captcha.js +36 -13
- package/dist/esm/chat/chat.spec.js +4 -4
- package/dist/esm/chat/templates/chat-normal.js +5126 -0
- package/dist/esm/chat/templates/chat-with-options.js +5127 -0
- package/dist/esm/chat/templates/chat-with-toolbar.js +5128 -0
- package/dist/esm/chat/tests/chat-content-rtl.js +5439 -0
- package/dist/esm/chat/tests/{chat-scrollable-deck.js → chat-content.js} +111 -33
- package/dist/esm/chat/tests/chat-rtl.js +300 -472
- package/dist/esm/chat/tests/chat.js +295 -483
- package/dist/esm/dropzone/dropzone.spec.js +11 -9
- package/dist/esm/dropzone/templates/dropzone-normal.js +4348 -0
- package/dist/esm/dropzone/templates/dropzone-with-note.js +4354 -0
- package/dist/esm/dropzone/tests/dropzone-states.js +4370 -0
- package/dist/esm/dropzone/tests/dropzone.js +34 -16
- package/dist/esm/editor/tests/editor-find-replace.js +225 -52
- package/dist/esm/editor/tests/editor-image-editor.js +936 -15
- package/dist/esm/editor/tests/editor-table-wizard.js +301 -128
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +529 -453
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +529 -453
- package/dist/esm/filemanager/tests/filemanager-gridview.js +594 -518
- package/dist/esm/filemanager/tests/filemanager-listview.js +548 -472
- package/dist/esm/filemanager/tests/filemanager-preview.js +647 -571
- package/dist/esm/form/templates/form-horizontal.js +5904 -0
- package/dist/esm/form/templates/form-normal.js +5903 -0
- package/dist/esm/form/tests/form-field-dateinputs.js +895 -58
- package/dist/esm/form/tests/form-field-dropdowns.js +395 -60
- package/dist/esm/form/tests/form-field-fieldset.js +1003 -27
- package/dist/esm/form/tests/form-field-inputs-rtl.js +898 -238
- package/dist/esm/form/tests/form-field-inputs.js +2317 -1677
- package/dist/esm/form/tests/form-grid-layout.js +192 -22
- package/dist/esm/form/tests/form-misc.js +874 -43
- package/dist/esm/form/tests/form-sizes.js +680 -505
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +202 -29
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +684 -29
- package/dist/esm/grid/tests/grid-angular.js +126 -116
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +279 -106
- package/dist/esm/grid/tests/grid-editing-popup.js +187 -14
- package/dist/esm/grid/tests/grid-rtl-angular.js +84 -74
- package/dist/esm/grid/tests/grid-rtl.js +80 -70
- package/dist/esm/grid/tests/grid-selection-aggregates.js +76 -66
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +383 -373
- package/dist/esm/grid/tests/grid-size-sm.js +383 -373
- package/dist/esm/grid/tests/grid-virtualization.js +366 -356
- package/dist/esm/grid/tests/grid.js +100 -90
- package/dist/esm/imageeditor/tests/imageeditor-crop-pane.js +217 -44
- package/dist/esm/imageeditor/tests/imageeditor-resize-pane.js +205 -32
- package/dist/esm/index.js +4462 -4133
- package/dist/esm/loader/templates/loader-container-normal.js +228 -0
- package/dist/esm/loader/templates/loader-converging.js +228 -0
- package/dist/esm/loader/templates/loader-infinite.js +228 -0
- package/dist/esm/loader/templates/loader-normal.js +228 -0
- package/dist/esm/loader/tests/{loader-sizes.js → loader-colors.js} +29 -20
- package/dist/esm/loader/tests/loader-container-colors.js +19 -24
- package/dist/esm/loader/tests/loader-container-overlay.js +24 -11
- package/dist/esm/loader/tests/loader-container.js +25 -18
- package/dist/esm/loader/tests/loader.js +27 -46
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +26 -19
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +309 -125
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +420 -236
- package/dist/esm/skeleton/index.js +28 -1
- package/dist/esm/skeleton/templates/skeleton-circle.js +61 -0
- package/dist/esm/skeleton/templates/skeleton-normal.js +55 -0
- package/dist/esm/skeleton/templates/skeleton-rectangle.js +61 -0
- package/dist/esm/skeleton/tests/skeleton.js +35 -11
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +370 -322
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +549 -369
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +451 -278
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +948 -775
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +309 -29
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +1124 -938
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +587 -539
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +925 -68
- package/dist/esm/taskboard/tests/taskboard-pane.js +299 -126
- package/dist/esm/treelist/tests/treelist-editing-popup.js +673 -18
- package/dist/types/badge/index.d.ts +2 -0
- package/dist/types/badge/templates/badge-normal.d.ts +1 -0
- package/dist/types/badge/templates/icon-badge.d.ts +1 -0
- package/dist/types/breadcrumb/breadcrumb-link.d.ts +4 -1
- package/dist/types/breadcrumb/index.d.ts +4 -0
- package/dist/types/breadcrumb/templates/breadcrumb-adaptive.d.ts +1 -0
- package/dist/types/breadcrumb/templates/breadcrumb-normal.d.ts +1 -0
- package/dist/types/breadcrumb/templates/breadcrumb-root-adaptive.d.ts +1 -0
- package/dist/types/breadcrumb/templates/breadcrumb-root.d.ts +1 -0
- package/dist/types/breadcrumb/tests/breadcrumb-items.d.ts +2 -0
- package/dist/types/captcha/index.d.ts +1 -0
- package/dist/types/captcha/templates/captcha-normal.d.ts +1 -0
- package/dist/types/captcha/tests/captcha-rtl.d.ts +2 -0
- package/dist/types/chat/index.d.ts +3 -0
- package/dist/types/chat/templates/chat-normal.d.ts +1 -0
- package/dist/types/chat/templates/chat-with-options.d.ts +1 -0
- package/dist/types/chat/templates/chat-with-toolbar.d.ts +1 -0
- package/dist/types/chat/tests/chat-content-rtl.d.ts +2 -0
- package/dist/types/chat/tests/chat-content.d.ts +2 -0
- package/dist/types/dropzone/dropzone.spec.d.ts +12 -3
- package/dist/types/dropzone/index.d.ts +2 -0
- package/dist/types/dropzone/templates/dropzone-normal.d.ts +1 -0
- package/dist/types/dropzone/templates/dropzone-with-note.d.ts +1 -0
- package/dist/types/dropzone/tests/dropzone-states.d.ts +2 -0
- package/dist/types/form/index.d.ts +2 -0
- package/dist/types/form/templates/form-horizontal.d.ts +1 -0
- package/dist/types/form/templates/form-normal.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/loader/index.d.ts +4 -0
- package/dist/types/loader/templates/loader-container-normal.d.ts +1 -0
- package/dist/types/loader/templates/loader-converging.d.ts +1 -0
- package/dist/types/loader/templates/loader-infinite.d.ts +1 -0
- package/dist/types/loader/templates/loader-normal.d.ts +1 -0
- package/dist/types/loader/tests/loader-colors.d.ts +2 -0
- package/dist/types/skeleton/index.d.ts +3 -0
- package/dist/types/skeleton/templates/skeleton-circle.d.ts +1 -0
- package/dist/types/skeleton/templates/skeleton-normal.d.ts +1 -0
- package/dist/types/skeleton/templates/skeleton-rectangle.d.ts +1 -0
- package/package.json +2 -2
- package/src/badge/index.ts +2 -0
- package/src/badge/templates/badge-normal.tsx +3 -0
- package/src/badge/templates/icon-badge.tsx +11 -0
- package/src/badge/tests/badge-cutout-border.tsx +91 -0
- package/src/badge/tests/badge-misc.tsx +73 -136
- package/src/badge/tests/badge-outline.tsx +29 -0
- package/src/badge/tests/badge-position-outline.tsx +171 -0
- package/src/badge/tests/{badge-position.tsx → badge-position-solid.tsx} +36 -36
- package/src/badge/tests/badge-size.tsx +28 -65
- package/src/badge/tests/badge-solid.tsx +29 -0
- package/src/breadcrumb/breadcrumb-link.tsx +2 -0
- package/src/breadcrumb/index.ts +4 -0
- package/src/breadcrumb/templates/breadcrumb-adaptive.tsx +37 -0
- package/src/breadcrumb/templates/breadcrumb-normal.tsx +36 -0
- package/src/breadcrumb/templates/breadcrumb-root-adaptive.tsx +45 -0
- package/src/breadcrumb/templates/breadcrumb-root.tsx +41 -0
- package/src/breadcrumb/tests/breadcrumb-items-rtl.tsx +194 -0
- package/src/breadcrumb/tests/breadcrumb-items.tsx +194 -0
- package/src/breadcrumb/tests/breadcrumb-rtl.tsx +107 -187
- package/src/breadcrumb/tests/breadcrumb-size.tsx +27 -78
- package/src/breadcrumb/tests/breadcrumb.tsx +59 -253
- package/src/captcha/captcha.spec.tsx +2 -2
- package/src/captcha/index.ts +1 -0
- package/src/captcha/templates/captcha-normal.tsx +5 -0
- package/src/captcha/tests/captcha-rtl.tsx +16 -0
- package/src/captcha/tests/captcha.tsx +9 -6
- package/src/chat/chat.spec.tsx +4 -4
- package/src/chat/index.ts +3 -0
- package/src/chat/templates/chat-normal.tsx +23 -0
- package/src/chat/templates/chat-with-options.tsx +25 -0
- package/src/chat/templates/chat-with-toolbar.tsx +26 -0
- package/src/chat/tests/chat-content-rtl.tsx +166 -0
- package/src/chat/tests/chat-content.tsx +166 -0
- package/src/chat/tests/chat-rtl.tsx +28 -40
- package/src/chat/tests/chat.tsx +22 -78
- package/src/dropzone/dropzone.spec.tsx +13 -5
- package/src/dropzone/index.ts +2 -0
- package/src/dropzone/templates/dropzone-normal.tsx +3 -0
- package/src/dropzone/templates/dropzone-with-note.tsx +7 -0
- package/src/dropzone/tests/dropzone-states.tsx +22 -0
- package/src/dropzone/tests/dropzone.tsx +11 -9
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/filemanager/tests/filemanager-contextmenu.tsx +3 -3
- package/src/filemanager/tests/filemanager-drag-hint.tsx +3 -3
- package/src/filemanager/tests/filemanager-gridview.tsx +5 -5
- package/src/filemanager/tests/filemanager-listview.tsx +5 -5
- package/src/filemanager/tests/filemanager-preview.tsx +7 -7
- package/src/form/index.ts +2 -0
- package/src/form/templates/form-horizontal.tsx +48 -0
- package/src/form/templates/form-normal.tsx +47 -0
- package/src/form/tests/form-field-dateinputs.tsx +9 -9
- package/src/form/tests/form-field-dropdowns.tsx +9 -9
- package/src/form/tests/form-field-fieldset.tsx +9 -7
- package/src/form/tests/form-field-inputs-rtl.tsx +10 -10
- package/src/form/tests/form-field-inputs.tsx +37 -69
- package/src/form/tests/form-grid-layout.tsx +3 -9
- package/src/form/tests/form-misc.tsx +7 -22
- package/src/form/tests/form-sizes.tsx +27 -59
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/grid/tests/grid-angular.tsx +2 -2
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/grid/tests/grid-rtl-angular.tsx +3 -3
- package/src/grid/tests/grid-rtl.tsx +3 -3
- package/src/grid/tests/grid-selection-aggregates.tsx +5 -5
- package/src/grid/tests/grid-size-sm-comp-sm.tsx +3 -3
- package/src/grid/tests/grid-size-sm.tsx +3 -3
- package/src/grid/tests/grid-virtualization.tsx +201 -201
- package/src/grid/tests/grid.tsx +3 -3
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -3
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +3 -3
- package/src/index.ts +1 -1
- package/src/loader/index.ts +4 -0
- package/src/loader/templates/loader-container-normal.tsx +5 -0
- package/src/loader/templates/loader-converging.tsx +5 -0
- package/src/loader/templates/loader-infinite.tsx +5 -0
- package/src/loader/templates/loader-normal.tsx +5 -0
- package/src/loader/tests/loader-colors.tsx +34 -0
- package/src/loader/tests/loader-container-colors.tsx +11 -52
- package/src/loader/tests/loader-container-overlay.tsx +5 -5
- package/src/loader/tests/loader-container.tsx +16 -35
- package/src/loader/tests/loader.tsx +15 -129
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/skeleton/index.tsx +3 -0
- package/src/skeleton/templates/skeleton-circle.tsx +7 -0
- package/src/skeleton/templates/skeleton-normal.tsx +3 -0
- package/src/skeleton/templates/skeleton-rectangle.tsx +7 -0
- package/src/skeleton/tests/skeleton.tsx +10 -10
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +11 -11
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +3 -3
- package/src/taskboard/tests/taskboard-pane.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/dist/cjs/badge/tests/badge-position.js +0 -250
- package/dist/cjs/badge/tests/badge.js +0 -357
- package/dist/esm/badge/tests/badge-position.js +0 -228
- package/dist/esm/badge/tests/badge.js +0 -335
- package/src/badge/tests/badge.tsx +0 -221
- package/src/breadcrumb/tests/breadcrumb-adaptive.tsx +0 -82
- package/src/captcha/tests/captcha-loading.tsx +0 -13
- package/src/chat/tests/chat-scrollable-deck.tsx +0 -64
- package/src/loader/tests/loader-sizes.tsx +0 -54
- /package/dist/types/badge/tests/{badge-position.d.ts → badge-cutout-border.d.ts} +0 -0
- /package/dist/types/badge/tests/{badge.d.ts → badge-outline.d.ts} +0 -0
- /package/dist/types/{breadcrumb/tests/breadcrumb-adaptive.d.ts → badge/tests/badge-position-outline.d.ts} +0 -0
- /package/dist/types/{captcha/tests/captcha-loading.d.ts → badge/tests/badge-position-solid.d.ts} +0 -0
- /package/dist/types/{chat/tests/chat-scrollable-deck.d.ts → badge/tests/badge-solid.d.ts} +0 -0
- /package/dist/types/{loader/tests/loader-sizes.d.ts → breadcrumb/tests/breadcrumb-items-rtl.d.ts} +0 -0
|
@@ -159,6 +159,23 @@ Breadcrumb.defaultProps = defaultProps;
|
|
|
159
159
|
|
|
160
160
|
// src/breadcrumb/breadcrumb-root-item-container.tsx
|
|
161
161
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
162
|
+
var BREADCRUMBROOTITEMCONTAINER_CLASSNAME = `k-breadcrumb-root-item-container`;
|
|
163
|
+
var BreadcrumbRootItemContainer = (props) => {
|
|
164
|
+
const {
|
|
165
|
+
...other
|
|
166
|
+
} = props;
|
|
167
|
+
return /* @__PURE__ */ jsx2(
|
|
168
|
+
"ol",
|
|
169
|
+
{
|
|
170
|
+
...other,
|
|
171
|
+
className: classNames(
|
|
172
|
+
props.className,
|
|
173
|
+
BREADCRUMBROOTITEMCONTAINER_CLASSNAME
|
|
174
|
+
),
|
|
175
|
+
children: props.children
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
};
|
|
162
179
|
|
|
163
180
|
// src/breadcrumb/breadcrumb-input-container.tsx
|
|
164
181
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
@@ -258,9 +275,29 @@ var BreadcrumbLink = (props) => {
|
|
|
258
275
|
}
|
|
259
276
|
);
|
|
260
277
|
};
|
|
278
|
+
BreadcrumbLink.states = states2;
|
|
261
279
|
|
|
262
280
|
// src/breadcrumb/breadcrumb-item-text.tsx
|
|
263
281
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
282
|
+
var BREADCRUMBITEMTEXT_CLASSNAME = `k-breadcrumb-item-text`;
|
|
283
|
+
var BreadcrumbItemText = (props) => {
|
|
284
|
+
const {
|
|
285
|
+
text,
|
|
286
|
+
...other
|
|
287
|
+
} = props;
|
|
288
|
+
const textOrChildren = text ? text : props.children;
|
|
289
|
+
return /* @__PURE__ */ jsx7(
|
|
290
|
+
"span",
|
|
291
|
+
{
|
|
292
|
+
...other,
|
|
293
|
+
className: classNames(
|
|
294
|
+
props.className,
|
|
295
|
+
BREADCRUMBITEMTEXT_CLASSNAME
|
|
296
|
+
),
|
|
297
|
+
children: textOrChildren
|
|
298
|
+
}
|
|
299
|
+
);
|
|
300
|
+
};
|
|
264
301
|
|
|
265
302
|
// src/icon/font-icon.spec.tsx
|
|
266
303
|
import { Fragment, jsx as jsx8 } from "react/jsx-runtime";
|
|
@@ -4459,8 +4496,47 @@ Icon.states = states5;
|
|
|
4459
4496
|
Icon.options = options4;
|
|
4460
4497
|
Icon.defaultProps = defaultProps5;
|
|
4461
4498
|
|
|
4499
|
+
// src/breadcrumb/templates/breadcrumb-normal.tsx
|
|
4500
|
+
import { jsx as jsx11, jsxs } from "react/jsx-runtime";
|
|
4501
|
+
|
|
4502
|
+
// src/breadcrumb/templates/breadcrumb-adaptive.tsx
|
|
4503
|
+
import { jsx as jsx12, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
4504
|
+
|
|
4505
|
+
// src/breadcrumb/templates/breadcrumb-root.tsx
|
|
4506
|
+
import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4507
|
+
var BreadcrumbRoot = ({ collapsing, ...other }) => /* @__PURE__ */ jsx13(
|
|
4508
|
+
Breadcrumb,
|
|
4509
|
+
{
|
|
4510
|
+
collapsing,
|
|
4511
|
+
children: /* @__PURE__ */ jsxs3(Fragment4, { children: [
|
|
4512
|
+
/* @__PURE__ */ jsx13(BreadcrumbRootItemContainer, { children: /* @__PURE__ */ jsx13(BreadcrumbItem, { root: true, children: /* @__PURE__ */ jsxs3(BreadcrumbLink, { root: true, icontext: true, children: [
|
|
4513
|
+
/* @__PURE__ */ jsx13(Icon, { icon: "home" }),
|
|
4514
|
+
/* @__PURE__ */ jsx13(BreadcrumbItemText, { text: "Start item" })
|
|
4515
|
+
] }) }) }),
|
|
4516
|
+
/* @__PURE__ */ jsxs3(BreadcrumbContainer, { collapsing, children: [
|
|
4517
|
+
/* @__PURE__ */ jsxs3(BreadcrumbItem, { children: [
|
|
4518
|
+
/* @__PURE__ */ jsx13(Icon, { className: "k-breadcrumb-delimiter-icon", icon: "chevron-right", size: "xsmall" }),
|
|
4519
|
+
/* @__PURE__ */ jsx13(BreadcrumbLink, { children: /* @__PURE__ */ jsx13(BreadcrumbItemText, { text: "Item 01" }) })
|
|
4520
|
+
] }),
|
|
4521
|
+
/* @__PURE__ */ jsxs3(BreadcrumbItem, { children: [
|
|
4522
|
+
/* @__PURE__ */ jsx13(Icon, { className: "k-breadcrumb-delimiter-icon", icon: "chevron-right", size: "xsmall" }),
|
|
4523
|
+
/* @__PURE__ */ jsx13(BreadcrumbLink, { children: /* @__PURE__ */ jsx13(BreadcrumbItemText, { text: "Item 02" }) })
|
|
4524
|
+
] }),
|
|
4525
|
+
/* @__PURE__ */ jsxs3(BreadcrumbItem, { last: true, children: [
|
|
4526
|
+
/* @__PURE__ */ jsx13(Icon, { className: "k-breadcrumb-delimiter-icon", icon: "chevron-right", size: "xsmall" }),
|
|
4527
|
+
/* @__PURE__ */ jsx13(BreadcrumbLink, { children: /* @__PURE__ */ jsx13(BreadcrumbItemText, { text: "Item 03" }) })
|
|
4528
|
+
] })
|
|
4529
|
+
] })
|
|
4530
|
+
] }),
|
|
4531
|
+
...other
|
|
4532
|
+
}
|
|
4533
|
+
);
|
|
4534
|
+
|
|
4535
|
+
// src/breadcrumb/templates/breadcrumb-root-adaptive.tsx
|
|
4536
|
+
import { Fragment as Fragment5, jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4537
|
+
|
|
4462
4538
|
// src/button/button.spec.tsx
|
|
4463
|
-
import { Fragment as
|
|
4539
|
+
import { Fragment as Fragment6, jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4464
4540
|
var BUTTON_CLASSNAME = `k-button`;
|
|
4465
4541
|
var states6 = [
|
|
4466
4542
|
States.hover,
|
|
@@ -4515,7 +4591,7 @@ var Button = (props) => {
|
|
|
4515
4591
|
} = props;
|
|
4516
4592
|
const hasIcon = icon !== void 0;
|
|
4517
4593
|
const hasChildren = props.children !== void 0;
|
|
4518
|
-
return /* @__PURE__ */
|
|
4594
|
+
return /* @__PURE__ */ jsxs5(
|
|
4519
4595
|
"button",
|
|
4520
4596
|
{
|
|
4521
4597
|
...other,
|
|
@@ -4540,18 +4616,18 @@ var Button = (props) => {
|
|
|
4540
4616
|
}
|
|
4541
4617
|
),
|
|
4542
4618
|
children: [
|
|
4543
|
-
icon && /* @__PURE__ */
|
|
4619
|
+
icon && /* @__PURE__ */ jsx15(
|
|
4544
4620
|
Icon,
|
|
4545
4621
|
{
|
|
4546
4622
|
className: classNames(iconClassName, "k-button-icon"),
|
|
4547
4623
|
icon
|
|
4548
4624
|
}
|
|
4549
4625
|
),
|
|
4550
|
-
text ? /* @__PURE__ */
|
|
4551
|
-
text && /* @__PURE__ */
|
|
4626
|
+
text ? /* @__PURE__ */ jsxs5(Fragment6, { children: [
|
|
4627
|
+
text && /* @__PURE__ */ jsx15("span", { className: "k-button-text", children: text }),
|
|
4552
4628
|
props.children
|
|
4553
|
-
] }) : props.children && /* @__PURE__ */
|
|
4554
|
-
showArrow && /* @__PURE__ */
|
|
4629
|
+
] }) : props.children && /* @__PURE__ */ jsx15("span", { className: "k-button-text", children: props.children }),
|
|
4630
|
+
showArrow && /* @__PURE__ */ jsx15("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx15(Icon, { icon: arrowIconName }) })
|
|
4555
4631
|
]
|
|
4556
4632
|
}
|
|
4557
4633
|
);
|
|
@@ -4562,16 +4638,16 @@ Button.className = BUTTON_CLASSNAME;
|
|
|
4562
4638
|
Button.defaultProps = defaultProps6;
|
|
4563
4639
|
|
|
4564
4640
|
// src/button/templates/icon-button.tsx
|
|
4565
|
-
import { jsx as
|
|
4641
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4566
4642
|
|
|
4567
4643
|
// src/button/templates/icon-text-button.tsx
|
|
4568
|
-
import { jsx as
|
|
4644
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4569
4645
|
|
|
4570
4646
|
// src/button/templates/text-button.tsx
|
|
4571
|
-
import { jsx as
|
|
4647
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4572
4648
|
|
|
4573
4649
|
// src/button-group/button-group.spec.tsx
|
|
4574
|
-
import { jsx as
|
|
4650
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
4575
4651
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4576
4652
|
var states7 = [
|
|
4577
4653
|
States.disabled
|
|
@@ -4589,7 +4665,7 @@ var ButtonGroup = (props) => {
|
|
|
4589
4665
|
stretched,
|
|
4590
4666
|
...other
|
|
4591
4667
|
} = props;
|
|
4592
|
-
return /* @__PURE__ */
|
|
4668
|
+
return /* @__PURE__ */ jsx19(
|
|
4593
4669
|
"div",
|
|
4594
4670
|
{
|
|
4595
4671
|
...other,
|
|
@@ -4616,19 +4692,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
4616
4692
|
ButtonGroup.defaultProps = defaultProps7;
|
|
4617
4693
|
|
|
4618
4694
|
// src/button-group/templates/icon-button-group.tsx
|
|
4619
|
-
import { jsx as
|
|
4695
|
+
import { jsx as jsx20, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4620
4696
|
|
|
4621
4697
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
4622
|
-
import { jsx as
|
|
4698
|
+
import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4623
4699
|
|
|
4624
4700
|
// src/button-group/templates/text-button-group.tsx
|
|
4625
|
-
import { jsx as
|
|
4701
|
+
import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4626
4702
|
|
|
4627
4703
|
// src/button-group/templates/mixed-button-group.tsx
|
|
4628
|
-
import { jsx as
|
|
4704
|
+
import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4629
4705
|
|
|
4630
4706
|
// src/input/input.spec.tsx
|
|
4631
|
-
import { jsx as
|
|
4707
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4632
4708
|
var INPUT_CLASSNAME = `k-input`;
|
|
4633
4709
|
var states8 = [
|
|
4634
4710
|
States.hover,
|
|
@@ -4664,7 +4740,7 @@ var Input = (props) => {
|
|
|
4664
4740
|
fillMode = defaultProps8.fillMode,
|
|
4665
4741
|
...other
|
|
4666
4742
|
} = props;
|
|
4667
|
-
return /* @__PURE__ */
|
|
4743
|
+
return /* @__PURE__ */ jsx24(
|
|
4668
4744
|
"span",
|
|
4669
4745
|
{
|
|
4670
4746
|
...other,
|
|
@@ -4683,7 +4759,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4683
4759
|
Input.defaultProps = defaultProps8;
|
|
4684
4760
|
|
|
4685
4761
|
// src/input/picker.spec.tsx
|
|
4686
|
-
import { jsx as
|
|
4762
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4687
4763
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4688
4764
|
var pickerStates = [
|
|
4689
4765
|
States.hover,
|
|
@@ -4719,7 +4795,7 @@ var Picker = (props) => {
|
|
|
4719
4795
|
fillMode = defaultProps9.fillMode,
|
|
4720
4796
|
...other
|
|
4721
4797
|
} = props;
|
|
4722
|
-
return /* @__PURE__ */
|
|
4798
|
+
return /* @__PURE__ */ jsx25(
|
|
4723
4799
|
"span",
|
|
4724
4800
|
{
|
|
4725
4801
|
...other,
|
|
@@ -4739,7 +4815,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4739
4815
|
Picker.defaultProps = defaultProps9;
|
|
4740
4816
|
|
|
4741
4817
|
// src/input/input-clear-value.tsx
|
|
4742
|
-
import { Fragment as
|
|
4818
|
+
import { Fragment as Fragment7, jsx as jsx26 } from "react/jsx-runtime";
|
|
4743
4819
|
var className = `k-clear-value`;
|
|
4744
4820
|
var states9 = [
|
|
4745
4821
|
States.disabled,
|
|
@@ -4755,16 +4831,16 @@ var InputClearValue = (props) => {
|
|
|
4755
4831
|
value
|
|
4756
4832
|
} = props;
|
|
4757
4833
|
if (disabled || readonly || loading || !value) {
|
|
4758
|
-
return /* @__PURE__ */
|
|
4834
|
+
return /* @__PURE__ */ jsx26(Fragment7, {});
|
|
4759
4835
|
}
|
|
4760
|
-
return /* @__PURE__ */
|
|
4836
|
+
return /* @__PURE__ */ jsx26("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx26(Icon, { icon: "x" }) });
|
|
4761
4837
|
};
|
|
4762
4838
|
InputClearValue.states = states9;
|
|
4763
4839
|
InputClearValue.options = options8;
|
|
4764
4840
|
InputClearValue.className = className;
|
|
4765
4841
|
|
|
4766
4842
|
// src/input/input-inner-input.tsx
|
|
4767
|
-
import { jsx as
|
|
4843
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4768
4844
|
var className2 = `k-input-inner`;
|
|
4769
4845
|
var states10 = [];
|
|
4770
4846
|
var options9 = {};
|
|
@@ -4782,7 +4858,7 @@ var InputInnerInput = (props) => {
|
|
|
4782
4858
|
autocomplete = defaultProps10.autocomplete,
|
|
4783
4859
|
...other
|
|
4784
4860
|
} = props;
|
|
4785
|
-
return /* @__PURE__ */
|
|
4861
|
+
return /* @__PURE__ */ jsx27(
|
|
4786
4862
|
"input",
|
|
4787
4863
|
{
|
|
4788
4864
|
...other,
|
|
@@ -4799,7 +4875,7 @@ InputInnerInput.options = options9;
|
|
|
4799
4875
|
InputInnerInput.className = className2;
|
|
4800
4876
|
|
|
4801
4877
|
// src/input/input-inner-span.tsx
|
|
4802
|
-
import { jsx as
|
|
4878
|
+
import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4803
4879
|
var className3 = `k-input-inner`;
|
|
4804
4880
|
var states11 = [];
|
|
4805
4881
|
var options10 = {};
|
|
@@ -4812,16 +4888,16 @@ var InputInnerSpan = (props) => {
|
|
|
4812
4888
|
valueIconName,
|
|
4813
4889
|
...other
|
|
4814
4890
|
} = props;
|
|
4815
|
-
return /* @__PURE__ */
|
|
4891
|
+
return /* @__PURE__ */ jsxs10(
|
|
4816
4892
|
"span",
|
|
4817
4893
|
{
|
|
4818
4894
|
...other,
|
|
4819
4895
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4820
4896
|
children: [
|
|
4821
4897
|
valueIcon,
|
|
4822
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4898
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx28(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4823
4899
|
showValue && !value && placeholder,
|
|
4824
|
-
showValue && value && /* @__PURE__ */
|
|
4900
|
+
showValue && value && /* @__PURE__ */ jsx28("span", { className: "k-input-value-text", children: value })
|
|
4825
4901
|
]
|
|
4826
4902
|
}
|
|
4827
4903
|
);
|
|
@@ -4831,7 +4907,7 @@ InputInnerSpan.options = options10;
|
|
|
4831
4907
|
InputInnerSpan.className = className3;
|
|
4832
4908
|
|
|
4833
4909
|
// src/input/input-inner-textarea.tsx
|
|
4834
|
-
import { jsx as
|
|
4910
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
4835
4911
|
var defaultProps11 = {
|
|
4836
4912
|
value: "",
|
|
4837
4913
|
placeholder: ""
|
|
@@ -4846,7 +4922,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4846
4922
|
rows,
|
|
4847
4923
|
...other
|
|
4848
4924
|
} = props;
|
|
4849
|
-
return /* @__PURE__ */
|
|
4925
|
+
return /* @__PURE__ */ jsx29(
|
|
4850
4926
|
"textarea",
|
|
4851
4927
|
{
|
|
4852
4928
|
...other,
|
|
@@ -4862,7 +4938,7 @@ InputInnerTextarea.options = options11;
|
|
|
4862
4938
|
InputInnerTextarea.className = className4;
|
|
4863
4939
|
|
|
4864
4940
|
// src/input/input-loading-icon.tsx
|
|
4865
|
-
import { Fragment as
|
|
4941
|
+
import { Fragment as Fragment8, jsx as jsx30 } from "react/jsx-runtime";
|
|
4866
4942
|
var className5 = `k-input-loading-icon`;
|
|
4867
4943
|
var states13 = [
|
|
4868
4944
|
States.disabled,
|
|
@@ -4874,13 +4950,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4874
4950
|
loading
|
|
4875
4951
|
} = props;
|
|
4876
4952
|
if (disabled || !loading) {
|
|
4877
|
-
return /* @__PURE__ */
|
|
4953
|
+
return /* @__PURE__ */ jsx30(Fragment8, {});
|
|
4878
4954
|
}
|
|
4879
|
-
return /* @__PURE__ */
|
|
4955
|
+
return /* @__PURE__ */ jsx30("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4880
4956
|
};
|
|
4881
4957
|
|
|
4882
4958
|
// src/input/input-validation-icon.tsx
|
|
4883
|
-
import { Fragment as
|
|
4959
|
+
import { Fragment as Fragment9, jsx as jsx31 } from "react/jsx-runtime";
|
|
4884
4960
|
var className6 = `k-input-validation-icon`;
|
|
4885
4961
|
var states14 = [
|
|
4886
4962
|
States.valid,
|
|
@@ -4899,39 +4975,39 @@ var InputValidationIcon = (props) => {
|
|
|
4899
4975
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4900
4976
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4901
4977
|
if (disabled || loading || !renderValidationIcon) {
|
|
4902
|
-
return /* @__PURE__ */
|
|
4978
|
+
return /* @__PURE__ */ jsx31(Fragment9, {});
|
|
4903
4979
|
}
|
|
4904
|
-
return /* @__PURE__ */
|
|
4980
|
+
return /* @__PURE__ */ jsx31(Icon, { className: classNames(className6), icon: iconName });
|
|
4905
4981
|
};
|
|
4906
4982
|
InputValidationIcon.states = states14;
|
|
4907
4983
|
InputValidationIcon.options = options12;
|
|
4908
4984
|
InputValidationIcon.className = className6;
|
|
4909
4985
|
|
|
4910
4986
|
// src/input/input-prefix.tsx
|
|
4911
|
-
import { Fragment as
|
|
4987
|
+
import { Fragment as Fragment10, jsx as jsx32 } from "react/jsx-runtime";
|
|
4912
4988
|
var className7 = `k-input-prefix`;
|
|
4913
4989
|
var InputPrefix = (props) => {
|
|
4914
4990
|
if (!props.children) {
|
|
4915
|
-
return /* @__PURE__ */
|
|
4991
|
+
return /* @__PURE__ */ jsx32(Fragment10, {});
|
|
4916
4992
|
}
|
|
4917
|
-
return /* @__PURE__ */
|
|
4993
|
+
return /* @__PURE__ */ jsx32("span", { className: classNames(className7, props.className), children: props.children });
|
|
4918
4994
|
};
|
|
4919
4995
|
|
|
4920
4996
|
// src/input/input-suffix.tsx
|
|
4921
|
-
import { Fragment as
|
|
4997
|
+
import { Fragment as Fragment11, jsx as jsx33 } from "react/jsx-runtime";
|
|
4922
4998
|
var className8 = `k-input-suffix`;
|
|
4923
4999
|
var InputSuffix = (props) => {
|
|
4924
5000
|
if (!props.children) {
|
|
4925
|
-
return /* @__PURE__ */
|
|
5001
|
+
return /* @__PURE__ */ jsx33(Fragment11, {});
|
|
4926
5002
|
}
|
|
4927
|
-
return /* @__PURE__ */
|
|
5003
|
+
return /* @__PURE__ */ jsx33("span", { className: classNames(className8, props.className), children: props.children });
|
|
4928
5004
|
};
|
|
4929
5005
|
|
|
4930
5006
|
// src/input/input-separator.tsx
|
|
4931
|
-
import { jsx as
|
|
5007
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
4932
5008
|
|
|
4933
5009
|
// src/color-preview/color-preview.tsx
|
|
4934
|
-
import { jsx as
|
|
5010
|
+
import { jsx as jsx35, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
4935
5011
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
4936
5012
|
var states15 = [];
|
|
4937
5013
|
var options13 = {};
|
|
@@ -4941,7 +5017,7 @@ var ColorPreview = (props) => {
|
|
|
4941
5017
|
iconName,
|
|
4942
5018
|
...other
|
|
4943
5019
|
} = props;
|
|
4944
|
-
return /* @__PURE__ */
|
|
5020
|
+
return /* @__PURE__ */ jsxs11(
|
|
4945
5021
|
"span",
|
|
4946
5022
|
{
|
|
4947
5023
|
...other,
|
|
@@ -4954,8 +5030,8 @@ var ColorPreview = (props) => {
|
|
|
4954
5030
|
}
|
|
4955
5031
|
),
|
|
4956
5032
|
children: [
|
|
4957
|
-
iconName && /* @__PURE__ */
|
|
4958
|
-
/* @__PURE__ */
|
|
5033
|
+
iconName && /* @__PURE__ */ jsx35(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5034
|
+
/* @__PURE__ */ jsx35(
|
|
4959
5035
|
"span",
|
|
4960
5036
|
{
|
|
4961
5037
|
className: "k-color-preview-mask",
|
|
@@ -4971,7 +5047,7 @@ ColorPreview.options = options13;
|
|
|
4971
5047
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
4972
5048
|
|
|
4973
5049
|
// src/animation-container/animation-container.spec.tsx
|
|
4974
|
-
import { jsx as
|
|
5050
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
4975
5051
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4976
5052
|
var states16 = [];
|
|
4977
5053
|
var options14 = {};
|
|
@@ -4985,7 +5061,7 @@ var AnimationContainer = (props) => {
|
|
|
4985
5061
|
offset,
|
|
4986
5062
|
...other
|
|
4987
5063
|
} = props;
|
|
4988
|
-
return /* @__PURE__ */
|
|
5064
|
+
return /* @__PURE__ */ jsx36(
|
|
4989
5065
|
"div",
|
|
4990
5066
|
{
|
|
4991
5067
|
...other,
|
|
@@ -4997,7 +5073,7 @@ var AnimationContainer = (props) => {
|
|
|
4997
5073
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4998
5074
|
}
|
|
4999
5075
|
),
|
|
5000
|
-
children: /* @__PURE__ */
|
|
5076
|
+
children: /* @__PURE__ */ jsx36("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5001
5077
|
}
|
|
5002
5078
|
);
|
|
5003
5079
|
};
|
|
@@ -5007,7 +5083,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5007
5083
|
AnimationContainer.defaultProps = defaultProps12;
|
|
5008
5084
|
|
|
5009
5085
|
// src/popup/popup.spec.tsx
|
|
5010
|
-
import { jsx as
|
|
5086
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5011
5087
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5012
5088
|
var states17 = [];
|
|
5013
5089
|
var options15 = {};
|
|
@@ -5020,12 +5096,12 @@ var Popup = (props) => {
|
|
|
5020
5096
|
positionMode,
|
|
5021
5097
|
...other
|
|
5022
5098
|
} = props;
|
|
5023
|
-
return /* @__PURE__ */
|
|
5099
|
+
return /* @__PURE__ */ jsx37(
|
|
5024
5100
|
AnimationContainer,
|
|
5025
5101
|
{
|
|
5026
5102
|
positionMode,
|
|
5027
5103
|
offset,
|
|
5028
|
-
children: /* @__PURE__ */
|
|
5104
|
+
children: /* @__PURE__ */ jsx37("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5029
5105
|
}
|
|
5030
5106
|
);
|
|
5031
5107
|
};
|
|
@@ -5035,7 +5111,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5035
5111
|
Popup.defaultProps = defaultProps13;
|
|
5036
5112
|
|
|
5037
5113
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5038
|
-
import { Fragment as
|
|
5114
|
+
import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5039
5115
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5040
5116
|
var states18 = [
|
|
5041
5117
|
States.hover,
|
|
@@ -5077,8 +5153,8 @@ var ColorPicker = (props) => {
|
|
|
5077
5153
|
opened,
|
|
5078
5154
|
...other
|
|
5079
5155
|
} = props;
|
|
5080
|
-
return /* @__PURE__ */
|
|
5081
|
-
/* @__PURE__ */
|
|
5156
|
+
return /* @__PURE__ */ jsxs12(Fragment12, { children: [
|
|
5157
|
+
/* @__PURE__ */ jsxs12(
|
|
5082
5158
|
Picker,
|
|
5083
5159
|
{
|
|
5084
5160
|
...other,
|
|
@@ -5097,14 +5173,14 @@ var ColorPicker = (props) => {
|
|
|
5097
5173
|
"k-icon-picker"
|
|
5098
5174
|
),
|
|
5099
5175
|
children: [
|
|
5100
|
-
/* @__PURE__ */
|
|
5101
|
-
/* @__PURE__ */
|
|
5176
|
+
/* @__PURE__ */ jsx38(InputPrefix, { children: prefix }),
|
|
5177
|
+
/* @__PURE__ */ jsx38(
|
|
5102
5178
|
InputInnerSpan,
|
|
5103
5179
|
{
|
|
5104
5180
|
placeholder,
|
|
5105
5181
|
value,
|
|
5106
5182
|
showValue: false,
|
|
5107
|
-
valueIcon: /* @__PURE__ */
|
|
5183
|
+
valueIcon: /* @__PURE__ */ jsx38(
|
|
5108
5184
|
ColorPreview,
|
|
5109
5185
|
{
|
|
5110
5186
|
className: "k-value-icon",
|
|
@@ -5115,8 +5191,8 @@ var ColorPicker = (props) => {
|
|
|
5115
5191
|
valueIconName
|
|
5116
5192
|
}
|
|
5117
5193
|
),
|
|
5118
|
-
/* @__PURE__ */
|
|
5119
|
-
/* @__PURE__ */
|
|
5194
|
+
/* @__PURE__ */ jsx38(InputSuffix, { children: suffix }),
|
|
5195
|
+
/* @__PURE__ */ jsx38(
|
|
5120
5196
|
Button,
|
|
5121
5197
|
{
|
|
5122
5198
|
className: "k-input-button",
|
|
@@ -5129,7 +5205,7 @@ var ColorPicker = (props) => {
|
|
|
5129
5205
|
]
|
|
5130
5206
|
}
|
|
5131
5207
|
),
|
|
5132
|
-
opened && popup && /* @__PURE__ */
|
|
5208
|
+
opened && popup && /* @__PURE__ */ jsx38(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5133
5209
|
] });
|
|
5134
5210
|
};
|
|
5135
5211
|
ColorPicker.states = states18;
|
|
@@ -5138,10 +5214,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5138
5214
|
ColorPicker.defaultProps = defaultProps14;
|
|
5139
5215
|
|
|
5140
5216
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5141
|
-
import { jsx as
|
|
5217
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5142
5218
|
|
|
5143
5219
|
// src/action-buttons/action-buttons.spec.tsx
|
|
5144
|
-
import { jsx as
|
|
5220
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5145
5221
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5146
5222
|
var states19 = [];
|
|
5147
5223
|
var options17 = {};
|
|
@@ -5155,7 +5231,7 @@ var ActionButtons = (props) => {
|
|
|
5155
5231
|
orientation = defaultProps15.orientation,
|
|
5156
5232
|
...other
|
|
5157
5233
|
} = props;
|
|
5158
|
-
return /* @__PURE__ */
|
|
5234
|
+
return /* @__PURE__ */ jsx40(
|
|
5159
5235
|
"div",
|
|
5160
5236
|
{
|
|
5161
5237
|
...other,
|
|
@@ -5178,7 +5254,7 @@ ActionButtons.defaultProps = defaultProps15;
|
|
|
5178
5254
|
var action_buttons_spec_default = ActionButtons;
|
|
5179
5255
|
|
|
5180
5256
|
// src/slider/slider.spec.tsx
|
|
5181
|
-
import { jsx as
|
|
5257
|
+
import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5182
5258
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5183
5259
|
var states20 = [
|
|
5184
5260
|
States.hover,
|
|
@@ -5217,7 +5293,7 @@ var Slider = (props) => {
|
|
|
5217
5293
|
iconIncrease = "caret-alt-up";
|
|
5218
5294
|
iconDecrease = "caret-alt-down";
|
|
5219
5295
|
}
|
|
5220
|
-
return /* @__PURE__ */
|
|
5296
|
+
return /* @__PURE__ */ jsxs13("div", { className: classNames(
|
|
5221
5297
|
SLIDER_CLASSNAME,
|
|
5222
5298
|
props.className,
|
|
5223
5299
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5230,12 +5306,12 @@ var Slider = (props) => {
|
|
|
5230
5306
|
"k-range-slider": type === "range"
|
|
5231
5307
|
}
|
|
5232
5308
|
), dir, children: [
|
|
5233
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5234
|
-
/* @__PURE__ */
|
|
5235
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5236
|
-
/* @__PURE__ */
|
|
5237
|
-
/* @__PURE__ */
|
|
5238
|
-
type === "range" && /* @__PURE__ */
|
|
5309
|
+
type !== "gradient" && /* @__PURE__ */ jsx41(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5310
|
+
/* @__PURE__ */ jsxs13("div", { className: "k-slider-track-wrap", children: [
|
|
5311
|
+
type !== "gradient" && /* @__PURE__ */ jsx41("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5312
|
+
/* @__PURE__ */ jsxs13("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5313
|
+
/* @__PURE__ */ jsx41("div", { className: "k-slider-selection" }),
|
|
5314
|
+
type === "range" && /* @__PURE__ */ jsx41("span", { className: classNames(
|
|
5239
5315
|
"k-draghandle",
|
|
5240
5316
|
"k-draghandle-start",
|
|
5241
5317
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5244,7 +5320,7 @@ var Slider = (props) => {
|
|
|
5244
5320
|
active
|
|
5245
5321
|
})
|
|
5246
5322
|
) }),
|
|
5247
|
-
/* @__PURE__ */
|
|
5323
|
+
/* @__PURE__ */ jsx41("span", { className: classNames(
|
|
5248
5324
|
"k-draghandle",
|
|
5249
5325
|
`k-draghandle-${handlePosition}`,
|
|
5250
5326
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5255,7 +5331,7 @@ var Slider = (props) => {
|
|
|
5255
5331
|
) })
|
|
5256
5332
|
] })
|
|
5257
5333
|
] }),
|
|
5258
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5334
|
+
type !== "gradient" && /* @__PURE__ */ jsx41(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5259
5335
|
] });
|
|
5260
5336
|
};
|
|
5261
5337
|
Slider.states = states20;
|
|
@@ -5264,7 +5340,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
5264
5340
|
Slider.defaultProps = defaultProps16;
|
|
5265
5341
|
|
|
5266
5342
|
// src/slider/slider-tick.tsx
|
|
5267
|
-
import { jsx as
|
|
5343
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5268
5344
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5269
5345
|
var states21 = [];
|
|
5270
5346
|
var options19 = {};
|
|
@@ -5279,14 +5355,14 @@ var SliderTick = (props) => {
|
|
|
5279
5355
|
large,
|
|
5280
5356
|
text
|
|
5281
5357
|
} = props;
|
|
5282
|
-
return /* @__PURE__ */
|
|
5358
|
+
return /* @__PURE__ */ jsx42("li", { className: classNames(
|
|
5283
5359
|
props.className,
|
|
5284
5360
|
SLIDER_TICK_CLASSNAME,
|
|
5285
5361
|
{
|
|
5286
5362
|
[`k-tick-${orientation}`]: orientation,
|
|
5287
5363
|
"k-tick-large": large
|
|
5288
5364
|
}
|
|
5289
|
-
), style, children: label && /* @__PURE__ */
|
|
5365
|
+
), style, children: label && /* @__PURE__ */ jsx42("span", { className: "k-label", children: text }) });
|
|
5290
5366
|
};
|
|
5291
5367
|
SliderTick.states = states21;
|
|
5292
5368
|
SliderTick.options = options19;
|
|
@@ -5294,7 +5370,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
5294
5370
|
SliderTick.defaultProps = defaultProps17;
|
|
5295
5371
|
|
|
5296
5372
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5297
|
-
import { jsx as
|
|
5373
|
+
import { jsx as jsx43, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5298
5374
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5299
5375
|
var states22 = [];
|
|
5300
5376
|
var options20 = {
|
|
@@ -5311,7 +5387,7 @@ var SpinButton = (props) => {
|
|
|
5311
5387
|
fillMode = defaultProps18.fillMode,
|
|
5312
5388
|
...other
|
|
5313
5389
|
} = props;
|
|
5314
|
-
return /* @__PURE__ */
|
|
5390
|
+
return /* @__PURE__ */ jsxs14(
|
|
5315
5391
|
"span",
|
|
5316
5392
|
{
|
|
5317
5393
|
...other,
|
|
@@ -5320,7 +5396,7 @@ var SpinButton = (props) => {
|
|
|
5320
5396
|
props.className
|
|
5321
5397
|
),
|
|
5322
5398
|
children: [
|
|
5323
|
-
/* @__PURE__ */
|
|
5399
|
+
/* @__PURE__ */ jsx43(
|
|
5324
5400
|
Button,
|
|
5325
5401
|
{
|
|
5326
5402
|
className: "k-spinner-increase",
|
|
@@ -5330,7 +5406,7 @@ var SpinButton = (props) => {
|
|
|
5330
5406
|
fillMode
|
|
5331
5407
|
}
|
|
5332
5408
|
),
|
|
5333
|
-
/* @__PURE__ */
|
|
5409
|
+
/* @__PURE__ */ jsx43(
|
|
5334
5410
|
Button,
|
|
5335
5411
|
{
|
|
5336
5412
|
className: "k-spinner-decrease",
|
|
@@ -5350,7 +5426,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5350
5426
|
SpinButton.defaultProps = defaultProps18;
|
|
5351
5427
|
|
|
5352
5428
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5353
|
-
import { jsx as
|
|
5429
|
+
import { jsx as jsx44, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5354
5430
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5355
5431
|
var states23 = [
|
|
5356
5432
|
States.hover,
|
|
@@ -5393,7 +5469,7 @@ var NumericTextbox = (props) => {
|
|
|
5393
5469
|
showSpinButton = defaultProps19.showSpinButton,
|
|
5394
5470
|
...other
|
|
5395
5471
|
} = props;
|
|
5396
|
-
return /* @__PURE__ */
|
|
5472
|
+
return /* @__PURE__ */ jsxs15(
|
|
5397
5473
|
Input,
|
|
5398
5474
|
{
|
|
5399
5475
|
...other,
|
|
@@ -5410,8 +5486,8 @@ var NumericTextbox = (props) => {
|
|
|
5410
5486
|
readonly,
|
|
5411
5487
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5412
5488
|
children: [
|
|
5413
|
-
/* @__PURE__ */
|
|
5414
|
-
/* @__PURE__ */
|
|
5489
|
+
/* @__PURE__ */ jsx44(InputInnerInput, { placeholder, value }),
|
|
5490
|
+
/* @__PURE__ */ jsx44(
|
|
5415
5491
|
InputValidationIcon,
|
|
5416
5492
|
{
|
|
5417
5493
|
valid,
|
|
@@ -5420,14 +5496,14 @@ var NumericTextbox = (props) => {
|
|
|
5420
5496
|
disabled
|
|
5421
5497
|
}
|
|
5422
5498
|
),
|
|
5423
|
-
/* @__PURE__ */
|
|
5499
|
+
/* @__PURE__ */ jsx44(
|
|
5424
5500
|
InputLoadingIcon,
|
|
5425
5501
|
{
|
|
5426
5502
|
loading,
|
|
5427
5503
|
disabled
|
|
5428
5504
|
}
|
|
5429
5505
|
),
|
|
5430
|
-
showClearButton && /* @__PURE__ */
|
|
5506
|
+
showClearButton && /* @__PURE__ */ jsx44(
|
|
5431
5507
|
InputClearValue,
|
|
5432
5508
|
{
|
|
5433
5509
|
loading,
|
|
@@ -5436,7 +5512,7 @@ var NumericTextbox = (props) => {
|
|
|
5436
5512
|
value
|
|
5437
5513
|
}
|
|
5438
5514
|
),
|
|
5439
|
-
showSpinButton && /* @__PURE__ */
|
|
5515
|
+
showSpinButton && /* @__PURE__ */ jsx44(
|
|
5440
5516
|
SpinButton,
|
|
5441
5517
|
{
|
|
5442
5518
|
className: "k-input-spinner",
|
|
@@ -5454,10 +5530,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
5454
5530
|
NumericTextbox.defaultProps = defaultProps19;
|
|
5455
5531
|
|
|
5456
5532
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5457
|
-
import { jsx as
|
|
5533
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5458
5534
|
|
|
5459
5535
|
// src/textbox/textbox.spec.tsx
|
|
5460
|
-
import { jsx as
|
|
5536
|
+
import { jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5461
5537
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5462
5538
|
var states24 = [
|
|
5463
5539
|
States.hover,
|
|
@@ -5500,7 +5576,7 @@ var Textbox = (props) => {
|
|
|
5500
5576
|
showClearButton = defaultProps20.showClearButton,
|
|
5501
5577
|
...other
|
|
5502
5578
|
} = props;
|
|
5503
|
-
return /* @__PURE__ */
|
|
5579
|
+
return /* @__PURE__ */ jsxs16(
|
|
5504
5580
|
Input,
|
|
5505
5581
|
{
|
|
5506
5582
|
...other,
|
|
@@ -5517,9 +5593,9 @@ var Textbox = (props) => {
|
|
|
5517
5593
|
readonly,
|
|
5518
5594
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5519
5595
|
children: [
|
|
5520
|
-
/* @__PURE__ */
|
|
5521
|
-
/* @__PURE__ */
|
|
5522
|
-
/* @__PURE__ */
|
|
5596
|
+
/* @__PURE__ */ jsx46(InputPrefix, { children: prefix }),
|
|
5597
|
+
/* @__PURE__ */ jsx46(InputInnerInput, { placeholder, value }),
|
|
5598
|
+
/* @__PURE__ */ jsx46(
|
|
5523
5599
|
InputValidationIcon,
|
|
5524
5600
|
{
|
|
5525
5601
|
valid,
|
|
@@ -5528,14 +5604,14 @@ var Textbox = (props) => {
|
|
|
5528
5604
|
disabled
|
|
5529
5605
|
}
|
|
5530
5606
|
),
|
|
5531
|
-
/* @__PURE__ */
|
|
5607
|
+
/* @__PURE__ */ jsx46(
|
|
5532
5608
|
InputLoadingIcon,
|
|
5533
5609
|
{
|
|
5534
5610
|
loading,
|
|
5535
5611
|
disabled
|
|
5536
5612
|
}
|
|
5537
5613
|
),
|
|
5538
|
-
showClearButton && /* @__PURE__ */
|
|
5614
|
+
showClearButton && /* @__PURE__ */ jsx46(
|
|
5539
5615
|
InputClearValue,
|
|
5540
5616
|
{
|
|
5541
5617
|
loading,
|
|
@@ -5544,7 +5620,7 @@ var Textbox = (props) => {
|
|
|
5544
5620
|
value
|
|
5545
5621
|
}
|
|
5546
5622
|
),
|
|
5547
|
-
/* @__PURE__ */
|
|
5623
|
+
/* @__PURE__ */ jsx46(InputSuffix, { children: suffix })
|
|
5548
5624
|
]
|
|
5549
5625
|
}
|
|
5550
5626
|
);
|
|
@@ -5555,16 +5631,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5555
5631
|
Textbox.defaultProps = defaultProps20;
|
|
5556
5632
|
|
|
5557
5633
|
// src/textbox/templates/textbox-normal.tsx
|
|
5558
|
-
import { jsx as
|
|
5634
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5559
5635
|
|
|
5560
5636
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5561
|
-
import { Fragment as
|
|
5637
|
+
import { Fragment as Fragment13, jsx as jsx48, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5562
5638
|
|
|
5563
5639
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5564
|
-
import { Fragment as
|
|
5640
|
+
import { Fragment as Fragment14, jsx as jsx49, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5565
5641
|
|
|
5566
5642
|
// src/colorgradient/color-input.tsx
|
|
5567
|
-
import { Fragment as
|
|
5643
|
+
import { Fragment as Fragment15, jsx as jsx50, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5568
5644
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
5569
5645
|
var states25 = [];
|
|
5570
5646
|
var options23 = {};
|
|
@@ -5575,75 +5651,75 @@ var ColorInput = (props) => {
|
|
|
5575
5651
|
const {
|
|
5576
5652
|
mode = defaultProps21.mode
|
|
5577
5653
|
} = props;
|
|
5578
|
-
return /* @__PURE__ */
|
|
5579
|
-
/* @__PURE__ */
|
|
5580
|
-
mode === "rgba" && /* @__PURE__ */
|
|
5581
|
-
/* @__PURE__ */
|
|
5582
|
-
/* @__PURE__ */
|
|
5583
|
-
/* @__PURE__ */
|
|
5654
|
+
return /* @__PURE__ */ jsxs19("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
5655
|
+
/* @__PURE__ */ jsx50("div", { className: "k-vstack", children: /* @__PURE__ */ jsx50(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
5656
|
+
mode === "rgba" && /* @__PURE__ */ jsxs19(Fragment15, { children: [
|
|
5657
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5658
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5659
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
5584
5660
|
] }),
|
|
5585
|
-
/* @__PURE__ */
|
|
5586
|
-
/* @__PURE__ */
|
|
5587
|
-
/* @__PURE__ */
|
|
5661
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5662
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5663
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
5588
5664
|
] }),
|
|
5589
|
-
/* @__PURE__ */
|
|
5590
|
-
/* @__PURE__ */
|
|
5591
|
-
/* @__PURE__ */
|
|
5665
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5666
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5667
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
5592
5668
|
] }),
|
|
5593
|
-
/* @__PURE__ */
|
|
5594
|
-
/* @__PURE__ */
|
|
5595
|
-
/* @__PURE__ */
|
|
5669
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5670
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
5671
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
5596
5672
|
] })
|
|
5597
5673
|
] }),
|
|
5598
|
-
mode === "rgb" && /* @__PURE__ */
|
|
5599
|
-
/* @__PURE__ */
|
|
5600
|
-
/* @__PURE__ */
|
|
5601
|
-
/* @__PURE__ */
|
|
5674
|
+
mode === "rgb" && /* @__PURE__ */ jsxs19(Fragment15, { children: [
|
|
5675
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5676
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5677
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
5602
5678
|
] }),
|
|
5603
|
-
/* @__PURE__ */
|
|
5604
|
-
/* @__PURE__ */
|
|
5605
|
-
/* @__PURE__ */
|
|
5679
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5680
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5681
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
5606
5682
|
] }),
|
|
5607
|
-
/* @__PURE__ */
|
|
5608
|
-
/* @__PURE__ */
|
|
5609
|
-
/* @__PURE__ */
|
|
5683
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5684
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5685
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
5610
5686
|
] })
|
|
5611
5687
|
] }),
|
|
5612
|
-
mode === "hsva" && /* @__PURE__ */
|
|
5613
|
-
/* @__PURE__ */
|
|
5614
|
-
/* @__PURE__ */
|
|
5615
|
-
/* @__PURE__ */
|
|
5688
|
+
mode === "hsva" && /* @__PURE__ */ jsxs19(Fragment15, { children: [
|
|
5689
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5690
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5691
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
5616
5692
|
] }),
|
|
5617
|
-
/* @__PURE__ */
|
|
5618
|
-
/* @__PURE__ */
|
|
5619
|
-
/* @__PURE__ */
|
|
5693
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5694
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5695
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
5620
5696
|
] }),
|
|
5621
|
-
/* @__PURE__ */
|
|
5622
|
-
/* @__PURE__ */
|
|
5623
|
-
/* @__PURE__ */
|
|
5697
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5698
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5699
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
5624
5700
|
] }),
|
|
5625
|
-
/* @__PURE__ */
|
|
5626
|
-
/* @__PURE__ */
|
|
5627
|
-
/* @__PURE__ */
|
|
5701
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5702
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
5703
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
5628
5704
|
] })
|
|
5629
5705
|
] }),
|
|
5630
|
-
mode === "hsv" && /* @__PURE__ */
|
|
5631
|
-
/* @__PURE__ */
|
|
5632
|
-
/* @__PURE__ */
|
|
5633
|
-
/* @__PURE__ */
|
|
5706
|
+
mode === "hsv" && /* @__PURE__ */ jsxs19(Fragment15, { children: [
|
|
5707
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5708
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5709
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
5634
5710
|
] }),
|
|
5635
|
-
/* @__PURE__ */
|
|
5636
|
-
/* @__PURE__ */
|
|
5637
|
-
/* @__PURE__ */
|
|
5711
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5712
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5713
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
5638
5714
|
] }),
|
|
5639
|
-
/* @__PURE__ */
|
|
5640
|
-
/* @__PURE__ */
|
|
5641
|
-
/* @__PURE__ */
|
|
5715
|
+
/* @__PURE__ */ jsxs19("div", { className: "k-vstack", children: [
|
|
5716
|
+
/* @__PURE__ */ jsx50(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5717
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
5642
5718
|
] })
|
|
5643
5719
|
] }),
|
|
5644
|
-
mode === "hex" && /* @__PURE__ */
|
|
5645
|
-
/* @__PURE__ */
|
|
5646
|
-
/* @__PURE__ */
|
|
5720
|
+
mode === "hex" && /* @__PURE__ */ jsx50(Fragment15, { children: /* @__PURE__ */ jsxs19("div", { className: "k-vstack k-flex-1", children: [
|
|
5721
|
+
/* @__PURE__ */ jsx50(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
5722
|
+
/* @__PURE__ */ jsx50("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
5647
5723
|
] }) })
|
|
5648
5724
|
] });
|
|
5649
5725
|
};
|
|
@@ -5653,31 +5729,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
5653
5729
|
ColorInput.defaultProps = defaultProps21;
|
|
5654
5730
|
|
|
5655
5731
|
// src/colorgradient/color-contrast.tsx
|
|
5656
|
-
import { jsx as
|
|
5732
|
+
import { jsx as jsx51, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5657
5733
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
5658
5734
|
var states26 = [];
|
|
5659
5735
|
var options24 = {};
|
|
5660
5736
|
var defaultProps22 = {};
|
|
5661
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
5662
|
-
/* @__PURE__ */
|
|
5663
|
-
/* @__PURE__ */
|
|
5664
|
-
/* @__PURE__ */
|
|
5665
|
-
/* @__PURE__ */
|
|
5666
|
-
/* @__PURE__ */
|
|
5737
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs20("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
5738
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-contrast-ratio", children: [
|
|
5739
|
+
/* @__PURE__ */ jsx51("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
5740
|
+
/* @__PURE__ */ jsxs20("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
5741
|
+
/* @__PURE__ */ jsx51(Icon, { icon: "check" }),
|
|
5742
|
+
/* @__PURE__ */ jsx51(Icon, { icon: "check" })
|
|
5667
5743
|
] })
|
|
5668
5744
|
] }),
|
|
5669
|
-
/* @__PURE__ */
|
|
5670
|
-
/* @__PURE__ */
|
|
5671
|
-
/* @__PURE__ */
|
|
5745
|
+
/* @__PURE__ */ jsxs20("div", { children: [
|
|
5746
|
+
/* @__PURE__ */ jsx51("span", { children: "AA: 4.5" }),
|
|
5747
|
+
/* @__PURE__ */ jsxs20("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
5672
5748
|
"Pass",
|
|
5673
|
-
/* @__PURE__ */
|
|
5749
|
+
/* @__PURE__ */ jsx51(Icon, { icon: "check" })
|
|
5674
5750
|
] })
|
|
5675
5751
|
] }),
|
|
5676
|
-
/* @__PURE__ */
|
|
5677
|
-
/* @__PURE__ */
|
|
5678
|
-
/* @__PURE__ */
|
|
5752
|
+
/* @__PURE__ */ jsxs20("div", { children: [
|
|
5753
|
+
/* @__PURE__ */ jsx51("span", { children: "AAA: 7.0" }),
|
|
5754
|
+
/* @__PURE__ */ jsxs20("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
5679
5755
|
"Fail",
|
|
5680
|
-
/* @__PURE__ */
|
|
5756
|
+
/* @__PURE__ */ jsx51(Icon, { icon: "x" })
|
|
5681
5757
|
] })
|
|
5682
5758
|
] })
|
|
5683
5759
|
] });
|
|
@@ -5687,7 +5763,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
5687
5763
|
ColorContrast.defaultProps = defaultProps22;
|
|
5688
5764
|
|
|
5689
5765
|
// src/colorgradient/color-gradient.spec.tsx
|
|
5690
|
-
import { jsx as
|
|
5766
|
+
import { jsx as jsx52, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5691
5767
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
5692
5768
|
var states27 = [
|
|
5693
5769
|
States.hover,
|
|
@@ -5720,7 +5796,7 @@ var ColorGradient = (props) => {
|
|
|
5720
5796
|
dragHandleStyle = defaultProps23.dragHandleStyle,
|
|
5721
5797
|
alphaStyle = defaultProps23.alphaStyle
|
|
5722
5798
|
} = props;
|
|
5723
|
-
return /* @__PURE__ */
|
|
5799
|
+
return /* @__PURE__ */ jsxs21("div", { className: classNames(
|
|
5724
5800
|
props.className,
|
|
5725
5801
|
COLOR_GRADIENT_CLASSNAME,
|
|
5726
5802
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -5730,8 +5806,8 @@ var ColorGradient = (props) => {
|
|
|
5730
5806
|
disabled
|
|
5731
5807
|
})
|
|
5732
5808
|
), dir, children: [
|
|
5733
|
-
/* @__PURE__ */
|
|
5734
|
-
/* @__PURE__ */
|
|
5809
|
+
/* @__PURE__ */ jsxs21("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
5810
|
+
/* @__PURE__ */ jsx52("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx52("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx52("div", { className: classNames(
|
|
5735
5811
|
"k-hsv-draghandle",
|
|
5736
5812
|
"k-draghandle",
|
|
5737
5813
|
{
|
|
@@ -5739,13 +5815,13 @@ var ColorGradient = (props) => {
|
|
|
5739
5815
|
"k-focus": focusHandle
|
|
5740
5816
|
}
|
|
5741
5817
|
), style: dragHandleStyle }) }) }),
|
|
5742
|
-
/* @__PURE__ */
|
|
5743
|
-
/* @__PURE__ */
|
|
5744
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
5818
|
+
/* @__PURE__ */ jsxs21("div", { className: "k-hsv-controls k-hstack", children: [
|
|
5819
|
+
/* @__PURE__ */ jsx52(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
5820
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx52(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
5745
5821
|
] })
|
|
5746
5822
|
] }),
|
|
5747
|
-
/* @__PURE__ */
|
|
5748
|
-
contrast && /* @__PURE__ */
|
|
5823
|
+
/* @__PURE__ */ jsx52(ColorInput, { mode: props.mode }),
|
|
5824
|
+
contrast && /* @__PURE__ */ jsx52(ColorContrast, {})
|
|
5749
5825
|
] });
|
|
5750
5826
|
};
|
|
5751
5827
|
ColorGradient.states = states27;
|
|
@@ -5754,17 +5830,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
5754
5830
|
ColorGradient.defaultProps = defaultProps23;
|
|
5755
5831
|
|
|
5756
5832
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
5757
|
-
import { jsx as
|
|
5833
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5758
5834
|
|
|
5759
5835
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
5760
|
-
import { jsx as
|
|
5836
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5761
5837
|
|
|
5762
5838
|
// src/colorpalette/colorpalette-row.tsx
|
|
5763
|
-
import { jsx as
|
|
5764
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
5839
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5840
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx55("tr", { children: props.children });
|
|
5765
5841
|
|
|
5766
5842
|
// src/colorpalette/colorpalette-tile.tsx
|
|
5767
|
-
import { jsx as
|
|
5843
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
5768
5844
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
5769
5845
|
var states28 = [
|
|
5770
5846
|
States.hover,
|
|
@@ -5786,7 +5862,7 @@ var ColorPaletteTile = (props) => {
|
|
|
5786
5862
|
"width": tileSize ? tileSize + "px" : "",
|
|
5787
5863
|
"height": tileSize ? tileSize + "px" : ""
|
|
5788
5864
|
};
|
|
5789
|
-
return /* @__PURE__ */
|
|
5865
|
+
return /* @__PURE__ */ jsx56(
|
|
5790
5866
|
"td",
|
|
5791
5867
|
{
|
|
5792
5868
|
...other,
|
|
@@ -5808,7 +5884,7 @@ ColorPaletteTile.options = options26;
|
|
|
5808
5884
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
5809
5885
|
|
|
5810
5886
|
// src/colorpalette/colorpalette.spec.tsx
|
|
5811
|
-
import { jsx as
|
|
5887
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5812
5888
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
5813
5889
|
var states29 = [
|
|
5814
5890
|
States.disabled
|
|
@@ -5833,14 +5909,14 @@ var ColorPalette = (props) => {
|
|
|
5833
5909
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
5834
5910
|
const items = [];
|
|
5835
5911
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
5836
|
-
items.push(/* @__PURE__ */
|
|
5912
|
+
items.push(/* @__PURE__ */ jsx57(ColorPaletteTile, { color, tileSize }));
|
|
5837
5913
|
});
|
|
5838
|
-
const row = /* @__PURE__ */
|
|
5914
|
+
const row = /* @__PURE__ */ jsx57(ColorPaletteRow, { children: items });
|
|
5839
5915
|
newChildren.push(row);
|
|
5840
5916
|
});
|
|
5841
5917
|
}
|
|
5842
5918
|
}
|
|
5843
|
-
return /* @__PURE__ */
|
|
5919
|
+
return /* @__PURE__ */ jsx57(
|
|
5844
5920
|
"div",
|
|
5845
5921
|
{
|
|
5846
5922
|
...other,
|
|
@@ -5851,7 +5927,7 @@ var ColorPalette = (props) => {
|
|
|
5851
5927
|
disabled
|
|
5852
5928
|
})
|
|
5853
5929
|
),
|
|
5854
|
-
children: /* @__PURE__ */
|
|
5930
|
+
children: /* @__PURE__ */ jsx57("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
5855
5931
|
}
|
|
5856
5932
|
);
|
|
5857
5933
|
};
|
|
@@ -5861,7 +5937,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
5861
5937
|
ColorPalette.defaultProps = defaultProps24;
|
|
5862
5938
|
|
|
5863
5939
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
5864
|
-
import { jsx as
|
|
5940
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5865
5941
|
|
|
5866
5942
|
// src/colorpalette/colorpalette-presets.tsx
|
|
5867
5943
|
var PALETTEPRESETS = {
|
|
@@ -5916,7 +5992,7 @@ var PALETTEPRESETS = {
|
|
|
5916
5992
|
};
|
|
5917
5993
|
|
|
5918
5994
|
// src/coloreditor/color-editor.spec.tsx
|
|
5919
|
-
import { jsx as
|
|
5995
|
+
import { jsx as jsx59, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5920
5996
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
5921
5997
|
var states30 = [
|
|
5922
5998
|
States.focus
|
|
@@ -5938,30 +6014,30 @@ var ColorEditor = (props) => {
|
|
|
5938
6014
|
group,
|
|
5939
6015
|
palette = defaultProps25.palette
|
|
5940
6016
|
} = props;
|
|
5941
|
-
return /* @__PURE__ */
|
|
6017
|
+
return /* @__PURE__ */ jsxs22("div", { className: classNames(
|
|
5942
6018
|
props.className,
|
|
5943
6019
|
"k-flatcolorpicker",
|
|
5944
6020
|
COLOREDITOR_CLASSNAME,
|
|
5945
6021
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
5946
6022
|
), dir, children: [
|
|
5947
|
-
/* @__PURE__ */
|
|
5948
|
-
/* @__PURE__ */
|
|
5949
|
-
/* @__PURE__ */
|
|
5950
|
-
/* @__PURE__ */
|
|
6023
|
+
/* @__PURE__ */ jsxs22("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6024
|
+
/* @__PURE__ */ jsx59("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs22(ButtonGroup, { children: [
|
|
6025
|
+
/* @__PURE__ */ jsx59(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6026
|
+
/* @__PURE__ */ jsx59(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
5951
6027
|
] }) }),
|
|
5952
|
-
/* @__PURE__ */
|
|
5953
|
-
/* @__PURE__ */
|
|
5954
|
-
/* @__PURE__ */
|
|
5955
|
-
/* @__PURE__ */
|
|
5956
|
-
/* @__PURE__ */
|
|
5957
|
-
/* @__PURE__ */
|
|
6028
|
+
/* @__PURE__ */ jsx59("div", { className: "k-spacer" }),
|
|
6029
|
+
/* @__PURE__ */ jsxs22("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6030
|
+
/* @__PURE__ */ jsx59(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6031
|
+
/* @__PURE__ */ jsxs22("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6032
|
+
/* @__PURE__ */ jsx59(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6033
|
+
/* @__PURE__ */ jsx59(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
5958
6034
|
] })
|
|
5959
6035
|
] })
|
|
5960
6036
|
] }),
|
|
5961
|
-
/* @__PURE__ */
|
|
5962
|
-
/* @__PURE__ */
|
|
5963
|
-
/* @__PURE__ */
|
|
5964
|
-
/* @__PURE__ */
|
|
6037
|
+
/* @__PURE__ */ jsx59("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx59(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx59(ColorPalette, { palette }) }),
|
|
6038
|
+
/* @__PURE__ */ jsxs22(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6039
|
+
/* @__PURE__ */ jsx59(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6040
|
+
/* @__PURE__ */ jsx59(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
5965
6041
|
] })
|
|
5966
6042
|
] });
|
|
5967
6043
|
};
|
|
@@ -5971,25 +6047,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
5971
6047
|
ColorEditor.defaultProps = defaultProps25;
|
|
5972
6048
|
|
|
5973
6049
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
5974
|
-
import { jsx as
|
|
6050
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5975
6051
|
|
|
5976
6052
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
5977
|
-
import { jsx as
|
|
6053
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5978
6054
|
|
|
5979
6055
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
5980
|
-
import { jsx as
|
|
6056
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5981
6057
|
|
|
5982
6058
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
5983
|
-
import { jsx as
|
|
6059
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5984
6060
|
|
|
5985
6061
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
5986
|
-
import { jsx as
|
|
6062
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5987
6063
|
|
|
5988
6064
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
5989
|
-
import { jsx as
|
|
6065
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
5990
6066
|
|
|
5991
6067
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5992
|
-
import { Fragment as
|
|
6068
|
+
import { Fragment as Fragment16, jsx as jsx66, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5993
6069
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5994
6070
|
var states31 = [];
|
|
5995
6071
|
var options29 = {};
|
|
@@ -6012,8 +6088,8 @@ var ActionSheet = (props) => {
|
|
|
6012
6088
|
overlay = defaultProps26.overlay,
|
|
6013
6089
|
...other
|
|
6014
6090
|
} = props;
|
|
6015
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6016
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6091
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx66(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6092
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx66(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx66(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6017
6093
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6018
6094
|
switch (child.type) {
|
|
6019
6095
|
case ActionSheetHeader:
|
|
@@ -6023,10 +6099,10 @@ var ActionSheet = (props) => {
|
|
|
6023
6099
|
return true;
|
|
6024
6100
|
}
|
|
6025
6101
|
return true;
|
|
6026
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6027
|
-
return /* @__PURE__ */
|
|
6028
|
-
overlay && /* @__PURE__ */
|
|
6029
|
-
/* @__PURE__ */
|
|
6102
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx66(Fragment16, {});
|
|
6103
|
+
return /* @__PURE__ */ jsxs23("div", { className: "k-actionsheet-container", children: [
|
|
6104
|
+
overlay && /* @__PURE__ */ jsx66("div", { className: "k-overlay" }),
|
|
6105
|
+
/* @__PURE__ */ jsx66(
|
|
6030
6106
|
AnimationContainer,
|
|
6031
6107
|
{
|
|
6032
6108
|
animationStyle: {
|
|
@@ -6036,7 +6112,7 @@ var ActionSheet = (props) => {
|
|
|
6036
6112
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6037
6113
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6038
6114
|
},
|
|
6039
|
-
children: /* @__PURE__ */
|
|
6115
|
+
children: /* @__PURE__ */ jsx66(
|
|
6040
6116
|
"div",
|
|
6041
6117
|
{
|
|
6042
6118
|
...other,
|
|
@@ -6049,9 +6125,9 @@ var ActionSheet = (props) => {
|
|
|
6049
6125
|
"k-adaptive-actionsheet": adaptive
|
|
6050
6126
|
}
|
|
6051
6127
|
),
|
|
6052
|
-
children: /* @__PURE__ */
|
|
6128
|
+
children: /* @__PURE__ */ jsxs23(Fragment16, { children: [
|
|
6053
6129
|
_ActionSheetHeader,
|
|
6054
|
-
/* @__PURE__ */
|
|
6130
|
+
/* @__PURE__ */ jsx66("div", { className: classNames(
|
|
6055
6131
|
"k-actionsheet-content",
|
|
6056
6132
|
{
|
|
6057
6133
|
"!k-overflow-hidden": adaptive
|
|
@@ -6071,7 +6147,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6071
6147
|
ActionSheet.defaultProps = defaultProps26;
|
|
6072
6148
|
|
|
6073
6149
|
// src/searchbox/searchbox.spec.tsx
|
|
6074
|
-
import { jsx as
|
|
6150
|
+
import { jsx as jsx67, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6075
6151
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6076
6152
|
var states32 = [
|
|
6077
6153
|
States.hover,
|
|
@@ -6112,7 +6188,7 @@ var Searchbox = (props) => {
|
|
|
6112
6188
|
icon = defaultProps27.icon,
|
|
6113
6189
|
...other
|
|
6114
6190
|
} = props;
|
|
6115
|
-
return /* @__PURE__ */
|
|
6191
|
+
return /* @__PURE__ */ jsxs24(
|
|
6116
6192
|
Input,
|
|
6117
6193
|
{
|
|
6118
6194
|
...other,
|
|
@@ -6128,11 +6204,11 @@ var Searchbox = (props) => {
|
|
|
6128
6204
|
disabled,
|
|
6129
6205
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6130
6206
|
children: [
|
|
6131
|
-
showIcon && /* @__PURE__ */
|
|
6132
|
-
/* @__PURE__ */
|
|
6133
|
-
/* @__PURE__ */
|
|
6134
|
-
/* @__PURE__ */
|
|
6135
|
-
/* @__PURE__ */
|
|
6207
|
+
showIcon && /* @__PURE__ */ jsx67(Icon, { className: "k-input-icon", icon }),
|
|
6208
|
+
/* @__PURE__ */ jsx67(InputInnerInput, { placeholder, value }),
|
|
6209
|
+
/* @__PURE__ */ jsx67(InputLoadingIcon, { ...props }),
|
|
6210
|
+
/* @__PURE__ */ jsx67(InputValidationIcon, { ...props }),
|
|
6211
|
+
/* @__PURE__ */ jsx67(InputClearValue, { ...props })
|
|
6136
6212
|
]
|
|
6137
6213
|
}
|
|
6138
6214
|
);
|
|
@@ -6143,10 +6219,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
6143
6219
|
Searchbox.defaultProps = defaultProps27;
|
|
6144
6220
|
|
|
6145
6221
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
6146
|
-
import { jsx as
|
|
6222
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6147
6223
|
|
|
6148
6224
|
// src/action-sheet/actionsheet-header.tsx
|
|
6149
|
-
import { Fragment as
|
|
6225
|
+
import { Fragment as Fragment17, jsx as jsx69, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6150
6226
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6151
6227
|
var ActionSheetHeader = (props) => {
|
|
6152
6228
|
const {
|
|
@@ -6156,7 +6232,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6156
6232
|
filter,
|
|
6157
6233
|
...other
|
|
6158
6234
|
} = props;
|
|
6159
|
-
return /* @__PURE__ */
|
|
6235
|
+
return /* @__PURE__ */ jsx69(
|
|
6160
6236
|
"div",
|
|
6161
6237
|
{
|
|
6162
6238
|
...other,
|
|
@@ -6164,30 +6240,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6164
6240
|
props.className,
|
|
6165
6241
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6166
6242
|
),
|
|
6167
|
-
children: /* @__PURE__ */
|
|
6168
|
-
/* @__PURE__ */
|
|
6169
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6170
|
-
title !== "" && /* @__PURE__ */
|
|
6171
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6243
|
+
children: /* @__PURE__ */ jsxs25(Fragment17, { children: [
|
|
6244
|
+
/* @__PURE__ */ jsxs25("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6245
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx69(Fragment17, { children: /* @__PURE__ */ jsxs25("div", { className: "k-actionsheet-title", children: [
|
|
6246
|
+
title !== "" && /* @__PURE__ */ jsx69("div", { className: "k-text-center", children: title }),
|
|
6247
|
+
subTitle !== "" && /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6172
6248
|
] }) }),
|
|
6173
|
-
props.children && /* @__PURE__ */
|
|
6174
|
-
actions && /* @__PURE__ */
|
|
6249
|
+
props.children && /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6250
|
+
actions && /* @__PURE__ */ jsx69(Fragment17, { children: /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx69(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6175
6251
|
] }),
|
|
6176
|
-
filter && /* @__PURE__ */
|
|
6252
|
+
filter && /* @__PURE__ */ jsx69(Fragment17, { children: /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx69(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6177
6253
|
] })
|
|
6178
6254
|
}
|
|
6179
6255
|
);
|
|
6180
6256
|
};
|
|
6181
6257
|
|
|
6182
6258
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6183
|
-
import { Fragment as
|
|
6259
|
+
import { Fragment as Fragment18, jsx as jsx70, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6184
6260
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6185
6261
|
var ActionSheetFooter = (props) => {
|
|
6186
6262
|
const {
|
|
6187
6263
|
actions,
|
|
6188
6264
|
...other
|
|
6189
6265
|
} = props;
|
|
6190
|
-
return /* @__PURE__ */
|
|
6266
|
+
return /* @__PURE__ */ jsx70(
|
|
6191
6267
|
action_buttons_spec_default,
|
|
6192
6268
|
{
|
|
6193
6269
|
...other,
|
|
@@ -6196,17 +6272,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6196
6272
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6197
6273
|
),
|
|
6198
6274
|
alignment: "stretched",
|
|
6199
|
-
children: /* @__PURE__ */
|
|
6275
|
+
children: /* @__PURE__ */ jsxs26(Fragment18, { children: [
|
|
6200
6276
|
actions && actions.map((action, index) => {
|
|
6201
6277
|
if (action === "|") {
|
|
6202
|
-
return /* @__PURE__ */
|
|
6278
|
+
return /* @__PURE__ */ jsx70("span", { className: "k-separator" }, index);
|
|
6203
6279
|
}
|
|
6204
6280
|
if (action === " ") {
|
|
6205
|
-
return /* @__PURE__ */
|
|
6281
|
+
return /* @__PURE__ */ jsx70("span", { className: "k-spacer" }, index);
|
|
6206
6282
|
}
|
|
6207
6283
|
const importantFlag = action.startsWith("!");
|
|
6208
6284
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6209
|
-
return /* @__PURE__ */
|
|
6285
|
+
return /* @__PURE__ */ jsx70(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6210
6286
|
}),
|
|
6211
6287
|
!actions && props.children
|
|
6212
6288
|
] })
|
|
@@ -6215,12 +6291,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6215
6291
|
};
|
|
6216
6292
|
|
|
6217
6293
|
// src/action-sheet/actionsheet-items.tsx
|
|
6218
|
-
import { jsx as
|
|
6294
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6219
6295
|
var ActionSheetItems = (props) => {
|
|
6220
6296
|
const {
|
|
6221
6297
|
...other
|
|
6222
6298
|
} = props;
|
|
6223
|
-
return /* @__PURE__ */
|
|
6299
|
+
return /* @__PURE__ */ jsx71(
|
|
6224
6300
|
"div",
|
|
6225
6301
|
{
|
|
6226
6302
|
...other,
|
|
@@ -6234,7 +6310,7 @@ var ActionSheetItems = (props) => {
|
|
|
6234
6310
|
};
|
|
6235
6311
|
|
|
6236
6312
|
// src/action-sheet/actionsheet-item.tsx
|
|
6237
|
-
import { Fragment as
|
|
6313
|
+
import { Fragment as Fragment19, jsx as jsx72, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6238
6314
|
var states33 = [
|
|
6239
6315
|
States.hover,
|
|
6240
6316
|
States.focus,
|
|
@@ -6243,12 +6319,12 @@ var states33 = [
|
|
|
6243
6319
|
];
|
|
6244
6320
|
|
|
6245
6321
|
// src/nodata/nodata.tsx
|
|
6246
|
-
import { jsx as
|
|
6322
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
6247
6323
|
var className9 = `k-nodata`;
|
|
6248
|
-
var NoData = (props) => /* @__PURE__ */
|
|
6324
|
+
var NoData = (props) => /* @__PURE__ */ jsx73("span", { className: classNames(className9, props.className), children: props.children });
|
|
6249
6325
|
|
|
6250
6326
|
// src/list/list.spec.tsx
|
|
6251
|
-
import { jsx as
|
|
6327
|
+
import { jsx as jsx74, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6252
6328
|
var LIST_CLASSNAME = `k-list`;
|
|
6253
6329
|
var states34 = [];
|
|
6254
6330
|
var options31 = {
|
|
@@ -6276,7 +6352,7 @@ var List = (props) => {
|
|
|
6276
6352
|
listHeader = child.props.label;
|
|
6277
6353
|
child.props.children.map((optChild, index2) => {
|
|
6278
6354
|
listChildren.push(
|
|
6279
|
-
/* @__PURE__ */
|
|
6355
|
+
/* @__PURE__ */ jsx74(
|
|
6280
6356
|
ListItem,
|
|
6281
6357
|
{
|
|
6282
6358
|
...optChild.props
|
|
@@ -6292,7 +6368,7 @@ var List = (props) => {
|
|
|
6292
6368
|
groupLabel = child.props.label;
|
|
6293
6369
|
}
|
|
6294
6370
|
listChildren.push(
|
|
6295
|
-
/* @__PURE__ */
|
|
6371
|
+
/* @__PURE__ */ jsx74(
|
|
6296
6372
|
ListItem,
|
|
6297
6373
|
{
|
|
6298
6374
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6304,16 +6380,16 @@ var List = (props) => {
|
|
|
6304
6380
|
);
|
|
6305
6381
|
});
|
|
6306
6382
|
}
|
|
6307
|
-
listGroup = /* @__PURE__ */
|
|
6383
|
+
listGroup = /* @__PURE__ */ jsx74(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6308
6384
|
} else if (child.type === ListItem) {
|
|
6309
|
-
listChildren.push(/* @__PURE__ */
|
|
6310
|
-
listContent = /* @__PURE__ */
|
|
6385
|
+
listChildren.push(/* @__PURE__ */ jsx74(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6386
|
+
listContent = /* @__PURE__ */ jsx74(ListContent, { virtualization, children: listChildren });
|
|
6311
6387
|
}
|
|
6312
6388
|
});
|
|
6313
6389
|
} else {
|
|
6314
|
-
listContent = /* @__PURE__ */
|
|
6390
|
+
listContent = /* @__PURE__ */ jsx74(NoData, { children: "No data found." });
|
|
6315
6391
|
}
|
|
6316
|
-
return /* @__PURE__ */
|
|
6392
|
+
return /* @__PURE__ */ jsxs28(
|
|
6317
6393
|
"div",
|
|
6318
6394
|
{
|
|
6319
6395
|
...other,
|
|
@@ -6341,7 +6417,7 @@ List.className = LIST_CLASSNAME;
|
|
|
6341
6417
|
List.defaultProps = defaultProps28;
|
|
6342
6418
|
|
|
6343
6419
|
// src/list/list-angular.spec.tsx
|
|
6344
|
-
import { jsx as
|
|
6420
|
+
import { jsx as jsx75, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6345
6421
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6346
6422
|
var states35 = [];
|
|
6347
6423
|
var options32 = {
|
|
@@ -6368,7 +6444,7 @@ var ListAngular = (props) => {
|
|
|
6368
6444
|
listHeader = child.props.label;
|
|
6369
6445
|
child.props.children.map((optChild, index2) => {
|
|
6370
6446
|
listChildren.push(
|
|
6371
|
-
/* @__PURE__ */
|
|
6447
|
+
/* @__PURE__ */ jsx75(
|
|
6372
6448
|
ListItem,
|
|
6373
6449
|
{
|
|
6374
6450
|
...optChild.props
|
|
@@ -6379,7 +6455,7 @@ var ListAngular = (props) => {
|
|
|
6379
6455
|
});
|
|
6380
6456
|
} else {
|
|
6381
6457
|
listChildren.push(
|
|
6382
|
-
/* @__PURE__ */
|
|
6458
|
+
/* @__PURE__ */ jsx75(
|
|
6383
6459
|
ListGroupItem,
|
|
6384
6460
|
{
|
|
6385
6461
|
...child.props,
|
|
@@ -6390,7 +6466,7 @@ var ListAngular = (props) => {
|
|
|
6390
6466
|
);
|
|
6391
6467
|
child.props.children.map((optChild, index2) => {
|
|
6392
6468
|
listChildren.push(
|
|
6393
|
-
/* @__PURE__ */
|
|
6469
|
+
/* @__PURE__ */ jsx75(
|
|
6394
6470
|
ListItem,
|
|
6395
6471
|
{
|
|
6396
6472
|
...optChild.props
|
|
@@ -6400,16 +6476,16 @@ var ListAngular = (props) => {
|
|
|
6400
6476
|
);
|
|
6401
6477
|
});
|
|
6402
6478
|
}
|
|
6403
|
-
listGroup = /* @__PURE__ */
|
|
6479
|
+
listGroup = /* @__PURE__ */ jsx75(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6404
6480
|
} else if (child.type === ListItem) {
|
|
6405
|
-
listChildren.push(/* @__PURE__ */
|
|
6406
|
-
listContent = /* @__PURE__ */
|
|
6481
|
+
listChildren.push(/* @__PURE__ */ jsx75(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6482
|
+
listContent = /* @__PURE__ */ jsx75(ListContent, { virtualization, children: listChildren });
|
|
6407
6483
|
}
|
|
6408
6484
|
});
|
|
6409
6485
|
} else {
|
|
6410
|
-
listContent = /* @__PURE__ */
|
|
6486
|
+
listContent = /* @__PURE__ */ jsx75(NoData, { children: "No data found." });
|
|
6411
6487
|
}
|
|
6412
|
-
return /* @__PURE__ */
|
|
6488
|
+
return /* @__PURE__ */ jsxs29(
|
|
6413
6489
|
"div",
|
|
6414
6490
|
{
|
|
6415
6491
|
...other,
|
|
@@ -6436,7 +6512,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
6436
6512
|
ListAngular.defaultProps = defaultProps29;
|
|
6437
6513
|
|
|
6438
6514
|
// src/checkbox/checkbox.spec.tsx
|
|
6439
|
-
import { jsx as
|
|
6515
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6440
6516
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6441
6517
|
var states36 = [
|
|
6442
6518
|
States.hover,
|
|
@@ -6471,7 +6547,7 @@ var Checkbox = (props) => {
|
|
|
6471
6547
|
rounded = defaultProps30.rounded,
|
|
6472
6548
|
...other
|
|
6473
6549
|
} = props;
|
|
6474
|
-
return /* @__PURE__ */
|
|
6550
|
+
return /* @__PURE__ */ jsx76("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx76(
|
|
6475
6551
|
"input",
|
|
6476
6552
|
{
|
|
6477
6553
|
...other,
|
|
@@ -6494,7 +6570,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6494
6570
|
Checkbox.defaultProps = defaultProps30;
|
|
6495
6571
|
|
|
6496
6572
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6497
|
-
import { jsx as
|
|
6573
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6498
6574
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6499
6575
|
var states37 = [];
|
|
6500
6576
|
var options34 = {};
|
|
@@ -6506,7 +6582,7 @@ var CheckboxGroup = (props) => {
|
|
|
6506
6582
|
layout = defaultProps31.layout,
|
|
6507
6583
|
...other
|
|
6508
6584
|
} = props;
|
|
6509
|
-
return /* @__PURE__ */
|
|
6585
|
+
return /* @__PURE__ */ jsx77(
|
|
6510
6586
|
"ul",
|
|
6511
6587
|
{
|
|
6512
6588
|
...other,
|
|
@@ -6527,7 +6603,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6527
6603
|
CheckboxGroup.defaultProps = defaultProps31;
|
|
6528
6604
|
|
|
6529
6605
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6530
|
-
import { jsx as
|
|
6606
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6531
6607
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6532
6608
|
var states38 = [];
|
|
6533
6609
|
var options35 = {};
|
|
@@ -6536,7 +6612,7 @@ var CheckboxItem = (props) => {
|
|
|
6536
6612
|
const {
|
|
6537
6613
|
...other
|
|
6538
6614
|
} = props;
|
|
6539
|
-
return /* @__PURE__ */
|
|
6615
|
+
return /* @__PURE__ */ jsx78(
|
|
6540
6616
|
"li",
|
|
6541
6617
|
{
|
|
6542
6618
|
...other,
|
|
@@ -6554,16 +6630,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6554
6630
|
CheckboxItem.defaultProps = defaultProps32;
|
|
6555
6631
|
|
|
6556
6632
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6557
|
-
import { Fragment as
|
|
6633
|
+
import { Fragment as Fragment20, jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6558
6634
|
|
|
6559
6635
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6560
|
-
import { Fragment as
|
|
6636
|
+
import { Fragment as Fragment21, jsx as jsx80, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6561
6637
|
|
|
6562
6638
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6563
|
-
import { jsx as
|
|
6639
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6564
6640
|
|
|
6565
6641
|
// src/list/list-item.spec.tsx
|
|
6566
|
-
import { jsx as
|
|
6642
|
+
import { jsx as jsx82, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6567
6643
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6568
6644
|
var states39 = [
|
|
6569
6645
|
States.hover,
|
|
@@ -6588,7 +6664,7 @@ var ListItem = (props) => {
|
|
|
6588
6664
|
...other
|
|
6589
6665
|
} = props;
|
|
6590
6666
|
const textOrChildren = text ? text : props.children;
|
|
6591
|
-
return /* @__PURE__ */
|
|
6667
|
+
return /* @__PURE__ */ jsxs32(
|
|
6592
6668
|
"li",
|
|
6593
6669
|
{
|
|
6594
6670
|
...other,
|
|
@@ -6603,10 +6679,10 @@ var ListItem = (props) => {
|
|
|
6603
6679
|
})
|
|
6604
6680
|
),
|
|
6605
6681
|
children: [
|
|
6606
|
-
showCheckbox && /* @__PURE__ */
|
|
6607
|
-
showIcon && /* @__PURE__ */
|
|
6608
|
-
/* @__PURE__ */
|
|
6609
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
6682
|
+
showCheckbox && /* @__PURE__ */ jsx82(Checkbox, { checked }),
|
|
6683
|
+
showIcon && /* @__PURE__ */ jsx82(Icon, { icon: iconName }),
|
|
6684
|
+
/* @__PURE__ */ jsx82("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6685
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx82("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6610
6686
|
]
|
|
6611
6687
|
}
|
|
6612
6688
|
);
|
|
@@ -6617,43 +6693,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
6617
6693
|
ListItem.defaultProps = defaultProps33;
|
|
6618
6694
|
|
|
6619
6695
|
// src/list/list-content.tsx
|
|
6620
|
-
import { jsx as
|
|
6696
|
+
import { jsx as jsx83, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6621
6697
|
var className10 = `k-list-content`;
|
|
6622
6698
|
var ListContent = (props) => {
|
|
6623
6699
|
const {
|
|
6624
6700
|
virtualization
|
|
6625
6701
|
} = props;
|
|
6626
|
-
return /* @__PURE__ */
|
|
6627
|
-
/* @__PURE__ */
|
|
6628
|
-
virtualization && /* @__PURE__ */
|
|
6702
|
+
return /* @__PURE__ */ jsxs33("div", { className: classNames(className10, props.className), children: [
|
|
6703
|
+
/* @__PURE__ */ jsx83("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6704
|
+
virtualization && /* @__PURE__ */ jsx83("div", { className: "k-height-container", children: /* @__PURE__ */ jsx83("div", {}) })
|
|
6629
6705
|
] });
|
|
6630
6706
|
};
|
|
6631
6707
|
|
|
6632
6708
|
// src/list/list-header.tsx
|
|
6633
|
-
import { jsx as
|
|
6709
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
6634
6710
|
var className11 = `k-list-group-sticky-header`;
|
|
6635
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
6711
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx84("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx84("div", { className: "k-list-header-text", children: props.children }) });
|
|
6636
6712
|
|
|
6637
6713
|
// src/list/list-group.tsx
|
|
6638
|
-
import { Fragment as
|
|
6714
|
+
import { Fragment as Fragment22, jsx as jsx85, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6639
6715
|
var ListGroup = (props) => {
|
|
6640
6716
|
const {
|
|
6641
6717
|
virtualization,
|
|
6642
6718
|
label
|
|
6643
6719
|
} = props;
|
|
6644
|
-
return /* @__PURE__ */
|
|
6645
|
-
label && /* @__PURE__ */
|
|
6646
|
-
props.children && /* @__PURE__ */
|
|
6720
|
+
return /* @__PURE__ */ jsxs34(Fragment22, { children: [
|
|
6721
|
+
label && /* @__PURE__ */ jsx85(ListHeader, { children: label }),
|
|
6722
|
+
props.children && /* @__PURE__ */ jsx85(ListContent, { virtualization, children: props.children })
|
|
6647
6723
|
] });
|
|
6648
6724
|
};
|
|
6649
6725
|
|
|
6650
6726
|
// src/list/list-group-item.tsx
|
|
6651
|
-
import { jsx as
|
|
6727
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6652
6728
|
var className12 = `k-list-group-item`;
|
|
6653
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6729
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx86("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx86("span", { className: "k-list-item-text", children: props.children }) });
|
|
6654
6730
|
|
|
6655
6731
|
// src/list/list-option-label.tsx
|
|
6656
|
-
import { jsx as
|
|
6732
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
6657
6733
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6658
6734
|
var states40 = [
|
|
6659
6735
|
States.hover,
|
|
@@ -6672,7 +6748,7 @@ var ListOptionLabel = (props) => {
|
|
|
6672
6748
|
disabled,
|
|
6673
6749
|
...other
|
|
6674
6750
|
} = props;
|
|
6675
|
-
return /* @__PURE__ */
|
|
6751
|
+
return /* @__PURE__ */ jsx87(
|
|
6676
6752
|
"div",
|
|
6677
6753
|
{
|
|
6678
6754
|
...other,
|
|
@@ -6695,28 +6771,28 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
6695
6771
|
ListOptionLabel.defaultProps = defaultProps34;
|
|
6696
6772
|
|
|
6697
6773
|
// src/list/templates/list-normal.tsx
|
|
6698
|
-
import { jsx as
|
|
6774
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6699
6775
|
|
|
6700
6776
|
// src/list/templates/list-virtualization.tsx
|
|
6701
|
-
import { jsx as
|
|
6777
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
6702
6778
|
|
|
6703
6779
|
// src/list/templates/list-grouping.tsx
|
|
6704
|
-
import { jsx as
|
|
6780
|
+
import { jsx as jsx90, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6705
6781
|
|
|
6706
6782
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6707
|
-
import { jsx as
|
|
6783
|
+
import { jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6708
6784
|
|
|
6709
6785
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6710
|
-
import { jsx as
|
|
6786
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6711
6787
|
|
|
6712
6788
|
// src/list/templates/list-grouping-angular.tsx
|
|
6713
|
-
import { jsx as
|
|
6789
|
+
import { jsx as jsx93, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6714
6790
|
|
|
6715
6791
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6716
|
-
import { jsx as
|
|
6792
|
+
import { jsx as jsx94, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6717
6793
|
|
|
6718
6794
|
// src/combobox/combobox.spec.tsx
|
|
6719
|
-
import { Fragment as
|
|
6795
|
+
import { Fragment as Fragment23, jsx as jsx95, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6720
6796
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6721
6797
|
var states41 = [
|
|
6722
6798
|
States.hover,
|
|
@@ -6761,8 +6837,8 @@ var Combobox = (props) => {
|
|
|
6761
6837
|
adaptiveSettings,
|
|
6762
6838
|
...other
|
|
6763
6839
|
} = props;
|
|
6764
|
-
return /* @__PURE__ */
|
|
6765
|
-
/* @__PURE__ */
|
|
6840
|
+
return /* @__PURE__ */ jsxs39(Fragment23, { children: [
|
|
6841
|
+
/* @__PURE__ */ jsxs39(
|
|
6766
6842
|
Input,
|
|
6767
6843
|
{
|
|
6768
6844
|
...other,
|
|
@@ -6779,9 +6855,9 @@ var Combobox = (props) => {
|
|
|
6779
6855
|
readonly,
|
|
6780
6856
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6781
6857
|
children: [
|
|
6782
|
-
/* @__PURE__ */
|
|
6783
|
-
/* @__PURE__ */
|
|
6784
|
-
/* @__PURE__ */
|
|
6858
|
+
/* @__PURE__ */ jsx95(InputPrefix, { children: prefix }),
|
|
6859
|
+
/* @__PURE__ */ jsx95(InputInnerInput, { placeholder, value }),
|
|
6860
|
+
/* @__PURE__ */ jsx95(
|
|
6785
6861
|
InputValidationIcon,
|
|
6786
6862
|
{
|
|
6787
6863
|
valid,
|
|
@@ -6790,14 +6866,14 @@ var Combobox = (props) => {
|
|
|
6790
6866
|
disabled
|
|
6791
6867
|
}
|
|
6792
6868
|
),
|
|
6793
|
-
/* @__PURE__ */
|
|
6869
|
+
/* @__PURE__ */ jsx95(
|
|
6794
6870
|
InputLoadingIcon,
|
|
6795
6871
|
{
|
|
6796
6872
|
loading,
|
|
6797
6873
|
disabled
|
|
6798
6874
|
}
|
|
6799
6875
|
),
|
|
6800
|
-
/* @__PURE__ */
|
|
6876
|
+
/* @__PURE__ */ jsx95(
|
|
6801
6877
|
InputClearValue,
|
|
6802
6878
|
{
|
|
6803
6879
|
loading,
|
|
@@ -6806,8 +6882,8 @@ var Combobox = (props) => {
|
|
|
6806
6882
|
value
|
|
6807
6883
|
}
|
|
6808
6884
|
),
|
|
6809
|
-
/* @__PURE__ */
|
|
6810
|
-
/* @__PURE__ */
|
|
6885
|
+
/* @__PURE__ */ jsx95(InputSuffix, { children: suffix }),
|
|
6886
|
+
/* @__PURE__ */ jsx95(
|
|
6811
6887
|
Button,
|
|
6812
6888
|
{
|
|
6813
6889
|
className: "k-input-button",
|
|
@@ -6820,9 +6896,9 @@ var Combobox = (props) => {
|
|
|
6820
6896
|
]
|
|
6821
6897
|
}
|
|
6822
6898
|
),
|
|
6823
|
-
opened && popup && /* @__PURE__ */
|
|
6824
|
-
adaptive && /* @__PURE__ */
|
|
6825
|
-
/* @__PURE__ */
|
|
6899
|
+
opened && popup && /* @__PURE__ */ jsx95(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6900
|
+
adaptive && /* @__PURE__ */ jsxs39(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6901
|
+
/* @__PURE__ */ jsx95(
|
|
6826
6902
|
ActionSheetHeader,
|
|
6827
6903
|
{
|
|
6828
6904
|
actions: ["x"],
|
|
@@ -6830,10 +6906,10 @@ var Combobox = (props) => {
|
|
|
6830
6906
|
title: "Select Item"
|
|
6831
6907
|
}
|
|
6832
6908
|
),
|
|
6833
|
-
/* @__PURE__ */
|
|
6834
|
-
/* @__PURE__ */
|
|
6835
|
-
/* @__PURE__ */
|
|
6836
|
-
/* @__PURE__ */
|
|
6909
|
+
/* @__PURE__ */ jsx95("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs39(List, { size: "large", children: [
|
|
6910
|
+
/* @__PURE__ */ jsx95(ListItem, { text: "List item" }),
|
|
6911
|
+
/* @__PURE__ */ jsx95(ListItem, { text: "List item" }),
|
|
6912
|
+
/* @__PURE__ */ jsx95(ListItem, { text: "List item" })
|
|
6837
6913
|
] }) })
|
|
6838
6914
|
] })
|
|
6839
6915
|
] });
|
|
@@ -6844,19 +6920,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
6844
6920
|
Combobox.defaultProps = defaultProps35;
|
|
6845
6921
|
|
|
6846
6922
|
// src/combobox/templates/combobox-normal.tsx
|
|
6847
|
-
import { jsx as
|
|
6923
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6848
6924
|
|
|
6849
6925
|
// src/combobox/templates/combobox-popup.tsx
|
|
6850
|
-
import { jsx as
|
|
6926
|
+
import { jsx as jsx97, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6851
6927
|
|
|
6852
6928
|
// src/combobox/templates/combobox-grouping.tsx
|
|
6853
|
-
import { jsx as
|
|
6929
|
+
import { jsx as jsx98, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6854
6930
|
|
|
6855
6931
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
6856
|
-
import { jsx as
|
|
6932
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
6857
6933
|
|
|
6858
6934
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
6859
|
-
import { Fragment as
|
|
6935
|
+
import { Fragment as Fragment24, jsx as jsx100, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6860
6936
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
6861
6937
|
var states42 = [
|
|
6862
6938
|
States.hover,
|
|
@@ -6904,8 +6980,8 @@ var DropdownList = (props) => {
|
|
|
6904
6980
|
opened,
|
|
6905
6981
|
...other
|
|
6906
6982
|
} = props;
|
|
6907
|
-
return /* @__PURE__ */
|
|
6908
|
-
/* @__PURE__ */
|
|
6983
|
+
return /* @__PURE__ */ jsxs42(Fragment24, { children: [
|
|
6984
|
+
/* @__PURE__ */ jsxs42(
|
|
6909
6985
|
Picker,
|
|
6910
6986
|
{
|
|
6911
6987
|
...other,
|
|
@@ -6928,8 +7004,8 @@ var DropdownList = (props) => {
|
|
|
6928
7004
|
}
|
|
6929
7005
|
),
|
|
6930
7006
|
children: [
|
|
6931
|
-
/* @__PURE__ */
|
|
6932
|
-
/* @__PURE__ */
|
|
7007
|
+
/* @__PURE__ */ jsx100(InputPrefix, { children: prefix }),
|
|
7008
|
+
/* @__PURE__ */ jsx100(
|
|
6933
7009
|
InputInnerSpan,
|
|
6934
7010
|
{
|
|
6935
7011
|
placeholder,
|
|
@@ -6938,7 +7014,7 @@ var DropdownList = (props) => {
|
|
|
6938
7014
|
valueIconName
|
|
6939
7015
|
}
|
|
6940
7016
|
),
|
|
6941
|
-
/* @__PURE__ */
|
|
7017
|
+
/* @__PURE__ */ jsx100(
|
|
6942
7018
|
InputValidationIcon,
|
|
6943
7019
|
{
|
|
6944
7020
|
valid,
|
|
@@ -6947,15 +7023,15 @@ var DropdownList = (props) => {
|
|
|
6947
7023
|
disabled
|
|
6948
7024
|
}
|
|
6949
7025
|
),
|
|
6950
|
-
/* @__PURE__ */
|
|
7026
|
+
/* @__PURE__ */ jsx100(
|
|
6951
7027
|
InputLoadingIcon,
|
|
6952
7028
|
{
|
|
6953
7029
|
loading,
|
|
6954
7030
|
disabled
|
|
6955
7031
|
}
|
|
6956
7032
|
),
|
|
6957
|
-
/* @__PURE__ */
|
|
6958
|
-
/* @__PURE__ */
|
|
7033
|
+
/* @__PURE__ */ jsx100(InputSuffix, { children: suffix }),
|
|
7034
|
+
/* @__PURE__ */ jsx100(
|
|
6959
7035
|
Button,
|
|
6960
7036
|
{
|
|
6961
7037
|
className: "k-input-button",
|
|
@@ -6968,7 +7044,7 @@ var DropdownList = (props) => {
|
|
|
6968
7044
|
]
|
|
6969
7045
|
}
|
|
6970
7046
|
),
|
|
6971
|
-
opened && popup && /* @__PURE__ */
|
|
7047
|
+
opened && popup && /* @__PURE__ */ jsx100(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
6972
7048
|
] });
|
|
6973
7049
|
};
|
|
6974
7050
|
DropdownList.states = states42;
|
|
@@ -6977,22 +7053,22 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
6977
7053
|
DropdownList.defaultProps = defaultProps36;
|
|
6978
7054
|
|
|
6979
7055
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
6980
|
-
import { jsx as
|
|
7056
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
6981
7057
|
|
|
6982
7058
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6983
|
-
import { jsx as
|
|
7059
|
+
import { jsx as jsx102, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6984
7060
|
|
|
6985
7061
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6986
|
-
import { Fragment as
|
|
7062
|
+
import { Fragment as Fragment25, jsx as jsx103, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6987
7063
|
|
|
6988
7064
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6989
|
-
import { jsx as
|
|
7065
|
+
import { jsx as jsx104, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6990
7066
|
|
|
6991
7067
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6992
|
-
import { Fragment as
|
|
7068
|
+
import { Fragment as Fragment26, jsx as jsx105, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6993
7069
|
|
|
6994
7070
|
// src/menu-button/menu-button.spec.tsx
|
|
6995
|
-
import { Fragment as
|
|
7071
|
+
import { Fragment as Fragment27, jsx as jsx106, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6996
7072
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
6997
7073
|
var states43 = [
|
|
6998
7074
|
States.hover,
|
|
@@ -7046,8 +7122,8 @@ var MenuButton = (props) => {
|
|
|
7046
7122
|
opened,
|
|
7047
7123
|
...other
|
|
7048
7124
|
} = props;
|
|
7049
|
-
return /* @__PURE__ */
|
|
7050
|
-
/* @__PURE__ */
|
|
7125
|
+
return /* @__PURE__ */ jsxs47(Fragment27, { children: [
|
|
7126
|
+
/* @__PURE__ */ jsx106(
|
|
7051
7127
|
Button,
|
|
7052
7128
|
{
|
|
7053
7129
|
...other,
|
|
@@ -7070,7 +7146,7 @@ var MenuButton = (props) => {
|
|
|
7070
7146
|
arrowIconName
|
|
7071
7147
|
}
|
|
7072
7148
|
),
|
|
7073
|
-
opened && popup && /* @__PURE__ */
|
|
7149
|
+
opened && popup && /* @__PURE__ */ jsx106(Popup, { className: "k-menu-popup", children: popup })
|
|
7074
7150
|
] });
|
|
7075
7151
|
};
|
|
7076
7152
|
MenuButton.states = states43;
|
|
@@ -7079,16 +7155,16 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
7079
7155
|
MenuButton.defaultProps = defaultProps37;
|
|
7080
7156
|
|
|
7081
7157
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7082
|
-
import { jsx as
|
|
7158
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
7083
7159
|
|
|
7084
7160
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7085
|
-
import { jsx as
|
|
7161
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
7086
7162
|
|
|
7087
7163
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7088
|
-
import { jsx as
|
|
7164
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7089
7165
|
|
|
7090
7166
|
// src/menu/menu-item.spec.tsx
|
|
7091
|
-
import { Fragment as
|
|
7167
|
+
import { Fragment as Fragment28, jsx as jsx110, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7092
7168
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7093
7169
|
var states44 = [
|
|
7094
7170
|
States.hover,
|
|
@@ -7116,7 +7192,7 @@ var MenuItem = (props) => {
|
|
|
7116
7192
|
children,
|
|
7117
7193
|
...other
|
|
7118
7194
|
} = props;
|
|
7119
|
-
const contentTemplate = /* @__PURE__ */
|
|
7195
|
+
const contentTemplate = /* @__PURE__ */ jsx110(Fragment28, {});
|
|
7120
7196
|
if (children) {
|
|
7121
7197
|
children.forEach((child) => {
|
|
7122
7198
|
const component = child.type;
|
|
@@ -7130,7 +7206,7 @@ var MenuItem = (props) => {
|
|
|
7130
7206
|
if (!expandArrowName) {
|
|
7131
7207
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7132
7208
|
}
|
|
7133
|
-
return /* @__PURE__ */
|
|
7209
|
+
return /* @__PURE__ */ jsxs48(
|
|
7134
7210
|
"li",
|
|
7135
7211
|
{
|
|
7136
7212
|
...other,
|
|
@@ -7145,7 +7221,7 @@ var MenuItem = (props) => {
|
|
|
7145
7221
|
})
|
|
7146
7222
|
),
|
|
7147
7223
|
children: [
|
|
7148
|
-
/* @__PURE__ */
|
|
7224
|
+
/* @__PURE__ */ jsxs48(
|
|
7149
7225
|
"span",
|
|
7150
7226
|
{
|
|
7151
7227
|
className: classNames(
|
|
@@ -7158,9 +7234,9 @@ var MenuItem = (props) => {
|
|
|
7158
7234
|
})
|
|
7159
7235
|
),
|
|
7160
7236
|
children: [
|
|
7161
|
-
icon && /* @__PURE__ */
|
|
7162
|
-
/* @__PURE__ */
|
|
7163
|
-
showArrow && /* @__PURE__ */
|
|
7237
|
+
icon && /* @__PURE__ */ jsx110(Icon, { className: "k-menu-link-icon", icon }),
|
|
7238
|
+
/* @__PURE__ */ jsx110("span", { className: "k-menu-link-text", children: text }),
|
|
7239
|
+
showArrow && /* @__PURE__ */ jsx110("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx110(Icon, { icon: expandArrowName }) })
|
|
7164
7240
|
]
|
|
7165
7241
|
}
|
|
7166
7242
|
),
|
|
@@ -7176,7 +7252,7 @@ MenuItem.defaultProps = defaultProps38;
|
|
|
7176
7252
|
var menu_item_spec_default = MenuItem;
|
|
7177
7253
|
|
|
7178
7254
|
// src/menu/menu-separator.spec.tsx
|
|
7179
|
-
import { jsx as
|
|
7255
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
7180
7256
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7181
7257
|
var defaultProps39 = {
|
|
7182
7258
|
orientation: "horizontal"
|
|
@@ -7186,7 +7262,7 @@ var MenuSeparator = (props) => {
|
|
|
7186
7262
|
orientation = defaultProps39.orientation,
|
|
7187
7263
|
...other
|
|
7188
7264
|
} = props;
|
|
7189
|
-
return /* @__PURE__ */
|
|
7265
|
+
return /* @__PURE__ */ jsx111(
|
|
7190
7266
|
"li",
|
|
7191
7267
|
{
|
|
7192
7268
|
...other,
|
|
@@ -7204,10 +7280,10 @@ var MenuSeparator = (props) => {
|
|
|
7204
7280
|
var menu_separator_spec_default = MenuSeparator;
|
|
7205
7281
|
|
|
7206
7282
|
// src/menu/menu-item-content.tsx
|
|
7207
|
-
import { Fragment as
|
|
7283
|
+
import { Fragment as Fragment29, jsx as jsx112 } from "react/jsx-runtime";
|
|
7208
7284
|
|
|
7209
7285
|
// src/menu/menu-list.spec.tsx
|
|
7210
|
-
import { jsx as
|
|
7286
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
7211
7287
|
import { createElement } from "react";
|
|
7212
7288
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7213
7289
|
var states45 = [];
|
|
@@ -7235,7 +7311,7 @@ var MenuList = (props) => {
|
|
|
7235
7311
|
);
|
|
7236
7312
|
} else if (child.type === menu_separator_spec_default) {
|
|
7237
7313
|
listChildren.push(
|
|
7238
|
-
/* @__PURE__ */
|
|
7314
|
+
/* @__PURE__ */ jsx113(menu_separator_spec_default, {})
|
|
7239
7315
|
);
|
|
7240
7316
|
} else {
|
|
7241
7317
|
listChildren.push(child);
|
|
@@ -7243,7 +7319,7 @@ var MenuList = (props) => {
|
|
|
7243
7319
|
});
|
|
7244
7320
|
}
|
|
7245
7321
|
}
|
|
7246
|
-
return /* @__PURE__ */
|
|
7322
|
+
return /* @__PURE__ */ jsx113(
|
|
7247
7323
|
"ul",
|
|
7248
7324
|
{
|
|
7249
7325
|
...other,
|
|
@@ -7264,10 +7340,10 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
7264
7340
|
MenuList.defaultProps = defaultProps40;
|
|
7265
7341
|
|
|
7266
7342
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7267
|
-
import { jsx as
|
|
7343
|
+
import { jsx as jsx114, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7268
7344
|
|
|
7269
7345
|
// src/split-button/split-button.spec.tsx
|
|
7270
|
-
import { Fragment as
|
|
7346
|
+
import { Fragment as Fragment30, jsx as jsx115, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7271
7347
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7272
7348
|
var states46 = [
|
|
7273
7349
|
States.hover,
|
|
@@ -7319,8 +7395,8 @@ var SplitButton = (props) => {
|
|
|
7319
7395
|
opened,
|
|
7320
7396
|
...other
|
|
7321
7397
|
} = props;
|
|
7322
|
-
return /* @__PURE__ */
|
|
7323
|
-
/* @__PURE__ */
|
|
7398
|
+
return /* @__PURE__ */ jsxs50(Fragment30, { children: [
|
|
7399
|
+
/* @__PURE__ */ jsxs50(
|
|
7324
7400
|
"div",
|
|
7325
7401
|
{
|
|
7326
7402
|
...other,
|
|
@@ -7333,7 +7409,7 @@ var SplitButton = (props) => {
|
|
|
7333
7409
|
})
|
|
7334
7410
|
),
|
|
7335
7411
|
children: [
|
|
7336
|
-
/* @__PURE__ */
|
|
7412
|
+
/* @__PURE__ */ jsx115(
|
|
7337
7413
|
Button,
|
|
7338
7414
|
{
|
|
7339
7415
|
text,
|
|
@@ -7350,7 +7426,7 @@ var SplitButton = (props) => {
|
|
|
7350
7426
|
children: props.children
|
|
7351
7427
|
}
|
|
7352
7428
|
),
|
|
7353
|
-
/* @__PURE__ */
|
|
7429
|
+
/* @__PURE__ */ jsx115(
|
|
7354
7430
|
Button,
|
|
7355
7431
|
{
|
|
7356
7432
|
className: "k-split-button-arrow",
|
|
@@ -7364,7 +7440,7 @@ var SplitButton = (props) => {
|
|
|
7364
7440
|
]
|
|
7365
7441
|
}
|
|
7366
7442
|
),
|
|
7367
|
-
opened && popup && /* @__PURE__ */
|
|
7443
|
+
opened && popup && /* @__PURE__ */ jsx115(Popup, { className: "k-menu-popup", children: popup })
|
|
7368
7444
|
] });
|
|
7369
7445
|
};
|
|
7370
7446
|
SplitButton.states = states46;
|
|
@@ -7374,7 +7450,7 @@ SplitButton.defaultProps = defaultProps41;
|
|
|
7374
7450
|
var split_button_spec_default = SplitButton;
|
|
7375
7451
|
|
|
7376
7452
|
// src/toolbar/toolbar.spec.tsx
|
|
7377
|
-
import { jsx as
|
|
7453
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
7378
7454
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7379
7455
|
var states47 = [
|
|
7380
7456
|
States.focus
|
|
@@ -7397,7 +7473,7 @@ var Toolbar = (props) => {
|
|
|
7397
7473
|
const tempToolbarChildren = [];
|
|
7398
7474
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7399
7475
|
tempToolbarChildren.push(
|
|
7400
|
-
/* @__PURE__ */
|
|
7476
|
+
/* @__PURE__ */ jsx116(
|
|
7401
7477
|
Button,
|
|
7402
7478
|
{
|
|
7403
7479
|
...child.props,
|
|
@@ -7408,7 +7484,7 @@ var Toolbar = (props) => {
|
|
|
7408
7484
|
);
|
|
7409
7485
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7410
7486
|
tempToolbarChildren.push(
|
|
7411
|
-
/* @__PURE__ */
|
|
7487
|
+
/* @__PURE__ */ jsx116(
|
|
7412
7488
|
Button,
|
|
7413
7489
|
{
|
|
7414
7490
|
...child.props,
|
|
@@ -7419,7 +7495,7 @@ var Toolbar = (props) => {
|
|
|
7419
7495
|
);
|
|
7420
7496
|
} else if (child.type === Button) {
|
|
7421
7497
|
tempToolbarChildren.push(
|
|
7422
|
-
/* @__PURE__ */
|
|
7498
|
+
/* @__PURE__ */ jsx116(
|
|
7423
7499
|
Button,
|
|
7424
7500
|
{
|
|
7425
7501
|
...child.props,
|
|
@@ -7430,7 +7506,7 @@ var Toolbar = (props) => {
|
|
|
7430
7506
|
);
|
|
7431
7507
|
} else if (child.type === MenuButton) {
|
|
7432
7508
|
tempToolbarChildren.push(
|
|
7433
|
-
/* @__PURE__ */
|
|
7509
|
+
/* @__PURE__ */ jsx116(
|
|
7434
7510
|
MenuButton,
|
|
7435
7511
|
{
|
|
7436
7512
|
...child.props,
|
|
@@ -7441,7 +7517,7 @@ var Toolbar = (props) => {
|
|
|
7441
7517
|
);
|
|
7442
7518
|
} else if (child.type === split_button_spec_default) {
|
|
7443
7519
|
tempToolbarChildren.push(
|
|
7444
|
-
/* @__PURE__ */
|
|
7520
|
+
/* @__PURE__ */ jsx116(
|
|
7445
7521
|
split_button_spec_default,
|
|
7446
7522
|
{
|
|
7447
7523
|
...child.props,
|
|
@@ -7455,7 +7531,7 @@ var Toolbar = (props) => {
|
|
|
7455
7531
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7456
7532
|
childrenArray.forEach((button, bindex) => {
|
|
7457
7533
|
buttonGroupItems.push(
|
|
7458
|
-
/* @__PURE__ */
|
|
7534
|
+
/* @__PURE__ */ jsx116(
|
|
7459
7535
|
Button,
|
|
7460
7536
|
{
|
|
7461
7537
|
...button.props,
|
|
@@ -7466,7 +7542,7 @@ var Toolbar = (props) => {
|
|
|
7466
7542
|
);
|
|
7467
7543
|
});
|
|
7468
7544
|
tempToolbarChildren.push(
|
|
7469
|
-
/* @__PURE__ */
|
|
7545
|
+
/* @__PURE__ */ jsx116(
|
|
7470
7546
|
ButtonGroup,
|
|
7471
7547
|
{
|
|
7472
7548
|
...child.props,
|
|
@@ -7478,7 +7554,7 @@ var Toolbar = (props) => {
|
|
|
7478
7554
|
);
|
|
7479
7555
|
} else if (child.type === Combobox) {
|
|
7480
7556
|
tempToolbarChildren.push(
|
|
7481
|
-
/* @__PURE__ */
|
|
7557
|
+
/* @__PURE__ */ jsx116(
|
|
7482
7558
|
Combobox,
|
|
7483
7559
|
{
|
|
7484
7560
|
...child.props,
|
|
@@ -7489,7 +7565,7 @@ var Toolbar = (props) => {
|
|
|
7489
7565
|
);
|
|
7490
7566
|
} else if (child.type === DropdownList) {
|
|
7491
7567
|
tempToolbarChildren.push(
|
|
7492
|
-
/* @__PURE__ */
|
|
7568
|
+
/* @__PURE__ */ jsx116(
|
|
7493
7569
|
DropdownList,
|
|
7494
7570
|
{
|
|
7495
7571
|
...child.props,
|
|
@@ -7500,7 +7576,7 @@ var Toolbar = (props) => {
|
|
|
7500
7576
|
);
|
|
7501
7577
|
} else if (child.type === ColorPicker) {
|
|
7502
7578
|
tempToolbarChildren.push(
|
|
7503
|
-
/* @__PURE__ */
|
|
7579
|
+
/* @__PURE__ */ jsx116(
|
|
7504
7580
|
ColorPicker,
|
|
7505
7581
|
{
|
|
7506
7582
|
...child.props,
|
|
@@ -7522,7 +7598,7 @@ var Toolbar = (props) => {
|
|
|
7522
7598
|
addUniqueToolClass(child, index);
|
|
7523
7599
|
});
|
|
7524
7600
|
}
|
|
7525
|
-
return /* @__PURE__ */
|
|
7601
|
+
return /* @__PURE__ */ jsx116(
|
|
7526
7602
|
"div",
|
|
7527
7603
|
{
|
|
7528
7604
|
...other,
|
|
@@ -7549,7 +7625,7 @@ Toolbar.className = TOOLBAR_CLASSNAME;
|
|
|
7549
7625
|
Toolbar.defaultProps = defaultProps42;
|
|
7550
7626
|
|
|
7551
7627
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7552
|
-
import { jsx as
|
|
7628
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
7553
7629
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7554
7630
|
var states48 = [
|
|
7555
7631
|
States.focus
|
|
@@ -7572,7 +7648,7 @@ var ToolbarAngular = (props) => {
|
|
|
7572
7648
|
const tempToolbarChildren = [];
|
|
7573
7649
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7574
7650
|
tempToolbarChildren.push(
|
|
7575
|
-
/* @__PURE__ */
|
|
7651
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7576
7652
|
Button,
|
|
7577
7653
|
{
|
|
7578
7654
|
...child.props,
|
|
@@ -7583,7 +7659,7 @@ var ToolbarAngular = (props) => {
|
|
|
7583
7659
|
);
|
|
7584
7660
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7585
7661
|
tempToolbarChildren.push(
|
|
7586
|
-
/* @__PURE__ */
|
|
7662
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7587
7663
|
Button,
|
|
7588
7664
|
{
|
|
7589
7665
|
...child.props,
|
|
@@ -7594,7 +7670,7 @@ var ToolbarAngular = (props) => {
|
|
|
7594
7670
|
);
|
|
7595
7671
|
} else if (child.type === Button) {
|
|
7596
7672
|
tempToolbarChildren.push(
|
|
7597
|
-
/* @__PURE__ */
|
|
7673
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7598
7674
|
Button,
|
|
7599
7675
|
{
|
|
7600
7676
|
...child.props,
|
|
@@ -7605,7 +7681,7 @@ var ToolbarAngular = (props) => {
|
|
|
7605
7681
|
);
|
|
7606
7682
|
} else if (child.type === MenuButton) {
|
|
7607
7683
|
tempToolbarChildren.push(
|
|
7608
|
-
/* @__PURE__ */
|
|
7684
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7609
7685
|
MenuButton,
|
|
7610
7686
|
{
|
|
7611
7687
|
...child.props,
|
|
@@ -7616,7 +7692,7 @@ var ToolbarAngular = (props) => {
|
|
|
7616
7692
|
);
|
|
7617
7693
|
} else if (child.type === split_button_spec_default) {
|
|
7618
7694
|
tempToolbarChildren.push(
|
|
7619
|
-
/* @__PURE__ */
|
|
7695
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7620
7696
|
split_button_spec_default,
|
|
7621
7697
|
{
|
|
7622
7698
|
...child.props,
|
|
@@ -7630,7 +7706,7 @@ var ToolbarAngular = (props) => {
|
|
|
7630
7706
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7631
7707
|
childrenArray.forEach((button, bindex) => {
|
|
7632
7708
|
buttonGroupItems.push(
|
|
7633
|
-
/* @__PURE__ */
|
|
7709
|
+
/* @__PURE__ */ jsx117(
|
|
7634
7710
|
Button,
|
|
7635
7711
|
{
|
|
7636
7712
|
...button.props,
|
|
@@ -7641,7 +7717,7 @@ var ToolbarAngular = (props) => {
|
|
|
7641
7717
|
);
|
|
7642
7718
|
});
|
|
7643
7719
|
tempToolbarChildren.push(
|
|
7644
|
-
/* @__PURE__ */
|
|
7720
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7645
7721
|
ButtonGroup,
|
|
7646
7722
|
{
|
|
7647
7723
|
...child.props,
|
|
@@ -7653,7 +7729,7 @@ var ToolbarAngular = (props) => {
|
|
|
7653
7729
|
);
|
|
7654
7730
|
} else if (child.type === Combobox) {
|
|
7655
7731
|
tempToolbarChildren.push(
|
|
7656
|
-
/* @__PURE__ */
|
|
7732
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7657
7733
|
Combobox,
|
|
7658
7734
|
{
|
|
7659
7735
|
...child.props,
|
|
@@ -7664,7 +7740,7 @@ var ToolbarAngular = (props) => {
|
|
|
7664
7740
|
);
|
|
7665
7741
|
} else if (child.type === DropdownList) {
|
|
7666
7742
|
tempToolbarChildren.push(
|
|
7667
|
-
/* @__PURE__ */
|
|
7743
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7668
7744
|
DropdownList,
|
|
7669
7745
|
{
|
|
7670
7746
|
...child.props,
|
|
@@ -7675,7 +7751,7 @@ var ToolbarAngular = (props) => {
|
|
|
7675
7751
|
);
|
|
7676
7752
|
} else if (child.type === ColorPicker) {
|
|
7677
7753
|
tempToolbarChildren.push(
|
|
7678
|
-
/* @__PURE__ */
|
|
7754
|
+
/* @__PURE__ */ jsx117("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx117(
|
|
7679
7755
|
ColorPicker,
|
|
7680
7756
|
{
|
|
7681
7757
|
...child.props,
|
|
@@ -7697,7 +7773,7 @@ var ToolbarAngular = (props) => {
|
|
|
7697
7773
|
addUniqueToolClass(child, index);
|
|
7698
7774
|
});
|
|
7699
7775
|
}
|
|
7700
|
-
return /* @__PURE__ */
|
|
7776
|
+
return /* @__PURE__ */ jsx117(
|
|
7701
7777
|
"div",
|
|
7702
7778
|
{
|
|
7703
7779
|
...other,
|
|
@@ -7724,10 +7800,10 @@ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
|
7724
7800
|
ToolbarAngular.defaultProps = defaultProps43;
|
|
7725
7801
|
|
|
7726
7802
|
// src/toolbar/toolbar-separator.tsx
|
|
7727
|
-
import { jsx as
|
|
7803
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7728
7804
|
|
|
7729
7805
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7730
|
-
import { jsx as
|
|
7806
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
7731
7807
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7732
7808
|
var states49 = [
|
|
7733
7809
|
States.focus
|
|
@@ -7739,7 +7815,7 @@ var ToolbarItem = (props) => {
|
|
|
7739
7815
|
focus,
|
|
7740
7816
|
...other
|
|
7741
7817
|
} = props;
|
|
7742
|
-
return /* @__PURE__ */
|
|
7818
|
+
return /* @__PURE__ */ jsx119(
|
|
7743
7819
|
"div",
|
|
7744
7820
|
{
|
|
7745
7821
|
...other,
|
|
@@ -7760,14 +7836,14 @@ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
|
7760
7836
|
ToolbarItem.defaultProps = defaultProps44;
|
|
7761
7837
|
|
|
7762
7838
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7763
|
-
import { jsx as
|
|
7839
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
7764
7840
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7765
7841
|
var states50 = [];
|
|
7766
7842
|
var options47 = {};
|
|
7767
7843
|
var defaultProps45 = {};
|
|
7768
7844
|
var ToolbarPopup = (props) => {
|
|
7769
7845
|
const { ...other } = props;
|
|
7770
|
-
return /* @__PURE__ */
|
|
7846
|
+
return /* @__PURE__ */ jsx120(
|
|
7771
7847
|
Popup,
|
|
7772
7848
|
{
|
|
7773
7849
|
...other,
|
|
@@ -7785,31 +7861,31 @@ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
|
7785
7861
|
ToolbarPopup.defaultProps = defaultProps45;
|
|
7786
7862
|
|
|
7787
7863
|
// src/split-button/templates/icon-split-button.tsx
|
|
7788
|
-
import { jsx as
|
|
7864
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
7789
7865
|
|
|
7790
7866
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7791
|
-
import { jsx as
|
|
7867
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
7792
7868
|
|
|
7793
7869
|
// src/split-button/templates/text-split-button.tsx
|
|
7794
|
-
import { jsx as
|
|
7870
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
7795
7871
|
|
|
7796
7872
|
// src/split-button/templates/split-button-popup.tsx
|
|
7797
|
-
import { jsx as
|
|
7873
|
+
import { jsx as jsx124, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7798
7874
|
|
|
7799
7875
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7800
|
-
import { Fragment as
|
|
7876
|
+
import { Fragment as Fragment31, jsx as jsx125, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7801
7877
|
|
|
7802
7878
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7803
|
-
import { jsx as
|
|
7879
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
7804
7880
|
|
|
7805
7881
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7806
|
-
import { jsx as
|
|
7882
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
7807
7883
|
|
|
7808
7884
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7809
|
-
import { jsx as
|
|
7885
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
7810
7886
|
|
|
7811
7887
|
// src/treeview/treeview.spec.tsx
|
|
7812
|
-
import { jsx as
|
|
7888
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
7813
7889
|
import { createElement as createElement2 } from "react";
|
|
7814
7890
|
var TREEVIEW_CLASSNAME = `k-treeview`;
|
|
7815
7891
|
var states51 = [];
|
|
@@ -7844,17 +7920,17 @@ var Treeview = (props) => {
|
|
|
7844
7920
|
} else {
|
|
7845
7921
|
if (children.type === TreeviewItem) {
|
|
7846
7922
|
listChildren.push(
|
|
7847
|
-
/* @__PURE__ */
|
|
7923
|
+
/* @__PURE__ */ jsx129(TreeviewItem, { ...children.props, dir })
|
|
7848
7924
|
);
|
|
7849
7925
|
}
|
|
7850
7926
|
if (children.type === TreeviewGroup) {
|
|
7851
7927
|
listChildren.push(
|
|
7852
|
-
/* @__PURE__ */
|
|
7928
|
+
/* @__PURE__ */ jsx129(TreeviewGroup, { ...children.props, dir })
|
|
7853
7929
|
);
|
|
7854
7930
|
}
|
|
7855
7931
|
}
|
|
7856
7932
|
}
|
|
7857
|
-
return /* @__PURE__ */
|
|
7933
|
+
return /* @__PURE__ */ jsx129(
|
|
7858
7934
|
"div",
|
|
7859
7935
|
{
|
|
7860
7936
|
...other,
|
|
@@ -7866,7 +7942,7 @@ var Treeview = (props) => {
|
|
|
7866
7942
|
size
|
|
7867
7943
|
})
|
|
7868
7944
|
),
|
|
7869
|
-
children: /* @__PURE__ */
|
|
7945
|
+
children: /* @__PURE__ */ jsx129(TreeviewGroup, { className: "k-treeview-lines", dir, children: listChildren })
|
|
7870
7946
|
}
|
|
7871
7947
|
);
|
|
7872
7948
|
};
|
|
@@ -7876,7 +7952,7 @@ Treeview.className = TREEVIEW_CLASSNAME;
|
|
|
7876
7952
|
Treeview.defaultProps = defaultProps46;
|
|
7877
7953
|
|
|
7878
7954
|
// src/treeview/treeview-group.tsx
|
|
7879
|
-
import { jsx as
|
|
7955
|
+
import { jsx as jsx130 } from "react/jsx-runtime";
|
|
7880
7956
|
import { createElement as createElement3 } from "react";
|
|
7881
7957
|
var className13 = `k-treeview-group`;
|
|
7882
7958
|
var TreeviewGroup = (props) => {
|
|
@@ -7897,16 +7973,16 @@ var TreeviewGroup = (props) => {
|
|
|
7897
7973
|
} else {
|
|
7898
7974
|
if (children.type === treeview_item_spec_default) {
|
|
7899
7975
|
listChildren.push(
|
|
7900
|
-
/* @__PURE__ */
|
|
7976
|
+
/* @__PURE__ */ jsx130(treeview_item_spec_default, { ...children.props, dir })
|
|
7901
7977
|
);
|
|
7902
7978
|
}
|
|
7903
7979
|
}
|
|
7904
7980
|
}
|
|
7905
|
-
return /* @__PURE__ */
|
|
7981
|
+
return /* @__PURE__ */ jsx130("ul", { className: classNames(props.className, className13), children: listChildren });
|
|
7906
7982
|
};
|
|
7907
7983
|
|
|
7908
7984
|
// src/treeview/treeview-leaf.tsx
|
|
7909
|
-
import { jsx as
|
|
7985
|
+
import { jsx as jsx131, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7910
7986
|
var TREEVIEWLEAF_CLASSNAME = `k-treeview-leaf`;
|
|
7911
7987
|
var states52 = [
|
|
7912
7988
|
States.hover,
|
|
@@ -7924,7 +8000,7 @@ var TreeviewLeaf = (props) => {
|
|
|
7924
8000
|
selected,
|
|
7925
8001
|
...other
|
|
7926
8002
|
} = props;
|
|
7927
|
-
return /* @__PURE__ */
|
|
8003
|
+
return /* @__PURE__ */ jsxs53(
|
|
7928
8004
|
"span",
|
|
7929
8005
|
{
|
|
7930
8006
|
...other,
|
|
@@ -7938,8 +8014,8 @@ var TreeviewLeaf = (props) => {
|
|
|
7938
8014
|
})
|
|
7939
8015
|
),
|
|
7940
8016
|
children: [
|
|
7941
|
-
showIcon && /* @__PURE__ */
|
|
7942
|
-
/* @__PURE__ */
|
|
8017
|
+
showIcon && /* @__PURE__ */ jsx131(Icon, { icon }),
|
|
8018
|
+
/* @__PURE__ */ jsx131("span", { className: "k-treeview-leaf-text", children: text })
|
|
7943
8019
|
]
|
|
7944
8020
|
}
|
|
7945
8021
|
);
|
|
@@ -7950,7 +8026,7 @@ TreeviewLeaf.className = TREEVIEWLEAF_CLASSNAME;
|
|
|
7950
8026
|
var treeview_leaf_default = TreeviewLeaf;
|
|
7951
8027
|
|
|
7952
8028
|
// src/treeview/treeview-item.spec.tsx
|
|
7953
|
-
import { Fragment as
|
|
8029
|
+
import { Fragment as Fragment32, jsx as jsx132, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7954
8030
|
import { createElement as createElement4 } from "react";
|
|
7955
8031
|
var TREEVIEWITEM_CLASSNAME = `k-treeview-item`;
|
|
7956
8032
|
var states53 = [
|
|
@@ -7993,12 +8069,12 @@ var TreeviewItem = (props) => {
|
|
|
7993
8069
|
} else {
|
|
7994
8070
|
if (children.type === TreeviewGroup) {
|
|
7995
8071
|
listChildren.push(
|
|
7996
|
-
/* @__PURE__ */
|
|
8072
|
+
/* @__PURE__ */ jsx132(TreeviewGroup, { ...children.props, dir, children: children.props.children })
|
|
7997
8073
|
);
|
|
7998
8074
|
}
|
|
7999
8075
|
}
|
|
8000
8076
|
}
|
|
8001
|
-
return /* @__PURE__ */
|
|
8077
|
+
return /* @__PURE__ */ jsxs54(
|
|
8002
8078
|
"li",
|
|
8003
8079
|
{
|
|
8004
8080
|
...other,
|
|
@@ -8007,19 +8083,19 @@ var TreeviewItem = (props) => {
|
|
|
8007
8083
|
TREEVIEWITEM_CLASSNAME
|
|
8008
8084
|
),
|
|
8009
8085
|
children: [
|
|
8010
|
-
/* @__PURE__ */
|
|
8011
|
-
_hasChildren && /* @__PURE__ */
|
|
8086
|
+
/* @__PURE__ */ jsxs54("span", { className: "k-treeview-mid", children: [
|
|
8087
|
+
_hasChildren && /* @__PURE__ */ jsx132(
|
|
8012
8088
|
"span",
|
|
8013
8089
|
{
|
|
8014
8090
|
className: classNames(
|
|
8015
8091
|
"k-treeview-toggle",
|
|
8016
8092
|
stateClassNames("k-treeview-toggle", { disabled })
|
|
8017
8093
|
),
|
|
8018
|
-
children: /* @__PURE__ */
|
|
8094
|
+
children: /* @__PURE__ */ jsx132(Icon, { icon: expanded ? "caret-alt-down" : dir === "rtl" ? "caret-alt-left" : "caret-alt-right" })
|
|
8019
8095
|
}
|
|
8020
8096
|
),
|
|
8021
|
-
showCheckbox && /* @__PURE__ */
|
|
8022
|
-
/* @__PURE__ */
|
|
8097
|
+
showCheckbox && /* @__PURE__ */ jsx132(Checkbox, { checked, disabled }),
|
|
8098
|
+
/* @__PURE__ */ jsx132(
|
|
8023
8099
|
treeview_leaf_default,
|
|
8024
8100
|
{
|
|
8025
8101
|
className: classNames(
|
|
@@ -8035,7 +8111,7 @@ var TreeviewItem = (props) => {
|
|
|
8035
8111
|
}
|
|
8036
8112
|
)
|
|
8037
8113
|
] }),
|
|
8038
|
-
expanded && _hasChildren && /* @__PURE__ */
|
|
8114
|
+
expanded && _hasChildren && /* @__PURE__ */ jsx132(Fragment32, { children: listChildren })
|
|
8039
8115
|
]
|
|
8040
8116
|
}
|
|
8041
8117
|
);
|
|
@@ -8047,19 +8123,19 @@ TreeviewItem.defaultProps = defaultProps47;
|
|
|
8047
8123
|
var treeview_item_spec_default = TreeviewItem;
|
|
8048
8124
|
|
|
8049
8125
|
// src/treeview/templates/treeview-normal.tsx
|
|
8050
|
-
import { jsx as
|
|
8126
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
8051
8127
|
|
|
8052
8128
|
// src/treeview/templates/treeview-hierarchy.tsx
|
|
8053
|
-
import { jsx as
|
|
8129
|
+
import { jsx as jsx134, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
8054
8130
|
|
|
8055
8131
|
// src/treeview/templates/treeview-icons.tsx
|
|
8056
|
-
import { jsx as
|
|
8132
|
+
import { jsx as jsx135, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
8057
8133
|
|
|
8058
8134
|
// src/treeview/templates/treeview-checkboxes.tsx
|
|
8059
|
-
import { jsx as
|
|
8135
|
+
import { jsx as jsx136, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
8060
8136
|
|
|
8061
8137
|
// src/filemanager/tests/filemanager-drag-hint.tsx
|
|
8062
|
-
import { Fragment as
|
|
8138
|
+
import { Fragment as Fragment33, jsx as jsx137, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8063
8139
|
var styles = `
|
|
8064
8140
|
#filemanager-draghint {
|
|
8065
8141
|
position: absolute;
|
|
@@ -8068,36 +8144,36 @@ var styles = `
|
|
|
8068
8144
|
z-index: 2;
|
|
8069
8145
|
}
|
|
8070
8146
|
`;
|
|
8071
|
-
var filemanager_drag_hint_default = () => /* @__PURE__ */
|
|
8072
|
-
/* @__PURE__ */
|
|
8073
|
-
/* @__PURE__ */
|
|
8074
|
-
/* @__PURE__ */
|
|
8075
|
-
/* @__PURE__ */
|
|
8076
|
-
/* @__PURE__ */
|
|
8077
|
-
/* @__PURE__ */
|
|
8078
|
-
/* @__PURE__ */
|
|
8147
|
+
var filemanager_drag_hint_default = () => /* @__PURE__ */ jsxs58(Fragment33, { children: [
|
|
8148
|
+
/* @__PURE__ */ jsx137("style", { children: styles }),
|
|
8149
|
+
/* @__PURE__ */ jsxs58("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: [
|
|
8150
|
+
/* @__PURE__ */ jsx137("span", { children: "File Manager Drag Hint" }),
|
|
8151
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-widget k-filemanager", children: [
|
|
8152
|
+
/* @__PURE__ */ jsx137("div", { className: "k-filemanager-header", children: /* @__PURE__ */ jsxs58(Toolbar, { className: "k-filemanager-toolbar", children: [
|
|
8153
|
+
/* @__PURE__ */ jsx137(Button, { children: "New Folder" }),
|
|
8154
|
+
/* @__PURE__ */ jsx137(Button, { children: "Upload" })
|
|
8079
8155
|
] }) }),
|
|
8080
|
-
/* @__PURE__ */
|
|
8081
|
-
/* @__PURE__ */
|
|
8082
|
-
/* @__PURE__ */
|
|
8083
|
-
/* @__PURE__ */
|
|
8084
|
-
/* @__PURE__ */
|
|
8085
|
-
/* @__PURE__ */
|
|
8086
|
-
/* @__PURE__ */
|
|
8087
|
-
/* @__PURE__ */
|
|
8156
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-filemanager-content-container", children: [
|
|
8157
|
+
/* @__PURE__ */ jsx137("div", { className: "k-filemanager-navigation", children: /* @__PURE__ */ jsx137(Treeview, { className: "k-filemanager-treeview", children: /* @__PURE__ */ jsx137(TreeviewItem, { text: "Folder" }) }) }),
|
|
8158
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-filemanager-content", children: [
|
|
8159
|
+
/* @__PURE__ */ jsx137(BreadcrumbRoot, { className: "k-filemanager-breadcrumb", children: /* @__PURE__ */ jsx137(BreadcrumbContainer, { children: /* @__PURE__ */ jsx137(BreadcrumbItem, { root: true, children: /* @__PURE__ */ jsx137(BreadcrumbLink, { root: true, icon: true, children: /* @__PURE__ */ jsx137(Icon, { icon: "home" }) }) }) }) }),
|
|
8160
|
+
/* @__PURE__ */ jsx137("div", { className: "k-widget k-listview k-selectable k-filemanager-listview", children: /* @__PURE__ */ jsxs58("div", { className: "k-listview-content k-d-flex k-flex-row k-flex-wrap", children: [
|
|
8161
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-listview-item", children: [
|
|
8162
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-preview", children: /* @__PURE__ */ jsx137(Icon, { className: "k-file-icon", icon: "folder", size: "xxxlarge" }) }),
|
|
8163
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-name", children: "Folder" })
|
|
8088
8164
|
] }),
|
|
8089
|
-
/* @__PURE__ */
|
|
8090
|
-
/* @__PURE__ */
|
|
8091
|
-
/* @__PURE__ */
|
|
8165
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-listview-item k-selected", children: [
|
|
8166
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-preview", children: /* @__PURE__ */ jsx137(Icon, { className: "k-file-icon", icon: "file-image", size: "xxxlarge" }) }),
|
|
8167
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-name", children: "file.png" })
|
|
8092
8168
|
] })
|
|
8093
8169
|
] }) })
|
|
8094
8170
|
] }),
|
|
8095
|
-
/* @__PURE__ */
|
|
8171
|
+
/* @__PURE__ */ jsx137("div", { className: "k-filemanager-preview k-hidden" })
|
|
8096
8172
|
] })
|
|
8097
8173
|
] }),
|
|
8098
|
-
/* @__PURE__ */
|
|
8099
|
-
/* @__PURE__ */
|
|
8100
|
-
/* @__PURE__ */
|
|
8174
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-filemanager-drag-hint k-drag-clue", id: "filemanager-draghint", children: [
|
|
8175
|
+
/* @__PURE__ */ jsx137(Icon, { icon: "file" }),
|
|
8176
|
+
/* @__PURE__ */ jsx137("span", { children: "file.png" })
|
|
8101
8177
|
] })
|
|
8102
8178
|
] })
|
|
8103
8179
|
] });
|