@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/calendar/calendar.spec.tsx
|
|
5281
|
-
import { jsx as
|
|
5295
|
+
import { jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5282
5296
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5283
5297
|
var states22 = [];
|
|
5284
5298
|
var options21 = {
|
|
@@ -5322,7 +5336,7 @@ var Calendar = (props) => {
|
|
|
5322
5336
|
}
|
|
5323
5337
|
),
|
|
5324
5338
|
children: [
|
|
5325
|
-
/* @__PURE__ */
|
|
5339
|
+
/* @__PURE__ */ jsx37(
|
|
5326
5340
|
CalendarHeader,
|
|
5327
5341
|
{
|
|
5328
5342
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5332,7 +5346,7 @@ var Calendar = (props) => {
|
|
|
5332
5346
|
dir
|
|
5333
5347
|
}
|
|
5334
5348
|
),
|
|
5335
|
-
/* @__PURE__ */
|
|
5349
|
+
/* @__PURE__ */ jsx37(
|
|
5336
5350
|
CalendarView,
|
|
5337
5351
|
{
|
|
5338
5352
|
calendarView,
|
|
@@ -5344,7 +5358,7 @@ var Calendar = (props) => {
|
|
|
5344
5358
|
selectedRange
|
|
5345
5359
|
}
|
|
5346
5360
|
),
|
|
5347
|
-
showCalendarFooter && /* @__PURE__ */
|
|
5361
|
+
showCalendarFooter && /* @__PURE__ */ jsx37(CalendarFooter, {})
|
|
5348
5362
|
]
|
|
5349
5363
|
}
|
|
5350
5364
|
);
|
|
@@ -5355,7 +5369,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5355
5369
|
Calendar.defaultProps = defaultProps19;
|
|
5356
5370
|
|
|
5357
5371
|
// src/calendar/calendar-cell.tsx
|
|
5358
|
-
import { jsx as
|
|
5372
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5359
5373
|
var states23 = [
|
|
5360
5374
|
States.hover,
|
|
5361
5375
|
States.focus,
|
|
@@ -5405,16 +5419,16 @@ var CalendarCell = (props) => {
|
|
|
5405
5419
|
}
|
|
5406
5420
|
];
|
|
5407
5421
|
if (headerCell) {
|
|
5408
|
-
return /* @__PURE__ */
|
|
5422
|
+
return /* @__PURE__ */ jsx38("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5409
5423
|
}
|
|
5410
5424
|
if (weekCell) {
|
|
5411
|
-
return /* @__PURE__ */
|
|
5425
|
+
return /* @__PURE__ */ jsx38("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5412
5426
|
}
|
|
5413
|
-
return /* @__PURE__ */
|
|
5427
|
+
return /* @__PURE__ */ jsx38("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ jsx38("span", { className: "k-link", children: text }) });
|
|
5414
5428
|
};
|
|
5415
5429
|
|
|
5416
5430
|
// src/calendar/calendar-header.tsx
|
|
5417
|
-
import { jsx as
|
|
5431
|
+
import { jsx as jsx39, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5418
5432
|
var className9 = `k-calendar-header`;
|
|
5419
5433
|
var options22 = {
|
|
5420
5434
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5448,12 +5462,12 @@ var CalendarHeader = (props) => {
|
|
|
5448
5462
|
}
|
|
5449
5463
|
),
|
|
5450
5464
|
children: [
|
|
5451
|
-
/* @__PURE__ */
|
|
5452
|
-
/* @__PURE__ */
|
|
5465
|
+
/* @__PURE__ */ jsx39(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5466
|
+
/* @__PURE__ */ jsx39("span", { className: "k-spacer" }),
|
|
5453
5467
|
/* @__PURE__ */ jsxs12("span", { className: "k-calendar-nav", children: [
|
|
5454
|
-
/* @__PURE__ */
|
|
5455
|
-
showToday && /* @__PURE__ */
|
|
5456
|
-
/* @__PURE__ */
|
|
5468
|
+
/* @__PURE__ */ jsx39(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5469
|
+
showToday && /* @__PURE__ */ jsx39(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5470
|
+
/* @__PURE__ */ jsx39(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5457
5471
|
] })
|
|
5458
5472
|
]
|
|
5459
5473
|
}
|
|
@@ -5461,12 +5475,12 @@ var CalendarHeader = (props) => {
|
|
|
5461
5475
|
};
|
|
5462
5476
|
|
|
5463
5477
|
// src/calendar/calendar-footer.tsx
|
|
5464
|
-
import { jsx as
|
|
5478
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5465
5479
|
var className10 = `k-calendar-footer`;
|
|
5466
|
-
var CalendarFooter = (props) => /* @__PURE__ */
|
|
5480
|
+
var CalendarFooter = (props) => /* @__PURE__ */ jsx40("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ jsx40(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5467
5481
|
|
|
5468
5482
|
// src/calendar/calendar-table.tsx
|
|
5469
|
-
import { jsx as
|
|
5483
|
+
import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5470
5484
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5471
5485
|
var CalendarTable = (props) => {
|
|
5472
5486
|
const {
|
|
@@ -5487,25 +5501,25 @@ var CalendarTable = (props) => {
|
|
|
5487
5501
|
CALENDARTABLE_CLASSNAME
|
|
5488
5502
|
),
|
|
5489
5503
|
children: [
|
|
5490
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5504
|
+
showCalendarCaption && /* @__PURE__ */ jsx41("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5491
5505
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5492
5506
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5493
|
-
/* @__PURE__ */
|
|
5494
|
-
/* @__PURE__ */
|
|
5495
|
-
/* @__PURE__ */
|
|
5496
|
-
/* @__PURE__ */
|
|
5507
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Jan" }),
|
|
5508
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Feb" }),
|
|
5509
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Mar" }),
|
|
5510
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Apr" })
|
|
5497
5511
|
] }),
|
|
5498
5512
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5499
|
-
/* @__PURE__ */
|
|
5500
|
-
/* @__PURE__ */
|
|
5501
|
-
/* @__PURE__ */
|
|
5502
|
-
/* @__PURE__ */
|
|
5513
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "May" }),
|
|
5514
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Jun", hover: true }),
|
|
5515
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Jul", focus: true }),
|
|
5516
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Au", selected: true })
|
|
5503
5517
|
] }),
|
|
5504
5518
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5505
|
-
/* @__PURE__ */
|
|
5506
|
-
/* @__PURE__ */
|
|
5507
|
-
/* @__PURE__ */
|
|
5508
|
-
/* @__PURE__ */
|
|
5519
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Sep" }),
|
|
5520
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Oct", today: true }),
|
|
5521
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Nov" }),
|
|
5522
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "Dec" })
|
|
5509
5523
|
] })
|
|
5510
5524
|
] })
|
|
5511
5525
|
]
|
|
@@ -5522,25 +5536,25 @@ var CalendarTable = (props) => {
|
|
|
5522
5536
|
CALENDARTABLE_CLASSNAME
|
|
5523
5537
|
),
|
|
5524
5538
|
children: [
|
|
5525
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5539
|
+
showCalendarCaption && /* @__PURE__ */ jsx41("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5526
5540
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5527
5541
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5528
|
-
/* @__PURE__ */
|
|
5529
|
-
/* @__PURE__ */
|
|
5530
|
-
/* @__PURE__ */
|
|
5531
|
-
/* @__PURE__ */
|
|
5542
|
+
/* @__PURE__ */ jsx41(CalendarCell, { className: "k-out-of-range" }),
|
|
5543
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2020" }),
|
|
5544
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2021", today: true }),
|
|
5545
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2022" })
|
|
5532
5546
|
] }),
|
|
5533
5547
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5534
|
-
/* @__PURE__ */
|
|
5535
|
-
/* @__PURE__ */
|
|
5536
|
-
/* @__PURE__ */
|
|
5537
|
-
/* @__PURE__ */
|
|
5548
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2023" }),
|
|
5549
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2024", hover: true }),
|
|
5550
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2025", focus: true }),
|
|
5551
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2026", selected: true })
|
|
5538
5552
|
] }),
|
|
5539
5553
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5540
|
-
/* @__PURE__ */
|
|
5541
|
-
/* @__PURE__ */
|
|
5542
|
-
/* @__PURE__ */
|
|
5543
|
-
/* @__PURE__ */
|
|
5554
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2027" }),
|
|
5555
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2028" }),
|
|
5556
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2029" }),
|
|
5557
|
+
/* @__PURE__ */ jsx41(CalendarCell, { className: "k-out-of-range" })
|
|
5544
5558
|
] })
|
|
5545
5559
|
] })
|
|
5546
5560
|
]
|
|
@@ -5557,25 +5571,25 @@ var CalendarTable = (props) => {
|
|
|
5557
5571
|
CALENDARTABLE_CLASSNAME
|
|
5558
5572
|
),
|
|
5559
5573
|
children: [
|
|
5560
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5574
|
+
showCalendarCaption && /* @__PURE__ */ jsx41("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5561
5575
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5562
5576
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5563
|
-
/* @__PURE__ */
|
|
5564
|
-
/* @__PURE__ */
|
|
5565
|
-
/* @__PURE__ */
|
|
5566
|
-
/* @__PURE__ */
|
|
5577
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "1990 - 1999" }),
|
|
5578
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2000 - 2009" }),
|
|
5579
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5580
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2020 - 2029" })
|
|
5567
5581
|
] }),
|
|
5568
5582
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5569
|
-
/* @__PURE__ */
|
|
5570
|
-
/* @__PURE__ */
|
|
5571
|
-
/* @__PURE__ */
|
|
5572
|
-
/* @__PURE__ */
|
|
5583
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2030 - 2039" }),
|
|
5584
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5585
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5586
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5573
5587
|
] }),
|
|
5574
5588
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5575
|
-
/* @__PURE__ */
|
|
5576
|
-
/* @__PURE__ */
|
|
5577
|
-
/* @__PURE__ */
|
|
5578
|
-
/* @__PURE__ */
|
|
5589
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2070 - 2079" }),
|
|
5590
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2080 - 2089" }),
|
|
5591
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2090 - 2099" }),
|
|
5592
|
+
/* @__PURE__ */ jsx41(CalendarCell, { className: "k-out-of-range" })
|
|
5579
5593
|
] })
|
|
5580
5594
|
] })
|
|
5581
5595
|
]
|
|
@@ -5591,68 +5605,68 @@ var CalendarTable = (props) => {
|
|
|
5591
5605
|
CALENDARTABLE_CLASSNAME
|
|
5592
5606
|
),
|
|
5593
5607
|
children: [
|
|
5594
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5595
|
-
/* @__PURE__ */
|
|
5608
|
+
showCalendarCaption && /* @__PURE__ */ jsx41("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5609
|
+
/* @__PURE__ */ jsx41(CalendarTableHead, { showWeek }),
|
|
5596
5610
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5597
5611
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5598
|
-
showWeek && /* @__PURE__ */
|
|
5599
|
-
/* @__PURE__ */
|
|
5600
|
-
/* @__PURE__ */
|
|
5601
|
-
/* @__PURE__ */
|
|
5602
|
-
/* @__PURE__ */
|
|
5603
|
-
/* @__PURE__ */
|
|
5604
|
-
/* @__PURE__ */
|
|
5605
|
-
/* @__PURE__ */
|
|
5612
|
+
showWeek && /* @__PURE__ */ jsx41(CalendarCell, { text: "39", weekCell: true }),
|
|
5613
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5614
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "1" }),
|
|
5615
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2" }),
|
|
5616
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "3" }),
|
|
5617
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "4" }),
|
|
5618
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "5" }),
|
|
5619
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "6", weekend: true })
|
|
5606
5620
|
] }),
|
|
5607
5621
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5608
|
-
showWeek && /* @__PURE__ */
|
|
5609
|
-
/* @__PURE__ */
|
|
5610
|
-
/* @__PURE__ */
|
|
5611
|
-
/* @__PURE__ */
|
|
5612
|
-
/* @__PURE__ */
|
|
5613
|
-
/* @__PURE__ */
|
|
5614
|
-
/* @__PURE__ */
|
|
5615
|
-
/* @__PURE__ */
|
|
5622
|
+
showWeek && /* @__PURE__ */ jsx41(CalendarCell, { text: "40", weekCell: true }),
|
|
5623
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "7", weekend: true }),
|
|
5624
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "8", hover: true }),
|
|
5625
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "9", focus: true }),
|
|
5626
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "10", selected: true }),
|
|
5627
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5628
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5629
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "13", weekend: true })
|
|
5616
5630
|
] }),
|
|
5617
5631
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5618
|
-
showWeek && /* @__PURE__ */
|
|
5619
|
-
/* @__PURE__ */
|
|
5620
|
-
/* @__PURE__ */
|
|
5621
|
-
/* @__PURE__ */
|
|
5622
|
-
/* @__PURE__ */
|
|
5623
|
-
/* @__PURE__ */
|
|
5624
|
-
/* @__PURE__ */
|
|
5625
|
-
/* @__PURE__ */
|
|
5632
|
+
showWeek && /* @__PURE__ */ jsx41(CalendarCell, { text: "41", weekCell: true }),
|
|
5633
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "14", weekend: true }),
|
|
5634
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "15" }),
|
|
5635
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "16", today: true }),
|
|
5636
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "17" }),
|
|
5637
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "18" }),
|
|
5638
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "19" }),
|
|
5639
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "20", weekend: true })
|
|
5626
5640
|
] }),
|
|
5627
5641
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5628
|
-
showWeek && /* @__PURE__ */
|
|
5629
|
-
/* @__PURE__ */
|
|
5630
|
-
/* @__PURE__ */
|
|
5631
|
-
/* @__PURE__ */
|
|
5632
|
-
/* @__PURE__ */
|
|
5633
|
-
/* @__PURE__ */
|
|
5634
|
-
/* @__PURE__ */
|
|
5635
|
-
/* @__PURE__ */
|
|
5642
|
+
showWeek && /* @__PURE__ */ jsx41(CalendarCell, { text: "42", weekCell: true }),
|
|
5643
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "21", weekend: true }),
|
|
5644
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "22" }),
|
|
5645
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "23" }),
|
|
5646
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "24" }),
|
|
5647
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5648
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5649
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5636
5650
|
] }),
|
|
5637
5651
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5638
|
-
showWeek && /* @__PURE__ */
|
|
5639
|
-
/* @__PURE__ */
|
|
5640
|
-
/* @__PURE__ */
|
|
5641
|
-
/* @__PURE__ */
|
|
5642
|
-
/* @__PURE__ */
|
|
5643
|
-
/* @__PURE__ */
|
|
5644
|
-
/* @__PURE__ */
|
|
5645
|
-
/* @__PURE__ */
|
|
5652
|
+
showWeek && /* @__PURE__ */ jsx41(CalendarCell, { text: "43", weekCell: true }),
|
|
5653
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5654
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5655
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "30" }),
|
|
5656
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "31" }),
|
|
5657
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5658
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5659
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5646
5660
|
] }),
|
|
5647
5661
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5648
|
-
showWeek && /* @__PURE__ */
|
|
5649
|
-
/* @__PURE__ */
|
|
5650
|
-
/* @__PURE__ */
|
|
5651
|
-
/* @__PURE__ */
|
|
5652
|
-
/* @__PURE__ */
|
|
5653
|
-
/* @__PURE__ */
|
|
5654
|
-
/* @__PURE__ */
|
|
5655
|
-
/* @__PURE__ */
|
|
5662
|
+
showWeek && /* @__PURE__ */ jsx41(CalendarCell, { text: "44", weekCell: true }),
|
|
5663
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5664
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5665
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5666
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5667
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5668
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5669
|
+
/* @__PURE__ */ jsx41(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5656
5670
|
] })
|
|
5657
5671
|
] })
|
|
5658
5672
|
]
|
|
@@ -5661,34 +5675,34 @@ var CalendarTable = (props) => {
|
|
|
5661
5675
|
};
|
|
5662
5676
|
|
|
5663
5677
|
// src/calendar/calendar-table-head.tsx
|
|
5664
|
-
import { jsx as
|
|
5678
|
+
import { jsx as jsx42, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5665
5679
|
var className11 = `k-calendar-thead`;
|
|
5666
5680
|
var CalendarTableHead = (props) => {
|
|
5667
5681
|
const {
|
|
5668
5682
|
showWeek,
|
|
5669
5683
|
...other
|
|
5670
5684
|
} = props;
|
|
5671
|
-
return /* @__PURE__ */
|
|
5685
|
+
return /* @__PURE__ */ jsx42(
|
|
5672
5686
|
"thead",
|
|
5673
5687
|
{
|
|
5674
5688
|
...other,
|
|
5675
5689
|
className: classNames(props.className, className11),
|
|
5676
5690
|
children: /* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5677
|
-
showWeek && /* @__PURE__ */
|
|
5678
|
-
/* @__PURE__ */
|
|
5679
|
-
/* @__PURE__ */
|
|
5680
|
-
/* @__PURE__ */
|
|
5681
|
-
/* @__PURE__ */
|
|
5682
|
-
/* @__PURE__ */
|
|
5683
|
-
/* @__PURE__ */
|
|
5684
|
-
/* @__PURE__ */
|
|
5691
|
+
showWeek && /* @__PURE__ */ jsx42(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5692
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "Su", headerCell: true }),
|
|
5693
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5694
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5695
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "We", headerCell: true }),
|
|
5696
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "Th", headerCell: true }),
|
|
5697
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5698
|
+
/* @__PURE__ */ jsx42(CalendarCell, { text: "Sa", headerCell: true })
|
|
5685
5699
|
] })
|
|
5686
5700
|
}
|
|
5687
5701
|
);
|
|
5688
5702
|
};
|
|
5689
5703
|
|
|
5690
5704
|
// src/calendar/calendar-view.tsx
|
|
5691
|
-
import { jsx as
|
|
5705
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5692
5706
|
var className12 = `k-calendar-view`;
|
|
5693
5707
|
var defaultProps21 = {
|
|
5694
5708
|
viewsCount: 1,
|
|
@@ -5706,7 +5720,7 @@ var CalendarView = (props) => {
|
|
|
5706
5720
|
selectedRange,
|
|
5707
5721
|
...other
|
|
5708
5722
|
} = props;
|
|
5709
|
-
return /* @__PURE__ */
|
|
5723
|
+
return /* @__PURE__ */ jsx43(
|
|
5710
5724
|
"div",
|
|
5711
5725
|
{
|
|
5712
5726
|
...other,
|
|
@@ -5722,7 +5736,7 @@ var CalendarView = (props) => {
|
|
|
5722
5736
|
}
|
|
5723
5737
|
),
|
|
5724
5738
|
children: [...Array(viewsCount)].map(
|
|
5725
|
-
(_e, i) => /* @__PURE__ */
|
|
5739
|
+
(_e, i) => /* @__PURE__ */ jsx43(
|
|
5726
5740
|
CalendarTable,
|
|
5727
5741
|
{
|
|
5728
5742
|
calendarView,
|
|
@@ -5739,7 +5753,7 @@ var CalendarView = (props) => {
|
|
|
5739
5753
|
};
|
|
5740
5754
|
|
|
5741
5755
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5742
|
-
import { Fragment as
|
|
5756
|
+
import { Fragment as Fragment16, jsx as jsx44, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5743
5757
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5744
5758
|
var states24 = [];
|
|
5745
5759
|
var options23 = {};
|
|
@@ -5762,8 +5776,8 @@ var ActionSheet = (props) => {
|
|
|
5762
5776
|
overlay = defaultProps22.overlay,
|
|
5763
5777
|
...other
|
|
5764
5778
|
} = props;
|
|
5765
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
5766
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
5779
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx44(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5780
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx44(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx44(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5767
5781
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5768
5782
|
switch (child.type) {
|
|
5769
5783
|
case ActionSheetHeader:
|
|
@@ -5773,10 +5787,10 @@ var ActionSheet = (props) => {
|
|
|
5773
5787
|
return true;
|
|
5774
5788
|
}
|
|
5775
5789
|
return true;
|
|
5776
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
5790
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx44(Fragment16, {});
|
|
5777
5791
|
return /* @__PURE__ */ jsxs15("div", { className: "k-actionsheet-container", children: [
|
|
5778
|
-
overlay && /* @__PURE__ */
|
|
5779
|
-
/* @__PURE__ */
|
|
5792
|
+
overlay && /* @__PURE__ */ jsx44("div", { className: "k-overlay" }),
|
|
5793
|
+
/* @__PURE__ */ jsx44(
|
|
5780
5794
|
AnimationContainer,
|
|
5781
5795
|
{
|
|
5782
5796
|
animationStyle: {
|
|
@@ -5786,7 +5800,7 @@ var ActionSheet = (props) => {
|
|
|
5786
5800
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5787
5801
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5788
5802
|
},
|
|
5789
|
-
children: /* @__PURE__ */
|
|
5803
|
+
children: /* @__PURE__ */ jsx44(
|
|
5790
5804
|
"div",
|
|
5791
5805
|
{
|
|
5792
5806
|
...other,
|
|
@@ -5799,9 +5813,9 @@ var ActionSheet = (props) => {
|
|
|
5799
5813
|
"k-adaptive-actionsheet": adaptive
|
|
5800
5814
|
}
|
|
5801
5815
|
),
|
|
5802
|
-
children: /* @__PURE__ */ jsxs15(
|
|
5816
|
+
children: /* @__PURE__ */ jsxs15(Fragment16, { children: [
|
|
5803
5817
|
_ActionSheetHeader,
|
|
5804
|
-
/* @__PURE__ */
|
|
5818
|
+
/* @__PURE__ */ jsx44("div", { className: classNames(
|
|
5805
5819
|
"k-actionsheet-content",
|
|
5806
5820
|
{
|
|
5807
5821
|
"!k-overflow-hidden": adaptive
|
|
@@ -5821,7 +5835,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5821
5835
|
ActionSheet.defaultProps = defaultProps22;
|
|
5822
5836
|
|
|
5823
5837
|
// src/searchbox/searchbox.spec.tsx
|
|
5824
|
-
import { jsx as
|
|
5838
|
+
import { jsx as jsx45, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5825
5839
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5826
5840
|
var states25 = [
|
|
5827
5841
|
States.hover,
|
|
@@ -5878,11 +5892,11 @@ var Searchbox = (props) => {
|
|
|
5878
5892
|
disabled,
|
|
5879
5893
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5880
5894
|
children: [
|
|
5881
|
-
showIcon && /* @__PURE__ */
|
|
5882
|
-
/* @__PURE__ */
|
|
5883
|
-
/* @__PURE__ */
|
|
5884
|
-
/* @__PURE__ */
|
|
5885
|
-
/* @__PURE__ */
|
|
5895
|
+
showIcon && /* @__PURE__ */ jsx45(Icon, { className: "k-input-icon", icon }),
|
|
5896
|
+
/* @__PURE__ */ jsx45(InputInnerInput, { placeholder, value }),
|
|
5897
|
+
/* @__PURE__ */ jsx45(InputLoadingIcon, { ...props }),
|
|
5898
|
+
/* @__PURE__ */ jsx45(InputValidationIcon, { ...props }),
|
|
5899
|
+
/* @__PURE__ */ jsx45(InputClearValue, { ...props })
|
|
5886
5900
|
]
|
|
5887
5901
|
}
|
|
5888
5902
|
);
|
|
@@ -5893,10 +5907,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5893
5907
|
Searchbox.defaultProps = defaultProps23;
|
|
5894
5908
|
|
|
5895
5909
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5896
|
-
import { jsx as
|
|
5910
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5897
5911
|
|
|
5898
5912
|
// src/action-sheet/actionsheet-header.tsx
|
|
5899
|
-
import { Fragment as
|
|
5913
|
+
import { Fragment as Fragment17, jsx as jsx47, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5900
5914
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5901
5915
|
var ActionSheetHeader = (props) => {
|
|
5902
5916
|
const {
|
|
@@ -5906,7 +5920,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5906
5920
|
filter,
|
|
5907
5921
|
...other
|
|
5908
5922
|
} = props;
|
|
5909
|
-
return /* @__PURE__ */
|
|
5923
|
+
return /* @__PURE__ */ jsx47(
|
|
5910
5924
|
"div",
|
|
5911
5925
|
{
|
|
5912
5926
|
...other,
|
|
@@ -5914,30 +5928,30 @@ var ActionSheetHeader = (props) => {
|
|
|
5914
5928
|
props.className,
|
|
5915
5929
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5916
5930
|
),
|
|
5917
|
-
children: /* @__PURE__ */ jsxs17(
|
|
5931
|
+
children: /* @__PURE__ */ jsxs17(Fragment17, { children: [
|
|
5918
5932
|
/* @__PURE__ */ jsxs17("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5919
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
5920
|
-
title !== "" && /* @__PURE__ */
|
|
5921
|
-
subTitle !== "" && /* @__PURE__ */
|
|
5933
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx47(Fragment17, { children: /* @__PURE__ */ jsxs17("div", { className: "k-actionsheet-title", children: [
|
|
5934
|
+
title !== "" && /* @__PURE__ */ jsx47("div", { className: "k-text-center", children: title }),
|
|
5935
|
+
subTitle !== "" && /* @__PURE__ */ jsx47("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5922
5936
|
] }) }),
|
|
5923
|
-
props.children && /* @__PURE__ */
|
|
5924
|
-
actions && /* @__PURE__ */
|
|
5937
|
+
props.children && /* @__PURE__ */ jsx47("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5938
|
+
actions && /* @__PURE__ */ jsx47(Fragment17, { children: /* @__PURE__ */ jsx47("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx47(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5925
5939
|
] }),
|
|
5926
|
-
filter && /* @__PURE__ */
|
|
5940
|
+
filter && /* @__PURE__ */ jsx47(Fragment17, { children: /* @__PURE__ */ jsx47("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx47(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5927
5941
|
] })
|
|
5928
5942
|
}
|
|
5929
5943
|
);
|
|
5930
5944
|
};
|
|
5931
5945
|
|
|
5932
5946
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5933
|
-
import { Fragment as
|
|
5947
|
+
import { Fragment as Fragment18, jsx as jsx48, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5934
5948
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5935
5949
|
var ActionSheetFooter = (props) => {
|
|
5936
5950
|
const {
|
|
5937
5951
|
actions,
|
|
5938
5952
|
...other
|
|
5939
5953
|
} = props;
|
|
5940
|
-
return /* @__PURE__ */
|
|
5954
|
+
return /* @__PURE__ */ jsx48(
|
|
5941
5955
|
action_buttons_spec_default,
|
|
5942
5956
|
{
|
|
5943
5957
|
...other,
|
|
@@ -5946,17 +5960,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5946
5960
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5947
5961
|
),
|
|
5948
5962
|
alignment: "stretched",
|
|
5949
|
-
children: /* @__PURE__ */ jsxs18(
|
|
5963
|
+
children: /* @__PURE__ */ jsxs18(Fragment18, { children: [
|
|
5950
5964
|
actions && actions.map((action, index) => {
|
|
5951
5965
|
if (action === "|") {
|
|
5952
|
-
return /* @__PURE__ */
|
|
5966
|
+
return /* @__PURE__ */ jsx48("span", { className: "k-separator" }, index);
|
|
5953
5967
|
}
|
|
5954
5968
|
if (action === " ") {
|
|
5955
|
-
return /* @__PURE__ */
|
|
5969
|
+
return /* @__PURE__ */ jsx48("span", { className: "k-spacer" }, index);
|
|
5956
5970
|
}
|
|
5957
5971
|
const importantFlag = action.startsWith("!");
|
|
5958
5972
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5959
|
-
return /* @__PURE__ */
|
|
5973
|
+
return /* @__PURE__ */ jsx48(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5960
5974
|
}),
|
|
5961
5975
|
!actions && props.children
|
|
5962
5976
|
] })
|
|
@@ -5965,12 +5979,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5965
5979
|
};
|
|
5966
5980
|
|
|
5967
5981
|
// src/action-sheet/actionsheet-items.tsx
|
|
5968
|
-
import { jsx as
|
|
5982
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5969
5983
|
var ActionSheetItems = (props) => {
|
|
5970
5984
|
const {
|
|
5971
5985
|
...other
|
|
5972
5986
|
} = props;
|
|
5973
|
-
return /* @__PURE__ */
|
|
5987
|
+
return /* @__PURE__ */ jsx49(
|
|
5974
5988
|
"div",
|
|
5975
5989
|
{
|
|
5976
5990
|
...other,
|
|
@@ -5984,7 +5998,7 @@ var ActionSheetItems = (props) => {
|
|
|
5984
5998
|
};
|
|
5985
5999
|
|
|
5986
6000
|
// src/action-sheet/actionsheet-item.tsx
|
|
5987
|
-
import { Fragment as
|
|
6001
|
+
import { Fragment as Fragment19, jsx as jsx50, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5988
6002
|
var states26 = [
|
|
5989
6003
|
States.hover,
|
|
5990
6004
|
States.focus,
|
|
@@ -5993,7 +6007,7 @@ var states26 = [
|
|
|
5993
6007
|
];
|
|
5994
6008
|
|
|
5995
6009
|
// src/datepicker/datepicker.spec.tsx
|
|
5996
|
-
import { Fragment as
|
|
6010
|
+
import { Fragment as Fragment20, jsx as jsx51, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5997
6011
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
5998
6012
|
var states27 = [
|
|
5999
6013
|
States.hover,
|
|
@@ -6038,7 +6052,7 @@ var DatePicker = (props) => {
|
|
|
6038
6052
|
dir,
|
|
6039
6053
|
...other
|
|
6040
6054
|
} = props;
|
|
6041
|
-
return /* @__PURE__ */ jsxs20(
|
|
6055
|
+
return /* @__PURE__ */ jsxs20(Fragment20, { children: [
|
|
6042
6056
|
/* @__PURE__ */ jsxs20(
|
|
6043
6057
|
Input,
|
|
6044
6058
|
{
|
|
@@ -6057,9 +6071,9 @@ var DatePicker = (props) => {
|
|
|
6057
6071
|
readonly,
|
|
6058
6072
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
6059
6073
|
children: [
|
|
6060
|
-
/* @__PURE__ */
|
|
6061
|
-
/* @__PURE__ */
|
|
6062
|
-
/* @__PURE__ */
|
|
6074
|
+
/* @__PURE__ */ jsx51(InputPrefix, { children: prefix }),
|
|
6075
|
+
/* @__PURE__ */ jsx51(InputInnerInput, { placeholder, value }),
|
|
6076
|
+
/* @__PURE__ */ jsx51(
|
|
6063
6077
|
InputValidationIcon,
|
|
6064
6078
|
{
|
|
6065
6079
|
valid,
|
|
@@ -6068,14 +6082,14 @@ var DatePicker = (props) => {
|
|
|
6068
6082
|
disabled
|
|
6069
6083
|
}
|
|
6070
6084
|
),
|
|
6071
|
-
/* @__PURE__ */
|
|
6085
|
+
/* @__PURE__ */ jsx51(
|
|
6072
6086
|
InputLoadingIcon,
|
|
6073
6087
|
{
|
|
6074
6088
|
loading,
|
|
6075
6089
|
disabled
|
|
6076
6090
|
}
|
|
6077
6091
|
),
|
|
6078
|
-
/* @__PURE__ */
|
|
6092
|
+
/* @__PURE__ */ jsx51(
|
|
6079
6093
|
InputClearValue,
|
|
6080
6094
|
{
|
|
6081
6095
|
loading,
|
|
@@ -6084,8 +6098,8 @@ var DatePicker = (props) => {
|
|
|
6084
6098
|
value
|
|
6085
6099
|
}
|
|
6086
6100
|
),
|
|
6087
|
-
/* @__PURE__ */
|
|
6088
|
-
/* @__PURE__ */
|
|
6101
|
+
/* @__PURE__ */ jsx51(InputSuffix, { children: suffix }),
|
|
6102
|
+
/* @__PURE__ */ jsx51(
|
|
6089
6103
|
Button,
|
|
6090
6104
|
{
|
|
6091
6105
|
className: "k-input-button",
|
|
@@ -6098,9 +6112,9 @@ var DatePicker = (props) => {
|
|
|
6098
6112
|
]
|
|
6099
6113
|
}
|
|
6100
6114
|
),
|
|
6101
|
-
opened && /* @__PURE__ */
|
|
6115
|
+
opened && /* @__PURE__ */ jsx51(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ jsx51(Calendar, { dir }) }),
|
|
6102
6116
|
adaptive && /* @__PURE__ */ jsxs20(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6103
|
-
/* @__PURE__ */
|
|
6117
|
+
/* @__PURE__ */ jsx51(
|
|
6104
6118
|
ActionSheetHeader,
|
|
6105
6119
|
{
|
|
6106
6120
|
actions: ["x"],
|
|
@@ -6108,7 +6122,7 @@ var DatePicker = (props) => {
|
|
|
6108
6122
|
subTitle: "DD / MM / YY"
|
|
6109
6123
|
}
|
|
6110
6124
|
),
|
|
6111
|
-
/* @__PURE__ */
|
|
6125
|
+
/* @__PURE__ */ jsx51(Calendar, { size: "large" })
|
|
6112
6126
|
] })
|
|
6113
6127
|
] });
|
|
6114
6128
|
};
|
|
@@ -6118,16 +6132,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
6118
6132
|
DatePicker.defaultProps = defaultProps24;
|
|
6119
6133
|
|
|
6120
6134
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
6121
|
-
import { jsx as
|
|
6135
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
6122
6136
|
|
|
6123
6137
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
6124
|
-
import { jsx as
|
|
6138
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6125
6139
|
|
|
6126
6140
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
6127
|
-
import { jsx as
|
|
6141
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
6128
6142
|
|
|
6129
6143
|
// src/form/form-field.tsx
|
|
6130
|
-
import { jsx as
|
|
6144
|
+
import { jsx as jsx55, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6131
6145
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6132
6146
|
var states28 = [
|
|
6133
6147
|
States.disabled
|
|
@@ -6163,14 +6177,14 @@ var FormField = (props) => {
|
|
|
6163
6177
|
"k-form-label"
|
|
6164
6178
|
), children: [
|
|
6165
6179
|
label,
|
|
6166
|
-
optional && /* @__PURE__ */
|
|
6167
|
-
info && /* @__PURE__ */
|
|
6180
|
+
optional && /* @__PURE__ */ jsx55("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6181
|
+
info && /* @__PURE__ */ jsx55("span", { className: "k-field-info", children: "(field info)" })
|
|
6168
6182
|
] }),
|
|
6169
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
6183
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx55("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6170
6184
|
/* @__PURE__ */ jsxs21("div", { className: "k-form-field-wrap", children: [
|
|
6171
6185
|
editor,
|
|
6172
|
-
hint && /* @__PURE__ */
|
|
6173
|
-
error && /* @__PURE__ */
|
|
6186
|
+
hint && /* @__PURE__ */ jsx55("div", { className: "k-form-hint", children: hint }),
|
|
6187
|
+
error && /* @__PURE__ */ jsx55("div", { className: "k-form-error", children: error })
|
|
6174
6188
|
] })
|
|
6175
6189
|
]
|
|
6176
6190
|
}
|
|
@@ -6179,7 +6193,7 @@ var FormField = (props) => {
|
|
|
6179
6193
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6180
6194
|
|
|
6181
6195
|
// src/form/fieldset.tsx
|
|
6182
|
-
import { Fragment as
|
|
6196
|
+
import { Fragment as Fragment21, jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
6183
6197
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6184
6198
|
var Fieldset = (props) => {
|
|
6185
6199
|
const {
|
|
@@ -6190,8 +6204,8 @@ var Fieldset = (props) => {
|
|
|
6190
6204
|
gapY
|
|
6191
6205
|
} = props;
|
|
6192
6206
|
return /* @__PURE__ */ jsxs22("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6193
|
-
legend && /* @__PURE__ */
|
|
6194
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6207
|
+
legend && /* @__PURE__ */ jsx56("legend", { className: "k-form-legend", children: legend }),
|
|
6208
|
+
layout === "grid" ? /* @__PURE__ */ jsx56("div", { className: classNames(
|
|
6195
6209
|
"k-form-layout",
|
|
6196
6210
|
"k-d-grid",
|
|
6197
6211
|
{
|
|
@@ -6199,13 +6213,13 @@ var Fieldset = (props) => {
|
|
|
6199
6213
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6200
6214
|
[`k-gap-y-${gapY}`]: gapY
|
|
6201
6215
|
}
|
|
6202
|
-
), children: props.children }) : /* @__PURE__ */
|
|
6216
|
+
), children: props.children }) : /* @__PURE__ */ jsx56(Fragment21, { children: props.children })
|
|
6203
6217
|
] });
|
|
6204
6218
|
};
|
|
6205
6219
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6206
6220
|
|
|
6207
6221
|
// src/form/form.spec.tsx
|
|
6208
|
-
import { Fragment as
|
|
6222
|
+
import { Fragment as Fragment22, jsx as jsx57, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
6209
6223
|
import { createElement } from "react";
|
|
6210
6224
|
var FORM_CLASSNAME = "k-form";
|
|
6211
6225
|
var states29 = [];
|
|
@@ -6229,7 +6243,7 @@ var Form = (props) => {
|
|
|
6229
6243
|
tag = defaultProps25.tag,
|
|
6230
6244
|
children
|
|
6231
6245
|
} = props;
|
|
6232
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
6246
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx57("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx57("div", { className: className13, children: children2 });
|
|
6233
6247
|
const formChildren = [];
|
|
6234
6248
|
if (children) {
|
|
6235
6249
|
if (Array.isArray(children)) {
|
|
@@ -6258,7 +6272,7 @@ var Form = (props) => {
|
|
|
6258
6272
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6259
6273
|
}
|
|
6260
6274
|
), children: [
|
|
6261
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6275
|
+
layout === "grid" ? /* @__PURE__ */ jsx57("div", { className: classNames(
|
|
6262
6276
|
"k-form-layout",
|
|
6263
6277
|
"k-d-grid",
|
|
6264
6278
|
{
|
|
@@ -6266,8 +6280,8 @@ var Form = (props) => {
|
|
|
6266
6280
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6267
6281
|
[`k-gap-y-${gapY}`]: gapY
|
|
6268
6282
|
}
|
|
6269
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
6270
|
-
formButtons && /* @__PURE__ */
|
|
6283
|
+
), children: formChildren }) : /* @__PURE__ */ jsx57(Fragment22, { children: formChildren }),
|
|
6284
|
+
formButtons && /* @__PURE__ */ jsx57("div", { className: "k-form-buttons", children: formButtons })
|
|
6271
6285
|
] });
|
|
6272
6286
|
};
|
|
6273
6287
|
Form.states = states29;
|
|
@@ -6276,7 +6290,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
6276
6290
|
Form.defaultProps = defaultProps25;
|
|
6277
6291
|
|
|
6278
6292
|
// src/treelist/tests/treelist-editing-popup.tsx
|
|
6279
|
-
import { Fragment as
|
|
6293
|
+
import { Fragment as Fragment23, jsx as jsx58, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6280
6294
|
var styles = `
|
|
6281
6295
|
#test-area {
|
|
6282
6296
|
width: 500px;
|
|
@@ -6286,41 +6300,41 @@ var styles = `
|
|
|
6286
6300
|
position: relative;
|
|
6287
6301
|
}
|
|
6288
6302
|
`;
|
|
6289
|
-
var treelist_editing_popup_default = () => /* @__PURE__ */ jsxs24(
|
|
6290
|
-
/* @__PURE__ */
|
|
6291
|
-
/* @__PURE__ */
|
|
6292
|
-
/* @__PURE__ */
|
|
6293
|
-
/* @__PURE__ */
|
|
6303
|
+
var treelist_editing_popup_default = () => /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
6304
|
+
/* @__PURE__ */ jsx58("style", { children: styles }),
|
|
6305
|
+
/* @__PURE__ */ jsx58("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsx58("section", { children: /* @__PURE__ */ jsx58(WindowNormal, { title: "Add item", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
6306
|
+
/* @__PURE__ */ jsx58(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
6307
|
+
/* @__PURE__ */ jsx58(Button, { icon: "cancel", children: "Cancel" })
|
|
6294
6308
|
] }), children: /* @__PURE__ */ jsxs24(Form, { tag: "div", children: [
|
|
6295
|
-
/* @__PURE__ */
|
|
6309
|
+
/* @__PURE__ */ jsx58(
|
|
6296
6310
|
FormField,
|
|
6297
6311
|
{
|
|
6298
6312
|
className: "k-form-field-error",
|
|
6299
6313
|
label: "Text data field label",
|
|
6300
6314
|
error: "Error",
|
|
6301
|
-
editor: /* @__PURE__ */
|
|
6315
|
+
editor: /* @__PURE__ */ jsx58(Textbox, { value: "Invalid", invalid: true, showClearButton: true })
|
|
6302
6316
|
}
|
|
6303
6317
|
),
|
|
6304
|
-
/* @__PURE__ */
|
|
6318
|
+
/* @__PURE__ */ jsx58(
|
|
6305
6319
|
FormField,
|
|
6306
6320
|
{
|
|
6307
6321
|
label: "Date data field label",
|
|
6308
|
-
editor: /* @__PURE__ */
|
|
6322
|
+
editor: /* @__PURE__ */ jsx58(DatePicker, { placeholder: "dd/MM/yyyy" })
|
|
6309
6323
|
}
|
|
6310
6324
|
),
|
|
6311
|
-
/* @__PURE__ */
|
|
6325
|
+
/* @__PURE__ */ jsx58(
|
|
6312
6326
|
FormField,
|
|
6313
6327
|
{
|
|
6314
6328
|
label: "Numeric data field label",
|
|
6315
|
-
editor: /* @__PURE__ */
|
|
6329
|
+
editor: /* @__PURE__ */ jsx58(NumericTextbox, { placeholder: "##,###" })
|
|
6316
6330
|
}
|
|
6317
6331
|
),
|
|
6318
|
-
/* @__PURE__ */
|
|
6332
|
+
/* @__PURE__ */ jsx58(
|
|
6319
6333
|
FormField,
|
|
6320
6334
|
{
|
|
6321
|
-
editor: /* @__PURE__ */ jsxs24(
|
|
6322
|
-
/* @__PURE__ */
|
|
6323
|
-
/* @__PURE__ */
|
|
6335
|
+
editor: /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
6336
|
+
/* @__PURE__ */ jsx58(Checkbox, { checked: true }),
|
|
6337
|
+
/* @__PURE__ */ jsx58("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
6324
6338
|
] })
|
|
6325
6339
|
}
|
|
6326
6340
|
)
|