@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
|
@@ -4979,119 +4979,12 @@ var InputSuffix = (props) => {
|
|
|
4979
4979
|
// src/input/input-separator.tsx
|
|
4980
4980
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4981
4981
|
|
|
4982
|
-
// src/textbox/textbox.spec.tsx
|
|
4983
|
-
import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4984
|
-
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4985
|
-
var states16 = [
|
|
4986
|
-
States.hover,
|
|
4987
|
-
States.focus,
|
|
4988
|
-
States.valid,
|
|
4989
|
-
States.invalid,
|
|
4990
|
-
States.required,
|
|
4991
|
-
States.disabled,
|
|
4992
|
-
States.loading,
|
|
4993
|
-
States.readonly
|
|
4994
|
-
];
|
|
4995
|
-
var options14 = {
|
|
4996
|
-
size: [Size.small, Size.medium, Size.large],
|
|
4997
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4998
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4999
|
-
};
|
|
5000
|
-
var defaultProps12 = {
|
|
5001
|
-
showClearButton: true,
|
|
5002
|
-
size: Input.defaultProps.size,
|
|
5003
|
-
rounded: Input.defaultProps.rounded,
|
|
5004
|
-
fillMode: Input.defaultProps.fillMode
|
|
5005
|
-
};
|
|
5006
|
-
var Textbox = (props) => {
|
|
5007
|
-
const {
|
|
5008
|
-
prefix,
|
|
5009
|
-
suffix,
|
|
5010
|
-
value,
|
|
5011
|
-
placeholder,
|
|
5012
|
-
size,
|
|
5013
|
-
rounded,
|
|
5014
|
-
fillMode,
|
|
5015
|
-
hover,
|
|
5016
|
-
focus,
|
|
5017
|
-
valid,
|
|
5018
|
-
invalid,
|
|
5019
|
-
required,
|
|
5020
|
-
loading,
|
|
5021
|
-
disabled,
|
|
5022
|
-
readonly,
|
|
5023
|
-
showClearButton = defaultProps12.showClearButton,
|
|
5024
|
-
...other
|
|
5025
|
-
} = props;
|
|
5026
|
-
return /* @__PURE__ */ jsxs7(
|
|
5027
|
-
Input,
|
|
5028
|
-
{
|
|
5029
|
-
...other,
|
|
5030
|
-
size,
|
|
5031
|
-
rounded,
|
|
5032
|
-
fillMode,
|
|
5033
|
-
hover,
|
|
5034
|
-
focus,
|
|
5035
|
-
valid,
|
|
5036
|
-
invalid,
|
|
5037
|
-
required,
|
|
5038
|
-
loading,
|
|
5039
|
-
disabled,
|
|
5040
|
-
readonly,
|
|
5041
|
-
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5042
|
-
children: [
|
|
5043
|
-
/* @__PURE__ */ jsx25(InputPrefix, { children: prefix }),
|
|
5044
|
-
/* @__PURE__ */ jsx25(InputInnerInput, { placeholder, value }),
|
|
5045
|
-
/* @__PURE__ */ jsx25(
|
|
5046
|
-
InputValidationIcon,
|
|
5047
|
-
{
|
|
5048
|
-
valid,
|
|
5049
|
-
invalid,
|
|
5050
|
-
loading,
|
|
5051
|
-
disabled
|
|
5052
|
-
}
|
|
5053
|
-
),
|
|
5054
|
-
/* @__PURE__ */ jsx25(
|
|
5055
|
-
InputLoadingIcon,
|
|
5056
|
-
{
|
|
5057
|
-
loading,
|
|
5058
|
-
disabled
|
|
5059
|
-
}
|
|
5060
|
-
),
|
|
5061
|
-
showClearButton && /* @__PURE__ */ jsx25(
|
|
5062
|
-
InputClearValue,
|
|
5063
|
-
{
|
|
5064
|
-
loading,
|
|
5065
|
-
disabled,
|
|
5066
|
-
readonly,
|
|
5067
|
-
value
|
|
5068
|
-
}
|
|
5069
|
-
),
|
|
5070
|
-
/* @__PURE__ */ jsx25(InputSuffix, { children: suffix })
|
|
5071
|
-
]
|
|
5072
|
-
}
|
|
5073
|
-
);
|
|
5074
|
-
};
|
|
5075
|
-
Textbox.states = states16;
|
|
5076
|
-
Textbox.options = options14;
|
|
5077
|
-
Textbox.className = TEXTBOX_CLASSNAME;
|
|
5078
|
-
Textbox.defaultProps = defaultProps12;
|
|
5079
|
-
|
|
5080
|
-
// src/textbox/templates/textbox-normal.tsx
|
|
5081
|
-
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5082
|
-
|
|
5083
|
-
// src/textbox/templates/textbox-prefix.tsx
|
|
5084
|
-
import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5085
|
-
|
|
5086
|
-
// src/textbox/templates/textbox-suffix.tsx
|
|
5087
|
-
import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5088
|
-
|
|
5089
4982
|
// src/animation-container/animation-container.spec.tsx
|
|
5090
|
-
import { jsx as
|
|
4983
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
5091
4984
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5092
|
-
var
|
|
5093
|
-
var
|
|
5094
|
-
var
|
|
4985
|
+
var states16 = [];
|
|
4986
|
+
var options14 = {};
|
|
4987
|
+
var defaultProps12 = {
|
|
5095
4988
|
positionMode: "absolute"
|
|
5096
4989
|
};
|
|
5097
4990
|
var AnimationContainer = (props) => {
|
|
@@ -5101,7 +4994,7 @@ var AnimationContainer = (props) => {
|
|
|
5101
4994
|
offset,
|
|
5102
4995
|
...other
|
|
5103
4996
|
} = props;
|
|
5104
|
-
return /* @__PURE__ */
|
|
4997
|
+
return /* @__PURE__ */ jsx25(
|
|
5105
4998
|
"div",
|
|
5106
4999
|
{
|
|
5107
5000
|
...other,
|
|
@@ -5113,21 +5006,21 @@ var AnimationContainer = (props) => {
|
|
|
5113
5006
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5114
5007
|
}
|
|
5115
5008
|
),
|
|
5116
|
-
children: /* @__PURE__ */
|
|
5009
|
+
children: /* @__PURE__ */ jsx25("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5117
5010
|
}
|
|
5118
5011
|
);
|
|
5119
5012
|
};
|
|
5120
|
-
AnimationContainer.states =
|
|
5121
|
-
AnimationContainer.options =
|
|
5013
|
+
AnimationContainer.states = states16;
|
|
5014
|
+
AnimationContainer.options = options14;
|
|
5122
5015
|
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
5123
|
-
AnimationContainer.defaultProps =
|
|
5016
|
+
AnimationContainer.defaultProps = defaultProps12;
|
|
5124
5017
|
|
|
5125
5018
|
// src/popup/popup.spec.tsx
|
|
5126
|
-
import { jsx as
|
|
5019
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5127
5020
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5128
|
-
var
|
|
5129
|
-
var
|
|
5130
|
-
var
|
|
5021
|
+
var states17 = [];
|
|
5022
|
+
var options15 = {};
|
|
5023
|
+
var defaultProps13 = {
|
|
5131
5024
|
positionMode: "absolute"
|
|
5132
5025
|
};
|
|
5133
5026
|
var Popup = (props) => {
|
|
@@ -5136,24 +5029,24 @@ var Popup = (props) => {
|
|
|
5136
5029
|
positionMode,
|
|
5137
5030
|
...other
|
|
5138
5031
|
} = props;
|
|
5139
|
-
return /* @__PURE__ */
|
|
5032
|
+
return /* @__PURE__ */ jsx26(
|
|
5140
5033
|
AnimationContainer,
|
|
5141
5034
|
{
|
|
5142
5035
|
positionMode,
|
|
5143
5036
|
offset,
|
|
5144
|
-
children: /* @__PURE__ */
|
|
5037
|
+
children: /* @__PURE__ */ jsx26("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5145
5038
|
}
|
|
5146
5039
|
);
|
|
5147
5040
|
};
|
|
5148
|
-
Popup.states =
|
|
5149
|
-
Popup.options =
|
|
5041
|
+
Popup.states = states17;
|
|
5042
|
+
Popup.options = options15;
|
|
5150
5043
|
Popup.className = POPUP_CLASSNAME;
|
|
5151
|
-
Popup.defaultProps =
|
|
5044
|
+
Popup.defaultProps = defaultProps13;
|
|
5152
5045
|
|
|
5153
5046
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5154
|
-
import { Fragment as
|
|
5047
|
+
import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5155
5048
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5156
|
-
var
|
|
5049
|
+
var states18 = [
|
|
5157
5050
|
States.hover,
|
|
5158
5051
|
States.focus,
|
|
5159
5052
|
States.valid,
|
|
@@ -5163,12 +5056,12 @@ var states19 = [
|
|
|
5163
5056
|
States.loading,
|
|
5164
5057
|
States.readonly
|
|
5165
5058
|
];
|
|
5166
|
-
var
|
|
5059
|
+
var options16 = {
|
|
5167
5060
|
size: [Size.small, Size.medium, Size.large],
|
|
5168
5061
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5169
5062
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5170
5063
|
};
|
|
5171
|
-
var
|
|
5064
|
+
var defaultProps14 = {
|
|
5172
5065
|
showValue: true,
|
|
5173
5066
|
arrowIconName: "caret-alt-down",
|
|
5174
5067
|
size: Size.medium,
|
|
@@ -5178,7 +5071,7 @@ var defaultProps15 = {
|
|
|
5178
5071
|
var DropdownList = (props) => {
|
|
5179
5072
|
const {
|
|
5180
5073
|
valueIconName,
|
|
5181
|
-
arrowIconName =
|
|
5074
|
+
arrowIconName = defaultProps14.arrowIconName,
|
|
5182
5075
|
prefix,
|
|
5183
5076
|
suffix,
|
|
5184
5077
|
value,
|
|
@@ -5194,13 +5087,13 @@ var DropdownList = (props) => {
|
|
|
5194
5087
|
loading,
|
|
5195
5088
|
disabled,
|
|
5196
5089
|
readonly,
|
|
5197
|
-
showValue =
|
|
5090
|
+
showValue = defaultProps14.showValue,
|
|
5198
5091
|
popup,
|
|
5199
5092
|
opened,
|
|
5200
5093
|
...other
|
|
5201
5094
|
} = props;
|
|
5202
|
-
return /* @__PURE__ */
|
|
5203
|
-
/* @__PURE__ */
|
|
5095
|
+
return /* @__PURE__ */ jsxs7(Fragment14, { children: [
|
|
5096
|
+
/* @__PURE__ */ jsxs7(
|
|
5204
5097
|
Picker,
|
|
5205
5098
|
{
|
|
5206
5099
|
...other,
|
|
@@ -5223,8 +5116,8 @@ var DropdownList = (props) => {
|
|
|
5223
5116
|
}
|
|
5224
5117
|
),
|
|
5225
5118
|
children: [
|
|
5226
|
-
/* @__PURE__ */
|
|
5227
|
-
/* @__PURE__ */
|
|
5119
|
+
/* @__PURE__ */ jsx27(InputPrefix, { children: prefix }),
|
|
5120
|
+
/* @__PURE__ */ jsx27(
|
|
5228
5121
|
InputInnerSpan,
|
|
5229
5122
|
{
|
|
5230
5123
|
placeholder,
|
|
@@ -5233,7 +5126,7 @@ var DropdownList = (props) => {
|
|
|
5233
5126
|
valueIconName
|
|
5234
5127
|
}
|
|
5235
5128
|
),
|
|
5236
|
-
/* @__PURE__ */
|
|
5129
|
+
/* @__PURE__ */ jsx27(
|
|
5237
5130
|
InputValidationIcon,
|
|
5238
5131
|
{
|
|
5239
5132
|
valid,
|
|
@@ -5242,15 +5135,15 @@ var DropdownList = (props) => {
|
|
|
5242
5135
|
disabled
|
|
5243
5136
|
}
|
|
5244
5137
|
),
|
|
5245
|
-
/* @__PURE__ */
|
|
5138
|
+
/* @__PURE__ */ jsx27(
|
|
5246
5139
|
InputLoadingIcon,
|
|
5247
5140
|
{
|
|
5248
5141
|
loading,
|
|
5249
5142
|
disabled
|
|
5250
5143
|
}
|
|
5251
5144
|
),
|
|
5252
|
-
/* @__PURE__ */
|
|
5253
|
-
/* @__PURE__ */
|
|
5145
|
+
/* @__PURE__ */ jsx27(InputSuffix, { children: suffix }),
|
|
5146
|
+
/* @__PURE__ */ jsx27(
|
|
5254
5147
|
Button,
|
|
5255
5148
|
{
|
|
5256
5149
|
className: "k-input-button",
|
|
@@ -5263,35 +5156,35 @@ var DropdownList = (props) => {
|
|
|
5263
5156
|
]
|
|
5264
5157
|
}
|
|
5265
5158
|
),
|
|
5266
|
-
opened && popup && /* @__PURE__ */
|
|
5159
|
+
opened && popup && /* @__PURE__ */ jsx27(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5267
5160
|
] });
|
|
5268
5161
|
};
|
|
5269
|
-
DropdownList.states =
|
|
5270
|
-
DropdownList.options =
|
|
5162
|
+
DropdownList.states = states18;
|
|
5163
|
+
DropdownList.options = options16;
|
|
5271
5164
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
5272
|
-
DropdownList.defaultProps =
|
|
5165
|
+
DropdownList.defaultProps = defaultProps14;
|
|
5273
5166
|
|
|
5274
5167
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5275
|
-
import { jsx as
|
|
5168
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
5276
5169
|
|
|
5277
5170
|
// src/nodata/nodata.tsx
|
|
5278
|
-
import { jsx as
|
|
5171
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5279
5172
|
var className9 = `k-nodata`;
|
|
5280
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5173
|
+
var NoData = (props) => /* @__PURE__ */ jsx29("span", { className: classNames(className9, props.className), children: props.children });
|
|
5281
5174
|
|
|
5282
5175
|
// src/list/list.spec.tsx
|
|
5283
|
-
import { jsx as
|
|
5176
|
+
import { jsx as jsx30, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5284
5177
|
var LIST_CLASSNAME = `k-list`;
|
|
5285
|
-
var
|
|
5286
|
-
var
|
|
5178
|
+
var states19 = [];
|
|
5179
|
+
var options17 = {
|
|
5287
5180
|
size: [Size.small, Size.medium, Size.large]
|
|
5288
5181
|
};
|
|
5289
|
-
var
|
|
5182
|
+
var defaultProps15 = {
|
|
5290
5183
|
size: Size.medium
|
|
5291
5184
|
};
|
|
5292
5185
|
var List = (props) => {
|
|
5293
5186
|
const {
|
|
5294
|
-
size =
|
|
5187
|
+
size = defaultProps15.size,
|
|
5295
5188
|
virtualization,
|
|
5296
5189
|
children,
|
|
5297
5190
|
optionLabel,
|
|
@@ -5308,7 +5201,7 @@ var List = (props) => {
|
|
|
5308
5201
|
listHeader = child.props.label;
|
|
5309
5202
|
child.props.children.map((optChild, index2) => {
|
|
5310
5203
|
listChildren.push(
|
|
5311
|
-
/* @__PURE__ */
|
|
5204
|
+
/* @__PURE__ */ jsx30(
|
|
5312
5205
|
ListItem,
|
|
5313
5206
|
{
|
|
5314
5207
|
...optChild.props
|
|
@@ -5324,7 +5217,7 @@ var List = (props) => {
|
|
|
5324
5217
|
groupLabel = child.props.label;
|
|
5325
5218
|
}
|
|
5326
5219
|
listChildren.push(
|
|
5327
|
-
/* @__PURE__ */
|
|
5220
|
+
/* @__PURE__ */ jsx30(
|
|
5328
5221
|
ListItem,
|
|
5329
5222
|
{
|
|
5330
5223
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5336,16 +5229,16 @@ var List = (props) => {
|
|
|
5336
5229
|
);
|
|
5337
5230
|
});
|
|
5338
5231
|
}
|
|
5339
|
-
listGroup = /* @__PURE__ */
|
|
5232
|
+
listGroup = /* @__PURE__ */ jsx30(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5340
5233
|
} else if (child.type === ListItem) {
|
|
5341
|
-
listChildren.push(/* @__PURE__ */
|
|
5342
|
-
listContent = /* @__PURE__ */
|
|
5234
|
+
listChildren.push(/* @__PURE__ */ jsx30(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5235
|
+
listContent = /* @__PURE__ */ jsx30(ListContent, { virtualization, children: listChildren });
|
|
5343
5236
|
}
|
|
5344
5237
|
});
|
|
5345
5238
|
} else {
|
|
5346
|
-
listContent = /* @__PURE__ */
|
|
5239
|
+
listContent = /* @__PURE__ */ jsx30(NoData, { children: "No data found." });
|
|
5347
5240
|
}
|
|
5348
|
-
return /* @__PURE__ */
|
|
5241
|
+
return /* @__PURE__ */ jsxs8(
|
|
5349
5242
|
"div",
|
|
5350
5243
|
{
|
|
5351
5244
|
...other,
|
|
@@ -5367,25 +5260,25 @@ var List = (props) => {
|
|
|
5367
5260
|
}
|
|
5368
5261
|
);
|
|
5369
5262
|
};
|
|
5370
|
-
List.states =
|
|
5371
|
-
List.options =
|
|
5263
|
+
List.states = states19;
|
|
5264
|
+
List.options = options17;
|
|
5372
5265
|
List.className = LIST_CLASSNAME;
|
|
5373
|
-
List.defaultProps =
|
|
5266
|
+
List.defaultProps = defaultProps15;
|
|
5374
5267
|
var list_spec_default = List;
|
|
5375
5268
|
|
|
5376
5269
|
// src/list/list-angular.spec.tsx
|
|
5377
|
-
import { jsx as
|
|
5270
|
+
import { jsx as jsx31, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5378
5271
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5379
|
-
var
|
|
5380
|
-
var
|
|
5272
|
+
var states20 = [];
|
|
5273
|
+
var options18 = {
|
|
5381
5274
|
size: [Size.small, Size.medium, Size.large]
|
|
5382
5275
|
};
|
|
5383
|
-
var
|
|
5276
|
+
var defaultProps16 = {
|
|
5384
5277
|
size: Size.medium
|
|
5385
5278
|
};
|
|
5386
5279
|
var ListAngular = (props) => {
|
|
5387
5280
|
const {
|
|
5388
|
-
size =
|
|
5281
|
+
size = defaultProps16.size,
|
|
5389
5282
|
virtualization,
|
|
5390
5283
|
children,
|
|
5391
5284
|
...other
|
|
@@ -5401,7 +5294,7 @@ var ListAngular = (props) => {
|
|
|
5401
5294
|
listHeader = child.props.label;
|
|
5402
5295
|
child.props.children.map((optChild, index2) => {
|
|
5403
5296
|
listChildren.push(
|
|
5404
|
-
/* @__PURE__ */
|
|
5297
|
+
/* @__PURE__ */ jsx31(
|
|
5405
5298
|
ListItem,
|
|
5406
5299
|
{
|
|
5407
5300
|
...optChild.props
|
|
@@ -5412,7 +5305,7 @@ var ListAngular = (props) => {
|
|
|
5412
5305
|
});
|
|
5413
5306
|
} else {
|
|
5414
5307
|
listChildren.push(
|
|
5415
|
-
/* @__PURE__ */
|
|
5308
|
+
/* @__PURE__ */ jsx31(
|
|
5416
5309
|
ListGroupItem,
|
|
5417
5310
|
{
|
|
5418
5311
|
...child.props,
|
|
@@ -5423,7 +5316,7 @@ var ListAngular = (props) => {
|
|
|
5423
5316
|
);
|
|
5424
5317
|
child.props.children.map((optChild, index2) => {
|
|
5425
5318
|
listChildren.push(
|
|
5426
|
-
/* @__PURE__ */
|
|
5319
|
+
/* @__PURE__ */ jsx31(
|
|
5427
5320
|
ListItem,
|
|
5428
5321
|
{
|
|
5429
5322
|
...optChild.props
|
|
@@ -5433,16 +5326,16 @@ var ListAngular = (props) => {
|
|
|
5433
5326
|
);
|
|
5434
5327
|
});
|
|
5435
5328
|
}
|
|
5436
|
-
listGroup = /* @__PURE__ */
|
|
5329
|
+
listGroup = /* @__PURE__ */ jsx31(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5437
5330
|
} else if (child.type === ListItem) {
|
|
5438
|
-
listChildren.push(/* @__PURE__ */
|
|
5439
|
-
listContent = /* @__PURE__ */
|
|
5331
|
+
listChildren.push(/* @__PURE__ */ jsx31(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5332
|
+
listContent = /* @__PURE__ */ jsx31(ListContent, { virtualization, children: listChildren });
|
|
5440
5333
|
}
|
|
5441
5334
|
});
|
|
5442
5335
|
} else {
|
|
5443
|
-
listContent = /* @__PURE__ */
|
|
5336
|
+
listContent = /* @__PURE__ */ jsx31(NoData, { children: "No data found." });
|
|
5444
5337
|
}
|
|
5445
|
-
return /* @__PURE__ */
|
|
5338
|
+
return /* @__PURE__ */ jsxs9(
|
|
5446
5339
|
"div",
|
|
5447
5340
|
{
|
|
5448
5341
|
...other,
|
|
@@ -5463,15 +5356,15 @@ var ListAngular = (props) => {
|
|
|
5463
5356
|
}
|
|
5464
5357
|
);
|
|
5465
5358
|
};
|
|
5466
|
-
ListAngular.states =
|
|
5467
|
-
ListAngular.options =
|
|
5359
|
+
ListAngular.states = states20;
|
|
5360
|
+
ListAngular.options = options18;
|
|
5468
5361
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
5469
|
-
ListAngular.defaultProps =
|
|
5362
|
+
ListAngular.defaultProps = defaultProps16;
|
|
5470
5363
|
|
|
5471
5364
|
// src/checkbox/checkbox.spec.tsx
|
|
5472
|
-
import { jsx as
|
|
5365
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5473
5366
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5474
|
-
var
|
|
5367
|
+
var states21 = [
|
|
5475
5368
|
States.hover,
|
|
5476
5369
|
States.focus,
|
|
5477
5370
|
States.valid,
|
|
@@ -5481,11 +5374,11 @@ var states22 = [
|
|
|
5481
5374
|
States.checked,
|
|
5482
5375
|
States.indeterminate
|
|
5483
5376
|
];
|
|
5484
|
-
var
|
|
5377
|
+
var options19 = {
|
|
5485
5378
|
size: [Size.small, Size.medium, Size.large],
|
|
5486
5379
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
5487
5380
|
};
|
|
5488
|
-
var
|
|
5381
|
+
var defaultProps17 = {
|
|
5489
5382
|
size: Size.medium,
|
|
5490
5383
|
rounded: Roundness.medium
|
|
5491
5384
|
};
|
|
@@ -5500,11 +5393,11 @@ var Checkbox = (props) => {
|
|
|
5500
5393
|
invalid,
|
|
5501
5394
|
valid,
|
|
5502
5395
|
required,
|
|
5503
|
-
size =
|
|
5504
|
-
rounded =
|
|
5396
|
+
size = defaultProps17.size,
|
|
5397
|
+
rounded = defaultProps17.rounded,
|
|
5505
5398
|
...other
|
|
5506
5399
|
} = props;
|
|
5507
|
-
return /* @__PURE__ */
|
|
5400
|
+
return /* @__PURE__ */ jsx32("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx32(
|
|
5508
5401
|
"input",
|
|
5509
5402
|
{
|
|
5510
5403
|
...other,
|
|
@@ -5521,25 +5414,25 @@ var Checkbox = (props) => {
|
|
|
5521
5414
|
}
|
|
5522
5415
|
) });
|
|
5523
5416
|
};
|
|
5524
|
-
Checkbox.states =
|
|
5525
|
-
Checkbox.options =
|
|
5417
|
+
Checkbox.states = states21;
|
|
5418
|
+
Checkbox.options = options19;
|
|
5526
5419
|
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
5527
|
-
Checkbox.defaultProps =
|
|
5420
|
+
Checkbox.defaultProps = defaultProps17;
|
|
5528
5421
|
|
|
5529
5422
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5530
|
-
import { jsx as
|
|
5423
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5531
5424
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5532
|
-
var
|
|
5533
|
-
var
|
|
5534
|
-
var
|
|
5425
|
+
var states22 = [];
|
|
5426
|
+
var options20 = {};
|
|
5427
|
+
var defaultProps18 = {
|
|
5535
5428
|
layout: "vertical"
|
|
5536
5429
|
};
|
|
5537
5430
|
var CheckboxGroup = (props) => {
|
|
5538
5431
|
const {
|
|
5539
|
-
layout =
|
|
5432
|
+
layout = defaultProps18.layout,
|
|
5540
5433
|
...other
|
|
5541
5434
|
} = props;
|
|
5542
|
-
return /* @__PURE__ */
|
|
5435
|
+
return /* @__PURE__ */ jsx33(
|
|
5543
5436
|
"ul",
|
|
5544
5437
|
{
|
|
5545
5438
|
...other,
|
|
@@ -5554,22 +5447,22 @@ var CheckboxGroup = (props) => {
|
|
|
5554
5447
|
}
|
|
5555
5448
|
);
|
|
5556
5449
|
};
|
|
5557
|
-
CheckboxGroup.states =
|
|
5558
|
-
CheckboxGroup.options =
|
|
5450
|
+
CheckboxGroup.states = states22;
|
|
5451
|
+
CheckboxGroup.options = options20;
|
|
5559
5452
|
CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
5560
|
-
CheckboxGroup.defaultProps =
|
|
5453
|
+
CheckboxGroup.defaultProps = defaultProps18;
|
|
5561
5454
|
|
|
5562
5455
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5563
|
-
import { jsx as
|
|
5456
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5564
5457
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5565
|
-
var
|
|
5566
|
-
var
|
|
5567
|
-
var
|
|
5458
|
+
var states23 = [];
|
|
5459
|
+
var options21 = {};
|
|
5460
|
+
var defaultProps19 = {};
|
|
5568
5461
|
var CheckboxItem = (props) => {
|
|
5569
5462
|
const {
|
|
5570
5463
|
...other
|
|
5571
5464
|
} = props;
|
|
5572
|
-
return /* @__PURE__ */
|
|
5465
|
+
return /* @__PURE__ */ jsx34(
|
|
5573
5466
|
"li",
|
|
5574
5467
|
{
|
|
5575
5468
|
...other,
|
|
@@ -5581,31 +5474,31 @@ var CheckboxItem = (props) => {
|
|
|
5581
5474
|
}
|
|
5582
5475
|
);
|
|
5583
5476
|
};
|
|
5584
|
-
CheckboxItem.states =
|
|
5585
|
-
CheckboxItem.options =
|
|
5477
|
+
CheckboxItem.states = states23;
|
|
5478
|
+
CheckboxItem.options = options21;
|
|
5586
5479
|
CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
5587
|
-
CheckboxItem.defaultProps =
|
|
5480
|
+
CheckboxItem.defaultProps = defaultProps19;
|
|
5588
5481
|
|
|
5589
5482
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5590
|
-
import { Fragment as
|
|
5483
|
+
import { Fragment as Fragment15, jsx as jsx35, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5591
5484
|
|
|
5592
5485
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5593
|
-
import { Fragment as
|
|
5486
|
+
import { Fragment as Fragment16, jsx as jsx36, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5594
5487
|
|
|
5595
5488
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5596
|
-
import { jsx as
|
|
5489
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5597
5490
|
|
|
5598
5491
|
// src/list/list-item.spec.tsx
|
|
5599
|
-
import { jsx as
|
|
5492
|
+
import { jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5600
5493
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5601
|
-
var
|
|
5494
|
+
var states24 = [
|
|
5602
5495
|
States.hover,
|
|
5603
5496
|
States.focus,
|
|
5604
5497
|
States.selected,
|
|
5605
5498
|
States.disabled
|
|
5606
5499
|
];
|
|
5607
|
-
var
|
|
5608
|
-
var
|
|
5500
|
+
var options22 = {};
|
|
5501
|
+
var defaultProps20 = {};
|
|
5609
5502
|
var ListItem = (props) => {
|
|
5610
5503
|
const {
|
|
5611
5504
|
text,
|
|
@@ -5621,7 +5514,7 @@ var ListItem = (props) => {
|
|
|
5621
5514
|
...other
|
|
5622
5515
|
} = props;
|
|
5623
5516
|
const textOrChildren = text ? text : props.children;
|
|
5624
|
-
return /* @__PURE__ */
|
|
5517
|
+
return /* @__PURE__ */ jsxs12(
|
|
5625
5518
|
"li",
|
|
5626
5519
|
{
|
|
5627
5520
|
...other,
|
|
@@ -5636,66 +5529,66 @@ var ListItem = (props) => {
|
|
|
5636
5529
|
})
|
|
5637
5530
|
),
|
|
5638
5531
|
children: [
|
|
5639
|
-
showCheckbox && /* @__PURE__ */
|
|
5640
|
-
showIcon && /* @__PURE__ */
|
|
5641
|
-
/* @__PURE__ */
|
|
5642
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5532
|
+
showCheckbox && /* @__PURE__ */ jsx38(Checkbox, { checked }),
|
|
5533
|
+
showIcon && /* @__PURE__ */ jsx38(Icon, { icon: iconName }),
|
|
5534
|
+
/* @__PURE__ */ jsx38("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5535
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx38("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5643
5536
|
]
|
|
5644
5537
|
}
|
|
5645
5538
|
);
|
|
5646
5539
|
};
|
|
5647
|
-
ListItem.states =
|
|
5648
|
-
ListItem.options =
|
|
5540
|
+
ListItem.states = states24;
|
|
5541
|
+
ListItem.options = options22;
|
|
5649
5542
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
5650
|
-
ListItem.defaultProps =
|
|
5543
|
+
ListItem.defaultProps = defaultProps20;
|
|
5651
5544
|
|
|
5652
5545
|
// src/list/list-content.tsx
|
|
5653
|
-
import { jsx as
|
|
5546
|
+
import { jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5654
5547
|
var className10 = `k-list-content`;
|
|
5655
5548
|
var ListContent = (props) => {
|
|
5656
5549
|
const {
|
|
5657
5550
|
virtualization
|
|
5658
5551
|
} = props;
|
|
5659
|
-
return /* @__PURE__ */
|
|
5660
|
-
/* @__PURE__ */
|
|
5661
|
-
virtualization && /* @__PURE__ */
|
|
5552
|
+
return /* @__PURE__ */ jsxs13("div", { className: classNames(className10, props.className), children: [
|
|
5553
|
+
/* @__PURE__ */ jsx39("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5554
|
+
virtualization && /* @__PURE__ */ jsx39("div", { className: "k-height-container", children: /* @__PURE__ */ jsx39("div", {}) })
|
|
5662
5555
|
] });
|
|
5663
5556
|
};
|
|
5664
5557
|
|
|
5665
5558
|
// src/list/list-header.tsx
|
|
5666
|
-
import { jsx as
|
|
5559
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5667
5560
|
var className11 = `k-list-group-sticky-header`;
|
|
5668
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5561
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx40("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx40("div", { className: "k-list-header-text", children: props.children }) });
|
|
5669
5562
|
|
|
5670
5563
|
// src/list/list-group.tsx
|
|
5671
|
-
import { Fragment as
|
|
5564
|
+
import { Fragment as Fragment17, jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5672
5565
|
var ListGroup = (props) => {
|
|
5673
5566
|
const {
|
|
5674
5567
|
virtualization,
|
|
5675
5568
|
label
|
|
5676
5569
|
} = props;
|
|
5677
|
-
return /* @__PURE__ */
|
|
5678
|
-
label && /* @__PURE__ */
|
|
5679
|
-
props.children && /* @__PURE__ */
|
|
5570
|
+
return /* @__PURE__ */ jsxs14(Fragment17, { children: [
|
|
5571
|
+
label && /* @__PURE__ */ jsx41(ListHeader, { children: label }),
|
|
5572
|
+
props.children && /* @__PURE__ */ jsx41(ListContent, { virtualization, children: props.children })
|
|
5680
5573
|
] });
|
|
5681
5574
|
};
|
|
5682
5575
|
|
|
5683
5576
|
// src/list/list-group-item.tsx
|
|
5684
|
-
import { jsx as
|
|
5577
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5685
5578
|
var className12 = `k-list-group-item`;
|
|
5686
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5579
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx42("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: props.children }) });
|
|
5687
5580
|
|
|
5688
5581
|
// src/list/list-option-label.tsx
|
|
5689
|
-
import { jsx as
|
|
5582
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5690
5583
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5691
|
-
var
|
|
5584
|
+
var states25 = [
|
|
5692
5585
|
States.hover,
|
|
5693
5586
|
States.focus,
|
|
5694
5587
|
States.selected,
|
|
5695
5588
|
States.disabled
|
|
5696
5589
|
];
|
|
5697
|
-
var
|
|
5698
|
-
var
|
|
5590
|
+
var options23 = {};
|
|
5591
|
+
var defaultProps21 = {};
|
|
5699
5592
|
var ListOptionLabel = (props) => {
|
|
5700
5593
|
const {
|
|
5701
5594
|
text,
|
|
@@ -5705,7 +5598,7 @@ var ListOptionLabel = (props) => {
|
|
|
5705
5598
|
disabled,
|
|
5706
5599
|
...other
|
|
5707
5600
|
} = props;
|
|
5708
|
-
return /* @__PURE__ */
|
|
5601
|
+
return /* @__PURE__ */ jsx43(
|
|
5709
5602
|
"div",
|
|
5710
5603
|
{
|
|
5711
5604
|
...other,
|
|
@@ -5722,39 +5615,39 @@ var ListOptionLabel = (props) => {
|
|
|
5722
5615
|
}
|
|
5723
5616
|
);
|
|
5724
5617
|
};
|
|
5725
|
-
ListOptionLabel.states =
|
|
5726
|
-
ListOptionLabel.options =
|
|
5618
|
+
ListOptionLabel.states = states25;
|
|
5619
|
+
ListOptionLabel.options = options23;
|
|
5727
5620
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
5728
|
-
ListOptionLabel.defaultProps =
|
|
5621
|
+
ListOptionLabel.defaultProps = defaultProps21;
|
|
5729
5622
|
|
|
5730
5623
|
// src/list/templates/list-normal.tsx
|
|
5731
|
-
import { jsx as
|
|
5624
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5732
5625
|
|
|
5733
5626
|
// src/list/templates/list-virtualization.tsx
|
|
5734
|
-
import { jsx as
|
|
5627
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5735
5628
|
|
|
5736
5629
|
// src/list/templates/list-grouping.tsx
|
|
5737
|
-
import { jsx as
|
|
5630
|
+
import { jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5738
5631
|
|
|
5739
5632
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5740
|
-
import { jsx as
|
|
5633
|
+
import { jsx as jsx47, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5741
5634
|
|
|
5742
5635
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5743
|
-
import { jsx as
|
|
5636
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5744
5637
|
|
|
5745
5638
|
// src/list/templates/list-grouping-angular.tsx
|
|
5746
|
-
import { jsx as
|
|
5639
|
+
import { jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5747
5640
|
|
|
5748
5641
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5749
|
-
import { jsx as
|
|
5642
|
+
import { jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5750
5643
|
|
|
5751
5644
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5752
|
-
import { jsx as
|
|
5645
|
+
import { jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5753
5646
|
|
|
5754
5647
|
// src/searchbox/searchbox.spec.tsx
|
|
5755
|
-
import { jsx as
|
|
5648
|
+
import { jsx as jsx52, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5756
5649
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5757
|
-
var
|
|
5650
|
+
var states26 = [
|
|
5758
5651
|
States.hover,
|
|
5759
5652
|
States.focus,
|
|
5760
5653
|
States.valid,
|
|
@@ -5763,12 +5656,12 @@ var states27 = [
|
|
|
5763
5656
|
States.disabled,
|
|
5764
5657
|
States.loading
|
|
5765
5658
|
];
|
|
5766
|
-
var
|
|
5659
|
+
var options24 = {
|
|
5767
5660
|
size: [Size.small, Size.medium, Size.large],
|
|
5768
5661
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5769
5662
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5770
5663
|
};
|
|
5771
|
-
var
|
|
5664
|
+
var defaultProps22 = {
|
|
5772
5665
|
showIcon: true,
|
|
5773
5666
|
icon: "search",
|
|
5774
5667
|
size: Input.defaultProps.size,
|
|
@@ -5789,11 +5682,11 @@ var Searchbox = (props) => {
|
|
|
5789
5682
|
required,
|
|
5790
5683
|
loading,
|
|
5791
5684
|
disabled,
|
|
5792
|
-
showIcon =
|
|
5793
|
-
icon =
|
|
5685
|
+
showIcon = defaultProps22.showIcon,
|
|
5686
|
+
icon = defaultProps22.icon,
|
|
5794
5687
|
...other
|
|
5795
5688
|
} = props;
|
|
5796
|
-
return /* @__PURE__ */
|
|
5689
|
+
return /* @__PURE__ */ jsxs20(
|
|
5797
5690
|
Input,
|
|
5798
5691
|
{
|
|
5799
5692
|
...other,
|
|
@@ -5809,56 +5702,336 @@ var Searchbox = (props) => {
|
|
|
5809
5702
|
disabled,
|
|
5810
5703
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5811
5704
|
children: [
|
|
5812
|
-
showIcon && /* @__PURE__ */
|
|
5813
|
-
/* @__PURE__ */
|
|
5814
|
-
/* @__PURE__ */
|
|
5815
|
-
/* @__PURE__ */
|
|
5816
|
-
/* @__PURE__ */
|
|
5705
|
+
showIcon && /* @__PURE__ */ jsx52(Icon, { className: "k-input-icon", icon }),
|
|
5706
|
+
/* @__PURE__ */ jsx52(InputInnerInput, { placeholder, value }),
|
|
5707
|
+
/* @__PURE__ */ jsx52(InputLoadingIcon, { ...props }),
|
|
5708
|
+
/* @__PURE__ */ jsx52(InputValidationIcon, { ...props }),
|
|
5709
|
+
/* @__PURE__ */ jsx52(InputClearValue, { ...props })
|
|
5817
5710
|
]
|
|
5818
5711
|
}
|
|
5819
5712
|
);
|
|
5820
5713
|
};
|
|
5821
|
-
Searchbox.states =
|
|
5822
|
-
Searchbox.options =
|
|
5714
|
+
Searchbox.states = states26;
|
|
5715
|
+
Searchbox.options = options24;
|
|
5823
5716
|
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
5824
|
-
Searchbox.defaultProps =
|
|
5717
|
+
Searchbox.defaultProps = defaultProps22;
|
|
5825
5718
|
|
|
5826
5719
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5827
|
-
import { jsx as
|
|
5720
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5828
5721
|
|
|
5829
5722
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5830
|
-
import { Fragment as
|
|
5723
|
+
import { Fragment as Fragment18, jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5831
5724
|
|
|
5832
5725
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5833
|
-
import { jsx as
|
|
5726
|
+
import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5834
5727
|
|
|
5835
5728
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5836
|
-
import { Fragment as
|
|
5729
|
+
import { Fragment as Fragment19, jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5730
|
+
|
|
5731
|
+
// src/radio/radio.spec.tsx
|
|
5732
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5733
|
+
var RADIOBUTTON_CLASSNAME = `k-radio`;
|
|
5734
|
+
var states27 = [
|
|
5735
|
+
States.hover,
|
|
5736
|
+
States.focus,
|
|
5737
|
+
States.valid,
|
|
5738
|
+
States.invalid,
|
|
5739
|
+
States.required,
|
|
5740
|
+
States.disabled,
|
|
5741
|
+
States.checked
|
|
5742
|
+
];
|
|
5743
|
+
var options25 = {
|
|
5744
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5745
|
+
};
|
|
5746
|
+
var defaultProps23 = {
|
|
5747
|
+
size: Size.medium
|
|
5748
|
+
};
|
|
5749
|
+
var RadioButton = (props) => {
|
|
5750
|
+
const {
|
|
5751
|
+
id,
|
|
5752
|
+
checked,
|
|
5753
|
+
hover,
|
|
5754
|
+
focus,
|
|
5755
|
+
disabled,
|
|
5756
|
+
invalid,
|
|
5757
|
+
valid,
|
|
5758
|
+
required,
|
|
5759
|
+
size = defaultProps23.size,
|
|
5760
|
+
...other
|
|
5761
|
+
} = props;
|
|
5762
|
+
return /* @__PURE__ */ jsx57("span", { className: "k-radio-wrap", children: /* @__PURE__ */ jsx57(
|
|
5763
|
+
"input",
|
|
5764
|
+
{
|
|
5765
|
+
...other,
|
|
5766
|
+
id,
|
|
5767
|
+
type: "radio",
|
|
5768
|
+
checked,
|
|
5769
|
+
required,
|
|
5770
|
+
className: classNames(
|
|
5771
|
+
props.className,
|
|
5772
|
+
RADIOBUTTON_CLASSNAME,
|
|
5773
|
+
optionClassNames(RADIOBUTTON_CLASSNAME, { size }),
|
|
5774
|
+
stateClassNames(RADIOBUTTON_CLASSNAME, { hover, focus, disabled, invalid, valid, checked })
|
|
5775
|
+
)
|
|
5776
|
+
}
|
|
5777
|
+
) });
|
|
5778
|
+
};
|
|
5779
|
+
RadioButton.states = states27;
|
|
5780
|
+
RadioButton.options = options25;
|
|
5781
|
+
RadioButton.className = RADIOBUTTON_CLASSNAME;
|
|
5782
|
+
RadioButton.defaultProps = defaultProps23;
|
|
5783
|
+
|
|
5784
|
+
// src/radio/radio-group.spec.tsx
|
|
5785
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5786
|
+
var RADIOGROUP_CLASSNAME = `k-radio-list`;
|
|
5787
|
+
var states28 = [];
|
|
5788
|
+
var options26 = {};
|
|
5789
|
+
var defaultProps24 = {
|
|
5790
|
+
layout: "vertical"
|
|
5791
|
+
};
|
|
5792
|
+
var RadioGroup = (props) => {
|
|
5793
|
+
const {
|
|
5794
|
+
layout = defaultProps24.layout,
|
|
5795
|
+
...other
|
|
5796
|
+
} = props;
|
|
5797
|
+
return /* @__PURE__ */ jsx58(
|
|
5798
|
+
"ul",
|
|
5799
|
+
{
|
|
5800
|
+
...other,
|
|
5801
|
+
className: classNames(
|
|
5802
|
+
props.className,
|
|
5803
|
+
RADIOGROUP_CLASSNAME,
|
|
5804
|
+
{
|
|
5805
|
+
[`k-list-${layout}`]: layout
|
|
5806
|
+
}
|
|
5807
|
+
),
|
|
5808
|
+
children: props.children
|
|
5809
|
+
}
|
|
5810
|
+
);
|
|
5811
|
+
};
|
|
5812
|
+
RadioGroup.states = states28;
|
|
5813
|
+
RadioGroup.options = options26;
|
|
5814
|
+
RadioGroup.className = RADIOGROUP_CLASSNAME;
|
|
5815
|
+
RadioGroup.defaultProps = defaultProps24;
|
|
5816
|
+
|
|
5817
|
+
// src/radio/radio-item.spec.tsx
|
|
5818
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5819
|
+
var RADIOITEM_CLASSNAME = `k-radio-list-item`;
|
|
5820
|
+
var states29 = [];
|
|
5821
|
+
var options27 = {};
|
|
5822
|
+
var defaultProps25 = {};
|
|
5823
|
+
var RadioItem = (props) => {
|
|
5824
|
+
const {
|
|
5825
|
+
...other
|
|
5826
|
+
} = props;
|
|
5827
|
+
return /* @__PURE__ */ jsx59(
|
|
5828
|
+
"li",
|
|
5829
|
+
{
|
|
5830
|
+
...other,
|
|
5831
|
+
className: classNames(
|
|
5832
|
+
props.className,
|
|
5833
|
+
RADIOITEM_CLASSNAME
|
|
5834
|
+
),
|
|
5835
|
+
children: props.children
|
|
5836
|
+
}
|
|
5837
|
+
);
|
|
5838
|
+
};
|
|
5839
|
+
RadioItem.states = states29;
|
|
5840
|
+
RadioItem.options = options27;
|
|
5841
|
+
RadioItem.className = RADIOITEM_CLASSNAME;
|
|
5842
|
+
RadioItem.defaultProps = defaultProps25;
|
|
5843
|
+
|
|
5844
|
+
// src/radio/templates/radio-normal.tsx
|
|
5845
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5846
|
+
|
|
5847
|
+
// src/radio/templates/radio-with-label-after.tsx
|
|
5848
|
+
import { Fragment as Fragment20, jsx as jsx61, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5849
|
+
|
|
5850
|
+
// src/radio/templates/radio-with-label-before.tsx
|
|
5851
|
+
import { Fragment as Fragment21, jsx as jsx62, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5852
|
+
|
|
5853
|
+
// src/radio/templates/radio-inside-label.tsx
|
|
5854
|
+
import { Fragment as Fragment22, jsx as jsx63, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5855
|
+
|
|
5856
|
+
// src/textbox/textbox.spec.tsx
|
|
5857
|
+
import { jsx as jsx64, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5858
|
+
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5859
|
+
var states30 = [
|
|
5860
|
+
States.hover,
|
|
5861
|
+
States.focus,
|
|
5862
|
+
States.valid,
|
|
5863
|
+
States.invalid,
|
|
5864
|
+
States.required,
|
|
5865
|
+
States.disabled,
|
|
5866
|
+
States.loading,
|
|
5867
|
+
States.readonly
|
|
5868
|
+
];
|
|
5869
|
+
var options28 = {
|
|
5870
|
+
size: [Size.small, Size.medium, Size.large],
|
|
5871
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5872
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5873
|
+
};
|
|
5874
|
+
var defaultProps26 = {
|
|
5875
|
+
showClearButton: true,
|
|
5876
|
+
size: Input.defaultProps.size,
|
|
5877
|
+
rounded: Input.defaultProps.rounded,
|
|
5878
|
+
fillMode: Input.defaultProps.fillMode
|
|
5879
|
+
};
|
|
5880
|
+
var Textbox = (props) => {
|
|
5881
|
+
const {
|
|
5882
|
+
prefix,
|
|
5883
|
+
suffix,
|
|
5884
|
+
value,
|
|
5885
|
+
placeholder,
|
|
5886
|
+
size,
|
|
5887
|
+
rounded,
|
|
5888
|
+
fillMode,
|
|
5889
|
+
hover,
|
|
5890
|
+
focus,
|
|
5891
|
+
valid,
|
|
5892
|
+
invalid,
|
|
5893
|
+
required,
|
|
5894
|
+
loading,
|
|
5895
|
+
disabled,
|
|
5896
|
+
readonly,
|
|
5897
|
+
showClearButton = defaultProps26.showClearButton,
|
|
5898
|
+
...other
|
|
5899
|
+
} = props;
|
|
5900
|
+
return /* @__PURE__ */ jsxs27(
|
|
5901
|
+
Input,
|
|
5902
|
+
{
|
|
5903
|
+
...other,
|
|
5904
|
+
size,
|
|
5905
|
+
rounded,
|
|
5906
|
+
fillMode,
|
|
5907
|
+
hover,
|
|
5908
|
+
focus,
|
|
5909
|
+
valid,
|
|
5910
|
+
invalid,
|
|
5911
|
+
required,
|
|
5912
|
+
loading,
|
|
5913
|
+
disabled,
|
|
5914
|
+
readonly,
|
|
5915
|
+
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5916
|
+
children: [
|
|
5917
|
+
/* @__PURE__ */ jsx64(InputPrefix, { children: prefix }),
|
|
5918
|
+
/* @__PURE__ */ jsx64(InputInnerInput, { placeholder, value }),
|
|
5919
|
+
/* @__PURE__ */ jsx64(
|
|
5920
|
+
InputValidationIcon,
|
|
5921
|
+
{
|
|
5922
|
+
valid,
|
|
5923
|
+
invalid,
|
|
5924
|
+
loading,
|
|
5925
|
+
disabled
|
|
5926
|
+
}
|
|
5927
|
+
),
|
|
5928
|
+
/* @__PURE__ */ jsx64(
|
|
5929
|
+
InputLoadingIcon,
|
|
5930
|
+
{
|
|
5931
|
+
loading,
|
|
5932
|
+
disabled
|
|
5933
|
+
}
|
|
5934
|
+
),
|
|
5935
|
+
showClearButton && /* @__PURE__ */ jsx64(
|
|
5936
|
+
InputClearValue,
|
|
5937
|
+
{
|
|
5938
|
+
loading,
|
|
5939
|
+
disabled,
|
|
5940
|
+
readonly,
|
|
5941
|
+
value
|
|
5942
|
+
}
|
|
5943
|
+
),
|
|
5944
|
+
/* @__PURE__ */ jsx64(InputSuffix, { children: suffix })
|
|
5945
|
+
]
|
|
5946
|
+
}
|
|
5947
|
+
);
|
|
5948
|
+
};
|
|
5949
|
+
Textbox.states = states30;
|
|
5950
|
+
Textbox.options = options28;
|
|
5951
|
+
Textbox.className = TEXTBOX_CLASSNAME;
|
|
5952
|
+
Textbox.defaultProps = defaultProps26;
|
|
5953
|
+
|
|
5954
|
+
// src/textbox/templates/textbox-normal.tsx
|
|
5955
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
5956
|
+
|
|
5957
|
+
// src/textbox/templates/textbox-prefix.tsx
|
|
5958
|
+
import { Fragment as Fragment23, jsx as jsx66, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5959
|
+
|
|
5960
|
+
// src/textbox/templates/textbox-suffix.tsx
|
|
5961
|
+
import { Fragment as Fragment24, jsx as jsx67, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5962
|
+
|
|
5963
|
+
// src/form/templates/form-normal.tsx
|
|
5964
|
+
import { Fragment as Fragment25, jsx as jsx68, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5965
|
+
var FormNormal = ({ size, ...other }) => /* @__PURE__ */ jsx68(
|
|
5966
|
+
Form,
|
|
5967
|
+
{
|
|
5968
|
+
formButtons: /* @__PURE__ */ jsxs30(Fragment25, { children: [
|
|
5969
|
+
/* @__PURE__ */ jsx68(Button, { className: "k-form-submit", themeColor: "primary", size, children: "Submit" }),
|
|
5970
|
+
/* @__PURE__ */ jsx68(Button, { className: "k-form-clear", size, children: "Clear" })
|
|
5971
|
+
] }),
|
|
5972
|
+
children: /* @__PURE__ */ jsxs30(Fieldset, { legend: "Form Legend", children: [
|
|
5973
|
+
/* @__PURE__ */ jsx68(FormField, { label: "Label", placeholder: "Input Value", editor: /* @__PURE__ */ jsx68(Textbox, { size }) }),
|
|
5974
|
+
/* @__PURE__ */ jsx68(
|
|
5975
|
+
FormField,
|
|
5976
|
+
{
|
|
5977
|
+
label: "Label",
|
|
5978
|
+
hint: "Hint text",
|
|
5979
|
+
editor: /* @__PURE__ */ jsx68(DropdownList, { value: "Dropdown List", size })
|
|
5980
|
+
}
|
|
5981
|
+
),
|
|
5982
|
+
/* @__PURE__ */ jsx68(
|
|
5983
|
+
FormField,
|
|
5984
|
+
{
|
|
5985
|
+
label: "City",
|
|
5986
|
+
editor: /* @__PURE__ */ jsxs30("ul", { className: "k-radio-list k-list-horizontal", children: [
|
|
5987
|
+
/* @__PURE__ */ jsxs30("li", { className: "k-radio-list-item", children: [
|
|
5988
|
+
/* @__PURE__ */ jsx68(RadioButton, { checked: true, size }),
|
|
5989
|
+
/* @__PURE__ */ jsx68("label", { className: "k-radio-label", children: "Label" })
|
|
5990
|
+
] }),
|
|
5991
|
+
/* @__PURE__ */ jsxs30("li", { className: "k-radio-list-item", children: [
|
|
5992
|
+
/* @__PURE__ */ jsx68(RadioButton, { size }),
|
|
5993
|
+
/* @__PURE__ */ jsx68("label", { className: "k-radio-label", children: "Label" })
|
|
5994
|
+
] }),
|
|
5995
|
+
/* @__PURE__ */ jsxs30("li", { className: "k-radio-list-item", children: [
|
|
5996
|
+
/* @__PURE__ */ jsx68(RadioButton, { size }),
|
|
5997
|
+
/* @__PURE__ */ jsx68("label", { className: "k-radio-label", children: "Label" })
|
|
5998
|
+
] })
|
|
5999
|
+
] })
|
|
6000
|
+
}
|
|
6001
|
+
)
|
|
6002
|
+
] }),
|
|
6003
|
+
size,
|
|
6004
|
+
...other
|
|
6005
|
+
}
|
|
6006
|
+
);
|
|
6007
|
+
|
|
6008
|
+
// src/form/templates/form-horizontal.tsx
|
|
6009
|
+
import { Fragment as Fragment26, jsx as jsx69, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
5837
6010
|
|
|
5838
6011
|
// src/listbox/listbox.spec.tsx
|
|
5839
|
-
import { jsx as
|
|
6012
|
+
import { jsx as jsx70, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5840
6013
|
var LISTBOX_CLASSNAME = `k-listbox`;
|
|
5841
|
-
var
|
|
6014
|
+
var states31 = [
|
|
5842
6015
|
States.disabled
|
|
5843
6016
|
];
|
|
5844
|
-
var
|
|
6017
|
+
var options29 = {
|
|
5845
6018
|
size: [Size.small, Size.medium, Size.large]
|
|
5846
6019
|
};
|
|
5847
|
-
var
|
|
6020
|
+
var defaultProps27 = {
|
|
5848
6021
|
size: Size.medium,
|
|
5849
6022
|
actionsPosition: "left"
|
|
5850
6023
|
};
|
|
5851
6024
|
var ListBox = (props) => {
|
|
5852
6025
|
const {
|
|
5853
|
-
size =
|
|
6026
|
+
size = defaultProps27.size,
|
|
5854
6027
|
disabled,
|
|
5855
6028
|
children,
|
|
5856
|
-
actionsPosition =
|
|
6029
|
+
actionsPosition = defaultProps27.actionsPosition,
|
|
5857
6030
|
actions,
|
|
5858
6031
|
dir,
|
|
5859
6032
|
...other
|
|
5860
6033
|
} = props;
|
|
5861
|
-
return /* @__PURE__ */
|
|
6034
|
+
return /* @__PURE__ */ jsxs32(
|
|
5862
6035
|
"div",
|
|
5863
6036
|
{
|
|
5864
6037
|
...other,
|
|
@@ -5877,7 +6050,7 @@ var ListBox = (props) => {
|
|
|
5877
6050
|
}
|
|
5878
6051
|
),
|
|
5879
6052
|
children: [
|
|
5880
|
-
actions && /* @__PURE__ */
|
|
6053
|
+
actions && /* @__PURE__ */ jsx70("div", { className: "k-listbox-actions", children: actions.map((action) => {
|
|
5881
6054
|
const actionsIconMap = {
|
|
5882
6055
|
"left": dir !== "rtl" ? "caret-alt-left" : "caret-alt-right",
|
|
5883
6056
|
"right": dir !== "rtl" ? "caret-alt-right" : "caret-alt-left",
|
|
@@ -5887,43 +6060,43 @@ var ListBox = (props) => {
|
|
|
5887
6060
|
"down": "caret-alt-down",
|
|
5888
6061
|
"x": "x"
|
|
5889
6062
|
};
|
|
5890
|
-
return /* @__PURE__ */
|
|
6063
|
+
return /* @__PURE__ */ jsx70(Button, { icon: actionsIconMap[action], size });
|
|
5891
6064
|
}) }),
|
|
5892
|
-
/* @__PURE__ */
|
|
6065
|
+
/* @__PURE__ */ jsx70("div", { className: classNames(
|
|
5893
6066
|
"k-list-scroller",
|
|
5894
6067
|
"k-selectable"
|
|
5895
|
-
), children: /* @__PURE__ */
|
|
6068
|
+
), children: /* @__PURE__ */ jsx70(list_spec_default, { size, children }) })
|
|
5896
6069
|
]
|
|
5897
6070
|
}
|
|
5898
6071
|
);
|
|
5899
6072
|
};
|
|
5900
|
-
ListBox.states =
|
|
5901
|
-
ListBox.options =
|
|
6073
|
+
ListBox.states = states31;
|
|
6074
|
+
ListBox.options = options29;
|
|
5902
6075
|
ListBox.className = LISTBOX_CLASSNAME;
|
|
5903
|
-
ListBox.defaultProps =
|
|
6076
|
+
ListBox.defaultProps = defaultProps27;
|
|
5904
6077
|
|
|
5905
6078
|
// src/listbox/templates/listbox-normal.tsx
|
|
5906
|
-
import { jsx as
|
|
6079
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
5907
6080
|
|
|
5908
6081
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5909
|
-
import { jsx as
|
|
6082
|
+
import { jsx as jsx72, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
5910
6083
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5911
|
-
var
|
|
5912
|
-
var
|
|
6084
|
+
var states32 = [];
|
|
6085
|
+
var options30 = {
|
|
5913
6086
|
size: [Size.small, Size.medium, Size.large],
|
|
5914
6087
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
5915
6088
|
};
|
|
5916
|
-
var
|
|
6089
|
+
var defaultProps28 = {
|
|
5917
6090
|
size: Size.medium,
|
|
5918
6091
|
fillMode: FillMode.solid
|
|
5919
6092
|
};
|
|
5920
6093
|
var SpinButton = (props) => {
|
|
5921
6094
|
const {
|
|
5922
|
-
size =
|
|
5923
|
-
fillMode =
|
|
6095
|
+
size = defaultProps28.size,
|
|
6096
|
+
fillMode = defaultProps28.fillMode,
|
|
5924
6097
|
...other
|
|
5925
6098
|
} = props;
|
|
5926
|
-
return /* @__PURE__ */
|
|
6099
|
+
return /* @__PURE__ */ jsxs33(
|
|
5927
6100
|
"span",
|
|
5928
6101
|
{
|
|
5929
6102
|
...other,
|
|
@@ -5932,7 +6105,7 @@ var SpinButton = (props) => {
|
|
|
5932
6105
|
props.className
|
|
5933
6106
|
),
|
|
5934
6107
|
children: [
|
|
5935
|
-
/* @__PURE__ */
|
|
6108
|
+
/* @__PURE__ */ jsx72(
|
|
5936
6109
|
Button,
|
|
5937
6110
|
{
|
|
5938
6111
|
className: "k-spinner-increase",
|
|
@@ -5942,7 +6115,7 @@ var SpinButton = (props) => {
|
|
|
5942
6115
|
fillMode
|
|
5943
6116
|
}
|
|
5944
6117
|
),
|
|
5945
|
-
/* @__PURE__ */
|
|
6118
|
+
/* @__PURE__ */ jsx72(
|
|
5946
6119
|
Button,
|
|
5947
6120
|
{
|
|
5948
6121
|
className: "k-spinner-decrease",
|
|
@@ -5956,15 +6129,15 @@ var SpinButton = (props) => {
|
|
|
5956
6129
|
}
|
|
5957
6130
|
);
|
|
5958
6131
|
};
|
|
5959
|
-
SpinButton.states =
|
|
5960
|
-
SpinButton.options =
|
|
6132
|
+
SpinButton.states = states32;
|
|
6133
|
+
SpinButton.options = options30;
|
|
5961
6134
|
SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
5962
|
-
SpinButton.defaultProps =
|
|
6135
|
+
SpinButton.defaultProps = defaultProps28;
|
|
5963
6136
|
|
|
5964
6137
|
// src/dateinput/dateinput.spec.tsx
|
|
5965
|
-
import { jsx as
|
|
6138
|
+
import { jsx as jsx73, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
5966
6139
|
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
5967
|
-
var
|
|
6140
|
+
var states33 = [
|
|
5968
6141
|
States.hover,
|
|
5969
6142
|
States.focus,
|
|
5970
6143
|
States.valid,
|
|
@@ -5974,12 +6147,12 @@ var states30 = [
|
|
|
5974
6147
|
States.loading,
|
|
5975
6148
|
States.readonly
|
|
5976
6149
|
];
|
|
5977
|
-
var
|
|
6150
|
+
var options31 = {
|
|
5978
6151
|
size: [Size.small, Size.medium, Size.large],
|
|
5979
6152
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5980
6153
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5981
6154
|
};
|
|
5982
|
-
var
|
|
6155
|
+
var defaultProps29 = {
|
|
5983
6156
|
size: Input.defaultProps.size,
|
|
5984
6157
|
rounded: Input.defaultProps.rounded,
|
|
5985
6158
|
fillMode: Input.defaultProps.fillMode
|
|
@@ -6002,7 +6175,7 @@ var DateInput = (props) => {
|
|
|
6002
6175
|
showSpinButton,
|
|
6003
6176
|
...other
|
|
6004
6177
|
} = props;
|
|
6005
|
-
return /* @__PURE__ */
|
|
6178
|
+
return /* @__PURE__ */ jsxs34(
|
|
6006
6179
|
Input,
|
|
6007
6180
|
{
|
|
6008
6181
|
...other,
|
|
@@ -6019,8 +6192,8 @@ var DateInput = (props) => {
|
|
|
6019
6192
|
readonly,
|
|
6020
6193
|
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
6021
6194
|
children: [
|
|
6022
|
-
/* @__PURE__ */
|
|
6023
|
-
/* @__PURE__ */
|
|
6195
|
+
/* @__PURE__ */ jsx73(InputInnerInput, { placeholder, value }),
|
|
6196
|
+
/* @__PURE__ */ jsx73(
|
|
6024
6197
|
InputValidationIcon,
|
|
6025
6198
|
{
|
|
6026
6199
|
valid,
|
|
@@ -6029,14 +6202,14 @@ var DateInput = (props) => {
|
|
|
6029
6202
|
disabled
|
|
6030
6203
|
}
|
|
6031
6204
|
),
|
|
6032
|
-
/* @__PURE__ */
|
|
6205
|
+
/* @__PURE__ */ jsx73(
|
|
6033
6206
|
InputLoadingIcon,
|
|
6034
6207
|
{
|
|
6035
6208
|
loading,
|
|
6036
6209
|
disabled
|
|
6037
6210
|
}
|
|
6038
6211
|
),
|
|
6039
|
-
showSpinButton && /* @__PURE__ */
|
|
6212
|
+
showSpinButton && /* @__PURE__ */ jsx73(
|
|
6040
6213
|
SpinButton,
|
|
6041
6214
|
{
|
|
6042
6215
|
className: "k-input-spinner",
|
|
@@ -6048,26 +6221,26 @@ var DateInput = (props) => {
|
|
|
6048
6221
|
}
|
|
6049
6222
|
);
|
|
6050
6223
|
};
|
|
6051
|
-
DateInput.states =
|
|
6052
|
-
DateInput.options =
|
|
6224
|
+
DateInput.states = states33;
|
|
6225
|
+
DateInput.options = options31;
|
|
6053
6226
|
DateInput.className = DATEINPUT_CLASSNAME;
|
|
6054
|
-
DateInput.defaultProps =
|
|
6227
|
+
DateInput.defaultProps = defaultProps29;
|
|
6055
6228
|
|
|
6056
6229
|
// src/dateinput/templates/dateinput-normal.tsx
|
|
6057
|
-
import { jsx as
|
|
6230
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6058
6231
|
|
|
6059
6232
|
// src/color-preview/color-preview.tsx
|
|
6060
|
-
import { jsx as
|
|
6233
|
+
import { jsx as jsx75, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6061
6234
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
6062
|
-
var
|
|
6063
|
-
var
|
|
6235
|
+
var states34 = [];
|
|
6236
|
+
var options32 = {};
|
|
6064
6237
|
var ColorPreview = (props) => {
|
|
6065
6238
|
const {
|
|
6066
6239
|
color,
|
|
6067
6240
|
iconName,
|
|
6068
6241
|
...other
|
|
6069
6242
|
} = props;
|
|
6070
|
-
return /* @__PURE__ */
|
|
6243
|
+
return /* @__PURE__ */ jsxs35(
|
|
6071
6244
|
"span",
|
|
6072
6245
|
{
|
|
6073
6246
|
...other,
|
|
@@ -6080,8 +6253,8 @@ var ColorPreview = (props) => {
|
|
|
6080
6253
|
}
|
|
6081
6254
|
),
|
|
6082
6255
|
children: [
|
|
6083
|
-
iconName && /* @__PURE__ */
|
|
6084
|
-
/* @__PURE__ */
|
|
6256
|
+
iconName && /* @__PURE__ */ jsx75(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
6257
|
+
/* @__PURE__ */ jsx75(
|
|
6085
6258
|
"span",
|
|
6086
6259
|
{
|
|
6087
6260
|
className: "k-color-preview-mask",
|
|
@@ -6092,14 +6265,14 @@ var ColorPreview = (props) => {
|
|
|
6092
6265
|
}
|
|
6093
6266
|
);
|
|
6094
6267
|
};
|
|
6095
|
-
ColorPreview.states =
|
|
6096
|
-
ColorPreview.options =
|
|
6268
|
+
ColorPreview.states = states34;
|
|
6269
|
+
ColorPreview.options = options32;
|
|
6097
6270
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
6098
6271
|
|
|
6099
6272
|
// src/colorpicker/colorpicker.spec.tsx
|
|
6100
|
-
import { Fragment as
|
|
6273
|
+
import { Fragment as Fragment27, jsx as jsx76, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6101
6274
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
6102
|
-
var
|
|
6275
|
+
var states35 = [
|
|
6103
6276
|
States.hover,
|
|
6104
6277
|
States.focus,
|
|
6105
6278
|
States.valid,
|
|
@@ -6107,12 +6280,12 @@ var states32 = [
|
|
|
6107
6280
|
States.required,
|
|
6108
6281
|
States.disabled
|
|
6109
6282
|
];
|
|
6110
|
-
var
|
|
6283
|
+
var options33 = {
|
|
6111
6284
|
size: [Size.small, Size.medium, Size.large],
|
|
6112
6285
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6113
6286
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6114
6287
|
};
|
|
6115
|
-
var
|
|
6288
|
+
var defaultProps30 = {
|
|
6116
6289
|
arrowIconName: "caret-alt-down",
|
|
6117
6290
|
size: Picker.defaultProps.size,
|
|
6118
6291
|
rounded: Picker.defaultProps.rounded,
|
|
@@ -6134,13 +6307,13 @@ var ColorPicker = (props) => {
|
|
|
6134
6307
|
required,
|
|
6135
6308
|
disabled,
|
|
6136
6309
|
valueIconName,
|
|
6137
|
-
arrowIconName =
|
|
6310
|
+
arrowIconName = defaultProps30.arrowIconName,
|
|
6138
6311
|
popup,
|
|
6139
6312
|
opened,
|
|
6140
6313
|
...other
|
|
6141
6314
|
} = props;
|
|
6142
|
-
return /* @__PURE__ */
|
|
6143
|
-
/* @__PURE__ */
|
|
6315
|
+
return /* @__PURE__ */ jsxs36(Fragment27, { children: [
|
|
6316
|
+
/* @__PURE__ */ jsxs36(
|
|
6144
6317
|
Picker,
|
|
6145
6318
|
{
|
|
6146
6319
|
...other,
|
|
@@ -6159,14 +6332,14 @@ var ColorPicker = (props) => {
|
|
|
6159
6332
|
"k-icon-picker"
|
|
6160
6333
|
),
|
|
6161
6334
|
children: [
|
|
6162
|
-
/* @__PURE__ */
|
|
6163
|
-
/* @__PURE__ */
|
|
6335
|
+
/* @__PURE__ */ jsx76(InputPrefix, { children: prefix }),
|
|
6336
|
+
/* @__PURE__ */ jsx76(
|
|
6164
6337
|
InputInnerSpan,
|
|
6165
6338
|
{
|
|
6166
6339
|
placeholder,
|
|
6167
6340
|
value,
|
|
6168
6341
|
showValue: false,
|
|
6169
|
-
valueIcon: /* @__PURE__ */
|
|
6342
|
+
valueIcon: /* @__PURE__ */ jsx76(
|
|
6170
6343
|
ColorPreview,
|
|
6171
6344
|
{
|
|
6172
6345
|
className: "k-value-icon",
|
|
@@ -6177,8 +6350,8 @@ var ColorPicker = (props) => {
|
|
|
6177
6350
|
valueIconName
|
|
6178
6351
|
}
|
|
6179
6352
|
),
|
|
6180
|
-
/* @__PURE__ */
|
|
6181
|
-
/* @__PURE__ */
|
|
6353
|
+
/* @__PURE__ */ jsx76(InputSuffix, { children: suffix }),
|
|
6354
|
+
/* @__PURE__ */ jsx76(
|
|
6182
6355
|
Button,
|
|
6183
6356
|
{
|
|
6184
6357
|
className: "k-input-button",
|
|
@@ -6191,37 +6364,37 @@ var ColorPicker = (props) => {
|
|
|
6191
6364
|
]
|
|
6192
6365
|
}
|
|
6193
6366
|
),
|
|
6194
|
-
opened && popup && /* @__PURE__ */
|
|
6367
|
+
opened && popup && /* @__PURE__ */ jsx76(Popup, { className: "k-color-picker-popup", children: popup })
|
|
6195
6368
|
] });
|
|
6196
6369
|
};
|
|
6197
|
-
ColorPicker.states =
|
|
6198
|
-
ColorPicker.options =
|
|
6370
|
+
ColorPicker.states = states35;
|
|
6371
|
+
ColorPicker.options = options33;
|
|
6199
6372
|
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
6200
|
-
ColorPicker.defaultProps =
|
|
6373
|
+
ColorPicker.defaultProps = defaultProps30;
|
|
6201
6374
|
|
|
6202
6375
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
6203
|
-
import { jsx as
|
|
6376
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6204
6377
|
|
|
6205
6378
|
// src/button-group/button-group.spec.tsx
|
|
6206
|
-
import { jsx as
|
|
6379
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6207
6380
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
6208
|
-
var
|
|
6381
|
+
var states36 = [
|
|
6209
6382
|
States.disabled
|
|
6210
6383
|
];
|
|
6211
|
-
var
|
|
6384
|
+
var options34 = {
|
|
6212
6385
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
6213
6386
|
};
|
|
6214
|
-
var
|
|
6387
|
+
var defaultProps31 = {
|
|
6215
6388
|
fillMode: FillMode.solid
|
|
6216
6389
|
};
|
|
6217
6390
|
var ButtonGroup = (props) => {
|
|
6218
6391
|
const {
|
|
6219
|
-
fillMode =
|
|
6392
|
+
fillMode = defaultProps31.fillMode,
|
|
6220
6393
|
disabled,
|
|
6221
6394
|
stretched,
|
|
6222
6395
|
...other
|
|
6223
6396
|
} = props;
|
|
6224
|
-
return /* @__PURE__ */
|
|
6397
|
+
return /* @__PURE__ */ jsx78(
|
|
6225
6398
|
"div",
|
|
6226
6399
|
{
|
|
6227
6400
|
...other,
|
|
@@ -6242,35 +6415,35 @@ var ButtonGroup = (props) => {
|
|
|
6242
6415
|
}
|
|
6243
6416
|
);
|
|
6244
6417
|
};
|
|
6245
|
-
ButtonGroup.states =
|
|
6246
|
-
ButtonGroup.options =
|
|
6418
|
+
ButtonGroup.states = states36;
|
|
6419
|
+
ButtonGroup.options = options34;
|
|
6247
6420
|
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
6248
|
-
ButtonGroup.defaultProps =
|
|
6421
|
+
ButtonGroup.defaultProps = defaultProps31;
|
|
6249
6422
|
|
|
6250
6423
|
// src/button-group/templates/icon-button-group.tsx
|
|
6251
|
-
import { jsx as
|
|
6424
|
+
import { jsx as jsx79, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6252
6425
|
|
|
6253
6426
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
6254
|
-
import { jsx as
|
|
6427
|
+
import { jsx as jsx80, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6255
6428
|
|
|
6256
6429
|
// src/button-group/templates/text-button-group.tsx
|
|
6257
|
-
import { jsx as
|
|
6430
|
+
import { jsx as jsx81, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6258
6431
|
|
|
6259
6432
|
// src/button-group/templates/mixed-button-group.tsx
|
|
6260
|
-
import { jsx as
|
|
6433
|
+
import { jsx as jsx82, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6261
6434
|
|
|
6262
6435
|
// src/slider/slider.spec.tsx
|
|
6263
|
-
import { jsx as
|
|
6436
|
+
import { jsx as jsx83, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6264
6437
|
var SLIDER_CLASSNAME = "k-slider";
|
|
6265
|
-
var
|
|
6438
|
+
var states37 = [
|
|
6266
6439
|
States.hover,
|
|
6267
6440
|
States.focus,
|
|
6268
6441
|
States.active,
|
|
6269
6442
|
States.disabled,
|
|
6270
6443
|
States.readonly
|
|
6271
6444
|
];
|
|
6272
|
-
var
|
|
6273
|
-
var
|
|
6445
|
+
var options35 = {};
|
|
6446
|
+
var defaultProps32 = {
|
|
6274
6447
|
type: "single",
|
|
6275
6448
|
orientation: "horizontal",
|
|
6276
6449
|
readonly: false,
|
|
@@ -6279,11 +6452,11 @@ var defaultProps29 = {
|
|
|
6279
6452
|
};
|
|
6280
6453
|
var Slider = (props) => {
|
|
6281
6454
|
const {
|
|
6282
|
-
type =
|
|
6283
|
-
orientation =
|
|
6284
|
-
readonly =
|
|
6285
|
-
disabled =
|
|
6286
|
-
handlePosition =
|
|
6455
|
+
type = defaultProps32.type,
|
|
6456
|
+
orientation = defaultProps32.orientation,
|
|
6457
|
+
readonly = defaultProps32.readonly,
|
|
6458
|
+
disabled = defaultProps32.disabled,
|
|
6459
|
+
handlePosition = defaultProps32.handlePosition,
|
|
6287
6460
|
hover,
|
|
6288
6461
|
focus,
|
|
6289
6462
|
active,
|
|
@@ -6299,7 +6472,7 @@ var Slider = (props) => {
|
|
|
6299
6472
|
iconIncrease = "caret-alt-up";
|
|
6300
6473
|
iconDecrease = "caret-alt-down";
|
|
6301
6474
|
}
|
|
6302
|
-
return /* @__PURE__ */
|
|
6475
|
+
return /* @__PURE__ */ jsxs41("div", { className: classNames(
|
|
6303
6476
|
SLIDER_CLASSNAME,
|
|
6304
6477
|
props.className,
|
|
6305
6478
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6312,12 +6485,12 @@ var Slider = (props) => {
|
|
|
6312
6485
|
"k-range-slider": type === "range"
|
|
6313
6486
|
}
|
|
6314
6487
|
), dir, children: [
|
|
6315
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6316
|
-
/* @__PURE__ */
|
|
6317
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6318
|
-
/* @__PURE__ */
|
|
6319
|
-
/* @__PURE__ */
|
|
6320
|
-
type === "range" && /* @__PURE__ */
|
|
6488
|
+
type !== "gradient" && /* @__PURE__ */ jsx83(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
6489
|
+
/* @__PURE__ */ jsxs41("div", { className: "k-slider-track-wrap", children: [
|
|
6490
|
+
type !== "gradient" && /* @__PURE__ */ jsx83("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
6491
|
+
/* @__PURE__ */ jsxs41("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
6492
|
+
/* @__PURE__ */ jsx83("div", { className: "k-slider-selection" }),
|
|
6493
|
+
type === "range" && /* @__PURE__ */ jsx83("span", { className: classNames(
|
|
6321
6494
|
"k-draghandle",
|
|
6322
6495
|
"k-draghandle-start",
|
|
6323
6496
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6326,7 +6499,7 @@ var Slider = (props) => {
|
|
|
6326
6499
|
active
|
|
6327
6500
|
})
|
|
6328
6501
|
) }),
|
|
6329
|
-
/* @__PURE__ */
|
|
6502
|
+
/* @__PURE__ */ jsx83("span", { className: classNames(
|
|
6330
6503
|
"k-draghandle",
|
|
6331
6504
|
`k-draghandle-${handlePosition}`,
|
|
6332
6505
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6337,48 +6510,48 @@ var Slider = (props) => {
|
|
|
6337
6510
|
) })
|
|
6338
6511
|
] })
|
|
6339
6512
|
] }),
|
|
6340
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6513
|
+
type !== "gradient" && /* @__PURE__ */ jsx83(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6341
6514
|
] });
|
|
6342
6515
|
};
|
|
6343
|
-
Slider.states =
|
|
6344
|
-
Slider.options =
|
|
6516
|
+
Slider.states = states37;
|
|
6517
|
+
Slider.options = options35;
|
|
6345
6518
|
Slider.className = SLIDER_CLASSNAME;
|
|
6346
|
-
Slider.defaultProps =
|
|
6519
|
+
Slider.defaultProps = defaultProps32;
|
|
6347
6520
|
|
|
6348
6521
|
// src/slider/slider-tick.tsx
|
|
6349
|
-
import { jsx as
|
|
6522
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
6350
6523
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6351
|
-
var
|
|
6352
|
-
var
|
|
6353
|
-
var
|
|
6524
|
+
var states38 = [];
|
|
6525
|
+
var options36 = {};
|
|
6526
|
+
var defaultProps33 = {
|
|
6354
6527
|
label: false
|
|
6355
6528
|
};
|
|
6356
6529
|
var SliderTick = (props) => {
|
|
6357
6530
|
const {
|
|
6358
6531
|
style: style2,
|
|
6359
|
-
label =
|
|
6532
|
+
label = defaultProps33.label,
|
|
6360
6533
|
orientation,
|
|
6361
6534
|
large,
|
|
6362
6535
|
text
|
|
6363
6536
|
} = props;
|
|
6364
|
-
return /* @__PURE__ */
|
|
6537
|
+
return /* @__PURE__ */ jsx84("li", { className: classNames(
|
|
6365
6538
|
props.className,
|
|
6366
6539
|
SLIDER_TICK_CLASSNAME,
|
|
6367
6540
|
{
|
|
6368
6541
|
[`k-tick-${orientation}`]: orientation,
|
|
6369
6542
|
"k-tick-large": large
|
|
6370
6543
|
}
|
|
6371
|
-
), style: style2, children: label && /* @__PURE__ */
|
|
6544
|
+
), style: style2, children: label && /* @__PURE__ */ jsx84("span", { className: "k-label", children: text }) });
|
|
6372
6545
|
};
|
|
6373
|
-
SliderTick.states =
|
|
6374
|
-
SliderTick.options =
|
|
6546
|
+
SliderTick.states = states38;
|
|
6547
|
+
SliderTick.options = options36;
|
|
6375
6548
|
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
6376
|
-
SliderTick.defaultProps =
|
|
6549
|
+
SliderTick.defaultProps = defaultProps33;
|
|
6377
6550
|
|
|
6378
6551
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6379
|
-
import { jsx as
|
|
6552
|
+
import { jsx as jsx85, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6380
6553
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6381
|
-
var
|
|
6554
|
+
var states39 = [
|
|
6382
6555
|
States.hover,
|
|
6383
6556
|
States.focus,
|
|
6384
6557
|
States.valid,
|
|
@@ -6388,12 +6561,12 @@ var states36 = [
|
|
|
6388
6561
|
States.disabled,
|
|
6389
6562
|
States.readonly
|
|
6390
6563
|
];
|
|
6391
|
-
var
|
|
6564
|
+
var options37 = {
|
|
6392
6565
|
size: [Size.small, Size.medium, Size.large],
|
|
6393
6566
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6394
6567
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6395
6568
|
};
|
|
6396
|
-
var
|
|
6569
|
+
var defaultProps34 = {
|
|
6397
6570
|
showSpinButton: true,
|
|
6398
6571
|
showClearButton: true,
|
|
6399
6572
|
size: Input.defaultProps.size,
|
|
@@ -6415,11 +6588,11 @@ var NumericTextbox = (props) => {
|
|
|
6415
6588
|
loading,
|
|
6416
6589
|
disabled,
|
|
6417
6590
|
readonly,
|
|
6418
|
-
showClearButton =
|
|
6419
|
-
showSpinButton =
|
|
6591
|
+
showClearButton = defaultProps34.showClearButton,
|
|
6592
|
+
showSpinButton = defaultProps34.showSpinButton,
|
|
6420
6593
|
...other
|
|
6421
6594
|
} = props;
|
|
6422
|
-
return /* @__PURE__ */
|
|
6595
|
+
return /* @__PURE__ */ jsxs42(
|
|
6423
6596
|
Input,
|
|
6424
6597
|
{
|
|
6425
6598
|
...other,
|
|
@@ -6436,8 +6609,8 @@ var NumericTextbox = (props) => {
|
|
|
6436
6609
|
readonly,
|
|
6437
6610
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6438
6611
|
children: [
|
|
6439
|
-
/* @__PURE__ */
|
|
6440
|
-
/* @__PURE__ */
|
|
6612
|
+
/* @__PURE__ */ jsx85(InputInnerInput, { placeholder, value }),
|
|
6613
|
+
/* @__PURE__ */ jsx85(
|
|
6441
6614
|
InputValidationIcon,
|
|
6442
6615
|
{
|
|
6443
6616
|
valid,
|
|
@@ -6446,14 +6619,14 @@ var NumericTextbox = (props) => {
|
|
|
6446
6619
|
disabled
|
|
6447
6620
|
}
|
|
6448
6621
|
),
|
|
6449
|
-
/* @__PURE__ */
|
|
6622
|
+
/* @__PURE__ */ jsx85(
|
|
6450
6623
|
InputLoadingIcon,
|
|
6451
6624
|
{
|
|
6452
6625
|
loading,
|
|
6453
6626
|
disabled
|
|
6454
6627
|
}
|
|
6455
6628
|
),
|
|
6456
|
-
showClearButton && /* @__PURE__ */
|
|
6629
|
+
showClearButton && /* @__PURE__ */ jsx85(
|
|
6457
6630
|
InputClearValue,
|
|
6458
6631
|
{
|
|
6459
6632
|
loading,
|
|
@@ -6462,7 +6635,7 @@ var NumericTextbox = (props) => {
|
|
|
6462
6635
|
value
|
|
6463
6636
|
}
|
|
6464
6637
|
),
|
|
6465
|
-
showSpinButton && /* @__PURE__ */
|
|
6638
|
+
showSpinButton && /* @__PURE__ */ jsx85(
|
|
6466
6639
|
SpinButton,
|
|
6467
6640
|
{
|
|
6468
6641
|
className: "k-input-spinner",
|
|
@@ -6474,148 +6647,148 @@ var NumericTextbox = (props) => {
|
|
|
6474
6647
|
}
|
|
6475
6648
|
);
|
|
6476
6649
|
};
|
|
6477
|
-
NumericTextbox.states =
|
|
6478
|
-
NumericTextbox.options =
|
|
6650
|
+
NumericTextbox.states = states39;
|
|
6651
|
+
NumericTextbox.options = options37;
|
|
6479
6652
|
NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
6480
|
-
NumericTextbox.defaultProps =
|
|
6653
|
+
NumericTextbox.defaultProps = defaultProps34;
|
|
6481
6654
|
|
|
6482
6655
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6483
|
-
import { jsx as
|
|
6656
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6484
6657
|
|
|
6485
6658
|
// src/colorgradient/color-input.tsx
|
|
6486
|
-
import { Fragment as
|
|
6659
|
+
import { Fragment as Fragment28, jsx as jsx87, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6487
6660
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6488
|
-
var
|
|
6489
|
-
var
|
|
6490
|
-
var
|
|
6661
|
+
var states40 = [];
|
|
6662
|
+
var options38 = {};
|
|
6663
|
+
var defaultProps35 = {
|
|
6491
6664
|
mode: "rgba"
|
|
6492
6665
|
};
|
|
6493
6666
|
var ColorInput = (props) => {
|
|
6494
6667
|
const {
|
|
6495
|
-
mode =
|
|
6668
|
+
mode = defaultProps35.mode
|
|
6496
6669
|
} = props;
|
|
6497
|
-
return /* @__PURE__ */
|
|
6498
|
-
/* @__PURE__ */
|
|
6499
|
-
mode === "rgba" && /* @__PURE__ */
|
|
6500
|
-
/* @__PURE__ */
|
|
6501
|
-
/* @__PURE__ */
|
|
6502
|
-
/* @__PURE__ */
|
|
6670
|
+
return /* @__PURE__ */ jsxs43("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6671
|
+
/* @__PURE__ */ jsx87("div", { className: "k-vstack", children: /* @__PURE__ */ jsx87(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6672
|
+
mode === "rgba" && /* @__PURE__ */ jsxs43(Fragment28, { children: [
|
|
6673
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6674
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6675
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6503
6676
|
] }),
|
|
6504
|
-
/* @__PURE__ */
|
|
6505
|
-
/* @__PURE__ */
|
|
6506
|
-
/* @__PURE__ */
|
|
6677
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6678
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6679
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6507
6680
|
] }),
|
|
6508
|
-
/* @__PURE__ */
|
|
6509
|
-
/* @__PURE__ */
|
|
6510
|
-
/* @__PURE__ */
|
|
6681
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6682
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6683
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6511
6684
|
] }),
|
|
6512
|
-
/* @__PURE__ */
|
|
6513
|
-
/* @__PURE__ */
|
|
6514
|
-
/* @__PURE__ */
|
|
6685
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6686
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6687
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6515
6688
|
] })
|
|
6516
6689
|
] }),
|
|
6517
|
-
mode === "rgb" && /* @__PURE__ */
|
|
6518
|
-
/* @__PURE__ */
|
|
6519
|
-
/* @__PURE__ */
|
|
6520
|
-
/* @__PURE__ */
|
|
6690
|
+
mode === "rgb" && /* @__PURE__ */ jsxs43(Fragment28, { children: [
|
|
6691
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6692
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6693
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6521
6694
|
] }),
|
|
6522
|
-
/* @__PURE__ */
|
|
6523
|
-
/* @__PURE__ */
|
|
6524
|
-
/* @__PURE__ */
|
|
6695
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6696
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6697
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6525
6698
|
] }),
|
|
6526
|
-
/* @__PURE__ */
|
|
6527
|
-
/* @__PURE__ */
|
|
6528
|
-
/* @__PURE__ */
|
|
6699
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6700
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6701
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6529
6702
|
] })
|
|
6530
6703
|
] }),
|
|
6531
|
-
mode === "hsva" && /* @__PURE__ */
|
|
6532
|
-
/* @__PURE__ */
|
|
6533
|
-
/* @__PURE__ */
|
|
6534
|
-
/* @__PURE__ */
|
|
6704
|
+
mode === "hsva" && /* @__PURE__ */ jsxs43(Fragment28, { children: [
|
|
6705
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6706
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6707
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6535
6708
|
] }),
|
|
6536
|
-
/* @__PURE__ */
|
|
6537
|
-
/* @__PURE__ */
|
|
6538
|
-
/* @__PURE__ */
|
|
6709
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6710
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6711
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6539
6712
|
] }),
|
|
6540
|
-
/* @__PURE__ */
|
|
6541
|
-
/* @__PURE__ */
|
|
6542
|
-
/* @__PURE__ */
|
|
6713
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6714
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6715
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6543
6716
|
] }),
|
|
6544
|
-
/* @__PURE__ */
|
|
6545
|
-
/* @__PURE__ */
|
|
6546
|
-
/* @__PURE__ */
|
|
6717
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6718
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6719
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6547
6720
|
] })
|
|
6548
6721
|
] }),
|
|
6549
|
-
mode === "hsv" && /* @__PURE__ */
|
|
6550
|
-
/* @__PURE__ */
|
|
6551
|
-
/* @__PURE__ */
|
|
6552
|
-
/* @__PURE__ */
|
|
6722
|
+
mode === "hsv" && /* @__PURE__ */ jsxs43(Fragment28, { children: [
|
|
6723
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6724
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6725
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6553
6726
|
] }),
|
|
6554
|
-
/* @__PURE__ */
|
|
6555
|
-
/* @__PURE__ */
|
|
6556
|
-
/* @__PURE__ */
|
|
6727
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6728
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6729
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6557
6730
|
] }),
|
|
6558
|
-
/* @__PURE__ */
|
|
6559
|
-
/* @__PURE__ */
|
|
6560
|
-
/* @__PURE__ */
|
|
6731
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-vstack", children: [
|
|
6732
|
+
/* @__PURE__ */ jsx87(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6733
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6561
6734
|
] })
|
|
6562
6735
|
] }),
|
|
6563
|
-
mode === "hex" && /* @__PURE__ */
|
|
6564
|
-
/* @__PURE__ */
|
|
6565
|
-
/* @__PURE__ */
|
|
6736
|
+
mode === "hex" && /* @__PURE__ */ jsx87(Fragment28, { children: /* @__PURE__ */ jsxs43("div", { className: "k-vstack k-flex-1", children: [
|
|
6737
|
+
/* @__PURE__ */ jsx87(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6738
|
+
/* @__PURE__ */ jsx87("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6566
6739
|
] }) })
|
|
6567
6740
|
] });
|
|
6568
6741
|
};
|
|
6569
|
-
ColorInput.states =
|
|
6570
|
-
ColorInput.options =
|
|
6742
|
+
ColorInput.states = states40;
|
|
6743
|
+
ColorInput.options = options38;
|
|
6571
6744
|
ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
6572
|
-
ColorInput.defaultProps =
|
|
6745
|
+
ColorInput.defaultProps = defaultProps35;
|
|
6573
6746
|
|
|
6574
6747
|
// src/colorgradient/color-contrast.tsx
|
|
6575
|
-
import { jsx as
|
|
6748
|
+
import { jsx as jsx88, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6576
6749
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6577
|
-
var
|
|
6578
|
-
var
|
|
6579
|
-
var
|
|
6580
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
6581
|
-
/* @__PURE__ */
|
|
6582
|
-
/* @__PURE__ */
|
|
6583
|
-
/* @__PURE__ */
|
|
6584
|
-
/* @__PURE__ */
|
|
6585
|
-
/* @__PURE__ */
|
|
6750
|
+
var states41 = [];
|
|
6751
|
+
var options39 = {};
|
|
6752
|
+
var defaultProps36 = {};
|
|
6753
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs44("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6754
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-contrast-ratio", children: [
|
|
6755
|
+
/* @__PURE__ */ jsx88("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6756
|
+
/* @__PURE__ */ jsxs44("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6757
|
+
/* @__PURE__ */ jsx88(Icon, { icon: "check" }),
|
|
6758
|
+
/* @__PURE__ */ jsx88(Icon, { icon: "check" })
|
|
6586
6759
|
] })
|
|
6587
6760
|
] }),
|
|
6588
|
-
/* @__PURE__ */
|
|
6589
|
-
/* @__PURE__ */
|
|
6590
|
-
/* @__PURE__ */
|
|
6761
|
+
/* @__PURE__ */ jsxs44("div", { children: [
|
|
6762
|
+
/* @__PURE__ */ jsx88("span", { children: "AA: 4.5" }),
|
|
6763
|
+
/* @__PURE__ */ jsxs44("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6591
6764
|
"Pass",
|
|
6592
|
-
/* @__PURE__ */
|
|
6765
|
+
/* @__PURE__ */ jsx88(Icon, { icon: "check" })
|
|
6593
6766
|
] })
|
|
6594
6767
|
] }),
|
|
6595
|
-
/* @__PURE__ */
|
|
6596
|
-
/* @__PURE__ */
|
|
6597
|
-
/* @__PURE__ */
|
|
6768
|
+
/* @__PURE__ */ jsxs44("div", { children: [
|
|
6769
|
+
/* @__PURE__ */ jsx88("span", { children: "AAA: 7.0" }),
|
|
6770
|
+
/* @__PURE__ */ jsxs44("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6598
6771
|
"Fail",
|
|
6599
|
-
/* @__PURE__ */
|
|
6772
|
+
/* @__PURE__ */ jsx88(Icon, { icon: "x" })
|
|
6600
6773
|
] })
|
|
6601
6774
|
] })
|
|
6602
6775
|
] });
|
|
6603
|
-
ColorContrast.states =
|
|
6604
|
-
ColorContrast.options =
|
|
6776
|
+
ColorContrast.states = states41;
|
|
6777
|
+
ColorContrast.options = options39;
|
|
6605
6778
|
ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
6606
|
-
ColorContrast.defaultProps =
|
|
6779
|
+
ColorContrast.defaultProps = defaultProps36;
|
|
6607
6780
|
|
|
6608
6781
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6609
|
-
import { jsx as
|
|
6782
|
+
import { jsx as jsx89, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6610
6783
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6611
|
-
var
|
|
6784
|
+
var states42 = [
|
|
6612
6785
|
States.hover,
|
|
6613
6786
|
States.focus,
|
|
6614
6787
|
States.readonly,
|
|
6615
6788
|
States.disabled
|
|
6616
6789
|
];
|
|
6617
|
-
var
|
|
6618
|
-
var
|
|
6790
|
+
var options40 = {};
|
|
6791
|
+
var defaultProps37 = {
|
|
6619
6792
|
mode: "rgba",
|
|
6620
6793
|
readonly: false,
|
|
6621
6794
|
disabled: false,
|
|
@@ -6626,20 +6799,20 @@ var defaultProps34 = {
|
|
|
6626
6799
|
};
|
|
6627
6800
|
var ColorGradient = (props) => {
|
|
6628
6801
|
const {
|
|
6629
|
-
mode =
|
|
6630
|
-
readonly =
|
|
6631
|
-
disabled =
|
|
6802
|
+
mode = defaultProps37.mode,
|
|
6803
|
+
readonly = defaultProps37.readonly,
|
|
6804
|
+
disabled = defaultProps37.disabled,
|
|
6632
6805
|
dir,
|
|
6633
|
-
contrast =
|
|
6806
|
+
contrast = defaultProps37.contrast,
|
|
6634
6807
|
hover,
|
|
6635
6808
|
focus,
|
|
6636
6809
|
hoverHandle,
|
|
6637
6810
|
focusHandle,
|
|
6638
|
-
gradientStyle =
|
|
6639
|
-
dragHandleStyle =
|
|
6640
|
-
alphaStyle =
|
|
6811
|
+
gradientStyle = defaultProps37.gradientStyle,
|
|
6812
|
+
dragHandleStyle = defaultProps37.dragHandleStyle,
|
|
6813
|
+
alphaStyle = defaultProps37.alphaStyle
|
|
6641
6814
|
} = props;
|
|
6642
|
-
return /* @__PURE__ */
|
|
6815
|
+
return /* @__PURE__ */ jsxs45("div", { className: classNames(
|
|
6643
6816
|
props.className,
|
|
6644
6817
|
COLOR_GRADIENT_CLASSNAME,
|
|
6645
6818
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6649,8 +6822,8 @@ var ColorGradient = (props) => {
|
|
|
6649
6822
|
disabled
|
|
6650
6823
|
})
|
|
6651
6824
|
), dir, children: [
|
|
6652
|
-
/* @__PURE__ */
|
|
6653
|
-
/* @__PURE__ */
|
|
6825
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6826
|
+
/* @__PURE__ */ jsx89("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx89("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx89("div", { className: classNames(
|
|
6654
6827
|
"k-hsv-draghandle",
|
|
6655
6828
|
"k-draghandle",
|
|
6656
6829
|
{
|
|
@@ -6658,39 +6831,39 @@ var ColorGradient = (props) => {
|
|
|
6658
6831
|
"k-focus": focusHandle
|
|
6659
6832
|
}
|
|
6660
6833
|
), style: dragHandleStyle }) }) }),
|
|
6661
|
-
/* @__PURE__ */
|
|
6662
|
-
/* @__PURE__ */
|
|
6663
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
6834
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6835
|
+
/* @__PURE__ */ jsx89(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6836
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx89(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6664
6837
|
] })
|
|
6665
6838
|
] }),
|
|
6666
|
-
/* @__PURE__ */
|
|
6667
|
-
contrast && /* @__PURE__ */
|
|
6839
|
+
/* @__PURE__ */ jsx89(ColorInput, { mode: props.mode }),
|
|
6840
|
+
contrast && /* @__PURE__ */ jsx89(ColorContrast, {})
|
|
6668
6841
|
] });
|
|
6669
6842
|
};
|
|
6670
|
-
ColorGradient.states =
|
|
6671
|
-
ColorGradient.options =
|
|
6843
|
+
ColorGradient.states = states42;
|
|
6844
|
+
ColorGradient.options = options40;
|
|
6672
6845
|
ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
6673
|
-
ColorGradient.defaultProps =
|
|
6846
|
+
ColorGradient.defaultProps = defaultProps37;
|
|
6674
6847
|
|
|
6675
6848
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6676
|
-
import { jsx as
|
|
6849
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6677
6850
|
|
|
6678
6851
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6679
|
-
import { jsx as
|
|
6852
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
6680
6853
|
|
|
6681
6854
|
// src/colorpalette/colorpalette-row.tsx
|
|
6682
|
-
import { jsx as
|
|
6683
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
6855
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6856
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx92("tr", { children: props.children });
|
|
6684
6857
|
|
|
6685
6858
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6686
|
-
import { jsx as
|
|
6859
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6687
6860
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6688
|
-
var
|
|
6861
|
+
var states43 = [
|
|
6689
6862
|
States.hover,
|
|
6690
6863
|
States.focus,
|
|
6691
6864
|
States.selected
|
|
6692
6865
|
];
|
|
6693
|
-
var
|
|
6866
|
+
var options41 = {};
|
|
6694
6867
|
var ColorPaletteTile = (props) => {
|
|
6695
6868
|
const {
|
|
6696
6869
|
color,
|
|
@@ -6705,7 +6878,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6705
6878
|
"width": tileSize ? tileSize + "px" : "",
|
|
6706
6879
|
"height": tileSize ? tileSize + "px" : ""
|
|
6707
6880
|
};
|
|
6708
|
-
return /* @__PURE__ */
|
|
6881
|
+
return /* @__PURE__ */ jsx93(
|
|
6709
6882
|
"td",
|
|
6710
6883
|
{
|
|
6711
6884
|
...other,
|
|
@@ -6722,24 +6895,24 @@ var ColorPaletteTile = (props) => {
|
|
|
6722
6895
|
}
|
|
6723
6896
|
);
|
|
6724
6897
|
};
|
|
6725
|
-
ColorPaletteTile.states =
|
|
6726
|
-
ColorPaletteTile.options =
|
|
6898
|
+
ColorPaletteTile.states = states43;
|
|
6899
|
+
ColorPaletteTile.options = options41;
|
|
6727
6900
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6728
6901
|
|
|
6729
6902
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6730
|
-
import { jsx as
|
|
6903
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
6731
6904
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6732
|
-
var
|
|
6905
|
+
var states44 = [
|
|
6733
6906
|
States.disabled
|
|
6734
6907
|
];
|
|
6735
|
-
var
|
|
6736
|
-
var
|
|
6908
|
+
var options42 = {};
|
|
6909
|
+
var defaultProps38 = {
|
|
6737
6910
|
columns: 10
|
|
6738
6911
|
};
|
|
6739
6912
|
var ColorPalette = (props) => {
|
|
6740
6913
|
const {
|
|
6741
6914
|
palette,
|
|
6742
|
-
columns =
|
|
6915
|
+
columns = defaultProps38.columns,
|
|
6743
6916
|
tileSize,
|
|
6744
6917
|
disabled,
|
|
6745
6918
|
...other
|
|
@@ -6752,14 +6925,14 @@ var ColorPalette = (props) => {
|
|
|
6752
6925
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6753
6926
|
const items = [];
|
|
6754
6927
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6755
|
-
items.push(/* @__PURE__ */
|
|
6928
|
+
items.push(/* @__PURE__ */ jsx94(ColorPaletteTile, { color, tileSize }));
|
|
6756
6929
|
});
|
|
6757
|
-
const row = /* @__PURE__ */
|
|
6930
|
+
const row = /* @__PURE__ */ jsx94(ColorPaletteRow, { children: items });
|
|
6758
6931
|
newChildren.push(row);
|
|
6759
6932
|
});
|
|
6760
6933
|
}
|
|
6761
6934
|
}
|
|
6762
|
-
return /* @__PURE__ */
|
|
6935
|
+
return /* @__PURE__ */ jsx94(
|
|
6763
6936
|
"div",
|
|
6764
6937
|
{
|
|
6765
6938
|
...other,
|
|
@@ -6770,17 +6943,17 @@ var ColorPalette = (props) => {
|
|
|
6770
6943
|
disabled
|
|
6771
6944
|
})
|
|
6772
6945
|
),
|
|
6773
|
-
children: /* @__PURE__ */
|
|
6946
|
+
children: /* @__PURE__ */ jsx94("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6774
6947
|
}
|
|
6775
6948
|
);
|
|
6776
6949
|
};
|
|
6777
|
-
ColorPalette.states =
|
|
6778
|
-
ColorPalette.options =
|
|
6950
|
+
ColorPalette.states = states44;
|
|
6951
|
+
ColorPalette.options = options42;
|
|
6779
6952
|
ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
6780
|
-
ColorPalette.defaultProps =
|
|
6953
|
+
ColorPalette.defaultProps = defaultProps38;
|
|
6781
6954
|
|
|
6782
6955
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6783
|
-
import { jsx as
|
|
6956
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
6784
6957
|
|
|
6785
6958
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6786
6959
|
var PALETTEPRESETS = {
|
|
@@ -6835,84 +7008,84 @@ var PALETTEPRESETS = {
|
|
|
6835
7008
|
};
|
|
6836
7009
|
|
|
6837
7010
|
// src/coloreditor/color-editor.spec.tsx
|
|
6838
|
-
import { jsx as
|
|
7011
|
+
import { jsx as jsx96, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6839
7012
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6840
|
-
var
|
|
7013
|
+
var states45 = [
|
|
6841
7014
|
States.focus
|
|
6842
7015
|
];
|
|
6843
|
-
var
|
|
6844
|
-
var
|
|
7016
|
+
var options43 = {};
|
|
7017
|
+
var defaultProps39 = {
|
|
6845
7018
|
view: "gradient",
|
|
6846
7019
|
currentColor: "fuchsia",
|
|
6847
7020
|
palette: PALETTEPRESETS.office
|
|
6848
7021
|
};
|
|
6849
7022
|
var ColorEditor = (props) => {
|
|
6850
7023
|
const {
|
|
6851
|
-
view =
|
|
7024
|
+
view = defaultProps39.view,
|
|
6852
7025
|
color,
|
|
6853
|
-
currentColor =
|
|
7026
|
+
currentColor = defaultProps39.currentColor,
|
|
6854
7027
|
focus,
|
|
6855
7028
|
focusView,
|
|
6856
7029
|
dir,
|
|
6857
7030
|
group,
|
|
6858
|
-
palette =
|
|
7031
|
+
palette = defaultProps39.palette
|
|
6859
7032
|
} = props;
|
|
6860
|
-
return /* @__PURE__ */
|
|
7033
|
+
return /* @__PURE__ */ jsxs46("div", { className: classNames(
|
|
6861
7034
|
props.className,
|
|
6862
7035
|
"k-flatcolorpicker",
|
|
6863
7036
|
COLOREDITOR_CLASSNAME,
|
|
6864
7037
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6865
7038
|
), dir, children: [
|
|
6866
|
-
/* @__PURE__ */
|
|
6867
|
-
/* @__PURE__ */
|
|
6868
|
-
/* @__PURE__ */
|
|
6869
|
-
/* @__PURE__ */
|
|
7039
|
+
/* @__PURE__ */ jsxs46("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
7040
|
+
/* @__PURE__ */ jsx96("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs46(ButtonGroup, { children: [
|
|
7041
|
+
/* @__PURE__ */ jsx96(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
7042
|
+
/* @__PURE__ */ jsx96(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6870
7043
|
] }) }),
|
|
6871
|
-
/* @__PURE__ */
|
|
6872
|
-
/* @__PURE__ */
|
|
6873
|
-
/* @__PURE__ */
|
|
6874
|
-
/* @__PURE__ */
|
|
6875
|
-
/* @__PURE__ */
|
|
6876
|
-
/* @__PURE__ */
|
|
7044
|
+
/* @__PURE__ */ jsx96("div", { className: "k-spacer" }),
|
|
7045
|
+
/* @__PURE__ */ jsxs46("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
7046
|
+
/* @__PURE__ */ jsx96(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
7047
|
+
/* @__PURE__ */ jsxs46("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
7048
|
+
/* @__PURE__ */ jsx96(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
7049
|
+
/* @__PURE__ */ jsx96(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6877
7050
|
] })
|
|
6878
7051
|
] })
|
|
6879
7052
|
] }),
|
|
6880
|
-
/* @__PURE__ */
|
|
6881
|
-
/* @__PURE__ */
|
|
6882
|
-
/* @__PURE__ */
|
|
6883
|
-
/* @__PURE__ */
|
|
7053
|
+
/* @__PURE__ */ jsx96("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx96(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx96(ColorPalette, { palette }) }),
|
|
7054
|
+
/* @__PURE__ */ jsxs46(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
7055
|
+
/* @__PURE__ */ jsx96(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
7056
|
+
/* @__PURE__ */ jsx96(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6884
7057
|
] })
|
|
6885
7058
|
] });
|
|
6886
7059
|
};
|
|
6887
|
-
ColorEditor.states =
|
|
6888
|
-
ColorEditor.options =
|
|
7060
|
+
ColorEditor.states = states45;
|
|
7061
|
+
ColorEditor.options = options43;
|
|
6889
7062
|
ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
6890
|
-
ColorEditor.defaultProps =
|
|
7063
|
+
ColorEditor.defaultProps = defaultProps39;
|
|
6891
7064
|
|
|
6892
7065
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6893
|
-
import { jsx as
|
|
7066
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
6894
7067
|
|
|
6895
7068
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6896
|
-
import { jsx as
|
|
7069
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
6897
7070
|
|
|
6898
7071
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6899
|
-
import { jsx as
|
|
7072
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
6900
7073
|
|
|
6901
7074
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6902
|
-
import { jsx as
|
|
7075
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
6903
7076
|
|
|
6904
7077
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6905
|
-
import { jsx as
|
|
7078
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
6906
7079
|
|
|
6907
7080
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6908
|
-
import { jsx as
|
|
7081
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
6909
7082
|
|
|
6910
7083
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6911
|
-
import { Fragment as
|
|
7084
|
+
import { Fragment as Fragment29, jsx as jsx103, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6912
7085
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6913
|
-
var
|
|
6914
|
-
var
|
|
6915
|
-
var
|
|
7086
|
+
var states46 = [];
|
|
7087
|
+
var options44 = {};
|
|
7088
|
+
var defaultProps40 = {
|
|
6916
7089
|
side: "bottom",
|
|
6917
7090
|
fullscreen: false,
|
|
6918
7091
|
adaptive: false,
|
|
@@ -6925,14 +7098,14 @@ var ActionSheet = (props) => {
|
|
|
6925
7098
|
header,
|
|
6926
7099
|
footer,
|
|
6927
7100
|
actions,
|
|
6928
|
-
side =
|
|
6929
|
-
fullscreen =
|
|
6930
|
-
adaptive =
|
|
6931
|
-
overlay =
|
|
7101
|
+
side = defaultProps40.side,
|
|
7102
|
+
fullscreen = defaultProps40.fullscreen,
|
|
7103
|
+
adaptive = defaultProps40.adaptive,
|
|
7104
|
+
overlay = defaultProps40.overlay,
|
|
6932
7105
|
...other
|
|
6933
7106
|
} = props;
|
|
6934
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6935
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
7107
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx103(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
7108
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx103(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx103(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6936
7109
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6937
7110
|
switch (child.type) {
|
|
6938
7111
|
case ActionSheetHeader:
|
|
@@ -6942,10 +7115,10 @@ var ActionSheet = (props) => {
|
|
|
6942
7115
|
return true;
|
|
6943
7116
|
}
|
|
6944
7117
|
return true;
|
|
6945
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6946
|
-
return /* @__PURE__ */
|
|
6947
|
-
overlay && /* @__PURE__ */
|
|
6948
|
-
/* @__PURE__ */
|
|
7118
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx103(Fragment29, {});
|
|
7119
|
+
return /* @__PURE__ */ jsxs47("div", { className: "k-actionsheet-container", children: [
|
|
7120
|
+
overlay && /* @__PURE__ */ jsx103("div", { className: "k-overlay" }),
|
|
7121
|
+
/* @__PURE__ */ jsx103(
|
|
6949
7122
|
AnimationContainer,
|
|
6950
7123
|
{
|
|
6951
7124
|
animationStyle: {
|
|
@@ -6955,7 +7128,7 @@ var ActionSheet = (props) => {
|
|
|
6955
7128
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6956
7129
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6957
7130
|
},
|
|
6958
|
-
children: /* @__PURE__ */
|
|
7131
|
+
children: /* @__PURE__ */ jsx103(
|
|
6959
7132
|
"div",
|
|
6960
7133
|
{
|
|
6961
7134
|
...other,
|
|
@@ -6968,9 +7141,9 @@ var ActionSheet = (props) => {
|
|
|
6968
7141
|
"k-adaptive-actionsheet": adaptive
|
|
6969
7142
|
}
|
|
6970
7143
|
),
|
|
6971
|
-
children: /* @__PURE__ */
|
|
7144
|
+
children: /* @__PURE__ */ jsxs47(Fragment29, { children: [
|
|
6972
7145
|
_ActionSheetHeader,
|
|
6973
|
-
/* @__PURE__ */
|
|
7146
|
+
/* @__PURE__ */ jsx103("div", { className: classNames(
|
|
6974
7147
|
"k-actionsheet-content",
|
|
6975
7148
|
{
|
|
6976
7149
|
"!k-overflow-hidden": adaptive
|
|
@@ -6984,13 +7157,13 @@ var ActionSheet = (props) => {
|
|
|
6984
7157
|
)
|
|
6985
7158
|
] });
|
|
6986
7159
|
};
|
|
6987
|
-
ActionSheet.states =
|
|
6988
|
-
ActionSheet.options =
|
|
7160
|
+
ActionSheet.states = states46;
|
|
7161
|
+
ActionSheet.options = options44;
|
|
6989
7162
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
6990
|
-
ActionSheet.defaultProps =
|
|
7163
|
+
ActionSheet.defaultProps = defaultProps40;
|
|
6991
7164
|
|
|
6992
7165
|
// src/action-sheet/actionsheet-header.tsx
|
|
6993
|
-
import { Fragment as
|
|
7166
|
+
import { Fragment as Fragment30, jsx as jsx104, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6994
7167
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6995
7168
|
var ActionSheetHeader = (props) => {
|
|
6996
7169
|
const {
|
|
@@ -7000,7 +7173,7 @@ var ActionSheetHeader = (props) => {
|
|
|
7000
7173
|
filter,
|
|
7001
7174
|
...other
|
|
7002
7175
|
} = props;
|
|
7003
|
-
return /* @__PURE__ */
|
|
7176
|
+
return /* @__PURE__ */ jsx104(
|
|
7004
7177
|
"div",
|
|
7005
7178
|
{
|
|
7006
7179
|
...other,
|
|
@@ -7008,30 +7181,30 @@ var ActionSheetHeader = (props) => {
|
|
|
7008
7181
|
props.className,
|
|
7009
7182
|
ACTIONSHEETHEADER_CLASSNAME
|
|
7010
7183
|
),
|
|
7011
|
-
children: /* @__PURE__ */
|
|
7012
|
-
/* @__PURE__ */
|
|
7013
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
7014
|
-
title !== "" && /* @__PURE__ */
|
|
7015
|
-
subTitle !== "" && /* @__PURE__ */
|
|
7184
|
+
children: /* @__PURE__ */ jsxs48(Fragment30, { children: [
|
|
7185
|
+
/* @__PURE__ */ jsxs48("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
7186
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx104(Fragment30, { children: /* @__PURE__ */ jsxs48("div", { className: "k-actionsheet-title", children: [
|
|
7187
|
+
title !== "" && /* @__PURE__ */ jsx104("div", { className: "k-text-center", children: title }),
|
|
7188
|
+
subTitle !== "" && /* @__PURE__ */ jsx104("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
7016
7189
|
] }) }),
|
|
7017
|
-
props.children && /* @__PURE__ */
|
|
7018
|
-
actions && /* @__PURE__ */
|
|
7190
|
+
props.children && /* @__PURE__ */ jsx104("div", { className: "k-actionsheet-title", children: props.children }),
|
|
7191
|
+
actions && /* @__PURE__ */ jsx104(Fragment30, { children: /* @__PURE__ */ jsx104("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx104(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
7019
7192
|
] }),
|
|
7020
|
-
filter && /* @__PURE__ */
|
|
7193
|
+
filter && /* @__PURE__ */ jsx104(Fragment30, { children: /* @__PURE__ */ jsx104("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx104(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
7021
7194
|
] })
|
|
7022
7195
|
}
|
|
7023
7196
|
);
|
|
7024
7197
|
};
|
|
7025
7198
|
|
|
7026
7199
|
// src/action-sheet/actionsheet-footer.tsx
|
|
7027
|
-
import { Fragment as
|
|
7200
|
+
import { Fragment as Fragment31, jsx as jsx105, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7028
7201
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
7029
7202
|
var ActionSheetFooter = (props) => {
|
|
7030
7203
|
const {
|
|
7031
7204
|
actions,
|
|
7032
7205
|
...other
|
|
7033
7206
|
} = props;
|
|
7034
|
-
return /* @__PURE__ */
|
|
7207
|
+
return /* @__PURE__ */ jsx105(
|
|
7035
7208
|
action_buttons_spec_default,
|
|
7036
7209
|
{
|
|
7037
7210
|
...other,
|
|
@@ -7040,17 +7213,17 @@ var ActionSheetFooter = (props) => {
|
|
|
7040
7213
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
7041
7214
|
),
|
|
7042
7215
|
alignment: "stretched",
|
|
7043
|
-
children: /* @__PURE__ */
|
|
7216
|
+
children: /* @__PURE__ */ jsxs49(Fragment31, { children: [
|
|
7044
7217
|
actions && actions.map((action, index) => {
|
|
7045
7218
|
if (action === "|") {
|
|
7046
|
-
return /* @__PURE__ */
|
|
7219
|
+
return /* @__PURE__ */ jsx105("span", { className: "k-separator" }, index);
|
|
7047
7220
|
}
|
|
7048
7221
|
if (action === " ") {
|
|
7049
|
-
return /* @__PURE__ */
|
|
7222
|
+
return /* @__PURE__ */ jsx105("span", { className: "k-spacer" }, index);
|
|
7050
7223
|
}
|
|
7051
7224
|
const importantFlag = action.startsWith("!");
|
|
7052
7225
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
7053
|
-
return /* @__PURE__ */
|
|
7226
|
+
return /* @__PURE__ */ jsx105(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
7054
7227
|
}),
|
|
7055
7228
|
!actions && props.children
|
|
7056
7229
|
] })
|
|
@@ -7059,12 +7232,12 @@ var ActionSheetFooter = (props) => {
|
|
|
7059
7232
|
};
|
|
7060
7233
|
|
|
7061
7234
|
// src/action-sheet/actionsheet-items.tsx
|
|
7062
|
-
import { jsx as
|
|
7235
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
7063
7236
|
var ActionSheetItems = (props) => {
|
|
7064
7237
|
const {
|
|
7065
7238
|
...other
|
|
7066
7239
|
} = props;
|
|
7067
|
-
return /* @__PURE__ */
|
|
7240
|
+
return /* @__PURE__ */ jsx106(
|
|
7068
7241
|
"div",
|
|
7069
7242
|
{
|
|
7070
7243
|
...other,
|
|
@@ -7078,8 +7251,8 @@ var ActionSheetItems = (props) => {
|
|
|
7078
7251
|
};
|
|
7079
7252
|
|
|
7080
7253
|
// src/action-sheet/actionsheet-item.tsx
|
|
7081
|
-
import { Fragment as
|
|
7082
|
-
var
|
|
7254
|
+
import { Fragment as Fragment32, jsx as jsx107, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7255
|
+
var states47 = [
|
|
7083
7256
|
States.hover,
|
|
7084
7257
|
States.focus,
|
|
7085
7258
|
States.selected,
|
|
@@ -7087,9 +7260,9 @@ var states44 = [
|
|
|
7087
7260
|
];
|
|
7088
7261
|
|
|
7089
7262
|
// src/combobox/combobox.spec.tsx
|
|
7090
|
-
import { Fragment as
|
|
7263
|
+
import { Fragment as Fragment33, jsx as jsx108, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7091
7264
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
7092
|
-
var
|
|
7265
|
+
var states48 = [
|
|
7093
7266
|
States.hover,
|
|
7094
7267
|
States.focus,
|
|
7095
7268
|
States.valid,
|
|
@@ -7099,12 +7272,12 @@ var states45 = [
|
|
|
7099
7272
|
States.disabled,
|
|
7100
7273
|
States.readonly
|
|
7101
7274
|
];
|
|
7102
|
-
var
|
|
7275
|
+
var defaultProps41 = {
|
|
7103
7276
|
size: Input.defaultProps.size,
|
|
7104
7277
|
rounded: Input.defaultProps.rounded,
|
|
7105
7278
|
fillMode: Input.defaultProps.fillMode
|
|
7106
7279
|
};
|
|
7107
|
-
var
|
|
7280
|
+
var options45 = {
|
|
7108
7281
|
size: [Size.small, Size.medium, Size.large],
|
|
7109
7282
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7110
7283
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -7132,8 +7305,8 @@ var Combobox = (props) => {
|
|
|
7132
7305
|
adaptiveSettings,
|
|
7133
7306
|
...other
|
|
7134
7307
|
} = props;
|
|
7135
|
-
return /* @__PURE__ */
|
|
7136
|
-
/* @__PURE__ */
|
|
7308
|
+
return /* @__PURE__ */ jsxs51(Fragment33, { children: [
|
|
7309
|
+
/* @__PURE__ */ jsxs51(
|
|
7137
7310
|
Input,
|
|
7138
7311
|
{
|
|
7139
7312
|
...other,
|
|
@@ -7150,9 +7323,9 @@ var Combobox = (props) => {
|
|
|
7150
7323
|
readonly,
|
|
7151
7324
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
7152
7325
|
children: [
|
|
7153
|
-
/* @__PURE__ */
|
|
7154
|
-
/* @__PURE__ */
|
|
7155
|
-
/* @__PURE__ */
|
|
7326
|
+
/* @__PURE__ */ jsx108(InputPrefix, { children: prefix }),
|
|
7327
|
+
/* @__PURE__ */ jsx108(InputInnerInput, { placeholder, value }),
|
|
7328
|
+
/* @__PURE__ */ jsx108(
|
|
7156
7329
|
InputValidationIcon,
|
|
7157
7330
|
{
|
|
7158
7331
|
valid,
|
|
@@ -7161,14 +7334,14 @@ var Combobox = (props) => {
|
|
|
7161
7334
|
disabled
|
|
7162
7335
|
}
|
|
7163
7336
|
),
|
|
7164
|
-
/* @__PURE__ */
|
|
7337
|
+
/* @__PURE__ */ jsx108(
|
|
7165
7338
|
InputLoadingIcon,
|
|
7166
7339
|
{
|
|
7167
7340
|
loading,
|
|
7168
7341
|
disabled
|
|
7169
7342
|
}
|
|
7170
7343
|
),
|
|
7171
|
-
/* @__PURE__ */
|
|
7344
|
+
/* @__PURE__ */ jsx108(
|
|
7172
7345
|
InputClearValue,
|
|
7173
7346
|
{
|
|
7174
7347
|
loading,
|
|
@@ -7177,8 +7350,8 @@ var Combobox = (props) => {
|
|
|
7177
7350
|
value
|
|
7178
7351
|
}
|
|
7179
7352
|
),
|
|
7180
|
-
/* @__PURE__ */
|
|
7181
|
-
/* @__PURE__ */
|
|
7353
|
+
/* @__PURE__ */ jsx108(InputSuffix, { children: suffix }),
|
|
7354
|
+
/* @__PURE__ */ jsx108(
|
|
7182
7355
|
Button,
|
|
7183
7356
|
{
|
|
7184
7357
|
className: "k-input-button",
|
|
@@ -7191,9 +7364,9 @@ var Combobox = (props) => {
|
|
|
7191
7364
|
]
|
|
7192
7365
|
}
|
|
7193
7366
|
),
|
|
7194
|
-
opened && popup && /* @__PURE__ */
|
|
7195
|
-
adaptive && /* @__PURE__ */
|
|
7196
|
-
/* @__PURE__ */
|
|
7367
|
+
opened && popup && /* @__PURE__ */ jsx108(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7368
|
+
adaptive && /* @__PURE__ */ jsxs51(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7369
|
+
/* @__PURE__ */ jsx108(
|
|
7197
7370
|
ActionSheetHeader,
|
|
7198
7371
|
{
|
|
7199
7372
|
actions: ["x"],
|
|
@@ -7201,42 +7374,42 @@ var Combobox = (props) => {
|
|
|
7201
7374
|
title: "Select Item"
|
|
7202
7375
|
}
|
|
7203
7376
|
),
|
|
7204
|
-
/* @__PURE__ */
|
|
7205
|
-
/* @__PURE__ */
|
|
7206
|
-
/* @__PURE__ */
|
|
7207
|
-
/* @__PURE__ */
|
|
7377
|
+
/* @__PURE__ */ jsx108("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs51(List, { size: "large", children: [
|
|
7378
|
+
/* @__PURE__ */ jsx108(ListItem, { text: "List item" }),
|
|
7379
|
+
/* @__PURE__ */ jsx108(ListItem, { text: "List item" }),
|
|
7380
|
+
/* @__PURE__ */ jsx108(ListItem, { text: "List item" })
|
|
7208
7381
|
] }) })
|
|
7209
7382
|
] })
|
|
7210
7383
|
] });
|
|
7211
7384
|
};
|
|
7212
|
-
Combobox.states =
|
|
7213
|
-
Combobox.options =
|
|
7385
|
+
Combobox.states = states48;
|
|
7386
|
+
Combobox.options = options45;
|
|
7214
7387
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
7215
|
-
Combobox.defaultProps =
|
|
7388
|
+
Combobox.defaultProps = defaultProps41;
|
|
7216
7389
|
|
|
7217
7390
|
// src/combobox/templates/combobox-normal.tsx
|
|
7218
|
-
import { jsx as
|
|
7391
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7219
7392
|
|
|
7220
7393
|
// src/combobox/templates/combobox-popup.tsx
|
|
7221
|
-
import { jsx as
|
|
7394
|
+
import { jsx as jsx110, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7222
7395
|
|
|
7223
7396
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7224
|
-
import { jsx as
|
|
7397
|
+
import { jsx as jsx111, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7225
7398
|
|
|
7226
7399
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7227
|
-
import { jsx as
|
|
7400
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
7228
7401
|
|
|
7229
7402
|
// src/menu-button/menu-button.spec.tsx
|
|
7230
|
-
import { Fragment as
|
|
7403
|
+
import { Fragment as Fragment34, jsx as jsx113, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7231
7404
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7232
|
-
var
|
|
7405
|
+
var states49 = [
|
|
7233
7406
|
States.hover,
|
|
7234
7407
|
States.focus,
|
|
7235
7408
|
States.active,
|
|
7236
7409
|
States.selected,
|
|
7237
7410
|
States.disabled
|
|
7238
7411
|
];
|
|
7239
|
-
var
|
|
7412
|
+
var options46 = {
|
|
7240
7413
|
size: [Size.small, Size.medium, Size.large],
|
|
7241
7414
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7242
7415
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7254,7 +7427,7 @@ var options43 = {
|
|
|
7254
7427
|
ThemeColor.inverse
|
|
7255
7428
|
]
|
|
7256
7429
|
};
|
|
7257
|
-
var
|
|
7430
|
+
var defaultProps42 = {
|
|
7258
7431
|
size: Size.medium,
|
|
7259
7432
|
rounded: Roundness.medium,
|
|
7260
7433
|
fillMode: FillMode.solid,
|
|
@@ -7264,10 +7437,10 @@ var defaultProps39 = {
|
|
|
7264
7437
|
};
|
|
7265
7438
|
var MenuButton = (props) => {
|
|
7266
7439
|
const {
|
|
7267
|
-
size =
|
|
7268
|
-
rounded =
|
|
7269
|
-
fillMode =
|
|
7270
|
-
themeColor =
|
|
7440
|
+
size = defaultProps42.size,
|
|
7441
|
+
rounded = defaultProps42.rounded,
|
|
7442
|
+
fillMode = defaultProps42.fillMode,
|
|
7443
|
+
themeColor = defaultProps42.themeColor,
|
|
7271
7444
|
hover,
|
|
7272
7445
|
focus,
|
|
7273
7446
|
active,
|
|
@@ -7275,14 +7448,14 @@ var MenuButton = (props) => {
|
|
|
7275
7448
|
disabled,
|
|
7276
7449
|
icon,
|
|
7277
7450
|
text,
|
|
7278
|
-
showArrow =
|
|
7279
|
-
arrowIconName =
|
|
7451
|
+
showArrow = defaultProps42.showArrow,
|
|
7452
|
+
arrowIconName = defaultProps42.arrowIconName,
|
|
7280
7453
|
popup,
|
|
7281
7454
|
opened,
|
|
7282
7455
|
...other
|
|
7283
7456
|
} = props;
|
|
7284
|
-
return /* @__PURE__ */
|
|
7285
|
-
/* @__PURE__ */
|
|
7457
|
+
return /* @__PURE__ */ jsxs54(Fragment34, { children: [
|
|
7458
|
+
/* @__PURE__ */ jsx113(
|
|
7286
7459
|
Button,
|
|
7287
7460
|
{
|
|
7288
7461
|
...other,
|
|
@@ -7305,35 +7478,35 @@ var MenuButton = (props) => {
|
|
|
7305
7478
|
arrowIconName
|
|
7306
7479
|
}
|
|
7307
7480
|
),
|
|
7308
|
-
opened && popup && /* @__PURE__ */
|
|
7481
|
+
opened && popup && /* @__PURE__ */ jsx113(Popup, { className: "k-menu-popup", children: popup })
|
|
7309
7482
|
] });
|
|
7310
7483
|
};
|
|
7311
|
-
MenuButton.states =
|
|
7312
|
-
MenuButton.options =
|
|
7484
|
+
MenuButton.states = states49;
|
|
7485
|
+
MenuButton.options = options46;
|
|
7313
7486
|
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
7314
|
-
MenuButton.defaultProps =
|
|
7487
|
+
MenuButton.defaultProps = defaultProps42;
|
|
7315
7488
|
|
|
7316
7489
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7317
|
-
import { jsx as
|
|
7490
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
7318
7491
|
|
|
7319
7492
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7320
|
-
import { jsx as
|
|
7493
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
7321
7494
|
|
|
7322
7495
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7323
|
-
import { jsx as
|
|
7496
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
7324
7497
|
|
|
7325
7498
|
// src/menu/menu-item.spec.tsx
|
|
7326
|
-
import { Fragment as
|
|
7499
|
+
import { Fragment as Fragment35, jsx as jsx117, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7327
7500
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7328
|
-
var
|
|
7501
|
+
var states50 = [
|
|
7329
7502
|
States.hover,
|
|
7330
7503
|
States.focus,
|
|
7331
7504
|
States.active,
|
|
7332
7505
|
States.selected,
|
|
7333
7506
|
States.disabled
|
|
7334
7507
|
];
|
|
7335
|
-
var
|
|
7336
|
-
var
|
|
7508
|
+
var options47 = {};
|
|
7509
|
+
var defaultProps43 = {
|
|
7337
7510
|
dir: "ltr"
|
|
7338
7511
|
};
|
|
7339
7512
|
var MenuItem = (props) => {
|
|
@@ -7347,11 +7520,11 @@ var MenuItem = (props) => {
|
|
|
7347
7520
|
text,
|
|
7348
7521
|
showArrow,
|
|
7349
7522
|
arrowIconName,
|
|
7350
|
-
dir =
|
|
7523
|
+
dir = defaultProps43.dir,
|
|
7351
7524
|
children,
|
|
7352
7525
|
...other
|
|
7353
7526
|
} = props;
|
|
7354
|
-
const contentTemplate = /* @__PURE__ */
|
|
7527
|
+
const contentTemplate = /* @__PURE__ */ jsx117(Fragment35, {});
|
|
7355
7528
|
if (children) {
|
|
7356
7529
|
children.forEach((child) => {
|
|
7357
7530
|
const component = child.type;
|
|
@@ -7365,7 +7538,7 @@ var MenuItem = (props) => {
|
|
|
7365
7538
|
if (!expandArrowName) {
|
|
7366
7539
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7367
7540
|
}
|
|
7368
|
-
return /* @__PURE__ */
|
|
7541
|
+
return /* @__PURE__ */ jsxs55(
|
|
7369
7542
|
"li",
|
|
7370
7543
|
{
|
|
7371
7544
|
...other,
|
|
@@ -7380,7 +7553,7 @@ var MenuItem = (props) => {
|
|
|
7380
7553
|
})
|
|
7381
7554
|
),
|
|
7382
7555
|
children: [
|
|
7383
|
-
/* @__PURE__ */
|
|
7556
|
+
/* @__PURE__ */ jsxs55(
|
|
7384
7557
|
"span",
|
|
7385
7558
|
{
|
|
7386
7559
|
className: classNames(
|
|
@@ -7393,9 +7566,9 @@ var MenuItem = (props) => {
|
|
|
7393
7566
|
})
|
|
7394
7567
|
),
|
|
7395
7568
|
children: [
|
|
7396
|
-
icon && /* @__PURE__ */
|
|
7397
|
-
/* @__PURE__ */
|
|
7398
|
-
showArrow && /* @__PURE__ */
|
|
7569
|
+
icon && /* @__PURE__ */ jsx117(Icon, { className: "k-menu-link-icon", icon }),
|
|
7570
|
+
/* @__PURE__ */ jsx117("span", { className: "k-menu-link-text", children: text }),
|
|
7571
|
+
showArrow && /* @__PURE__ */ jsx117("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx117(Icon, { icon: expandArrowName }) })
|
|
7399
7572
|
]
|
|
7400
7573
|
}
|
|
7401
7574
|
),
|
|
@@ -7404,24 +7577,24 @@ var MenuItem = (props) => {
|
|
|
7404
7577
|
}
|
|
7405
7578
|
);
|
|
7406
7579
|
};
|
|
7407
|
-
MenuItem.states =
|
|
7408
|
-
MenuItem.options =
|
|
7580
|
+
MenuItem.states = states50;
|
|
7581
|
+
MenuItem.options = options47;
|
|
7409
7582
|
MenuItem.className = MENUITEM_CLASSNAME;
|
|
7410
|
-
MenuItem.defaultProps =
|
|
7583
|
+
MenuItem.defaultProps = defaultProps43;
|
|
7411
7584
|
var menu_item_spec_default = MenuItem;
|
|
7412
7585
|
|
|
7413
7586
|
// src/menu/menu-separator.spec.tsx
|
|
7414
|
-
import { jsx as
|
|
7587
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7415
7588
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7416
|
-
var
|
|
7589
|
+
var defaultProps44 = {
|
|
7417
7590
|
orientation: "horizontal"
|
|
7418
7591
|
};
|
|
7419
7592
|
var MenuSeparator = (props) => {
|
|
7420
7593
|
const {
|
|
7421
|
-
orientation =
|
|
7594
|
+
orientation = defaultProps44.orientation,
|
|
7422
7595
|
...other
|
|
7423
7596
|
} = props;
|
|
7424
|
-
return /* @__PURE__ */
|
|
7597
|
+
return /* @__PURE__ */ jsx118(
|
|
7425
7598
|
"li",
|
|
7426
7599
|
{
|
|
7427
7600
|
...other,
|
|
@@ -7439,25 +7612,25 @@ var MenuSeparator = (props) => {
|
|
|
7439
7612
|
var menu_separator_spec_default = MenuSeparator;
|
|
7440
7613
|
|
|
7441
7614
|
// src/menu/menu-item-content.tsx
|
|
7442
|
-
import { Fragment as
|
|
7615
|
+
import { Fragment as Fragment36, jsx as jsx119 } from "react/jsx-runtime";
|
|
7443
7616
|
|
|
7444
7617
|
// src/menu/menu-list.spec.tsx
|
|
7445
|
-
import { jsx as
|
|
7618
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
7446
7619
|
import { createElement as createElement2 } from "react";
|
|
7447
7620
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7448
|
-
var
|
|
7449
|
-
var
|
|
7621
|
+
var states51 = [];
|
|
7622
|
+
var options48 = {
|
|
7450
7623
|
size: [Size.small, Size.medium, Size.large]
|
|
7451
7624
|
};
|
|
7452
|
-
var
|
|
7625
|
+
var defaultProps45 = {
|
|
7453
7626
|
size: Size.medium,
|
|
7454
7627
|
dir: "ltr"
|
|
7455
7628
|
};
|
|
7456
7629
|
var MenuList = (props) => {
|
|
7457
7630
|
const {
|
|
7458
7631
|
children,
|
|
7459
|
-
size =
|
|
7460
|
-
dir =
|
|
7632
|
+
size = defaultProps45.size,
|
|
7633
|
+
dir = defaultProps45.dir,
|
|
7461
7634
|
...other
|
|
7462
7635
|
} = props;
|
|
7463
7636
|
const listChildren = [];
|
|
@@ -7470,7 +7643,7 @@ var MenuList = (props) => {
|
|
|
7470
7643
|
);
|
|
7471
7644
|
} else if (child.type === menu_separator_spec_default) {
|
|
7472
7645
|
listChildren.push(
|
|
7473
|
-
/* @__PURE__ */
|
|
7646
|
+
/* @__PURE__ */ jsx120(menu_separator_spec_default, {})
|
|
7474
7647
|
);
|
|
7475
7648
|
} else {
|
|
7476
7649
|
listChildren.push(child);
|
|
@@ -7478,7 +7651,7 @@ var MenuList = (props) => {
|
|
|
7478
7651
|
});
|
|
7479
7652
|
}
|
|
7480
7653
|
}
|
|
7481
|
-
return /* @__PURE__ */
|
|
7654
|
+
return /* @__PURE__ */ jsx120(
|
|
7482
7655
|
"ul",
|
|
7483
7656
|
{
|
|
7484
7657
|
...other,
|
|
@@ -7493,25 +7666,25 @@ var MenuList = (props) => {
|
|
|
7493
7666
|
}
|
|
7494
7667
|
);
|
|
7495
7668
|
};
|
|
7496
|
-
MenuList.states =
|
|
7497
|
-
MenuList.options =
|
|
7669
|
+
MenuList.states = states51;
|
|
7670
|
+
MenuList.options = options48;
|
|
7498
7671
|
MenuList.className = MENULIST_CLASSNAME;
|
|
7499
|
-
MenuList.defaultProps =
|
|
7672
|
+
MenuList.defaultProps = defaultProps45;
|
|
7500
7673
|
|
|
7501
7674
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7502
|
-
import { jsx as
|
|
7675
|
+
import { jsx as jsx121, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7503
7676
|
|
|
7504
7677
|
// src/split-button/split-button.spec.tsx
|
|
7505
|
-
import { Fragment as
|
|
7678
|
+
import { Fragment as Fragment37, jsx as jsx122, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7506
7679
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7507
|
-
var
|
|
7680
|
+
var states52 = [
|
|
7508
7681
|
States.hover,
|
|
7509
7682
|
States.focus,
|
|
7510
7683
|
States.active,
|
|
7511
7684
|
States.selected,
|
|
7512
7685
|
States.disabled
|
|
7513
7686
|
];
|
|
7514
|
-
var
|
|
7687
|
+
var options49 = {
|
|
7515
7688
|
size: [Size.small, Size.medium, Size.large],
|
|
7516
7689
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7517
7690
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7529,7 +7702,7 @@ var options46 = {
|
|
|
7529
7702
|
ThemeColor.inverse
|
|
7530
7703
|
]
|
|
7531
7704
|
};
|
|
7532
|
-
var
|
|
7705
|
+
var defaultProps46 = {
|
|
7533
7706
|
size: Size.medium,
|
|
7534
7707
|
rounded: Roundness.medium,
|
|
7535
7708
|
fillMode: FillMode.solid,
|
|
@@ -7538,10 +7711,10 @@ var defaultProps43 = {
|
|
|
7538
7711
|
};
|
|
7539
7712
|
var SplitButton = (props) => {
|
|
7540
7713
|
const {
|
|
7541
|
-
size =
|
|
7542
|
-
rounded =
|
|
7543
|
-
fillMode =
|
|
7544
|
-
themeColor =
|
|
7714
|
+
size = defaultProps46.size,
|
|
7715
|
+
rounded = defaultProps46.rounded,
|
|
7716
|
+
fillMode = defaultProps46.fillMode,
|
|
7717
|
+
themeColor = defaultProps46.themeColor,
|
|
7545
7718
|
hover,
|
|
7546
7719
|
focus,
|
|
7547
7720
|
active,
|
|
@@ -7549,13 +7722,13 @@ var SplitButton = (props) => {
|
|
|
7549
7722
|
disabled,
|
|
7550
7723
|
icon,
|
|
7551
7724
|
text,
|
|
7552
|
-
arrowIconName =
|
|
7725
|
+
arrowIconName = defaultProps46.arrowIconName,
|
|
7553
7726
|
popup,
|
|
7554
7727
|
opened,
|
|
7555
7728
|
...other
|
|
7556
7729
|
} = props;
|
|
7557
|
-
return /* @__PURE__ */
|
|
7558
|
-
/* @__PURE__ */
|
|
7730
|
+
return /* @__PURE__ */ jsxs57(Fragment37, { children: [
|
|
7731
|
+
/* @__PURE__ */ jsxs57(
|
|
7559
7732
|
"div",
|
|
7560
7733
|
{
|
|
7561
7734
|
...other,
|
|
@@ -7568,7 +7741,7 @@ var SplitButton = (props) => {
|
|
|
7568
7741
|
})
|
|
7569
7742
|
),
|
|
7570
7743
|
children: [
|
|
7571
|
-
/* @__PURE__ */
|
|
7744
|
+
/* @__PURE__ */ jsx122(
|
|
7572
7745
|
Button,
|
|
7573
7746
|
{
|
|
7574
7747
|
text,
|
|
@@ -7585,7 +7758,7 @@ var SplitButton = (props) => {
|
|
|
7585
7758
|
children: props.children
|
|
7586
7759
|
}
|
|
7587
7760
|
),
|
|
7588
|
-
/* @__PURE__ */
|
|
7761
|
+
/* @__PURE__ */ jsx122(
|
|
7589
7762
|
Button,
|
|
7590
7763
|
{
|
|
7591
7764
|
className: "k-split-button-arrow",
|
|
@@ -7599,30 +7772,30 @@ var SplitButton = (props) => {
|
|
|
7599
7772
|
]
|
|
7600
7773
|
}
|
|
7601
7774
|
),
|
|
7602
|
-
opened && popup && /* @__PURE__ */
|
|
7775
|
+
opened && popup && /* @__PURE__ */ jsx122(Popup, { className: "k-menu-popup", children: popup })
|
|
7603
7776
|
] });
|
|
7604
7777
|
};
|
|
7605
|
-
SplitButton.states =
|
|
7606
|
-
SplitButton.options =
|
|
7778
|
+
SplitButton.states = states52;
|
|
7779
|
+
SplitButton.options = options49;
|
|
7607
7780
|
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
7608
|
-
SplitButton.defaultProps =
|
|
7781
|
+
SplitButton.defaultProps = defaultProps46;
|
|
7609
7782
|
var split_button_spec_default = SplitButton;
|
|
7610
7783
|
|
|
7611
7784
|
// src/toolbar/toolbar.spec.tsx
|
|
7612
|
-
import { jsx as
|
|
7785
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
7613
7786
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7614
|
-
var
|
|
7787
|
+
var states53 = [
|
|
7615
7788
|
States.focus
|
|
7616
7789
|
];
|
|
7617
|
-
var
|
|
7790
|
+
var options50 = {
|
|
7618
7791
|
size: [Size.small, Size.medium, Size.large]
|
|
7619
7792
|
};
|
|
7620
|
-
var
|
|
7793
|
+
var defaultProps47 = {
|
|
7621
7794
|
size: Size.medium
|
|
7622
7795
|
};
|
|
7623
7796
|
var Toolbar = (props) => {
|
|
7624
7797
|
const {
|
|
7625
|
-
size =
|
|
7798
|
+
size = defaultProps47.size,
|
|
7626
7799
|
focus,
|
|
7627
7800
|
resizable,
|
|
7628
7801
|
...other
|
|
@@ -7632,7 +7805,7 @@ var Toolbar = (props) => {
|
|
|
7632
7805
|
const tempToolbarChildren = [];
|
|
7633
7806
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7634
7807
|
tempToolbarChildren.push(
|
|
7635
|
-
/* @__PURE__ */
|
|
7808
|
+
/* @__PURE__ */ jsx123(
|
|
7636
7809
|
Button,
|
|
7637
7810
|
{
|
|
7638
7811
|
...child.props,
|
|
@@ -7643,7 +7816,7 @@ var Toolbar = (props) => {
|
|
|
7643
7816
|
);
|
|
7644
7817
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7645
7818
|
tempToolbarChildren.push(
|
|
7646
|
-
/* @__PURE__ */
|
|
7819
|
+
/* @__PURE__ */ jsx123(
|
|
7647
7820
|
Button,
|
|
7648
7821
|
{
|
|
7649
7822
|
...child.props,
|
|
@@ -7654,7 +7827,7 @@ var Toolbar = (props) => {
|
|
|
7654
7827
|
);
|
|
7655
7828
|
} else if (child.type === Button) {
|
|
7656
7829
|
tempToolbarChildren.push(
|
|
7657
|
-
/* @__PURE__ */
|
|
7830
|
+
/* @__PURE__ */ jsx123(
|
|
7658
7831
|
Button,
|
|
7659
7832
|
{
|
|
7660
7833
|
...child.props,
|
|
@@ -7665,7 +7838,7 @@ var Toolbar = (props) => {
|
|
|
7665
7838
|
);
|
|
7666
7839
|
} else if (child.type === MenuButton) {
|
|
7667
7840
|
tempToolbarChildren.push(
|
|
7668
|
-
/* @__PURE__ */
|
|
7841
|
+
/* @__PURE__ */ jsx123(
|
|
7669
7842
|
MenuButton,
|
|
7670
7843
|
{
|
|
7671
7844
|
...child.props,
|
|
@@ -7676,7 +7849,7 @@ var Toolbar = (props) => {
|
|
|
7676
7849
|
);
|
|
7677
7850
|
} else if (child.type === split_button_spec_default) {
|
|
7678
7851
|
tempToolbarChildren.push(
|
|
7679
|
-
/* @__PURE__ */
|
|
7852
|
+
/* @__PURE__ */ jsx123(
|
|
7680
7853
|
split_button_spec_default,
|
|
7681
7854
|
{
|
|
7682
7855
|
...child.props,
|
|
@@ -7690,7 +7863,7 @@ var Toolbar = (props) => {
|
|
|
7690
7863
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7691
7864
|
childrenArray.forEach((button, bindex) => {
|
|
7692
7865
|
buttonGroupItems.push(
|
|
7693
|
-
/* @__PURE__ */
|
|
7866
|
+
/* @__PURE__ */ jsx123(
|
|
7694
7867
|
Button,
|
|
7695
7868
|
{
|
|
7696
7869
|
...button.props,
|
|
@@ -7701,7 +7874,7 @@ var Toolbar = (props) => {
|
|
|
7701
7874
|
);
|
|
7702
7875
|
});
|
|
7703
7876
|
tempToolbarChildren.push(
|
|
7704
|
-
/* @__PURE__ */
|
|
7877
|
+
/* @__PURE__ */ jsx123(
|
|
7705
7878
|
ButtonGroup,
|
|
7706
7879
|
{
|
|
7707
7880
|
...child.props,
|
|
@@ -7713,7 +7886,7 @@ var Toolbar = (props) => {
|
|
|
7713
7886
|
);
|
|
7714
7887
|
} else if (child.type === Combobox) {
|
|
7715
7888
|
tempToolbarChildren.push(
|
|
7716
|
-
/* @__PURE__ */
|
|
7889
|
+
/* @__PURE__ */ jsx123(
|
|
7717
7890
|
Combobox,
|
|
7718
7891
|
{
|
|
7719
7892
|
...child.props,
|
|
@@ -7724,7 +7897,7 @@ var Toolbar = (props) => {
|
|
|
7724
7897
|
);
|
|
7725
7898
|
} else if (child.type === DropdownList) {
|
|
7726
7899
|
tempToolbarChildren.push(
|
|
7727
|
-
/* @__PURE__ */
|
|
7900
|
+
/* @__PURE__ */ jsx123(
|
|
7728
7901
|
DropdownList,
|
|
7729
7902
|
{
|
|
7730
7903
|
...child.props,
|
|
@@ -7735,7 +7908,7 @@ var Toolbar = (props) => {
|
|
|
7735
7908
|
);
|
|
7736
7909
|
} else if (child.type === ColorPicker) {
|
|
7737
7910
|
tempToolbarChildren.push(
|
|
7738
|
-
/* @__PURE__ */
|
|
7911
|
+
/* @__PURE__ */ jsx123(
|
|
7739
7912
|
ColorPicker,
|
|
7740
7913
|
{
|
|
7741
7914
|
...child.props,
|
|
@@ -7757,7 +7930,7 @@ var Toolbar = (props) => {
|
|
|
7757
7930
|
addUniqueToolClass(child, index);
|
|
7758
7931
|
});
|
|
7759
7932
|
}
|
|
7760
|
-
return /* @__PURE__ */
|
|
7933
|
+
return /* @__PURE__ */ jsx123(
|
|
7761
7934
|
"div",
|
|
7762
7935
|
{
|
|
7763
7936
|
...other,
|
|
@@ -7778,26 +7951,26 @@ var Toolbar = (props) => {
|
|
|
7778
7951
|
}
|
|
7779
7952
|
);
|
|
7780
7953
|
};
|
|
7781
|
-
Toolbar.states =
|
|
7782
|
-
Toolbar.options =
|
|
7954
|
+
Toolbar.states = states53;
|
|
7955
|
+
Toolbar.options = options50;
|
|
7783
7956
|
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
7784
|
-
Toolbar.defaultProps =
|
|
7957
|
+
Toolbar.defaultProps = defaultProps47;
|
|
7785
7958
|
|
|
7786
7959
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7787
|
-
import { jsx as
|
|
7960
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
7788
7961
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7789
|
-
var
|
|
7962
|
+
var states54 = [
|
|
7790
7963
|
States.focus
|
|
7791
7964
|
];
|
|
7792
|
-
var
|
|
7965
|
+
var options51 = {
|
|
7793
7966
|
size: [Size.small, Size.medium, Size.large]
|
|
7794
7967
|
};
|
|
7795
|
-
var
|
|
7968
|
+
var defaultProps48 = {
|
|
7796
7969
|
size: Size.medium
|
|
7797
7970
|
};
|
|
7798
7971
|
var ToolbarAngular = (props) => {
|
|
7799
7972
|
const {
|
|
7800
|
-
size =
|
|
7973
|
+
size = defaultProps48.size,
|
|
7801
7974
|
focus,
|
|
7802
7975
|
resizable,
|
|
7803
7976
|
...other
|
|
@@ -7807,7 +7980,7 @@ var ToolbarAngular = (props) => {
|
|
|
7807
7980
|
const tempToolbarChildren = [];
|
|
7808
7981
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7809
7982
|
tempToolbarChildren.push(
|
|
7810
|
-
/* @__PURE__ */
|
|
7983
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7811
7984
|
Button,
|
|
7812
7985
|
{
|
|
7813
7986
|
...child.props,
|
|
@@ -7818,7 +7991,7 @@ var ToolbarAngular = (props) => {
|
|
|
7818
7991
|
);
|
|
7819
7992
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7820
7993
|
tempToolbarChildren.push(
|
|
7821
|
-
/* @__PURE__ */
|
|
7994
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7822
7995
|
Button,
|
|
7823
7996
|
{
|
|
7824
7997
|
...child.props,
|
|
@@ -7829,7 +8002,7 @@ var ToolbarAngular = (props) => {
|
|
|
7829
8002
|
);
|
|
7830
8003
|
} else if (child.type === Button) {
|
|
7831
8004
|
tempToolbarChildren.push(
|
|
7832
|
-
/* @__PURE__ */
|
|
8005
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7833
8006
|
Button,
|
|
7834
8007
|
{
|
|
7835
8008
|
...child.props,
|
|
@@ -7840,7 +8013,7 @@ var ToolbarAngular = (props) => {
|
|
|
7840
8013
|
);
|
|
7841
8014
|
} else if (child.type === MenuButton) {
|
|
7842
8015
|
tempToolbarChildren.push(
|
|
7843
|
-
/* @__PURE__ */
|
|
8016
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7844
8017
|
MenuButton,
|
|
7845
8018
|
{
|
|
7846
8019
|
...child.props,
|
|
@@ -7851,7 +8024,7 @@ var ToolbarAngular = (props) => {
|
|
|
7851
8024
|
);
|
|
7852
8025
|
} else if (child.type === split_button_spec_default) {
|
|
7853
8026
|
tempToolbarChildren.push(
|
|
7854
|
-
/* @__PURE__ */
|
|
8027
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7855
8028
|
split_button_spec_default,
|
|
7856
8029
|
{
|
|
7857
8030
|
...child.props,
|
|
@@ -7865,7 +8038,7 @@ var ToolbarAngular = (props) => {
|
|
|
7865
8038
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7866
8039
|
childrenArray.forEach((button, bindex) => {
|
|
7867
8040
|
buttonGroupItems.push(
|
|
7868
|
-
/* @__PURE__ */
|
|
8041
|
+
/* @__PURE__ */ jsx124(
|
|
7869
8042
|
Button,
|
|
7870
8043
|
{
|
|
7871
8044
|
...button.props,
|
|
@@ -7876,7 +8049,7 @@ var ToolbarAngular = (props) => {
|
|
|
7876
8049
|
);
|
|
7877
8050
|
});
|
|
7878
8051
|
tempToolbarChildren.push(
|
|
7879
|
-
/* @__PURE__ */
|
|
8052
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7880
8053
|
ButtonGroup,
|
|
7881
8054
|
{
|
|
7882
8055
|
...child.props,
|
|
@@ -7888,7 +8061,7 @@ var ToolbarAngular = (props) => {
|
|
|
7888
8061
|
);
|
|
7889
8062
|
} else if (child.type === Combobox) {
|
|
7890
8063
|
tempToolbarChildren.push(
|
|
7891
|
-
/* @__PURE__ */
|
|
8064
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7892
8065
|
Combobox,
|
|
7893
8066
|
{
|
|
7894
8067
|
...child.props,
|
|
@@ -7899,7 +8072,7 @@ var ToolbarAngular = (props) => {
|
|
|
7899
8072
|
);
|
|
7900
8073
|
} else if (child.type === DropdownList) {
|
|
7901
8074
|
tempToolbarChildren.push(
|
|
7902
|
-
/* @__PURE__ */
|
|
8075
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7903
8076
|
DropdownList,
|
|
7904
8077
|
{
|
|
7905
8078
|
...child.props,
|
|
@@ -7910,7 +8083,7 @@ var ToolbarAngular = (props) => {
|
|
|
7910
8083
|
);
|
|
7911
8084
|
} else if (child.type === ColorPicker) {
|
|
7912
8085
|
tempToolbarChildren.push(
|
|
7913
|
-
/* @__PURE__ */
|
|
8086
|
+
/* @__PURE__ */ jsx124("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx124(
|
|
7914
8087
|
ColorPicker,
|
|
7915
8088
|
{
|
|
7916
8089
|
...child.props,
|
|
@@ -7932,7 +8105,7 @@ var ToolbarAngular = (props) => {
|
|
|
7932
8105
|
addUniqueToolClass(child, index);
|
|
7933
8106
|
});
|
|
7934
8107
|
}
|
|
7935
|
-
return /* @__PURE__ */
|
|
8108
|
+
return /* @__PURE__ */ jsx124(
|
|
7936
8109
|
"div",
|
|
7937
8110
|
{
|
|
7938
8111
|
...other,
|
|
@@ -7953,28 +8126,28 @@ var ToolbarAngular = (props) => {
|
|
|
7953
8126
|
}
|
|
7954
8127
|
);
|
|
7955
8128
|
};
|
|
7956
|
-
ToolbarAngular.states =
|
|
7957
|
-
ToolbarAngular.options =
|
|
8129
|
+
ToolbarAngular.states = states54;
|
|
8130
|
+
ToolbarAngular.options = options51;
|
|
7958
8131
|
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
7959
|
-
ToolbarAngular.defaultProps =
|
|
8132
|
+
ToolbarAngular.defaultProps = defaultProps48;
|
|
7960
8133
|
|
|
7961
8134
|
// src/toolbar/toolbar-separator.tsx
|
|
7962
|
-
import { jsx as
|
|
8135
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
7963
8136
|
|
|
7964
8137
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7965
|
-
import { jsx as
|
|
8138
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
7966
8139
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7967
|
-
var
|
|
8140
|
+
var states55 = [
|
|
7968
8141
|
States.focus
|
|
7969
8142
|
];
|
|
7970
|
-
var
|
|
7971
|
-
var
|
|
8143
|
+
var options52 = {};
|
|
8144
|
+
var defaultProps49 = {};
|
|
7972
8145
|
var ToolbarItem = (props) => {
|
|
7973
8146
|
const {
|
|
7974
8147
|
focus,
|
|
7975
8148
|
...other
|
|
7976
8149
|
} = props;
|
|
7977
|
-
return /* @__PURE__ */
|
|
8150
|
+
return /* @__PURE__ */ jsx126(
|
|
7978
8151
|
"div",
|
|
7979
8152
|
{
|
|
7980
8153
|
...other,
|
|
@@ -7989,20 +8162,20 @@ var ToolbarItem = (props) => {
|
|
|
7989
8162
|
}
|
|
7990
8163
|
);
|
|
7991
8164
|
};
|
|
7992
|
-
ToolbarItem.states =
|
|
7993
|
-
ToolbarItem.options =
|
|
8165
|
+
ToolbarItem.states = states55;
|
|
8166
|
+
ToolbarItem.options = options52;
|
|
7994
8167
|
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
7995
|
-
ToolbarItem.defaultProps =
|
|
8168
|
+
ToolbarItem.defaultProps = defaultProps49;
|
|
7996
8169
|
|
|
7997
8170
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7998
|
-
import { jsx as
|
|
8171
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
7999
8172
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
8000
|
-
var
|
|
8001
|
-
var
|
|
8002
|
-
var
|
|
8173
|
+
var states56 = [];
|
|
8174
|
+
var options53 = {};
|
|
8175
|
+
var defaultProps50 = {};
|
|
8003
8176
|
var ToolbarPopup = (props) => {
|
|
8004
8177
|
const { ...other } = props;
|
|
8005
|
-
return /* @__PURE__ */
|
|
8178
|
+
return /* @__PURE__ */ jsx127(
|
|
8006
8179
|
Popup,
|
|
8007
8180
|
{
|
|
8008
8181
|
...other,
|
|
@@ -8014,75 +8187,75 @@ var ToolbarPopup = (props) => {
|
|
|
8014
8187
|
}
|
|
8015
8188
|
);
|
|
8016
8189
|
};
|
|
8017
|
-
ToolbarPopup.states =
|
|
8018
|
-
ToolbarPopup.options =
|
|
8190
|
+
ToolbarPopup.states = states56;
|
|
8191
|
+
ToolbarPopup.options = options53;
|
|
8019
8192
|
ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
8020
|
-
ToolbarPopup.defaultProps =
|
|
8193
|
+
ToolbarPopup.defaultProps = defaultProps50;
|
|
8021
8194
|
|
|
8022
8195
|
// src/split-button/templates/icon-split-button.tsx
|
|
8023
|
-
import { jsx as
|
|
8196
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
8024
8197
|
|
|
8025
8198
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
8026
|
-
import { jsx as
|
|
8199
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
8027
8200
|
|
|
8028
8201
|
// src/split-button/templates/text-split-button.tsx
|
|
8029
|
-
import { jsx as
|
|
8202
|
+
import { jsx as jsx130 } from "react/jsx-runtime";
|
|
8030
8203
|
|
|
8031
8204
|
// src/split-button/templates/split-button-popup.tsx
|
|
8032
|
-
import { jsx as
|
|
8205
|
+
import { jsx as jsx131, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8033
8206
|
|
|
8034
8207
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
8035
|
-
import { Fragment as
|
|
8208
|
+
import { Fragment as Fragment38, jsx as jsx132, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8036
8209
|
|
|
8037
8210
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
8038
|
-
import { jsx as
|
|
8211
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
8039
8212
|
|
|
8040
8213
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
8041
|
-
import { jsx as
|
|
8214
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
8042
8215
|
|
|
8043
8216
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
8044
|
-
import { jsx as
|
|
8217
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
8045
8218
|
|
|
8046
8219
|
// src/spreadsheet/tests/spreadsheet-format-dialogs.tsx
|
|
8047
|
-
import { Fragment as
|
|
8220
|
+
import { Fragment as Fragment39, jsx as jsx136, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8048
8221
|
var style = `
|
|
8049
8222
|
.k-window {
|
|
8050
8223
|
min-width: 400px;
|
|
8051
8224
|
position: relative;
|
|
8052
8225
|
}
|
|
8053
8226
|
`;
|
|
8054
|
-
var spreadsheet_format_dialogs_default = () => /* @__PURE__ */
|
|
8055
|
-
/* @__PURE__ */
|
|
8056
|
-
/* @__PURE__ */
|
|
8057
|
-
/* @__PURE__ */
|
|
8058
|
-
/* @__PURE__ */
|
|
8059
|
-
/* @__PURE__ */
|
|
8060
|
-
] }), children: /* @__PURE__ */
|
|
8061
|
-
/* @__PURE__ */
|
|
8062
|
-
/* @__PURE__ */
|
|
8063
|
-
/* @__PURE__ */
|
|
8064
|
-
/* @__PURE__ */
|
|
8065
|
-
/* @__PURE__ */
|
|
8066
|
-
/* @__PURE__ */
|
|
8067
|
-
/* @__PURE__ */
|
|
8068
|
-
/* @__PURE__ */
|
|
8227
|
+
var spreadsheet_format_dialogs_default = () => /* @__PURE__ */ jsxs60(Fragment39, { children: [
|
|
8228
|
+
/* @__PURE__ */ jsx136("style", { children: style }),
|
|
8229
|
+
/* @__PURE__ */ jsxs60("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
8230
|
+
/* @__PURE__ */ jsx136("section", { children: /* @__PURE__ */ jsx136(WindowNormal, { title: "Custom Format", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs60(Fragment39, { children: [
|
|
8231
|
+
/* @__PURE__ */ jsx136(Button, { themeColor: "primary", children: "Apply" }),
|
|
8232
|
+
/* @__PURE__ */ jsx136(Button, { children: "Cancel" })
|
|
8233
|
+
] }), children: /* @__PURE__ */ jsxs60(FormNormal, { formButtons: null, children: [
|
|
8234
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Category", editor: /* @__PURE__ */ jsx136(DropdownList, { value: "Date" }) }),
|
|
8235
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Sample", editor: /* @__PURE__ */ jsx136(DateInput, { value: "1/17/2022" }) }),
|
|
8236
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Symbol", editor: /* @__PURE__ */ jsxs60(ListBox, { style: { width: "100%" }, children: [
|
|
8237
|
+
/* @__PURE__ */ jsx136(ListItem, { children: "1/17/2022" }),
|
|
8238
|
+
/* @__PURE__ */ jsx136(ListItem, { children: "Monday, January 17, 2022" }),
|
|
8239
|
+
/* @__PURE__ */ jsx136(ListItem, { children: "Monday, January 17, 2022 6:25:37 PM" }),
|
|
8240
|
+
/* @__PURE__ */ jsx136(ListItem, { children: "1/17/2022 6:25 PM" }),
|
|
8241
|
+
/* @__PURE__ */ jsx136(ListItem, { children: "1/17/2022 6:25:37 PM" })
|
|
8069
8242
|
] }) })
|
|
8070
8243
|
] }) }) }),
|
|
8071
|
-
/* @__PURE__ */
|
|
8072
|
-
/* @__PURE__ */
|
|
8073
|
-
/* @__PURE__ */
|
|
8074
|
-
] }), children: /* @__PURE__ */
|
|
8075
|
-
/* @__PURE__ */
|
|
8076
|
-
/* @__PURE__ */
|
|
8077
|
-
/* @__PURE__ */
|
|
8078
|
-
/* @__PURE__ */
|
|
8079
|
-
/* @__PURE__ */
|
|
8080
|
-
/* @__PURE__ */
|
|
8081
|
-
/* @__PURE__ */
|
|
8082
|
-
/* @__PURE__ */
|
|
8083
|
-
/* @__PURE__ */
|
|
8084
|
-
/* @__PURE__ */
|
|
8085
|
-
/* @__PURE__ */
|
|
8244
|
+
/* @__PURE__ */ jsx136("section", { children: /* @__PURE__ */ jsx136(WindowNormal, { title: "Conditional Formatting", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs60(Fragment39, { children: [
|
|
8245
|
+
/* @__PURE__ */ jsx136(Button, { themeColor: "primary", children: "Apply" }),
|
|
8246
|
+
/* @__PURE__ */ jsx136(Button, { children: "Cancel" })
|
|
8247
|
+
] }), children: /* @__PURE__ */ jsxs60(FormNormal, { formButtons: null, children: [
|
|
8248
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Apply to range", editor: /* @__PURE__ */ jsx136(Textbox, { placeholder: "Placeholder" }) }),
|
|
8249
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Format cells if", editor: /* @__PURE__ */ jsx136(DropdownList, { value: "Cell value" }) }),
|
|
8250
|
+
/* @__PURE__ */ jsx136(FormField, { label: "is", editor: /* @__PURE__ */ jsx136(DropdownList, { value: "Greater than" }) }),
|
|
8251
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Apply to range", editor: /* @__PURE__ */ jsx136(Textbox, { placeholder: "Placeholder" }) }),
|
|
8252
|
+
/* @__PURE__ */ jsx136(FormField, { label: "Format with", editor: /* @__PURE__ */ jsxs60(Toolbar, { resizable: true, children: [
|
|
8253
|
+
/* @__PURE__ */ jsx136(Button, { icon: "bold" }),
|
|
8254
|
+
/* @__PURE__ */ jsx136(Button, { icon: "italic" }),
|
|
8255
|
+
/* @__PURE__ */ jsx136(Button, { icon: "underline" }),
|
|
8256
|
+
/* @__PURE__ */ jsx136(Button, { icon: "strikethrough" }),
|
|
8257
|
+
/* @__PURE__ */ jsx136(ColorPicker, { value: "red", valueIconName: "foreground-color" }),
|
|
8258
|
+
/* @__PURE__ */ jsx136(ColorPicker, { value: "fuchsia", valueIconName: "droplet" })
|
|
8086
8259
|
] }) })
|
|
8087
8260
|
] }) }) })
|
|
8088
8261
|
] })
|