@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
|
@@ -4532,8 +4532,22 @@ Window.options = options6;
|
|
|
4532
4532
|
Window.className = WINDOW_CLASSNAME;
|
|
4533
4533
|
Window.defaultProps = defaultProps6;
|
|
4534
4534
|
|
|
4535
|
-
// src/
|
|
4535
|
+
// src/window/templates/window-normal.tsx
|
|
4536
4536
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4537
|
+
var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4538
|
+
Window,
|
|
4539
|
+
{
|
|
4540
|
+
title: "Title",
|
|
4541
|
+
actions: ["window-minimize", "window", "x"],
|
|
4542
|
+
children: [
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
|
|
4544
|
+
],
|
|
4545
|
+
...props
|
|
4546
|
+
}
|
|
4547
|
+
);
|
|
4548
|
+
|
|
4549
|
+
// src/checkbox/checkbox.spec.tsx
|
|
4550
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4537
4551
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
4538
4552
|
var states7 = [
|
|
4539
4553
|
States.hover,
|
|
@@ -4568,7 +4582,7 @@ var Checkbox = (props) => {
|
|
|
4568
4582
|
rounded = defaultProps7.rounded,
|
|
4569
4583
|
...other
|
|
4570
4584
|
} = props;
|
|
4571
|
-
return /* @__PURE__ */ (0,
|
|
4585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
4572
4586
|
"input",
|
|
4573
4587
|
{
|
|
4574
4588
|
...other,
|
|
@@ -4591,7 +4605,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
4591
4605
|
Checkbox.defaultProps = defaultProps7;
|
|
4592
4606
|
|
|
4593
4607
|
// src/checkbox/checkbox-group.spec.tsx
|
|
4594
|
-
var
|
|
4608
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4595
4609
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
4596
4610
|
var states8 = [];
|
|
4597
4611
|
var options8 = {};
|
|
@@ -4603,7 +4617,7 @@ var CheckboxGroup = (props) => {
|
|
|
4603
4617
|
layout = defaultProps8.layout,
|
|
4604
4618
|
...other
|
|
4605
4619
|
} = props;
|
|
4606
|
-
return /* @__PURE__ */ (0,
|
|
4620
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
4607
4621
|
"ul",
|
|
4608
4622
|
{
|
|
4609
4623
|
...other,
|
|
@@ -4624,7 +4638,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
4624
4638
|
CheckboxGroup.defaultProps = defaultProps8;
|
|
4625
4639
|
|
|
4626
4640
|
// src/checkbox/checkbox-item.spec.tsx
|
|
4627
|
-
var
|
|
4641
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4628
4642
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
4629
4643
|
var states9 = [];
|
|
4630
4644
|
var options9 = {};
|
|
@@ -4633,7 +4647,7 @@ var CheckboxItem = (props) => {
|
|
|
4633
4647
|
const {
|
|
4634
4648
|
...other
|
|
4635
4649
|
} = props;
|
|
4636
|
-
return /* @__PURE__ */ (0,
|
|
4650
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
4637
4651
|
"li",
|
|
4638
4652
|
{
|
|
4639
4653
|
...other,
|
|
@@ -4651,16 +4665,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
4651
4665
|
CheckboxItem.defaultProps = defaultProps9;
|
|
4652
4666
|
|
|
4653
4667
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
4654
|
-
var
|
|
4668
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4655
4669
|
|
|
4656
4670
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
4657
|
-
var
|
|
4671
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4658
4672
|
|
|
4659
4673
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
4660
|
-
var
|
|
4674
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4661
4675
|
|
|
4662
4676
|
// src/input/input.spec.tsx
|
|
4663
|
-
var
|
|
4677
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4664
4678
|
var INPUT_CLASSNAME = `k-input`;
|
|
4665
4679
|
var states10 = [
|
|
4666
4680
|
States.hover,
|
|
@@ -4696,7 +4710,7 @@ var Input = (props) => {
|
|
|
4696
4710
|
fillMode = defaultProps10.fillMode,
|
|
4697
4711
|
...other
|
|
4698
4712
|
} = props;
|
|
4699
|
-
return /* @__PURE__ */ (0,
|
|
4713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
4700
4714
|
"span",
|
|
4701
4715
|
{
|
|
4702
4716
|
...other,
|
|
@@ -4715,7 +4729,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4715
4729
|
Input.defaultProps = defaultProps10;
|
|
4716
4730
|
|
|
4717
4731
|
// src/input/picker.spec.tsx
|
|
4718
|
-
var
|
|
4732
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4719
4733
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4720
4734
|
var pickerStates = [
|
|
4721
4735
|
States.hover,
|
|
@@ -4751,7 +4765,7 @@ var Picker = (props) => {
|
|
|
4751
4765
|
fillMode = defaultProps11.fillMode,
|
|
4752
4766
|
...other
|
|
4753
4767
|
} = props;
|
|
4754
|
-
return /* @__PURE__ */ (0,
|
|
4768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
4755
4769
|
"span",
|
|
4756
4770
|
{
|
|
4757
4771
|
...other,
|
|
@@ -4771,7 +4785,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4771
4785
|
Picker.defaultProps = defaultProps11;
|
|
4772
4786
|
|
|
4773
4787
|
// src/input/input-clear-value.tsx
|
|
4774
|
-
var
|
|
4788
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4775
4789
|
var className = `k-clear-value`;
|
|
4776
4790
|
var states11 = [
|
|
4777
4791
|
States.disabled,
|
|
@@ -4787,16 +4801,16 @@ var InputClearValue = (props) => {
|
|
|
4787
4801
|
value
|
|
4788
4802
|
} = props;
|
|
4789
4803
|
if (disabled || readonly || loading || !value) {
|
|
4790
|
-
return /* @__PURE__ */ (0,
|
|
4804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
|
|
4791
4805
|
}
|
|
4792
|
-
return /* @__PURE__ */ (0,
|
|
4806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { icon: "x" }) });
|
|
4793
4807
|
};
|
|
4794
4808
|
InputClearValue.states = states11;
|
|
4795
4809
|
InputClearValue.options = options11;
|
|
4796
4810
|
InputClearValue.className = className;
|
|
4797
4811
|
|
|
4798
4812
|
// src/input/input-inner-input.tsx
|
|
4799
|
-
var
|
|
4813
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4800
4814
|
var className2 = `k-input-inner`;
|
|
4801
4815
|
var states12 = [];
|
|
4802
4816
|
var options12 = {};
|
|
@@ -4814,7 +4828,7 @@ var InputInnerInput = (props) => {
|
|
|
4814
4828
|
autocomplete = defaultProps12.autocomplete,
|
|
4815
4829
|
...other
|
|
4816
4830
|
} = props;
|
|
4817
|
-
return /* @__PURE__ */ (0,
|
|
4831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
4818
4832
|
"input",
|
|
4819
4833
|
{
|
|
4820
4834
|
...other,
|
|
@@ -4831,7 +4845,7 @@ InputInnerInput.options = options12;
|
|
|
4831
4845
|
InputInnerInput.className = className2;
|
|
4832
4846
|
|
|
4833
4847
|
// src/input/input-inner-span.tsx
|
|
4834
|
-
var
|
|
4848
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4835
4849
|
var className3 = `k-input-inner`;
|
|
4836
4850
|
var states13 = [];
|
|
4837
4851
|
var options13 = {};
|
|
@@ -4844,16 +4858,16 @@ var InputInnerSpan = (props) => {
|
|
|
4844
4858
|
valueIconName,
|
|
4845
4859
|
...other
|
|
4846
4860
|
} = props;
|
|
4847
|
-
return /* @__PURE__ */ (0,
|
|
4861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
4848
4862
|
"span",
|
|
4849
4863
|
{
|
|
4850
4864
|
...other,
|
|
4851
4865
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4852
4866
|
children: [
|
|
4853
4867
|
valueIcon,
|
|
4854
|
-
!valueIcon && valueIconName && /* @__PURE__ */ (0,
|
|
4868
|
+
!valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4855
4869
|
showValue && !value && placeholder,
|
|
4856
|
-
showValue && value && /* @__PURE__ */ (0,
|
|
4870
|
+
showValue && value && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "k-input-value-text", children: value })
|
|
4857
4871
|
]
|
|
4858
4872
|
}
|
|
4859
4873
|
);
|
|
@@ -4863,7 +4877,7 @@ InputInnerSpan.options = options13;
|
|
|
4863
4877
|
InputInnerSpan.className = className3;
|
|
4864
4878
|
|
|
4865
4879
|
// src/input/input-inner-textarea.tsx
|
|
4866
|
-
var
|
|
4880
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4867
4881
|
var defaultProps13 = {
|
|
4868
4882
|
value: "",
|
|
4869
4883
|
placeholder: ""
|
|
@@ -4878,7 +4892,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4878
4892
|
rows,
|
|
4879
4893
|
...other
|
|
4880
4894
|
} = props;
|
|
4881
|
-
return /* @__PURE__ */ (0,
|
|
4895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4882
4896
|
"textarea",
|
|
4883
4897
|
{
|
|
4884
4898
|
...other,
|
|
@@ -4894,7 +4908,7 @@ InputInnerTextarea.options = options14;
|
|
|
4894
4908
|
InputInnerTextarea.className = className4;
|
|
4895
4909
|
|
|
4896
4910
|
// src/input/input-loading-icon.tsx
|
|
4897
|
-
var
|
|
4911
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4898
4912
|
var className5 = `k-input-loading-icon`;
|
|
4899
4913
|
var states15 = [
|
|
4900
4914
|
States.disabled,
|
|
@@ -4906,13 +4920,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4906
4920
|
loading
|
|
4907
4921
|
} = props;
|
|
4908
4922
|
if (disabled || !loading) {
|
|
4909
|
-
return /* @__PURE__ */ (0,
|
|
4923
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, {});
|
|
4910
4924
|
}
|
|
4911
|
-
return /* @__PURE__ */ (0,
|
|
4925
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4912
4926
|
};
|
|
4913
4927
|
|
|
4914
4928
|
// src/input/input-validation-icon.tsx
|
|
4915
|
-
var
|
|
4929
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4916
4930
|
var className6 = `k-input-validation-icon`;
|
|
4917
4931
|
var states16 = [
|
|
4918
4932
|
States.valid,
|
|
@@ -4931,39 +4945,39 @@ var InputValidationIcon = (props) => {
|
|
|
4931
4945
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4932
4946
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4933
4947
|
if (disabled || loading || !renderValidationIcon) {
|
|
4934
|
-
return /* @__PURE__ */ (0,
|
|
4948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {});
|
|
4935
4949
|
}
|
|
4936
|
-
return /* @__PURE__ */ (0,
|
|
4950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { className: classNames(className6), icon: iconName });
|
|
4937
4951
|
};
|
|
4938
4952
|
InputValidationIcon.states = states16;
|
|
4939
4953
|
InputValidationIcon.options = options15;
|
|
4940
4954
|
InputValidationIcon.className = className6;
|
|
4941
4955
|
|
|
4942
4956
|
// src/input/input-prefix.tsx
|
|
4943
|
-
var
|
|
4957
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4944
4958
|
var className7 = `k-input-prefix`;
|
|
4945
4959
|
var InputPrefix = (props) => {
|
|
4946
4960
|
if (!props.children) {
|
|
4947
|
-
return /* @__PURE__ */ (0,
|
|
4961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, {});
|
|
4948
4962
|
}
|
|
4949
|
-
return /* @__PURE__ */ (0,
|
|
4963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: classNames(className7, props.className), children: props.children });
|
|
4950
4964
|
};
|
|
4951
4965
|
|
|
4952
4966
|
// src/input/input-suffix.tsx
|
|
4953
|
-
var
|
|
4967
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4954
4968
|
var className8 = `k-input-suffix`;
|
|
4955
4969
|
var InputSuffix = (props) => {
|
|
4956
4970
|
if (!props.children) {
|
|
4957
|
-
return /* @__PURE__ */ (0,
|
|
4971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jsx_runtime26.Fragment, {});
|
|
4958
4972
|
}
|
|
4959
|
-
return /* @__PURE__ */ (0,
|
|
4973
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: classNames(className8, props.className), children: props.children });
|
|
4960
4974
|
};
|
|
4961
4975
|
|
|
4962
4976
|
// src/input/input-separator.tsx
|
|
4963
|
-
var
|
|
4977
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4964
4978
|
|
|
4965
4979
|
// src/spinbutton/spinbutton.spec.tsx
|
|
4966
|
-
var
|
|
4980
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
4967
4981
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
4968
4982
|
var states17 = [];
|
|
4969
4983
|
var options16 = {
|
|
@@ -4980,7 +4994,7 @@ var SpinButton = (props) => {
|
|
|
4980
4994
|
fillMode = defaultProps14.fillMode,
|
|
4981
4995
|
...other
|
|
4982
4996
|
} = props;
|
|
4983
|
-
return /* @__PURE__ */ (0,
|
|
4997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
4984
4998
|
"span",
|
|
4985
4999
|
{
|
|
4986
5000
|
...other,
|
|
@@ -4989,7 +5003,7 @@ var SpinButton = (props) => {
|
|
|
4989
5003
|
props.className
|
|
4990
5004
|
),
|
|
4991
5005
|
children: [
|
|
4992
|
-
/* @__PURE__ */ (0,
|
|
5006
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
4993
5007
|
Button,
|
|
4994
5008
|
{
|
|
4995
5009
|
className: "k-spinner-increase",
|
|
@@ -4999,7 +5013,7 @@ var SpinButton = (props) => {
|
|
|
4999
5013
|
fillMode
|
|
5000
5014
|
}
|
|
5001
5015
|
),
|
|
5002
|
-
/* @__PURE__ */ (0,
|
|
5016
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5003
5017
|
Button,
|
|
5004
5018
|
{
|
|
5005
5019
|
className: "k-spinner-decrease",
|
|
@@ -5019,7 +5033,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5019
5033
|
SpinButton.defaultProps = defaultProps14;
|
|
5020
5034
|
|
|
5021
5035
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5022
|
-
var
|
|
5036
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5023
5037
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5024
5038
|
var states18 = [
|
|
5025
5039
|
States.hover,
|
|
@@ -5062,7 +5076,7 @@ var NumericTextbox = (props) => {
|
|
|
5062
5076
|
showSpinButton = defaultProps15.showSpinButton,
|
|
5063
5077
|
...other
|
|
5064
5078
|
} = props;
|
|
5065
|
-
return /* @__PURE__ */ (0,
|
|
5079
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
5066
5080
|
Input,
|
|
5067
5081
|
{
|
|
5068
5082
|
...other,
|
|
@@ -5079,8 +5093,8 @@ var NumericTextbox = (props) => {
|
|
|
5079
5093
|
readonly,
|
|
5080
5094
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5081
5095
|
children: [
|
|
5082
|
-
/* @__PURE__ */ (0,
|
|
5083
|
-
/* @__PURE__ */ (0,
|
|
5096
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(InputInnerInput, { placeholder, value }),
|
|
5097
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5084
5098
|
InputValidationIcon,
|
|
5085
5099
|
{
|
|
5086
5100
|
valid,
|
|
@@ -5089,14 +5103,14 @@ var NumericTextbox = (props) => {
|
|
|
5089
5103
|
disabled
|
|
5090
5104
|
}
|
|
5091
5105
|
),
|
|
5092
|
-
/* @__PURE__ */ (0,
|
|
5106
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5093
5107
|
InputLoadingIcon,
|
|
5094
5108
|
{
|
|
5095
5109
|
loading,
|
|
5096
5110
|
disabled
|
|
5097
5111
|
}
|
|
5098
5112
|
),
|
|
5099
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
5113
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5100
5114
|
InputClearValue,
|
|
5101
5115
|
{
|
|
5102
5116
|
loading,
|
|
@@ -5105,7 +5119,7 @@ var NumericTextbox = (props) => {
|
|
|
5105
5119
|
value
|
|
5106
5120
|
}
|
|
5107
5121
|
),
|
|
5108
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
5122
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5109
5123
|
SpinButton,
|
|
5110
5124
|
{
|
|
5111
5125
|
className: "k-input-spinner",
|
|
@@ -5123,10 +5137,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
5123
5137
|
NumericTextbox.defaultProps = defaultProps15;
|
|
5124
5138
|
|
|
5125
5139
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5126
|
-
var
|
|
5140
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5127
5141
|
|
|
5128
5142
|
// src/textbox/textbox.spec.tsx
|
|
5129
|
-
var
|
|
5143
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5130
5144
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5131
5145
|
var states19 = [
|
|
5132
5146
|
States.hover,
|
|
@@ -5169,7 +5183,7 @@ var Textbox = (props) => {
|
|
|
5169
5183
|
showClearButton = defaultProps16.showClearButton,
|
|
5170
5184
|
...other
|
|
5171
5185
|
} = props;
|
|
5172
|
-
return /* @__PURE__ */ (0,
|
|
5186
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
5173
5187
|
Input,
|
|
5174
5188
|
{
|
|
5175
5189
|
...other,
|
|
@@ -5186,9 +5200,9 @@ var Textbox = (props) => {
|
|
|
5186
5200
|
readonly,
|
|
5187
5201
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5188
5202
|
children: [
|
|
5189
|
-
/* @__PURE__ */ (0,
|
|
5190
|
-
/* @__PURE__ */ (0,
|
|
5191
|
-
/* @__PURE__ */ (0,
|
|
5203
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(InputPrefix, { children: prefix }),
|
|
5204
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(InputInnerInput, { placeholder, value }),
|
|
5205
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5192
5206
|
InputValidationIcon,
|
|
5193
5207
|
{
|
|
5194
5208
|
valid,
|
|
@@ -5197,14 +5211,14 @@ var Textbox = (props) => {
|
|
|
5197
5211
|
disabled
|
|
5198
5212
|
}
|
|
5199
5213
|
),
|
|
5200
|
-
/* @__PURE__ */ (0,
|
|
5214
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5201
5215
|
InputLoadingIcon,
|
|
5202
5216
|
{
|
|
5203
5217
|
loading,
|
|
5204
5218
|
disabled
|
|
5205
5219
|
}
|
|
5206
5220
|
),
|
|
5207
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
5221
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5208
5222
|
InputClearValue,
|
|
5209
5223
|
{
|
|
5210
5224
|
loading,
|
|
@@ -5213,7 +5227,7 @@ var Textbox = (props) => {
|
|
|
5213
5227
|
value
|
|
5214
5228
|
}
|
|
5215
5229
|
),
|
|
5216
|
-
/* @__PURE__ */ (0,
|
|
5230
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(InputSuffix, { children: suffix })
|
|
5217
5231
|
]
|
|
5218
5232
|
}
|
|
5219
5233
|
);
|
|
@@ -5224,16 +5238,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5224
5238
|
Textbox.defaultProps = defaultProps16;
|
|
5225
5239
|
|
|
5226
5240
|
// src/textbox/templates/textbox-normal.tsx
|
|
5227
|
-
var
|
|
5241
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5228
5242
|
|
|
5229
5243
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5230
|
-
var
|
|
5244
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5231
5245
|
|
|
5232
5246
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5233
|
-
var
|
|
5247
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5234
5248
|
|
|
5235
5249
|
// src/animation-container/animation-container.spec.tsx
|
|
5236
|
-
var
|
|
5250
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5237
5251
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5238
5252
|
var states20 = [];
|
|
5239
5253
|
var options19 = {};
|
|
@@ -5247,7 +5261,7 @@ var AnimationContainer = (props) => {
|
|
|
5247
5261
|
offset,
|
|
5248
5262
|
...other
|
|
5249
5263
|
} = props;
|
|
5250
|
-
return /* @__PURE__ */ (0,
|
|
5264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
5251
5265
|
"div",
|
|
5252
5266
|
{
|
|
5253
5267
|
...other,
|
|
@@ -5259,7 +5273,7 @@ var AnimationContainer = (props) => {
|
|
|
5259
5273
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5260
5274
|
}
|
|
5261
5275
|
),
|
|
5262
|
-
children: /* @__PURE__ */ (0,
|
|
5276
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5263
5277
|
}
|
|
5264
5278
|
);
|
|
5265
5279
|
};
|
|
@@ -5269,7 +5283,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5269
5283
|
AnimationContainer.defaultProps = defaultProps17;
|
|
5270
5284
|
|
|
5271
5285
|
// src/popup/popup.spec.tsx
|
|
5272
|
-
var
|
|
5286
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5273
5287
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5274
5288
|
var states21 = [];
|
|
5275
5289
|
var options20 = {};
|
|
@@ -5282,12 +5296,12 @@ var Popup = (props) => {
|
|
|
5282
5296
|
positionMode,
|
|
5283
5297
|
...other
|
|
5284
5298
|
} = props;
|
|
5285
|
-
return /* @__PURE__ */ (0,
|
|
5299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
5286
5300
|
AnimationContainer,
|
|
5287
5301
|
{
|
|
5288
5302
|
positionMode,
|
|
5289
5303
|
offset,
|
|
5290
|
-
children: /* @__PURE__ */ (0,
|
|
5304
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5291
5305
|
}
|
|
5292
5306
|
);
|
|
5293
5307
|
};
|
|
@@ -5297,7 +5311,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5297
5311
|
Popup.defaultProps = defaultProps18;
|
|
5298
5312
|
|
|
5299
5313
|
// src/calendar/calendar.spec.tsx
|
|
5300
|
-
var
|
|
5314
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5301
5315
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5302
5316
|
var states22 = [];
|
|
5303
5317
|
var options21 = {
|
|
@@ -5325,7 +5339,7 @@ var Calendar = (props) => {
|
|
|
5325
5339
|
dir,
|
|
5326
5340
|
...other
|
|
5327
5341
|
} = props;
|
|
5328
|
-
return /* @__PURE__ */ (0,
|
|
5342
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
5329
5343
|
"div",
|
|
5330
5344
|
{
|
|
5331
5345
|
...other,
|
|
@@ -5341,7 +5355,7 @@ var Calendar = (props) => {
|
|
|
5341
5355
|
}
|
|
5342
5356
|
),
|
|
5343
5357
|
children: [
|
|
5344
|
-
/* @__PURE__ */ (0,
|
|
5358
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5345
5359
|
CalendarHeader,
|
|
5346
5360
|
{
|
|
5347
5361
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5351,7 +5365,7 @@ var Calendar = (props) => {
|
|
|
5351
5365
|
dir
|
|
5352
5366
|
}
|
|
5353
5367
|
),
|
|
5354
|
-
/* @__PURE__ */ (0,
|
|
5368
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5355
5369
|
CalendarView,
|
|
5356
5370
|
{
|
|
5357
5371
|
calendarView,
|
|
@@ -5363,7 +5377,7 @@ var Calendar = (props) => {
|
|
|
5363
5377
|
selectedRange
|
|
5364
5378
|
}
|
|
5365
5379
|
),
|
|
5366
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
5380
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarFooter, {})
|
|
5367
5381
|
]
|
|
5368
5382
|
}
|
|
5369
5383
|
);
|
|
@@ -5374,7 +5388,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5374
5388
|
Calendar.defaultProps = defaultProps19;
|
|
5375
5389
|
|
|
5376
5390
|
// src/calendar/calendar-cell.tsx
|
|
5377
|
-
var
|
|
5391
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5378
5392
|
var states23 = [
|
|
5379
5393
|
States.hover,
|
|
5380
5394
|
States.focus,
|
|
@@ -5424,16 +5438,16 @@ var CalendarCell = (props) => {
|
|
|
5424
5438
|
}
|
|
5425
5439
|
];
|
|
5426
5440
|
if (headerCell) {
|
|
5427
|
-
return /* @__PURE__ */ (0,
|
|
5441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5428
5442
|
}
|
|
5429
5443
|
if (weekCell) {
|
|
5430
|
-
return /* @__PURE__ */ (0,
|
|
5444
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5431
5445
|
}
|
|
5432
|
-
return /* @__PURE__ */ (0,
|
|
5446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "k-link", children: text }) });
|
|
5433
5447
|
};
|
|
5434
5448
|
|
|
5435
5449
|
// src/calendar/calendar-header.tsx
|
|
5436
|
-
var
|
|
5450
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5437
5451
|
var className9 = `k-calendar-header`;
|
|
5438
5452
|
var options22 = {
|
|
5439
5453
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5455,7 +5469,7 @@ var CalendarHeader = (props) => {
|
|
|
5455
5469
|
} = props;
|
|
5456
5470
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
5457
5471
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
5458
|
-
return /* @__PURE__ */ (0,
|
|
5472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
5459
5473
|
"div",
|
|
5460
5474
|
{
|
|
5461
5475
|
...other,
|
|
@@ -5467,12 +5481,12 @@ var CalendarHeader = (props) => {
|
|
|
5467
5481
|
}
|
|
5468
5482
|
),
|
|
5469
5483
|
children: [
|
|
5470
|
-
/* @__PURE__ */ (0,
|
|
5471
|
-
/* @__PURE__ */ (0,
|
|
5472
|
-
/* @__PURE__ */ (0,
|
|
5473
|
-
/* @__PURE__ */ (0,
|
|
5474
|
-
showToday && /* @__PURE__ */ (0,
|
|
5475
|
-
/* @__PURE__ */ (0,
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5485
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "k-spacer" }),
|
|
5486
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
5487
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5488
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5489
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5476
5490
|
] })
|
|
5477
5491
|
]
|
|
5478
5492
|
}
|
|
@@ -5480,12 +5494,12 @@ var CalendarHeader = (props) => {
|
|
|
5480
5494
|
};
|
|
5481
5495
|
|
|
5482
5496
|
// src/calendar/calendar-footer.tsx
|
|
5483
|
-
var
|
|
5497
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5484
5498
|
var className10 = `k-calendar-footer`;
|
|
5485
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
5499
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5486
5500
|
|
|
5487
5501
|
// src/calendar/calendar-table.tsx
|
|
5488
|
-
var
|
|
5502
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5489
5503
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5490
5504
|
var CalendarTable = (props) => {
|
|
5491
5505
|
const {
|
|
@@ -5497,7 +5511,7 @@ var CalendarTable = (props) => {
|
|
|
5497
5511
|
...other
|
|
5498
5512
|
} = props;
|
|
5499
5513
|
if (calendarView === "year") {
|
|
5500
|
-
return /* @__PURE__ */ (0,
|
|
5514
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5501
5515
|
"table",
|
|
5502
5516
|
{
|
|
5503
5517
|
...other,
|
|
@@ -5506,25 +5520,25 @@ var CalendarTable = (props) => {
|
|
|
5506
5520
|
CALENDARTABLE_CLASSNAME
|
|
5507
5521
|
),
|
|
5508
5522
|
children: [
|
|
5509
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5510
|
-
/* @__PURE__ */ (0,
|
|
5511
|
-
/* @__PURE__ */ (0,
|
|
5512
|
-
/* @__PURE__ */ (0,
|
|
5513
|
-
/* @__PURE__ */ (0,
|
|
5514
|
-
/* @__PURE__ */ (0,
|
|
5515
|
-
/* @__PURE__ */ (0,
|
|
5523
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5524
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5525
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5526
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Jan" }),
|
|
5527
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Feb" }),
|
|
5528
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Mar" }),
|
|
5529
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Apr" })
|
|
5516
5530
|
] }),
|
|
5517
|
-
/* @__PURE__ */ (0,
|
|
5518
|
-
/* @__PURE__ */ (0,
|
|
5519
|
-
/* @__PURE__ */ (0,
|
|
5520
|
-
/* @__PURE__ */ (0,
|
|
5521
|
-
/* @__PURE__ */ (0,
|
|
5531
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5532
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "May" }),
|
|
5533
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
5535
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
5522
5536
|
] }),
|
|
5523
|
-
/* @__PURE__ */ (0,
|
|
5524
|
-
/* @__PURE__ */ (0,
|
|
5525
|
-
/* @__PURE__ */ (0,
|
|
5526
|
-
/* @__PURE__ */ (0,
|
|
5527
|
-
/* @__PURE__ */ (0,
|
|
5537
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5538
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Sep" }),
|
|
5539
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
5540
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Nov" }),
|
|
5541
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "Dec" })
|
|
5528
5542
|
] })
|
|
5529
5543
|
] })
|
|
5530
5544
|
]
|
|
@@ -5532,7 +5546,7 @@ var CalendarTable = (props) => {
|
|
|
5532
5546
|
);
|
|
5533
5547
|
}
|
|
5534
5548
|
if (calendarView === "decade") {
|
|
5535
|
-
return /* @__PURE__ */ (0,
|
|
5549
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5536
5550
|
"table",
|
|
5537
5551
|
{
|
|
5538
5552
|
...other,
|
|
@@ -5541,25 +5555,25 @@ var CalendarTable = (props) => {
|
|
|
5541
5555
|
CALENDARTABLE_CLASSNAME
|
|
5542
5556
|
),
|
|
5543
5557
|
children: [
|
|
5544
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5545
|
-
/* @__PURE__ */ (0,
|
|
5546
|
-
/* @__PURE__ */ (0,
|
|
5547
|
-
/* @__PURE__ */ (0,
|
|
5548
|
-
/* @__PURE__ */ (0,
|
|
5549
|
-
/* @__PURE__ */ (0,
|
|
5550
|
-
/* @__PURE__ */ (0,
|
|
5558
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5559
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5560
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5561
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
5562
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2020" }),
|
|
5563
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
5564
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2022" })
|
|
5551
5565
|
] }),
|
|
5552
|
-
/* @__PURE__ */ (0,
|
|
5553
|
-
/* @__PURE__ */ (0,
|
|
5554
|
-
/* @__PURE__ */ (0,
|
|
5555
|
-
/* @__PURE__ */ (0,
|
|
5556
|
-
/* @__PURE__ */ (0,
|
|
5566
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5567
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2023" }),
|
|
5568
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
5569
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
5570
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
5557
5571
|
] }),
|
|
5558
|
-
/* @__PURE__ */ (0,
|
|
5559
|
-
/* @__PURE__ */ (0,
|
|
5560
|
-
/* @__PURE__ */ (0,
|
|
5561
|
-
/* @__PURE__ */ (0,
|
|
5562
|
-
/* @__PURE__ */ (0,
|
|
5572
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5573
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2027" }),
|
|
5574
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2028" }),
|
|
5575
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2029" }),
|
|
5576
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5563
5577
|
] })
|
|
5564
5578
|
] })
|
|
5565
5579
|
]
|
|
@@ -5567,7 +5581,7 @@ var CalendarTable = (props) => {
|
|
|
5567
5581
|
);
|
|
5568
5582
|
}
|
|
5569
5583
|
if (calendarView === "century") {
|
|
5570
|
-
return /* @__PURE__ */ (0,
|
|
5584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5571
5585
|
"table",
|
|
5572
5586
|
{
|
|
5573
5587
|
...other,
|
|
@@ -5576,32 +5590,32 @@ var CalendarTable = (props) => {
|
|
|
5576
5590
|
CALENDARTABLE_CLASSNAME
|
|
5577
5591
|
),
|
|
5578
5592
|
children: [
|
|
5579
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5580
|
-
/* @__PURE__ */ (0,
|
|
5581
|
-
/* @__PURE__ */ (0,
|
|
5582
|
-
/* @__PURE__ */ (0,
|
|
5583
|
-
/* @__PURE__ */ (0,
|
|
5584
|
-
/* @__PURE__ */ (0,
|
|
5585
|
-
/* @__PURE__ */ (0,
|
|
5593
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5594
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5595
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5596
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
5597
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
5598
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5599
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
5586
5600
|
] }),
|
|
5587
|
-
/* @__PURE__ */ (0,
|
|
5588
|
-
/* @__PURE__ */ (0,
|
|
5589
|
-
/* @__PURE__ */ (0,
|
|
5590
|
-
/* @__PURE__ */ (0,
|
|
5591
|
-
/* @__PURE__ */ (0,
|
|
5601
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5602
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
5603
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5604
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5605
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5592
5606
|
] }),
|
|
5593
|
-
/* @__PURE__ */ (0,
|
|
5594
|
-
/* @__PURE__ */ (0,
|
|
5595
|
-
/* @__PURE__ */ (0,
|
|
5596
|
-
/* @__PURE__ */ (0,
|
|
5597
|
-
/* @__PURE__ */ (0,
|
|
5607
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5608
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
5609
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
5610
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
5611
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5598
5612
|
] })
|
|
5599
5613
|
] })
|
|
5600
5614
|
]
|
|
5601
5615
|
}
|
|
5602
5616
|
);
|
|
5603
5617
|
}
|
|
5604
|
-
return /* @__PURE__ */ (0,
|
|
5618
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5605
5619
|
"table",
|
|
5606
5620
|
{
|
|
5607
5621
|
...other,
|
|
@@ -5610,68 +5624,68 @@ var CalendarTable = (props) => {
|
|
|
5610
5624
|
CALENDARTABLE_CLASSNAME
|
|
5611
5625
|
),
|
|
5612
5626
|
children: [
|
|
5613
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5614
|
-
/* @__PURE__ */ (0,
|
|
5615
|
-
/* @__PURE__ */ (0,
|
|
5616
|
-
/* @__PURE__ */ (0,
|
|
5617
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5618
|
-
/* @__PURE__ */ (0,
|
|
5619
|
-
/* @__PURE__ */ (0,
|
|
5620
|
-
/* @__PURE__ */ (0,
|
|
5621
|
-
/* @__PURE__ */ (0,
|
|
5622
|
-
/* @__PURE__ */ (0,
|
|
5623
|
-
/* @__PURE__ */ (0,
|
|
5624
|
-
/* @__PURE__ */ (0,
|
|
5627
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5628
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarTableHead, { showWeek }),
|
|
5629
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5630
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5631
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
5632
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5633
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "1" }),
|
|
5634
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2" }),
|
|
5635
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "3" }),
|
|
5636
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "4" }),
|
|
5637
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "5" }),
|
|
5638
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
5625
5639
|
] }),
|
|
5626
|
-
/* @__PURE__ */ (0,
|
|
5627
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5628
|
-
/* @__PURE__ */ (0,
|
|
5629
|
-
/* @__PURE__ */ (0,
|
|
5630
|
-
/* @__PURE__ */ (0,
|
|
5631
|
-
/* @__PURE__ */ (0,
|
|
5632
|
-
/* @__PURE__ */ (0,
|
|
5633
|
-
/* @__PURE__ */ (0,
|
|
5634
|
-
/* @__PURE__ */ (0,
|
|
5640
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5641
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
5642
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
5643
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
5644
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
5645
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
5646
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5647
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5648
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
5635
5649
|
] }),
|
|
5636
|
-
/* @__PURE__ */ (0,
|
|
5637
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5638
|
-
/* @__PURE__ */ (0,
|
|
5639
|
-
/* @__PURE__ */ (0,
|
|
5640
|
-
/* @__PURE__ */ (0,
|
|
5641
|
-
/* @__PURE__ */ (0,
|
|
5642
|
-
/* @__PURE__ */ (0,
|
|
5643
|
-
/* @__PURE__ */ (0,
|
|
5644
|
-
/* @__PURE__ */ (0,
|
|
5650
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5651
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
5652
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
5653
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "15" }),
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "16", today: true }),
|
|
5655
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "17" }),
|
|
5656
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "18" }),
|
|
5657
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "19" }),
|
|
5658
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
5645
5659
|
] }),
|
|
5646
|
-
/* @__PURE__ */ (0,
|
|
5647
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5648
|
-
/* @__PURE__ */ (0,
|
|
5649
|
-
/* @__PURE__ */ (0,
|
|
5650
|
-
/* @__PURE__ */ (0,
|
|
5651
|
-
/* @__PURE__ */ (0,
|
|
5652
|
-
/* @__PURE__ */ (0,
|
|
5653
|
-
/* @__PURE__ */ (0,
|
|
5654
|
-
/* @__PURE__ */ (0,
|
|
5660
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5661
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
5662
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
5663
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "22" }),
|
|
5664
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "23" }),
|
|
5665
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "24" }),
|
|
5666
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5667
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5668
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5655
5669
|
] }),
|
|
5656
|
-
/* @__PURE__ */ (0,
|
|
5657
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5658
|
-
/* @__PURE__ */ (0,
|
|
5659
|
-
/* @__PURE__ */ (0,
|
|
5660
|
-
/* @__PURE__ */ (0,
|
|
5661
|
-
/* @__PURE__ */ (0,
|
|
5662
|
-
/* @__PURE__ */ (0,
|
|
5663
|
-
/* @__PURE__ */ (0,
|
|
5664
|
-
/* @__PURE__ */ (0,
|
|
5670
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5671
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
5672
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5673
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5674
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "30" }),
|
|
5675
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "31" }),
|
|
5676
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5677
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5678
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5665
5679
|
] }),
|
|
5666
|
-
/* @__PURE__ */ (0,
|
|
5667
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5669
|
-
/* @__PURE__ */ (0,
|
|
5670
|
-
/* @__PURE__ */ (0,
|
|
5671
|
-
/* @__PURE__ */ (0,
|
|
5672
|
-
/* @__PURE__ */ (0,
|
|
5673
|
-
/* @__PURE__ */ (0,
|
|
5674
|
-
/* @__PURE__ */ (0,
|
|
5680
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5681
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
5682
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5683
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5684
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5685
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5686
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5687
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5688
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5675
5689
|
] })
|
|
5676
5690
|
] })
|
|
5677
5691
|
]
|
|
@@ -5680,34 +5694,34 @@ var CalendarTable = (props) => {
|
|
|
5680
5694
|
};
|
|
5681
5695
|
|
|
5682
5696
|
// src/calendar/calendar-table-head.tsx
|
|
5683
|
-
var
|
|
5697
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5684
5698
|
var className11 = `k-calendar-thead`;
|
|
5685
5699
|
var CalendarTableHead = (props) => {
|
|
5686
5700
|
const {
|
|
5687
5701
|
showWeek,
|
|
5688
5702
|
...other
|
|
5689
5703
|
} = props;
|
|
5690
|
-
return /* @__PURE__ */ (0,
|
|
5704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5691
5705
|
"thead",
|
|
5692
5706
|
{
|
|
5693
5707
|
...other,
|
|
5694
5708
|
className: classNames(props.className, className11),
|
|
5695
|
-
children: /* @__PURE__ */ (0,
|
|
5696
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5697
|
-
/* @__PURE__ */ (0,
|
|
5698
|
-
/* @__PURE__ */ (0,
|
|
5699
|
-
/* @__PURE__ */ (0,
|
|
5700
|
-
/* @__PURE__ */ (0,
|
|
5701
|
-
/* @__PURE__ */ (0,
|
|
5702
|
-
/* @__PURE__ */ (0,
|
|
5703
|
-
/* @__PURE__ */ (0,
|
|
5709
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5710
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5711
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
5712
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5713
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5714
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
5715
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
5716
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
5704
5718
|
] })
|
|
5705
5719
|
}
|
|
5706
5720
|
);
|
|
5707
5721
|
};
|
|
5708
5722
|
|
|
5709
5723
|
// src/calendar/calendar-view.tsx
|
|
5710
|
-
var
|
|
5724
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5711
5725
|
var className12 = `k-calendar-view`;
|
|
5712
5726
|
var defaultProps21 = {
|
|
5713
5727
|
viewsCount: 1,
|
|
@@ -5725,7 +5739,7 @@ var CalendarView = (props) => {
|
|
|
5725
5739
|
selectedRange,
|
|
5726
5740
|
...other
|
|
5727
5741
|
} = props;
|
|
5728
|
-
return /* @__PURE__ */ (0,
|
|
5742
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5729
5743
|
"div",
|
|
5730
5744
|
{
|
|
5731
5745
|
...other,
|
|
@@ -5741,7 +5755,7 @@ var CalendarView = (props) => {
|
|
|
5741
5755
|
}
|
|
5742
5756
|
),
|
|
5743
5757
|
children: [...Array(viewsCount)].map(
|
|
5744
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
5758
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5745
5759
|
CalendarTable,
|
|
5746
5760
|
{
|
|
5747
5761
|
calendarView,
|
|
@@ -5758,7 +5772,7 @@ var CalendarView = (props) => {
|
|
|
5758
5772
|
};
|
|
5759
5773
|
|
|
5760
5774
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5761
|
-
var
|
|
5775
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5762
5776
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5763
5777
|
var states24 = [];
|
|
5764
5778
|
var options23 = {};
|
|
@@ -5781,8 +5795,8 @@ var ActionSheet = (props) => {
|
|
|
5781
5795
|
overlay = defaultProps22.overlay,
|
|
5782
5796
|
...other
|
|
5783
5797
|
} = props;
|
|
5784
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
5785
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
5798
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5799
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5786
5800
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5787
5801
|
switch (child.type) {
|
|
5788
5802
|
case ActionSheetHeader:
|
|
@@ -5792,10 +5806,10 @@ var ActionSheet = (props) => {
|
|
|
5792
5806
|
return true;
|
|
5793
5807
|
}
|
|
5794
5808
|
return true;
|
|
5795
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
5796
|
-
return /* @__PURE__ */ (0,
|
|
5797
|
-
overlay && /* @__PURE__ */ (0,
|
|
5798
|
-
/* @__PURE__ */ (0,
|
|
5809
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, {});
|
|
5810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
5811
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "k-overlay" }),
|
|
5812
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5799
5813
|
AnimationContainer,
|
|
5800
5814
|
{
|
|
5801
5815
|
animationStyle: {
|
|
@@ -5805,7 +5819,7 @@ var ActionSheet = (props) => {
|
|
|
5805
5819
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5806
5820
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5807
5821
|
},
|
|
5808
|
-
children: /* @__PURE__ */ (0,
|
|
5822
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5809
5823
|
"div",
|
|
5810
5824
|
{
|
|
5811
5825
|
...other,
|
|
@@ -5818,9 +5832,9 @@ var ActionSheet = (props) => {
|
|
|
5818
5832
|
"k-adaptive-actionsheet": adaptive
|
|
5819
5833
|
}
|
|
5820
5834
|
),
|
|
5821
|
-
children: /* @__PURE__ */ (0,
|
|
5835
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
5822
5836
|
_ActionSheetHeader,
|
|
5823
|
-
/* @__PURE__ */ (0,
|
|
5837
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: classNames(
|
|
5824
5838
|
"k-actionsheet-content",
|
|
5825
5839
|
{
|
|
5826
5840
|
"!k-overflow-hidden": adaptive
|
|
@@ -5840,7 +5854,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5840
5854
|
ActionSheet.defaultProps = defaultProps22;
|
|
5841
5855
|
|
|
5842
5856
|
// src/searchbox/searchbox.spec.tsx
|
|
5843
|
-
var
|
|
5857
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5844
5858
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5845
5859
|
var states25 = [
|
|
5846
5860
|
States.hover,
|
|
@@ -5881,7 +5895,7 @@ var Searchbox = (props) => {
|
|
|
5881
5895
|
icon = defaultProps23.icon,
|
|
5882
5896
|
...other
|
|
5883
5897
|
} = props;
|
|
5884
|
-
return /* @__PURE__ */ (0,
|
|
5898
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5885
5899
|
Input,
|
|
5886
5900
|
{
|
|
5887
5901
|
...other,
|
|
@@ -5897,11 +5911,11 @@ var Searchbox = (props) => {
|
|
|
5897
5911
|
disabled,
|
|
5898
5912
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5899
5913
|
children: [
|
|
5900
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5901
|
-
/* @__PURE__ */ (0,
|
|
5902
|
-
/* @__PURE__ */ (0,
|
|
5903
|
-
/* @__PURE__ */ (0,
|
|
5904
|
-
/* @__PURE__ */ (0,
|
|
5914
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5915
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputInnerInput, { placeholder, value }),
|
|
5916
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputLoadingIcon, { ...props }),
|
|
5917
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputValidationIcon, { ...props }),
|
|
5918
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputClearValue, { ...props })
|
|
5905
5919
|
]
|
|
5906
5920
|
}
|
|
5907
5921
|
);
|
|
@@ -5912,10 +5926,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5912
5926
|
Searchbox.defaultProps = defaultProps23;
|
|
5913
5927
|
|
|
5914
5928
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5915
|
-
var
|
|
5929
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5916
5930
|
|
|
5917
5931
|
// src/action-sheet/actionsheet-header.tsx
|
|
5918
|
-
var
|
|
5932
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5919
5933
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5920
5934
|
var ActionSheetHeader = (props) => {
|
|
5921
5935
|
const {
|
|
@@ -5925,7 +5939,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5925
5939
|
filter,
|
|
5926
5940
|
...other
|
|
5927
5941
|
} = props;
|
|
5928
|
-
return /* @__PURE__ */ (0,
|
|
5942
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5929
5943
|
"div",
|
|
5930
5944
|
{
|
|
5931
5945
|
...other,
|
|
@@ -5933,30 +5947,30 @@ var ActionSheetHeader = (props) => {
|
|
|
5933
5947
|
props.className,
|
|
5934
5948
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5935
5949
|
),
|
|
5936
|
-
children: /* @__PURE__ */ (0,
|
|
5937
|
-
/* @__PURE__ */ (0,
|
|
5938
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
5939
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
5940
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
5950
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
5951
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5952
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
5953
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-text-center", children: title }),
|
|
5954
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5941
5955
|
] }) }),
|
|
5942
|
-
props.children && /* @__PURE__ */ (0,
|
|
5943
|
-
actions && /* @__PURE__ */ (0,
|
|
5956
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5957
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5944
5958
|
] }),
|
|
5945
|
-
filter && /* @__PURE__ */ (0,
|
|
5959
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5946
5960
|
] })
|
|
5947
5961
|
}
|
|
5948
5962
|
);
|
|
5949
5963
|
};
|
|
5950
5964
|
|
|
5951
5965
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5952
|
-
var
|
|
5966
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5953
5967
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5954
5968
|
var ActionSheetFooter = (props) => {
|
|
5955
5969
|
const {
|
|
5956
5970
|
actions,
|
|
5957
5971
|
...other
|
|
5958
5972
|
} = props;
|
|
5959
|
-
return /* @__PURE__ */ (0,
|
|
5973
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5960
5974
|
action_buttons_spec_default,
|
|
5961
5975
|
{
|
|
5962
5976
|
...other,
|
|
@@ -5965,17 +5979,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5965
5979
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5966
5980
|
),
|
|
5967
5981
|
alignment: "stretched",
|
|
5968
|
-
children: /* @__PURE__ */ (0,
|
|
5982
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
|
|
5969
5983
|
actions && actions.map((action, index) => {
|
|
5970
5984
|
if (action === "|") {
|
|
5971
|
-
return /* @__PURE__ */ (0,
|
|
5985
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-separator" }, index);
|
|
5972
5986
|
}
|
|
5973
5987
|
if (action === " ") {
|
|
5974
|
-
return /* @__PURE__ */ (0,
|
|
5988
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-spacer" }, index);
|
|
5975
5989
|
}
|
|
5976
5990
|
const importantFlag = action.startsWith("!");
|
|
5977
5991
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5978
|
-
return /* @__PURE__ */ (0,
|
|
5992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5979
5993
|
}),
|
|
5980
5994
|
!actions && props.children
|
|
5981
5995
|
] })
|
|
@@ -5984,12 +5998,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5984
5998
|
};
|
|
5985
5999
|
|
|
5986
6000
|
// src/action-sheet/actionsheet-items.tsx
|
|
5987
|
-
var
|
|
6001
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5988
6002
|
var ActionSheetItems = (props) => {
|
|
5989
6003
|
const {
|
|
5990
6004
|
...other
|
|
5991
6005
|
} = props;
|
|
5992
|
-
return /* @__PURE__ */ (0,
|
|
6006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
5993
6007
|
"div",
|
|
5994
6008
|
{
|
|
5995
6009
|
...other,
|
|
@@ -6003,7 +6017,7 @@ var ActionSheetItems = (props) => {
|
|
|
6003
6017
|
};
|
|
6004
6018
|
|
|
6005
6019
|
// src/action-sheet/actionsheet-item.tsx
|
|
6006
|
-
var
|
|
6020
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6007
6021
|
var states26 = [
|
|
6008
6022
|
States.hover,
|
|
6009
6023
|
States.focus,
|
|
@@ -6012,7 +6026,7 @@ var states26 = [
|
|
|
6012
6026
|
];
|
|
6013
6027
|
|
|
6014
6028
|
// src/datepicker/datepicker.spec.tsx
|
|
6015
|
-
var
|
|
6029
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6016
6030
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
6017
6031
|
var states27 = [
|
|
6018
6032
|
States.hover,
|
|
@@ -6057,8 +6071,8 @@ var DatePicker = (props) => {
|
|
|
6057
6071
|
dir,
|
|
6058
6072
|
...other
|
|
6059
6073
|
} = props;
|
|
6060
|
-
return /* @__PURE__ */ (0,
|
|
6061
|
-
/* @__PURE__ */ (0,
|
|
6074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
6075
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
6062
6076
|
Input,
|
|
6063
6077
|
{
|
|
6064
6078
|
...other,
|
|
@@ -6076,9 +6090,9 @@ var DatePicker = (props) => {
|
|
|
6076
6090
|
readonly,
|
|
6077
6091
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
6078
6092
|
children: [
|
|
6079
|
-
/* @__PURE__ */ (0,
|
|
6080
|
-
/* @__PURE__ */ (0,
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6093
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(InputPrefix, { children: prefix }),
|
|
6094
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(InputInnerInput, { placeholder, value }),
|
|
6095
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6082
6096
|
InputValidationIcon,
|
|
6083
6097
|
{
|
|
6084
6098
|
valid,
|
|
@@ -6087,14 +6101,14 @@ var DatePicker = (props) => {
|
|
|
6087
6101
|
disabled
|
|
6088
6102
|
}
|
|
6089
6103
|
),
|
|
6090
|
-
/* @__PURE__ */ (0,
|
|
6104
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6091
6105
|
InputLoadingIcon,
|
|
6092
6106
|
{
|
|
6093
6107
|
loading,
|
|
6094
6108
|
disabled
|
|
6095
6109
|
}
|
|
6096
6110
|
),
|
|
6097
|
-
/* @__PURE__ */ (0,
|
|
6111
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6098
6112
|
InputClearValue,
|
|
6099
6113
|
{
|
|
6100
6114
|
loading,
|
|
@@ -6103,8 +6117,8 @@ var DatePicker = (props) => {
|
|
|
6103
6117
|
value
|
|
6104
6118
|
}
|
|
6105
6119
|
),
|
|
6106
|
-
/* @__PURE__ */ (0,
|
|
6107
|
-
/* @__PURE__ */ (0,
|
|
6120
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(InputSuffix, { children: suffix }),
|
|
6121
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6108
6122
|
Button,
|
|
6109
6123
|
{
|
|
6110
6124
|
className: "k-input-button",
|
|
@@ -6117,9 +6131,9 @@ var DatePicker = (props) => {
|
|
|
6117
6131
|
]
|
|
6118
6132
|
}
|
|
6119
6133
|
),
|
|
6120
|
-
opened && /* @__PURE__ */ (0,
|
|
6121
|
-
adaptive && /* @__PURE__ */ (0,
|
|
6122
|
-
/* @__PURE__ */ (0,
|
|
6134
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Calendar, { dir }) }),
|
|
6135
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6136
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6123
6137
|
ActionSheetHeader,
|
|
6124
6138
|
{
|
|
6125
6139
|
actions: ["x"],
|
|
@@ -6127,7 +6141,7 @@ var DatePicker = (props) => {
|
|
|
6127
6141
|
subTitle: "DD / MM / YY"
|
|
6128
6142
|
}
|
|
6129
6143
|
),
|
|
6130
|
-
/* @__PURE__ */ (0,
|
|
6144
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Calendar, { size: "large" })
|
|
6131
6145
|
] })
|
|
6132
6146
|
] });
|
|
6133
6147
|
};
|
|
@@ -6137,16 +6151,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
6137
6151
|
DatePicker.defaultProps = defaultProps24;
|
|
6138
6152
|
|
|
6139
6153
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
6140
|
-
var
|
|
6154
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6141
6155
|
|
|
6142
6156
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
6143
|
-
var
|
|
6157
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6144
6158
|
|
|
6145
6159
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
6146
|
-
var
|
|
6160
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6147
6161
|
|
|
6148
6162
|
// src/form/form-field.tsx
|
|
6149
|
-
var
|
|
6163
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6150
6164
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6151
6165
|
var states28 = [
|
|
6152
6166
|
States.disabled
|
|
@@ -6164,7 +6178,7 @@ var FormField = (props) => {
|
|
|
6164
6178
|
dir,
|
|
6165
6179
|
colSpan
|
|
6166
6180
|
} = props;
|
|
6167
|
-
return /* @__PURE__ */ (0,
|
|
6181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
6168
6182
|
"div",
|
|
6169
6183
|
{
|
|
6170
6184
|
className: classNames(
|
|
@@ -6177,19 +6191,19 @@ var FormField = (props) => {
|
|
|
6177
6191
|
),
|
|
6178
6192
|
dir,
|
|
6179
6193
|
children: [
|
|
6180
|
-
label && /* @__PURE__ */ (0,
|
|
6194
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("label", { className: classNames(
|
|
6181
6195
|
"k-label",
|
|
6182
6196
|
"k-form-label"
|
|
6183
6197
|
), children: [
|
|
6184
6198
|
label,
|
|
6185
|
-
optional && /* @__PURE__ */ (0,
|
|
6186
|
-
info && /* @__PURE__ */ (0,
|
|
6199
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6200
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
6187
6201
|
] }),
|
|
6188
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
6189
|
-
/* @__PURE__ */ (0,
|
|
6202
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6203
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
6190
6204
|
editor,
|
|
6191
|
-
hint && /* @__PURE__ */ (0,
|
|
6192
|
-
error && /* @__PURE__ */ (0,
|
|
6205
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
6206
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-form-error", children: error })
|
|
6193
6207
|
] })
|
|
6194
6208
|
]
|
|
6195
6209
|
}
|
|
@@ -6198,7 +6212,7 @@ var FormField = (props) => {
|
|
|
6198
6212
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6199
6213
|
|
|
6200
6214
|
// src/form/fieldset.tsx
|
|
6201
|
-
var
|
|
6215
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6202
6216
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6203
6217
|
var Fieldset = (props) => {
|
|
6204
6218
|
const {
|
|
@@ -6208,9 +6222,9 @@ var Fieldset = (props) => {
|
|
|
6208
6222
|
gapX,
|
|
6209
6223
|
gapY
|
|
6210
6224
|
} = props;
|
|
6211
|
-
return /* @__PURE__ */ (0,
|
|
6212
|
-
legend && /* @__PURE__ */ (0,
|
|
6213
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6225
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6226
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
6227
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: classNames(
|
|
6214
6228
|
"k-form-layout",
|
|
6215
6229
|
"k-d-grid",
|
|
6216
6230
|
{
|
|
@@ -6218,13 +6232,13 @@ var Fieldset = (props) => {
|
|
|
6218
6232
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6219
6233
|
[`k-gap-y-${gapY}`]: gapY
|
|
6220
6234
|
}
|
|
6221
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
6235
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, { children: props.children })
|
|
6222
6236
|
] });
|
|
6223
6237
|
};
|
|
6224
6238
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6225
6239
|
|
|
6226
6240
|
// src/form/form.spec.tsx
|
|
6227
|
-
var
|
|
6241
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6228
6242
|
var import_react = require("react");
|
|
6229
6243
|
var FORM_CLASSNAME = "k-form";
|
|
6230
6244
|
var states29 = [];
|
|
@@ -6248,7 +6262,7 @@ var Form = (props) => {
|
|
|
6248
6262
|
tag = defaultProps25.tag,
|
|
6249
6263
|
children
|
|
6250
6264
|
} = props;
|
|
6251
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
6265
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("form", { className: className13, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: className13, children: children2 });
|
|
6252
6266
|
const formChildren = [];
|
|
6253
6267
|
if (children) {
|
|
6254
6268
|
if (Array.isArray(children)) {
|
|
@@ -6267,7 +6281,7 @@ var Form = (props) => {
|
|
|
6267
6281
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
6268
6282
|
}
|
|
6269
6283
|
}
|
|
6270
|
-
return /* @__PURE__ */ (0,
|
|
6284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Parent, { tag, className: classNames(
|
|
6271
6285
|
props.className,
|
|
6272
6286
|
FORM_CLASSNAME,
|
|
6273
6287
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -6277,7 +6291,7 @@ var Form = (props) => {
|
|
|
6277
6291
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6278
6292
|
}
|
|
6279
6293
|
), children: [
|
|
6280
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6294
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: classNames(
|
|
6281
6295
|
"k-form-layout",
|
|
6282
6296
|
"k-d-grid",
|
|
6283
6297
|
{
|
|
@@ -6285,8 +6299,8 @@ var Form = (props) => {
|
|
|
6285
6299
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6286
6300
|
[`k-gap-y-${gapY}`]: gapY
|
|
6287
6301
|
}
|
|
6288
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
6289
|
-
formButtons && /* @__PURE__ */ (0,
|
|
6302
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, { children: formChildren }),
|
|
6303
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
6290
6304
|
] });
|
|
6291
6305
|
};
|
|
6292
6306
|
Form.states = states29;
|
|
@@ -6295,7 +6309,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
6295
6309
|
Form.defaultProps = defaultProps25;
|
|
6296
6310
|
|
|
6297
6311
|
// src/treelist/tests/treelist-editing-popup.tsx
|
|
6298
|
-
var
|
|
6312
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6299
6313
|
var styles = `
|
|
6300
6314
|
#test-area {
|
|
6301
6315
|
width: 500px;
|
|
@@ -6305,41 +6319,41 @@ var styles = `
|
|
|
6305
6319
|
position: relative;
|
|
6306
6320
|
}
|
|
6307
6321
|
`;
|
|
6308
|
-
var treelist_editing_popup_default = () => /* @__PURE__ */ (0,
|
|
6309
|
-
/* @__PURE__ */ (0,
|
|
6310
|
-
/* @__PURE__ */ (0,
|
|
6311
|
-
/* @__PURE__ */ (0,
|
|
6312
|
-
/* @__PURE__ */ (0,
|
|
6313
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6314
|
-
/* @__PURE__ */ (0,
|
|
6322
|
+
var treelist_editing_popup_default = () => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
|
|
6323
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("style", { children: styles }),
|
|
6324
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(WindowNormal, { title: "Add item", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
|
|
6325
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
6326
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { icon: "cancel", children: "Cancel" })
|
|
6327
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Form, { tag: "div", children: [
|
|
6328
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
6315
6329
|
FormField,
|
|
6316
6330
|
{
|
|
6317
6331
|
className: "k-form-field-error",
|
|
6318
6332
|
label: "Text data field label",
|
|
6319
6333
|
error: "Error",
|
|
6320
|
-
editor: /* @__PURE__ */ (0,
|
|
6334
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Textbox, { value: "Invalid", invalid: true, showClearButton: true })
|
|
6321
6335
|
}
|
|
6322
6336
|
),
|
|
6323
|
-
/* @__PURE__ */ (0,
|
|
6337
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
6324
6338
|
FormField,
|
|
6325
6339
|
{
|
|
6326
6340
|
label: "Date data field label",
|
|
6327
|
-
editor: /* @__PURE__ */ (0,
|
|
6341
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(DatePicker, { placeholder: "dd/MM/yyyy" })
|
|
6328
6342
|
}
|
|
6329
6343
|
),
|
|
6330
|
-
/* @__PURE__ */ (0,
|
|
6344
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
6331
6345
|
FormField,
|
|
6332
6346
|
{
|
|
6333
6347
|
label: "Numeric data field label",
|
|
6334
|
-
editor: /* @__PURE__ */ (0,
|
|
6348
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(NumericTextbox, { placeholder: "##,###" })
|
|
6335
6349
|
}
|
|
6336
6350
|
),
|
|
6337
|
-
/* @__PURE__ */ (0,
|
|
6351
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
6338
6352
|
FormField,
|
|
6339
6353
|
{
|
|
6340
|
-
editor: /* @__PURE__ */ (0,
|
|
6341
|
-
/* @__PURE__ */ (0,
|
|
6342
|
-
/* @__PURE__ */ (0,
|
|
6354
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
|
|
6355
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Checkbox, { checked: true }),
|
|
6356
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
6343
6357
|
] })
|
|
6344
6358
|
}
|
|
6345
6359
|
)
|