@progress/kendo-themes-html 7.0.2-dev.5 → 7.0.3-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -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/textarea/textarea.spec.tsx
|
|
4820
|
-
import { jsx as
|
|
4834
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4821
4835
|
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
4822
4836
|
var states14 = [
|
|
4823
4837
|
States.hover,
|
|
@@ -4853,7 +4867,7 @@ var Textarea = (props) => {
|
|
|
4853
4867
|
disabled,
|
|
4854
4868
|
...other
|
|
4855
4869
|
} = props;
|
|
4856
|
-
return /* @__PURE__ */
|
|
4870
|
+
return /* @__PURE__ */ jsx22(
|
|
4857
4871
|
Input,
|
|
4858
4872
|
{
|
|
4859
4873
|
...other,
|
|
@@ -4867,7 +4881,7 @@ var Textarea = (props) => {
|
|
|
4867
4881
|
required,
|
|
4868
4882
|
disabled,
|
|
4869
4883
|
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
4870
|
-
children: /* @__PURE__ */
|
|
4884
|
+
children: /* @__PURE__ */ jsx22(
|
|
4871
4885
|
InputInnerTextarea,
|
|
4872
4886
|
{
|
|
4873
4887
|
className: classNames(
|
|
@@ -4887,10 +4901,10 @@ Textarea.className = TEXTAREA_CLASSNAME;
|
|
|
4887
4901
|
Textarea.defaultProps = defaultProps11;
|
|
4888
4902
|
|
|
4889
4903
|
// src/textarea/templates/textarea-normal.tsx
|
|
4890
|
-
import { jsx as
|
|
4904
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4891
4905
|
|
|
4892
4906
|
// src/textbox/textbox.spec.tsx
|
|
4893
|
-
import { jsx as
|
|
4907
|
+
import { jsx as jsx24, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4894
4908
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4895
4909
|
var states15 = [
|
|
4896
4910
|
States.hover,
|
|
@@ -4950,9 +4964,9 @@ var Textbox = (props) => {
|
|
|
4950
4964
|
readonly,
|
|
4951
4965
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
4952
4966
|
children: [
|
|
4953
|
-
/* @__PURE__ */
|
|
4954
|
-
/* @__PURE__ */
|
|
4955
|
-
/* @__PURE__ */
|
|
4967
|
+
/* @__PURE__ */ jsx24(InputPrefix, { children: prefix }),
|
|
4968
|
+
/* @__PURE__ */ jsx24(InputInnerInput, { placeholder, value }),
|
|
4969
|
+
/* @__PURE__ */ jsx24(
|
|
4956
4970
|
InputValidationIcon,
|
|
4957
4971
|
{
|
|
4958
4972
|
valid,
|
|
@@ -4961,14 +4975,14 @@ var Textbox = (props) => {
|
|
|
4961
4975
|
disabled
|
|
4962
4976
|
}
|
|
4963
4977
|
),
|
|
4964
|
-
/* @__PURE__ */
|
|
4978
|
+
/* @__PURE__ */ jsx24(
|
|
4965
4979
|
InputLoadingIcon,
|
|
4966
4980
|
{
|
|
4967
4981
|
loading,
|
|
4968
4982
|
disabled
|
|
4969
4983
|
}
|
|
4970
4984
|
),
|
|
4971
|
-
showClearButton && /* @__PURE__ */
|
|
4985
|
+
showClearButton && /* @__PURE__ */ jsx24(
|
|
4972
4986
|
InputClearValue,
|
|
4973
4987
|
{
|
|
4974
4988
|
loading,
|
|
@@ -4977,7 +4991,7 @@ var Textbox = (props) => {
|
|
|
4977
4991
|
value
|
|
4978
4992
|
}
|
|
4979
4993
|
),
|
|
4980
|
-
/* @__PURE__ */
|
|
4994
|
+
/* @__PURE__ */ jsx24(InputSuffix, { children: suffix })
|
|
4981
4995
|
]
|
|
4982
4996
|
}
|
|
4983
4997
|
);
|
|
@@ -4988,16 +5002,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
4988
5002
|
Textbox.defaultProps = defaultProps12;
|
|
4989
5003
|
|
|
4990
5004
|
// src/textbox/templates/textbox-normal.tsx
|
|
4991
|
-
import { jsx as
|
|
5005
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4992
5006
|
|
|
4993
5007
|
// src/textbox/templates/textbox-prefix.tsx
|
|
4994
|
-
import { Fragment as
|
|
5008
|
+
import { Fragment as Fragment12, jsx as jsx26, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4995
5009
|
|
|
4996
5010
|
// src/textbox/templates/textbox-suffix.tsx
|
|
4997
|
-
import { Fragment as
|
|
5011
|
+
import { Fragment as Fragment13, jsx as jsx27, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4998
5012
|
|
|
4999
5013
|
// src/animation-container/animation-container.spec.tsx
|
|
5000
|
-
import { jsx as
|
|
5014
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
5001
5015
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5002
5016
|
var states16 = [];
|
|
5003
5017
|
var options15 = {};
|
|
@@ -5011,7 +5025,7 @@ var AnimationContainer = (props) => {
|
|
|
5011
5025
|
offset,
|
|
5012
5026
|
...other
|
|
5013
5027
|
} = props;
|
|
5014
|
-
return /* @__PURE__ */
|
|
5028
|
+
return /* @__PURE__ */ jsx28(
|
|
5015
5029
|
"div",
|
|
5016
5030
|
{
|
|
5017
5031
|
...other,
|
|
@@ -5023,7 +5037,7 @@ var AnimationContainer = (props) => {
|
|
|
5023
5037
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5024
5038
|
}
|
|
5025
5039
|
),
|
|
5026
|
-
children: /* @__PURE__ */
|
|
5040
|
+
children: /* @__PURE__ */ jsx28("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5027
5041
|
}
|
|
5028
5042
|
);
|
|
5029
5043
|
};
|
|
@@ -5033,7 +5047,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5033
5047
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5034
5048
|
|
|
5035
5049
|
// src/popup/popup.spec.tsx
|
|
5036
|
-
import { jsx as
|
|
5050
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5037
5051
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5038
5052
|
var states17 = [];
|
|
5039
5053
|
var options16 = {};
|
|
@@ -5046,12 +5060,12 @@ var Popup = (props) => {
|
|
|
5046
5060
|
positionMode,
|
|
5047
5061
|
...other
|
|
5048
5062
|
} = props;
|
|
5049
|
-
return /* @__PURE__ */
|
|
5063
|
+
return /* @__PURE__ */ jsx29(
|
|
5050
5064
|
AnimationContainer,
|
|
5051
5065
|
{
|
|
5052
5066
|
positionMode,
|
|
5053
5067
|
offset,
|
|
5054
|
-
children: /* @__PURE__ */
|
|
5068
|
+
children: /* @__PURE__ */ jsx29("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5055
5069
|
}
|
|
5056
5070
|
);
|
|
5057
5071
|
};
|
|
@@ -5061,7 +5075,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5061
5075
|
Popup.defaultProps = defaultProps14;
|
|
5062
5076
|
|
|
5063
5077
|
// src/calendar/calendar.spec.tsx
|
|
5064
|
-
import { jsx as
|
|
5078
|
+
import { jsx as jsx30, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5065
5079
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5066
5080
|
var states18 = [];
|
|
5067
5081
|
var options17 = {
|
|
@@ -5105,7 +5119,7 @@ var Calendar = (props) => {
|
|
|
5105
5119
|
}
|
|
5106
5120
|
),
|
|
5107
5121
|
children: [
|
|
5108
|
-
/* @__PURE__ */
|
|
5122
|
+
/* @__PURE__ */ jsx30(
|
|
5109
5123
|
CalendarHeader,
|
|
5110
5124
|
{
|
|
5111
5125
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5115,7 +5129,7 @@ var Calendar = (props) => {
|
|
|
5115
5129
|
dir
|
|
5116
5130
|
}
|
|
5117
5131
|
),
|
|
5118
|
-
/* @__PURE__ */
|
|
5132
|
+
/* @__PURE__ */ jsx30(
|
|
5119
5133
|
CalendarView,
|
|
5120
5134
|
{
|
|
5121
5135
|
calendarView,
|
|
@@ -5127,7 +5141,7 @@ var Calendar = (props) => {
|
|
|
5127
5141
|
selectedRange
|
|
5128
5142
|
}
|
|
5129
5143
|
),
|
|
5130
|
-
showCalendarFooter && /* @__PURE__ */
|
|
5144
|
+
showCalendarFooter && /* @__PURE__ */ jsx30(CalendarFooter, {})
|
|
5131
5145
|
]
|
|
5132
5146
|
}
|
|
5133
5147
|
);
|
|
@@ -5138,7 +5152,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5138
5152
|
Calendar.defaultProps = defaultProps15;
|
|
5139
5153
|
|
|
5140
5154
|
// src/calendar/calendar-cell.tsx
|
|
5141
|
-
import { jsx as
|
|
5155
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
5142
5156
|
var states19 = [
|
|
5143
5157
|
States.hover,
|
|
5144
5158
|
States.focus,
|
|
@@ -5188,16 +5202,16 @@ var CalendarCell = (props) => {
|
|
|
5188
5202
|
}
|
|
5189
5203
|
];
|
|
5190
5204
|
if (headerCell) {
|
|
5191
|
-
return /* @__PURE__ */
|
|
5205
|
+
return /* @__PURE__ */ jsx31("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5192
5206
|
}
|
|
5193
5207
|
if (weekCell) {
|
|
5194
|
-
return /* @__PURE__ */
|
|
5208
|
+
return /* @__PURE__ */ jsx31("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5195
5209
|
}
|
|
5196
|
-
return /* @__PURE__ */
|
|
5210
|
+
return /* @__PURE__ */ jsx31("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ jsx31("span", { className: "k-link", children: text }) });
|
|
5197
5211
|
};
|
|
5198
5212
|
|
|
5199
5213
|
// src/calendar/calendar-header.tsx
|
|
5200
|
-
import { jsx as
|
|
5214
|
+
import { jsx as jsx32, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5201
5215
|
var className9 = `k-calendar-header`;
|
|
5202
5216
|
var options18 = {
|
|
5203
5217
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5231,12 +5245,12 @@ var CalendarHeader = (props) => {
|
|
|
5231
5245
|
}
|
|
5232
5246
|
),
|
|
5233
5247
|
children: [
|
|
5234
|
-
/* @__PURE__ */
|
|
5235
|
-
/* @__PURE__ */
|
|
5248
|
+
/* @__PURE__ */ jsx32(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5249
|
+
/* @__PURE__ */ jsx32("span", { className: "k-spacer" }),
|
|
5236
5250
|
/* @__PURE__ */ jsxs8("span", { className: "k-calendar-nav", children: [
|
|
5237
|
-
/* @__PURE__ */
|
|
5238
|
-
showToday && /* @__PURE__ */
|
|
5239
|
-
/* @__PURE__ */
|
|
5251
|
+
/* @__PURE__ */ jsx32(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5252
|
+
showToday && /* @__PURE__ */ jsx32(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5253
|
+
/* @__PURE__ */ jsx32(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5240
5254
|
] })
|
|
5241
5255
|
]
|
|
5242
5256
|
}
|
|
@@ -5244,12 +5258,12 @@ var CalendarHeader = (props) => {
|
|
|
5244
5258
|
};
|
|
5245
5259
|
|
|
5246
5260
|
// src/calendar/calendar-footer.tsx
|
|
5247
|
-
import { jsx as
|
|
5261
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5248
5262
|
var className10 = `k-calendar-footer`;
|
|
5249
|
-
var CalendarFooter = (props) => /* @__PURE__ */
|
|
5263
|
+
var CalendarFooter = (props) => /* @__PURE__ */ jsx33("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ jsx33(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5250
5264
|
|
|
5251
5265
|
// src/calendar/calendar-table.tsx
|
|
5252
|
-
import { jsx as
|
|
5266
|
+
import { jsx as jsx34, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5253
5267
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5254
5268
|
var CalendarTable = (props) => {
|
|
5255
5269
|
const {
|
|
@@ -5270,25 +5284,25 @@ var CalendarTable = (props) => {
|
|
|
5270
5284
|
CALENDARTABLE_CLASSNAME
|
|
5271
5285
|
),
|
|
5272
5286
|
children: [
|
|
5273
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5287
|
+
showCalendarCaption && /* @__PURE__ */ jsx34("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5274
5288
|
/* @__PURE__ */ jsxs9("tbody", { className: "k-calendar-tbody", children: [
|
|
5275
5289
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5278
|
-
/* @__PURE__ */
|
|
5279
|
-
/* @__PURE__ */
|
|
5290
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Jan" }),
|
|
5291
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Feb" }),
|
|
5292
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Mar" }),
|
|
5293
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Apr" })
|
|
5280
5294
|
] }),
|
|
5281
5295
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5282
|
-
/* @__PURE__ */
|
|
5283
|
-
/* @__PURE__ */
|
|
5284
|
-
/* @__PURE__ */
|
|
5285
|
-
/* @__PURE__ */
|
|
5296
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "May" }),
|
|
5297
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Jun", hover: true }),
|
|
5298
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Jul", focus: true }),
|
|
5299
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Au", selected: true })
|
|
5286
5300
|
] }),
|
|
5287
5301
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5288
|
-
/* @__PURE__ */
|
|
5289
|
-
/* @__PURE__ */
|
|
5290
|
-
/* @__PURE__ */
|
|
5291
|
-
/* @__PURE__ */
|
|
5302
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Sep" }),
|
|
5303
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Oct", today: true }),
|
|
5304
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Nov" }),
|
|
5305
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "Dec" })
|
|
5292
5306
|
] })
|
|
5293
5307
|
] })
|
|
5294
5308
|
]
|
|
@@ -5305,25 +5319,25 @@ var CalendarTable = (props) => {
|
|
|
5305
5319
|
CALENDARTABLE_CLASSNAME
|
|
5306
5320
|
),
|
|
5307
5321
|
children: [
|
|
5308
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5322
|
+
showCalendarCaption && /* @__PURE__ */ jsx34("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5309
5323
|
/* @__PURE__ */ jsxs9("tbody", { className: "k-calendar-tbody", children: [
|
|
5310
5324
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5311
|
-
/* @__PURE__ */
|
|
5312
|
-
/* @__PURE__ */
|
|
5313
|
-
/* @__PURE__ */
|
|
5314
|
-
/* @__PURE__ */
|
|
5325
|
+
/* @__PURE__ */ jsx34(CalendarCell, { className: "k-out-of-range" }),
|
|
5326
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2020" }),
|
|
5327
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2021", today: true }),
|
|
5328
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2022" })
|
|
5315
5329
|
] }),
|
|
5316
5330
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5317
|
-
/* @__PURE__ */
|
|
5318
|
-
/* @__PURE__ */
|
|
5319
|
-
/* @__PURE__ */
|
|
5320
|
-
/* @__PURE__ */
|
|
5331
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2023" }),
|
|
5332
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2024", hover: true }),
|
|
5333
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2025", focus: true }),
|
|
5334
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2026", selected: true })
|
|
5321
5335
|
] }),
|
|
5322
5336
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5323
|
-
/* @__PURE__ */
|
|
5324
|
-
/* @__PURE__ */
|
|
5325
|
-
/* @__PURE__ */
|
|
5326
|
-
/* @__PURE__ */
|
|
5337
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2027" }),
|
|
5338
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2028" }),
|
|
5339
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2029" }),
|
|
5340
|
+
/* @__PURE__ */ jsx34(CalendarCell, { className: "k-out-of-range" })
|
|
5327
5341
|
] })
|
|
5328
5342
|
] })
|
|
5329
5343
|
]
|
|
@@ -5340,25 +5354,25 @@ var CalendarTable = (props) => {
|
|
|
5340
5354
|
CALENDARTABLE_CLASSNAME
|
|
5341
5355
|
),
|
|
5342
5356
|
children: [
|
|
5343
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5357
|
+
showCalendarCaption && /* @__PURE__ */ jsx34("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5344
5358
|
/* @__PURE__ */ jsxs9("tbody", { className: "k-calendar-tbody", children: [
|
|
5345
5359
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5346
|
-
/* @__PURE__ */
|
|
5347
|
-
/* @__PURE__ */
|
|
5348
|
-
/* @__PURE__ */
|
|
5349
|
-
/* @__PURE__ */
|
|
5360
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "1990 - 1999" }),
|
|
5361
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2000 - 2009" }),
|
|
5362
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5363
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2020 - 2029" })
|
|
5350
5364
|
] }),
|
|
5351
5365
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5352
|
-
/* @__PURE__ */
|
|
5353
|
-
/* @__PURE__ */
|
|
5354
|
-
/* @__PURE__ */
|
|
5355
|
-
/* @__PURE__ */
|
|
5366
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2030 - 2039" }),
|
|
5367
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5368
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5369
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5356
5370
|
] }),
|
|
5357
5371
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5358
|
-
/* @__PURE__ */
|
|
5359
|
-
/* @__PURE__ */
|
|
5360
|
-
/* @__PURE__ */
|
|
5361
|
-
/* @__PURE__ */
|
|
5372
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2070 - 2079" }),
|
|
5373
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2080 - 2089" }),
|
|
5374
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2090 - 2099" }),
|
|
5375
|
+
/* @__PURE__ */ jsx34(CalendarCell, { className: "k-out-of-range" })
|
|
5362
5376
|
] })
|
|
5363
5377
|
] })
|
|
5364
5378
|
]
|
|
@@ -5374,68 +5388,68 @@ var CalendarTable = (props) => {
|
|
|
5374
5388
|
CALENDARTABLE_CLASSNAME
|
|
5375
5389
|
),
|
|
5376
5390
|
children: [
|
|
5377
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5378
|
-
/* @__PURE__ */
|
|
5391
|
+
showCalendarCaption && /* @__PURE__ */ jsx34("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5392
|
+
/* @__PURE__ */ jsx34(CalendarTableHead, { showWeek }),
|
|
5379
5393
|
/* @__PURE__ */ jsxs9("tbody", { className: "k-calendar-tbody", children: [
|
|
5380
5394
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5381
|
-
showWeek && /* @__PURE__ */
|
|
5382
|
-
/* @__PURE__ */
|
|
5383
|
-
/* @__PURE__ */
|
|
5384
|
-
/* @__PURE__ */
|
|
5385
|
-
/* @__PURE__ */
|
|
5386
|
-
/* @__PURE__ */
|
|
5387
|
-
/* @__PURE__ */
|
|
5388
|
-
/* @__PURE__ */
|
|
5395
|
+
showWeek && /* @__PURE__ */ jsx34(CalendarCell, { text: "39", weekCell: true }),
|
|
5396
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5397
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "1" }),
|
|
5398
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2" }),
|
|
5399
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "3" }),
|
|
5400
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "4" }),
|
|
5401
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "5" }),
|
|
5402
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "6", weekend: true })
|
|
5389
5403
|
] }),
|
|
5390
5404
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5391
|
-
showWeek && /* @__PURE__ */
|
|
5392
|
-
/* @__PURE__ */
|
|
5393
|
-
/* @__PURE__ */
|
|
5394
|
-
/* @__PURE__ */
|
|
5395
|
-
/* @__PURE__ */
|
|
5396
|
-
/* @__PURE__ */
|
|
5397
|
-
/* @__PURE__ */
|
|
5398
|
-
/* @__PURE__ */
|
|
5405
|
+
showWeek && /* @__PURE__ */ jsx34(CalendarCell, { text: "40", weekCell: true }),
|
|
5406
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "7", weekend: true }),
|
|
5407
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "8", hover: true }),
|
|
5408
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "9", focus: true }),
|
|
5409
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "10", selected: true }),
|
|
5410
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5411
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5412
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "13", weekend: true })
|
|
5399
5413
|
] }),
|
|
5400
5414
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5401
|
-
showWeek && /* @__PURE__ */
|
|
5402
|
-
/* @__PURE__ */
|
|
5403
|
-
/* @__PURE__ */
|
|
5404
|
-
/* @__PURE__ */
|
|
5405
|
-
/* @__PURE__ */
|
|
5406
|
-
/* @__PURE__ */
|
|
5407
|
-
/* @__PURE__ */
|
|
5408
|
-
/* @__PURE__ */
|
|
5415
|
+
showWeek && /* @__PURE__ */ jsx34(CalendarCell, { text: "41", weekCell: true }),
|
|
5416
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "14", weekend: true }),
|
|
5417
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "15" }),
|
|
5418
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "16", today: true }),
|
|
5419
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "17" }),
|
|
5420
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "18" }),
|
|
5421
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "19" }),
|
|
5422
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "20", weekend: true })
|
|
5409
5423
|
] }),
|
|
5410
5424
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5411
|
-
showWeek && /* @__PURE__ */
|
|
5412
|
-
/* @__PURE__ */
|
|
5413
|
-
/* @__PURE__ */
|
|
5414
|
-
/* @__PURE__ */
|
|
5415
|
-
/* @__PURE__ */
|
|
5416
|
-
/* @__PURE__ */
|
|
5417
|
-
/* @__PURE__ */
|
|
5418
|
-
/* @__PURE__ */
|
|
5425
|
+
showWeek && /* @__PURE__ */ jsx34(CalendarCell, { text: "42", weekCell: true }),
|
|
5426
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "21", weekend: true }),
|
|
5427
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "22" }),
|
|
5428
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "23" }),
|
|
5429
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "24" }),
|
|
5430
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5431
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5432
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5419
5433
|
] }),
|
|
5420
5434
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5421
|
-
showWeek && /* @__PURE__ */
|
|
5422
|
-
/* @__PURE__ */
|
|
5423
|
-
/* @__PURE__ */
|
|
5424
|
-
/* @__PURE__ */
|
|
5425
|
-
/* @__PURE__ */
|
|
5426
|
-
/* @__PURE__ */
|
|
5427
|
-
/* @__PURE__ */
|
|
5428
|
-
/* @__PURE__ */
|
|
5435
|
+
showWeek && /* @__PURE__ */ jsx34(CalendarCell, { text: "43", weekCell: true }),
|
|
5436
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5437
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5438
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "30" }),
|
|
5439
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "31" }),
|
|
5440
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5441
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5442
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5429
5443
|
] }),
|
|
5430
5444
|
/* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5431
|
-
showWeek && /* @__PURE__ */
|
|
5432
|
-
/* @__PURE__ */
|
|
5433
|
-
/* @__PURE__ */
|
|
5434
|
-
/* @__PURE__ */
|
|
5435
|
-
/* @__PURE__ */
|
|
5436
|
-
/* @__PURE__ */
|
|
5437
|
-
/* @__PURE__ */
|
|
5438
|
-
/* @__PURE__ */
|
|
5445
|
+
showWeek && /* @__PURE__ */ jsx34(CalendarCell, { text: "44", weekCell: true }),
|
|
5446
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5447
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5448
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5449
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5450
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5451
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5452
|
+
/* @__PURE__ */ jsx34(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5439
5453
|
] })
|
|
5440
5454
|
] })
|
|
5441
5455
|
]
|
|
@@ -5444,34 +5458,34 @@ var CalendarTable = (props) => {
|
|
|
5444
5458
|
};
|
|
5445
5459
|
|
|
5446
5460
|
// src/calendar/calendar-table-head.tsx
|
|
5447
|
-
import { jsx as
|
|
5461
|
+
import { jsx as jsx35, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5448
5462
|
var className11 = `k-calendar-thead`;
|
|
5449
5463
|
var CalendarTableHead = (props) => {
|
|
5450
5464
|
const {
|
|
5451
5465
|
showWeek,
|
|
5452
5466
|
...other
|
|
5453
5467
|
} = props;
|
|
5454
|
-
return /* @__PURE__ */
|
|
5468
|
+
return /* @__PURE__ */ jsx35(
|
|
5455
5469
|
"thead",
|
|
5456
5470
|
{
|
|
5457
5471
|
...other,
|
|
5458
5472
|
className: classNames(props.className, className11),
|
|
5459
5473
|
children: /* @__PURE__ */ jsxs10("tr", { className: "k-calendar-tr", children: [
|
|
5460
|
-
showWeek && /* @__PURE__ */
|
|
5461
|
-
/* @__PURE__ */
|
|
5462
|
-
/* @__PURE__ */
|
|
5463
|
-
/* @__PURE__ */
|
|
5464
|
-
/* @__PURE__ */
|
|
5465
|
-
/* @__PURE__ */
|
|
5466
|
-
/* @__PURE__ */
|
|
5467
|
-
/* @__PURE__ */
|
|
5474
|
+
showWeek && /* @__PURE__ */ jsx35(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5475
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "Su", headerCell: true }),
|
|
5476
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5477
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5478
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "We", headerCell: true }),
|
|
5479
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "Th", headerCell: true }),
|
|
5480
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5481
|
+
/* @__PURE__ */ jsx35(CalendarCell, { text: "Sa", headerCell: true })
|
|
5468
5482
|
] })
|
|
5469
5483
|
}
|
|
5470
5484
|
);
|
|
5471
5485
|
};
|
|
5472
5486
|
|
|
5473
5487
|
// src/calendar/calendar-view.tsx
|
|
5474
|
-
import { jsx as
|
|
5488
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5475
5489
|
var className12 = `k-calendar-view`;
|
|
5476
5490
|
var defaultProps17 = {
|
|
5477
5491
|
viewsCount: 1,
|
|
@@ -5489,7 +5503,7 @@ var CalendarView = (props) => {
|
|
|
5489
5503
|
selectedRange,
|
|
5490
5504
|
...other
|
|
5491
5505
|
} = props;
|
|
5492
|
-
return /* @__PURE__ */
|
|
5506
|
+
return /* @__PURE__ */ jsx36(
|
|
5493
5507
|
"div",
|
|
5494
5508
|
{
|
|
5495
5509
|
...other,
|
|
@@ -5505,7 +5519,7 @@ var CalendarView = (props) => {
|
|
|
5505
5519
|
}
|
|
5506
5520
|
),
|
|
5507
5521
|
children: [...Array(viewsCount)].map(
|
|
5508
|
-
(_e, i) => /* @__PURE__ */
|
|
5522
|
+
(_e, i) => /* @__PURE__ */ jsx36(
|
|
5509
5523
|
CalendarTable,
|
|
5510
5524
|
{
|
|
5511
5525
|
calendarView,
|
|
@@ -5522,7 +5536,7 @@ var CalendarView = (props) => {
|
|
|
5522
5536
|
};
|
|
5523
5537
|
|
|
5524
5538
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5525
|
-
import { Fragment as
|
|
5539
|
+
import { Fragment as Fragment14, jsx as jsx37, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5526
5540
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5527
5541
|
var states20 = [];
|
|
5528
5542
|
var options19 = {};
|
|
@@ -5545,8 +5559,8 @@ var ActionSheet = (props) => {
|
|
|
5545
5559
|
overlay = defaultProps18.overlay,
|
|
5546
5560
|
...other
|
|
5547
5561
|
} = props;
|
|
5548
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
5549
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
5562
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx37(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5563
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx37(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx37(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5550
5564
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5551
5565
|
switch (child.type) {
|
|
5552
5566
|
case ActionSheetHeader:
|
|
@@ -5556,10 +5570,10 @@ var ActionSheet = (props) => {
|
|
|
5556
5570
|
return true;
|
|
5557
5571
|
}
|
|
5558
5572
|
return true;
|
|
5559
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
5573
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx37(Fragment14, {});
|
|
5560
5574
|
return /* @__PURE__ */ jsxs11("div", { className: "k-actionsheet-container", children: [
|
|
5561
|
-
overlay && /* @__PURE__ */
|
|
5562
|
-
/* @__PURE__ */
|
|
5575
|
+
overlay && /* @__PURE__ */ jsx37("div", { className: "k-overlay" }),
|
|
5576
|
+
/* @__PURE__ */ jsx37(
|
|
5563
5577
|
AnimationContainer,
|
|
5564
5578
|
{
|
|
5565
5579
|
animationStyle: {
|
|
@@ -5569,7 +5583,7 @@ var ActionSheet = (props) => {
|
|
|
5569
5583
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5570
5584
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5571
5585
|
},
|
|
5572
|
-
children: /* @__PURE__ */
|
|
5586
|
+
children: /* @__PURE__ */ jsx37(
|
|
5573
5587
|
"div",
|
|
5574
5588
|
{
|
|
5575
5589
|
...other,
|
|
@@ -5582,9 +5596,9 @@ var ActionSheet = (props) => {
|
|
|
5582
5596
|
"k-adaptive-actionsheet": adaptive
|
|
5583
5597
|
}
|
|
5584
5598
|
),
|
|
5585
|
-
children: /* @__PURE__ */ jsxs11(
|
|
5599
|
+
children: /* @__PURE__ */ jsxs11(Fragment14, { children: [
|
|
5586
5600
|
_ActionSheetHeader,
|
|
5587
|
-
/* @__PURE__ */
|
|
5601
|
+
/* @__PURE__ */ jsx37("div", { className: classNames(
|
|
5588
5602
|
"k-actionsheet-content",
|
|
5589
5603
|
{
|
|
5590
5604
|
"!k-overflow-hidden": adaptive
|
|
@@ -5604,7 +5618,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5604
5618
|
ActionSheet.defaultProps = defaultProps18;
|
|
5605
5619
|
|
|
5606
5620
|
// src/searchbox/searchbox.spec.tsx
|
|
5607
|
-
import { jsx as
|
|
5621
|
+
import { jsx as jsx38, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5608
5622
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5609
5623
|
var states21 = [
|
|
5610
5624
|
States.hover,
|
|
@@ -5661,11 +5675,11 @@ var Searchbox = (props) => {
|
|
|
5661
5675
|
disabled,
|
|
5662
5676
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5663
5677
|
children: [
|
|
5664
|
-
showIcon && /* @__PURE__ */
|
|
5665
|
-
/* @__PURE__ */
|
|
5666
|
-
/* @__PURE__ */
|
|
5667
|
-
/* @__PURE__ */
|
|
5668
|
-
/* @__PURE__ */
|
|
5678
|
+
showIcon && /* @__PURE__ */ jsx38(Icon, { className: "k-input-icon", icon }),
|
|
5679
|
+
/* @__PURE__ */ jsx38(InputInnerInput, { placeholder, value }),
|
|
5680
|
+
/* @__PURE__ */ jsx38(InputLoadingIcon, { ...props }),
|
|
5681
|
+
/* @__PURE__ */ jsx38(InputValidationIcon, { ...props }),
|
|
5682
|
+
/* @__PURE__ */ jsx38(InputClearValue, { ...props })
|
|
5669
5683
|
]
|
|
5670
5684
|
}
|
|
5671
5685
|
);
|
|
@@ -5676,10 +5690,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5676
5690
|
Searchbox.defaultProps = defaultProps19;
|
|
5677
5691
|
|
|
5678
5692
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5679
|
-
import { jsx as
|
|
5693
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5680
5694
|
|
|
5681
5695
|
// src/action-sheet/actionsheet-header.tsx
|
|
5682
|
-
import { Fragment as
|
|
5696
|
+
import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5683
5697
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5684
5698
|
var ActionSheetHeader = (props) => {
|
|
5685
5699
|
const {
|
|
@@ -5689,7 +5703,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5689
5703
|
filter,
|
|
5690
5704
|
...other
|
|
5691
5705
|
} = props;
|
|
5692
|
-
return /* @__PURE__ */
|
|
5706
|
+
return /* @__PURE__ */ jsx40(
|
|
5693
5707
|
"div",
|
|
5694
5708
|
{
|
|
5695
5709
|
...other,
|
|
@@ -5697,30 +5711,30 @@ var ActionSheetHeader = (props) => {
|
|
|
5697
5711
|
props.className,
|
|
5698
5712
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5699
5713
|
),
|
|
5700
|
-
children: /* @__PURE__ */ jsxs13(
|
|
5714
|
+
children: /* @__PURE__ */ jsxs13(Fragment15, { children: [
|
|
5701
5715
|
/* @__PURE__ */ jsxs13("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5702
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
5703
|
-
title !== "" && /* @__PURE__ */
|
|
5704
|
-
subTitle !== "" && /* @__PURE__ */
|
|
5716
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsxs13("div", { className: "k-actionsheet-title", children: [
|
|
5717
|
+
title !== "" && /* @__PURE__ */ jsx40("div", { className: "k-text-center", children: title }),
|
|
5718
|
+
subTitle !== "" && /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5705
5719
|
] }) }),
|
|
5706
|
-
props.children && /* @__PURE__ */
|
|
5707
|
-
actions && /* @__PURE__ */
|
|
5720
|
+
props.children && /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5721
|
+
actions && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx40(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5708
5722
|
] }),
|
|
5709
|
-
filter && /* @__PURE__ */
|
|
5723
|
+
filter && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx40(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5710
5724
|
] })
|
|
5711
5725
|
}
|
|
5712
5726
|
);
|
|
5713
5727
|
};
|
|
5714
5728
|
|
|
5715
5729
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5716
|
-
import { Fragment as
|
|
5730
|
+
import { Fragment as Fragment16, jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5717
5731
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5718
5732
|
var ActionSheetFooter = (props) => {
|
|
5719
5733
|
const {
|
|
5720
5734
|
actions,
|
|
5721
5735
|
...other
|
|
5722
5736
|
} = props;
|
|
5723
|
-
return /* @__PURE__ */
|
|
5737
|
+
return /* @__PURE__ */ jsx41(
|
|
5724
5738
|
action_buttons_spec_default,
|
|
5725
5739
|
{
|
|
5726
5740
|
...other,
|
|
@@ -5729,17 +5743,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5729
5743
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5730
5744
|
),
|
|
5731
5745
|
alignment: "stretched",
|
|
5732
|
-
children: /* @__PURE__ */ jsxs14(
|
|
5746
|
+
children: /* @__PURE__ */ jsxs14(Fragment16, { children: [
|
|
5733
5747
|
actions && actions.map((action, index) => {
|
|
5734
5748
|
if (action === "|") {
|
|
5735
|
-
return /* @__PURE__ */
|
|
5749
|
+
return /* @__PURE__ */ jsx41("span", { className: "k-separator" }, index);
|
|
5736
5750
|
}
|
|
5737
5751
|
if (action === " ") {
|
|
5738
|
-
return /* @__PURE__ */
|
|
5752
|
+
return /* @__PURE__ */ jsx41("span", { className: "k-spacer" }, index);
|
|
5739
5753
|
}
|
|
5740
5754
|
const importantFlag = action.startsWith("!");
|
|
5741
5755
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5742
|
-
return /* @__PURE__ */
|
|
5756
|
+
return /* @__PURE__ */ jsx41(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5743
5757
|
}),
|
|
5744
5758
|
!actions && props.children
|
|
5745
5759
|
] })
|
|
@@ -5748,12 +5762,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5748
5762
|
};
|
|
5749
5763
|
|
|
5750
5764
|
// src/action-sheet/actionsheet-items.tsx
|
|
5751
|
-
import { jsx as
|
|
5765
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5752
5766
|
var ActionSheetItems = (props) => {
|
|
5753
5767
|
const {
|
|
5754
5768
|
...other
|
|
5755
5769
|
} = props;
|
|
5756
|
-
return /* @__PURE__ */
|
|
5770
|
+
return /* @__PURE__ */ jsx42(
|
|
5757
5771
|
"div",
|
|
5758
5772
|
{
|
|
5759
5773
|
...other,
|
|
@@ -5767,7 +5781,7 @@ var ActionSheetItems = (props) => {
|
|
|
5767
5781
|
};
|
|
5768
5782
|
|
|
5769
5783
|
// src/action-sheet/actionsheet-item.tsx
|
|
5770
|
-
import { Fragment as
|
|
5784
|
+
import { Fragment as Fragment17, jsx as jsx43, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5771
5785
|
var states22 = [
|
|
5772
5786
|
States.hover,
|
|
5773
5787
|
States.focus,
|
|
@@ -5776,7 +5790,7 @@ var states22 = [
|
|
|
5776
5790
|
];
|
|
5777
5791
|
|
|
5778
5792
|
// src/datepicker/datepicker.spec.tsx
|
|
5779
|
-
import { Fragment as
|
|
5793
|
+
import { Fragment as Fragment18, jsx as jsx44, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5780
5794
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
5781
5795
|
var states23 = [
|
|
5782
5796
|
States.hover,
|
|
@@ -5821,7 +5835,7 @@ var DatePicker = (props) => {
|
|
|
5821
5835
|
dir,
|
|
5822
5836
|
...other
|
|
5823
5837
|
} = props;
|
|
5824
|
-
return /* @__PURE__ */ jsxs16(
|
|
5838
|
+
return /* @__PURE__ */ jsxs16(Fragment18, { children: [
|
|
5825
5839
|
/* @__PURE__ */ jsxs16(
|
|
5826
5840
|
Input,
|
|
5827
5841
|
{
|
|
@@ -5840,9 +5854,9 @@ var DatePicker = (props) => {
|
|
|
5840
5854
|
readonly,
|
|
5841
5855
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
5842
5856
|
children: [
|
|
5843
|
-
/* @__PURE__ */
|
|
5844
|
-
/* @__PURE__ */
|
|
5845
|
-
/* @__PURE__ */
|
|
5857
|
+
/* @__PURE__ */ jsx44(InputPrefix, { children: prefix }),
|
|
5858
|
+
/* @__PURE__ */ jsx44(InputInnerInput, { placeholder, value }),
|
|
5859
|
+
/* @__PURE__ */ jsx44(
|
|
5846
5860
|
InputValidationIcon,
|
|
5847
5861
|
{
|
|
5848
5862
|
valid,
|
|
@@ -5851,14 +5865,14 @@ var DatePicker = (props) => {
|
|
|
5851
5865
|
disabled
|
|
5852
5866
|
}
|
|
5853
5867
|
),
|
|
5854
|
-
/* @__PURE__ */
|
|
5868
|
+
/* @__PURE__ */ jsx44(
|
|
5855
5869
|
InputLoadingIcon,
|
|
5856
5870
|
{
|
|
5857
5871
|
loading,
|
|
5858
5872
|
disabled
|
|
5859
5873
|
}
|
|
5860
5874
|
),
|
|
5861
|
-
/* @__PURE__ */
|
|
5875
|
+
/* @__PURE__ */ jsx44(
|
|
5862
5876
|
InputClearValue,
|
|
5863
5877
|
{
|
|
5864
5878
|
loading,
|
|
@@ -5867,8 +5881,8 @@ var DatePicker = (props) => {
|
|
|
5867
5881
|
value
|
|
5868
5882
|
}
|
|
5869
5883
|
),
|
|
5870
|
-
/* @__PURE__ */
|
|
5871
|
-
/* @__PURE__ */
|
|
5884
|
+
/* @__PURE__ */ jsx44(InputSuffix, { children: suffix }),
|
|
5885
|
+
/* @__PURE__ */ jsx44(
|
|
5872
5886
|
Button,
|
|
5873
5887
|
{
|
|
5874
5888
|
className: "k-input-button",
|
|
@@ -5881,9 +5895,9 @@ var DatePicker = (props) => {
|
|
|
5881
5895
|
]
|
|
5882
5896
|
}
|
|
5883
5897
|
),
|
|
5884
|
-
opened && /* @__PURE__ */
|
|
5898
|
+
opened && /* @__PURE__ */ jsx44(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ jsx44(Calendar, { dir }) }),
|
|
5885
5899
|
adaptive && /* @__PURE__ */ jsxs16(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5886
|
-
/* @__PURE__ */
|
|
5900
|
+
/* @__PURE__ */ jsx44(
|
|
5887
5901
|
ActionSheetHeader,
|
|
5888
5902
|
{
|
|
5889
5903
|
actions: ["x"],
|
|
@@ -5891,7 +5905,7 @@ var DatePicker = (props) => {
|
|
|
5891
5905
|
subTitle: "DD / MM / YY"
|
|
5892
5906
|
}
|
|
5893
5907
|
),
|
|
5894
|
-
/* @__PURE__ */
|
|
5908
|
+
/* @__PURE__ */ jsx44(Calendar, { size: "large" })
|
|
5895
5909
|
] })
|
|
5896
5910
|
] });
|
|
5897
5911
|
};
|
|
@@ -5901,16 +5915,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
5901
5915
|
DatePicker.defaultProps = defaultProps20;
|
|
5902
5916
|
|
|
5903
5917
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
5904
|
-
import { jsx as
|
|
5918
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5905
5919
|
|
|
5906
5920
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
5907
|
-
import { jsx as
|
|
5921
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5908
5922
|
|
|
5909
5923
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
5910
|
-
import { jsx as
|
|
5924
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5911
5925
|
|
|
5912
5926
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5913
|
-
import { jsx as
|
|
5927
|
+
import { jsx as jsx48, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5914
5928
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5915
5929
|
var states24 = [];
|
|
5916
5930
|
var options22 = {
|
|
@@ -5936,7 +5950,7 @@ var SpinButton = (props) => {
|
|
|
5936
5950
|
props.className
|
|
5937
5951
|
),
|
|
5938
5952
|
children: [
|
|
5939
|
-
/* @__PURE__ */
|
|
5953
|
+
/* @__PURE__ */ jsx48(
|
|
5940
5954
|
Button,
|
|
5941
5955
|
{
|
|
5942
5956
|
className: "k-spinner-increase",
|
|
@@ -5946,7 +5960,7 @@ var SpinButton = (props) => {
|
|
|
5946
5960
|
fillMode
|
|
5947
5961
|
}
|
|
5948
5962
|
),
|
|
5949
|
-
/* @__PURE__ */
|
|
5963
|
+
/* @__PURE__ */ jsx48(
|
|
5950
5964
|
Button,
|
|
5951
5965
|
{
|
|
5952
5966
|
className: "k-spinner-decrease",
|
|
@@ -5966,7 +5980,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5966
5980
|
SpinButton.defaultProps = defaultProps21;
|
|
5967
5981
|
|
|
5968
5982
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5969
|
-
import { jsx as
|
|
5983
|
+
import { jsx as jsx49, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5970
5984
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5971
5985
|
var states25 = [
|
|
5972
5986
|
States.hover,
|
|
@@ -6026,8 +6040,8 @@ var NumericTextbox = (props) => {
|
|
|
6026
6040
|
readonly,
|
|
6027
6041
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6028
6042
|
children: [
|
|
6029
|
-
/* @__PURE__ */
|
|
6030
|
-
/* @__PURE__ */
|
|
6043
|
+
/* @__PURE__ */ jsx49(InputInnerInput, { placeholder, value }),
|
|
6044
|
+
/* @__PURE__ */ jsx49(
|
|
6031
6045
|
InputValidationIcon,
|
|
6032
6046
|
{
|
|
6033
6047
|
valid,
|
|
@@ -6036,14 +6050,14 @@ var NumericTextbox = (props) => {
|
|
|
6036
6050
|
disabled
|
|
6037
6051
|
}
|
|
6038
6052
|
),
|
|
6039
|
-
/* @__PURE__ */
|
|
6053
|
+
/* @__PURE__ */ jsx49(
|
|
6040
6054
|
InputLoadingIcon,
|
|
6041
6055
|
{
|
|
6042
6056
|
loading,
|
|
6043
6057
|
disabled
|
|
6044
6058
|
}
|
|
6045
6059
|
),
|
|
6046
|
-
showClearButton && /* @__PURE__ */
|
|
6060
|
+
showClearButton && /* @__PURE__ */ jsx49(
|
|
6047
6061
|
InputClearValue,
|
|
6048
6062
|
{
|
|
6049
6063
|
loading,
|
|
@@ -6052,7 +6066,7 @@ var NumericTextbox = (props) => {
|
|
|
6052
6066
|
value
|
|
6053
6067
|
}
|
|
6054
6068
|
),
|
|
6055
|
-
showSpinButton && /* @__PURE__ */
|
|
6069
|
+
showSpinButton && /* @__PURE__ */ jsx49(
|
|
6056
6070
|
SpinButton,
|
|
6057
6071
|
{
|
|
6058
6072
|
className: "k-input-spinner",
|
|
@@ -6070,10 +6084,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6070
6084
|
NumericTextbox.defaultProps = defaultProps22;
|
|
6071
6085
|
|
|
6072
6086
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6073
|
-
import { jsx as
|
|
6087
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
6074
6088
|
|
|
6075
6089
|
// src/checkbox/checkbox.spec.tsx
|
|
6076
|
-
import { jsx as
|
|
6090
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
6077
6091
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6078
6092
|
var states26 = [
|
|
6079
6093
|
States.hover,
|
|
@@ -6108,7 +6122,7 @@ var Checkbox = (props) => {
|
|
|
6108
6122
|
rounded = defaultProps23.rounded,
|
|
6109
6123
|
...other
|
|
6110
6124
|
} = props;
|
|
6111
|
-
return /* @__PURE__ */
|
|
6125
|
+
return /* @__PURE__ */ jsx51("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx51(
|
|
6112
6126
|
"input",
|
|
6113
6127
|
{
|
|
6114
6128
|
...other,
|
|
@@ -6131,7 +6145,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6131
6145
|
Checkbox.defaultProps = defaultProps23;
|
|
6132
6146
|
|
|
6133
6147
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6134
|
-
import { jsx as
|
|
6148
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
6135
6149
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6136
6150
|
var states27 = [];
|
|
6137
6151
|
var options25 = {};
|
|
@@ -6143,7 +6157,7 @@ var CheckboxGroup = (props) => {
|
|
|
6143
6157
|
layout = defaultProps24.layout,
|
|
6144
6158
|
...other
|
|
6145
6159
|
} = props;
|
|
6146
|
-
return /* @__PURE__ */
|
|
6160
|
+
return /* @__PURE__ */ jsx52(
|
|
6147
6161
|
"ul",
|
|
6148
6162
|
{
|
|
6149
6163
|
...other,
|
|
@@ -6164,7 +6178,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6164
6178
|
CheckboxGroup.defaultProps = defaultProps24;
|
|
6165
6179
|
|
|
6166
6180
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6167
|
-
import { jsx as
|
|
6181
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6168
6182
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6169
6183
|
var states28 = [];
|
|
6170
6184
|
var options26 = {};
|
|
@@ -6173,7 +6187,7 @@ var CheckboxItem = (props) => {
|
|
|
6173
6187
|
const {
|
|
6174
6188
|
...other
|
|
6175
6189
|
} = props;
|
|
6176
|
-
return /* @__PURE__ */
|
|
6190
|
+
return /* @__PURE__ */ jsx53(
|
|
6177
6191
|
"li",
|
|
6178
6192
|
{
|
|
6179
6193
|
...other,
|
|
@@ -6191,16 +6205,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6191
6205
|
CheckboxItem.defaultProps = defaultProps25;
|
|
6192
6206
|
|
|
6193
6207
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6194
|
-
import { Fragment as
|
|
6208
|
+
import { Fragment as Fragment19, jsx as jsx54, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6195
6209
|
|
|
6196
6210
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6197
|
-
import { Fragment as
|
|
6211
|
+
import { Fragment as Fragment20, jsx as jsx55, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
6198
6212
|
|
|
6199
6213
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6200
|
-
import { jsx as
|
|
6214
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6201
6215
|
|
|
6202
6216
|
// src/form/form-field.tsx
|
|
6203
|
-
import { jsx as
|
|
6217
|
+
import { jsx as jsx57, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6204
6218
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6205
6219
|
var states29 = [
|
|
6206
6220
|
States.disabled
|
|
@@ -6236,14 +6250,14 @@ var FormField = (props) => {
|
|
|
6236
6250
|
"k-form-label"
|
|
6237
6251
|
), children: [
|
|
6238
6252
|
label,
|
|
6239
|
-
optional && /* @__PURE__ */
|
|
6240
|
-
info && /* @__PURE__ */
|
|
6253
|
+
optional && /* @__PURE__ */ jsx57("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6254
|
+
info && /* @__PURE__ */ jsx57("span", { className: "k-field-info", children: "(field info)" })
|
|
6241
6255
|
] }),
|
|
6242
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
6256
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx57("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6243
6257
|
/* @__PURE__ */ jsxs21("div", { className: "k-form-field-wrap", children: [
|
|
6244
6258
|
editor,
|
|
6245
|
-
hint && /* @__PURE__ */
|
|
6246
|
-
error && /* @__PURE__ */
|
|
6259
|
+
hint && /* @__PURE__ */ jsx57("div", { className: "k-form-hint", children: hint }),
|
|
6260
|
+
error && /* @__PURE__ */ jsx57("div", { className: "k-form-error", children: error })
|
|
6247
6261
|
] })
|
|
6248
6262
|
]
|
|
6249
6263
|
}
|
|
@@ -6252,7 +6266,7 @@ var FormField = (props) => {
|
|
|
6252
6266
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6253
6267
|
|
|
6254
6268
|
// src/form/fieldset.tsx
|
|
6255
|
-
import { Fragment as
|
|
6269
|
+
import { Fragment as Fragment21, jsx as jsx58, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
6256
6270
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6257
6271
|
var Fieldset = (props) => {
|
|
6258
6272
|
const {
|
|
@@ -6263,8 +6277,8 @@ var Fieldset = (props) => {
|
|
|
6263
6277
|
gapY
|
|
6264
6278
|
} = props;
|
|
6265
6279
|
return /* @__PURE__ */ jsxs22("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6266
|
-
legend && /* @__PURE__ */
|
|
6267
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6280
|
+
legend && /* @__PURE__ */ jsx58("legend", { className: "k-form-legend", children: legend }),
|
|
6281
|
+
layout === "grid" ? /* @__PURE__ */ jsx58("div", { className: classNames(
|
|
6268
6282
|
"k-form-layout",
|
|
6269
6283
|
"k-d-grid",
|
|
6270
6284
|
{
|
|
@@ -6272,13 +6286,13 @@ var Fieldset = (props) => {
|
|
|
6272
6286
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6273
6287
|
[`k-gap-y-${gapY}`]: gapY
|
|
6274
6288
|
}
|
|
6275
|
-
), children: props.children }) : /* @__PURE__ */
|
|
6289
|
+
), children: props.children }) : /* @__PURE__ */ jsx58(Fragment21, { children: props.children })
|
|
6276
6290
|
] });
|
|
6277
6291
|
};
|
|
6278
6292
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6279
6293
|
|
|
6280
6294
|
// src/form/form.spec.tsx
|
|
6281
|
-
import { Fragment as
|
|
6295
|
+
import { Fragment as Fragment22, jsx as jsx59, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
6282
6296
|
import { createElement } from "react";
|
|
6283
6297
|
var FORM_CLASSNAME = "k-form";
|
|
6284
6298
|
var states30 = [];
|
|
@@ -6302,7 +6316,7 @@ var Form = (props) => {
|
|
|
6302
6316
|
tag = defaultProps26.tag,
|
|
6303
6317
|
children
|
|
6304
6318
|
} = props;
|
|
6305
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
6319
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx59("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx59("div", { className: className13, children: children2 });
|
|
6306
6320
|
const formChildren = [];
|
|
6307
6321
|
if (children) {
|
|
6308
6322
|
if (Array.isArray(children)) {
|
|
@@ -6331,7 +6345,7 @@ var Form = (props) => {
|
|
|
6331
6345
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6332
6346
|
}
|
|
6333
6347
|
), children: [
|
|
6334
|
-
layout === "grid" ? /* @__PURE__ */
|
|
6348
|
+
layout === "grid" ? /* @__PURE__ */ jsx59("div", { className: classNames(
|
|
6335
6349
|
"k-form-layout",
|
|
6336
6350
|
"k-d-grid",
|
|
6337
6351
|
{
|
|
@@ -6339,8 +6353,8 @@ var Form = (props) => {
|
|
|
6339
6353
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6340
6354
|
[`k-gap-y-${gapY}`]: gapY
|
|
6341
6355
|
}
|
|
6342
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
6343
|
-
formButtons && /* @__PURE__ */
|
|
6356
|
+
), children: formChildren }) : /* @__PURE__ */ jsx59(Fragment22, { children: formChildren }),
|
|
6357
|
+
formButtons && /* @__PURE__ */ jsx59("div", { className: "k-form-buttons", children: formButtons })
|
|
6344
6358
|
] });
|
|
6345
6359
|
};
|
|
6346
6360
|
Form.states = states30;
|
|
@@ -6349,64 +6363,64 @@ Form.className = FORM_CLASSNAME;
|
|
|
6349
6363
|
Form.defaultProps = defaultProps26;
|
|
6350
6364
|
|
|
6351
6365
|
// src/gantt/tests/gantt-editing-popup-other.tsx
|
|
6352
|
-
import { Fragment as
|
|
6366
|
+
import { Fragment as Fragment23, jsx as jsx60, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6353
6367
|
var styles = `
|
|
6354
6368
|
.k-window {
|
|
6355
6369
|
min-width: 580px;
|
|
6356
6370
|
position: relative;
|
|
6357
6371
|
}
|
|
6358
6372
|
`;
|
|
6359
|
-
var gantt_editing_popup_other_default = () => /* @__PURE__ */ jsxs24(
|
|
6360
|
-
/* @__PURE__ */
|
|
6361
|
-
/* @__PURE__ */
|
|
6362
|
-
/* @__PURE__ */
|
|
6363
|
-
/* @__PURE__ */
|
|
6364
|
-
/* @__PURE__ */
|
|
6365
|
-
/* @__PURE__ */
|
|
6373
|
+
var gantt_editing_popup_other_default = () => /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
6374
|
+
/* @__PURE__ */ jsx60("style", { children: styles }),
|
|
6375
|
+
/* @__PURE__ */ jsx60("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ jsx60("section", { children: /* @__PURE__ */ jsx60(WindowNormal, { title: "Edit task", actionButtons: /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
6376
|
+
/* @__PURE__ */ jsx60(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
6377
|
+
/* @__PURE__ */ jsx60(Button, { icon: "cancel", children: "Cancel" }),
|
|
6378
|
+
/* @__PURE__ */ jsx60("span", { className: "k-spacer" }),
|
|
6379
|
+
/* @__PURE__ */ jsx60(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
6366
6380
|
] }), children: /* @__PURE__ */ jsxs24("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
6367
|
-
/* @__PURE__ */
|
|
6368
|
-
/* @__PURE__ */
|
|
6369
|
-
/* @__PURE__ */
|
|
6370
|
-
/* @__PURE__ */
|
|
6371
|
-
/* @__PURE__ */
|
|
6372
|
-
/* @__PURE__ */
|
|
6381
|
+
/* @__PURE__ */ jsx60("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs24("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
6382
|
+
/* @__PURE__ */ jsx60("li", { className: "k-item k-first", children: /* @__PURE__ */ jsx60("span", { className: "k-link", children: "General" }) }),
|
|
6383
|
+
/* @__PURE__ */ jsx60("li", { className: "k-item", children: /* @__PURE__ */ jsx60("span", { className: "k-link", children: "Resources" }) }),
|
|
6384
|
+
/* @__PURE__ */ jsx60("li", { className: "k-item", children: /* @__PURE__ */ jsx60("span", { className: "k-link", children: "Predecessors" }) }),
|
|
6385
|
+
/* @__PURE__ */ jsx60("li", { className: "k-item", children: /* @__PURE__ */ jsx60("span", { className: "k-link", children: "Successors" }) }),
|
|
6386
|
+
/* @__PURE__ */ jsx60("li", { className: "k-item k-last k-active", children: /* @__PURE__ */ jsx60("span", { className: "k-link", children: "Other" }) })
|
|
6373
6387
|
] }) }),
|
|
6374
|
-
/* @__PURE__ */
|
|
6375
|
-
/* @__PURE__ */
|
|
6388
|
+
/* @__PURE__ */ jsx60("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs24(Form, { tag: "div", children: [
|
|
6389
|
+
/* @__PURE__ */ jsx60(
|
|
6376
6390
|
FormField,
|
|
6377
6391
|
{
|
|
6378
6392
|
label: "Notes",
|
|
6379
6393
|
optional: true,
|
|
6380
|
-
editor: /* @__PURE__ */
|
|
6394
|
+
editor: /* @__PURE__ */ jsx60(Textarea, { placeholder: "Placeholder" })
|
|
6381
6395
|
}
|
|
6382
6396
|
),
|
|
6383
|
-
/* @__PURE__ */
|
|
6397
|
+
/* @__PURE__ */ jsx60(
|
|
6384
6398
|
FormField,
|
|
6385
6399
|
{
|
|
6386
6400
|
label: "Text data field label",
|
|
6387
|
-
editor: /* @__PURE__ */
|
|
6401
|
+
editor: /* @__PURE__ */ jsx60(Textbox, { placeholder: "Placeholder" })
|
|
6388
6402
|
}
|
|
6389
6403
|
),
|
|
6390
|
-
/* @__PURE__ */
|
|
6404
|
+
/* @__PURE__ */ jsx60(
|
|
6391
6405
|
FormField,
|
|
6392
6406
|
{
|
|
6393
6407
|
label: "Date data field label",
|
|
6394
|
-
editor: /* @__PURE__ */
|
|
6408
|
+
editor: /* @__PURE__ */ jsx60(DatePicker, { placeholder: "dd/MM/yyyy" })
|
|
6395
6409
|
}
|
|
6396
6410
|
),
|
|
6397
|
-
/* @__PURE__ */
|
|
6411
|
+
/* @__PURE__ */ jsx60(
|
|
6398
6412
|
FormField,
|
|
6399
6413
|
{
|
|
6400
6414
|
label: "Numeric data field label",
|
|
6401
|
-
editor: /* @__PURE__ */
|
|
6415
|
+
editor: /* @__PURE__ */ jsx60(NumericTextbox, { placeholder: "##,##" })
|
|
6402
6416
|
}
|
|
6403
6417
|
),
|
|
6404
|
-
/* @__PURE__ */
|
|
6418
|
+
/* @__PURE__ */ jsx60(
|
|
6405
6419
|
FormField,
|
|
6406
6420
|
{
|
|
6407
|
-
editor: /* @__PURE__ */ jsxs24(
|
|
6408
|
-
/* @__PURE__ */
|
|
6409
|
-
/* @__PURE__ */
|
|
6421
|
+
editor: /* @__PURE__ */ jsxs24(Fragment23, { children: [
|
|
6422
|
+
/* @__PURE__ */ jsx60(Checkbox, { checked: true }),
|
|
6423
|
+
/* @__PURE__ */ jsx60("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
6410
6424
|
] })
|
|
6411
6425
|
}
|
|
6412
6426
|
)
|