@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/input/input.spec.tsx
|
|
4665
|
-
import { jsx as
|
|
4679
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4666
4680
|
var INPUT_CLASSNAME = `k-input`;
|
|
4667
4681
|
var states9 = [
|
|
4668
4682
|
States.hover,
|
|
@@ -4698,7 +4712,7 @@ var Input = (props) => {
|
|
|
4698
4712
|
fillMode = defaultProps8.fillMode,
|
|
4699
4713
|
...other
|
|
4700
4714
|
} = props;
|
|
4701
|
-
return /* @__PURE__ */
|
|
4715
|
+
return /* @__PURE__ */ jsx14(
|
|
4702
4716
|
"span",
|
|
4703
4717
|
{
|
|
4704
4718
|
...other,
|
|
@@ -4717,7 +4731,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4717
4731
|
Input.defaultProps = defaultProps8;
|
|
4718
4732
|
|
|
4719
4733
|
// src/input/picker.spec.tsx
|
|
4720
|
-
import { jsx as
|
|
4734
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4721
4735
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4722
4736
|
var pickerStates = [
|
|
4723
4737
|
States.hover,
|
|
@@ -4753,7 +4767,7 @@ var Picker = (props) => {
|
|
|
4753
4767
|
fillMode = defaultProps9.fillMode,
|
|
4754
4768
|
...other
|
|
4755
4769
|
} = props;
|
|
4756
|
-
return /* @__PURE__ */
|
|
4770
|
+
return /* @__PURE__ */ jsx15(
|
|
4757
4771
|
"span",
|
|
4758
4772
|
{
|
|
4759
4773
|
...other,
|
|
@@ -4773,7 +4787,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4773
4787
|
Picker.defaultProps = defaultProps9;
|
|
4774
4788
|
|
|
4775
4789
|
// src/input/input-clear-value.tsx
|
|
4776
|
-
import { Fragment as
|
|
4790
|
+
import { Fragment as Fragment9, jsx as jsx16 } from "react/jsx-runtime";
|
|
4777
4791
|
var className = `k-clear-value`;
|
|
4778
4792
|
var states10 = [
|
|
4779
4793
|
States.disabled,
|
|
@@ -4789,16 +4803,16 @@ var InputClearValue = (props) => {
|
|
|
4789
4803
|
value
|
|
4790
4804
|
} = props;
|
|
4791
4805
|
if (disabled || readonly || loading || !value) {
|
|
4792
|
-
return /* @__PURE__ */
|
|
4806
|
+
return /* @__PURE__ */ jsx16(Fragment9, {});
|
|
4793
4807
|
}
|
|
4794
|
-
return /* @__PURE__ */
|
|
4808
|
+
return /* @__PURE__ */ jsx16("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx16(Icon, { icon: "x" }) });
|
|
4795
4809
|
};
|
|
4796
4810
|
InputClearValue.states = states10;
|
|
4797
4811
|
InputClearValue.options = options9;
|
|
4798
4812
|
InputClearValue.className = className;
|
|
4799
4813
|
|
|
4800
4814
|
// src/input/input-inner-input.tsx
|
|
4801
|
-
import { jsx as
|
|
4815
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4802
4816
|
var className2 = `k-input-inner`;
|
|
4803
4817
|
var states11 = [];
|
|
4804
4818
|
var options10 = {};
|
|
@@ -4816,7 +4830,7 @@ var InputInnerInput = (props) => {
|
|
|
4816
4830
|
autocomplete = defaultProps10.autocomplete,
|
|
4817
4831
|
...other
|
|
4818
4832
|
} = props;
|
|
4819
|
-
return /* @__PURE__ */
|
|
4833
|
+
return /* @__PURE__ */ jsx17(
|
|
4820
4834
|
"input",
|
|
4821
4835
|
{
|
|
4822
4836
|
...other,
|
|
@@ -4833,7 +4847,7 @@ InputInnerInput.options = options10;
|
|
|
4833
4847
|
InputInnerInput.className = className2;
|
|
4834
4848
|
|
|
4835
4849
|
// src/input/input-inner-span.tsx
|
|
4836
|
-
import { jsx as
|
|
4850
|
+
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4837
4851
|
var className3 = `k-input-inner`;
|
|
4838
4852
|
var states12 = [];
|
|
4839
4853
|
var options11 = {};
|
|
@@ -4853,9 +4867,9 @@ var InputInnerSpan = (props) => {
|
|
|
4853
4867
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4854
4868
|
children: [
|
|
4855
4869
|
valueIcon,
|
|
4856
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4870
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx18(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4857
4871
|
showValue && !value && placeholder,
|
|
4858
|
-
showValue && value && /* @__PURE__ */
|
|
4872
|
+
showValue && value && /* @__PURE__ */ jsx18("span", { className: "k-input-value-text", children: value })
|
|
4859
4873
|
]
|
|
4860
4874
|
}
|
|
4861
4875
|
);
|
|
@@ -4865,7 +4879,7 @@ InputInnerSpan.options = options11;
|
|
|
4865
4879
|
InputInnerSpan.className = className3;
|
|
4866
4880
|
|
|
4867
4881
|
// src/input/input-inner-textarea.tsx
|
|
4868
|
-
import { jsx as
|
|
4882
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
4869
4883
|
var defaultProps11 = {
|
|
4870
4884
|
value: "",
|
|
4871
4885
|
placeholder: ""
|
|
@@ -4880,7 +4894,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4880
4894
|
rows,
|
|
4881
4895
|
...other
|
|
4882
4896
|
} = props;
|
|
4883
|
-
return /* @__PURE__ */
|
|
4897
|
+
return /* @__PURE__ */ jsx19(
|
|
4884
4898
|
"textarea",
|
|
4885
4899
|
{
|
|
4886
4900
|
...other,
|
|
@@ -4896,7 +4910,7 @@ InputInnerTextarea.options = options12;
|
|
|
4896
4910
|
InputInnerTextarea.className = className4;
|
|
4897
4911
|
|
|
4898
4912
|
// src/input/input-loading-icon.tsx
|
|
4899
|
-
import { Fragment as
|
|
4913
|
+
import { Fragment as Fragment10, jsx as jsx20 } from "react/jsx-runtime";
|
|
4900
4914
|
var className5 = `k-input-loading-icon`;
|
|
4901
4915
|
var states14 = [
|
|
4902
4916
|
States.disabled,
|
|
@@ -4908,13 +4922,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4908
4922
|
loading
|
|
4909
4923
|
} = props;
|
|
4910
4924
|
if (disabled || !loading) {
|
|
4911
|
-
return /* @__PURE__ */
|
|
4925
|
+
return /* @__PURE__ */ jsx20(Fragment10, {});
|
|
4912
4926
|
}
|
|
4913
|
-
return /* @__PURE__ */
|
|
4927
|
+
return /* @__PURE__ */ jsx20("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4914
4928
|
};
|
|
4915
4929
|
|
|
4916
4930
|
// src/input/input-validation-icon.tsx
|
|
4917
|
-
import { Fragment as
|
|
4931
|
+
import { Fragment as Fragment11, jsx as jsx21 } from "react/jsx-runtime";
|
|
4918
4932
|
var className6 = `k-input-validation-icon`;
|
|
4919
4933
|
var states15 = [
|
|
4920
4934
|
States.valid,
|
|
@@ -4933,39 +4947,39 @@ var InputValidationIcon = (props) => {
|
|
|
4933
4947
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4934
4948
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4935
4949
|
if (disabled || loading || !renderValidationIcon) {
|
|
4936
|
-
return /* @__PURE__ */
|
|
4950
|
+
return /* @__PURE__ */ jsx21(Fragment11, {});
|
|
4937
4951
|
}
|
|
4938
|
-
return /* @__PURE__ */
|
|
4952
|
+
return /* @__PURE__ */ jsx21(Icon, { className: classNames(className6), icon: iconName });
|
|
4939
4953
|
};
|
|
4940
4954
|
InputValidationIcon.states = states15;
|
|
4941
4955
|
InputValidationIcon.options = options13;
|
|
4942
4956
|
InputValidationIcon.className = className6;
|
|
4943
4957
|
|
|
4944
4958
|
// src/input/input-prefix.tsx
|
|
4945
|
-
import { Fragment as
|
|
4959
|
+
import { Fragment as Fragment12, jsx as jsx22 } from "react/jsx-runtime";
|
|
4946
4960
|
var className7 = `k-input-prefix`;
|
|
4947
4961
|
var InputPrefix = (props) => {
|
|
4948
4962
|
if (!props.children) {
|
|
4949
|
-
return /* @__PURE__ */
|
|
4963
|
+
return /* @__PURE__ */ jsx22(Fragment12, {});
|
|
4950
4964
|
}
|
|
4951
|
-
return /* @__PURE__ */
|
|
4965
|
+
return /* @__PURE__ */ jsx22("span", { className: classNames(className7, props.className), children: props.children });
|
|
4952
4966
|
};
|
|
4953
4967
|
|
|
4954
4968
|
// src/input/input-suffix.tsx
|
|
4955
|
-
import { Fragment as
|
|
4969
|
+
import { Fragment as Fragment13, jsx as jsx23 } from "react/jsx-runtime";
|
|
4956
4970
|
var className8 = `k-input-suffix`;
|
|
4957
4971
|
var InputSuffix = (props) => {
|
|
4958
4972
|
if (!props.children) {
|
|
4959
|
-
return /* @__PURE__ */
|
|
4973
|
+
return /* @__PURE__ */ jsx23(Fragment13, {});
|
|
4960
4974
|
}
|
|
4961
|
-
return /* @__PURE__ */
|
|
4975
|
+
return /* @__PURE__ */ jsx23("span", { className: classNames(className8, props.className), children: props.children });
|
|
4962
4976
|
};
|
|
4963
4977
|
|
|
4964
4978
|
// src/input/input-separator.tsx
|
|
4965
|
-
import { jsx as
|
|
4979
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4966
4980
|
|
|
4967
4981
|
// src/textbox/textbox.spec.tsx
|
|
4968
|
-
import { jsx as
|
|
4982
|
+
import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4969
4983
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4970
4984
|
var states16 = [
|
|
4971
4985
|
States.hover,
|
|
@@ -5025,9 +5039,9 @@ var Textbox = (props) => {
|
|
|
5025
5039
|
readonly,
|
|
5026
5040
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5027
5041
|
children: [
|
|
5028
|
-
/* @__PURE__ */
|
|
5029
|
-
/* @__PURE__ */
|
|
5030
|
-
/* @__PURE__ */
|
|
5042
|
+
/* @__PURE__ */ jsx25(InputPrefix, { children: prefix }),
|
|
5043
|
+
/* @__PURE__ */ jsx25(InputInnerInput, { placeholder, value }),
|
|
5044
|
+
/* @__PURE__ */ jsx25(
|
|
5031
5045
|
InputValidationIcon,
|
|
5032
5046
|
{
|
|
5033
5047
|
valid,
|
|
@@ -5036,14 +5050,14 @@ var Textbox = (props) => {
|
|
|
5036
5050
|
disabled
|
|
5037
5051
|
}
|
|
5038
5052
|
),
|
|
5039
|
-
/* @__PURE__ */
|
|
5053
|
+
/* @__PURE__ */ jsx25(
|
|
5040
5054
|
InputLoadingIcon,
|
|
5041
5055
|
{
|
|
5042
5056
|
loading,
|
|
5043
5057
|
disabled
|
|
5044
5058
|
}
|
|
5045
5059
|
),
|
|
5046
|
-
showClearButton && /* @__PURE__ */
|
|
5060
|
+
showClearButton && /* @__PURE__ */ jsx25(
|
|
5047
5061
|
InputClearValue,
|
|
5048
5062
|
{
|
|
5049
5063
|
loading,
|
|
@@ -5052,7 +5066,7 @@ var Textbox = (props) => {
|
|
|
5052
5066
|
value
|
|
5053
5067
|
}
|
|
5054
5068
|
),
|
|
5055
|
-
/* @__PURE__ */
|
|
5069
|
+
/* @__PURE__ */ jsx25(InputSuffix, { children: suffix })
|
|
5056
5070
|
]
|
|
5057
5071
|
}
|
|
5058
5072
|
);
|
|
@@ -5063,16 +5077,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5063
5077
|
Textbox.defaultProps = defaultProps12;
|
|
5064
5078
|
|
|
5065
5079
|
// src/textbox/templates/textbox-normal.tsx
|
|
5066
|
-
import { jsx as
|
|
5080
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5067
5081
|
|
|
5068
5082
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5069
|
-
import { Fragment as
|
|
5083
|
+
import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5070
5084
|
|
|
5071
5085
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5072
|
-
import { Fragment as
|
|
5086
|
+
import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5073
5087
|
|
|
5074
5088
|
// src/animation-container/animation-container.spec.tsx
|
|
5075
|
-
import { jsx as
|
|
5089
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5076
5090
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5077
5091
|
var states17 = [];
|
|
5078
5092
|
var options15 = {};
|
|
@@ -5086,7 +5100,7 @@ var AnimationContainer = (props) => {
|
|
|
5086
5100
|
offset,
|
|
5087
5101
|
...other
|
|
5088
5102
|
} = props;
|
|
5089
|
-
return /* @__PURE__ */
|
|
5103
|
+
return /* @__PURE__ */ jsx29(
|
|
5090
5104
|
"div",
|
|
5091
5105
|
{
|
|
5092
5106
|
...other,
|
|
@@ -5098,7 +5112,7 @@ var AnimationContainer = (props) => {
|
|
|
5098
5112
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5099
5113
|
}
|
|
5100
5114
|
),
|
|
5101
|
-
children: /* @__PURE__ */
|
|
5115
|
+
children: /* @__PURE__ */ jsx29("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5102
5116
|
}
|
|
5103
5117
|
);
|
|
5104
5118
|
};
|
|
@@ -5108,7 +5122,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5108
5122
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5109
5123
|
|
|
5110
5124
|
// src/popup/popup.spec.tsx
|
|
5111
|
-
import { jsx as
|
|
5125
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5112
5126
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5113
5127
|
var states18 = [];
|
|
5114
5128
|
var options16 = {};
|
|
@@ -5121,12 +5135,12 @@ var Popup = (props) => {
|
|
|
5121
5135
|
positionMode,
|
|
5122
5136
|
...other
|
|
5123
5137
|
} = props;
|
|
5124
|
-
return /* @__PURE__ */
|
|
5138
|
+
return /* @__PURE__ */ jsx30(
|
|
5125
5139
|
AnimationContainer,
|
|
5126
5140
|
{
|
|
5127
5141
|
positionMode,
|
|
5128
5142
|
offset,
|
|
5129
|
-
children: /* @__PURE__ */
|
|
5143
|
+
children: /* @__PURE__ */ jsx30("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5130
5144
|
}
|
|
5131
5145
|
);
|
|
5132
5146
|
};
|
|
@@ -5136,7 +5150,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5136
5150
|
Popup.defaultProps = defaultProps14;
|
|
5137
5151
|
|
|
5138
5152
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5139
|
-
import { Fragment as
|
|
5153
|
+
import { Fragment as Fragment16, jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5140
5154
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5141
5155
|
var states19 = [
|
|
5142
5156
|
States.hover,
|
|
@@ -5184,7 +5198,7 @@ var DropdownList = (props) => {
|
|
|
5184
5198
|
opened,
|
|
5185
5199
|
...other
|
|
5186
5200
|
} = props;
|
|
5187
|
-
return /* @__PURE__ */ jsxs10(
|
|
5201
|
+
return /* @__PURE__ */ jsxs10(Fragment16, { children: [
|
|
5188
5202
|
/* @__PURE__ */ jsxs10(
|
|
5189
5203
|
Picker,
|
|
5190
5204
|
{
|
|
@@ -5208,8 +5222,8 @@ var DropdownList = (props) => {
|
|
|
5208
5222
|
}
|
|
5209
5223
|
),
|
|
5210
5224
|
children: [
|
|
5211
|
-
/* @__PURE__ */
|
|
5212
|
-
/* @__PURE__ */
|
|
5225
|
+
/* @__PURE__ */ jsx31(InputPrefix, { children: prefix }),
|
|
5226
|
+
/* @__PURE__ */ jsx31(
|
|
5213
5227
|
InputInnerSpan,
|
|
5214
5228
|
{
|
|
5215
5229
|
placeholder,
|
|
@@ -5218,7 +5232,7 @@ var DropdownList = (props) => {
|
|
|
5218
5232
|
valueIconName
|
|
5219
5233
|
}
|
|
5220
5234
|
),
|
|
5221
|
-
/* @__PURE__ */
|
|
5235
|
+
/* @__PURE__ */ jsx31(
|
|
5222
5236
|
InputValidationIcon,
|
|
5223
5237
|
{
|
|
5224
5238
|
valid,
|
|
@@ -5227,15 +5241,15 @@ var DropdownList = (props) => {
|
|
|
5227
5241
|
disabled
|
|
5228
5242
|
}
|
|
5229
5243
|
),
|
|
5230
|
-
/* @__PURE__ */
|
|
5244
|
+
/* @__PURE__ */ jsx31(
|
|
5231
5245
|
InputLoadingIcon,
|
|
5232
5246
|
{
|
|
5233
5247
|
loading,
|
|
5234
5248
|
disabled
|
|
5235
5249
|
}
|
|
5236
5250
|
),
|
|
5237
|
-
/* @__PURE__ */
|
|
5238
|
-
/* @__PURE__ */
|
|
5251
|
+
/* @__PURE__ */ jsx31(InputSuffix, { children: suffix }),
|
|
5252
|
+
/* @__PURE__ */ jsx31(
|
|
5239
5253
|
Button,
|
|
5240
5254
|
{
|
|
5241
5255
|
className: "k-input-button",
|
|
@@ -5248,7 +5262,7 @@ var DropdownList = (props) => {
|
|
|
5248
5262
|
]
|
|
5249
5263
|
}
|
|
5250
5264
|
),
|
|
5251
|
-
opened && popup && /* @__PURE__ */
|
|
5265
|
+
opened && popup && /* @__PURE__ */ jsx31(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5252
5266
|
] });
|
|
5253
5267
|
};
|
|
5254
5268
|
DropdownList.states = states19;
|
|
@@ -5257,15 +5271,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5257
5271
|
DropdownList.defaultProps = defaultProps15;
|
|
5258
5272
|
|
|
5259
5273
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5260
|
-
import { jsx as
|
|
5274
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5261
5275
|
|
|
5262
5276
|
// src/nodata/nodata.tsx
|
|
5263
|
-
import { jsx as
|
|
5277
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5264
5278
|
var className9 = `k-nodata`;
|
|
5265
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5279
|
+
var NoData = (props) => /* @__PURE__ */ jsx33("span", { className: classNames(className9, props.className), children: props.children });
|
|
5266
5280
|
|
|
5267
5281
|
// src/list/list.spec.tsx
|
|
5268
|
-
import { jsx as
|
|
5282
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5269
5283
|
var LIST_CLASSNAME = `k-list`;
|
|
5270
5284
|
var states20 = [];
|
|
5271
5285
|
var options18 = {
|
|
@@ -5293,7 +5307,7 @@ var List = (props) => {
|
|
|
5293
5307
|
listHeader = child.props.label;
|
|
5294
5308
|
child.props.children.map((optChild, index2) => {
|
|
5295
5309
|
listChildren.push(
|
|
5296
|
-
/* @__PURE__ */
|
|
5310
|
+
/* @__PURE__ */ jsx34(
|
|
5297
5311
|
ListItem,
|
|
5298
5312
|
{
|
|
5299
5313
|
...optChild.props
|
|
@@ -5309,7 +5323,7 @@ var List = (props) => {
|
|
|
5309
5323
|
groupLabel = child.props.label;
|
|
5310
5324
|
}
|
|
5311
5325
|
listChildren.push(
|
|
5312
|
-
/* @__PURE__ */
|
|
5326
|
+
/* @__PURE__ */ jsx34(
|
|
5313
5327
|
ListItem,
|
|
5314
5328
|
{
|
|
5315
5329
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5321,14 +5335,14 @@ var List = (props) => {
|
|
|
5321
5335
|
);
|
|
5322
5336
|
});
|
|
5323
5337
|
}
|
|
5324
|
-
listGroup = /* @__PURE__ */
|
|
5338
|
+
listGroup = /* @__PURE__ */ jsx34(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5325
5339
|
} else if (child.type === ListItem) {
|
|
5326
|
-
listChildren.push(/* @__PURE__ */
|
|
5327
|
-
listContent = /* @__PURE__ */
|
|
5340
|
+
listChildren.push(/* @__PURE__ */ jsx34(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5341
|
+
listContent = /* @__PURE__ */ jsx34(ListContent, { virtualization, children: listChildren });
|
|
5328
5342
|
}
|
|
5329
5343
|
});
|
|
5330
5344
|
} else {
|
|
5331
|
-
listContent = /* @__PURE__ */
|
|
5345
|
+
listContent = /* @__PURE__ */ jsx34(NoData, { children: "No data found." });
|
|
5332
5346
|
}
|
|
5333
5347
|
return /* @__PURE__ */ jsxs11(
|
|
5334
5348
|
"div",
|
|
@@ -5358,7 +5372,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5358
5372
|
List.defaultProps = defaultProps16;
|
|
5359
5373
|
|
|
5360
5374
|
// src/list/list-angular.spec.tsx
|
|
5361
|
-
import { jsx as
|
|
5375
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5362
5376
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5363
5377
|
var states21 = [];
|
|
5364
5378
|
var options19 = {
|
|
@@ -5385,7 +5399,7 @@ var ListAngular = (props) => {
|
|
|
5385
5399
|
listHeader = child.props.label;
|
|
5386
5400
|
child.props.children.map((optChild, index2) => {
|
|
5387
5401
|
listChildren.push(
|
|
5388
|
-
/* @__PURE__ */
|
|
5402
|
+
/* @__PURE__ */ jsx35(
|
|
5389
5403
|
ListItem,
|
|
5390
5404
|
{
|
|
5391
5405
|
...optChild.props
|
|
@@ -5396,7 +5410,7 @@ var ListAngular = (props) => {
|
|
|
5396
5410
|
});
|
|
5397
5411
|
} else {
|
|
5398
5412
|
listChildren.push(
|
|
5399
|
-
/* @__PURE__ */
|
|
5413
|
+
/* @__PURE__ */ jsx35(
|
|
5400
5414
|
ListGroupItem,
|
|
5401
5415
|
{
|
|
5402
5416
|
...child.props,
|
|
@@ -5407,7 +5421,7 @@ var ListAngular = (props) => {
|
|
|
5407
5421
|
);
|
|
5408
5422
|
child.props.children.map((optChild, index2) => {
|
|
5409
5423
|
listChildren.push(
|
|
5410
|
-
/* @__PURE__ */
|
|
5424
|
+
/* @__PURE__ */ jsx35(
|
|
5411
5425
|
ListItem,
|
|
5412
5426
|
{
|
|
5413
5427
|
...optChild.props
|
|
@@ -5417,14 +5431,14 @@ var ListAngular = (props) => {
|
|
|
5417
5431
|
);
|
|
5418
5432
|
});
|
|
5419
5433
|
}
|
|
5420
|
-
listGroup = /* @__PURE__ */
|
|
5434
|
+
listGroup = /* @__PURE__ */ jsx35(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5421
5435
|
} else if (child.type === ListItem) {
|
|
5422
|
-
listChildren.push(/* @__PURE__ */
|
|
5423
|
-
listContent = /* @__PURE__ */
|
|
5436
|
+
listChildren.push(/* @__PURE__ */ jsx35(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5437
|
+
listContent = /* @__PURE__ */ jsx35(ListContent, { virtualization, children: listChildren });
|
|
5424
5438
|
}
|
|
5425
5439
|
});
|
|
5426
5440
|
} else {
|
|
5427
|
-
listContent = /* @__PURE__ */
|
|
5441
|
+
listContent = /* @__PURE__ */ jsx35(NoData, { children: "No data found." });
|
|
5428
5442
|
}
|
|
5429
5443
|
return /* @__PURE__ */ jsxs12(
|
|
5430
5444
|
"div",
|
|
@@ -5453,7 +5467,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5453
5467
|
ListAngular.defaultProps = defaultProps17;
|
|
5454
5468
|
|
|
5455
5469
|
// src/checkbox/checkbox.spec.tsx
|
|
5456
|
-
import { jsx as
|
|
5470
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5457
5471
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5458
5472
|
var states22 = [
|
|
5459
5473
|
States.hover,
|
|
@@ -5488,7 +5502,7 @@ var Checkbox = (props) => {
|
|
|
5488
5502
|
rounded = defaultProps18.rounded,
|
|
5489
5503
|
...other
|
|
5490
5504
|
} = props;
|
|
5491
|
-
return /* @__PURE__ */
|
|
5505
|
+
return /* @__PURE__ */ jsx36("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx36(
|
|
5492
5506
|
"input",
|
|
5493
5507
|
{
|
|
5494
5508
|
...other,
|
|
@@ -5511,7 +5525,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5511
5525
|
Checkbox.defaultProps = defaultProps18;
|
|
5512
5526
|
|
|
5513
5527
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5514
|
-
import { jsx as
|
|
5528
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5515
5529
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5516
5530
|
var states23 = [];
|
|
5517
5531
|
var options21 = {};
|
|
@@ -5523,7 +5537,7 @@ var CheckboxGroup = (props) => {
|
|
|
5523
5537
|
layout = defaultProps19.layout,
|
|
5524
5538
|
...other
|
|
5525
5539
|
} = props;
|
|
5526
|
-
return /* @__PURE__ */
|
|
5540
|
+
return /* @__PURE__ */ jsx37(
|
|
5527
5541
|
"ul",
|
|
5528
5542
|
{
|
|
5529
5543
|
...other,
|
|
@@ -5544,7 +5558,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5544
5558
|
CheckboxGroup.defaultProps = defaultProps19;
|
|
5545
5559
|
|
|
5546
5560
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5547
|
-
import { jsx as
|
|
5561
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5548
5562
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5549
5563
|
var states24 = [];
|
|
5550
5564
|
var options22 = {};
|
|
@@ -5553,7 +5567,7 @@ var CheckboxItem = (props) => {
|
|
|
5553
5567
|
const {
|
|
5554
5568
|
...other
|
|
5555
5569
|
} = props;
|
|
5556
|
-
return /* @__PURE__ */
|
|
5570
|
+
return /* @__PURE__ */ jsx38(
|
|
5557
5571
|
"li",
|
|
5558
5572
|
{
|
|
5559
5573
|
...other,
|
|
@@ -5571,16 +5585,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5571
5585
|
CheckboxItem.defaultProps = defaultProps20;
|
|
5572
5586
|
|
|
5573
5587
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5574
|
-
import { Fragment as
|
|
5588
|
+
import { Fragment as Fragment17, jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5575
5589
|
|
|
5576
5590
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5577
|
-
import { Fragment as
|
|
5591
|
+
import { Fragment as Fragment18, jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5578
5592
|
|
|
5579
5593
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5580
|
-
import { jsx as
|
|
5594
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5581
5595
|
|
|
5582
5596
|
// src/list/list-item.spec.tsx
|
|
5583
|
-
import { jsx as
|
|
5597
|
+
import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5584
5598
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5585
5599
|
var states25 = [
|
|
5586
5600
|
States.hover,
|
|
@@ -5620,10 +5634,10 @@ var ListItem = (props) => {
|
|
|
5620
5634
|
})
|
|
5621
5635
|
),
|
|
5622
5636
|
children: [
|
|
5623
|
-
showCheckbox && /* @__PURE__ */
|
|
5624
|
-
showIcon && /* @__PURE__ */
|
|
5625
|
-
/* @__PURE__ */
|
|
5626
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5637
|
+
showCheckbox && /* @__PURE__ */ jsx42(Checkbox, { checked }),
|
|
5638
|
+
showIcon && /* @__PURE__ */ jsx42(Icon, { icon: iconName }),
|
|
5639
|
+
/* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5640
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx42("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5627
5641
|
]
|
|
5628
5642
|
}
|
|
5629
5643
|
);
|
|
@@ -5634,43 +5648,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5634
5648
|
ListItem.defaultProps = defaultProps21;
|
|
5635
5649
|
|
|
5636
5650
|
// src/list/list-content.tsx
|
|
5637
|
-
import { jsx as
|
|
5651
|
+
import { jsx as jsx43, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5638
5652
|
var className10 = `k-list-content`;
|
|
5639
5653
|
var ListContent = (props) => {
|
|
5640
5654
|
const {
|
|
5641
5655
|
virtualization
|
|
5642
5656
|
} = props;
|
|
5643
5657
|
return /* @__PURE__ */ jsxs16("div", { className: classNames(className10, props.className), children: [
|
|
5644
|
-
/* @__PURE__ */
|
|
5645
|
-
virtualization && /* @__PURE__ */
|
|
5658
|
+
/* @__PURE__ */ jsx43("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5659
|
+
virtualization && /* @__PURE__ */ jsx43("div", { className: "k-height-container", children: /* @__PURE__ */ jsx43("div", {}) })
|
|
5646
5660
|
] });
|
|
5647
5661
|
};
|
|
5648
5662
|
|
|
5649
5663
|
// src/list/list-header.tsx
|
|
5650
|
-
import { jsx as
|
|
5664
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5651
5665
|
var className11 = `k-list-group-sticky-header`;
|
|
5652
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5666
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx44("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx44("div", { className: "k-list-header-text", children: props.children }) });
|
|
5653
5667
|
|
|
5654
5668
|
// src/list/list-group.tsx
|
|
5655
|
-
import { Fragment as
|
|
5669
|
+
import { Fragment as Fragment19, jsx as jsx45, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5656
5670
|
var ListGroup = (props) => {
|
|
5657
5671
|
const {
|
|
5658
5672
|
virtualization,
|
|
5659
5673
|
label
|
|
5660
5674
|
} = props;
|
|
5661
|
-
return /* @__PURE__ */ jsxs17(
|
|
5662
|
-
label && /* @__PURE__ */
|
|
5663
|
-
props.children && /* @__PURE__ */
|
|
5675
|
+
return /* @__PURE__ */ jsxs17(Fragment19, { children: [
|
|
5676
|
+
label && /* @__PURE__ */ jsx45(ListHeader, { children: label }),
|
|
5677
|
+
props.children && /* @__PURE__ */ jsx45(ListContent, { virtualization, children: props.children })
|
|
5664
5678
|
] });
|
|
5665
5679
|
};
|
|
5666
5680
|
|
|
5667
5681
|
// src/list/list-group-item.tsx
|
|
5668
|
-
import { jsx as
|
|
5682
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5669
5683
|
var className12 = `k-list-group-item`;
|
|
5670
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5684
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx46("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx46("span", { className: "k-list-item-text", children: props.children }) });
|
|
5671
5685
|
|
|
5672
5686
|
// src/list/list-option-label.tsx
|
|
5673
|
-
import { jsx as
|
|
5687
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5674
5688
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5675
5689
|
var states26 = [
|
|
5676
5690
|
States.hover,
|
|
@@ -5689,7 +5703,7 @@ var ListOptionLabel = (props) => {
|
|
|
5689
5703
|
disabled,
|
|
5690
5704
|
...other
|
|
5691
5705
|
} = props;
|
|
5692
|
-
return /* @__PURE__ */
|
|
5706
|
+
return /* @__PURE__ */ jsx47(
|
|
5693
5707
|
"div",
|
|
5694
5708
|
{
|
|
5695
5709
|
...other,
|
|
@@ -5712,31 +5726,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5712
5726
|
ListOptionLabel.defaultProps = defaultProps22;
|
|
5713
5727
|
|
|
5714
5728
|
// src/list/templates/list-normal.tsx
|
|
5715
|
-
import { jsx as
|
|
5729
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5716
5730
|
|
|
5717
5731
|
// src/list/templates/list-virtualization.tsx
|
|
5718
|
-
import { jsx as
|
|
5732
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5719
5733
|
|
|
5720
5734
|
// src/list/templates/list-grouping.tsx
|
|
5721
|
-
import { jsx as
|
|
5735
|
+
import { jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5722
5736
|
|
|
5723
5737
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5724
|
-
import { jsx as
|
|
5738
|
+
import { jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5725
5739
|
|
|
5726
5740
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5727
|
-
import { jsx as
|
|
5741
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5728
5742
|
|
|
5729
5743
|
// src/list/templates/list-grouping-angular.tsx
|
|
5730
|
-
import { jsx as
|
|
5744
|
+
import { jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5731
5745
|
|
|
5732
5746
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5733
|
-
import { jsx as
|
|
5747
|
+
import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5734
5748
|
|
|
5735
5749
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5736
|
-
import { jsx as
|
|
5750
|
+
import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5737
5751
|
|
|
5738
5752
|
// src/searchbox/searchbox.spec.tsx
|
|
5739
|
-
import { jsx as
|
|
5753
|
+
import { jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5740
5754
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5741
5755
|
var states27 = [
|
|
5742
5756
|
States.hover,
|
|
@@ -5793,11 +5807,11 @@ var Searchbox = (props) => {
|
|
|
5793
5807
|
disabled,
|
|
5794
5808
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5795
5809
|
children: [
|
|
5796
|
-
showIcon && /* @__PURE__ */
|
|
5797
|
-
/* @__PURE__ */
|
|
5798
|
-
/* @__PURE__ */
|
|
5799
|
-
/* @__PURE__ */
|
|
5800
|
-
/* @__PURE__ */
|
|
5810
|
+
showIcon && /* @__PURE__ */ jsx56(Icon, { className: "k-input-icon", icon }),
|
|
5811
|
+
/* @__PURE__ */ jsx56(InputInnerInput, { placeholder, value }),
|
|
5812
|
+
/* @__PURE__ */ jsx56(InputLoadingIcon, { ...props }),
|
|
5813
|
+
/* @__PURE__ */ jsx56(InputValidationIcon, { ...props }),
|
|
5814
|
+
/* @__PURE__ */ jsx56(InputClearValue, { ...props })
|
|
5801
5815
|
]
|
|
5802
5816
|
}
|
|
5803
5817
|
);
|
|
@@ -5808,19 +5822,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5808
5822
|
Searchbox.defaultProps = defaultProps23;
|
|
5809
5823
|
|
|
5810
5824
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5811
|
-
import { jsx as
|
|
5825
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5812
5826
|
|
|
5813
5827
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5814
|
-
import { Fragment as
|
|
5828
|
+
import { Fragment as Fragment20, jsx as jsx58, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5815
5829
|
|
|
5816
5830
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5817
|
-
import { jsx as
|
|
5831
|
+
import { jsx as jsx59, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5818
5832
|
|
|
5819
5833
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5820
|
-
import { Fragment as
|
|
5834
|
+
import { Fragment as Fragment21, jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5821
5835
|
|
|
5822
5836
|
// src/radio/radio.spec.tsx
|
|
5823
|
-
import { jsx as
|
|
5837
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5824
5838
|
var RADIOBUTTON_CLASSNAME = `k-radio`;
|
|
5825
5839
|
var states28 = [
|
|
5826
5840
|
States.hover,
|
|
@@ -5850,7 +5864,7 @@ var RadioButton = (props) => {
|
|
|
5850
5864
|
size = defaultProps24.size,
|
|
5851
5865
|
...other
|
|
5852
5866
|
} = props;
|
|
5853
|
-
return /* @__PURE__ */
|
|
5867
|
+
return /* @__PURE__ */ jsx61("span", { className: "k-radio-wrap", children: /* @__PURE__ */ jsx61(
|
|
5854
5868
|
"input",
|
|
5855
5869
|
{
|
|
5856
5870
|
...other,
|
|
@@ -5874,7 +5888,7 @@ RadioButton.defaultProps = defaultProps24;
|
|
|
5874
5888
|
var radio_spec_default = RadioButton;
|
|
5875
5889
|
|
|
5876
5890
|
// src/radio/radio-group.spec.tsx
|
|
5877
|
-
import { jsx as
|
|
5891
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5878
5892
|
var RADIOGROUP_CLASSNAME = `k-radio-list`;
|
|
5879
5893
|
var states29 = [];
|
|
5880
5894
|
var options27 = {};
|
|
@@ -5886,7 +5900,7 @@ var RadioGroup = (props) => {
|
|
|
5886
5900
|
layout = defaultProps25.layout,
|
|
5887
5901
|
...other
|
|
5888
5902
|
} = props;
|
|
5889
|
-
return /* @__PURE__ */
|
|
5903
|
+
return /* @__PURE__ */ jsx62(
|
|
5890
5904
|
"ul",
|
|
5891
5905
|
{
|
|
5892
5906
|
...other,
|
|
@@ -5907,7 +5921,7 @@ RadioGroup.className = RADIOGROUP_CLASSNAME;
|
|
|
5907
5921
|
RadioGroup.defaultProps = defaultProps25;
|
|
5908
5922
|
|
|
5909
5923
|
// src/radio/radio-item.spec.tsx
|
|
5910
|
-
import { jsx as
|
|
5924
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5911
5925
|
var RADIOITEM_CLASSNAME = `k-radio-list-item`;
|
|
5912
5926
|
var states30 = [];
|
|
5913
5927
|
var options28 = {};
|
|
@@ -5916,7 +5930,7 @@ var RadioItem = (props) => {
|
|
|
5916
5930
|
const {
|
|
5917
5931
|
...other
|
|
5918
5932
|
} = props;
|
|
5919
|
-
return /* @__PURE__ */
|
|
5933
|
+
return /* @__PURE__ */ jsx63(
|
|
5920
5934
|
"li",
|
|
5921
5935
|
{
|
|
5922
5936
|
...other,
|
|
@@ -5934,56 +5948,56 @@ RadioItem.className = RADIOITEM_CLASSNAME;
|
|
|
5934
5948
|
RadioItem.defaultProps = defaultProps26;
|
|
5935
5949
|
|
|
5936
5950
|
// src/radio/templates/radio-normal.tsx
|
|
5937
|
-
import { jsx as
|
|
5951
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5938
5952
|
|
|
5939
5953
|
// src/radio/templates/radio-with-label-after.tsx
|
|
5940
|
-
import { Fragment as
|
|
5941
|
-
var RadioButtonWithLabelAfter = ({ children, id, ...other }) => /* @__PURE__ */ jsxs27(
|
|
5942
|
-
/* @__PURE__ */
|
|
5943
|
-
/* @__PURE__ */
|
|
5954
|
+
import { Fragment as Fragment22, jsx as jsx65, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5955
|
+
var RadioButtonWithLabelAfter = ({ children, id, ...other }) => /* @__PURE__ */ jsxs27(Fragment22, { children: [
|
|
5956
|
+
/* @__PURE__ */ jsx65(radio_spec_default, { ...other, id }),
|
|
5957
|
+
/* @__PURE__ */ jsx65("label", { className: "k-radio-label", htmlFor: id, children })
|
|
5944
5958
|
] });
|
|
5945
5959
|
|
|
5946
5960
|
// src/radio/templates/radio-with-label-before.tsx
|
|
5947
|
-
import { Fragment as
|
|
5961
|
+
import { Fragment as Fragment23, jsx as jsx66, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5948
5962
|
|
|
5949
5963
|
// src/radio/templates/radio-inside-label.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/spreadsheet/tests/spreadsheet-data-validation.tsx
|
|
5953
|
-
import { Fragment as
|
|
5967
|
+
import { Fragment as Fragment25, jsx as jsx68, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5954
5968
|
var style = `
|
|
5955
5969
|
.k-window {
|
|
5956
5970
|
min-width: 400px;
|
|
5957
5971
|
position: relative;
|
|
5958
5972
|
}
|
|
5959
5973
|
`;
|
|
5960
|
-
var spreadsheet_data_validation_default = () => /* @__PURE__ */ jsxs30(
|
|
5961
|
-
/* @__PURE__ */
|
|
5974
|
+
var spreadsheet_data_validation_default = () => /* @__PURE__ */ jsxs30(Fragment25, { children: [
|
|
5975
|
+
/* @__PURE__ */ jsx68("style", { children: style }),
|
|
5962
5976
|
/* @__PURE__ */ jsxs30("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
5963
|
-
/* @__PURE__ */
|
|
5964
|
-
/* @__PURE__ */
|
|
5965
|
-
/* @__PURE__ */
|
|
5977
|
+
/* @__PURE__ */ jsx68("section", { children: /* @__PURE__ */ jsx68(WindowNormal, { title: "Data Validation", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs30(Fragment25, { children: [
|
|
5978
|
+
/* @__PURE__ */ jsx68(Button, { themeColor: "primary", children: "Apply" }),
|
|
5979
|
+
/* @__PURE__ */ jsx68(Button, { children: "Cancel" })
|
|
5966
5980
|
] }), children: /* @__PURE__ */ jsxs30(Form, { children: [
|
|
5967
|
-
/* @__PURE__ */
|
|
5968
|
-
/* @__PURE__ */
|
|
5969
|
-
/* @__PURE__ */
|
|
5970
|
-
/* @__PURE__ */
|
|
5971
|
-
/* @__PURE__ */
|
|
5972
|
-
/* @__PURE__ */
|
|
5973
|
-
/* @__PURE__ */
|
|
5981
|
+
/* @__PURE__ */ jsx68(FormField, { label: "Cell Range", editor: /* @__PURE__ */ jsx68(Textbox, { value: "Input Value" }) }),
|
|
5982
|
+
/* @__PURE__ */ jsx68(FormField, { label: "Criteria", editor: /* @__PURE__ */ jsx68(DropdownList, { value: "Number" }) }),
|
|
5983
|
+
/* @__PURE__ */ jsx68(FormField, { label: "Comparer", editor: /* @__PURE__ */ jsx68(DropdownList, { value: "Greater than" }) }),
|
|
5984
|
+
/* @__PURE__ */ jsx68(FormField, { label: "Min", editor: /* @__PURE__ */ jsx68(Textbox, { placeholder: "Placeholder" }) }),
|
|
5985
|
+
/* @__PURE__ */ jsx68(FormField, { editor: /* @__PURE__ */ jsxs30(Fragment25, { children: [
|
|
5986
|
+
/* @__PURE__ */ jsx68(Checkbox, {}),
|
|
5987
|
+
/* @__PURE__ */ jsx68("label", { className: "k-checkbox-label", children: "Ignore blank" })
|
|
5974
5988
|
] }) }),
|
|
5975
|
-
/* @__PURE__ */
|
|
5976
|
-
/* @__PURE__ */
|
|
5977
|
-
/* @__PURE__ */
|
|
5989
|
+
/* @__PURE__ */ jsx68(FormField, { label: "On invalid data", editor: /* @__PURE__ */ jsxs30(RadioGroup, { layout: "vertical", children: [
|
|
5990
|
+
/* @__PURE__ */ jsx68(RadioItem, { children: /* @__PURE__ */ jsx68(RadioButtonWithLabelAfter, { checked: true, children: "Reject input" }) }),
|
|
5991
|
+
/* @__PURE__ */ jsx68(RadioItem, { children: /* @__PURE__ */ jsx68(RadioButtonWithLabelAfter, { children: "Show warning" }) })
|
|
5978
5992
|
] }) }),
|
|
5979
|
-
/* @__PURE__ */
|
|
5980
|
-
/* @__PURE__ */
|
|
5981
|
-
/* @__PURE__ */
|
|
5993
|
+
/* @__PURE__ */ jsx68(FormField, { editor: /* @__PURE__ */ jsxs30(Fragment25, { children: [
|
|
5994
|
+
/* @__PURE__ */ jsx68(Checkbox, {}),
|
|
5995
|
+
/* @__PURE__ */ jsx68("label", { className: "k-checkbox-label", children: "Show hint" })
|
|
5982
5996
|
] }) })
|
|
5983
5997
|
] }) }) }),
|
|
5984
|
-
/* @__PURE__ */
|
|
5985
|
-
/* @__PURE__ */
|
|
5986
|
-
/* @__PURE__ */
|
|
5998
|
+
/* @__PURE__ */ jsx68("section", { children: /* @__PURE__ */ jsx68(WindowNormal, { title: "Birth Date validaiton error", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs30(Fragment25, { children: [
|
|
5999
|
+
/* @__PURE__ */ jsx68(Button, { themeColor: "primary", children: "Retry" }),
|
|
6000
|
+
/* @__PURE__ */ jsx68(Button, { children: "Cancel" })
|
|
5987
6001
|
] }), children: "Birth Date should be between 1899 and 1998 year." }) })
|
|
5988
6002
|
] })
|
|
5989
6003
|
] });
|