@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/menu/menu-item.spec.tsx
|
|
4574
|
-
import { Fragment as
|
|
4650
|
+
import { Fragment as Fragment7, jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4575
4651
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
4576
4652
|
var states7 = [
|
|
4577
4653
|
States.hover,
|
|
@@ -4599,7 +4675,7 @@ var MenuItem = (props) => {
|
|
|
4599
4675
|
children,
|
|
4600
4676
|
...other
|
|
4601
4677
|
} = props;
|
|
4602
|
-
const contentTemplate = /* @__PURE__ */
|
|
4678
|
+
const contentTemplate = /* @__PURE__ */ jsx19(Fragment7, {});
|
|
4603
4679
|
if (children) {
|
|
4604
4680
|
children.forEach((child) => {
|
|
4605
4681
|
const component = child.type;
|
|
@@ -4613,7 +4689,7 @@ var MenuItem = (props) => {
|
|
|
4613
4689
|
if (!expandArrowName) {
|
|
4614
4690
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
4615
4691
|
}
|
|
4616
|
-
return /* @__PURE__ */
|
|
4692
|
+
return /* @__PURE__ */ jsxs6(
|
|
4617
4693
|
"li",
|
|
4618
4694
|
{
|
|
4619
4695
|
...other,
|
|
@@ -4628,7 +4704,7 @@ var MenuItem = (props) => {
|
|
|
4628
4704
|
})
|
|
4629
4705
|
),
|
|
4630
4706
|
children: [
|
|
4631
|
-
/* @__PURE__ */
|
|
4707
|
+
/* @__PURE__ */ jsxs6(
|
|
4632
4708
|
"span",
|
|
4633
4709
|
{
|
|
4634
4710
|
className: classNames(
|
|
@@ -4641,9 +4717,9 @@ var MenuItem = (props) => {
|
|
|
4641
4717
|
})
|
|
4642
4718
|
),
|
|
4643
4719
|
children: [
|
|
4644
|
-
icon && /* @__PURE__ */
|
|
4645
|
-
/* @__PURE__ */
|
|
4646
|
-
showArrow && /* @__PURE__ */
|
|
4720
|
+
icon && /* @__PURE__ */ jsx19(Icon, { className: "k-menu-link-icon", icon }),
|
|
4721
|
+
/* @__PURE__ */ jsx19("span", { className: "k-menu-link-text", children: text }),
|
|
4722
|
+
showArrow && /* @__PURE__ */ jsx19("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx19(Icon, { icon: expandArrowName }) })
|
|
4647
4723
|
]
|
|
4648
4724
|
}
|
|
4649
4725
|
),
|
|
@@ -4659,7 +4735,7 @@ MenuItem.defaultProps = defaultProps7;
|
|
|
4659
4735
|
var menu_item_spec_default = MenuItem;
|
|
4660
4736
|
|
|
4661
4737
|
// src/menu/menu-separator.spec.tsx
|
|
4662
|
-
import { jsx as
|
|
4738
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4663
4739
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
4664
4740
|
var defaultProps8 = {
|
|
4665
4741
|
orientation: "horizontal"
|
|
@@ -4669,7 +4745,7 @@ var MenuSeparator = (props) => {
|
|
|
4669
4745
|
orientation = defaultProps8.orientation,
|
|
4670
4746
|
...other
|
|
4671
4747
|
} = props;
|
|
4672
|
-
return /* @__PURE__ */
|
|
4748
|
+
return /* @__PURE__ */ jsx20(
|
|
4673
4749
|
"li",
|
|
4674
4750
|
{
|
|
4675
4751
|
...other,
|
|
@@ -4687,10 +4763,10 @@ var MenuSeparator = (props) => {
|
|
|
4687
4763
|
var menu_separator_spec_default = MenuSeparator;
|
|
4688
4764
|
|
|
4689
4765
|
// src/menu/menu-item-content.tsx
|
|
4690
|
-
import { Fragment as
|
|
4766
|
+
import { Fragment as Fragment8, jsx as jsx21 } from "react/jsx-runtime";
|
|
4691
4767
|
|
|
4692
4768
|
// src/menu/menu-list.spec.tsx
|
|
4693
|
-
import { jsx as
|
|
4769
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4694
4770
|
import { createElement } from "react";
|
|
4695
4771
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
4696
4772
|
var states8 = [];
|
|
@@ -4718,7 +4794,7 @@ var MenuList = (props) => {
|
|
|
4718
4794
|
);
|
|
4719
4795
|
} else if (child.type === menu_separator_spec_default) {
|
|
4720
4796
|
listChildren.push(
|
|
4721
|
-
/* @__PURE__ */
|
|
4797
|
+
/* @__PURE__ */ jsx22(menu_separator_spec_default, {})
|
|
4722
4798
|
);
|
|
4723
4799
|
} else {
|
|
4724
4800
|
listChildren.push(child);
|
|
@@ -4726,7 +4802,7 @@ var MenuList = (props) => {
|
|
|
4726
4802
|
});
|
|
4727
4803
|
}
|
|
4728
4804
|
}
|
|
4729
|
-
return /* @__PURE__ */
|
|
4805
|
+
return /* @__PURE__ */ jsx22(
|
|
4730
4806
|
"ul",
|
|
4731
4807
|
{
|
|
4732
4808
|
...other,
|
|
@@ -4747,7 +4823,7 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
4747
4823
|
MenuList.defaultProps = defaultProps9;
|
|
4748
4824
|
|
|
4749
4825
|
// src/animation-container/animation-container.spec.tsx
|
|
4750
|
-
import { jsx as
|
|
4826
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4751
4827
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4752
4828
|
var states9 = [];
|
|
4753
4829
|
var options8 = {};
|
|
@@ -4761,7 +4837,7 @@ var AnimationContainer = (props) => {
|
|
|
4761
4837
|
offset,
|
|
4762
4838
|
...other
|
|
4763
4839
|
} = props;
|
|
4764
|
-
return /* @__PURE__ */
|
|
4840
|
+
return /* @__PURE__ */ jsx23(
|
|
4765
4841
|
"div",
|
|
4766
4842
|
{
|
|
4767
4843
|
...other,
|
|
@@ -4773,7 +4849,7 @@ var AnimationContainer = (props) => {
|
|
|
4773
4849
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4774
4850
|
}
|
|
4775
4851
|
),
|
|
4776
|
-
children: /* @__PURE__ */
|
|
4852
|
+
children: /* @__PURE__ */ jsx23("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4777
4853
|
}
|
|
4778
4854
|
);
|
|
4779
4855
|
};
|
|
@@ -4783,7 +4859,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
4783
4859
|
AnimationContainer.defaultProps = defaultProps10;
|
|
4784
4860
|
|
|
4785
4861
|
// src/popup/popup.spec.tsx
|
|
4786
|
-
import { jsx as
|
|
4862
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4787
4863
|
var POPUP_CLASSNAME = `k-popup`;
|
|
4788
4864
|
var states10 = [];
|
|
4789
4865
|
var options9 = {};
|
|
@@ -4796,12 +4872,12 @@ var Popup = (props) => {
|
|
|
4796
4872
|
positionMode,
|
|
4797
4873
|
...other
|
|
4798
4874
|
} = props;
|
|
4799
|
-
return /* @__PURE__ */
|
|
4875
|
+
return /* @__PURE__ */ jsx24(
|
|
4800
4876
|
AnimationContainer,
|
|
4801
4877
|
{
|
|
4802
4878
|
positionMode,
|
|
4803
4879
|
offset,
|
|
4804
|
-
children: /* @__PURE__ */
|
|
4880
|
+
children: /* @__PURE__ */ jsx24("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4805
4881
|
}
|
|
4806
4882
|
);
|
|
4807
4883
|
};
|
|
@@ -4811,7 +4887,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
4811
4887
|
Popup.defaultProps = defaultProps11;
|
|
4812
4888
|
|
|
4813
4889
|
// src/button-group/button-group.spec.tsx
|
|
4814
|
-
import { jsx as
|
|
4890
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4815
4891
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4816
4892
|
var states11 = [
|
|
4817
4893
|
States.disabled
|
|
@@ -4829,7 +4905,7 @@ var ButtonGroup = (props) => {
|
|
|
4829
4905
|
stretched,
|
|
4830
4906
|
...other
|
|
4831
4907
|
} = props;
|
|
4832
|
-
return /* @__PURE__ */
|
|
4908
|
+
return /* @__PURE__ */ jsx25(
|
|
4833
4909
|
"div",
|
|
4834
4910
|
{
|
|
4835
4911
|
...other,
|
|
@@ -4856,19 +4932,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
4856
4932
|
ButtonGroup.defaultProps = defaultProps12;
|
|
4857
4933
|
|
|
4858
4934
|
// src/button-group/templates/icon-button-group.tsx
|
|
4859
|
-
import { jsx as
|
|
4935
|
+
import { jsx as jsx26, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4860
4936
|
|
|
4861
4937
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
4862
|
-
import { jsx as
|
|
4938
|
+
import { jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4863
4939
|
|
|
4864
4940
|
// src/button-group/templates/text-button-group.tsx
|
|
4865
|
-
import { jsx as
|
|
4941
|
+
import { jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4866
4942
|
|
|
4867
4943
|
// src/button-group/templates/mixed-button-group.tsx
|
|
4868
|
-
import { jsx as
|
|
4944
|
+
import { jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4869
4945
|
|
|
4870
4946
|
// src/input/input.spec.tsx
|
|
4871
|
-
import { jsx as
|
|
4947
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
4872
4948
|
var INPUT_CLASSNAME = `k-input`;
|
|
4873
4949
|
var states12 = [
|
|
4874
4950
|
States.hover,
|
|
@@ -4904,7 +4980,7 @@ var Input = (props) => {
|
|
|
4904
4980
|
fillMode = defaultProps13.fillMode,
|
|
4905
4981
|
...other
|
|
4906
4982
|
} = props;
|
|
4907
|
-
return /* @__PURE__ */
|
|
4983
|
+
return /* @__PURE__ */ jsx30(
|
|
4908
4984
|
"span",
|
|
4909
4985
|
{
|
|
4910
4986
|
...other,
|
|
@@ -4923,7 +4999,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4923
4999
|
Input.defaultProps = defaultProps13;
|
|
4924
5000
|
|
|
4925
5001
|
// src/input/picker.spec.tsx
|
|
4926
|
-
import { jsx as
|
|
5002
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
4927
5003
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4928
5004
|
var pickerStates = [
|
|
4929
5005
|
States.hover,
|
|
@@ -4959,7 +5035,7 @@ var Picker = (props) => {
|
|
|
4959
5035
|
fillMode = defaultProps14.fillMode,
|
|
4960
5036
|
...other
|
|
4961
5037
|
} = props;
|
|
4962
|
-
return /* @__PURE__ */
|
|
5038
|
+
return /* @__PURE__ */ jsx31(
|
|
4963
5039
|
"span",
|
|
4964
5040
|
{
|
|
4965
5041
|
...other,
|
|
@@ -4979,7 +5055,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4979
5055
|
Picker.defaultProps = defaultProps14;
|
|
4980
5056
|
|
|
4981
5057
|
// src/input/input-clear-value.tsx
|
|
4982
|
-
import { Fragment as
|
|
5058
|
+
import { Fragment as Fragment9, jsx as jsx32 } from "react/jsx-runtime";
|
|
4983
5059
|
var className = `k-clear-value`;
|
|
4984
5060
|
var states13 = [
|
|
4985
5061
|
States.disabled,
|
|
@@ -4995,16 +5071,16 @@ var InputClearValue = (props) => {
|
|
|
4995
5071
|
value
|
|
4996
5072
|
} = props;
|
|
4997
5073
|
if (disabled || readonly || loading || !value) {
|
|
4998
|
-
return /* @__PURE__ */
|
|
5074
|
+
return /* @__PURE__ */ jsx32(Fragment9, {});
|
|
4999
5075
|
}
|
|
5000
|
-
return /* @__PURE__ */
|
|
5076
|
+
return /* @__PURE__ */ jsx32("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx32(Icon, { icon: "x" }) });
|
|
5001
5077
|
};
|
|
5002
5078
|
InputClearValue.states = states13;
|
|
5003
5079
|
InputClearValue.options = options12;
|
|
5004
5080
|
InputClearValue.className = className;
|
|
5005
5081
|
|
|
5006
5082
|
// src/input/input-inner-input.tsx
|
|
5007
|
-
import { jsx as
|
|
5083
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5008
5084
|
var className2 = `k-input-inner`;
|
|
5009
5085
|
var states14 = [];
|
|
5010
5086
|
var options13 = {};
|
|
@@ -5022,7 +5098,7 @@ var InputInnerInput = (props) => {
|
|
|
5022
5098
|
autocomplete = defaultProps15.autocomplete,
|
|
5023
5099
|
...other
|
|
5024
5100
|
} = props;
|
|
5025
|
-
return /* @__PURE__ */
|
|
5101
|
+
return /* @__PURE__ */ jsx33(
|
|
5026
5102
|
"input",
|
|
5027
5103
|
{
|
|
5028
5104
|
...other,
|
|
@@ -5039,7 +5115,7 @@ InputInnerInput.options = options13;
|
|
|
5039
5115
|
InputInnerInput.className = className2;
|
|
5040
5116
|
|
|
5041
5117
|
// src/input/input-inner-span.tsx
|
|
5042
|
-
import { jsx as
|
|
5118
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5043
5119
|
var className3 = `k-input-inner`;
|
|
5044
5120
|
var states15 = [];
|
|
5045
5121
|
var options14 = {};
|
|
@@ -5052,16 +5128,16 @@ var InputInnerSpan = (props) => {
|
|
|
5052
5128
|
valueIconName,
|
|
5053
5129
|
...other
|
|
5054
5130
|
} = props;
|
|
5055
|
-
return /* @__PURE__ */
|
|
5131
|
+
return /* @__PURE__ */ jsxs11(
|
|
5056
5132
|
"span",
|
|
5057
5133
|
{
|
|
5058
5134
|
...other,
|
|
5059
5135
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
5060
5136
|
children: [
|
|
5061
5137
|
valueIcon,
|
|
5062
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
5138
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx34(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
5063
5139
|
showValue && !value && placeholder,
|
|
5064
|
-
showValue && value && /* @__PURE__ */
|
|
5140
|
+
showValue && value && /* @__PURE__ */ jsx34("span", { className: "k-input-value-text", children: value })
|
|
5065
5141
|
]
|
|
5066
5142
|
}
|
|
5067
5143
|
);
|
|
@@ -5071,7 +5147,7 @@ InputInnerSpan.options = options14;
|
|
|
5071
5147
|
InputInnerSpan.className = className3;
|
|
5072
5148
|
|
|
5073
5149
|
// src/input/input-inner-textarea.tsx
|
|
5074
|
-
import { jsx as
|
|
5150
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
5075
5151
|
var defaultProps16 = {
|
|
5076
5152
|
value: "",
|
|
5077
5153
|
placeholder: ""
|
|
@@ -5086,7 +5162,7 @@ var InputInnerTextarea = (props) => {
|
|
|
5086
5162
|
rows,
|
|
5087
5163
|
...other
|
|
5088
5164
|
} = props;
|
|
5089
|
-
return /* @__PURE__ */
|
|
5165
|
+
return /* @__PURE__ */ jsx35(
|
|
5090
5166
|
"textarea",
|
|
5091
5167
|
{
|
|
5092
5168
|
...other,
|
|
@@ -5102,7 +5178,7 @@ InputInnerTextarea.options = options15;
|
|
|
5102
5178
|
InputInnerTextarea.className = className4;
|
|
5103
5179
|
|
|
5104
5180
|
// src/input/input-loading-icon.tsx
|
|
5105
|
-
import { Fragment as
|
|
5181
|
+
import { Fragment as Fragment10, jsx as jsx36 } from "react/jsx-runtime";
|
|
5106
5182
|
var className5 = `k-input-loading-icon`;
|
|
5107
5183
|
var states17 = [
|
|
5108
5184
|
States.disabled,
|
|
@@ -5114,13 +5190,13 @@ var InputLoadingIcon = (props) => {
|
|
|
5114
5190
|
loading
|
|
5115
5191
|
} = props;
|
|
5116
5192
|
if (disabled || !loading) {
|
|
5117
|
-
return /* @__PURE__ */
|
|
5193
|
+
return /* @__PURE__ */ jsx36(Fragment10, {});
|
|
5118
5194
|
}
|
|
5119
|
-
return /* @__PURE__ */
|
|
5195
|
+
return /* @__PURE__ */ jsx36("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
5120
5196
|
};
|
|
5121
5197
|
|
|
5122
5198
|
// src/input/input-validation-icon.tsx
|
|
5123
|
-
import { Fragment as
|
|
5199
|
+
import { Fragment as Fragment11, jsx as jsx37 } from "react/jsx-runtime";
|
|
5124
5200
|
var className6 = `k-input-validation-icon`;
|
|
5125
5201
|
var states18 = [
|
|
5126
5202
|
States.valid,
|
|
@@ -5139,39 +5215,39 @@ var InputValidationIcon = (props) => {
|
|
|
5139
5215
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
5140
5216
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
5141
5217
|
if (disabled || loading || !renderValidationIcon) {
|
|
5142
|
-
return /* @__PURE__ */
|
|
5218
|
+
return /* @__PURE__ */ jsx37(Fragment11, {});
|
|
5143
5219
|
}
|
|
5144
|
-
return /* @__PURE__ */
|
|
5220
|
+
return /* @__PURE__ */ jsx37(Icon, { className: classNames(className6), icon: iconName });
|
|
5145
5221
|
};
|
|
5146
5222
|
InputValidationIcon.states = states18;
|
|
5147
5223
|
InputValidationIcon.options = options16;
|
|
5148
5224
|
InputValidationIcon.className = className6;
|
|
5149
5225
|
|
|
5150
5226
|
// src/input/input-prefix.tsx
|
|
5151
|
-
import { Fragment as
|
|
5227
|
+
import { Fragment as Fragment12, jsx as jsx38 } from "react/jsx-runtime";
|
|
5152
5228
|
var className7 = `k-input-prefix`;
|
|
5153
5229
|
var InputPrefix = (props) => {
|
|
5154
5230
|
if (!props.children) {
|
|
5155
|
-
return /* @__PURE__ */
|
|
5231
|
+
return /* @__PURE__ */ jsx38(Fragment12, {});
|
|
5156
5232
|
}
|
|
5157
|
-
return /* @__PURE__ */
|
|
5233
|
+
return /* @__PURE__ */ jsx38("span", { className: classNames(className7, props.className), children: props.children });
|
|
5158
5234
|
};
|
|
5159
5235
|
|
|
5160
5236
|
// src/input/input-suffix.tsx
|
|
5161
|
-
import { Fragment as
|
|
5237
|
+
import { Fragment as Fragment13, jsx as jsx39 } from "react/jsx-runtime";
|
|
5162
5238
|
var className8 = `k-input-suffix`;
|
|
5163
5239
|
var InputSuffix = (props) => {
|
|
5164
5240
|
if (!props.children) {
|
|
5165
|
-
return /* @__PURE__ */
|
|
5241
|
+
return /* @__PURE__ */ jsx39(Fragment13, {});
|
|
5166
5242
|
}
|
|
5167
|
-
return /* @__PURE__ */
|
|
5243
|
+
return /* @__PURE__ */ jsx39("span", { className: classNames(className8, props.className), children: props.children });
|
|
5168
5244
|
};
|
|
5169
5245
|
|
|
5170
5246
|
// src/input/input-separator.tsx
|
|
5171
|
-
import { jsx as
|
|
5247
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5172
5248
|
|
|
5173
5249
|
// src/color-preview/color-preview.tsx
|
|
5174
|
-
import { jsx as
|
|
5250
|
+
import { jsx as jsx41, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5175
5251
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5176
5252
|
var states19 = [];
|
|
5177
5253
|
var options17 = {};
|
|
@@ -5181,7 +5257,7 @@ var ColorPreview = (props) => {
|
|
|
5181
5257
|
iconName,
|
|
5182
5258
|
...other
|
|
5183
5259
|
} = props;
|
|
5184
|
-
return /* @__PURE__ */
|
|
5260
|
+
return /* @__PURE__ */ jsxs12(
|
|
5185
5261
|
"span",
|
|
5186
5262
|
{
|
|
5187
5263
|
...other,
|
|
@@ -5194,8 +5270,8 @@ var ColorPreview = (props) => {
|
|
|
5194
5270
|
}
|
|
5195
5271
|
),
|
|
5196
5272
|
children: [
|
|
5197
|
-
iconName && /* @__PURE__ */
|
|
5198
|
-
/* @__PURE__ */
|
|
5273
|
+
iconName && /* @__PURE__ */ jsx41(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5274
|
+
/* @__PURE__ */ jsx41(
|
|
5199
5275
|
"span",
|
|
5200
5276
|
{
|
|
5201
5277
|
className: "k-color-preview-mask",
|
|
@@ -5211,7 +5287,7 @@ ColorPreview.options = options17;
|
|
|
5211
5287
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5212
5288
|
|
|
5213
5289
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5214
|
-
import { Fragment as
|
|
5290
|
+
import { Fragment as Fragment14, jsx as jsx42, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5215
5291
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5216
5292
|
var states20 = [
|
|
5217
5293
|
States.hover,
|
|
@@ -5253,8 +5329,8 @@ var ColorPicker = (props) => {
|
|
|
5253
5329
|
opened,
|
|
5254
5330
|
...other
|
|
5255
5331
|
} = props;
|
|
5256
|
-
return /* @__PURE__ */
|
|
5257
|
-
/* @__PURE__ */
|
|
5332
|
+
return /* @__PURE__ */ jsxs13(Fragment14, { children: [
|
|
5333
|
+
/* @__PURE__ */ jsxs13(
|
|
5258
5334
|
Picker,
|
|
5259
5335
|
{
|
|
5260
5336
|
...other,
|
|
@@ -5273,14 +5349,14 @@ var ColorPicker = (props) => {
|
|
|
5273
5349
|
"k-icon-picker"
|
|
5274
5350
|
),
|
|
5275
5351
|
children: [
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5352
|
+
/* @__PURE__ */ jsx42(InputPrefix, { children: prefix }),
|
|
5353
|
+
/* @__PURE__ */ jsx42(
|
|
5278
5354
|
InputInnerSpan,
|
|
5279
5355
|
{
|
|
5280
5356
|
placeholder,
|
|
5281
5357
|
value,
|
|
5282
5358
|
showValue: false,
|
|
5283
|
-
valueIcon: /* @__PURE__ */
|
|
5359
|
+
valueIcon: /* @__PURE__ */ jsx42(
|
|
5284
5360
|
ColorPreview,
|
|
5285
5361
|
{
|
|
5286
5362
|
className: "k-value-icon",
|
|
@@ -5291,8 +5367,8 @@ var ColorPicker = (props) => {
|
|
|
5291
5367
|
valueIconName
|
|
5292
5368
|
}
|
|
5293
5369
|
),
|
|
5294
|
-
/* @__PURE__ */
|
|
5295
|
-
/* @__PURE__ */
|
|
5370
|
+
/* @__PURE__ */ jsx42(InputSuffix, { children: suffix }),
|
|
5371
|
+
/* @__PURE__ */ jsx42(
|
|
5296
5372
|
Button,
|
|
5297
5373
|
{
|
|
5298
5374
|
className: "k-input-button",
|
|
@@ -5305,7 +5381,7 @@ var ColorPicker = (props) => {
|
|
|
5305
5381
|
]
|
|
5306
5382
|
}
|
|
5307
5383
|
),
|
|
5308
|
-
opened && popup && /* @__PURE__ */
|
|
5384
|
+
opened && popup && /* @__PURE__ */ jsx42(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5309
5385
|
] });
|
|
5310
5386
|
};
|
|
5311
5387
|
ColorPicker.states = states20;
|
|
@@ -5314,10 +5390,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5314
5390
|
ColorPicker.defaultProps = defaultProps17;
|
|
5315
5391
|
|
|
5316
5392
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5317
|
-
import { jsx as
|
|
5393
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5318
5394
|
|
|
5319
5395
|
// src/action-buttons/action-buttons.spec.tsx
|
|
5320
|
-
import { jsx as
|
|
5396
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5321
5397
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5322
5398
|
var states21 = [];
|
|
5323
5399
|
var options19 = {};
|
|
@@ -5331,7 +5407,7 @@ var ActionButtons = (props) => {
|
|
|
5331
5407
|
orientation = defaultProps18.orientation,
|
|
5332
5408
|
...other
|
|
5333
5409
|
} = props;
|
|
5334
|
-
return /* @__PURE__ */
|
|
5410
|
+
return /* @__PURE__ */ jsx44(
|
|
5335
5411
|
"div",
|
|
5336
5412
|
{
|
|
5337
5413
|
...other,
|
|
@@ -5354,7 +5430,7 @@ ActionButtons.defaultProps = defaultProps18;
|
|
|
5354
5430
|
var action_buttons_spec_default = ActionButtons;
|
|
5355
5431
|
|
|
5356
5432
|
// src/slider/slider.spec.tsx
|
|
5357
|
-
import { jsx as
|
|
5433
|
+
import { jsx as jsx45, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5358
5434
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5359
5435
|
var states22 = [
|
|
5360
5436
|
States.hover,
|
|
@@ -5393,7 +5469,7 @@ var Slider = (props) => {
|
|
|
5393
5469
|
iconIncrease = "caret-alt-up";
|
|
5394
5470
|
iconDecrease = "caret-alt-down";
|
|
5395
5471
|
}
|
|
5396
|
-
return /* @__PURE__ */
|
|
5472
|
+
return /* @__PURE__ */ jsxs14("div", { className: classNames(
|
|
5397
5473
|
SLIDER_CLASSNAME,
|
|
5398
5474
|
props.className,
|
|
5399
5475
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5406,12 +5482,12 @@ var Slider = (props) => {
|
|
|
5406
5482
|
"k-range-slider": type === "range"
|
|
5407
5483
|
}
|
|
5408
5484
|
), dir, children: [
|
|
5409
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5410
|
-
/* @__PURE__ */
|
|
5411
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5413
|
-
/* @__PURE__ */
|
|
5414
|
-
type === "range" && /* @__PURE__ */
|
|
5485
|
+
type !== "gradient" && /* @__PURE__ */ jsx45(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5486
|
+
/* @__PURE__ */ jsxs14("div", { className: "k-slider-track-wrap", children: [
|
|
5487
|
+
type !== "gradient" && /* @__PURE__ */ jsx45("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5488
|
+
/* @__PURE__ */ jsxs14("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5489
|
+
/* @__PURE__ */ jsx45("div", { className: "k-slider-selection" }),
|
|
5490
|
+
type === "range" && /* @__PURE__ */ jsx45("span", { className: classNames(
|
|
5415
5491
|
"k-draghandle",
|
|
5416
5492
|
"k-draghandle-start",
|
|
5417
5493
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5420,7 +5496,7 @@ var Slider = (props) => {
|
|
|
5420
5496
|
active
|
|
5421
5497
|
})
|
|
5422
5498
|
) }),
|
|
5423
|
-
/* @__PURE__ */
|
|
5499
|
+
/* @__PURE__ */ jsx45("span", { className: classNames(
|
|
5424
5500
|
"k-draghandle",
|
|
5425
5501
|
`k-draghandle-${handlePosition}`,
|
|
5426
5502
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5431,7 +5507,7 @@ var Slider = (props) => {
|
|
|
5431
5507
|
) })
|
|
5432
5508
|
] })
|
|
5433
5509
|
] }),
|
|
5434
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5510
|
+
type !== "gradient" && /* @__PURE__ */ jsx45(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5435
5511
|
] });
|
|
5436
5512
|
};
|
|
5437
5513
|
Slider.states = states22;
|
|
@@ -5440,7 +5516,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
5440
5516
|
Slider.defaultProps = defaultProps19;
|
|
5441
5517
|
|
|
5442
5518
|
// src/slider/slider-tick.tsx
|
|
5443
|
-
import { jsx as
|
|
5519
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5444
5520
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5445
5521
|
var states23 = [];
|
|
5446
5522
|
var options21 = {};
|
|
@@ -5455,14 +5531,14 @@ var SliderTick = (props) => {
|
|
|
5455
5531
|
large,
|
|
5456
5532
|
text
|
|
5457
5533
|
} = props;
|
|
5458
|
-
return /* @__PURE__ */
|
|
5534
|
+
return /* @__PURE__ */ jsx46("li", { className: classNames(
|
|
5459
5535
|
props.className,
|
|
5460
5536
|
SLIDER_TICK_CLASSNAME,
|
|
5461
5537
|
{
|
|
5462
5538
|
[`k-tick-${orientation}`]: orientation,
|
|
5463
5539
|
"k-tick-large": large
|
|
5464
5540
|
}
|
|
5465
|
-
), style, children: label && /* @__PURE__ */
|
|
5541
|
+
), style, children: label && /* @__PURE__ */ jsx46("span", { className: "k-label", children: text }) });
|
|
5466
5542
|
};
|
|
5467
5543
|
SliderTick.states = states23;
|
|
5468
5544
|
SliderTick.options = options21;
|
|
@@ -5470,7 +5546,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
5470
5546
|
SliderTick.defaultProps = defaultProps20;
|
|
5471
5547
|
|
|
5472
5548
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5473
|
-
import { jsx as
|
|
5549
|
+
import { jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5474
5550
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5475
5551
|
var states24 = [];
|
|
5476
5552
|
var options22 = {
|
|
@@ -5487,7 +5563,7 @@ var SpinButton = (props) => {
|
|
|
5487
5563
|
fillMode = defaultProps21.fillMode,
|
|
5488
5564
|
...other
|
|
5489
5565
|
} = props;
|
|
5490
|
-
return /* @__PURE__ */
|
|
5566
|
+
return /* @__PURE__ */ jsxs15(
|
|
5491
5567
|
"span",
|
|
5492
5568
|
{
|
|
5493
5569
|
...other,
|
|
@@ -5496,7 +5572,7 @@ var SpinButton = (props) => {
|
|
|
5496
5572
|
props.className
|
|
5497
5573
|
),
|
|
5498
5574
|
children: [
|
|
5499
|
-
/* @__PURE__ */
|
|
5575
|
+
/* @__PURE__ */ jsx47(
|
|
5500
5576
|
Button,
|
|
5501
5577
|
{
|
|
5502
5578
|
className: "k-spinner-increase",
|
|
@@ -5506,7 +5582,7 @@ var SpinButton = (props) => {
|
|
|
5506
5582
|
fillMode
|
|
5507
5583
|
}
|
|
5508
5584
|
),
|
|
5509
|
-
/* @__PURE__ */
|
|
5585
|
+
/* @__PURE__ */ jsx47(
|
|
5510
5586
|
Button,
|
|
5511
5587
|
{
|
|
5512
5588
|
className: "k-spinner-decrease",
|
|
@@ -5526,7 +5602,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5526
5602
|
SpinButton.defaultProps = defaultProps21;
|
|
5527
5603
|
|
|
5528
5604
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5529
|
-
import { jsx as
|
|
5605
|
+
import { jsx as jsx48, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5530
5606
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5531
5607
|
var states25 = [
|
|
5532
5608
|
States.hover,
|
|
@@ -5569,7 +5645,7 @@ var NumericTextbox = (props) => {
|
|
|
5569
5645
|
showSpinButton = defaultProps22.showSpinButton,
|
|
5570
5646
|
...other
|
|
5571
5647
|
} = props;
|
|
5572
|
-
return /* @__PURE__ */
|
|
5648
|
+
return /* @__PURE__ */ jsxs16(
|
|
5573
5649
|
Input,
|
|
5574
5650
|
{
|
|
5575
5651
|
...other,
|
|
@@ -5586,8 +5662,8 @@ var NumericTextbox = (props) => {
|
|
|
5586
5662
|
readonly,
|
|
5587
5663
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5588
5664
|
children: [
|
|
5589
|
-
/* @__PURE__ */
|
|
5590
|
-
/* @__PURE__ */
|
|
5665
|
+
/* @__PURE__ */ jsx48(InputInnerInput, { placeholder, value }),
|
|
5666
|
+
/* @__PURE__ */ jsx48(
|
|
5591
5667
|
InputValidationIcon,
|
|
5592
5668
|
{
|
|
5593
5669
|
valid,
|
|
@@ -5596,14 +5672,14 @@ var NumericTextbox = (props) => {
|
|
|
5596
5672
|
disabled
|
|
5597
5673
|
}
|
|
5598
5674
|
),
|
|
5599
|
-
/* @__PURE__ */
|
|
5675
|
+
/* @__PURE__ */ jsx48(
|
|
5600
5676
|
InputLoadingIcon,
|
|
5601
5677
|
{
|
|
5602
5678
|
loading,
|
|
5603
5679
|
disabled
|
|
5604
5680
|
}
|
|
5605
5681
|
),
|
|
5606
|
-
showClearButton && /* @__PURE__ */
|
|
5682
|
+
showClearButton && /* @__PURE__ */ jsx48(
|
|
5607
5683
|
InputClearValue,
|
|
5608
5684
|
{
|
|
5609
5685
|
loading,
|
|
@@ -5612,7 +5688,7 @@ var NumericTextbox = (props) => {
|
|
|
5612
5688
|
value
|
|
5613
5689
|
}
|
|
5614
5690
|
),
|
|
5615
|
-
showSpinButton && /* @__PURE__ */
|
|
5691
|
+
showSpinButton && /* @__PURE__ */ jsx48(
|
|
5616
5692
|
SpinButton,
|
|
5617
5693
|
{
|
|
5618
5694
|
className: "k-input-spinner",
|
|
@@ -5630,10 +5706,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
5630
5706
|
NumericTextbox.defaultProps = defaultProps22;
|
|
5631
5707
|
|
|
5632
5708
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5633
|
-
import { jsx as
|
|
5709
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5634
5710
|
|
|
5635
5711
|
// src/textbox/textbox.spec.tsx
|
|
5636
|
-
import { jsx as
|
|
5712
|
+
import { jsx as jsx50, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5637
5713
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5638
5714
|
var states26 = [
|
|
5639
5715
|
States.hover,
|
|
@@ -5676,7 +5752,7 @@ var Textbox = (props) => {
|
|
|
5676
5752
|
showClearButton = defaultProps23.showClearButton,
|
|
5677
5753
|
...other
|
|
5678
5754
|
} = props;
|
|
5679
|
-
return /* @__PURE__ */
|
|
5755
|
+
return /* @__PURE__ */ jsxs17(
|
|
5680
5756
|
Input,
|
|
5681
5757
|
{
|
|
5682
5758
|
...other,
|
|
@@ -5693,9 +5769,9 @@ var Textbox = (props) => {
|
|
|
5693
5769
|
readonly,
|
|
5694
5770
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5695
5771
|
children: [
|
|
5696
|
-
/* @__PURE__ */
|
|
5697
|
-
/* @__PURE__ */
|
|
5698
|
-
/* @__PURE__ */
|
|
5772
|
+
/* @__PURE__ */ jsx50(InputPrefix, { children: prefix }),
|
|
5773
|
+
/* @__PURE__ */ jsx50(InputInnerInput, { placeholder, value }),
|
|
5774
|
+
/* @__PURE__ */ jsx50(
|
|
5699
5775
|
InputValidationIcon,
|
|
5700
5776
|
{
|
|
5701
5777
|
valid,
|
|
@@ -5704,14 +5780,14 @@ var Textbox = (props) => {
|
|
|
5704
5780
|
disabled
|
|
5705
5781
|
}
|
|
5706
5782
|
),
|
|
5707
|
-
/* @__PURE__ */
|
|
5783
|
+
/* @__PURE__ */ jsx50(
|
|
5708
5784
|
InputLoadingIcon,
|
|
5709
5785
|
{
|
|
5710
5786
|
loading,
|
|
5711
5787
|
disabled
|
|
5712
5788
|
}
|
|
5713
5789
|
),
|
|
5714
|
-
showClearButton && /* @__PURE__ */
|
|
5790
|
+
showClearButton && /* @__PURE__ */ jsx50(
|
|
5715
5791
|
InputClearValue,
|
|
5716
5792
|
{
|
|
5717
5793
|
loading,
|
|
@@ -5720,7 +5796,7 @@ var Textbox = (props) => {
|
|
|
5720
5796
|
value
|
|
5721
5797
|
}
|
|
5722
5798
|
),
|
|
5723
|
-
/* @__PURE__ */
|
|
5799
|
+
/* @__PURE__ */ jsx50(InputSuffix, { children: suffix })
|
|
5724
5800
|
]
|
|
5725
5801
|
}
|
|
5726
5802
|
);
|
|
@@ -5731,16 +5807,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5731
5807
|
Textbox.defaultProps = defaultProps23;
|
|
5732
5808
|
|
|
5733
5809
|
// src/textbox/templates/textbox-normal.tsx
|
|
5734
|
-
import { jsx as
|
|
5810
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
5735
5811
|
|
|
5736
5812
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5737
|
-
import { Fragment as
|
|
5813
|
+
import { Fragment as Fragment15, jsx as jsx52, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5738
5814
|
|
|
5739
5815
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5740
|
-
import { Fragment as
|
|
5816
|
+
import { Fragment as Fragment16, jsx as jsx53, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5741
5817
|
|
|
5742
5818
|
// src/colorgradient/color-input.tsx
|
|
5743
|
-
import { Fragment as
|
|
5819
|
+
import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5744
5820
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
5745
5821
|
var states27 = [];
|
|
5746
5822
|
var options25 = {};
|
|
@@ -5751,75 +5827,75 @@ var ColorInput = (props) => {
|
|
|
5751
5827
|
const {
|
|
5752
5828
|
mode = defaultProps24.mode
|
|
5753
5829
|
} = props;
|
|
5754
|
-
return /* @__PURE__ */
|
|
5755
|
-
/* @__PURE__ */
|
|
5756
|
-
mode === "rgba" && /* @__PURE__ */
|
|
5757
|
-
/* @__PURE__ */
|
|
5758
|
-
/* @__PURE__ */
|
|
5759
|
-
/* @__PURE__ */
|
|
5830
|
+
return /* @__PURE__ */ jsxs20("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
5831
|
+
/* @__PURE__ */ jsx54("div", { className: "k-vstack", children: /* @__PURE__ */ jsx54(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
5832
|
+
mode === "rgba" && /* @__PURE__ */ jsxs20(Fragment17, { children: [
|
|
5833
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5834
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5835
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
5760
5836
|
] }),
|
|
5761
|
-
/* @__PURE__ */
|
|
5762
|
-
/* @__PURE__ */
|
|
5763
|
-
/* @__PURE__ */
|
|
5837
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5838
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5839
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
5764
5840
|
] }),
|
|
5765
|
-
/* @__PURE__ */
|
|
5766
|
-
/* @__PURE__ */
|
|
5767
|
-
/* @__PURE__ */
|
|
5841
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5842
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5843
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
5768
5844
|
] }),
|
|
5769
|
-
/* @__PURE__ */
|
|
5770
|
-
/* @__PURE__ */
|
|
5771
|
-
/* @__PURE__ */
|
|
5845
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5846
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
5847
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
5772
5848
|
] })
|
|
5773
5849
|
] }),
|
|
5774
|
-
mode === "rgb" && /* @__PURE__ */
|
|
5775
|
-
/* @__PURE__ */
|
|
5776
|
-
/* @__PURE__ */
|
|
5777
|
-
/* @__PURE__ */
|
|
5850
|
+
mode === "rgb" && /* @__PURE__ */ jsxs20(Fragment17, { children: [
|
|
5851
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5852
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5853
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
5778
5854
|
] }),
|
|
5779
|
-
/* @__PURE__ */
|
|
5780
|
-
/* @__PURE__ */
|
|
5781
|
-
/* @__PURE__ */
|
|
5855
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5856
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5857
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
5782
5858
|
] }),
|
|
5783
|
-
/* @__PURE__ */
|
|
5784
|
-
/* @__PURE__ */
|
|
5785
|
-
/* @__PURE__ */
|
|
5859
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5860
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5861
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
5786
5862
|
] })
|
|
5787
5863
|
] }),
|
|
5788
|
-
mode === "hsva" && /* @__PURE__ */
|
|
5789
|
-
/* @__PURE__ */
|
|
5790
|
-
/* @__PURE__ */
|
|
5791
|
-
/* @__PURE__ */
|
|
5864
|
+
mode === "hsva" && /* @__PURE__ */ jsxs20(Fragment17, { children: [
|
|
5865
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5866
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5867
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
5792
5868
|
] }),
|
|
5793
|
-
/* @__PURE__ */
|
|
5794
|
-
/* @__PURE__ */
|
|
5795
|
-
/* @__PURE__ */
|
|
5869
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5870
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5871
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
5796
5872
|
] }),
|
|
5797
|
-
/* @__PURE__ */
|
|
5798
|
-
/* @__PURE__ */
|
|
5799
|
-
/* @__PURE__ */
|
|
5873
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5874
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5875
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
5800
5876
|
] }),
|
|
5801
|
-
/* @__PURE__ */
|
|
5802
|
-
/* @__PURE__ */
|
|
5803
|
-
/* @__PURE__ */
|
|
5877
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5878
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
5879
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
5804
5880
|
] })
|
|
5805
5881
|
] }),
|
|
5806
|
-
mode === "hsv" && /* @__PURE__ */
|
|
5807
|
-
/* @__PURE__ */
|
|
5808
|
-
/* @__PURE__ */
|
|
5809
|
-
/* @__PURE__ */
|
|
5882
|
+
mode === "hsv" && /* @__PURE__ */ jsxs20(Fragment17, { children: [
|
|
5883
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5884
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5885
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
5810
5886
|
] }),
|
|
5811
|
-
/* @__PURE__ */
|
|
5812
|
-
/* @__PURE__ */
|
|
5813
|
-
/* @__PURE__ */
|
|
5887
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5888
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5889
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
5814
5890
|
] }),
|
|
5815
|
-
/* @__PURE__ */
|
|
5816
|
-
/* @__PURE__ */
|
|
5817
|
-
/* @__PURE__ */
|
|
5891
|
+
/* @__PURE__ */ jsxs20("div", { className: "k-vstack", children: [
|
|
5892
|
+
/* @__PURE__ */ jsx54(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5893
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
5818
5894
|
] })
|
|
5819
5895
|
] }),
|
|
5820
|
-
mode === "hex" && /* @__PURE__ */
|
|
5821
|
-
/* @__PURE__ */
|
|
5822
|
-
/* @__PURE__ */
|
|
5896
|
+
mode === "hex" && /* @__PURE__ */ jsx54(Fragment17, { children: /* @__PURE__ */ jsxs20("div", { className: "k-vstack k-flex-1", children: [
|
|
5897
|
+
/* @__PURE__ */ jsx54(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
5898
|
+
/* @__PURE__ */ jsx54("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
5823
5899
|
] }) })
|
|
5824
5900
|
] });
|
|
5825
5901
|
};
|
|
@@ -5829,31 +5905,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
5829
5905
|
ColorInput.defaultProps = defaultProps24;
|
|
5830
5906
|
|
|
5831
5907
|
// src/colorgradient/color-contrast.tsx
|
|
5832
|
-
import { jsx as
|
|
5908
|
+
import { jsx as jsx55, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5833
5909
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
5834
5910
|
var states28 = [];
|
|
5835
5911
|
var options26 = {};
|
|
5836
5912
|
var defaultProps25 = {};
|
|
5837
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
5838
|
-
/* @__PURE__ */
|
|
5839
|
-
/* @__PURE__ */
|
|
5840
|
-
/* @__PURE__ */
|
|
5841
|
-
/* @__PURE__ */
|
|
5842
|
-
/* @__PURE__ */
|
|
5913
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs21("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
5914
|
+
/* @__PURE__ */ jsxs21("div", { className: "k-contrast-ratio", children: [
|
|
5915
|
+
/* @__PURE__ */ jsx55("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
5916
|
+
/* @__PURE__ */ jsxs21("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
5917
|
+
/* @__PURE__ */ jsx55(Icon, { icon: "check" }),
|
|
5918
|
+
/* @__PURE__ */ jsx55(Icon, { icon: "check" })
|
|
5843
5919
|
] })
|
|
5844
5920
|
] }),
|
|
5845
|
-
/* @__PURE__ */
|
|
5846
|
-
/* @__PURE__ */
|
|
5847
|
-
/* @__PURE__ */
|
|
5921
|
+
/* @__PURE__ */ jsxs21("div", { children: [
|
|
5922
|
+
/* @__PURE__ */ jsx55("span", { children: "AA: 4.5" }),
|
|
5923
|
+
/* @__PURE__ */ jsxs21("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
5848
5924
|
"Pass",
|
|
5849
|
-
/* @__PURE__ */
|
|
5925
|
+
/* @__PURE__ */ jsx55(Icon, { icon: "check" })
|
|
5850
5926
|
] })
|
|
5851
5927
|
] }),
|
|
5852
|
-
/* @__PURE__ */
|
|
5853
|
-
/* @__PURE__ */
|
|
5854
|
-
/* @__PURE__ */
|
|
5928
|
+
/* @__PURE__ */ jsxs21("div", { children: [
|
|
5929
|
+
/* @__PURE__ */ jsx55("span", { children: "AAA: 7.0" }),
|
|
5930
|
+
/* @__PURE__ */ jsxs21("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
5855
5931
|
"Fail",
|
|
5856
|
-
/* @__PURE__ */
|
|
5932
|
+
/* @__PURE__ */ jsx55(Icon, { icon: "x" })
|
|
5857
5933
|
] })
|
|
5858
5934
|
] })
|
|
5859
5935
|
] });
|
|
@@ -5863,7 +5939,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
5863
5939
|
ColorContrast.defaultProps = defaultProps25;
|
|
5864
5940
|
|
|
5865
5941
|
// src/colorgradient/color-gradient.spec.tsx
|
|
5866
|
-
import { jsx as
|
|
5942
|
+
import { jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5867
5943
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
5868
5944
|
var states29 = [
|
|
5869
5945
|
States.hover,
|
|
@@ -5896,7 +5972,7 @@ var ColorGradient = (props) => {
|
|
|
5896
5972
|
dragHandleStyle = defaultProps26.dragHandleStyle,
|
|
5897
5973
|
alphaStyle = defaultProps26.alphaStyle
|
|
5898
5974
|
} = props;
|
|
5899
|
-
return /* @__PURE__ */
|
|
5975
|
+
return /* @__PURE__ */ jsxs22("div", { className: classNames(
|
|
5900
5976
|
props.className,
|
|
5901
5977
|
COLOR_GRADIENT_CLASSNAME,
|
|
5902
5978
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -5906,8 +5982,8 @@ var ColorGradient = (props) => {
|
|
|
5906
5982
|
disabled
|
|
5907
5983
|
})
|
|
5908
5984
|
), dir, children: [
|
|
5909
|
-
/* @__PURE__ */
|
|
5910
|
-
/* @__PURE__ */
|
|
5985
|
+
/* @__PURE__ */ jsxs22("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
5986
|
+
/* @__PURE__ */ jsx56("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx56("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx56("div", { className: classNames(
|
|
5911
5987
|
"k-hsv-draghandle",
|
|
5912
5988
|
"k-draghandle",
|
|
5913
5989
|
{
|
|
@@ -5915,13 +5991,13 @@ var ColorGradient = (props) => {
|
|
|
5915
5991
|
"k-focus": focusHandle
|
|
5916
5992
|
}
|
|
5917
5993
|
), style: dragHandleStyle }) }) }),
|
|
5918
|
-
/* @__PURE__ */
|
|
5919
|
-
/* @__PURE__ */
|
|
5920
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
5994
|
+
/* @__PURE__ */ jsxs22("div", { className: "k-hsv-controls k-hstack", children: [
|
|
5995
|
+
/* @__PURE__ */ jsx56(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
5996
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx56(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
5921
5997
|
] })
|
|
5922
5998
|
] }),
|
|
5923
|
-
/* @__PURE__ */
|
|
5924
|
-
contrast && /* @__PURE__ */
|
|
5999
|
+
/* @__PURE__ */ jsx56(ColorInput, { mode: props.mode }),
|
|
6000
|
+
contrast && /* @__PURE__ */ jsx56(ColorContrast, {})
|
|
5925
6001
|
] });
|
|
5926
6002
|
};
|
|
5927
6003
|
ColorGradient.states = states29;
|
|
@@ -5930,17 +6006,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
5930
6006
|
ColorGradient.defaultProps = defaultProps26;
|
|
5931
6007
|
|
|
5932
6008
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
5933
|
-
import { jsx as
|
|
6009
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5934
6010
|
|
|
5935
6011
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
5936
|
-
import { jsx as
|
|
6012
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5937
6013
|
|
|
5938
6014
|
// src/colorpalette/colorpalette-row.tsx
|
|
5939
|
-
import { jsx as
|
|
5940
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
6015
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
6016
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx59("tr", { children: props.children });
|
|
5941
6017
|
|
|
5942
6018
|
// src/colorpalette/colorpalette-tile.tsx
|
|
5943
|
-
import { jsx as
|
|
6019
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5944
6020
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
5945
6021
|
var states30 = [
|
|
5946
6022
|
States.hover,
|
|
@@ -5962,7 +6038,7 @@ var ColorPaletteTile = (props) => {
|
|
|
5962
6038
|
"width": tileSize ? tileSize + "px" : "",
|
|
5963
6039
|
"height": tileSize ? tileSize + "px" : ""
|
|
5964
6040
|
};
|
|
5965
|
-
return /* @__PURE__ */
|
|
6041
|
+
return /* @__PURE__ */ jsx60(
|
|
5966
6042
|
"td",
|
|
5967
6043
|
{
|
|
5968
6044
|
...other,
|
|
@@ -5984,7 +6060,7 @@ ColorPaletteTile.options = options28;
|
|
|
5984
6060
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
5985
6061
|
|
|
5986
6062
|
// src/colorpalette/colorpalette.spec.tsx
|
|
5987
|
-
import { jsx as
|
|
6063
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5988
6064
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
5989
6065
|
var states31 = [
|
|
5990
6066
|
States.disabled
|
|
@@ -6009,14 +6085,14 @@ var ColorPalette = (props) => {
|
|
|
6009
6085
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6010
6086
|
const items = [];
|
|
6011
6087
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6012
|
-
items.push(/* @__PURE__ */
|
|
6088
|
+
items.push(/* @__PURE__ */ jsx61(ColorPaletteTile, { color, tileSize }));
|
|
6013
6089
|
});
|
|
6014
|
-
const row = /* @__PURE__ */
|
|
6090
|
+
const row = /* @__PURE__ */ jsx61(ColorPaletteRow, { children: items });
|
|
6015
6091
|
newChildren.push(row);
|
|
6016
6092
|
});
|
|
6017
6093
|
}
|
|
6018
6094
|
}
|
|
6019
|
-
return /* @__PURE__ */
|
|
6095
|
+
return /* @__PURE__ */ jsx61(
|
|
6020
6096
|
"div",
|
|
6021
6097
|
{
|
|
6022
6098
|
...other,
|
|
@@ -6027,7 +6103,7 @@ var ColorPalette = (props) => {
|
|
|
6027
6103
|
disabled
|
|
6028
6104
|
})
|
|
6029
6105
|
),
|
|
6030
|
-
children: /* @__PURE__ */
|
|
6106
|
+
children: /* @__PURE__ */ jsx61("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6031
6107
|
}
|
|
6032
6108
|
);
|
|
6033
6109
|
};
|
|
@@ -6037,7 +6113,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
6037
6113
|
ColorPalette.defaultProps = defaultProps27;
|
|
6038
6114
|
|
|
6039
6115
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6040
|
-
import { jsx as
|
|
6116
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
6041
6117
|
|
|
6042
6118
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6043
6119
|
var PALETTEPRESETS = {
|
|
@@ -6092,7 +6168,7 @@ var PALETTEPRESETS = {
|
|
|
6092
6168
|
};
|
|
6093
6169
|
|
|
6094
6170
|
// src/coloreditor/color-editor.spec.tsx
|
|
6095
|
-
import { jsx as
|
|
6171
|
+
import { jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
6096
6172
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6097
6173
|
var states32 = [
|
|
6098
6174
|
States.focus
|
|
@@ -6114,30 +6190,30 @@ var ColorEditor = (props) => {
|
|
|
6114
6190
|
group,
|
|
6115
6191
|
palette = defaultProps28.palette
|
|
6116
6192
|
} = props;
|
|
6117
|
-
return /* @__PURE__ */
|
|
6193
|
+
return /* @__PURE__ */ jsxs23("div", { className: classNames(
|
|
6118
6194
|
props.className,
|
|
6119
6195
|
"k-flatcolorpicker",
|
|
6120
6196
|
COLOREDITOR_CLASSNAME,
|
|
6121
6197
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6122
6198
|
), dir, children: [
|
|
6123
|
-
/* @__PURE__ */
|
|
6124
|
-
/* @__PURE__ */
|
|
6125
|
-
/* @__PURE__ */
|
|
6126
|
-
/* @__PURE__ */
|
|
6199
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6200
|
+
/* @__PURE__ */ jsx63("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs23(ButtonGroup, { children: [
|
|
6201
|
+
/* @__PURE__ */ jsx63(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6202
|
+
/* @__PURE__ */ jsx63(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6127
6203
|
] }) }),
|
|
6128
|
-
/* @__PURE__ */
|
|
6129
|
-
/* @__PURE__ */
|
|
6130
|
-
/* @__PURE__ */
|
|
6131
|
-
/* @__PURE__ */
|
|
6132
|
-
/* @__PURE__ */
|
|
6133
|
-
/* @__PURE__ */
|
|
6204
|
+
/* @__PURE__ */ jsx63("div", { className: "k-spacer" }),
|
|
6205
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6206
|
+
/* @__PURE__ */ jsx63(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6207
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6208
|
+
/* @__PURE__ */ jsx63(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6209
|
+
/* @__PURE__ */ jsx63(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6134
6210
|
] })
|
|
6135
6211
|
] })
|
|
6136
6212
|
] }),
|
|
6137
|
-
/* @__PURE__ */
|
|
6138
|
-
/* @__PURE__ */
|
|
6139
|
-
/* @__PURE__ */
|
|
6140
|
-
/* @__PURE__ */
|
|
6213
|
+
/* @__PURE__ */ jsx63("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx63(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx63(ColorPalette, { palette }) }),
|
|
6214
|
+
/* @__PURE__ */ jsxs23(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6215
|
+
/* @__PURE__ */ jsx63(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6216
|
+
/* @__PURE__ */ jsx63(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6141
6217
|
] })
|
|
6142
6218
|
] });
|
|
6143
6219
|
};
|
|
@@ -6147,25 +6223,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
6147
6223
|
ColorEditor.defaultProps = defaultProps28;
|
|
6148
6224
|
|
|
6149
6225
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6150
|
-
import { jsx as
|
|
6226
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6151
6227
|
|
|
6152
6228
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6153
|
-
import { jsx as
|
|
6229
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6154
6230
|
|
|
6155
6231
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6156
|
-
import { jsx as
|
|
6232
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
6157
6233
|
|
|
6158
6234
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6159
|
-
import { jsx as
|
|
6235
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
6160
6236
|
|
|
6161
6237
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6162
|
-
import { jsx as
|
|
6238
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6163
6239
|
|
|
6164
6240
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6165
|
-
import { jsx as
|
|
6241
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6166
6242
|
|
|
6167
6243
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6168
|
-
import { Fragment as
|
|
6244
|
+
import { Fragment as Fragment18, jsx as jsx70, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6169
6245
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6170
6246
|
var states33 = [];
|
|
6171
6247
|
var options31 = {};
|
|
@@ -6188,8 +6264,8 @@ var ActionSheet = (props) => {
|
|
|
6188
6264
|
overlay = defaultProps29.overlay,
|
|
6189
6265
|
...other
|
|
6190
6266
|
} = props;
|
|
6191
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6192
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6267
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx70(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6268
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx70(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx70(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6193
6269
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6194
6270
|
switch (child.type) {
|
|
6195
6271
|
case ActionSheetHeader:
|
|
@@ -6199,10 +6275,10 @@ var ActionSheet = (props) => {
|
|
|
6199
6275
|
return true;
|
|
6200
6276
|
}
|
|
6201
6277
|
return true;
|
|
6202
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6203
|
-
return /* @__PURE__ */
|
|
6204
|
-
overlay && /* @__PURE__ */
|
|
6205
|
-
/* @__PURE__ */
|
|
6278
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx70(Fragment18, {});
|
|
6279
|
+
return /* @__PURE__ */ jsxs24("div", { className: "k-actionsheet-container", children: [
|
|
6280
|
+
overlay && /* @__PURE__ */ jsx70("div", { className: "k-overlay" }),
|
|
6281
|
+
/* @__PURE__ */ jsx70(
|
|
6206
6282
|
AnimationContainer,
|
|
6207
6283
|
{
|
|
6208
6284
|
animationStyle: {
|
|
@@ -6212,7 +6288,7 @@ var ActionSheet = (props) => {
|
|
|
6212
6288
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6213
6289
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6214
6290
|
},
|
|
6215
|
-
children: /* @__PURE__ */
|
|
6291
|
+
children: /* @__PURE__ */ jsx70(
|
|
6216
6292
|
"div",
|
|
6217
6293
|
{
|
|
6218
6294
|
...other,
|
|
@@ -6225,9 +6301,9 @@ var ActionSheet = (props) => {
|
|
|
6225
6301
|
"k-adaptive-actionsheet": adaptive
|
|
6226
6302
|
}
|
|
6227
6303
|
),
|
|
6228
|
-
children: /* @__PURE__ */
|
|
6304
|
+
children: /* @__PURE__ */ jsxs24(Fragment18, { children: [
|
|
6229
6305
|
_ActionSheetHeader,
|
|
6230
|
-
/* @__PURE__ */
|
|
6306
|
+
/* @__PURE__ */ jsx70("div", { className: classNames(
|
|
6231
6307
|
"k-actionsheet-content",
|
|
6232
6308
|
{
|
|
6233
6309
|
"!k-overflow-hidden": adaptive
|
|
@@ -6247,7 +6323,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6247
6323
|
ActionSheet.defaultProps = defaultProps29;
|
|
6248
6324
|
|
|
6249
6325
|
// src/searchbox/searchbox.spec.tsx
|
|
6250
|
-
import { jsx as
|
|
6326
|
+
import { jsx as jsx71, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6251
6327
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6252
6328
|
var states34 = [
|
|
6253
6329
|
States.hover,
|
|
@@ -6288,7 +6364,7 @@ var Searchbox = (props) => {
|
|
|
6288
6364
|
icon = defaultProps30.icon,
|
|
6289
6365
|
...other
|
|
6290
6366
|
} = props;
|
|
6291
|
-
return /* @__PURE__ */
|
|
6367
|
+
return /* @__PURE__ */ jsxs25(
|
|
6292
6368
|
Input,
|
|
6293
6369
|
{
|
|
6294
6370
|
...other,
|
|
@@ -6304,11 +6380,11 @@ var Searchbox = (props) => {
|
|
|
6304
6380
|
disabled,
|
|
6305
6381
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6306
6382
|
children: [
|
|
6307
|
-
showIcon && /* @__PURE__ */
|
|
6308
|
-
/* @__PURE__ */
|
|
6309
|
-
/* @__PURE__ */
|
|
6310
|
-
/* @__PURE__ */
|
|
6311
|
-
/* @__PURE__ */
|
|
6383
|
+
showIcon && /* @__PURE__ */ jsx71(Icon, { className: "k-input-icon", icon }),
|
|
6384
|
+
/* @__PURE__ */ jsx71(InputInnerInput, { placeholder, value }),
|
|
6385
|
+
/* @__PURE__ */ jsx71(InputLoadingIcon, { ...props }),
|
|
6386
|
+
/* @__PURE__ */ jsx71(InputValidationIcon, { ...props }),
|
|
6387
|
+
/* @__PURE__ */ jsx71(InputClearValue, { ...props })
|
|
6312
6388
|
]
|
|
6313
6389
|
}
|
|
6314
6390
|
);
|
|
@@ -6319,10 +6395,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
6319
6395
|
Searchbox.defaultProps = defaultProps30;
|
|
6320
6396
|
|
|
6321
6397
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
6322
|
-
import { jsx as
|
|
6398
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6323
6399
|
|
|
6324
6400
|
// src/action-sheet/actionsheet-header.tsx
|
|
6325
|
-
import { Fragment as
|
|
6401
|
+
import { Fragment as Fragment19, jsx as jsx73, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6326
6402
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6327
6403
|
var ActionSheetHeader = (props) => {
|
|
6328
6404
|
const {
|
|
@@ -6332,7 +6408,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6332
6408
|
filter,
|
|
6333
6409
|
...other
|
|
6334
6410
|
} = props;
|
|
6335
|
-
return /* @__PURE__ */
|
|
6411
|
+
return /* @__PURE__ */ jsx73(
|
|
6336
6412
|
"div",
|
|
6337
6413
|
{
|
|
6338
6414
|
...other,
|
|
@@ -6340,30 +6416,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6340
6416
|
props.className,
|
|
6341
6417
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6342
6418
|
),
|
|
6343
|
-
children: /* @__PURE__ */
|
|
6344
|
-
/* @__PURE__ */
|
|
6345
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6346
|
-
title !== "" && /* @__PURE__ */
|
|
6347
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6419
|
+
children: /* @__PURE__ */ jsxs26(Fragment19, { children: [
|
|
6420
|
+
/* @__PURE__ */ jsxs26("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6421
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx73(Fragment19, { children: /* @__PURE__ */ jsxs26("div", { className: "k-actionsheet-title", children: [
|
|
6422
|
+
title !== "" && /* @__PURE__ */ jsx73("div", { className: "k-text-center", children: title }),
|
|
6423
|
+
subTitle !== "" && /* @__PURE__ */ jsx73("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6348
6424
|
] }) }),
|
|
6349
|
-
props.children && /* @__PURE__ */
|
|
6350
|
-
actions && /* @__PURE__ */
|
|
6425
|
+
props.children && /* @__PURE__ */ jsx73("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6426
|
+
actions && /* @__PURE__ */ jsx73(Fragment19, { children: /* @__PURE__ */ jsx73("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx73(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6351
6427
|
] }),
|
|
6352
|
-
filter && /* @__PURE__ */
|
|
6428
|
+
filter && /* @__PURE__ */ jsx73(Fragment19, { children: /* @__PURE__ */ jsx73("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx73(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6353
6429
|
] })
|
|
6354
6430
|
}
|
|
6355
6431
|
);
|
|
6356
6432
|
};
|
|
6357
6433
|
|
|
6358
6434
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6359
|
-
import { Fragment as
|
|
6435
|
+
import { Fragment as Fragment20, jsx as jsx74, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6360
6436
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6361
6437
|
var ActionSheetFooter = (props) => {
|
|
6362
6438
|
const {
|
|
6363
6439
|
actions,
|
|
6364
6440
|
...other
|
|
6365
6441
|
} = props;
|
|
6366
|
-
return /* @__PURE__ */
|
|
6442
|
+
return /* @__PURE__ */ jsx74(
|
|
6367
6443
|
action_buttons_spec_default,
|
|
6368
6444
|
{
|
|
6369
6445
|
...other,
|
|
@@ -6372,17 +6448,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6372
6448
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6373
6449
|
),
|
|
6374
6450
|
alignment: "stretched",
|
|
6375
|
-
children: /* @__PURE__ */
|
|
6451
|
+
children: /* @__PURE__ */ jsxs27(Fragment20, { children: [
|
|
6376
6452
|
actions && actions.map((action, index) => {
|
|
6377
6453
|
if (action === "|") {
|
|
6378
|
-
return /* @__PURE__ */
|
|
6454
|
+
return /* @__PURE__ */ jsx74("span", { className: "k-separator" }, index);
|
|
6379
6455
|
}
|
|
6380
6456
|
if (action === " ") {
|
|
6381
|
-
return /* @__PURE__ */
|
|
6457
|
+
return /* @__PURE__ */ jsx74("span", { className: "k-spacer" }, index);
|
|
6382
6458
|
}
|
|
6383
6459
|
const importantFlag = action.startsWith("!");
|
|
6384
6460
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6385
|
-
return /* @__PURE__ */
|
|
6461
|
+
return /* @__PURE__ */ jsx74(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6386
6462
|
}),
|
|
6387
6463
|
!actions && props.children
|
|
6388
6464
|
] })
|
|
@@ -6391,12 +6467,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6391
6467
|
};
|
|
6392
6468
|
|
|
6393
6469
|
// src/action-sheet/actionsheet-items.tsx
|
|
6394
|
-
import { jsx as
|
|
6470
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6395
6471
|
var ActionSheetItems = (props) => {
|
|
6396
6472
|
const {
|
|
6397
6473
|
...other
|
|
6398
6474
|
} = props;
|
|
6399
|
-
return /* @__PURE__ */
|
|
6475
|
+
return /* @__PURE__ */ jsx75(
|
|
6400
6476
|
"div",
|
|
6401
6477
|
{
|
|
6402
6478
|
...other,
|
|
@@ -6410,7 +6486,7 @@ var ActionSheetItems = (props) => {
|
|
|
6410
6486
|
};
|
|
6411
6487
|
|
|
6412
6488
|
// src/action-sheet/actionsheet-item.tsx
|
|
6413
|
-
import { Fragment as
|
|
6489
|
+
import { Fragment as Fragment21, jsx as jsx76, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6414
6490
|
var states35 = [
|
|
6415
6491
|
States.hover,
|
|
6416
6492
|
States.focus,
|
|
@@ -6419,12 +6495,12 @@ var states35 = [
|
|
|
6419
6495
|
];
|
|
6420
6496
|
|
|
6421
6497
|
// src/nodata/nodata.tsx
|
|
6422
|
-
import { jsx as
|
|
6498
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6423
6499
|
var className9 = `k-nodata`;
|
|
6424
|
-
var NoData = (props) => /* @__PURE__ */
|
|
6500
|
+
var NoData = (props) => /* @__PURE__ */ jsx77("span", { className: classNames(className9, props.className), children: props.children });
|
|
6425
6501
|
|
|
6426
6502
|
// src/list/list.spec.tsx
|
|
6427
|
-
import { jsx as
|
|
6503
|
+
import { jsx as jsx78, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6428
6504
|
var LIST_CLASSNAME = `k-list`;
|
|
6429
6505
|
var states36 = [];
|
|
6430
6506
|
var options33 = {
|
|
@@ -6452,7 +6528,7 @@ var List = (props) => {
|
|
|
6452
6528
|
listHeader = child.props.label;
|
|
6453
6529
|
child.props.children.map((optChild, index2) => {
|
|
6454
6530
|
listChildren.push(
|
|
6455
|
-
/* @__PURE__ */
|
|
6531
|
+
/* @__PURE__ */ jsx78(
|
|
6456
6532
|
ListItem,
|
|
6457
6533
|
{
|
|
6458
6534
|
...optChild.props
|
|
@@ -6468,7 +6544,7 @@ var List = (props) => {
|
|
|
6468
6544
|
groupLabel = child.props.label;
|
|
6469
6545
|
}
|
|
6470
6546
|
listChildren.push(
|
|
6471
|
-
/* @__PURE__ */
|
|
6547
|
+
/* @__PURE__ */ jsx78(
|
|
6472
6548
|
ListItem,
|
|
6473
6549
|
{
|
|
6474
6550
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6480,16 +6556,16 @@ var List = (props) => {
|
|
|
6480
6556
|
);
|
|
6481
6557
|
});
|
|
6482
6558
|
}
|
|
6483
|
-
listGroup = /* @__PURE__ */
|
|
6559
|
+
listGroup = /* @__PURE__ */ jsx78(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6484
6560
|
} else if (child.type === ListItem) {
|
|
6485
|
-
listChildren.push(/* @__PURE__ */
|
|
6486
|
-
listContent = /* @__PURE__ */
|
|
6561
|
+
listChildren.push(/* @__PURE__ */ jsx78(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6562
|
+
listContent = /* @__PURE__ */ jsx78(ListContent, { virtualization, children: listChildren });
|
|
6487
6563
|
}
|
|
6488
6564
|
});
|
|
6489
6565
|
} else {
|
|
6490
|
-
listContent = /* @__PURE__ */
|
|
6566
|
+
listContent = /* @__PURE__ */ jsx78(NoData, { children: "No data found." });
|
|
6491
6567
|
}
|
|
6492
|
-
return /* @__PURE__ */
|
|
6568
|
+
return /* @__PURE__ */ jsxs29(
|
|
6493
6569
|
"div",
|
|
6494
6570
|
{
|
|
6495
6571
|
...other,
|
|
@@ -6517,7 +6593,7 @@ List.className = LIST_CLASSNAME;
|
|
|
6517
6593
|
List.defaultProps = defaultProps31;
|
|
6518
6594
|
|
|
6519
6595
|
// src/list/list-angular.spec.tsx
|
|
6520
|
-
import { jsx as
|
|
6596
|
+
import { jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6521
6597
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6522
6598
|
var states37 = [];
|
|
6523
6599
|
var options34 = {
|
|
@@ -6544,7 +6620,7 @@ var ListAngular = (props) => {
|
|
|
6544
6620
|
listHeader = child.props.label;
|
|
6545
6621
|
child.props.children.map((optChild, index2) => {
|
|
6546
6622
|
listChildren.push(
|
|
6547
|
-
/* @__PURE__ */
|
|
6623
|
+
/* @__PURE__ */ jsx79(
|
|
6548
6624
|
ListItem,
|
|
6549
6625
|
{
|
|
6550
6626
|
...optChild.props
|
|
@@ -6555,7 +6631,7 @@ var ListAngular = (props) => {
|
|
|
6555
6631
|
});
|
|
6556
6632
|
} else {
|
|
6557
6633
|
listChildren.push(
|
|
6558
|
-
/* @__PURE__ */
|
|
6634
|
+
/* @__PURE__ */ jsx79(
|
|
6559
6635
|
ListGroupItem,
|
|
6560
6636
|
{
|
|
6561
6637
|
...child.props,
|
|
@@ -6566,7 +6642,7 @@ var ListAngular = (props) => {
|
|
|
6566
6642
|
);
|
|
6567
6643
|
child.props.children.map((optChild, index2) => {
|
|
6568
6644
|
listChildren.push(
|
|
6569
|
-
/* @__PURE__ */
|
|
6645
|
+
/* @__PURE__ */ jsx79(
|
|
6570
6646
|
ListItem,
|
|
6571
6647
|
{
|
|
6572
6648
|
...optChild.props
|
|
@@ -6576,16 +6652,16 @@ var ListAngular = (props) => {
|
|
|
6576
6652
|
);
|
|
6577
6653
|
});
|
|
6578
6654
|
}
|
|
6579
|
-
listGroup = /* @__PURE__ */
|
|
6655
|
+
listGroup = /* @__PURE__ */ jsx79(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6580
6656
|
} else if (child.type === ListItem) {
|
|
6581
|
-
listChildren.push(/* @__PURE__ */
|
|
6582
|
-
listContent = /* @__PURE__ */
|
|
6657
|
+
listChildren.push(/* @__PURE__ */ jsx79(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6658
|
+
listContent = /* @__PURE__ */ jsx79(ListContent, { virtualization, children: listChildren });
|
|
6583
6659
|
}
|
|
6584
6660
|
});
|
|
6585
6661
|
} else {
|
|
6586
|
-
listContent = /* @__PURE__ */
|
|
6662
|
+
listContent = /* @__PURE__ */ jsx79(NoData, { children: "No data found." });
|
|
6587
6663
|
}
|
|
6588
|
-
return /* @__PURE__ */
|
|
6664
|
+
return /* @__PURE__ */ jsxs30(
|
|
6589
6665
|
"div",
|
|
6590
6666
|
{
|
|
6591
6667
|
...other,
|
|
@@ -6612,7 +6688,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
6612
6688
|
ListAngular.defaultProps = defaultProps32;
|
|
6613
6689
|
|
|
6614
6690
|
// src/checkbox/checkbox.spec.tsx
|
|
6615
|
-
import { jsx as
|
|
6691
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6616
6692
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6617
6693
|
var states38 = [
|
|
6618
6694
|
States.hover,
|
|
@@ -6647,7 +6723,7 @@ var Checkbox = (props) => {
|
|
|
6647
6723
|
rounded = defaultProps33.rounded,
|
|
6648
6724
|
...other
|
|
6649
6725
|
} = props;
|
|
6650
|
-
return /* @__PURE__ */
|
|
6726
|
+
return /* @__PURE__ */ jsx80("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx80(
|
|
6651
6727
|
"input",
|
|
6652
6728
|
{
|
|
6653
6729
|
...other,
|
|
@@ -6670,7 +6746,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6670
6746
|
Checkbox.defaultProps = defaultProps33;
|
|
6671
6747
|
|
|
6672
6748
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6673
|
-
import { jsx as
|
|
6749
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6674
6750
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6675
6751
|
var states39 = [];
|
|
6676
6752
|
var options36 = {};
|
|
@@ -6682,7 +6758,7 @@ var CheckboxGroup = (props) => {
|
|
|
6682
6758
|
layout = defaultProps34.layout,
|
|
6683
6759
|
...other
|
|
6684
6760
|
} = props;
|
|
6685
|
-
return /* @__PURE__ */
|
|
6761
|
+
return /* @__PURE__ */ jsx81(
|
|
6686
6762
|
"ul",
|
|
6687
6763
|
{
|
|
6688
6764
|
...other,
|
|
@@ -6703,7 +6779,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6703
6779
|
CheckboxGroup.defaultProps = defaultProps34;
|
|
6704
6780
|
|
|
6705
6781
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6706
|
-
import { jsx as
|
|
6782
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6707
6783
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6708
6784
|
var states40 = [];
|
|
6709
6785
|
var options37 = {};
|
|
@@ -6712,7 +6788,7 @@ var CheckboxItem = (props) => {
|
|
|
6712
6788
|
const {
|
|
6713
6789
|
...other
|
|
6714
6790
|
} = props;
|
|
6715
|
-
return /* @__PURE__ */
|
|
6791
|
+
return /* @__PURE__ */ jsx82(
|
|
6716
6792
|
"li",
|
|
6717
6793
|
{
|
|
6718
6794
|
...other,
|
|
@@ -6730,16 +6806,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6730
6806
|
CheckboxItem.defaultProps = defaultProps35;
|
|
6731
6807
|
|
|
6732
6808
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6733
|
-
import { Fragment as
|
|
6809
|
+
import { Fragment as Fragment22, jsx as jsx83, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6734
6810
|
|
|
6735
6811
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6736
|
-
import { Fragment as
|
|
6812
|
+
import { Fragment as Fragment23, jsx as jsx84, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6737
6813
|
|
|
6738
6814
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6739
|
-
import { jsx as
|
|
6815
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6740
6816
|
|
|
6741
6817
|
// src/list/list-item.spec.tsx
|
|
6742
|
-
import { jsx as
|
|
6818
|
+
import { jsx as jsx86, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6743
6819
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6744
6820
|
var states41 = [
|
|
6745
6821
|
States.hover,
|
|
@@ -6764,7 +6840,7 @@ var ListItem = (props) => {
|
|
|
6764
6840
|
...other
|
|
6765
6841
|
} = props;
|
|
6766
6842
|
const textOrChildren = text ? text : props.children;
|
|
6767
|
-
return /* @__PURE__ */
|
|
6843
|
+
return /* @__PURE__ */ jsxs33(
|
|
6768
6844
|
"li",
|
|
6769
6845
|
{
|
|
6770
6846
|
...other,
|
|
@@ -6779,10 +6855,10 @@ var ListItem = (props) => {
|
|
|
6779
6855
|
})
|
|
6780
6856
|
),
|
|
6781
6857
|
children: [
|
|
6782
|
-
showCheckbox && /* @__PURE__ */
|
|
6783
|
-
showIcon && /* @__PURE__ */
|
|
6784
|
-
/* @__PURE__ */
|
|
6785
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
6858
|
+
showCheckbox && /* @__PURE__ */ jsx86(Checkbox, { checked }),
|
|
6859
|
+
showIcon && /* @__PURE__ */ jsx86(Icon, { icon: iconName }),
|
|
6860
|
+
/* @__PURE__ */ jsx86("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6861
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx86("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6786
6862
|
]
|
|
6787
6863
|
}
|
|
6788
6864
|
);
|
|
@@ -6793,43 +6869,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
6793
6869
|
ListItem.defaultProps = defaultProps36;
|
|
6794
6870
|
|
|
6795
6871
|
// src/list/list-content.tsx
|
|
6796
|
-
import { jsx as
|
|
6872
|
+
import { jsx as jsx87, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6797
6873
|
var className10 = `k-list-content`;
|
|
6798
6874
|
var ListContent = (props) => {
|
|
6799
6875
|
const {
|
|
6800
6876
|
virtualization
|
|
6801
6877
|
} = props;
|
|
6802
|
-
return /* @__PURE__ */
|
|
6803
|
-
/* @__PURE__ */
|
|
6804
|
-
virtualization && /* @__PURE__ */
|
|
6878
|
+
return /* @__PURE__ */ jsxs34("div", { className: classNames(className10, props.className), children: [
|
|
6879
|
+
/* @__PURE__ */ jsx87("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6880
|
+
virtualization && /* @__PURE__ */ jsx87("div", { className: "k-height-container", children: /* @__PURE__ */ jsx87("div", {}) })
|
|
6805
6881
|
] });
|
|
6806
6882
|
};
|
|
6807
6883
|
|
|
6808
6884
|
// src/list/list-header.tsx
|
|
6809
|
-
import { jsx as
|
|
6885
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6810
6886
|
var className11 = `k-list-group-sticky-header`;
|
|
6811
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
6887
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx88("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx88("div", { className: "k-list-header-text", children: props.children }) });
|
|
6812
6888
|
|
|
6813
6889
|
// src/list/list-group.tsx
|
|
6814
|
-
import { Fragment as
|
|
6890
|
+
import { Fragment as Fragment24, jsx as jsx89, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6815
6891
|
var ListGroup = (props) => {
|
|
6816
6892
|
const {
|
|
6817
6893
|
virtualization,
|
|
6818
6894
|
label
|
|
6819
6895
|
} = props;
|
|
6820
|
-
return /* @__PURE__ */
|
|
6821
|
-
label && /* @__PURE__ */
|
|
6822
|
-
props.children && /* @__PURE__ */
|
|
6896
|
+
return /* @__PURE__ */ jsxs35(Fragment24, { children: [
|
|
6897
|
+
label && /* @__PURE__ */ jsx89(ListHeader, { children: label }),
|
|
6898
|
+
props.children && /* @__PURE__ */ jsx89(ListContent, { virtualization, children: props.children })
|
|
6823
6899
|
] });
|
|
6824
6900
|
};
|
|
6825
6901
|
|
|
6826
6902
|
// src/list/list-group-item.tsx
|
|
6827
|
-
import { jsx as
|
|
6903
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6828
6904
|
var className12 = `k-list-group-item`;
|
|
6829
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6905
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx90("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx90("span", { className: "k-list-item-text", children: props.children }) });
|
|
6830
6906
|
|
|
6831
6907
|
// src/list/list-option-label.tsx
|
|
6832
|
-
import { jsx as
|
|
6908
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
6833
6909
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6834
6910
|
var states42 = [
|
|
6835
6911
|
States.hover,
|
|
@@ -6848,7 +6924,7 @@ var ListOptionLabel = (props) => {
|
|
|
6848
6924
|
disabled,
|
|
6849
6925
|
...other
|
|
6850
6926
|
} = props;
|
|
6851
|
-
return /* @__PURE__ */
|
|
6927
|
+
return /* @__PURE__ */ jsx91(
|
|
6852
6928
|
"div",
|
|
6853
6929
|
{
|
|
6854
6930
|
...other,
|
|
@@ -6871,28 +6947,28 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
6871
6947
|
ListOptionLabel.defaultProps = defaultProps37;
|
|
6872
6948
|
|
|
6873
6949
|
// src/list/templates/list-normal.tsx
|
|
6874
|
-
import { jsx as
|
|
6950
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6875
6951
|
|
|
6876
6952
|
// src/list/templates/list-virtualization.tsx
|
|
6877
|
-
import { jsx as
|
|
6953
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6878
6954
|
|
|
6879
6955
|
// src/list/templates/list-grouping.tsx
|
|
6880
|
-
import { jsx as
|
|
6956
|
+
import { jsx as jsx94, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6881
6957
|
|
|
6882
6958
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6883
|
-
import { jsx as
|
|
6959
|
+
import { jsx as jsx95, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6884
6960
|
|
|
6885
6961
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6886
|
-
import { jsx as
|
|
6962
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6887
6963
|
|
|
6888
6964
|
// src/list/templates/list-grouping-angular.tsx
|
|
6889
|
-
import { jsx as
|
|
6965
|
+
import { jsx as jsx97, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6890
6966
|
|
|
6891
6967
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6892
|
-
import { jsx as
|
|
6968
|
+
import { jsx as jsx98, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6893
6969
|
|
|
6894
6970
|
// src/combobox/combobox.spec.tsx
|
|
6895
|
-
import { Fragment as
|
|
6971
|
+
import { Fragment as Fragment25, jsx as jsx99, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6896
6972
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6897
6973
|
var states43 = [
|
|
6898
6974
|
States.hover,
|
|
@@ -6937,8 +7013,8 @@ var Combobox = (props) => {
|
|
|
6937
7013
|
adaptiveSettings,
|
|
6938
7014
|
...other
|
|
6939
7015
|
} = props;
|
|
6940
|
-
return /* @__PURE__ */
|
|
6941
|
-
/* @__PURE__ */
|
|
7016
|
+
return /* @__PURE__ */ jsxs40(Fragment25, { children: [
|
|
7017
|
+
/* @__PURE__ */ jsxs40(
|
|
6942
7018
|
Input,
|
|
6943
7019
|
{
|
|
6944
7020
|
...other,
|
|
@@ -6955,9 +7031,9 @@ var Combobox = (props) => {
|
|
|
6955
7031
|
readonly,
|
|
6956
7032
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6957
7033
|
children: [
|
|
6958
|
-
/* @__PURE__ */
|
|
6959
|
-
/* @__PURE__ */
|
|
6960
|
-
/* @__PURE__ */
|
|
7034
|
+
/* @__PURE__ */ jsx99(InputPrefix, { children: prefix }),
|
|
7035
|
+
/* @__PURE__ */ jsx99(InputInnerInput, { placeholder, value }),
|
|
7036
|
+
/* @__PURE__ */ jsx99(
|
|
6961
7037
|
InputValidationIcon,
|
|
6962
7038
|
{
|
|
6963
7039
|
valid,
|
|
@@ -6966,14 +7042,14 @@ var Combobox = (props) => {
|
|
|
6966
7042
|
disabled
|
|
6967
7043
|
}
|
|
6968
7044
|
),
|
|
6969
|
-
/* @__PURE__ */
|
|
7045
|
+
/* @__PURE__ */ jsx99(
|
|
6970
7046
|
InputLoadingIcon,
|
|
6971
7047
|
{
|
|
6972
7048
|
loading,
|
|
6973
7049
|
disabled
|
|
6974
7050
|
}
|
|
6975
7051
|
),
|
|
6976
|
-
/* @__PURE__ */
|
|
7052
|
+
/* @__PURE__ */ jsx99(
|
|
6977
7053
|
InputClearValue,
|
|
6978
7054
|
{
|
|
6979
7055
|
loading,
|
|
@@ -6982,8 +7058,8 @@ var Combobox = (props) => {
|
|
|
6982
7058
|
value
|
|
6983
7059
|
}
|
|
6984
7060
|
),
|
|
6985
|
-
/* @__PURE__ */
|
|
6986
|
-
/* @__PURE__ */
|
|
7061
|
+
/* @__PURE__ */ jsx99(InputSuffix, { children: suffix }),
|
|
7062
|
+
/* @__PURE__ */ jsx99(
|
|
6987
7063
|
Button,
|
|
6988
7064
|
{
|
|
6989
7065
|
className: "k-input-button",
|
|
@@ -6996,9 +7072,9 @@ var Combobox = (props) => {
|
|
|
6996
7072
|
]
|
|
6997
7073
|
}
|
|
6998
7074
|
),
|
|
6999
|
-
opened && popup && /* @__PURE__ */
|
|
7000
|
-
adaptive && /* @__PURE__ */
|
|
7001
|
-
/* @__PURE__ */
|
|
7075
|
+
opened && popup && /* @__PURE__ */ jsx99(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7076
|
+
adaptive && /* @__PURE__ */ jsxs40(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7077
|
+
/* @__PURE__ */ jsx99(
|
|
7002
7078
|
ActionSheetHeader,
|
|
7003
7079
|
{
|
|
7004
7080
|
actions: ["x"],
|
|
@@ -7006,10 +7082,10 @@ var Combobox = (props) => {
|
|
|
7006
7082
|
title: "Select Item"
|
|
7007
7083
|
}
|
|
7008
7084
|
),
|
|
7009
|
-
/* @__PURE__ */
|
|
7010
|
-
/* @__PURE__ */
|
|
7011
|
-
/* @__PURE__ */
|
|
7012
|
-
/* @__PURE__ */
|
|
7085
|
+
/* @__PURE__ */ jsx99("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs40(List, { size: "large", children: [
|
|
7086
|
+
/* @__PURE__ */ jsx99(ListItem, { text: "List item" }),
|
|
7087
|
+
/* @__PURE__ */ jsx99(ListItem, { text: "List item" }),
|
|
7088
|
+
/* @__PURE__ */ jsx99(ListItem, { text: "List item" })
|
|
7013
7089
|
] }) })
|
|
7014
7090
|
] })
|
|
7015
7091
|
] });
|
|
@@ -7020,19 +7096,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
7020
7096
|
Combobox.defaultProps = defaultProps38;
|
|
7021
7097
|
|
|
7022
7098
|
// src/combobox/templates/combobox-normal.tsx
|
|
7023
|
-
import { jsx as
|
|
7099
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
7024
7100
|
|
|
7025
7101
|
// src/combobox/templates/combobox-popup.tsx
|
|
7026
|
-
import { jsx as
|
|
7102
|
+
import { jsx as jsx101, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
7027
7103
|
|
|
7028
7104
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7029
|
-
import { jsx as
|
|
7105
|
+
import { jsx as jsx102, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
7030
7106
|
|
|
7031
7107
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7032
|
-
import { jsx as
|
|
7108
|
+
import { jsx as jsx103 } from "react/jsx-runtime";
|
|
7033
7109
|
|
|
7034
7110
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
7035
|
-
import { Fragment as
|
|
7111
|
+
import { Fragment as Fragment26, jsx as jsx104, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
7036
7112
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
7037
7113
|
var states44 = [
|
|
7038
7114
|
States.hover,
|
|
@@ -7080,8 +7156,8 @@ var DropdownList = (props) => {
|
|
|
7080
7156
|
opened,
|
|
7081
7157
|
...other
|
|
7082
7158
|
} = props;
|
|
7083
|
-
return /* @__PURE__ */
|
|
7084
|
-
/* @__PURE__ */
|
|
7159
|
+
return /* @__PURE__ */ jsxs43(Fragment26, { children: [
|
|
7160
|
+
/* @__PURE__ */ jsxs43(
|
|
7085
7161
|
Picker,
|
|
7086
7162
|
{
|
|
7087
7163
|
...other,
|
|
@@ -7104,8 +7180,8 @@ var DropdownList = (props) => {
|
|
|
7104
7180
|
}
|
|
7105
7181
|
),
|
|
7106
7182
|
children: [
|
|
7107
|
-
/* @__PURE__ */
|
|
7108
|
-
/* @__PURE__ */
|
|
7183
|
+
/* @__PURE__ */ jsx104(InputPrefix, { children: prefix }),
|
|
7184
|
+
/* @__PURE__ */ jsx104(
|
|
7109
7185
|
InputInnerSpan,
|
|
7110
7186
|
{
|
|
7111
7187
|
placeholder,
|
|
@@ -7114,7 +7190,7 @@ var DropdownList = (props) => {
|
|
|
7114
7190
|
valueIconName
|
|
7115
7191
|
}
|
|
7116
7192
|
),
|
|
7117
|
-
/* @__PURE__ */
|
|
7193
|
+
/* @__PURE__ */ jsx104(
|
|
7118
7194
|
InputValidationIcon,
|
|
7119
7195
|
{
|
|
7120
7196
|
valid,
|
|
@@ -7123,15 +7199,15 @@ var DropdownList = (props) => {
|
|
|
7123
7199
|
disabled
|
|
7124
7200
|
}
|
|
7125
7201
|
),
|
|
7126
|
-
/* @__PURE__ */
|
|
7202
|
+
/* @__PURE__ */ jsx104(
|
|
7127
7203
|
InputLoadingIcon,
|
|
7128
7204
|
{
|
|
7129
7205
|
loading,
|
|
7130
7206
|
disabled
|
|
7131
7207
|
}
|
|
7132
7208
|
),
|
|
7133
|
-
/* @__PURE__ */
|
|
7134
|
-
/* @__PURE__ */
|
|
7209
|
+
/* @__PURE__ */ jsx104(InputSuffix, { children: suffix }),
|
|
7210
|
+
/* @__PURE__ */ jsx104(
|
|
7135
7211
|
Button,
|
|
7136
7212
|
{
|
|
7137
7213
|
className: "k-input-button",
|
|
@@ -7144,7 +7220,7 @@ var DropdownList = (props) => {
|
|
|
7144
7220
|
]
|
|
7145
7221
|
}
|
|
7146
7222
|
),
|
|
7147
|
-
opened && popup && /* @__PURE__ */
|
|
7223
|
+
opened && popup && /* @__PURE__ */ jsx104(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
7148
7224
|
] });
|
|
7149
7225
|
};
|
|
7150
7226
|
DropdownList.states = states44;
|
|
@@ -7153,22 +7229,22 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
7153
7229
|
DropdownList.defaultProps = defaultProps39;
|
|
7154
7230
|
|
|
7155
7231
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
7156
|
-
import { jsx as
|
|
7232
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
7157
7233
|
|
|
7158
7234
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
7159
|
-
import { jsx as
|
|
7235
|
+
import { jsx as jsx106, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7160
7236
|
|
|
7161
7237
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
7162
|
-
import { Fragment as
|
|
7238
|
+
import { Fragment as Fragment27, jsx as jsx107, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7163
7239
|
|
|
7164
7240
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
7165
|
-
import { jsx as
|
|
7241
|
+
import { jsx as jsx108, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7166
7242
|
|
|
7167
7243
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
7168
|
-
import { Fragment as
|
|
7244
|
+
import { Fragment as Fragment28, jsx as jsx109, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7169
7245
|
|
|
7170
7246
|
// src/menu-button/menu-button.spec.tsx
|
|
7171
|
-
import { Fragment as
|
|
7247
|
+
import { Fragment as Fragment29, jsx as jsx110, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7172
7248
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7173
7249
|
var states45 = [
|
|
7174
7250
|
States.hover,
|
|
@@ -7222,8 +7298,8 @@ var MenuButton = (props) => {
|
|
|
7222
7298
|
opened,
|
|
7223
7299
|
...other
|
|
7224
7300
|
} = props;
|
|
7225
|
-
return /* @__PURE__ */
|
|
7226
|
-
/* @__PURE__ */
|
|
7301
|
+
return /* @__PURE__ */ jsxs48(Fragment29, { children: [
|
|
7302
|
+
/* @__PURE__ */ jsx110(
|
|
7227
7303
|
Button,
|
|
7228
7304
|
{
|
|
7229
7305
|
...other,
|
|
@@ -7246,7 +7322,7 @@ var MenuButton = (props) => {
|
|
|
7246
7322
|
arrowIconName
|
|
7247
7323
|
}
|
|
7248
7324
|
),
|
|
7249
|
-
opened && popup && /* @__PURE__ */
|
|
7325
|
+
opened && popup && /* @__PURE__ */ jsx110(Popup, { className: "k-menu-popup", children: popup })
|
|
7250
7326
|
] });
|
|
7251
7327
|
};
|
|
7252
7328
|
MenuButton.states = states45;
|
|
@@ -7255,19 +7331,19 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
7255
7331
|
MenuButton.defaultProps = defaultProps40;
|
|
7256
7332
|
|
|
7257
7333
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7258
|
-
import { jsx as
|
|
7334
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
7259
7335
|
|
|
7260
7336
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7261
|
-
import { jsx as
|
|
7337
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
7262
7338
|
|
|
7263
7339
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7264
|
-
import { jsx as
|
|
7340
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
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-contextmenu.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-context-menu {
|
|
8065
8141
|
position: absolute;
|
|
@@ -8069,36 +8145,36 @@ var styles = `
|
|
|
8069
8145
|
overflow: visible;
|
|
8070
8146
|
}
|
|
8071
8147
|
`;
|
|
8072
|
-
var filemanager_contextmenu_default = () => /* @__PURE__ */
|
|
8073
|
-
/* @__PURE__ */
|
|
8074
|
-
/* @__PURE__ */
|
|
8075
|
-
/* @__PURE__ */
|
|
8076
|
-
/* @__PURE__ */
|
|
8077
|
-
/* @__PURE__ */
|
|
8078
|
-
/* @__PURE__ */
|
|
8079
|
-
/* @__PURE__ */
|
|
8148
|
+
var filemanager_contextmenu_default = () => /* @__PURE__ */ jsxs58(Fragment33, { children: [
|
|
8149
|
+
/* @__PURE__ */ jsx137("style", { children: styles }),
|
|
8150
|
+
/* @__PURE__ */ jsxs58("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: [
|
|
8151
|
+
/* @__PURE__ */ jsx137("span", { children: "File Manager ContextMenu" }),
|
|
8152
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-widget k-filemanager", children: [
|
|
8153
|
+
/* @__PURE__ */ jsx137("div", { className: "k-filemanager-header", children: /* @__PURE__ */ jsxs58(Toolbar, { className: "k-filemanager-toolbar", children: [
|
|
8154
|
+
/* @__PURE__ */ jsx137(Button, { children: "New Folder" }),
|
|
8155
|
+
/* @__PURE__ */ jsx137(Button, { children: "Upload" })
|
|
8080
8156
|
] }) }),
|
|
8081
|
-
/* @__PURE__ */
|
|
8082
|
-
/* @__PURE__ */
|
|
8083
|
-
/* @__PURE__ */
|
|
8084
|
-
/* @__PURE__ */
|
|
8085
|
-
/* @__PURE__ */
|
|
8086
|
-
/* @__PURE__ */
|
|
8087
|
-
/* @__PURE__ */
|
|
8088
|
-
/* @__PURE__ */
|
|
8157
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-filemanager-content-container", children: [
|
|
8158
|
+
/* @__PURE__ */ jsx137("div", { className: "k-filemanager-navigation", children: /* @__PURE__ */ jsx137(Treeview, { className: "k-filemanager-treeview", children: /* @__PURE__ */ jsx137(TreeviewItem, { text: "Folder" }) }) }),
|
|
8159
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-filemanager-content", children: [
|
|
8160
|
+
/* @__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" }) }) }) }) }),
|
|
8161
|
+
/* @__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: [
|
|
8162
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-listview-item", children: [
|
|
8163
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-preview", children: /* @__PURE__ */ jsx137(Icon, { className: "k-file-icon", icon: "folder", size: "xxxlarge" }) }),
|
|
8164
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-name", children: "Folder" })
|
|
8089
8165
|
] }),
|
|
8090
|
-
/* @__PURE__ */
|
|
8091
|
-
/* @__PURE__ */
|
|
8092
|
-
/* @__PURE__ */
|
|
8166
|
+
/* @__PURE__ */ jsxs58("div", { className: "k-listview-item", children: [
|
|
8167
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-preview", children: /* @__PURE__ */ jsx137(Icon, { className: "k-file-icon", icon: "file-image", size: "xxxlarge" }) }),
|
|
8168
|
+
/* @__PURE__ */ jsx137("span", { className: "k-file-name", children: "file.png" })
|
|
8093
8169
|
] })
|
|
8094
8170
|
] }) })
|
|
8095
8171
|
] }),
|
|
8096
|
-
/* @__PURE__ */
|
|
8172
|
+
/* @__PURE__ */ jsx137("div", { className: "k-filemanager-preview", hidden: true })
|
|
8097
8173
|
] })
|
|
8098
8174
|
] }),
|
|
8099
|
-
/* @__PURE__ */
|
|
8100
|
-
/* @__PURE__ */
|
|
8101
|
-
/* @__PURE__ */
|
|
8175
|
+
/* @__PURE__ */ jsx137(Popup, { id: "filemanager-context-menu", className: "k-menu-popup k-context-menu-popup", children: /* @__PURE__ */ jsxs58(MenuList, { children: [
|
|
8176
|
+
/* @__PURE__ */ jsx137(MenuItem, { text: "Rename", icon: "pencil" }),
|
|
8177
|
+
/* @__PURE__ */ jsx137(MenuItem, { text: "Delete", icon: "trash" })
|
|
8102
8178
|
] }) })
|
|
8103
8179
|
] })
|
|
8104
8180
|
] });
|