@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/dropdownlist/dropdownlist.spec.tsx
|
|
5300
|
-
var
|
|
5314
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5301
5315
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5302
5316
|
var states22 = [
|
|
5303
5317
|
States.hover,
|
|
@@ -5345,8 +5359,8 @@ var DropdownList = (props) => {
|
|
|
5345
5359
|
opened,
|
|
5346
5360
|
...other
|
|
5347
5361
|
} = props;
|
|
5348
|
-
return /* @__PURE__ */ (0,
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
5363
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
5350
5364
|
Picker,
|
|
5351
5365
|
{
|
|
5352
5366
|
...other,
|
|
@@ -5369,8 +5383,8 @@ var DropdownList = (props) => {
|
|
|
5369
5383
|
}
|
|
5370
5384
|
),
|
|
5371
5385
|
children: [
|
|
5372
|
-
/* @__PURE__ */ (0,
|
|
5373
|
-
/* @__PURE__ */ (0,
|
|
5386
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputPrefix, { children: prefix }),
|
|
5387
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5374
5388
|
InputInnerSpan,
|
|
5375
5389
|
{
|
|
5376
5390
|
placeholder,
|
|
@@ -5379,7 +5393,7 @@ var DropdownList = (props) => {
|
|
|
5379
5393
|
valueIconName
|
|
5380
5394
|
}
|
|
5381
5395
|
),
|
|
5382
|
-
/* @__PURE__ */ (0,
|
|
5396
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5383
5397
|
InputValidationIcon,
|
|
5384
5398
|
{
|
|
5385
5399
|
valid,
|
|
@@ -5388,15 +5402,15 @@ var DropdownList = (props) => {
|
|
|
5388
5402
|
disabled
|
|
5389
5403
|
}
|
|
5390
5404
|
),
|
|
5391
|
-
/* @__PURE__ */ (0,
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5392
5406
|
InputLoadingIcon,
|
|
5393
5407
|
{
|
|
5394
5408
|
loading,
|
|
5395
5409
|
disabled
|
|
5396
5410
|
}
|
|
5397
5411
|
),
|
|
5398
|
-
/* @__PURE__ */ (0,
|
|
5399
|
-
/* @__PURE__ */ (0,
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputSuffix, { children: suffix }),
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5400
5414
|
Button,
|
|
5401
5415
|
{
|
|
5402
5416
|
className: "k-input-button",
|
|
@@ -5409,7 +5423,7 @@ var DropdownList = (props) => {
|
|
|
5409
5423
|
]
|
|
5410
5424
|
}
|
|
5411
5425
|
),
|
|
5412
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
5426
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5413
5427
|
] });
|
|
5414
5428
|
};
|
|
5415
5429
|
DropdownList.states = states22;
|
|
@@ -5418,15 +5432,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5418
5432
|
DropdownList.defaultProps = defaultProps19;
|
|
5419
5433
|
|
|
5420
5434
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5421
|
-
var
|
|
5435
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5422
5436
|
|
|
5423
5437
|
// src/nodata/nodata.tsx
|
|
5424
|
-
var
|
|
5438
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5425
5439
|
var className9 = `k-nodata`;
|
|
5426
|
-
var NoData = (props) => /* @__PURE__ */ (0,
|
|
5440
|
+
var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: classNames(className9, props.className), children: props.children });
|
|
5427
5441
|
|
|
5428
5442
|
// src/list/list.spec.tsx
|
|
5429
|
-
var
|
|
5443
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5430
5444
|
var LIST_CLASSNAME = `k-list`;
|
|
5431
5445
|
var states23 = [];
|
|
5432
5446
|
var options22 = {
|
|
@@ -5454,7 +5468,7 @@ var List = (props) => {
|
|
|
5454
5468
|
listHeader = child.props.label;
|
|
5455
5469
|
child.props.children.map((optChild, index2) => {
|
|
5456
5470
|
listChildren.push(
|
|
5457
|
-
/* @__PURE__ */ (0,
|
|
5471
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5458
5472
|
ListItem,
|
|
5459
5473
|
{
|
|
5460
5474
|
...optChild.props
|
|
@@ -5470,7 +5484,7 @@ var List = (props) => {
|
|
|
5470
5484
|
groupLabel = child.props.label;
|
|
5471
5485
|
}
|
|
5472
5486
|
listChildren.push(
|
|
5473
|
-
/* @__PURE__ */ (0,
|
|
5487
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5474
5488
|
ListItem,
|
|
5475
5489
|
{
|
|
5476
5490
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5482,16 +5496,16 @@ var List = (props) => {
|
|
|
5482
5496
|
);
|
|
5483
5497
|
});
|
|
5484
5498
|
}
|
|
5485
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5499
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5486
5500
|
} else if (child.type === ListItem) {
|
|
5487
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5488
|
-
listContent = /* @__PURE__ */ (0,
|
|
5501
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5502
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5489
5503
|
}
|
|
5490
5504
|
});
|
|
5491
5505
|
} else {
|
|
5492
|
-
listContent = /* @__PURE__ */ (0,
|
|
5506
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(NoData, { children: "No data found." });
|
|
5493
5507
|
}
|
|
5494
|
-
return /* @__PURE__ */ (0,
|
|
5508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
5495
5509
|
"div",
|
|
5496
5510
|
{
|
|
5497
5511
|
...other,
|
|
@@ -5519,7 +5533,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5519
5533
|
List.defaultProps = defaultProps20;
|
|
5520
5534
|
|
|
5521
5535
|
// src/list/list-angular.spec.tsx
|
|
5522
|
-
var
|
|
5536
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5523
5537
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5524
5538
|
var states24 = [];
|
|
5525
5539
|
var options23 = {
|
|
@@ -5546,7 +5560,7 @@ var ListAngular = (props) => {
|
|
|
5546
5560
|
listHeader = child.props.label;
|
|
5547
5561
|
child.props.children.map((optChild, index2) => {
|
|
5548
5562
|
listChildren.push(
|
|
5549
|
-
/* @__PURE__ */ (0,
|
|
5563
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5550
5564
|
ListItem,
|
|
5551
5565
|
{
|
|
5552
5566
|
...optChild.props
|
|
@@ -5557,7 +5571,7 @@ var ListAngular = (props) => {
|
|
|
5557
5571
|
});
|
|
5558
5572
|
} else {
|
|
5559
5573
|
listChildren.push(
|
|
5560
|
-
/* @__PURE__ */ (0,
|
|
5574
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5561
5575
|
ListGroupItem,
|
|
5562
5576
|
{
|
|
5563
5577
|
...child.props,
|
|
@@ -5568,7 +5582,7 @@ var ListAngular = (props) => {
|
|
|
5568
5582
|
);
|
|
5569
5583
|
child.props.children.map((optChild, index2) => {
|
|
5570
5584
|
listChildren.push(
|
|
5571
|
-
/* @__PURE__ */ (0,
|
|
5585
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5572
5586
|
ListItem,
|
|
5573
5587
|
{
|
|
5574
5588
|
...optChild.props
|
|
@@ -5578,16 +5592,16 @@ var ListAngular = (props) => {
|
|
|
5578
5592
|
);
|
|
5579
5593
|
});
|
|
5580
5594
|
}
|
|
5581
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5595
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5582
5596
|
} else if (child.type === ListItem) {
|
|
5583
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5584
|
-
listContent = /* @__PURE__ */ (0,
|
|
5597
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5598
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5585
5599
|
}
|
|
5586
5600
|
});
|
|
5587
5601
|
} else {
|
|
5588
|
-
listContent = /* @__PURE__ */ (0,
|
|
5602
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NoData, { children: "No data found." });
|
|
5589
5603
|
}
|
|
5590
|
-
return /* @__PURE__ */ (0,
|
|
5604
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5591
5605
|
"div",
|
|
5592
5606
|
{
|
|
5593
5607
|
...other,
|
|
@@ -5614,7 +5628,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5614
5628
|
ListAngular.defaultProps = defaultProps21;
|
|
5615
5629
|
|
|
5616
5630
|
// src/list/list-item.spec.tsx
|
|
5617
|
-
var
|
|
5631
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5618
5632
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5619
5633
|
var states25 = [
|
|
5620
5634
|
States.hover,
|
|
@@ -5639,7 +5653,7 @@ var ListItem = (props) => {
|
|
|
5639
5653
|
...other
|
|
5640
5654
|
} = props;
|
|
5641
5655
|
const textOrChildren = text ? text : props.children;
|
|
5642
|
-
return /* @__PURE__ */ (0,
|
|
5656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5643
5657
|
"li",
|
|
5644
5658
|
{
|
|
5645
5659
|
...other,
|
|
@@ -5654,10 +5668,10 @@ var ListItem = (props) => {
|
|
|
5654
5668
|
})
|
|
5655
5669
|
),
|
|
5656
5670
|
children: [
|
|
5657
|
-
showCheckbox && /* @__PURE__ */ (0,
|
|
5658
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5659
|
-
/* @__PURE__ */ (0,
|
|
5660
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0,
|
|
5671
|
+
showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Checkbox, { checked }),
|
|
5672
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: iconName }),
|
|
5673
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5674
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5661
5675
|
]
|
|
5662
5676
|
}
|
|
5663
5677
|
);
|
|
@@ -5668,43 +5682,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5668
5682
|
ListItem.defaultProps = defaultProps22;
|
|
5669
5683
|
|
|
5670
5684
|
// src/list/list-content.tsx
|
|
5671
|
-
var
|
|
5685
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5672
5686
|
var className10 = `k-list-content`;
|
|
5673
5687
|
var ListContent = (props) => {
|
|
5674
5688
|
const {
|
|
5675
5689
|
virtualization
|
|
5676
5690
|
} = props;
|
|
5677
|
-
return /* @__PURE__ */ (0,
|
|
5678
|
-
/* @__PURE__ */ (0,
|
|
5679
|
-
virtualization && /* @__PURE__ */ (0,
|
|
5691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: classNames(className10, props.className), children: [
|
|
5692
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5693
|
+
virtualization && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", {}) })
|
|
5680
5694
|
] });
|
|
5681
5695
|
};
|
|
5682
5696
|
|
|
5683
5697
|
// src/list/list-header.tsx
|
|
5684
|
-
var
|
|
5698
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5685
5699
|
var className11 = `k-list-group-sticky-header`;
|
|
5686
|
-
var ListHeader = (props) => /* @__PURE__ */ (0,
|
|
5700
|
+
var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "k-list-header-text", children: props.children }) });
|
|
5687
5701
|
|
|
5688
5702
|
// src/list/list-group.tsx
|
|
5689
|
-
var
|
|
5703
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5690
5704
|
var ListGroup = (props) => {
|
|
5691
5705
|
const {
|
|
5692
5706
|
virtualization,
|
|
5693
5707
|
label
|
|
5694
5708
|
} = props;
|
|
5695
|
-
return /* @__PURE__ */ (0,
|
|
5696
|
-
label && /* @__PURE__ */ (0,
|
|
5697
|
-
props.children && /* @__PURE__ */ (0,
|
|
5709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
|
|
5710
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ListHeader, { children: label }),
|
|
5711
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ListContent, { virtualization, children: props.children })
|
|
5698
5712
|
] });
|
|
5699
5713
|
};
|
|
5700
5714
|
|
|
5701
5715
|
// src/list/list-group-item.tsx
|
|
5702
|
-
var
|
|
5716
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5703
5717
|
var className12 = `k-list-group-item`;
|
|
5704
|
-
var ListGroupItem = (props) => /* @__PURE__ */ (0,
|
|
5718
|
+
var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "k-list-item-text", children: props.children }) });
|
|
5705
5719
|
|
|
5706
5720
|
// src/list/list-option-label.tsx
|
|
5707
|
-
var
|
|
5721
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5708
5722
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5709
5723
|
var states26 = [
|
|
5710
5724
|
States.hover,
|
|
@@ -5723,7 +5737,7 @@ var ListOptionLabel = (props) => {
|
|
|
5723
5737
|
disabled,
|
|
5724
5738
|
...other
|
|
5725
5739
|
} = props;
|
|
5726
|
-
return /* @__PURE__ */ (0,
|
|
5740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5727
5741
|
"div",
|
|
5728
5742
|
{
|
|
5729
5743
|
...other,
|
|
@@ -5746,31 +5760,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5746
5760
|
ListOptionLabel.defaultProps = defaultProps23;
|
|
5747
5761
|
|
|
5748
5762
|
// src/list/templates/list-normal.tsx
|
|
5749
|
-
var
|
|
5763
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5750
5764
|
|
|
5751
5765
|
// src/list/templates/list-virtualization.tsx
|
|
5752
|
-
var
|
|
5766
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5753
5767
|
|
|
5754
5768
|
// src/list/templates/list-grouping.tsx
|
|
5755
|
-
var
|
|
5769
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5756
5770
|
|
|
5757
5771
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5758
|
-
var
|
|
5772
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5759
5773
|
|
|
5760
5774
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5761
|
-
var
|
|
5775
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5762
5776
|
|
|
5763
5777
|
// src/list/templates/list-grouping-angular.tsx
|
|
5764
|
-
var
|
|
5778
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5765
5779
|
|
|
5766
5780
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5767
|
-
var
|
|
5781
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5768
5782
|
|
|
5769
5783
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5770
|
-
var
|
|
5784
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5771
5785
|
|
|
5772
5786
|
// src/searchbox/searchbox.spec.tsx
|
|
5773
|
-
var
|
|
5787
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5774
5788
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5775
5789
|
var states27 = [
|
|
5776
5790
|
States.hover,
|
|
@@ -5811,7 +5825,7 @@ var Searchbox = (props) => {
|
|
|
5811
5825
|
icon = defaultProps24.icon,
|
|
5812
5826
|
...other
|
|
5813
5827
|
} = props;
|
|
5814
|
-
return /* @__PURE__ */ (0,
|
|
5828
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
5815
5829
|
Input,
|
|
5816
5830
|
{
|
|
5817
5831
|
...other,
|
|
@@ -5827,11 +5841,11 @@ var Searchbox = (props) => {
|
|
|
5827
5841
|
disabled,
|
|
5828
5842
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5829
5843
|
children: [
|
|
5830
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5831
|
-
/* @__PURE__ */ (0,
|
|
5832
|
-
/* @__PURE__ */ (0,
|
|
5833
|
-
/* @__PURE__ */ (0,
|
|
5834
|
-
/* @__PURE__ */ (0,
|
|
5844
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5845
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputInnerInput, { placeholder, value }),
|
|
5846
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputLoadingIcon, { ...props }),
|
|
5847
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputValidationIcon, { ...props }),
|
|
5848
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputClearValue, { ...props })
|
|
5835
5849
|
]
|
|
5836
5850
|
}
|
|
5837
5851
|
);
|
|
@@ -5842,19 +5856,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5842
5856
|
Searchbox.defaultProps = defaultProps24;
|
|
5843
5857
|
|
|
5844
5858
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5845
|
-
var
|
|
5859
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5846
5860
|
|
|
5847
5861
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5848
|
-
var
|
|
5862
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5849
5863
|
|
|
5850
5864
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5851
|
-
var
|
|
5865
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5852
5866
|
|
|
5853
5867
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5854
|
-
var
|
|
5868
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
5855
5869
|
|
|
5856
5870
|
// src/calendar/calendar.spec.tsx
|
|
5857
|
-
var
|
|
5871
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
5858
5872
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5859
5873
|
var states28 = [];
|
|
5860
5874
|
var options27 = {
|
|
@@ -5882,7 +5896,7 @@ var Calendar = (props) => {
|
|
|
5882
5896
|
dir,
|
|
5883
5897
|
...other
|
|
5884
5898
|
} = props;
|
|
5885
|
-
return /* @__PURE__ */ (0,
|
|
5899
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
5886
5900
|
"div",
|
|
5887
5901
|
{
|
|
5888
5902
|
...other,
|
|
@@ -5898,7 +5912,7 @@ var Calendar = (props) => {
|
|
|
5898
5912
|
}
|
|
5899
5913
|
),
|
|
5900
5914
|
children: [
|
|
5901
|
-
/* @__PURE__ */ (0,
|
|
5915
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
5902
5916
|
CalendarHeader,
|
|
5903
5917
|
{
|
|
5904
5918
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5908,7 +5922,7 @@ var Calendar = (props) => {
|
|
|
5908
5922
|
dir
|
|
5909
5923
|
}
|
|
5910
5924
|
),
|
|
5911
|
-
/* @__PURE__ */ (0,
|
|
5925
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
5912
5926
|
CalendarView,
|
|
5913
5927
|
{
|
|
5914
5928
|
calendarView,
|
|
@@ -5920,7 +5934,7 @@ var Calendar = (props) => {
|
|
|
5920
5934
|
selectedRange
|
|
5921
5935
|
}
|
|
5922
5936
|
),
|
|
5923
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
5937
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(CalendarFooter, {})
|
|
5924
5938
|
]
|
|
5925
5939
|
}
|
|
5926
5940
|
);
|
|
@@ -5931,7 +5945,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5931
5945
|
Calendar.defaultProps = defaultProps25;
|
|
5932
5946
|
|
|
5933
5947
|
// src/calendar/calendar-cell.tsx
|
|
5934
|
-
var
|
|
5948
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
5935
5949
|
var states29 = [
|
|
5936
5950
|
States.hover,
|
|
5937
5951
|
States.focus,
|
|
@@ -5981,16 +5995,16 @@ var CalendarCell = (props) => {
|
|
|
5981
5995
|
}
|
|
5982
5996
|
];
|
|
5983
5997
|
if (headerCell) {
|
|
5984
|
-
return /* @__PURE__ */ (0,
|
|
5998
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5985
5999
|
}
|
|
5986
6000
|
if (weekCell) {
|
|
5987
|
-
return /* @__PURE__ */ (0,
|
|
6001
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5988
6002
|
}
|
|
5989
|
-
return /* @__PURE__ */ (0,
|
|
6003
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "k-link", children: text }) });
|
|
5990
6004
|
};
|
|
5991
6005
|
|
|
5992
6006
|
// src/calendar/calendar-header.tsx
|
|
5993
|
-
var
|
|
6007
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5994
6008
|
var className13 = `k-calendar-header`;
|
|
5995
6009
|
var options28 = {
|
|
5996
6010
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -6012,7 +6026,7 @@ var CalendarHeader = (props) => {
|
|
|
6012
6026
|
} = props;
|
|
6013
6027
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
6014
6028
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
6015
|
-
return /* @__PURE__ */ (0,
|
|
6029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
6016
6030
|
"div",
|
|
6017
6031
|
{
|
|
6018
6032
|
...other,
|
|
@@ -6024,12 +6038,12 @@ var CalendarHeader = (props) => {
|
|
|
6024
6038
|
}
|
|
6025
6039
|
),
|
|
6026
6040
|
children: [
|
|
6027
|
-
/* @__PURE__ */ (0,
|
|
6028
|
-
/* @__PURE__ */ (0,
|
|
6029
|
-
/* @__PURE__ */ (0,
|
|
6030
|
-
/* @__PURE__ */ (0,
|
|
6031
|
-
showToday && /* @__PURE__ */ (0,
|
|
6032
|
-
/* @__PURE__ */ (0,
|
|
6041
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "k-spacer" }),
|
|
6043
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
6044
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
6045
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
6046
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
6033
6047
|
] })
|
|
6034
6048
|
]
|
|
6035
6049
|
}
|
|
@@ -6037,12 +6051,12 @@ var CalendarHeader = (props) => {
|
|
|
6037
6051
|
};
|
|
6038
6052
|
|
|
6039
6053
|
// src/calendar/calendar-footer.tsx
|
|
6040
|
-
var
|
|
6054
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6041
6055
|
var className14 = `k-calendar-footer`;
|
|
6042
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
6056
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { ...props, className: classNames(props.className, className14), children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
6043
6057
|
|
|
6044
6058
|
// src/calendar/calendar-table.tsx
|
|
6045
|
-
var
|
|
6059
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6046
6060
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
6047
6061
|
var CalendarTable = (props) => {
|
|
6048
6062
|
const {
|
|
@@ -6054,7 +6068,7 @@ var CalendarTable = (props) => {
|
|
|
6054
6068
|
...other
|
|
6055
6069
|
} = props;
|
|
6056
6070
|
if (calendarView === "year") {
|
|
6057
|
-
return /* @__PURE__ */ (0,
|
|
6071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6058
6072
|
"table",
|
|
6059
6073
|
{
|
|
6060
6074
|
...other,
|
|
@@ -6063,25 +6077,25 @@ var CalendarTable = (props) => {
|
|
|
6063
6077
|
CALENDARTABLE_CLASSNAME
|
|
6064
6078
|
),
|
|
6065
6079
|
children: [
|
|
6066
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
6067
|
-
/* @__PURE__ */ (0,
|
|
6068
|
-
/* @__PURE__ */ (0,
|
|
6069
|
-
/* @__PURE__ */ (0,
|
|
6070
|
-
/* @__PURE__ */ (0,
|
|
6071
|
-
/* @__PURE__ */ (0,
|
|
6072
|
-
/* @__PURE__ */ (0,
|
|
6080
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
6081
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
6082
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6083
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Jan" }),
|
|
6084
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Feb" }),
|
|
6085
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Mar" }),
|
|
6086
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Apr" })
|
|
6073
6087
|
] }),
|
|
6074
|
-
/* @__PURE__ */ (0,
|
|
6075
|
-
/* @__PURE__ */ (0,
|
|
6076
|
-
/* @__PURE__ */ (0,
|
|
6077
|
-
/* @__PURE__ */ (0,
|
|
6078
|
-
/* @__PURE__ */ (0,
|
|
6088
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6089
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "May" }),
|
|
6090
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
6091
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
6092
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
6079
6093
|
] }),
|
|
6080
|
-
/* @__PURE__ */ (0,
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6082
|
-
/* @__PURE__ */ (0,
|
|
6083
|
-
/* @__PURE__ */ (0,
|
|
6084
|
-
/* @__PURE__ */ (0,
|
|
6094
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6095
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Sep" }),
|
|
6096
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
6097
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Nov" }),
|
|
6098
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "Dec" })
|
|
6085
6099
|
] })
|
|
6086
6100
|
] })
|
|
6087
6101
|
]
|
|
@@ -6089,7 +6103,7 @@ var CalendarTable = (props) => {
|
|
|
6089
6103
|
);
|
|
6090
6104
|
}
|
|
6091
6105
|
if (calendarView === "decade") {
|
|
6092
|
-
return /* @__PURE__ */ (0,
|
|
6106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6093
6107
|
"table",
|
|
6094
6108
|
{
|
|
6095
6109
|
...other,
|
|
@@ -6098,25 +6112,25 @@ var CalendarTable = (props) => {
|
|
|
6098
6112
|
CALENDARTABLE_CLASSNAME
|
|
6099
6113
|
),
|
|
6100
6114
|
children: [
|
|
6101
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
6102
|
-
/* @__PURE__ */ (0,
|
|
6103
|
-
/* @__PURE__ */ (0,
|
|
6104
|
-
/* @__PURE__ */ (0,
|
|
6105
|
-
/* @__PURE__ */ (0,
|
|
6106
|
-
/* @__PURE__ */ (0,
|
|
6107
|
-
/* @__PURE__ */ (0,
|
|
6115
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
6116
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
6117
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6118
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
6119
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2020" }),
|
|
6120
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
6121
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2022" })
|
|
6108
6122
|
] }),
|
|
6109
|
-
/* @__PURE__ */ (0,
|
|
6110
|
-
/* @__PURE__ */ (0,
|
|
6111
|
-
/* @__PURE__ */ (0,
|
|
6112
|
-
/* @__PURE__ */ (0,
|
|
6113
|
-
/* @__PURE__ */ (0,
|
|
6123
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6124
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2023" }),
|
|
6125
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
6126
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
6127
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
6114
6128
|
] }),
|
|
6115
|
-
/* @__PURE__ */ (0,
|
|
6116
|
-
/* @__PURE__ */ (0,
|
|
6117
|
-
/* @__PURE__ */ (0,
|
|
6118
|
-
/* @__PURE__ */ (0,
|
|
6119
|
-
/* @__PURE__ */ (0,
|
|
6129
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6130
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2027" }),
|
|
6131
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2028" }),
|
|
6132
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2029" }),
|
|
6133
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
6120
6134
|
] })
|
|
6121
6135
|
] })
|
|
6122
6136
|
]
|
|
@@ -6124,7 +6138,7 @@ var CalendarTable = (props) => {
|
|
|
6124
6138
|
);
|
|
6125
6139
|
}
|
|
6126
6140
|
if (calendarView === "century") {
|
|
6127
|
-
return /* @__PURE__ */ (0,
|
|
6141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6128
6142
|
"table",
|
|
6129
6143
|
{
|
|
6130
6144
|
...other,
|
|
@@ -6133,32 +6147,32 @@ var CalendarTable = (props) => {
|
|
|
6133
6147
|
CALENDARTABLE_CLASSNAME
|
|
6134
6148
|
),
|
|
6135
6149
|
children: [
|
|
6136
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
6137
|
-
/* @__PURE__ */ (0,
|
|
6138
|
-
/* @__PURE__ */ (0,
|
|
6139
|
-
/* @__PURE__ */ (0,
|
|
6140
|
-
/* @__PURE__ */ (0,
|
|
6141
|
-
/* @__PURE__ */ (0,
|
|
6142
|
-
/* @__PURE__ */ (0,
|
|
6150
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
6151
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
6152
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6153
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
6154
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
6155
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
6156
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
6143
6157
|
] }),
|
|
6144
|
-
/* @__PURE__ */ (0,
|
|
6145
|
-
/* @__PURE__ */ (0,
|
|
6146
|
-
/* @__PURE__ */ (0,
|
|
6147
|
-
/* @__PURE__ */ (0,
|
|
6148
|
-
/* @__PURE__ */ (0,
|
|
6158
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6159
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
6160
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
6161
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
6162
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
6149
6163
|
] }),
|
|
6150
|
-
/* @__PURE__ */ (0,
|
|
6151
|
-
/* @__PURE__ */ (0,
|
|
6152
|
-
/* @__PURE__ */ (0,
|
|
6153
|
-
/* @__PURE__ */ (0,
|
|
6154
|
-
/* @__PURE__ */ (0,
|
|
6164
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6165
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
6166
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
6167
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
6168
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
6155
6169
|
] })
|
|
6156
6170
|
] })
|
|
6157
6171
|
]
|
|
6158
6172
|
}
|
|
6159
6173
|
);
|
|
6160
6174
|
}
|
|
6161
|
-
return /* @__PURE__ */ (0,
|
|
6175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6162
6176
|
"table",
|
|
6163
6177
|
{
|
|
6164
6178
|
...other,
|
|
@@ -6167,68 +6181,68 @@ var CalendarTable = (props) => {
|
|
|
6167
6181
|
CALENDARTABLE_CLASSNAME
|
|
6168
6182
|
),
|
|
6169
6183
|
children: [
|
|
6170
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
6171
|
-
/* @__PURE__ */ (0,
|
|
6172
|
-
/* @__PURE__ */ (0,
|
|
6173
|
-
/* @__PURE__ */ (0,
|
|
6174
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6175
|
-
/* @__PURE__ */ (0,
|
|
6176
|
-
/* @__PURE__ */ (0,
|
|
6177
|
-
/* @__PURE__ */ (0,
|
|
6178
|
-
/* @__PURE__ */ (0,
|
|
6179
|
-
/* @__PURE__ */ (0,
|
|
6180
|
-
/* @__PURE__ */ (0,
|
|
6181
|
-
/* @__PURE__ */ (0,
|
|
6184
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
6185
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarTableHead, { showWeek }),
|
|
6186
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
6187
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6188
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
6189
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
6190
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "1" }),
|
|
6191
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2" }),
|
|
6192
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "3" }),
|
|
6193
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "4" }),
|
|
6194
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "5" }),
|
|
6195
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
6182
6196
|
] }),
|
|
6183
|
-
/* @__PURE__ */ (0,
|
|
6184
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6185
|
-
/* @__PURE__ */ (0,
|
|
6186
|
-
/* @__PURE__ */ (0,
|
|
6187
|
-
/* @__PURE__ */ (0,
|
|
6188
|
-
/* @__PURE__ */ (0,
|
|
6189
|
-
/* @__PURE__ */ (0,
|
|
6190
|
-
/* @__PURE__ */ (0,
|
|
6191
|
-
/* @__PURE__ */ (0,
|
|
6197
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6198
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
6199
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
6200
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
6201
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
6202
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
6203
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
6204
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
6205
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
6192
6206
|
] }),
|
|
6193
|
-
/* @__PURE__ */ (0,
|
|
6194
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6195
|
-
/* @__PURE__ */ (0,
|
|
6196
|
-
/* @__PURE__ */ (0,
|
|
6197
|
-
/* @__PURE__ */ (0,
|
|
6198
|
-
/* @__PURE__ */ (0,
|
|
6199
|
-
/* @__PURE__ */ (0,
|
|
6200
|
-
/* @__PURE__ */ (0,
|
|
6201
|
-
/* @__PURE__ */ (0,
|
|
6207
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6208
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
6209
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
6210
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "15" }),
|
|
6211
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "16", today: true }),
|
|
6212
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "17" }),
|
|
6213
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "18" }),
|
|
6214
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "19" }),
|
|
6215
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
6202
6216
|
] }),
|
|
6203
|
-
/* @__PURE__ */ (0,
|
|
6204
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6205
|
-
/* @__PURE__ */ (0,
|
|
6206
|
-
/* @__PURE__ */ (0,
|
|
6207
|
-
/* @__PURE__ */ (0,
|
|
6208
|
-
/* @__PURE__ */ (0,
|
|
6209
|
-
/* @__PURE__ */ (0,
|
|
6210
|
-
/* @__PURE__ */ (0,
|
|
6211
|
-
/* @__PURE__ */ (0,
|
|
6217
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6218
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
6219
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
6220
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "22" }),
|
|
6221
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "23" }),
|
|
6222
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "24" }),
|
|
6223
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
6224
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
6225
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
6212
6226
|
] }),
|
|
6213
|
-
/* @__PURE__ */ (0,
|
|
6214
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6215
|
-
/* @__PURE__ */ (0,
|
|
6216
|
-
/* @__PURE__ */ (0,
|
|
6217
|
-
/* @__PURE__ */ (0,
|
|
6218
|
-
/* @__PURE__ */ (0,
|
|
6219
|
-
/* @__PURE__ */ (0,
|
|
6220
|
-
/* @__PURE__ */ (0,
|
|
6221
|
-
/* @__PURE__ */ (0,
|
|
6227
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6228
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
6229
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
6230
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
6231
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "30" }),
|
|
6232
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "31" }),
|
|
6233
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
6234
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
6235
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
6222
6236
|
] }),
|
|
6223
|
-
/* @__PURE__ */ (0,
|
|
6224
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6225
|
-
/* @__PURE__ */ (0,
|
|
6226
|
-
/* @__PURE__ */ (0,
|
|
6227
|
-
/* @__PURE__ */ (0,
|
|
6228
|
-
/* @__PURE__ */ (0,
|
|
6229
|
-
/* @__PURE__ */ (0,
|
|
6230
|
-
/* @__PURE__ */ (0,
|
|
6231
|
-
/* @__PURE__ */ (0,
|
|
6237
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6238
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
6239
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
6240
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
6241
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
6242
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
6243
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
6244
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
6245
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
6232
6246
|
] })
|
|
6233
6247
|
] })
|
|
6234
6248
|
]
|
|
@@ -6237,34 +6251,34 @@ var CalendarTable = (props) => {
|
|
|
6237
6251
|
};
|
|
6238
6252
|
|
|
6239
6253
|
// src/calendar/calendar-table-head.tsx
|
|
6240
|
-
var
|
|
6254
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6241
6255
|
var className15 = `k-calendar-thead`;
|
|
6242
6256
|
var CalendarTableHead = (props) => {
|
|
6243
6257
|
const {
|
|
6244
6258
|
showWeek,
|
|
6245
6259
|
...other
|
|
6246
6260
|
} = props;
|
|
6247
|
-
return /* @__PURE__ */ (0,
|
|
6261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6248
6262
|
"thead",
|
|
6249
6263
|
{
|
|
6250
6264
|
...other,
|
|
6251
6265
|
className: classNames(props.className, className15),
|
|
6252
|
-
children: /* @__PURE__ */ (0,
|
|
6253
|
-
showWeek && /* @__PURE__ */ (0,
|
|
6254
|
-
/* @__PURE__ */ (0,
|
|
6255
|
-
/* @__PURE__ */ (0,
|
|
6256
|
-
/* @__PURE__ */ (0,
|
|
6257
|
-
/* @__PURE__ */ (0,
|
|
6258
|
-
/* @__PURE__ */ (0,
|
|
6259
|
-
/* @__PURE__ */ (0,
|
|
6260
|
-
/* @__PURE__ */ (0,
|
|
6266
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
6267
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
6268
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
6269
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
6270
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
6271
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
6272
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
6273
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
6274
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
6261
6275
|
] })
|
|
6262
6276
|
}
|
|
6263
6277
|
);
|
|
6264
6278
|
};
|
|
6265
6279
|
|
|
6266
6280
|
// src/calendar/calendar-view.tsx
|
|
6267
|
-
var
|
|
6281
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6268
6282
|
var className16 = `k-calendar-view`;
|
|
6269
6283
|
var defaultProps27 = {
|
|
6270
6284
|
viewsCount: 1,
|
|
@@ -6282,7 +6296,7 @@ var CalendarView = (props) => {
|
|
|
6282
6296
|
selectedRange,
|
|
6283
6297
|
...other
|
|
6284
6298
|
} = props;
|
|
6285
|
-
return /* @__PURE__ */ (0,
|
|
6299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6286
6300
|
"div",
|
|
6287
6301
|
{
|
|
6288
6302
|
...other,
|
|
@@ -6298,7 +6312,7 @@ var CalendarView = (props) => {
|
|
|
6298
6312
|
}
|
|
6299
6313
|
),
|
|
6300
6314
|
children: [...Array(viewsCount)].map(
|
|
6301
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
6315
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6302
6316
|
CalendarTable,
|
|
6303
6317
|
{
|
|
6304
6318
|
calendarView,
|
|
@@ -6315,7 +6329,7 @@ var CalendarView = (props) => {
|
|
|
6315
6329
|
};
|
|
6316
6330
|
|
|
6317
6331
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6318
|
-
var
|
|
6332
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6319
6333
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6320
6334
|
var states30 = [];
|
|
6321
6335
|
var options29 = {};
|
|
@@ -6338,8 +6352,8 @@ var ActionSheet = (props) => {
|
|
|
6338
6352
|
overlay = defaultProps28.overlay,
|
|
6339
6353
|
...other
|
|
6340
6354
|
} = props;
|
|
6341
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
6342
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
6355
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6356
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6343
6357
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6344
6358
|
switch (child.type) {
|
|
6345
6359
|
case ActionSheetHeader:
|
|
@@ -6349,10 +6363,10 @@ var ActionSheet = (props) => {
|
|
|
6349
6363
|
return true;
|
|
6350
6364
|
}
|
|
6351
6365
|
return true;
|
|
6352
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
6353
|
-
return /* @__PURE__ */ (0,
|
|
6354
|
-
overlay && /* @__PURE__ */ (0,
|
|
6355
|
-
/* @__PURE__ */ (0,
|
|
6366
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_jsx_runtime68.Fragment, {});
|
|
6367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
6368
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "k-overlay" }),
|
|
6369
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6356
6370
|
AnimationContainer,
|
|
6357
6371
|
{
|
|
6358
6372
|
animationStyle: {
|
|
@@ -6362,7 +6376,7 @@ var ActionSheet = (props) => {
|
|
|
6362
6376
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6363
6377
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6364
6378
|
},
|
|
6365
|
-
children: /* @__PURE__ */ (0,
|
|
6379
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6366
6380
|
"div",
|
|
6367
6381
|
{
|
|
6368
6382
|
...other,
|
|
@@ -6375,9 +6389,9 @@ var ActionSheet = (props) => {
|
|
|
6375
6389
|
"k-adaptive-actionsheet": adaptive
|
|
6376
6390
|
}
|
|
6377
6391
|
),
|
|
6378
|
-
children: /* @__PURE__ */ (0,
|
|
6392
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
6379
6393
|
_ActionSheetHeader,
|
|
6380
|
-
/* @__PURE__ */ (0,
|
|
6394
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: classNames(
|
|
6381
6395
|
"k-actionsheet-content",
|
|
6382
6396
|
{
|
|
6383
6397
|
"!k-overflow-hidden": adaptive
|
|
@@ -6397,7 +6411,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6397
6411
|
ActionSheet.defaultProps = defaultProps28;
|
|
6398
6412
|
|
|
6399
6413
|
// src/action-sheet/actionsheet-header.tsx
|
|
6400
|
-
var
|
|
6414
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6401
6415
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6402
6416
|
var ActionSheetHeader = (props) => {
|
|
6403
6417
|
const {
|
|
@@ -6407,7 +6421,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6407
6421
|
filter,
|
|
6408
6422
|
...other
|
|
6409
6423
|
} = props;
|
|
6410
|
-
return /* @__PURE__ */ (0,
|
|
6424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6411
6425
|
"div",
|
|
6412
6426
|
{
|
|
6413
6427
|
...other,
|
|
@@ -6415,30 +6429,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6415
6429
|
props.className,
|
|
6416
6430
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6417
6431
|
),
|
|
6418
|
-
children: /* @__PURE__ */ (0,
|
|
6419
|
-
/* @__PURE__ */ (0,
|
|
6420
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
6421
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
6422
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
6432
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
|
|
6433
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6434
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
6435
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-text-center", children: title }),
|
|
6436
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6423
6437
|
] }) }),
|
|
6424
|
-
props.children && /* @__PURE__ */ (0,
|
|
6425
|
-
actions && /* @__PURE__ */ (0,
|
|
6438
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6439
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6426
6440
|
] }),
|
|
6427
|
-
filter && /* @__PURE__ */ (0,
|
|
6441
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6428
6442
|
] })
|
|
6429
6443
|
}
|
|
6430
6444
|
);
|
|
6431
6445
|
};
|
|
6432
6446
|
|
|
6433
6447
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6434
|
-
var
|
|
6448
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6435
6449
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6436
6450
|
var ActionSheetFooter = (props) => {
|
|
6437
6451
|
const {
|
|
6438
6452
|
actions,
|
|
6439
6453
|
...other
|
|
6440
6454
|
} = props;
|
|
6441
|
-
return /* @__PURE__ */ (0,
|
|
6455
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
6442
6456
|
action_buttons_spec_default,
|
|
6443
6457
|
{
|
|
6444
6458
|
...other,
|
|
@@ -6447,17 +6461,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6447
6461
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6448
6462
|
),
|
|
6449
6463
|
alignment: "stretched",
|
|
6450
|
-
children: /* @__PURE__ */ (0,
|
|
6464
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
|
|
6451
6465
|
actions && actions.map((action, index) => {
|
|
6452
6466
|
if (action === "|") {
|
|
6453
|
-
return /* @__PURE__ */ (0,
|
|
6467
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "k-separator" }, index);
|
|
6454
6468
|
}
|
|
6455
6469
|
if (action === " ") {
|
|
6456
|
-
return /* @__PURE__ */ (0,
|
|
6470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "k-spacer" }, index);
|
|
6457
6471
|
}
|
|
6458
6472
|
const importantFlag = action.startsWith("!");
|
|
6459
6473
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6460
|
-
return /* @__PURE__ */ (0,
|
|
6474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6461
6475
|
}),
|
|
6462
6476
|
!actions && props.children
|
|
6463
6477
|
] })
|
|
@@ -6466,12 +6480,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6466
6480
|
};
|
|
6467
6481
|
|
|
6468
6482
|
// src/action-sheet/actionsheet-items.tsx
|
|
6469
|
-
var
|
|
6483
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6470
6484
|
var ActionSheetItems = (props) => {
|
|
6471
6485
|
const {
|
|
6472
6486
|
...other
|
|
6473
6487
|
} = props;
|
|
6474
|
-
return /* @__PURE__ */ (0,
|
|
6488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
|
|
6475
6489
|
"div",
|
|
6476
6490
|
{
|
|
6477
6491
|
...other,
|
|
@@ -6485,7 +6499,7 @@ var ActionSheetItems = (props) => {
|
|
|
6485
6499
|
};
|
|
6486
6500
|
|
|
6487
6501
|
// src/action-sheet/actionsheet-item.tsx
|
|
6488
|
-
var
|
|
6502
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6489
6503
|
var states31 = [
|
|
6490
6504
|
States.hover,
|
|
6491
6505
|
States.focus,
|
|
@@ -6494,7 +6508,7 @@ var states31 = [
|
|
|
6494
6508
|
];
|
|
6495
6509
|
|
|
6496
6510
|
// src/datepicker/datepicker.spec.tsx
|
|
6497
|
-
var
|
|
6511
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6498
6512
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
6499
6513
|
var states32 = [
|
|
6500
6514
|
States.hover,
|
|
@@ -6539,8 +6553,8 @@ var DatePicker = (props) => {
|
|
|
6539
6553
|
dir,
|
|
6540
6554
|
...other
|
|
6541
6555
|
} = props;
|
|
6542
|
-
return /* @__PURE__ */ (0,
|
|
6543
|
-
/* @__PURE__ */ (0,
|
|
6556
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
|
|
6557
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
6544
6558
|
Input,
|
|
6545
6559
|
{
|
|
6546
6560
|
...other,
|
|
@@ -6558,9 +6572,9 @@ var DatePicker = (props) => {
|
|
|
6558
6572
|
readonly,
|
|
6559
6573
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
6560
6574
|
children: [
|
|
6561
|
-
/* @__PURE__ */ (0,
|
|
6562
|
-
/* @__PURE__ */ (0,
|
|
6563
|
-
/* @__PURE__ */ (0,
|
|
6575
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(InputPrefix, { children: prefix }),
|
|
6576
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(InputInnerInput, { placeholder, value }),
|
|
6577
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6564
6578
|
InputValidationIcon,
|
|
6565
6579
|
{
|
|
6566
6580
|
valid,
|
|
@@ -6569,14 +6583,14 @@ var DatePicker = (props) => {
|
|
|
6569
6583
|
disabled
|
|
6570
6584
|
}
|
|
6571
6585
|
),
|
|
6572
|
-
/* @__PURE__ */ (0,
|
|
6586
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6573
6587
|
InputLoadingIcon,
|
|
6574
6588
|
{
|
|
6575
6589
|
loading,
|
|
6576
6590
|
disabled
|
|
6577
6591
|
}
|
|
6578
6592
|
),
|
|
6579
|
-
/* @__PURE__ */ (0,
|
|
6593
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6580
6594
|
InputClearValue,
|
|
6581
6595
|
{
|
|
6582
6596
|
loading,
|
|
@@ -6585,8 +6599,8 @@ var DatePicker = (props) => {
|
|
|
6585
6599
|
value
|
|
6586
6600
|
}
|
|
6587
6601
|
),
|
|
6588
|
-
/* @__PURE__ */ (0,
|
|
6589
|
-
/* @__PURE__ */ (0,
|
|
6602
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(InputSuffix, { children: suffix }),
|
|
6603
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6590
6604
|
Button,
|
|
6591
6605
|
{
|
|
6592
6606
|
className: "k-input-button",
|
|
@@ -6599,9 +6613,9 @@ var DatePicker = (props) => {
|
|
|
6599
6613
|
]
|
|
6600
6614
|
}
|
|
6601
6615
|
),
|
|
6602
|
-
opened && /* @__PURE__ */ (0,
|
|
6603
|
-
adaptive && /* @__PURE__ */ (0,
|
|
6604
|
-
/* @__PURE__ */ (0,
|
|
6616
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Calendar, { dir }) }),
|
|
6617
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6618
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6605
6619
|
ActionSheetHeader,
|
|
6606
6620
|
{
|
|
6607
6621
|
actions: ["x"],
|
|
@@ -6609,7 +6623,7 @@ var DatePicker = (props) => {
|
|
|
6609
6623
|
subTitle: "DD / MM / YY"
|
|
6610
6624
|
}
|
|
6611
6625
|
),
|
|
6612
|
-
/* @__PURE__ */ (0,
|
|
6626
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Calendar, { size: "large" })
|
|
6613
6627
|
] })
|
|
6614
6628
|
] });
|
|
6615
6629
|
};
|
|
@@ -6619,16 +6633,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
6619
6633
|
DatePicker.defaultProps = defaultProps29;
|
|
6620
6634
|
|
|
6621
6635
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
6622
|
-
var
|
|
6636
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6623
6637
|
|
|
6624
6638
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
6625
|
-
var
|
|
6639
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6626
6640
|
|
|
6627
6641
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
6628
|
-
var
|
|
6642
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
6629
6643
|
|
|
6630
6644
|
// src/form/form-field.tsx
|
|
6631
|
-
var
|
|
6645
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
6632
6646
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6633
6647
|
var states33 = [
|
|
6634
6648
|
States.disabled
|
|
@@ -6646,7 +6660,7 @@ var FormField = (props) => {
|
|
|
6646
6660
|
dir,
|
|
6647
6661
|
colSpan
|
|
6648
6662
|
} = props;
|
|
6649
|
-
return /* @__PURE__ */ (0,
|
|
6663
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
6650
6664
|
"div",
|
|
6651
6665
|
{
|
|
6652
6666
|
className: classNames(
|
|
@@ -6659,19 +6673,19 @@ var FormField = (props) => {
|
|
|
6659
6673
|
),
|
|
6660
6674
|
dir,
|
|
6661
6675
|
children: [
|
|
6662
|
-
label && /* @__PURE__ */ (0,
|
|
6676
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("label", { className: classNames(
|
|
6663
6677
|
"k-label",
|
|
6664
6678
|
"k-form-label"
|
|
6665
6679
|
), children: [
|
|
6666
6680
|
label,
|
|
6667
|
-
optional && /* @__PURE__ */ (0,
|
|
6668
|
-
info && /* @__PURE__ */ (0,
|
|
6681
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6682
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
6669
6683
|
] }),
|
|
6670
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
6671
|
-
/* @__PURE__ */ (0,
|
|
6684
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6685
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
6672
6686
|
editor,
|
|
6673
|
-
hint && /* @__PURE__ */ (0,
|
|
6674
|
-
error && /* @__PURE__ */ (0,
|
|
6687
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
6688
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "k-form-error", children: error })
|
|
6675
6689
|
] })
|
|
6676
6690
|
]
|
|
6677
6691
|
}
|
|
@@ -6680,7 +6694,7 @@ var FormField = (props) => {
|
|
|
6680
6694
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6681
6695
|
|
|
6682
6696
|
// src/form/fieldset.tsx
|
|
6683
|
-
var
|
|
6697
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
6684
6698
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6685
6699
|
var Fieldset = (props) => {
|
|
6686
6700
|
const {
|
|
@@ -6690,9 +6704,9 @@ var Fieldset = (props) => {
|
|
|
6690
6704
|
gapX,
|
|
6691
6705
|
gapY
|
|
6692
6706
|
} = props;
|
|
6693
|
-
return /* @__PURE__ */ (0,
|
|
6694
|
-
legend && /* @__PURE__ */ (0,
|
|
6695
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6708
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
6709
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: classNames(
|
|
6696
6710
|
"k-form-layout",
|
|
6697
6711
|
"k-d-grid",
|
|
6698
6712
|
{
|
|
@@ -6700,13 +6714,13 @@ var Fieldset = (props) => {
|
|
|
6700
6714
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6701
6715
|
[`k-gap-y-${gapY}`]: gapY
|
|
6702
6716
|
}
|
|
6703
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
6717
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_jsx_runtime78.Fragment, { children: props.children })
|
|
6704
6718
|
] });
|
|
6705
6719
|
};
|
|
6706
6720
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6707
6721
|
|
|
6708
6722
|
// src/form/form.spec.tsx
|
|
6709
|
-
var
|
|
6723
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
6710
6724
|
var import_react = require("react");
|
|
6711
6725
|
var FORM_CLASSNAME = "k-form";
|
|
6712
6726
|
var states34 = [];
|
|
@@ -6730,7 +6744,7 @@ var Form = (props) => {
|
|
|
6730
6744
|
tag = defaultProps30.tag,
|
|
6731
6745
|
children
|
|
6732
6746
|
} = props;
|
|
6733
|
-
const Parent = ({ tag: tag2, className: className17, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
6747
|
+
const Parent = ({ tag: tag2, className: className17, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("form", { className: className17, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: className17, children: children2 });
|
|
6734
6748
|
const formChildren = [];
|
|
6735
6749
|
if (children) {
|
|
6736
6750
|
if (Array.isArray(children)) {
|
|
@@ -6749,7 +6763,7 @@ var Form = (props) => {
|
|
|
6749
6763
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
6750
6764
|
}
|
|
6751
6765
|
}
|
|
6752
|
-
return /* @__PURE__ */ (0,
|
|
6766
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(Parent, { tag, className: classNames(
|
|
6753
6767
|
props.className,
|
|
6754
6768
|
FORM_CLASSNAME,
|
|
6755
6769
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -6759,7 +6773,7 @@ var Form = (props) => {
|
|
|
6759
6773
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6760
6774
|
}
|
|
6761
6775
|
), children: [
|
|
6762
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6776
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: classNames(
|
|
6763
6777
|
"k-form-layout",
|
|
6764
6778
|
"k-d-grid",
|
|
6765
6779
|
{
|
|
@@ -6767,8 +6781,8 @@ var Form = (props) => {
|
|
|
6767
6781
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6768
6782
|
[`k-gap-y-${gapY}`]: gapY
|
|
6769
6783
|
}
|
|
6770
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
6771
|
-
formButtons && /* @__PURE__ */ (0,
|
|
6784
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_jsx_runtime79.Fragment, { children: formChildren }),
|
|
6785
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
6772
6786
|
] });
|
|
6773
6787
|
};
|
|
6774
6788
|
Form.states = states34;
|
|
@@ -6777,7 +6791,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
6777
6791
|
Form.defaultProps = defaultProps30;
|
|
6778
6792
|
|
|
6779
6793
|
// src/grid/tests/grid-editing-popup.tsx
|
|
6780
|
-
var
|
|
6794
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
6781
6795
|
var styles = `
|
|
6782
6796
|
#test-area {
|
|
6783
6797
|
width: 500px;
|
|
@@ -6787,19 +6801,19 @@ var styles = `
|
|
|
6787
6801
|
position: relative;
|
|
6788
6802
|
}
|
|
6789
6803
|
`;
|
|
6790
|
-
var grid_editing_popup_default = () => /* @__PURE__ */ (0,
|
|
6791
|
-
/* @__PURE__ */ (0,
|
|
6792
|
-
/* @__PURE__ */ (0,
|
|
6793
|
-
/* @__PURE__ */ (0,
|
|
6794
|
-
/* @__PURE__ */ (0,
|
|
6795
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6796
|
-
/* @__PURE__ */ (0,
|
|
6797
|
-
/* @__PURE__ */ (0,
|
|
6798
|
-
/* @__PURE__ */ (0,
|
|
6799
|
-
/* @__PURE__ */ (0,
|
|
6800
|
-
/* @__PURE__ */ (0,
|
|
6801
|
-
/* @__PURE__ */ (0,
|
|
6804
|
+
var grid_editing_popup_default = () => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
|
|
6805
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("style", { children: styles }),
|
|
6806
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(WindowNormal, { title: "Edit task", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
|
|
6807
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
6808
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { icon: "cancel", children: "Cancel" })
|
|
6809
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(Form, { tag: "div", children: [
|
|
6810
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(FormField, { className: "k-form-field-error", label: "Text data field label", error: "Error", editor: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Textbox, { value: "Invalid", invalid: true, showClearButton: true }) }),
|
|
6811
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(FormField, { label: "Date data field label", editor: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(DatePicker, { placeholder: "dd/MM/yyyy" }) }),
|
|
6812
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(FormField, { label: "Numeric data field label", editor: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(NumericTextbox, { placeholder: "##,###" }) }),
|
|
6813
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(FormField, { editor: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
|
|
6814
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Checkbox, { checked: true }),
|
|
6815
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
6802
6816
|
] }) }),
|
|
6803
|
-
/* @__PURE__ */ (0,
|
|
6817
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(FormField, { label: "Boolean data field label", editor: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(DropdownList, { value: "True" }) })
|
|
6804
6818
|
] }) }) }) })
|
|
6805
6819
|
] });
|