@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4532,8 +4532,22 @@ Window.options = options6;
|
|
|
4532
4532
|
Window.className = WINDOW_CLASSNAME;
|
|
4533
4533
|
Window.defaultProps = defaultProps6;
|
|
4534
4534
|
|
|
4535
|
-
// src/
|
|
4535
|
+
// src/window/templates/window-normal.tsx
|
|
4536
4536
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4537
|
+
var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4538
|
+
Window,
|
|
4539
|
+
{
|
|
4540
|
+
title: "Title",
|
|
4541
|
+
actions: ["window-minimize", "window", "x"],
|
|
4542
|
+
children: [
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
|
|
4544
|
+
],
|
|
4545
|
+
...props
|
|
4546
|
+
}
|
|
4547
|
+
);
|
|
4548
|
+
|
|
4549
|
+
// src/input/input.spec.tsx
|
|
4550
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4537
4551
|
var INPUT_CLASSNAME = `k-input`;
|
|
4538
4552
|
var states7 = [
|
|
4539
4553
|
States.hover,
|
|
@@ -4569,7 +4583,7 @@ var Input = (props) => {
|
|
|
4569
4583
|
fillMode = defaultProps7.fillMode,
|
|
4570
4584
|
...other
|
|
4571
4585
|
} = props;
|
|
4572
|
-
return /* @__PURE__ */ (0,
|
|
4586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
4573
4587
|
"span",
|
|
4574
4588
|
{
|
|
4575
4589
|
...other,
|
|
@@ -4588,7 +4602,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4588
4602
|
Input.defaultProps = defaultProps7;
|
|
4589
4603
|
|
|
4590
4604
|
// src/input/picker.spec.tsx
|
|
4591
|
-
var
|
|
4605
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4592
4606
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4593
4607
|
var pickerStates = [
|
|
4594
4608
|
States.hover,
|
|
@@ -4624,7 +4638,7 @@ var Picker = (props) => {
|
|
|
4624
4638
|
fillMode = defaultProps8.fillMode,
|
|
4625
4639
|
...other
|
|
4626
4640
|
} = props;
|
|
4627
|
-
return /* @__PURE__ */ (0,
|
|
4641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
4628
4642
|
"span",
|
|
4629
4643
|
{
|
|
4630
4644
|
...other,
|
|
@@ -4644,7 +4658,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4644
4658
|
Picker.defaultProps = defaultProps8;
|
|
4645
4659
|
|
|
4646
4660
|
// src/input/input-clear-value.tsx
|
|
4647
|
-
var
|
|
4661
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4648
4662
|
var className = `k-clear-value`;
|
|
4649
4663
|
var states8 = [
|
|
4650
4664
|
States.disabled,
|
|
@@ -4660,16 +4674,16 @@ var InputClearValue = (props) => {
|
|
|
4660
4674
|
value
|
|
4661
4675
|
} = props;
|
|
4662
4676
|
if (disabled || readonly || loading || !value) {
|
|
4663
|
-
return /* @__PURE__ */ (0,
|
|
4677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {});
|
|
4664
4678
|
}
|
|
4665
|
-
return /* @__PURE__ */ (0,
|
|
4679
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: "x" }) });
|
|
4666
4680
|
};
|
|
4667
4681
|
InputClearValue.states = states8;
|
|
4668
4682
|
InputClearValue.options = options8;
|
|
4669
4683
|
InputClearValue.className = className;
|
|
4670
4684
|
|
|
4671
4685
|
// src/input/input-inner-input.tsx
|
|
4672
|
-
var
|
|
4686
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4673
4687
|
var className2 = `k-input-inner`;
|
|
4674
4688
|
var states9 = [];
|
|
4675
4689
|
var options9 = {};
|
|
@@ -4687,7 +4701,7 @@ var InputInnerInput = (props) => {
|
|
|
4687
4701
|
autocomplete = defaultProps9.autocomplete,
|
|
4688
4702
|
...other
|
|
4689
4703
|
} = props;
|
|
4690
|
-
return /* @__PURE__ */ (0,
|
|
4704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4691
4705
|
"input",
|
|
4692
4706
|
{
|
|
4693
4707
|
...other,
|
|
@@ -4704,7 +4718,7 @@ InputInnerInput.options = options9;
|
|
|
4704
4718
|
InputInnerInput.className = className2;
|
|
4705
4719
|
|
|
4706
4720
|
// src/input/input-inner-span.tsx
|
|
4707
|
-
var
|
|
4721
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4708
4722
|
var className3 = `k-input-inner`;
|
|
4709
4723
|
var states10 = [];
|
|
4710
4724
|
var options10 = {};
|
|
@@ -4717,16 +4731,16 @@ var InputInnerSpan = (props) => {
|
|
|
4717
4731
|
valueIconName,
|
|
4718
4732
|
...other
|
|
4719
4733
|
} = props;
|
|
4720
|
-
return /* @__PURE__ */ (0,
|
|
4734
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
4721
4735
|
"span",
|
|
4722
4736
|
{
|
|
4723
4737
|
...other,
|
|
4724
4738
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4725
4739
|
children: [
|
|
4726
4740
|
valueIcon,
|
|
4727
|
-
!valueIcon && valueIconName && /* @__PURE__ */ (0,
|
|
4741
|
+
!valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4728
4742
|
showValue && !value && placeholder,
|
|
4729
|
-
showValue && value && /* @__PURE__ */ (0,
|
|
4743
|
+
showValue && value && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "k-input-value-text", children: value })
|
|
4730
4744
|
]
|
|
4731
4745
|
}
|
|
4732
4746
|
);
|
|
@@ -4736,7 +4750,7 @@ InputInnerSpan.options = options10;
|
|
|
4736
4750
|
InputInnerSpan.className = className3;
|
|
4737
4751
|
|
|
4738
4752
|
// src/input/input-inner-textarea.tsx
|
|
4739
|
-
var
|
|
4753
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4740
4754
|
var defaultProps10 = {
|
|
4741
4755
|
value: "",
|
|
4742
4756
|
placeholder: ""
|
|
@@ -4751,7 +4765,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4751
4765
|
rows,
|
|
4752
4766
|
...other
|
|
4753
4767
|
} = props;
|
|
4754
|
-
return /* @__PURE__ */ (0,
|
|
4768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4755
4769
|
"textarea",
|
|
4756
4770
|
{
|
|
4757
4771
|
...other,
|
|
@@ -4767,7 +4781,7 @@ InputInnerTextarea.options = options11;
|
|
|
4767
4781
|
InputInnerTextarea.className = className4;
|
|
4768
4782
|
|
|
4769
4783
|
// src/input/input-loading-icon.tsx
|
|
4770
|
-
var
|
|
4784
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4771
4785
|
var className5 = `k-input-loading-icon`;
|
|
4772
4786
|
var states12 = [
|
|
4773
4787
|
States.disabled,
|
|
@@ -4779,13 +4793,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4779
4793
|
loading
|
|
4780
4794
|
} = props;
|
|
4781
4795
|
if (disabled || !loading) {
|
|
4782
|
-
return /* @__PURE__ */ (0,
|
|
4796
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_jsx_runtime17.Fragment, {});
|
|
4783
4797
|
}
|
|
4784
|
-
return /* @__PURE__ */ (0,
|
|
4798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4785
4799
|
};
|
|
4786
4800
|
|
|
4787
4801
|
// src/input/input-validation-icon.tsx
|
|
4788
|
-
var
|
|
4802
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4789
4803
|
var className6 = `k-input-validation-icon`;
|
|
4790
4804
|
var states13 = [
|
|
4791
4805
|
States.valid,
|
|
@@ -4804,39 +4818,39 @@ var InputValidationIcon = (props) => {
|
|
|
4804
4818
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4805
4819
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4806
4820
|
if (disabled || loading || !renderValidationIcon) {
|
|
4807
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, {});
|
|
4808
4822
|
}
|
|
4809
|
-
return /* @__PURE__ */ (0,
|
|
4823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { className: classNames(className6), icon: iconName });
|
|
4810
4824
|
};
|
|
4811
4825
|
InputValidationIcon.states = states13;
|
|
4812
4826
|
InputValidationIcon.options = options12;
|
|
4813
4827
|
InputValidationIcon.className = className6;
|
|
4814
4828
|
|
|
4815
4829
|
// src/input/input-prefix.tsx
|
|
4816
|
-
var
|
|
4830
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4817
4831
|
var className7 = `k-input-prefix`;
|
|
4818
4832
|
var InputPrefix = (props) => {
|
|
4819
4833
|
if (!props.children) {
|
|
4820
|
-
return /* @__PURE__ */ (0,
|
|
4834
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
|
|
4821
4835
|
}
|
|
4822
|
-
return /* @__PURE__ */ (0,
|
|
4836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: classNames(className7, props.className), children: props.children });
|
|
4823
4837
|
};
|
|
4824
4838
|
|
|
4825
4839
|
// src/input/input-suffix.tsx
|
|
4826
|
-
var
|
|
4840
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4827
4841
|
var className8 = `k-input-suffix`;
|
|
4828
4842
|
var InputSuffix = (props) => {
|
|
4829
4843
|
if (!props.children) {
|
|
4830
|
-
return /* @__PURE__ */ (0,
|
|
4844
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {});
|
|
4831
4845
|
}
|
|
4832
|
-
return /* @__PURE__ */ (0,
|
|
4846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: classNames(className8, props.className), children: props.children });
|
|
4833
4847
|
};
|
|
4834
4848
|
|
|
4835
4849
|
// src/input/input-separator.tsx
|
|
4836
|
-
var
|
|
4850
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4837
4851
|
|
|
4838
4852
|
// src/textarea/textarea.spec.tsx
|
|
4839
|
-
var
|
|
4853
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4840
4854
|
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
4841
4855
|
var states14 = [
|
|
4842
4856
|
States.hover,
|
|
@@ -4872,7 +4886,7 @@ var Textarea = (props) => {
|
|
|
4872
4886
|
disabled,
|
|
4873
4887
|
...other
|
|
4874
4888
|
} = props;
|
|
4875
|
-
return /* @__PURE__ */ (0,
|
|
4889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4876
4890
|
Input,
|
|
4877
4891
|
{
|
|
4878
4892
|
...other,
|
|
@@ -4886,7 +4900,7 @@ var Textarea = (props) => {
|
|
|
4886
4900
|
required,
|
|
4887
4901
|
disabled,
|
|
4888
4902
|
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
4889
|
-
children: /* @__PURE__ */ (0,
|
|
4903
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4890
4904
|
InputInnerTextarea,
|
|
4891
4905
|
{
|
|
4892
4906
|
className: classNames(
|
|
@@ -4906,10 +4920,10 @@ Textarea.className = TEXTAREA_CLASSNAME;
|
|
|
4906
4920
|
Textarea.defaultProps = defaultProps11;
|
|
4907
4921
|
|
|
4908
4922
|
// src/textarea/templates/textarea-normal.tsx
|
|
4909
|
-
var
|
|
4923
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4910
4924
|
|
|
4911
4925
|
// src/textbox/textbox.spec.tsx
|
|
4912
|
-
var
|
|
4926
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4913
4927
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4914
4928
|
var states15 = [
|
|
4915
4929
|
States.hover,
|
|
@@ -4952,7 +4966,7 @@ var Textbox = (props) => {
|
|
|
4952
4966
|
showClearButton = defaultProps12.showClearButton,
|
|
4953
4967
|
...other
|
|
4954
4968
|
} = props;
|
|
4955
|
-
return /* @__PURE__ */ (0,
|
|
4969
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
4956
4970
|
Input,
|
|
4957
4971
|
{
|
|
4958
4972
|
...other,
|
|
@@ -4969,9 +4983,9 @@ var Textbox = (props) => {
|
|
|
4969
4983
|
readonly,
|
|
4970
4984
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
4971
4985
|
children: [
|
|
4972
|
-
/* @__PURE__ */ (0,
|
|
4973
|
-
/* @__PURE__ */ (0,
|
|
4974
|
-
/* @__PURE__ */ (0,
|
|
4986
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(InputPrefix, { children: prefix }),
|
|
4987
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(InputInnerInput, { placeholder, value }),
|
|
4988
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4975
4989
|
InputValidationIcon,
|
|
4976
4990
|
{
|
|
4977
4991
|
valid,
|
|
@@ -4980,14 +4994,14 @@ var Textbox = (props) => {
|
|
|
4980
4994
|
disabled
|
|
4981
4995
|
}
|
|
4982
4996
|
),
|
|
4983
|
-
/* @__PURE__ */ (0,
|
|
4997
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4984
4998
|
InputLoadingIcon,
|
|
4985
4999
|
{
|
|
4986
5000
|
loading,
|
|
4987
5001
|
disabled
|
|
4988
5002
|
}
|
|
4989
5003
|
),
|
|
4990
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
5004
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4991
5005
|
InputClearValue,
|
|
4992
5006
|
{
|
|
4993
5007
|
loading,
|
|
@@ -4996,7 +5010,7 @@ var Textbox = (props) => {
|
|
|
4996
5010
|
value
|
|
4997
5011
|
}
|
|
4998
5012
|
),
|
|
4999
|
-
/* @__PURE__ */ (0,
|
|
5013
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(InputSuffix, { children: suffix })
|
|
5000
5014
|
]
|
|
5001
5015
|
}
|
|
5002
5016
|
);
|
|
@@ -5007,16 +5021,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5007
5021
|
Textbox.defaultProps = defaultProps12;
|
|
5008
5022
|
|
|
5009
5023
|
// src/textbox/templates/textbox-normal.tsx
|
|
5010
|
-
var
|
|
5024
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
5011
5025
|
|
|
5012
5026
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5013
|
-
var
|
|
5027
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
5014
5028
|
|
|
5015
5029
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5016
|
-
var
|
|
5030
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
5017
5031
|
|
|
5018
5032
|
// src/animation-container/animation-container.spec.tsx
|
|
5019
|
-
var
|
|
5033
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5020
5034
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5021
5035
|
var states16 = [];
|
|
5022
5036
|
var options15 = {};
|
|
@@ -5030,7 +5044,7 @@ var AnimationContainer = (props) => {
|
|
|
5030
5044
|
offset,
|
|
5031
5045
|
...other
|
|
5032
5046
|
} = props;
|
|
5033
|
-
return /* @__PURE__ */ (0,
|
|
5047
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5034
5048
|
"div",
|
|
5035
5049
|
{
|
|
5036
5050
|
...other,
|
|
@@ -5042,7 +5056,7 @@ var AnimationContainer = (props) => {
|
|
|
5042
5056
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5043
5057
|
}
|
|
5044
5058
|
),
|
|
5045
|
-
children: /* @__PURE__ */ (0,
|
|
5059
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5046
5060
|
}
|
|
5047
5061
|
);
|
|
5048
5062
|
};
|
|
@@ -5052,7 +5066,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5052
5066
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5053
5067
|
|
|
5054
5068
|
// src/popup/popup.spec.tsx
|
|
5055
|
-
var
|
|
5069
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5056
5070
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5057
5071
|
var states17 = [];
|
|
5058
5072
|
var options16 = {};
|
|
@@ -5065,12 +5079,12 @@ var Popup = (props) => {
|
|
|
5065
5079
|
positionMode,
|
|
5066
5080
|
...other
|
|
5067
5081
|
} = props;
|
|
5068
|
-
return /* @__PURE__ */ (0,
|
|
5082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5069
5083
|
AnimationContainer,
|
|
5070
5084
|
{
|
|
5071
5085
|
positionMode,
|
|
5072
5086
|
offset,
|
|
5073
|
-
children: /* @__PURE__ */ (0,
|
|
5087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5074
5088
|
}
|
|
5075
5089
|
);
|
|
5076
5090
|
};
|
|
@@ -5080,7 +5094,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5080
5094
|
Popup.defaultProps = defaultProps14;
|
|
5081
5095
|
|
|
5082
5096
|
// src/calendar/calendar.spec.tsx
|
|
5083
|
-
var
|
|
5097
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5084
5098
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5085
5099
|
var states18 = [];
|
|
5086
5100
|
var options17 = {
|
|
@@ -5108,7 +5122,7 @@ var Calendar = (props) => {
|
|
|
5108
5122
|
dir,
|
|
5109
5123
|
...other
|
|
5110
5124
|
} = props;
|
|
5111
|
-
return /* @__PURE__ */ (0,
|
|
5125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5112
5126
|
"div",
|
|
5113
5127
|
{
|
|
5114
5128
|
...other,
|
|
@@ -5124,7 +5138,7 @@ var Calendar = (props) => {
|
|
|
5124
5138
|
}
|
|
5125
5139
|
),
|
|
5126
5140
|
children: [
|
|
5127
|
-
/* @__PURE__ */ (0,
|
|
5141
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5128
5142
|
CalendarHeader,
|
|
5129
5143
|
{
|
|
5130
5144
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5134,7 +5148,7 @@ var Calendar = (props) => {
|
|
|
5134
5148
|
dir
|
|
5135
5149
|
}
|
|
5136
5150
|
),
|
|
5137
|
-
/* @__PURE__ */ (0,
|
|
5151
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5138
5152
|
CalendarView,
|
|
5139
5153
|
{
|
|
5140
5154
|
calendarView,
|
|
@@ -5146,7 +5160,7 @@ var Calendar = (props) => {
|
|
|
5146
5160
|
selectedRange
|
|
5147
5161
|
}
|
|
5148
5162
|
),
|
|
5149
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
5163
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CalendarFooter, {})
|
|
5150
5164
|
]
|
|
5151
5165
|
}
|
|
5152
5166
|
);
|
|
@@ -5157,7 +5171,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5157
5171
|
Calendar.defaultProps = defaultProps15;
|
|
5158
5172
|
|
|
5159
5173
|
// src/calendar/calendar-cell.tsx
|
|
5160
|
-
var
|
|
5174
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5161
5175
|
var states19 = [
|
|
5162
5176
|
States.hover,
|
|
5163
5177
|
States.focus,
|
|
@@ -5207,16 +5221,16 @@ var CalendarCell = (props) => {
|
|
|
5207
5221
|
}
|
|
5208
5222
|
];
|
|
5209
5223
|
if (headerCell) {
|
|
5210
|
-
return /* @__PURE__ */ (0,
|
|
5224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5211
5225
|
}
|
|
5212
5226
|
if (weekCell) {
|
|
5213
|
-
return /* @__PURE__ */ (0,
|
|
5227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5214
5228
|
}
|
|
5215
|
-
return /* @__PURE__ */ (0,
|
|
5229
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "k-link", children: text }) });
|
|
5216
5230
|
};
|
|
5217
5231
|
|
|
5218
5232
|
// src/calendar/calendar-header.tsx
|
|
5219
|
-
var
|
|
5233
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5220
5234
|
var className9 = `k-calendar-header`;
|
|
5221
5235
|
var options18 = {
|
|
5222
5236
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5238,7 +5252,7 @@ var CalendarHeader = (props) => {
|
|
|
5238
5252
|
} = props;
|
|
5239
5253
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
5240
5254
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
5241
|
-
return /* @__PURE__ */ (0,
|
|
5255
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
5242
5256
|
"div",
|
|
5243
5257
|
{
|
|
5244
5258
|
...other,
|
|
@@ -5250,12 +5264,12 @@ var CalendarHeader = (props) => {
|
|
|
5250
5264
|
}
|
|
5251
5265
|
),
|
|
5252
5266
|
children: [
|
|
5253
|
-
/* @__PURE__ */ (0,
|
|
5254
|
-
/* @__PURE__ */ (0,
|
|
5255
|
-
/* @__PURE__ */ (0,
|
|
5256
|
-
/* @__PURE__ */ (0,
|
|
5257
|
-
showToday && /* @__PURE__ */ (0,
|
|
5258
|
-
/* @__PURE__ */ (0,
|
|
5267
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5268
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "k-spacer" }),
|
|
5269
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
5270
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5271
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5272
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5259
5273
|
] })
|
|
5260
5274
|
]
|
|
5261
5275
|
}
|
|
@@ -5263,12 +5277,12 @@ var CalendarHeader = (props) => {
|
|
|
5263
5277
|
};
|
|
5264
5278
|
|
|
5265
5279
|
// src/calendar/calendar-footer.tsx
|
|
5266
|
-
var
|
|
5280
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5267
5281
|
var className10 = `k-calendar-footer`;
|
|
5268
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
5282
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5269
5283
|
|
|
5270
5284
|
// src/calendar/calendar-table.tsx
|
|
5271
|
-
var
|
|
5285
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5272
5286
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5273
5287
|
var CalendarTable = (props) => {
|
|
5274
5288
|
const {
|
|
@@ -5280,7 +5294,7 @@ var CalendarTable = (props) => {
|
|
|
5280
5294
|
...other
|
|
5281
5295
|
} = props;
|
|
5282
5296
|
if (calendarView === "year") {
|
|
5283
|
-
return /* @__PURE__ */ (0,
|
|
5297
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
5284
5298
|
"table",
|
|
5285
5299
|
{
|
|
5286
5300
|
...other,
|
|
@@ -5289,25 +5303,25 @@ var CalendarTable = (props) => {
|
|
|
5289
5303
|
CALENDARTABLE_CLASSNAME
|
|
5290
5304
|
),
|
|
5291
5305
|
children: [
|
|
5292
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5293
|
-
/* @__PURE__ */ (0,
|
|
5294
|
-
/* @__PURE__ */ (0,
|
|
5295
|
-
/* @__PURE__ */ (0,
|
|
5296
|
-
/* @__PURE__ */ (0,
|
|
5297
|
-
/* @__PURE__ */ (0,
|
|
5298
|
-
/* @__PURE__ */ (0,
|
|
5306
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5307
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5308
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5309
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Jan" }),
|
|
5310
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Feb" }),
|
|
5311
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Mar" }),
|
|
5312
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Apr" })
|
|
5299
5313
|
] }),
|
|
5300
|
-
/* @__PURE__ */ (0,
|
|
5301
|
-
/* @__PURE__ */ (0,
|
|
5302
|
-
/* @__PURE__ */ (0,
|
|
5303
|
-
/* @__PURE__ */ (0,
|
|
5304
|
-
/* @__PURE__ */ (0,
|
|
5314
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5315
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "May" }),
|
|
5316
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
5317
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
5318
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
5305
5319
|
] }),
|
|
5306
|
-
/* @__PURE__ */ (0,
|
|
5307
|
-
/* @__PURE__ */ (0,
|
|
5308
|
-
/* @__PURE__ */ (0,
|
|
5309
|
-
/* @__PURE__ */ (0,
|
|
5310
|
-
/* @__PURE__ */ (0,
|
|
5320
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5321
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Sep" }),
|
|
5322
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
5323
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Nov" }),
|
|
5324
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "Dec" })
|
|
5311
5325
|
] })
|
|
5312
5326
|
] })
|
|
5313
5327
|
]
|
|
@@ -5315,7 +5329,7 @@ var CalendarTable = (props) => {
|
|
|
5315
5329
|
);
|
|
5316
5330
|
}
|
|
5317
5331
|
if (calendarView === "decade") {
|
|
5318
|
-
return /* @__PURE__ */ (0,
|
|
5332
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
5319
5333
|
"table",
|
|
5320
5334
|
{
|
|
5321
5335
|
...other,
|
|
@@ -5324,25 +5338,25 @@ var CalendarTable = (props) => {
|
|
|
5324
5338
|
CALENDARTABLE_CLASSNAME
|
|
5325
5339
|
),
|
|
5326
5340
|
children: [
|
|
5327
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5328
|
-
/* @__PURE__ */ (0,
|
|
5329
|
-
/* @__PURE__ */ (0,
|
|
5330
|
-
/* @__PURE__ */ (0,
|
|
5331
|
-
/* @__PURE__ */ (0,
|
|
5332
|
-
/* @__PURE__ */ (0,
|
|
5333
|
-
/* @__PURE__ */ (0,
|
|
5341
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5342
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5343
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5344
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
5345
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2020" }),
|
|
5346
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
5347
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2022" })
|
|
5334
5348
|
] }),
|
|
5335
|
-
/* @__PURE__ */ (0,
|
|
5336
|
-
/* @__PURE__ */ (0,
|
|
5337
|
-
/* @__PURE__ */ (0,
|
|
5338
|
-
/* @__PURE__ */ (0,
|
|
5339
|
-
/* @__PURE__ */ (0,
|
|
5349
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5350
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2023" }),
|
|
5351
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
5352
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
5353
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
5340
5354
|
] }),
|
|
5341
|
-
/* @__PURE__ */ (0,
|
|
5342
|
-
/* @__PURE__ */ (0,
|
|
5343
|
-
/* @__PURE__ */ (0,
|
|
5344
|
-
/* @__PURE__ */ (0,
|
|
5345
|
-
/* @__PURE__ */ (0,
|
|
5355
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5356
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2027" }),
|
|
5357
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2028" }),
|
|
5358
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2029" }),
|
|
5359
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5346
5360
|
] })
|
|
5347
5361
|
] })
|
|
5348
5362
|
]
|
|
@@ -5350,7 +5364,7 @@ var CalendarTable = (props) => {
|
|
|
5350
5364
|
);
|
|
5351
5365
|
}
|
|
5352
5366
|
if (calendarView === "century") {
|
|
5353
|
-
return /* @__PURE__ */ (0,
|
|
5367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
5354
5368
|
"table",
|
|
5355
5369
|
{
|
|
5356
5370
|
...other,
|
|
@@ -5359,32 +5373,32 @@ var CalendarTable = (props) => {
|
|
|
5359
5373
|
CALENDARTABLE_CLASSNAME
|
|
5360
5374
|
),
|
|
5361
5375
|
children: [
|
|
5362
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5363
|
-
/* @__PURE__ */ (0,
|
|
5364
|
-
/* @__PURE__ */ (0,
|
|
5365
|
-
/* @__PURE__ */ (0,
|
|
5366
|
-
/* @__PURE__ */ (0,
|
|
5367
|
-
/* @__PURE__ */ (0,
|
|
5368
|
-
/* @__PURE__ */ (0,
|
|
5376
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5377
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5378
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5379
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
5380
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
5381
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5382
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
5369
5383
|
] }),
|
|
5370
|
-
/* @__PURE__ */ (0,
|
|
5371
|
-
/* @__PURE__ */ (0,
|
|
5372
|
-
/* @__PURE__ */ (0,
|
|
5373
|
-
/* @__PURE__ */ (0,
|
|
5374
|
-
/* @__PURE__ */ (0,
|
|
5384
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5385
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
5386
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5387
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5388
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5375
5389
|
] }),
|
|
5376
|
-
/* @__PURE__ */ (0,
|
|
5377
|
-
/* @__PURE__ */ (0,
|
|
5378
|
-
/* @__PURE__ */ (0,
|
|
5379
|
-
/* @__PURE__ */ (0,
|
|
5380
|
-
/* @__PURE__ */ (0,
|
|
5390
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5391
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
5392
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
5393
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
5394
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5381
5395
|
] })
|
|
5382
5396
|
] })
|
|
5383
5397
|
]
|
|
5384
5398
|
}
|
|
5385
5399
|
);
|
|
5386
5400
|
}
|
|
5387
|
-
return /* @__PURE__ */ (0,
|
|
5401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
5388
5402
|
"table",
|
|
5389
5403
|
{
|
|
5390
5404
|
...other,
|
|
@@ -5393,68 +5407,68 @@ var CalendarTable = (props) => {
|
|
|
5393
5407
|
CALENDARTABLE_CLASSNAME
|
|
5394
5408
|
),
|
|
5395
5409
|
children: [
|
|
5396
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5397
|
-
/* @__PURE__ */ (0,
|
|
5398
|
-
/* @__PURE__ */ (0,
|
|
5399
|
-
/* @__PURE__ */ (0,
|
|
5400
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5401
|
-
/* @__PURE__ */ (0,
|
|
5402
|
-
/* @__PURE__ */ (0,
|
|
5403
|
-
/* @__PURE__ */ (0,
|
|
5404
|
-
/* @__PURE__ */ (0,
|
|
5405
|
-
/* @__PURE__ */ (0,
|
|
5406
|
-
/* @__PURE__ */ (0,
|
|
5407
|
-
/* @__PURE__ */ (0,
|
|
5410
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5411
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarTableHead, { showWeek }),
|
|
5412
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5413
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5414
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
5415
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5416
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "1" }),
|
|
5417
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2" }),
|
|
5418
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "3" }),
|
|
5419
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "4" }),
|
|
5420
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "5" }),
|
|
5421
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
5408
5422
|
] }),
|
|
5409
|
-
/* @__PURE__ */ (0,
|
|
5410
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5411
|
-
/* @__PURE__ */ (0,
|
|
5412
|
-
/* @__PURE__ */ (0,
|
|
5413
|
-
/* @__PURE__ */ (0,
|
|
5414
|
-
/* @__PURE__ */ (0,
|
|
5415
|
-
/* @__PURE__ */ (0,
|
|
5416
|
-
/* @__PURE__ */ (0,
|
|
5417
|
-
/* @__PURE__ */ (0,
|
|
5423
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5424
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
5425
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
5426
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
5427
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
5428
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
5429
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5430
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5431
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
5418
5432
|
] }),
|
|
5419
|
-
/* @__PURE__ */ (0,
|
|
5420
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5421
|
-
/* @__PURE__ */ (0,
|
|
5422
|
-
/* @__PURE__ */ (0,
|
|
5423
|
-
/* @__PURE__ */ (0,
|
|
5424
|
-
/* @__PURE__ */ (0,
|
|
5425
|
-
/* @__PURE__ */ (0,
|
|
5426
|
-
/* @__PURE__ */ (0,
|
|
5427
|
-
/* @__PURE__ */ (0,
|
|
5433
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5434
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
5435
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
5436
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "15" }),
|
|
5437
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "16", today: true }),
|
|
5438
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "17" }),
|
|
5439
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "18" }),
|
|
5440
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "19" }),
|
|
5441
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
5428
5442
|
] }),
|
|
5429
|
-
/* @__PURE__ */ (0,
|
|
5430
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5431
|
-
/* @__PURE__ */ (0,
|
|
5432
|
-
/* @__PURE__ */ (0,
|
|
5433
|
-
/* @__PURE__ */ (0,
|
|
5434
|
-
/* @__PURE__ */ (0,
|
|
5435
|
-
/* @__PURE__ */ (0,
|
|
5436
|
-
/* @__PURE__ */ (0,
|
|
5437
|
-
/* @__PURE__ */ (0,
|
|
5443
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5444
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
5445
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
5446
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "22" }),
|
|
5447
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "23" }),
|
|
5448
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "24" }),
|
|
5449
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5450
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5451
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5438
5452
|
] }),
|
|
5439
|
-
/* @__PURE__ */ (0,
|
|
5440
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5441
|
-
/* @__PURE__ */ (0,
|
|
5442
|
-
/* @__PURE__ */ (0,
|
|
5443
|
-
/* @__PURE__ */ (0,
|
|
5444
|
-
/* @__PURE__ */ (0,
|
|
5445
|
-
/* @__PURE__ */ (0,
|
|
5446
|
-
/* @__PURE__ */ (0,
|
|
5447
|
-
/* @__PURE__ */ (0,
|
|
5453
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5454
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
5455
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5456
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5457
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "30" }),
|
|
5458
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "31" }),
|
|
5459
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5460
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5461
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5448
5462
|
] }),
|
|
5449
|
-
/* @__PURE__ */ (0,
|
|
5450
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5451
|
-
/* @__PURE__ */ (0,
|
|
5452
|
-
/* @__PURE__ */ (0,
|
|
5453
|
-
/* @__PURE__ */ (0,
|
|
5454
|
-
/* @__PURE__ */ (0,
|
|
5455
|
-
/* @__PURE__ */ (0,
|
|
5456
|
-
/* @__PURE__ */ (0,
|
|
5457
|
-
/* @__PURE__ */ (0,
|
|
5463
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5464
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
5465
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5466
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5467
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5468
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5469
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5470
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5471
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5458
5472
|
] })
|
|
5459
5473
|
] })
|
|
5460
5474
|
]
|
|
@@ -5463,34 +5477,34 @@ var CalendarTable = (props) => {
|
|
|
5463
5477
|
};
|
|
5464
5478
|
|
|
5465
5479
|
// src/calendar/calendar-table-head.tsx
|
|
5466
|
-
var
|
|
5480
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5467
5481
|
var className11 = `k-calendar-thead`;
|
|
5468
5482
|
var CalendarTableHead = (props) => {
|
|
5469
5483
|
const {
|
|
5470
5484
|
showWeek,
|
|
5471
5485
|
...other
|
|
5472
5486
|
} = props;
|
|
5473
|
-
return /* @__PURE__ */ (0,
|
|
5487
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
5474
5488
|
"thead",
|
|
5475
5489
|
{
|
|
5476
5490
|
...other,
|
|
5477
5491
|
className: classNames(props.className, className11),
|
|
5478
|
-
children: /* @__PURE__ */ (0,
|
|
5479
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5480
|
-
/* @__PURE__ */ (0,
|
|
5481
|
-
/* @__PURE__ */ (0,
|
|
5482
|
-
/* @__PURE__ */ (0,
|
|
5483
|
-
/* @__PURE__ */ (0,
|
|
5484
|
-
/* @__PURE__ */ (0,
|
|
5485
|
-
/* @__PURE__ */ (0,
|
|
5486
|
-
/* @__PURE__ */ (0,
|
|
5492
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5493
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5494
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
5495
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5496
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5497
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
5498
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
5499
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5500
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
5487
5501
|
] })
|
|
5488
5502
|
}
|
|
5489
5503
|
);
|
|
5490
5504
|
};
|
|
5491
5505
|
|
|
5492
5506
|
// src/calendar/calendar-view.tsx
|
|
5493
|
-
var
|
|
5507
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5494
5508
|
var className12 = `k-calendar-view`;
|
|
5495
5509
|
var defaultProps17 = {
|
|
5496
5510
|
viewsCount: 1,
|
|
@@ -5508,7 +5522,7 @@ var CalendarView = (props) => {
|
|
|
5508
5522
|
selectedRange,
|
|
5509
5523
|
...other
|
|
5510
5524
|
} = props;
|
|
5511
|
-
return /* @__PURE__ */ (0,
|
|
5525
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
5512
5526
|
"div",
|
|
5513
5527
|
{
|
|
5514
5528
|
...other,
|
|
@@ -5524,7 +5538,7 @@ var CalendarView = (props) => {
|
|
|
5524
5538
|
}
|
|
5525
5539
|
),
|
|
5526
5540
|
children: [...Array(viewsCount)].map(
|
|
5527
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
5541
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
5528
5542
|
CalendarTable,
|
|
5529
5543
|
{
|
|
5530
5544
|
calendarView,
|
|
@@ -5541,7 +5555,7 @@ var CalendarView = (props) => {
|
|
|
5541
5555
|
};
|
|
5542
5556
|
|
|
5543
5557
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5544
|
-
var
|
|
5558
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5545
5559
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5546
5560
|
var states20 = [];
|
|
5547
5561
|
var options19 = {};
|
|
@@ -5564,8 +5578,8 @@ var ActionSheet = (props) => {
|
|
|
5564
5578
|
overlay = defaultProps18.overlay,
|
|
5565
5579
|
...other
|
|
5566
5580
|
} = props;
|
|
5567
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
5568
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
5581
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5582
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5569
5583
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5570
5584
|
switch (child.type) {
|
|
5571
5585
|
case ActionSheetHeader:
|
|
@@ -5575,10 +5589,10 @@ var ActionSheet = (props) => {
|
|
|
5575
5589
|
return true;
|
|
5576
5590
|
}
|
|
5577
5591
|
return true;
|
|
5578
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
5579
|
-
return /* @__PURE__ */ (0,
|
|
5580
|
-
overlay && /* @__PURE__ */ (0,
|
|
5581
|
-
/* @__PURE__ */ (0,
|
|
5592
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_jsx_runtime37.Fragment, {});
|
|
5593
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
5594
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "k-overlay" }),
|
|
5595
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5582
5596
|
AnimationContainer,
|
|
5583
5597
|
{
|
|
5584
5598
|
animationStyle: {
|
|
@@ -5588,7 +5602,7 @@ var ActionSheet = (props) => {
|
|
|
5588
5602
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5589
5603
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5590
5604
|
},
|
|
5591
|
-
children: /* @__PURE__ */ (0,
|
|
5605
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5592
5606
|
"div",
|
|
5593
5607
|
{
|
|
5594
5608
|
...other,
|
|
@@ -5601,9 +5615,9 @@ var ActionSheet = (props) => {
|
|
|
5601
5615
|
"k-adaptive-actionsheet": adaptive
|
|
5602
5616
|
}
|
|
5603
5617
|
),
|
|
5604
|
-
children: /* @__PURE__ */ (0,
|
|
5618
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
5605
5619
|
_ActionSheetHeader,
|
|
5606
|
-
/* @__PURE__ */ (0,
|
|
5620
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: classNames(
|
|
5607
5621
|
"k-actionsheet-content",
|
|
5608
5622
|
{
|
|
5609
5623
|
"!k-overflow-hidden": adaptive
|
|
@@ -5623,7 +5637,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5623
5637
|
ActionSheet.defaultProps = defaultProps18;
|
|
5624
5638
|
|
|
5625
5639
|
// src/searchbox/searchbox.spec.tsx
|
|
5626
|
-
var
|
|
5640
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5627
5641
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5628
5642
|
var states21 = [
|
|
5629
5643
|
States.hover,
|
|
@@ -5664,7 +5678,7 @@ var Searchbox = (props) => {
|
|
|
5664
5678
|
icon = defaultProps19.icon,
|
|
5665
5679
|
...other
|
|
5666
5680
|
} = props;
|
|
5667
|
-
return /* @__PURE__ */ (0,
|
|
5681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
5668
5682
|
Input,
|
|
5669
5683
|
{
|
|
5670
5684
|
...other,
|
|
@@ -5680,11 +5694,11 @@ var Searchbox = (props) => {
|
|
|
5680
5694
|
disabled,
|
|
5681
5695
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5682
5696
|
children: [
|
|
5683
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5684
|
-
/* @__PURE__ */ (0,
|
|
5685
|
-
/* @__PURE__ */ (0,
|
|
5686
|
-
/* @__PURE__ */ (0,
|
|
5687
|
-
/* @__PURE__ */ (0,
|
|
5697
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5698
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputInnerInput, { placeholder, value }),
|
|
5699
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputLoadingIcon, { ...props }),
|
|
5700
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputValidationIcon, { ...props }),
|
|
5701
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputClearValue, { ...props })
|
|
5688
5702
|
]
|
|
5689
5703
|
}
|
|
5690
5704
|
);
|
|
@@ -5695,10 +5709,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5695
5709
|
Searchbox.defaultProps = defaultProps19;
|
|
5696
5710
|
|
|
5697
5711
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5698
|
-
var
|
|
5712
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5699
5713
|
|
|
5700
5714
|
// src/action-sheet/actionsheet-header.tsx
|
|
5701
|
-
var
|
|
5715
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5702
5716
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5703
5717
|
var ActionSheetHeader = (props) => {
|
|
5704
5718
|
const {
|
|
@@ -5708,7 +5722,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5708
5722
|
filter,
|
|
5709
5723
|
...other
|
|
5710
5724
|
} = props;
|
|
5711
|
-
return /* @__PURE__ */ (0,
|
|
5725
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5712
5726
|
"div",
|
|
5713
5727
|
{
|
|
5714
5728
|
...other,
|
|
@@ -5716,30 +5730,30 @@ var ActionSheetHeader = (props) => {
|
|
|
5716
5730
|
props.className,
|
|
5717
5731
|
ACTIONSHEETHEADER_CLASSNAME
|
|
5718
5732
|
),
|
|
5719
|
-
children: /* @__PURE__ */ (0,
|
|
5720
|
-
/* @__PURE__ */ (0,
|
|
5721
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
5722
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
5723
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
5733
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
|
|
5734
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5735
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
5736
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-text-center", children: title }),
|
|
5737
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5724
5738
|
] }) }),
|
|
5725
|
-
props.children && /* @__PURE__ */ (0,
|
|
5726
|
-
actions && /* @__PURE__ */ (0,
|
|
5739
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5740
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5727
5741
|
] }),
|
|
5728
|
-
filter && /* @__PURE__ */ (0,
|
|
5742
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5729
5743
|
] })
|
|
5730
5744
|
}
|
|
5731
5745
|
);
|
|
5732
5746
|
};
|
|
5733
5747
|
|
|
5734
5748
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5735
|
-
var
|
|
5749
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5736
5750
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5737
5751
|
var ActionSheetFooter = (props) => {
|
|
5738
5752
|
const {
|
|
5739
5753
|
actions,
|
|
5740
5754
|
...other
|
|
5741
5755
|
} = props;
|
|
5742
|
-
return /* @__PURE__ */ (0,
|
|
5756
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5743
5757
|
action_buttons_spec_default,
|
|
5744
5758
|
{
|
|
5745
5759
|
...other,
|
|
@@ -5748,17 +5762,17 @@ var ActionSheetFooter = (props) => {
|
|
|
5748
5762
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
5749
5763
|
),
|
|
5750
5764
|
alignment: "stretched",
|
|
5751
|
-
children: /* @__PURE__ */ (0,
|
|
5765
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
5752
5766
|
actions && actions.map((action, index) => {
|
|
5753
5767
|
if (action === "|") {
|
|
5754
|
-
return /* @__PURE__ */ (0,
|
|
5768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-separator" }, index);
|
|
5755
5769
|
}
|
|
5756
5770
|
if (action === " ") {
|
|
5757
|
-
return /* @__PURE__ */ (0,
|
|
5771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "k-spacer" }, index);
|
|
5758
5772
|
}
|
|
5759
5773
|
const importantFlag = action.startsWith("!");
|
|
5760
5774
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5761
|
-
return /* @__PURE__ */ (0,
|
|
5775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5762
5776
|
}),
|
|
5763
5777
|
!actions && props.children
|
|
5764
5778
|
] })
|
|
@@ -5767,12 +5781,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5767
5781
|
};
|
|
5768
5782
|
|
|
5769
5783
|
// src/action-sheet/actionsheet-items.tsx
|
|
5770
|
-
var
|
|
5784
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5771
5785
|
var ActionSheetItems = (props) => {
|
|
5772
5786
|
const {
|
|
5773
5787
|
...other
|
|
5774
5788
|
} = props;
|
|
5775
|
-
return /* @__PURE__ */ (0,
|
|
5789
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
5776
5790
|
"div",
|
|
5777
5791
|
{
|
|
5778
5792
|
...other,
|
|
@@ -5786,7 +5800,7 @@ var ActionSheetItems = (props) => {
|
|
|
5786
5800
|
};
|
|
5787
5801
|
|
|
5788
5802
|
// src/action-sheet/actionsheet-item.tsx
|
|
5789
|
-
var
|
|
5803
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5790
5804
|
var states22 = [
|
|
5791
5805
|
States.hover,
|
|
5792
5806
|
States.focus,
|
|
@@ -5795,7 +5809,7 @@ var states22 = [
|
|
|
5795
5809
|
];
|
|
5796
5810
|
|
|
5797
5811
|
// src/datepicker/datepicker.spec.tsx
|
|
5798
|
-
var
|
|
5812
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5799
5813
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
5800
5814
|
var states23 = [
|
|
5801
5815
|
States.hover,
|
|
@@ -5840,8 +5854,8 @@ var DatePicker = (props) => {
|
|
|
5840
5854
|
dir,
|
|
5841
5855
|
...other
|
|
5842
5856
|
} = props;
|
|
5843
|
-
return /* @__PURE__ */ (0,
|
|
5844
|
-
/* @__PURE__ */ (0,
|
|
5857
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
5858
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
5845
5859
|
Input,
|
|
5846
5860
|
{
|
|
5847
5861
|
...other,
|
|
@@ -5859,9 +5873,9 @@ var DatePicker = (props) => {
|
|
|
5859
5873
|
readonly,
|
|
5860
5874
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
5861
5875
|
children: [
|
|
5862
|
-
/* @__PURE__ */ (0,
|
|
5863
|
-
/* @__PURE__ */ (0,
|
|
5864
|
-
/* @__PURE__ */ (0,
|
|
5876
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(InputPrefix, { children: prefix }),
|
|
5877
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(InputInnerInput, { placeholder, value }),
|
|
5878
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5865
5879
|
InputValidationIcon,
|
|
5866
5880
|
{
|
|
5867
5881
|
valid,
|
|
@@ -5870,14 +5884,14 @@ var DatePicker = (props) => {
|
|
|
5870
5884
|
disabled
|
|
5871
5885
|
}
|
|
5872
5886
|
),
|
|
5873
|
-
/* @__PURE__ */ (0,
|
|
5887
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5874
5888
|
InputLoadingIcon,
|
|
5875
5889
|
{
|
|
5876
5890
|
loading,
|
|
5877
5891
|
disabled
|
|
5878
5892
|
}
|
|
5879
5893
|
),
|
|
5880
|
-
/* @__PURE__ */ (0,
|
|
5894
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5881
5895
|
InputClearValue,
|
|
5882
5896
|
{
|
|
5883
5897
|
loading,
|
|
@@ -5886,8 +5900,8 @@ var DatePicker = (props) => {
|
|
|
5886
5900
|
value
|
|
5887
5901
|
}
|
|
5888
5902
|
),
|
|
5889
|
-
/* @__PURE__ */ (0,
|
|
5890
|
-
/* @__PURE__ */ (0,
|
|
5903
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(InputSuffix, { children: suffix }),
|
|
5904
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5891
5905
|
Button,
|
|
5892
5906
|
{
|
|
5893
5907
|
className: "k-input-button",
|
|
@@ -5900,9 +5914,9 @@ var DatePicker = (props) => {
|
|
|
5900
5914
|
]
|
|
5901
5915
|
}
|
|
5902
5916
|
),
|
|
5903
|
-
opened && /* @__PURE__ */ (0,
|
|
5904
|
-
adaptive && /* @__PURE__ */ (0,
|
|
5905
|
-
/* @__PURE__ */ (0,
|
|
5917
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Calendar, { dir }) }),
|
|
5918
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5919
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5906
5920
|
ActionSheetHeader,
|
|
5907
5921
|
{
|
|
5908
5922
|
actions: ["x"],
|
|
@@ -5910,7 +5924,7 @@ var DatePicker = (props) => {
|
|
|
5910
5924
|
subTitle: "DD / MM / YY"
|
|
5911
5925
|
}
|
|
5912
5926
|
),
|
|
5913
|
-
/* @__PURE__ */ (0,
|
|
5927
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Calendar, { size: "large" })
|
|
5914
5928
|
] })
|
|
5915
5929
|
] });
|
|
5916
5930
|
};
|
|
@@ -5920,16 +5934,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
5920
5934
|
DatePicker.defaultProps = defaultProps20;
|
|
5921
5935
|
|
|
5922
5936
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
5923
|
-
var
|
|
5937
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5924
5938
|
|
|
5925
5939
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
5926
|
-
var
|
|
5940
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5927
5941
|
|
|
5928
5942
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
5929
|
-
var
|
|
5943
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5930
5944
|
|
|
5931
5945
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5932
|
-
var
|
|
5946
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5933
5947
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5934
5948
|
var states24 = [];
|
|
5935
5949
|
var options22 = {
|
|
@@ -5946,7 +5960,7 @@ var SpinButton = (props) => {
|
|
|
5946
5960
|
fillMode = defaultProps21.fillMode,
|
|
5947
5961
|
...other
|
|
5948
5962
|
} = props;
|
|
5949
|
-
return /* @__PURE__ */ (0,
|
|
5963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
5950
5964
|
"span",
|
|
5951
5965
|
{
|
|
5952
5966
|
...other,
|
|
@@ -5955,7 +5969,7 @@ var SpinButton = (props) => {
|
|
|
5955
5969
|
props.className
|
|
5956
5970
|
),
|
|
5957
5971
|
children: [
|
|
5958
|
-
/* @__PURE__ */ (0,
|
|
5972
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5959
5973
|
Button,
|
|
5960
5974
|
{
|
|
5961
5975
|
className: "k-spinner-increase",
|
|
@@ -5965,7 +5979,7 @@ var SpinButton = (props) => {
|
|
|
5965
5979
|
fillMode
|
|
5966
5980
|
}
|
|
5967
5981
|
),
|
|
5968
|
-
/* @__PURE__ */ (0,
|
|
5982
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5969
5983
|
Button,
|
|
5970
5984
|
{
|
|
5971
5985
|
className: "k-spinner-decrease",
|
|
@@ -5985,7 +5999,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5985
5999
|
SpinButton.defaultProps = defaultProps21;
|
|
5986
6000
|
|
|
5987
6001
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5988
|
-
var
|
|
6002
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5989
6003
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5990
6004
|
var states25 = [
|
|
5991
6005
|
States.hover,
|
|
@@ -6028,7 +6042,7 @@ var NumericTextbox = (props) => {
|
|
|
6028
6042
|
showSpinButton = defaultProps22.showSpinButton,
|
|
6029
6043
|
...other
|
|
6030
6044
|
} = props;
|
|
6031
|
-
return /* @__PURE__ */ (0,
|
|
6045
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
6032
6046
|
Input,
|
|
6033
6047
|
{
|
|
6034
6048
|
...other,
|
|
@@ -6045,8 +6059,8 @@ var NumericTextbox = (props) => {
|
|
|
6045
6059
|
readonly,
|
|
6046
6060
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6047
6061
|
children: [
|
|
6048
|
-
/* @__PURE__ */ (0,
|
|
6049
|
-
/* @__PURE__ */ (0,
|
|
6062
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputInnerInput, { placeholder, value }),
|
|
6063
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6050
6064
|
InputValidationIcon,
|
|
6051
6065
|
{
|
|
6052
6066
|
valid,
|
|
@@ -6055,14 +6069,14 @@ var NumericTextbox = (props) => {
|
|
|
6055
6069
|
disabled
|
|
6056
6070
|
}
|
|
6057
6071
|
),
|
|
6058
|
-
/* @__PURE__ */ (0,
|
|
6072
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6059
6073
|
InputLoadingIcon,
|
|
6060
6074
|
{
|
|
6061
6075
|
loading,
|
|
6062
6076
|
disabled
|
|
6063
6077
|
}
|
|
6064
6078
|
),
|
|
6065
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
6079
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6066
6080
|
InputClearValue,
|
|
6067
6081
|
{
|
|
6068
6082
|
loading,
|
|
@@ -6071,7 +6085,7 @@ var NumericTextbox = (props) => {
|
|
|
6071
6085
|
value
|
|
6072
6086
|
}
|
|
6073
6087
|
),
|
|
6074
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
6088
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6075
6089
|
SpinButton,
|
|
6076
6090
|
{
|
|
6077
6091
|
className: "k-input-spinner",
|
|
@@ -6089,10 +6103,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6089
6103
|
NumericTextbox.defaultProps = defaultProps22;
|
|
6090
6104
|
|
|
6091
6105
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6092
|
-
var
|
|
6106
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6093
6107
|
|
|
6094
6108
|
// src/checkbox/checkbox.spec.tsx
|
|
6095
|
-
var
|
|
6109
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6096
6110
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6097
6111
|
var states26 = [
|
|
6098
6112
|
States.hover,
|
|
@@ -6127,7 +6141,7 @@ var Checkbox = (props) => {
|
|
|
6127
6141
|
rounded = defaultProps23.rounded,
|
|
6128
6142
|
...other
|
|
6129
6143
|
} = props;
|
|
6130
|
-
return /* @__PURE__ */ (0,
|
|
6144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6131
6145
|
"input",
|
|
6132
6146
|
{
|
|
6133
6147
|
...other,
|
|
@@ -6150,7 +6164,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
6150
6164
|
Checkbox.defaultProps = defaultProps23;
|
|
6151
6165
|
|
|
6152
6166
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6153
|
-
var
|
|
6167
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6154
6168
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6155
6169
|
var states27 = [];
|
|
6156
6170
|
var options25 = {};
|
|
@@ -6162,7 +6176,7 @@ var CheckboxGroup = (props) => {
|
|
|
6162
6176
|
layout = defaultProps24.layout,
|
|
6163
6177
|
...other
|
|
6164
6178
|
} = props;
|
|
6165
|
-
return /* @__PURE__ */ (0,
|
|
6179
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6166
6180
|
"ul",
|
|
6167
6181
|
{
|
|
6168
6182
|
...other,
|
|
@@ -6183,7 +6197,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
6183
6197
|
CheckboxGroup.defaultProps = defaultProps24;
|
|
6184
6198
|
|
|
6185
6199
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6186
|
-
var
|
|
6200
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6187
6201
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6188
6202
|
var states28 = [];
|
|
6189
6203
|
var options26 = {};
|
|
@@ -6192,7 +6206,7 @@ var CheckboxItem = (props) => {
|
|
|
6192
6206
|
const {
|
|
6193
6207
|
...other
|
|
6194
6208
|
} = props;
|
|
6195
|
-
return /* @__PURE__ */ (0,
|
|
6209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6196
6210
|
"li",
|
|
6197
6211
|
{
|
|
6198
6212
|
...other,
|
|
@@ -6210,16 +6224,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
6210
6224
|
CheckboxItem.defaultProps = defaultProps25;
|
|
6211
6225
|
|
|
6212
6226
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6213
|
-
var
|
|
6227
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6214
6228
|
|
|
6215
6229
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6216
|
-
var
|
|
6230
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6217
6231
|
|
|
6218
6232
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6219
|
-
var
|
|
6233
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6220
6234
|
|
|
6221
6235
|
// src/form/form-field.tsx
|
|
6222
|
-
var
|
|
6236
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6223
6237
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
6224
6238
|
var states29 = [
|
|
6225
6239
|
States.disabled
|
|
@@ -6237,7 +6251,7 @@ var FormField = (props) => {
|
|
|
6237
6251
|
dir,
|
|
6238
6252
|
colSpan
|
|
6239
6253
|
} = props;
|
|
6240
|
-
return /* @__PURE__ */ (0,
|
|
6254
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
6241
6255
|
"div",
|
|
6242
6256
|
{
|
|
6243
6257
|
className: classNames(
|
|
@@ -6250,19 +6264,19 @@ var FormField = (props) => {
|
|
|
6250
6264
|
),
|
|
6251
6265
|
dir,
|
|
6252
6266
|
children: [
|
|
6253
|
-
label && /* @__PURE__ */ (0,
|
|
6267
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("label", { className: classNames(
|
|
6254
6268
|
"k-label",
|
|
6255
6269
|
"k-form-label"
|
|
6256
6270
|
), children: [
|
|
6257
6271
|
label,
|
|
6258
|
-
optional && /* @__PURE__ */ (0,
|
|
6259
|
-
info && /* @__PURE__ */ (0,
|
|
6272
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
6273
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
6260
6274
|
] }),
|
|
6261
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
6262
|
-
/* @__PURE__ */ (0,
|
|
6275
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
6276
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
6263
6277
|
editor,
|
|
6264
|
-
hint && /* @__PURE__ */ (0,
|
|
6265
|
-
error && /* @__PURE__ */ (0,
|
|
6278
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
6279
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "k-form-error", children: error })
|
|
6266
6280
|
] })
|
|
6267
6281
|
]
|
|
6268
6282
|
}
|
|
@@ -6271,7 +6285,7 @@ var FormField = (props) => {
|
|
|
6271
6285
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
6272
6286
|
|
|
6273
6287
|
// src/form/fieldset.tsx
|
|
6274
|
-
var
|
|
6288
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6275
6289
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
6276
6290
|
var Fieldset = (props) => {
|
|
6277
6291
|
const {
|
|
@@ -6281,9 +6295,9 @@ var Fieldset = (props) => {
|
|
|
6281
6295
|
gapX,
|
|
6282
6296
|
gapY
|
|
6283
6297
|
} = props;
|
|
6284
|
-
return /* @__PURE__ */ (0,
|
|
6285
|
-
legend && /* @__PURE__ */ (0,
|
|
6286
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
6299
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
6300
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: classNames(
|
|
6287
6301
|
"k-form-layout",
|
|
6288
6302
|
"k-d-grid",
|
|
6289
6303
|
{
|
|
@@ -6291,13 +6305,13 @@ var Fieldset = (props) => {
|
|
|
6291
6305
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6292
6306
|
[`k-gap-y-${gapY}`]: gapY
|
|
6293
6307
|
}
|
|
6294
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
6308
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: props.children })
|
|
6295
6309
|
] });
|
|
6296
6310
|
};
|
|
6297
6311
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
6298
6312
|
|
|
6299
6313
|
// src/form/form.spec.tsx
|
|
6300
|
-
var
|
|
6314
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6301
6315
|
var import_react = require("react");
|
|
6302
6316
|
var FORM_CLASSNAME = "k-form";
|
|
6303
6317
|
var states30 = [];
|
|
@@ -6321,7 +6335,7 @@ var Form = (props) => {
|
|
|
6321
6335
|
tag = defaultProps26.tag,
|
|
6322
6336
|
children
|
|
6323
6337
|
} = props;
|
|
6324
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
6338
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("form", { className: className13, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: className13, children: children2 });
|
|
6325
6339
|
const formChildren = [];
|
|
6326
6340
|
if (children) {
|
|
6327
6341
|
if (Array.isArray(children)) {
|
|
@@ -6340,7 +6354,7 @@ var Form = (props) => {
|
|
|
6340
6354
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
6341
6355
|
}
|
|
6342
6356
|
}
|
|
6343
|
-
return /* @__PURE__ */ (0,
|
|
6357
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Parent, { tag, className: classNames(
|
|
6344
6358
|
props.className,
|
|
6345
6359
|
FORM_CLASSNAME,
|
|
6346
6360
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -6350,7 +6364,7 @@ var Form = (props) => {
|
|
|
6350
6364
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
6351
6365
|
}
|
|
6352
6366
|
), children: [
|
|
6353
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
6367
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: classNames(
|
|
6354
6368
|
"k-form-layout",
|
|
6355
6369
|
"k-d-grid",
|
|
6356
6370
|
{
|
|
@@ -6358,8 +6372,8 @@ var Form = (props) => {
|
|
|
6358
6372
|
[`k-gap-x-${gapX}`]: gapX,
|
|
6359
6373
|
[`k-gap-y-${gapY}`]: gapY
|
|
6360
6374
|
}
|
|
6361
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
6362
|
-
formButtons && /* @__PURE__ */ (0,
|
|
6375
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: formChildren }),
|
|
6376
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
6363
6377
|
] });
|
|
6364
6378
|
};
|
|
6365
6379
|
Form.states = states30;
|
|
@@ -6368,64 +6382,64 @@ Form.className = FORM_CLASSNAME;
|
|
|
6368
6382
|
Form.defaultProps = defaultProps26;
|
|
6369
6383
|
|
|
6370
6384
|
// src/gantt/tests/gantt-editing-popup-other.tsx
|
|
6371
|
-
var
|
|
6385
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6372
6386
|
var styles = `
|
|
6373
6387
|
.k-window {
|
|
6374
6388
|
min-width: 580px;
|
|
6375
6389
|
position: relative;
|
|
6376
6390
|
}
|
|
6377
6391
|
`;
|
|
6378
|
-
var gantt_editing_popup_other_default = () => /* @__PURE__ */ (0,
|
|
6379
|
-
/* @__PURE__ */ (0,
|
|
6380
|
-
/* @__PURE__ */ (0,
|
|
6381
|
-
/* @__PURE__ */ (0,
|
|
6382
|
-
/* @__PURE__ */ (0,
|
|
6383
|
-
/* @__PURE__ */ (0,
|
|
6384
|
-
/* @__PURE__ */ (0,
|
|
6385
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6386
|
-
/* @__PURE__ */ (0,
|
|
6387
|
-
/* @__PURE__ */ (0,
|
|
6388
|
-
/* @__PURE__ */ (0,
|
|
6389
|
-
/* @__PURE__ */ (0,
|
|
6390
|
-
/* @__PURE__ */ (0,
|
|
6391
|
-
/* @__PURE__ */ (0,
|
|
6392
|
+
var gantt_editing_popup_other_default = () => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
|
6393
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("style", { children: styles }),
|
|
6394
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(WindowNormal, { title: "Edit task", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
|
6395
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
6396
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { icon: "cancel", children: "Cancel" }),
|
|
6397
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-spacer" }),
|
|
6398
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
6399
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
6400
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
6401
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { className: "k-item k-first", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-link", children: "General" }) }),
|
|
6402
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-link", children: "Resources" }) }),
|
|
6403
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-link", children: "Predecessors" }) }),
|
|
6404
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-link", children: "Successors" }) }),
|
|
6405
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("li", { className: "k-item k-last k-active", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-link", children: "Other" }) })
|
|
6392
6406
|
] }) }),
|
|
6393
|
-
/* @__PURE__ */ (0,
|
|
6394
|
-
/* @__PURE__ */ (0,
|
|
6407
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(Form, { tag: "div", children: [
|
|
6408
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6395
6409
|
FormField,
|
|
6396
6410
|
{
|
|
6397
6411
|
label: "Notes",
|
|
6398
6412
|
optional: true,
|
|
6399
|
-
editor: /* @__PURE__ */ (0,
|
|
6413
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Textarea, { placeholder: "Placeholder" })
|
|
6400
6414
|
}
|
|
6401
6415
|
),
|
|
6402
|
-
/* @__PURE__ */ (0,
|
|
6416
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6403
6417
|
FormField,
|
|
6404
6418
|
{
|
|
6405
6419
|
label: "Text data field label",
|
|
6406
|
-
editor: /* @__PURE__ */ (0,
|
|
6420
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Textbox, { placeholder: "Placeholder" })
|
|
6407
6421
|
}
|
|
6408
6422
|
),
|
|
6409
|
-
/* @__PURE__ */ (0,
|
|
6423
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6410
6424
|
FormField,
|
|
6411
6425
|
{
|
|
6412
6426
|
label: "Date data field label",
|
|
6413
|
-
editor: /* @__PURE__ */ (0,
|
|
6427
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DatePicker, { placeholder: "dd/MM/yyyy" })
|
|
6414
6428
|
}
|
|
6415
6429
|
),
|
|
6416
|
-
/* @__PURE__ */ (0,
|
|
6430
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6417
6431
|
FormField,
|
|
6418
6432
|
{
|
|
6419
6433
|
label: "Numeric data field label",
|
|
6420
|
-
editor: /* @__PURE__ */ (0,
|
|
6434
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(NumericTextbox, { placeholder: "##,##" })
|
|
6421
6435
|
}
|
|
6422
6436
|
),
|
|
6423
|
-
/* @__PURE__ */ (0,
|
|
6437
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6424
6438
|
FormField,
|
|
6425
6439
|
{
|
|
6426
|
-
editor: /* @__PURE__ */ (0,
|
|
6427
|
-
/* @__PURE__ */ (0,
|
|
6428
|
-
/* @__PURE__ */ (0,
|
|
6440
|
+
editor: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
|
6441
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Checkbox, { checked: true }),
|
|
6442
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("label", { className: "k-checkbox-label", children: "Boolean data field label" })
|
|
6429
6443
|
] })
|
|
6430
6444
|
}
|
|
6431
6445
|
)
|