@progress/kendo-themes-html 7.0.2-dev.5 → 7.0.3-dev.0
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/input/input.spec.tsx
|
|
4550
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4537
4551
|
var INPUT_CLASSNAME = `k-input`;
|
|
4538
4552
|
var states7 = [
|
|
4539
4553
|
States.hover,
|
|
@@ -4569,7 +4583,7 @@ var Input = (props) => {
|
|
|
4569
4583
|
fillMode = defaultProps7.fillMode,
|
|
4570
4584
|
...other
|
|
4571
4585
|
} = props;
|
|
4572
|
-
return /* @__PURE__ */ (0,
|
|
4586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
4573
4587
|
"span",
|
|
4574
4588
|
{
|
|
4575
4589
|
...other,
|
|
@@ -4588,7 +4602,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4588
4602
|
Input.defaultProps = defaultProps7;
|
|
4589
4603
|
|
|
4590
4604
|
// src/input/picker.spec.tsx
|
|
4591
|
-
var
|
|
4605
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4592
4606
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4593
4607
|
var pickerStates = [
|
|
4594
4608
|
States.hover,
|
|
@@ -4624,7 +4638,7 @@ var Picker = (props) => {
|
|
|
4624
4638
|
fillMode = defaultProps8.fillMode,
|
|
4625
4639
|
...other
|
|
4626
4640
|
} = props;
|
|
4627
|
-
return /* @__PURE__ */ (0,
|
|
4641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
4628
4642
|
"span",
|
|
4629
4643
|
{
|
|
4630
4644
|
...other,
|
|
@@ -4644,7 +4658,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4644
4658
|
Picker.defaultProps = defaultProps8;
|
|
4645
4659
|
|
|
4646
4660
|
// src/input/input-clear-value.tsx
|
|
4647
|
-
var
|
|
4661
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4648
4662
|
var className = `k-clear-value`;
|
|
4649
4663
|
var states8 = [
|
|
4650
4664
|
States.disabled,
|
|
@@ -4660,16 +4674,16 @@ var InputClearValue = (props) => {
|
|
|
4660
4674
|
value
|
|
4661
4675
|
} = props;
|
|
4662
4676
|
if (disabled || readonly || loading || !value) {
|
|
4663
|
-
return /* @__PURE__ */ (0,
|
|
4677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {});
|
|
4664
4678
|
}
|
|
4665
|
-
return /* @__PURE__ */ (0,
|
|
4679
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: "x" }) });
|
|
4666
4680
|
};
|
|
4667
4681
|
InputClearValue.states = states8;
|
|
4668
4682
|
InputClearValue.options = options8;
|
|
4669
4683
|
InputClearValue.className = className;
|
|
4670
4684
|
|
|
4671
4685
|
// src/input/input-inner-input.tsx
|
|
4672
|
-
var
|
|
4686
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4673
4687
|
var className2 = `k-input-inner`;
|
|
4674
4688
|
var states9 = [];
|
|
4675
4689
|
var options9 = {};
|
|
@@ -4687,7 +4701,7 @@ var InputInnerInput = (props) => {
|
|
|
4687
4701
|
autocomplete = defaultProps9.autocomplete,
|
|
4688
4702
|
...other
|
|
4689
4703
|
} = props;
|
|
4690
|
-
return /* @__PURE__ */ (0,
|
|
4704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4691
4705
|
"input",
|
|
4692
4706
|
{
|
|
4693
4707
|
...other,
|
|
@@ -4704,7 +4718,7 @@ InputInnerInput.options = options9;
|
|
|
4704
4718
|
InputInnerInput.className = className2;
|
|
4705
4719
|
|
|
4706
4720
|
// src/input/input-inner-span.tsx
|
|
4707
|
-
var
|
|
4721
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4708
4722
|
var className3 = `k-input-inner`;
|
|
4709
4723
|
var states10 = [];
|
|
4710
4724
|
var options10 = {};
|
|
@@ -4717,16 +4731,16 @@ var InputInnerSpan = (props) => {
|
|
|
4717
4731
|
valueIconName,
|
|
4718
4732
|
...other
|
|
4719
4733
|
} = props;
|
|
4720
|
-
return /* @__PURE__ */ (0,
|
|
4734
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
4721
4735
|
"span",
|
|
4722
4736
|
{
|
|
4723
4737
|
...other,
|
|
4724
4738
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4725
4739
|
children: [
|
|
4726
4740
|
valueIcon,
|
|
4727
|
-
!valueIcon && valueIconName && /* @__PURE__ */ (0,
|
|
4741
|
+
!valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4728
4742
|
showValue && !value && placeholder,
|
|
4729
|
-
showValue && value && /* @__PURE__ */ (0,
|
|
4743
|
+
showValue && value && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "k-input-value-text", children: value })
|
|
4730
4744
|
]
|
|
4731
4745
|
}
|
|
4732
4746
|
);
|
|
@@ -4736,7 +4750,7 @@ InputInnerSpan.options = options10;
|
|
|
4736
4750
|
InputInnerSpan.className = className3;
|
|
4737
4751
|
|
|
4738
4752
|
// src/input/input-inner-textarea.tsx
|
|
4739
|
-
var
|
|
4753
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4740
4754
|
var defaultProps10 = {
|
|
4741
4755
|
value: "",
|
|
4742
4756
|
placeholder: ""
|
|
@@ -4751,7 +4765,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4751
4765
|
rows,
|
|
4752
4766
|
...other
|
|
4753
4767
|
} = props;
|
|
4754
|
-
return /* @__PURE__ */ (0,
|
|
4768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4755
4769
|
"textarea",
|
|
4756
4770
|
{
|
|
4757
4771
|
...other,
|
|
@@ -4767,7 +4781,7 @@ InputInnerTextarea.options = options11;
|
|
|
4767
4781
|
InputInnerTextarea.className = className4;
|
|
4768
4782
|
|
|
4769
4783
|
// src/input/input-loading-icon.tsx
|
|
4770
|
-
var
|
|
4784
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4771
4785
|
var className5 = `k-input-loading-icon`;
|
|
4772
4786
|
var states12 = [
|
|
4773
4787
|
States.disabled,
|
|
@@ -4779,13 +4793,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4779
4793
|
loading
|
|
4780
4794
|
} = props;
|
|
4781
4795
|
if (disabled || !loading) {
|
|
4782
|
-
return /* @__PURE__ */ (0,
|
|
4796
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_jsx_runtime17.Fragment, {});
|
|
4783
4797
|
}
|
|
4784
|
-
return /* @__PURE__ */ (0,
|
|
4798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4785
4799
|
};
|
|
4786
4800
|
|
|
4787
4801
|
// src/input/input-validation-icon.tsx
|
|
4788
|
-
var
|
|
4802
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4789
4803
|
var className6 = `k-input-validation-icon`;
|
|
4790
4804
|
var states13 = [
|
|
4791
4805
|
States.valid,
|
|
@@ -4804,39 +4818,39 @@ var InputValidationIcon = (props) => {
|
|
|
4804
4818
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4805
4819
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4806
4820
|
if (disabled || loading || !renderValidationIcon) {
|
|
4807
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, {});
|
|
4808
4822
|
}
|
|
4809
|
-
return /* @__PURE__ */ (0,
|
|
4823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { className: classNames(className6), icon: iconName });
|
|
4810
4824
|
};
|
|
4811
4825
|
InputValidationIcon.states = states13;
|
|
4812
4826
|
InputValidationIcon.options = options12;
|
|
4813
4827
|
InputValidationIcon.className = className6;
|
|
4814
4828
|
|
|
4815
4829
|
// src/input/input-prefix.tsx
|
|
4816
|
-
var
|
|
4830
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4817
4831
|
var className7 = `k-input-prefix`;
|
|
4818
4832
|
var InputPrefix = (props) => {
|
|
4819
4833
|
if (!props.children) {
|
|
4820
|
-
return /* @__PURE__ */ (0,
|
|
4834
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
|
|
4821
4835
|
}
|
|
4822
|
-
return /* @__PURE__ */ (0,
|
|
4836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: classNames(className7, props.className), children: props.children });
|
|
4823
4837
|
};
|
|
4824
4838
|
|
|
4825
4839
|
// src/input/input-suffix.tsx
|
|
4826
|
-
var
|
|
4840
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4827
4841
|
var className8 = `k-input-suffix`;
|
|
4828
4842
|
var InputSuffix = (props) => {
|
|
4829
4843
|
if (!props.children) {
|
|
4830
|
-
return /* @__PURE__ */ (0,
|
|
4844
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {});
|
|
4831
4845
|
}
|
|
4832
|
-
return /* @__PURE__ */ (0,
|
|
4846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: classNames(className8, props.className), children: props.children });
|
|
4833
4847
|
};
|
|
4834
4848
|
|
|
4835
4849
|
// src/input/input-separator.tsx
|
|
4836
|
-
var
|
|
4850
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4837
4851
|
|
|
4838
4852
|
// src/textbox/textbox.spec.tsx
|
|
4839
|
-
var
|
|
4853
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4840
4854
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4841
4855
|
var states14 = [
|
|
4842
4856
|
States.hover,
|
|
@@ -4879,7 +4893,7 @@ var Textbox = (props) => {
|
|
|
4879
4893
|
showClearButton = defaultProps11.showClearButton,
|
|
4880
4894
|
...other
|
|
4881
4895
|
} = props;
|
|
4882
|
-
return /* @__PURE__ */ (0,
|
|
4896
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
4883
4897
|
Input,
|
|
4884
4898
|
{
|
|
4885
4899
|
...other,
|
|
@@ -4896,9 +4910,9 @@ var Textbox = (props) => {
|
|
|
4896
4910
|
readonly,
|
|
4897
4911
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
4898
4912
|
children: [
|
|
4899
|
-
/* @__PURE__ */ (0,
|
|
4900
|
-
/* @__PURE__ */ (0,
|
|
4901
|
-
/* @__PURE__ */ (0,
|
|
4913
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(InputPrefix, { children: prefix }),
|
|
4914
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(InputInnerInput, { placeholder, value }),
|
|
4915
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4902
4916
|
InputValidationIcon,
|
|
4903
4917
|
{
|
|
4904
4918
|
valid,
|
|
@@ -4907,14 +4921,14 @@ var Textbox = (props) => {
|
|
|
4907
4921
|
disabled
|
|
4908
4922
|
}
|
|
4909
4923
|
),
|
|
4910
|
-
/* @__PURE__ */ (0,
|
|
4924
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4911
4925
|
InputLoadingIcon,
|
|
4912
4926
|
{
|
|
4913
4927
|
loading,
|
|
4914
4928
|
disabled
|
|
4915
4929
|
}
|
|
4916
4930
|
),
|
|
4917
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
4931
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4918
4932
|
InputClearValue,
|
|
4919
4933
|
{
|
|
4920
4934
|
loading,
|
|
@@ -4923,7 +4937,7 @@ var Textbox = (props) => {
|
|
|
4923
4937
|
value
|
|
4924
4938
|
}
|
|
4925
4939
|
),
|
|
4926
|
-
/* @__PURE__ */ (0,
|
|
4940
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(InputSuffix, { children: suffix })
|
|
4927
4941
|
]
|
|
4928
4942
|
}
|
|
4929
4943
|
);
|
|
@@ -4934,16 +4948,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
4934
4948
|
Textbox.defaultProps = defaultProps11;
|
|
4935
4949
|
|
|
4936
4950
|
// src/textbox/templates/textbox-normal.tsx
|
|
4937
|
-
var
|
|
4951
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4938
4952
|
|
|
4939
4953
|
// src/textbox/templates/textbox-prefix.tsx
|
|
4940
|
-
var
|
|
4954
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4941
4955
|
|
|
4942
4956
|
// src/textbox/templates/textbox-suffix.tsx
|
|
4943
|
-
var
|
|
4957
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4944
4958
|
|
|
4945
4959
|
// src/animation-container/animation-container.spec.tsx
|
|
4946
|
-
var
|
|
4960
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4947
4961
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4948
4962
|
var states15 = [];
|
|
4949
4963
|
var options14 = {};
|
|
@@ -4957,7 +4971,7 @@ var AnimationContainer = (props) => {
|
|
|
4957
4971
|
offset,
|
|
4958
4972
|
...other
|
|
4959
4973
|
} = props;
|
|
4960
|
-
return /* @__PURE__ */ (0,
|
|
4974
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4961
4975
|
"div",
|
|
4962
4976
|
{
|
|
4963
4977
|
...other,
|
|
@@ -4969,7 +4983,7 @@ var AnimationContainer = (props) => {
|
|
|
4969
4983
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4970
4984
|
}
|
|
4971
4985
|
),
|
|
4972
|
-
children: /* @__PURE__ */ (0,
|
|
4986
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4973
4987
|
}
|
|
4974
4988
|
);
|
|
4975
4989
|
};
|
|
@@ -4979,7 +4993,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
4979
4993
|
AnimationContainer.defaultProps = defaultProps12;
|
|
4980
4994
|
|
|
4981
4995
|
// src/popup/popup.spec.tsx
|
|
4982
|
-
var
|
|
4996
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4983
4997
|
var POPUP_CLASSNAME = `k-popup`;
|
|
4984
4998
|
var states16 = [];
|
|
4985
4999
|
var options15 = {};
|
|
@@ -4992,12 +5006,12 @@ var Popup = (props) => {
|
|
|
4992
5006
|
positionMode,
|
|
4993
5007
|
...other
|
|
4994
5008
|
} = props;
|
|
4995
|
-
return /* @__PURE__ */ (0,
|
|
5009
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
4996
5010
|
AnimationContainer,
|
|
4997
5011
|
{
|
|
4998
5012
|
positionMode,
|
|
4999
5013
|
offset,
|
|
5000
|
-
children: /* @__PURE__ */ (0,
|
|
5014
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5001
5015
|
}
|
|
5002
5016
|
);
|
|
5003
5017
|
};
|
|
@@ -5007,7 +5021,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5007
5021
|
Popup.defaultProps = defaultProps13;
|
|
5008
5022
|
|
|
5009
5023
|
// src/button-group/button-group.spec.tsx
|
|
5010
|
-
var
|
|
5024
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5011
5025
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5012
5026
|
var states17 = [
|
|
5013
5027
|
States.disabled
|
|
@@ -5025,7 +5039,7 @@ var ButtonGroup = (props) => {
|
|
|
5025
5039
|
stretched,
|
|
5026
5040
|
...other
|
|
5027
5041
|
} = props;
|
|
5028
|
-
return /* @__PURE__ */ (0,
|
|
5042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5029
5043
|
"div",
|
|
5030
5044
|
{
|
|
5031
5045
|
...other,
|
|
@@ -5052,19 +5066,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5052
5066
|
ButtonGroup.defaultProps = defaultProps14;
|
|
5053
5067
|
|
|
5054
5068
|
// src/button-group/templates/icon-button-group.tsx
|
|
5055
|
-
var
|
|
5069
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5056
5070
|
|
|
5057
5071
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5058
|
-
var
|
|
5072
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5059
5073
|
|
|
5060
5074
|
// src/button-group/templates/text-button-group.tsx
|
|
5061
|
-
var
|
|
5075
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5062
5076
|
|
|
5063
5077
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5064
|
-
var
|
|
5078
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5065
5079
|
|
|
5066
5080
|
// src/calendar/calendar.spec.tsx
|
|
5067
|
-
var
|
|
5081
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5068
5082
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5069
5083
|
var states18 = [];
|
|
5070
5084
|
var options17 = {
|
|
@@ -5092,7 +5106,7 @@ var Calendar = (props) => {
|
|
|
5092
5106
|
dir,
|
|
5093
5107
|
...other
|
|
5094
5108
|
} = props;
|
|
5095
|
-
return /* @__PURE__ */ (0,
|
|
5109
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
5096
5110
|
"div",
|
|
5097
5111
|
{
|
|
5098
5112
|
...other,
|
|
@@ -5108,7 +5122,7 @@ var Calendar = (props) => {
|
|
|
5108
5122
|
}
|
|
5109
5123
|
),
|
|
5110
5124
|
children: [
|
|
5111
|
-
/* @__PURE__ */ (0,
|
|
5125
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5112
5126
|
CalendarHeader,
|
|
5113
5127
|
{
|
|
5114
5128
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5118,7 +5132,7 @@ var Calendar = (props) => {
|
|
|
5118
5132
|
dir
|
|
5119
5133
|
}
|
|
5120
5134
|
),
|
|
5121
|
-
/* @__PURE__ */ (0,
|
|
5135
|
+
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5122
5136
|
CalendarView,
|
|
5123
5137
|
{
|
|
5124
5138
|
calendarView,
|
|
@@ -5130,7 +5144,7 @@ var Calendar = (props) => {
|
|
|
5130
5144
|
selectedRange
|
|
5131
5145
|
}
|
|
5132
5146
|
),
|
|
5133
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
5147
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CalendarFooter, {})
|
|
5134
5148
|
]
|
|
5135
5149
|
}
|
|
5136
5150
|
);
|
|
@@ -5141,7 +5155,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5141
5155
|
Calendar.defaultProps = defaultProps15;
|
|
5142
5156
|
|
|
5143
5157
|
// src/calendar/calendar-cell.tsx
|
|
5144
|
-
var
|
|
5158
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5145
5159
|
var states19 = [
|
|
5146
5160
|
States.hover,
|
|
5147
5161
|
States.focus,
|
|
@@ -5191,16 +5205,16 @@ var CalendarCell = (props) => {
|
|
|
5191
5205
|
}
|
|
5192
5206
|
];
|
|
5193
5207
|
if (headerCell) {
|
|
5194
|
-
return /* @__PURE__ */ (0,
|
|
5208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5195
5209
|
}
|
|
5196
5210
|
if (weekCell) {
|
|
5197
|
-
return /* @__PURE__ */ (0,
|
|
5211
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5198
5212
|
}
|
|
5199
|
-
return /* @__PURE__ */ (0,
|
|
5213
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "k-link", children: text }) });
|
|
5200
5214
|
};
|
|
5201
5215
|
|
|
5202
5216
|
// src/calendar/calendar-header.tsx
|
|
5203
|
-
var
|
|
5217
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5204
5218
|
var className9 = `k-calendar-header`;
|
|
5205
5219
|
var options18 = {
|
|
5206
5220
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5222,7 +5236,7 @@ var CalendarHeader = (props) => {
|
|
|
5222
5236
|
} = props;
|
|
5223
5237
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
5224
5238
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
5225
|
-
return /* @__PURE__ */ (0,
|
|
5239
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
5226
5240
|
"div",
|
|
5227
5241
|
{
|
|
5228
5242
|
...other,
|
|
@@ -5234,12 +5248,12 @@ var CalendarHeader = (props) => {
|
|
|
5234
5248
|
}
|
|
5235
5249
|
),
|
|
5236
5250
|
children: [
|
|
5237
|
-
/* @__PURE__ */ (0,
|
|
5238
|
-
/* @__PURE__ */ (0,
|
|
5239
|
-
/* @__PURE__ */ (0,
|
|
5240
|
-
/* @__PURE__ */ (0,
|
|
5241
|
-
showToday && /* @__PURE__ */ (0,
|
|
5242
|
-
/* @__PURE__ */ (0,
|
|
5251
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5252
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "k-spacer" }),
|
|
5253
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
5254
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5255
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5256
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5243
5257
|
] })
|
|
5244
5258
|
]
|
|
5245
5259
|
}
|
|
@@ -5247,12 +5261,12 @@ var CalendarHeader = (props) => {
|
|
|
5247
5261
|
};
|
|
5248
5262
|
|
|
5249
5263
|
// src/calendar/calendar-footer.tsx
|
|
5250
|
-
var
|
|
5264
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5251
5265
|
var className10 = `k-calendar-footer`;
|
|
5252
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
5266
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5253
5267
|
|
|
5254
5268
|
// src/calendar/calendar-table.tsx
|
|
5255
|
-
var
|
|
5269
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5256
5270
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5257
5271
|
var CalendarTable = (props) => {
|
|
5258
5272
|
const {
|
|
@@ -5264,7 +5278,7 @@ var CalendarTable = (props) => {
|
|
|
5264
5278
|
...other
|
|
5265
5279
|
} = props;
|
|
5266
5280
|
if (calendarView === "year") {
|
|
5267
|
-
return /* @__PURE__ */ (0,
|
|
5281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
5268
5282
|
"table",
|
|
5269
5283
|
{
|
|
5270
5284
|
...other,
|
|
@@ -5273,25 +5287,25 @@ var CalendarTable = (props) => {
|
|
|
5273
5287
|
CALENDARTABLE_CLASSNAME
|
|
5274
5288
|
),
|
|
5275
5289
|
children: [
|
|
5276
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5277
|
-
/* @__PURE__ */ (0,
|
|
5278
|
-
/* @__PURE__ */ (0,
|
|
5279
|
-
/* @__PURE__ */ (0,
|
|
5280
|
-
/* @__PURE__ */ (0,
|
|
5281
|
-
/* @__PURE__ */ (0,
|
|
5282
|
-
/* @__PURE__ */ (0,
|
|
5290
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5291
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5292
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5293
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Jan" }),
|
|
5294
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Feb" }),
|
|
5295
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Mar" }),
|
|
5296
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Apr" })
|
|
5283
5297
|
] }),
|
|
5284
|
-
/* @__PURE__ */ (0,
|
|
5285
|
-
/* @__PURE__ */ (0,
|
|
5286
|
-
/* @__PURE__ */ (0,
|
|
5287
|
-
/* @__PURE__ */ (0,
|
|
5288
|
-
/* @__PURE__ */ (0,
|
|
5298
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5299
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "May" }),
|
|
5300
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
5301
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
5302
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
5289
5303
|
] }),
|
|
5290
|
-
/* @__PURE__ */ (0,
|
|
5291
|
-
/* @__PURE__ */ (0,
|
|
5292
|
-
/* @__PURE__ */ (0,
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5294
|
-
/* @__PURE__ */ (0,
|
|
5304
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5305
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Sep" }),
|
|
5306
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
5307
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Nov" }),
|
|
5308
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "Dec" })
|
|
5295
5309
|
] })
|
|
5296
5310
|
] })
|
|
5297
5311
|
]
|
|
@@ -5299,7 +5313,7 @@ var CalendarTable = (props) => {
|
|
|
5299
5313
|
);
|
|
5300
5314
|
}
|
|
5301
5315
|
if (calendarView === "decade") {
|
|
5302
|
-
return /* @__PURE__ */ (0,
|
|
5316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
5303
5317
|
"table",
|
|
5304
5318
|
{
|
|
5305
5319
|
...other,
|
|
@@ -5308,25 +5322,25 @@ var CalendarTable = (props) => {
|
|
|
5308
5322
|
CALENDARTABLE_CLASSNAME
|
|
5309
5323
|
),
|
|
5310
5324
|
children: [
|
|
5311
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5312
|
-
/* @__PURE__ */ (0,
|
|
5313
|
-
/* @__PURE__ */ (0,
|
|
5314
|
-
/* @__PURE__ */ (0,
|
|
5315
|
-
/* @__PURE__ */ (0,
|
|
5316
|
-
/* @__PURE__ */ (0,
|
|
5317
|
-
/* @__PURE__ */ (0,
|
|
5325
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5326
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5327
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5328
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
5329
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2020" }),
|
|
5330
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
5331
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2022" })
|
|
5318
5332
|
] }),
|
|
5319
|
-
/* @__PURE__ */ (0,
|
|
5320
|
-
/* @__PURE__ */ (0,
|
|
5321
|
-
/* @__PURE__ */ (0,
|
|
5322
|
-
/* @__PURE__ */ (0,
|
|
5323
|
-
/* @__PURE__ */ (0,
|
|
5333
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5334
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2023" }),
|
|
5335
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
5336
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
5337
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
5324
5338
|
] }),
|
|
5325
|
-
/* @__PURE__ */ (0,
|
|
5326
|
-
/* @__PURE__ */ (0,
|
|
5327
|
-
/* @__PURE__ */ (0,
|
|
5328
|
-
/* @__PURE__ */ (0,
|
|
5329
|
-
/* @__PURE__ */ (0,
|
|
5339
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5340
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2027" }),
|
|
5341
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2028" }),
|
|
5342
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2029" }),
|
|
5343
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5330
5344
|
] })
|
|
5331
5345
|
] })
|
|
5332
5346
|
]
|
|
@@ -5334,7 +5348,7 @@ var CalendarTable = (props) => {
|
|
|
5334
5348
|
);
|
|
5335
5349
|
}
|
|
5336
5350
|
if (calendarView === "century") {
|
|
5337
|
-
return /* @__PURE__ */ (0,
|
|
5351
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
5338
5352
|
"table",
|
|
5339
5353
|
{
|
|
5340
5354
|
...other,
|
|
@@ -5343,32 +5357,32 @@ var CalendarTable = (props) => {
|
|
|
5343
5357
|
CALENDARTABLE_CLASSNAME
|
|
5344
5358
|
),
|
|
5345
5359
|
children: [
|
|
5346
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5347
|
-
/* @__PURE__ */ (0,
|
|
5348
|
-
/* @__PURE__ */ (0,
|
|
5349
|
-
/* @__PURE__ */ (0,
|
|
5350
|
-
/* @__PURE__ */ (0,
|
|
5351
|
-
/* @__PURE__ */ (0,
|
|
5352
|
-
/* @__PURE__ */ (0,
|
|
5360
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5361
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5362
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5363
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
5364
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
5365
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5366
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
5353
5367
|
] }),
|
|
5354
|
-
/* @__PURE__ */ (0,
|
|
5355
|
-
/* @__PURE__ */ (0,
|
|
5356
|
-
/* @__PURE__ */ (0,
|
|
5357
|
-
/* @__PURE__ */ (0,
|
|
5358
|
-
/* @__PURE__ */ (0,
|
|
5368
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5369
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
5370
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5371
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5372
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5359
5373
|
] }),
|
|
5360
|
-
/* @__PURE__ */ (0,
|
|
5361
|
-
/* @__PURE__ */ (0,
|
|
5362
|
-
/* @__PURE__ */ (0,
|
|
5363
|
-
/* @__PURE__ */ (0,
|
|
5364
|
-
/* @__PURE__ */ (0,
|
|
5374
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5375
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
5376
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
5377
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
5378
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5365
5379
|
] })
|
|
5366
5380
|
] })
|
|
5367
5381
|
]
|
|
5368
5382
|
}
|
|
5369
5383
|
);
|
|
5370
5384
|
}
|
|
5371
|
-
return /* @__PURE__ */ (0,
|
|
5385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
5372
5386
|
"table",
|
|
5373
5387
|
{
|
|
5374
5388
|
...other,
|
|
@@ -5377,68 +5391,68 @@ var CalendarTable = (props) => {
|
|
|
5377
5391
|
CALENDARTABLE_CLASSNAME
|
|
5378
5392
|
),
|
|
5379
5393
|
children: [
|
|
5380
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5381
|
-
/* @__PURE__ */ (0,
|
|
5382
|
-
/* @__PURE__ */ (0,
|
|
5383
|
-
/* @__PURE__ */ (0,
|
|
5384
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5385
|
-
/* @__PURE__ */ (0,
|
|
5386
|
-
/* @__PURE__ */ (0,
|
|
5387
|
-
/* @__PURE__ */ (0,
|
|
5388
|
-
/* @__PURE__ */ (0,
|
|
5389
|
-
/* @__PURE__ */ (0,
|
|
5390
|
-
/* @__PURE__ */ (0,
|
|
5391
|
-
/* @__PURE__ */ (0,
|
|
5394
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5395
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarTableHead, { showWeek }),
|
|
5396
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5397
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5398
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
5399
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5400
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "1" }),
|
|
5401
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2" }),
|
|
5402
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "3" }),
|
|
5403
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "4" }),
|
|
5404
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "5" }),
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
5392
5406
|
] }),
|
|
5393
|
-
/* @__PURE__ */ (0,
|
|
5394
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5395
|
-
/* @__PURE__ */ (0,
|
|
5396
|
-
/* @__PURE__ */ (0,
|
|
5397
|
-
/* @__PURE__ */ (0,
|
|
5398
|
-
/* @__PURE__ */ (0,
|
|
5399
|
-
/* @__PURE__ */ (0,
|
|
5400
|
-
/* @__PURE__ */ (0,
|
|
5401
|
-
/* @__PURE__ */ (0,
|
|
5407
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5408
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
5409
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
5410
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
5411
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5415
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
5402
5416
|
] }),
|
|
5403
|
-
/* @__PURE__ */ (0,
|
|
5404
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5405
|
-
/* @__PURE__ */ (0,
|
|
5406
|
-
/* @__PURE__ */ (0,
|
|
5407
|
-
/* @__PURE__ */ (0,
|
|
5408
|
-
/* @__PURE__ */ (0,
|
|
5409
|
-
/* @__PURE__ */ (0,
|
|
5410
|
-
/* @__PURE__ */ (0,
|
|
5411
|
-
/* @__PURE__ */ (0,
|
|
5417
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5418
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
5419
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
5420
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "15" }),
|
|
5421
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "16", today: true }),
|
|
5422
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "17" }),
|
|
5423
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "18" }),
|
|
5424
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "19" }),
|
|
5425
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
5412
5426
|
] }),
|
|
5413
|
-
/* @__PURE__ */ (0,
|
|
5414
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5417
|
-
/* @__PURE__ */ (0,
|
|
5418
|
-
/* @__PURE__ */ (0,
|
|
5419
|
-
/* @__PURE__ */ (0,
|
|
5420
|
-
/* @__PURE__ */ (0,
|
|
5421
|
-
/* @__PURE__ */ (0,
|
|
5427
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5428
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
5429
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
5430
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "22" }),
|
|
5431
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "23" }),
|
|
5432
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "24" }),
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5434
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5435
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5422
5436
|
] }),
|
|
5423
|
-
/* @__PURE__ */ (0,
|
|
5424
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5425
|
-
/* @__PURE__ */ (0,
|
|
5426
|
-
/* @__PURE__ */ (0,
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5428
|
-
/* @__PURE__ */ (0,
|
|
5429
|
-
/* @__PURE__ */ (0,
|
|
5430
|
-
/* @__PURE__ */ (0,
|
|
5431
|
-
/* @__PURE__ */ (0,
|
|
5437
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5438
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5440
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5441
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "30" }),
|
|
5442
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "31" }),
|
|
5443
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5444
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5445
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5432
5446
|
] }),
|
|
5433
|
-
/* @__PURE__ */ (0,
|
|
5434
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5435
|
-
/* @__PURE__ */ (0,
|
|
5436
|
-
/* @__PURE__ */ (0,
|
|
5437
|
-
/* @__PURE__ */ (0,
|
|
5438
|
-
/* @__PURE__ */ (0,
|
|
5439
|
-
/* @__PURE__ */ (0,
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
/* @__PURE__ */ (0,
|
|
5447
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5448
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
5449
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5450
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5451
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5452
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5453
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5454
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5455
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5442
5456
|
] })
|
|
5443
5457
|
] })
|
|
5444
5458
|
]
|
|
@@ -5447,34 +5461,34 @@ var CalendarTable = (props) => {
|
|
|
5447
5461
|
};
|
|
5448
5462
|
|
|
5449
5463
|
// src/calendar/calendar-table-head.tsx
|
|
5450
|
-
var
|
|
5464
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5451
5465
|
var className11 = `k-calendar-thead`;
|
|
5452
5466
|
var CalendarTableHead = (props) => {
|
|
5453
5467
|
const {
|
|
5454
5468
|
showWeek,
|
|
5455
5469
|
...other
|
|
5456
5470
|
} = props;
|
|
5457
|
-
return /* @__PURE__ */ (0,
|
|
5471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
5458
5472
|
"thead",
|
|
5459
5473
|
{
|
|
5460
5474
|
...other,
|
|
5461
5475
|
className: classNames(props.className, className11),
|
|
5462
|
-
children: /* @__PURE__ */ (0,
|
|
5463
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5464
|
-
/* @__PURE__ */ (0,
|
|
5465
|
-
/* @__PURE__ */ (0,
|
|
5466
|
-
/* @__PURE__ */ (0,
|
|
5467
|
-
/* @__PURE__ */ (0,
|
|
5468
|
-
/* @__PURE__ */ (0,
|
|
5469
|
-
/* @__PURE__ */ (0,
|
|
5470
|
-
/* @__PURE__ */ (0,
|
|
5476
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5477
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5478
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
5479
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5480
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5481
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
5482
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
5483
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
5471
5485
|
] })
|
|
5472
5486
|
}
|
|
5473
5487
|
);
|
|
5474
5488
|
};
|
|
5475
5489
|
|
|
5476
5490
|
// src/calendar/calendar-view.tsx
|
|
5477
|
-
var
|
|
5491
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5478
5492
|
var className12 = `k-calendar-view`;
|
|
5479
5493
|
var defaultProps17 = {
|
|
5480
5494
|
viewsCount: 1,
|
|
@@ -5492,7 +5506,7 @@ var CalendarView = (props) => {
|
|
|
5492
5506
|
selectedRange,
|
|
5493
5507
|
...other
|
|
5494
5508
|
} = props;
|
|
5495
|
-
return /* @__PURE__ */ (0,
|
|
5509
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
5496
5510
|
"div",
|
|
5497
5511
|
{
|
|
5498
5512
|
...other,
|
|
@@ -5508,7 +5522,7 @@ var CalendarView = (props) => {
|
|
|
5508
5522
|
}
|
|
5509
5523
|
),
|
|
5510
5524
|
children: [...Array(viewsCount)].map(
|
|
5511
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
5525
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
5512
5526
|
CalendarTable,
|
|
5513
5527
|
{
|
|
5514
5528
|
calendarView,
|
|
@@ -5525,7 +5539,7 @@ var CalendarView = (props) => {
|
|
|
5525
5539
|
};
|
|
5526
5540
|
|
|
5527
5541
|
// src/time-selector/time-selector.spec.tsx
|
|
5528
|
-
var
|
|
5542
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5529
5543
|
var TIMESELECTOR_CLASSNAME = `k-timeselector`;
|
|
5530
5544
|
var states20 = [];
|
|
5531
5545
|
var options19 = {
|
|
@@ -5552,9 +5566,9 @@ var TimeSelector = (props) => {
|
|
|
5552
5566
|
if (index === 0 || columnType === "tt") {
|
|
5553
5567
|
separator = false;
|
|
5554
5568
|
}
|
|
5555
|
-
return /* @__PURE__ */ (0,
|
|
5569
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TimeSelectorColumn, { type: columnType, focus, separator }) });
|
|
5556
5570
|
});
|
|
5557
|
-
return /* @__PURE__ */ (0,
|
|
5571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
5558
5572
|
"div",
|
|
5559
5573
|
{
|
|
5560
5574
|
...other,
|
|
@@ -5566,10 +5580,10 @@ var TimeSelector = (props) => {
|
|
|
5566
5580
|
})
|
|
5567
5581
|
),
|
|
5568
5582
|
children: [
|
|
5569
|
-
/* @__PURE__ */ (0,
|
|
5570
|
-
/* @__PURE__ */ (0,
|
|
5571
|
-
/* @__PURE__ */ (0,
|
|
5572
|
-
/* @__PURE__ */ (0,
|
|
5583
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: header }),
|
|
5584
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: fastSelection }),
|
|
5585
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "k-time-list-container", children: [
|
|
5586
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "k-time-highlight" }),
|
|
5573
5587
|
columnsDom
|
|
5574
5588
|
] })
|
|
5575
5589
|
]
|
|
@@ -5582,7 +5596,7 @@ TimeSelector.className = TIMESELECTOR_CLASSNAME;
|
|
|
5582
5596
|
TimeSelector.defaultProps = defaultProps18;
|
|
5583
5597
|
|
|
5584
5598
|
// src/time-selector/time-selector-column.tsx
|
|
5585
|
-
var
|
|
5599
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5586
5600
|
var states21 = [
|
|
5587
5601
|
States.focus
|
|
5588
5602
|
];
|
|
@@ -5621,11 +5635,11 @@ var TimeSelectorColumn = (props) => {
|
|
|
5621
5635
|
break;
|
|
5622
5636
|
}
|
|
5623
5637
|
const items = columnData.map(
|
|
5624
|
-
(data) => /* @__PURE__ */ (0,
|
|
5638
|
+
(data) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_jsx_runtime41.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { children: data }) }) })
|
|
5625
5639
|
);
|
|
5626
|
-
return /* @__PURE__ */ (0,
|
|
5627
|
-
separator && /* @__PURE__ */ (0,
|
|
5628
|
-
/* @__PURE__ */ (0,
|
|
5640
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
5641
|
+
separator && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "k-time-separator", children: ":" }),
|
|
5642
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5629
5643
|
"div",
|
|
5630
5644
|
{
|
|
5631
5645
|
...other,
|
|
@@ -5637,10 +5651,10 @@ var TimeSelectorColumn = (props) => {
|
|
|
5637
5651
|
})
|
|
5638
5652
|
),
|
|
5639
5653
|
children: [
|
|
5640
|
-
/* @__PURE__ */ (0,
|
|
5641
|
-
/* @__PURE__ */ (0,
|
|
5642
|
-
/* @__PURE__ */ (0,
|
|
5643
|
-
/* @__PURE__ */ (0,
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-title", children: text }),
|
|
5655
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "k-time-list", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "k-content k-scrollable k-time-container", children: [
|
|
5656
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("ul", { className: "k-reset", style: { transform: "translateY(97px)" }, children: items }),
|
|
5657
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "k-scrollable-placeholder" })
|
|
5644
5658
|
] }) })
|
|
5645
5659
|
]
|
|
5646
5660
|
}
|
|
@@ -5649,14 +5663,14 @@ var TimeSelectorColumn = (props) => {
|
|
|
5649
5663
|
};
|
|
5650
5664
|
|
|
5651
5665
|
// src/time-selector/time-selector-header.tsx
|
|
5652
|
-
var
|
|
5666
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5653
5667
|
var className13 = `k-time-header`;
|
|
5654
5668
|
var TimeSelectorHeader = (props) => {
|
|
5655
5669
|
const {
|
|
5656
5670
|
title,
|
|
5657
5671
|
...other
|
|
5658
5672
|
} = props;
|
|
5659
|
-
return /* @__PURE__ */ (0,
|
|
5673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
5660
5674
|
"div",
|
|
5661
5675
|
{
|
|
5662
5676
|
...other,
|
|
@@ -5665,7 +5679,7 @@ var TimeSelectorHeader = (props) => {
|
|
|
5665
5679
|
className13
|
|
5666
5680
|
),
|
|
5667
5681
|
children: [
|
|
5668
|
-
title != null && /* @__PURE__ */ (0,
|
|
5682
|
+
title != null && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-title", children: title }),
|
|
5669
5683
|
props.children
|
|
5670
5684
|
]
|
|
5671
5685
|
}
|
|
@@ -5673,19 +5687,19 @@ var TimeSelectorHeader = (props) => {
|
|
|
5673
5687
|
};
|
|
5674
5688
|
|
|
5675
5689
|
// src/time-selector/time-selector-fast-selection.tsx
|
|
5676
|
-
var
|
|
5690
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5677
5691
|
|
|
5678
5692
|
// src/time-selector/templates/time-selector-all.tsx
|
|
5679
|
-
var
|
|
5693
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5680
5694
|
|
|
5681
5695
|
// src/time-selector/templates/time-selector-hour.tsx
|
|
5682
|
-
var
|
|
5696
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5683
5697
|
|
|
5684
5698
|
// src/time-selector/templates/time-selector-minute.tsx
|
|
5685
|
-
var
|
|
5699
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5686
5700
|
|
|
5687
5701
|
// src/datetime-selector/datetime-selector.spec.tsx
|
|
5688
|
-
var
|
|
5702
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5689
5703
|
var DATETIMESELECTOR_CLASSNAME = `k-datetime-wrap`;
|
|
5690
5704
|
var states22 = [];
|
|
5691
5705
|
var options20 = {
|
|
@@ -5704,7 +5718,7 @@ var DateTimeSelector = (props) => {
|
|
|
5704
5718
|
dir,
|
|
5705
5719
|
...other
|
|
5706
5720
|
} = props;
|
|
5707
|
-
return /* @__PURE__ */ (0,
|
|
5721
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
5708
5722
|
"div",
|
|
5709
5723
|
{
|
|
5710
5724
|
...other,
|
|
@@ -5720,20 +5734,20 @@ var DateTimeSelector = (props) => {
|
|
|
5720
5734
|
})
|
|
5721
5735
|
),
|
|
5722
5736
|
children: [
|
|
5723
|
-
/* @__PURE__ */ (0,
|
|
5724
|
-
/* @__PURE__ */ (0,
|
|
5725
|
-
/* @__PURE__ */ (0,
|
|
5737
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-datetime-buttongroup", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(ButtonGroup, { stretched: true, children: [
|
|
5738
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { className: "k-group-start", size, selected: tab === "date", children: "Date" }),
|
|
5739
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { className: "k-group-end", size, selected: tab === "time", children: "Time" })
|
|
5726
5740
|
] }) }),
|
|
5727
|
-
/* @__PURE__ */ (0,
|
|
5728
|
-
/* @__PURE__ */ (0,
|
|
5729
|
-
/* @__PURE__ */ (0,
|
|
5730
|
-
] }) : /* @__PURE__ */ (0,
|
|
5731
|
-
/* @__PURE__ */ (0,
|
|
5732
|
-
/* @__PURE__ */ (0,
|
|
5741
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-datetime-selector", children: tab === "time" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
5742
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-datetime-calendar-wrap" }),
|
|
5743
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-datetime-time-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TimeSelector, { size, columns: ["HH", "mm", "ss", "tt"], focusedColumn: "mm", header: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TimeSelectorHeader, { title: "10:00:00 AM", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { size, fillMode: "flat", className: "k-time-now", children: "Now" }) }) }) })
|
|
5744
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
|
|
5745
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-datetime-calendar-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Calendar, { size, showOtherMonth: true, dir }) }),
|
|
5746
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "k-datetime-time-wrap" })
|
|
5733
5747
|
] }) }),
|
|
5734
|
-
actionButtons && /* @__PURE__ */ (0,
|
|
5735
|
-
/* @__PURE__ */ (0,
|
|
5736
|
-
/* @__PURE__ */ (0,
|
|
5748
|
+
actionButtons && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(ActionButtons, { className: "k-datetime-footer", alignment: "stretched", children: [
|
|
5749
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { size, themeColor: "primary", className: "k-time-accept", children: "Set" }),
|
|
5750
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { size, className: "k-time-cancel", children: "Cancel" })
|
|
5737
5751
|
] })
|
|
5738
5752
|
]
|
|
5739
5753
|
}
|
|
@@ -5745,7 +5759,7 @@ DateTimeSelector.className = DATETIMESELECTOR_CLASSNAME;
|
|
|
5745
5759
|
DateTimeSelector.defaultProps = defaultProps19;
|
|
5746
5760
|
|
|
5747
5761
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5748
|
-
var
|
|
5762
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5749
5763
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5750
5764
|
var states23 = [];
|
|
5751
5765
|
var options21 = {};
|
|
@@ -5768,8 +5782,8 @@ var ActionSheet = (props) => {
|
|
|
5768
5782
|
overlay = defaultProps20.overlay,
|
|
5769
5783
|
...other
|
|
5770
5784
|
} = props;
|
|
5771
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
5772
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
5785
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5786
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5773
5787
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5774
5788
|
switch (child.type) {
|
|
5775
5789
|
case ActionSheetHeader:
|
|
@@ -5779,10 +5793,10 @@ var ActionSheet = (props) => {
|
|
|
5779
5793
|
return true;
|
|
5780
5794
|
}
|
|
5781
5795
|
return true;
|
|
5782
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
5783
|
-
return /* @__PURE__ */ (0,
|
|
5784
|
-
overlay && /* @__PURE__ */ (0,
|
|
5785
|
-
/* @__PURE__ */ (0,
|
|
5796
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, {});
|
|
5797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
5798
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "k-overlay" }),
|
|
5799
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5786
5800
|
AnimationContainer,
|
|
5787
5801
|
{
|
|
5788
5802
|
animationStyle: {
|
|
@@ -5792,7 +5806,7 @@ var ActionSheet = (props) => {
|
|
|
5792
5806
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5793
5807
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5794
5808
|
},
|
|
5795
|
-
children: /* @__PURE__ */ (0,
|
|
5809
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5796
5810
|
"div",
|
|
5797
5811
|
{
|
|
5798
5812
|
...other,
|
|
@@ -5805,9 +5819,9 @@ var ActionSheet = (props) => {
|
|
|
5805
5819
|
"k-adaptive-actionsheet": adaptive
|
|
5806
5820
|
}
|
|
5807
5821
|
),
|
|
5808
|
-
children: /* @__PURE__ */ (0,
|
|
5822
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
|
|
5809
5823
|
_ActionSheetHeader,
|
|
5810
|
-
/* @__PURE__ */ (0,
|
|
5824
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: classNames(
|
|
5811
5825
|
"k-actionsheet-content",
|
|
5812
5826
|
{
|
|
5813
5827
|
"!k-overflow-hidden": adaptive
|
|
@@ -5827,7 +5841,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5827
5841
|
ActionSheet.defaultProps = defaultProps20;
|
|
5828
5842
|
|
|
5829
5843
|
// src/searchbox/searchbox.spec.tsx
|
|
5830
|
-
var
|
|
5844
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5831
5845
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5832
5846
|
var states24 = [
|
|
5833
5847
|
States.hover,
|
|
@@ -5868,7 +5882,7 @@ var Searchbox = (props) => {
|
|
|
5868
5882
|
icon = defaultProps21.icon,
|
|
5869
5883
|
...other
|
|
5870
5884
|
} = props;
|
|
5871
|
-
return /* @__PURE__ */ (0,
|
|
5885
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
5872
5886
|
Input,
|
|
5873
5887
|
{
|
|
5874
5888
|
...other,
|
|
@@ -5884,11 +5898,11 @@ var Searchbox = (props) => {
|
|
|
5884
5898
|
disabled,
|
|
5885
5899
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5886
5900
|
children: [
|
|
5887
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5888
|
-
/* @__PURE__ */ (0,
|
|
5889
|
-
/* @__PURE__ */ (0,
|
|
5890
|
-
/* @__PURE__ */ (0,
|
|
5891
|
-
/* @__PURE__ */ (0,
|
|
5901
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5902
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputInnerInput, { placeholder, value }),
|
|
5903
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputLoadingIcon, { ...props }),
|
|
5904
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputValidationIcon, { ...props }),
|
|
5905
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputClearValue, { ...props })
|
|
5892
5906
|
]
|
|
5893
5907
|
}
|
|
5894
5908
|
);
|
|
@@ -5899,10 +5913,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5899
5913
|
Searchbox.defaultProps = defaultProps21;
|
|
5900
5914
|
|
|
5901
5915
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5902
|
-
var
|
|
5916
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5903
5917
|
|
|
5904
5918
|
// src/action-sheet/actionsheet-header.tsx
|
|
5905
|
-
var
|
|
5919
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5906
5920
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5907
5921
|
var ActionSheetHeader = (props) => {
|
|
5908
5922
|
const {
|
|
@@ -5912,7 +5926,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5912
5926
|
filter,
|
|
5913
5927
|
...other
|
|
5914
5928
|
} = props;
|
|
5915
|
-
return /* @__PURE__ */ (0,
|
|
5929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5916
5930
|
"div",
|
|
5917
5931
|
{
|
|
5918
5932
|
...other,
|
|
@@ -5920,30 +5934,30 @@ var ActionSheetHeader = (props) => {
|
|
|
5920
5934
|
props.className,
|
|
5921
5935
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5922
5936
|
),
|
|
5923
|
-
children: /* @__PURE__ */ (0,
|
|
5924
|
-
/* @__PURE__ */ (0,
|
|
5925
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
5926
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
5927
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
5937
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
5938
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5939
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
5940
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-text-center", children: title }),
|
|
5941
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5928
5942
|
] }) }),
|
|
5929
|
-
props.children && /* @__PURE__ */ (0,
|
|
5930
|
-
actions && /* @__PURE__ */ (0,
|
|
5943
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5944
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5931
5945
|
] }),
|
|
5932
|
-
filter && /* @__PURE__ */ (0,
|
|
5946
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5933
5947
|
] })
|
|
5934
5948
|
}
|
|
5935
5949
|
);
|
|
5936
5950
|
};
|
|
5937
5951
|
|
|
5938
5952
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5939
|
-
var
|
|
5953
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5940
5954
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5941
5955
|
var ActionSheetFooter = (props) => {
|
|
5942
5956
|
const {
|
|
5943
5957
|
actions,
|
|
5944
5958
|
...other
|
|
5945
5959
|
} = props;
|
|
5946
|
-
return /* @__PURE__ */ (0,
|
|
5960
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
5947
5961
|
action_buttons_spec_default,
|
|
5948
5962
|
{
|
|
5949
5963
|
...other,
|
|
@@ -5952,17 +5966,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5952
5966
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5953
5967
|
),
|
|
5954
5968
|
alignment: "stretched",
|
|
5955
|
-
children: /* @__PURE__ */ (0,
|
|
5969
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
5956
5970
|
actions && actions.map((action, index) => {
|
|
5957
5971
|
if (action === "|") {
|
|
5958
|
-
return /* @__PURE__ */ (0,
|
|
5972
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "k-separator" }, index);
|
|
5959
5973
|
}
|
|
5960
5974
|
if (action === " ") {
|
|
5961
|
-
return /* @__PURE__ */ (0,
|
|
5975
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "k-spacer" }, index);
|
|
5962
5976
|
}
|
|
5963
5977
|
const importantFlag = action.startsWith("!");
|
|
5964
5978
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5965
|
-
return /* @__PURE__ */ (0,
|
|
5979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5966
5980
|
}),
|
|
5967
5981
|
!actions && props.children
|
|
5968
5982
|
] })
|
|
@@ -5971,12 +5985,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5971
5985
|
};
|
|
5972
5986
|
|
|
5973
5987
|
// src/action-sheet/actionsheet-items.tsx
|
|
5974
|
-
var
|
|
5988
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5975
5989
|
var ActionSheetItems = (props) => {
|
|
5976
5990
|
const {
|
|
5977
5991
|
...other
|
|
5978
5992
|
} = props;
|
|
5979
|
-
return /* @__PURE__ */ (0,
|
|
5993
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5980
5994
|
"div",
|
|
5981
5995
|
{
|
|
5982
5996
|
...other,
|
|
@@ -5990,7 +6004,7 @@ var ActionSheetItems = (props) => {
|
|
|
5990
6004
|
};
|
|
5991
6005
|
|
|
5992
6006
|
// src/action-sheet/actionsheet-item.tsx
|
|
5993
|
-
var
|
|
6007
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5994
6008
|
var states25 = [
|
|
5995
6009
|
States.hover,
|
|
5996
6010
|
States.focus,
|
|
@@ -5999,7 +6013,7 @@ var states25 = [
|
|
|
5999
6013
|
];
|
|
6000
6014
|
|
|
6001
6015
|
// src/datetimepicker/datetimepicker.spec.tsx
|
|
6002
|
-
var
|
|
6016
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6003
6017
|
var DATETIMEPICKER_CLASSNAME = `k-datetimepicker`;
|
|
6004
6018
|
var states26 = [
|
|
6005
6019
|
States.hover,
|
|
@@ -6046,8 +6060,8 @@ var DateTimePicker = (props) => {
|
|
|
6046
6060
|
adaptiveSettings,
|
|
6047
6061
|
...other
|
|
6048
6062
|
} = props;
|
|
6049
|
-
return /* @__PURE__ */ (0,
|
|
6050
|
-
/* @__PURE__ */ (0,
|
|
6063
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
|
|
6064
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
6051
6065
|
Input,
|
|
6052
6066
|
{
|
|
6053
6067
|
...other,
|
|
@@ -6065,9 +6079,9 @@ var DateTimePicker = (props) => {
|
|
|
6065
6079
|
readonly,
|
|
6066
6080
|
className: classNames(props.className, DATETIMEPICKER_CLASSNAME),
|
|
6067
6081
|
children: [
|
|
6068
|
-
/* @__PURE__ */ (0,
|
|
6069
|
-
/* @__PURE__ */ (0,
|
|
6070
|
-
/* @__PURE__ */ (0,
|
|
6082
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputPrefix, { children: prefix }),
|
|
6083
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputInnerInput, { placeholder, value }),
|
|
6084
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6071
6085
|
InputValidationIcon,
|
|
6072
6086
|
{
|
|
6073
6087
|
valid,
|
|
@@ -6076,14 +6090,14 @@ var DateTimePicker = (props) => {
|
|
|
6076
6090
|
disabled
|
|
6077
6091
|
}
|
|
6078
6092
|
),
|
|
6079
|
-
/* @__PURE__ */ (0,
|
|
6093
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6080
6094
|
InputLoadingIcon,
|
|
6081
6095
|
{
|
|
6082
6096
|
loading,
|
|
6083
6097
|
disabled
|
|
6084
6098
|
}
|
|
6085
6099
|
),
|
|
6086
|
-
/* @__PURE__ */ (0,
|
|
6100
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6087
6101
|
InputClearValue,
|
|
6088
6102
|
{
|
|
6089
6103
|
loading,
|
|
@@ -6092,8 +6106,8 @@ var DateTimePicker = (props) => {
|
|
|
6092
6106
|
value
|
|
6093
6107
|
}
|
|
6094
6108
|
),
|
|
6095
|
-
/* @__PURE__ */ (0,
|
|
6096
|
-
/* @__PURE__ */ (0,
|
|
6109
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputSuffix, { children: suffix }),
|
|
6110
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6097
6111
|
Button,
|
|
6098
6112
|
{
|
|
6099
6113
|
className: "k-input-button",
|
|
@@ -6106,9 +6120,9 @@ var DateTimePicker = (props) => {
|
|
|
6106
6120
|
]
|
|
6107
6121
|
}
|
|
6108
6122
|
),
|
|
6109
|
-
opened && /* @__PURE__ */ (0,
|
|
6110
|
-
adaptive && /* @__PURE__ */ (0,
|
|
6111
|
-
/* @__PURE__ */ (0,
|
|
6123
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Popup, { className: `k-${tab === "time" ? "list" : "calendar"}-container k-datetimepicker-popup`, dir, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DateTimeSelector, { tab, dir }) }),
|
|
6124
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6125
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6112
6126
|
ActionSheetHeader,
|
|
6113
6127
|
{
|
|
6114
6128
|
actions: ["x"],
|
|
@@ -6116,8 +6130,8 @@ var DateTimePicker = (props) => {
|
|
|
6116
6130
|
subTitle: "DD / MM / YY"
|
|
6117
6131
|
}
|
|
6118
6132
|
),
|
|
6119
|
-
/* @__PURE__ */ (0,
|
|
6120
|
-
/* @__PURE__ */ (0,
|
|
6133
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DateTimeSelector, { size: "large", tab, actionButtons: false }),
|
|
6134
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ActionSheetFooter, { actions: ["Cancel", "!Set"] })
|
|
6121
6135
|
] })
|
|
6122
6136
|
] });
|
|
6123
6137
|
};
|
|
@@ -6127,16 +6141,16 @@ DateTimePicker.className = DATETIMEPICKER_CLASSNAME;
|
|
|
6127
6141
|
DateTimePicker.defaultProps = defaultProps22;
|
|
6128
6142
|
|
|
6129
6143
|
// src/datetimepicker/templates/datetimepicker-normal.tsx
|
|
6130
|
-
var
|
|
6144
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6131
6145
|
|
|
6132
6146
|
// src/datetimepicker/templates/datetimepicker-popup.tsx
|
|
6133
|
-
var
|
|
6147
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6134
6148
|
|
|
6135
6149
|
// src/datetimepicker/templates/datetimepicker-adaptive.tsx
|
|
6136
|
-
var
|
|
6150
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6137
6151
|
|
|
6138
6152
|
// src/spinbutton/spinbutton.spec.tsx
|
|
6139
|
-
var
|
|
6153
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6140
6154
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
6141
6155
|
var states27 = [];
|
|
6142
6156
|
var options24 = {
|
|
@@ -6153,7 +6167,7 @@ var SpinButton = (props) => {
|
|
|
6153
6167
|
fillMode = defaultProps23.fillMode,
|
|
6154
6168
|
...other
|
|
6155
6169
|
} = props;
|
|
6156
|
-
return /* @__PURE__ */ (0,
|
|
6170
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
6157
6171
|
"span",
|
|
6158
6172
|
{
|
|
6159
6173
|
...other,
|
|
@@ -6162,7 +6176,7 @@ var SpinButton = (props) => {
|
|
|
6162
6176
|
props.className
|
|
6163
6177
|
),
|
|
6164
6178
|
children: [
|
|
6165
|
-
/* @__PURE__ */ (0,
|
|
6179
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6166
6180
|
Button,
|
|
6167
6181
|
{
|
|
6168
6182
|
className: "k-spinner-increase",
|
|
@@ -6172,7 +6186,7 @@ var SpinButton = (props) => {
|
|
|
6172
6186
|
fillMode
|
|
6173
6187
|
}
|
|
6174
6188
|
),
|
|
6175
|
-
/* @__PURE__ */ (0,
|
|
6189
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6176
6190
|
Button,
|
|
6177
6191
|
{
|
|
6178
6192
|
className: "k-spinner-decrease",
|
|
@@ -6192,7 +6206,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
6192
6206
|
SpinButton.defaultProps = defaultProps23;
|
|
6193
6207
|
|
|
6194
6208
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6195
|
-
var
|
|
6209
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6196
6210
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6197
6211
|
var states28 = [
|
|
6198
6212
|
States.hover,
|
|
@@ -6235,7 +6249,7 @@ var NumericTextbox = (props) => {
|
|
|
6235
6249
|
showSpinButton = defaultProps24.showSpinButton,
|
|
6236
6250
|
...other
|
|
6237
6251
|
} = props;
|
|
6238
|
-
return /* @__PURE__ */ (0,
|
|
6252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
6239
6253
|
Input,
|
|
6240
6254
|
{
|
|
6241
6255
|
...other,
|
|
@@ -6252,8 +6266,8 @@ var NumericTextbox = (props) => {
|
|
|
6252
6266
|
readonly,
|
|
6253
6267
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6254
6268
|
children: [
|
|
6255
|
-
/* @__PURE__ */ (0,
|
|
6256
|
-
/* @__PURE__ */ (0,
|
|
6269
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputInnerInput, { placeholder, value }),
|
|
6270
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6257
6271
|
InputValidationIcon,
|
|
6258
6272
|
{
|
|
6259
6273
|
valid,
|
|
@@ -6262,14 +6276,14 @@ var NumericTextbox = (props) => {
|
|
|
6262
6276
|
disabled
|
|
6263
6277
|
}
|
|
6264
6278
|
),
|
|
6265
|
-
/* @__PURE__ */ (0,
|
|
6279
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6266
6280
|
InputLoadingIcon,
|
|
6267
6281
|
{
|
|
6268
6282
|
loading,
|
|
6269
6283
|
disabled
|
|
6270
6284
|
}
|
|
6271
6285
|
),
|
|
6272
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
6286
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6273
6287
|
InputClearValue,
|
|
6274
6288
|
{
|
|
6275
6289
|
loading,
|
|
@@ -6278,7 +6292,7 @@ var NumericTextbox = (props) => {
|
|
|
6278
6292
|
value
|
|
6279
6293
|
}
|
|
6280
6294
|
),
|
|
6281
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
6295
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6282
6296
|
SpinButton,
|
|
6283
6297
|
{
|
|
6284
6298
|
className: "k-input-spinner",
|
|
@@ -6296,10 +6310,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6296
6310
|
NumericTextbox.defaultProps = defaultProps24;
|
|
6297
6311
|
|
|
6298
6312
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6299
|
-
var
|
|
6313
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6300
6314
|
|
|
6301
6315
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
6302
|
-
var
|
|
6316
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6303
6317
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
6304
6318
|
var states29 = [
|
|
6305
6319
|
States.hover,
|
|
@@ -6347,8 +6361,8 @@ var DropdownList = (props) => {
|
|
|
6347
6361
|
opened,
|
|
6348
6362
|
...other
|
|
6349
6363
|
} = props;
|
|
6350
|
-
return /* @__PURE__ */ (0,
|
|
6351
|
-
/* @__PURE__ */ (0,
|
|
6364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
|
|
6365
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
6352
6366
|
Picker,
|
|
6353
6367
|
{
|
|
6354
6368
|
...other,
|
|
@@ -6371,8 +6385,8 @@ var DropdownList = (props) => {
|
|
|
6371
6385
|
}
|
|
6372
6386
|
),
|
|
6373
6387
|
children: [
|
|
6374
|
-
/* @__PURE__ */ (0,
|
|
6375
|
-
/* @__PURE__ */ (0,
|
|
6388
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputPrefix, { children: prefix }),
|
|
6389
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
6376
6390
|
InputInnerSpan,
|
|
6377
6391
|
{
|
|
6378
6392
|
placeholder,
|
|
@@ -6381,7 +6395,7 @@ var DropdownList = (props) => {
|
|
|
6381
6395
|
valueIconName
|
|
6382
6396
|
}
|
|
6383
6397
|
),
|
|
6384
|
-
/* @__PURE__ */ (0,
|
|
6398
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
6385
6399
|
InputValidationIcon,
|
|
6386
6400
|
{
|
|
6387
6401
|
valid,
|
|
@@ -6390,15 +6404,15 @@ var DropdownList = (props) => {
|
|
|
6390
6404
|
disabled
|
|
6391
6405
|
}
|
|
6392
6406
|
),
|
|
6393
|
-
/* @__PURE__ */ (0,
|
|
6407
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
6394
6408
|
InputLoadingIcon,
|
|
6395
6409
|
{
|
|
6396
6410
|
loading,
|
|
6397
6411
|
disabled
|
|
6398
6412
|
}
|
|
6399
6413
|
),
|
|
6400
|
-
/* @__PURE__ */ (0,
|
|
6401
|
-
/* @__PURE__ */ (0,
|
|
6414
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputSuffix, { children: suffix }),
|
|
6415
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
6402
6416
|
Button,
|
|
6403
6417
|
{
|
|
6404
6418
|
className: "k-input-button",
|
|
@@ -6411,7 +6425,7 @@ var DropdownList = (props) => {
|
|
|
6411
6425
|
]
|
|
6412
6426
|
}
|
|
6413
6427
|
),
|
|
6414
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
6428
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
6415
6429
|
] });
|
|
6416
6430
|
};
|
|
6417
6431
|
DropdownList.states = states29;
|
|
@@ -6420,15 +6434,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
6420
6434
|
DropdownList.defaultProps = defaultProps25;
|
|
6421
6435
|
|
|
6422
6436
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
6423
|
-
var
|
|
6437
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6424
6438
|
|
|
6425
6439
|
// src/nodata/nodata.tsx
|
|
6426
|
-
var
|
|
6440
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6427
6441
|
var className14 = `k-nodata`;
|
|
6428
|
-
var NoData = (props) => /* @__PURE__ */ (0,
|
|
6442
|
+
var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { className: classNames(className14, props.className), children: props.children });
|
|
6429
6443
|
|
|
6430
6444
|
// src/list/list.spec.tsx
|
|
6431
|
-
var
|
|
6445
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6432
6446
|
var LIST_CLASSNAME = `k-list`;
|
|
6433
6447
|
var states30 = [];
|
|
6434
6448
|
var options27 = {
|
|
@@ -6456,7 +6470,7 @@ var List = (props) => {
|
|
|
6456
6470
|
listHeader = child.props.label;
|
|
6457
6471
|
child.props.children.map((optChild, index2) => {
|
|
6458
6472
|
listChildren.push(
|
|
6459
|
-
/* @__PURE__ */ (0,
|
|
6473
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6460
6474
|
ListItem,
|
|
6461
6475
|
{
|
|
6462
6476
|
...optChild.props
|
|
@@ -6472,7 +6486,7 @@ var List = (props) => {
|
|
|
6472
6486
|
groupLabel = child.props.label;
|
|
6473
6487
|
}
|
|
6474
6488
|
listChildren.push(
|
|
6475
|
-
/* @__PURE__ */ (0,
|
|
6489
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6476
6490
|
ListItem,
|
|
6477
6491
|
{
|
|
6478
6492
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6484,16 +6498,16 @@ var List = (props) => {
|
|
|
6484
6498
|
);
|
|
6485
6499
|
});
|
|
6486
6500
|
}
|
|
6487
|
-
listGroup = /* @__PURE__ */ (0,
|
|
6501
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6488
6502
|
} else if (child.type === ListItem) {
|
|
6489
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
6490
|
-
listContent = /* @__PURE__ */ (0,
|
|
6503
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6504
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ListContent, { virtualization, children: listChildren });
|
|
6491
6505
|
}
|
|
6492
6506
|
});
|
|
6493
6507
|
} else {
|
|
6494
|
-
listContent = /* @__PURE__ */ (0,
|
|
6508
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(NoData, { children: "No data found." });
|
|
6495
6509
|
}
|
|
6496
|
-
return /* @__PURE__ */ (0,
|
|
6510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6497
6511
|
"div",
|
|
6498
6512
|
{
|
|
6499
6513
|
...other,
|
|
@@ -6521,7 +6535,7 @@ List.className = LIST_CLASSNAME;
|
|
|
6521
6535
|
List.defaultProps = defaultProps26;
|
|
6522
6536
|
|
|
6523
6537
|
// src/list/list-angular.spec.tsx
|
|
6524
|
-
var
|
|
6538
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6525
6539
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6526
6540
|
var states31 = [];
|
|
6527
6541
|
var options28 = {
|
|
@@ -6548,7 +6562,7 @@ var ListAngular = (props) => {
|
|
|
6548
6562
|
listHeader = child.props.label;
|
|
6549
6563
|
child.props.children.map((optChild, index2) => {
|
|
6550
6564
|
listChildren.push(
|
|
6551
|
-
/* @__PURE__ */ (0,
|
|
6565
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6552
6566
|
ListItem,
|
|
6553
6567
|
{
|
|
6554
6568
|
...optChild.props
|
|
@@ -6559,7 +6573,7 @@ var ListAngular = (props) => {
|
|
|
6559
6573
|
});
|
|
6560
6574
|
} else {
|
|
6561
6575
|
listChildren.push(
|
|
6562
|
-
/* @__PURE__ */ (0,
|
|
6576
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6563
6577
|
ListGroupItem,
|
|
6564
6578
|
{
|
|
6565
6579
|
...child.props,
|
|
@@ -6570,7 +6584,7 @@ var ListAngular = (props) => {
|
|
|
6570
6584
|
);
|
|
6571
6585
|
child.props.children.map((optChild, index2) => {
|
|
6572
6586
|
listChildren.push(
|
|
6573
|
-
/* @__PURE__ */ (0,
|
|
6587
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
6574
6588
|
ListItem,
|
|
6575
6589
|
{
|
|
6576
6590
|
...optChild.props
|
|
@@ -6580,16 +6594,16 @@ var ListAngular = (props) => {
|
|
|
6580
6594
|
);
|
|
6581
6595
|
});
|
|
6582
6596
|
}
|
|
6583
|
-
listGroup = /* @__PURE__ */ (0,
|
|
6597
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6584
6598
|
} else if (child.type === ListItem) {
|
|
6585
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
6586
|
-
listContent = /* @__PURE__ */ (0,
|
|
6599
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6600
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ListContent, { virtualization, children: listChildren });
|
|
6587
6601
|
}
|
|
6588
6602
|
});
|
|
6589
6603
|
} else {
|
|
6590
|
-
listContent = /* @__PURE__ */ (0,
|
|
6604
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(NoData, { children: "No data found." });
|
|
6591
6605
|
}
|
|
6592
|
-
return /* @__PURE__ */ (0,
|
|
6606
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
|
|
6593
6607
|
"div",
|
|
6594
6608
|
{
|
|
6595
6609
|
...other,
|
|
@@ -6616,7 +6630,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
6616
6630
|
ListAngular.defaultProps = defaultProps27;
|
|
6617
6631
|
|
|
6618
6632
|
// src/checkbox/checkbox.spec.tsx
|
|
6619
|
-
var
|
|
6633
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6620
6634
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6621
6635
|
var states32 = [
|
|
6622
6636
|
States.hover,
|
|
@@ -6651,7 +6665,7 @@ var Checkbox = (props) => {
|
|
|
6651
6665
|
rounded = defaultProps28.rounded,
|
|
6652
6666
|
...other
|
|
6653
6667
|
} = props;
|
|
6654
|
-
return /* @__PURE__ */ (0,
|
|
6668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6655
6669
|
"input",
|
|
6656
6670
|
{
|
|
6657
6671
|
...other,
|
|
@@ -6674,7 +6688,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6674
6688
|
Checkbox.defaultProps = defaultProps28;
|
|
6675
6689
|
|
|
6676
6690
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6677
|
-
var
|
|
6691
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6678
6692
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6679
6693
|
var states33 = [];
|
|
6680
6694
|
var options30 = {};
|
|
@@ -6686,7 +6700,7 @@ var CheckboxGroup = (props) => {
|
|
|
6686
6700
|
layout = defaultProps29.layout,
|
|
6687
6701
|
...other
|
|
6688
6702
|
} = props;
|
|
6689
|
-
return /* @__PURE__ */ (0,
|
|
6703
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6690
6704
|
"ul",
|
|
6691
6705
|
{
|
|
6692
6706
|
...other,
|
|
@@ -6707,7 +6721,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6707
6721
|
CheckboxGroup.defaultProps = defaultProps29;
|
|
6708
6722
|
|
|
6709
6723
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6710
|
-
var
|
|
6724
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6711
6725
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6712
6726
|
var states34 = [];
|
|
6713
6727
|
var options31 = {};
|
|
@@ -6716,7 +6730,7 @@ var CheckboxItem = (props) => {
|
|
|
6716
6730
|
const {
|
|
6717
6731
|
...other
|
|
6718
6732
|
} = props;
|
|
6719
|
-
return /* @__PURE__ */ (0,
|
|
6733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6720
6734
|
"li",
|
|
6721
6735
|
{
|
|
6722
6736
|
...other,
|
|
@@ -6734,16 +6748,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6734
6748
|
CheckboxItem.defaultProps = defaultProps30;
|
|
6735
6749
|
|
|
6736
6750
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6737
|
-
var
|
|
6751
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6738
6752
|
|
|
6739
6753
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6740
|
-
var
|
|
6754
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6741
6755
|
|
|
6742
6756
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6743
|
-
var
|
|
6757
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6744
6758
|
|
|
6745
6759
|
// src/list/list-item.spec.tsx
|
|
6746
|
-
var
|
|
6760
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6747
6761
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6748
6762
|
var states35 = [
|
|
6749
6763
|
States.hover,
|
|
@@ -6768,7 +6782,7 @@ var ListItem = (props) => {
|
|
|
6768
6782
|
...other
|
|
6769
6783
|
} = props;
|
|
6770
6784
|
const textOrChildren = text ? text : props.children;
|
|
6771
|
-
return /* @__PURE__ */ (0,
|
|
6785
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
6772
6786
|
"li",
|
|
6773
6787
|
{
|
|
6774
6788
|
...other,
|
|
@@ -6783,10 +6797,10 @@ var ListItem = (props) => {
|
|
|
6783
6797
|
})
|
|
6784
6798
|
),
|
|
6785
6799
|
children: [
|
|
6786
|
-
showCheckbox && /* @__PURE__ */ (0,
|
|
6787
|
-
showIcon && /* @__PURE__ */ (0,
|
|
6788
|
-
/* @__PURE__ */ (0,
|
|
6789
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0,
|
|
6800
|
+
showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Checkbox, { checked }),
|
|
6801
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { icon: iconName }),
|
|
6802
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6803
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6790
6804
|
]
|
|
6791
6805
|
}
|
|
6792
6806
|
);
|
|
@@ -6797,43 +6811,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
6797
6811
|
ListItem.defaultProps = defaultProps31;
|
|
6798
6812
|
|
|
6799
6813
|
// src/list/list-content.tsx
|
|
6800
|
-
var
|
|
6814
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6801
6815
|
var className15 = `k-list-content`;
|
|
6802
6816
|
var ListContent = (props) => {
|
|
6803
6817
|
const {
|
|
6804
6818
|
virtualization
|
|
6805
6819
|
} = props;
|
|
6806
|
-
return /* @__PURE__ */ (0,
|
|
6807
|
-
/* @__PURE__ */ (0,
|
|
6808
|
-
virtualization && /* @__PURE__ */ (0,
|
|
6820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: classNames(className15, props.className), children: [
|
|
6821
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6822
|
+
virtualization && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", {}) })
|
|
6809
6823
|
] });
|
|
6810
6824
|
};
|
|
6811
6825
|
|
|
6812
6826
|
// src/list/list-header.tsx
|
|
6813
|
-
var
|
|
6827
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6814
6828
|
var className16 = `k-list-group-sticky-header`;
|
|
6815
|
-
var ListHeader = (props) => /* @__PURE__ */ (0,
|
|
6829
|
+
var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: classNames(className16, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "k-list-header-text", children: props.children }) });
|
|
6816
6830
|
|
|
6817
6831
|
// src/list/list-group.tsx
|
|
6818
|
-
var
|
|
6832
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
6819
6833
|
var ListGroup = (props) => {
|
|
6820
6834
|
const {
|
|
6821
6835
|
virtualization,
|
|
6822
6836
|
label
|
|
6823
6837
|
} = props;
|
|
6824
|
-
return /* @__PURE__ */ (0,
|
|
6825
|
-
label && /* @__PURE__ */ (0,
|
|
6826
|
-
props.children && /* @__PURE__ */ (0,
|
|
6838
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
|
|
6839
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ListHeader, { children: label }),
|
|
6840
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ListContent, { virtualization, children: props.children })
|
|
6827
6841
|
] });
|
|
6828
6842
|
};
|
|
6829
6843
|
|
|
6830
6844
|
// src/list/list-group-item.tsx
|
|
6831
|
-
var
|
|
6845
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
6832
6846
|
var className17 = `k-list-group-item`;
|
|
6833
|
-
var ListGroupItem = (props) => /* @__PURE__ */ (0,
|
|
6847
|
+
var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("li", { className: classNames(className17, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "k-list-item-text", children: props.children }) });
|
|
6834
6848
|
|
|
6835
6849
|
// src/list/list-option-label.tsx
|
|
6836
|
-
var
|
|
6850
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
6837
6851
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6838
6852
|
var states36 = [
|
|
6839
6853
|
States.hover,
|
|
@@ -6852,7 +6866,7 @@ var ListOptionLabel = (props) => {
|
|
|
6852
6866
|
disabled,
|
|
6853
6867
|
...other
|
|
6854
6868
|
} = props;
|
|
6855
|
-
return /* @__PURE__ */ (0,
|
|
6869
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
6856
6870
|
"div",
|
|
6857
6871
|
{
|
|
6858
6872
|
...other,
|
|
@@ -6875,40 +6889,40 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
6875
6889
|
ListOptionLabel.defaultProps = defaultProps32;
|
|
6876
6890
|
|
|
6877
6891
|
// src/list/templates/list-normal.tsx
|
|
6878
|
-
var
|
|
6892
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
6879
6893
|
|
|
6880
6894
|
// src/list/templates/list-virtualization.tsx
|
|
6881
|
-
var
|
|
6895
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
6882
6896
|
|
|
6883
6897
|
// src/list/templates/list-grouping.tsx
|
|
6884
|
-
var
|
|
6898
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
6885
6899
|
|
|
6886
6900
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6887
|
-
var
|
|
6901
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
6888
6902
|
|
|
6889
6903
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6890
|
-
var
|
|
6904
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
6891
6905
|
|
|
6892
6906
|
// src/list/templates/list-grouping-angular.tsx
|
|
6893
|
-
var
|
|
6907
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
6894
6908
|
|
|
6895
6909
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6896
|
-
var
|
|
6910
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6897
6911
|
|
|
6898
6912
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6899
|
-
var
|
|
6913
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
6900
6914
|
|
|
6901
6915
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6902
|
-
var
|
|
6916
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
6903
6917
|
|
|
6904
6918
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6905
|
-
var
|
|
6919
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
6906
6920
|
|
|
6907
6921
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6908
|
-
var
|
|
6922
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
6909
6923
|
|
|
6910
6924
|
// src/form/form-field.tsx
|
|
6911
|
-
var
|
|
6925
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
6912
6926
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6913
6927
|
var states37 = [
|
|
6914
6928
|
States.disabled
|
|
@@ -6926,7 +6940,7 @@ var FormField = (props) => {
|
|
|
6926
6940
|
dir,
|
|
6927
6941
|
colSpan
|
|
6928
6942
|
} = props;
|
|
6929
|
-
return /* @__PURE__ */ (0,
|
|
6943
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
6930
6944
|
"div",
|
|
6931
6945
|
{
|
|
6932
6946
|
className: classNames(
|
|
@@ -6939,19 +6953,19 @@ var FormField = (props) => {
|
|
|
6939
6953
|
),
|
|
6940
6954
|
dir,
|
|
6941
6955
|
children: [
|
|
6942
|
-
label && /* @__PURE__ */ (0,
|
|
6956
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("label", { className: classNames(
|
|
6943
6957
|
"k-label",
|
|
6944
6958
|
"k-form-label"
|
|
6945
6959
|
), children: [
|
|
6946
6960
|
label,
|
|
6947
|
-
optional && /* @__PURE__ */ (0,
|
|
6948
|
-
info && /* @__PURE__ */ (0,
|
|
6961
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6962
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
6949
6963
|
] }),
|
|
6950
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
6951
|
-
/* @__PURE__ */ (0,
|
|
6964
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6965
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
6952
6966
|
editor,
|
|
6953
|
-
hint && /* @__PURE__ */ (0,
|
|
6954
|
-
error && /* @__PURE__ */ (0,
|
|
6967
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
6968
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: "k-form-error", children: error })
|
|
6955
6969
|
] })
|
|
6956
6970
|
]
|
|
6957
6971
|
}
|
|
@@ -6960,7 +6974,7 @@ var FormField = (props) => {
|
|
|
6960
6974
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6961
6975
|
|
|
6962
6976
|
// src/form/fieldset.tsx
|
|
6963
|
-
var
|
|
6977
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
6964
6978
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6965
6979
|
var Fieldset = (props) => {
|
|
6966
6980
|
const {
|
|
@@ -6970,9 +6984,9 @@ var Fieldset = (props) => {
|
|
|
6970
6984
|
gapX,
|
|
6971
6985
|
gapY
|
|
6972
6986
|
} = props;
|
|
6973
|
-
return /* @__PURE__ */ (0,
|
|
6974
|
-
legend && /* @__PURE__ */ (0,
|
|
6975
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6987
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6988
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
6989
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: classNames(
|
|
6976
6990
|
"k-form-layout",
|
|
6977
6991
|
"k-d-grid",
|
|
6978
6992
|
{
|
|
@@ -6980,13 +6994,13 @@ var Fieldset = (props) => {
|
|
|
6980
6994
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6981
6995
|
[`k-gap-y-${gapY}`]: gapY
|
|
6982
6996
|
}
|
|
6983
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
6997
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_jsx_runtime91.Fragment, { children: props.children })
|
|
6984
6998
|
] });
|
|
6985
6999
|
};
|
|
6986
7000
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6987
7001
|
|
|
6988
7002
|
// src/form/form.spec.tsx
|
|
6989
|
-
var
|
|
7003
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6990
7004
|
var import_react = require("react");
|
|
6991
7005
|
var FORM_CLASSNAME = "k-form";
|
|
6992
7006
|
var states38 = [];
|
|
@@ -7010,7 +7024,7 @@ var Form = (props) => {
|
|
|
7010
7024
|
tag = defaultProps33.tag,
|
|
7011
7025
|
children
|
|
7012
7026
|
} = props;
|
|
7013
|
-
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
7027
|
+
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("form", { className: className18, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: className18, children: children2 });
|
|
7014
7028
|
const formChildren = [];
|
|
7015
7029
|
if (children) {
|
|
7016
7030
|
if (Array.isArray(children)) {
|
|
@@ -7029,7 +7043,7 @@ var Form = (props) => {
|
|
|
7029
7043
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
7030
7044
|
}
|
|
7031
7045
|
}
|
|
7032
|
-
return /* @__PURE__ */ (0,
|
|
7046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(Parent, { tag, className: classNames(
|
|
7033
7047
|
props.className,
|
|
7034
7048
|
FORM_CLASSNAME,
|
|
7035
7049
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -7039,7 +7053,7 @@ var Form = (props) => {
|
|
|
7039
7053
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
7040
7054
|
}
|
|
7041
7055
|
), children: [
|
|
7042
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
7056
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: classNames(
|
|
7043
7057
|
"k-form-layout",
|
|
7044
7058
|
"k-d-grid",
|
|
7045
7059
|
{
|
|
@@ -7047,8 +7061,8 @@ var Form = (props) => {
|
|
|
7047
7061
|
[`k-gap-x-${gapX}`]: gapX,
|
|
7048
7062
|
[`k-gap-y-${gapY}`]: gapY
|
|
7049
7063
|
}
|
|
7050
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
7051
|
-
formButtons && /* @__PURE__ */ (0,
|
|
7064
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_jsx_runtime92.Fragment, { children: formChildren }),
|
|
7065
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
7052
7066
|
] });
|
|
7053
7067
|
};
|
|
7054
7068
|
Form.states = states38;
|
|
@@ -7057,85 +7071,85 @@ Form.className = FORM_CLASSNAME;
|
|
|
7057
7071
|
Form.defaultProps = defaultProps33;
|
|
7058
7072
|
|
|
7059
7073
|
// src/gantt/tests/gantt-editing-popup-general.tsx
|
|
7060
|
-
var
|
|
7074
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
7061
7075
|
var styles = `
|
|
7062
7076
|
.k-window {
|
|
7063
7077
|
min-width: 580px;
|
|
7064
7078
|
position: relative;
|
|
7065
7079
|
}
|
|
7066
7080
|
`;
|
|
7067
|
-
var gantt_editing_popup_general_default = () => /* @__PURE__ */ (0,
|
|
7068
|
-
/* @__PURE__ */ (0,
|
|
7069
|
-
/* @__PURE__ */ (0,
|
|
7070
|
-
/* @__PURE__ */ (0,
|
|
7071
|
-
/* @__PURE__ */ (0,
|
|
7072
|
-
/* @__PURE__ */ (0,
|
|
7073
|
-
/* @__PURE__ */ (0,
|
|
7074
|
-
] }), children: /* @__PURE__ */ (0,
|
|
7075
|
-
/* @__PURE__ */ (0,
|
|
7076
|
-
/* @__PURE__ */ (0,
|
|
7077
|
-
/* @__PURE__ */ (0,
|
|
7078
|
-
/* @__PURE__ */ (0,
|
|
7079
|
-
/* @__PURE__ */ (0,
|
|
7081
|
+
var gantt_editing_popup_general_default = () => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_jsx_runtime93.Fragment, { children: [
|
|
7082
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("style", { children: styles }),
|
|
7083
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(WindowNormal, { title: "Edit task", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_jsx_runtime93.Fragment, { children: [
|
|
7084
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
7085
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { icon: "cancel", children: "Cancel" }),
|
|
7086
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-spacer" }),
|
|
7087
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
7088
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
7089
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
7090
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("li", { className: "k-item k-first k-active", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-link", children: "General" }) }),
|
|
7091
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-link", children: "Resources" }) }),
|
|
7092
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-link", children: "Predecessors" }) }),
|
|
7093
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("li", { className: "k-item k-last", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-link", children: "Successors" }) })
|
|
7080
7094
|
] }) }),
|
|
7081
|
-
/* @__PURE__ */ (0,
|
|
7082
|
-
/* @__PURE__ */ (0,
|
|
7095
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(Form, { tag: "div", layout: "grid", cols: 4, gapX: 2, children: [
|
|
7096
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7083
7097
|
FormField,
|
|
7084
7098
|
{
|
|
7085
7099
|
colSpan: "full",
|
|
7086
7100
|
className: "k-form-field-error",
|
|
7087
7101
|
label: "Title",
|
|
7088
7102
|
error: "Error",
|
|
7089
|
-
editor: /* @__PURE__ */ (0,
|
|
7103
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Textbox, { invalid: true, value: "Invalid" })
|
|
7090
7104
|
}
|
|
7091
7105
|
),
|
|
7092
|
-
/* @__PURE__ */ (0,
|
|
7106
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7093
7107
|
FormField,
|
|
7094
7108
|
{
|
|
7095
7109
|
colSpan: "2",
|
|
7096
7110
|
label: "Planned Start Date",
|
|
7097
|
-
editor: /* @__PURE__ */ (0,
|
|
7111
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7098
7112
|
}
|
|
7099
7113
|
),
|
|
7100
|
-
/* @__PURE__ */ (0,
|
|
7114
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7101
7115
|
FormField,
|
|
7102
7116
|
{
|
|
7103
7117
|
colSpan: "2",
|
|
7104
7118
|
label: "Planned End Date",
|
|
7105
|
-
editor: /* @__PURE__ */ (0,
|
|
7119
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7106
7120
|
}
|
|
7107
7121
|
),
|
|
7108
|
-
/* @__PURE__ */ (0,
|
|
7122
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7109
7123
|
FormField,
|
|
7110
7124
|
{
|
|
7111
7125
|
colSpan: "2",
|
|
7112
7126
|
label: "Actual Start Date",
|
|
7113
|
-
editor: /* @__PURE__ */ (0,
|
|
7127
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7114
7128
|
}
|
|
7115
7129
|
),
|
|
7116
|
-
/* @__PURE__ */ (0,
|
|
7130
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7117
7131
|
FormField,
|
|
7118
7132
|
{
|
|
7119
7133
|
colSpan: "2",
|
|
7120
7134
|
label: "Actual End Date",
|
|
7121
|
-
editor: /* @__PURE__ */ (0,
|
|
7135
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7122
7136
|
}
|
|
7123
7137
|
),
|
|
7124
|
-
/* @__PURE__ */ (0,
|
|
7138
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7125
7139
|
FormField,
|
|
7126
7140
|
{
|
|
7127
7141
|
colSpan: "1",
|
|
7128
7142
|
label: "Complete",
|
|
7129
|
-
editor: /* @__PURE__ */ (0,
|
|
7143
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(NumericTextbox, {}),
|
|
7130
7144
|
hint: "value from 0 to 1"
|
|
7131
7145
|
}
|
|
7132
7146
|
),
|
|
7133
|
-
/* @__PURE__ */ (0,
|
|
7147
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
|
|
7134
7148
|
FormField,
|
|
7135
7149
|
{
|
|
7136
7150
|
colSpan: "full",
|
|
7137
7151
|
label: "Parent",
|
|
7138
|
-
editor: /* @__PURE__ */ (0,
|
|
7152
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(DropdownList, { placeholder: "-None-" })
|
|
7139
7153
|
}
|
|
7140
7154
|
)
|
|
7141
7155
|
] }) })
|