@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
|
@@ -4532,8 +4532,22 @@ Window.options = options6;
|
|
|
4532
4532
|
Window.className = WINDOW_CLASSNAME;
|
|
4533
4533
|
Window.defaultProps = defaultProps6;
|
|
4534
4534
|
|
|
4535
|
-
// src/
|
|
4535
|
+
// src/window/templates/window-normal.tsx
|
|
4536
4536
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4537
|
+
var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4538
|
+
Window,
|
|
4539
|
+
{
|
|
4540
|
+
title: "Title",
|
|
4541
|
+
actions: ["window-minimize", "window", "x"],
|
|
4542
|
+
children: [
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
|
|
4544
|
+
],
|
|
4545
|
+
...props
|
|
4546
|
+
}
|
|
4547
|
+
);
|
|
4548
|
+
|
|
4549
|
+
// src/form/form-field.tsx
|
|
4550
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4537
4551
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
4538
4552
|
var states7 = [
|
|
4539
4553
|
States.disabled
|
|
@@ -4551,7 +4565,7 @@ var FormField = (props) => {
|
|
|
4551
4565
|
dir,
|
|
4552
4566
|
colSpan
|
|
4553
4567
|
} = props;
|
|
4554
|
-
return /* @__PURE__ */ (0,
|
|
4568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
4555
4569
|
"div",
|
|
4556
4570
|
{
|
|
4557
4571
|
className: classNames(
|
|
@@ -4564,19 +4578,19 @@ var FormField = (props) => {
|
|
|
4564
4578
|
),
|
|
4565
4579
|
dir,
|
|
4566
4580
|
children: [
|
|
4567
|
-
label && /* @__PURE__ */ (0,
|
|
4581
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("label", { className: classNames(
|
|
4568
4582
|
"k-label",
|
|
4569
4583
|
"k-form-label"
|
|
4570
4584
|
), children: [
|
|
4571
4585
|
label,
|
|
4572
|
-
optional && /* @__PURE__ */ (0,
|
|
4573
|
-
info && /* @__PURE__ */ (0,
|
|
4586
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
4587
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
4574
4588
|
] }),
|
|
4575
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
4576
|
-
/* @__PURE__ */ (0,
|
|
4589
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
4590
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
4577
4591
|
editor,
|
|
4578
|
-
hint && /* @__PURE__ */ (0,
|
|
4579
|
-
error && /* @__PURE__ */ (0,
|
|
4592
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
4593
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "k-form-error", children: error })
|
|
4580
4594
|
] })
|
|
4581
4595
|
]
|
|
4582
4596
|
}
|
|
@@ -4585,7 +4599,7 @@ var FormField = (props) => {
|
|
|
4585
4599
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
4586
4600
|
|
|
4587
4601
|
// src/form/fieldset.tsx
|
|
4588
|
-
var
|
|
4602
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4589
4603
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
4590
4604
|
var Fieldset = (props) => {
|
|
4591
4605
|
const {
|
|
@@ -4595,9 +4609,9 @@ var Fieldset = (props) => {
|
|
|
4595
4609
|
gapX,
|
|
4596
4610
|
gapY
|
|
4597
4611
|
} = props;
|
|
4598
|
-
return /* @__PURE__ */ (0,
|
|
4599
|
-
legend && /* @__PURE__ */ (0,
|
|
4600
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
4612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
4613
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
4614
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: classNames(
|
|
4601
4615
|
"k-form-layout",
|
|
4602
4616
|
"k-d-grid",
|
|
4603
4617
|
{
|
|
@@ -4605,13 +4619,13 @@ var Fieldset = (props) => {
|
|
|
4605
4619
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4606
4620
|
[`k-gap-y-${gapY}`]: gapY
|
|
4607
4621
|
}
|
|
4608
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
4622
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_jsx_runtime12.Fragment, { children: props.children })
|
|
4609
4623
|
] });
|
|
4610
4624
|
};
|
|
4611
4625
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
4612
4626
|
|
|
4613
4627
|
// src/form/form.spec.tsx
|
|
4614
|
-
var
|
|
4628
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4615
4629
|
var import_react = require("react");
|
|
4616
4630
|
var FORM_CLASSNAME = "k-form";
|
|
4617
4631
|
var states8 = [];
|
|
@@ -4635,7 +4649,7 @@ var Form = (props) => {
|
|
|
4635
4649
|
tag = defaultProps7.tag,
|
|
4636
4650
|
children
|
|
4637
4651
|
} = props;
|
|
4638
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
4652
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("form", { className: className13, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: className13, children: children2 });
|
|
4639
4653
|
const formChildren = [];
|
|
4640
4654
|
if (children) {
|
|
4641
4655
|
if (Array.isArray(children)) {
|
|
@@ -4654,7 +4668,7 @@ var Form = (props) => {
|
|
|
4654
4668
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
4655
4669
|
}
|
|
4656
4670
|
}
|
|
4657
|
-
return /* @__PURE__ */ (0,
|
|
4671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Parent, { tag, className: classNames(
|
|
4658
4672
|
props.className,
|
|
4659
4673
|
FORM_CLASSNAME,
|
|
4660
4674
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -4664,7 +4678,7 @@ var Form = (props) => {
|
|
|
4664
4678
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
4665
4679
|
}
|
|
4666
4680
|
), children: [
|
|
4667
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
4681
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: classNames(
|
|
4668
4682
|
"k-form-layout",
|
|
4669
4683
|
"k-d-grid",
|
|
4670
4684
|
{
|
|
@@ -4672,8 +4686,8 @@ var Form = (props) => {
|
|
|
4672
4686
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4673
4687
|
[`k-gap-y-${gapY}`]: gapY
|
|
4674
4688
|
}
|
|
4675
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
4676
|
-
formButtons && /* @__PURE__ */ (0,
|
|
4689
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, { children: formChildren }),
|
|
4690
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
4677
4691
|
] });
|
|
4678
4692
|
};
|
|
4679
4693
|
Form.states = states8;
|
|
@@ -4682,7 +4696,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
4682
4696
|
Form.defaultProps = defaultProps7;
|
|
4683
4697
|
|
|
4684
4698
|
// src/input/input.spec.tsx
|
|
4685
|
-
var
|
|
4699
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4686
4700
|
var INPUT_CLASSNAME = `k-input`;
|
|
4687
4701
|
var states9 = [
|
|
4688
4702
|
States.hover,
|
|
@@ -4718,7 +4732,7 @@ var Input = (props) => {
|
|
|
4718
4732
|
fillMode = defaultProps8.fillMode,
|
|
4719
4733
|
...other
|
|
4720
4734
|
} = props;
|
|
4721
|
-
return /* @__PURE__ */ (0,
|
|
4735
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4722
4736
|
"span",
|
|
4723
4737
|
{
|
|
4724
4738
|
...other,
|
|
@@ -4737,7 +4751,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4737
4751
|
Input.defaultProps = defaultProps8;
|
|
4738
4752
|
|
|
4739
4753
|
// src/input/picker.spec.tsx
|
|
4740
|
-
var
|
|
4754
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4741
4755
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4742
4756
|
var pickerStates = [
|
|
4743
4757
|
States.hover,
|
|
@@ -4773,7 +4787,7 @@ var Picker = (props) => {
|
|
|
4773
4787
|
fillMode = defaultProps9.fillMode,
|
|
4774
4788
|
...other
|
|
4775
4789
|
} = props;
|
|
4776
|
-
return /* @__PURE__ */ (0,
|
|
4790
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
4777
4791
|
"span",
|
|
4778
4792
|
{
|
|
4779
4793
|
...other,
|
|
@@ -4793,7 +4807,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4793
4807
|
Picker.defaultProps = defaultProps9;
|
|
4794
4808
|
|
|
4795
4809
|
// src/input/input-clear-value.tsx
|
|
4796
|
-
var
|
|
4810
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4797
4811
|
var className = `k-clear-value`;
|
|
4798
4812
|
var states10 = [
|
|
4799
4813
|
States.disabled,
|
|
@@ -4809,16 +4823,16 @@ var InputClearValue = (props) => {
|
|
|
4809
4823
|
value
|
|
4810
4824
|
} = props;
|
|
4811
4825
|
if (disabled || readonly || loading || !value) {
|
|
4812
|
-
return /* @__PURE__ */ (0,
|
|
4826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, {});
|
|
4813
4827
|
}
|
|
4814
|
-
return /* @__PURE__ */ (0,
|
|
4828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, { icon: "x" }) });
|
|
4815
4829
|
};
|
|
4816
4830
|
InputClearValue.states = states10;
|
|
4817
4831
|
InputClearValue.options = options9;
|
|
4818
4832
|
InputClearValue.className = className;
|
|
4819
4833
|
|
|
4820
4834
|
// src/input/input-inner-input.tsx
|
|
4821
|
-
var
|
|
4835
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4822
4836
|
var className2 = `k-input-inner`;
|
|
4823
4837
|
var states11 = [];
|
|
4824
4838
|
var options10 = {};
|
|
@@ -4836,7 +4850,7 @@ var InputInnerInput = (props) => {
|
|
|
4836
4850
|
autocomplete = defaultProps10.autocomplete,
|
|
4837
4851
|
...other
|
|
4838
4852
|
} = props;
|
|
4839
|
-
return /* @__PURE__ */ (0,
|
|
4853
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
4840
4854
|
"input",
|
|
4841
4855
|
{
|
|
4842
4856
|
...other,
|
|
@@ -4853,7 +4867,7 @@ InputInnerInput.options = options10;
|
|
|
4853
4867
|
InputInnerInput.className = className2;
|
|
4854
4868
|
|
|
4855
4869
|
// src/input/input-inner-span.tsx
|
|
4856
|
-
var
|
|
4870
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4857
4871
|
var className3 = `k-input-inner`;
|
|
4858
4872
|
var states12 = [];
|
|
4859
4873
|
var options11 = {};
|
|
@@ -4866,16 +4880,16 @@ var InputInnerSpan = (props) => {
|
|
|
4866
4880
|
valueIconName,
|
|
4867
4881
|
...other
|
|
4868
4882
|
} = props;
|
|
4869
|
-
return /* @__PURE__ */ (0,
|
|
4883
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
4870
4884
|
"span",
|
|
4871
4885
|
{
|
|
4872
4886
|
...other,
|
|
4873
4887
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4874
4888
|
children: [
|
|
4875
4889
|
valueIcon,
|
|
4876
|
-
!valueIcon && valueIconName && /* @__PURE__ */ (0,
|
|
4890
|
+
!valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4877
4891
|
showValue && !value && placeholder,
|
|
4878
|
-
showValue && value && /* @__PURE__ */ (0,
|
|
4892
|
+
showValue && value && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "k-input-value-text", children: value })
|
|
4879
4893
|
]
|
|
4880
4894
|
}
|
|
4881
4895
|
);
|
|
@@ -4885,7 +4899,7 @@ InputInnerSpan.options = options11;
|
|
|
4885
4899
|
InputInnerSpan.className = className3;
|
|
4886
4900
|
|
|
4887
4901
|
// src/input/input-inner-textarea.tsx
|
|
4888
|
-
var
|
|
4902
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4889
4903
|
var defaultProps11 = {
|
|
4890
4904
|
value: "",
|
|
4891
4905
|
placeholder: ""
|
|
@@ -4900,7 +4914,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4900
4914
|
rows,
|
|
4901
4915
|
...other
|
|
4902
4916
|
} = props;
|
|
4903
|
-
return /* @__PURE__ */ (0,
|
|
4917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
4904
4918
|
"textarea",
|
|
4905
4919
|
{
|
|
4906
4920
|
...other,
|
|
@@ -4916,7 +4930,7 @@ InputInnerTextarea.options = options12;
|
|
|
4916
4930
|
InputInnerTextarea.className = className4;
|
|
4917
4931
|
|
|
4918
4932
|
// src/input/input-loading-icon.tsx
|
|
4919
|
-
var
|
|
4933
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4920
4934
|
var className5 = `k-input-loading-icon`;
|
|
4921
4935
|
var states14 = [
|
|
4922
4936
|
States.disabled,
|
|
@@ -4928,13 +4942,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4928
4942
|
loading
|
|
4929
4943
|
} = props;
|
|
4930
4944
|
if (disabled || !loading) {
|
|
4931
|
-
return /* @__PURE__ */ (0,
|
|
4945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {});
|
|
4932
4946
|
}
|
|
4933
|
-
return /* @__PURE__ */ (0,
|
|
4947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4934
4948
|
};
|
|
4935
4949
|
|
|
4936
4950
|
// src/input/input-validation-icon.tsx
|
|
4937
|
-
var
|
|
4951
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4938
4952
|
var className6 = `k-input-validation-icon`;
|
|
4939
4953
|
var states15 = [
|
|
4940
4954
|
States.valid,
|
|
@@ -4953,39 +4967,39 @@ var InputValidationIcon = (props) => {
|
|
|
4953
4967
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4954
4968
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4955
4969
|
if (disabled || loading || !renderValidationIcon) {
|
|
4956
|
-
return /* @__PURE__ */ (0,
|
|
4970
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {});
|
|
4957
4971
|
}
|
|
4958
|
-
return /* @__PURE__ */ (0,
|
|
4972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { className: classNames(className6), icon: iconName });
|
|
4959
4973
|
};
|
|
4960
4974
|
InputValidationIcon.states = states15;
|
|
4961
4975
|
InputValidationIcon.options = options13;
|
|
4962
4976
|
InputValidationIcon.className = className6;
|
|
4963
4977
|
|
|
4964
4978
|
// src/input/input-prefix.tsx
|
|
4965
|
-
var
|
|
4979
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4966
4980
|
var className7 = `k-input-prefix`;
|
|
4967
4981
|
var InputPrefix = (props) => {
|
|
4968
4982
|
if (!props.children) {
|
|
4969
|
-
return /* @__PURE__ */ (0,
|
|
4983
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jsx_runtime22.Fragment, {});
|
|
4970
4984
|
}
|
|
4971
|
-
return /* @__PURE__ */ (0,
|
|
4985
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: classNames(className7, props.className), children: props.children });
|
|
4972
4986
|
};
|
|
4973
4987
|
|
|
4974
4988
|
// src/input/input-suffix.tsx
|
|
4975
|
-
var
|
|
4989
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4976
4990
|
var className8 = `k-input-suffix`;
|
|
4977
4991
|
var InputSuffix = (props) => {
|
|
4978
4992
|
if (!props.children) {
|
|
4979
|
-
return /* @__PURE__ */ (0,
|
|
4993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, {});
|
|
4980
4994
|
}
|
|
4981
|
-
return /* @__PURE__ */ (0,
|
|
4995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: classNames(className8, props.className), children: props.children });
|
|
4982
4996
|
};
|
|
4983
4997
|
|
|
4984
4998
|
// src/input/input-separator.tsx
|
|
4985
|
-
var
|
|
4999
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4986
5000
|
|
|
4987
5001
|
// src/textbox/textbox.spec.tsx
|
|
4988
|
-
var
|
|
5002
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4989
5003
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4990
5004
|
var states16 = [
|
|
4991
5005
|
States.hover,
|
|
@@ -5028,7 +5042,7 @@ var Textbox = (props) => {
|
|
|
5028
5042
|
showClearButton = defaultProps12.showClearButton,
|
|
5029
5043
|
...other
|
|
5030
5044
|
} = props;
|
|
5031
|
-
return /* @__PURE__ */ (0,
|
|
5045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
5032
5046
|
Input,
|
|
5033
5047
|
{
|
|
5034
5048
|
...other,
|
|
@@ -5045,9 +5059,9 @@ var Textbox = (props) => {
|
|
|
5045
5059
|
readonly,
|
|
5046
5060
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5047
5061
|
children: [
|
|
5048
|
-
/* @__PURE__ */ (0,
|
|
5049
|
-
/* @__PURE__ */ (0,
|
|
5050
|
-
/* @__PURE__ */ (0,
|
|
5062
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputPrefix, { children: prefix }),
|
|
5063
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputInnerInput, { placeholder, value }),
|
|
5064
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
5051
5065
|
InputValidationIcon,
|
|
5052
5066
|
{
|
|
5053
5067
|
valid,
|
|
@@ -5056,14 +5070,14 @@ var Textbox = (props) => {
|
|
|
5056
5070
|
disabled
|
|
5057
5071
|
}
|
|
5058
5072
|
),
|
|
5059
|
-
/* @__PURE__ */ (0,
|
|
5073
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
5060
5074
|
InputLoadingIcon,
|
|
5061
5075
|
{
|
|
5062
5076
|
loading,
|
|
5063
5077
|
disabled
|
|
5064
5078
|
}
|
|
5065
5079
|
),
|
|
5066
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
5080
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
5067
5081
|
InputClearValue,
|
|
5068
5082
|
{
|
|
5069
5083
|
loading,
|
|
@@ -5072,7 +5086,7 @@ var Textbox = (props) => {
|
|
|
5072
5086
|
value
|
|
5073
5087
|
}
|
|
5074
5088
|
),
|
|
5075
|
-
/* @__PURE__ */ (0,
|
|
5089
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(InputSuffix, { children: suffix })
|
|
5076
5090
|
]
|
|
5077
5091
|
}
|
|
5078
5092
|
);
|
|
@@ -5083,16 +5097,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5083
5097
|
Textbox.defaultProps = defaultProps12;
|
|
5084
5098
|
|
|
5085
5099
|
// src/textbox/templates/textbox-normal.tsx
|
|
5086
|
-
var
|
|
5100
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
5087
5101
|
|
|
5088
5102
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5089
|
-
var
|
|
5103
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
5090
5104
|
|
|
5091
5105
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5092
|
-
var
|
|
5106
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5093
5107
|
|
|
5094
5108
|
// src/animation-container/animation-container.spec.tsx
|
|
5095
|
-
var
|
|
5109
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5096
5110
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5097
5111
|
var states17 = [];
|
|
5098
5112
|
var options15 = {};
|
|
@@ -5106,7 +5120,7 @@ var AnimationContainer = (props) => {
|
|
|
5106
5120
|
offset,
|
|
5107
5121
|
...other
|
|
5108
5122
|
} = props;
|
|
5109
|
-
return /* @__PURE__ */ (0,
|
|
5123
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5110
5124
|
"div",
|
|
5111
5125
|
{
|
|
5112
5126
|
...other,
|
|
@@ -5118,7 +5132,7 @@ var AnimationContainer = (props) => {
|
|
|
5118
5132
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5119
5133
|
}
|
|
5120
5134
|
),
|
|
5121
|
-
children: /* @__PURE__ */ (0,
|
|
5135
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5122
5136
|
}
|
|
5123
5137
|
);
|
|
5124
5138
|
};
|
|
@@ -5128,7 +5142,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5128
5142
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5129
5143
|
|
|
5130
5144
|
// src/popup/popup.spec.tsx
|
|
5131
|
-
var
|
|
5145
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5132
5146
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5133
5147
|
var states18 = [];
|
|
5134
5148
|
var options16 = {};
|
|
@@ -5141,12 +5155,12 @@ var Popup = (props) => {
|
|
|
5141
5155
|
positionMode,
|
|
5142
5156
|
...other
|
|
5143
5157
|
} = props;
|
|
5144
|
-
return /* @__PURE__ */ (0,
|
|
5158
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5145
5159
|
AnimationContainer,
|
|
5146
5160
|
{
|
|
5147
5161
|
positionMode,
|
|
5148
5162
|
offset,
|
|
5149
|
-
children: /* @__PURE__ */ (0,
|
|
5163
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5150
5164
|
}
|
|
5151
5165
|
);
|
|
5152
5166
|
};
|
|
@@ -5156,7 +5170,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5156
5170
|
Popup.defaultProps = defaultProps14;
|
|
5157
5171
|
|
|
5158
5172
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5159
|
-
var
|
|
5173
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5160
5174
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5161
5175
|
var states19 = [
|
|
5162
5176
|
States.hover,
|
|
@@ -5204,8 +5218,8 @@ var DropdownList = (props) => {
|
|
|
5204
5218
|
opened,
|
|
5205
5219
|
...other
|
|
5206
5220
|
} = props;
|
|
5207
|
-
return /* @__PURE__ */ (0,
|
|
5208
|
-
/* @__PURE__ */ (0,
|
|
5221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
|
|
5222
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
5209
5223
|
Picker,
|
|
5210
5224
|
{
|
|
5211
5225
|
...other,
|
|
@@ -5228,8 +5242,8 @@ var DropdownList = (props) => {
|
|
|
5228
5242
|
}
|
|
5229
5243
|
),
|
|
5230
5244
|
children: [
|
|
5231
|
-
/* @__PURE__ */ (0,
|
|
5232
|
-
/* @__PURE__ */ (0,
|
|
5245
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(InputPrefix, { children: prefix }),
|
|
5246
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5233
5247
|
InputInnerSpan,
|
|
5234
5248
|
{
|
|
5235
5249
|
placeholder,
|
|
@@ -5238,7 +5252,7 @@ var DropdownList = (props) => {
|
|
|
5238
5252
|
valueIconName
|
|
5239
5253
|
}
|
|
5240
5254
|
),
|
|
5241
|
-
/* @__PURE__ */ (0,
|
|
5255
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5242
5256
|
InputValidationIcon,
|
|
5243
5257
|
{
|
|
5244
5258
|
valid,
|
|
@@ -5247,15 +5261,15 @@ var DropdownList = (props) => {
|
|
|
5247
5261
|
disabled
|
|
5248
5262
|
}
|
|
5249
5263
|
),
|
|
5250
|
-
/* @__PURE__ */ (0,
|
|
5264
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5251
5265
|
InputLoadingIcon,
|
|
5252
5266
|
{
|
|
5253
5267
|
loading,
|
|
5254
5268
|
disabled
|
|
5255
5269
|
}
|
|
5256
5270
|
),
|
|
5257
|
-
/* @__PURE__ */ (0,
|
|
5258
|
-
/* @__PURE__ */ (0,
|
|
5271
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(InputSuffix, { children: suffix }),
|
|
5272
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5259
5273
|
Button,
|
|
5260
5274
|
{
|
|
5261
5275
|
className: "k-input-button",
|
|
@@ -5268,7 +5282,7 @@ var DropdownList = (props) => {
|
|
|
5268
5282
|
]
|
|
5269
5283
|
}
|
|
5270
5284
|
),
|
|
5271
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
5285
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5272
5286
|
] });
|
|
5273
5287
|
};
|
|
5274
5288
|
DropdownList.states = states19;
|
|
@@ -5277,15 +5291,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5277
5291
|
DropdownList.defaultProps = defaultProps15;
|
|
5278
5292
|
|
|
5279
5293
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5280
|
-
var
|
|
5294
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5281
5295
|
|
|
5282
5296
|
// src/nodata/nodata.tsx
|
|
5283
|
-
var
|
|
5297
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5284
5298
|
var className9 = `k-nodata`;
|
|
5285
|
-
var NoData = (props) => /* @__PURE__ */ (0,
|
|
5299
|
+
var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: classNames(className9, props.className), children: props.children });
|
|
5286
5300
|
|
|
5287
5301
|
// src/list/list.spec.tsx
|
|
5288
|
-
var
|
|
5302
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5289
5303
|
var LIST_CLASSNAME = `k-list`;
|
|
5290
5304
|
var states20 = [];
|
|
5291
5305
|
var options18 = {
|
|
@@ -5313,7 +5327,7 @@ var List = (props) => {
|
|
|
5313
5327
|
listHeader = child.props.label;
|
|
5314
5328
|
child.props.children.map((optChild, index2) => {
|
|
5315
5329
|
listChildren.push(
|
|
5316
|
-
/* @__PURE__ */ (0,
|
|
5330
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
5317
5331
|
ListItem,
|
|
5318
5332
|
{
|
|
5319
5333
|
...optChild.props
|
|
@@ -5329,7 +5343,7 @@ var List = (props) => {
|
|
|
5329
5343
|
groupLabel = child.props.label;
|
|
5330
5344
|
}
|
|
5331
5345
|
listChildren.push(
|
|
5332
|
-
/* @__PURE__ */ (0,
|
|
5346
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
5333
5347
|
ListItem,
|
|
5334
5348
|
{
|
|
5335
5349
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5341,16 +5355,16 @@ var List = (props) => {
|
|
|
5341
5355
|
);
|
|
5342
5356
|
});
|
|
5343
5357
|
}
|
|
5344
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5358
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5345
5359
|
} else if (child.type === ListItem) {
|
|
5346
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5347
|
-
listContent = /* @__PURE__ */ (0,
|
|
5360
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5361
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5348
5362
|
}
|
|
5349
5363
|
});
|
|
5350
5364
|
} else {
|
|
5351
|
-
listContent = /* @__PURE__ */ (0,
|
|
5365
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(NoData, { children: "No data found." });
|
|
5352
5366
|
}
|
|
5353
|
-
return /* @__PURE__ */ (0,
|
|
5367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
5354
5368
|
"div",
|
|
5355
5369
|
{
|
|
5356
5370
|
...other,
|
|
@@ -5379,7 +5393,7 @@ List.defaultProps = defaultProps16;
|
|
|
5379
5393
|
var list_spec_default = List;
|
|
5380
5394
|
|
|
5381
5395
|
// src/list/list-angular.spec.tsx
|
|
5382
|
-
var
|
|
5396
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5383
5397
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5384
5398
|
var states21 = [];
|
|
5385
5399
|
var options19 = {
|
|
@@ -5406,7 +5420,7 @@ var ListAngular = (props) => {
|
|
|
5406
5420
|
listHeader = child.props.label;
|
|
5407
5421
|
child.props.children.map((optChild, index2) => {
|
|
5408
5422
|
listChildren.push(
|
|
5409
|
-
/* @__PURE__ */ (0,
|
|
5423
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
5410
5424
|
ListItem,
|
|
5411
5425
|
{
|
|
5412
5426
|
...optChild.props
|
|
@@ -5417,7 +5431,7 @@ var ListAngular = (props) => {
|
|
|
5417
5431
|
});
|
|
5418
5432
|
} else {
|
|
5419
5433
|
listChildren.push(
|
|
5420
|
-
/* @__PURE__ */ (0,
|
|
5434
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
5421
5435
|
ListGroupItem,
|
|
5422
5436
|
{
|
|
5423
5437
|
...child.props,
|
|
@@ -5428,7 +5442,7 @@ var ListAngular = (props) => {
|
|
|
5428
5442
|
);
|
|
5429
5443
|
child.props.children.map((optChild, index2) => {
|
|
5430
5444
|
listChildren.push(
|
|
5431
|
-
/* @__PURE__ */ (0,
|
|
5445
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
5432
5446
|
ListItem,
|
|
5433
5447
|
{
|
|
5434
5448
|
...optChild.props
|
|
@@ -5438,16 +5452,16 @@ var ListAngular = (props) => {
|
|
|
5438
5452
|
);
|
|
5439
5453
|
});
|
|
5440
5454
|
}
|
|
5441
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5455
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5442
5456
|
} else if (child.type === ListItem) {
|
|
5443
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5444
|
-
listContent = /* @__PURE__ */ (0,
|
|
5457
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5458
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5445
5459
|
}
|
|
5446
5460
|
});
|
|
5447
5461
|
} else {
|
|
5448
|
-
listContent = /* @__PURE__ */ (0,
|
|
5462
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(NoData, { children: "No data found." });
|
|
5449
5463
|
}
|
|
5450
|
-
return /* @__PURE__ */ (0,
|
|
5464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
5451
5465
|
"div",
|
|
5452
5466
|
{
|
|
5453
5467
|
...other,
|
|
@@ -5474,7 +5488,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5474
5488
|
ListAngular.defaultProps = defaultProps17;
|
|
5475
5489
|
|
|
5476
5490
|
// src/checkbox/checkbox.spec.tsx
|
|
5477
|
-
var
|
|
5491
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5478
5492
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5479
5493
|
var states22 = [
|
|
5480
5494
|
States.hover,
|
|
@@ -5509,7 +5523,7 @@ var Checkbox = (props) => {
|
|
|
5509
5523
|
rounded = defaultProps18.rounded,
|
|
5510
5524
|
...other
|
|
5511
5525
|
} = props;
|
|
5512
|
-
return /* @__PURE__ */ (0,
|
|
5526
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
5513
5527
|
"input",
|
|
5514
5528
|
{
|
|
5515
5529
|
...other,
|
|
@@ -5532,7 +5546,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5532
5546
|
Checkbox.defaultProps = defaultProps18;
|
|
5533
5547
|
|
|
5534
5548
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5535
|
-
var
|
|
5549
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5536
5550
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5537
5551
|
var states23 = [];
|
|
5538
5552
|
var options21 = {};
|
|
@@ -5544,7 +5558,7 @@ var CheckboxGroup = (props) => {
|
|
|
5544
5558
|
layout = defaultProps19.layout,
|
|
5545
5559
|
...other
|
|
5546
5560
|
} = props;
|
|
5547
|
-
return /* @__PURE__ */ (0,
|
|
5561
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5548
5562
|
"ul",
|
|
5549
5563
|
{
|
|
5550
5564
|
...other,
|
|
@@ -5565,7 +5579,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5565
5579
|
CheckboxGroup.defaultProps = defaultProps19;
|
|
5566
5580
|
|
|
5567
5581
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5568
|
-
var
|
|
5582
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5569
5583
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5570
5584
|
var states24 = [];
|
|
5571
5585
|
var options22 = {};
|
|
@@ -5574,7 +5588,7 @@ var CheckboxItem = (props) => {
|
|
|
5574
5588
|
const {
|
|
5575
5589
|
...other
|
|
5576
5590
|
} = props;
|
|
5577
|
-
return /* @__PURE__ */ (0,
|
|
5591
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
5578
5592
|
"li",
|
|
5579
5593
|
{
|
|
5580
5594
|
...other,
|
|
@@ -5592,16 +5606,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5592
5606
|
CheckboxItem.defaultProps = defaultProps20;
|
|
5593
5607
|
|
|
5594
5608
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5595
|
-
var
|
|
5609
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5596
5610
|
|
|
5597
5611
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5598
|
-
var
|
|
5612
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5599
5613
|
|
|
5600
5614
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5601
|
-
var
|
|
5615
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5602
5616
|
|
|
5603
5617
|
// src/list/list-item.spec.tsx
|
|
5604
|
-
var
|
|
5618
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5605
5619
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5606
5620
|
var states25 = [
|
|
5607
5621
|
States.hover,
|
|
@@ -5626,7 +5640,7 @@ var ListItem = (props) => {
|
|
|
5626
5640
|
...other
|
|
5627
5641
|
} = props;
|
|
5628
5642
|
const textOrChildren = text ? text : props.children;
|
|
5629
|
-
return /* @__PURE__ */ (0,
|
|
5643
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5630
5644
|
"li",
|
|
5631
5645
|
{
|
|
5632
5646
|
...other,
|
|
@@ -5641,10 +5655,10 @@ var ListItem = (props) => {
|
|
|
5641
5655
|
})
|
|
5642
5656
|
),
|
|
5643
5657
|
children: [
|
|
5644
|
-
showCheckbox && /* @__PURE__ */ (0,
|
|
5645
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5646
|
-
/* @__PURE__ */ (0,
|
|
5647
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0,
|
|
5658
|
+
showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Checkbox, { checked }),
|
|
5659
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: iconName }),
|
|
5660
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5661
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5648
5662
|
]
|
|
5649
5663
|
}
|
|
5650
5664
|
);
|
|
@@ -5655,43 +5669,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5655
5669
|
ListItem.defaultProps = defaultProps21;
|
|
5656
5670
|
|
|
5657
5671
|
// src/list/list-content.tsx
|
|
5658
|
-
var
|
|
5672
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5659
5673
|
var className10 = `k-list-content`;
|
|
5660
5674
|
var ListContent = (props) => {
|
|
5661
5675
|
const {
|
|
5662
5676
|
virtualization
|
|
5663
5677
|
} = props;
|
|
5664
|
-
return /* @__PURE__ */ (0,
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
5666
|
-
virtualization && /* @__PURE__ */ (0,
|
|
5678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: classNames(className10, props.className), children: [
|
|
5679
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5680
|
+
virtualization && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {}) })
|
|
5667
5681
|
] });
|
|
5668
5682
|
};
|
|
5669
5683
|
|
|
5670
5684
|
// src/list/list-header.tsx
|
|
5671
|
-
var
|
|
5685
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5672
5686
|
var className11 = `k-list-group-sticky-header`;
|
|
5673
|
-
var ListHeader = (props) => /* @__PURE__ */ (0,
|
|
5687
|
+
var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "k-list-header-text", children: props.children }) });
|
|
5674
5688
|
|
|
5675
5689
|
// src/list/list-group.tsx
|
|
5676
|
-
var
|
|
5690
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5677
5691
|
var ListGroup = (props) => {
|
|
5678
5692
|
const {
|
|
5679
5693
|
virtualization,
|
|
5680
5694
|
label
|
|
5681
5695
|
} = props;
|
|
5682
|
-
return /* @__PURE__ */ (0,
|
|
5683
|
-
label && /* @__PURE__ */ (0,
|
|
5684
|
-
props.children && /* @__PURE__ */ (0,
|
|
5696
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
|
|
5697
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ListHeader, { children: label }),
|
|
5698
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ListContent, { virtualization, children: props.children })
|
|
5685
5699
|
] });
|
|
5686
5700
|
};
|
|
5687
5701
|
|
|
5688
5702
|
// src/list/list-group-item.tsx
|
|
5689
|
-
var
|
|
5703
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5690
5704
|
var className12 = `k-list-group-item`;
|
|
5691
|
-
var ListGroupItem = (props) => /* @__PURE__ */ (0,
|
|
5705
|
+
var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "k-list-item-text", children: props.children }) });
|
|
5692
5706
|
|
|
5693
5707
|
// src/list/list-option-label.tsx
|
|
5694
|
-
var
|
|
5708
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5695
5709
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5696
5710
|
var states26 = [
|
|
5697
5711
|
States.hover,
|
|
@@ -5710,7 +5724,7 @@ var ListOptionLabel = (props) => {
|
|
|
5710
5724
|
disabled,
|
|
5711
5725
|
...other
|
|
5712
5726
|
} = props;
|
|
5713
|
-
return /* @__PURE__ */ (0,
|
|
5727
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5714
5728
|
"div",
|
|
5715
5729
|
{
|
|
5716
5730
|
...other,
|
|
@@ -5733,31 +5747,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5733
5747
|
ListOptionLabel.defaultProps = defaultProps22;
|
|
5734
5748
|
|
|
5735
5749
|
// src/list/templates/list-normal.tsx
|
|
5736
|
-
var
|
|
5750
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5737
5751
|
|
|
5738
5752
|
// src/list/templates/list-virtualization.tsx
|
|
5739
|
-
var
|
|
5753
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5740
5754
|
|
|
5741
5755
|
// src/list/templates/list-grouping.tsx
|
|
5742
|
-
var
|
|
5756
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5743
5757
|
|
|
5744
5758
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5745
|
-
var
|
|
5759
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5746
5760
|
|
|
5747
5761
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5748
|
-
var
|
|
5762
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5749
5763
|
|
|
5750
5764
|
// src/list/templates/list-grouping-angular.tsx
|
|
5751
|
-
var
|
|
5765
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5752
5766
|
|
|
5753
5767
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5754
|
-
var
|
|
5768
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5755
5769
|
|
|
5756
5770
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5757
|
-
var
|
|
5771
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5758
5772
|
|
|
5759
5773
|
// src/searchbox/searchbox.spec.tsx
|
|
5760
|
-
var
|
|
5774
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5761
5775
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5762
5776
|
var states27 = [
|
|
5763
5777
|
States.hover,
|
|
@@ -5798,7 +5812,7 @@ var Searchbox = (props) => {
|
|
|
5798
5812
|
icon = defaultProps23.icon,
|
|
5799
5813
|
...other
|
|
5800
5814
|
} = props;
|
|
5801
|
-
return /* @__PURE__ */ (0,
|
|
5815
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
5802
5816
|
Input,
|
|
5803
5817
|
{
|
|
5804
5818
|
...other,
|
|
@@ -5814,11 +5828,11 @@ var Searchbox = (props) => {
|
|
|
5814
5828
|
disabled,
|
|
5815
5829
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5816
5830
|
children: [
|
|
5817
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5818
|
-
/* @__PURE__ */ (0,
|
|
5819
|
-
/* @__PURE__ */ (0,
|
|
5820
|
-
/* @__PURE__ */ (0,
|
|
5821
|
-
/* @__PURE__ */ (0,
|
|
5831
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5832
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputInnerInput, { placeholder, value }),
|
|
5833
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputLoadingIcon, { ...props }),
|
|
5834
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputValidationIcon, { ...props }),
|
|
5835
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputClearValue, { ...props })
|
|
5822
5836
|
]
|
|
5823
5837
|
}
|
|
5824
5838
|
);
|
|
@@ -5829,19 +5843,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5829
5843
|
Searchbox.defaultProps = defaultProps23;
|
|
5830
5844
|
|
|
5831
5845
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5832
|
-
var
|
|
5846
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5833
5847
|
|
|
5834
5848
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5835
|
-
var
|
|
5849
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5836
5850
|
|
|
5837
5851
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5838
|
-
var
|
|
5852
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5839
5853
|
|
|
5840
5854
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5841
|
-
var
|
|
5855
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
5842
5856
|
|
|
5843
5857
|
// src/listbox/listbox.spec.tsx
|
|
5844
|
-
var
|
|
5858
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
5845
5859
|
var LISTBOX_CLASSNAME = `k-listbox`;
|
|
5846
5860
|
var states28 = [
|
|
5847
5861
|
States.disabled
|
|
@@ -5863,7 +5877,7 @@ var ListBox = (props) => {
|
|
|
5863
5877
|
dir,
|
|
5864
5878
|
...other
|
|
5865
5879
|
} = props;
|
|
5866
|
-
return /* @__PURE__ */ (0,
|
|
5880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
5867
5881
|
"div",
|
|
5868
5882
|
{
|
|
5869
5883
|
...other,
|
|
@@ -5882,7 +5896,7 @@ var ListBox = (props) => {
|
|
|
5882
5896
|
}
|
|
5883
5897
|
),
|
|
5884
5898
|
children: [
|
|
5885
|
-
actions && /* @__PURE__ */ (0,
|
|
5899
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "k-listbox-actions", children: actions.map((action) => {
|
|
5886
5900
|
const actionsIconMap = {
|
|
5887
5901
|
"left": dir !== "rtl" ? "caret-alt-left" : "caret-alt-right",
|
|
5888
5902
|
"right": dir !== "rtl" ? "caret-alt-right" : "caret-alt-left",
|
|
@@ -5892,12 +5906,12 @@ var ListBox = (props) => {
|
|
|
5892
5906
|
"down": "caret-alt-down",
|
|
5893
5907
|
"x": "x"
|
|
5894
5908
|
};
|
|
5895
|
-
return /* @__PURE__ */ (0,
|
|
5909
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { icon: actionsIconMap[action], size });
|
|
5896
5910
|
}) }),
|
|
5897
|
-
/* @__PURE__ */ (0,
|
|
5911
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: classNames(
|
|
5898
5912
|
"k-list-scroller",
|
|
5899
5913
|
"k-selectable"
|
|
5900
|
-
), children: /* @__PURE__ */ (0,
|
|
5914
|
+
), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(list_spec_default, { size, children }) })
|
|
5901
5915
|
]
|
|
5902
5916
|
}
|
|
5903
5917
|
);
|
|
@@ -5908,10 +5922,10 @@ ListBox.className = LISTBOX_CLASSNAME;
|
|
|
5908
5922
|
ListBox.defaultProps = defaultProps24;
|
|
5909
5923
|
|
|
5910
5924
|
// src/listbox/templates/listbox-normal.tsx
|
|
5911
|
-
var
|
|
5925
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
5912
5926
|
|
|
5913
5927
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5914
|
-
var
|
|
5928
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5915
5929
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5916
5930
|
var states29 = [];
|
|
5917
5931
|
var options27 = {
|
|
@@ -5928,7 +5942,7 @@ var SpinButton = (props) => {
|
|
|
5928
5942
|
fillMode = defaultProps25.fillMode,
|
|
5929
5943
|
...other
|
|
5930
5944
|
} = props;
|
|
5931
|
-
return /* @__PURE__ */ (0,
|
|
5945
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
5932
5946
|
"span",
|
|
5933
5947
|
{
|
|
5934
5948
|
...other,
|
|
@@ -5937,7 +5951,7 @@ var SpinButton = (props) => {
|
|
|
5937
5951
|
props.className
|
|
5938
5952
|
),
|
|
5939
5953
|
children: [
|
|
5940
|
-
/* @__PURE__ */ (0,
|
|
5954
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5941
5955
|
Button,
|
|
5942
5956
|
{
|
|
5943
5957
|
className: "k-spinner-increase",
|
|
@@ -5947,7 +5961,7 @@ var SpinButton = (props) => {
|
|
|
5947
5961
|
fillMode
|
|
5948
5962
|
}
|
|
5949
5963
|
),
|
|
5950
|
-
/* @__PURE__ */ (0,
|
|
5964
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5951
5965
|
Button,
|
|
5952
5966
|
{
|
|
5953
5967
|
className: "k-spinner-decrease",
|
|
@@ -5967,7 +5981,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5967
5981
|
SpinButton.defaultProps = defaultProps25;
|
|
5968
5982
|
|
|
5969
5983
|
// src/dateinput/dateinput.spec.tsx
|
|
5970
|
-
var
|
|
5984
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5971
5985
|
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
5972
5986
|
var states30 = [
|
|
5973
5987
|
States.hover,
|
|
@@ -6007,7 +6021,7 @@ var DateInput = (props) => {
|
|
|
6007
6021
|
showSpinButton,
|
|
6008
6022
|
...other
|
|
6009
6023
|
} = props;
|
|
6010
|
-
return /* @__PURE__ */ (0,
|
|
6024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
6011
6025
|
Input,
|
|
6012
6026
|
{
|
|
6013
6027
|
...other,
|
|
@@ -6024,8 +6038,8 @@ var DateInput = (props) => {
|
|
|
6024
6038
|
readonly,
|
|
6025
6039
|
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
6026
6040
|
children: [
|
|
6027
|
-
/* @__PURE__ */ (0,
|
|
6028
|
-
/* @__PURE__ */ (0,
|
|
6041
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputInnerInput, { placeholder, value }),
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6029
6043
|
InputValidationIcon,
|
|
6030
6044
|
{
|
|
6031
6045
|
valid,
|
|
@@ -6034,14 +6048,14 @@ var DateInput = (props) => {
|
|
|
6034
6048
|
disabled
|
|
6035
6049
|
}
|
|
6036
6050
|
),
|
|
6037
|
-
/* @__PURE__ */ (0,
|
|
6051
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6038
6052
|
InputLoadingIcon,
|
|
6039
6053
|
{
|
|
6040
6054
|
loading,
|
|
6041
6055
|
disabled
|
|
6042
6056
|
}
|
|
6043
6057
|
),
|
|
6044
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
6058
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
6045
6059
|
SpinButton,
|
|
6046
6060
|
{
|
|
6047
6061
|
className: "k-input-spinner",
|
|
@@ -6059,10 +6073,10 @@ DateInput.className = DATEINPUT_CLASSNAME;
|
|
|
6059
6073
|
DateInput.defaultProps = defaultProps26;
|
|
6060
6074
|
|
|
6061
6075
|
// src/dateinput/templates/dateinput-normal.tsx
|
|
6062
|
-
var
|
|
6076
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6063
6077
|
|
|
6064
6078
|
// src/color-preview/color-preview.tsx
|
|
6065
|
-
var
|
|
6079
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6066
6080
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
6067
6081
|
var states31 = [];
|
|
6068
6082
|
var options29 = {};
|
|
@@ -6072,7 +6086,7 @@ var ColorPreview = (props) => {
|
|
|
6072
6086
|
iconName,
|
|
6073
6087
|
...other
|
|
6074
6088
|
} = props;
|
|
6075
|
-
return /* @__PURE__ */ (0,
|
|
6089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6076
6090
|
"span",
|
|
6077
6091
|
{
|
|
6078
6092
|
...other,
|
|
@@ -6085,8 +6099,8 @@ var ColorPreview = (props) => {
|
|
|
6085
6099
|
}
|
|
6086
6100
|
),
|
|
6087
6101
|
children: [
|
|
6088
|
-
iconName && /* @__PURE__ */ (0,
|
|
6089
|
-
/* @__PURE__ */ (0,
|
|
6102
|
+
iconName && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
6103
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6090
6104
|
"span",
|
|
6091
6105
|
{
|
|
6092
6106
|
className: "k-color-preview-mask",
|
|
@@ -6102,7 +6116,7 @@ ColorPreview.options = options29;
|
|
|
6102
6116
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
6103
6117
|
|
|
6104
6118
|
// src/colorpicker/colorpicker.spec.tsx
|
|
6105
|
-
var
|
|
6119
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6106
6120
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
6107
6121
|
var states32 = [
|
|
6108
6122
|
States.hover,
|
|
@@ -6144,8 +6158,8 @@ var ColorPicker = (props) => {
|
|
|
6144
6158
|
opened,
|
|
6145
6159
|
...other
|
|
6146
6160
|
} = props;
|
|
6147
|
-
return /* @__PURE__ */ (0,
|
|
6148
|
-
/* @__PURE__ */ (0,
|
|
6161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
|
|
6162
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6149
6163
|
Picker,
|
|
6150
6164
|
{
|
|
6151
6165
|
...other,
|
|
@@ -6164,14 +6178,14 @@ var ColorPicker = (props) => {
|
|
|
6164
6178
|
"k-icon-picker"
|
|
6165
6179
|
),
|
|
6166
6180
|
children: [
|
|
6167
|
-
/* @__PURE__ */ (0,
|
|
6168
|
-
/* @__PURE__ */ (0,
|
|
6181
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(InputPrefix, { children: prefix }),
|
|
6182
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6169
6183
|
InputInnerSpan,
|
|
6170
6184
|
{
|
|
6171
6185
|
placeholder,
|
|
6172
6186
|
value,
|
|
6173
6187
|
showValue: false,
|
|
6174
|
-
valueIcon: /* @__PURE__ */ (0,
|
|
6188
|
+
valueIcon: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6175
6189
|
ColorPreview,
|
|
6176
6190
|
{
|
|
6177
6191
|
className: "k-value-icon",
|
|
@@ -6182,8 +6196,8 @@ var ColorPicker = (props) => {
|
|
|
6182
6196
|
valueIconName
|
|
6183
6197
|
}
|
|
6184
6198
|
),
|
|
6185
|
-
/* @__PURE__ */ (0,
|
|
6186
|
-
/* @__PURE__ */ (0,
|
|
6199
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(InputSuffix, { children: suffix }),
|
|
6200
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6187
6201
|
Button,
|
|
6188
6202
|
{
|
|
6189
6203
|
className: "k-input-button",
|
|
@@ -6196,7 +6210,7 @@ var ColorPicker = (props) => {
|
|
|
6196
6210
|
]
|
|
6197
6211
|
}
|
|
6198
6212
|
),
|
|
6199
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
6213
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
|
|
6200
6214
|
] });
|
|
6201
6215
|
};
|
|
6202
6216
|
ColorPicker.states = states32;
|
|
@@ -6205,10 +6219,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
6205
6219
|
ColorPicker.defaultProps = defaultProps27;
|
|
6206
6220
|
|
|
6207
6221
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
6208
|
-
var
|
|
6222
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6209
6223
|
|
|
6210
6224
|
// src/button-group/button-group.spec.tsx
|
|
6211
|
-
var
|
|
6225
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6212
6226
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
6213
6227
|
var states33 = [
|
|
6214
6228
|
States.disabled
|
|
@@ -6226,7 +6240,7 @@ var ButtonGroup = (props) => {
|
|
|
6226
6240
|
stretched,
|
|
6227
6241
|
...other
|
|
6228
6242
|
} = props;
|
|
6229
|
-
return /* @__PURE__ */ (0,
|
|
6243
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6230
6244
|
"div",
|
|
6231
6245
|
{
|
|
6232
6246
|
...other,
|
|
@@ -6253,19 +6267,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
6253
6267
|
ButtonGroup.defaultProps = defaultProps28;
|
|
6254
6268
|
|
|
6255
6269
|
// src/button-group/templates/icon-button-group.tsx
|
|
6256
|
-
var
|
|
6270
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6257
6271
|
|
|
6258
6272
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
6259
|
-
var
|
|
6273
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6260
6274
|
|
|
6261
6275
|
// src/button-group/templates/text-button-group.tsx
|
|
6262
|
-
var
|
|
6276
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6263
6277
|
|
|
6264
6278
|
// src/button-group/templates/mixed-button-group.tsx
|
|
6265
|
-
var
|
|
6279
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6266
6280
|
|
|
6267
6281
|
// src/slider/slider.spec.tsx
|
|
6268
|
-
var
|
|
6282
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6269
6283
|
var SLIDER_CLASSNAME = "k-slider";
|
|
6270
6284
|
var states34 = [
|
|
6271
6285
|
States.hover,
|
|
@@ -6304,7 +6318,7 @@ var Slider = (props) => {
|
|
|
6304
6318
|
iconIncrease = "caret-alt-up";
|
|
6305
6319
|
iconDecrease = "caret-alt-down";
|
|
6306
6320
|
}
|
|
6307
|
-
return /* @__PURE__ */ (0,
|
|
6321
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: classNames(
|
|
6308
6322
|
SLIDER_CLASSNAME,
|
|
6309
6323
|
props.className,
|
|
6310
6324
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6317,12 +6331,12 @@ var Slider = (props) => {
|
|
|
6317
6331
|
"k-range-slider": type === "range"
|
|
6318
6332
|
}
|
|
6319
6333
|
), dir, children: [
|
|
6320
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
6321
|
-
/* @__PURE__ */ (0,
|
|
6322
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
6323
|
-
/* @__PURE__ */ (0,
|
|
6324
|
-
/* @__PURE__ */ (0,
|
|
6325
|
-
type === "range" && /* @__PURE__ */ (0,
|
|
6334
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
6335
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "k-slider-track-wrap", children: [
|
|
6336
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
6337
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
6338
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "k-slider-selection" }),
|
|
6339
|
+
type === "range" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: classNames(
|
|
6326
6340
|
"k-draghandle",
|
|
6327
6341
|
"k-draghandle-start",
|
|
6328
6342
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6331,7 +6345,7 @@ var Slider = (props) => {
|
|
|
6331
6345
|
active
|
|
6332
6346
|
})
|
|
6333
6347
|
) }),
|
|
6334
|
-
/* @__PURE__ */ (0,
|
|
6348
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: classNames(
|
|
6335
6349
|
"k-draghandle",
|
|
6336
6350
|
`k-draghandle-${handlePosition}`,
|
|
6337
6351
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6342,7 +6356,7 @@ var Slider = (props) => {
|
|
|
6342
6356
|
) })
|
|
6343
6357
|
] })
|
|
6344
6358
|
] }),
|
|
6345
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
6359
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6346
6360
|
] });
|
|
6347
6361
|
};
|
|
6348
6362
|
Slider.states = states34;
|
|
@@ -6351,7 +6365,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
6351
6365
|
Slider.defaultProps = defaultProps29;
|
|
6352
6366
|
|
|
6353
6367
|
// src/slider/slider-tick.tsx
|
|
6354
|
-
var
|
|
6368
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6355
6369
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6356
6370
|
var states35 = [];
|
|
6357
6371
|
var options33 = {};
|
|
@@ -6366,14 +6380,14 @@ var SliderTick = (props) => {
|
|
|
6366
6380
|
large,
|
|
6367
6381
|
text
|
|
6368
6382
|
} = props;
|
|
6369
|
-
return /* @__PURE__ */ (0,
|
|
6383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("li", { className: classNames(
|
|
6370
6384
|
props.className,
|
|
6371
6385
|
SLIDER_TICK_CLASSNAME,
|
|
6372
6386
|
{
|
|
6373
6387
|
[`k-tick-${orientation}`]: orientation,
|
|
6374
6388
|
"k-tick-large": large
|
|
6375
6389
|
}
|
|
6376
|
-
), style: style2, children: label && /* @__PURE__ */ (0,
|
|
6390
|
+
), style: style2, children: label && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "k-label", children: text }) });
|
|
6377
6391
|
};
|
|
6378
6392
|
SliderTick.states = states35;
|
|
6379
6393
|
SliderTick.options = options33;
|
|
@@ -6381,7 +6395,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
6381
6395
|
SliderTick.defaultProps = defaultProps30;
|
|
6382
6396
|
|
|
6383
6397
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6384
|
-
var
|
|
6398
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
6385
6399
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6386
6400
|
var states36 = [
|
|
6387
6401
|
States.hover,
|
|
@@ -6424,7 +6438,7 @@ var NumericTextbox = (props) => {
|
|
|
6424
6438
|
showSpinButton = defaultProps31.showSpinButton,
|
|
6425
6439
|
...other
|
|
6426
6440
|
} = props;
|
|
6427
|
-
return /* @__PURE__ */ (0,
|
|
6441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
|
|
6428
6442
|
Input,
|
|
6429
6443
|
{
|
|
6430
6444
|
...other,
|
|
@@ -6441,8 +6455,8 @@ var NumericTextbox = (props) => {
|
|
|
6441
6455
|
readonly,
|
|
6442
6456
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6443
6457
|
children: [
|
|
6444
|
-
/* @__PURE__ */ (0,
|
|
6445
|
-
/* @__PURE__ */ (0,
|
|
6458
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(InputInnerInput, { placeholder, value }),
|
|
6459
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
6446
6460
|
InputValidationIcon,
|
|
6447
6461
|
{
|
|
6448
6462
|
valid,
|
|
@@ -6451,14 +6465,14 @@ var NumericTextbox = (props) => {
|
|
|
6451
6465
|
disabled
|
|
6452
6466
|
}
|
|
6453
6467
|
),
|
|
6454
|
-
/* @__PURE__ */ (0,
|
|
6468
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
6455
6469
|
InputLoadingIcon,
|
|
6456
6470
|
{
|
|
6457
6471
|
loading,
|
|
6458
6472
|
disabled
|
|
6459
6473
|
}
|
|
6460
6474
|
),
|
|
6461
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
6475
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
6462
6476
|
InputClearValue,
|
|
6463
6477
|
{
|
|
6464
6478
|
loading,
|
|
@@ -6467,7 +6481,7 @@ var NumericTextbox = (props) => {
|
|
|
6467
6481
|
value
|
|
6468
6482
|
}
|
|
6469
6483
|
),
|
|
6470
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
6484
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
6471
6485
|
SpinButton,
|
|
6472
6486
|
{
|
|
6473
6487
|
className: "k-input-spinner",
|
|
@@ -6485,10 +6499,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6485
6499
|
NumericTextbox.defaultProps = defaultProps31;
|
|
6486
6500
|
|
|
6487
6501
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6488
|
-
var
|
|
6502
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
6489
6503
|
|
|
6490
6504
|
// src/colorgradient/color-input.tsx
|
|
6491
|
-
var
|
|
6505
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
6492
6506
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6493
6507
|
var states37 = [];
|
|
6494
6508
|
var options35 = {};
|
|
@@ -6499,75 +6513,75 @@ var ColorInput = (props) => {
|
|
|
6499
6513
|
const {
|
|
6500
6514
|
mode = defaultProps32.mode
|
|
6501
6515
|
} = props;
|
|
6502
|
-
return /* @__PURE__ */ (0,
|
|
6503
|
-
/* @__PURE__ */ (0,
|
|
6504
|
-
mode === "rgba" && /* @__PURE__ */ (0,
|
|
6505
|
-
/* @__PURE__ */ (0,
|
|
6506
|
-
/* @__PURE__ */ (0,
|
|
6507
|
-
/* @__PURE__ */ (0,
|
|
6516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6517
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: "k-vstack", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6518
|
+
mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
|
|
6519
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6520
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6521
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6508
6522
|
] }),
|
|
6509
|
-
/* @__PURE__ */ (0,
|
|
6510
|
-
/* @__PURE__ */ (0,
|
|
6511
|
-
/* @__PURE__ */ (0,
|
|
6523
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6524
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6525
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6512
6526
|
] }),
|
|
6513
|
-
/* @__PURE__ */ (0,
|
|
6514
|
-
/* @__PURE__ */ (0,
|
|
6515
|
-
/* @__PURE__ */ (0,
|
|
6527
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6528
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6529
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6516
6530
|
] }),
|
|
6517
|
-
/* @__PURE__ */ (0,
|
|
6518
|
-
/* @__PURE__ */ (0,
|
|
6519
|
-
/* @__PURE__ */ (0,
|
|
6531
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6532
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6533
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6520
6534
|
] })
|
|
6521
6535
|
] }),
|
|
6522
|
-
mode === "rgb" && /* @__PURE__ */ (0,
|
|
6523
|
-
/* @__PURE__ */ (0,
|
|
6524
|
-
/* @__PURE__ */ (0,
|
|
6525
|
-
/* @__PURE__ */ (0,
|
|
6536
|
+
mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
|
|
6537
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6538
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6539
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6526
6540
|
] }),
|
|
6527
|
-
/* @__PURE__ */ (0,
|
|
6528
|
-
/* @__PURE__ */ (0,
|
|
6529
|
-
/* @__PURE__ */ (0,
|
|
6541
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6542
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6543
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6530
6544
|
] }),
|
|
6531
|
-
/* @__PURE__ */ (0,
|
|
6532
|
-
/* @__PURE__ */ (0,
|
|
6533
|
-
/* @__PURE__ */ (0,
|
|
6545
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6546
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6547
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6534
6548
|
] })
|
|
6535
6549
|
] }),
|
|
6536
|
-
mode === "hsva" && /* @__PURE__ */ (0,
|
|
6537
|
-
/* @__PURE__ */ (0,
|
|
6538
|
-
/* @__PURE__ */ (0,
|
|
6539
|
-
/* @__PURE__ */ (0,
|
|
6550
|
+
mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
|
|
6551
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6552
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6553
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6540
6554
|
] }),
|
|
6541
|
-
/* @__PURE__ */ (0,
|
|
6542
|
-
/* @__PURE__ */ (0,
|
|
6543
|
-
/* @__PURE__ */ (0,
|
|
6555
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6556
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6557
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6544
6558
|
] }),
|
|
6545
|
-
/* @__PURE__ */ (0,
|
|
6546
|
-
/* @__PURE__ */ (0,
|
|
6547
|
-
/* @__PURE__ */ (0,
|
|
6559
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6560
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6561
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6548
6562
|
] }),
|
|
6549
|
-
/* @__PURE__ */ (0,
|
|
6550
|
-
/* @__PURE__ */ (0,
|
|
6551
|
-
/* @__PURE__ */ (0,
|
|
6563
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6564
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6565
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6552
6566
|
] })
|
|
6553
6567
|
] }),
|
|
6554
|
-
mode === "hsv" && /* @__PURE__ */ (0,
|
|
6555
|
-
/* @__PURE__ */ (0,
|
|
6556
|
-
/* @__PURE__ */ (0,
|
|
6557
|
-
/* @__PURE__ */ (0,
|
|
6568
|
+
mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
|
|
6569
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6570
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6571
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6558
6572
|
] }),
|
|
6559
|
-
/* @__PURE__ */ (0,
|
|
6560
|
-
/* @__PURE__ */ (0,
|
|
6561
|
-
/* @__PURE__ */ (0,
|
|
6573
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6574
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6575
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6562
6576
|
] }),
|
|
6563
|
-
/* @__PURE__ */ (0,
|
|
6564
|
-
/* @__PURE__ */ (0,
|
|
6565
|
-
/* @__PURE__ */ (0,
|
|
6577
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack", children: [
|
|
6578
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6579
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6566
6580
|
] })
|
|
6567
6581
|
] }),
|
|
6568
|
-
mode === "hex" && /* @__PURE__ */ (0,
|
|
6569
|
-
/* @__PURE__ */ (0,
|
|
6570
|
-
/* @__PURE__ */ (0,
|
|
6582
|
+
mode === "hex" && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_jsx_runtime78.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "k-vstack k-flex-1", children: [
|
|
6583
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6584
|
+
/* @__PURE__ */ (0, import_jsx_runtime78.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6571
6585
|
] }) })
|
|
6572
6586
|
] });
|
|
6573
6587
|
};
|
|
@@ -6577,31 +6591,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
6577
6591
|
ColorInput.defaultProps = defaultProps32;
|
|
6578
6592
|
|
|
6579
6593
|
// src/colorgradient/color-contrast.tsx
|
|
6580
|
-
var
|
|
6594
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
6581
6595
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6582
6596
|
var states38 = [];
|
|
6583
6597
|
var options36 = {};
|
|
6584
6598
|
var defaultProps33 = {};
|
|
6585
|
-
var ColorContrast = () => /* @__PURE__ */ (0,
|
|
6586
|
-
/* @__PURE__ */ (0,
|
|
6587
|
-
/* @__PURE__ */ (0,
|
|
6588
|
-
/* @__PURE__ */ (0,
|
|
6589
|
-
/* @__PURE__ */ (0,
|
|
6590
|
-
/* @__PURE__ */ (0,
|
|
6599
|
+
var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6600
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-contrast-ratio", children: [
|
|
6601
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6602
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6603
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { icon: "check" }),
|
|
6604
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { icon: "check" })
|
|
6591
6605
|
] })
|
|
6592
6606
|
] }),
|
|
6593
|
-
/* @__PURE__ */ (0,
|
|
6594
|
-
/* @__PURE__ */ (0,
|
|
6595
|
-
/* @__PURE__ */ (0,
|
|
6607
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { children: [
|
|
6608
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: "AA: 4.5" }),
|
|
6609
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6596
6610
|
"Pass",
|
|
6597
|
-
/* @__PURE__ */ (0,
|
|
6611
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { icon: "check" })
|
|
6598
6612
|
] })
|
|
6599
6613
|
] }),
|
|
6600
|
-
/* @__PURE__ */ (0,
|
|
6601
|
-
/* @__PURE__ */ (0,
|
|
6602
|
-
/* @__PURE__ */ (0,
|
|
6614
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { children: [
|
|
6615
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: "AAA: 7.0" }),
|
|
6616
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6603
6617
|
"Fail",
|
|
6604
|
-
/* @__PURE__ */ (0,
|
|
6618
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { icon: "x" })
|
|
6605
6619
|
] })
|
|
6606
6620
|
] })
|
|
6607
6621
|
] });
|
|
@@ -6611,7 +6625,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
6611
6625
|
ColorContrast.defaultProps = defaultProps33;
|
|
6612
6626
|
|
|
6613
6627
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6614
|
-
var
|
|
6628
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
6615
6629
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6616
6630
|
var states39 = [
|
|
6617
6631
|
States.hover,
|
|
@@ -6644,7 +6658,7 @@ var ColorGradient = (props) => {
|
|
|
6644
6658
|
dragHandleStyle = defaultProps34.dragHandleStyle,
|
|
6645
6659
|
alphaStyle = defaultProps34.alphaStyle
|
|
6646
6660
|
} = props;
|
|
6647
|
-
return /* @__PURE__ */ (0,
|
|
6661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: classNames(
|
|
6648
6662
|
props.className,
|
|
6649
6663
|
COLOR_GRADIENT_CLASSNAME,
|
|
6650
6664
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6654,8 +6668,8 @@ var ColorGradient = (props) => {
|
|
|
6654
6668
|
disabled
|
|
6655
6669
|
})
|
|
6656
6670
|
), dir, children: [
|
|
6657
|
-
/* @__PURE__ */ (0,
|
|
6658
|
-
/* @__PURE__ */ (0,
|
|
6671
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6672
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: classNames(
|
|
6659
6673
|
"k-hsv-draghandle",
|
|
6660
6674
|
"k-draghandle",
|
|
6661
6675
|
{
|
|
@@ -6663,13 +6677,13 @@ var ColorGradient = (props) => {
|
|
|
6663
6677
|
"k-focus": focusHandle
|
|
6664
6678
|
}
|
|
6665
6679
|
), style: dragHandleStyle }) }) }),
|
|
6666
|
-
/* @__PURE__ */ (0,
|
|
6667
|
-
/* @__PURE__ */ (0,
|
|
6668
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0,
|
|
6680
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6681
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6682
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6669
6683
|
] })
|
|
6670
6684
|
] }),
|
|
6671
|
-
/* @__PURE__ */ (0,
|
|
6672
|
-
contrast && /* @__PURE__ */ (0,
|
|
6685
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ColorInput, { mode: props.mode }),
|
|
6686
|
+
contrast && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ColorContrast, {})
|
|
6673
6687
|
] });
|
|
6674
6688
|
};
|
|
6675
6689
|
ColorGradient.states = states39;
|
|
@@ -6678,17 +6692,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
6678
6692
|
ColorGradient.defaultProps = defaultProps34;
|
|
6679
6693
|
|
|
6680
6694
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6681
|
-
var
|
|
6695
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
6682
6696
|
|
|
6683
6697
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6684
|
-
var
|
|
6698
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
6685
6699
|
|
|
6686
6700
|
// src/colorpalette/colorpalette-row.tsx
|
|
6687
|
-
var
|
|
6688
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */ (0,
|
|
6701
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
6702
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("tr", { children: props.children });
|
|
6689
6703
|
|
|
6690
6704
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6691
|
-
var
|
|
6705
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
6692
6706
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6693
6707
|
var states40 = [
|
|
6694
6708
|
States.hover,
|
|
@@ -6710,7 +6724,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6710
6724
|
"width": tileSize ? tileSize + "px" : "",
|
|
6711
6725
|
"height": tileSize ? tileSize + "px" : ""
|
|
6712
6726
|
};
|
|
6713
|
-
return /* @__PURE__ */ (0,
|
|
6727
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
6714
6728
|
"td",
|
|
6715
6729
|
{
|
|
6716
6730
|
...other,
|
|
@@ -6732,7 +6746,7 @@ ColorPaletteTile.options = options38;
|
|
|
6732
6746
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6733
6747
|
|
|
6734
6748
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6735
|
-
var
|
|
6749
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6736
6750
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6737
6751
|
var states41 = [
|
|
6738
6752
|
States.disabled
|
|
@@ -6757,14 +6771,14 @@ var ColorPalette = (props) => {
|
|
|
6757
6771
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6758
6772
|
const items = [];
|
|
6759
6773
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6760
|
-
items.push(/* @__PURE__ */ (0,
|
|
6774
|
+
items.push(/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ColorPaletteTile, { color, tileSize }));
|
|
6761
6775
|
});
|
|
6762
|
-
const row = /* @__PURE__ */ (0,
|
|
6776
|
+
const row = /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ColorPaletteRow, { children: items });
|
|
6763
6777
|
newChildren.push(row);
|
|
6764
6778
|
});
|
|
6765
6779
|
}
|
|
6766
6780
|
}
|
|
6767
|
-
return /* @__PURE__ */ (0,
|
|
6781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6768
6782
|
"div",
|
|
6769
6783
|
{
|
|
6770
6784
|
...other,
|
|
@@ -6775,7 +6789,7 @@ var ColorPalette = (props) => {
|
|
|
6775
6789
|
disabled
|
|
6776
6790
|
})
|
|
6777
6791
|
),
|
|
6778
|
-
children: /* @__PURE__ */ (0,
|
|
6792
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6779
6793
|
}
|
|
6780
6794
|
);
|
|
6781
6795
|
};
|
|
@@ -6785,7 +6799,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
6785
6799
|
ColorPalette.defaultProps = defaultProps35;
|
|
6786
6800
|
|
|
6787
6801
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6788
|
-
var
|
|
6802
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
6789
6803
|
|
|
6790
6804
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6791
6805
|
var PALETTEPRESETS = {
|
|
@@ -6840,7 +6854,7 @@ var PALETTEPRESETS = {
|
|
|
6840
6854
|
};
|
|
6841
6855
|
|
|
6842
6856
|
// src/coloreditor/color-editor.spec.tsx
|
|
6843
|
-
var
|
|
6857
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
6844
6858
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6845
6859
|
var states42 = [
|
|
6846
6860
|
States.focus
|
|
@@ -6862,30 +6876,30 @@ var ColorEditor = (props) => {
|
|
|
6862
6876
|
group,
|
|
6863
6877
|
palette = defaultProps36.palette
|
|
6864
6878
|
} = props;
|
|
6865
|
-
return /* @__PURE__ */ (0,
|
|
6879
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: classNames(
|
|
6866
6880
|
props.className,
|
|
6867
6881
|
"k-flatcolorpicker",
|
|
6868
6882
|
COLOREDITOR_CLASSNAME,
|
|
6869
6883
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6870
6884
|
), dir, children: [
|
|
6871
|
-
/* @__PURE__ */ (0,
|
|
6872
|
-
/* @__PURE__ */ (0,
|
|
6873
|
-
/* @__PURE__ */ (0,
|
|
6874
|
-
/* @__PURE__ */ (0,
|
|
6885
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6886
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(ButtonGroup, { children: [
|
|
6887
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6888
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6875
6889
|
] }) }),
|
|
6876
|
-
/* @__PURE__ */ (0,
|
|
6877
|
-
/* @__PURE__ */ (0,
|
|
6878
|
-
/* @__PURE__ */ (0,
|
|
6879
|
-
/* @__PURE__ */ (0,
|
|
6880
|
-
/* @__PURE__ */ (0,
|
|
6881
|
-
/* @__PURE__ */ (0,
|
|
6890
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "k-spacer" }),
|
|
6891
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6892
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6893
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6894
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6895
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6882
6896
|
] })
|
|
6883
6897
|
] })
|
|
6884
6898
|
] }),
|
|
6885
|
-
/* @__PURE__ */ (0,
|
|
6886
|
-
/* @__PURE__ */ (0,
|
|
6887
|
-
/* @__PURE__ */ (0,
|
|
6888
|
-
/* @__PURE__ */ (0,
|
|
6899
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ColorGradient, { focus: focusView }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ColorPalette, { palette }) }),
|
|
6900
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6901
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6902
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6889
6903
|
] })
|
|
6890
6904
|
] });
|
|
6891
6905
|
};
|
|
@@ -6895,25 +6909,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
6895
6909
|
ColorEditor.defaultProps = defaultProps36;
|
|
6896
6910
|
|
|
6897
6911
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6898
|
-
var
|
|
6912
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
6899
6913
|
|
|
6900
6914
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6901
|
-
var
|
|
6915
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
6902
6916
|
|
|
6903
6917
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6904
|
-
var
|
|
6918
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
6905
6919
|
|
|
6906
6920
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6907
|
-
var
|
|
6921
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
6908
6922
|
|
|
6909
6923
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6910
|
-
var
|
|
6924
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6911
6925
|
|
|
6912
6926
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6913
|
-
var
|
|
6927
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
6914
6928
|
|
|
6915
6929
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6916
|
-
var
|
|
6930
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
6917
6931
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6918
6932
|
var states43 = [];
|
|
6919
6933
|
var options41 = {};
|
|
@@ -6936,8 +6950,8 @@ var ActionSheet = (props) => {
|
|
|
6936
6950
|
overlay = defaultProps37.overlay,
|
|
6937
6951
|
...other
|
|
6938
6952
|
} = props;
|
|
6939
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
6940
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
6953
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6954
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6941
6955
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6942
6956
|
switch (child.type) {
|
|
6943
6957
|
case ActionSheetHeader:
|
|
@@ -6947,10 +6961,10 @@ var ActionSheet = (props) => {
|
|
|
6947
6961
|
return true;
|
|
6948
6962
|
}
|
|
6949
6963
|
return true;
|
|
6950
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
6951
|
-
return /* @__PURE__ */ (0,
|
|
6952
|
-
overlay && /* @__PURE__ */ (0,
|
|
6953
|
-
/* @__PURE__ */ (0,
|
|
6964
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_jsx_runtime94.Fragment, {});
|
|
6965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
6966
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: "k-overlay" }),
|
|
6967
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6954
6968
|
AnimationContainer,
|
|
6955
6969
|
{
|
|
6956
6970
|
animationStyle: {
|
|
@@ -6960,7 +6974,7 @@ var ActionSheet = (props) => {
|
|
|
6960
6974
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6961
6975
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6962
6976
|
},
|
|
6963
|
-
children: /* @__PURE__ */ (0,
|
|
6977
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
6964
6978
|
"div",
|
|
6965
6979
|
{
|
|
6966
6980
|
...other,
|
|
@@ -6973,9 +6987,9 @@ var ActionSheet = (props) => {
|
|
|
6973
6987
|
"k-adaptive-actionsheet": adaptive
|
|
6974
6988
|
}
|
|
6975
6989
|
),
|
|
6976
|
-
children: /* @__PURE__ */ (0,
|
|
6990
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
|
|
6977
6991
|
_ActionSheetHeader,
|
|
6978
|
-
/* @__PURE__ */ (0,
|
|
6992
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("div", { className: classNames(
|
|
6979
6993
|
"k-actionsheet-content",
|
|
6980
6994
|
{
|
|
6981
6995
|
"!k-overflow-hidden": adaptive
|
|
@@ -6995,7 +7009,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6995
7009
|
ActionSheet.defaultProps = defaultProps37;
|
|
6996
7010
|
|
|
6997
7011
|
// src/action-sheet/actionsheet-header.tsx
|
|
6998
|
-
var
|
|
7012
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
6999
7013
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
7000
7014
|
var ActionSheetHeader = (props) => {
|
|
7001
7015
|
const {
|
|
@@ -7005,7 +7019,7 @@ var ActionSheetHeader = (props) => {
|
|
|
7005
7019
|
filter,
|
|
7006
7020
|
...other
|
|
7007
7021
|
} = props;
|
|
7008
|
-
return /* @__PURE__ */ (0,
|
|
7022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
7009
7023
|
"div",
|
|
7010
7024
|
{
|
|
7011
7025
|
...other,
|
|
@@ -7013,30 +7027,30 @@ var ActionSheetHeader = (props) => {
|
|
|
7013
7027
|
props.className,
|
|
7014
7028
|
ACTIONSHEETHEADER_CLASSNAME
|
|
7015
7029
|
),
|
|
7016
|
-
children: /* @__PURE__ */ (0,
|
|
7017
|
-
/* @__PURE__ */ (0,
|
|
7018
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
7019
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
7020
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
7030
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
|
|
7031
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
7032
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
7033
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "k-text-center", children: title }),
|
|
7034
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
7021
7035
|
] }) }),
|
|
7022
|
-
props.children && /* @__PURE__ */ (0,
|
|
7023
|
-
actions && /* @__PURE__ */ (0,
|
|
7036
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
7037
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
7024
7038
|
] }),
|
|
7025
|
-
filter && /* @__PURE__ */ (0,
|
|
7039
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
7026
7040
|
] })
|
|
7027
7041
|
}
|
|
7028
7042
|
);
|
|
7029
7043
|
};
|
|
7030
7044
|
|
|
7031
7045
|
// src/action-sheet/actionsheet-footer.tsx
|
|
7032
|
-
var
|
|
7046
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
7033
7047
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
7034
7048
|
var ActionSheetFooter = (props) => {
|
|
7035
7049
|
const {
|
|
7036
7050
|
actions,
|
|
7037
7051
|
...other
|
|
7038
7052
|
} = props;
|
|
7039
|
-
return /* @__PURE__ */ (0,
|
|
7053
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
|
|
7040
7054
|
action_buttons_spec_default,
|
|
7041
7055
|
{
|
|
7042
7056
|
...other,
|
|
@@ -7045,17 +7059,17 @@ var ActionSheetFooter = (props) => {
|
|
|
7045
7059
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
7046
7060
|
),
|
|
7047
7061
|
alignment: "stretched",
|
|
7048
|
-
children: /* @__PURE__ */ (0,
|
|
7062
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
|
|
7049
7063
|
actions && actions.map((action, index) => {
|
|
7050
7064
|
if (action === "|") {
|
|
7051
|
-
return /* @__PURE__ */ (0,
|
|
7065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "k-separator" }, index);
|
|
7052
7066
|
}
|
|
7053
7067
|
if (action === " ") {
|
|
7054
|
-
return /* @__PURE__ */ (0,
|
|
7068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { className: "k-spacer" }, index);
|
|
7055
7069
|
}
|
|
7056
7070
|
const importantFlag = action.startsWith("!");
|
|
7057
7071
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
7058
|
-
return /* @__PURE__ */ (0,
|
|
7072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
7059
7073
|
}),
|
|
7060
7074
|
!actions && props.children
|
|
7061
7075
|
] })
|
|
@@ -7064,12 +7078,12 @@ var ActionSheetFooter = (props) => {
|
|
|
7064
7078
|
};
|
|
7065
7079
|
|
|
7066
7080
|
// src/action-sheet/actionsheet-items.tsx
|
|
7067
|
-
var
|
|
7081
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
7068
7082
|
var ActionSheetItems = (props) => {
|
|
7069
7083
|
const {
|
|
7070
7084
|
...other
|
|
7071
7085
|
} = props;
|
|
7072
|
-
return /* @__PURE__ */ (0,
|
|
7086
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
7073
7087
|
"div",
|
|
7074
7088
|
{
|
|
7075
7089
|
...other,
|
|
@@ -7083,7 +7097,7 @@ var ActionSheetItems = (props) => {
|
|
|
7083
7097
|
};
|
|
7084
7098
|
|
|
7085
7099
|
// src/action-sheet/actionsheet-item.tsx
|
|
7086
|
-
var
|
|
7100
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
7087
7101
|
var states44 = [
|
|
7088
7102
|
States.hover,
|
|
7089
7103
|
States.focus,
|
|
@@ -7092,7 +7106,7 @@ var states44 = [
|
|
|
7092
7106
|
];
|
|
7093
7107
|
|
|
7094
7108
|
// src/combobox/combobox.spec.tsx
|
|
7095
|
-
var
|
|
7109
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
7096
7110
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
7097
7111
|
var states45 = [
|
|
7098
7112
|
States.hover,
|
|
@@ -7137,8 +7151,8 @@ var Combobox = (props) => {
|
|
|
7137
7151
|
adaptiveSettings,
|
|
7138
7152
|
...other
|
|
7139
7153
|
} = props;
|
|
7140
|
-
return /* @__PURE__ */ (0,
|
|
7141
|
-
/* @__PURE__ */ (0,
|
|
7154
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_jsx_runtime99.Fragment, { children: [
|
|
7155
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
7142
7156
|
Input,
|
|
7143
7157
|
{
|
|
7144
7158
|
...other,
|
|
@@ -7155,9 +7169,9 @@ var Combobox = (props) => {
|
|
|
7155
7169
|
readonly,
|
|
7156
7170
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
7157
7171
|
children: [
|
|
7158
|
-
/* @__PURE__ */ (0,
|
|
7159
|
-
/* @__PURE__ */ (0,
|
|
7160
|
-
/* @__PURE__ */ (0,
|
|
7172
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(InputPrefix, { children: prefix }),
|
|
7173
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(InputInnerInput, { placeholder, value }),
|
|
7174
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7161
7175
|
InputValidationIcon,
|
|
7162
7176
|
{
|
|
7163
7177
|
valid,
|
|
@@ -7166,14 +7180,14 @@ var Combobox = (props) => {
|
|
|
7166
7180
|
disabled
|
|
7167
7181
|
}
|
|
7168
7182
|
),
|
|
7169
|
-
/* @__PURE__ */ (0,
|
|
7183
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7170
7184
|
InputLoadingIcon,
|
|
7171
7185
|
{
|
|
7172
7186
|
loading,
|
|
7173
7187
|
disabled
|
|
7174
7188
|
}
|
|
7175
7189
|
),
|
|
7176
|
-
/* @__PURE__ */ (0,
|
|
7190
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7177
7191
|
InputClearValue,
|
|
7178
7192
|
{
|
|
7179
7193
|
loading,
|
|
@@ -7182,8 +7196,8 @@ var Combobox = (props) => {
|
|
|
7182
7196
|
value
|
|
7183
7197
|
}
|
|
7184
7198
|
),
|
|
7185
|
-
/* @__PURE__ */ (0,
|
|
7186
|
-
/* @__PURE__ */ (0,
|
|
7199
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(InputSuffix, { children: suffix }),
|
|
7200
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7187
7201
|
Button,
|
|
7188
7202
|
{
|
|
7189
7203
|
className: "k-input-button",
|
|
@@ -7196,9 +7210,9 @@ var Combobox = (props) => {
|
|
|
7196
7210
|
]
|
|
7197
7211
|
}
|
|
7198
7212
|
),
|
|
7199
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
7200
|
-
adaptive && /* @__PURE__ */ (0,
|
|
7201
|
-
/* @__PURE__ */ (0,
|
|
7213
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7214
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7215
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7202
7216
|
ActionSheetHeader,
|
|
7203
7217
|
{
|
|
7204
7218
|
actions: ["x"],
|
|
@@ -7206,10 +7220,10 @@ var Combobox = (props) => {
|
|
|
7206
7220
|
title: "Select Item"
|
|
7207
7221
|
}
|
|
7208
7222
|
),
|
|
7209
|
-
/* @__PURE__ */ (0,
|
|
7210
|
-
/* @__PURE__ */ (0,
|
|
7211
|
-
/* @__PURE__ */ (0,
|
|
7212
|
-
/* @__PURE__ */ (0,
|
|
7223
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(List, { size: "large", children: [
|
|
7224
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ListItem, { text: "List item" }),
|
|
7225
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ListItem, { text: "List item" }),
|
|
7226
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ListItem, { text: "List item" })
|
|
7213
7227
|
] }) })
|
|
7214
7228
|
] })
|
|
7215
7229
|
] });
|
|
@@ -7220,19 +7234,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
7220
7234
|
Combobox.defaultProps = defaultProps38;
|
|
7221
7235
|
|
|
7222
7236
|
// src/combobox/templates/combobox-normal.tsx
|
|
7223
|
-
var
|
|
7237
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
7224
7238
|
|
|
7225
7239
|
// src/combobox/templates/combobox-popup.tsx
|
|
7226
|
-
var
|
|
7240
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
7227
7241
|
|
|
7228
7242
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7229
|
-
var
|
|
7243
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
7230
7244
|
|
|
7231
7245
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7232
|
-
var
|
|
7246
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
7233
7247
|
|
|
7234
7248
|
// src/menu-button/menu-button.spec.tsx
|
|
7235
|
-
var
|
|
7249
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
7236
7250
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7237
7251
|
var states46 = [
|
|
7238
7252
|
States.hover,
|
|
@@ -7286,8 +7300,8 @@ var MenuButton = (props) => {
|
|
|
7286
7300
|
opened,
|
|
7287
7301
|
...other
|
|
7288
7302
|
} = props;
|
|
7289
|
-
return /* @__PURE__ */ (0,
|
|
7290
|
-
/* @__PURE__ */ (0,
|
|
7303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
|
|
7304
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
7291
7305
|
Button,
|
|
7292
7306
|
{
|
|
7293
7307
|
...other,
|
|
@@ -7310,7 +7324,7 @@ var MenuButton = (props) => {
|
|
|
7310
7324
|
arrowIconName
|
|
7311
7325
|
}
|
|
7312
7326
|
),
|
|
7313
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
7327
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Popup, { className: "k-menu-popup", children: popup })
|
|
7314
7328
|
] });
|
|
7315
7329
|
};
|
|
7316
7330
|
MenuButton.states = states46;
|
|
@@ -7319,16 +7333,16 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
7319
7333
|
MenuButton.defaultProps = defaultProps39;
|
|
7320
7334
|
|
|
7321
7335
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7322
|
-
var
|
|
7336
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
7323
7337
|
|
|
7324
7338
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7325
|
-
var
|
|
7339
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
7326
7340
|
|
|
7327
7341
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7328
|
-
var
|
|
7342
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
7329
7343
|
|
|
7330
7344
|
// src/menu/menu-item.spec.tsx
|
|
7331
|
-
var
|
|
7345
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
7332
7346
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7333
7347
|
var states47 = [
|
|
7334
7348
|
States.hover,
|
|
@@ -7356,7 +7370,7 @@ var MenuItem = (props) => {
|
|
|
7356
7370
|
children,
|
|
7357
7371
|
...other
|
|
7358
7372
|
} = props;
|
|
7359
|
-
const contentTemplate = /* @__PURE__ */ (0,
|
|
7373
|
+
const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, {});
|
|
7360
7374
|
if (children) {
|
|
7361
7375
|
children.forEach((child) => {
|
|
7362
7376
|
const component = child.type;
|
|
@@ -7370,7 +7384,7 @@ var MenuItem = (props) => {
|
|
|
7370
7384
|
if (!expandArrowName) {
|
|
7371
7385
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7372
7386
|
}
|
|
7373
|
-
return /* @__PURE__ */ (0,
|
|
7387
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
7374
7388
|
"li",
|
|
7375
7389
|
{
|
|
7376
7390
|
...other,
|
|
@@ -7385,7 +7399,7 @@ var MenuItem = (props) => {
|
|
|
7385
7399
|
})
|
|
7386
7400
|
),
|
|
7387
7401
|
children: [
|
|
7388
|
-
/* @__PURE__ */ (0,
|
|
7402
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
7389
7403
|
"span",
|
|
7390
7404
|
{
|
|
7391
7405
|
className: classNames(
|
|
@@ -7398,9 +7412,9 @@ var MenuItem = (props) => {
|
|
|
7398
7412
|
})
|
|
7399
7413
|
),
|
|
7400
7414
|
children: [
|
|
7401
|
-
icon && /* @__PURE__ */ (0,
|
|
7402
|
-
/* @__PURE__ */ (0,
|
|
7403
|
-
showArrow && /* @__PURE__ */ (0,
|
|
7415
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { className: "k-menu-link-icon", icon }),
|
|
7416
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: "k-menu-link-text", children: text }),
|
|
7417
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: expandArrowName }) })
|
|
7404
7418
|
]
|
|
7405
7419
|
}
|
|
7406
7420
|
),
|
|
@@ -7416,7 +7430,7 @@ MenuItem.defaultProps = defaultProps40;
|
|
|
7416
7430
|
var menu_item_spec_default = MenuItem;
|
|
7417
7431
|
|
|
7418
7432
|
// src/menu/menu-separator.spec.tsx
|
|
7419
|
-
var
|
|
7433
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
7420
7434
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7421
7435
|
var defaultProps41 = {
|
|
7422
7436
|
orientation: "horizontal"
|
|
@@ -7426,7 +7440,7 @@ var MenuSeparator = (props) => {
|
|
|
7426
7440
|
orientation = defaultProps41.orientation,
|
|
7427
7441
|
...other
|
|
7428
7442
|
} = props;
|
|
7429
|
-
return /* @__PURE__ */ (0,
|
|
7443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
7430
7444
|
"li",
|
|
7431
7445
|
{
|
|
7432
7446
|
...other,
|
|
@@ -7444,10 +7458,10 @@ var MenuSeparator = (props) => {
|
|
|
7444
7458
|
var menu_separator_spec_default = MenuSeparator;
|
|
7445
7459
|
|
|
7446
7460
|
// src/menu/menu-item-content.tsx
|
|
7447
|
-
var
|
|
7461
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
7448
7462
|
|
|
7449
7463
|
// src/menu/menu-list.spec.tsx
|
|
7450
|
-
var
|
|
7464
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
7451
7465
|
var import_react2 = require("react");
|
|
7452
7466
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7453
7467
|
var states48 = [];
|
|
@@ -7475,7 +7489,7 @@ var MenuList = (props) => {
|
|
|
7475
7489
|
);
|
|
7476
7490
|
} else if (child.type === menu_separator_spec_default) {
|
|
7477
7491
|
listChildren.push(
|
|
7478
|
-
/* @__PURE__ */ (0,
|
|
7492
|
+
/* @__PURE__ */ (0, import_jsx_runtime111.jsx)(menu_separator_spec_default, {})
|
|
7479
7493
|
);
|
|
7480
7494
|
} else {
|
|
7481
7495
|
listChildren.push(child);
|
|
@@ -7483,7 +7497,7 @@ var MenuList = (props) => {
|
|
|
7483
7497
|
});
|
|
7484
7498
|
}
|
|
7485
7499
|
}
|
|
7486
|
-
return /* @__PURE__ */ (0,
|
|
7500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7487
7501
|
"ul",
|
|
7488
7502
|
{
|
|
7489
7503
|
...other,
|
|
@@ -7504,10 +7518,10 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
7504
7518
|
MenuList.defaultProps = defaultProps42;
|
|
7505
7519
|
|
|
7506
7520
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7507
|
-
var
|
|
7521
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
7508
7522
|
|
|
7509
7523
|
// src/split-button/split-button.spec.tsx
|
|
7510
|
-
var
|
|
7524
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
7511
7525
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7512
7526
|
var states49 = [
|
|
7513
7527
|
States.hover,
|
|
@@ -7559,8 +7573,8 @@ var SplitButton = (props) => {
|
|
|
7559
7573
|
opened,
|
|
7560
7574
|
...other
|
|
7561
7575
|
} = props;
|
|
7562
|
-
return /* @__PURE__ */ (0,
|
|
7563
|
-
/* @__PURE__ */ (0,
|
|
7576
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
|
|
7577
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7564
7578
|
"div",
|
|
7565
7579
|
{
|
|
7566
7580
|
...other,
|
|
@@ -7573,7 +7587,7 @@ var SplitButton = (props) => {
|
|
|
7573
7587
|
})
|
|
7574
7588
|
),
|
|
7575
7589
|
children: [
|
|
7576
|
-
/* @__PURE__ */ (0,
|
|
7590
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7577
7591
|
Button,
|
|
7578
7592
|
{
|
|
7579
7593
|
text,
|
|
@@ -7590,7 +7604,7 @@ var SplitButton = (props) => {
|
|
|
7590
7604
|
children: props.children
|
|
7591
7605
|
}
|
|
7592
7606
|
),
|
|
7593
|
-
/* @__PURE__ */ (0,
|
|
7607
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7594
7608
|
Button,
|
|
7595
7609
|
{
|
|
7596
7610
|
className: "k-split-button-arrow",
|
|
@@ -7604,7 +7618,7 @@ var SplitButton = (props) => {
|
|
|
7604
7618
|
]
|
|
7605
7619
|
}
|
|
7606
7620
|
),
|
|
7607
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
7621
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Popup, { className: "k-menu-popup", children: popup })
|
|
7608
7622
|
] });
|
|
7609
7623
|
};
|
|
7610
7624
|
SplitButton.states = states49;
|
|
@@ -7614,7 +7628,7 @@ SplitButton.defaultProps = defaultProps43;
|
|
|
7614
7628
|
var split_button_spec_default = SplitButton;
|
|
7615
7629
|
|
|
7616
7630
|
// src/toolbar/toolbar.spec.tsx
|
|
7617
|
-
var
|
|
7631
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
7618
7632
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7619
7633
|
var states50 = [
|
|
7620
7634
|
States.focus
|
|
@@ -7637,7 +7651,7 @@ var Toolbar = (props) => {
|
|
|
7637
7651
|
const tempToolbarChildren = [];
|
|
7638
7652
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7639
7653
|
tempToolbarChildren.push(
|
|
7640
|
-
/* @__PURE__ */ (0,
|
|
7654
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7641
7655
|
Button,
|
|
7642
7656
|
{
|
|
7643
7657
|
...child.props,
|
|
@@ -7648,7 +7662,7 @@ var Toolbar = (props) => {
|
|
|
7648
7662
|
);
|
|
7649
7663
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7650
7664
|
tempToolbarChildren.push(
|
|
7651
|
-
/* @__PURE__ */ (0,
|
|
7665
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7652
7666
|
Button,
|
|
7653
7667
|
{
|
|
7654
7668
|
...child.props,
|
|
@@ -7659,7 +7673,7 @@ var Toolbar = (props) => {
|
|
|
7659
7673
|
);
|
|
7660
7674
|
} else if (child.type === Button) {
|
|
7661
7675
|
tempToolbarChildren.push(
|
|
7662
|
-
/* @__PURE__ */ (0,
|
|
7676
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7663
7677
|
Button,
|
|
7664
7678
|
{
|
|
7665
7679
|
...child.props,
|
|
@@ -7670,7 +7684,7 @@ var Toolbar = (props) => {
|
|
|
7670
7684
|
);
|
|
7671
7685
|
} else if (child.type === MenuButton) {
|
|
7672
7686
|
tempToolbarChildren.push(
|
|
7673
|
-
/* @__PURE__ */ (0,
|
|
7687
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7674
7688
|
MenuButton,
|
|
7675
7689
|
{
|
|
7676
7690
|
...child.props,
|
|
@@ -7681,7 +7695,7 @@ var Toolbar = (props) => {
|
|
|
7681
7695
|
);
|
|
7682
7696
|
} else if (child.type === split_button_spec_default) {
|
|
7683
7697
|
tempToolbarChildren.push(
|
|
7684
|
-
/* @__PURE__ */ (0,
|
|
7698
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7685
7699
|
split_button_spec_default,
|
|
7686
7700
|
{
|
|
7687
7701
|
...child.props,
|
|
@@ -7695,7 +7709,7 @@ var Toolbar = (props) => {
|
|
|
7695
7709
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7696
7710
|
childrenArray.forEach((button, bindex) => {
|
|
7697
7711
|
buttonGroupItems.push(
|
|
7698
|
-
/* @__PURE__ */ (0,
|
|
7712
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7699
7713
|
Button,
|
|
7700
7714
|
{
|
|
7701
7715
|
...button.props,
|
|
@@ -7706,7 +7720,7 @@ var Toolbar = (props) => {
|
|
|
7706
7720
|
);
|
|
7707
7721
|
});
|
|
7708
7722
|
tempToolbarChildren.push(
|
|
7709
|
-
/* @__PURE__ */ (0,
|
|
7723
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7710
7724
|
ButtonGroup,
|
|
7711
7725
|
{
|
|
7712
7726
|
...child.props,
|
|
@@ -7718,7 +7732,7 @@ var Toolbar = (props) => {
|
|
|
7718
7732
|
);
|
|
7719
7733
|
} else if (child.type === Combobox) {
|
|
7720
7734
|
tempToolbarChildren.push(
|
|
7721
|
-
/* @__PURE__ */ (0,
|
|
7735
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7722
7736
|
Combobox,
|
|
7723
7737
|
{
|
|
7724
7738
|
...child.props,
|
|
@@ -7729,7 +7743,7 @@ var Toolbar = (props) => {
|
|
|
7729
7743
|
);
|
|
7730
7744
|
} else if (child.type === DropdownList) {
|
|
7731
7745
|
tempToolbarChildren.push(
|
|
7732
|
-
/* @__PURE__ */ (0,
|
|
7746
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7733
7747
|
DropdownList,
|
|
7734
7748
|
{
|
|
7735
7749
|
...child.props,
|
|
@@ -7740,7 +7754,7 @@ var Toolbar = (props) => {
|
|
|
7740
7754
|
);
|
|
7741
7755
|
} else if (child.type === ColorPicker) {
|
|
7742
7756
|
tempToolbarChildren.push(
|
|
7743
|
-
/* @__PURE__ */ (0,
|
|
7757
|
+
/* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7744
7758
|
ColorPicker,
|
|
7745
7759
|
{
|
|
7746
7760
|
...child.props,
|
|
@@ -7762,7 +7776,7 @@ var Toolbar = (props) => {
|
|
|
7762
7776
|
addUniqueToolClass(child, index);
|
|
7763
7777
|
});
|
|
7764
7778
|
}
|
|
7765
|
-
return /* @__PURE__ */ (0,
|
|
7779
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7766
7780
|
"div",
|
|
7767
7781
|
{
|
|
7768
7782
|
...other,
|
|
@@ -7789,7 +7803,7 @@ Toolbar.className = TOOLBAR_CLASSNAME;
|
|
|
7789
7803
|
Toolbar.defaultProps = defaultProps44;
|
|
7790
7804
|
|
|
7791
7805
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7792
|
-
var
|
|
7806
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
7793
7807
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7794
7808
|
var states51 = [
|
|
7795
7809
|
States.focus
|
|
@@ -7812,7 +7826,7 @@ var ToolbarAngular = (props) => {
|
|
|
7812
7826
|
const tempToolbarChildren = [];
|
|
7813
7827
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7814
7828
|
tempToolbarChildren.push(
|
|
7815
|
-
/* @__PURE__ */ (0,
|
|
7829
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7816
7830
|
Button,
|
|
7817
7831
|
{
|
|
7818
7832
|
...child.props,
|
|
@@ -7823,7 +7837,7 @@ var ToolbarAngular = (props) => {
|
|
|
7823
7837
|
);
|
|
7824
7838
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7825
7839
|
tempToolbarChildren.push(
|
|
7826
|
-
/* @__PURE__ */ (0,
|
|
7840
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7827
7841
|
Button,
|
|
7828
7842
|
{
|
|
7829
7843
|
...child.props,
|
|
@@ -7834,7 +7848,7 @@ var ToolbarAngular = (props) => {
|
|
|
7834
7848
|
);
|
|
7835
7849
|
} else if (child.type === Button) {
|
|
7836
7850
|
tempToolbarChildren.push(
|
|
7837
|
-
/* @__PURE__ */ (0,
|
|
7851
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7838
7852
|
Button,
|
|
7839
7853
|
{
|
|
7840
7854
|
...child.props,
|
|
@@ -7845,7 +7859,7 @@ var ToolbarAngular = (props) => {
|
|
|
7845
7859
|
);
|
|
7846
7860
|
} else if (child.type === MenuButton) {
|
|
7847
7861
|
tempToolbarChildren.push(
|
|
7848
|
-
/* @__PURE__ */ (0,
|
|
7862
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7849
7863
|
MenuButton,
|
|
7850
7864
|
{
|
|
7851
7865
|
...child.props,
|
|
@@ -7856,7 +7870,7 @@ var ToolbarAngular = (props) => {
|
|
|
7856
7870
|
);
|
|
7857
7871
|
} else if (child.type === split_button_spec_default) {
|
|
7858
7872
|
tempToolbarChildren.push(
|
|
7859
|
-
/* @__PURE__ */ (0,
|
|
7873
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7860
7874
|
split_button_spec_default,
|
|
7861
7875
|
{
|
|
7862
7876
|
...child.props,
|
|
@@ -7870,7 +7884,7 @@ var ToolbarAngular = (props) => {
|
|
|
7870
7884
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7871
7885
|
childrenArray.forEach((button, bindex) => {
|
|
7872
7886
|
buttonGroupItems.push(
|
|
7873
|
-
/* @__PURE__ */ (0,
|
|
7887
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7874
7888
|
Button,
|
|
7875
7889
|
{
|
|
7876
7890
|
...button.props,
|
|
@@ -7881,7 +7895,7 @@ var ToolbarAngular = (props) => {
|
|
|
7881
7895
|
);
|
|
7882
7896
|
});
|
|
7883
7897
|
tempToolbarChildren.push(
|
|
7884
|
-
/* @__PURE__ */ (0,
|
|
7898
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7885
7899
|
ButtonGroup,
|
|
7886
7900
|
{
|
|
7887
7901
|
...child.props,
|
|
@@ -7893,7 +7907,7 @@ var ToolbarAngular = (props) => {
|
|
|
7893
7907
|
);
|
|
7894
7908
|
} else if (child.type === Combobox) {
|
|
7895
7909
|
tempToolbarChildren.push(
|
|
7896
|
-
/* @__PURE__ */ (0,
|
|
7910
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7897
7911
|
Combobox,
|
|
7898
7912
|
{
|
|
7899
7913
|
...child.props,
|
|
@@ -7904,7 +7918,7 @@ var ToolbarAngular = (props) => {
|
|
|
7904
7918
|
);
|
|
7905
7919
|
} else if (child.type === DropdownList) {
|
|
7906
7920
|
tempToolbarChildren.push(
|
|
7907
|
-
/* @__PURE__ */ (0,
|
|
7921
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7908
7922
|
DropdownList,
|
|
7909
7923
|
{
|
|
7910
7924
|
...child.props,
|
|
@@ -7915,7 +7929,7 @@ var ToolbarAngular = (props) => {
|
|
|
7915
7929
|
);
|
|
7916
7930
|
} else if (child.type === ColorPicker) {
|
|
7917
7931
|
tempToolbarChildren.push(
|
|
7918
|
-
/* @__PURE__ */ (0,
|
|
7932
|
+
/* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7919
7933
|
ColorPicker,
|
|
7920
7934
|
{
|
|
7921
7935
|
...child.props,
|
|
@@ -7937,7 +7951,7 @@ var ToolbarAngular = (props) => {
|
|
|
7937
7951
|
addUniqueToolClass(child, index);
|
|
7938
7952
|
});
|
|
7939
7953
|
}
|
|
7940
|
-
return /* @__PURE__ */ (0,
|
|
7954
|
+
return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
|
|
7941
7955
|
"div",
|
|
7942
7956
|
{
|
|
7943
7957
|
...other,
|
|
@@ -7964,10 +7978,10 @@ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
|
7964
7978
|
ToolbarAngular.defaultProps = defaultProps45;
|
|
7965
7979
|
|
|
7966
7980
|
// src/toolbar/toolbar-separator.tsx
|
|
7967
|
-
var
|
|
7981
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
7968
7982
|
|
|
7969
7983
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7970
|
-
var
|
|
7984
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
7971
7985
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7972
7986
|
var states52 = [
|
|
7973
7987
|
States.focus
|
|
@@ -7979,7 +7993,7 @@ var ToolbarItem = (props) => {
|
|
|
7979
7993
|
focus,
|
|
7980
7994
|
...other
|
|
7981
7995
|
} = props;
|
|
7982
|
-
return /* @__PURE__ */ (0,
|
|
7996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
|
|
7983
7997
|
"div",
|
|
7984
7998
|
{
|
|
7985
7999
|
...other,
|
|
@@ -8000,14 +8014,14 @@ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
|
8000
8014
|
ToolbarItem.defaultProps = defaultProps46;
|
|
8001
8015
|
|
|
8002
8016
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
8003
|
-
var
|
|
8017
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
8004
8018
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
8005
8019
|
var states53 = [];
|
|
8006
8020
|
var options50 = {};
|
|
8007
8021
|
var defaultProps47 = {};
|
|
8008
8022
|
var ToolbarPopup = (props) => {
|
|
8009
8023
|
const { ...other } = props;
|
|
8010
|
-
return /* @__PURE__ */ (0,
|
|
8024
|
+
return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
|
|
8011
8025
|
Popup,
|
|
8012
8026
|
{
|
|
8013
8027
|
...other,
|
|
@@ -8025,69 +8039,69 @@ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
|
8025
8039
|
ToolbarPopup.defaultProps = defaultProps47;
|
|
8026
8040
|
|
|
8027
8041
|
// src/split-button/templates/icon-split-button.tsx
|
|
8028
|
-
var
|
|
8042
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
8029
8043
|
|
|
8030
8044
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
8031
|
-
var
|
|
8045
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
8032
8046
|
|
|
8033
8047
|
// src/split-button/templates/text-split-button.tsx
|
|
8034
|
-
var
|
|
8048
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
8035
8049
|
|
|
8036
8050
|
// src/split-button/templates/split-button-popup.tsx
|
|
8037
|
-
var
|
|
8051
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
8038
8052
|
|
|
8039
8053
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
8040
|
-
var
|
|
8054
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
8041
8055
|
|
|
8042
8056
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
8043
|
-
var
|
|
8057
|
+
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
8044
8058
|
|
|
8045
8059
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
8046
|
-
var
|
|
8060
|
+
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
8047
8061
|
|
|
8048
8062
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
8049
|
-
var
|
|
8063
|
+
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
8050
8064
|
|
|
8051
8065
|
// src/spreadsheet/tests/spreadsheet-format-dialogs.tsx
|
|
8052
|
-
var
|
|
8066
|
+
var import_jsx_runtime127 = require("react/jsx-runtime");
|
|
8053
8067
|
var style = `
|
|
8054
8068
|
.k-window {
|
|
8055
8069
|
min-width: 400px;
|
|
8056
8070
|
position: relative;
|
|
8057
8071
|
}
|
|
8058
8072
|
`;
|
|
8059
|
-
var spreadsheet_format_dialogs_default = () => /* @__PURE__ */ (0,
|
|
8060
|
-
/* @__PURE__ */ (0,
|
|
8061
|
-
/* @__PURE__ */ (0,
|
|
8062
|
-
/* @__PURE__ */ (0,
|
|
8063
|
-
/* @__PURE__ */ (0,
|
|
8064
|
-
/* @__PURE__ */ (0,
|
|
8065
|
-
] }), children: /* @__PURE__ */ (0,
|
|
8066
|
-
/* @__PURE__ */ (0,
|
|
8067
|
-
/* @__PURE__ */ (0,
|
|
8068
|
-
/* @__PURE__ */ (0,
|
|
8069
|
-
/* @__PURE__ */ (0,
|
|
8070
|
-
/* @__PURE__ */ (0,
|
|
8071
|
-
/* @__PURE__ */ (0,
|
|
8072
|
-
/* @__PURE__ */ (0,
|
|
8073
|
-
/* @__PURE__ */ (0,
|
|
8073
|
+
var spreadsheet_format_dialogs_default = () => /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
|
|
8074
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("style", { children: style }),
|
|
8075
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
8076
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(WindowNormal, { title: "Custom Format", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
|
|
8077
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { themeColor: "primary", children: "Apply" }),
|
|
8078
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { children: "Cancel" })
|
|
8079
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Form, { children: [
|
|
8080
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Category", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(DropdownList, { value: "Date" }) }),
|
|
8081
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Sample", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(DateInput, { value: "1/17/2022" }) }),
|
|
8082
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Symbol", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(ListBox, { style: { width: "100%" }, children: [
|
|
8083
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ListItem, { children: "1/17/2022" }),
|
|
8084
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ListItem, { children: "Monday, January 17, 2022" }),
|
|
8085
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ListItem, { children: "Monday, January 17, 2022 6:25:37 PM" }),
|
|
8086
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ListItem, { children: "1/17/2022 6:25 PM" }),
|
|
8087
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ListItem, { children: "1/17/2022 6:25:37 PM" })
|
|
8074
8088
|
] }) })
|
|
8075
8089
|
] }) }) }),
|
|
8076
|
-
/* @__PURE__ */ (0,
|
|
8077
|
-
/* @__PURE__ */ (0,
|
|
8078
|
-
/* @__PURE__ */ (0,
|
|
8079
|
-
] }), children: /* @__PURE__ */ (0,
|
|
8080
|
-
/* @__PURE__ */ (0,
|
|
8081
|
-
/* @__PURE__ */ (0,
|
|
8082
|
-
/* @__PURE__ */ (0,
|
|
8083
|
-
/* @__PURE__ */ (0,
|
|
8084
|
-
/* @__PURE__ */ (0,
|
|
8085
|
-
/* @__PURE__ */ (0,
|
|
8086
|
-
/* @__PURE__ */ (0,
|
|
8087
|
-
/* @__PURE__ */ (0,
|
|
8088
|
-
/* @__PURE__ */ (0,
|
|
8089
|
-
/* @__PURE__ */ (0,
|
|
8090
|
-
/* @__PURE__ */ (0,
|
|
8090
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(WindowNormal, { title: "Conditional Formatting", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(import_jsx_runtime127.Fragment, { children: [
|
|
8091
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { themeColor: "primary", children: "Apply" }),
|
|
8092
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { children: "Cancel" })
|
|
8093
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Form, { children: [
|
|
8094
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Apply to range", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Textbox, { placeholder: "Placeholder" }) }),
|
|
8095
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Format cells if", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(DropdownList, { value: "Cell value" }) }),
|
|
8096
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "is", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(DropdownList, { value: "Greater than" }) }),
|
|
8097
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Apply to range", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Textbox, { placeholder: "Placeholder" }) }),
|
|
8098
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(FormField, { label: "Format with", editor: /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)(Toolbar, { resizable: true, children: [
|
|
8099
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { icon: "bold" }),
|
|
8100
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { icon: "italic" }),
|
|
8101
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { icon: "underline" }),
|
|
8102
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Button, { icon: "strikethrough" }),
|
|
8103
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPicker, { value: "red", valueIconName: "foreground-color" }),
|
|
8104
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(ColorPicker, { value: "fuchsia", valueIconName: "droplet" })
|
|
8091
8105
|
] }) })
|
|
8092
8106
|
] }) }) })
|
|
8093
8107
|
] })
|