@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
|
@@ -4512,8 +4512,22 @@ Window.options = options6;
|
|
|
4512
4512
|
Window.className = WINDOW_CLASSNAME;
|
|
4513
4513
|
Window.defaultProps = defaultProps6;
|
|
4514
4514
|
|
|
4515
|
+
// src/window/templates/window-normal.tsx
|
|
4516
|
+
import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
|
|
4517
|
+
var WindowNormal = (props) => /* @__PURE__ */ jsx10(
|
|
4518
|
+
Window,
|
|
4519
|
+
{
|
|
4520
|
+
title: "Title",
|
|
4521
|
+
actions: ["window-minimize", "window", "x"],
|
|
4522
|
+
children: [
|
|
4523
|
+
/* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
|
|
4524
|
+
],
|
|
4525
|
+
...props
|
|
4526
|
+
}
|
|
4527
|
+
);
|
|
4528
|
+
|
|
4515
4529
|
// src/form/form-field.tsx
|
|
4516
|
-
import { jsx as
|
|
4530
|
+
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4517
4531
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
4518
4532
|
var states7 = [
|
|
4519
4533
|
States.disabled
|
|
@@ -4549,14 +4563,14 @@ var FormField = (props) => {
|
|
|
4549
4563
|
"k-form-label"
|
|
4550
4564
|
), children: [
|
|
4551
4565
|
label,
|
|
4552
|
-
optional && /* @__PURE__ */
|
|
4553
|
-
info && /* @__PURE__ */
|
|
4566
|
+
optional && /* @__PURE__ */ jsx11("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
4567
|
+
info && /* @__PURE__ */ jsx11("span", { className: "k-field-info", children: "(field info)" })
|
|
4554
4568
|
] }),
|
|
4555
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
4569
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx11("span", { className: "k-label k-form-label k-label-empty" }),
|
|
4556
4570
|
/* @__PURE__ */ jsxs3("div", { className: "k-form-field-wrap", children: [
|
|
4557
4571
|
editor,
|
|
4558
|
-
hint && /* @__PURE__ */
|
|
4559
|
-
error && /* @__PURE__ */
|
|
4572
|
+
hint && /* @__PURE__ */ jsx11("div", { className: "k-form-hint", children: hint }),
|
|
4573
|
+
error && /* @__PURE__ */ jsx11("div", { className: "k-form-error", children: error })
|
|
4560
4574
|
] })
|
|
4561
4575
|
]
|
|
4562
4576
|
}
|
|
@@ -4565,7 +4579,7 @@ var FormField = (props) => {
|
|
|
4565
4579
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
4566
4580
|
|
|
4567
4581
|
// src/form/fieldset.tsx
|
|
4568
|
-
import { Fragment as
|
|
4582
|
+
import { Fragment as Fragment7, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4569
4583
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
4570
4584
|
var Fieldset = (props) => {
|
|
4571
4585
|
const {
|
|
@@ -4576,8 +4590,8 @@ var Fieldset = (props) => {
|
|
|
4576
4590
|
gapY
|
|
4577
4591
|
} = props;
|
|
4578
4592
|
return /* @__PURE__ */ jsxs4("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
4579
|
-
legend && /* @__PURE__ */
|
|
4580
|
-
layout === "grid" ? /* @__PURE__ */
|
|
4593
|
+
legend && /* @__PURE__ */ jsx12("legend", { className: "k-form-legend", children: legend }),
|
|
4594
|
+
layout === "grid" ? /* @__PURE__ */ jsx12("div", { className: classNames(
|
|
4581
4595
|
"k-form-layout",
|
|
4582
4596
|
"k-d-grid",
|
|
4583
4597
|
{
|
|
@@ -4585,13 +4599,13 @@ var Fieldset = (props) => {
|
|
|
4585
4599
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4586
4600
|
[`k-gap-y-${gapY}`]: gapY
|
|
4587
4601
|
}
|
|
4588
|
-
), children: props.children }) : /* @__PURE__ */
|
|
4602
|
+
), children: props.children }) : /* @__PURE__ */ jsx12(Fragment7, { children: props.children })
|
|
4589
4603
|
] });
|
|
4590
4604
|
};
|
|
4591
4605
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
4592
4606
|
|
|
4593
4607
|
// src/form/form.spec.tsx
|
|
4594
|
-
import { Fragment as
|
|
4608
|
+
import { Fragment as Fragment8, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4595
4609
|
import { createElement } from "react";
|
|
4596
4610
|
var FORM_CLASSNAME = "k-form";
|
|
4597
4611
|
var states8 = [];
|
|
@@ -4615,7 +4629,7 @@ var Form = (props) => {
|
|
|
4615
4629
|
tag = defaultProps7.tag,
|
|
4616
4630
|
children
|
|
4617
4631
|
} = props;
|
|
4618
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
4632
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx13("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx13("div", { className: className13, children: children2 });
|
|
4619
4633
|
const formChildren = [];
|
|
4620
4634
|
if (children) {
|
|
4621
4635
|
if (Array.isArray(children)) {
|
|
@@ -4644,7 +4658,7 @@ var Form = (props) => {
|
|
|
4644
4658
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
4645
4659
|
}
|
|
4646
4660
|
), children: [
|
|
4647
|
-
layout === "grid" ? /* @__PURE__ */
|
|
4661
|
+
layout === "grid" ? /* @__PURE__ */ jsx13("div", { className: classNames(
|
|
4648
4662
|
"k-form-layout",
|
|
4649
4663
|
"k-d-grid",
|
|
4650
4664
|
{
|
|
@@ -4652,8 +4666,8 @@ var Form = (props) => {
|
|
|
4652
4666
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4653
4667
|
[`k-gap-y-${gapY}`]: gapY
|
|
4654
4668
|
}
|
|
4655
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
4656
|
-
formButtons && /* @__PURE__ */
|
|
4669
|
+
), children: formChildren }) : /* @__PURE__ */ jsx13(Fragment8, { children: formChildren }),
|
|
4670
|
+
formButtons && /* @__PURE__ */ jsx13("div", { className: "k-form-buttons", children: formButtons })
|
|
4657
4671
|
] });
|
|
4658
4672
|
};
|
|
4659
4673
|
Form.states = states8;
|
|
@@ -4662,7 +4676,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
4662
4676
|
Form.defaultProps = defaultProps7;
|
|
4663
4677
|
|
|
4664
4678
|
// src/radio/radio.spec.tsx
|
|
4665
|
-
import { jsx as
|
|
4679
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4666
4680
|
var RADIOBUTTON_CLASSNAME = `k-radio`;
|
|
4667
4681
|
var states9 = [
|
|
4668
4682
|
States.hover,
|
|
@@ -4692,7 +4706,7 @@ var RadioButton = (props) => {
|
|
|
4692
4706
|
size = defaultProps8.size,
|
|
4693
4707
|
...other
|
|
4694
4708
|
} = props;
|
|
4695
|
-
return /* @__PURE__ */
|
|
4709
|
+
return /* @__PURE__ */ jsx14("span", { className: "k-radio-wrap", children: /* @__PURE__ */ jsx14(
|
|
4696
4710
|
"input",
|
|
4697
4711
|
{
|
|
4698
4712
|
...other,
|
|
@@ -4716,7 +4730,7 @@ RadioButton.defaultProps = defaultProps8;
|
|
|
4716
4730
|
var radio_spec_default = RadioButton;
|
|
4717
4731
|
|
|
4718
4732
|
// src/radio/radio-group.spec.tsx
|
|
4719
|
-
import { jsx as
|
|
4733
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4720
4734
|
var RADIOGROUP_CLASSNAME = `k-radio-list`;
|
|
4721
4735
|
var states10 = [];
|
|
4722
4736
|
var options9 = {};
|
|
@@ -4728,7 +4742,7 @@ var RadioGroup = (props) => {
|
|
|
4728
4742
|
layout = defaultProps9.layout,
|
|
4729
4743
|
...other
|
|
4730
4744
|
} = props;
|
|
4731
|
-
return /* @__PURE__ */
|
|
4745
|
+
return /* @__PURE__ */ jsx15(
|
|
4732
4746
|
"ul",
|
|
4733
4747
|
{
|
|
4734
4748
|
...other,
|
|
@@ -4749,7 +4763,7 @@ RadioGroup.className = RADIOGROUP_CLASSNAME;
|
|
|
4749
4763
|
RadioGroup.defaultProps = defaultProps9;
|
|
4750
4764
|
|
|
4751
4765
|
// src/radio/radio-item.spec.tsx
|
|
4752
|
-
import { jsx as
|
|
4766
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4753
4767
|
var RADIOITEM_CLASSNAME = `k-radio-list-item`;
|
|
4754
4768
|
var states11 = [];
|
|
4755
4769
|
var options10 = {};
|
|
@@ -4758,7 +4772,7 @@ var RadioItem = (props) => {
|
|
|
4758
4772
|
const {
|
|
4759
4773
|
...other
|
|
4760
4774
|
} = props;
|
|
4761
|
-
return /* @__PURE__ */
|
|
4775
|
+
return /* @__PURE__ */ jsx16(
|
|
4762
4776
|
"li",
|
|
4763
4777
|
{
|
|
4764
4778
|
...other,
|
|
@@ -4776,23 +4790,23 @@ RadioItem.className = RADIOITEM_CLASSNAME;
|
|
|
4776
4790
|
RadioItem.defaultProps = defaultProps10;
|
|
4777
4791
|
|
|
4778
4792
|
// src/radio/templates/radio-normal.tsx
|
|
4779
|
-
import { jsx as
|
|
4793
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4780
4794
|
|
|
4781
4795
|
// src/radio/templates/radio-with-label-after.tsx
|
|
4782
|
-
import { Fragment as
|
|
4783
|
-
var RadioButtonWithLabelAfter = ({ children, id, ...other }) => /* @__PURE__ */ jsxs6(
|
|
4784
|
-
/* @__PURE__ */
|
|
4785
|
-
/* @__PURE__ */
|
|
4796
|
+
import { Fragment as Fragment9, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4797
|
+
var RadioButtonWithLabelAfter = ({ children, id, ...other }) => /* @__PURE__ */ jsxs6(Fragment9, { children: [
|
|
4798
|
+
/* @__PURE__ */ jsx18(radio_spec_default, { ...other, id }),
|
|
4799
|
+
/* @__PURE__ */ jsx18("label", { className: "k-radio-label", htmlFor: id, children })
|
|
4786
4800
|
] });
|
|
4787
4801
|
|
|
4788
4802
|
// src/radio/templates/radio-with-label-before.tsx
|
|
4789
|
-
import { Fragment as
|
|
4803
|
+
import { Fragment as Fragment10, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4790
4804
|
|
|
4791
4805
|
// src/radio/templates/radio-inside-label.tsx
|
|
4792
|
-
import { Fragment as
|
|
4806
|
+
import { Fragment as Fragment11, jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4793
4807
|
|
|
4794
4808
|
// src/input/input.spec.tsx
|
|
4795
|
-
import { jsx as
|
|
4809
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
4796
4810
|
var INPUT_CLASSNAME = `k-input`;
|
|
4797
4811
|
var states12 = [
|
|
4798
4812
|
States.hover,
|
|
@@ -4828,7 +4842,7 @@ var Input = (props) => {
|
|
|
4828
4842
|
fillMode = defaultProps11.fillMode,
|
|
4829
4843
|
...other
|
|
4830
4844
|
} = props;
|
|
4831
|
-
return /* @__PURE__ */
|
|
4845
|
+
return /* @__PURE__ */ jsx21(
|
|
4832
4846
|
"span",
|
|
4833
4847
|
{
|
|
4834
4848
|
...other,
|
|
@@ -4847,7 +4861,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4847
4861
|
Input.defaultProps = defaultProps11;
|
|
4848
4862
|
|
|
4849
4863
|
// src/input/picker.spec.tsx
|
|
4850
|
-
import { jsx as
|
|
4864
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4851
4865
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4852
4866
|
var pickerStates = [
|
|
4853
4867
|
States.hover,
|
|
@@ -4883,7 +4897,7 @@ var Picker = (props) => {
|
|
|
4883
4897
|
fillMode = defaultProps12.fillMode,
|
|
4884
4898
|
...other
|
|
4885
4899
|
} = props;
|
|
4886
|
-
return /* @__PURE__ */
|
|
4900
|
+
return /* @__PURE__ */ jsx22(
|
|
4887
4901
|
"span",
|
|
4888
4902
|
{
|
|
4889
4903
|
...other,
|
|
@@ -4903,7 +4917,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4903
4917
|
Picker.defaultProps = defaultProps12;
|
|
4904
4918
|
|
|
4905
4919
|
// src/input/input-clear-value.tsx
|
|
4906
|
-
import { Fragment as
|
|
4920
|
+
import { Fragment as Fragment12, jsx as jsx23 } from "react/jsx-runtime";
|
|
4907
4921
|
var className = `k-clear-value`;
|
|
4908
4922
|
var states13 = [
|
|
4909
4923
|
States.disabled,
|
|
@@ -4919,16 +4933,16 @@ var InputClearValue = (props) => {
|
|
|
4919
4933
|
value
|
|
4920
4934
|
} = props;
|
|
4921
4935
|
if (disabled || readonly || loading || !value) {
|
|
4922
|
-
return /* @__PURE__ */
|
|
4936
|
+
return /* @__PURE__ */ jsx23(Fragment12, {});
|
|
4923
4937
|
}
|
|
4924
|
-
return /* @__PURE__ */
|
|
4938
|
+
return /* @__PURE__ */ jsx23("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx23(Icon, { icon: "x" }) });
|
|
4925
4939
|
};
|
|
4926
4940
|
InputClearValue.states = states13;
|
|
4927
4941
|
InputClearValue.options = options12;
|
|
4928
4942
|
InputClearValue.className = className;
|
|
4929
4943
|
|
|
4930
4944
|
// src/input/input-inner-input.tsx
|
|
4931
|
-
import { jsx as
|
|
4945
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4932
4946
|
var className2 = `k-input-inner`;
|
|
4933
4947
|
var states14 = [];
|
|
4934
4948
|
var options13 = {};
|
|
@@ -4946,7 +4960,7 @@ var InputInnerInput = (props) => {
|
|
|
4946
4960
|
autocomplete = defaultProps13.autocomplete,
|
|
4947
4961
|
...other
|
|
4948
4962
|
} = props;
|
|
4949
|
-
return /* @__PURE__ */
|
|
4963
|
+
return /* @__PURE__ */ jsx24(
|
|
4950
4964
|
"input",
|
|
4951
4965
|
{
|
|
4952
4966
|
...other,
|
|
@@ -4963,7 +4977,7 @@ InputInnerInput.options = options13;
|
|
|
4963
4977
|
InputInnerInput.className = className2;
|
|
4964
4978
|
|
|
4965
4979
|
// src/input/input-inner-span.tsx
|
|
4966
|
-
import { jsx as
|
|
4980
|
+
import { jsx as jsx25, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4967
4981
|
var className3 = `k-input-inner`;
|
|
4968
4982
|
var states15 = [];
|
|
4969
4983
|
var options14 = {};
|
|
@@ -4983,9 +4997,9 @@ var InputInnerSpan = (props) => {
|
|
|
4983
4997
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4984
4998
|
children: [
|
|
4985
4999
|
valueIcon,
|
|
4986
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
5000
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx25(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4987
5001
|
showValue && !value && placeholder,
|
|
4988
|
-
showValue && value && /* @__PURE__ */
|
|
5002
|
+
showValue && value && /* @__PURE__ */ jsx25("span", { className: "k-input-value-text", children: value })
|
|
4989
5003
|
]
|
|
4990
5004
|
}
|
|
4991
5005
|
);
|
|
@@ -4995,7 +5009,7 @@ InputInnerSpan.options = options14;
|
|
|
4995
5009
|
InputInnerSpan.className = className3;
|
|
4996
5010
|
|
|
4997
5011
|
// src/input/input-inner-textarea.tsx
|
|
4998
|
-
import { jsx as
|
|
5012
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4999
5013
|
var defaultProps14 = {
|
|
5000
5014
|
value: "",
|
|
5001
5015
|
placeholder: ""
|
|
@@ -5010,7 +5024,7 @@ var InputInnerTextarea = (props) => {
|
|
|
5010
5024
|
rows,
|
|
5011
5025
|
...other
|
|
5012
5026
|
} = props;
|
|
5013
|
-
return /* @__PURE__ */
|
|
5027
|
+
return /* @__PURE__ */ jsx26(
|
|
5014
5028
|
"textarea",
|
|
5015
5029
|
{
|
|
5016
5030
|
...other,
|
|
@@ -5026,7 +5040,7 @@ InputInnerTextarea.options = options15;
|
|
|
5026
5040
|
InputInnerTextarea.className = className4;
|
|
5027
5041
|
|
|
5028
5042
|
// src/input/input-loading-icon.tsx
|
|
5029
|
-
import { Fragment as
|
|
5043
|
+
import { Fragment as Fragment13, jsx as jsx27 } from "react/jsx-runtime";
|
|
5030
5044
|
var className5 = `k-input-loading-icon`;
|
|
5031
5045
|
var states17 = [
|
|
5032
5046
|
States.disabled,
|
|
@@ -5038,13 +5052,13 @@ var InputLoadingIcon = (props) => {
|
|
|
5038
5052
|
loading
|
|
5039
5053
|
} = props;
|
|
5040
5054
|
if (disabled || !loading) {
|
|
5041
|
-
return /* @__PURE__ */
|
|
5055
|
+
return /* @__PURE__ */ jsx27(Fragment13, {});
|
|
5042
5056
|
}
|
|
5043
|
-
return /* @__PURE__ */
|
|
5057
|
+
return /* @__PURE__ */ jsx27("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
5044
5058
|
};
|
|
5045
5059
|
|
|
5046
5060
|
// src/input/input-validation-icon.tsx
|
|
5047
|
-
import { Fragment as
|
|
5061
|
+
import { Fragment as Fragment14, jsx as jsx28 } from "react/jsx-runtime";
|
|
5048
5062
|
var className6 = `k-input-validation-icon`;
|
|
5049
5063
|
var states18 = [
|
|
5050
5064
|
States.valid,
|
|
@@ -5063,39 +5077,39 @@ var InputValidationIcon = (props) => {
|
|
|
5063
5077
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
5064
5078
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
5065
5079
|
if (disabled || loading || !renderValidationIcon) {
|
|
5066
|
-
return /* @__PURE__ */
|
|
5080
|
+
return /* @__PURE__ */ jsx28(Fragment14, {});
|
|
5067
5081
|
}
|
|
5068
|
-
return /* @__PURE__ */
|
|
5082
|
+
return /* @__PURE__ */ jsx28(Icon, { className: classNames(className6), icon: iconName });
|
|
5069
5083
|
};
|
|
5070
5084
|
InputValidationIcon.states = states18;
|
|
5071
5085
|
InputValidationIcon.options = options16;
|
|
5072
5086
|
InputValidationIcon.className = className6;
|
|
5073
5087
|
|
|
5074
5088
|
// src/input/input-prefix.tsx
|
|
5075
|
-
import { Fragment as
|
|
5089
|
+
import { Fragment as Fragment15, jsx as jsx29 } from "react/jsx-runtime";
|
|
5076
5090
|
var className7 = `k-input-prefix`;
|
|
5077
5091
|
var InputPrefix = (props) => {
|
|
5078
5092
|
if (!props.children) {
|
|
5079
|
-
return /* @__PURE__ */
|
|
5093
|
+
return /* @__PURE__ */ jsx29(Fragment15, {});
|
|
5080
5094
|
}
|
|
5081
|
-
return /* @__PURE__ */
|
|
5095
|
+
return /* @__PURE__ */ jsx29("span", { className: classNames(className7, props.className), children: props.children });
|
|
5082
5096
|
};
|
|
5083
5097
|
|
|
5084
5098
|
// src/input/input-suffix.tsx
|
|
5085
|
-
import { Fragment as
|
|
5099
|
+
import { Fragment as Fragment16, jsx as jsx30 } from "react/jsx-runtime";
|
|
5086
5100
|
var className8 = `k-input-suffix`;
|
|
5087
5101
|
var InputSuffix = (props) => {
|
|
5088
5102
|
if (!props.children) {
|
|
5089
|
-
return /* @__PURE__ */
|
|
5103
|
+
return /* @__PURE__ */ jsx30(Fragment16, {});
|
|
5090
5104
|
}
|
|
5091
|
-
return /* @__PURE__ */
|
|
5105
|
+
return /* @__PURE__ */ jsx30("span", { className: classNames(className8, props.className), children: props.children });
|
|
5092
5106
|
};
|
|
5093
5107
|
|
|
5094
5108
|
// src/input/input-separator.tsx
|
|
5095
|
-
import { jsx as
|
|
5109
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
5096
5110
|
|
|
5097
5111
|
// src/textbox/textbox.spec.tsx
|
|
5098
|
-
import { jsx as
|
|
5112
|
+
import { jsx as jsx32, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5099
5113
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5100
5114
|
var states19 = [
|
|
5101
5115
|
States.hover,
|
|
@@ -5155,9 +5169,9 @@ var Textbox = (props) => {
|
|
|
5155
5169
|
readonly,
|
|
5156
5170
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5157
5171
|
children: [
|
|
5158
|
-
/* @__PURE__ */
|
|
5159
|
-
/* @__PURE__ */
|
|
5160
|
-
/* @__PURE__ */
|
|
5172
|
+
/* @__PURE__ */ jsx32(InputPrefix, { children: prefix }),
|
|
5173
|
+
/* @__PURE__ */ jsx32(InputInnerInput, { placeholder, value }),
|
|
5174
|
+
/* @__PURE__ */ jsx32(
|
|
5161
5175
|
InputValidationIcon,
|
|
5162
5176
|
{
|
|
5163
5177
|
valid,
|
|
@@ -5166,14 +5180,14 @@ var Textbox = (props) => {
|
|
|
5166
5180
|
disabled
|
|
5167
5181
|
}
|
|
5168
5182
|
),
|
|
5169
|
-
/* @__PURE__ */
|
|
5183
|
+
/* @__PURE__ */ jsx32(
|
|
5170
5184
|
InputLoadingIcon,
|
|
5171
5185
|
{
|
|
5172
5186
|
loading,
|
|
5173
5187
|
disabled
|
|
5174
5188
|
}
|
|
5175
5189
|
),
|
|
5176
|
-
showClearButton && /* @__PURE__ */
|
|
5190
|
+
showClearButton && /* @__PURE__ */ jsx32(
|
|
5177
5191
|
InputClearValue,
|
|
5178
5192
|
{
|
|
5179
5193
|
loading,
|
|
@@ -5182,7 +5196,7 @@ var Textbox = (props) => {
|
|
|
5182
5196
|
value
|
|
5183
5197
|
}
|
|
5184
5198
|
),
|
|
5185
|
-
/* @__PURE__ */
|
|
5199
|
+
/* @__PURE__ */ jsx32(InputSuffix, { children: suffix })
|
|
5186
5200
|
]
|
|
5187
5201
|
}
|
|
5188
5202
|
);
|
|
@@ -5193,16 +5207,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5193
5207
|
Textbox.defaultProps = defaultProps15;
|
|
5194
5208
|
|
|
5195
5209
|
// src/textbox/templates/textbox-normal.tsx
|
|
5196
|
-
import { jsx as
|
|
5210
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5197
5211
|
|
|
5198
5212
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5199
|
-
import { Fragment as
|
|
5213
|
+
import { Fragment as Fragment17, jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5200
5214
|
|
|
5201
5215
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5202
|
-
import { Fragment as
|
|
5216
|
+
import { Fragment as Fragment18, jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5203
5217
|
|
|
5204
5218
|
// src/animation-container/animation-container.spec.tsx
|
|
5205
|
-
import { jsx as
|
|
5219
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5206
5220
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5207
5221
|
var states20 = [];
|
|
5208
5222
|
var options18 = {};
|
|
@@ -5216,7 +5230,7 @@ var AnimationContainer = (props) => {
|
|
|
5216
5230
|
offset,
|
|
5217
5231
|
...other
|
|
5218
5232
|
} = props;
|
|
5219
|
-
return /* @__PURE__ */
|
|
5233
|
+
return /* @__PURE__ */ jsx36(
|
|
5220
5234
|
"div",
|
|
5221
5235
|
{
|
|
5222
5236
|
...other,
|
|
@@ -5228,7 +5242,7 @@ var AnimationContainer = (props) => {
|
|
|
5228
5242
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5229
5243
|
}
|
|
5230
5244
|
),
|
|
5231
|
-
children: /* @__PURE__ */
|
|
5245
|
+
children: /* @__PURE__ */ jsx36("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5232
5246
|
}
|
|
5233
5247
|
);
|
|
5234
5248
|
};
|
|
@@ -5238,7 +5252,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5238
5252
|
AnimationContainer.defaultProps = defaultProps16;
|
|
5239
5253
|
|
|
5240
5254
|
// src/popup/popup.spec.tsx
|
|
5241
|
-
import { jsx as
|
|
5255
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5242
5256
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5243
5257
|
var states21 = [];
|
|
5244
5258
|
var options19 = {};
|
|
@@ -5251,12 +5265,12 @@ var Popup = (props) => {
|
|
|
5251
5265
|
positionMode,
|
|
5252
5266
|
...other
|
|
5253
5267
|
} = props;
|
|
5254
|
-
return /* @__PURE__ */
|
|
5268
|
+
return /* @__PURE__ */ jsx37(
|
|
5255
5269
|
AnimationContainer,
|
|
5256
5270
|
{
|
|
5257
5271
|
positionMode,
|
|
5258
5272
|
offset,
|
|
5259
|
-
children: /* @__PURE__ */
|
|
5273
|
+
children: /* @__PURE__ */ jsx37("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5260
5274
|
}
|
|
5261
5275
|
);
|
|
5262
5276
|
};
|
|
@@ -5266,7 +5280,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5266
5280
|
Popup.defaultProps = defaultProps17;
|
|
5267
5281
|
|
|
5268
5282
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5269
|
-
import { Fragment as
|
|
5283
|
+
import { Fragment as Fragment19, jsx as jsx38, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5270
5284
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5271
5285
|
var states22 = [
|
|
5272
5286
|
States.hover,
|
|
@@ -5314,7 +5328,7 @@ var DropdownList = (props) => {
|
|
|
5314
5328
|
opened,
|
|
5315
5329
|
...other
|
|
5316
5330
|
} = props;
|
|
5317
|
-
return /* @__PURE__ */ jsxs13(
|
|
5331
|
+
return /* @__PURE__ */ jsxs13(Fragment19, { children: [
|
|
5318
5332
|
/* @__PURE__ */ jsxs13(
|
|
5319
5333
|
Picker,
|
|
5320
5334
|
{
|
|
@@ -5338,8 +5352,8 @@ var DropdownList = (props) => {
|
|
|
5338
5352
|
}
|
|
5339
5353
|
),
|
|
5340
5354
|
children: [
|
|
5341
|
-
/* @__PURE__ */
|
|
5342
|
-
/* @__PURE__ */
|
|
5355
|
+
/* @__PURE__ */ jsx38(InputPrefix, { children: prefix }),
|
|
5356
|
+
/* @__PURE__ */ jsx38(
|
|
5343
5357
|
InputInnerSpan,
|
|
5344
5358
|
{
|
|
5345
5359
|
placeholder,
|
|
@@ -5348,7 +5362,7 @@ var DropdownList = (props) => {
|
|
|
5348
5362
|
valueIconName
|
|
5349
5363
|
}
|
|
5350
5364
|
),
|
|
5351
|
-
/* @__PURE__ */
|
|
5365
|
+
/* @__PURE__ */ jsx38(
|
|
5352
5366
|
InputValidationIcon,
|
|
5353
5367
|
{
|
|
5354
5368
|
valid,
|
|
@@ -5357,15 +5371,15 @@ var DropdownList = (props) => {
|
|
|
5357
5371
|
disabled
|
|
5358
5372
|
}
|
|
5359
5373
|
),
|
|
5360
|
-
/* @__PURE__ */
|
|
5374
|
+
/* @__PURE__ */ jsx38(
|
|
5361
5375
|
InputLoadingIcon,
|
|
5362
5376
|
{
|
|
5363
5377
|
loading,
|
|
5364
5378
|
disabled
|
|
5365
5379
|
}
|
|
5366
5380
|
),
|
|
5367
|
-
/* @__PURE__ */
|
|
5368
|
-
/* @__PURE__ */
|
|
5381
|
+
/* @__PURE__ */ jsx38(InputSuffix, { children: suffix }),
|
|
5382
|
+
/* @__PURE__ */ jsx38(
|
|
5369
5383
|
Button,
|
|
5370
5384
|
{
|
|
5371
5385
|
className: "k-input-button",
|
|
@@ -5378,7 +5392,7 @@ var DropdownList = (props) => {
|
|
|
5378
5392
|
]
|
|
5379
5393
|
}
|
|
5380
5394
|
),
|
|
5381
|
-
opened && popup && /* @__PURE__ */
|
|
5395
|
+
opened && popup && /* @__PURE__ */ jsx38(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5382
5396
|
] });
|
|
5383
5397
|
};
|
|
5384
5398
|
DropdownList.states = states22;
|
|
@@ -5387,15 +5401,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5387
5401
|
DropdownList.defaultProps = defaultProps18;
|
|
5388
5402
|
|
|
5389
5403
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5390
|
-
import { jsx as
|
|
5404
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5391
5405
|
|
|
5392
5406
|
// src/nodata/nodata.tsx
|
|
5393
|
-
import { jsx as
|
|
5407
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5394
5408
|
var className9 = `k-nodata`;
|
|
5395
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5409
|
+
var NoData = (props) => /* @__PURE__ */ jsx40("span", { className: classNames(className9, props.className), children: props.children });
|
|
5396
5410
|
|
|
5397
5411
|
// src/list/list.spec.tsx
|
|
5398
|
-
import { jsx as
|
|
5412
|
+
import { jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5399
5413
|
var LIST_CLASSNAME = `k-list`;
|
|
5400
5414
|
var states23 = [];
|
|
5401
5415
|
var options21 = {
|
|
@@ -5423,7 +5437,7 @@ var List = (props) => {
|
|
|
5423
5437
|
listHeader = child.props.label;
|
|
5424
5438
|
child.props.children.map((optChild, index2) => {
|
|
5425
5439
|
listChildren.push(
|
|
5426
|
-
/* @__PURE__ */
|
|
5440
|
+
/* @__PURE__ */ jsx41(
|
|
5427
5441
|
ListItem,
|
|
5428
5442
|
{
|
|
5429
5443
|
...optChild.props
|
|
@@ -5439,7 +5453,7 @@ var List = (props) => {
|
|
|
5439
5453
|
groupLabel = child.props.label;
|
|
5440
5454
|
}
|
|
5441
5455
|
listChildren.push(
|
|
5442
|
-
/* @__PURE__ */
|
|
5456
|
+
/* @__PURE__ */ jsx41(
|
|
5443
5457
|
ListItem,
|
|
5444
5458
|
{
|
|
5445
5459
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5451,14 +5465,14 @@ var List = (props) => {
|
|
|
5451
5465
|
);
|
|
5452
5466
|
});
|
|
5453
5467
|
}
|
|
5454
|
-
listGroup = /* @__PURE__ */
|
|
5468
|
+
listGroup = /* @__PURE__ */ jsx41(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5455
5469
|
} else if (child.type === ListItem) {
|
|
5456
|
-
listChildren.push(/* @__PURE__ */
|
|
5457
|
-
listContent = /* @__PURE__ */
|
|
5470
|
+
listChildren.push(/* @__PURE__ */ jsx41(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5471
|
+
listContent = /* @__PURE__ */ jsx41(ListContent, { virtualization, children: listChildren });
|
|
5458
5472
|
}
|
|
5459
5473
|
});
|
|
5460
5474
|
} else {
|
|
5461
|
-
listContent = /* @__PURE__ */
|
|
5475
|
+
listContent = /* @__PURE__ */ jsx41(NoData, { children: "No data found." });
|
|
5462
5476
|
}
|
|
5463
5477
|
return /* @__PURE__ */ jsxs14(
|
|
5464
5478
|
"div",
|
|
@@ -5488,7 +5502,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5488
5502
|
List.defaultProps = defaultProps19;
|
|
5489
5503
|
|
|
5490
5504
|
// src/list/list-angular.spec.tsx
|
|
5491
|
-
import { jsx as
|
|
5505
|
+
import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5492
5506
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5493
5507
|
var states24 = [];
|
|
5494
5508
|
var options22 = {
|
|
@@ -5515,7 +5529,7 @@ var ListAngular = (props) => {
|
|
|
5515
5529
|
listHeader = child.props.label;
|
|
5516
5530
|
child.props.children.map((optChild, index2) => {
|
|
5517
5531
|
listChildren.push(
|
|
5518
|
-
/* @__PURE__ */
|
|
5532
|
+
/* @__PURE__ */ jsx42(
|
|
5519
5533
|
ListItem,
|
|
5520
5534
|
{
|
|
5521
5535
|
...optChild.props
|
|
@@ -5526,7 +5540,7 @@ var ListAngular = (props) => {
|
|
|
5526
5540
|
});
|
|
5527
5541
|
} else {
|
|
5528
5542
|
listChildren.push(
|
|
5529
|
-
/* @__PURE__ */
|
|
5543
|
+
/* @__PURE__ */ jsx42(
|
|
5530
5544
|
ListGroupItem,
|
|
5531
5545
|
{
|
|
5532
5546
|
...child.props,
|
|
@@ -5537,7 +5551,7 @@ var ListAngular = (props) => {
|
|
|
5537
5551
|
);
|
|
5538
5552
|
child.props.children.map((optChild, index2) => {
|
|
5539
5553
|
listChildren.push(
|
|
5540
|
-
/* @__PURE__ */
|
|
5554
|
+
/* @__PURE__ */ jsx42(
|
|
5541
5555
|
ListItem,
|
|
5542
5556
|
{
|
|
5543
5557
|
...optChild.props
|
|
@@ -5547,14 +5561,14 @@ var ListAngular = (props) => {
|
|
|
5547
5561
|
);
|
|
5548
5562
|
});
|
|
5549
5563
|
}
|
|
5550
|
-
listGroup = /* @__PURE__ */
|
|
5564
|
+
listGroup = /* @__PURE__ */ jsx42(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5551
5565
|
} else if (child.type === ListItem) {
|
|
5552
|
-
listChildren.push(/* @__PURE__ */
|
|
5553
|
-
listContent = /* @__PURE__ */
|
|
5566
|
+
listChildren.push(/* @__PURE__ */ jsx42(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5567
|
+
listContent = /* @__PURE__ */ jsx42(ListContent, { virtualization, children: listChildren });
|
|
5554
5568
|
}
|
|
5555
5569
|
});
|
|
5556
5570
|
} else {
|
|
5557
|
-
listContent = /* @__PURE__ */
|
|
5571
|
+
listContent = /* @__PURE__ */ jsx42(NoData, { children: "No data found." });
|
|
5558
5572
|
}
|
|
5559
5573
|
return /* @__PURE__ */ jsxs15(
|
|
5560
5574
|
"div",
|
|
@@ -5583,7 +5597,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5583
5597
|
ListAngular.defaultProps = defaultProps20;
|
|
5584
5598
|
|
|
5585
5599
|
// src/checkbox/checkbox.spec.tsx
|
|
5586
|
-
import { jsx as
|
|
5600
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5587
5601
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5588
5602
|
var states25 = [
|
|
5589
5603
|
States.hover,
|
|
@@ -5618,7 +5632,7 @@ var Checkbox = (props) => {
|
|
|
5618
5632
|
rounded = defaultProps21.rounded,
|
|
5619
5633
|
...other
|
|
5620
5634
|
} = props;
|
|
5621
|
-
return /* @__PURE__ */
|
|
5635
|
+
return /* @__PURE__ */ jsx43("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx43(
|
|
5622
5636
|
"input",
|
|
5623
5637
|
{
|
|
5624
5638
|
...other,
|
|
@@ -5641,7 +5655,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5641
5655
|
Checkbox.defaultProps = defaultProps21;
|
|
5642
5656
|
|
|
5643
5657
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5644
|
-
import { jsx as
|
|
5658
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5645
5659
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5646
5660
|
var states26 = [];
|
|
5647
5661
|
var options24 = {};
|
|
@@ -5653,7 +5667,7 @@ var CheckboxGroup = (props) => {
|
|
|
5653
5667
|
layout = defaultProps22.layout,
|
|
5654
5668
|
...other
|
|
5655
5669
|
} = props;
|
|
5656
|
-
return /* @__PURE__ */
|
|
5670
|
+
return /* @__PURE__ */ jsx44(
|
|
5657
5671
|
"ul",
|
|
5658
5672
|
{
|
|
5659
5673
|
...other,
|
|
@@ -5674,7 +5688,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5674
5688
|
CheckboxGroup.defaultProps = defaultProps22;
|
|
5675
5689
|
|
|
5676
5690
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5677
|
-
import { jsx as
|
|
5691
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5678
5692
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5679
5693
|
var states27 = [];
|
|
5680
5694
|
var options25 = {};
|
|
@@ -5683,7 +5697,7 @@ var CheckboxItem = (props) => {
|
|
|
5683
5697
|
const {
|
|
5684
5698
|
...other
|
|
5685
5699
|
} = props;
|
|
5686
|
-
return /* @__PURE__ */
|
|
5700
|
+
return /* @__PURE__ */ jsx45(
|
|
5687
5701
|
"li",
|
|
5688
5702
|
{
|
|
5689
5703
|
...other,
|
|
@@ -5701,16 +5715,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5701
5715
|
CheckboxItem.defaultProps = defaultProps23;
|
|
5702
5716
|
|
|
5703
5717
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5704
|
-
import { Fragment as
|
|
5718
|
+
import { Fragment as Fragment20, jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5705
5719
|
|
|
5706
5720
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5707
|
-
import { Fragment as
|
|
5721
|
+
import { Fragment as Fragment21, jsx as jsx47, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5708
5722
|
|
|
5709
5723
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5710
|
-
import { jsx as
|
|
5724
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5711
5725
|
|
|
5712
5726
|
// src/list/list-item.spec.tsx
|
|
5713
|
-
import { jsx as
|
|
5727
|
+
import { jsx as jsx49, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5714
5728
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5715
5729
|
var states28 = [
|
|
5716
5730
|
States.hover,
|
|
@@ -5750,10 +5764,10 @@ var ListItem = (props) => {
|
|
|
5750
5764
|
})
|
|
5751
5765
|
),
|
|
5752
5766
|
children: [
|
|
5753
|
-
showCheckbox && /* @__PURE__ */
|
|
5754
|
-
showIcon && /* @__PURE__ */
|
|
5755
|
-
/* @__PURE__ */
|
|
5756
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5767
|
+
showCheckbox && /* @__PURE__ */ jsx49(Checkbox, { checked }),
|
|
5768
|
+
showIcon && /* @__PURE__ */ jsx49(Icon, { icon: iconName }),
|
|
5769
|
+
/* @__PURE__ */ jsx49("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5770
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx49("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5757
5771
|
]
|
|
5758
5772
|
}
|
|
5759
5773
|
);
|
|
@@ -5764,43 +5778,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5764
5778
|
ListItem.defaultProps = defaultProps24;
|
|
5765
5779
|
|
|
5766
5780
|
// src/list/list-content.tsx
|
|
5767
|
-
import { jsx as
|
|
5781
|
+
import { jsx as jsx50, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5768
5782
|
var className10 = `k-list-content`;
|
|
5769
5783
|
var ListContent = (props) => {
|
|
5770
5784
|
const {
|
|
5771
5785
|
virtualization
|
|
5772
5786
|
} = props;
|
|
5773
5787
|
return /* @__PURE__ */ jsxs19("div", { className: classNames(className10, props.className), children: [
|
|
5774
|
-
/* @__PURE__ */
|
|
5775
|
-
virtualization && /* @__PURE__ */
|
|
5788
|
+
/* @__PURE__ */ jsx50("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5789
|
+
virtualization && /* @__PURE__ */ jsx50("div", { className: "k-height-container", children: /* @__PURE__ */ jsx50("div", {}) })
|
|
5776
5790
|
] });
|
|
5777
5791
|
};
|
|
5778
5792
|
|
|
5779
5793
|
// src/list/list-header.tsx
|
|
5780
|
-
import { jsx as
|
|
5794
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
5781
5795
|
var className11 = `k-list-group-sticky-header`;
|
|
5782
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5796
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx51("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx51("div", { className: "k-list-header-text", children: props.children }) });
|
|
5783
5797
|
|
|
5784
5798
|
// src/list/list-group.tsx
|
|
5785
|
-
import { Fragment as
|
|
5799
|
+
import { Fragment as Fragment22, jsx as jsx52, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5786
5800
|
var ListGroup = (props) => {
|
|
5787
5801
|
const {
|
|
5788
5802
|
virtualization,
|
|
5789
5803
|
label
|
|
5790
5804
|
} = props;
|
|
5791
|
-
return /* @__PURE__ */ jsxs20(
|
|
5792
|
-
label && /* @__PURE__ */
|
|
5793
|
-
props.children && /* @__PURE__ */
|
|
5805
|
+
return /* @__PURE__ */ jsxs20(Fragment22, { children: [
|
|
5806
|
+
label && /* @__PURE__ */ jsx52(ListHeader, { children: label }),
|
|
5807
|
+
props.children && /* @__PURE__ */ jsx52(ListContent, { virtualization, children: props.children })
|
|
5794
5808
|
] });
|
|
5795
5809
|
};
|
|
5796
5810
|
|
|
5797
5811
|
// src/list/list-group-item.tsx
|
|
5798
|
-
import { jsx as
|
|
5812
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5799
5813
|
var className12 = `k-list-group-item`;
|
|
5800
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5814
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx53("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx53("span", { className: "k-list-item-text", children: props.children }) });
|
|
5801
5815
|
|
|
5802
5816
|
// src/list/list-option-label.tsx
|
|
5803
|
-
import { jsx as
|
|
5817
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5804
5818
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5805
5819
|
var states29 = [
|
|
5806
5820
|
States.hover,
|
|
@@ -5819,7 +5833,7 @@ var ListOptionLabel = (props) => {
|
|
|
5819
5833
|
disabled,
|
|
5820
5834
|
...other
|
|
5821
5835
|
} = props;
|
|
5822
|
-
return /* @__PURE__ */
|
|
5836
|
+
return /* @__PURE__ */ jsx54(
|
|
5823
5837
|
"div",
|
|
5824
5838
|
{
|
|
5825
5839
|
...other,
|
|
@@ -5842,31 +5856,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5842
5856
|
ListOptionLabel.defaultProps = defaultProps25;
|
|
5843
5857
|
|
|
5844
5858
|
// src/list/templates/list-normal.tsx
|
|
5845
|
-
import { jsx as
|
|
5859
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5846
5860
|
|
|
5847
5861
|
// src/list/templates/list-virtualization.tsx
|
|
5848
|
-
import { jsx as
|
|
5862
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
5849
5863
|
|
|
5850
5864
|
// src/list/templates/list-grouping.tsx
|
|
5851
|
-
import { jsx as
|
|
5865
|
+
import { jsx as jsx57, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5852
5866
|
|
|
5853
5867
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5854
|
-
import { jsx as
|
|
5868
|
+
import { jsx as jsx58, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5855
5869
|
|
|
5856
5870
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5857
|
-
import { jsx as
|
|
5871
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5858
5872
|
|
|
5859
5873
|
// src/list/templates/list-grouping-angular.tsx
|
|
5860
|
-
import { jsx as
|
|
5874
|
+
import { jsx as jsx60, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5861
5875
|
|
|
5862
5876
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5863
|
-
import { jsx as
|
|
5877
|
+
import { jsx as jsx61, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5864
5878
|
|
|
5865
5879
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5866
|
-
import { jsx as
|
|
5880
|
+
import { jsx as jsx62, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5867
5881
|
|
|
5868
5882
|
// src/searchbox/searchbox.spec.tsx
|
|
5869
|
-
import { jsx as
|
|
5883
|
+
import { jsx as jsx63, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5870
5884
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5871
5885
|
var states30 = [
|
|
5872
5886
|
States.hover,
|
|
@@ -5923,11 +5937,11 @@ var Searchbox = (props) => {
|
|
|
5923
5937
|
disabled,
|
|
5924
5938
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5925
5939
|
children: [
|
|
5926
|
-
showIcon && /* @__PURE__ */
|
|
5927
|
-
/* @__PURE__ */
|
|
5928
|
-
/* @__PURE__ */
|
|
5929
|
-
/* @__PURE__ */
|
|
5930
|
-
/* @__PURE__ */
|
|
5940
|
+
showIcon && /* @__PURE__ */ jsx63(Icon, { className: "k-input-icon", icon }),
|
|
5941
|
+
/* @__PURE__ */ jsx63(InputInnerInput, { placeholder, value }),
|
|
5942
|
+
/* @__PURE__ */ jsx63(InputLoadingIcon, { ...props }),
|
|
5943
|
+
/* @__PURE__ */ jsx63(InputValidationIcon, { ...props }),
|
|
5944
|
+
/* @__PURE__ */ jsx63(InputClearValue, { ...props })
|
|
5931
5945
|
]
|
|
5932
5946
|
}
|
|
5933
5947
|
);
|
|
@@ -5938,19 +5952,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5938
5952
|
Searchbox.defaultProps = defaultProps26;
|
|
5939
5953
|
|
|
5940
5954
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5941
|
-
import { jsx as
|
|
5955
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5942
5956
|
|
|
5943
5957
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5944
|
-
import { Fragment as
|
|
5958
|
+
import { Fragment as Fragment23, jsx as jsx65, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5945
5959
|
|
|
5946
5960
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5947
|
-
import { jsx as
|
|
5961
|
+
import { jsx as jsx66, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5948
5962
|
|
|
5949
5963
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5950
|
-
import { Fragment as
|
|
5964
|
+
import { Fragment as Fragment24, jsx as jsx67, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5951
5965
|
|
|
5952
5966
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5953
|
-
import { jsx as
|
|
5967
|
+
import { jsx as jsx68, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5954
5968
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5955
5969
|
var states31 = [];
|
|
5956
5970
|
var options29 = {
|
|
@@ -5976,7 +5990,7 @@ var SpinButton = (props) => {
|
|
|
5976
5990
|
props.className
|
|
5977
5991
|
),
|
|
5978
5992
|
children: [
|
|
5979
|
-
/* @__PURE__ */
|
|
5993
|
+
/* @__PURE__ */ jsx68(
|
|
5980
5994
|
Button,
|
|
5981
5995
|
{
|
|
5982
5996
|
className: "k-spinner-increase",
|
|
@@ -5986,7 +6000,7 @@ var SpinButton = (props) => {
|
|
|
5986
6000
|
fillMode
|
|
5987
6001
|
}
|
|
5988
6002
|
),
|
|
5989
|
-
/* @__PURE__ */
|
|
6003
|
+
/* @__PURE__ */ jsx68(
|
|
5990
6004
|
Button,
|
|
5991
6005
|
{
|
|
5992
6006
|
className: "k-spinner-decrease",
|
|
@@ -6006,7 +6020,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
6006
6020
|
SpinButton.defaultProps = defaultProps27;
|
|
6007
6021
|
|
|
6008
6022
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6009
|
-
import { jsx as
|
|
6023
|
+
import { jsx as jsx69, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6010
6024
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6011
6025
|
var states32 = [
|
|
6012
6026
|
States.hover,
|
|
@@ -6066,8 +6080,8 @@ var NumericTextbox = (props) => {
|
|
|
6066
6080
|
readonly,
|
|
6067
6081
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6068
6082
|
children: [
|
|
6069
|
-
/* @__PURE__ */
|
|
6070
|
-
/* @__PURE__ */
|
|
6083
|
+
/* @__PURE__ */ jsx69(InputInnerInput, { placeholder, value }),
|
|
6084
|
+
/* @__PURE__ */ jsx69(
|
|
6071
6085
|
InputValidationIcon,
|
|
6072
6086
|
{
|
|
6073
6087
|
valid,
|
|
@@ -6076,14 +6090,14 @@ var NumericTextbox = (props) => {
|
|
|
6076
6090
|
disabled
|
|
6077
6091
|
}
|
|
6078
6092
|
),
|
|
6079
|
-
/* @__PURE__ */
|
|
6093
|
+
/* @__PURE__ */ jsx69(
|
|
6080
6094
|
InputLoadingIcon,
|
|
6081
6095
|
{
|
|
6082
6096
|
loading,
|
|
6083
6097
|
disabled
|
|
6084
6098
|
}
|
|
6085
6099
|
),
|
|
6086
|
-
showClearButton && /* @__PURE__ */
|
|
6100
|
+
showClearButton && /* @__PURE__ */ jsx69(
|
|
6087
6101
|
InputClearValue,
|
|
6088
6102
|
{
|
|
6089
6103
|
loading,
|
|
@@ -6092,7 +6106,7 @@ var NumericTextbox = (props) => {
|
|
|
6092
6106
|
value
|
|
6093
6107
|
}
|
|
6094
6108
|
),
|
|
6095
|
-
showSpinButton && /* @__PURE__ */
|
|
6109
|
+
showSpinButton && /* @__PURE__ */ jsx69(
|
|
6096
6110
|
SpinButton,
|
|
6097
6111
|
{
|
|
6098
6112
|
className: "k-input-spinner",
|
|
@@ -6110,160 +6124,160 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6110
6124
|
NumericTextbox.defaultProps = defaultProps28;
|
|
6111
6125
|
|
|
6112
6126
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6113
|
-
import { jsx as
|
|
6127
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
6114
6128
|
|
|
6115
6129
|
// src/spreadsheet/tests/spreadsheet-print.tsx
|
|
6116
|
-
import { Fragment as
|
|
6130
|
+
import { Fragment as Fragment25, jsx as jsx71, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6117
6131
|
var style = `
|
|
6118
6132
|
.k-window {
|
|
6119
6133
|
position: relative;
|
|
6120
6134
|
}
|
|
6121
6135
|
`;
|
|
6122
|
-
var spreadsheet_print_default = () => /* @__PURE__ */ jsxs32(
|
|
6123
|
-
/* @__PURE__ */
|
|
6136
|
+
var spreadsheet_print_default = () => /* @__PURE__ */ jsxs32(Fragment25, { children: [
|
|
6137
|
+
/* @__PURE__ */ jsx71("style", { children: style }),
|
|
6124
6138
|
/* @__PURE__ */ jsxs32("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: [
|
|
6125
|
-
/* @__PURE__ */
|
|
6126
|
-
/* @__PURE__ */
|
|
6127
|
-
/* @__PURE__ */
|
|
6128
|
-
/* @__PURE__ */
|
|
6139
|
+
/* @__PURE__ */ jsx71("section", { children: /* @__PURE__ */ jsx71(WindowNormal, { style: { width: "620px" }, title: "Print", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsx71(Fragment25, { children: /* @__PURE__ */ jsx71(Button, { themeColor: "primary", children: "Save" }) }), children: /* @__PURE__ */ jsxs32("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
6140
|
+
/* @__PURE__ */ jsx71("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs32("ul", { className: "k-tabstrip-items k-reset", children: [
|
|
6141
|
+
/* @__PURE__ */ jsx71("li", { className: "k-item k-first k-active", children: /* @__PURE__ */ jsx71("span", { className: "k-link", children: "Print" }) }),
|
|
6142
|
+
/* @__PURE__ */ jsx71("li", { className: "k-item k-last", children: /* @__PURE__ */ jsx71("span", { className: "k-link", children: "Format" }) })
|
|
6129
6143
|
] }) }),
|
|
6130
|
-
/* @__PURE__ */
|
|
6144
|
+
/* @__PURE__ */ jsx71("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs32(Form, { tag: "div", layout: "grid", children: [
|
|
6131
6145
|
/* @__PURE__ */ jsxs32(Fieldset, { legend: "Settings", layout: "grid", cols: 2, gapX: 4, children: [
|
|
6132
|
-
/* @__PURE__ */
|
|
6146
|
+
/* @__PURE__ */ jsx71(
|
|
6133
6147
|
FormField,
|
|
6134
6148
|
{
|
|
6135
6149
|
colSpan: "1",
|
|
6136
6150
|
label: "Print",
|
|
6137
|
-
editor: /* @__PURE__ */
|
|
6151
|
+
editor: /* @__PURE__ */ jsx71(DropdownList, { value: "Selection" })
|
|
6138
6152
|
}
|
|
6139
6153
|
),
|
|
6140
|
-
/* @__PURE__ */
|
|
6154
|
+
/* @__PURE__ */ jsx71(
|
|
6141
6155
|
FormField,
|
|
6142
6156
|
{
|
|
6143
6157
|
colSpan: "1",
|
|
6144
6158
|
label: "Paper size",
|
|
6145
|
-
editor: /* @__PURE__ */
|
|
6159
|
+
editor: /* @__PURE__ */ jsx71(DropdownList, { value: "A4" })
|
|
6146
6160
|
}
|
|
6147
6161
|
)
|
|
6148
6162
|
] }),
|
|
6149
|
-
/* @__PURE__ */
|
|
6163
|
+
/* @__PURE__ */ jsx71(Fieldset, { legend: "Orientation", layout: "grid", cols: 1, gapX: 4, children: /* @__PURE__ */ jsx71(
|
|
6150
6164
|
FormField,
|
|
6151
6165
|
{
|
|
6152
6166
|
colSpan: "4",
|
|
6153
6167
|
label: "",
|
|
6154
6168
|
editor: /* @__PURE__ */ jsxs32(RadioGroup, { layout: "horizontal", children: [
|
|
6155
|
-
/* @__PURE__ */
|
|
6156
|
-
/* @__PURE__ */
|
|
6157
|
-
/* @__PURE__ */
|
|
6169
|
+
/* @__PURE__ */ jsx71(RadioItem, { children: /* @__PURE__ */ jsx71(RadioButtonWithLabelAfter, { children: "Auto" }) }),
|
|
6170
|
+
/* @__PURE__ */ jsx71(RadioItem, { children: /* @__PURE__ */ jsx71(RadioButtonWithLabelAfter, { children: "Portrait" }) }),
|
|
6171
|
+
/* @__PURE__ */ jsx71(RadioItem, { children: /* @__PURE__ */ jsx71(RadioButtonWithLabelAfter, { children: "Landscape" }) })
|
|
6158
6172
|
] })
|
|
6159
6173
|
}
|
|
6160
6174
|
) }),
|
|
6161
6175
|
/* @__PURE__ */ jsxs32(Fieldset, { legend: "Pages", layout: "grid", cols: 4, gapX: 4, children: [
|
|
6162
|
-
/* @__PURE__ */
|
|
6176
|
+
/* @__PURE__ */ jsx71(
|
|
6163
6177
|
FormField,
|
|
6164
6178
|
{
|
|
6165
6179
|
colSpan: "1",
|
|
6166
6180
|
label: "Pages",
|
|
6167
6181
|
editor: /* @__PURE__ */ jsxs32(RadioGroup, { layout: "horizontal", children: [
|
|
6168
|
-
/* @__PURE__ */
|
|
6169
|
-
/* @__PURE__ */
|
|
6182
|
+
/* @__PURE__ */ jsx71(RadioItem, { children: /* @__PURE__ */ jsx71(RadioButtonWithLabelAfter, { children: "All" }) }),
|
|
6183
|
+
/* @__PURE__ */ jsx71(RadioItem, { children: /* @__PURE__ */ jsx71(RadioButtonWithLabelAfter, { children: "Range" }) })
|
|
6170
6184
|
] })
|
|
6171
6185
|
}
|
|
6172
6186
|
),
|
|
6173
|
-
/* @__PURE__ */
|
|
6187
|
+
/* @__PURE__ */ jsx71(FormField, { colSpan: "3", label: "\xA0", editor: /* @__PURE__ */ jsx71(Textbox, { placeholder: "Example: 2 or 1 - 3" }) })
|
|
6174
6188
|
] }),
|
|
6175
6189
|
/* @__PURE__ */ jsxs32(Fieldset, { legend: "Margins Unit", layout: "grid", cols: 4, gapX: 4, children: [
|
|
6176
|
-
/* @__PURE__ */
|
|
6190
|
+
/* @__PURE__ */ jsx71(
|
|
6177
6191
|
FormField,
|
|
6178
6192
|
{
|
|
6179
6193
|
colSpan: "1",
|
|
6180
6194
|
label: "Top",
|
|
6181
|
-
editor: /* @__PURE__ */
|
|
6195
|
+
editor: /* @__PURE__ */ jsx71(NumericTextbox, { value: "25.0" })
|
|
6182
6196
|
}
|
|
6183
6197
|
),
|
|
6184
|
-
/* @__PURE__ */
|
|
6198
|
+
/* @__PURE__ */ jsx71(
|
|
6185
6199
|
FormField,
|
|
6186
6200
|
{
|
|
6187
6201
|
colSpan: "1",
|
|
6188
6202
|
label: "\xA0",
|
|
6189
|
-
editor: /* @__PURE__ */
|
|
6203
|
+
editor: /* @__PURE__ */ jsx71(DropdownList, { value: "mm" })
|
|
6190
6204
|
}
|
|
6191
6205
|
),
|
|
6192
|
-
/* @__PURE__ */
|
|
6206
|
+
/* @__PURE__ */ jsx71(
|
|
6193
6207
|
FormField,
|
|
6194
6208
|
{
|
|
6195
6209
|
colSpan: "1",
|
|
6196
6210
|
label: "Bottom",
|
|
6197
|
-
editor: /* @__PURE__ */
|
|
6211
|
+
editor: /* @__PURE__ */ jsx71(NumericTextbox, { value: "25.0" })
|
|
6198
6212
|
}
|
|
6199
6213
|
),
|
|
6200
|
-
/* @__PURE__ */
|
|
6214
|
+
/* @__PURE__ */ jsx71(
|
|
6201
6215
|
FormField,
|
|
6202
6216
|
{
|
|
6203
6217
|
colSpan: "1",
|
|
6204
6218
|
label: "\xA0",
|
|
6205
|
-
editor: /* @__PURE__ */
|
|
6219
|
+
editor: /* @__PURE__ */ jsx71(DropdownList, { value: "mm" })
|
|
6206
6220
|
}
|
|
6207
6221
|
),
|
|
6208
|
-
/* @__PURE__ */
|
|
6222
|
+
/* @__PURE__ */ jsx71(
|
|
6209
6223
|
FormField,
|
|
6210
6224
|
{
|
|
6211
6225
|
colSpan: "1",
|
|
6212
6226
|
label: "Left",
|
|
6213
|
-
editor: /* @__PURE__ */
|
|
6227
|
+
editor: /* @__PURE__ */ jsx71(NumericTextbox, { value: "25.0" })
|
|
6214
6228
|
}
|
|
6215
6229
|
),
|
|
6216
|
-
/* @__PURE__ */
|
|
6230
|
+
/* @__PURE__ */ jsx71(
|
|
6217
6231
|
FormField,
|
|
6218
6232
|
{
|
|
6219
6233
|
colSpan: "1",
|
|
6220
6234
|
label: "\xA0",
|
|
6221
|
-
editor: /* @__PURE__ */
|
|
6235
|
+
editor: /* @__PURE__ */ jsx71(DropdownList, { value: "mm" })
|
|
6222
6236
|
}
|
|
6223
6237
|
),
|
|
6224
|
-
/* @__PURE__ */
|
|
6238
|
+
/* @__PURE__ */ jsx71(
|
|
6225
6239
|
FormField,
|
|
6226
6240
|
{
|
|
6227
6241
|
colSpan: "1",
|
|
6228
6242
|
label: "Right",
|
|
6229
|
-
editor: /* @__PURE__ */
|
|
6243
|
+
editor: /* @__PURE__ */ jsx71(NumericTextbox, { value: "25.0" })
|
|
6230
6244
|
}
|
|
6231
6245
|
),
|
|
6232
|
-
/* @__PURE__ */
|
|
6246
|
+
/* @__PURE__ */ jsx71(
|
|
6233
6247
|
FormField,
|
|
6234
6248
|
{
|
|
6235
6249
|
colSpan: "1",
|
|
6236
6250
|
label: "\xA0",
|
|
6237
|
-
editor: /* @__PURE__ */
|
|
6251
|
+
editor: /* @__PURE__ */ jsx71(DropdownList, { value: "mm" })
|
|
6238
6252
|
}
|
|
6239
6253
|
)
|
|
6240
6254
|
] })
|
|
6241
6255
|
] }) })
|
|
6242
6256
|
] }) }) }),
|
|
6243
|
-
/* @__PURE__ */
|
|
6244
|
-
/* @__PURE__ */
|
|
6245
|
-
/* @__PURE__ */
|
|
6246
|
-
/* @__PURE__ */
|
|
6257
|
+
/* @__PURE__ */ jsx71("section", { children: /* @__PURE__ */ jsx71(WindowNormal, { style: { width: "620px" }, title: "Print", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsx71(Fragment25, { children: /* @__PURE__ */ jsx71(Button, { themeColor: "primary", children: "Save" }) }), children: /* @__PURE__ */ jsxs32("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
6258
|
+
/* @__PURE__ */ jsx71("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs32("ul", { className: "k-tabstrip-items k-reset", children: [
|
|
6259
|
+
/* @__PURE__ */ jsx71("li", { className: "k-item k-first", children: /* @__PURE__ */ jsx71("span", { className: "k-link", children: "Print" }) }),
|
|
6260
|
+
/* @__PURE__ */ jsx71("li", { className: "k-item k-last k-active", children: /* @__PURE__ */ jsx71("span", { className: "k-link", children: "Format" }) })
|
|
6247
6261
|
] }) }),
|
|
6248
|
-
/* @__PURE__ */
|
|
6249
|
-
/* @__PURE__ */
|
|
6262
|
+
/* @__PURE__ */ jsx71("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs32(Form, { tag: "div", layout: "grid", children: [
|
|
6263
|
+
/* @__PURE__ */ jsx71(FormField, { label: "Show", editor: /* @__PURE__ */ jsxs32("div", { className: "k-search-options k-checkbox-list", children: [
|
|
6250
6264
|
/* @__PURE__ */ jsxs32("span", { className: "k-checkbox-list-item", children: [
|
|
6251
|
-
/* @__PURE__ */
|
|
6252
|
-
/* @__PURE__ */
|
|
6265
|
+
/* @__PURE__ */ jsx71(Checkbox, {}),
|
|
6266
|
+
/* @__PURE__ */ jsx71("label", { className: "k-checkbox-label", children: "Grid lines" })
|
|
6253
6267
|
] }),
|
|
6254
6268
|
/* @__PURE__ */ jsxs32("span", { className: "k-checkbox-list-item", children: [
|
|
6255
|
-
/* @__PURE__ */
|
|
6256
|
-
/* @__PURE__ */
|
|
6269
|
+
/* @__PURE__ */ jsx71(Checkbox, {}),
|
|
6270
|
+
/* @__PURE__ */ jsx71("label", { className: "k-checkbox-label", children: "Row and column headings" })
|
|
6257
6271
|
] })
|
|
6258
6272
|
] }) }),
|
|
6259
|
-
/* @__PURE__ */
|
|
6273
|
+
/* @__PURE__ */ jsx71(FormField, { label: "Center on page", editor: /* @__PURE__ */ jsxs32("div", { className: "k-search-options k-checkbox-list", children: [
|
|
6260
6274
|
/* @__PURE__ */ jsxs32("span", { className: "k-checkbox-list-item", children: [
|
|
6261
|
-
/* @__PURE__ */
|
|
6262
|
-
/* @__PURE__ */
|
|
6275
|
+
/* @__PURE__ */ jsx71(Checkbox, {}),
|
|
6276
|
+
/* @__PURE__ */ jsx71("label", { className: "k-checkbox-label", children: "Horizontally" })
|
|
6263
6277
|
] }),
|
|
6264
6278
|
/* @__PURE__ */ jsxs32("span", { className: "k-checkbox-list-item", children: [
|
|
6265
|
-
/* @__PURE__ */
|
|
6266
|
-
/* @__PURE__ */
|
|
6279
|
+
/* @__PURE__ */ jsx71(Checkbox, {}),
|
|
6280
|
+
/* @__PURE__ */ jsx71("label", { className: "k-checkbox-label", children: "Vertically" })
|
|
6267
6281
|
] })
|
|
6268
6282
|
] }) })
|
|
6269
6283
|
] }) })
|