@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
|
@@ -4513,8 +4513,22 @@ Window.options = options6;
|
|
|
4513
4513
|
Window.className = WINDOW_CLASSNAME;
|
|
4514
4514
|
Window.defaultProps = defaultProps6;
|
|
4515
4515
|
|
|
4516
|
+
// src/window/templates/window-normal.tsx
|
|
4517
|
+
import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
|
|
4518
|
+
var WindowNormal = (props) => /* @__PURE__ */ jsx10(
|
|
4519
|
+
Window,
|
|
4520
|
+
{
|
|
4521
|
+
title: "Title",
|
|
4522
|
+
actions: ["window-minimize", "window", "x"],
|
|
4523
|
+
children: [
|
|
4524
|
+
/* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
|
|
4525
|
+
],
|
|
4526
|
+
...props
|
|
4527
|
+
}
|
|
4528
|
+
);
|
|
4529
|
+
|
|
4516
4530
|
// src/form/form-field.tsx
|
|
4517
|
-
import { jsx as
|
|
4531
|
+
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4518
4532
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
4519
4533
|
var states7 = [
|
|
4520
4534
|
States.disabled
|
|
@@ -4550,14 +4564,14 @@ var FormField = (props) => {
|
|
|
4550
4564
|
"k-form-label"
|
|
4551
4565
|
), children: [
|
|
4552
4566
|
label,
|
|
4553
|
-
optional && /* @__PURE__ */
|
|
4554
|
-
info && /* @__PURE__ */
|
|
4567
|
+
optional && /* @__PURE__ */ jsx11("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
4568
|
+
info && /* @__PURE__ */ jsx11("span", { className: "k-field-info", children: "(field info)" })
|
|
4555
4569
|
] }),
|
|
4556
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
4570
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx11("span", { className: "k-label k-form-label k-label-empty" }),
|
|
4557
4571
|
/* @__PURE__ */ jsxs3("div", { className: "k-form-field-wrap", children: [
|
|
4558
4572
|
editor,
|
|
4559
|
-
hint && /* @__PURE__ */
|
|
4560
|
-
error && /* @__PURE__ */
|
|
4573
|
+
hint && /* @__PURE__ */ jsx11("div", { className: "k-form-hint", children: hint }),
|
|
4574
|
+
error && /* @__PURE__ */ jsx11("div", { className: "k-form-error", children: error })
|
|
4561
4575
|
] })
|
|
4562
4576
|
]
|
|
4563
4577
|
}
|
|
@@ -4566,7 +4580,7 @@ var FormField = (props) => {
|
|
|
4566
4580
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
4567
4581
|
|
|
4568
4582
|
// src/form/fieldset.tsx
|
|
4569
|
-
import { Fragment as
|
|
4583
|
+
import { Fragment as Fragment7, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4570
4584
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
4571
4585
|
var Fieldset = (props) => {
|
|
4572
4586
|
const {
|
|
@@ -4577,8 +4591,8 @@ var Fieldset = (props) => {
|
|
|
4577
4591
|
gapY
|
|
4578
4592
|
} = props;
|
|
4579
4593
|
return /* @__PURE__ */ jsxs4("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
4580
|
-
legend && /* @__PURE__ */
|
|
4581
|
-
layout === "grid" ? /* @__PURE__ */
|
|
4594
|
+
legend && /* @__PURE__ */ jsx12("legend", { className: "k-form-legend", children: legend }),
|
|
4595
|
+
layout === "grid" ? /* @__PURE__ */ jsx12("div", { className: classNames(
|
|
4582
4596
|
"k-form-layout",
|
|
4583
4597
|
"k-d-grid",
|
|
4584
4598
|
{
|
|
@@ -4586,13 +4600,13 @@ var Fieldset = (props) => {
|
|
|
4586
4600
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4587
4601
|
[`k-gap-y-${gapY}`]: gapY
|
|
4588
4602
|
}
|
|
4589
|
-
), children: props.children }) : /* @__PURE__ */
|
|
4603
|
+
), children: props.children }) : /* @__PURE__ */ jsx12(Fragment7, { children: props.children })
|
|
4590
4604
|
] });
|
|
4591
4605
|
};
|
|
4592
4606
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
4593
4607
|
|
|
4594
4608
|
// src/form/form.spec.tsx
|
|
4595
|
-
import { Fragment as
|
|
4609
|
+
import { Fragment as Fragment8, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4596
4610
|
import { createElement } from "react";
|
|
4597
4611
|
var FORM_CLASSNAME = "k-form";
|
|
4598
4612
|
var states8 = [];
|
|
@@ -4616,7 +4630,7 @@ var Form = (props) => {
|
|
|
4616
4630
|
tag = defaultProps7.tag,
|
|
4617
4631
|
children
|
|
4618
4632
|
} = props;
|
|
4619
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
4633
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx13("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx13("div", { className: className13, children: children2 });
|
|
4620
4634
|
const formChildren = [];
|
|
4621
4635
|
if (children) {
|
|
4622
4636
|
if (Array.isArray(children)) {
|
|
@@ -4645,7 +4659,7 @@ var Form = (props) => {
|
|
|
4645
4659
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
4646
4660
|
}
|
|
4647
4661
|
), children: [
|
|
4648
|
-
layout === "grid" ? /* @__PURE__ */
|
|
4662
|
+
layout === "grid" ? /* @__PURE__ */ jsx13("div", { className: classNames(
|
|
4649
4663
|
"k-form-layout",
|
|
4650
4664
|
"k-d-grid",
|
|
4651
4665
|
{
|
|
@@ -4653,8 +4667,8 @@ var Form = (props) => {
|
|
|
4653
4667
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4654
4668
|
[`k-gap-y-${gapY}`]: gapY
|
|
4655
4669
|
}
|
|
4656
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
4657
|
-
formButtons && /* @__PURE__ */
|
|
4670
|
+
), children: formChildren }) : /* @__PURE__ */ jsx13(Fragment8, { children: formChildren }),
|
|
4671
|
+
formButtons && /* @__PURE__ */ jsx13("div", { className: "k-form-buttons", children: formButtons })
|
|
4658
4672
|
] });
|
|
4659
4673
|
};
|
|
4660
4674
|
Form.states = states8;
|
|
@@ -4663,7 +4677,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
4663
4677
|
Form.defaultProps = defaultProps7;
|
|
4664
4678
|
|
|
4665
4679
|
// src/input/input.spec.tsx
|
|
4666
|
-
import { jsx as
|
|
4680
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4667
4681
|
var INPUT_CLASSNAME = `k-input`;
|
|
4668
4682
|
var states9 = [
|
|
4669
4683
|
States.hover,
|
|
@@ -4699,7 +4713,7 @@ var Input = (props) => {
|
|
|
4699
4713
|
fillMode = defaultProps8.fillMode,
|
|
4700
4714
|
...other
|
|
4701
4715
|
} = props;
|
|
4702
|
-
return /* @__PURE__ */
|
|
4716
|
+
return /* @__PURE__ */ jsx14(
|
|
4703
4717
|
"span",
|
|
4704
4718
|
{
|
|
4705
4719
|
...other,
|
|
@@ -4718,7 +4732,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4718
4732
|
Input.defaultProps = defaultProps8;
|
|
4719
4733
|
|
|
4720
4734
|
// src/input/picker.spec.tsx
|
|
4721
|
-
import { jsx as
|
|
4735
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4722
4736
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4723
4737
|
var pickerStates = [
|
|
4724
4738
|
States.hover,
|
|
@@ -4754,7 +4768,7 @@ var Picker = (props) => {
|
|
|
4754
4768
|
fillMode = defaultProps9.fillMode,
|
|
4755
4769
|
...other
|
|
4756
4770
|
} = props;
|
|
4757
|
-
return /* @__PURE__ */
|
|
4771
|
+
return /* @__PURE__ */ jsx15(
|
|
4758
4772
|
"span",
|
|
4759
4773
|
{
|
|
4760
4774
|
...other,
|
|
@@ -4774,7 +4788,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4774
4788
|
Picker.defaultProps = defaultProps9;
|
|
4775
4789
|
|
|
4776
4790
|
// src/input/input-clear-value.tsx
|
|
4777
|
-
import { Fragment as
|
|
4791
|
+
import { Fragment as Fragment9, jsx as jsx16 } from "react/jsx-runtime";
|
|
4778
4792
|
var className = `k-clear-value`;
|
|
4779
4793
|
var states10 = [
|
|
4780
4794
|
States.disabled,
|
|
@@ -4790,16 +4804,16 @@ var InputClearValue = (props) => {
|
|
|
4790
4804
|
value
|
|
4791
4805
|
} = props;
|
|
4792
4806
|
if (disabled || readonly || loading || !value) {
|
|
4793
|
-
return /* @__PURE__ */
|
|
4807
|
+
return /* @__PURE__ */ jsx16(Fragment9, {});
|
|
4794
4808
|
}
|
|
4795
|
-
return /* @__PURE__ */
|
|
4809
|
+
return /* @__PURE__ */ jsx16("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx16(Icon, { icon: "x" }) });
|
|
4796
4810
|
};
|
|
4797
4811
|
InputClearValue.states = states10;
|
|
4798
4812
|
InputClearValue.options = options9;
|
|
4799
4813
|
InputClearValue.className = className;
|
|
4800
4814
|
|
|
4801
4815
|
// src/input/input-inner-input.tsx
|
|
4802
|
-
import { jsx as
|
|
4816
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4803
4817
|
var className2 = `k-input-inner`;
|
|
4804
4818
|
var states11 = [];
|
|
4805
4819
|
var options10 = {};
|
|
@@ -4817,7 +4831,7 @@ var InputInnerInput = (props) => {
|
|
|
4817
4831
|
autocomplete = defaultProps10.autocomplete,
|
|
4818
4832
|
...other
|
|
4819
4833
|
} = props;
|
|
4820
|
-
return /* @__PURE__ */
|
|
4834
|
+
return /* @__PURE__ */ jsx17(
|
|
4821
4835
|
"input",
|
|
4822
4836
|
{
|
|
4823
4837
|
...other,
|
|
@@ -4834,7 +4848,7 @@ InputInnerInput.options = options10;
|
|
|
4834
4848
|
InputInnerInput.className = className2;
|
|
4835
4849
|
|
|
4836
4850
|
// src/input/input-inner-span.tsx
|
|
4837
|
-
import { jsx as
|
|
4851
|
+
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4838
4852
|
var className3 = `k-input-inner`;
|
|
4839
4853
|
var states12 = [];
|
|
4840
4854
|
var options11 = {};
|
|
@@ -4854,9 +4868,9 @@ var InputInnerSpan = (props) => {
|
|
|
4854
4868
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4855
4869
|
children: [
|
|
4856
4870
|
valueIcon,
|
|
4857
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4871
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx18(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4858
4872
|
showValue && !value && placeholder,
|
|
4859
|
-
showValue && value && /* @__PURE__ */
|
|
4873
|
+
showValue && value && /* @__PURE__ */ jsx18("span", { className: "k-input-value-text", children: value })
|
|
4860
4874
|
]
|
|
4861
4875
|
}
|
|
4862
4876
|
);
|
|
@@ -4866,7 +4880,7 @@ InputInnerSpan.options = options11;
|
|
|
4866
4880
|
InputInnerSpan.className = className3;
|
|
4867
4881
|
|
|
4868
4882
|
// src/input/input-inner-textarea.tsx
|
|
4869
|
-
import { jsx as
|
|
4883
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
4870
4884
|
var defaultProps11 = {
|
|
4871
4885
|
value: "",
|
|
4872
4886
|
placeholder: ""
|
|
@@ -4881,7 +4895,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4881
4895
|
rows,
|
|
4882
4896
|
...other
|
|
4883
4897
|
} = props;
|
|
4884
|
-
return /* @__PURE__ */
|
|
4898
|
+
return /* @__PURE__ */ jsx19(
|
|
4885
4899
|
"textarea",
|
|
4886
4900
|
{
|
|
4887
4901
|
...other,
|
|
@@ -4897,7 +4911,7 @@ InputInnerTextarea.options = options12;
|
|
|
4897
4911
|
InputInnerTextarea.className = className4;
|
|
4898
4912
|
|
|
4899
4913
|
// src/input/input-loading-icon.tsx
|
|
4900
|
-
import { Fragment as
|
|
4914
|
+
import { Fragment as Fragment10, jsx as jsx20 } from "react/jsx-runtime";
|
|
4901
4915
|
var className5 = `k-input-loading-icon`;
|
|
4902
4916
|
var states14 = [
|
|
4903
4917
|
States.disabled,
|
|
@@ -4909,13 +4923,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4909
4923
|
loading
|
|
4910
4924
|
} = props;
|
|
4911
4925
|
if (disabled || !loading) {
|
|
4912
|
-
return /* @__PURE__ */
|
|
4926
|
+
return /* @__PURE__ */ jsx20(Fragment10, {});
|
|
4913
4927
|
}
|
|
4914
|
-
return /* @__PURE__ */
|
|
4928
|
+
return /* @__PURE__ */ jsx20("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4915
4929
|
};
|
|
4916
4930
|
|
|
4917
4931
|
// src/input/input-validation-icon.tsx
|
|
4918
|
-
import { Fragment as
|
|
4932
|
+
import { Fragment as Fragment11, jsx as jsx21 } from "react/jsx-runtime";
|
|
4919
4933
|
var className6 = `k-input-validation-icon`;
|
|
4920
4934
|
var states15 = [
|
|
4921
4935
|
States.valid,
|
|
@@ -4934,39 +4948,39 @@ var InputValidationIcon = (props) => {
|
|
|
4934
4948
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4935
4949
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4936
4950
|
if (disabled || loading || !renderValidationIcon) {
|
|
4937
|
-
return /* @__PURE__ */
|
|
4951
|
+
return /* @__PURE__ */ jsx21(Fragment11, {});
|
|
4938
4952
|
}
|
|
4939
|
-
return /* @__PURE__ */
|
|
4953
|
+
return /* @__PURE__ */ jsx21(Icon, { className: classNames(className6), icon: iconName });
|
|
4940
4954
|
};
|
|
4941
4955
|
InputValidationIcon.states = states15;
|
|
4942
4956
|
InputValidationIcon.options = options13;
|
|
4943
4957
|
InputValidationIcon.className = className6;
|
|
4944
4958
|
|
|
4945
4959
|
// src/input/input-prefix.tsx
|
|
4946
|
-
import { Fragment as
|
|
4960
|
+
import { Fragment as Fragment12, jsx as jsx22 } from "react/jsx-runtime";
|
|
4947
4961
|
var className7 = `k-input-prefix`;
|
|
4948
4962
|
var InputPrefix = (props) => {
|
|
4949
4963
|
if (!props.children) {
|
|
4950
|
-
return /* @__PURE__ */
|
|
4964
|
+
return /* @__PURE__ */ jsx22(Fragment12, {});
|
|
4951
4965
|
}
|
|
4952
|
-
return /* @__PURE__ */
|
|
4966
|
+
return /* @__PURE__ */ jsx22("span", { className: classNames(className7, props.className), children: props.children });
|
|
4953
4967
|
};
|
|
4954
4968
|
|
|
4955
4969
|
// src/input/input-suffix.tsx
|
|
4956
|
-
import { Fragment as
|
|
4970
|
+
import { Fragment as Fragment13, jsx as jsx23 } from "react/jsx-runtime";
|
|
4957
4971
|
var className8 = `k-input-suffix`;
|
|
4958
4972
|
var InputSuffix = (props) => {
|
|
4959
4973
|
if (!props.children) {
|
|
4960
|
-
return /* @__PURE__ */
|
|
4974
|
+
return /* @__PURE__ */ jsx23(Fragment13, {});
|
|
4961
4975
|
}
|
|
4962
|
-
return /* @__PURE__ */
|
|
4976
|
+
return /* @__PURE__ */ jsx23("span", { className: classNames(className8, props.className), children: props.children });
|
|
4963
4977
|
};
|
|
4964
4978
|
|
|
4965
4979
|
// src/input/input-separator.tsx
|
|
4966
|
-
import { jsx as
|
|
4980
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4967
4981
|
|
|
4968
4982
|
// src/textbox/textbox.spec.tsx
|
|
4969
|
-
import { jsx as
|
|
4983
|
+
import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4970
4984
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4971
4985
|
var states16 = [
|
|
4972
4986
|
States.hover,
|
|
@@ -5026,9 +5040,9 @@ var Textbox = (props) => {
|
|
|
5026
5040
|
readonly,
|
|
5027
5041
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5028
5042
|
children: [
|
|
5029
|
-
/* @__PURE__ */
|
|
5030
|
-
/* @__PURE__ */
|
|
5031
|
-
/* @__PURE__ */
|
|
5043
|
+
/* @__PURE__ */ jsx25(InputPrefix, { children: prefix }),
|
|
5044
|
+
/* @__PURE__ */ jsx25(InputInnerInput, { placeholder, value }),
|
|
5045
|
+
/* @__PURE__ */ jsx25(
|
|
5032
5046
|
InputValidationIcon,
|
|
5033
5047
|
{
|
|
5034
5048
|
valid,
|
|
@@ -5037,14 +5051,14 @@ var Textbox = (props) => {
|
|
|
5037
5051
|
disabled
|
|
5038
5052
|
}
|
|
5039
5053
|
),
|
|
5040
|
-
/* @__PURE__ */
|
|
5054
|
+
/* @__PURE__ */ jsx25(
|
|
5041
5055
|
InputLoadingIcon,
|
|
5042
5056
|
{
|
|
5043
5057
|
loading,
|
|
5044
5058
|
disabled
|
|
5045
5059
|
}
|
|
5046
5060
|
),
|
|
5047
|
-
showClearButton && /* @__PURE__ */
|
|
5061
|
+
showClearButton && /* @__PURE__ */ jsx25(
|
|
5048
5062
|
InputClearValue,
|
|
5049
5063
|
{
|
|
5050
5064
|
loading,
|
|
@@ -5053,7 +5067,7 @@ var Textbox = (props) => {
|
|
|
5053
5067
|
value
|
|
5054
5068
|
}
|
|
5055
5069
|
),
|
|
5056
|
-
/* @__PURE__ */
|
|
5070
|
+
/* @__PURE__ */ jsx25(InputSuffix, { children: suffix })
|
|
5057
5071
|
]
|
|
5058
5072
|
}
|
|
5059
5073
|
);
|
|
@@ -5064,16 +5078,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5064
5078
|
Textbox.defaultProps = defaultProps12;
|
|
5065
5079
|
|
|
5066
5080
|
// src/textbox/templates/textbox-normal.tsx
|
|
5067
|
-
import { jsx as
|
|
5081
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5068
5082
|
|
|
5069
5083
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5070
|
-
import { Fragment as
|
|
5084
|
+
import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5071
5085
|
|
|
5072
5086
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5073
|
-
import { Fragment as
|
|
5087
|
+
import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5074
5088
|
|
|
5075
5089
|
// src/animation-container/animation-container.spec.tsx
|
|
5076
|
-
import { jsx as
|
|
5090
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5077
5091
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5078
5092
|
var states17 = [];
|
|
5079
5093
|
var options15 = {};
|
|
@@ -5087,7 +5101,7 @@ var AnimationContainer = (props) => {
|
|
|
5087
5101
|
offset,
|
|
5088
5102
|
...other
|
|
5089
5103
|
} = props;
|
|
5090
|
-
return /* @__PURE__ */
|
|
5104
|
+
return /* @__PURE__ */ jsx29(
|
|
5091
5105
|
"div",
|
|
5092
5106
|
{
|
|
5093
5107
|
...other,
|
|
@@ -5099,7 +5113,7 @@ var AnimationContainer = (props) => {
|
|
|
5099
5113
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5100
5114
|
}
|
|
5101
5115
|
),
|
|
5102
|
-
children: /* @__PURE__ */
|
|
5116
|
+
children: /* @__PURE__ */ jsx29("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5103
5117
|
}
|
|
5104
5118
|
);
|
|
5105
5119
|
};
|
|
@@ -5109,7 +5123,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5109
5123
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5110
5124
|
|
|
5111
5125
|
// src/popup/popup.spec.tsx
|
|
5112
|
-
import { jsx as
|
|
5126
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5113
5127
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5114
5128
|
var states18 = [];
|
|
5115
5129
|
var options16 = {};
|
|
@@ -5122,12 +5136,12 @@ var Popup = (props) => {
|
|
|
5122
5136
|
positionMode,
|
|
5123
5137
|
...other
|
|
5124
5138
|
} = props;
|
|
5125
|
-
return /* @__PURE__ */
|
|
5139
|
+
return /* @__PURE__ */ jsx30(
|
|
5126
5140
|
AnimationContainer,
|
|
5127
5141
|
{
|
|
5128
5142
|
positionMode,
|
|
5129
5143
|
offset,
|
|
5130
|
-
children: /* @__PURE__ */
|
|
5144
|
+
children: /* @__PURE__ */ jsx30("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5131
5145
|
}
|
|
5132
5146
|
);
|
|
5133
5147
|
};
|
|
@@ -5137,7 +5151,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5137
5151
|
Popup.defaultProps = defaultProps14;
|
|
5138
5152
|
|
|
5139
5153
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5140
|
-
import { Fragment as
|
|
5154
|
+
import { Fragment as Fragment16, jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5141
5155
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5142
5156
|
var states19 = [
|
|
5143
5157
|
States.hover,
|
|
@@ -5185,7 +5199,7 @@ var DropdownList = (props) => {
|
|
|
5185
5199
|
opened,
|
|
5186
5200
|
...other
|
|
5187
5201
|
} = props;
|
|
5188
|
-
return /* @__PURE__ */ jsxs10(
|
|
5202
|
+
return /* @__PURE__ */ jsxs10(Fragment16, { children: [
|
|
5189
5203
|
/* @__PURE__ */ jsxs10(
|
|
5190
5204
|
Picker,
|
|
5191
5205
|
{
|
|
@@ -5209,8 +5223,8 @@ var DropdownList = (props) => {
|
|
|
5209
5223
|
}
|
|
5210
5224
|
),
|
|
5211
5225
|
children: [
|
|
5212
|
-
/* @__PURE__ */
|
|
5213
|
-
/* @__PURE__ */
|
|
5226
|
+
/* @__PURE__ */ jsx31(InputPrefix, { children: prefix }),
|
|
5227
|
+
/* @__PURE__ */ jsx31(
|
|
5214
5228
|
InputInnerSpan,
|
|
5215
5229
|
{
|
|
5216
5230
|
placeholder,
|
|
@@ -5219,7 +5233,7 @@ var DropdownList = (props) => {
|
|
|
5219
5233
|
valueIconName
|
|
5220
5234
|
}
|
|
5221
5235
|
),
|
|
5222
|
-
/* @__PURE__ */
|
|
5236
|
+
/* @__PURE__ */ jsx31(
|
|
5223
5237
|
InputValidationIcon,
|
|
5224
5238
|
{
|
|
5225
5239
|
valid,
|
|
@@ -5228,15 +5242,15 @@ var DropdownList = (props) => {
|
|
|
5228
5242
|
disabled
|
|
5229
5243
|
}
|
|
5230
5244
|
),
|
|
5231
|
-
/* @__PURE__ */
|
|
5245
|
+
/* @__PURE__ */ jsx31(
|
|
5232
5246
|
InputLoadingIcon,
|
|
5233
5247
|
{
|
|
5234
5248
|
loading,
|
|
5235
5249
|
disabled
|
|
5236
5250
|
}
|
|
5237
5251
|
),
|
|
5238
|
-
/* @__PURE__ */
|
|
5239
|
-
/* @__PURE__ */
|
|
5252
|
+
/* @__PURE__ */ jsx31(InputSuffix, { children: suffix }),
|
|
5253
|
+
/* @__PURE__ */ jsx31(
|
|
5240
5254
|
Button,
|
|
5241
5255
|
{
|
|
5242
5256
|
className: "k-input-button",
|
|
@@ -5249,7 +5263,7 @@ var DropdownList = (props) => {
|
|
|
5249
5263
|
]
|
|
5250
5264
|
}
|
|
5251
5265
|
),
|
|
5252
|
-
opened && popup && /* @__PURE__ */
|
|
5266
|
+
opened && popup && /* @__PURE__ */ jsx31(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5253
5267
|
] });
|
|
5254
5268
|
};
|
|
5255
5269
|
DropdownList.states = states19;
|
|
@@ -5258,15 +5272,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5258
5272
|
DropdownList.defaultProps = defaultProps15;
|
|
5259
5273
|
|
|
5260
5274
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5261
|
-
import { jsx as
|
|
5275
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5262
5276
|
|
|
5263
5277
|
// src/nodata/nodata.tsx
|
|
5264
|
-
import { jsx as
|
|
5278
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5265
5279
|
var className9 = `k-nodata`;
|
|
5266
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5280
|
+
var NoData = (props) => /* @__PURE__ */ jsx33("span", { className: classNames(className9, props.className), children: props.children });
|
|
5267
5281
|
|
|
5268
5282
|
// src/list/list.spec.tsx
|
|
5269
|
-
import { jsx as
|
|
5283
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5270
5284
|
var LIST_CLASSNAME = `k-list`;
|
|
5271
5285
|
var states20 = [];
|
|
5272
5286
|
var options18 = {
|
|
@@ -5294,7 +5308,7 @@ var List = (props) => {
|
|
|
5294
5308
|
listHeader = child.props.label;
|
|
5295
5309
|
child.props.children.map((optChild, index2) => {
|
|
5296
5310
|
listChildren.push(
|
|
5297
|
-
/* @__PURE__ */
|
|
5311
|
+
/* @__PURE__ */ jsx34(
|
|
5298
5312
|
ListItem,
|
|
5299
5313
|
{
|
|
5300
5314
|
...optChild.props
|
|
@@ -5310,7 +5324,7 @@ var List = (props) => {
|
|
|
5310
5324
|
groupLabel = child.props.label;
|
|
5311
5325
|
}
|
|
5312
5326
|
listChildren.push(
|
|
5313
|
-
/* @__PURE__ */
|
|
5327
|
+
/* @__PURE__ */ jsx34(
|
|
5314
5328
|
ListItem,
|
|
5315
5329
|
{
|
|
5316
5330
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5322,14 +5336,14 @@ var List = (props) => {
|
|
|
5322
5336
|
);
|
|
5323
5337
|
});
|
|
5324
5338
|
}
|
|
5325
|
-
listGroup = /* @__PURE__ */
|
|
5339
|
+
listGroup = /* @__PURE__ */ jsx34(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5326
5340
|
} else if (child.type === ListItem) {
|
|
5327
|
-
listChildren.push(/* @__PURE__ */
|
|
5328
|
-
listContent = /* @__PURE__ */
|
|
5341
|
+
listChildren.push(/* @__PURE__ */ jsx34(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5342
|
+
listContent = /* @__PURE__ */ jsx34(ListContent, { virtualization, children: listChildren });
|
|
5329
5343
|
}
|
|
5330
5344
|
});
|
|
5331
5345
|
} else {
|
|
5332
|
-
listContent = /* @__PURE__ */
|
|
5346
|
+
listContent = /* @__PURE__ */ jsx34(NoData, { children: "No data found." });
|
|
5333
5347
|
}
|
|
5334
5348
|
return /* @__PURE__ */ jsxs11(
|
|
5335
5349
|
"div",
|
|
@@ -5360,7 +5374,7 @@ List.defaultProps = defaultProps16;
|
|
|
5360
5374
|
var list_spec_default = List;
|
|
5361
5375
|
|
|
5362
5376
|
// src/list/list-angular.spec.tsx
|
|
5363
|
-
import { jsx as
|
|
5377
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5364
5378
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5365
5379
|
var states21 = [];
|
|
5366
5380
|
var options19 = {
|
|
@@ -5387,7 +5401,7 @@ var ListAngular = (props) => {
|
|
|
5387
5401
|
listHeader = child.props.label;
|
|
5388
5402
|
child.props.children.map((optChild, index2) => {
|
|
5389
5403
|
listChildren.push(
|
|
5390
|
-
/* @__PURE__ */
|
|
5404
|
+
/* @__PURE__ */ jsx35(
|
|
5391
5405
|
ListItem,
|
|
5392
5406
|
{
|
|
5393
5407
|
...optChild.props
|
|
@@ -5398,7 +5412,7 @@ var ListAngular = (props) => {
|
|
|
5398
5412
|
});
|
|
5399
5413
|
} else {
|
|
5400
5414
|
listChildren.push(
|
|
5401
|
-
/* @__PURE__ */
|
|
5415
|
+
/* @__PURE__ */ jsx35(
|
|
5402
5416
|
ListGroupItem,
|
|
5403
5417
|
{
|
|
5404
5418
|
...child.props,
|
|
@@ -5409,7 +5423,7 @@ var ListAngular = (props) => {
|
|
|
5409
5423
|
);
|
|
5410
5424
|
child.props.children.map((optChild, index2) => {
|
|
5411
5425
|
listChildren.push(
|
|
5412
|
-
/* @__PURE__ */
|
|
5426
|
+
/* @__PURE__ */ jsx35(
|
|
5413
5427
|
ListItem,
|
|
5414
5428
|
{
|
|
5415
5429
|
...optChild.props
|
|
@@ -5419,14 +5433,14 @@ var ListAngular = (props) => {
|
|
|
5419
5433
|
);
|
|
5420
5434
|
});
|
|
5421
5435
|
}
|
|
5422
|
-
listGroup = /* @__PURE__ */
|
|
5436
|
+
listGroup = /* @__PURE__ */ jsx35(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5423
5437
|
} else if (child.type === ListItem) {
|
|
5424
|
-
listChildren.push(/* @__PURE__ */
|
|
5425
|
-
listContent = /* @__PURE__ */
|
|
5438
|
+
listChildren.push(/* @__PURE__ */ jsx35(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5439
|
+
listContent = /* @__PURE__ */ jsx35(ListContent, { virtualization, children: listChildren });
|
|
5426
5440
|
}
|
|
5427
5441
|
});
|
|
5428
5442
|
} else {
|
|
5429
|
-
listContent = /* @__PURE__ */
|
|
5443
|
+
listContent = /* @__PURE__ */ jsx35(NoData, { children: "No data found." });
|
|
5430
5444
|
}
|
|
5431
5445
|
return /* @__PURE__ */ jsxs12(
|
|
5432
5446
|
"div",
|
|
@@ -5455,7 +5469,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5455
5469
|
ListAngular.defaultProps = defaultProps17;
|
|
5456
5470
|
|
|
5457
5471
|
// src/checkbox/checkbox.spec.tsx
|
|
5458
|
-
import { jsx as
|
|
5472
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5459
5473
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5460
5474
|
var states22 = [
|
|
5461
5475
|
States.hover,
|
|
@@ -5490,7 +5504,7 @@ var Checkbox = (props) => {
|
|
|
5490
5504
|
rounded = defaultProps18.rounded,
|
|
5491
5505
|
...other
|
|
5492
5506
|
} = props;
|
|
5493
|
-
return /* @__PURE__ */
|
|
5507
|
+
return /* @__PURE__ */ jsx36("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx36(
|
|
5494
5508
|
"input",
|
|
5495
5509
|
{
|
|
5496
5510
|
...other,
|
|
@@ -5513,7 +5527,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5513
5527
|
Checkbox.defaultProps = defaultProps18;
|
|
5514
5528
|
|
|
5515
5529
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5516
|
-
import { jsx as
|
|
5530
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5517
5531
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5518
5532
|
var states23 = [];
|
|
5519
5533
|
var options21 = {};
|
|
@@ -5525,7 +5539,7 @@ var CheckboxGroup = (props) => {
|
|
|
5525
5539
|
layout = defaultProps19.layout,
|
|
5526
5540
|
...other
|
|
5527
5541
|
} = props;
|
|
5528
|
-
return /* @__PURE__ */
|
|
5542
|
+
return /* @__PURE__ */ jsx37(
|
|
5529
5543
|
"ul",
|
|
5530
5544
|
{
|
|
5531
5545
|
...other,
|
|
@@ -5546,7 +5560,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5546
5560
|
CheckboxGroup.defaultProps = defaultProps19;
|
|
5547
5561
|
|
|
5548
5562
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5549
|
-
import { jsx as
|
|
5563
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5550
5564
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5551
5565
|
var states24 = [];
|
|
5552
5566
|
var options22 = {};
|
|
@@ -5555,7 +5569,7 @@ var CheckboxItem = (props) => {
|
|
|
5555
5569
|
const {
|
|
5556
5570
|
...other
|
|
5557
5571
|
} = props;
|
|
5558
|
-
return /* @__PURE__ */
|
|
5572
|
+
return /* @__PURE__ */ jsx38(
|
|
5559
5573
|
"li",
|
|
5560
5574
|
{
|
|
5561
5575
|
...other,
|
|
@@ -5573,16 +5587,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5573
5587
|
CheckboxItem.defaultProps = defaultProps20;
|
|
5574
5588
|
|
|
5575
5589
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5576
|
-
import { Fragment as
|
|
5590
|
+
import { Fragment as Fragment17, jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5577
5591
|
|
|
5578
5592
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5579
|
-
import { Fragment as
|
|
5593
|
+
import { Fragment as Fragment18, jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5580
5594
|
|
|
5581
5595
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5582
|
-
import { jsx as
|
|
5596
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5583
5597
|
|
|
5584
5598
|
// src/list/list-item.spec.tsx
|
|
5585
|
-
import { jsx as
|
|
5599
|
+
import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5586
5600
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5587
5601
|
var states25 = [
|
|
5588
5602
|
States.hover,
|
|
@@ -5622,10 +5636,10 @@ var ListItem = (props) => {
|
|
|
5622
5636
|
})
|
|
5623
5637
|
),
|
|
5624
5638
|
children: [
|
|
5625
|
-
showCheckbox && /* @__PURE__ */
|
|
5626
|
-
showIcon && /* @__PURE__ */
|
|
5627
|
-
/* @__PURE__ */
|
|
5628
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5639
|
+
showCheckbox && /* @__PURE__ */ jsx42(Checkbox, { checked }),
|
|
5640
|
+
showIcon && /* @__PURE__ */ jsx42(Icon, { icon: iconName }),
|
|
5641
|
+
/* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5642
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx42("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5629
5643
|
]
|
|
5630
5644
|
}
|
|
5631
5645
|
);
|
|
@@ -5636,43 +5650,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5636
5650
|
ListItem.defaultProps = defaultProps21;
|
|
5637
5651
|
|
|
5638
5652
|
// src/list/list-content.tsx
|
|
5639
|
-
import { jsx as
|
|
5653
|
+
import { jsx as jsx43, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5640
5654
|
var className10 = `k-list-content`;
|
|
5641
5655
|
var ListContent = (props) => {
|
|
5642
5656
|
const {
|
|
5643
5657
|
virtualization
|
|
5644
5658
|
} = props;
|
|
5645
5659
|
return /* @__PURE__ */ jsxs16("div", { className: classNames(className10, props.className), children: [
|
|
5646
|
-
/* @__PURE__ */
|
|
5647
|
-
virtualization && /* @__PURE__ */
|
|
5660
|
+
/* @__PURE__ */ jsx43("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5661
|
+
virtualization && /* @__PURE__ */ jsx43("div", { className: "k-height-container", children: /* @__PURE__ */ jsx43("div", {}) })
|
|
5648
5662
|
] });
|
|
5649
5663
|
};
|
|
5650
5664
|
|
|
5651
5665
|
// src/list/list-header.tsx
|
|
5652
|
-
import { jsx as
|
|
5666
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5653
5667
|
var className11 = `k-list-group-sticky-header`;
|
|
5654
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5668
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx44("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx44("div", { className: "k-list-header-text", children: props.children }) });
|
|
5655
5669
|
|
|
5656
5670
|
// src/list/list-group.tsx
|
|
5657
|
-
import { Fragment as
|
|
5671
|
+
import { Fragment as Fragment19, jsx as jsx45, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5658
5672
|
var ListGroup = (props) => {
|
|
5659
5673
|
const {
|
|
5660
5674
|
virtualization,
|
|
5661
5675
|
label
|
|
5662
5676
|
} = props;
|
|
5663
|
-
return /* @__PURE__ */ jsxs17(
|
|
5664
|
-
label && /* @__PURE__ */
|
|
5665
|
-
props.children && /* @__PURE__ */
|
|
5677
|
+
return /* @__PURE__ */ jsxs17(Fragment19, { children: [
|
|
5678
|
+
label && /* @__PURE__ */ jsx45(ListHeader, { children: label }),
|
|
5679
|
+
props.children && /* @__PURE__ */ jsx45(ListContent, { virtualization, children: props.children })
|
|
5666
5680
|
] });
|
|
5667
5681
|
};
|
|
5668
5682
|
|
|
5669
5683
|
// src/list/list-group-item.tsx
|
|
5670
|
-
import { jsx as
|
|
5684
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5671
5685
|
var className12 = `k-list-group-item`;
|
|
5672
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5686
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx46("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx46("span", { className: "k-list-item-text", children: props.children }) });
|
|
5673
5687
|
|
|
5674
5688
|
// src/list/list-option-label.tsx
|
|
5675
|
-
import { jsx as
|
|
5689
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5676
5690
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5677
5691
|
var states26 = [
|
|
5678
5692
|
States.hover,
|
|
@@ -5691,7 +5705,7 @@ var ListOptionLabel = (props) => {
|
|
|
5691
5705
|
disabled,
|
|
5692
5706
|
...other
|
|
5693
5707
|
} = props;
|
|
5694
|
-
return /* @__PURE__ */
|
|
5708
|
+
return /* @__PURE__ */ jsx47(
|
|
5695
5709
|
"div",
|
|
5696
5710
|
{
|
|
5697
5711
|
...other,
|
|
@@ -5714,31 +5728,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5714
5728
|
ListOptionLabel.defaultProps = defaultProps22;
|
|
5715
5729
|
|
|
5716
5730
|
// src/list/templates/list-normal.tsx
|
|
5717
|
-
import { jsx as
|
|
5731
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5718
5732
|
|
|
5719
5733
|
// src/list/templates/list-virtualization.tsx
|
|
5720
|
-
import { jsx as
|
|
5734
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5721
5735
|
|
|
5722
5736
|
// src/list/templates/list-grouping.tsx
|
|
5723
|
-
import { jsx as
|
|
5737
|
+
import { jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5724
5738
|
|
|
5725
5739
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5726
|
-
import { jsx as
|
|
5740
|
+
import { jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5727
5741
|
|
|
5728
5742
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5729
|
-
import { jsx as
|
|
5743
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5730
5744
|
|
|
5731
5745
|
// src/list/templates/list-grouping-angular.tsx
|
|
5732
|
-
import { jsx as
|
|
5746
|
+
import { jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5733
5747
|
|
|
5734
5748
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5735
|
-
import { jsx as
|
|
5749
|
+
import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5736
5750
|
|
|
5737
5751
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5738
|
-
import { jsx as
|
|
5752
|
+
import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5739
5753
|
|
|
5740
5754
|
// src/searchbox/searchbox.spec.tsx
|
|
5741
|
-
import { jsx as
|
|
5755
|
+
import { jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5742
5756
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5743
5757
|
var states27 = [
|
|
5744
5758
|
States.hover,
|
|
@@ -5795,11 +5809,11 @@ var Searchbox = (props) => {
|
|
|
5795
5809
|
disabled,
|
|
5796
5810
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5797
5811
|
children: [
|
|
5798
|
-
showIcon && /* @__PURE__ */
|
|
5799
|
-
/* @__PURE__ */
|
|
5800
|
-
/* @__PURE__ */
|
|
5801
|
-
/* @__PURE__ */
|
|
5802
|
-
/* @__PURE__ */
|
|
5812
|
+
showIcon && /* @__PURE__ */ jsx56(Icon, { className: "k-input-icon", icon }),
|
|
5813
|
+
/* @__PURE__ */ jsx56(InputInnerInput, { placeholder, value }),
|
|
5814
|
+
/* @__PURE__ */ jsx56(InputLoadingIcon, { ...props }),
|
|
5815
|
+
/* @__PURE__ */ jsx56(InputValidationIcon, { ...props }),
|
|
5816
|
+
/* @__PURE__ */ jsx56(InputClearValue, { ...props })
|
|
5803
5817
|
]
|
|
5804
5818
|
}
|
|
5805
5819
|
);
|
|
@@ -5810,19 +5824,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5810
5824
|
Searchbox.defaultProps = defaultProps23;
|
|
5811
5825
|
|
|
5812
5826
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5813
|
-
import { jsx as
|
|
5827
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5814
5828
|
|
|
5815
5829
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5816
|
-
import { Fragment as
|
|
5830
|
+
import { Fragment as Fragment20, jsx as jsx58, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5817
5831
|
|
|
5818
5832
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5819
|
-
import { jsx as
|
|
5833
|
+
import { jsx as jsx59, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5820
5834
|
|
|
5821
5835
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5822
|
-
import { Fragment as
|
|
5836
|
+
import { Fragment as Fragment21, jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5823
5837
|
|
|
5824
5838
|
// src/listbox/listbox.spec.tsx
|
|
5825
|
-
import { jsx as
|
|
5839
|
+
import { jsx as jsx61, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5826
5840
|
var LISTBOX_CLASSNAME = `k-listbox`;
|
|
5827
5841
|
var states28 = [
|
|
5828
5842
|
States.disabled
|
|
@@ -5863,7 +5877,7 @@ var ListBox = (props) => {
|
|
|
5863
5877
|
}
|
|
5864
5878
|
),
|
|
5865
5879
|
children: [
|
|
5866
|
-
actions && /* @__PURE__ */
|
|
5880
|
+
actions && /* @__PURE__ */ jsx61("div", { className: "k-listbox-actions", children: actions.map((action) => {
|
|
5867
5881
|
const actionsIconMap = {
|
|
5868
5882
|
"left": dir !== "rtl" ? "caret-alt-left" : "caret-alt-right",
|
|
5869
5883
|
"right": dir !== "rtl" ? "caret-alt-right" : "caret-alt-left",
|
|
@@ -5873,12 +5887,12 @@ var ListBox = (props) => {
|
|
|
5873
5887
|
"down": "caret-alt-down",
|
|
5874
5888
|
"x": "x"
|
|
5875
5889
|
};
|
|
5876
|
-
return /* @__PURE__ */
|
|
5890
|
+
return /* @__PURE__ */ jsx61(Button, { icon: actionsIconMap[action], size });
|
|
5877
5891
|
}) }),
|
|
5878
|
-
/* @__PURE__ */
|
|
5892
|
+
/* @__PURE__ */ jsx61("div", { className: classNames(
|
|
5879
5893
|
"k-list-scroller",
|
|
5880
5894
|
"k-selectable"
|
|
5881
|
-
), children: /* @__PURE__ */
|
|
5895
|
+
), children: /* @__PURE__ */ jsx61(list_spec_default, { size, children }) })
|
|
5882
5896
|
]
|
|
5883
5897
|
}
|
|
5884
5898
|
);
|
|
@@ -5889,10 +5903,10 @@ ListBox.className = LISTBOX_CLASSNAME;
|
|
|
5889
5903
|
ListBox.defaultProps = defaultProps24;
|
|
5890
5904
|
|
|
5891
5905
|
// src/listbox/templates/listbox-normal.tsx
|
|
5892
|
-
import { jsx as
|
|
5906
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5893
5907
|
|
|
5894
5908
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5895
|
-
import { jsx as
|
|
5909
|
+
import { jsx as jsx63, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5896
5910
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5897
5911
|
var states29 = [];
|
|
5898
5912
|
var options27 = {
|
|
@@ -5918,7 +5932,7 @@ var SpinButton = (props) => {
|
|
|
5918
5932
|
props.className
|
|
5919
5933
|
),
|
|
5920
5934
|
children: [
|
|
5921
|
-
/* @__PURE__ */
|
|
5935
|
+
/* @__PURE__ */ jsx63(
|
|
5922
5936
|
Button,
|
|
5923
5937
|
{
|
|
5924
5938
|
className: "k-spinner-increase",
|
|
@@ -5928,7 +5942,7 @@ var SpinButton = (props) => {
|
|
|
5928
5942
|
fillMode
|
|
5929
5943
|
}
|
|
5930
5944
|
),
|
|
5931
|
-
/* @__PURE__ */
|
|
5945
|
+
/* @__PURE__ */ jsx63(
|
|
5932
5946
|
Button,
|
|
5933
5947
|
{
|
|
5934
5948
|
className: "k-spinner-decrease",
|
|
@@ -5948,7 +5962,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5948
5962
|
SpinButton.defaultProps = defaultProps25;
|
|
5949
5963
|
|
|
5950
5964
|
// src/dateinput/dateinput.spec.tsx
|
|
5951
|
-
import { jsx as
|
|
5965
|
+
import { jsx as jsx64, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5952
5966
|
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
5953
5967
|
var states30 = [
|
|
5954
5968
|
States.hover,
|
|
@@ -6005,8 +6019,8 @@ var DateInput = (props) => {
|
|
|
6005
6019
|
readonly,
|
|
6006
6020
|
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
6007
6021
|
children: [
|
|
6008
|
-
/* @__PURE__ */
|
|
6009
|
-
/* @__PURE__ */
|
|
6022
|
+
/* @__PURE__ */ jsx64(InputInnerInput, { placeholder, value }),
|
|
6023
|
+
/* @__PURE__ */ jsx64(
|
|
6010
6024
|
InputValidationIcon,
|
|
6011
6025
|
{
|
|
6012
6026
|
valid,
|
|
@@ -6015,14 +6029,14 @@ var DateInput = (props) => {
|
|
|
6015
6029
|
disabled
|
|
6016
6030
|
}
|
|
6017
6031
|
),
|
|
6018
|
-
/* @__PURE__ */
|
|
6032
|
+
/* @__PURE__ */ jsx64(
|
|
6019
6033
|
InputLoadingIcon,
|
|
6020
6034
|
{
|
|
6021
6035
|
loading,
|
|
6022
6036
|
disabled
|
|
6023
6037
|
}
|
|
6024
6038
|
),
|
|
6025
|
-
showSpinButton && /* @__PURE__ */
|
|
6039
|
+
showSpinButton && /* @__PURE__ */ jsx64(
|
|
6026
6040
|
SpinButton,
|
|
6027
6041
|
{
|
|
6028
6042
|
className: "k-input-spinner",
|
|
@@ -6040,10 +6054,10 @@ DateInput.className = DATEINPUT_CLASSNAME;
|
|
|
6040
6054
|
DateInput.defaultProps = defaultProps26;
|
|
6041
6055
|
|
|
6042
6056
|
// src/dateinput/templates/dateinput-normal.tsx
|
|
6043
|
-
import { jsx as
|
|
6057
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6044
6058
|
|
|
6045
6059
|
// src/color-preview/color-preview.tsx
|
|
6046
|
-
import { jsx as
|
|
6060
|
+
import { jsx as jsx66, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6047
6061
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
6048
6062
|
var states31 = [];
|
|
6049
6063
|
var options29 = {};
|
|
@@ -6066,8 +6080,8 @@ var ColorPreview = (props) => {
|
|
|
6066
6080
|
}
|
|
6067
6081
|
),
|
|
6068
6082
|
children: [
|
|
6069
|
-
iconName && /* @__PURE__ */
|
|
6070
|
-
/* @__PURE__ */
|
|
6083
|
+
iconName && /* @__PURE__ */ jsx66(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
6084
|
+
/* @__PURE__ */ jsx66(
|
|
6071
6085
|
"span",
|
|
6072
6086
|
{
|
|
6073
6087
|
className: "k-color-preview-mask",
|
|
@@ -6083,7 +6097,7 @@ ColorPreview.options = options29;
|
|
|
6083
6097
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
6084
6098
|
|
|
6085
6099
|
// src/colorpicker/colorpicker.spec.tsx
|
|
6086
|
-
import { Fragment as
|
|
6100
|
+
import { Fragment as Fragment22, jsx as jsx67, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6087
6101
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
6088
6102
|
var states32 = [
|
|
6089
6103
|
States.hover,
|
|
@@ -6125,7 +6139,7 @@ var ColorPicker = (props) => {
|
|
|
6125
6139
|
opened,
|
|
6126
6140
|
...other
|
|
6127
6141
|
} = props;
|
|
6128
|
-
return /* @__PURE__ */ jsxs31(
|
|
6142
|
+
return /* @__PURE__ */ jsxs31(Fragment22, { children: [
|
|
6129
6143
|
/* @__PURE__ */ jsxs31(
|
|
6130
6144
|
Picker,
|
|
6131
6145
|
{
|
|
@@ -6145,14 +6159,14 @@ var ColorPicker = (props) => {
|
|
|
6145
6159
|
"k-icon-picker"
|
|
6146
6160
|
),
|
|
6147
6161
|
children: [
|
|
6148
|
-
/* @__PURE__ */
|
|
6149
|
-
/* @__PURE__ */
|
|
6162
|
+
/* @__PURE__ */ jsx67(InputPrefix, { children: prefix }),
|
|
6163
|
+
/* @__PURE__ */ jsx67(
|
|
6150
6164
|
InputInnerSpan,
|
|
6151
6165
|
{
|
|
6152
6166
|
placeholder,
|
|
6153
6167
|
value,
|
|
6154
6168
|
showValue: false,
|
|
6155
|
-
valueIcon: /* @__PURE__ */
|
|
6169
|
+
valueIcon: /* @__PURE__ */ jsx67(
|
|
6156
6170
|
ColorPreview,
|
|
6157
6171
|
{
|
|
6158
6172
|
className: "k-value-icon",
|
|
@@ -6163,8 +6177,8 @@ var ColorPicker = (props) => {
|
|
|
6163
6177
|
valueIconName
|
|
6164
6178
|
}
|
|
6165
6179
|
),
|
|
6166
|
-
/* @__PURE__ */
|
|
6167
|
-
/* @__PURE__ */
|
|
6180
|
+
/* @__PURE__ */ jsx67(InputSuffix, { children: suffix }),
|
|
6181
|
+
/* @__PURE__ */ jsx67(
|
|
6168
6182
|
Button,
|
|
6169
6183
|
{
|
|
6170
6184
|
className: "k-input-button",
|
|
@@ -6177,7 +6191,7 @@ var ColorPicker = (props) => {
|
|
|
6177
6191
|
]
|
|
6178
6192
|
}
|
|
6179
6193
|
),
|
|
6180
|
-
opened && popup && /* @__PURE__ */
|
|
6194
|
+
opened && popup && /* @__PURE__ */ jsx67(Popup, { className: "k-color-picker-popup", children: popup })
|
|
6181
6195
|
] });
|
|
6182
6196
|
};
|
|
6183
6197
|
ColorPicker.states = states32;
|
|
@@ -6186,10 +6200,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
6186
6200
|
ColorPicker.defaultProps = defaultProps27;
|
|
6187
6201
|
|
|
6188
6202
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
6189
|
-
import { jsx as
|
|
6203
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6190
6204
|
|
|
6191
6205
|
// src/button-group/button-group.spec.tsx
|
|
6192
|
-
import { jsx as
|
|
6206
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6193
6207
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
6194
6208
|
var states33 = [
|
|
6195
6209
|
States.disabled
|
|
@@ -6207,7 +6221,7 @@ var ButtonGroup = (props) => {
|
|
|
6207
6221
|
stretched,
|
|
6208
6222
|
...other
|
|
6209
6223
|
} = props;
|
|
6210
|
-
return /* @__PURE__ */
|
|
6224
|
+
return /* @__PURE__ */ jsx69(
|
|
6211
6225
|
"div",
|
|
6212
6226
|
{
|
|
6213
6227
|
...other,
|
|
@@ -6234,19 +6248,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
6234
6248
|
ButtonGroup.defaultProps = defaultProps28;
|
|
6235
6249
|
|
|
6236
6250
|
// src/button-group/templates/icon-button-group.tsx
|
|
6237
|
-
import { jsx as
|
|
6251
|
+
import { jsx as jsx70, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6238
6252
|
|
|
6239
6253
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
6240
|
-
import { jsx as
|
|
6254
|
+
import { jsx as jsx71, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6241
6255
|
|
|
6242
6256
|
// src/button-group/templates/text-button-group.tsx
|
|
6243
|
-
import { jsx as
|
|
6257
|
+
import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6244
6258
|
|
|
6245
6259
|
// src/button-group/templates/mixed-button-group.tsx
|
|
6246
|
-
import { jsx as
|
|
6260
|
+
import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6247
6261
|
|
|
6248
6262
|
// src/slider/slider.spec.tsx
|
|
6249
|
-
import { jsx as
|
|
6263
|
+
import { jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6250
6264
|
var SLIDER_CLASSNAME = "k-slider";
|
|
6251
6265
|
var states34 = [
|
|
6252
6266
|
States.hover,
|
|
@@ -6298,12 +6312,12 @@ var Slider = (props) => {
|
|
|
6298
6312
|
"k-range-slider": type === "range"
|
|
6299
6313
|
}
|
|
6300
6314
|
), dir, children: [
|
|
6301
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6315
|
+
type !== "gradient" && /* @__PURE__ */ jsx74(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
6302
6316
|
/* @__PURE__ */ jsxs36("div", { className: "k-slider-track-wrap", children: [
|
|
6303
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6317
|
+
type !== "gradient" && /* @__PURE__ */ jsx74("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
6304
6318
|
/* @__PURE__ */ jsxs36("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
6305
|
-
/* @__PURE__ */
|
|
6306
|
-
type === "range" && /* @__PURE__ */
|
|
6319
|
+
/* @__PURE__ */ jsx74("div", { className: "k-slider-selection" }),
|
|
6320
|
+
type === "range" && /* @__PURE__ */ jsx74("span", { className: classNames(
|
|
6307
6321
|
"k-draghandle",
|
|
6308
6322
|
"k-draghandle-start",
|
|
6309
6323
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6312,7 +6326,7 @@ var Slider = (props) => {
|
|
|
6312
6326
|
active
|
|
6313
6327
|
})
|
|
6314
6328
|
) }),
|
|
6315
|
-
/* @__PURE__ */
|
|
6329
|
+
/* @__PURE__ */ jsx74("span", { className: classNames(
|
|
6316
6330
|
"k-draghandle",
|
|
6317
6331
|
`k-draghandle-${handlePosition}`,
|
|
6318
6332
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6323,7 +6337,7 @@ var Slider = (props) => {
|
|
|
6323
6337
|
) })
|
|
6324
6338
|
] })
|
|
6325
6339
|
] }),
|
|
6326
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6340
|
+
type !== "gradient" && /* @__PURE__ */ jsx74(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6327
6341
|
] });
|
|
6328
6342
|
};
|
|
6329
6343
|
Slider.states = states34;
|
|
@@ -6332,7 +6346,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
6332
6346
|
Slider.defaultProps = defaultProps29;
|
|
6333
6347
|
|
|
6334
6348
|
// src/slider/slider-tick.tsx
|
|
6335
|
-
import { jsx as
|
|
6349
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6336
6350
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6337
6351
|
var states35 = [];
|
|
6338
6352
|
var options33 = {};
|
|
@@ -6347,14 +6361,14 @@ var SliderTick = (props) => {
|
|
|
6347
6361
|
large,
|
|
6348
6362
|
text
|
|
6349
6363
|
} = props;
|
|
6350
|
-
return /* @__PURE__ */
|
|
6364
|
+
return /* @__PURE__ */ jsx75("li", { className: classNames(
|
|
6351
6365
|
props.className,
|
|
6352
6366
|
SLIDER_TICK_CLASSNAME,
|
|
6353
6367
|
{
|
|
6354
6368
|
[`k-tick-${orientation}`]: orientation,
|
|
6355
6369
|
"k-tick-large": large
|
|
6356
6370
|
}
|
|
6357
|
-
), style: style2, children: label && /* @__PURE__ */
|
|
6371
|
+
), style: style2, children: label && /* @__PURE__ */ jsx75("span", { className: "k-label", children: text }) });
|
|
6358
6372
|
};
|
|
6359
6373
|
SliderTick.states = states35;
|
|
6360
6374
|
SliderTick.options = options33;
|
|
@@ -6362,7 +6376,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
6362
6376
|
SliderTick.defaultProps = defaultProps30;
|
|
6363
6377
|
|
|
6364
6378
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6365
|
-
import { jsx as
|
|
6379
|
+
import { jsx as jsx76, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6366
6380
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6367
6381
|
var states36 = [
|
|
6368
6382
|
States.hover,
|
|
@@ -6422,8 +6436,8 @@ var NumericTextbox = (props) => {
|
|
|
6422
6436
|
readonly,
|
|
6423
6437
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6424
6438
|
children: [
|
|
6425
|
-
/* @__PURE__ */
|
|
6426
|
-
/* @__PURE__ */
|
|
6439
|
+
/* @__PURE__ */ jsx76(InputInnerInput, { placeholder, value }),
|
|
6440
|
+
/* @__PURE__ */ jsx76(
|
|
6427
6441
|
InputValidationIcon,
|
|
6428
6442
|
{
|
|
6429
6443
|
valid,
|
|
@@ -6432,14 +6446,14 @@ var NumericTextbox = (props) => {
|
|
|
6432
6446
|
disabled
|
|
6433
6447
|
}
|
|
6434
6448
|
),
|
|
6435
|
-
/* @__PURE__ */
|
|
6449
|
+
/* @__PURE__ */ jsx76(
|
|
6436
6450
|
InputLoadingIcon,
|
|
6437
6451
|
{
|
|
6438
6452
|
loading,
|
|
6439
6453
|
disabled
|
|
6440
6454
|
}
|
|
6441
6455
|
),
|
|
6442
|
-
showClearButton && /* @__PURE__ */
|
|
6456
|
+
showClearButton && /* @__PURE__ */ jsx76(
|
|
6443
6457
|
InputClearValue,
|
|
6444
6458
|
{
|
|
6445
6459
|
loading,
|
|
@@ -6448,7 +6462,7 @@ var NumericTextbox = (props) => {
|
|
|
6448
6462
|
value
|
|
6449
6463
|
}
|
|
6450
6464
|
),
|
|
6451
|
-
showSpinButton && /* @__PURE__ */
|
|
6465
|
+
showSpinButton && /* @__PURE__ */ jsx76(
|
|
6452
6466
|
SpinButton,
|
|
6453
6467
|
{
|
|
6454
6468
|
className: "k-input-spinner",
|
|
@@ -6466,10 +6480,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6466
6480
|
NumericTextbox.defaultProps = defaultProps31;
|
|
6467
6481
|
|
|
6468
6482
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6469
|
-
import { jsx as
|
|
6483
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6470
6484
|
|
|
6471
6485
|
// src/colorgradient/color-input.tsx
|
|
6472
|
-
import { Fragment as
|
|
6486
|
+
import { Fragment as Fragment23, jsx as jsx78, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6473
6487
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6474
6488
|
var states37 = [];
|
|
6475
6489
|
var options35 = {};
|
|
@@ -6481,74 +6495,74 @@ var ColorInput = (props) => {
|
|
|
6481
6495
|
mode = defaultProps32.mode
|
|
6482
6496
|
} = props;
|
|
6483
6497
|
return /* @__PURE__ */ jsxs38("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6484
|
-
/* @__PURE__ */
|
|
6485
|
-
mode === "rgba" && /* @__PURE__ */ jsxs38(
|
|
6498
|
+
/* @__PURE__ */ jsx78("div", { className: "k-vstack", children: /* @__PURE__ */ jsx78(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6499
|
+
mode === "rgba" && /* @__PURE__ */ jsxs38(Fragment23, { children: [
|
|
6486
6500
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6487
|
-
/* @__PURE__ */
|
|
6488
|
-
/* @__PURE__ */
|
|
6501
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6502
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6489
6503
|
] }),
|
|
6490
6504
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6491
|
-
/* @__PURE__ */
|
|
6492
|
-
/* @__PURE__ */
|
|
6505
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6506
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6493
6507
|
] }),
|
|
6494
6508
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6495
|
-
/* @__PURE__ */
|
|
6496
|
-
/* @__PURE__ */
|
|
6509
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6510
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6497
6511
|
] }),
|
|
6498
6512
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6499
|
-
/* @__PURE__ */
|
|
6500
|
-
/* @__PURE__ */
|
|
6513
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6514
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6501
6515
|
] })
|
|
6502
6516
|
] }),
|
|
6503
|
-
mode === "rgb" && /* @__PURE__ */ jsxs38(
|
|
6517
|
+
mode === "rgb" && /* @__PURE__ */ jsxs38(Fragment23, { children: [
|
|
6504
6518
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6505
|
-
/* @__PURE__ */
|
|
6506
|
-
/* @__PURE__ */
|
|
6519
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6520
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6507
6521
|
] }),
|
|
6508
6522
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6509
|
-
/* @__PURE__ */
|
|
6510
|
-
/* @__PURE__ */
|
|
6523
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6524
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6511
6525
|
] }),
|
|
6512
6526
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6513
|
-
/* @__PURE__ */
|
|
6514
|
-
/* @__PURE__ */
|
|
6527
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6528
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6515
6529
|
] })
|
|
6516
6530
|
] }),
|
|
6517
|
-
mode === "hsva" && /* @__PURE__ */ jsxs38(
|
|
6531
|
+
mode === "hsva" && /* @__PURE__ */ jsxs38(Fragment23, { children: [
|
|
6518
6532
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6519
|
-
/* @__PURE__ */
|
|
6520
|
-
/* @__PURE__ */
|
|
6533
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6534
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6521
6535
|
] }),
|
|
6522
6536
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6523
|
-
/* @__PURE__ */
|
|
6524
|
-
/* @__PURE__ */
|
|
6537
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6538
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6525
6539
|
] }),
|
|
6526
6540
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6527
|
-
/* @__PURE__ */
|
|
6528
|
-
/* @__PURE__ */
|
|
6541
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6542
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6529
6543
|
] }),
|
|
6530
6544
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6531
|
-
/* @__PURE__ */
|
|
6532
|
-
/* @__PURE__ */
|
|
6545
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6546
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6533
6547
|
] })
|
|
6534
6548
|
] }),
|
|
6535
|
-
mode === "hsv" && /* @__PURE__ */ jsxs38(
|
|
6549
|
+
mode === "hsv" && /* @__PURE__ */ jsxs38(Fragment23, { children: [
|
|
6536
6550
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6537
|
-
/* @__PURE__ */
|
|
6538
|
-
/* @__PURE__ */
|
|
6551
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6552
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6539
6553
|
] }),
|
|
6540
6554
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6541
|
-
/* @__PURE__ */
|
|
6542
|
-
/* @__PURE__ */
|
|
6555
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6556
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6543
6557
|
] }),
|
|
6544
6558
|
/* @__PURE__ */ jsxs38("div", { className: "k-vstack", children: [
|
|
6545
|
-
/* @__PURE__ */
|
|
6546
|
-
/* @__PURE__ */
|
|
6559
|
+
/* @__PURE__ */ jsx78(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6560
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6547
6561
|
] })
|
|
6548
6562
|
] }),
|
|
6549
|
-
mode === "hex" && /* @__PURE__ */
|
|
6550
|
-
/* @__PURE__ */
|
|
6551
|
-
/* @__PURE__ */
|
|
6563
|
+
mode === "hex" && /* @__PURE__ */ jsx78(Fragment23, { children: /* @__PURE__ */ jsxs38("div", { className: "k-vstack k-flex-1", children: [
|
|
6564
|
+
/* @__PURE__ */ jsx78(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6565
|
+
/* @__PURE__ */ jsx78("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6552
6566
|
] }) })
|
|
6553
6567
|
] });
|
|
6554
6568
|
};
|
|
@@ -6558,31 +6572,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
6558
6572
|
ColorInput.defaultProps = defaultProps32;
|
|
6559
6573
|
|
|
6560
6574
|
// src/colorgradient/color-contrast.tsx
|
|
6561
|
-
import { jsx as
|
|
6575
|
+
import { jsx as jsx79, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6562
6576
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6563
6577
|
var states38 = [];
|
|
6564
6578
|
var options36 = {};
|
|
6565
6579
|
var defaultProps33 = {};
|
|
6566
6580
|
var ColorContrast = () => /* @__PURE__ */ jsxs39("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6567
6581
|
/* @__PURE__ */ jsxs39("div", { className: "k-contrast-ratio", children: [
|
|
6568
|
-
/* @__PURE__ */
|
|
6582
|
+
/* @__PURE__ */ jsx79("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6569
6583
|
/* @__PURE__ */ jsxs39("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6570
|
-
/* @__PURE__ */
|
|
6571
|
-
/* @__PURE__ */
|
|
6584
|
+
/* @__PURE__ */ jsx79(Icon, { icon: "check" }),
|
|
6585
|
+
/* @__PURE__ */ jsx79(Icon, { icon: "check" })
|
|
6572
6586
|
] })
|
|
6573
6587
|
] }),
|
|
6574
6588
|
/* @__PURE__ */ jsxs39("div", { children: [
|
|
6575
|
-
/* @__PURE__ */
|
|
6589
|
+
/* @__PURE__ */ jsx79("span", { children: "AA: 4.5" }),
|
|
6576
6590
|
/* @__PURE__ */ jsxs39("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6577
6591
|
"Pass",
|
|
6578
|
-
/* @__PURE__ */
|
|
6592
|
+
/* @__PURE__ */ jsx79(Icon, { icon: "check" })
|
|
6579
6593
|
] })
|
|
6580
6594
|
] }),
|
|
6581
6595
|
/* @__PURE__ */ jsxs39("div", { children: [
|
|
6582
|
-
/* @__PURE__ */
|
|
6596
|
+
/* @__PURE__ */ jsx79("span", { children: "AAA: 7.0" }),
|
|
6583
6597
|
/* @__PURE__ */ jsxs39("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6584
6598
|
"Fail",
|
|
6585
|
-
/* @__PURE__ */
|
|
6599
|
+
/* @__PURE__ */ jsx79(Icon, { icon: "x" })
|
|
6586
6600
|
] })
|
|
6587
6601
|
] })
|
|
6588
6602
|
] });
|
|
@@ -6592,7 +6606,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
6592
6606
|
ColorContrast.defaultProps = defaultProps33;
|
|
6593
6607
|
|
|
6594
6608
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6595
|
-
import { jsx as
|
|
6609
|
+
import { jsx as jsx80, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6596
6610
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6597
6611
|
var states39 = [
|
|
6598
6612
|
States.hover,
|
|
@@ -6636,7 +6650,7 @@ var ColorGradient = (props) => {
|
|
|
6636
6650
|
})
|
|
6637
6651
|
), dir, children: [
|
|
6638
6652
|
/* @__PURE__ */ jsxs40("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6639
|
-
/* @__PURE__ */
|
|
6653
|
+
/* @__PURE__ */ jsx80("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx80("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx80("div", { className: classNames(
|
|
6640
6654
|
"k-hsv-draghandle",
|
|
6641
6655
|
"k-draghandle",
|
|
6642
6656
|
{
|
|
@@ -6645,12 +6659,12 @@ var ColorGradient = (props) => {
|
|
|
6645
6659
|
}
|
|
6646
6660
|
), style: dragHandleStyle }) }) }),
|
|
6647
6661
|
/* @__PURE__ */ jsxs40("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6648
|
-
/* @__PURE__ */
|
|
6649
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
6662
|
+
/* @__PURE__ */ jsx80(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6663
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx80(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6650
6664
|
] })
|
|
6651
6665
|
] }),
|
|
6652
|
-
/* @__PURE__ */
|
|
6653
|
-
contrast && /* @__PURE__ */
|
|
6666
|
+
/* @__PURE__ */ jsx80(ColorInput, { mode: props.mode }),
|
|
6667
|
+
contrast && /* @__PURE__ */ jsx80(ColorContrast, {})
|
|
6654
6668
|
] });
|
|
6655
6669
|
};
|
|
6656
6670
|
ColorGradient.states = states39;
|
|
@@ -6659,17 +6673,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
6659
6673
|
ColorGradient.defaultProps = defaultProps34;
|
|
6660
6674
|
|
|
6661
6675
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6662
|
-
import { jsx as
|
|
6676
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6663
6677
|
|
|
6664
6678
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6665
|
-
import { jsx as
|
|
6679
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6666
6680
|
|
|
6667
6681
|
// src/colorpalette/colorpalette-row.tsx
|
|
6668
|
-
import { jsx as
|
|
6669
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
6682
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
6683
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx83("tr", { children: props.children });
|
|
6670
6684
|
|
|
6671
6685
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6672
|
-
import { jsx as
|
|
6686
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
6673
6687
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6674
6688
|
var states40 = [
|
|
6675
6689
|
States.hover,
|
|
@@ -6691,7 +6705,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6691
6705
|
"width": tileSize ? tileSize + "px" : "",
|
|
6692
6706
|
"height": tileSize ? tileSize + "px" : ""
|
|
6693
6707
|
};
|
|
6694
|
-
return /* @__PURE__ */
|
|
6708
|
+
return /* @__PURE__ */ jsx84(
|
|
6695
6709
|
"td",
|
|
6696
6710
|
{
|
|
6697
6711
|
...other,
|
|
@@ -6713,7 +6727,7 @@ ColorPaletteTile.options = options38;
|
|
|
6713
6727
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6714
6728
|
|
|
6715
6729
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6716
|
-
import { jsx as
|
|
6730
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6717
6731
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6718
6732
|
var states41 = [
|
|
6719
6733
|
States.disabled
|
|
@@ -6738,14 +6752,14 @@ var ColorPalette = (props) => {
|
|
|
6738
6752
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6739
6753
|
const items = [];
|
|
6740
6754
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6741
|
-
items.push(/* @__PURE__ */
|
|
6755
|
+
items.push(/* @__PURE__ */ jsx85(ColorPaletteTile, { color, tileSize }));
|
|
6742
6756
|
});
|
|
6743
|
-
const row = /* @__PURE__ */
|
|
6757
|
+
const row = /* @__PURE__ */ jsx85(ColorPaletteRow, { children: items });
|
|
6744
6758
|
newChildren.push(row);
|
|
6745
6759
|
});
|
|
6746
6760
|
}
|
|
6747
6761
|
}
|
|
6748
|
-
return /* @__PURE__ */
|
|
6762
|
+
return /* @__PURE__ */ jsx85(
|
|
6749
6763
|
"div",
|
|
6750
6764
|
{
|
|
6751
6765
|
...other,
|
|
@@ -6756,7 +6770,7 @@ var ColorPalette = (props) => {
|
|
|
6756
6770
|
disabled
|
|
6757
6771
|
})
|
|
6758
6772
|
),
|
|
6759
|
-
children: /* @__PURE__ */
|
|
6773
|
+
children: /* @__PURE__ */ jsx85("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6760
6774
|
}
|
|
6761
6775
|
);
|
|
6762
6776
|
};
|
|
@@ -6766,7 +6780,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
6766
6780
|
ColorPalette.defaultProps = defaultProps35;
|
|
6767
6781
|
|
|
6768
6782
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6769
|
-
import { jsx as
|
|
6783
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6770
6784
|
|
|
6771
6785
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6772
6786
|
var PALETTEPRESETS = {
|
|
@@ -6821,7 +6835,7 @@ var PALETTEPRESETS = {
|
|
|
6821
6835
|
};
|
|
6822
6836
|
|
|
6823
6837
|
// src/coloreditor/color-editor.spec.tsx
|
|
6824
|
-
import { jsx as
|
|
6838
|
+
import { jsx as jsx87, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6825
6839
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6826
6840
|
var states42 = [
|
|
6827
6841
|
States.focus
|
|
@@ -6850,23 +6864,23 @@ var ColorEditor = (props) => {
|
|
|
6850
6864
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6851
6865
|
), dir, children: [
|
|
6852
6866
|
/* @__PURE__ */ jsxs41("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6853
|
-
/* @__PURE__ */
|
|
6854
|
-
/* @__PURE__ */
|
|
6855
|
-
/* @__PURE__ */
|
|
6867
|
+
/* @__PURE__ */ jsx87("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs41(ButtonGroup, { children: [
|
|
6868
|
+
/* @__PURE__ */ jsx87(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6869
|
+
/* @__PURE__ */ jsx87(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6856
6870
|
] }) }),
|
|
6857
|
-
/* @__PURE__ */
|
|
6871
|
+
/* @__PURE__ */ jsx87("div", { className: "k-spacer" }),
|
|
6858
6872
|
/* @__PURE__ */ jsxs41("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6859
|
-
/* @__PURE__ */
|
|
6873
|
+
/* @__PURE__ */ jsx87(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6860
6874
|
/* @__PURE__ */ jsxs41("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6861
|
-
/* @__PURE__ */
|
|
6862
|
-
/* @__PURE__ */
|
|
6875
|
+
/* @__PURE__ */ jsx87(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6876
|
+
/* @__PURE__ */ jsx87(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6863
6877
|
] })
|
|
6864
6878
|
] })
|
|
6865
6879
|
] }),
|
|
6866
|
-
/* @__PURE__ */
|
|
6880
|
+
/* @__PURE__ */ jsx87("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx87(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx87(ColorPalette, { palette }) }),
|
|
6867
6881
|
/* @__PURE__ */ jsxs41(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6868
|
-
/* @__PURE__ */
|
|
6869
|
-
/* @__PURE__ */
|
|
6882
|
+
/* @__PURE__ */ jsx87(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6883
|
+
/* @__PURE__ */ jsx87(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6870
6884
|
] })
|
|
6871
6885
|
] });
|
|
6872
6886
|
};
|
|
@@ -6876,25 +6890,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
6876
6890
|
ColorEditor.defaultProps = defaultProps36;
|
|
6877
6891
|
|
|
6878
6892
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6879
|
-
import { jsx as
|
|
6893
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6880
6894
|
|
|
6881
6895
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6882
|
-
import { jsx as
|
|
6896
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
6883
6897
|
|
|
6884
6898
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6885
|
-
import { jsx as
|
|
6899
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6886
6900
|
|
|
6887
6901
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6888
|
-
import { jsx as
|
|
6902
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
6889
6903
|
|
|
6890
6904
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6891
|
-
import { jsx as
|
|
6905
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6892
6906
|
|
|
6893
6907
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6894
|
-
import { jsx as
|
|
6908
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6895
6909
|
|
|
6896
6910
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6897
|
-
import { Fragment as
|
|
6911
|
+
import { Fragment as Fragment24, jsx as jsx94, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6898
6912
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6899
6913
|
var states43 = [];
|
|
6900
6914
|
var options41 = {};
|
|
@@ -6917,8 +6931,8 @@ var ActionSheet = (props) => {
|
|
|
6917
6931
|
overlay = defaultProps37.overlay,
|
|
6918
6932
|
...other
|
|
6919
6933
|
} = props;
|
|
6920
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6921
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6934
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx94(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6935
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx94(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx94(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6922
6936
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6923
6937
|
switch (child.type) {
|
|
6924
6938
|
case ActionSheetHeader:
|
|
@@ -6928,10 +6942,10 @@ var ActionSheet = (props) => {
|
|
|
6928
6942
|
return true;
|
|
6929
6943
|
}
|
|
6930
6944
|
return true;
|
|
6931
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6945
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx94(Fragment24, {});
|
|
6932
6946
|
return /* @__PURE__ */ jsxs42("div", { className: "k-actionsheet-container", children: [
|
|
6933
|
-
overlay && /* @__PURE__ */
|
|
6934
|
-
/* @__PURE__ */
|
|
6947
|
+
overlay && /* @__PURE__ */ jsx94("div", { className: "k-overlay" }),
|
|
6948
|
+
/* @__PURE__ */ jsx94(
|
|
6935
6949
|
AnimationContainer,
|
|
6936
6950
|
{
|
|
6937
6951
|
animationStyle: {
|
|
@@ -6941,7 +6955,7 @@ var ActionSheet = (props) => {
|
|
|
6941
6955
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6942
6956
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6943
6957
|
},
|
|
6944
|
-
children: /* @__PURE__ */
|
|
6958
|
+
children: /* @__PURE__ */ jsx94(
|
|
6945
6959
|
"div",
|
|
6946
6960
|
{
|
|
6947
6961
|
...other,
|
|
@@ -6954,9 +6968,9 @@ var ActionSheet = (props) => {
|
|
|
6954
6968
|
"k-adaptive-actionsheet": adaptive
|
|
6955
6969
|
}
|
|
6956
6970
|
),
|
|
6957
|
-
children: /* @__PURE__ */ jsxs42(
|
|
6971
|
+
children: /* @__PURE__ */ jsxs42(Fragment24, { children: [
|
|
6958
6972
|
_ActionSheetHeader,
|
|
6959
|
-
/* @__PURE__ */
|
|
6973
|
+
/* @__PURE__ */ jsx94("div", { className: classNames(
|
|
6960
6974
|
"k-actionsheet-content",
|
|
6961
6975
|
{
|
|
6962
6976
|
"!k-overflow-hidden": adaptive
|
|
@@ -6976,7 +6990,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6976
6990
|
ActionSheet.defaultProps = defaultProps37;
|
|
6977
6991
|
|
|
6978
6992
|
// src/action-sheet/actionsheet-header.tsx
|
|
6979
|
-
import { Fragment as
|
|
6993
|
+
import { Fragment as Fragment25, jsx as jsx95, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6980
6994
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6981
6995
|
var ActionSheetHeader = (props) => {
|
|
6982
6996
|
const {
|
|
@@ -6986,7 +7000,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6986
7000
|
filter,
|
|
6987
7001
|
...other
|
|
6988
7002
|
} = props;
|
|
6989
|
-
return /* @__PURE__ */
|
|
7003
|
+
return /* @__PURE__ */ jsx95(
|
|
6990
7004
|
"div",
|
|
6991
7005
|
{
|
|
6992
7006
|
...other,
|
|
@@ -6994,30 +7008,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6994
7008
|
props.className,
|
|
6995
7009
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6996
7010
|
),
|
|
6997
|
-
children: /* @__PURE__ */ jsxs43(
|
|
7011
|
+
children: /* @__PURE__ */ jsxs43(Fragment25, { children: [
|
|
6998
7012
|
/* @__PURE__ */ jsxs43("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6999
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
7000
|
-
title !== "" && /* @__PURE__ */
|
|
7001
|
-
subTitle !== "" && /* @__PURE__ */
|
|
7013
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx95(Fragment25, { children: /* @__PURE__ */ jsxs43("div", { className: "k-actionsheet-title", children: [
|
|
7014
|
+
title !== "" && /* @__PURE__ */ jsx95("div", { className: "k-text-center", children: title }),
|
|
7015
|
+
subTitle !== "" && /* @__PURE__ */ jsx95("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
7002
7016
|
] }) }),
|
|
7003
|
-
props.children && /* @__PURE__ */
|
|
7004
|
-
actions && /* @__PURE__ */
|
|
7017
|
+
props.children && /* @__PURE__ */ jsx95("div", { className: "k-actionsheet-title", children: props.children }),
|
|
7018
|
+
actions && /* @__PURE__ */ jsx95(Fragment25, { children: /* @__PURE__ */ jsx95("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx95(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
7005
7019
|
] }),
|
|
7006
|
-
filter && /* @__PURE__ */
|
|
7020
|
+
filter && /* @__PURE__ */ jsx95(Fragment25, { children: /* @__PURE__ */ jsx95("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx95(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
7007
7021
|
] })
|
|
7008
7022
|
}
|
|
7009
7023
|
);
|
|
7010
7024
|
};
|
|
7011
7025
|
|
|
7012
7026
|
// src/action-sheet/actionsheet-footer.tsx
|
|
7013
|
-
import { Fragment as
|
|
7027
|
+
import { Fragment as Fragment26, jsx as jsx96, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7014
7028
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
7015
7029
|
var ActionSheetFooter = (props) => {
|
|
7016
7030
|
const {
|
|
7017
7031
|
actions,
|
|
7018
7032
|
...other
|
|
7019
7033
|
} = props;
|
|
7020
|
-
return /* @__PURE__ */
|
|
7034
|
+
return /* @__PURE__ */ jsx96(
|
|
7021
7035
|
action_buttons_spec_default,
|
|
7022
7036
|
{
|
|
7023
7037
|
...other,
|
|
@@ -7026,17 +7040,17 @@ var ActionSheetFooter = (props) => {
|
|
|
7026
7040
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
7027
7041
|
),
|
|
7028
7042
|
alignment: "stretched",
|
|
7029
|
-
children: /* @__PURE__ */ jsxs44(
|
|
7043
|
+
children: /* @__PURE__ */ jsxs44(Fragment26, { children: [
|
|
7030
7044
|
actions && actions.map((action, index) => {
|
|
7031
7045
|
if (action === "|") {
|
|
7032
|
-
return /* @__PURE__ */
|
|
7046
|
+
return /* @__PURE__ */ jsx96("span", { className: "k-separator" }, index);
|
|
7033
7047
|
}
|
|
7034
7048
|
if (action === " ") {
|
|
7035
|
-
return /* @__PURE__ */
|
|
7049
|
+
return /* @__PURE__ */ jsx96("span", { className: "k-spacer" }, index);
|
|
7036
7050
|
}
|
|
7037
7051
|
const importantFlag = action.startsWith("!");
|
|
7038
7052
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
7039
|
-
return /* @__PURE__ */
|
|
7053
|
+
return /* @__PURE__ */ jsx96(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
7040
7054
|
}),
|
|
7041
7055
|
!actions && props.children
|
|
7042
7056
|
] })
|
|
@@ -7045,12 +7059,12 @@ var ActionSheetFooter = (props) => {
|
|
|
7045
7059
|
};
|
|
7046
7060
|
|
|
7047
7061
|
// src/action-sheet/actionsheet-items.tsx
|
|
7048
|
-
import { jsx as
|
|
7062
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
7049
7063
|
var ActionSheetItems = (props) => {
|
|
7050
7064
|
const {
|
|
7051
7065
|
...other
|
|
7052
7066
|
} = props;
|
|
7053
|
-
return /* @__PURE__ */
|
|
7067
|
+
return /* @__PURE__ */ jsx97(
|
|
7054
7068
|
"div",
|
|
7055
7069
|
{
|
|
7056
7070
|
...other,
|
|
@@ -7064,7 +7078,7 @@ var ActionSheetItems = (props) => {
|
|
|
7064
7078
|
};
|
|
7065
7079
|
|
|
7066
7080
|
// src/action-sheet/actionsheet-item.tsx
|
|
7067
|
-
import { Fragment as
|
|
7081
|
+
import { Fragment as Fragment27, jsx as jsx98, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7068
7082
|
var states44 = [
|
|
7069
7083
|
States.hover,
|
|
7070
7084
|
States.focus,
|
|
@@ -7073,7 +7087,7 @@ var states44 = [
|
|
|
7073
7087
|
];
|
|
7074
7088
|
|
|
7075
7089
|
// src/combobox/combobox.spec.tsx
|
|
7076
|
-
import { Fragment as
|
|
7090
|
+
import { Fragment as Fragment28, jsx as jsx99, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7077
7091
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
7078
7092
|
var states45 = [
|
|
7079
7093
|
States.hover,
|
|
@@ -7118,7 +7132,7 @@ var Combobox = (props) => {
|
|
|
7118
7132
|
adaptiveSettings,
|
|
7119
7133
|
...other
|
|
7120
7134
|
} = props;
|
|
7121
|
-
return /* @__PURE__ */ jsxs46(
|
|
7135
|
+
return /* @__PURE__ */ jsxs46(Fragment28, { children: [
|
|
7122
7136
|
/* @__PURE__ */ jsxs46(
|
|
7123
7137
|
Input,
|
|
7124
7138
|
{
|
|
@@ -7136,9 +7150,9 @@ var Combobox = (props) => {
|
|
|
7136
7150
|
readonly,
|
|
7137
7151
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
7138
7152
|
children: [
|
|
7139
|
-
/* @__PURE__ */
|
|
7140
|
-
/* @__PURE__ */
|
|
7141
|
-
/* @__PURE__ */
|
|
7153
|
+
/* @__PURE__ */ jsx99(InputPrefix, { children: prefix }),
|
|
7154
|
+
/* @__PURE__ */ jsx99(InputInnerInput, { placeholder, value }),
|
|
7155
|
+
/* @__PURE__ */ jsx99(
|
|
7142
7156
|
InputValidationIcon,
|
|
7143
7157
|
{
|
|
7144
7158
|
valid,
|
|
@@ -7147,14 +7161,14 @@ var Combobox = (props) => {
|
|
|
7147
7161
|
disabled
|
|
7148
7162
|
}
|
|
7149
7163
|
),
|
|
7150
|
-
/* @__PURE__ */
|
|
7164
|
+
/* @__PURE__ */ jsx99(
|
|
7151
7165
|
InputLoadingIcon,
|
|
7152
7166
|
{
|
|
7153
7167
|
loading,
|
|
7154
7168
|
disabled
|
|
7155
7169
|
}
|
|
7156
7170
|
),
|
|
7157
|
-
/* @__PURE__ */
|
|
7171
|
+
/* @__PURE__ */ jsx99(
|
|
7158
7172
|
InputClearValue,
|
|
7159
7173
|
{
|
|
7160
7174
|
loading,
|
|
@@ -7163,8 +7177,8 @@ var Combobox = (props) => {
|
|
|
7163
7177
|
value
|
|
7164
7178
|
}
|
|
7165
7179
|
),
|
|
7166
|
-
/* @__PURE__ */
|
|
7167
|
-
/* @__PURE__ */
|
|
7180
|
+
/* @__PURE__ */ jsx99(InputSuffix, { children: suffix }),
|
|
7181
|
+
/* @__PURE__ */ jsx99(
|
|
7168
7182
|
Button,
|
|
7169
7183
|
{
|
|
7170
7184
|
className: "k-input-button",
|
|
@@ -7177,9 +7191,9 @@ var Combobox = (props) => {
|
|
|
7177
7191
|
]
|
|
7178
7192
|
}
|
|
7179
7193
|
),
|
|
7180
|
-
opened && popup && /* @__PURE__ */
|
|
7194
|
+
opened && popup && /* @__PURE__ */ jsx99(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7181
7195
|
adaptive && /* @__PURE__ */ jsxs46(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7182
|
-
/* @__PURE__ */
|
|
7196
|
+
/* @__PURE__ */ jsx99(
|
|
7183
7197
|
ActionSheetHeader,
|
|
7184
7198
|
{
|
|
7185
7199
|
actions: ["x"],
|
|
@@ -7187,10 +7201,10 @@ var Combobox = (props) => {
|
|
|
7187
7201
|
title: "Select Item"
|
|
7188
7202
|
}
|
|
7189
7203
|
),
|
|
7190
|
-
/* @__PURE__ */
|
|
7191
|
-
/* @__PURE__ */
|
|
7192
|
-
/* @__PURE__ */
|
|
7193
|
-
/* @__PURE__ */
|
|
7204
|
+
/* @__PURE__ */ jsx99("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs46(List, { size: "large", children: [
|
|
7205
|
+
/* @__PURE__ */ jsx99(ListItem, { text: "List item" }),
|
|
7206
|
+
/* @__PURE__ */ jsx99(ListItem, { text: "List item" }),
|
|
7207
|
+
/* @__PURE__ */ jsx99(ListItem, { text: "List item" })
|
|
7194
7208
|
] }) })
|
|
7195
7209
|
] })
|
|
7196
7210
|
] });
|
|
@@ -7201,19 +7215,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
7201
7215
|
Combobox.defaultProps = defaultProps38;
|
|
7202
7216
|
|
|
7203
7217
|
// src/combobox/templates/combobox-normal.tsx
|
|
7204
|
-
import { jsx as
|
|
7218
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
7205
7219
|
|
|
7206
7220
|
// src/combobox/templates/combobox-popup.tsx
|
|
7207
|
-
import { jsx as
|
|
7221
|
+
import { jsx as jsx101, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7208
7222
|
|
|
7209
7223
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7210
|
-
import { jsx as
|
|
7224
|
+
import { jsx as jsx102, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7211
7225
|
|
|
7212
7226
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7213
|
-
import { jsx as
|
|
7227
|
+
import { jsx as jsx103 } from "react/jsx-runtime";
|
|
7214
7228
|
|
|
7215
7229
|
// src/menu-button/menu-button.spec.tsx
|
|
7216
|
-
import { Fragment as
|
|
7230
|
+
import { Fragment as Fragment29, jsx as jsx104, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7217
7231
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7218
7232
|
var states46 = [
|
|
7219
7233
|
States.hover,
|
|
@@ -7267,8 +7281,8 @@ var MenuButton = (props) => {
|
|
|
7267
7281
|
opened,
|
|
7268
7282
|
...other
|
|
7269
7283
|
} = props;
|
|
7270
|
-
return /* @__PURE__ */ jsxs49(
|
|
7271
|
-
/* @__PURE__ */
|
|
7284
|
+
return /* @__PURE__ */ jsxs49(Fragment29, { children: [
|
|
7285
|
+
/* @__PURE__ */ jsx104(
|
|
7272
7286
|
Button,
|
|
7273
7287
|
{
|
|
7274
7288
|
...other,
|
|
@@ -7291,7 +7305,7 @@ var MenuButton = (props) => {
|
|
|
7291
7305
|
arrowIconName
|
|
7292
7306
|
}
|
|
7293
7307
|
),
|
|
7294
|
-
opened && popup && /* @__PURE__ */
|
|
7308
|
+
opened && popup && /* @__PURE__ */ jsx104(Popup, { className: "k-menu-popup", children: popup })
|
|
7295
7309
|
] });
|
|
7296
7310
|
};
|
|
7297
7311
|
MenuButton.states = states46;
|
|
@@ -7300,16 +7314,16 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
7300
7314
|
MenuButton.defaultProps = defaultProps39;
|
|
7301
7315
|
|
|
7302
7316
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7303
|
-
import { jsx as
|
|
7317
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
7304
7318
|
|
|
7305
7319
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7306
|
-
import { jsx as
|
|
7320
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
7307
7321
|
|
|
7308
7322
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7309
|
-
import { jsx as
|
|
7323
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
7310
7324
|
|
|
7311
7325
|
// src/menu/menu-item.spec.tsx
|
|
7312
|
-
import { Fragment as
|
|
7326
|
+
import { Fragment as Fragment30, jsx as jsx108, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7313
7327
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7314
7328
|
var states47 = [
|
|
7315
7329
|
States.hover,
|
|
@@ -7337,7 +7351,7 @@ var MenuItem = (props) => {
|
|
|
7337
7351
|
children,
|
|
7338
7352
|
...other
|
|
7339
7353
|
} = props;
|
|
7340
|
-
const contentTemplate = /* @__PURE__ */
|
|
7354
|
+
const contentTemplate = /* @__PURE__ */ jsx108(Fragment30, {});
|
|
7341
7355
|
if (children) {
|
|
7342
7356
|
children.forEach((child) => {
|
|
7343
7357
|
const component = child.type;
|
|
@@ -7379,9 +7393,9 @@ var MenuItem = (props) => {
|
|
|
7379
7393
|
})
|
|
7380
7394
|
),
|
|
7381
7395
|
children: [
|
|
7382
|
-
icon && /* @__PURE__ */
|
|
7383
|
-
/* @__PURE__ */
|
|
7384
|
-
showArrow && /* @__PURE__ */
|
|
7396
|
+
icon && /* @__PURE__ */ jsx108(Icon, { className: "k-menu-link-icon", icon }),
|
|
7397
|
+
/* @__PURE__ */ jsx108("span", { className: "k-menu-link-text", children: text }),
|
|
7398
|
+
showArrow && /* @__PURE__ */ jsx108("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx108(Icon, { icon: expandArrowName }) })
|
|
7385
7399
|
]
|
|
7386
7400
|
}
|
|
7387
7401
|
),
|
|
@@ -7397,7 +7411,7 @@ MenuItem.defaultProps = defaultProps40;
|
|
|
7397
7411
|
var menu_item_spec_default = MenuItem;
|
|
7398
7412
|
|
|
7399
7413
|
// src/menu/menu-separator.spec.tsx
|
|
7400
|
-
import { jsx as
|
|
7414
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7401
7415
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7402
7416
|
var defaultProps41 = {
|
|
7403
7417
|
orientation: "horizontal"
|
|
@@ -7407,7 +7421,7 @@ var MenuSeparator = (props) => {
|
|
|
7407
7421
|
orientation = defaultProps41.orientation,
|
|
7408
7422
|
...other
|
|
7409
7423
|
} = props;
|
|
7410
|
-
return /* @__PURE__ */
|
|
7424
|
+
return /* @__PURE__ */ jsx109(
|
|
7411
7425
|
"li",
|
|
7412
7426
|
{
|
|
7413
7427
|
...other,
|
|
@@ -7425,10 +7439,10 @@ var MenuSeparator = (props) => {
|
|
|
7425
7439
|
var menu_separator_spec_default = MenuSeparator;
|
|
7426
7440
|
|
|
7427
7441
|
// src/menu/menu-item-content.tsx
|
|
7428
|
-
import { Fragment as
|
|
7442
|
+
import { Fragment as Fragment31, jsx as jsx110 } from "react/jsx-runtime";
|
|
7429
7443
|
|
|
7430
7444
|
// src/menu/menu-list.spec.tsx
|
|
7431
|
-
import { jsx as
|
|
7445
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
7432
7446
|
import { createElement as createElement2 } from "react";
|
|
7433
7447
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7434
7448
|
var states48 = [];
|
|
@@ -7456,7 +7470,7 @@ var MenuList = (props) => {
|
|
|
7456
7470
|
);
|
|
7457
7471
|
} else if (child.type === menu_separator_spec_default) {
|
|
7458
7472
|
listChildren.push(
|
|
7459
|
-
/* @__PURE__ */
|
|
7473
|
+
/* @__PURE__ */ jsx111(menu_separator_spec_default, {})
|
|
7460
7474
|
);
|
|
7461
7475
|
} else {
|
|
7462
7476
|
listChildren.push(child);
|
|
@@ -7464,7 +7478,7 @@ var MenuList = (props) => {
|
|
|
7464
7478
|
});
|
|
7465
7479
|
}
|
|
7466
7480
|
}
|
|
7467
|
-
return /* @__PURE__ */
|
|
7481
|
+
return /* @__PURE__ */ jsx111(
|
|
7468
7482
|
"ul",
|
|
7469
7483
|
{
|
|
7470
7484
|
...other,
|
|
@@ -7485,10 +7499,10 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
7485
7499
|
MenuList.defaultProps = defaultProps42;
|
|
7486
7500
|
|
|
7487
7501
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7488
|
-
import { jsx as
|
|
7502
|
+
import { jsx as jsx112, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7489
7503
|
|
|
7490
7504
|
// src/split-button/split-button.spec.tsx
|
|
7491
|
-
import { Fragment as
|
|
7505
|
+
import { Fragment as Fragment32, jsx as jsx113, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7492
7506
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7493
7507
|
var states49 = [
|
|
7494
7508
|
States.hover,
|
|
@@ -7540,7 +7554,7 @@ var SplitButton = (props) => {
|
|
|
7540
7554
|
opened,
|
|
7541
7555
|
...other
|
|
7542
7556
|
} = props;
|
|
7543
|
-
return /* @__PURE__ */ jsxs52(
|
|
7557
|
+
return /* @__PURE__ */ jsxs52(Fragment32, { children: [
|
|
7544
7558
|
/* @__PURE__ */ jsxs52(
|
|
7545
7559
|
"div",
|
|
7546
7560
|
{
|
|
@@ -7554,7 +7568,7 @@ var SplitButton = (props) => {
|
|
|
7554
7568
|
})
|
|
7555
7569
|
),
|
|
7556
7570
|
children: [
|
|
7557
|
-
/* @__PURE__ */
|
|
7571
|
+
/* @__PURE__ */ jsx113(
|
|
7558
7572
|
Button,
|
|
7559
7573
|
{
|
|
7560
7574
|
text,
|
|
@@ -7571,7 +7585,7 @@ var SplitButton = (props) => {
|
|
|
7571
7585
|
children: props.children
|
|
7572
7586
|
}
|
|
7573
7587
|
),
|
|
7574
|
-
/* @__PURE__ */
|
|
7588
|
+
/* @__PURE__ */ jsx113(
|
|
7575
7589
|
Button,
|
|
7576
7590
|
{
|
|
7577
7591
|
className: "k-split-button-arrow",
|
|
@@ -7585,7 +7599,7 @@ var SplitButton = (props) => {
|
|
|
7585
7599
|
]
|
|
7586
7600
|
}
|
|
7587
7601
|
),
|
|
7588
|
-
opened && popup && /* @__PURE__ */
|
|
7602
|
+
opened && popup && /* @__PURE__ */ jsx113(Popup, { className: "k-menu-popup", children: popup })
|
|
7589
7603
|
] });
|
|
7590
7604
|
};
|
|
7591
7605
|
SplitButton.states = states49;
|
|
@@ -7595,7 +7609,7 @@ SplitButton.defaultProps = defaultProps43;
|
|
|
7595
7609
|
var split_button_spec_default = SplitButton;
|
|
7596
7610
|
|
|
7597
7611
|
// src/toolbar/toolbar.spec.tsx
|
|
7598
|
-
import { jsx as
|
|
7612
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
7599
7613
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7600
7614
|
var states50 = [
|
|
7601
7615
|
States.focus
|
|
@@ -7618,7 +7632,7 @@ var Toolbar = (props) => {
|
|
|
7618
7632
|
const tempToolbarChildren = [];
|
|
7619
7633
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7620
7634
|
tempToolbarChildren.push(
|
|
7621
|
-
/* @__PURE__ */
|
|
7635
|
+
/* @__PURE__ */ jsx114(
|
|
7622
7636
|
Button,
|
|
7623
7637
|
{
|
|
7624
7638
|
...child.props,
|
|
@@ -7629,7 +7643,7 @@ var Toolbar = (props) => {
|
|
|
7629
7643
|
);
|
|
7630
7644
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7631
7645
|
tempToolbarChildren.push(
|
|
7632
|
-
/* @__PURE__ */
|
|
7646
|
+
/* @__PURE__ */ jsx114(
|
|
7633
7647
|
Button,
|
|
7634
7648
|
{
|
|
7635
7649
|
...child.props,
|
|
@@ -7640,7 +7654,7 @@ var Toolbar = (props) => {
|
|
|
7640
7654
|
);
|
|
7641
7655
|
} else if (child.type === Button) {
|
|
7642
7656
|
tempToolbarChildren.push(
|
|
7643
|
-
/* @__PURE__ */
|
|
7657
|
+
/* @__PURE__ */ jsx114(
|
|
7644
7658
|
Button,
|
|
7645
7659
|
{
|
|
7646
7660
|
...child.props,
|
|
@@ -7651,7 +7665,7 @@ var Toolbar = (props) => {
|
|
|
7651
7665
|
);
|
|
7652
7666
|
} else if (child.type === MenuButton) {
|
|
7653
7667
|
tempToolbarChildren.push(
|
|
7654
|
-
/* @__PURE__ */
|
|
7668
|
+
/* @__PURE__ */ jsx114(
|
|
7655
7669
|
MenuButton,
|
|
7656
7670
|
{
|
|
7657
7671
|
...child.props,
|
|
@@ -7662,7 +7676,7 @@ var Toolbar = (props) => {
|
|
|
7662
7676
|
);
|
|
7663
7677
|
} else if (child.type === split_button_spec_default) {
|
|
7664
7678
|
tempToolbarChildren.push(
|
|
7665
|
-
/* @__PURE__ */
|
|
7679
|
+
/* @__PURE__ */ jsx114(
|
|
7666
7680
|
split_button_spec_default,
|
|
7667
7681
|
{
|
|
7668
7682
|
...child.props,
|
|
@@ -7676,7 +7690,7 @@ var Toolbar = (props) => {
|
|
|
7676
7690
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7677
7691
|
childrenArray.forEach((button, bindex) => {
|
|
7678
7692
|
buttonGroupItems.push(
|
|
7679
|
-
/* @__PURE__ */
|
|
7693
|
+
/* @__PURE__ */ jsx114(
|
|
7680
7694
|
Button,
|
|
7681
7695
|
{
|
|
7682
7696
|
...button.props,
|
|
@@ -7687,7 +7701,7 @@ var Toolbar = (props) => {
|
|
|
7687
7701
|
);
|
|
7688
7702
|
});
|
|
7689
7703
|
tempToolbarChildren.push(
|
|
7690
|
-
/* @__PURE__ */
|
|
7704
|
+
/* @__PURE__ */ jsx114(
|
|
7691
7705
|
ButtonGroup,
|
|
7692
7706
|
{
|
|
7693
7707
|
...child.props,
|
|
@@ -7699,7 +7713,7 @@ var Toolbar = (props) => {
|
|
|
7699
7713
|
);
|
|
7700
7714
|
} else if (child.type === Combobox) {
|
|
7701
7715
|
tempToolbarChildren.push(
|
|
7702
|
-
/* @__PURE__ */
|
|
7716
|
+
/* @__PURE__ */ jsx114(
|
|
7703
7717
|
Combobox,
|
|
7704
7718
|
{
|
|
7705
7719
|
...child.props,
|
|
@@ -7710,7 +7724,7 @@ var Toolbar = (props) => {
|
|
|
7710
7724
|
);
|
|
7711
7725
|
} else if (child.type === DropdownList) {
|
|
7712
7726
|
tempToolbarChildren.push(
|
|
7713
|
-
/* @__PURE__ */
|
|
7727
|
+
/* @__PURE__ */ jsx114(
|
|
7714
7728
|
DropdownList,
|
|
7715
7729
|
{
|
|
7716
7730
|
...child.props,
|
|
@@ -7721,7 +7735,7 @@ var Toolbar = (props) => {
|
|
|
7721
7735
|
);
|
|
7722
7736
|
} else if (child.type === ColorPicker) {
|
|
7723
7737
|
tempToolbarChildren.push(
|
|
7724
|
-
/* @__PURE__ */
|
|
7738
|
+
/* @__PURE__ */ jsx114(
|
|
7725
7739
|
ColorPicker,
|
|
7726
7740
|
{
|
|
7727
7741
|
...child.props,
|
|
@@ -7743,7 +7757,7 @@ var Toolbar = (props) => {
|
|
|
7743
7757
|
addUniqueToolClass(child, index);
|
|
7744
7758
|
});
|
|
7745
7759
|
}
|
|
7746
|
-
return /* @__PURE__ */
|
|
7760
|
+
return /* @__PURE__ */ jsx114(
|
|
7747
7761
|
"div",
|
|
7748
7762
|
{
|
|
7749
7763
|
...other,
|
|
@@ -7770,7 +7784,7 @@ Toolbar.className = TOOLBAR_CLASSNAME;
|
|
|
7770
7784
|
Toolbar.defaultProps = defaultProps44;
|
|
7771
7785
|
|
|
7772
7786
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7773
|
-
import { jsx as
|
|
7787
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
7774
7788
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7775
7789
|
var states51 = [
|
|
7776
7790
|
States.focus
|
|
@@ -7793,7 +7807,7 @@ var ToolbarAngular = (props) => {
|
|
|
7793
7807
|
const tempToolbarChildren = [];
|
|
7794
7808
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7795
7809
|
tempToolbarChildren.push(
|
|
7796
|
-
/* @__PURE__ */
|
|
7810
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7797
7811
|
Button,
|
|
7798
7812
|
{
|
|
7799
7813
|
...child.props,
|
|
@@ -7804,7 +7818,7 @@ var ToolbarAngular = (props) => {
|
|
|
7804
7818
|
);
|
|
7805
7819
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7806
7820
|
tempToolbarChildren.push(
|
|
7807
|
-
/* @__PURE__ */
|
|
7821
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7808
7822
|
Button,
|
|
7809
7823
|
{
|
|
7810
7824
|
...child.props,
|
|
@@ -7815,7 +7829,7 @@ var ToolbarAngular = (props) => {
|
|
|
7815
7829
|
);
|
|
7816
7830
|
} else if (child.type === Button) {
|
|
7817
7831
|
tempToolbarChildren.push(
|
|
7818
|
-
/* @__PURE__ */
|
|
7832
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7819
7833
|
Button,
|
|
7820
7834
|
{
|
|
7821
7835
|
...child.props,
|
|
@@ -7826,7 +7840,7 @@ var ToolbarAngular = (props) => {
|
|
|
7826
7840
|
);
|
|
7827
7841
|
} else if (child.type === MenuButton) {
|
|
7828
7842
|
tempToolbarChildren.push(
|
|
7829
|
-
/* @__PURE__ */
|
|
7843
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7830
7844
|
MenuButton,
|
|
7831
7845
|
{
|
|
7832
7846
|
...child.props,
|
|
@@ -7837,7 +7851,7 @@ var ToolbarAngular = (props) => {
|
|
|
7837
7851
|
);
|
|
7838
7852
|
} else if (child.type === split_button_spec_default) {
|
|
7839
7853
|
tempToolbarChildren.push(
|
|
7840
|
-
/* @__PURE__ */
|
|
7854
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7841
7855
|
split_button_spec_default,
|
|
7842
7856
|
{
|
|
7843
7857
|
...child.props,
|
|
@@ -7851,7 +7865,7 @@ var ToolbarAngular = (props) => {
|
|
|
7851
7865
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7852
7866
|
childrenArray.forEach((button, bindex) => {
|
|
7853
7867
|
buttonGroupItems.push(
|
|
7854
|
-
/* @__PURE__ */
|
|
7868
|
+
/* @__PURE__ */ jsx115(
|
|
7855
7869
|
Button,
|
|
7856
7870
|
{
|
|
7857
7871
|
...button.props,
|
|
@@ -7862,7 +7876,7 @@ var ToolbarAngular = (props) => {
|
|
|
7862
7876
|
);
|
|
7863
7877
|
});
|
|
7864
7878
|
tempToolbarChildren.push(
|
|
7865
|
-
/* @__PURE__ */
|
|
7879
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7866
7880
|
ButtonGroup,
|
|
7867
7881
|
{
|
|
7868
7882
|
...child.props,
|
|
@@ -7874,7 +7888,7 @@ var ToolbarAngular = (props) => {
|
|
|
7874
7888
|
);
|
|
7875
7889
|
} else if (child.type === Combobox) {
|
|
7876
7890
|
tempToolbarChildren.push(
|
|
7877
|
-
/* @__PURE__ */
|
|
7891
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7878
7892
|
Combobox,
|
|
7879
7893
|
{
|
|
7880
7894
|
...child.props,
|
|
@@ -7885,7 +7899,7 @@ var ToolbarAngular = (props) => {
|
|
|
7885
7899
|
);
|
|
7886
7900
|
} else if (child.type === DropdownList) {
|
|
7887
7901
|
tempToolbarChildren.push(
|
|
7888
|
-
/* @__PURE__ */
|
|
7902
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7889
7903
|
DropdownList,
|
|
7890
7904
|
{
|
|
7891
7905
|
...child.props,
|
|
@@ -7896,7 +7910,7 @@ var ToolbarAngular = (props) => {
|
|
|
7896
7910
|
);
|
|
7897
7911
|
} else if (child.type === ColorPicker) {
|
|
7898
7912
|
tempToolbarChildren.push(
|
|
7899
|
-
/* @__PURE__ */
|
|
7913
|
+
/* @__PURE__ */ jsx115("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx115(
|
|
7900
7914
|
ColorPicker,
|
|
7901
7915
|
{
|
|
7902
7916
|
...child.props,
|
|
@@ -7918,7 +7932,7 @@ var ToolbarAngular = (props) => {
|
|
|
7918
7932
|
addUniqueToolClass(child, index);
|
|
7919
7933
|
});
|
|
7920
7934
|
}
|
|
7921
|
-
return /* @__PURE__ */
|
|
7935
|
+
return /* @__PURE__ */ jsx115(
|
|
7922
7936
|
"div",
|
|
7923
7937
|
{
|
|
7924
7938
|
...other,
|
|
@@ -7945,10 +7959,10 @@ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
|
7945
7959
|
ToolbarAngular.defaultProps = defaultProps45;
|
|
7946
7960
|
|
|
7947
7961
|
// src/toolbar/toolbar-separator.tsx
|
|
7948
|
-
import { jsx as
|
|
7962
|
+
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
7949
7963
|
|
|
7950
7964
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7951
|
-
import { jsx as
|
|
7965
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
7952
7966
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7953
7967
|
var states52 = [
|
|
7954
7968
|
States.focus
|
|
@@ -7960,7 +7974,7 @@ var ToolbarItem = (props) => {
|
|
|
7960
7974
|
focus,
|
|
7961
7975
|
...other
|
|
7962
7976
|
} = props;
|
|
7963
|
-
return /* @__PURE__ */
|
|
7977
|
+
return /* @__PURE__ */ jsx117(
|
|
7964
7978
|
"div",
|
|
7965
7979
|
{
|
|
7966
7980
|
...other,
|
|
@@ -7981,14 +7995,14 @@ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
|
7981
7995
|
ToolbarItem.defaultProps = defaultProps46;
|
|
7982
7996
|
|
|
7983
7997
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7984
|
-
import { jsx as
|
|
7998
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7985
7999
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7986
8000
|
var states53 = [];
|
|
7987
8001
|
var options50 = {};
|
|
7988
8002
|
var defaultProps47 = {};
|
|
7989
8003
|
var ToolbarPopup = (props) => {
|
|
7990
8004
|
const { ...other } = props;
|
|
7991
|
-
return /* @__PURE__ */
|
|
8005
|
+
return /* @__PURE__ */ jsx118(
|
|
7992
8006
|
Popup,
|
|
7993
8007
|
{
|
|
7994
8008
|
...other,
|
|
@@ -8006,69 +8020,69 @@ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
|
8006
8020
|
ToolbarPopup.defaultProps = defaultProps47;
|
|
8007
8021
|
|
|
8008
8022
|
// src/split-button/templates/icon-split-button.tsx
|
|
8009
|
-
import { jsx as
|
|
8023
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
8010
8024
|
|
|
8011
8025
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
8012
|
-
import { jsx as
|
|
8026
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
8013
8027
|
|
|
8014
8028
|
// src/split-button/templates/text-split-button.tsx
|
|
8015
|
-
import { jsx as
|
|
8029
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
8016
8030
|
|
|
8017
8031
|
// src/split-button/templates/split-button-popup.tsx
|
|
8018
|
-
import { jsx as
|
|
8032
|
+
import { jsx as jsx122, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
8019
8033
|
|
|
8020
8034
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
8021
|
-
import { Fragment as
|
|
8035
|
+
import { Fragment as Fragment33, jsx as jsx123, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
8022
8036
|
|
|
8023
8037
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
8024
|
-
import { jsx as
|
|
8038
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
8025
8039
|
|
|
8026
8040
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
8027
|
-
import { jsx as
|
|
8041
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
8028
8042
|
|
|
8029
8043
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
8030
|
-
import { jsx as
|
|
8044
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
8031
8045
|
|
|
8032
8046
|
// src/spreadsheet/tests/spreadsheet-format-dialogs.tsx
|
|
8033
|
-
import { Fragment as
|
|
8047
|
+
import { Fragment as Fragment34, jsx as jsx127, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
8034
8048
|
var style = `
|
|
8035
8049
|
.k-window {
|
|
8036
8050
|
min-width: 400px;
|
|
8037
8051
|
position: relative;
|
|
8038
8052
|
}
|
|
8039
8053
|
`;
|
|
8040
|
-
var spreadsheet_format_dialogs_default = () => /* @__PURE__ */ jsxs55(
|
|
8041
|
-
/* @__PURE__ */
|
|
8054
|
+
var spreadsheet_format_dialogs_default = () => /* @__PURE__ */ jsxs55(Fragment34, { children: [
|
|
8055
|
+
/* @__PURE__ */ jsx127("style", { children: style }),
|
|
8042
8056
|
/* @__PURE__ */ jsxs55("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
8043
|
-
/* @__PURE__ */
|
|
8044
|
-
/* @__PURE__ */
|
|
8045
|
-
/* @__PURE__ */
|
|
8057
|
+
/* @__PURE__ */ jsx127("section", { children: /* @__PURE__ */ jsx127(WindowNormal, { title: "Custom Format", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs55(Fragment34, { children: [
|
|
8058
|
+
/* @__PURE__ */ jsx127(Button, { themeColor: "primary", children: "Apply" }),
|
|
8059
|
+
/* @__PURE__ */ jsx127(Button, { children: "Cancel" })
|
|
8046
8060
|
] }), children: /* @__PURE__ */ jsxs55(Form, { children: [
|
|
8047
|
-
/* @__PURE__ */
|
|
8048
|
-
/* @__PURE__ */
|
|
8049
|
-
/* @__PURE__ */
|
|
8050
|
-
/* @__PURE__ */
|
|
8051
|
-
/* @__PURE__ */
|
|
8052
|
-
/* @__PURE__ */
|
|
8053
|
-
/* @__PURE__ */
|
|
8054
|
-
/* @__PURE__ */
|
|
8061
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Category", editor: /* @__PURE__ */ jsx127(DropdownList, { value: "Date" }) }),
|
|
8062
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Sample", editor: /* @__PURE__ */ jsx127(DateInput, { value: "1/17/2022" }) }),
|
|
8063
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Symbol", editor: /* @__PURE__ */ jsxs55(ListBox, { style: { width: "100%" }, children: [
|
|
8064
|
+
/* @__PURE__ */ jsx127(ListItem, { children: "1/17/2022" }),
|
|
8065
|
+
/* @__PURE__ */ jsx127(ListItem, { children: "Monday, January 17, 2022" }),
|
|
8066
|
+
/* @__PURE__ */ jsx127(ListItem, { children: "Monday, January 17, 2022 6:25:37 PM" }),
|
|
8067
|
+
/* @__PURE__ */ jsx127(ListItem, { children: "1/17/2022 6:25 PM" }),
|
|
8068
|
+
/* @__PURE__ */ jsx127(ListItem, { children: "1/17/2022 6:25:37 PM" })
|
|
8055
8069
|
] }) })
|
|
8056
8070
|
] }) }) }),
|
|
8057
|
-
/* @__PURE__ */
|
|
8058
|
-
/* @__PURE__ */
|
|
8059
|
-
/* @__PURE__ */
|
|
8071
|
+
/* @__PURE__ */ jsx127("section", { children: /* @__PURE__ */ jsx127(WindowNormal, { title: "Conditional Formatting", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs55(Fragment34, { children: [
|
|
8072
|
+
/* @__PURE__ */ jsx127(Button, { themeColor: "primary", children: "Apply" }),
|
|
8073
|
+
/* @__PURE__ */ jsx127(Button, { children: "Cancel" })
|
|
8060
8074
|
] }), children: /* @__PURE__ */ jsxs55(Form, { children: [
|
|
8061
|
-
/* @__PURE__ */
|
|
8062
|
-
/* @__PURE__ */
|
|
8063
|
-
/* @__PURE__ */
|
|
8064
|
-
/* @__PURE__ */
|
|
8065
|
-
/* @__PURE__ */
|
|
8066
|
-
/* @__PURE__ */
|
|
8067
|
-
/* @__PURE__ */
|
|
8068
|
-
/* @__PURE__ */
|
|
8069
|
-
/* @__PURE__ */
|
|
8070
|
-
/* @__PURE__ */
|
|
8071
|
-
/* @__PURE__ */
|
|
8075
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Apply to range", editor: /* @__PURE__ */ jsx127(Textbox, { placeholder: "Placeholder" }) }),
|
|
8076
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Format cells if", editor: /* @__PURE__ */ jsx127(DropdownList, { value: "Cell value" }) }),
|
|
8077
|
+
/* @__PURE__ */ jsx127(FormField, { label: "is", editor: /* @__PURE__ */ jsx127(DropdownList, { value: "Greater than" }) }),
|
|
8078
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Apply to range", editor: /* @__PURE__ */ jsx127(Textbox, { placeholder: "Placeholder" }) }),
|
|
8079
|
+
/* @__PURE__ */ jsx127(FormField, { label: "Format with", editor: /* @__PURE__ */ jsxs55(Toolbar, { resizable: true, children: [
|
|
8080
|
+
/* @__PURE__ */ jsx127(Button, { icon: "bold" }),
|
|
8081
|
+
/* @__PURE__ */ jsx127(Button, { icon: "italic" }),
|
|
8082
|
+
/* @__PURE__ */ jsx127(Button, { icon: "underline" }),
|
|
8083
|
+
/* @__PURE__ */ jsx127(Button, { icon: "strikethrough" }),
|
|
8084
|
+
/* @__PURE__ */ jsx127(ColorPicker, { value: "red", valueIconName: "foreground-color" }),
|
|
8085
|
+
/* @__PURE__ */ jsx127(ColorPicker, { value: "fuchsia", valueIconName: "droplet" })
|
|
8072
8086
|
] }) })
|
|
8073
8087
|
] }) }) })
|
|
8074
8088
|
] })
|