@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4513,8 +4513,22 @@ Window.options = options6;
|
|
|
4513
4513
|
Window.className = WINDOW_CLASSNAME;
|
|
4514
4514
|
Window.defaultProps = defaultProps6;
|
|
4515
4515
|
|
|
4516
|
+
// src/window/templates/window-normal.tsx
|
|
4517
|
+
import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
|
|
4518
|
+
var WindowNormal = (props) => /* @__PURE__ */ jsx10(
|
|
4519
|
+
Window,
|
|
4520
|
+
{
|
|
4521
|
+
title: "Title",
|
|
4522
|
+
actions: ["window-minimize", "window", "x"],
|
|
4523
|
+
children: [
|
|
4524
|
+
/* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
|
|
4525
|
+
],
|
|
4526
|
+
...props
|
|
4527
|
+
}
|
|
4528
|
+
);
|
|
4529
|
+
|
|
4516
4530
|
// src/input/input.spec.tsx
|
|
4517
|
-
import { jsx as
|
|
4531
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4518
4532
|
var INPUT_CLASSNAME = `k-input`;
|
|
4519
4533
|
var states7 = [
|
|
4520
4534
|
States.hover,
|
|
@@ -4550,7 +4564,7 @@ var Input = (props) => {
|
|
|
4550
4564
|
fillMode = defaultProps7.fillMode,
|
|
4551
4565
|
...other
|
|
4552
4566
|
} = props;
|
|
4553
|
-
return /* @__PURE__ */
|
|
4567
|
+
return /* @__PURE__ */ jsx11(
|
|
4554
4568
|
"span",
|
|
4555
4569
|
{
|
|
4556
4570
|
...other,
|
|
@@ -4569,7 +4583,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4569
4583
|
Input.defaultProps = defaultProps7;
|
|
4570
4584
|
|
|
4571
4585
|
// src/input/picker.spec.tsx
|
|
4572
|
-
import { jsx as
|
|
4586
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
4573
4587
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4574
4588
|
var pickerStates = [
|
|
4575
4589
|
States.hover,
|
|
@@ -4605,7 +4619,7 @@ var Picker = (props) => {
|
|
|
4605
4619
|
fillMode = defaultProps8.fillMode,
|
|
4606
4620
|
...other
|
|
4607
4621
|
} = props;
|
|
4608
|
-
return /* @__PURE__ */
|
|
4622
|
+
return /* @__PURE__ */ jsx12(
|
|
4609
4623
|
"span",
|
|
4610
4624
|
{
|
|
4611
4625
|
...other,
|
|
@@ -4625,7 +4639,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4625
4639
|
Picker.defaultProps = defaultProps8;
|
|
4626
4640
|
|
|
4627
4641
|
// src/input/input-clear-value.tsx
|
|
4628
|
-
import { Fragment as
|
|
4642
|
+
import { Fragment as Fragment7, jsx as jsx13 } from "react/jsx-runtime";
|
|
4629
4643
|
var className = `k-clear-value`;
|
|
4630
4644
|
var states8 = [
|
|
4631
4645
|
States.disabled,
|
|
@@ -4641,16 +4655,16 @@ var InputClearValue = (props) => {
|
|
|
4641
4655
|
value
|
|
4642
4656
|
} = props;
|
|
4643
4657
|
if (disabled || readonly || loading || !value) {
|
|
4644
|
-
return /* @__PURE__ */
|
|
4658
|
+
return /* @__PURE__ */ jsx13(Fragment7, {});
|
|
4645
4659
|
}
|
|
4646
|
-
return /* @__PURE__ */
|
|
4660
|
+
return /* @__PURE__ */ jsx13("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx13(Icon, { icon: "x" }) });
|
|
4647
4661
|
};
|
|
4648
4662
|
InputClearValue.states = states8;
|
|
4649
4663
|
InputClearValue.options = options8;
|
|
4650
4664
|
InputClearValue.className = className;
|
|
4651
4665
|
|
|
4652
4666
|
// src/input/input-inner-input.tsx
|
|
4653
|
-
import { jsx as
|
|
4667
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4654
4668
|
var className2 = `k-input-inner`;
|
|
4655
4669
|
var states9 = [];
|
|
4656
4670
|
var options9 = {};
|
|
@@ -4668,7 +4682,7 @@ var InputInnerInput = (props) => {
|
|
|
4668
4682
|
autocomplete = defaultProps9.autocomplete,
|
|
4669
4683
|
...other
|
|
4670
4684
|
} = props;
|
|
4671
|
-
return /* @__PURE__ */
|
|
4685
|
+
return /* @__PURE__ */ jsx14(
|
|
4672
4686
|
"input",
|
|
4673
4687
|
{
|
|
4674
4688
|
...other,
|
|
@@ -4685,7 +4699,7 @@ InputInnerInput.options = options9;
|
|
|
4685
4699
|
InputInnerInput.className = className2;
|
|
4686
4700
|
|
|
4687
4701
|
// src/input/input-inner-span.tsx
|
|
4688
|
-
import { jsx as
|
|
4702
|
+
import { jsx as jsx15, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4689
4703
|
var className3 = `k-input-inner`;
|
|
4690
4704
|
var states10 = [];
|
|
4691
4705
|
var options10 = {};
|
|
@@ -4705,9 +4719,9 @@ var InputInnerSpan = (props) => {
|
|
|
4705
4719
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4706
4720
|
children: [
|
|
4707
4721
|
valueIcon,
|
|
4708
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4722
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx15(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4709
4723
|
showValue && !value && placeholder,
|
|
4710
|
-
showValue && value && /* @__PURE__ */
|
|
4724
|
+
showValue && value && /* @__PURE__ */ jsx15("span", { className: "k-input-value-text", children: value })
|
|
4711
4725
|
]
|
|
4712
4726
|
}
|
|
4713
4727
|
);
|
|
@@ -4717,7 +4731,7 @@ InputInnerSpan.options = options10;
|
|
|
4717
4731
|
InputInnerSpan.className = className3;
|
|
4718
4732
|
|
|
4719
4733
|
// src/input/input-inner-textarea.tsx
|
|
4720
|
-
import { jsx as
|
|
4734
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4721
4735
|
var defaultProps10 = {
|
|
4722
4736
|
value: "",
|
|
4723
4737
|
placeholder: ""
|
|
@@ -4732,7 +4746,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4732
4746
|
rows,
|
|
4733
4747
|
...other
|
|
4734
4748
|
} = props;
|
|
4735
|
-
return /* @__PURE__ */
|
|
4749
|
+
return /* @__PURE__ */ jsx16(
|
|
4736
4750
|
"textarea",
|
|
4737
4751
|
{
|
|
4738
4752
|
...other,
|
|
@@ -4748,7 +4762,7 @@ InputInnerTextarea.options = options11;
|
|
|
4748
4762
|
InputInnerTextarea.className = className4;
|
|
4749
4763
|
|
|
4750
4764
|
// src/input/input-loading-icon.tsx
|
|
4751
|
-
import { Fragment as
|
|
4765
|
+
import { Fragment as Fragment8, jsx as jsx17 } from "react/jsx-runtime";
|
|
4752
4766
|
var className5 = `k-input-loading-icon`;
|
|
4753
4767
|
var states12 = [
|
|
4754
4768
|
States.disabled,
|
|
@@ -4760,13 +4774,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4760
4774
|
loading
|
|
4761
4775
|
} = props;
|
|
4762
4776
|
if (disabled || !loading) {
|
|
4763
|
-
return /* @__PURE__ */
|
|
4777
|
+
return /* @__PURE__ */ jsx17(Fragment8, {});
|
|
4764
4778
|
}
|
|
4765
|
-
return /* @__PURE__ */
|
|
4779
|
+
return /* @__PURE__ */ jsx17("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4766
4780
|
};
|
|
4767
4781
|
|
|
4768
4782
|
// src/input/input-validation-icon.tsx
|
|
4769
|
-
import { Fragment as
|
|
4783
|
+
import { Fragment as Fragment9, jsx as jsx18 } from "react/jsx-runtime";
|
|
4770
4784
|
var className6 = `k-input-validation-icon`;
|
|
4771
4785
|
var states13 = [
|
|
4772
4786
|
States.valid,
|
|
@@ -4785,39 +4799,39 @@ var InputValidationIcon = (props) => {
|
|
|
4785
4799
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4786
4800
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4787
4801
|
if (disabled || loading || !renderValidationIcon) {
|
|
4788
|
-
return /* @__PURE__ */
|
|
4802
|
+
return /* @__PURE__ */ jsx18(Fragment9, {});
|
|
4789
4803
|
}
|
|
4790
|
-
return /* @__PURE__ */
|
|
4804
|
+
return /* @__PURE__ */ jsx18(Icon, { className: classNames(className6), icon: iconName });
|
|
4791
4805
|
};
|
|
4792
4806
|
InputValidationIcon.states = states13;
|
|
4793
4807
|
InputValidationIcon.options = options12;
|
|
4794
4808
|
InputValidationIcon.className = className6;
|
|
4795
4809
|
|
|
4796
4810
|
// src/input/input-prefix.tsx
|
|
4797
|
-
import { Fragment as
|
|
4811
|
+
import { Fragment as Fragment10, jsx as jsx19 } from "react/jsx-runtime";
|
|
4798
4812
|
var className7 = `k-input-prefix`;
|
|
4799
4813
|
var InputPrefix = (props) => {
|
|
4800
4814
|
if (!props.children) {
|
|
4801
|
-
return /* @__PURE__ */
|
|
4815
|
+
return /* @__PURE__ */ jsx19(Fragment10, {});
|
|
4802
4816
|
}
|
|
4803
|
-
return /* @__PURE__ */
|
|
4817
|
+
return /* @__PURE__ */ jsx19("span", { className: classNames(className7, props.className), children: props.children });
|
|
4804
4818
|
};
|
|
4805
4819
|
|
|
4806
4820
|
// src/input/input-suffix.tsx
|
|
4807
|
-
import { Fragment as
|
|
4821
|
+
import { Fragment as Fragment11, jsx as jsx20 } from "react/jsx-runtime";
|
|
4808
4822
|
var className8 = `k-input-suffix`;
|
|
4809
4823
|
var InputSuffix = (props) => {
|
|
4810
4824
|
if (!props.children) {
|
|
4811
|
-
return /* @__PURE__ */
|
|
4825
|
+
return /* @__PURE__ */ jsx20(Fragment11, {});
|
|
4812
4826
|
}
|
|
4813
|
-
return /* @__PURE__ */
|
|
4827
|
+
return /* @__PURE__ */ jsx20("span", { className: classNames(className8, props.className), children: props.children });
|
|
4814
4828
|
};
|
|
4815
4829
|
|
|
4816
4830
|
// src/input/input-separator.tsx
|
|
4817
|
-
import { jsx as
|
|
4831
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
4818
4832
|
|
|
4819
4833
|
// src/textbox/textbox.spec.tsx
|
|
4820
|
-
import { jsx as
|
|
4834
|
+
import { jsx as jsx22, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4821
4835
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4822
4836
|
var states14 = [
|
|
4823
4837
|
States.hover,
|
|
@@ -4877,9 +4891,9 @@ var Textbox = (props) => {
|
|
|
4877
4891
|
readonly,
|
|
4878
4892
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
4879
4893
|
children: [
|
|
4880
|
-
/* @__PURE__ */
|
|
4881
|
-
/* @__PURE__ */
|
|
4882
|
-
/* @__PURE__ */
|
|
4894
|
+
/* @__PURE__ */ jsx22(InputPrefix, { children: prefix }),
|
|
4895
|
+
/* @__PURE__ */ jsx22(InputInnerInput, { placeholder, value }),
|
|
4896
|
+
/* @__PURE__ */ jsx22(
|
|
4883
4897
|
InputValidationIcon,
|
|
4884
4898
|
{
|
|
4885
4899
|
valid,
|
|
@@ -4888,14 +4902,14 @@ var Textbox = (props) => {
|
|
|
4888
4902
|
disabled
|
|
4889
4903
|
}
|
|
4890
4904
|
),
|
|
4891
|
-
/* @__PURE__ */
|
|
4905
|
+
/* @__PURE__ */ jsx22(
|
|
4892
4906
|
InputLoadingIcon,
|
|
4893
4907
|
{
|
|
4894
4908
|
loading,
|
|
4895
4909
|
disabled
|
|
4896
4910
|
}
|
|
4897
4911
|
),
|
|
4898
|
-
showClearButton && /* @__PURE__ */
|
|
4912
|
+
showClearButton && /* @__PURE__ */ jsx22(
|
|
4899
4913
|
InputClearValue,
|
|
4900
4914
|
{
|
|
4901
4915
|
loading,
|
|
@@ -4904,7 +4918,7 @@ var Textbox = (props) => {
|
|
|
4904
4918
|
value
|
|
4905
4919
|
}
|
|
4906
4920
|
),
|
|
4907
|
-
/* @__PURE__ */
|
|
4921
|
+
/* @__PURE__ */ jsx22(InputSuffix, { children: suffix })
|
|
4908
4922
|
]
|
|
4909
4923
|
}
|
|
4910
4924
|
);
|
|
@@ -4915,16 +4929,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
4915
4929
|
Textbox.defaultProps = defaultProps11;
|
|
4916
4930
|
|
|
4917
4931
|
// src/textbox/templates/textbox-normal.tsx
|
|
4918
|
-
import { jsx as
|
|
4932
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4919
4933
|
|
|
4920
4934
|
// src/textbox/templates/textbox-prefix.tsx
|
|
4921
|
-
import { Fragment as
|
|
4935
|
+
import { Fragment as Fragment12, jsx as jsx24, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4922
4936
|
|
|
4923
4937
|
// src/textbox/templates/textbox-suffix.tsx
|
|
4924
|
-
import { Fragment as
|
|
4938
|
+
import { Fragment as Fragment13, jsx as jsx25, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4925
4939
|
|
|
4926
4940
|
// src/animation-container/animation-container.spec.tsx
|
|
4927
|
-
import { jsx as
|
|
4941
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4928
4942
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4929
4943
|
var states15 = [];
|
|
4930
4944
|
var options14 = {};
|
|
@@ -4938,7 +4952,7 @@ var AnimationContainer = (props) => {
|
|
|
4938
4952
|
offset,
|
|
4939
4953
|
...other
|
|
4940
4954
|
} = props;
|
|
4941
|
-
return /* @__PURE__ */
|
|
4955
|
+
return /* @__PURE__ */ jsx26(
|
|
4942
4956
|
"div",
|
|
4943
4957
|
{
|
|
4944
4958
|
...other,
|
|
@@ -4950,7 +4964,7 @@ var AnimationContainer = (props) => {
|
|
|
4950
4964
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4951
4965
|
}
|
|
4952
4966
|
),
|
|
4953
|
-
children: /* @__PURE__ */
|
|
4967
|
+
children: /* @__PURE__ */ jsx26("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4954
4968
|
}
|
|
4955
4969
|
);
|
|
4956
4970
|
};
|
|
@@ -4960,7 +4974,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
4960
4974
|
AnimationContainer.defaultProps = defaultProps12;
|
|
4961
4975
|
|
|
4962
4976
|
// src/popup/popup.spec.tsx
|
|
4963
|
-
import { jsx as
|
|
4977
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4964
4978
|
var POPUP_CLASSNAME = `k-popup`;
|
|
4965
4979
|
var states16 = [];
|
|
4966
4980
|
var options15 = {};
|
|
@@ -4973,12 +4987,12 @@ var Popup = (props) => {
|
|
|
4973
4987
|
positionMode,
|
|
4974
4988
|
...other
|
|
4975
4989
|
} = props;
|
|
4976
|
-
return /* @__PURE__ */
|
|
4990
|
+
return /* @__PURE__ */ jsx27(
|
|
4977
4991
|
AnimationContainer,
|
|
4978
4992
|
{
|
|
4979
4993
|
positionMode,
|
|
4980
4994
|
offset,
|
|
4981
|
-
children: /* @__PURE__ */
|
|
4995
|
+
children: /* @__PURE__ */ jsx27("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4982
4996
|
}
|
|
4983
4997
|
);
|
|
4984
4998
|
};
|
|
@@ -4988,7 +5002,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
4988
5002
|
Popup.defaultProps = defaultProps13;
|
|
4989
5003
|
|
|
4990
5004
|
// src/button-group/button-group.spec.tsx
|
|
4991
|
-
import { jsx as
|
|
5005
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
4992
5006
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4993
5007
|
var states17 = [
|
|
4994
5008
|
States.disabled
|
|
@@ -5006,7 +5020,7 @@ var ButtonGroup = (props) => {
|
|
|
5006
5020
|
stretched,
|
|
5007
5021
|
...other
|
|
5008
5022
|
} = props;
|
|
5009
|
-
return /* @__PURE__ */
|
|
5023
|
+
return /* @__PURE__ */ jsx28(
|
|
5010
5024
|
"div",
|
|
5011
5025
|
{
|
|
5012
5026
|
...other,
|
|
@@ -5033,19 +5047,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5033
5047
|
ButtonGroup.defaultProps = defaultProps14;
|
|
5034
5048
|
|
|
5035
5049
|
// src/button-group/templates/icon-button-group.tsx
|
|
5036
|
-
import { jsx as
|
|
5050
|
+
import { jsx as jsx29, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5037
5051
|
|
|
5038
5052
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5039
|
-
import { jsx as
|
|
5053
|
+
import { jsx as jsx30, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5040
5054
|
|
|
5041
5055
|
// src/button-group/templates/text-button-group.tsx
|
|
5042
|
-
import { jsx as
|
|
5056
|
+
import { jsx as jsx31, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5043
5057
|
|
|
5044
5058
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5045
|
-
import { jsx as
|
|
5059
|
+
import { jsx as jsx32, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5046
5060
|
|
|
5047
5061
|
// src/calendar/calendar.spec.tsx
|
|
5048
|
-
import { jsx as
|
|
5062
|
+
import { jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5049
5063
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5050
5064
|
var states18 = [];
|
|
5051
5065
|
var options17 = {
|
|
@@ -5089,7 +5103,7 @@ var Calendar = (props) => {
|
|
|
5089
5103
|
}
|
|
5090
5104
|
),
|
|
5091
5105
|
children: [
|
|
5092
|
-
/* @__PURE__ */
|
|
5106
|
+
/* @__PURE__ */ jsx33(
|
|
5093
5107
|
CalendarHeader,
|
|
5094
5108
|
{
|
|
5095
5109
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5099,7 +5113,7 @@ var Calendar = (props) => {
|
|
|
5099
5113
|
dir
|
|
5100
5114
|
}
|
|
5101
5115
|
),
|
|
5102
|
-
/* @__PURE__ */
|
|
5116
|
+
/* @__PURE__ */ jsx33(
|
|
5103
5117
|
CalendarView,
|
|
5104
5118
|
{
|
|
5105
5119
|
calendarView,
|
|
@@ -5111,7 +5125,7 @@ var Calendar = (props) => {
|
|
|
5111
5125
|
selectedRange
|
|
5112
5126
|
}
|
|
5113
5127
|
),
|
|
5114
|
-
showCalendarFooter && /* @__PURE__ */
|
|
5128
|
+
showCalendarFooter && /* @__PURE__ */ jsx33(CalendarFooter, {})
|
|
5115
5129
|
]
|
|
5116
5130
|
}
|
|
5117
5131
|
);
|
|
@@ -5122,7 +5136,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5122
5136
|
Calendar.defaultProps = defaultProps15;
|
|
5123
5137
|
|
|
5124
5138
|
// src/calendar/calendar-cell.tsx
|
|
5125
|
-
import { jsx as
|
|
5139
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5126
5140
|
var states19 = [
|
|
5127
5141
|
States.hover,
|
|
5128
5142
|
States.focus,
|
|
@@ -5172,16 +5186,16 @@ var CalendarCell = (props) => {
|
|
|
5172
5186
|
}
|
|
5173
5187
|
];
|
|
5174
5188
|
if (headerCell) {
|
|
5175
|
-
return /* @__PURE__ */
|
|
5189
|
+
return /* @__PURE__ */ jsx34("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5176
5190
|
}
|
|
5177
5191
|
if (weekCell) {
|
|
5178
|
-
return /* @__PURE__ */
|
|
5192
|
+
return /* @__PURE__ */ jsx34("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5179
5193
|
}
|
|
5180
|
-
return /* @__PURE__ */
|
|
5194
|
+
return /* @__PURE__ */ jsx34("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ jsx34("span", { className: "k-link", children: text }) });
|
|
5181
5195
|
};
|
|
5182
5196
|
|
|
5183
5197
|
// src/calendar/calendar-header.tsx
|
|
5184
|
-
import { jsx as
|
|
5198
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5185
5199
|
var className9 = `k-calendar-header`;
|
|
5186
5200
|
var options18 = {
|
|
5187
5201
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5215,12 +5229,12 @@ var CalendarHeader = (props) => {
|
|
|
5215
5229
|
}
|
|
5216
5230
|
),
|
|
5217
5231
|
children: [
|
|
5218
|
-
/* @__PURE__ */
|
|
5219
|
-
/* @__PURE__ */
|
|
5232
|
+
/* @__PURE__ */ jsx35(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5233
|
+
/* @__PURE__ */ jsx35("span", { className: "k-spacer" }),
|
|
5220
5234
|
/* @__PURE__ */ jsxs12("span", { className: "k-calendar-nav", children: [
|
|
5221
|
-
/* @__PURE__ */
|
|
5222
|
-
showToday && /* @__PURE__ */
|
|
5223
|
-
/* @__PURE__ */
|
|
5235
|
+
/* @__PURE__ */ jsx35(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5236
|
+
showToday && /* @__PURE__ */ jsx35(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5237
|
+
/* @__PURE__ */ jsx35(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5224
5238
|
] })
|
|
5225
5239
|
]
|
|
5226
5240
|
}
|
|
@@ -5228,12 +5242,12 @@ var CalendarHeader = (props) => {
|
|
|
5228
5242
|
};
|
|
5229
5243
|
|
|
5230
5244
|
// src/calendar/calendar-footer.tsx
|
|
5231
|
-
import { jsx as
|
|
5245
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5232
5246
|
var className10 = `k-calendar-footer`;
|
|
5233
|
-
var CalendarFooter = (props) => /* @__PURE__ */
|
|
5247
|
+
var CalendarFooter = (props) => /* @__PURE__ */ jsx36("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ jsx36(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5234
5248
|
|
|
5235
5249
|
// src/calendar/calendar-table.tsx
|
|
5236
|
-
import { jsx as
|
|
5250
|
+
import { jsx as jsx37, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5237
5251
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5238
5252
|
var CalendarTable = (props) => {
|
|
5239
5253
|
const {
|
|
@@ -5254,25 +5268,25 @@ var CalendarTable = (props) => {
|
|
|
5254
5268
|
CALENDARTABLE_CLASSNAME
|
|
5255
5269
|
),
|
|
5256
5270
|
children: [
|
|
5257
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5271
|
+
showCalendarCaption && /* @__PURE__ */ jsx37("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5258
5272
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5259
5273
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5260
|
-
/* @__PURE__ */
|
|
5261
|
-
/* @__PURE__ */
|
|
5262
|
-
/* @__PURE__ */
|
|
5263
|
-
/* @__PURE__ */
|
|
5274
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Jan" }),
|
|
5275
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Feb" }),
|
|
5276
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Mar" }),
|
|
5277
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Apr" })
|
|
5264
5278
|
] }),
|
|
5265
5279
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5266
|
-
/* @__PURE__ */
|
|
5267
|
-
/* @__PURE__ */
|
|
5268
|
-
/* @__PURE__ */
|
|
5269
|
-
/* @__PURE__ */
|
|
5280
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "May" }),
|
|
5281
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Jun", hover: true }),
|
|
5282
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Jul", focus: true }),
|
|
5283
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Au", selected: true })
|
|
5270
5284
|
] }),
|
|
5271
5285
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5272
|
-
/* @__PURE__ */
|
|
5273
|
-
/* @__PURE__ */
|
|
5274
|
-
/* @__PURE__ */
|
|
5275
|
-
/* @__PURE__ */
|
|
5286
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Sep" }),
|
|
5287
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Oct", today: true }),
|
|
5288
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Nov" }),
|
|
5289
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "Dec" })
|
|
5276
5290
|
] })
|
|
5277
5291
|
] })
|
|
5278
5292
|
]
|
|
@@ -5289,25 +5303,25 @@ var CalendarTable = (props) => {
|
|
|
5289
5303
|
CALENDARTABLE_CLASSNAME
|
|
5290
5304
|
),
|
|
5291
5305
|
children: [
|
|
5292
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5306
|
+
showCalendarCaption && /* @__PURE__ */ jsx37("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5293
5307
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5294
5308
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5295
|
-
/* @__PURE__ */
|
|
5296
|
-
/* @__PURE__ */
|
|
5297
|
-
/* @__PURE__ */
|
|
5298
|
-
/* @__PURE__ */
|
|
5309
|
+
/* @__PURE__ */ jsx37(CalendarCell, { className: "k-out-of-range" }),
|
|
5310
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2020" }),
|
|
5311
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2021", today: true }),
|
|
5312
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2022" })
|
|
5299
5313
|
] }),
|
|
5300
5314
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5301
|
-
/* @__PURE__ */
|
|
5302
|
-
/* @__PURE__ */
|
|
5303
|
-
/* @__PURE__ */
|
|
5304
|
-
/* @__PURE__ */
|
|
5315
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2023" }),
|
|
5316
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2024", hover: true }),
|
|
5317
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2025", focus: true }),
|
|
5318
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2026", selected: true })
|
|
5305
5319
|
] }),
|
|
5306
5320
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5307
|
-
/* @__PURE__ */
|
|
5308
|
-
/* @__PURE__ */
|
|
5309
|
-
/* @__PURE__ */
|
|
5310
|
-
/* @__PURE__ */
|
|
5321
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2027" }),
|
|
5322
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2028" }),
|
|
5323
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2029" }),
|
|
5324
|
+
/* @__PURE__ */ jsx37(CalendarCell, { className: "k-out-of-range" })
|
|
5311
5325
|
] })
|
|
5312
5326
|
] })
|
|
5313
5327
|
]
|
|
@@ -5324,25 +5338,25 @@ var CalendarTable = (props) => {
|
|
|
5324
5338
|
CALENDARTABLE_CLASSNAME
|
|
5325
5339
|
),
|
|
5326
5340
|
children: [
|
|
5327
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5341
|
+
showCalendarCaption && /* @__PURE__ */ jsx37("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5328
5342
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5329
5343
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5330
|
-
/* @__PURE__ */
|
|
5331
|
-
/* @__PURE__ */
|
|
5332
|
-
/* @__PURE__ */
|
|
5333
|
-
/* @__PURE__ */
|
|
5344
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "1990 - 1999" }),
|
|
5345
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2000 - 2009" }),
|
|
5346
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5347
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2020 - 2029" })
|
|
5334
5348
|
] }),
|
|
5335
5349
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5336
|
-
/* @__PURE__ */
|
|
5337
|
-
/* @__PURE__ */
|
|
5338
|
-
/* @__PURE__ */
|
|
5339
|
-
/* @__PURE__ */
|
|
5350
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2030 - 2039" }),
|
|
5351
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5352
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5353
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5340
5354
|
] }),
|
|
5341
5355
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5342
|
-
/* @__PURE__ */
|
|
5343
|
-
/* @__PURE__ */
|
|
5344
|
-
/* @__PURE__ */
|
|
5345
|
-
/* @__PURE__ */
|
|
5356
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2070 - 2079" }),
|
|
5357
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2080 - 2089" }),
|
|
5358
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2090 - 2099" }),
|
|
5359
|
+
/* @__PURE__ */ jsx37(CalendarCell, { className: "k-out-of-range" })
|
|
5346
5360
|
] })
|
|
5347
5361
|
] })
|
|
5348
5362
|
]
|
|
@@ -5358,68 +5372,68 @@ var CalendarTable = (props) => {
|
|
|
5358
5372
|
CALENDARTABLE_CLASSNAME
|
|
5359
5373
|
),
|
|
5360
5374
|
children: [
|
|
5361
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5362
|
-
/* @__PURE__ */
|
|
5375
|
+
showCalendarCaption && /* @__PURE__ */ jsx37("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5376
|
+
/* @__PURE__ */ jsx37(CalendarTableHead, { showWeek }),
|
|
5363
5377
|
/* @__PURE__ */ jsxs13("tbody", { className: "k-calendar-tbody", children: [
|
|
5364
5378
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5365
|
-
showWeek && /* @__PURE__ */
|
|
5366
|
-
/* @__PURE__ */
|
|
5367
|
-
/* @__PURE__ */
|
|
5368
|
-
/* @__PURE__ */
|
|
5369
|
-
/* @__PURE__ */
|
|
5370
|
-
/* @__PURE__ */
|
|
5371
|
-
/* @__PURE__ */
|
|
5372
|
-
/* @__PURE__ */
|
|
5379
|
+
showWeek && /* @__PURE__ */ jsx37(CalendarCell, { text: "39", weekCell: true }),
|
|
5380
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5381
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "1" }),
|
|
5382
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2" }),
|
|
5383
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "3" }),
|
|
5384
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "4" }),
|
|
5385
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "5" }),
|
|
5386
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "6", weekend: true })
|
|
5373
5387
|
] }),
|
|
5374
5388
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5375
|
-
showWeek && /* @__PURE__ */
|
|
5376
|
-
/* @__PURE__ */
|
|
5377
|
-
/* @__PURE__ */
|
|
5378
|
-
/* @__PURE__ */
|
|
5379
|
-
/* @__PURE__ */
|
|
5380
|
-
/* @__PURE__ */
|
|
5381
|
-
/* @__PURE__ */
|
|
5382
|
-
/* @__PURE__ */
|
|
5389
|
+
showWeek && /* @__PURE__ */ jsx37(CalendarCell, { text: "40", weekCell: true }),
|
|
5390
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "7", weekend: true }),
|
|
5391
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "8", hover: true }),
|
|
5392
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "9", focus: true }),
|
|
5393
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "10", selected: true }),
|
|
5394
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5395
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5396
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "13", weekend: true })
|
|
5383
5397
|
] }),
|
|
5384
5398
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5385
|
-
showWeek && /* @__PURE__ */
|
|
5386
|
-
/* @__PURE__ */
|
|
5387
|
-
/* @__PURE__ */
|
|
5388
|
-
/* @__PURE__ */
|
|
5389
|
-
/* @__PURE__ */
|
|
5390
|
-
/* @__PURE__ */
|
|
5391
|
-
/* @__PURE__ */
|
|
5392
|
-
/* @__PURE__ */
|
|
5399
|
+
showWeek && /* @__PURE__ */ jsx37(CalendarCell, { text: "41", weekCell: true }),
|
|
5400
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "14", weekend: true }),
|
|
5401
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "15" }),
|
|
5402
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "16", today: true }),
|
|
5403
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "17" }),
|
|
5404
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "18" }),
|
|
5405
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "19" }),
|
|
5406
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "20", weekend: true })
|
|
5393
5407
|
] }),
|
|
5394
5408
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5395
|
-
showWeek && /* @__PURE__ */
|
|
5396
|
-
/* @__PURE__ */
|
|
5397
|
-
/* @__PURE__ */
|
|
5398
|
-
/* @__PURE__ */
|
|
5399
|
-
/* @__PURE__ */
|
|
5400
|
-
/* @__PURE__ */
|
|
5401
|
-
/* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5409
|
+
showWeek && /* @__PURE__ */ jsx37(CalendarCell, { text: "42", weekCell: true }),
|
|
5410
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "21", weekend: true }),
|
|
5411
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "22" }),
|
|
5412
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "23" }),
|
|
5413
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "24" }),
|
|
5414
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5415
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5416
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5403
5417
|
] }),
|
|
5404
5418
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5405
|
-
showWeek && /* @__PURE__ */
|
|
5406
|
-
/* @__PURE__ */
|
|
5407
|
-
/* @__PURE__ */
|
|
5408
|
-
/* @__PURE__ */
|
|
5409
|
-
/* @__PURE__ */
|
|
5410
|
-
/* @__PURE__ */
|
|
5411
|
-
/* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5419
|
+
showWeek && /* @__PURE__ */ jsx37(CalendarCell, { text: "43", weekCell: true }),
|
|
5420
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5421
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5422
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "30" }),
|
|
5423
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "31" }),
|
|
5424
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5425
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5426
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5413
5427
|
] }),
|
|
5414
5428
|
/* @__PURE__ */ jsxs13("tr", { className: "k-calendar-tr", children: [
|
|
5415
|
-
showWeek && /* @__PURE__ */
|
|
5416
|
-
/* @__PURE__ */
|
|
5417
|
-
/* @__PURE__ */
|
|
5418
|
-
/* @__PURE__ */
|
|
5419
|
-
/* @__PURE__ */
|
|
5420
|
-
/* @__PURE__ */
|
|
5421
|
-
/* @__PURE__ */
|
|
5422
|
-
/* @__PURE__ */
|
|
5429
|
+
showWeek && /* @__PURE__ */ jsx37(CalendarCell, { text: "44", weekCell: true }),
|
|
5430
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5431
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5432
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5433
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5434
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5435
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5436
|
+
/* @__PURE__ */ jsx37(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5423
5437
|
] })
|
|
5424
5438
|
] })
|
|
5425
5439
|
]
|
|
@@ -5428,34 +5442,34 @@ var CalendarTable = (props) => {
|
|
|
5428
5442
|
};
|
|
5429
5443
|
|
|
5430
5444
|
// src/calendar/calendar-table-head.tsx
|
|
5431
|
-
import { jsx as
|
|
5445
|
+
import { jsx as jsx38, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5432
5446
|
var className11 = `k-calendar-thead`;
|
|
5433
5447
|
var CalendarTableHead = (props) => {
|
|
5434
5448
|
const {
|
|
5435
5449
|
showWeek,
|
|
5436
5450
|
...other
|
|
5437
5451
|
} = props;
|
|
5438
|
-
return /* @__PURE__ */
|
|
5452
|
+
return /* @__PURE__ */ jsx38(
|
|
5439
5453
|
"thead",
|
|
5440
5454
|
{
|
|
5441
5455
|
...other,
|
|
5442
5456
|
className: classNames(props.className, className11),
|
|
5443
5457
|
children: /* @__PURE__ */ jsxs14("tr", { className: "k-calendar-tr", children: [
|
|
5444
|
-
showWeek && /* @__PURE__ */
|
|
5445
|
-
/* @__PURE__ */
|
|
5446
|
-
/* @__PURE__ */
|
|
5447
|
-
/* @__PURE__ */
|
|
5448
|
-
/* @__PURE__ */
|
|
5449
|
-
/* @__PURE__ */
|
|
5450
|
-
/* @__PURE__ */
|
|
5451
|
-
/* @__PURE__ */
|
|
5458
|
+
showWeek && /* @__PURE__ */ jsx38(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5459
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "Su", headerCell: true }),
|
|
5460
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5461
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5462
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "We", headerCell: true }),
|
|
5463
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "Th", headerCell: true }),
|
|
5464
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5465
|
+
/* @__PURE__ */ jsx38(CalendarCell, { text: "Sa", headerCell: true })
|
|
5452
5466
|
] })
|
|
5453
5467
|
}
|
|
5454
5468
|
);
|
|
5455
5469
|
};
|
|
5456
5470
|
|
|
5457
5471
|
// src/calendar/calendar-view.tsx
|
|
5458
|
-
import { jsx as
|
|
5472
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5459
5473
|
var className12 = `k-calendar-view`;
|
|
5460
5474
|
var defaultProps17 = {
|
|
5461
5475
|
viewsCount: 1,
|
|
@@ -5473,7 +5487,7 @@ var CalendarView = (props) => {
|
|
|
5473
5487
|
selectedRange,
|
|
5474
5488
|
...other
|
|
5475
5489
|
} = props;
|
|
5476
|
-
return /* @__PURE__ */
|
|
5490
|
+
return /* @__PURE__ */ jsx39(
|
|
5477
5491
|
"div",
|
|
5478
5492
|
{
|
|
5479
5493
|
...other,
|
|
@@ -5489,7 +5503,7 @@ var CalendarView = (props) => {
|
|
|
5489
5503
|
}
|
|
5490
5504
|
),
|
|
5491
5505
|
children: [...Array(viewsCount)].map(
|
|
5492
|
-
(_e, i) => /* @__PURE__ */
|
|
5506
|
+
(_e, i) => /* @__PURE__ */ jsx39(
|
|
5493
5507
|
CalendarTable,
|
|
5494
5508
|
{
|
|
5495
5509
|
calendarView,
|
|
@@ -5506,7 +5520,7 @@ var CalendarView = (props) => {
|
|
|
5506
5520
|
};
|
|
5507
5521
|
|
|
5508
5522
|
// src/time-selector/time-selector.spec.tsx
|
|
5509
|
-
import { Fragment as
|
|
5523
|
+
import { Fragment as Fragment14, jsx as jsx40, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5510
5524
|
var TIMESELECTOR_CLASSNAME = `k-timeselector`;
|
|
5511
5525
|
var states20 = [];
|
|
5512
5526
|
var options19 = {
|
|
@@ -5533,7 +5547,7 @@ var TimeSelector = (props) => {
|
|
|
5533
5547
|
if (index === 0 || columnType === "tt") {
|
|
5534
5548
|
separator = false;
|
|
5535
5549
|
}
|
|
5536
|
-
return /* @__PURE__ */
|
|
5550
|
+
return /* @__PURE__ */ jsx40(Fragment14, { children: /* @__PURE__ */ jsx40(TimeSelectorColumn, { type: columnType, focus, separator }) });
|
|
5537
5551
|
});
|
|
5538
5552
|
return /* @__PURE__ */ jsxs15(
|
|
5539
5553
|
"div",
|
|
@@ -5547,10 +5561,10 @@ var TimeSelector = (props) => {
|
|
|
5547
5561
|
})
|
|
5548
5562
|
),
|
|
5549
5563
|
children: [
|
|
5550
|
-
/* @__PURE__ */
|
|
5551
|
-
/* @__PURE__ */
|
|
5564
|
+
/* @__PURE__ */ jsx40(Fragment14, { children: header }),
|
|
5565
|
+
/* @__PURE__ */ jsx40(Fragment14, { children: fastSelection }),
|
|
5552
5566
|
/* @__PURE__ */ jsxs15("div", { className: "k-time-list-container", children: [
|
|
5553
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ jsx40("span", { className: "k-time-highlight" }),
|
|
5554
5568
|
columnsDom
|
|
5555
5569
|
] })
|
|
5556
5570
|
]
|
|
@@ -5563,7 +5577,7 @@ TimeSelector.className = TIMESELECTOR_CLASSNAME;
|
|
|
5563
5577
|
TimeSelector.defaultProps = defaultProps18;
|
|
5564
5578
|
|
|
5565
5579
|
// src/time-selector/time-selector-column.tsx
|
|
5566
|
-
import { Fragment as
|
|
5580
|
+
import { Fragment as Fragment15, jsx as jsx41, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5567
5581
|
var states21 = [
|
|
5568
5582
|
States.focus
|
|
5569
5583
|
];
|
|
@@ -5602,10 +5616,10 @@ var TimeSelectorColumn = (props) => {
|
|
|
5602
5616
|
break;
|
|
5603
5617
|
}
|
|
5604
5618
|
const items = columnData.map(
|
|
5605
|
-
(data) => /* @__PURE__ */
|
|
5619
|
+
(data) => /* @__PURE__ */ jsx41(Fragment15, { children: /* @__PURE__ */ jsx41("li", { className: "k-item", children: /* @__PURE__ */ jsx41("span", { children: data }) }) })
|
|
5606
5620
|
);
|
|
5607
|
-
return /* @__PURE__ */ jsxs16(
|
|
5608
|
-
separator && /* @__PURE__ */
|
|
5621
|
+
return /* @__PURE__ */ jsxs16(Fragment15, { children: [
|
|
5622
|
+
separator && /* @__PURE__ */ jsx41("div", { className: "k-time-separator", children: ":" }),
|
|
5609
5623
|
/* @__PURE__ */ jsxs16(
|
|
5610
5624
|
"div",
|
|
5611
5625
|
{
|
|
@@ -5618,10 +5632,10 @@ var TimeSelectorColumn = (props) => {
|
|
|
5618
5632
|
})
|
|
5619
5633
|
),
|
|
5620
5634
|
children: [
|
|
5621
|
-
/* @__PURE__ */
|
|
5622
|
-
/* @__PURE__ */
|
|
5623
|
-
/* @__PURE__ */
|
|
5624
|
-
/* @__PURE__ */
|
|
5635
|
+
/* @__PURE__ */ jsx41("span", { className: "k-title", children: text }),
|
|
5636
|
+
/* @__PURE__ */ jsx41("div", { className: "k-time-list", children: /* @__PURE__ */ jsxs16("div", { className: "k-content k-scrollable k-time-container", children: [
|
|
5637
|
+
/* @__PURE__ */ jsx41("ul", { className: "k-reset", style: { transform: "translateY(97px)" }, children: items }),
|
|
5638
|
+
/* @__PURE__ */ jsx41("div", { className: "k-scrollable-placeholder" })
|
|
5625
5639
|
] }) })
|
|
5626
5640
|
]
|
|
5627
5641
|
}
|
|
@@ -5630,7 +5644,7 @@ var TimeSelectorColumn = (props) => {
|
|
|
5630
5644
|
};
|
|
5631
5645
|
|
|
5632
5646
|
// src/time-selector/time-selector-header.tsx
|
|
5633
|
-
import { jsx as
|
|
5647
|
+
import { jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5634
5648
|
var className13 = `k-time-header`;
|
|
5635
5649
|
var TimeSelectorHeader = (props) => {
|
|
5636
5650
|
const {
|
|
@@ -5646,7 +5660,7 @@ var TimeSelectorHeader = (props) => {
|
|
|
5646
5660
|
className13
|
|
5647
5661
|
),
|
|
5648
5662
|
children: [
|
|
5649
|
-
title != null && /* @__PURE__ */
|
|
5663
|
+
title != null && /* @__PURE__ */ jsx42("span", { className: "k-title", children: title }),
|
|
5650
5664
|
props.children
|
|
5651
5665
|
]
|
|
5652
5666
|
}
|
|
@@ -5654,19 +5668,19 @@ var TimeSelectorHeader = (props) => {
|
|
|
5654
5668
|
};
|
|
5655
5669
|
|
|
5656
5670
|
// src/time-selector/time-selector-fast-selection.tsx
|
|
5657
|
-
import { jsx as
|
|
5671
|
+
import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5658
5672
|
|
|
5659
5673
|
// src/time-selector/templates/time-selector-all.tsx
|
|
5660
|
-
import { jsx as
|
|
5674
|
+
import { jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5661
5675
|
|
|
5662
5676
|
// src/time-selector/templates/time-selector-hour.tsx
|
|
5663
|
-
import { jsx as
|
|
5677
|
+
import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5664
5678
|
|
|
5665
5679
|
// src/time-selector/templates/time-selector-minute.tsx
|
|
5666
|
-
import { jsx as
|
|
5680
|
+
import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5667
5681
|
|
|
5668
5682
|
// src/datetime-selector/datetime-selector.spec.tsx
|
|
5669
|
-
import { Fragment as
|
|
5683
|
+
import { Fragment as Fragment16, jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5670
5684
|
var DATETIMESELECTOR_CLASSNAME = `k-datetime-wrap`;
|
|
5671
5685
|
var states22 = [];
|
|
5672
5686
|
var options20 = {
|
|
@@ -5701,20 +5715,20 @@ var DateTimeSelector = (props) => {
|
|
|
5701
5715
|
})
|
|
5702
5716
|
),
|
|
5703
5717
|
children: [
|
|
5704
|
-
/* @__PURE__ */
|
|
5705
|
-
/* @__PURE__ */
|
|
5706
|
-
/* @__PURE__ */
|
|
5718
|
+
/* @__PURE__ */ jsx47("div", { className: "k-datetime-buttongroup", children: /* @__PURE__ */ jsxs22(ButtonGroup, { stretched: true, children: [
|
|
5719
|
+
/* @__PURE__ */ jsx47(Button, { className: "k-group-start", size, selected: tab === "date", children: "Date" }),
|
|
5720
|
+
/* @__PURE__ */ jsx47(Button, { className: "k-group-end", size, selected: tab === "time", children: "Time" })
|
|
5707
5721
|
] }) }),
|
|
5708
|
-
/* @__PURE__ */
|
|
5709
|
-
/* @__PURE__ */
|
|
5710
|
-
/* @__PURE__ */
|
|
5711
|
-
] }) : /* @__PURE__ */ jsxs22(
|
|
5712
|
-
/* @__PURE__ */
|
|
5713
|
-
/* @__PURE__ */
|
|
5722
|
+
/* @__PURE__ */ jsx47("div", { className: "k-datetime-selector", children: tab === "time" ? /* @__PURE__ */ jsxs22(Fragment16, { children: [
|
|
5723
|
+
/* @__PURE__ */ jsx47("div", { className: "k-datetime-calendar-wrap" }),
|
|
5724
|
+
/* @__PURE__ */ jsx47("div", { className: "k-datetime-time-wrap", children: /* @__PURE__ */ jsx47(TimeSelector, { size, columns: ["HH", "mm", "ss", "tt"], focusedColumn: "mm", header: /* @__PURE__ */ jsx47(TimeSelectorHeader, { title: "10:00:00 AM", children: /* @__PURE__ */ jsx47(Button, { size, fillMode: "flat", className: "k-time-now", children: "Now" }) }) }) })
|
|
5725
|
+
] }) : /* @__PURE__ */ jsxs22(Fragment16, { children: [
|
|
5726
|
+
/* @__PURE__ */ jsx47("div", { className: "k-datetime-calendar-wrap", children: /* @__PURE__ */ jsx47(Calendar, { size, showOtherMonth: true, dir }) }),
|
|
5727
|
+
/* @__PURE__ */ jsx47("div", { className: "k-datetime-time-wrap" })
|
|
5714
5728
|
] }) }),
|
|
5715
5729
|
actionButtons && /* @__PURE__ */ jsxs22(ActionButtons, { className: "k-datetime-footer", alignment: "stretched", children: [
|
|
5716
|
-
/* @__PURE__ */
|
|
5717
|
-
/* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx47(Button, { size, themeColor: "primary", className: "k-time-accept", children: "Set" }),
|
|
5731
|
+
/* @__PURE__ */ jsx47(Button, { size, className: "k-time-cancel", children: "Cancel" })
|
|
5718
5732
|
] })
|
|
5719
5733
|
]
|
|
5720
5734
|
}
|
|
@@ -5726,7 +5740,7 @@ DateTimeSelector.className = DATETIMESELECTOR_CLASSNAME;
|
|
|
5726
5740
|
DateTimeSelector.defaultProps = defaultProps19;
|
|
5727
5741
|
|
|
5728
5742
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5729
|
-
import { Fragment as
|
|
5743
|
+
import { Fragment as Fragment17, jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5730
5744
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5731
5745
|
var states23 = [];
|
|
5732
5746
|
var options21 = {};
|
|
@@ -5749,8 +5763,8 @@ var ActionSheet = (props) => {
|
|
|
5749
5763
|
overlay = defaultProps20.overlay,
|
|
5750
5764
|
...other
|
|
5751
5765
|
} = props;
|
|
5752
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
5753
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
5766
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx48(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5767
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx48(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx48(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5754
5768
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5755
5769
|
switch (child.type) {
|
|
5756
5770
|
case ActionSheetHeader:
|
|
@@ -5760,10 +5774,10 @@ var ActionSheet = (props) => {
|
|
|
5760
5774
|
return true;
|
|
5761
5775
|
}
|
|
5762
5776
|
return true;
|
|
5763
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
5777
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx48(Fragment17, {});
|
|
5764
5778
|
return /* @__PURE__ */ jsxs23("div", { className: "k-actionsheet-container", children: [
|
|
5765
|
-
overlay && /* @__PURE__ */
|
|
5766
|
-
/* @__PURE__ */
|
|
5779
|
+
overlay && /* @__PURE__ */ jsx48("div", { className: "k-overlay" }),
|
|
5780
|
+
/* @__PURE__ */ jsx48(
|
|
5767
5781
|
AnimationContainer,
|
|
5768
5782
|
{
|
|
5769
5783
|
animationStyle: {
|
|
@@ -5773,7 +5787,7 @@ var ActionSheet = (props) => {
|
|
|
5773
5787
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5774
5788
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5775
5789
|
},
|
|
5776
|
-
children: /* @__PURE__ */
|
|
5790
|
+
children: /* @__PURE__ */ jsx48(
|
|
5777
5791
|
"div",
|
|
5778
5792
|
{
|
|
5779
5793
|
...other,
|
|
@@ -5786,9 +5800,9 @@ var ActionSheet = (props) => {
|
|
|
5786
5800
|
"k-adaptive-actionsheet": adaptive
|
|
5787
5801
|
}
|
|
5788
5802
|
),
|
|
5789
|
-
children: /* @__PURE__ */ jsxs23(
|
|
5803
|
+
children: /* @__PURE__ */ jsxs23(Fragment17, { children: [
|
|
5790
5804
|
_ActionSheetHeader,
|
|
5791
|
-
/* @__PURE__ */
|
|
5805
|
+
/* @__PURE__ */ jsx48("div", { className: classNames(
|
|
5792
5806
|
"k-actionsheet-content",
|
|
5793
5807
|
{
|
|
5794
5808
|
"!k-overflow-hidden": adaptive
|
|
@@ -5808,7 +5822,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5808
5822
|
ActionSheet.defaultProps = defaultProps20;
|
|
5809
5823
|
|
|
5810
5824
|
// src/searchbox/searchbox.spec.tsx
|
|
5811
|
-
import { jsx as
|
|
5825
|
+
import { jsx as jsx49, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5812
5826
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5813
5827
|
var states24 = [
|
|
5814
5828
|
States.hover,
|
|
@@ -5865,11 +5879,11 @@ var Searchbox = (props) => {
|
|
|
5865
5879
|
disabled,
|
|
5866
5880
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5867
5881
|
children: [
|
|
5868
|
-
showIcon && /* @__PURE__ */
|
|
5869
|
-
/* @__PURE__ */
|
|
5870
|
-
/* @__PURE__ */
|
|
5871
|
-
/* @__PURE__ */
|
|
5872
|
-
/* @__PURE__ */
|
|
5882
|
+
showIcon && /* @__PURE__ */ jsx49(Icon, { className: "k-input-icon", icon }),
|
|
5883
|
+
/* @__PURE__ */ jsx49(InputInnerInput, { placeholder, value }),
|
|
5884
|
+
/* @__PURE__ */ jsx49(InputLoadingIcon, { ...props }),
|
|
5885
|
+
/* @__PURE__ */ jsx49(InputValidationIcon, { ...props }),
|
|
5886
|
+
/* @__PURE__ */ jsx49(InputClearValue, { ...props })
|
|
5873
5887
|
]
|
|
5874
5888
|
}
|
|
5875
5889
|
);
|
|
@@ -5880,10 +5894,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5880
5894
|
Searchbox.defaultProps = defaultProps21;
|
|
5881
5895
|
|
|
5882
5896
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5883
|
-
import { jsx as
|
|
5897
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5884
5898
|
|
|
5885
5899
|
// src/action-sheet/actionsheet-header.tsx
|
|
5886
|
-
import { Fragment as
|
|
5900
|
+
import { Fragment as Fragment18, jsx as jsx51, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5887
5901
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5888
5902
|
var ActionSheetHeader = (props) => {
|
|
5889
5903
|
const {
|
|
@@ -5893,7 +5907,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5893
5907
|
filter,
|
|
5894
5908
|
...other
|
|
5895
5909
|
} = props;
|
|
5896
|
-
return /* @__PURE__ */
|
|
5910
|
+
return /* @__PURE__ */ jsx51(
|
|
5897
5911
|
"div",
|
|
5898
5912
|
{
|
|
5899
5913
|
...other,
|
|
@@ -5901,30 +5915,30 @@ var ActionSheetHeader = (props) => {
|
|
|
5901
5915
|
props.className,
|
|
5902
5916
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5903
5917
|
),
|
|
5904
|
-
children: /* @__PURE__ */ jsxs25(
|
|
5918
|
+
children: /* @__PURE__ */ jsxs25(Fragment18, { children: [
|
|
5905
5919
|
/* @__PURE__ */ jsxs25("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5906
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
5907
|
-
title !== "" && /* @__PURE__ */
|
|
5908
|
-
subTitle !== "" && /* @__PURE__ */
|
|
5920
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx51(Fragment18, { children: /* @__PURE__ */ jsxs25("div", { className: "k-actionsheet-title", children: [
|
|
5921
|
+
title !== "" && /* @__PURE__ */ jsx51("div", { className: "k-text-center", children: title }),
|
|
5922
|
+
subTitle !== "" && /* @__PURE__ */ jsx51("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5909
5923
|
] }) }),
|
|
5910
|
-
props.children && /* @__PURE__ */
|
|
5911
|
-
actions && /* @__PURE__ */
|
|
5924
|
+
props.children && /* @__PURE__ */ jsx51("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5925
|
+
actions && /* @__PURE__ */ jsx51(Fragment18, { children: /* @__PURE__ */ jsx51("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx51(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5912
5926
|
] }),
|
|
5913
|
-
filter && /* @__PURE__ */
|
|
5927
|
+
filter && /* @__PURE__ */ jsx51(Fragment18, { children: /* @__PURE__ */ jsx51("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx51(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5914
5928
|
] })
|
|
5915
5929
|
}
|
|
5916
5930
|
);
|
|
5917
5931
|
};
|
|
5918
5932
|
|
|
5919
5933
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5920
|
-
import { Fragment as
|
|
5934
|
+
import { Fragment as Fragment19, jsx as jsx52, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5921
5935
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5922
5936
|
var ActionSheetFooter = (props) => {
|
|
5923
5937
|
const {
|
|
5924
5938
|
actions,
|
|
5925
5939
|
...other
|
|
5926
5940
|
} = props;
|
|
5927
|
-
return /* @__PURE__ */
|
|
5941
|
+
return /* @__PURE__ */ jsx52(
|
|
5928
5942
|
action_buttons_spec_default,
|
|
5929
5943
|
{
|
|
5930
5944
|
...other,
|
|
@@ -5933,17 +5947,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5933
5947
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5934
5948
|
),
|
|
5935
5949
|
alignment: "stretched",
|
|
5936
|
-
children: /* @__PURE__ */ jsxs26(
|
|
5950
|
+
children: /* @__PURE__ */ jsxs26(Fragment19, { children: [
|
|
5937
5951
|
actions && actions.map((action, index) => {
|
|
5938
5952
|
if (action === "|") {
|
|
5939
|
-
return /* @__PURE__ */
|
|
5953
|
+
return /* @__PURE__ */ jsx52("span", { className: "k-separator" }, index);
|
|
5940
5954
|
}
|
|
5941
5955
|
if (action === " ") {
|
|
5942
|
-
return /* @__PURE__ */
|
|
5956
|
+
return /* @__PURE__ */ jsx52("span", { className: "k-spacer" }, index);
|
|
5943
5957
|
}
|
|
5944
5958
|
const importantFlag = action.startsWith("!");
|
|
5945
5959
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5946
|
-
return /* @__PURE__ */
|
|
5960
|
+
return /* @__PURE__ */ jsx52(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5947
5961
|
}),
|
|
5948
5962
|
!actions && props.children
|
|
5949
5963
|
] })
|
|
@@ -5952,12 +5966,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5952
5966
|
};
|
|
5953
5967
|
|
|
5954
5968
|
// src/action-sheet/actionsheet-items.tsx
|
|
5955
|
-
import { jsx as
|
|
5969
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5956
5970
|
var ActionSheetItems = (props) => {
|
|
5957
5971
|
const {
|
|
5958
5972
|
...other
|
|
5959
5973
|
} = props;
|
|
5960
|
-
return /* @__PURE__ */
|
|
5974
|
+
return /* @__PURE__ */ jsx53(
|
|
5961
5975
|
"div",
|
|
5962
5976
|
{
|
|
5963
5977
|
...other,
|
|
@@ -5971,7 +5985,7 @@ var ActionSheetItems = (props) => {
|
|
|
5971
5985
|
};
|
|
5972
5986
|
|
|
5973
5987
|
// src/action-sheet/actionsheet-item.tsx
|
|
5974
|
-
import { Fragment as
|
|
5988
|
+
import { Fragment as Fragment20, jsx as jsx54, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5975
5989
|
var states25 = [
|
|
5976
5990
|
States.hover,
|
|
5977
5991
|
States.focus,
|
|
@@ -5980,7 +5994,7 @@ var states25 = [
|
|
|
5980
5994
|
];
|
|
5981
5995
|
|
|
5982
5996
|
// src/datetimepicker/datetimepicker.spec.tsx
|
|
5983
|
-
import { Fragment as
|
|
5997
|
+
import { Fragment as Fragment21, jsx as jsx55, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5984
5998
|
var DATETIMEPICKER_CLASSNAME = `k-datetimepicker`;
|
|
5985
5999
|
var states26 = [
|
|
5986
6000
|
States.hover,
|
|
@@ -6027,7 +6041,7 @@ var DateTimePicker = (props) => {
|
|
|
6027
6041
|
adaptiveSettings,
|
|
6028
6042
|
...other
|
|
6029
6043
|
} = props;
|
|
6030
|
-
return /* @__PURE__ */ jsxs28(
|
|
6044
|
+
return /* @__PURE__ */ jsxs28(Fragment21, { children: [
|
|
6031
6045
|
/* @__PURE__ */ jsxs28(
|
|
6032
6046
|
Input,
|
|
6033
6047
|
{
|
|
@@ -6046,9 +6060,9 @@ var DateTimePicker = (props) => {
|
|
|
6046
6060
|
readonly,
|
|
6047
6061
|
className: classNames(props.className, DATETIMEPICKER_CLASSNAME),
|
|
6048
6062
|
children: [
|
|
6049
|
-
/* @__PURE__ */
|
|
6050
|
-
/* @__PURE__ */
|
|
6051
|
-
/* @__PURE__ */
|
|
6063
|
+
/* @__PURE__ */ jsx55(InputPrefix, { children: prefix }),
|
|
6064
|
+
/* @__PURE__ */ jsx55(InputInnerInput, { placeholder, value }),
|
|
6065
|
+
/* @__PURE__ */ jsx55(
|
|
6052
6066
|
InputValidationIcon,
|
|
6053
6067
|
{
|
|
6054
6068
|
valid,
|
|
@@ -6057,14 +6071,14 @@ var DateTimePicker = (props) => {
|
|
|
6057
6071
|
disabled
|
|
6058
6072
|
}
|
|
6059
6073
|
),
|
|
6060
|
-
/* @__PURE__ */
|
|
6074
|
+
/* @__PURE__ */ jsx55(
|
|
6061
6075
|
InputLoadingIcon,
|
|
6062
6076
|
{
|
|
6063
6077
|
loading,
|
|
6064
6078
|
disabled
|
|
6065
6079
|
}
|
|
6066
6080
|
),
|
|
6067
|
-
/* @__PURE__ */
|
|
6081
|
+
/* @__PURE__ */ jsx55(
|
|
6068
6082
|
InputClearValue,
|
|
6069
6083
|
{
|
|
6070
6084
|
loading,
|
|
@@ -6073,8 +6087,8 @@ var DateTimePicker = (props) => {
|
|
|
6073
6087
|
value
|
|
6074
6088
|
}
|
|
6075
6089
|
),
|
|
6076
|
-
/* @__PURE__ */
|
|
6077
|
-
/* @__PURE__ */
|
|
6090
|
+
/* @__PURE__ */ jsx55(InputSuffix, { children: suffix }),
|
|
6091
|
+
/* @__PURE__ */ jsx55(
|
|
6078
6092
|
Button,
|
|
6079
6093
|
{
|
|
6080
6094
|
className: "k-input-button",
|
|
@@ -6087,9 +6101,9 @@ var DateTimePicker = (props) => {
|
|
|
6087
6101
|
]
|
|
6088
6102
|
}
|
|
6089
6103
|
),
|
|
6090
|
-
opened && /* @__PURE__ */
|
|
6104
|
+
opened && /* @__PURE__ */ jsx55(Popup, { className: `k-${tab === "time" ? "list" : "calendar"}-container k-datetimepicker-popup`, dir, children: /* @__PURE__ */ jsx55(DateTimeSelector, { tab, dir }) }),
|
|
6091
6105
|
adaptive && /* @__PURE__ */ jsxs28(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6092
|
-
/* @__PURE__ */
|
|
6106
|
+
/* @__PURE__ */ jsx55(
|
|
6093
6107
|
ActionSheetHeader,
|
|
6094
6108
|
{
|
|
6095
6109
|
actions: ["x"],
|
|
@@ -6097,8 +6111,8 @@ var DateTimePicker = (props) => {
|
|
|
6097
6111
|
subTitle: "DD / MM / YY"
|
|
6098
6112
|
}
|
|
6099
6113
|
),
|
|
6100
|
-
/* @__PURE__ */
|
|
6101
|
-
/* @__PURE__ */
|
|
6114
|
+
/* @__PURE__ */ jsx55(DateTimeSelector, { size: "large", tab, actionButtons: false }),
|
|
6115
|
+
/* @__PURE__ */ jsx55(ActionSheetFooter, { actions: ["Cancel", "!Set"] })
|
|
6102
6116
|
] })
|
|
6103
6117
|
] });
|
|
6104
6118
|
};
|
|
@@ -6108,16 +6122,16 @@ DateTimePicker.className = DATETIMEPICKER_CLASSNAME;
|
|
|
6108
6122
|
DateTimePicker.defaultProps = defaultProps22;
|
|
6109
6123
|
|
|
6110
6124
|
// src/datetimepicker/templates/datetimepicker-normal.tsx
|
|
6111
|
-
import { jsx as
|
|
6125
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6112
6126
|
|
|
6113
6127
|
// src/datetimepicker/templates/datetimepicker-popup.tsx
|
|
6114
|
-
import { jsx as
|
|
6128
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
6115
6129
|
|
|
6116
6130
|
// src/datetimepicker/templates/datetimepicker-adaptive.tsx
|
|
6117
|
-
import { jsx as
|
|
6131
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
6118
6132
|
|
|
6119
6133
|
// src/spinbutton/spinbutton.spec.tsx
|
|
6120
|
-
import { jsx as
|
|
6134
|
+
import { jsx as jsx59, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6121
6135
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
6122
6136
|
var states27 = [];
|
|
6123
6137
|
var options24 = {
|
|
@@ -6143,7 +6157,7 @@ var SpinButton = (props) => {
|
|
|
6143
6157
|
props.className
|
|
6144
6158
|
),
|
|
6145
6159
|
children: [
|
|
6146
|
-
/* @__PURE__ */
|
|
6160
|
+
/* @__PURE__ */ jsx59(
|
|
6147
6161
|
Button,
|
|
6148
6162
|
{
|
|
6149
6163
|
className: "k-spinner-increase",
|
|
@@ -6153,7 +6167,7 @@ var SpinButton = (props) => {
|
|
|
6153
6167
|
fillMode
|
|
6154
6168
|
}
|
|
6155
6169
|
),
|
|
6156
|
-
/* @__PURE__ */
|
|
6170
|
+
/* @__PURE__ */ jsx59(
|
|
6157
6171
|
Button,
|
|
6158
6172
|
{
|
|
6159
6173
|
className: "k-spinner-decrease",
|
|
@@ -6173,7 +6187,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
6173
6187
|
SpinButton.defaultProps = defaultProps23;
|
|
6174
6188
|
|
|
6175
6189
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6176
|
-
import { jsx as
|
|
6190
|
+
import { jsx as jsx60, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6177
6191
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6178
6192
|
var states28 = [
|
|
6179
6193
|
States.hover,
|
|
@@ -6233,8 +6247,8 @@ var NumericTextbox = (props) => {
|
|
|
6233
6247
|
readonly,
|
|
6234
6248
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6235
6249
|
children: [
|
|
6236
|
-
/* @__PURE__ */
|
|
6237
|
-
/* @__PURE__ */
|
|
6250
|
+
/* @__PURE__ */ jsx60(InputInnerInput, { placeholder, value }),
|
|
6251
|
+
/* @__PURE__ */ jsx60(
|
|
6238
6252
|
InputValidationIcon,
|
|
6239
6253
|
{
|
|
6240
6254
|
valid,
|
|
@@ -6243,14 +6257,14 @@ var NumericTextbox = (props) => {
|
|
|
6243
6257
|
disabled
|
|
6244
6258
|
}
|
|
6245
6259
|
),
|
|
6246
|
-
/* @__PURE__ */
|
|
6260
|
+
/* @__PURE__ */ jsx60(
|
|
6247
6261
|
InputLoadingIcon,
|
|
6248
6262
|
{
|
|
6249
6263
|
loading,
|
|
6250
6264
|
disabled
|
|
6251
6265
|
}
|
|
6252
6266
|
),
|
|
6253
|
-
showClearButton && /* @__PURE__ */
|
|
6267
|
+
showClearButton && /* @__PURE__ */ jsx60(
|
|
6254
6268
|
InputClearValue,
|
|
6255
6269
|
{
|
|
6256
6270
|
loading,
|
|
@@ -6259,7 +6273,7 @@ var NumericTextbox = (props) => {
|
|
|
6259
6273
|
value
|
|
6260
6274
|
}
|
|
6261
6275
|
),
|
|
6262
|
-
showSpinButton && /* @__PURE__ */
|
|
6276
|
+
showSpinButton && /* @__PURE__ */ jsx60(
|
|
6263
6277
|
SpinButton,
|
|
6264
6278
|
{
|
|
6265
6279
|
className: "k-input-spinner",
|
|
@@ -6277,10 +6291,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6277
6291
|
NumericTextbox.defaultProps = defaultProps24;
|
|
6278
6292
|
|
|
6279
6293
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6280
|
-
import { jsx as
|
|
6294
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
6281
6295
|
|
|
6282
6296
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
6283
|
-
import { Fragment as
|
|
6297
|
+
import { Fragment as Fragment22, jsx as jsx62, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6284
6298
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
6285
6299
|
var states29 = [
|
|
6286
6300
|
States.hover,
|
|
@@ -6328,7 +6342,7 @@ var DropdownList = (props) => {
|
|
|
6328
6342
|
opened,
|
|
6329
6343
|
...other
|
|
6330
6344
|
} = props;
|
|
6331
|
-
return /* @__PURE__ */ jsxs31(
|
|
6345
|
+
return /* @__PURE__ */ jsxs31(Fragment22, { children: [
|
|
6332
6346
|
/* @__PURE__ */ jsxs31(
|
|
6333
6347
|
Picker,
|
|
6334
6348
|
{
|
|
@@ -6352,8 +6366,8 @@ var DropdownList = (props) => {
|
|
|
6352
6366
|
}
|
|
6353
6367
|
),
|
|
6354
6368
|
children: [
|
|
6355
|
-
/* @__PURE__ */
|
|
6356
|
-
/* @__PURE__ */
|
|
6369
|
+
/* @__PURE__ */ jsx62(InputPrefix, { children: prefix }),
|
|
6370
|
+
/* @__PURE__ */ jsx62(
|
|
6357
6371
|
InputInnerSpan,
|
|
6358
6372
|
{
|
|
6359
6373
|
placeholder,
|
|
@@ -6362,7 +6376,7 @@ var DropdownList = (props) => {
|
|
|
6362
6376
|
valueIconName
|
|
6363
6377
|
}
|
|
6364
6378
|
),
|
|
6365
|
-
/* @__PURE__ */
|
|
6379
|
+
/* @__PURE__ */ jsx62(
|
|
6366
6380
|
InputValidationIcon,
|
|
6367
6381
|
{
|
|
6368
6382
|
valid,
|
|
@@ -6371,15 +6385,15 @@ var DropdownList = (props) => {
|
|
|
6371
6385
|
disabled
|
|
6372
6386
|
}
|
|
6373
6387
|
),
|
|
6374
|
-
/* @__PURE__ */
|
|
6388
|
+
/* @__PURE__ */ jsx62(
|
|
6375
6389
|
InputLoadingIcon,
|
|
6376
6390
|
{
|
|
6377
6391
|
loading,
|
|
6378
6392
|
disabled
|
|
6379
6393
|
}
|
|
6380
6394
|
),
|
|
6381
|
-
/* @__PURE__ */
|
|
6382
|
-
/* @__PURE__ */
|
|
6395
|
+
/* @__PURE__ */ jsx62(InputSuffix, { children: suffix }),
|
|
6396
|
+
/* @__PURE__ */ jsx62(
|
|
6383
6397
|
Button,
|
|
6384
6398
|
{
|
|
6385
6399
|
className: "k-input-button",
|
|
@@ -6392,7 +6406,7 @@ var DropdownList = (props) => {
|
|
|
6392
6406
|
]
|
|
6393
6407
|
}
|
|
6394
6408
|
),
|
|
6395
|
-
opened && popup && /* @__PURE__ */
|
|
6409
|
+
opened && popup && /* @__PURE__ */ jsx62(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
6396
6410
|
] });
|
|
6397
6411
|
};
|
|
6398
6412
|
DropdownList.states = states29;
|
|
@@ -6401,15 +6415,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
6401
6415
|
DropdownList.defaultProps = defaultProps25;
|
|
6402
6416
|
|
|
6403
6417
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
6404
|
-
import { jsx as
|
|
6418
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
6405
6419
|
|
|
6406
6420
|
// src/nodata/nodata.tsx
|
|
6407
|
-
import { jsx as
|
|
6421
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6408
6422
|
var className14 = `k-nodata`;
|
|
6409
|
-
var NoData = (props) => /* @__PURE__ */
|
|
6423
|
+
var NoData = (props) => /* @__PURE__ */ jsx64("span", { className: classNames(className14, props.className), children: props.children });
|
|
6410
6424
|
|
|
6411
6425
|
// src/list/list.spec.tsx
|
|
6412
|
-
import { jsx as
|
|
6426
|
+
import { jsx as jsx65, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6413
6427
|
var LIST_CLASSNAME = `k-list`;
|
|
6414
6428
|
var states30 = [];
|
|
6415
6429
|
var options27 = {
|
|
@@ -6437,7 +6451,7 @@ var List = (props) => {
|
|
|
6437
6451
|
listHeader = child.props.label;
|
|
6438
6452
|
child.props.children.map((optChild, index2) => {
|
|
6439
6453
|
listChildren.push(
|
|
6440
|
-
/* @__PURE__ */
|
|
6454
|
+
/* @__PURE__ */ jsx65(
|
|
6441
6455
|
ListItem,
|
|
6442
6456
|
{
|
|
6443
6457
|
...optChild.props
|
|
@@ -6453,7 +6467,7 @@ var List = (props) => {
|
|
|
6453
6467
|
groupLabel = child.props.label;
|
|
6454
6468
|
}
|
|
6455
6469
|
listChildren.push(
|
|
6456
|
-
/* @__PURE__ */
|
|
6470
|
+
/* @__PURE__ */ jsx65(
|
|
6457
6471
|
ListItem,
|
|
6458
6472
|
{
|
|
6459
6473
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6465,14 +6479,14 @@ var List = (props) => {
|
|
|
6465
6479
|
);
|
|
6466
6480
|
});
|
|
6467
6481
|
}
|
|
6468
|
-
listGroup = /* @__PURE__ */
|
|
6482
|
+
listGroup = /* @__PURE__ */ jsx65(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6469
6483
|
} else if (child.type === ListItem) {
|
|
6470
|
-
listChildren.push(/* @__PURE__ */
|
|
6471
|
-
listContent = /* @__PURE__ */
|
|
6484
|
+
listChildren.push(/* @__PURE__ */ jsx65(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6485
|
+
listContent = /* @__PURE__ */ jsx65(ListContent, { virtualization, children: listChildren });
|
|
6472
6486
|
}
|
|
6473
6487
|
});
|
|
6474
6488
|
} else {
|
|
6475
|
-
listContent = /* @__PURE__ */
|
|
6489
|
+
listContent = /* @__PURE__ */ jsx65(NoData, { children: "No data found." });
|
|
6476
6490
|
}
|
|
6477
6491
|
return /* @__PURE__ */ jsxs32(
|
|
6478
6492
|
"div",
|
|
@@ -6502,7 +6516,7 @@ List.className = LIST_CLASSNAME;
|
|
|
6502
6516
|
List.defaultProps = defaultProps26;
|
|
6503
6517
|
|
|
6504
6518
|
// src/list/list-angular.spec.tsx
|
|
6505
|
-
import { jsx as
|
|
6519
|
+
import { jsx as jsx66, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6506
6520
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6507
6521
|
var states31 = [];
|
|
6508
6522
|
var options28 = {
|
|
@@ -6529,7 +6543,7 @@ var ListAngular = (props) => {
|
|
|
6529
6543
|
listHeader = child.props.label;
|
|
6530
6544
|
child.props.children.map((optChild, index2) => {
|
|
6531
6545
|
listChildren.push(
|
|
6532
|
-
/* @__PURE__ */
|
|
6546
|
+
/* @__PURE__ */ jsx66(
|
|
6533
6547
|
ListItem,
|
|
6534
6548
|
{
|
|
6535
6549
|
...optChild.props
|
|
@@ -6540,7 +6554,7 @@ var ListAngular = (props) => {
|
|
|
6540
6554
|
});
|
|
6541
6555
|
} else {
|
|
6542
6556
|
listChildren.push(
|
|
6543
|
-
/* @__PURE__ */
|
|
6557
|
+
/* @__PURE__ */ jsx66(
|
|
6544
6558
|
ListGroupItem,
|
|
6545
6559
|
{
|
|
6546
6560
|
...child.props,
|
|
@@ -6551,7 +6565,7 @@ var ListAngular = (props) => {
|
|
|
6551
6565
|
);
|
|
6552
6566
|
child.props.children.map((optChild, index2) => {
|
|
6553
6567
|
listChildren.push(
|
|
6554
|
-
/* @__PURE__ */
|
|
6568
|
+
/* @__PURE__ */ jsx66(
|
|
6555
6569
|
ListItem,
|
|
6556
6570
|
{
|
|
6557
6571
|
...optChild.props
|
|
@@ -6561,14 +6575,14 @@ var ListAngular = (props) => {
|
|
|
6561
6575
|
);
|
|
6562
6576
|
});
|
|
6563
6577
|
}
|
|
6564
|
-
listGroup = /* @__PURE__ */
|
|
6578
|
+
listGroup = /* @__PURE__ */ jsx66(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6565
6579
|
} else if (child.type === ListItem) {
|
|
6566
|
-
listChildren.push(/* @__PURE__ */
|
|
6567
|
-
listContent = /* @__PURE__ */
|
|
6580
|
+
listChildren.push(/* @__PURE__ */ jsx66(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6581
|
+
listContent = /* @__PURE__ */ jsx66(ListContent, { virtualization, children: listChildren });
|
|
6568
6582
|
}
|
|
6569
6583
|
});
|
|
6570
6584
|
} else {
|
|
6571
|
-
listContent = /* @__PURE__ */
|
|
6585
|
+
listContent = /* @__PURE__ */ jsx66(NoData, { children: "No data found." });
|
|
6572
6586
|
}
|
|
6573
6587
|
return /* @__PURE__ */ jsxs33(
|
|
6574
6588
|
"div",
|
|
@@ -6597,7 +6611,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
6597
6611
|
ListAngular.defaultProps = defaultProps27;
|
|
6598
6612
|
|
|
6599
6613
|
// src/checkbox/checkbox.spec.tsx
|
|
6600
|
-
import { jsx as
|
|
6614
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
6601
6615
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6602
6616
|
var states32 = [
|
|
6603
6617
|
States.hover,
|
|
@@ -6632,7 +6646,7 @@ var Checkbox = (props) => {
|
|
|
6632
6646
|
rounded = defaultProps28.rounded,
|
|
6633
6647
|
...other
|
|
6634
6648
|
} = props;
|
|
6635
|
-
return /* @__PURE__ */
|
|
6649
|
+
return /* @__PURE__ */ jsx67("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx67(
|
|
6636
6650
|
"input",
|
|
6637
6651
|
{
|
|
6638
6652
|
...other,
|
|
@@ -6655,7 +6669,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6655
6669
|
Checkbox.defaultProps = defaultProps28;
|
|
6656
6670
|
|
|
6657
6671
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6658
|
-
import { jsx as
|
|
6672
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6659
6673
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6660
6674
|
var states33 = [];
|
|
6661
6675
|
var options30 = {};
|
|
@@ -6667,7 +6681,7 @@ var CheckboxGroup = (props) => {
|
|
|
6667
6681
|
layout = defaultProps29.layout,
|
|
6668
6682
|
...other
|
|
6669
6683
|
} = props;
|
|
6670
|
-
return /* @__PURE__ */
|
|
6684
|
+
return /* @__PURE__ */ jsx68(
|
|
6671
6685
|
"ul",
|
|
6672
6686
|
{
|
|
6673
6687
|
...other,
|
|
@@ -6688,7 +6702,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6688
6702
|
CheckboxGroup.defaultProps = defaultProps29;
|
|
6689
6703
|
|
|
6690
6704
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6691
|
-
import { jsx as
|
|
6705
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6692
6706
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6693
6707
|
var states34 = [];
|
|
6694
6708
|
var options31 = {};
|
|
@@ -6697,7 +6711,7 @@ var CheckboxItem = (props) => {
|
|
|
6697
6711
|
const {
|
|
6698
6712
|
...other
|
|
6699
6713
|
} = props;
|
|
6700
|
-
return /* @__PURE__ */
|
|
6714
|
+
return /* @__PURE__ */ jsx69(
|
|
6701
6715
|
"li",
|
|
6702
6716
|
{
|
|
6703
6717
|
...other,
|
|
@@ -6715,16 +6729,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6715
6729
|
CheckboxItem.defaultProps = defaultProps30;
|
|
6716
6730
|
|
|
6717
6731
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6718
|
-
import { Fragment as
|
|
6732
|
+
import { Fragment as Fragment23, jsx as jsx70, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6719
6733
|
|
|
6720
6734
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6721
|
-
import { Fragment as
|
|
6735
|
+
import { Fragment as Fragment24, jsx as jsx71, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6722
6736
|
|
|
6723
6737
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6724
|
-
import { jsx as
|
|
6738
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6725
6739
|
|
|
6726
6740
|
// src/list/list-item.spec.tsx
|
|
6727
|
-
import { jsx as
|
|
6741
|
+
import { jsx as jsx73, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6728
6742
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6729
6743
|
var states35 = [
|
|
6730
6744
|
States.hover,
|
|
@@ -6764,10 +6778,10 @@ var ListItem = (props) => {
|
|
|
6764
6778
|
})
|
|
6765
6779
|
),
|
|
6766
6780
|
children: [
|
|
6767
|
-
showCheckbox && /* @__PURE__ */
|
|
6768
|
-
showIcon && /* @__PURE__ */
|
|
6769
|
-
/* @__PURE__ */
|
|
6770
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
6781
|
+
showCheckbox && /* @__PURE__ */ jsx73(Checkbox, { checked }),
|
|
6782
|
+
showIcon && /* @__PURE__ */ jsx73(Icon, { icon: iconName }),
|
|
6783
|
+
/* @__PURE__ */ jsx73("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6784
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx73("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6771
6785
|
]
|
|
6772
6786
|
}
|
|
6773
6787
|
);
|
|
@@ -6778,43 +6792,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
6778
6792
|
ListItem.defaultProps = defaultProps31;
|
|
6779
6793
|
|
|
6780
6794
|
// src/list/list-content.tsx
|
|
6781
|
-
import { jsx as
|
|
6795
|
+
import { jsx as jsx74, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6782
6796
|
var className15 = `k-list-content`;
|
|
6783
6797
|
var ListContent = (props) => {
|
|
6784
6798
|
const {
|
|
6785
6799
|
virtualization
|
|
6786
6800
|
} = props;
|
|
6787
6801
|
return /* @__PURE__ */ jsxs37("div", { className: classNames(className15, props.className), children: [
|
|
6788
|
-
/* @__PURE__ */
|
|
6789
|
-
virtualization && /* @__PURE__ */
|
|
6802
|
+
/* @__PURE__ */ jsx74("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6803
|
+
virtualization && /* @__PURE__ */ jsx74("div", { className: "k-height-container", children: /* @__PURE__ */ jsx74("div", {}) })
|
|
6790
6804
|
] });
|
|
6791
6805
|
};
|
|
6792
6806
|
|
|
6793
6807
|
// src/list/list-header.tsx
|
|
6794
|
-
import { jsx as
|
|
6808
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6795
6809
|
var className16 = `k-list-group-sticky-header`;
|
|
6796
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
6810
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx75("div", { className: classNames(className16, props.className), children: /* @__PURE__ */ jsx75("div", { className: "k-list-header-text", children: props.children }) });
|
|
6797
6811
|
|
|
6798
6812
|
// src/list/list-group.tsx
|
|
6799
|
-
import { Fragment as
|
|
6813
|
+
import { Fragment as Fragment25, jsx as jsx76, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6800
6814
|
var ListGroup = (props) => {
|
|
6801
6815
|
const {
|
|
6802
6816
|
virtualization,
|
|
6803
6817
|
label
|
|
6804
6818
|
} = props;
|
|
6805
|
-
return /* @__PURE__ */ jsxs38(
|
|
6806
|
-
label && /* @__PURE__ */
|
|
6807
|
-
props.children && /* @__PURE__ */
|
|
6819
|
+
return /* @__PURE__ */ jsxs38(Fragment25, { children: [
|
|
6820
|
+
label && /* @__PURE__ */ jsx76(ListHeader, { children: label }),
|
|
6821
|
+
props.children && /* @__PURE__ */ jsx76(ListContent, { virtualization, children: props.children })
|
|
6808
6822
|
] });
|
|
6809
6823
|
};
|
|
6810
6824
|
|
|
6811
6825
|
// src/list/list-group-item.tsx
|
|
6812
|
-
import { jsx as
|
|
6826
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6813
6827
|
var className17 = `k-list-group-item`;
|
|
6814
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6828
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx77("li", { className: classNames(className17, props.className), children: /* @__PURE__ */ jsx77("span", { className: "k-list-item-text", children: props.children }) });
|
|
6815
6829
|
|
|
6816
6830
|
// src/list/list-option-label.tsx
|
|
6817
|
-
import { jsx as
|
|
6831
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6818
6832
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6819
6833
|
var states36 = [
|
|
6820
6834
|
States.hover,
|
|
@@ -6833,7 +6847,7 @@ var ListOptionLabel = (props) => {
|
|
|
6833
6847
|
disabled,
|
|
6834
6848
|
...other
|
|
6835
6849
|
} = props;
|
|
6836
|
-
return /* @__PURE__ */
|
|
6850
|
+
return /* @__PURE__ */ jsx78(
|
|
6837
6851
|
"div",
|
|
6838
6852
|
{
|
|
6839
6853
|
...other,
|
|
@@ -6856,40 +6870,40 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
6856
6870
|
ListOptionLabel.defaultProps = defaultProps32;
|
|
6857
6871
|
|
|
6858
6872
|
// src/list/templates/list-normal.tsx
|
|
6859
|
-
import { jsx as
|
|
6873
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
6860
6874
|
|
|
6861
6875
|
// src/list/templates/list-virtualization.tsx
|
|
6862
|
-
import { jsx as
|
|
6876
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6863
6877
|
|
|
6864
6878
|
// src/list/templates/list-grouping.tsx
|
|
6865
|
-
import { jsx as
|
|
6879
|
+
import { jsx as jsx81, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6866
6880
|
|
|
6867
6881
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6868
|
-
import { jsx as
|
|
6882
|
+
import { jsx as jsx82, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6869
6883
|
|
|
6870
6884
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6871
|
-
import { jsx as
|
|
6885
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
6872
6886
|
|
|
6873
6887
|
// src/list/templates/list-grouping-angular.tsx
|
|
6874
|
-
import { jsx as
|
|
6888
|
+
import { jsx as jsx84, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6875
6889
|
|
|
6876
6890
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6877
|
-
import { jsx as
|
|
6891
|
+
import { jsx as jsx85, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6878
6892
|
|
|
6879
6893
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6880
|
-
import { jsx as
|
|
6894
|
+
import { jsx as jsx86, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6881
6895
|
|
|
6882
6896
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6883
|
-
import { Fragment as
|
|
6897
|
+
import { Fragment as Fragment26, jsx as jsx87, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6884
6898
|
|
|
6885
6899
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6886
|
-
import { jsx as
|
|
6900
|
+
import { jsx as jsx88, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6887
6901
|
|
|
6888
6902
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6889
|
-
import { Fragment as
|
|
6903
|
+
import { Fragment as Fragment27, jsx as jsx89, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6890
6904
|
|
|
6891
6905
|
// src/form/form-field.tsx
|
|
6892
|
-
import { jsx as
|
|
6906
|
+
import { jsx as jsx90, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6893
6907
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6894
6908
|
var states37 = [
|
|
6895
6909
|
States.disabled
|
|
@@ -6925,14 +6939,14 @@ var FormField = (props) => {
|
|
|
6925
6939
|
"k-form-label"
|
|
6926
6940
|
), children: [
|
|
6927
6941
|
label,
|
|
6928
|
-
optional && /* @__PURE__ */
|
|
6929
|
-
info && /* @__PURE__ */
|
|
6942
|
+
optional && /* @__PURE__ */ jsx90("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6943
|
+
info && /* @__PURE__ */ jsx90("span", { className: "k-field-info", children: "(field info)" })
|
|
6930
6944
|
] }),
|
|
6931
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
6945
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx90("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6932
6946
|
/* @__PURE__ */ jsxs47("div", { className: "k-form-field-wrap", children: [
|
|
6933
6947
|
editor,
|
|
6934
|
-
hint && /* @__PURE__ */
|
|
6935
|
-
error && /* @__PURE__ */
|
|
6948
|
+
hint && /* @__PURE__ */ jsx90("div", { className: "k-form-hint", children: hint }),
|
|
6949
|
+
error && /* @__PURE__ */ jsx90("div", { className: "k-form-error", children: error })
|
|
6936
6950
|
] })
|
|
6937
6951
|
]
|
|
6938
6952
|
}
|
|
@@ -6941,7 +6955,7 @@ var FormField = (props) => {
|
|
|
6941
6955
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6942
6956
|
|
|
6943
6957
|
// src/form/fieldset.tsx
|
|
6944
|
-
import { Fragment as
|
|
6958
|
+
import { Fragment as Fragment28, jsx as jsx91, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6945
6959
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6946
6960
|
var Fieldset = (props) => {
|
|
6947
6961
|
const {
|
|
@@ -6952,8 +6966,8 @@ var Fieldset = (props) => {
|
|
|
6952
6966
|
gapY
|
|
6953
6967
|
} = props;
|
|
6954
6968
|
return /* @__PURE__ */ jsxs48("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6955
|
-
legend && /* @__PURE__ */
|
|
6956
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6969
|
+
legend && /* @__PURE__ */ jsx91("legend", { className: "k-form-legend", children: legend }),
|
|
6970
|
+
layout === "grid" ? /* @__PURE__ */ jsx91("div", { className: classNames(
|
|
6957
6971
|
"k-form-layout",
|
|
6958
6972
|
"k-d-grid",
|
|
6959
6973
|
{
|
|
@@ -6961,13 +6975,13 @@ var Fieldset = (props) => {
|
|
|
6961
6975
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6962
6976
|
[`k-gap-y-${gapY}`]: gapY
|
|
6963
6977
|
}
|
|
6964
|
-
), children: props.children }) : /* @__PURE__ */
|
|
6978
|
+
), children: props.children }) : /* @__PURE__ */ jsx91(Fragment28, { children: props.children })
|
|
6965
6979
|
] });
|
|
6966
6980
|
};
|
|
6967
6981
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6968
6982
|
|
|
6969
6983
|
// src/form/form.spec.tsx
|
|
6970
|
-
import { Fragment as
|
|
6984
|
+
import { Fragment as Fragment29, jsx as jsx92, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
6971
6985
|
import { createElement } from "react";
|
|
6972
6986
|
var FORM_CLASSNAME = "k-form";
|
|
6973
6987
|
var states38 = [];
|
|
@@ -6991,7 +7005,7 @@ var Form = (props) => {
|
|
|
6991
7005
|
tag = defaultProps33.tag,
|
|
6992
7006
|
children
|
|
6993
7007
|
} = props;
|
|
6994
|
-
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
7008
|
+
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx92("form", { className: className18, children: children2 }) : /* @__PURE__ */ jsx92("div", { className: className18, children: children2 });
|
|
6995
7009
|
const formChildren = [];
|
|
6996
7010
|
if (children) {
|
|
6997
7011
|
if (Array.isArray(children)) {
|
|
@@ -7020,7 +7034,7 @@ var Form = (props) => {
|
|
|
7020
7034
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
7021
7035
|
}
|
|
7022
7036
|
), children: [
|
|
7023
|
-
layout === "grid" ? /* @__PURE__ */
|
|
7037
|
+
layout === "grid" ? /* @__PURE__ */ jsx92("div", { className: classNames(
|
|
7024
7038
|
"k-form-layout",
|
|
7025
7039
|
"k-d-grid",
|
|
7026
7040
|
{
|
|
@@ -7028,8 +7042,8 @@ var Form = (props) => {
|
|
|
7028
7042
|
[`k-gap-x-${gapX}`]: gapX,
|
|
7029
7043
|
[`k-gap-y-${gapY}`]: gapY
|
|
7030
7044
|
}
|
|
7031
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
7032
|
-
formButtons && /* @__PURE__ */
|
|
7045
|
+
), children: formChildren }) : /* @__PURE__ */ jsx92(Fragment29, { children: formChildren }),
|
|
7046
|
+
formButtons && /* @__PURE__ */ jsx92("div", { className: "k-form-buttons", children: formButtons })
|
|
7033
7047
|
] });
|
|
7034
7048
|
};
|
|
7035
7049
|
Form.states = states38;
|
|
@@ -7038,85 +7052,85 @@ Form.className = FORM_CLASSNAME;
|
|
|
7038
7052
|
Form.defaultProps = defaultProps33;
|
|
7039
7053
|
|
|
7040
7054
|
// src/gantt/tests/gantt-editing-popup-general.tsx
|
|
7041
|
-
import { Fragment as
|
|
7055
|
+
import { Fragment as Fragment30, jsx as jsx93, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7042
7056
|
var styles = `
|
|
7043
7057
|
.k-window {
|
|
7044
7058
|
min-width: 580px;
|
|
7045
7059
|
position: relative;
|
|
7046
7060
|
}
|
|
7047
7061
|
`;
|
|
7048
|
-
var gantt_editing_popup_general_default = () => /* @__PURE__ */ jsxs50(
|
|
7049
|
-
/* @__PURE__ */
|
|
7050
|
-
/* @__PURE__ */
|
|
7051
|
-
/* @__PURE__ */
|
|
7052
|
-
/* @__PURE__ */
|
|
7053
|
-
/* @__PURE__ */
|
|
7054
|
-
/* @__PURE__ */
|
|
7062
|
+
var gantt_editing_popup_general_default = () => /* @__PURE__ */ jsxs50(Fragment30, { children: [
|
|
7063
|
+
/* @__PURE__ */ jsx93("style", { children: styles }),
|
|
7064
|
+
/* @__PURE__ */ jsx93("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ jsx93("section", { children: /* @__PURE__ */ jsx93(WindowNormal, { title: "Edit task", actionButtons: /* @__PURE__ */ jsxs50(Fragment30, { children: [
|
|
7065
|
+
/* @__PURE__ */ jsx93(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
7066
|
+
/* @__PURE__ */ jsx93(Button, { icon: "cancel", children: "Cancel" }),
|
|
7067
|
+
/* @__PURE__ */ jsx93("span", { className: "k-spacer" }),
|
|
7068
|
+
/* @__PURE__ */ jsx93(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
7055
7069
|
] }), children: /* @__PURE__ */ jsxs50("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
7056
|
-
/* @__PURE__ */
|
|
7057
|
-
/* @__PURE__ */
|
|
7058
|
-
/* @__PURE__ */
|
|
7059
|
-
/* @__PURE__ */
|
|
7060
|
-
/* @__PURE__ */
|
|
7070
|
+
/* @__PURE__ */ jsx93("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs50("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
7071
|
+
/* @__PURE__ */ jsx93("li", { className: "k-item k-first k-active", children: /* @__PURE__ */ jsx93("span", { className: "k-link", children: "General" }) }),
|
|
7072
|
+
/* @__PURE__ */ jsx93("li", { className: "k-item", children: /* @__PURE__ */ jsx93("span", { className: "k-link", children: "Resources" }) }),
|
|
7073
|
+
/* @__PURE__ */ jsx93("li", { className: "k-item", children: /* @__PURE__ */ jsx93("span", { className: "k-link", children: "Predecessors" }) }),
|
|
7074
|
+
/* @__PURE__ */ jsx93("li", { className: "k-item k-last", children: /* @__PURE__ */ jsx93("span", { className: "k-link", children: "Successors" }) })
|
|
7061
7075
|
] }) }),
|
|
7062
|
-
/* @__PURE__ */
|
|
7063
|
-
/* @__PURE__ */
|
|
7076
|
+
/* @__PURE__ */ jsx93("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs50(Form, { tag: "div", layout: "grid", cols: 4, gapX: 2, children: [
|
|
7077
|
+
/* @__PURE__ */ jsx93(
|
|
7064
7078
|
FormField,
|
|
7065
7079
|
{
|
|
7066
7080
|
colSpan: "full",
|
|
7067
7081
|
className: "k-form-field-error",
|
|
7068
7082
|
label: "Title",
|
|
7069
7083
|
error: "Error",
|
|
7070
|
-
editor: /* @__PURE__ */
|
|
7084
|
+
editor: /* @__PURE__ */ jsx93(Textbox, { invalid: true, value: "Invalid" })
|
|
7071
7085
|
}
|
|
7072
7086
|
),
|
|
7073
|
-
/* @__PURE__ */
|
|
7087
|
+
/* @__PURE__ */ jsx93(
|
|
7074
7088
|
FormField,
|
|
7075
7089
|
{
|
|
7076
7090
|
colSpan: "2",
|
|
7077
7091
|
label: "Planned Start Date",
|
|
7078
|
-
editor: /* @__PURE__ */
|
|
7092
|
+
editor: /* @__PURE__ */ jsx93(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7079
7093
|
}
|
|
7080
7094
|
),
|
|
7081
|
-
/* @__PURE__ */
|
|
7095
|
+
/* @__PURE__ */ jsx93(
|
|
7082
7096
|
FormField,
|
|
7083
7097
|
{
|
|
7084
7098
|
colSpan: "2",
|
|
7085
7099
|
label: "Planned End Date",
|
|
7086
|
-
editor: /* @__PURE__ */
|
|
7100
|
+
editor: /* @__PURE__ */ jsx93(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7087
7101
|
}
|
|
7088
7102
|
),
|
|
7089
|
-
/* @__PURE__ */
|
|
7103
|
+
/* @__PURE__ */ jsx93(
|
|
7090
7104
|
FormField,
|
|
7091
7105
|
{
|
|
7092
7106
|
colSpan: "2",
|
|
7093
7107
|
label: "Actual Start Date",
|
|
7094
|
-
editor: /* @__PURE__ */
|
|
7108
|
+
editor: /* @__PURE__ */ jsx93(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7095
7109
|
}
|
|
7096
7110
|
),
|
|
7097
|
-
/* @__PURE__ */
|
|
7111
|
+
/* @__PURE__ */ jsx93(
|
|
7098
7112
|
FormField,
|
|
7099
7113
|
{
|
|
7100
7114
|
colSpan: "2",
|
|
7101
7115
|
label: "Actual End Date",
|
|
7102
|
-
editor: /* @__PURE__ */
|
|
7116
|
+
editor: /* @__PURE__ */ jsx93(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" })
|
|
7103
7117
|
}
|
|
7104
7118
|
),
|
|
7105
|
-
/* @__PURE__ */
|
|
7119
|
+
/* @__PURE__ */ jsx93(
|
|
7106
7120
|
FormField,
|
|
7107
7121
|
{
|
|
7108
7122
|
colSpan: "1",
|
|
7109
7123
|
label: "Complete",
|
|
7110
|
-
editor: /* @__PURE__ */
|
|
7124
|
+
editor: /* @__PURE__ */ jsx93(NumericTextbox, {}),
|
|
7111
7125
|
hint: "value from 0 to 1"
|
|
7112
7126
|
}
|
|
7113
7127
|
),
|
|
7114
|
-
/* @__PURE__ */
|
|
7128
|
+
/* @__PURE__ */ jsx93(
|
|
7115
7129
|
FormField,
|
|
7116
7130
|
{
|
|
7117
7131
|
colSpan: "full",
|
|
7118
7132
|
label: "Parent",
|
|
7119
|
-
editor: /* @__PURE__ */
|
|
7133
|
+
editor: /* @__PURE__ */ jsx93(DropdownList, { placeholder: "-None-" })
|
|
7120
7134
|
}
|
|
7121
7135
|
)
|
|
7122
7136
|
] }) })
|