@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.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/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- 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/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- 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/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- 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 +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4566,7 +4566,7 @@ var Upload = (props) => {
|
|
|
4566
4566
|
props.children && /* @__PURE__ */ jsx10("ul", { className: "k-upload-files", children: props.children }),
|
|
4567
4567
|
actions && /* @__PURE__ */ jsxs3(action_buttons_spec_default, { alignment: "end", orientation: "horizontal", children: [
|
|
4568
4568
|
/* @__PURE__ */ jsx10(Button, { className: "k-clear-selected", children: "Clear" }),
|
|
4569
|
-
/* @__PURE__ */ jsx10(Button, { themeColor: "primary", className: "k-upload-selected", children: "
|
|
4569
|
+
/* @__PURE__ */ jsx10(Button, { themeColor: "primary", className: "k-upload-selected", children: "Upload" })
|
|
4570
4570
|
] })
|
|
4571
4571
|
]
|
|
4572
4572
|
}
|
|
@@ -4725,8 +4725,24 @@ import { Fragment as Fragment6, jsx as jsx16, jsxs as jsxs6 } from "react/jsx-ru
|
|
|
4725
4725
|
// src/upload/upload-file-multiple.tsx
|
|
4726
4726
|
import { Fragment as Fragment7, jsx as jsx17, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4727
4727
|
|
|
4728
|
+
// src/upload/templates/upload-chunk.tsx
|
|
4729
|
+
import { Fragment as Fragment8, jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4730
|
+
|
|
4731
|
+
// src/upload/templates/upload-batch.tsx
|
|
4732
|
+
import { Fragment as Fragment9, jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4733
|
+
|
|
4734
|
+
// src/upload/templates/upload-normal.tsx
|
|
4735
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4736
|
+
var UploadNormal = (props) => /* @__PURE__ */ jsx20(
|
|
4737
|
+
Upload,
|
|
4738
|
+
{
|
|
4739
|
+
async: true,
|
|
4740
|
+
...props
|
|
4741
|
+
}
|
|
4742
|
+
);
|
|
4743
|
+
|
|
4728
4744
|
// src/button-group/button-group.spec.tsx
|
|
4729
|
-
import { jsx as
|
|
4745
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
4730
4746
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4731
4747
|
var states10 = [
|
|
4732
4748
|
States.disabled
|
|
@@ -4744,7 +4760,7 @@ var ButtonGroup = (props) => {
|
|
|
4744
4760
|
stretched,
|
|
4745
4761
|
...other
|
|
4746
4762
|
} = props;
|
|
4747
|
-
return /* @__PURE__ */
|
|
4763
|
+
return /* @__PURE__ */ jsx21(
|
|
4748
4764
|
"div",
|
|
4749
4765
|
{
|
|
4750
4766
|
...other,
|
|
@@ -4771,19 +4787,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
4771
4787
|
ButtonGroup.defaultProps = defaultProps9;
|
|
4772
4788
|
|
|
4773
4789
|
// src/button-group/templates/icon-button-group.tsx
|
|
4774
|
-
import { jsx as
|
|
4790
|
+
import { jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4775
4791
|
|
|
4776
4792
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
4777
|
-
import { jsx as
|
|
4793
|
+
import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
4778
4794
|
|
|
4779
4795
|
// src/button-group/templates/text-button-group.tsx
|
|
4780
|
-
import { jsx as
|
|
4796
|
+
import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
4781
4797
|
|
|
4782
4798
|
// src/button-group/templates/mixed-button-group.tsx
|
|
4783
|
-
import { jsx as
|
|
4799
|
+
import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
4784
4800
|
|
|
4785
4801
|
// src/input/input.spec.tsx
|
|
4786
|
-
import { jsx as
|
|
4802
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4787
4803
|
var INPUT_CLASSNAME = `k-input`;
|
|
4788
4804
|
var states11 = [
|
|
4789
4805
|
States.hover,
|
|
@@ -4819,7 +4835,7 @@ var Input = (props) => {
|
|
|
4819
4835
|
fillMode = defaultProps10.fillMode,
|
|
4820
4836
|
...other
|
|
4821
4837
|
} = props;
|
|
4822
|
-
return /* @__PURE__ */
|
|
4838
|
+
return /* @__PURE__ */ jsx26(
|
|
4823
4839
|
"span",
|
|
4824
4840
|
{
|
|
4825
4841
|
...other,
|
|
@@ -4838,7 +4854,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4838
4854
|
Input.defaultProps = defaultProps10;
|
|
4839
4855
|
|
|
4840
4856
|
// src/input/picker.spec.tsx
|
|
4841
|
-
import { jsx as
|
|
4857
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4842
4858
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4843
4859
|
var pickerStates = [
|
|
4844
4860
|
States.hover,
|
|
@@ -4874,7 +4890,7 @@ var Picker = (props) => {
|
|
|
4874
4890
|
fillMode = defaultProps11.fillMode,
|
|
4875
4891
|
...other
|
|
4876
4892
|
} = props;
|
|
4877
|
-
return /* @__PURE__ */
|
|
4893
|
+
return /* @__PURE__ */ jsx27(
|
|
4878
4894
|
"span",
|
|
4879
4895
|
{
|
|
4880
4896
|
...other,
|
|
@@ -4894,7 +4910,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4894
4910
|
Picker.defaultProps = defaultProps11;
|
|
4895
4911
|
|
|
4896
4912
|
// src/input/input-clear-value.tsx
|
|
4897
|
-
import { Fragment as
|
|
4913
|
+
import { Fragment as Fragment10, jsx as jsx28 } from "react/jsx-runtime";
|
|
4898
4914
|
var className = `k-clear-value`;
|
|
4899
4915
|
var states12 = [
|
|
4900
4916
|
States.disabled,
|
|
@@ -4910,16 +4926,16 @@ var InputClearValue = (props) => {
|
|
|
4910
4926
|
value
|
|
4911
4927
|
} = props;
|
|
4912
4928
|
if (disabled || readonly || loading || !value) {
|
|
4913
|
-
return /* @__PURE__ */
|
|
4929
|
+
return /* @__PURE__ */ jsx28(Fragment10, {});
|
|
4914
4930
|
}
|
|
4915
|
-
return /* @__PURE__ */
|
|
4931
|
+
return /* @__PURE__ */ jsx28("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx28(Icon, { icon: "x" }) });
|
|
4916
4932
|
};
|
|
4917
4933
|
InputClearValue.states = states12;
|
|
4918
4934
|
InputClearValue.options = options11;
|
|
4919
4935
|
InputClearValue.className = className;
|
|
4920
4936
|
|
|
4921
4937
|
// src/input/input-inner-input.tsx
|
|
4922
|
-
import { jsx as
|
|
4938
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
4923
4939
|
var className2 = `k-input-inner`;
|
|
4924
4940
|
var states13 = [];
|
|
4925
4941
|
var options12 = {};
|
|
@@ -4937,7 +4953,7 @@ var InputInnerInput = (props) => {
|
|
|
4937
4953
|
autocomplete = defaultProps12.autocomplete,
|
|
4938
4954
|
...other
|
|
4939
4955
|
} = props;
|
|
4940
|
-
return /* @__PURE__ */
|
|
4956
|
+
return /* @__PURE__ */ jsx29(
|
|
4941
4957
|
"input",
|
|
4942
4958
|
{
|
|
4943
4959
|
...other,
|
|
@@ -4954,7 +4970,7 @@ InputInnerInput.options = options12;
|
|
|
4954
4970
|
InputInnerInput.className = className2;
|
|
4955
4971
|
|
|
4956
4972
|
// src/input/input-inner-span.tsx
|
|
4957
|
-
import { jsx as
|
|
4973
|
+
import { jsx as jsx30, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
4958
4974
|
var className3 = `k-input-inner`;
|
|
4959
4975
|
var states14 = [];
|
|
4960
4976
|
var options13 = {};
|
|
@@ -4967,16 +4983,16 @@ var InputInnerSpan = (props) => {
|
|
|
4967
4983
|
valueIconName,
|
|
4968
4984
|
...other
|
|
4969
4985
|
} = props;
|
|
4970
|
-
return /* @__PURE__ */
|
|
4986
|
+
return /* @__PURE__ */ jsxs14(
|
|
4971
4987
|
"span",
|
|
4972
4988
|
{
|
|
4973
4989
|
...other,
|
|
4974
4990
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4975
4991
|
children: [
|
|
4976
4992
|
valueIcon,
|
|
4977
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4993
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx30(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4978
4994
|
showValue && !value && placeholder,
|
|
4979
|
-
showValue && value && /* @__PURE__ */
|
|
4995
|
+
showValue && value && /* @__PURE__ */ jsx30("span", { className: "k-input-value-text", children: value })
|
|
4980
4996
|
]
|
|
4981
4997
|
}
|
|
4982
4998
|
);
|
|
@@ -4986,7 +5002,7 @@ InputInnerSpan.options = options13;
|
|
|
4986
5002
|
InputInnerSpan.className = className3;
|
|
4987
5003
|
|
|
4988
5004
|
// src/input/input-inner-textarea.tsx
|
|
4989
|
-
import { jsx as
|
|
5005
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
4990
5006
|
var defaultProps13 = {
|
|
4991
5007
|
value: "",
|
|
4992
5008
|
placeholder: ""
|
|
@@ -5001,7 +5017,7 @@ var InputInnerTextarea = (props) => {
|
|
|
5001
5017
|
rows,
|
|
5002
5018
|
...other
|
|
5003
5019
|
} = props;
|
|
5004
|
-
return /* @__PURE__ */
|
|
5020
|
+
return /* @__PURE__ */ jsx31(
|
|
5005
5021
|
"textarea",
|
|
5006
5022
|
{
|
|
5007
5023
|
...other,
|
|
@@ -5017,7 +5033,7 @@ InputInnerTextarea.options = options14;
|
|
|
5017
5033
|
InputInnerTextarea.className = className4;
|
|
5018
5034
|
|
|
5019
5035
|
// src/input/input-loading-icon.tsx
|
|
5020
|
-
import { Fragment as
|
|
5036
|
+
import { Fragment as Fragment11, jsx as jsx32 } from "react/jsx-runtime";
|
|
5021
5037
|
var className5 = `k-input-loading-icon`;
|
|
5022
5038
|
var states16 = [
|
|
5023
5039
|
States.disabled,
|
|
@@ -5029,13 +5045,13 @@ var InputLoadingIcon = (props) => {
|
|
|
5029
5045
|
loading
|
|
5030
5046
|
} = props;
|
|
5031
5047
|
if (disabled || !loading) {
|
|
5032
|
-
return /* @__PURE__ */
|
|
5048
|
+
return /* @__PURE__ */ jsx32(Fragment11, {});
|
|
5033
5049
|
}
|
|
5034
|
-
return /* @__PURE__ */
|
|
5050
|
+
return /* @__PURE__ */ jsx32("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
5035
5051
|
};
|
|
5036
5052
|
|
|
5037
5053
|
// src/input/input-validation-icon.tsx
|
|
5038
|
-
import { Fragment as
|
|
5054
|
+
import { Fragment as Fragment12, jsx as jsx33 } from "react/jsx-runtime";
|
|
5039
5055
|
var className6 = `k-input-validation-icon`;
|
|
5040
5056
|
var states17 = [
|
|
5041
5057
|
States.valid,
|
|
@@ -5054,39 +5070,39 @@ var InputValidationIcon = (props) => {
|
|
|
5054
5070
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
5055
5071
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
5056
5072
|
if (disabled || loading || !renderValidationIcon) {
|
|
5057
|
-
return /* @__PURE__ */
|
|
5073
|
+
return /* @__PURE__ */ jsx33(Fragment12, {});
|
|
5058
5074
|
}
|
|
5059
|
-
return /* @__PURE__ */
|
|
5075
|
+
return /* @__PURE__ */ jsx33(Icon, { className: classNames(className6), icon: iconName });
|
|
5060
5076
|
};
|
|
5061
5077
|
InputValidationIcon.states = states17;
|
|
5062
5078
|
InputValidationIcon.options = options15;
|
|
5063
5079
|
InputValidationIcon.className = className6;
|
|
5064
5080
|
|
|
5065
5081
|
// src/input/input-prefix.tsx
|
|
5066
|
-
import { Fragment as
|
|
5082
|
+
import { Fragment as Fragment13, jsx as jsx34 } from "react/jsx-runtime";
|
|
5067
5083
|
var className7 = `k-input-prefix`;
|
|
5068
5084
|
var InputPrefix = (props) => {
|
|
5069
5085
|
if (!props.children) {
|
|
5070
|
-
return /* @__PURE__ */
|
|
5086
|
+
return /* @__PURE__ */ jsx34(Fragment13, {});
|
|
5071
5087
|
}
|
|
5072
|
-
return /* @__PURE__ */
|
|
5088
|
+
return /* @__PURE__ */ jsx34("span", { className: classNames(className7, props.className), children: props.children });
|
|
5073
5089
|
};
|
|
5074
5090
|
|
|
5075
5091
|
// src/input/input-suffix.tsx
|
|
5076
|
-
import { Fragment as
|
|
5092
|
+
import { Fragment as Fragment14, jsx as jsx35 } from "react/jsx-runtime";
|
|
5077
5093
|
var className8 = `k-input-suffix`;
|
|
5078
5094
|
var InputSuffix = (props) => {
|
|
5079
5095
|
if (!props.children) {
|
|
5080
|
-
return /* @__PURE__ */
|
|
5096
|
+
return /* @__PURE__ */ jsx35(Fragment14, {});
|
|
5081
5097
|
}
|
|
5082
|
-
return /* @__PURE__ */
|
|
5098
|
+
return /* @__PURE__ */ jsx35("span", { className: classNames(className8, props.className), children: props.children });
|
|
5083
5099
|
};
|
|
5084
5100
|
|
|
5085
5101
|
// src/input/input-separator.tsx
|
|
5086
|
-
import { jsx as
|
|
5102
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5087
5103
|
|
|
5088
5104
|
// src/color-preview/color-preview.tsx
|
|
5089
|
-
import { jsx as
|
|
5105
|
+
import { jsx as jsx37, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5090
5106
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5091
5107
|
var states18 = [];
|
|
5092
5108
|
var options16 = {};
|
|
@@ -5096,7 +5112,7 @@ var ColorPreview = (props) => {
|
|
|
5096
5112
|
iconName,
|
|
5097
5113
|
...other
|
|
5098
5114
|
} = props;
|
|
5099
|
-
return /* @__PURE__ */
|
|
5115
|
+
return /* @__PURE__ */ jsxs15(
|
|
5100
5116
|
"span",
|
|
5101
5117
|
{
|
|
5102
5118
|
...other,
|
|
@@ -5109,8 +5125,8 @@ var ColorPreview = (props) => {
|
|
|
5109
5125
|
}
|
|
5110
5126
|
),
|
|
5111
5127
|
children: [
|
|
5112
|
-
iconName && /* @__PURE__ */
|
|
5113
|
-
/* @__PURE__ */
|
|
5128
|
+
iconName && /* @__PURE__ */ jsx37(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5129
|
+
/* @__PURE__ */ jsx37(
|
|
5114
5130
|
"span",
|
|
5115
5131
|
{
|
|
5116
5132
|
className: "k-color-preview-mask",
|
|
@@ -5126,7 +5142,7 @@ ColorPreview.options = options16;
|
|
|
5126
5142
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5127
5143
|
|
|
5128
5144
|
// src/animation-container/animation-container.spec.tsx
|
|
5129
|
-
import { jsx as
|
|
5145
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5130
5146
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5131
5147
|
var states19 = [];
|
|
5132
5148
|
var options17 = {};
|
|
@@ -5140,7 +5156,7 @@ var AnimationContainer = (props) => {
|
|
|
5140
5156
|
offset,
|
|
5141
5157
|
...other
|
|
5142
5158
|
} = props;
|
|
5143
|
-
return /* @__PURE__ */
|
|
5159
|
+
return /* @__PURE__ */ jsx38(
|
|
5144
5160
|
"div",
|
|
5145
5161
|
{
|
|
5146
5162
|
...other,
|
|
@@ -5152,7 +5168,7 @@ var AnimationContainer = (props) => {
|
|
|
5152
5168
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5153
5169
|
}
|
|
5154
5170
|
),
|
|
5155
|
-
children: /* @__PURE__ */
|
|
5171
|
+
children: /* @__PURE__ */ jsx38("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5156
5172
|
}
|
|
5157
5173
|
);
|
|
5158
5174
|
};
|
|
@@ -5162,7 +5178,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5162
5178
|
AnimationContainer.defaultProps = defaultProps14;
|
|
5163
5179
|
|
|
5164
5180
|
// src/popup/popup.spec.tsx
|
|
5165
|
-
import { jsx as
|
|
5181
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5166
5182
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5167
5183
|
var states20 = [];
|
|
5168
5184
|
var options18 = {};
|
|
@@ -5175,12 +5191,12 @@ var Popup = (props) => {
|
|
|
5175
5191
|
positionMode,
|
|
5176
5192
|
...other
|
|
5177
5193
|
} = props;
|
|
5178
|
-
return /* @__PURE__ */
|
|
5194
|
+
return /* @__PURE__ */ jsx39(
|
|
5179
5195
|
AnimationContainer,
|
|
5180
5196
|
{
|
|
5181
5197
|
positionMode,
|
|
5182
5198
|
offset,
|
|
5183
|
-
children: /* @__PURE__ */
|
|
5199
|
+
children: /* @__PURE__ */ jsx39("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5184
5200
|
}
|
|
5185
5201
|
);
|
|
5186
5202
|
};
|
|
@@ -5190,7 +5206,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5190
5206
|
Popup.defaultProps = defaultProps15;
|
|
5191
5207
|
|
|
5192
5208
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5193
|
-
import { Fragment as
|
|
5209
|
+
import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5194
5210
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5195
5211
|
var states21 = [
|
|
5196
5212
|
States.hover,
|
|
@@ -5232,8 +5248,8 @@ var ColorPicker = (props) => {
|
|
|
5232
5248
|
opened,
|
|
5233
5249
|
...other
|
|
5234
5250
|
} = props;
|
|
5235
|
-
return /* @__PURE__ */
|
|
5236
|
-
/* @__PURE__ */
|
|
5251
|
+
return /* @__PURE__ */ jsxs16(Fragment15, { children: [
|
|
5252
|
+
/* @__PURE__ */ jsxs16(
|
|
5237
5253
|
Picker,
|
|
5238
5254
|
{
|
|
5239
5255
|
...other,
|
|
@@ -5252,14 +5268,14 @@ var ColorPicker = (props) => {
|
|
|
5252
5268
|
"k-icon-picker"
|
|
5253
5269
|
),
|
|
5254
5270
|
children: [
|
|
5255
|
-
/* @__PURE__ */
|
|
5256
|
-
/* @__PURE__ */
|
|
5271
|
+
/* @__PURE__ */ jsx40(InputPrefix, { children: prefix }),
|
|
5272
|
+
/* @__PURE__ */ jsx40(
|
|
5257
5273
|
InputInnerSpan,
|
|
5258
5274
|
{
|
|
5259
5275
|
placeholder,
|
|
5260
5276
|
value,
|
|
5261
5277
|
showValue: false,
|
|
5262
|
-
valueIcon: /* @__PURE__ */
|
|
5278
|
+
valueIcon: /* @__PURE__ */ jsx40(
|
|
5263
5279
|
ColorPreview,
|
|
5264
5280
|
{
|
|
5265
5281
|
className: "k-value-icon",
|
|
@@ -5270,8 +5286,8 @@ var ColorPicker = (props) => {
|
|
|
5270
5286
|
valueIconName
|
|
5271
5287
|
}
|
|
5272
5288
|
),
|
|
5273
|
-
/* @__PURE__ */
|
|
5274
|
-
/* @__PURE__ */
|
|
5289
|
+
/* @__PURE__ */ jsx40(InputSuffix, { children: suffix }),
|
|
5290
|
+
/* @__PURE__ */ jsx40(
|
|
5275
5291
|
Button,
|
|
5276
5292
|
{
|
|
5277
5293
|
className: "k-input-button",
|
|
@@ -5284,7 +5300,7 @@ var ColorPicker = (props) => {
|
|
|
5284
5300
|
]
|
|
5285
5301
|
}
|
|
5286
5302
|
),
|
|
5287
|
-
opened && popup && /* @__PURE__ */
|
|
5303
|
+
opened && popup && /* @__PURE__ */ jsx40(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5288
5304
|
] });
|
|
5289
5305
|
};
|
|
5290
5306
|
ColorPicker.states = states21;
|
|
@@ -5293,10 +5309,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5293
5309
|
ColorPicker.defaultProps = defaultProps16;
|
|
5294
5310
|
|
|
5295
5311
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5296
|
-
import { jsx as
|
|
5312
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5297
5313
|
|
|
5298
5314
|
// src/slider/slider.spec.tsx
|
|
5299
|
-
import { jsx as
|
|
5315
|
+
import { jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5300
5316
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5301
5317
|
var states22 = [
|
|
5302
5318
|
States.hover,
|
|
@@ -5335,7 +5351,7 @@ var Slider = (props) => {
|
|
|
5335
5351
|
iconIncrease = "caret-alt-up";
|
|
5336
5352
|
iconDecrease = "caret-alt-down";
|
|
5337
5353
|
}
|
|
5338
|
-
return /* @__PURE__ */
|
|
5354
|
+
return /* @__PURE__ */ jsxs17("div", { className: classNames(
|
|
5339
5355
|
SLIDER_CLASSNAME,
|
|
5340
5356
|
props.className,
|
|
5341
5357
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5348,12 +5364,12 @@ var Slider = (props) => {
|
|
|
5348
5364
|
"k-range-slider": type === "range"
|
|
5349
5365
|
}
|
|
5350
5366
|
), dir, children: [
|
|
5351
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5352
|
-
/* @__PURE__ */
|
|
5353
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5354
|
-
/* @__PURE__ */
|
|
5355
|
-
/* @__PURE__ */
|
|
5356
|
-
type === "range" && /* @__PURE__ */
|
|
5367
|
+
type !== "gradient" && /* @__PURE__ */ jsx42(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5368
|
+
/* @__PURE__ */ jsxs17("div", { className: "k-slider-track-wrap", children: [
|
|
5369
|
+
type !== "gradient" && /* @__PURE__ */ jsx42("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5370
|
+
/* @__PURE__ */ jsxs17("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5371
|
+
/* @__PURE__ */ jsx42("div", { className: "k-slider-selection" }),
|
|
5372
|
+
type === "range" && /* @__PURE__ */ jsx42("span", { className: classNames(
|
|
5357
5373
|
"k-draghandle",
|
|
5358
5374
|
"k-draghandle-start",
|
|
5359
5375
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5362,7 +5378,7 @@ var Slider = (props) => {
|
|
|
5362
5378
|
active
|
|
5363
5379
|
})
|
|
5364
5380
|
) }),
|
|
5365
|
-
/* @__PURE__ */
|
|
5381
|
+
/* @__PURE__ */ jsx42("span", { className: classNames(
|
|
5366
5382
|
"k-draghandle",
|
|
5367
5383
|
`k-draghandle-${handlePosition}`,
|
|
5368
5384
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5373,7 +5389,7 @@ var Slider = (props) => {
|
|
|
5373
5389
|
) })
|
|
5374
5390
|
] })
|
|
5375
5391
|
] }),
|
|
5376
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5392
|
+
type !== "gradient" && /* @__PURE__ */ jsx42(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5377
5393
|
] });
|
|
5378
5394
|
};
|
|
5379
5395
|
Slider.states = states22;
|
|
@@ -5382,7 +5398,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
5382
5398
|
Slider.defaultProps = defaultProps17;
|
|
5383
5399
|
|
|
5384
5400
|
// src/slider/slider-tick.tsx
|
|
5385
|
-
import { jsx as
|
|
5401
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5386
5402
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5387
5403
|
var states23 = [];
|
|
5388
5404
|
var options21 = {};
|
|
@@ -5397,14 +5413,14 @@ var SliderTick = (props) => {
|
|
|
5397
5413
|
large,
|
|
5398
5414
|
text
|
|
5399
5415
|
} = props;
|
|
5400
|
-
return /* @__PURE__ */
|
|
5416
|
+
return /* @__PURE__ */ jsx43("li", { className: classNames(
|
|
5401
5417
|
props.className,
|
|
5402
5418
|
SLIDER_TICK_CLASSNAME,
|
|
5403
5419
|
{
|
|
5404
5420
|
[`k-tick-${orientation}`]: orientation,
|
|
5405
5421
|
"k-tick-large": large
|
|
5406
5422
|
}
|
|
5407
|
-
), style, children: label && /* @__PURE__ */
|
|
5423
|
+
), style, children: label && /* @__PURE__ */ jsx43("span", { className: "k-label", children: text }) });
|
|
5408
5424
|
};
|
|
5409
5425
|
SliderTick.states = states23;
|
|
5410
5426
|
SliderTick.options = options21;
|
|
@@ -5412,7 +5428,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
5412
5428
|
SliderTick.defaultProps = defaultProps18;
|
|
5413
5429
|
|
|
5414
5430
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5415
|
-
import { jsx as
|
|
5431
|
+
import { jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5416
5432
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5417
5433
|
var states24 = [];
|
|
5418
5434
|
var options22 = {
|
|
@@ -5429,7 +5445,7 @@ var SpinButton = (props) => {
|
|
|
5429
5445
|
fillMode = defaultProps19.fillMode,
|
|
5430
5446
|
...other
|
|
5431
5447
|
} = props;
|
|
5432
|
-
return /* @__PURE__ */
|
|
5448
|
+
return /* @__PURE__ */ jsxs18(
|
|
5433
5449
|
"span",
|
|
5434
5450
|
{
|
|
5435
5451
|
...other,
|
|
@@ -5438,7 +5454,7 @@ var SpinButton = (props) => {
|
|
|
5438
5454
|
props.className
|
|
5439
5455
|
),
|
|
5440
5456
|
children: [
|
|
5441
|
-
/* @__PURE__ */
|
|
5457
|
+
/* @__PURE__ */ jsx44(
|
|
5442
5458
|
Button,
|
|
5443
5459
|
{
|
|
5444
5460
|
className: "k-spinner-increase",
|
|
@@ -5448,7 +5464,7 @@ var SpinButton = (props) => {
|
|
|
5448
5464
|
fillMode
|
|
5449
5465
|
}
|
|
5450
5466
|
),
|
|
5451
|
-
/* @__PURE__ */
|
|
5467
|
+
/* @__PURE__ */ jsx44(
|
|
5452
5468
|
Button,
|
|
5453
5469
|
{
|
|
5454
5470
|
className: "k-spinner-decrease",
|
|
@@ -5468,7 +5484,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5468
5484
|
SpinButton.defaultProps = defaultProps19;
|
|
5469
5485
|
|
|
5470
5486
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5471
|
-
import { jsx as
|
|
5487
|
+
import { jsx as jsx45, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5472
5488
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5473
5489
|
var states25 = [
|
|
5474
5490
|
States.hover,
|
|
@@ -5511,7 +5527,7 @@ var NumericTextbox = (props) => {
|
|
|
5511
5527
|
showSpinButton = defaultProps20.showSpinButton,
|
|
5512
5528
|
...other
|
|
5513
5529
|
} = props;
|
|
5514
|
-
return /* @__PURE__ */
|
|
5530
|
+
return /* @__PURE__ */ jsxs19(
|
|
5515
5531
|
Input,
|
|
5516
5532
|
{
|
|
5517
5533
|
...other,
|
|
@@ -5528,8 +5544,8 @@ var NumericTextbox = (props) => {
|
|
|
5528
5544
|
readonly,
|
|
5529
5545
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5530
5546
|
children: [
|
|
5531
|
-
/* @__PURE__ */
|
|
5532
|
-
/* @__PURE__ */
|
|
5547
|
+
/* @__PURE__ */ jsx45(InputInnerInput, { placeholder, value }),
|
|
5548
|
+
/* @__PURE__ */ jsx45(
|
|
5533
5549
|
InputValidationIcon,
|
|
5534
5550
|
{
|
|
5535
5551
|
valid,
|
|
@@ -5538,14 +5554,14 @@ var NumericTextbox = (props) => {
|
|
|
5538
5554
|
disabled
|
|
5539
5555
|
}
|
|
5540
5556
|
),
|
|
5541
|
-
/* @__PURE__ */
|
|
5557
|
+
/* @__PURE__ */ jsx45(
|
|
5542
5558
|
InputLoadingIcon,
|
|
5543
5559
|
{
|
|
5544
5560
|
loading,
|
|
5545
5561
|
disabled
|
|
5546
5562
|
}
|
|
5547
5563
|
),
|
|
5548
|
-
showClearButton && /* @__PURE__ */
|
|
5564
|
+
showClearButton && /* @__PURE__ */ jsx45(
|
|
5549
5565
|
InputClearValue,
|
|
5550
5566
|
{
|
|
5551
5567
|
loading,
|
|
@@ -5554,7 +5570,7 @@ var NumericTextbox = (props) => {
|
|
|
5554
5570
|
value
|
|
5555
5571
|
}
|
|
5556
5572
|
),
|
|
5557
|
-
showSpinButton && /* @__PURE__ */
|
|
5573
|
+
showSpinButton && /* @__PURE__ */ jsx45(
|
|
5558
5574
|
SpinButton,
|
|
5559
5575
|
{
|
|
5560
5576
|
className: "k-input-spinner",
|
|
@@ -5572,10 +5588,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
5572
5588
|
NumericTextbox.defaultProps = defaultProps20;
|
|
5573
5589
|
|
|
5574
5590
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5575
|
-
import { jsx as
|
|
5591
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5576
5592
|
|
|
5577
5593
|
// src/textbox/textbox.spec.tsx
|
|
5578
|
-
import { jsx as
|
|
5594
|
+
import { jsx as jsx47, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5579
5595
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5580
5596
|
var states26 = [
|
|
5581
5597
|
States.hover,
|
|
@@ -5618,7 +5634,7 @@ var Textbox = (props) => {
|
|
|
5618
5634
|
showClearButton = defaultProps21.showClearButton,
|
|
5619
5635
|
...other
|
|
5620
5636
|
} = props;
|
|
5621
|
-
return /* @__PURE__ */
|
|
5637
|
+
return /* @__PURE__ */ jsxs20(
|
|
5622
5638
|
Input,
|
|
5623
5639
|
{
|
|
5624
5640
|
...other,
|
|
@@ -5635,9 +5651,9 @@ var Textbox = (props) => {
|
|
|
5635
5651
|
readonly,
|
|
5636
5652
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5637
5653
|
children: [
|
|
5638
|
-
/* @__PURE__ */
|
|
5639
|
-
/* @__PURE__ */
|
|
5640
|
-
/* @__PURE__ */
|
|
5654
|
+
/* @__PURE__ */ jsx47(InputPrefix, { children: prefix }),
|
|
5655
|
+
/* @__PURE__ */ jsx47(InputInnerInput, { placeholder, value }),
|
|
5656
|
+
/* @__PURE__ */ jsx47(
|
|
5641
5657
|
InputValidationIcon,
|
|
5642
5658
|
{
|
|
5643
5659
|
valid,
|
|
@@ -5646,14 +5662,14 @@ var Textbox = (props) => {
|
|
|
5646
5662
|
disabled
|
|
5647
5663
|
}
|
|
5648
5664
|
),
|
|
5649
|
-
/* @__PURE__ */
|
|
5665
|
+
/* @__PURE__ */ jsx47(
|
|
5650
5666
|
InputLoadingIcon,
|
|
5651
5667
|
{
|
|
5652
5668
|
loading,
|
|
5653
5669
|
disabled
|
|
5654
5670
|
}
|
|
5655
5671
|
),
|
|
5656
|
-
showClearButton && /* @__PURE__ */
|
|
5672
|
+
showClearButton && /* @__PURE__ */ jsx47(
|
|
5657
5673
|
InputClearValue,
|
|
5658
5674
|
{
|
|
5659
5675
|
loading,
|
|
@@ -5662,7 +5678,7 @@ var Textbox = (props) => {
|
|
|
5662
5678
|
value
|
|
5663
5679
|
}
|
|
5664
5680
|
),
|
|
5665
|
-
/* @__PURE__ */
|
|
5681
|
+
/* @__PURE__ */ jsx47(InputSuffix, { children: suffix })
|
|
5666
5682
|
]
|
|
5667
5683
|
}
|
|
5668
5684
|
);
|
|
@@ -5673,16 +5689,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5673
5689
|
Textbox.defaultProps = defaultProps21;
|
|
5674
5690
|
|
|
5675
5691
|
// src/textbox/templates/textbox-normal.tsx
|
|
5676
|
-
import { jsx as
|
|
5692
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5677
5693
|
|
|
5678
5694
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5679
|
-
import { Fragment as
|
|
5695
|
+
import { Fragment as Fragment16, jsx as jsx49, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5680
5696
|
|
|
5681
5697
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5682
|
-
import { Fragment as
|
|
5698
|
+
import { Fragment as Fragment17, jsx as jsx50, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5683
5699
|
|
|
5684
5700
|
// src/colorgradient/color-input.tsx
|
|
5685
|
-
import { Fragment as
|
|
5701
|
+
import { Fragment as Fragment18, jsx as jsx51, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5686
5702
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
5687
5703
|
var states27 = [];
|
|
5688
5704
|
var options25 = {};
|
|
@@ -5693,75 +5709,75 @@ var ColorInput = (props) => {
|
|
|
5693
5709
|
const {
|
|
5694
5710
|
mode = defaultProps22.mode
|
|
5695
5711
|
} = props;
|
|
5696
|
-
return /* @__PURE__ */
|
|
5697
|
-
/* @__PURE__ */
|
|
5698
|
-
mode === "rgba" && /* @__PURE__ */
|
|
5699
|
-
/* @__PURE__ */
|
|
5700
|
-
/* @__PURE__ */
|
|
5701
|
-
/* @__PURE__ */
|
|
5712
|
+
return /* @__PURE__ */ jsxs23("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
5713
|
+
/* @__PURE__ */ jsx51("div", { className: "k-vstack", children: /* @__PURE__ */ jsx51(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
5714
|
+
mode === "rgba" && /* @__PURE__ */ jsxs23(Fragment18, { children: [
|
|
5715
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5716
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5717
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
5702
5718
|
] }),
|
|
5703
|
-
/* @__PURE__ */
|
|
5704
|
-
/* @__PURE__ */
|
|
5705
|
-
/* @__PURE__ */
|
|
5719
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5720
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5721
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
5706
5722
|
] }),
|
|
5707
|
-
/* @__PURE__ */
|
|
5708
|
-
/* @__PURE__ */
|
|
5709
|
-
/* @__PURE__ */
|
|
5723
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5724
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5725
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
5710
5726
|
] }),
|
|
5711
|
-
/* @__PURE__ */
|
|
5712
|
-
/* @__PURE__ */
|
|
5713
|
-
/* @__PURE__ */
|
|
5727
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5728
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
5729
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
5714
5730
|
] })
|
|
5715
5731
|
] }),
|
|
5716
|
-
mode === "rgb" && /* @__PURE__ */
|
|
5717
|
-
/* @__PURE__ */
|
|
5718
|
-
/* @__PURE__ */
|
|
5719
|
-
/* @__PURE__ */
|
|
5732
|
+
mode === "rgb" && /* @__PURE__ */ jsxs23(Fragment18, { children: [
|
|
5733
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5734
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5735
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
5720
5736
|
] }),
|
|
5721
|
-
/* @__PURE__ */
|
|
5722
|
-
/* @__PURE__ */
|
|
5723
|
-
/* @__PURE__ */
|
|
5737
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5738
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5739
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
5724
5740
|
] }),
|
|
5725
|
-
/* @__PURE__ */
|
|
5726
|
-
/* @__PURE__ */
|
|
5727
|
-
/* @__PURE__ */
|
|
5741
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5742
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5743
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
5728
5744
|
] })
|
|
5729
5745
|
] }),
|
|
5730
|
-
mode === "hsva" && /* @__PURE__ */
|
|
5731
|
-
/* @__PURE__ */
|
|
5732
|
-
/* @__PURE__ */
|
|
5733
|
-
/* @__PURE__ */
|
|
5746
|
+
mode === "hsva" && /* @__PURE__ */ jsxs23(Fragment18, { children: [
|
|
5747
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5748
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5749
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
5734
5750
|
] }),
|
|
5735
|
-
/* @__PURE__ */
|
|
5736
|
-
/* @__PURE__ */
|
|
5737
|
-
/* @__PURE__ */
|
|
5751
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5752
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5753
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
5738
5754
|
] }),
|
|
5739
|
-
/* @__PURE__ */
|
|
5740
|
-
/* @__PURE__ */
|
|
5741
|
-
/* @__PURE__ */
|
|
5755
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5756
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5757
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
5742
5758
|
] }),
|
|
5743
|
-
/* @__PURE__ */
|
|
5744
|
-
/* @__PURE__ */
|
|
5745
|
-
/* @__PURE__ */
|
|
5759
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5760
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
5761
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
5746
5762
|
] })
|
|
5747
5763
|
] }),
|
|
5748
|
-
mode === "hsv" && /* @__PURE__ */
|
|
5749
|
-
/* @__PURE__ */
|
|
5750
|
-
/* @__PURE__ */
|
|
5751
|
-
/* @__PURE__ */
|
|
5764
|
+
mode === "hsv" && /* @__PURE__ */ jsxs23(Fragment18, { children: [
|
|
5765
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5766
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5767
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
5752
5768
|
] }),
|
|
5753
|
-
/* @__PURE__ */
|
|
5754
|
-
/* @__PURE__ */
|
|
5755
|
-
/* @__PURE__ */
|
|
5769
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5770
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5771
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
5756
5772
|
] }),
|
|
5757
|
-
/* @__PURE__ */
|
|
5758
|
-
/* @__PURE__ */
|
|
5759
|
-
/* @__PURE__ */
|
|
5773
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-vstack", children: [
|
|
5774
|
+
/* @__PURE__ */ jsx51(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
5775
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
5760
5776
|
] })
|
|
5761
5777
|
] }),
|
|
5762
|
-
mode === "hex" && /* @__PURE__ */
|
|
5763
|
-
/* @__PURE__ */
|
|
5764
|
-
/* @__PURE__ */
|
|
5778
|
+
mode === "hex" && /* @__PURE__ */ jsx51(Fragment18, { children: /* @__PURE__ */ jsxs23("div", { className: "k-vstack k-flex-1", children: [
|
|
5779
|
+
/* @__PURE__ */ jsx51(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
5780
|
+
/* @__PURE__ */ jsx51("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
5765
5781
|
] }) })
|
|
5766
5782
|
] });
|
|
5767
5783
|
};
|
|
@@ -5771,31 +5787,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
5771
5787
|
ColorInput.defaultProps = defaultProps22;
|
|
5772
5788
|
|
|
5773
5789
|
// src/colorgradient/color-contrast.tsx
|
|
5774
|
-
import { jsx as
|
|
5790
|
+
import { jsx as jsx52, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5775
5791
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
5776
5792
|
var states28 = [];
|
|
5777
5793
|
var options26 = {};
|
|
5778
5794
|
var defaultProps23 = {};
|
|
5779
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
5780
|
-
/* @__PURE__ */
|
|
5781
|
-
/* @__PURE__ */
|
|
5782
|
-
/* @__PURE__ */
|
|
5783
|
-
/* @__PURE__ */
|
|
5784
|
-
/* @__PURE__ */
|
|
5795
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs24("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
5796
|
+
/* @__PURE__ */ jsxs24("div", { className: "k-contrast-ratio", children: [
|
|
5797
|
+
/* @__PURE__ */ jsx52("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
5798
|
+
/* @__PURE__ */ jsxs24("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
5799
|
+
/* @__PURE__ */ jsx52(Icon, { icon: "check" }),
|
|
5800
|
+
/* @__PURE__ */ jsx52(Icon, { icon: "check" })
|
|
5785
5801
|
] })
|
|
5786
5802
|
] }),
|
|
5787
|
-
/* @__PURE__ */
|
|
5788
|
-
/* @__PURE__ */
|
|
5789
|
-
/* @__PURE__ */
|
|
5803
|
+
/* @__PURE__ */ jsxs24("div", { children: [
|
|
5804
|
+
/* @__PURE__ */ jsx52("span", { children: "AA: 4.5" }),
|
|
5805
|
+
/* @__PURE__ */ jsxs24("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
5790
5806
|
"Pass",
|
|
5791
|
-
/* @__PURE__ */
|
|
5807
|
+
/* @__PURE__ */ jsx52(Icon, { icon: "check" })
|
|
5792
5808
|
] })
|
|
5793
5809
|
] }),
|
|
5794
|
-
/* @__PURE__ */
|
|
5795
|
-
/* @__PURE__ */
|
|
5796
|
-
/* @__PURE__ */
|
|
5810
|
+
/* @__PURE__ */ jsxs24("div", { children: [
|
|
5811
|
+
/* @__PURE__ */ jsx52("span", { children: "AAA: 7.0" }),
|
|
5812
|
+
/* @__PURE__ */ jsxs24("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
5797
5813
|
"Fail",
|
|
5798
|
-
/* @__PURE__ */
|
|
5814
|
+
/* @__PURE__ */ jsx52(Icon, { icon: "x" })
|
|
5799
5815
|
] })
|
|
5800
5816
|
] })
|
|
5801
5817
|
] });
|
|
@@ -5805,7 +5821,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
5805
5821
|
ColorContrast.defaultProps = defaultProps23;
|
|
5806
5822
|
|
|
5807
5823
|
// src/colorgradient/color-gradient.spec.tsx
|
|
5808
|
-
import { jsx as
|
|
5824
|
+
import { jsx as jsx53, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5809
5825
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
5810
5826
|
var states29 = [
|
|
5811
5827
|
States.hover,
|
|
@@ -5838,7 +5854,7 @@ var ColorGradient = (props) => {
|
|
|
5838
5854
|
dragHandleStyle = defaultProps24.dragHandleStyle,
|
|
5839
5855
|
alphaStyle = defaultProps24.alphaStyle
|
|
5840
5856
|
} = props;
|
|
5841
|
-
return /* @__PURE__ */
|
|
5857
|
+
return /* @__PURE__ */ jsxs25("div", { className: classNames(
|
|
5842
5858
|
props.className,
|
|
5843
5859
|
COLOR_GRADIENT_CLASSNAME,
|
|
5844
5860
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -5848,8 +5864,8 @@ var ColorGradient = (props) => {
|
|
|
5848
5864
|
disabled
|
|
5849
5865
|
})
|
|
5850
5866
|
), dir, children: [
|
|
5851
|
-
/* @__PURE__ */
|
|
5852
|
-
/* @__PURE__ */
|
|
5867
|
+
/* @__PURE__ */ jsxs25("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
5868
|
+
/* @__PURE__ */ jsx53("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx53("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx53("div", { className: classNames(
|
|
5853
5869
|
"k-hsv-draghandle",
|
|
5854
5870
|
"k-draghandle",
|
|
5855
5871
|
{
|
|
@@ -5857,13 +5873,13 @@ var ColorGradient = (props) => {
|
|
|
5857
5873
|
"k-focus": focusHandle
|
|
5858
5874
|
}
|
|
5859
5875
|
), style: dragHandleStyle }) }) }),
|
|
5860
|
-
/* @__PURE__ */
|
|
5861
|
-
/* @__PURE__ */
|
|
5862
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
5876
|
+
/* @__PURE__ */ jsxs25("div", { className: "k-hsv-controls k-hstack", children: [
|
|
5877
|
+
/* @__PURE__ */ jsx53(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
5878
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx53(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
5863
5879
|
] })
|
|
5864
5880
|
] }),
|
|
5865
|
-
/* @__PURE__ */
|
|
5866
|
-
contrast && /* @__PURE__ */
|
|
5881
|
+
/* @__PURE__ */ jsx53(ColorInput, { mode: props.mode }),
|
|
5882
|
+
contrast && /* @__PURE__ */ jsx53(ColorContrast, {})
|
|
5867
5883
|
] });
|
|
5868
5884
|
};
|
|
5869
5885
|
ColorGradient.states = states29;
|
|
@@ -5872,17 +5888,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
5872
5888
|
ColorGradient.defaultProps = defaultProps24;
|
|
5873
5889
|
|
|
5874
5890
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
5875
|
-
import { jsx as
|
|
5891
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5876
5892
|
|
|
5877
5893
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
5878
|
-
import { jsx as
|
|
5894
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5879
5895
|
|
|
5880
5896
|
// src/colorpalette/colorpalette-row.tsx
|
|
5881
|
-
import { jsx as
|
|
5882
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
5897
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
5898
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx56("tr", { children: props.children });
|
|
5883
5899
|
|
|
5884
5900
|
// src/colorpalette/colorpalette-tile.tsx
|
|
5885
|
-
import { jsx as
|
|
5901
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5886
5902
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
5887
5903
|
var states30 = [
|
|
5888
5904
|
States.hover,
|
|
@@ -5904,7 +5920,7 @@ var ColorPaletteTile = (props) => {
|
|
|
5904
5920
|
"width": tileSize ? tileSize + "px" : "",
|
|
5905
5921
|
"height": tileSize ? tileSize + "px" : ""
|
|
5906
5922
|
};
|
|
5907
|
-
return /* @__PURE__ */
|
|
5923
|
+
return /* @__PURE__ */ jsx57(
|
|
5908
5924
|
"td",
|
|
5909
5925
|
{
|
|
5910
5926
|
...other,
|
|
@@ -5926,7 +5942,7 @@ ColorPaletteTile.options = options28;
|
|
|
5926
5942
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
5927
5943
|
|
|
5928
5944
|
// src/colorpalette/colorpalette.spec.tsx
|
|
5929
|
-
import { jsx as
|
|
5945
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5930
5946
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
5931
5947
|
var states31 = [
|
|
5932
5948
|
States.disabled
|
|
@@ -5951,14 +5967,14 @@ var ColorPalette = (props) => {
|
|
|
5951
5967
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
5952
5968
|
const items = [];
|
|
5953
5969
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
5954
|
-
items.push(/* @__PURE__ */
|
|
5970
|
+
items.push(/* @__PURE__ */ jsx58(ColorPaletteTile, { color, tileSize }));
|
|
5955
5971
|
});
|
|
5956
|
-
const row = /* @__PURE__ */
|
|
5972
|
+
const row = /* @__PURE__ */ jsx58(ColorPaletteRow, { children: items });
|
|
5957
5973
|
newChildren.push(row);
|
|
5958
5974
|
});
|
|
5959
5975
|
}
|
|
5960
5976
|
}
|
|
5961
|
-
return /* @__PURE__ */
|
|
5977
|
+
return /* @__PURE__ */ jsx58(
|
|
5962
5978
|
"div",
|
|
5963
5979
|
{
|
|
5964
5980
|
...other,
|
|
@@ -5969,7 +5985,7 @@ var ColorPalette = (props) => {
|
|
|
5969
5985
|
disabled
|
|
5970
5986
|
})
|
|
5971
5987
|
),
|
|
5972
|
-
children: /* @__PURE__ */
|
|
5988
|
+
children: /* @__PURE__ */ jsx58("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
5973
5989
|
}
|
|
5974
5990
|
);
|
|
5975
5991
|
};
|
|
@@ -5979,7 +5995,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
5979
5995
|
ColorPalette.defaultProps = defaultProps25;
|
|
5980
5996
|
|
|
5981
5997
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
5982
|
-
import { jsx as
|
|
5998
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5983
5999
|
|
|
5984
6000
|
// src/colorpalette/colorpalette-presets.tsx
|
|
5985
6001
|
var PALETTEPRESETS = {
|
|
@@ -6034,7 +6050,7 @@ var PALETTEPRESETS = {
|
|
|
6034
6050
|
};
|
|
6035
6051
|
|
|
6036
6052
|
// src/coloreditor/color-editor.spec.tsx
|
|
6037
|
-
import { jsx as
|
|
6053
|
+
import { jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6038
6054
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6039
6055
|
var states32 = [
|
|
6040
6056
|
States.focus
|
|
@@ -6056,30 +6072,30 @@ var ColorEditor = (props) => {
|
|
|
6056
6072
|
group,
|
|
6057
6073
|
palette = defaultProps26.palette
|
|
6058
6074
|
} = props;
|
|
6059
|
-
return /* @__PURE__ */
|
|
6075
|
+
return /* @__PURE__ */ jsxs26("div", { className: classNames(
|
|
6060
6076
|
props.className,
|
|
6061
6077
|
"k-flatcolorpicker",
|
|
6062
6078
|
COLOREDITOR_CLASSNAME,
|
|
6063
6079
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6064
6080
|
), dir, children: [
|
|
6065
|
-
/* @__PURE__ */
|
|
6066
|
-
/* @__PURE__ */
|
|
6067
|
-
/* @__PURE__ */
|
|
6068
|
-
/* @__PURE__ */
|
|
6081
|
+
/* @__PURE__ */ jsxs26("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6082
|
+
/* @__PURE__ */ jsx60("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs26(ButtonGroup, { children: [
|
|
6083
|
+
/* @__PURE__ */ jsx60(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6084
|
+
/* @__PURE__ */ jsx60(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6069
6085
|
] }) }),
|
|
6070
|
-
/* @__PURE__ */
|
|
6071
|
-
/* @__PURE__ */
|
|
6072
|
-
/* @__PURE__ */
|
|
6073
|
-
/* @__PURE__ */
|
|
6074
|
-
/* @__PURE__ */
|
|
6075
|
-
/* @__PURE__ */
|
|
6086
|
+
/* @__PURE__ */ jsx60("div", { className: "k-spacer" }),
|
|
6087
|
+
/* @__PURE__ */ jsxs26("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6088
|
+
/* @__PURE__ */ jsx60(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6089
|
+
/* @__PURE__ */ jsxs26("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6090
|
+
/* @__PURE__ */ jsx60(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6091
|
+
/* @__PURE__ */ jsx60(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6076
6092
|
] })
|
|
6077
6093
|
] })
|
|
6078
6094
|
] }),
|
|
6079
|
-
/* @__PURE__ */
|
|
6080
|
-
/* @__PURE__ */
|
|
6081
|
-
/* @__PURE__ */
|
|
6082
|
-
/* @__PURE__ */
|
|
6095
|
+
/* @__PURE__ */ jsx60("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx60(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx60(ColorPalette, { palette }) }),
|
|
6096
|
+
/* @__PURE__ */ jsxs26(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6097
|
+
/* @__PURE__ */ jsx60(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6098
|
+
/* @__PURE__ */ jsx60(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6083
6099
|
] })
|
|
6084
6100
|
] });
|
|
6085
6101
|
};
|
|
@@ -6089,25 +6105,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
6089
6105
|
ColorEditor.defaultProps = defaultProps26;
|
|
6090
6106
|
|
|
6091
6107
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6092
|
-
import { jsx as
|
|
6108
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
6093
6109
|
|
|
6094
6110
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6095
|
-
import { jsx as
|
|
6111
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
6096
6112
|
|
|
6097
6113
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6098
|
-
import { jsx as
|
|
6114
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
6099
6115
|
|
|
6100
6116
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6101
|
-
import { jsx as
|
|
6117
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6102
6118
|
|
|
6103
6119
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6104
|
-
import { jsx as
|
|
6120
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6105
6121
|
|
|
6106
6122
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6107
|
-
import { jsx as
|
|
6123
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
6108
6124
|
|
|
6109
6125
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6110
|
-
import { Fragment as
|
|
6126
|
+
import { Fragment as Fragment19, jsx as jsx67, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6111
6127
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6112
6128
|
var states33 = [];
|
|
6113
6129
|
var options31 = {};
|
|
@@ -6130,8 +6146,8 @@ var ActionSheet = (props) => {
|
|
|
6130
6146
|
overlay = defaultProps27.overlay,
|
|
6131
6147
|
...other
|
|
6132
6148
|
} = props;
|
|
6133
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6134
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6149
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx67(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6150
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx67(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx67(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6135
6151
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6136
6152
|
switch (child.type) {
|
|
6137
6153
|
case ActionSheetHeader:
|
|
@@ -6141,10 +6157,10 @@ var ActionSheet = (props) => {
|
|
|
6141
6157
|
return true;
|
|
6142
6158
|
}
|
|
6143
6159
|
return true;
|
|
6144
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6145
|
-
return /* @__PURE__ */
|
|
6146
|
-
overlay && /* @__PURE__ */
|
|
6147
|
-
/* @__PURE__ */
|
|
6160
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx67(Fragment19, {});
|
|
6161
|
+
return /* @__PURE__ */ jsxs27("div", { className: "k-actionsheet-container", children: [
|
|
6162
|
+
overlay && /* @__PURE__ */ jsx67("div", { className: "k-overlay" }),
|
|
6163
|
+
/* @__PURE__ */ jsx67(
|
|
6148
6164
|
AnimationContainer,
|
|
6149
6165
|
{
|
|
6150
6166
|
animationStyle: {
|
|
@@ -6154,7 +6170,7 @@ var ActionSheet = (props) => {
|
|
|
6154
6170
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6155
6171
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6156
6172
|
},
|
|
6157
|
-
children: /* @__PURE__ */
|
|
6173
|
+
children: /* @__PURE__ */ jsx67(
|
|
6158
6174
|
"div",
|
|
6159
6175
|
{
|
|
6160
6176
|
...other,
|
|
@@ -6167,9 +6183,9 @@ var ActionSheet = (props) => {
|
|
|
6167
6183
|
"k-adaptive-actionsheet": adaptive
|
|
6168
6184
|
}
|
|
6169
6185
|
),
|
|
6170
|
-
children: /* @__PURE__ */
|
|
6186
|
+
children: /* @__PURE__ */ jsxs27(Fragment19, { children: [
|
|
6171
6187
|
_ActionSheetHeader,
|
|
6172
|
-
/* @__PURE__ */
|
|
6188
|
+
/* @__PURE__ */ jsx67("div", { className: classNames(
|
|
6173
6189
|
"k-actionsheet-content",
|
|
6174
6190
|
{
|
|
6175
6191
|
"!k-overflow-hidden": adaptive
|
|
@@ -6189,7 +6205,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6189
6205
|
ActionSheet.defaultProps = defaultProps27;
|
|
6190
6206
|
|
|
6191
6207
|
// src/searchbox/searchbox.spec.tsx
|
|
6192
|
-
import { jsx as
|
|
6208
|
+
import { jsx as jsx68, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6193
6209
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6194
6210
|
var states34 = [
|
|
6195
6211
|
States.hover,
|
|
@@ -6230,7 +6246,7 @@ var Searchbox = (props) => {
|
|
|
6230
6246
|
icon = defaultProps28.icon,
|
|
6231
6247
|
...other
|
|
6232
6248
|
} = props;
|
|
6233
|
-
return /* @__PURE__ */
|
|
6249
|
+
return /* @__PURE__ */ jsxs28(
|
|
6234
6250
|
Input,
|
|
6235
6251
|
{
|
|
6236
6252
|
...other,
|
|
@@ -6246,11 +6262,11 @@ var Searchbox = (props) => {
|
|
|
6246
6262
|
disabled,
|
|
6247
6263
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6248
6264
|
children: [
|
|
6249
|
-
showIcon && /* @__PURE__ */
|
|
6250
|
-
/* @__PURE__ */
|
|
6251
|
-
/* @__PURE__ */
|
|
6252
|
-
/* @__PURE__ */
|
|
6253
|
-
/* @__PURE__ */
|
|
6265
|
+
showIcon && /* @__PURE__ */ jsx68(Icon, { className: "k-input-icon", icon }),
|
|
6266
|
+
/* @__PURE__ */ jsx68(InputInnerInput, { placeholder, value }),
|
|
6267
|
+
/* @__PURE__ */ jsx68(InputLoadingIcon, { ...props }),
|
|
6268
|
+
/* @__PURE__ */ jsx68(InputValidationIcon, { ...props }),
|
|
6269
|
+
/* @__PURE__ */ jsx68(InputClearValue, { ...props })
|
|
6254
6270
|
]
|
|
6255
6271
|
}
|
|
6256
6272
|
);
|
|
@@ -6261,10 +6277,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
6261
6277
|
Searchbox.defaultProps = defaultProps28;
|
|
6262
6278
|
|
|
6263
6279
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
6264
|
-
import { jsx as
|
|
6280
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6265
6281
|
|
|
6266
6282
|
// src/action-sheet/actionsheet-header.tsx
|
|
6267
|
-
import { Fragment as
|
|
6283
|
+
import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6268
6284
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6269
6285
|
var ActionSheetHeader = (props) => {
|
|
6270
6286
|
const {
|
|
@@ -6274,7 +6290,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6274
6290
|
filter,
|
|
6275
6291
|
...other
|
|
6276
6292
|
} = props;
|
|
6277
|
-
return /* @__PURE__ */
|
|
6293
|
+
return /* @__PURE__ */ jsx70(
|
|
6278
6294
|
"div",
|
|
6279
6295
|
{
|
|
6280
6296
|
...other,
|
|
@@ -6282,30 +6298,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6282
6298
|
props.className,
|
|
6283
6299
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6284
6300
|
),
|
|
6285
|
-
children: /* @__PURE__ */
|
|
6286
|
-
/* @__PURE__ */
|
|
6287
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6288
|
-
title !== "" && /* @__PURE__ */
|
|
6289
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6301
|
+
children: /* @__PURE__ */ jsxs29(Fragment20, { children: [
|
|
6302
|
+
/* @__PURE__ */ jsxs29("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6303
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx70(Fragment20, { children: /* @__PURE__ */ jsxs29("div", { className: "k-actionsheet-title", children: [
|
|
6304
|
+
title !== "" && /* @__PURE__ */ jsx70("div", { className: "k-text-center", children: title }),
|
|
6305
|
+
subTitle !== "" && /* @__PURE__ */ jsx70("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6290
6306
|
] }) }),
|
|
6291
|
-
props.children && /* @__PURE__ */
|
|
6292
|
-
actions && /* @__PURE__ */
|
|
6307
|
+
props.children && /* @__PURE__ */ jsx70("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6308
|
+
actions && /* @__PURE__ */ jsx70(Fragment20, { children: /* @__PURE__ */ jsx70("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx70(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6293
6309
|
] }),
|
|
6294
|
-
filter && /* @__PURE__ */
|
|
6310
|
+
filter && /* @__PURE__ */ jsx70(Fragment20, { children: /* @__PURE__ */ jsx70("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx70(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6295
6311
|
] })
|
|
6296
6312
|
}
|
|
6297
6313
|
);
|
|
6298
6314
|
};
|
|
6299
6315
|
|
|
6300
6316
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6301
|
-
import { Fragment as
|
|
6317
|
+
import { Fragment as Fragment21, jsx as jsx71, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6302
6318
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6303
6319
|
var ActionSheetFooter = (props) => {
|
|
6304
6320
|
const {
|
|
6305
6321
|
actions,
|
|
6306
6322
|
...other
|
|
6307
6323
|
} = props;
|
|
6308
|
-
return /* @__PURE__ */
|
|
6324
|
+
return /* @__PURE__ */ jsx71(
|
|
6309
6325
|
action_buttons_spec_default,
|
|
6310
6326
|
{
|
|
6311
6327
|
...other,
|
|
@@ -6314,17 +6330,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6314
6330
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6315
6331
|
),
|
|
6316
6332
|
alignment: "stretched",
|
|
6317
|
-
children: /* @__PURE__ */
|
|
6333
|
+
children: /* @__PURE__ */ jsxs30(Fragment21, { children: [
|
|
6318
6334
|
actions && actions.map((action, index) => {
|
|
6319
6335
|
if (action === "|") {
|
|
6320
|
-
return /* @__PURE__ */
|
|
6336
|
+
return /* @__PURE__ */ jsx71("span", { className: "k-separator" }, index);
|
|
6321
6337
|
}
|
|
6322
6338
|
if (action === " ") {
|
|
6323
|
-
return /* @__PURE__ */
|
|
6339
|
+
return /* @__PURE__ */ jsx71("span", { className: "k-spacer" }, index);
|
|
6324
6340
|
}
|
|
6325
6341
|
const importantFlag = action.startsWith("!");
|
|
6326
6342
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6327
|
-
return /* @__PURE__ */
|
|
6343
|
+
return /* @__PURE__ */ jsx71(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6328
6344
|
}),
|
|
6329
6345
|
!actions && props.children
|
|
6330
6346
|
] })
|
|
@@ -6333,12 +6349,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6333
6349
|
};
|
|
6334
6350
|
|
|
6335
6351
|
// src/action-sheet/actionsheet-items.tsx
|
|
6336
|
-
import { jsx as
|
|
6352
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6337
6353
|
var ActionSheetItems = (props) => {
|
|
6338
6354
|
const {
|
|
6339
6355
|
...other
|
|
6340
6356
|
} = props;
|
|
6341
|
-
return /* @__PURE__ */
|
|
6357
|
+
return /* @__PURE__ */ jsx72(
|
|
6342
6358
|
"div",
|
|
6343
6359
|
{
|
|
6344
6360
|
...other,
|
|
@@ -6352,7 +6368,7 @@ var ActionSheetItems = (props) => {
|
|
|
6352
6368
|
};
|
|
6353
6369
|
|
|
6354
6370
|
// src/action-sheet/actionsheet-item.tsx
|
|
6355
|
-
import { Fragment as
|
|
6371
|
+
import { Fragment as Fragment22, jsx as jsx73, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6356
6372
|
var states35 = [
|
|
6357
6373
|
States.hover,
|
|
6358
6374
|
States.focus,
|
|
@@ -6361,12 +6377,12 @@ var states35 = [
|
|
|
6361
6377
|
];
|
|
6362
6378
|
|
|
6363
6379
|
// src/nodata/nodata.tsx
|
|
6364
|
-
import { jsx as
|
|
6380
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6365
6381
|
var className9 = `k-nodata`;
|
|
6366
|
-
var NoData = (props) => /* @__PURE__ */
|
|
6382
|
+
var NoData = (props) => /* @__PURE__ */ jsx74("span", { className: classNames(className9, props.className), children: props.children });
|
|
6367
6383
|
|
|
6368
6384
|
// src/list/list.spec.tsx
|
|
6369
|
-
import { jsx as
|
|
6385
|
+
import { jsx as jsx75, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6370
6386
|
var LIST_CLASSNAME = `k-list`;
|
|
6371
6387
|
var states36 = [];
|
|
6372
6388
|
var options33 = {
|
|
@@ -6394,7 +6410,7 @@ var List = (props) => {
|
|
|
6394
6410
|
listHeader = child.props.label;
|
|
6395
6411
|
child.props.children.map((optChild, index2) => {
|
|
6396
6412
|
listChildren.push(
|
|
6397
|
-
/* @__PURE__ */
|
|
6413
|
+
/* @__PURE__ */ jsx75(
|
|
6398
6414
|
ListItem,
|
|
6399
6415
|
{
|
|
6400
6416
|
...optChild.props
|
|
@@ -6410,7 +6426,7 @@ var List = (props) => {
|
|
|
6410
6426
|
groupLabel = child.props.label;
|
|
6411
6427
|
}
|
|
6412
6428
|
listChildren.push(
|
|
6413
|
-
/* @__PURE__ */
|
|
6429
|
+
/* @__PURE__ */ jsx75(
|
|
6414
6430
|
ListItem,
|
|
6415
6431
|
{
|
|
6416
6432
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6422,16 +6438,16 @@ var List = (props) => {
|
|
|
6422
6438
|
);
|
|
6423
6439
|
});
|
|
6424
6440
|
}
|
|
6425
|
-
listGroup = /* @__PURE__ */
|
|
6441
|
+
listGroup = /* @__PURE__ */ jsx75(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6426
6442
|
} else if (child.type === ListItem) {
|
|
6427
|
-
listChildren.push(/* @__PURE__ */
|
|
6428
|
-
listContent = /* @__PURE__ */
|
|
6443
|
+
listChildren.push(/* @__PURE__ */ jsx75(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6444
|
+
listContent = /* @__PURE__ */ jsx75(ListContent, { virtualization, children: listChildren });
|
|
6429
6445
|
}
|
|
6430
6446
|
});
|
|
6431
6447
|
} else {
|
|
6432
|
-
listContent = /* @__PURE__ */
|
|
6448
|
+
listContent = /* @__PURE__ */ jsx75(NoData, { children: "No data found." });
|
|
6433
6449
|
}
|
|
6434
|
-
return /* @__PURE__ */
|
|
6450
|
+
return /* @__PURE__ */ jsxs32(
|
|
6435
6451
|
"div",
|
|
6436
6452
|
{
|
|
6437
6453
|
...other,
|
|
@@ -6459,7 +6475,7 @@ List.className = LIST_CLASSNAME;
|
|
|
6459
6475
|
List.defaultProps = defaultProps29;
|
|
6460
6476
|
|
|
6461
6477
|
// src/list/list-angular.spec.tsx
|
|
6462
|
-
import { jsx as
|
|
6478
|
+
import { jsx as jsx76, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6463
6479
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6464
6480
|
var states37 = [];
|
|
6465
6481
|
var options34 = {
|
|
@@ -6486,7 +6502,7 @@ var ListAngular = (props) => {
|
|
|
6486
6502
|
listHeader = child.props.label;
|
|
6487
6503
|
child.props.children.map((optChild, index2) => {
|
|
6488
6504
|
listChildren.push(
|
|
6489
|
-
/* @__PURE__ */
|
|
6505
|
+
/* @__PURE__ */ jsx76(
|
|
6490
6506
|
ListItem,
|
|
6491
6507
|
{
|
|
6492
6508
|
...optChild.props
|
|
@@ -6497,7 +6513,7 @@ var ListAngular = (props) => {
|
|
|
6497
6513
|
});
|
|
6498
6514
|
} else {
|
|
6499
6515
|
listChildren.push(
|
|
6500
|
-
/* @__PURE__ */
|
|
6516
|
+
/* @__PURE__ */ jsx76(
|
|
6501
6517
|
ListGroupItem,
|
|
6502
6518
|
{
|
|
6503
6519
|
...child.props,
|
|
@@ -6508,7 +6524,7 @@ var ListAngular = (props) => {
|
|
|
6508
6524
|
);
|
|
6509
6525
|
child.props.children.map((optChild, index2) => {
|
|
6510
6526
|
listChildren.push(
|
|
6511
|
-
/* @__PURE__ */
|
|
6527
|
+
/* @__PURE__ */ jsx76(
|
|
6512
6528
|
ListItem,
|
|
6513
6529
|
{
|
|
6514
6530
|
...optChild.props
|
|
@@ -6518,16 +6534,16 @@ var ListAngular = (props) => {
|
|
|
6518
6534
|
);
|
|
6519
6535
|
});
|
|
6520
6536
|
}
|
|
6521
|
-
listGroup = /* @__PURE__ */
|
|
6537
|
+
listGroup = /* @__PURE__ */ jsx76(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6522
6538
|
} else if (child.type === ListItem) {
|
|
6523
|
-
listChildren.push(/* @__PURE__ */
|
|
6524
|
-
listContent = /* @__PURE__ */
|
|
6539
|
+
listChildren.push(/* @__PURE__ */ jsx76(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6540
|
+
listContent = /* @__PURE__ */ jsx76(ListContent, { virtualization, children: listChildren });
|
|
6525
6541
|
}
|
|
6526
6542
|
});
|
|
6527
6543
|
} else {
|
|
6528
|
-
listContent = /* @__PURE__ */
|
|
6544
|
+
listContent = /* @__PURE__ */ jsx76(NoData, { children: "No data found." });
|
|
6529
6545
|
}
|
|
6530
|
-
return /* @__PURE__ */
|
|
6546
|
+
return /* @__PURE__ */ jsxs33(
|
|
6531
6547
|
"div",
|
|
6532
6548
|
{
|
|
6533
6549
|
...other,
|
|
@@ -6554,7 +6570,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
6554
6570
|
ListAngular.defaultProps = defaultProps30;
|
|
6555
6571
|
|
|
6556
6572
|
// src/checkbox/checkbox.spec.tsx
|
|
6557
|
-
import { jsx as
|
|
6573
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6558
6574
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6559
6575
|
var states38 = [
|
|
6560
6576
|
States.hover,
|
|
@@ -6589,7 +6605,7 @@ var Checkbox = (props) => {
|
|
|
6589
6605
|
rounded = defaultProps31.rounded,
|
|
6590
6606
|
...other
|
|
6591
6607
|
} = props;
|
|
6592
|
-
return /* @__PURE__ */
|
|
6608
|
+
return /* @__PURE__ */ jsx77("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx77(
|
|
6593
6609
|
"input",
|
|
6594
6610
|
{
|
|
6595
6611
|
...other,
|
|
@@ -6612,7 +6628,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6612
6628
|
Checkbox.defaultProps = defaultProps31;
|
|
6613
6629
|
|
|
6614
6630
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6615
|
-
import { jsx as
|
|
6631
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6616
6632
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6617
6633
|
var states39 = [];
|
|
6618
6634
|
var options36 = {};
|
|
@@ -6624,7 +6640,7 @@ var CheckboxGroup = (props) => {
|
|
|
6624
6640
|
layout = defaultProps32.layout,
|
|
6625
6641
|
...other
|
|
6626
6642
|
} = props;
|
|
6627
|
-
return /* @__PURE__ */
|
|
6643
|
+
return /* @__PURE__ */ jsx78(
|
|
6628
6644
|
"ul",
|
|
6629
6645
|
{
|
|
6630
6646
|
...other,
|
|
@@ -6645,7 +6661,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6645
6661
|
CheckboxGroup.defaultProps = defaultProps32;
|
|
6646
6662
|
|
|
6647
6663
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6648
|
-
import { jsx as
|
|
6664
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
6649
6665
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6650
6666
|
var states40 = [];
|
|
6651
6667
|
var options37 = {};
|
|
@@ -6654,7 +6670,7 @@ var CheckboxItem = (props) => {
|
|
|
6654
6670
|
const {
|
|
6655
6671
|
...other
|
|
6656
6672
|
} = props;
|
|
6657
|
-
return /* @__PURE__ */
|
|
6673
|
+
return /* @__PURE__ */ jsx79(
|
|
6658
6674
|
"li",
|
|
6659
6675
|
{
|
|
6660
6676
|
...other,
|
|
@@ -6672,16 +6688,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6672
6688
|
CheckboxItem.defaultProps = defaultProps33;
|
|
6673
6689
|
|
|
6674
6690
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6675
|
-
import { Fragment as
|
|
6691
|
+
import { Fragment as Fragment23, jsx as jsx80, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6676
6692
|
|
|
6677
6693
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6678
|
-
import { Fragment as
|
|
6694
|
+
import { Fragment as Fragment24, jsx as jsx81, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6679
6695
|
|
|
6680
6696
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6681
|
-
import { jsx as
|
|
6697
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6682
6698
|
|
|
6683
6699
|
// src/list/list-item.spec.tsx
|
|
6684
|
-
import { jsx as
|
|
6700
|
+
import { jsx as jsx83, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6685
6701
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6686
6702
|
var states41 = [
|
|
6687
6703
|
States.hover,
|
|
@@ -6706,7 +6722,7 @@ var ListItem = (props) => {
|
|
|
6706
6722
|
...other
|
|
6707
6723
|
} = props;
|
|
6708
6724
|
const textOrChildren = text ? text : props.children;
|
|
6709
|
-
return /* @__PURE__ */
|
|
6725
|
+
return /* @__PURE__ */ jsxs36(
|
|
6710
6726
|
"li",
|
|
6711
6727
|
{
|
|
6712
6728
|
...other,
|
|
@@ -6721,10 +6737,10 @@ var ListItem = (props) => {
|
|
|
6721
6737
|
})
|
|
6722
6738
|
),
|
|
6723
6739
|
children: [
|
|
6724
|
-
showCheckbox && /* @__PURE__ */
|
|
6725
|
-
showIcon && /* @__PURE__ */
|
|
6726
|
-
/* @__PURE__ */
|
|
6727
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
6740
|
+
showCheckbox && /* @__PURE__ */ jsx83(Checkbox, { checked }),
|
|
6741
|
+
showIcon && /* @__PURE__ */ jsx83(Icon, { icon: iconName }),
|
|
6742
|
+
/* @__PURE__ */ jsx83("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6743
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx83("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6728
6744
|
]
|
|
6729
6745
|
}
|
|
6730
6746
|
);
|
|
@@ -6735,43 +6751,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
6735
6751
|
ListItem.defaultProps = defaultProps34;
|
|
6736
6752
|
|
|
6737
6753
|
// src/list/list-content.tsx
|
|
6738
|
-
import { jsx as
|
|
6754
|
+
import { jsx as jsx84, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6739
6755
|
var className10 = `k-list-content`;
|
|
6740
6756
|
var ListContent = (props) => {
|
|
6741
6757
|
const {
|
|
6742
6758
|
virtualization
|
|
6743
6759
|
} = props;
|
|
6744
|
-
return /* @__PURE__ */
|
|
6745
|
-
/* @__PURE__ */
|
|
6746
|
-
virtualization && /* @__PURE__ */
|
|
6760
|
+
return /* @__PURE__ */ jsxs37("div", { className: classNames(className10, props.className), children: [
|
|
6761
|
+
/* @__PURE__ */ jsx84("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6762
|
+
virtualization && /* @__PURE__ */ jsx84("div", { className: "k-height-container", children: /* @__PURE__ */ jsx84("div", {}) })
|
|
6747
6763
|
] });
|
|
6748
6764
|
};
|
|
6749
6765
|
|
|
6750
6766
|
// src/list/list-header.tsx
|
|
6751
|
-
import { jsx as
|
|
6767
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6752
6768
|
var className11 = `k-list-group-sticky-header`;
|
|
6753
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
6769
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx85("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx85("div", { className: "k-list-header-text", children: props.children }) });
|
|
6754
6770
|
|
|
6755
6771
|
// src/list/list-group.tsx
|
|
6756
|
-
import { Fragment as
|
|
6772
|
+
import { Fragment as Fragment25, jsx as jsx86, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6757
6773
|
var ListGroup = (props) => {
|
|
6758
6774
|
const {
|
|
6759
6775
|
virtualization,
|
|
6760
6776
|
label
|
|
6761
6777
|
} = props;
|
|
6762
|
-
return /* @__PURE__ */
|
|
6763
|
-
label && /* @__PURE__ */
|
|
6764
|
-
props.children && /* @__PURE__ */
|
|
6778
|
+
return /* @__PURE__ */ jsxs38(Fragment25, { children: [
|
|
6779
|
+
label && /* @__PURE__ */ jsx86(ListHeader, { children: label }),
|
|
6780
|
+
props.children && /* @__PURE__ */ jsx86(ListContent, { virtualization, children: props.children })
|
|
6765
6781
|
] });
|
|
6766
6782
|
};
|
|
6767
6783
|
|
|
6768
6784
|
// src/list/list-group-item.tsx
|
|
6769
|
-
import { jsx as
|
|
6785
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
6770
6786
|
var className12 = `k-list-group-item`;
|
|
6771
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6787
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx87("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx87("span", { className: "k-list-item-text", children: props.children }) });
|
|
6772
6788
|
|
|
6773
6789
|
// src/list/list-option-label.tsx
|
|
6774
|
-
import { jsx as
|
|
6790
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6775
6791
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6776
6792
|
var states42 = [
|
|
6777
6793
|
States.hover,
|
|
@@ -6790,7 +6806,7 @@ var ListOptionLabel = (props) => {
|
|
|
6790
6806
|
disabled,
|
|
6791
6807
|
...other
|
|
6792
6808
|
} = props;
|
|
6793
|
-
return /* @__PURE__ */
|
|
6809
|
+
return /* @__PURE__ */ jsx88(
|
|
6794
6810
|
"div",
|
|
6795
6811
|
{
|
|
6796
6812
|
...other,
|
|
@@ -6813,28 +6829,28 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
6813
6829
|
ListOptionLabel.defaultProps = defaultProps35;
|
|
6814
6830
|
|
|
6815
6831
|
// src/list/templates/list-normal.tsx
|
|
6816
|
-
import { jsx as
|
|
6832
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
6817
6833
|
|
|
6818
6834
|
// src/list/templates/list-virtualization.tsx
|
|
6819
|
-
import { jsx as
|
|
6835
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6820
6836
|
|
|
6821
6837
|
// src/list/templates/list-grouping.tsx
|
|
6822
|
-
import { jsx as
|
|
6838
|
+
import { jsx as jsx91, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6823
6839
|
|
|
6824
6840
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6825
|
-
import { jsx as
|
|
6841
|
+
import { jsx as jsx92, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6826
6842
|
|
|
6827
6843
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6828
|
-
import { jsx as
|
|
6844
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6829
6845
|
|
|
6830
6846
|
// src/list/templates/list-grouping-angular.tsx
|
|
6831
|
-
import { jsx as
|
|
6847
|
+
import { jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6832
6848
|
|
|
6833
6849
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6834
|
-
import { jsx as
|
|
6850
|
+
import { jsx as jsx95, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6835
6851
|
|
|
6836
6852
|
// src/combobox/combobox.spec.tsx
|
|
6837
|
-
import { Fragment as
|
|
6853
|
+
import { Fragment as Fragment26, jsx as jsx96, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6838
6854
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6839
6855
|
var states43 = [
|
|
6840
6856
|
States.hover,
|
|
@@ -6879,8 +6895,8 @@ var Combobox = (props) => {
|
|
|
6879
6895
|
adaptiveSettings,
|
|
6880
6896
|
...other
|
|
6881
6897
|
} = props;
|
|
6882
|
-
return /* @__PURE__ */
|
|
6883
|
-
/* @__PURE__ */
|
|
6898
|
+
return /* @__PURE__ */ jsxs43(Fragment26, { children: [
|
|
6899
|
+
/* @__PURE__ */ jsxs43(
|
|
6884
6900
|
Input,
|
|
6885
6901
|
{
|
|
6886
6902
|
...other,
|
|
@@ -6897,9 +6913,9 @@ var Combobox = (props) => {
|
|
|
6897
6913
|
readonly,
|
|
6898
6914
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6899
6915
|
children: [
|
|
6900
|
-
/* @__PURE__ */
|
|
6901
|
-
/* @__PURE__ */
|
|
6902
|
-
/* @__PURE__ */
|
|
6916
|
+
/* @__PURE__ */ jsx96(InputPrefix, { children: prefix }),
|
|
6917
|
+
/* @__PURE__ */ jsx96(InputInnerInput, { placeholder, value }),
|
|
6918
|
+
/* @__PURE__ */ jsx96(
|
|
6903
6919
|
InputValidationIcon,
|
|
6904
6920
|
{
|
|
6905
6921
|
valid,
|
|
@@ -6908,14 +6924,14 @@ var Combobox = (props) => {
|
|
|
6908
6924
|
disabled
|
|
6909
6925
|
}
|
|
6910
6926
|
),
|
|
6911
|
-
/* @__PURE__ */
|
|
6927
|
+
/* @__PURE__ */ jsx96(
|
|
6912
6928
|
InputLoadingIcon,
|
|
6913
6929
|
{
|
|
6914
6930
|
loading,
|
|
6915
6931
|
disabled
|
|
6916
6932
|
}
|
|
6917
6933
|
),
|
|
6918
|
-
/* @__PURE__ */
|
|
6934
|
+
/* @__PURE__ */ jsx96(
|
|
6919
6935
|
InputClearValue,
|
|
6920
6936
|
{
|
|
6921
6937
|
loading,
|
|
@@ -6924,8 +6940,8 @@ var Combobox = (props) => {
|
|
|
6924
6940
|
value
|
|
6925
6941
|
}
|
|
6926
6942
|
),
|
|
6927
|
-
/* @__PURE__ */
|
|
6928
|
-
/* @__PURE__ */
|
|
6943
|
+
/* @__PURE__ */ jsx96(InputSuffix, { children: suffix }),
|
|
6944
|
+
/* @__PURE__ */ jsx96(
|
|
6929
6945
|
Button,
|
|
6930
6946
|
{
|
|
6931
6947
|
className: "k-input-button",
|
|
@@ -6938,9 +6954,9 @@ var Combobox = (props) => {
|
|
|
6938
6954
|
]
|
|
6939
6955
|
}
|
|
6940
6956
|
),
|
|
6941
|
-
opened && popup && /* @__PURE__ */
|
|
6942
|
-
adaptive && /* @__PURE__ */
|
|
6943
|
-
/* @__PURE__ */
|
|
6957
|
+
opened && popup && /* @__PURE__ */ jsx96(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6958
|
+
adaptive && /* @__PURE__ */ jsxs43(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6959
|
+
/* @__PURE__ */ jsx96(
|
|
6944
6960
|
ActionSheetHeader,
|
|
6945
6961
|
{
|
|
6946
6962
|
actions: ["x"],
|
|
@@ -6948,10 +6964,10 @@ var Combobox = (props) => {
|
|
|
6948
6964
|
title: "Select Item"
|
|
6949
6965
|
}
|
|
6950
6966
|
),
|
|
6951
|
-
/* @__PURE__ */
|
|
6952
|
-
/* @__PURE__ */
|
|
6953
|
-
/* @__PURE__ */
|
|
6954
|
-
/* @__PURE__ */
|
|
6967
|
+
/* @__PURE__ */ jsx96("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs43(List, { size: "large", children: [
|
|
6968
|
+
/* @__PURE__ */ jsx96(ListItem, { text: "List item" }),
|
|
6969
|
+
/* @__PURE__ */ jsx96(ListItem, { text: "List item" }),
|
|
6970
|
+
/* @__PURE__ */ jsx96(ListItem, { text: "List item" })
|
|
6955
6971
|
] }) })
|
|
6956
6972
|
] })
|
|
6957
6973
|
] });
|
|
@@ -6962,19 +6978,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
6962
6978
|
Combobox.defaultProps = defaultProps36;
|
|
6963
6979
|
|
|
6964
6980
|
// src/combobox/templates/combobox-normal.tsx
|
|
6965
|
-
import { jsx as
|
|
6981
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
6966
6982
|
|
|
6967
6983
|
// src/combobox/templates/combobox-popup.tsx
|
|
6968
|
-
import { jsx as
|
|
6984
|
+
import { jsx as jsx98, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6969
6985
|
|
|
6970
6986
|
// src/combobox/templates/combobox-grouping.tsx
|
|
6971
|
-
import { jsx as
|
|
6987
|
+
import { jsx as jsx99, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6972
6988
|
|
|
6973
6989
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
6974
|
-
import { jsx as
|
|
6990
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
6975
6991
|
|
|
6976
6992
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
6977
|
-
import { Fragment as
|
|
6993
|
+
import { Fragment as Fragment27, jsx as jsx101, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6978
6994
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
6979
6995
|
var states44 = [
|
|
6980
6996
|
States.hover,
|
|
@@ -7022,8 +7038,8 @@ var DropdownList = (props) => {
|
|
|
7022
7038
|
opened,
|
|
7023
7039
|
...other
|
|
7024
7040
|
} = props;
|
|
7025
|
-
return /* @__PURE__ */
|
|
7026
|
-
/* @__PURE__ */
|
|
7041
|
+
return /* @__PURE__ */ jsxs46(Fragment27, { children: [
|
|
7042
|
+
/* @__PURE__ */ jsxs46(
|
|
7027
7043
|
Picker,
|
|
7028
7044
|
{
|
|
7029
7045
|
...other,
|
|
@@ -7046,8 +7062,8 @@ var DropdownList = (props) => {
|
|
|
7046
7062
|
}
|
|
7047
7063
|
),
|
|
7048
7064
|
children: [
|
|
7049
|
-
/* @__PURE__ */
|
|
7050
|
-
/* @__PURE__ */
|
|
7065
|
+
/* @__PURE__ */ jsx101(InputPrefix, { children: prefix }),
|
|
7066
|
+
/* @__PURE__ */ jsx101(
|
|
7051
7067
|
InputInnerSpan,
|
|
7052
7068
|
{
|
|
7053
7069
|
placeholder,
|
|
@@ -7056,7 +7072,7 @@ var DropdownList = (props) => {
|
|
|
7056
7072
|
valueIconName
|
|
7057
7073
|
}
|
|
7058
7074
|
),
|
|
7059
|
-
/* @__PURE__ */
|
|
7075
|
+
/* @__PURE__ */ jsx101(
|
|
7060
7076
|
InputValidationIcon,
|
|
7061
7077
|
{
|
|
7062
7078
|
valid,
|
|
@@ -7065,15 +7081,15 @@ var DropdownList = (props) => {
|
|
|
7065
7081
|
disabled
|
|
7066
7082
|
}
|
|
7067
7083
|
),
|
|
7068
|
-
/* @__PURE__ */
|
|
7084
|
+
/* @__PURE__ */ jsx101(
|
|
7069
7085
|
InputLoadingIcon,
|
|
7070
7086
|
{
|
|
7071
7087
|
loading,
|
|
7072
7088
|
disabled
|
|
7073
7089
|
}
|
|
7074
7090
|
),
|
|
7075
|
-
/* @__PURE__ */
|
|
7076
|
-
/* @__PURE__ */
|
|
7091
|
+
/* @__PURE__ */ jsx101(InputSuffix, { children: suffix }),
|
|
7092
|
+
/* @__PURE__ */ jsx101(
|
|
7077
7093
|
Button,
|
|
7078
7094
|
{
|
|
7079
7095
|
className: "k-input-button",
|
|
@@ -7086,7 +7102,7 @@ var DropdownList = (props) => {
|
|
|
7086
7102
|
]
|
|
7087
7103
|
}
|
|
7088
7104
|
),
|
|
7089
|
-
opened && popup && /* @__PURE__ */
|
|
7105
|
+
opened && popup && /* @__PURE__ */ jsx101(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
7090
7106
|
] });
|
|
7091
7107
|
};
|
|
7092
7108
|
DropdownList.states = states44;
|
|
@@ -7095,22 +7111,22 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
7095
7111
|
DropdownList.defaultProps = defaultProps37;
|
|
7096
7112
|
|
|
7097
7113
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
7098
|
-
import { jsx as
|
|
7114
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
7099
7115
|
|
|
7100
7116
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
7101
|
-
import { jsx as
|
|
7117
|
+
import { jsx as jsx103, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7102
7118
|
|
|
7103
7119
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
7104
|
-
import { Fragment as
|
|
7120
|
+
import { Fragment as Fragment28, jsx as jsx104, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7105
7121
|
|
|
7106
7122
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
7107
|
-
import { jsx as
|
|
7123
|
+
import { jsx as jsx105, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7108
7124
|
|
|
7109
7125
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
7110
|
-
import { Fragment as
|
|
7126
|
+
import { Fragment as Fragment29, jsx as jsx106, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7111
7127
|
|
|
7112
7128
|
// src/menu-button/menu-button.spec.tsx
|
|
7113
|
-
import { Fragment as
|
|
7129
|
+
import { Fragment as Fragment30, jsx as jsx107, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7114
7130
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7115
7131
|
var states45 = [
|
|
7116
7132
|
States.hover,
|
|
@@ -7164,8 +7180,8 @@ var MenuButton = (props) => {
|
|
|
7164
7180
|
opened,
|
|
7165
7181
|
...other
|
|
7166
7182
|
} = props;
|
|
7167
|
-
return /* @__PURE__ */
|
|
7168
|
-
/* @__PURE__ */
|
|
7183
|
+
return /* @__PURE__ */ jsxs51(Fragment30, { children: [
|
|
7184
|
+
/* @__PURE__ */ jsx107(
|
|
7169
7185
|
Button,
|
|
7170
7186
|
{
|
|
7171
7187
|
...other,
|
|
@@ -7188,7 +7204,7 @@ var MenuButton = (props) => {
|
|
|
7188
7204
|
arrowIconName
|
|
7189
7205
|
}
|
|
7190
7206
|
),
|
|
7191
|
-
opened && popup && /* @__PURE__ */
|
|
7207
|
+
opened && popup && /* @__PURE__ */ jsx107(Popup, { className: "k-menu-popup", children: popup })
|
|
7192
7208
|
] });
|
|
7193
7209
|
};
|
|
7194
7210
|
MenuButton.states = states45;
|
|
@@ -7197,16 +7213,16 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
7197
7213
|
MenuButton.defaultProps = defaultProps38;
|
|
7198
7214
|
|
|
7199
7215
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7200
|
-
import { jsx as
|
|
7216
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
7201
7217
|
|
|
7202
7218
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7203
|
-
import { jsx as
|
|
7219
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7204
7220
|
|
|
7205
7221
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7206
|
-
import { jsx as
|
|
7222
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
7207
7223
|
|
|
7208
7224
|
// src/menu/menu-item.spec.tsx
|
|
7209
|
-
import { Fragment as
|
|
7225
|
+
import { Fragment as Fragment31, jsx as jsx111, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7210
7226
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7211
7227
|
var states46 = [
|
|
7212
7228
|
States.hover,
|
|
@@ -7234,7 +7250,7 @@ var MenuItem = (props) => {
|
|
|
7234
7250
|
children,
|
|
7235
7251
|
...other
|
|
7236
7252
|
} = props;
|
|
7237
|
-
const contentTemplate = /* @__PURE__ */
|
|
7253
|
+
const contentTemplate = /* @__PURE__ */ jsx111(Fragment31, {});
|
|
7238
7254
|
if (children) {
|
|
7239
7255
|
children.forEach((child) => {
|
|
7240
7256
|
const component = child.type;
|
|
@@ -7248,7 +7264,7 @@ var MenuItem = (props) => {
|
|
|
7248
7264
|
if (!expandArrowName) {
|
|
7249
7265
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7250
7266
|
}
|
|
7251
|
-
return /* @__PURE__ */
|
|
7267
|
+
return /* @__PURE__ */ jsxs52(
|
|
7252
7268
|
"li",
|
|
7253
7269
|
{
|
|
7254
7270
|
...other,
|
|
@@ -7263,7 +7279,7 @@ var MenuItem = (props) => {
|
|
|
7263
7279
|
})
|
|
7264
7280
|
),
|
|
7265
7281
|
children: [
|
|
7266
|
-
/* @__PURE__ */
|
|
7282
|
+
/* @__PURE__ */ jsxs52(
|
|
7267
7283
|
"span",
|
|
7268
7284
|
{
|
|
7269
7285
|
className: classNames(
|
|
@@ -7276,9 +7292,9 @@ var MenuItem = (props) => {
|
|
|
7276
7292
|
})
|
|
7277
7293
|
),
|
|
7278
7294
|
children: [
|
|
7279
|
-
icon && /* @__PURE__ */
|
|
7280
|
-
/* @__PURE__ */
|
|
7281
|
-
showArrow && /* @__PURE__ */
|
|
7295
|
+
icon && /* @__PURE__ */ jsx111(Icon, { className: "k-menu-link-icon", icon }),
|
|
7296
|
+
/* @__PURE__ */ jsx111("span", { className: "k-menu-link-text", children: text }),
|
|
7297
|
+
showArrow && /* @__PURE__ */ jsx111("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx111(Icon, { icon: expandArrowName }) })
|
|
7282
7298
|
]
|
|
7283
7299
|
}
|
|
7284
7300
|
),
|
|
@@ -7294,7 +7310,7 @@ MenuItem.defaultProps = defaultProps39;
|
|
|
7294
7310
|
var menu_item_spec_default = MenuItem;
|
|
7295
7311
|
|
|
7296
7312
|
// src/menu/menu-separator.spec.tsx
|
|
7297
|
-
import { jsx as
|
|
7313
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
7298
7314
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7299
7315
|
var defaultProps40 = {
|
|
7300
7316
|
orientation: "horizontal"
|
|
@@ -7304,7 +7320,7 @@ var MenuSeparator = (props) => {
|
|
|
7304
7320
|
orientation = defaultProps40.orientation,
|
|
7305
7321
|
...other
|
|
7306
7322
|
} = props;
|
|
7307
|
-
return /* @__PURE__ */
|
|
7323
|
+
return /* @__PURE__ */ jsx112(
|
|
7308
7324
|
"li",
|
|
7309
7325
|
{
|
|
7310
7326
|
...other,
|
|
@@ -7322,10 +7338,10 @@ var MenuSeparator = (props) => {
|
|
|
7322
7338
|
var menu_separator_spec_default = MenuSeparator;
|
|
7323
7339
|
|
|
7324
7340
|
// src/menu/menu-item-content.tsx
|
|
7325
|
-
import { Fragment as
|
|
7341
|
+
import { Fragment as Fragment32, jsx as jsx113 } from "react/jsx-runtime";
|
|
7326
7342
|
|
|
7327
7343
|
// src/menu/menu-list.spec.tsx
|
|
7328
|
-
import { jsx as
|
|
7344
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
7329
7345
|
import { createElement } from "react";
|
|
7330
7346
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7331
7347
|
var states47 = [];
|
|
@@ -7353,7 +7369,7 @@ var MenuList = (props) => {
|
|
|
7353
7369
|
);
|
|
7354
7370
|
} else if (child.type === menu_separator_spec_default) {
|
|
7355
7371
|
listChildren.push(
|
|
7356
|
-
/* @__PURE__ */
|
|
7372
|
+
/* @__PURE__ */ jsx114(menu_separator_spec_default, {})
|
|
7357
7373
|
);
|
|
7358
7374
|
} else {
|
|
7359
7375
|
listChildren.push(child);
|
|
@@ -7361,7 +7377,7 @@ var MenuList = (props) => {
|
|
|
7361
7377
|
});
|
|
7362
7378
|
}
|
|
7363
7379
|
}
|
|
7364
|
-
return /* @__PURE__ */
|
|
7380
|
+
return /* @__PURE__ */ jsx114(
|
|
7365
7381
|
"ul",
|
|
7366
7382
|
{
|
|
7367
7383
|
...other,
|
|
@@ -7382,10 +7398,10 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
7382
7398
|
MenuList.defaultProps = defaultProps41;
|
|
7383
7399
|
|
|
7384
7400
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7385
|
-
import { jsx as
|
|
7401
|
+
import { jsx as jsx115, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7386
7402
|
|
|
7387
7403
|
// src/split-button/split-button.spec.tsx
|
|
7388
|
-
import { Fragment as
|
|
7404
|
+
import { Fragment as Fragment33, jsx as jsx116, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7389
7405
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7390
7406
|
var states48 = [
|
|
7391
7407
|
States.hover,
|
|
@@ -7437,8 +7453,8 @@ var SplitButton = (props) => {
|
|
|
7437
7453
|
opened,
|
|
7438
7454
|
...other
|
|
7439
7455
|
} = props;
|
|
7440
|
-
return /* @__PURE__ */
|
|
7441
|
-
/* @__PURE__ */
|
|
7456
|
+
return /* @__PURE__ */ jsxs54(Fragment33, { children: [
|
|
7457
|
+
/* @__PURE__ */ jsxs54(
|
|
7442
7458
|
"div",
|
|
7443
7459
|
{
|
|
7444
7460
|
...other,
|
|
@@ -7451,7 +7467,7 @@ var SplitButton = (props) => {
|
|
|
7451
7467
|
})
|
|
7452
7468
|
),
|
|
7453
7469
|
children: [
|
|
7454
|
-
/* @__PURE__ */
|
|
7470
|
+
/* @__PURE__ */ jsx116(
|
|
7455
7471
|
Button,
|
|
7456
7472
|
{
|
|
7457
7473
|
text,
|
|
@@ -7468,7 +7484,7 @@ var SplitButton = (props) => {
|
|
|
7468
7484
|
children: props.children
|
|
7469
7485
|
}
|
|
7470
7486
|
),
|
|
7471
|
-
/* @__PURE__ */
|
|
7487
|
+
/* @__PURE__ */ jsx116(
|
|
7472
7488
|
Button,
|
|
7473
7489
|
{
|
|
7474
7490
|
className: "k-split-button-arrow",
|
|
@@ -7482,7 +7498,7 @@ var SplitButton = (props) => {
|
|
|
7482
7498
|
]
|
|
7483
7499
|
}
|
|
7484
7500
|
),
|
|
7485
|
-
opened && popup && /* @__PURE__ */
|
|
7501
|
+
opened && popup && /* @__PURE__ */ jsx116(Popup, { className: "k-menu-popup", children: popup })
|
|
7486
7502
|
] });
|
|
7487
7503
|
};
|
|
7488
7504
|
SplitButton.states = states48;
|
|
@@ -7492,7 +7508,7 @@ SplitButton.defaultProps = defaultProps42;
|
|
|
7492
7508
|
var split_button_spec_default = SplitButton;
|
|
7493
7509
|
|
|
7494
7510
|
// src/toolbar/toolbar.spec.tsx
|
|
7495
|
-
import { jsx as
|
|
7511
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
7496
7512
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7497
7513
|
var states49 = [
|
|
7498
7514
|
States.focus
|
|
@@ -7515,7 +7531,7 @@ var Toolbar = (props) => {
|
|
|
7515
7531
|
const tempToolbarChildren = [];
|
|
7516
7532
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7517
7533
|
tempToolbarChildren.push(
|
|
7518
|
-
/* @__PURE__ */
|
|
7534
|
+
/* @__PURE__ */ jsx117(
|
|
7519
7535
|
Button,
|
|
7520
7536
|
{
|
|
7521
7537
|
...child.props,
|
|
@@ -7526,7 +7542,7 @@ var Toolbar = (props) => {
|
|
|
7526
7542
|
);
|
|
7527
7543
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7528
7544
|
tempToolbarChildren.push(
|
|
7529
|
-
/* @__PURE__ */
|
|
7545
|
+
/* @__PURE__ */ jsx117(
|
|
7530
7546
|
Button,
|
|
7531
7547
|
{
|
|
7532
7548
|
...child.props,
|
|
@@ -7537,7 +7553,7 @@ var Toolbar = (props) => {
|
|
|
7537
7553
|
);
|
|
7538
7554
|
} else if (child.type === Button) {
|
|
7539
7555
|
tempToolbarChildren.push(
|
|
7540
|
-
/* @__PURE__ */
|
|
7556
|
+
/* @__PURE__ */ jsx117(
|
|
7541
7557
|
Button,
|
|
7542
7558
|
{
|
|
7543
7559
|
...child.props,
|
|
@@ -7548,7 +7564,7 @@ var Toolbar = (props) => {
|
|
|
7548
7564
|
);
|
|
7549
7565
|
} else if (child.type === MenuButton) {
|
|
7550
7566
|
tempToolbarChildren.push(
|
|
7551
|
-
/* @__PURE__ */
|
|
7567
|
+
/* @__PURE__ */ jsx117(
|
|
7552
7568
|
MenuButton,
|
|
7553
7569
|
{
|
|
7554
7570
|
...child.props,
|
|
@@ -7559,7 +7575,7 @@ var Toolbar = (props) => {
|
|
|
7559
7575
|
);
|
|
7560
7576
|
} else if (child.type === split_button_spec_default) {
|
|
7561
7577
|
tempToolbarChildren.push(
|
|
7562
|
-
/* @__PURE__ */
|
|
7578
|
+
/* @__PURE__ */ jsx117(
|
|
7563
7579
|
split_button_spec_default,
|
|
7564
7580
|
{
|
|
7565
7581
|
...child.props,
|
|
@@ -7573,7 +7589,7 @@ var Toolbar = (props) => {
|
|
|
7573
7589
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7574
7590
|
childrenArray.forEach((button, bindex) => {
|
|
7575
7591
|
buttonGroupItems.push(
|
|
7576
|
-
/* @__PURE__ */
|
|
7592
|
+
/* @__PURE__ */ jsx117(
|
|
7577
7593
|
Button,
|
|
7578
7594
|
{
|
|
7579
7595
|
...button.props,
|
|
@@ -7584,7 +7600,7 @@ var Toolbar = (props) => {
|
|
|
7584
7600
|
);
|
|
7585
7601
|
});
|
|
7586
7602
|
tempToolbarChildren.push(
|
|
7587
|
-
/* @__PURE__ */
|
|
7603
|
+
/* @__PURE__ */ jsx117(
|
|
7588
7604
|
ButtonGroup,
|
|
7589
7605
|
{
|
|
7590
7606
|
...child.props,
|
|
@@ -7596,7 +7612,7 @@ var Toolbar = (props) => {
|
|
|
7596
7612
|
);
|
|
7597
7613
|
} else if (child.type === Combobox) {
|
|
7598
7614
|
tempToolbarChildren.push(
|
|
7599
|
-
/* @__PURE__ */
|
|
7615
|
+
/* @__PURE__ */ jsx117(
|
|
7600
7616
|
Combobox,
|
|
7601
7617
|
{
|
|
7602
7618
|
...child.props,
|
|
@@ -7607,7 +7623,7 @@ var Toolbar = (props) => {
|
|
|
7607
7623
|
);
|
|
7608
7624
|
} else if (child.type === DropdownList) {
|
|
7609
7625
|
tempToolbarChildren.push(
|
|
7610
|
-
/* @__PURE__ */
|
|
7626
|
+
/* @__PURE__ */ jsx117(
|
|
7611
7627
|
DropdownList,
|
|
7612
7628
|
{
|
|
7613
7629
|
...child.props,
|
|
@@ -7618,7 +7634,7 @@ var Toolbar = (props) => {
|
|
|
7618
7634
|
);
|
|
7619
7635
|
} else if (child.type === ColorPicker) {
|
|
7620
7636
|
tempToolbarChildren.push(
|
|
7621
|
-
/* @__PURE__ */
|
|
7637
|
+
/* @__PURE__ */ jsx117(
|
|
7622
7638
|
ColorPicker,
|
|
7623
7639
|
{
|
|
7624
7640
|
...child.props,
|
|
@@ -7640,7 +7656,7 @@ var Toolbar = (props) => {
|
|
|
7640
7656
|
addUniqueToolClass(child, index);
|
|
7641
7657
|
});
|
|
7642
7658
|
}
|
|
7643
|
-
return /* @__PURE__ */
|
|
7659
|
+
return /* @__PURE__ */ jsx117(
|
|
7644
7660
|
"div",
|
|
7645
7661
|
{
|
|
7646
7662
|
...other,
|
|
@@ -7667,7 +7683,7 @@ Toolbar.className = TOOLBAR_CLASSNAME;
|
|
|
7667
7683
|
Toolbar.defaultProps = defaultProps43;
|
|
7668
7684
|
|
|
7669
7685
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7670
|
-
import { jsx as
|
|
7686
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7671
7687
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7672
7688
|
var states50 = [
|
|
7673
7689
|
States.focus
|
|
@@ -7690,7 +7706,7 @@ var ToolbarAngular = (props) => {
|
|
|
7690
7706
|
const tempToolbarChildren = [];
|
|
7691
7707
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7692
7708
|
tempToolbarChildren.push(
|
|
7693
|
-
/* @__PURE__ */
|
|
7709
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7694
7710
|
Button,
|
|
7695
7711
|
{
|
|
7696
7712
|
...child.props,
|
|
@@ -7701,7 +7717,7 @@ var ToolbarAngular = (props) => {
|
|
|
7701
7717
|
);
|
|
7702
7718
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7703
7719
|
tempToolbarChildren.push(
|
|
7704
|
-
/* @__PURE__ */
|
|
7720
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7705
7721
|
Button,
|
|
7706
7722
|
{
|
|
7707
7723
|
...child.props,
|
|
@@ -7712,7 +7728,7 @@ var ToolbarAngular = (props) => {
|
|
|
7712
7728
|
);
|
|
7713
7729
|
} else if (child.type === Button) {
|
|
7714
7730
|
tempToolbarChildren.push(
|
|
7715
|
-
/* @__PURE__ */
|
|
7731
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7716
7732
|
Button,
|
|
7717
7733
|
{
|
|
7718
7734
|
...child.props,
|
|
@@ -7723,7 +7739,7 @@ var ToolbarAngular = (props) => {
|
|
|
7723
7739
|
);
|
|
7724
7740
|
} else if (child.type === MenuButton) {
|
|
7725
7741
|
tempToolbarChildren.push(
|
|
7726
|
-
/* @__PURE__ */
|
|
7742
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7727
7743
|
MenuButton,
|
|
7728
7744
|
{
|
|
7729
7745
|
...child.props,
|
|
@@ -7734,7 +7750,7 @@ var ToolbarAngular = (props) => {
|
|
|
7734
7750
|
);
|
|
7735
7751
|
} else if (child.type === split_button_spec_default) {
|
|
7736
7752
|
tempToolbarChildren.push(
|
|
7737
|
-
/* @__PURE__ */
|
|
7753
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7738
7754
|
split_button_spec_default,
|
|
7739
7755
|
{
|
|
7740
7756
|
...child.props,
|
|
@@ -7748,7 +7764,7 @@ var ToolbarAngular = (props) => {
|
|
|
7748
7764
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7749
7765
|
childrenArray.forEach((button, bindex) => {
|
|
7750
7766
|
buttonGroupItems.push(
|
|
7751
|
-
/* @__PURE__ */
|
|
7767
|
+
/* @__PURE__ */ jsx118(
|
|
7752
7768
|
Button,
|
|
7753
7769
|
{
|
|
7754
7770
|
...button.props,
|
|
@@ -7759,7 +7775,7 @@ var ToolbarAngular = (props) => {
|
|
|
7759
7775
|
);
|
|
7760
7776
|
});
|
|
7761
7777
|
tempToolbarChildren.push(
|
|
7762
|
-
/* @__PURE__ */
|
|
7778
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7763
7779
|
ButtonGroup,
|
|
7764
7780
|
{
|
|
7765
7781
|
...child.props,
|
|
@@ -7771,7 +7787,7 @@ var ToolbarAngular = (props) => {
|
|
|
7771
7787
|
);
|
|
7772
7788
|
} else if (child.type === Combobox) {
|
|
7773
7789
|
tempToolbarChildren.push(
|
|
7774
|
-
/* @__PURE__ */
|
|
7790
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7775
7791
|
Combobox,
|
|
7776
7792
|
{
|
|
7777
7793
|
...child.props,
|
|
@@ -7782,7 +7798,7 @@ var ToolbarAngular = (props) => {
|
|
|
7782
7798
|
);
|
|
7783
7799
|
} else if (child.type === DropdownList) {
|
|
7784
7800
|
tempToolbarChildren.push(
|
|
7785
|
-
/* @__PURE__ */
|
|
7801
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7786
7802
|
DropdownList,
|
|
7787
7803
|
{
|
|
7788
7804
|
...child.props,
|
|
@@ -7793,7 +7809,7 @@ var ToolbarAngular = (props) => {
|
|
|
7793
7809
|
);
|
|
7794
7810
|
} else if (child.type === ColorPicker) {
|
|
7795
7811
|
tempToolbarChildren.push(
|
|
7796
|
-
/* @__PURE__ */
|
|
7812
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7797
7813
|
ColorPicker,
|
|
7798
7814
|
{
|
|
7799
7815
|
...child.props,
|
|
@@ -7815,7 +7831,7 @@ var ToolbarAngular = (props) => {
|
|
|
7815
7831
|
addUniqueToolClass(child, index);
|
|
7816
7832
|
});
|
|
7817
7833
|
}
|
|
7818
|
-
return /* @__PURE__ */
|
|
7834
|
+
return /* @__PURE__ */ jsx118(
|
|
7819
7835
|
"div",
|
|
7820
7836
|
{
|
|
7821
7837
|
...other,
|
|
@@ -7842,10 +7858,10 @@ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
|
7842
7858
|
ToolbarAngular.defaultProps = defaultProps44;
|
|
7843
7859
|
|
|
7844
7860
|
// src/toolbar/toolbar-separator.tsx
|
|
7845
|
-
import { jsx as
|
|
7861
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
7846
7862
|
|
|
7847
7863
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7848
|
-
import { jsx as
|
|
7864
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
7849
7865
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7850
7866
|
var states51 = [
|
|
7851
7867
|
States.focus
|
|
@@ -7857,7 +7873,7 @@ var ToolbarItem = (props) => {
|
|
|
7857
7873
|
focus,
|
|
7858
7874
|
...other
|
|
7859
7875
|
} = props;
|
|
7860
|
-
return /* @__PURE__ */
|
|
7876
|
+
return /* @__PURE__ */ jsx120(
|
|
7861
7877
|
"div",
|
|
7862
7878
|
{
|
|
7863
7879
|
...other,
|
|
@@ -7878,14 +7894,14 @@ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
|
7878
7894
|
ToolbarItem.defaultProps = defaultProps45;
|
|
7879
7895
|
|
|
7880
7896
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7881
|
-
import { jsx as
|
|
7897
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
7882
7898
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7883
7899
|
var states52 = [];
|
|
7884
7900
|
var options49 = {};
|
|
7885
7901
|
var defaultProps46 = {};
|
|
7886
7902
|
var ToolbarPopup = (props) => {
|
|
7887
7903
|
const { ...other } = props;
|
|
7888
|
-
return /* @__PURE__ */
|
|
7904
|
+
return /* @__PURE__ */ jsx121(
|
|
7889
7905
|
Popup,
|
|
7890
7906
|
{
|
|
7891
7907
|
...other,
|
|
@@ -7903,31 +7919,31 @@ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
|
7903
7919
|
ToolbarPopup.defaultProps = defaultProps46;
|
|
7904
7920
|
|
|
7905
7921
|
// src/split-button/templates/icon-split-button.tsx
|
|
7906
|
-
import { jsx as
|
|
7922
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
7907
7923
|
|
|
7908
7924
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7909
|
-
import { jsx as
|
|
7925
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
7910
7926
|
|
|
7911
7927
|
// src/split-button/templates/text-split-button.tsx
|
|
7912
|
-
import { jsx as
|
|
7928
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
7913
7929
|
|
|
7914
7930
|
// src/split-button/templates/split-button-popup.tsx
|
|
7915
|
-
import { jsx as
|
|
7931
|
+
import { jsx as jsx125, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7916
7932
|
|
|
7917
7933
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7918
|
-
import { Fragment as
|
|
7934
|
+
import { Fragment as Fragment34, jsx as jsx126, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7919
7935
|
|
|
7920
7936
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7921
|
-
import { jsx as
|
|
7937
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
7922
7938
|
|
|
7923
7939
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7924
|
-
import { jsx as
|
|
7940
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
7925
7941
|
|
|
7926
7942
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7927
|
-
import { jsx as
|
|
7943
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
7928
7944
|
|
|
7929
7945
|
// src/pager/pager.spec.tsx
|
|
7930
|
-
import { jsx as
|
|
7946
|
+
import { jsx as jsx130, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7931
7947
|
var PAGER_CLASSNAME = `k-pager`;
|
|
7932
7948
|
var states53 = [
|
|
7933
7949
|
States.focus,
|
|
@@ -7959,7 +7975,7 @@ var Pager = (props) => {
|
|
|
7959
7975
|
dir,
|
|
7960
7976
|
...other
|
|
7961
7977
|
} = props;
|
|
7962
|
-
return /* @__PURE__ */
|
|
7978
|
+
return /* @__PURE__ */ jsxs57(
|
|
7963
7979
|
"div",
|
|
7964
7980
|
{
|
|
7965
7981
|
dir,
|
|
@@ -7976,14 +7992,14 @@ var Pager = (props) => {
|
|
|
7976
7992
|
})
|
|
7977
7993
|
),
|
|
7978
7994
|
children: [
|
|
7979
|
-
/* @__PURE__ */
|
|
7995
|
+
/* @__PURE__ */ jsxs57(
|
|
7980
7996
|
"div",
|
|
7981
7997
|
{
|
|
7982
7998
|
className: classNames(
|
|
7983
7999
|
"k-pager-numbers-wrap"
|
|
7984
8000
|
),
|
|
7985
8001
|
children: [
|
|
7986
|
-
/* @__PURE__ */
|
|
8002
|
+
/* @__PURE__ */ jsx130(
|
|
7987
8003
|
Button,
|
|
7988
8004
|
{
|
|
7989
8005
|
className: classNames(
|
|
@@ -7997,7 +8013,7 @@ var Pager = (props) => {
|
|
|
7997
8013
|
icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
|
|
7998
8014
|
}
|
|
7999
8015
|
),
|
|
8000
|
-
/* @__PURE__ */
|
|
8016
|
+
/* @__PURE__ */ jsx130(
|
|
8001
8017
|
Button,
|
|
8002
8018
|
{
|
|
8003
8019
|
className: classNames(
|
|
@@ -8010,14 +8026,14 @@ var Pager = (props) => {
|
|
|
8010
8026
|
icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
|
|
8011
8027
|
}
|
|
8012
8028
|
),
|
|
8013
|
-
type === "numeric" && !adaptive && /* @__PURE__ */
|
|
8029
|
+
type === "numeric" && !adaptive && /* @__PURE__ */ jsxs57(
|
|
8014
8030
|
"div",
|
|
8015
8031
|
{
|
|
8016
8032
|
className: classNames(
|
|
8017
8033
|
"k-pager-numbers"
|
|
8018
8034
|
),
|
|
8019
8035
|
children: [
|
|
8020
|
-
/* @__PURE__ */
|
|
8036
|
+
/* @__PURE__ */ jsx130(
|
|
8021
8037
|
Button,
|
|
8022
8038
|
{
|
|
8023
8039
|
selected: true,
|
|
@@ -8028,7 +8044,7 @@ var Pager = (props) => {
|
|
|
8028
8044
|
children: "1"
|
|
8029
8045
|
}
|
|
8030
8046
|
),
|
|
8031
|
-
/* @__PURE__ */
|
|
8047
|
+
/* @__PURE__ */ jsx130(
|
|
8032
8048
|
Button,
|
|
8033
8049
|
{
|
|
8034
8050
|
fillMode: "flat",
|
|
@@ -8038,7 +8054,7 @@ var Pager = (props) => {
|
|
|
8038
8054
|
children: "2"
|
|
8039
8055
|
}
|
|
8040
8056
|
),
|
|
8041
|
-
/* @__PURE__ */
|
|
8057
|
+
/* @__PURE__ */ jsx130(
|
|
8042
8058
|
Button,
|
|
8043
8059
|
{
|
|
8044
8060
|
fillMode: "flat",
|
|
@@ -8048,7 +8064,7 @@ var Pager = (props) => {
|
|
|
8048
8064
|
children: "3"
|
|
8049
8065
|
}
|
|
8050
8066
|
),
|
|
8051
|
-
/* @__PURE__ */
|
|
8067
|
+
/* @__PURE__ */ jsx130(
|
|
8052
8068
|
Button,
|
|
8053
8069
|
{
|
|
8054
8070
|
fillMode: "flat",
|
|
@@ -8058,7 +8074,7 @@ var Pager = (props) => {
|
|
|
8058
8074
|
children: "4"
|
|
8059
8075
|
}
|
|
8060
8076
|
),
|
|
8061
|
-
/* @__PURE__ */
|
|
8077
|
+
/* @__PURE__ */ jsx130(
|
|
8062
8078
|
Button,
|
|
8063
8079
|
{
|
|
8064
8080
|
fillMode: "flat",
|
|
@@ -8068,7 +8084,7 @@ var Pager = (props) => {
|
|
|
8068
8084
|
children: "5"
|
|
8069
8085
|
}
|
|
8070
8086
|
),
|
|
8071
|
-
/* @__PURE__ */
|
|
8087
|
+
/* @__PURE__ */ jsx130(
|
|
8072
8088
|
Button,
|
|
8073
8089
|
{
|
|
8074
8090
|
fillMode: "flat",
|
|
@@ -8081,7 +8097,7 @@ var Pager = (props) => {
|
|
|
8081
8097
|
]
|
|
8082
8098
|
}
|
|
8083
8099
|
),
|
|
8084
|
-
type === "numeric" && /* @__PURE__ */
|
|
8100
|
+
type === "numeric" && /* @__PURE__ */ jsx130(
|
|
8085
8101
|
"select",
|
|
8086
8102
|
{
|
|
8087
8103
|
className: classNames(
|
|
@@ -8097,23 +8113,23 @@ var Pager = (props) => {
|
|
|
8097
8113
|
["k-hidden"]: !adaptive
|
|
8098
8114
|
}
|
|
8099
8115
|
),
|
|
8100
|
-
children: /* @__PURE__ */
|
|
8116
|
+
children: /* @__PURE__ */ jsx130("option", { children: "99" })
|
|
8101
8117
|
}
|
|
8102
8118
|
),
|
|
8103
|
-
type === "input" && /* @__PURE__ */
|
|
8119
|
+
type === "input" && /* @__PURE__ */ jsxs57(
|
|
8104
8120
|
"span",
|
|
8105
8121
|
{
|
|
8106
8122
|
className: classNames(
|
|
8107
8123
|
"k-pager-input"
|
|
8108
8124
|
),
|
|
8109
8125
|
children: [
|
|
8110
|
-
!adaptive && /* @__PURE__ */
|
|
8111
|
-
/* @__PURE__ */
|
|
8112
|
-
!adaptive && /* @__PURE__ */
|
|
8126
|
+
!adaptive && /* @__PURE__ */ jsx130("span", { children: "Page" }),
|
|
8127
|
+
/* @__PURE__ */ jsx130(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
|
|
8128
|
+
!adaptive && /* @__PURE__ */ jsx130("span", { children: "of 8" })
|
|
8113
8129
|
]
|
|
8114
8130
|
}
|
|
8115
8131
|
),
|
|
8116
|
-
/* @__PURE__ */
|
|
8132
|
+
/* @__PURE__ */ jsx130(
|
|
8117
8133
|
Button,
|
|
8118
8134
|
{
|
|
8119
8135
|
className: classNames(
|
|
@@ -8125,7 +8141,7 @@ var Pager = (props) => {
|
|
|
8125
8141
|
icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
|
|
8126
8142
|
}
|
|
8127
8143
|
),
|
|
8128
|
-
/* @__PURE__ */
|
|
8144
|
+
/* @__PURE__ */ jsx130(
|
|
8129
8145
|
Button,
|
|
8130
8146
|
{
|
|
8131
8147
|
className: classNames(
|
|
@@ -8141,19 +8157,19 @@ var Pager = (props) => {
|
|
|
8141
8157
|
]
|
|
8142
8158
|
}
|
|
8143
8159
|
),
|
|
8144
|
-
pageSizes && /* @__PURE__ */
|
|
8160
|
+
pageSizes && /* @__PURE__ */ jsxs57(
|
|
8145
8161
|
"span",
|
|
8146
8162
|
{
|
|
8147
8163
|
className: classNames(
|
|
8148
8164
|
"k-pager-sizes"
|
|
8149
8165
|
),
|
|
8150
8166
|
children: [
|
|
8151
|
-
/* @__PURE__ */
|
|
8152
|
-
itemsPerPage && /* @__PURE__ */
|
|
8167
|
+
/* @__PURE__ */ jsx130(DropdownList, { value: "99", size }),
|
|
8168
|
+
itemsPerPage && /* @__PURE__ */ jsx130("span", { children: "items per page" })
|
|
8153
8169
|
]
|
|
8154
8170
|
}
|
|
8155
8171
|
),
|
|
8156
|
-
refresh && /* @__PURE__ */
|
|
8172
|
+
refresh && /* @__PURE__ */ jsx130(
|
|
8157
8173
|
Button,
|
|
8158
8174
|
{
|
|
8159
8175
|
className: classNames(
|
|
@@ -8165,7 +8181,7 @@ var Pager = (props) => {
|
|
|
8165
8181
|
icon: "arrow-rotate-cw"
|
|
8166
8182
|
}
|
|
8167
8183
|
),
|
|
8168
|
-
info && /* @__PURE__ */
|
|
8184
|
+
info && /* @__PURE__ */ jsx130(
|
|
8169
8185
|
"span",
|
|
8170
8186
|
{
|
|
8171
8187
|
className: classNames(
|
|
@@ -8184,19 +8200,19 @@ Pager.className = PAGER_CLASSNAME;
|
|
|
8184
8200
|
Pager.defaultProps = defaultProps47;
|
|
8185
8201
|
|
|
8186
8202
|
// src/pager/templates/pager-normal.tsx
|
|
8187
|
-
import { jsx as
|
|
8203
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
8188
8204
|
|
|
8189
8205
|
// src/pager/templates/pager-input.tsx
|
|
8190
|
-
import { jsx as
|
|
8206
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
8191
8207
|
|
|
8192
8208
|
// src/pager/templates/pager-adaptive.tsx
|
|
8193
|
-
import { jsx as
|
|
8209
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
8194
8210
|
|
|
8195
8211
|
// src/pager/templates/pager-adaptive-input.tsx
|
|
8196
|
-
import { jsx as
|
|
8212
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
8197
8213
|
|
|
8198
8214
|
// src/dropzone/dropzone.spec.tsx
|
|
8199
|
-
import { jsx as
|
|
8215
|
+
import { jsx as jsx135, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8200
8216
|
var DROPZONE_CLASSNAME = `k-external-dropzone`;
|
|
8201
8217
|
var states54 = [
|
|
8202
8218
|
States.hover
|
|
@@ -8212,7 +8228,7 @@ var Dropzone = (props) => {
|
|
|
8212
8228
|
note = defaultProps48.note,
|
|
8213
8229
|
...other
|
|
8214
8230
|
} = props;
|
|
8215
|
-
return /* @__PURE__ */
|
|
8231
|
+
return /* @__PURE__ */ jsx135(
|
|
8216
8232
|
"div",
|
|
8217
8233
|
{
|
|
8218
8234
|
...other,
|
|
@@ -8224,10 +8240,10 @@ var Dropzone = (props) => {
|
|
|
8224
8240
|
"k-external-dropzone-hover": hover
|
|
8225
8241
|
}
|
|
8226
8242
|
),
|
|
8227
|
-
children: /* @__PURE__ */
|
|
8228
|
-
icon && /* @__PURE__ */
|
|
8229
|
-
/* @__PURE__ */
|
|
8230
|
-
note && /* @__PURE__ */
|
|
8243
|
+
children: /* @__PURE__ */ jsxs58("div", { className: "k-dropzone-inner", children: [
|
|
8244
|
+
icon && /* @__PURE__ */ jsx135(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
|
|
8245
|
+
/* @__PURE__ */ jsx135("span", { className: "k-dropzone-hint", children: "Drag and drop files here to upload" }),
|
|
8246
|
+
note && /* @__PURE__ */ jsxs58("span", { className: "k-dropzone-note", children: [
|
|
8231
8247
|
" ",
|
|
8232
8248
|
note,
|
|
8233
8249
|
" "
|
|
@@ -8238,7 +8254,7 @@ var Dropzone = (props) => {
|
|
|
8238
8254
|
};
|
|
8239
8255
|
|
|
8240
8256
|
// src/pdf-viewer/tests/pdf-viewer-blank-page.tsx
|
|
8241
|
-
import { Fragment as
|
|
8257
|
+
import { Fragment as Fragment35, jsx as jsx136, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8242
8258
|
var styles = `
|
|
8243
8259
|
#test-area .k-pdf-viewer {
|
|
8244
8260
|
height: 600px;
|
|
@@ -8247,19 +8263,19 @@ var styles = `
|
|
|
8247
8263
|
gap: 8px;
|
|
8248
8264
|
}
|
|
8249
8265
|
`;
|
|
8250
|
-
var pdf_viewer_blank_page_default = () => /* @__PURE__ */
|
|
8251
|
-
/* @__PURE__ */
|
|
8252
|
-
/* @__PURE__ */
|
|
8253
|
-
/* @__PURE__ */
|
|
8254
|
-
/* @__PURE__ */
|
|
8255
|
-
/* @__PURE__ */
|
|
8256
|
-
/* @__PURE__ */
|
|
8257
|
-
/* @__PURE__ */
|
|
8258
|
-
/* @__PURE__ */
|
|
8266
|
+
var pdf_viewer_blank_page_default = () => /* @__PURE__ */ jsxs59(Fragment35, { children: [
|
|
8267
|
+
/* @__PURE__ */ jsx136("style", { children: styles }),
|
|
8268
|
+
/* @__PURE__ */ jsx136("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsxs59("div", { className: "k-widget k-pdf-viewer", children: [
|
|
8269
|
+
/* @__PURE__ */ jsxs59(Toolbar, { resizable: true, children: [
|
|
8270
|
+
/* @__PURE__ */ jsx136(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
|
|
8271
|
+
/* @__PURE__ */ jsx136("span", { className: "k-spacer" }),
|
|
8272
|
+
/* @__PURE__ */ jsx136(Button, { fillMode: "flat", icon: "file-pdf" }),
|
|
8273
|
+
/* @__PURE__ */ jsx136(Button, { fillMode: "flat", icon: "print" }),
|
|
8274
|
+
/* @__PURE__ */ jsx136(Button, { fillMode: "flat", icon: "fullscreen" })
|
|
8259
8275
|
] }),
|
|
8260
|
-
/* @__PURE__ */
|
|
8261
|
-
/* @__PURE__ */
|
|
8262
|
-
/* @__PURE__ */
|
|
8276
|
+
/* @__PURE__ */ jsx136("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto k-enable-text-select", children: /* @__PURE__ */ jsx136("div", { className: "k-pdf-viewer-pages", children: /* @__PURE__ */ jsxs59("div", { className: "k-page k-blank-page", children: [
|
|
8277
|
+
/* @__PURE__ */ jsx136(Dropzone, { note: false }),
|
|
8278
|
+
/* @__PURE__ */ jsx136(UploadNormal, { empty: true, status: "upload" })
|
|
8263
8279
|
] }) }) })
|
|
8264
8280
|
] }) })
|
|
8265
8281
|
] });
|