@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4513,8 +4513,22 @@ Window.options = options6;
|
|
|
4513
4513
|
Window.className = WINDOW_CLASSNAME;
|
|
4514
4514
|
Window.defaultProps = defaultProps6;
|
|
4515
4515
|
|
|
4516
|
+
// src/window/templates/window-normal.tsx
|
|
4517
|
+
import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
|
|
4518
|
+
var WindowNormal = (props) => /* @__PURE__ */ jsx10(
|
|
4519
|
+
Window,
|
|
4520
|
+
{
|
|
4521
|
+
title: "Title",
|
|
4522
|
+
actions: ["window-minimize", "window", "x"],
|
|
4523
|
+
children: [
|
|
4524
|
+
/* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
|
|
4525
|
+
],
|
|
4526
|
+
...props
|
|
4527
|
+
}
|
|
4528
|
+
);
|
|
4529
|
+
|
|
4516
4530
|
// src/checkbox/checkbox.spec.tsx
|
|
4517
|
-
import { jsx as
|
|
4531
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4518
4532
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
4519
4533
|
var states7 = [
|
|
4520
4534
|
States.hover,
|
|
@@ -4549,7 +4563,7 @@ var Checkbox = (props) => {
|
|
|
4549
4563
|
rounded = defaultProps7.rounded,
|
|
4550
4564
|
...other
|
|
4551
4565
|
} = props;
|
|
4552
|
-
return /* @__PURE__ */
|
|
4566
|
+
return /* @__PURE__ */ jsx11("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx11(
|
|
4553
4567
|
"input",
|
|
4554
4568
|
{
|
|
4555
4569
|
...other,
|
|
@@ -4572,7 +4586,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
4572
4586
|
Checkbox.defaultProps = defaultProps7;
|
|
4573
4587
|
|
|
4574
4588
|
// src/checkbox/checkbox-group.spec.tsx
|
|
4575
|
-
import { jsx as
|
|
4589
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
4576
4590
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
4577
4591
|
var states8 = [];
|
|
4578
4592
|
var options8 = {};
|
|
@@ -4584,7 +4598,7 @@ var CheckboxGroup = (props) => {
|
|
|
4584
4598
|
layout = defaultProps8.layout,
|
|
4585
4599
|
...other
|
|
4586
4600
|
} = props;
|
|
4587
|
-
return /* @__PURE__ */
|
|
4601
|
+
return /* @__PURE__ */ jsx12(
|
|
4588
4602
|
"ul",
|
|
4589
4603
|
{
|
|
4590
4604
|
...other,
|
|
@@ -4605,7 +4619,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
4605
4619
|
CheckboxGroup.defaultProps = defaultProps8;
|
|
4606
4620
|
|
|
4607
4621
|
// src/checkbox/checkbox-item.spec.tsx
|
|
4608
|
-
import { jsx as
|
|
4622
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
4609
4623
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
4610
4624
|
var states9 = [];
|
|
4611
4625
|
var options9 = {};
|
|
@@ -4614,7 +4628,7 @@ var CheckboxItem = (props) => {
|
|
|
4614
4628
|
const {
|
|
4615
4629
|
...other
|
|
4616
4630
|
} = props;
|
|
4617
|
-
return /* @__PURE__ */
|
|
4631
|
+
return /* @__PURE__ */ jsx13(
|
|
4618
4632
|
"li",
|
|
4619
4633
|
{
|
|
4620
4634
|
...other,
|
|
@@ -4632,16 +4646,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
4632
4646
|
CheckboxItem.defaultProps = defaultProps9;
|
|
4633
4647
|
|
|
4634
4648
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
4635
|
-
import { Fragment as
|
|
4649
|
+
import { Fragment as Fragment7, jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4636
4650
|
|
|
4637
4651
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
4638
|
-
import { Fragment as
|
|
4652
|
+
import { Fragment as Fragment8, jsx as jsx15, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4639
4653
|
|
|
4640
4654
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
4641
|
-
import { jsx as
|
|
4655
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4642
4656
|
|
|
4643
4657
|
// src/input/input.spec.tsx
|
|
4644
|
-
import { jsx as
|
|
4658
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4645
4659
|
var INPUT_CLASSNAME = `k-input`;
|
|
4646
4660
|
var states10 = [
|
|
4647
4661
|
States.hover,
|
|
@@ -4677,7 +4691,7 @@ var Input = (props) => {
|
|
|
4677
4691
|
fillMode = defaultProps10.fillMode,
|
|
4678
4692
|
...other
|
|
4679
4693
|
} = props;
|
|
4680
|
-
return /* @__PURE__ */
|
|
4694
|
+
return /* @__PURE__ */ jsx17(
|
|
4681
4695
|
"span",
|
|
4682
4696
|
{
|
|
4683
4697
|
...other,
|
|
@@ -4696,7 +4710,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4696
4710
|
Input.defaultProps = defaultProps10;
|
|
4697
4711
|
|
|
4698
4712
|
// src/input/picker.spec.tsx
|
|
4699
|
-
import { jsx as
|
|
4713
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4700
4714
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4701
4715
|
var pickerStates = [
|
|
4702
4716
|
States.hover,
|
|
@@ -4732,7 +4746,7 @@ var Picker = (props) => {
|
|
|
4732
4746
|
fillMode = defaultProps11.fillMode,
|
|
4733
4747
|
...other
|
|
4734
4748
|
} = props;
|
|
4735
|
-
return /* @__PURE__ */
|
|
4749
|
+
return /* @__PURE__ */ jsx18(
|
|
4736
4750
|
"span",
|
|
4737
4751
|
{
|
|
4738
4752
|
...other,
|
|
@@ -4752,7 +4766,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4752
4766
|
Picker.defaultProps = defaultProps11;
|
|
4753
4767
|
|
|
4754
4768
|
// src/input/input-clear-value.tsx
|
|
4755
|
-
import { Fragment as
|
|
4769
|
+
import { Fragment as Fragment9, jsx as jsx19 } from "react/jsx-runtime";
|
|
4756
4770
|
var className = `k-clear-value`;
|
|
4757
4771
|
var states11 = [
|
|
4758
4772
|
States.disabled,
|
|
@@ -4768,16 +4782,16 @@ var InputClearValue = (props) => {
|
|
|
4768
4782
|
value
|
|
4769
4783
|
} = props;
|
|
4770
4784
|
if (disabled || readonly || loading || !value) {
|
|
4771
|
-
return /* @__PURE__ */
|
|
4785
|
+
return /* @__PURE__ */ jsx19(Fragment9, {});
|
|
4772
4786
|
}
|
|
4773
|
-
return /* @__PURE__ */
|
|
4787
|
+
return /* @__PURE__ */ jsx19("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx19(Icon, { icon: "x" }) });
|
|
4774
4788
|
};
|
|
4775
4789
|
InputClearValue.states = states11;
|
|
4776
4790
|
InputClearValue.options = options11;
|
|
4777
4791
|
InputClearValue.className = className;
|
|
4778
4792
|
|
|
4779
4793
|
// src/input/input-inner-input.tsx
|
|
4780
|
-
import { jsx as
|
|
4794
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4781
4795
|
var className2 = `k-input-inner`;
|
|
4782
4796
|
var states12 = [];
|
|
4783
4797
|
var options12 = {};
|
|
@@ -4795,7 +4809,7 @@ var InputInnerInput = (props) => {
|
|
|
4795
4809
|
autocomplete = defaultProps12.autocomplete,
|
|
4796
4810
|
...other
|
|
4797
4811
|
} = props;
|
|
4798
|
-
return /* @__PURE__ */
|
|
4812
|
+
return /* @__PURE__ */ jsx20(
|
|
4799
4813
|
"input",
|
|
4800
4814
|
{
|
|
4801
4815
|
...other,
|
|
@@ -4812,7 +4826,7 @@ InputInnerInput.options = options12;
|
|
|
4812
4826
|
InputInnerInput.className = className2;
|
|
4813
4827
|
|
|
4814
4828
|
// src/input/input-inner-span.tsx
|
|
4815
|
-
import { jsx as
|
|
4829
|
+
import { jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4816
4830
|
var className3 = `k-input-inner`;
|
|
4817
4831
|
var states13 = [];
|
|
4818
4832
|
var options13 = {};
|
|
@@ -4832,9 +4846,9 @@ var InputInnerSpan = (props) => {
|
|
|
4832
4846
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4833
4847
|
children: [
|
|
4834
4848
|
valueIcon,
|
|
4835
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4849
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx21(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4836
4850
|
showValue && !value && placeholder,
|
|
4837
|
-
showValue && value && /* @__PURE__ */
|
|
4851
|
+
showValue && value && /* @__PURE__ */ jsx21("span", { className: "k-input-value-text", children: value })
|
|
4838
4852
|
]
|
|
4839
4853
|
}
|
|
4840
4854
|
);
|
|
@@ -4844,7 +4858,7 @@ InputInnerSpan.options = options13;
|
|
|
4844
4858
|
InputInnerSpan.className = className3;
|
|
4845
4859
|
|
|
4846
4860
|
// src/input/input-inner-textarea.tsx
|
|
4847
|
-
import { jsx as
|
|
4861
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4848
4862
|
var defaultProps13 = {
|
|
4849
4863
|
value: "",
|
|
4850
4864
|
placeholder: ""
|
|
@@ -4859,7 +4873,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4859
4873
|
rows,
|
|
4860
4874
|
...other
|
|
4861
4875
|
} = props;
|
|
4862
|
-
return /* @__PURE__ */
|
|
4876
|
+
return /* @__PURE__ */ jsx22(
|
|
4863
4877
|
"textarea",
|
|
4864
4878
|
{
|
|
4865
4879
|
...other,
|
|
@@ -4875,7 +4889,7 @@ InputInnerTextarea.options = options14;
|
|
|
4875
4889
|
InputInnerTextarea.className = className4;
|
|
4876
4890
|
|
|
4877
4891
|
// src/input/input-loading-icon.tsx
|
|
4878
|
-
import { Fragment as
|
|
4892
|
+
import { Fragment as Fragment10, jsx as jsx23 } from "react/jsx-runtime";
|
|
4879
4893
|
var className5 = `k-input-loading-icon`;
|
|
4880
4894
|
var states15 = [
|
|
4881
4895
|
States.disabled,
|
|
@@ -4887,13 +4901,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4887
4901
|
loading
|
|
4888
4902
|
} = props;
|
|
4889
4903
|
if (disabled || !loading) {
|
|
4890
|
-
return /* @__PURE__ */
|
|
4904
|
+
return /* @__PURE__ */ jsx23(Fragment10, {});
|
|
4891
4905
|
}
|
|
4892
|
-
return /* @__PURE__ */
|
|
4906
|
+
return /* @__PURE__ */ jsx23("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4893
4907
|
};
|
|
4894
4908
|
|
|
4895
4909
|
// src/input/input-validation-icon.tsx
|
|
4896
|
-
import { Fragment as
|
|
4910
|
+
import { Fragment as Fragment11, jsx as jsx24 } from "react/jsx-runtime";
|
|
4897
4911
|
var className6 = `k-input-validation-icon`;
|
|
4898
4912
|
var states16 = [
|
|
4899
4913
|
States.valid,
|
|
@@ -4912,39 +4926,39 @@ var InputValidationIcon = (props) => {
|
|
|
4912
4926
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4913
4927
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4914
4928
|
if (disabled || loading || !renderValidationIcon) {
|
|
4915
|
-
return /* @__PURE__ */
|
|
4929
|
+
return /* @__PURE__ */ jsx24(Fragment11, {});
|
|
4916
4930
|
}
|
|
4917
|
-
return /* @__PURE__ */
|
|
4931
|
+
return /* @__PURE__ */ jsx24(Icon, { className: classNames(className6), icon: iconName });
|
|
4918
4932
|
};
|
|
4919
4933
|
InputValidationIcon.states = states16;
|
|
4920
4934
|
InputValidationIcon.options = options15;
|
|
4921
4935
|
InputValidationIcon.className = className6;
|
|
4922
4936
|
|
|
4923
4937
|
// src/input/input-prefix.tsx
|
|
4924
|
-
import { Fragment as
|
|
4938
|
+
import { Fragment as Fragment12, jsx as jsx25 } from "react/jsx-runtime";
|
|
4925
4939
|
var className7 = `k-input-prefix`;
|
|
4926
4940
|
var InputPrefix = (props) => {
|
|
4927
4941
|
if (!props.children) {
|
|
4928
|
-
return /* @__PURE__ */
|
|
4942
|
+
return /* @__PURE__ */ jsx25(Fragment12, {});
|
|
4929
4943
|
}
|
|
4930
|
-
return /* @__PURE__ */
|
|
4944
|
+
return /* @__PURE__ */ jsx25("span", { className: classNames(className7, props.className), children: props.children });
|
|
4931
4945
|
};
|
|
4932
4946
|
|
|
4933
4947
|
// src/input/input-suffix.tsx
|
|
4934
|
-
import { Fragment as
|
|
4948
|
+
import { Fragment as Fragment13, jsx as jsx26 } from "react/jsx-runtime";
|
|
4935
4949
|
var className8 = `k-input-suffix`;
|
|
4936
4950
|
var InputSuffix = (props) => {
|
|
4937
4951
|
if (!props.children) {
|
|
4938
|
-
return /* @__PURE__ */
|
|
4952
|
+
return /* @__PURE__ */ jsx26(Fragment13, {});
|
|
4939
4953
|
}
|
|
4940
|
-
return /* @__PURE__ */
|
|
4954
|
+
return /* @__PURE__ */ jsx26("span", { className: classNames(className8, props.className), children: props.children });
|
|
4941
4955
|
};
|
|
4942
4956
|
|
|
4943
4957
|
// src/input/input-separator.tsx
|
|
4944
|
-
import { jsx as
|
|
4958
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4945
4959
|
|
|
4946
4960
|
// src/spinbutton/spinbutton.spec.tsx
|
|
4947
|
-
import { jsx as
|
|
4961
|
+
import { jsx as jsx28, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4948
4962
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
4949
4963
|
var states17 = [];
|
|
4950
4964
|
var options16 = {
|
|
@@ -4970,7 +4984,7 @@ var SpinButton = (props) => {
|
|
|
4970
4984
|
props.className
|
|
4971
4985
|
),
|
|
4972
4986
|
children: [
|
|
4973
|
-
/* @__PURE__ */
|
|
4987
|
+
/* @__PURE__ */ jsx28(
|
|
4974
4988
|
Button,
|
|
4975
4989
|
{
|
|
4976
4990
|
className: "k-spinner-increase",
|
|
@@ -4980,7 +4994,7 @@ var SpinButton = (props) => {
|
|
|
4980
4994
|
fillMode
|
|
4981
4995
|
}
|
|
4982
4996
|
),
|
|
4983
|
-
/* @__PURE__ */
|
|
4997
|
+
/* @__PURE__ */ jsx28(
|
|
4984
4998
|
Button,
|
|
4985
4999
|
{
|
|
4986
5000
|
className: "k-spinner-decrease",
|
|
@@ -5000,7 +5014,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5000
5014
|
SpinButton.defaultProps = defaultProps14;
|
|
5001
5015
|
|
|
5002
5016
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5003
|
-
import { jsx as
|
|
5017
|
+
import { jsx as jsx29, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5004
5018
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5005
5019
|
var states18 = [
|
|
5006
5020
|
States.hover,
|
|
@@ -5060,8 +5074,8 @@ var NumericTextbox = (props) => {
|
|
|
5060
5074
|
readonly,
|
|
5061
5075
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5062
5076
|
children: [
|
|
5063
|
-
/* @__PURE__ */
|
|
5064
|
-
/* @__PURE__ */
|
|
5077
|
+
/* @__PURE__ */ jsx29(InputInnerInput, { placeholder, value }),
|
|
5078
|
+
/* @__PURE__ */ jsx29(
|
|
5065
5079
|
InputValidationIcon,
|
|
5066
5080
|
{
|
|
5067
5081
|
valid,
|
|
@@ -5070,14 +5084,14 @@ var NumericTextbox = (props) => {
|
|
|
5070
5084
|
disabled
|
|
5071
5085
|
}
|
|
5072
5086
|
),
|
|
5073
|
-
/* @__PURE__ */
|
|
5087
|
+
/* @__PURE__ */ jsx29(
|
|
5074
5088
|
InputLoadingIcon,
|
|
5075
5089
|
{
|
|
5076
5090
|
loading,
|
|
5077
5091
|
disabled
|
|
5078
5092
|
}
|
|
5079
5093
|
),
|
|
5080
|
-
showClearButton && /* @__PURE__ */
|
|
5094
|
+
showClearButton && /* @__PURE__ */ jsx29(
|
|
5081
5095
|
InputClearValue,
|
|
5082
5096
|
{
|
|
5083
5097
|
loading,
|
|
@@ -5086,7 +5100,7 @@ var NumericTextbox = (props) => {
|
|
|
5086
5100
|
value
|
|
5087
5101
|
}
|
|
5088
5102
|
),
|
|
5089
|
-
showSpinButton && /* @__PURE__ */
|
|
5103
|
+
showSpinButton && /* @__PURE__ */ jsx29(
|
|
5090
5104
|
SpinButton,
|
|
5091
5105
|
{
|
|
5092
5106
|
className: "k-input-spinner",
|
|
@@ -5104,10 +5118,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
5104
5118
|
NumericTextbox.defaultProps = defaultProps15;
|
|
5105
5119
|
|
|
5106
5120
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5107
|
-
import { jsx as
|
|
5121
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5108
5122
|
|
|
5109
5123
|
// src/textbox/textbox.spec.tsx
|
|
5110
|
-
import { jsx as
|
|
5124
|
+
import { jsx as jsx31, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5111
5125
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5112
5126
|
var states19 = [
|
|
5113
5127
|
States.hover,
|
|
@@ -5167,9 +5181,9 @@ var Textbox = (props) => {
|
|
|
5167
5181
|
readonly,
|
|
5168
5182
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5169
5183
|
children: [
|
|
5170
|
-
/* @__PURE__ */
|
|
5171
|
-
/* @__PURE__ */
|
|
5172
|
-
/* @__PURE__ */
|
|
5184
|
+
/* @__PURE__ */ jsx31(InputPrefix, { children: prefix }),
|
|
5185
|
+
/* @__PURE__ */ jsx31(InputInnerInput, { placeholder, value }),
|
|
5186
|
+
/* @__PURE__ */ jsx31(
|
|
5173
5187
|
InputValidationIcon,
|
|
5174
5188
|
{
|
|
5175
5189
|
valid,
|
|
@@ -5178,14 +5192,14 @@ var Textbox = (props) => {
|
|
|
5178
5192
|
disabled
|
|
5179
5193
|
}
|
|
5180
5194
|
),
|
|
5181
|
-
/* @__PURE__ */
|
|
5195
|
+
/* @__PURE__ */ jsx31(
|
|
5182
5196
|
InputLoadingIcon,
|
|
5183
5197
|
{
|
|
5184
5198
|
loading,
|
|
5185
5199
|
disabled
|
|
5186
5200
|
}
|
|
5187
5201
|
),
|
|
5188
|
-
showClearButton && /* @__PURE__ */
|
|
5202
|
+
showClearButton && /* @__PURE__ */ jsx31(
|
|
5189
5203
|
InputClearValue,
|
|
5190
5204
|
{
|
|
5191
5205
|
loading,
|
|
@@ -5194,7 +5208,7 @@ var Textbox = (props) => {
|
|
|
5194
5208
|
value
|
|
5195
5209
|
}
|
|
5196
5210
|
),
|
|
5197
|
-
/* @__PURE__ */
|
|
5211
|
+
/* @__PURE__ */ jsx31(InputSuffix, { children: suffix })
|
|
5198
5212
|
]
|
|
5199
5213
|
}
|
|
5200
5214
|
);
|
|
@@ -5205,16 +5219,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5205
5219
|
Textbox.defaultProps = defaultProps16;
|
|
5206
5220
|
|
|
5207
5221
|
// src/textbox/templates/textbox-normal.tsx
|
|
5208
|
-
import { jsx as
|
|
5222
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5209
5223
|
|
|
5210
5224
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5211
|
-
import { Fragment as
|
|
5225
|
+
import { Fragment as Fragment14, jsx as jsx33, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5212
5226
|
|
|
5213
5227
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5214
|
-
import { Fragment as
|
|
5228
|
+
import { Fragment as Fragment15, jsx as jsx34, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5215
5229
|
|
|
5216
5230
|
// src/animation-container/animation-container.spec.tsx
|
|
5217
|
-
import { jsx as
|
|
5231
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
5218
5232
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5219
5233
|
var states20 = [];
|
|
5220
5234
|
var options19 = {};
|
|
@@ -5228,7 +5242,7 @@ var AnimationContainer = (props) => {
|
|
|
5228
5242
|
offset,
|
|
5229
5243
|
...other
|
|
5230
5244
|
} = props;
|
|
5231
|
-
return /* @__PURE__ */
|
|
5245
|
+
return /* @__PURE__ */ jsx35(
|
|
5232
5246
|
"div",
|
|
5233
5247
|
{
|
|
5234
5248
|
...other,
|
|
@@ -5240,7 +5254,7 @@ var AnimationContainer = (props) => {
|
|
|
5240
5254
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5241
5255
|
}
|
|
5242
5256
|
),
|
|
5243
|
-
children: /* @__PURE__ */
|
|
5257
|
+
children: /* @__PURE__ */ jsx35("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5244
5258
|
}
|
|
5245
5259
|
);
|
|
5246
5260
|
};
|
|
@@ -5250,7 +5264,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5250
5264
|
AnimationContainer.defaultProps = defaultProps17;
|
|
5251
5265
|
|
|
5252
5266
|
// src/popup/popup.spec.tsx
|
|
5253
|
-
import { jsx as
|
|
5267
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5254
5268
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5255
5269
|
var states21 = [];
|
|
5256
5270
|
var options20 = {};
|
|
@@ -5263,12 +5277,12 @@ var Popup = (props) => {
|
|
|
5263
5277
|
positionMode,
|
|
5264
5278
|
...other
|
|
5265
5279
|
} = props;
|
|
5266
|
-
return /* @__PURE__ */
|
|
5280
|
+
return /* @__PURE__ */ jsx36(
|
|
5267
5281
|
AnimationContainer,
|
|
5268
5282
|
{
|
|
5269
5283
|
positionMode,
|
|
5270
5284
|
offset,
|
|
5271
|
-
children: /* @__PURE__ */
|
|
5285
|
+
children: /* @__PURE__ */ jsx36("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5272
5286
|
}
|
|
5273
5287
|
);
|
|
5274
5288
|
};
|
|
@@ -5278,7 +5292,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5278
5292
|
Popup.defaultProps = defaultProps18;
|
|
5279
5293
|
|
|
5280
5294
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5281
|
-
import { Fragment as
|
|
5295
|
+
import { Fragment as Fragment16, jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5282
5296
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5283
5297
|
var states22 = [
|
|
5284
5298
|
States.hover,
|
|
@@ -5326,7 +5340,7 @@ var DropdownList = (props) => {
|
|
|
5326
5340
|
opened,
|
|
5327
5341
|
...other
|
|
5328
5342
|
} = props;
|
|
5329
|
-
return /* @__PURE__ */ jsxs11(
|
|
5343
|
+
return /* @__PURE__ */ jsxs11(Fragment16, { children: [
|
|
5330
5344
|
/* @__PURE__ */ jsxs11(
|
|
5331
5345
|
Picker,
|
|
5332
5346
|
{
|
|
@@ -5350,8 +5364,8 @@ var DropdownList = (props) => {
|
|
|
5350
5364
|
}
|
|
5351
5365
|
),
|
|
5352
5366
|
children: [
|
|
5353
|
-
/* @__PURE__ */
|
|
5354
|
-
/* @__PURE__ */
|
|
5367
|
+
/* @__PURE__ */ jsx37(InputPrefix, { children: prefix }),
|
|
5368
|
+
/* @__PURE__ */ jsx37(
|
|
5355
5369
|
InputInnerSpan,
|
|
5356
5370
|
{
|
|
5357
5371
|
placeholder,
|
|
@@ -5360,7 +5374,7 @@ var DropdownList = (props) => {
|
|
|
5360
5374
|
valueIconName
|
|
5361
5375
|
}
|
|
5362
5376
|
),
|
|
5363
|
-
/* @__PURE__ */
|
|
5377
|
+
/* @__PURE__ */ jsx37(
|
|
5364
5378
|
InputValidationIcon,
|
|
5365
5379
|
{
|
|
5366
5380
|
valid,
|
|
@@ -5369,15 +5383,15 @@ var DropdownList = (props) => {
|
|
|
5369
5383
|
disabled
|
|
5370
5384
|
}
|
|
5371
5385
|
),
|
|
5372
|
-
/* @__PURE__ */
|
|
5386
|
+
/* @__PURE__ */ jsx37(
|
|
5373
5387
|
InputLoadingIcon,
|
|
5374
5388
|
{
|
|
5375
5389
|
loading,
|
|
5376
5390
|
disabled
|
|
5377
5391
|
}
|
|
5378
5392
|
),
|
|
5379
|
-
/* @__PURE__ */
|
|
5380
|
-
/* @__PURE__ */
|
|
5393
|
+
/* @__PURE__ */ jsx37(InputSuffix, { children: suffix }),
|
|
5394
|
+
/* @__PURE__ */ jsx37(
|
|
5381
5395
|
Button,
|
|
5382
5396
|
{
|
|
5383
5397
|
className: "k-input-button",
|
|
@@ -5390,7 +5404,7 @@ var DropdownList = (props) => {
|
|
|
5390
5404
|
]
|
|
5391
5405
|
}
|
|
5392
5406
|
),
|
|
5393
|
-
opened && popup && /* @__PURE__ */
|
|
5407
|
+
opened && popup && /* @__PURE__ */ jsx37(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5394
5408
|
] });
|
|
5395
5409
|
};
|
|
5396
5410
|
DropdownList.states = states22;
|
|
@@ -5399,15 +5413,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5399
5413
|
DropdownList.defaultProps = defaultProps19;
|
|
5400
5414
|
|
|
5401
5415
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5402
|
-
import { jsx as
|
|
5416
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5403
5417
|
|
|
5404
5418
|
// src/nodata/nodata.tsx
|
|
5405
|
-
import { jsx as
|
|
5419
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5406
5420
|
var className9 = `k-nodata`;
|
|
5407
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5421
|
+
var NoData = (props) => /* @__PURE__ */ jsx39("span", { className: classNames(className9, props.className), children: props.children });
|
|
5408
5422
|
|
|
5409
5423
|
// src/list/list.spec.tsx
|
|
5410
|
-
import { jsx as
|
|
5424
|
+
import { jsx as jsx40, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5411
5425
|
var LIST_CLASSNAME = `k-list`;
|
|
5412
5426
|
var states23 = [];
|
|
5413
5427
|
var options22 = {
|
|
@@ -5435,7 +5449,7 @@ var List = (props) => {
|
|
|
5435
5449
|
listHeader = child.props.label;
|
|
5436
5450
|
child.props.children.map((optChild, index2) => {
|
|
5437
5451
|
listChildren.push(
|
|
5438
|
-
/* @__PURE__ */
|
|
5452
|
+
/* @__PURE__ */ jsx40(
|
|
5439
5453
|
ListItem,
|
|
5440
5454
|
{
|
|
5441
5455
|
...optChild.props
|
|
@@ -5451,7 +5465,7 @@ var List = (props) => {
|
|
|
5451
5465
|
groupLabel = child.props.label;
|
|
5452
5466
|
}
|
|
5453
5467
|
listChildren.push(
|
|
5454
|
-
/* @__PURE__ */
|
|
5468
|
+
/* @__PURE__ */ jsx40(
|
|
5455
5469
|
ListItem,
|
|
5456
5470
|
{
|
|
5457
5471
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5463,14 +5477,14 @@ var List = (props) => {
|
|
|
5463
5477
|
);
|
|
5464
5478
|
});
|
|
5465
5479
|
}
|
|
5466
|
-
listGroup = /* @__PURE__ */
|
|
5480
|
+
listGroup = /* @__PURE__ */ jsx40(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5467
5481
|
} else if (child.type === ListItem) {
|
|
5468
|
-
listChildren.push(/* @__PURE__ */
|
|
5469
|
-
listContent = /* @__PURE__ */
|
|
5482
|
+
listChildren.push(/* @__PURE__ */ jsx40(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5483
|
+
listContent = /* @__PURE__ */ jsx40(ListContent, { virtualization, children: listChildren });
|
|
5470
5484
|
}
|
|
5471
5485
|
});
|
|
5472
5486
|
} else {
|
|
5473
|
-
listContent = /* @__PURE__ */
|
|
5487
|
+
listContent = /* @__PURE__ */ jsx40(NoData, { children: "No data found." });
|
|
5474
5488
|
}
|
|
5475
5489
|
return /* @__PURE__ */ jsxs12(
|
|
5476
5490
|
"div",
|
|
@@ -5500,7 +5514,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5500
5514
|
List.defaultProps = defaultProps20;
|
|
5501
5515
|
|
|
5502
5516
|
// src/list/list-angular.spec.tsx
|
|
5503
|
-
import { jsx as
|
|
5517
|
+
import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5504
5518
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5505
5519
|
var states24 = [];
|
|
5506
5520
|
var options23 = {
|
|
@@ -5527,7 +5541,7 @@ var ListAngular = (props) => {
|
|
|
5527
5541
|
listHeader = child.props.label;
|
|
5528
5542
|
child.props.children.map((optChild, index2) => {
|
|
5529
5543
|
listChildren.push(
|
|
5530
|
-
/* @__PURE__ */
|
|
5544
|
+
/* @__PURE__ */ jsx41(
|
|
5531
5545
|
ListItem,
|
|
5532
5546
|
{
|
|
5533
5547
|
...optChild.props
|
|
@@ -5538,7 +5552,7 @@ var ListAngular = (props) => {
|
|
|
5538
5552
|
});
|
|
5539
5553
|
} else {
|
|
5540
5554
|
listChildren.push(
|
|
5541
|
-
/* @__PURE__ */
|
|
5555
|
+
/* @__PURE__ */ jsx41(
|
|
5542
5556
|
ListGroupItem,
|
|
5543
5557
|
{
|
|
5544
5558
|
...child.props,
|
|
@@ -5549,7 +5563,7 @@ var ListAngular = (props) => {
|
|
|
5549
5563
|
);
|
|
5550
5564
|
child.props.children.map((optChild, index2) => {
|
|
5551
5565
|
listChildren.push(
|
|
5552
|
-
/* @__PURE__ */
|
|
5566
|
+
/* @__PURE__ */ jsx41(
|
|
5553
5567
|
ListItem,
|
|
5554
5568
|
{
|
|
5555
5569
|
...optChild.props
|
|
@@ -5559,14 +5573,14 @@ var ListAngular = (props) => {
|
|
|
5559
5573
|
);
|
|
5560
5574
|
});
|
|
5561
5575
|
}
|
|
5562
|
-
listGroup = /* @__PURE__ */
|
|
5576
|
+
listGroup = /* @__PURE__ */ jsx41(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5563
5577
|
} else if (child.type === ListItem) {
|
|
5564
|
-
listChildren.push(/* @__PURE__ */
|
|
5565
|
-
listContent = /* @__PURE__ */
|
|
5578
|
+
listChildren.push(/* @__PURE__ */ jsx41(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5579
|
+
listContent = /* @__PURE__ */ jsx41(ListContent, { virtualization, children: listChildren });
|
|
5566
5580
|
}
|
|
5567
5581
|
});
|
|
5568
5582
|
} else {
|
|
5569
|
-
listContent = /* @__PURE__ */
|
|
5583
|
+
listContent = /* @__PURE__ */ jsx41(NoData, { children: "No data found." });
|
|
5570
5584
|
}
|
|
5571
5585
|
return /* @__PURE__ */ jsxs13(
|
|
5572
5586
|
"div",
|
|
@@ -5595,7 +5609,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5595
5609
|
ListAngular.defaultProps = defaultProps21;
|
|
5596
5610
|
|
|
5597
5611
|
// src/list/list-item.spec.tsx
|
|
5598
|
-
import { jsx as
|
|
5612
|
+
import { jsx as jsx42, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5599
5613
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5600
5614
|
var states25 = [
|
|
5601
5615
|
States.hover,
|
|
@@ -5635,10 +5649,10 @@ var ListItem = (props) => {
|
|
|
5635
5649
|
})
|
|
5636
5650
|
),
|
|
5637
5651
|
children: [
|
|
5638
|
-
showCheckbox && /* @__PURE__ */
|
|
5639
|
-
showIcon && /* @__PURE__ */
|
|
5640
|
-
/* @__PURE__ */
|
|
5641
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5652
|
+
showCheckbox && /* @__PURE__ */ jsx42(Checkbox, { checked }),
|
|
5653
|
+
showIcon && /* @__PURE__ */ jsx42(Icon, { icon: iconName }),
|
|
5654
|
+
/* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5655
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx42("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5642
5656
|
]
|
|
5643
5657
|
}
|
|
5644
5658
|
);
|
|
@@ -5649,43 +5663,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5649
5663
|
ListItem.defaultProps = defaultProps22;
|
|
5650
5664
|
|
|
5651
5665
|
// src/list/list-content.tsx
|
|
5652
|
-
import { jsx as
|
|
5666
|
+
import { jsx as jsx43, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5653
5667
|
var className10 = `k-list-content`;
|
|
5654
5668
|
var ListContent = (props) => {
|
|
5655
5669
|
const {
|
|
5656
5670
|
virtualization
|
|
5657
5671
|
} = props;
|
|
5658
5672
|
return /* @__PURE__ */ jsxs15("div", { className: classNames(className10, props.className), children: [
|
|
5659
|
-
/* @__PURE__ */
|
|
5660
|
-
virtualization && /* @__PURE__ */
|
|
5673
|
+
/* @__PURE__ */ jsx43("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5674
|
+
virtualization && /* @__PURE__ */ jsx43("div", { className: "k-height-container", children: /* @__PURE__ */ jsx43("div", {}) })
|
|
5661
5675
|
] });
|
|
5662
5676
|
};
|
|
5663
5677
|
|
|
5664
5678
|
// src/list/list-header.tsx
|
|
5665
|
-
import { jsx as
|
|
5679
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5666
5680
|
var className11 = `k-list-group-sticky-header`;
|
|
5667
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5681
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx44("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx44("div", { className: "k-list-header-text", children: props.children }) });
|
|
5668
5682
|
|
|
5669
5683
|
// src/list/list-group.tsx
|
|
5670
|
-
import { Fragment as
|
|
5684
|
+
import { Fragment as Fragment17, jsx as jsx45, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5671
5685
|
var ListGroup = (props) => {
|
|
5672
5686
|
const {
|
|
5673
5687
|
virtualization,
|
|
5674
5688
|
label
|
|
5675
5689
|
} = props;
|
|
5676
|
-
return /* @__PURE__ */ jsxs16(
|
|
5677
|
-
label && /* @__PURE__ */
|
|
5678
|
-
props.children && /* @__PURE__ */
|
|
5690
|
+
return /* @__PURE__ */ jsxs16(Fragment17, { children: [
|
|
5691
|
+
label && /* @__PURE__ */ jsx45(ListHeader, { children: label }),
|
|
5692
|
+
props.children && /* @__PURE__ */ jsx45(ListContent, { virtualization, children: props.children })
|
|
5679
5693
|
] });
|
|
5680
5694
|
};
|
|
5681
5695
|
|
|
5682
5696
|
// src/list/list-group-item.tsx
|
|
5683
|
-
import { jsx as
|
|
5697
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5684
5698
|
var className12 = `k-list-group-item`;
|
|
5685
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5699
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx46("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx46("span", { className: "k-list-item-text", children: props.children }) });
|
|
5686
5700
|
|
|
5687
5701
|
// src/list/list-option-label.tsx
|
|
5688
|
-
import { jsx as
|
|
5702
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5689
5703
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5690
5704
|
var states26 = [
|
|
5691
5705
|
States.hover,
|
|
@@ -5704,7 +5718,7 @@ var ListOptionLabel = (props) => {
|
|
|
5704
5718
|
disabled,
|
|
5705
5719
|
...other
|
|
5706
5720
|
} = props;
|
|
5707
|
-
return /* @__PURE__ */
|
|
5721
|
+
return /* @__PURE__ */ jsx47(
|
|
5708
5722
|
"div",
|
|
5709
5723
|
{
|
|
5710
5724
|
...other,
|
|
@@ -5727,31 +5741,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5727
5741
|
ListOptionLabel.defaultProps = defaultProps23;
|
|
5728
5742
|
|
|
5729
5743
|
// src/list/templates/list-normal.tsx
|
|
5730
|
-
import { jsx as
|
|
5744
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5731
5745
|
|
|
5732
5746
|
// src/list/templates/list-virtualization.tsx
|
|
5733
|
-
import { jsx as
|
|
5747
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5734
5748
|
|
|
5735
5749
|
// src/list/templates/list-grouping.tsx
|
|
5736
|
-
import { jsx as
|
|
5750
|
+
import { jsx as jsx50, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5737
5751
|
|
|
5738
5752
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5739
|
-
import { jsx as
|
|
5753
|
+
import { jsx as jsx51, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5740
5754
|
|
|
5741
5755
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5742
|
-
import { jsx as
|
|
5756
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5743
5757
|
|
|
5744
5758
|
// src/list/templates/list-grouping-angular.tsx
|
|
5745
|
-
import { jsx as
|
|
5759
|
+
import { jsx as jsx53, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5746
5760
|
|
|
5747
5761
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5748
|
-
import { jsx as
|
|
5762
|
+
import { jsx as jsx54, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5749
5763
|
|
|
5750
5764
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5751
|
-
import { jsx as
|
|
5765
|
+
import { jsx as jsx55, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5752
5766
|
|
|
5753
5767
|
// src/searchbox/searchbox.spec.tsx
|
|
5754
|
-
import { jsx as
|
|
5768
|
+
import { jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5755
5769
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5756
5770
|
var states27 = [
|
|
5757
5771
|
States.hover,
|
|
@@ -5808,11 +5822,11 @@ var Searchbox = (props) => {
|
|
|
5808
5822
|
disabled,
|
|
5809
5823
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5810
5824
|
children: [
|
|
5811
|
-
showIcon && /* @__PURE__ */
|
|
5812
|
-
/* @__PURE__ */
|
|
5813
|
-
/* @__PURE__ */
|
|
5814
|
-
/* @__PURE__ */
|
|
5815
|
-
/* @__PURE__ */
|
|
5825
|
+
showIcon && /* @__PURE__ */ jsx56(Icon, { className: "k-input-icon", icon }),
|
|
5826
|
+
/* @__PURE__ */ jsx56(InputInnerInput, { placeholder, value }),
|
|
5827
|
+
/* @__PURE__ */ jsx56(InputLoadingIcon, { ...props }),
|
|
5828
|
+
/* @__PURE__ */ jsx56(InputValidationIcon, { ...props }),
|
|
5829
|
+
/* @__PURE__ */ jsx56(InputClearValue, { ...props })
|
|
5816
5830
|
]
|
|
5817
5831
|
}
|
|
5818
5832
|
);
|
|
@@ -5823,19 +5837,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5823
5837
|
Searchbox.defaultProps = defaultProps24;
|
|
5824
5838
|
|
|
5825
5839
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5826
|
-
import { jsx as
|
|
5840
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5827
5841
|
|
|
5828
5842
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5829
|
-
import { Fragment as
|
|
5843
|
+
import { Fragment as Fragment18, jsx as jsx58, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5830
5844
|
|
|
5831
5845
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5832
|
-
import { jsx as
|
|
5846
|
+
import { jsx as jsx59, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5833
5847
|
|
|
5834
5848
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5835
|
-
import { Fragment as
|
|
5849
|
+
import { Fragment as Fragment19, jsx as jsx60, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5836
5850
|
|
|
5837
5851
|
// src/calendar/calendar.spec.tsx
|
|
5838
|
-
import { jsx as
|
|
5852
|
+
import { jsx as jsx61, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5839
5853
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5840
5854
|
var states28 = [];
|
|
5841
5855
|
var options27 = {
|
|
@@ -5879,7 +5893,7 @@ var Calendar = (props) => {
|
|
|
5879
5893
|
}
|
|
5880
5894
|
),
|
|
5881
5895
|
children: [
|
|
5882
|
-
/* @__PURE__ */
|
|
5896
|
+
/* @__PURE__ */ jsx61(
|
|
5883
5897
|
CalendarHeader,
|
|
5884
5898
|
{
|
|
5885
5899
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5889,7 +5903,7 @@ var Calendar = (props) => {
|
|
|
5889
5903
|
dir
|
|
5890
5904
|
}
|
|
5891
5905
|
),
|
|
5892
|
-
/* @__PURE__ */
|
|
5906
|
+
/* @__PURE__ */ jsx61(
|
|
5893
5907
|
CalendarView,
|
|
5894
5908
|
{
|
|
5895
5909
|
calendarView,
|
|
@@ -5901,7 +5915,7 @@ var Calendar = (props) => {
|
|
|
5901
5915
|
selectedRange
|
|
5902
5916
|
}
|
|
5903
5917
|
),
|
|
5904
|
-
showCalendarFooter && /* @__PURE__ */
|
|
5918
|
+
showCalendarFooter && /* @__PURE__ */ jsx61(CalendarFooter, {})
|
|
5905
5919
|
]
|
|
5906
5920
|
}
|
|
5907
5921
|
);
|
|
@@ -5912,7 +5926,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5912
5926
|
Calendar.defaultProps = defaultProps25;
|
|
5913
5927
|
|
|
5914
5928
|
// src/calendar/calendar-cell.tsx
|
|
5915
|
-
import { jsx as
|
|
5929
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5916
5930
|
var states29 = [
|
|
5917
5931
|
States.hover,
|
|
5918
5932
|
States.focus,
|
|
@@ -5962,16 +5976,16 @@ var CalendarCell = (props) => {
|
|
|
5962
5976
|
}
|
|
5963
5977
|
];
|
|
5964
5978
|
if (headerCell) {
|
|
5965
|
-
return /* @__PURE__ */
|
|
5979
|
+
return /* @__PURE__ */ jsx62("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5966
5980
|
}
|
|
5967
5981
|
if (weekCell) {
|
|
5968
|
-
return /* @__PURE__ */
|
|
5982
|
+
return /* @__PURE__ */ jsx62("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5969
5983
|
}
|
|
5970
|
-
return /* @__PURE__ */
|
|
5984
|
+
return /* @__PURE__ */ jsx62("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ jsx62("span", { className: "k-link", children: text }) });
|
|
5971
5985
|
};
|
|
5972
5986
|
|
|
5973
5987
|
// src/calendar/calendar-header.tsx
|
|
5974
|
-
import { jsx as
|
|
5988
|
+
import { jsx as jsx63, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5975
5989
|
var className13 = `k-calendar-header`;
|
|
5976
5990
|
var options28 = {
|
|
5977
5991
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -6005,12 +6019,12 @@ var CalendarHeader = (props) => {
|
|
|
6005
6019
|
}
|
|
6006
6020
|
),
|
|
6007
6021
|
children: [
|
|
6008
|
-
/* @__PURE__ */
|
|
6009
|
-
/* @__PURE__ */
|
|
6022
|
+
/* @__PURE__ */ jsx63(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
6023
|
+
/* @__PURE__ */ jsx63("span", { className: "k-spacer" }),
|
|
6010
6024
|
/* @__PURE__ */ jsxs27("span", { className: "k-calendar-nav", children: [
|
|
6011
|
-
/* @__PURE__ */
|
|
6012
|
-
showToday && /* @__PURE__ */
|
|
6013
|
-
/* @__PURE__ */
|
|
6025
|
+
/* @__PURE__ */ jsx63(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
6026
|
+
showToday && /* @__PURE__ */ jsx63(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
6027
|
+
/* @__PURE__ */ jsx63(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
6014
6028
|
] })
|
|
6015
6029
|
]
|
|
6016
6030
|
}
|
|
@@ -6018,12 +6032,12 @@ var CalendarHeader = (props) => {
|
|
|
6018
6032
|
};
|
|
6019
6033
|
|
|
6020
6034
|
// src/calendar/calendar-footer.tsx
|
|
6021
|
-
import { jsx as
|
|
6035
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6022
6036
|
var className14 = `k-calendar-footer`;
|
|
6023
|
-
var CalendarFooter = (props) => /* @__PURE__ */
|
|
6037
|
+
var CalendarFooter = (props) => /* @__PURE__ */ jsx64("div", { ...props, className: classNames(props.className, className14), children: /* @__PURE__ */ jsx64(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
6024
6038
|
|
|
6025
6039
|
// src/calendar/calendar-table.tsx
|
|
6026
|
-
import { jsx as
|
|
6040
|
+
import { jsx as jsx65, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6027
6041
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
6028
6042
|
var CalendarTable = (props) => {
|
|
6029
6043
|
const {
|
|
@@ -6044,25 +6058,25 @@ var CalendarTable = (props) => {
|
|
|
6044
6058
|
CALENDARTABLE_CLASSNAME
|
|
6045
6059
|
),
|
|
6046
6060
|
children: [
|
|
6047
|
-
showCalendarCaption && /* @__PURE__ */
|
|
6061
|
+
showCalendarCaption && /* @__PURE__ */ jsx65("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
6048
6062
|
/* @__PURE__ */ jsxs28("tbody", { className: "k-calendar-tbody", children: [
|
|
6049
6063
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6050
|
-
/* @__PURE__ */
|
|
6051
|
-
/* @__PURE__ */
|
|
6052
|
-
/* @__PURE__ */
|
|
6053
|
-
/* @__PURE__ */
|
|
6064
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Jan" }),
|
|
6065
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Feb" }),
|
|
6066
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Mar" }),
|
|
6067
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Apr" })
|
|
6054
6068
|
] }),
|
|
6055
6069
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6056
|
-
/* @__PURE__ */
|
|
6057
|
-
/* @__PURE__ */
|
|
6058
|
-
/* @__PURE__ */
|
|
6059
|
-
/* @__PURE__ */
|
|
6070
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "May" }),
|
|
6071
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Jun", hover: true }),
|
|
6072
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Jul", focus: true }),
|
|
6073
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Au", selected: true })
|
|
6060
6074
|
] }),
|
|
6061
6075
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6062
|
-
/* @__PURE__ */
|
|
6063
|
-
/* @__PURE__ */
|
|
6064
|
-
/* @__PURE__ */
|
|
6065
|
-
/* @__PURE__ */
|
|
6076
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Sep" }),
|
|
6077
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Oct", today: true }),
|
|
6078
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Nov" }),
|
|
6079
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "Dec" })
|
|
6066
6080
|
] })
|
|
6067
6081
|
] })
|
|
6068
6082
|
]
|
|
@@ -6079,25 +6093,25 @@ var CalendarTable = (props) => {
|
|
|
6079
6093
|
CALENDARTABLE_CLASSNAME
|
|
6080
6094
|
),
|
|
6081
6095
|
children: [
|
|
6082
|
-
showCalendarCaption && /* @__PURE__ */
|
|
6096
|
+
showCalendarCaption && /* @__PURE__ */ jsx65("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
6083
6097
|
/* @__PURE__ */ jsxs28("tbody", { className: "k-calendar-tbody", children: [
|
|
6084
6098
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6085
|
-
/* @__PURE__ */
|
|
6086
|
-
/* @__PURE__ */
|
|
6087
|
-
/* @__PURE__ */
|
|
6088
|
-
/* @__PURE__ */
|
|
6099
|
+
/* @__PURE__ */ jsx65(CalendarCell, { className: "k-out-of-range" }),
|
|
6100
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2020" }),
|
|
6101
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2021", today: true }),
|
|
6102
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2022" })
|
|
6089
6103
|
] }),
|
|
6090
6104
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6091
|
-
/* @__PURE__ */
|
|
6092
|
-
/* @__PURE__ */
|
|
6093
|
-
/* @__PURE__ */
|
|
6094
|
-
/* @__PURE__ */
|
|
6105
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2023" }),
|
|
6106
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2024", hover: true }),
|
|
6107
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2025", focus: true }),
|
|
6108
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2026", selected: true })
|
|
6095
6109
|
] }),
|
|
6096
6110
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6097
|
-
/* @__PURE__ */
|
|
6098
|
-
/* @__PURE__ */
|
|
6099
|
-
/* @__PURE__ */
|
|
6100
|
-
/* @__PURE__ */
|
|
6111
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2027" }),
|
|
6112
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2028" }),
|
|
6113
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2029" }),
|
|
6114
|
+
/* @__PURE__ */ jsx65(CalendarCell, { className: "k-out-of-range" })
|
|
6101
6115
|
] })
|
|
6102
6116
|
] })
|
|
6103
6117
|
]
|
|
@@ -6114,25 +6128,25 @@ var CalendarTable = (props) => {
|
|
|
6114
6128
|
CALENDARTABLE_CLASSNAME
|
|
6115
6129
|
),
|
|
6116
6130
|
children: [
|
|
6117
|
-
showCalendarCaption && /* @__PURE__ */
|
|
6131
|
+
showCalendarCaption && /* @__PURE__ */ jsx65("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
6118
6132
|
/* @__PURE__ */ jsxs28("tbody", { className: "k-calendar-tbody", children: [
|
|
6119
6133
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6120
|
-
/* @__PURE__ */
|
|
6121
|
-
/* @__PURE__ */
|
|
6122
|
-
/* @__PURE__ */
|
|
6123
|
-
/* @__PURE__ */
|
|
6134
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "1990 - 1999" }),
|
|
6135
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2000 - 2009" }),
|
|
6136
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
6137
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2020 - 2029" })
|
|
6124
6138
|
] }),
|
|
6125
6139
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6126
|
-
/* @__PURE__ */
|
|
6127
|
-
/* @__PURE__ */
|
|
6128
|
-
/* @__PURE__ */
|
|
6129
|
-
/* @__PURE__ */
|
|
6140
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2030 - 2039" }),
|
|
6141
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
6142
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
6143
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
6130
6144
|
] }),
|
|
6131
6145
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6132
|
-
/* @__PURE__ */
|
|
6133
|
-
/* @__PURE__ */
|
|
6134
|
-
/* @__PURE__ */
|
|
6135
|
-
/* @__PURE__ */
|
|
6146
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2070 - 2079" }),
|
|
6147
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2080 - 2089" }),
|
|
6148
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2090 - 2099" }),
|
|
6149
|
+
/* @__PURE__ */ jsx65(CalendarCell, { className: "k-out-of-range" })
|
|
6136
6150
|
] })
|
|
6137
6151
|
] })
|
|
6138
6152
|
]
|
|
@@ -6148,68 +6162,68 @@ var CalendarTable = (props) => {
|
|
|
6148
6162
|
CALENDARTABLE_CLASSNAME
|
|
6149
6163
|
),
|
|
6150
6164
|
children: [
|
|
6151
|
-
showCalendarCaption && /* @__PURE__ */
|
|
6152
|
-
/* @__PURE__ */
|
|
6165
|
+
showCalendarCaption && /* @__PURE__ */ jsx65("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
6166
|
+
/* @__PURE__ */ jsx65(CalendarTableHead, { showWeek }),
|
|
6153
6167
|
/* @__PURE__ */ jsxs28("tbody", { className: "k-calendar-tbody", children: [
|
|
6154
6168
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6155
|
-
showWeek && /* @__PURE__ */
|
|
6156
|
-
/* @__PURE__ */
|
|
6157
|
-
/* @__PURE__ */
|
|
6158
|
-
/* @__PURE__ */
|
|
6159
|
-
/* @__PURE__ */
|
|
6160
|
-
/* @__PURE__ */
|
|
6161
|
-
/* @__PURE__ */
|
|
6162
|
-
/* @__PURE__ */
|
|
6169
|
+
showWeek && /* @__PURE__ */ jsx65(CalendarCell, { text: "39", weekCell: true }),
|
|
6170
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
6171
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "1" }),
|
|
6172
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2" }),
|
|
6173
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "3" }),
|
|
6174
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "4" }),
|
|
6175
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "5" }),
|
|
6176
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "6", weekend: true })
|
|
6163
6177
|
] }),
|
|
6164
6178
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6165
|
-
showWeek && /* @__PURE__ */
|
|
6166
|
-
/* @__PURE__ */
|
|
6167
|
-
/* @__PURE__ */
|
|
6168
|
-
/* @__PURE__ */
|
|
6169
|
-
/* @__PURE__ */
|
|
6170
|
-
/* @__PURE__ */
|
|
6171
|
-
/* @__PURE__ */
|
|
6172
|
-
/* @__PURE__ */
|
|
6179
|
+
showWeek && /* @__PURE__ */ jsx65(CalendarCell, { text: "40", weekCell: true }),
|
|
6180
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "7", weekend: true }),
|
|
6181
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "8", hover: true }),
|
|
6182
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "9", focus: true }),
|
|
6183
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "10", selected: true }),
|
|
6184
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
6185
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
6186
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "13", weekend: true })
|
|
6173
6187
|
] }),
|
|
6174
6188
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6175
|
-
showWeek && /* @__PURE__ */
|
|
6176
|
-
/* @__PURE__ */
|
|
6177
|
-
/* @__PURE__ */
|
|
6178
|
-
/* @__PURE__ */
|
|
6179
|
-
/* @__PURE__ */
|
|
6180
|
-
/* @__PURE__ */
|
|
6181
|
-
/* @__PURE__ */
|
|
6182
|
-
/* @__PURE__ */
|
|
6189
|
+
showWeek && /* @__PURE__ */ jsx65(CalendarCell, { text: "41", weekCell: true }),
|
|
6190
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "14", weekend: true }),
|
|
6191
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "15" }),
|
|
6192
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "16", today: true }),
|
|
6193
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "17" }),
|
|
6194
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "18" }),
|
|
6195
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "19" }),
|
|
6196
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "20", weekend: true })
|
|
6183
6197
|
] }),
|
|
6184
6198
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6185
|
-
showWeek && /* @__PURE__ */
|
|
6186
|
-
/* @__PURE__ */
|
|
6187
|
-
/* @__PURE__ */
|
|
6188
|
-
/* @__PURE__ */
|
|
6189
|
-
/* @__PURE__ */
|
|
6190
|
-
/* @__PURE__ */
|
|
6191
|
-
/* @__PURE__ */
|
|
6192
|
-
/* @__PURE__ */
|
|
6199
|
+
showWeek && /* @__PURE__ */ jsx65(CalendarCell, { text: "42", weekCell: true }),
|
|
6200
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "21", weekend: true }),
|
|
6201
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "22" }),
|
|
6202
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "23" }),
|
|
6203
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "24" }),
|
|
6204
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
6205
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
6206
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
6193
6207
|
] }),
|
|
6194
6208
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6195
|
-
showWeek && /* @__PURE__ */
|
|
6196
|
-
/* @__PURE__ */
|
|
6197
|
-
/* @__PURE__ */
|
|
6198
|
-
/* @__PURE__ */
|
|
6199
|
-
/* @__PURE__ */
|
|
6200
|
-
/* @__PURE__ */
|
|
6201
|
-
/* @__PURE__ */
|
|
6202
|
-
/* @__PURE__ */
|
|
6209
|
+
showWeek && /* @__PURE__ */ jsx65(CalendarCell, { text: "43", weekCell: true }),
|
|
6210
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
6211
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
6212
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "30" }),
|
|
6213
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "31" }),
|
|
6214
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
6215
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
6216
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
6203
6217
|
] }),
|
|
6204
6218
|
/* @__PURE__ */ jsxs28("tr", { className: "k-calendar-tr", children: [
|
|
6205
|
-
showWeek && /* @__PURE__ */
|
|
6206
|
-
/* @__PURE__ */
|
|
6207
|
-
/* @__PURE__ */
|
|
6208
|
-
/* @__PURE__ */
|
|
6209
|
-
/* @__PURE__ */
|
|
6210
|
-
/* @__PURE__ */
|
|
6211
|
-
/* @__PURE__ */
|
|
6212
|
-
/* @__PURE__ */
|
|
6219
|
+
showWeek && /* @__PURE__ */ jsx65(CalendarCell, { text: "44", weekCell: true }),
|
|
6220
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
6221
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
6222
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
6223
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
6224
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
6225
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
6226
|
+
/* @__PURE__ */ jsx65(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
6213
6227
|
] })
|
|
6214
6228
|
] })
|
|
6215
6229
|
]
|
|
@@ -6218,34 +6232,34 @@ var CalendarTable = (props) => {
|
|
|
6218
6232
|
};
|
|
6219
6233
|
|
|
6220
6234
|
// src/calendar/calendar-table-head.tsx
|
|
6221
|
-
import { jsx as
|
|
6235
|
+
import { jsx as jsx66, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6222
6236
|
var className15 = `k-calendar-thead`;
|
|
6223
6237
|
var CalendarTableHead = (props) => {
|
|
6224
6238
|
const {
|
|
6225
6239
|
showWeek,
|
|
6226
6240
|
...other
|
|
6227
6241
|
} = props;
|
|
6228
|
-
return /* @__PURE__ */
|
|
6242
|
+
return /* @__PURE__ */ jsx66(
|
|
6229
6243
|
"thead",
|
|
6230
6244
|
{
|
|
6231
6245
|
...other,
|
|
6232
6246
|
className: classNames(props.className, className15),
|
|
6233
6247
|
children: /* @__PURE__ */ jsxs29("tr", { className: "k-calendar-tr", children: [
|
|
6234
|
-
showWeek && /* @__PURE__ */
|
|
6235
|
-
/* @__PURE__ */
|
|
6236
|
-
/* @__PURE__ */
|
|
6237
|
-
/* @__PURE__ */
|
|
6238
|
-
/* @__PURE__ */
|
|
6239
|
-
/* @__PURE__ */
|
|
6240
|
-
/* @__PURE__ */
|
|
6241
|
-
/* @__PURE__ */
|
|
6248
|
+
showWeek && /* @__PURE__ */ jsx66(CalendarCell, { weekCell: true, headerCell: true }),
|
|
6249
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "Su", headerCell: true }),
|
|
6250
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "Mo", headerCell: true }),
|
|
6251
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "Tu", headerCell: true }),
|
|
6252
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "We", headerCell: true }),
|
|
6253
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "Th", headerCell: true }),
|
|
6254
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "Fr", headerCell: true }),
|
|
6255
|
+
/* @__PURE__ */ jsx66(CalendarCell, { text: "Sa", headerCell: true })
|
|
6242
6256
|
] })
|
|
6243
6257
|
}
|
|
6244
6258
|
);
|
|
6245
6259
|
};
|
|
6246
6260
|
|
|
6247
6261
|
// src/calendar/calendar-view.tsx
|
|
6248
|
-
import { jsx as
|
|
6262
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
6249
6263
|
var className16 = `k-calendar-view`;
|
|
6250
6264
|
var defaultProps27 = {
|
|
6251
6265
|
viewsCount: 1,
|
|
@@ -6263,7 +6277,7 @@ var CalendarView = (props) => {
|
|
|
6263
6277
|
selectedRange,
|
|
6264
6278
|
...other
|
|
6265
6279
|
} = props;
|
|
6266
|
-
return /* @__PURE__ */
|
|
6280
|
+
return /* @__PURE__ */ jsx67(
|
|
6267
6281
|
"div",
|
|
6268
6282
|
{
|
|
6269
6283
|
...other,
|
|
@@ -6279,7 +6293,7 @@ var CalendarView = (props) => {
|
|
|
6279
6293
|
}
|
|
6280
6294
|
),
|
|
6281
6295
|
children: [...Array(viewsCount)].map(
|
|
6282
|
-
(_e, i) => /* @__PURE__ */
|
|
6296
|
+
(_e, i) => /* @__PURE__ */ jsx67(
|
|
6283
6297
|
CalendarTable,
|
|
6284
6298
|
{
|
|
6285
6299
|
calendarView,
|
|
@@ -6296,7 +6310,7 @@ var CalendarView = (props) => {
|
|
|
6296
6310
|
};
|
|
6297
6311
|
|
|
6298
6312
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6299
|
-
import { Fragment as
|
|
6313
|
+
import { Fragment as Fragment20, jsx as jsx68, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6300
6314
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6301
6315
|
var states30 = [];
|
|
6302
6316
|
var options29 = {};
|
|
@@ -6319,8 +6333,8 @@ var ActionSheet = (props) => {
|
|
|
6319
6333
|
overlay = defaultProps28.overlay,
|
|
6320
6334
|
...other
|
|
6321
6335
|
} = props;
|
|
6322
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6323
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6336
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx68(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6337
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx68(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx68(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6324
6338
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6325
6339
|
switch (child.type) {
|
|
6326
6340
|
case ActionSheetHeader:
|
|
@@ -6330,10 +6344,10 @@ var ActionSheet = (props) => {
|
|
|
6330
6344
|
return true;
|
|
6331
6345
|
}
|
|
6332
6346
|
return true;
|
|
6333
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6347
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx68(Fragment20, {});
|
|
6334
6348
|
return /* @__PURE__ */ jsxs30("div", { className: "k-actionsheet-container", children: [
|
|
6335
|
-
overlay && /* @__PURE__ */
|
|
6336
|
-
/* @__PURE__ */
|
|
6349
|
+
overlay && /* @__PURE__ */ jsx68("div", { className: "k-overlay" }),
|
|
6350
|
+
/* @__PURE__ */ jsx68(
|
|
6337
6351
|
AnimationContainer,
|
|
6338
6352
|
{
|
|
6339
6353
|
animationStyle: {
|
|
@@ -6343,7 +6357,7 @@ var ActionSheet = (props) => {
|
|
|
6343
6357
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6344
6358
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6345
6359
|
},
|
|
6346
|
-
children: /* @__PURE__ */
|
|
6360
|
+
children: /* @__PURE__ */ jsx68(
|
|
6347
6361
|
"div",
|
|
6348
6362
|
{
|
|
6349
6363
|
...other,
|
|
@@ -6356,9 +6370,9 @@ var ActionSheet = (props) => {
|
|
|
6356
6370
|
"k-adaptive-actionsheet": adaptive
|
|
6357
6371
|
}
|
|
6358
6372
|
),
|
|
6359
|
-
children: /* @__PURE__ */ jsxs30(
|
|
6373
|
+
children: /* @__PURE__ */ jsxs30(Fragment20, { children: [
|
|
6360
6374
|
_ActionSheetHeader,
|
|
6361
|
-
/* @__PURE__ */
|
|
6375
|
+
/* @__PURE__ */ jsx68("div", { className: classNames(
|
|
6362
6376
|
"k-actionsheet-content",
|
|
6363
6377
|
{
|
|
6364
6378
|
"!k-overflow-hidden": adaptive
|
|
@@ -6378,7 +6392,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6378
6392
|
ActionSheet.defaultProps = defaultProps28;
|
|
6379
6393
|
|
|
6380
6394
|
// src/action-sheet/actionsheet-header.tsx
|
|
6381
|
-
import { Fragment as
|
|
6395
|
+
import { Fragment as Fragment21, jsx as jsx69, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6382
6396
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6383
6397
|
var ActionSheetHeader = (props) => {
|
|
6384
6398
|
const {
|
|
@@ -6388,7 +6402,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6388
6402
|
filter,
|
|
6389
6403
|
...other
|
|
6390
6404
|
} = props;
|
|
6391
|
-
return /* @__PURE__ */
|
|
6405
|
+
return /* @__PURE__ */ jsx69(
|
|
6392
6406
|
"div",
|
|
6393
6407
|
{
|
|
6394
6408
|
...other,
|
|
@@ -6396,30 +6410,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6396
6410
|
props.className,
|
|
6397
6411
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6398
6412
|
),
|
|
6399
|
-
children: /* @__PURE__ */ jsxs31(
|
|
6413
|
+
children: /* @__PURE__ */ jsxs31(Fragment21, { children: [
|
|
6400
6414
|
/* @__PURE__ */ jsxs31("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6401
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6402
|
-
title !== "" && /* @__PURE__ */
|
|
6403
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6415
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx69(Fragment21, { children: /* @__PURE__ */ jsxs31("div", { className: "k-actionsheet-title", children: [
|
|
6416
|
+
title !== "" && /* @__PURE__ */ jsx69("div", { className: "k-text-center", children: title }),
|
|
6417
|
+
subTitle !== "" && /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6404
6418
|
] }) }),
|
|
6405
|
-
props.children && /* @__PURE__ */
|
|
6406
|
-
actions && /* @__PURE__ */
|
|
6419
|
+
props.children && /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6420
|
+
actions && /* @__PURE__ */ jsx69(Fragment21, { children: /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx69(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6407
6421
|
] }),
|
|
6408
|
-
filter && /* @__PURE__ */
|
|
6422
|
+
filter && /* @__PURE__ */ jsx69(Fragment21, { children: /* @__PURE__ */ jsx69("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx69(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6409
6423
|
] })
|
|
6410
6424
|
}
|
|
6411
6425
|
);
|
|
6412
6426
|
};
|
|
6413
6427
|
|
|
6414
6428
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6415
|
-
import { Fragment as
|
|
6429
|
+
import { Fragment as Fragment22, jsx as jsx70, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6416
6430
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6417
6431
|
var ActionSheetFooter = (props) => {
|
|
6418
6432
|
const {
|
|
6419
6433
|
actions,
|
|
6420
6434
|
...other
|
|
6421
6435
|
} = props;
|
|
6422
|
-
return /* @__PURE__ */
|
|
6436
|
+
return /* @__PURE__ */ jsx70(
|
|
6423
6437
|
action_buttons_spec_default,
|
|
6424
6438
|
{
|
|
6425
6439
|
...other,
|
|
@@ -6428,17 +6442,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6428
6442
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6429
6443
|
),
|
|
6430
6444
|
alignment: "stretched",
|
|
6431
|
-
children: /* @__PURE__ */ jsxs32(
|
|
6445
|
+
children: /* @__PURE__ */ jsxs32(Fragment22, { children: [
|
|
6432
6446
|
actions && actions.map((action, index) => {
|
|
6433
6447
|
if (action === "|") {
|
|
6434
|
-
return /* @__PURE__ */
|
|
6448
|
+
return /* @__PURE__ */ jsx70("span", { className: "k-separator" }, index);
|
|
6435
6449
|
}
|
|
6436
6450
|
if (action === " ") {
|
|
6437
|
-
return /* @__PURE__ */
|
|
6451
|
+
return /* @__PURE__ */ jsx70("span", { className: "k-spacer" }, index);
|
|
6438
6452
|
}
|
|
6439
6453
|
const importantFlag = action.startsWith("!");
|
|
6440
6454
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6441
|
-
return /* @__PURE__ */
|
|
6455
|
+
return /* @__PURE__ */ jsx70(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6442
6456
|
}),
|
|
6443
6457
|
!actions && props.children
|
|
6444
6458
|
] })
|
|
@@ -6447,12 +6461,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6447
6461
|
};
|
|
6448
6462
|
|
|
6449
6463
|
// src/action-sheet/actionsheet-items.tsx
|
|
6450
|
-
import { jsx as
|
|
6464
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6451
6465
|
var ActionSheetItems = (props) => {
|
|
6452
6466
|
const {
|
|
6453
6467
|
...other
|
|
6454
6468
|
} = props;
|
|
6455
|
-
return /* @__PURE__ */
|
|
6469
|
+
return /* @__PURE__ */ jsx71(
|
|
6456
6470
|
"div",
|
|
6457
6471
|
{
|
|
6458
6472
|
...other,
|
|
@@ -6466,7 +6480,7 @@ var ActionSheetItems = (props) => {
|
|
|
6466
6480
|
};
|
|
6467
6481
|
|
|
6468
6482
|
// src/action-sheet/actionsheet-item.tsx
|
|
6469
|
-
import { Fragment as
|
|
6483
|
+
import { Fragment as Fragment23, jsx as jsx72, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6470
6484
|
var states31 = [
|
|
6471
6485
|
States.hover,
|
|
6472
6486
|
States.focus,
|
|
@@ -6475,7 +6489,7 @@ var states31 = [
|
|
|
6475
6489
|
];
|
|
6476
6490
|
|
|
6477
6491
|
// src/datepicker/datepicker.spec.tsx
|
|
6478
|
-
import { Fragment as
|
|
6492
|
+
import { Fragment as Fragment24, jsx as jsx73, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6479
6493
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
6480
6494
|
var states32 = [
|
|
6481
6495
|
States.hover,
|
|
@@ -6520,7 +6534,7 @@ var DatePicker = (props) => {
|
|
|
6520
6534
|
dir,
|
|
6521
6535
|
...other
|
|
6522
6536
|
} = props;
|
|
6523
|
-
return /* @__PURE__ */ jsxs34(
|
|
6537
|
+
return /* @__PURE__ */ jsxs34(Fragment24, { children: [
|
|
6524
6538
|
/* @__PURE__ */ jsxs34(
|
|
6525
6539
|
Input,
|
|
6526
6540
|
{
|
|
@@ -6539,9 +6553,9 @@ var DatePicker = (props) => {
|
|
|
6539
6553
|
readonly,
|
|
6540
6554
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
6541
6555
|
children: [
|
|
6542
|
-
/* @__PURE__ */
|
|
6543
|
-
/* @__PURE__ */
|
|
6544
|
-
/* @__PURE__ */
|
|
6556
|
+
/* @__PURE__ */ jsx73(InputPrefix, { children: prefix }),
|
|
6557
|
+
/* @__PURE__ */ jsx73(InputInnerInput, { placeholder, value }),
|
|
6558
|
+
/* @__PURE__ */ jsx73(
|
|
6545
6559
|
InputValidationIcon,
|
|
6546
6560
|
{
|
|
6547
6561
|
valid,
|
|
@@ -6550,14 +6564,14 @@ var DatePicker = (props) => {
|
|
|
6550
6564
|
disabled
|
|
6551
6565
|
}
|
|
6552
6566
|
),
|
|
6553
|
-
/* @__PURE__ */
|
|
6567
|
+
/* @__PURE__ */ jsx73(
|
|
6554
6568
|
InputLoadingIcon,
|
|
6555
6569
|
{
|
|
6556
6570
|
loading,
|
|
6557
6571
|
disabled
|
|
6558
6572
|
}
|
|
6559
6573
|
),
|
|
6560
|
-
/* @__PURE__ */
|
|
6574
|
+
/* @__PURE__ */ jsx73(
|
|
6561
6575
|
InputClearValue,
|
|
6562
6576
|
{
|
|
6563
6577
|
loading,
|
|
@@ -6566,8 +6580,8 @@ var DatePicker = (props) => {
|
|
|
6566
6580
|
value
|
|
6567
6581
|
}
|
|
6568
6582
|
),
|
|
6569
|
-
/* @__PURE__ */
|
|
6570
|
-
/* @__PURE__ */
|
|
6583
|
+
/* @__PURE__ */ jsx73(InputSuffix, { children: suffix }),
|
|
6584
|
+
/* @__PURE__ */ jsx73(
|
|
6571
6585
|
Button,
|
|
6572
6586
|
{
|
|
6573
6587
|
className: "k-input-button",
|
|
@@ -6580,9 +6594,9 @@ var DatePicker = (props) => {
|
|
|
6580
6594
|
]
|
|
6581
6595
|
}
|
|
6582
6596
|
),
|
|
6583
|
-
opened && /* @__PURE__ */
|
|
6597
|
+
opened && /* @__PURE__ */ jsx73(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ jsx73(Calendar, { dir }) }),
|
|
6584
6598
|
adaptive && /* @__PURE__ */ jsxs34(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6585
|
-
/* @__PURE__ */
|
|
6599
|
+
/* @__PURE__ */ jsx73(
|
|
6586
6600
|
ActionSheetHeader,
|
|
6587
6601
|
{
|
|
6588
6602
|
actions: ["x"],
|
|
@@ -6590,7 +6604,7 @@ var DatePicker = (props) => {
|
|
|
6590
6604
|
subTitle: "DD / MM / YY"
|
|
6591
6605
|
}
|
|
6592
6606
|
),
|
|
6593
|
-
/* @__PURE__ */
|
|
6607
|
+
/* @__PURE__ */ jsx73(Calendar, { size: "large" })
|
|
6594
6608
|
] })
|
|
6595
6609
|
] });
|
|
6596
6610
|
};
|
|
@@ -6600,16 +6614,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
6600
6614
|
DatePicker.defaultProps = defaultProps29;
|
|
6601
6615
|
|
|
6602
6616
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
6603
|
-
import { jsx as
|
|
6617
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6604
6618
|
|
|
6605
6619
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
6606
|
-
import { jsx as
|
|
6620
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6607
6621
|
|
|
6608
6622
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
6609
|
-
import { jsx as
|
|
6623
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6610
6624
|
|
|
6611
6625
|
// src/form/form-field.tsx
|
|
6612
|
-
import { jsx as
|
|
6626
|
+
import { jsx as jsx77, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6613
6627
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6614
6628
|
var states33 = [
|
|
6615
6629
|
States.disabled
|
|
@@ -6645,14 +6659,14 @@ var FormField = (props) => {
|
|
|
6645
6659
|
"k-form-label"
|
|
6646
6660
|
), children: [
|
|
6647
6661
|
label,
|
|
6648
|
-
optional && /* @__PURE__ */
|
|
6649
|
-
info && /* @__PURE__ */
|
|
6662
|
+
optional && /* @__PURE__ */ jsx77("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6663
|
+
info && /* @__PURE__ */ jsx77("span", { className: "k-field-info", children: "(field info)" })
|
|
6650
6664
|
] }),
|
|
6651
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
6665
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx77("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6652
6666
|
/* @__PURE__ */ jsxs35("div", { className: "k-form-field-wrap", children: [
|
|
6653
6667
|
editor,
|
|
6654
|
-
hint && /* @__PURE__ */
|
|
6655
|
-
error && /* @__PURE__ */
|
|
6668
|
+
hint && /* @__PURE__ */ jsx77("div", { className: "k-form-hint", children: hint }),
|
|
6669
|
+
error && /* @__PURE__ */ jsx77("div", { className: "k-form-error", children: error })
|
|
6656
6670
|
] })
|
|
6657
6671
|
]
|
|
6658
6672
|
}
|
|
@@ -6661,7 +6675,7 @@ var FormField = (props) => {
|
|
|
6661
6675
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6662
6676
|
|
|
6663
6677
|
// src/form/fieldset.tsx
|
|
6664
|
-
import { Fragment as
|
|
6678
|
+
import { Fragment as Fragment25, jsx as jsx78, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6665
6679
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6666
6680
|
var Fieldset = (props) => {
|
|
6667
6681
|
const {
|
|
@@ -6672,8 +6686,8 @@ var Fieldset = (props) => {
|
|
|
6672
6686
|
gapY
|
|
6673
6687
|
} = props;
|
|
6674
6688
|
return /* @__PURE__ */ jsxs36("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6675
|
-
legend && /* @__PURE__ */
|
|
6676
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6689
|
+
legend && /* @__PURE__ */ jsx78("legend", { className: "k-form-legend", children: legend }),
|
|
6690
|
+
layout === "grid" ? /* @__PURE__ */ jsx78("div", { className: classNames(
|
|
6677
6691
|
"k-form-layout",
|
|
6678
6692
|
"k-d-grid",
|
|
6679
6693
|
{
|
|
@@ -6681,13 +6695,13 @@ var Fieldset = (props) => {
|
|
|
6681
6695
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6682
6696
|
[`k-gap-y-${gapY}`]: gapY
|
|
6683
6697
|
}
|
|
6684
|
-
), children: props.children }) : /* @__PURE__ */
|
|
6698
|
+
), children: props.children }) : /* @__PURE__ */ jsx78(Fragment25, { children: props.children })
|
|
6685
6699
|
] });
|
|
6686
6700
|
};
|
|
6687
6701
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6688
6702
|
|
|
6689
6703
|
// src/form/form.spec.tsx
|
|
6690
|
-
import { Fragment as
|
|
6704
|
+
import { Fragment as Fragment26, jsx as jsx79, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6691
6705
|
import { createElement } from "react";
|
|
6692
6706
|
var FORM_CLASSNAME = "k-form";
|
|
6693
6707
|
var states34 = [];
|
|
@@ -6711,7 +6725,7 @@ var Form = (props) => {
|
|
|
6711
6725
|
tag = defaultProps30.tag,
|
|
6712
6726
|
children
|
|
6713
6727
|
} = props;
|
|
6714
|
-
const Parent = ({ tag: tag2, className: className17, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
6728
|
+
const Parent = ({ tag: tag2, className: className17, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx79("form", { className: className17, children: children2 }) : /* @__PURE__ */ jsx79("div", { className: className17, children: children2 });
|
|
6715
6729
|
const formChildren = [];
|
|
6716
6730
|
if (children) {
|
|
6717
6731
|
if (Array.isArray(children)) {
|
|
@@ -6740,7 +6754,7 @@ var Form = (props) => {
|
|
|
6740
6754
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6741
6755
|
}
|
|
6742
6756
|
), children: [
|
|
6743
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6757
|
+
layout === "grid" ? /* @__PURE__ */ jsx79("div", { className: classNames(
|
|
6744
6758
|
"k-form-layout",
|
|
6745
6759
|
"k-d-grid",
|
|
6746
6760
|
{
|
|
@@ -6748,8 +6762,8 @@ var Form = (props) => {
|
|
|
6748
6762
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6749
6763
|
[`k-gap-y-${gapY}`]: gapY
|
|
6750
6764
|
}
|
|
6751
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
6752
|
-
formButtons && /* @__PURE__ */
|
|
6765
|
+
), children: formChildren }) : /* @__PURE__ */ jsx79(Fragment26, { children: formChildren }),
|
|
6766
|
+
formButtons && /* @__PURE__ */ jsx79("div", { className: "k-form-buttons", children: formButtons })
|
|
6753
6767
|
] });
|
|
6754
6768
|
};
|
|
6755
6769
|
Form.states = states34;
|
|
@@ -6758,7 +6772,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
6758
6772
|
Form.defaultProps = defaultProps30;
|
|
6759
6773
|
|
|
6760
6774
|
// src/grid/tests/grid-editing-popup.tsx
|
|
6761
|
-
import { Fragment as
|
|
6775
|
+
import { Fragment as Fragment27, jsx as jsx80, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6762
6776
|
var styles = `
|
|
6763
6777
|
#test-area {
|
|
6764
6778
|
width: 500px;
|
|
@@ -6768,20 +6782,20 @@ var styles = `
|
|
|
6768
6782
|
position: relative;
|
|
6769
6783
|
}
|
|
6770
6784
|
`;
|
|
6771
|
-
var grid_editing_popup_default = () => /* @__PURE__ */ jsxs38(
|
|
6772
|
-
/* @__PURE__ */
|
|
6773
|
-
/* @__PURE__ */
|
|
6774
|
-
/* @__PURE__ */
|
|
6775
|
-
/* @__PURE__ */
|
|
6785
|
+
var grid_editing_popup_default = () => /* @__PURE__ */ jsxs38(Fragment27, { children: [
|
|
6786
|
+
/* @__PURE__ */ jsx80("style", { children: styles }),
|
|
6787
|
+
/* @__PURE__ */ jsx80("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsx80("section", { children: /* @__PURE__ */ jsx80(WindowNormal, { title: "Edit task", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs38(Fragment27, { children: [
|
|
6788
|
+
/* @__PURE__ */ jsx80(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
6789
|
+
/* @__PURE__ */ jsx80(Button, { icon: "cancel", children: "Cancel" })
|
|
6776
6790
|
] }), children: /* @__PURE__ */ jsxs38(Form, { tag: "div", children: [
|
|
6777
|
-
/* @__PURE__ */
|
|
6778
|
-
/* @__PURE__ */
|
|
6779
|
-
/* @__PURE__ */
|
|
6780
|
-
/* @__PURE__ */
|
|
6781
|
-
/* @__PURE__ */
|
|
6782
|
-
/* @__PURE__ */
|
|
6791
|
+
/* @__PURE__ */ jsx80(FormField, { className: "k-form-field-error", label: "Text data field label", error: "Error", editor: /* @__PURE__ */ jsx80(Textbox, { value: "Invalid", invalid: true, showClearButton: true }) }),
|
|
6792
|
+
/* @__PURE__ */ jsx80(FormField, { label: "Date data field label", editor: /* @__PURE__ */ jsx80(DatePicker, { placeholder: "dd/MM/yyyy" }) }),
|
|
6793
|
+
/* @__PURE__ */ jsx80(FormField, { label: "Numeric data field label", editor: /* @__PURE__ */ jsx80(NumericTextbox, { placeholder: "##,###" }) }),
|
|
6794
|
+
/* @__PURE__ */ jsx80(FormField, { editor: /* @__PURE__ */ jsxs38(Fragment27, { children: [
|
|
6795
|
+
/* @__PURE__ */ jsx80(Checkbox, { checked: true }),
|
|
6796
|
+
/* @__PURE__ */ jsx80("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
6783
6797
|
] }) }),
|
|
6784
|
-
/* @__PURE__ */
|
|
6798
|
+
/* @__PURE__ */ jsx80(FormField, { label: "Boolean data field label", editor: /* @__PURE__ */ jsx80(DropdownList, { value: "True" }) })
|
|
6785
6799
|
] }) }) }) })
|
|
6786
6800
|
] });
|
|
6787
6801
|
export {
|