@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4532,8 +4532,22 @@ Window.options = options6;
|
|
|
4532
4532
|
Window.className = WINDOW_CLASSNAME;
|
|
4533
4533
|
Window.defaultProps = defaultProps6;
|
|
4534
4534
|
|
|
4535
|
-
// src/
|
|
4535
|
+
// src/window/templates/window-normal.tsx
|
|
4536
4536
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4537
|
+
var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4538
|
+
Window,
|
|
4539
|
+
{
|
|
4540
|
+
title: "Title",
|
|
4541
|
+
actions: ["window-minimize", "window", "x"],
|
|
4542
|
+
children: [
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
|
|
4544
|
+
],
|
|
4545
|
+
...props
|
|
4546
|
+
}
|
|
4547
|
+
);
|
|
4548
|
+
|
|
4549
|
+
// src/checkbox/checkbox.spec.tsx
|
|
4550
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4537
4551
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
4538
4552
|
var states7 = [
|
|
4539
4553
|
States.hover,
|
|
@@ -4568,7 +4582,7 @@ var Checkbox = (props) => {
|
|
|
4568
4582
|
rounded = defaultProps7.rounded,
|
|
4569
4583
|
...other
|
|
4570
4584
|
} = props;
|
|
4571
|
-
return /* @__PURE__ */ (0,
|
|
4585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
4572
4586
|
"input",
|
|
4573
4587
|
{
|
|
4574
4588
|
...other,
|
|
@@ -4591,7 +4605,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
4591
4605
|
Checkbox.defaultProps = defaultProps7;
|
|
4592
4606
|
|
|
4593
4607
|
// src/checkbox/checkbox-group.spec.tsx
|
|
4594
|
-
var
|
|
4608
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4595
4609
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
4596
4610
|
var states8 = [];
|
|
4597
4611
|
var options8 = {};
|
|
@@ -4603,7 +4617,7 @@ var CheckboxGroup = (props) => {
|
|
|
4603
4617
|
layout = defaultProps8.layout,
|
|
4604
4618
|
...other
|
|
4605
4619
|
} = props;
|
|
4606
|
-
return /* @__PURE__ */ (0,
|
|
4620
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
4607
4621
|
"ul",
|
|
4608
4622
|
{
|
|
4609
4623
|
...other,
|
|
@@ -4624,7 +4638,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
4624
4638
|
CheckboxGroup.defaultProps = defaultProps8;
|
|
4625
4639
|
|
|
4626
4640
|
// src/checkbox/checkbox-item.spec.tsx
|
|
4627
|
-
var
|
|
4641
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4628
4642
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
4629
4643
|
var states9 = [];
|
|
4630
4644
|
var options9 = {};
|
|
@@ -4633,7 +4647,7 @@ var CheckboxItem = (props) => {
|
|
|
4633
4647
|
const {
|
|
4634
4648
|
...other
|
|
4635
4649
|
} = props;
|
|
4636
|
-
return /* @__PURE__ */ (0,
|
|
4650
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
4637
4651
|
"li",
|
|
4638
4652
|
{
|
|
4639
4653
|
...other,
|
|
@@ -4651,16 +4665,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
4651
4665
|
CheckboxItem.defaultProps = defaultProps9;
|
|
4652
4666
|
|
|
4653
4667
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
4654
|
-
var
|
|
4668
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4655
4669
|
|
|
4656
4670
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
4657
|
-
var
|
|
4671
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4658
4672
|
|
|
4659
4673
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
4660
|
-
var
|
|
4674
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4661
4675
|
|
|
4662
4676
|
// src/input/input.spec.tsx
|
|
4663
|
-
var
|
|
4677
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4664
4678
|
var INPUT_CLASSNAME = `k-input`;
|
|
4665
4679
|
var states10 = [
|
|
4666
4680
|
States.hover,
|
|
@@ -4696,7 +4710,7 @@ var Input = (props) => {
|
|
|
4696
4710
|
fillMode = defaultProps10.fillMode,
|
|
4697
4711
|
...other
|
|
4698
4712
|
} = props;
|
|
4699
|
-
return /* @__PURE__ */ (0,
|
|
4713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
4700
4714
|
"span",
|
|
4701
4715
|
{
|
|
4702
4716
|
...other,
|
|
@@ -4715,7 +4729,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4715
4729
|
Input.defaultProps = defaultProps10;
|
|
4716
4730
|
|
|
4717
4731
|
// src/input/picker.spec.tsx
|
|
4718
|
-
var
|
|
4732
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4719
4733
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4720
4734
|
var pickerStates = [
|
|
4721
4735
|
States.hover,
|
|
@@ -4751,7 +4765,7 @@ var Picker = (props) => {
|
|
|
4751
4765
|
fillMode = defaultProps11.fillMode,
|
|
4752
4766
|
...other
|
|
4753
4767
|
} = props;
|
|
4754
|
-
return /* @__PURE__ */ (0,
|
|
4768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
4755
4769
|
"span",
|
|
4756
4770
|
{
|
|
4757
4771
|
...other,
|
|
@@ -4771,7 +4785,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4771
4785
|
Picker.defaultProps = defaultProps11;
|
|
4772
4786
|
|
|
4773
4787
|
// src/input/input-clear-value.tsx
|
|
4774
|
-
var
|
|
4788
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4775
4789
|
var className = `k-clear-value`;
|
|
4776
4790
|
var states11 = [
|
|
4777
4791
|
States.disabled,
|
|
@@ -4787,16 +4801,16 @@ var InputClearValue = (props) => {
|
|
|
4787
4801
|
value
|
|
4788
4802
|
} = props;
|
|
4789
4803
|
if (disabled || readonly || loading || !value) {
|
|
4790
|
-
return /* @__PURE__ */ (0,
|
|
4804
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
|
|
4791
4805
|
}
|
|
4792
|
-
return /* @__PURE__ */ (0,
|
|
4806
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { icon: "x" }) });
|
|
4793
4807
|
};
|
|
4794
4808
|
InputClearValue.states = states11;
|
|
4795
4809
|
InputClearValue.options = options11;
|
|
4796
4810
|
InputClearValue.className = className;
|
|
4797
4811
|
|
|
4798
4812
|
// src/input/input-inner-input.tsx
|
|
4799
|
-
var
|
|
4813
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4800
4814
|
var className2 = `k-input-inner`;
|
|
4801
4815
|
var states12 = [];
|
|
4802
4816
|
var options12 = {};
|
|
@@ -4814,7 +4828,7 @@ var InputInnerInput = (props) => {
|
|
|
4814
4828
|
autocomplete = defaultProps12.autocomplete,
|
|
4815
4829
|
...other
|
|
4816
4830
|
} = props;
|
|
4817
|
-
return /* @__PURE__ */ (0,
|
|
4831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
4818
4832
|
"input",
|
|
4819
4833
|
{
|
|
4820
4834
|
...other,
|
|
@@ -4831,7 +4845,7 @@ InputInnerInput.options = options12;
|
|
|
4831
4845
|
InputInnerInput.className = className2;
|
|
4832
4846
|
|
|
4833
4847
|
// src/input/input-inner-span.tsx
|
|
4834
|
-
var
|
|
4848
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4835
4849
|
var className3 = `k-input-inner`;
|
|
4836
4850
|
var states13 = [];
|
|
4837
4851
|
var options13 = {};
|
|
@@ -4844,16 +4858,16 @@ var InputInnerSpan = (props) => {
|
|
|
4844
4858
|
valueIconName,
|
|
4845
4859
|
...other
|
|
4846
4860
|
} = props;
|
|
4847
|
-
return /* @__PURE__ */ (0,
|
|
4861
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
4848
4862
|
"span",
|
|
4849
4863
|
{
|
|
4850
4864
|
...other,
|
|
4851
4865
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4852
4866
|
children: [
|
|
4853
4867
|
valueIcon,
|
|
4854
|
-
!valueIcon && valueIconName && /* @__PURE__ */ (0,
|
|
4868
|
+
!valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4855
4869
|
showValue && !value && placeholder,
|
|
4856
|
-
showValue && value && /* @__PURE__ */ (0,
|
|
4870
|
+
showValue && value && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "k-input-value-text", children: value })
|
|
4857
4871
|
]
|
|
4858
4872
|
}
|
|
4859
4873
|
);
|
|
@@ -4863,7 +4877,7 @@ InputInnerSpan.options = options13;
|
|
|
4863
4877
|
InputInnerSpan.className = className3;
|
|
4864
4878
|
|
|
4865
4879
|
// src/input/input-inner-textarea.tsx
|
|
4866
|
-
var
|
|
4880
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4867
4881
|
var defaultProps13 = {
|
|
4868
4882
|
value: "",
|
|
4869
4883
|
placeholder: ""
|
|
@@ -4878,7 +4892,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4878
4892
|
rows,
|
|
4879
4893
|
...other
|
|
4880
4894
|
} = props;
|
|
4881
|
-
return /* @__PURE__ */ (0,
|
|
4895
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4882
4896
|
"textarea",
|
|
4883
4897
|
{
|
|
4884
4898
|
...other,
|
|
@@ -4894,7 +4908,7 @@ InputInnerTextarea.options = options14;
|
|
|
4894
4908
|
InputInnerTextarea.className = className4;
|
|
4895
4909
|
|
|
4896
4910
|
// src/input/input-loading-icon.tsx
|
|
4897
|
-
var
|
|
4911
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4898
4912
|
var className5 = `k-input-loading-icon`;
|
|
4899
4913
|
var states15 = [
|
|
4900
4914
|
States.disabled,
|
|
@@ -4906,13 +4920,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4906
4920
|
loading
|
|
4907
4921
|
} = props;
|
|
4908
4922
|
if (disabled || !loading) {
|
|
4909
|
-
return /* @__PURE__ */ (0,
|
|
4923
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, {});
|
|
4910
4924
|
}
|
|
4911
|
-
return /* @__PURE__ */ (0,
|
|
4925
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4912
4926
|
};
|
|
4913
4927
|
|
|
4914
4928
|
// src/input/input-validation-icon.tsx
|
|
4915
|
-
var
|
|
4929
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4916
4930
|
var className6 = `k-input-validation-icon`;
|
|
4917
4931
|
var states16 = [
|
|
4918
4932
|
States.valid,
|
|
@@ -4931,39 +4945,39 @@ var InputValidationIcon = (props) => {
|
|
|
4931
4945
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4932
4946
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4933
4947
|
if (disabled || loading || !renderValidationIcon) {
|
|
4934
|
-
return /* @__PURE__ */ (0,
|
|
4948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, {});
|
|
4935
4949
|
}
|
|
4936
|
-
return /* @__PURE__ */ (0,
|
|
4950
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { className: classNames(className6), icon: iconName });
|
|
4937
4951
|
};
|
|
4938
4952
|
InputValidationIcon.states = states16;
|
|
4939
4953
|
InputValidationIcon.options = options15;
|
|
4940
4954
|
InputValidationIcon.className = className6;
|
|
4941
4955
|
|
|
4942
4956
|
// src/input/input-prefix.tsx
|
|
4943
|
-
var
|
|
4957
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4944
4958
|
var className7 = `k-input-prefix`;
|
|
4945
4959
|
var InputPrefix = (props) => {
|
|
4946
4960
|
if (!props.children) {
|
|
4947
|
-
return /* @__PURE__ */ (0,
|
|
4961
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, {});
|
|
4948
4962
|
}
|
|
4949
|
-
return /* @__PURE__ */ (0,
|
|
4963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: classNames(className7, props.className), children: props.children });
|
|
4950
4964
|
};
|
|
4951
4965
|
|
|
4952
4966
|
// src/input/input-suffix.tsx
|
|
4953
|
-
var
|
|
4967
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4954
4968
|
var className8 = `k-input-suffix`;
|
|
4955
4969
|
var InputSuffix = (props) => {
|
|
4956
4970
|
if (!props.children) {
|
|
4957
|
-
return /* @__PURE__ */ (0,
|
|
4971
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jsx_runtime26.Fragment, {});
|
|
4958
4972
|
}
|
|
4959
|
-
return /* @__PURE__ */ (0,
|
|
4973
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: classNames(className8, props.className), children: props.children });
|
|
4960
4974
|
};
|
|
4961
4975
|
|
|
4962
4976
|
// src/input/input-separator.tsx
|
|
4963
|
-
var
|
|
4977
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4964
4978
|
|
|
4965
4979
|
// src/textarea/textarea.spec.tsx
|
|
4966
|
-
var
|
|
4980
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
4967
4981
|
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
4968
4982
|
var states17 = [
|
|
4969
4983
|
States.hover,
|
|
@@ -4999,7 +5013,7 @@ var Textarea = (props) => {
|
|
|
4999
5013
|
disabled,
|
|
5000
5014
|
...other
|
|
5001
5015
|
} = props;
|
|
5002
|
-
return /* @__PURE__ */ (0,
|
|
5016
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5003
5017
|
Input,
|
|
5004
5018
|
{
|
|
5005
5019
|
...other,
|
|
@@ -5013,7 +5027,7 @@ var Textarea = (props) => {
|
|
|
5013
5027
|
required,
|
|
5014
5028
|
disabled,
|
|
5015
5029
|
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
5016
|
-
children: /* @__PURE__ */ (0,
|
|
5030
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5017
5031
|
InputInnerTextarea,
|
|
5018
5032
|
{
|
|
5019
5033
|
className: classNames(
|
|
@@ -5033,10 +5047,10 @@ Textarea.className = TEXTAREA_CLASSNAME;
|
|
|
5033
5047
|
Textarea.defaultProps = defaultProps14;
|
|
5034
5048
|
|
|
5035
5049
|
// src/textarea/templates/textarea-normal.tsx
|
|
5036
|
-
var
|
|
5050
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5037
5051
|
|
|
5038
5052
|
// src/textbox/textbox.spec.tsx
|
|
5039
|
-
var
|
|
5053
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5040
5054
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5041
5055
|
var states18 = [
|
|
5042
5056
|
States.hover,
|
|
@@ -5079,7 +5093,7 @@ var Textbox = (props) => {
|
|
|
5079
5093
|
showClearButton = defaultProps15.showClearButton,
|
|
5080
5094
|
...other
|
|
5081
5095
|
} = props;
|
|
5082
|
-
return /* @__PURE__ */ (0,
|
|
5096
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5083
5097
|
Input,
|
|
5084
5098
|
{
|
|
5085
5099
|
...other,
|
|
@@ -5096,9 +5110,9 @@ var Textbox = (props) => {
|
|
|
5096
5110
|
readonly,
|
|
5097
5111
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5098
5112
|
children: [
|
|
5099
|
-
/* @__PURE__ */ (0,
|
|
5100
|
-
/* @__PURE__ */ (0,
|
|
5101
|
-
/* @__PURE__ */ (0,
|
|
5113
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(InputPrefix, { children: prefix }),
|
|
5114
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(InputInnerInput, { placeholder, value }),
|
|
5115
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5102
5116
|
InputValidationIcon,
|
|
5103
5117
|
{
|
|
5104
5118
|
valid,
|
|
@@ -5107,14 +5121,14 @@ var Textbox = (props) => {
|
|
|
5107
5121
|
disabled
|
|
5108
5122
|
}
|
|
5109
5123
|
),
|
|
5110
|
-
/* @__PURE__ */ (0,
|
|
5124
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5111
5125
|
InputLoadingIcon,
|
|
5112
5126
|
{
|
|
5113
5127
|
loading,
|
|
5114
5128
|
disabled
|
|
5115
5129
|
}
|
|
5116
5130
|
),
|
|
5117
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
5131
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5118
5132
|
InputClearValue,
|
|
5119
5133
|
{
|
|
5120
5134
|
loading,
|
|
@@ -5123,7 +5137,7 @@ var Textbox = (props) => {
|
|
|
5123
5137
|
value
|
|
5124
5138
|
}
|
|
5125
5139
|
),
|
|
5126
|
-
/* @__PURE__ */ (0,
|
|
5140
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(InputSuffix, { children: suffix })
|
|
5127
5141
|
]
|
|
5128
5142
|
}
|
|
5129
5143
|
);
|
|
@@ -5134,16 +5148,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5134
5148
|
Textbox.defaultProps = defaultProps15;
|
|
5135
5149
|
|
|
5136
5150
|
// src/textbox/templates/textbox-normal.tsx
|
|
5137
|
-
var
|
|
5151
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5138
5152
|
|
|
5139
5153
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5140
|
-
var
|
|
5154
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5141
5155
|
|
|
5142
5156
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5143
|
-
var
|
|
5157
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5144
5158
|
|
|
5145
5159
|
// src/animation-container/animation-container.spec.tsx
|
|
5146
|
-
var
|
|
5160
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5147
5161
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5148
5162
|
var states19 = [];
|
|
5149
5163
|
var options18 = {};
|
|
@@ -5157,7 +5171,7 @@ var AnimationContainer = (props) => {
|
|
|
5157
5171
|
offset,
|
|
5158
5172
|
...other
|
|
5159
5173
|
} = props;
|
|
5160
|
-
return /* @__PURE__ */ (0,
|
|
5174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
5161
5175
|
"div",
|
|
5162
5176
|
{
|
|
5163
5177
|
...other,
|
|
@@ -5169,7 +5183,7 @@ var AnimationContainer = (props) => {
|
|
|
5169
5183
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5170
5184
|
}
|
|
5171
5185
|
),
|
|
5172
|
-
children: /* @__PURE__ */ (0,
|
|
5186
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5173
5187
|
}
|
|
5174
5188
|
);
|
|
5175
5189
|
};
|
|
@@ -5179,7 +5193,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5179
5193
|
AnimationContainer.defaultProps = defaultProps16;
|
|
5180
5194
|
|
|
5181
5195
|
// src/popup/popup.spec.tsx
|
|
5182
|
-
var
|
|
5196
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5183
5197
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5184
5198
|
var states20 = [];
|
|
5185
5199
|
var options19 = {};
|
|
@@ -5192,12 +5206,12 @@ var Popup = (props) => {
|
|
|
5192
5206
|
positionMode,
|
|
5193
5207
|
...other
|
|
5194
5208
|
} = props;
|
|
5195
|
-
return /* @__PURE__ */ (0,
|
|
5209
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
5196
5210
|
AnimationContainer,
|
|
5197
5211
|
{
|
|
5198
5212
|
positionMode,
|
|
5199
5213
|
offset,
|
|
5200
|
-
children: /* @__PURE__ */ (0,
|
|
5214
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5201
5215
|
}
|
|
5202
5216
|
);
|
|
5203
5217
|
};
|
|
@@ -5207,7 +5221,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5207
5221
|
Popup.defaultProps = defaultProps17;
|
|
5208
5222
|
|
|
5209
5223
|
// src/button-group/button-group.spec.tsx
|
|
5210
|
-
var
|
|
5224
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5211
5225
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5212
5226
|
var states21 = [
|
|
5213
5227
|
States.disabled
|
|
@@ -5225,7 +5239,7 @@ var ButtonGroup = (props) => {
|
|
|
5225
5239
|
stretched,
|
|
5226
5240
|
...other
|
|
5227
5241
|
} = props;
|
|
5228
|
-
return /* @__PURE__ */ (0,
|
|
5242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
5229
5243
|
"div",
|
|
5230
5244
|
{
|
|
5231
5245
|
...other,
|
|
@@ -5252,19 +5266,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5252
5266
|
ButtonGroup.defaultProps = defaultProps18;
|
|
5253
5267
|
|
|
5254
5268
|
// src/button-group/templates/icon-button-group.tsx
|
|
5255
|
-
var
|
|
5269
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5256
5270
|
|
|
5257
5271
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5258
|
-
var
|
|
5272
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5259
5273
|
|
|
5260
5274
|
// src/button-group/templates/text-button-group.tsx
|
|
5261
|
-
var
|
|
5275
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5262
5276
|
|
|
5263
5277
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5264
|
-
var
|
|
5278
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5265
5279
|
|
|
5266
5280
|
// src/calendar/calendar.spec.tsx
|
|
5267
|
-
var
|
|
5281
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5268
5282
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
5269
5283
|
var states22 = [];
|
|
5270
5284
|
var options21 = {
|
|
@@ -5292,7 +5306,7 @@ var Calendar = (props) => {
|
|
|
5292
5306
|
dir,
|
|
5293
5307
|
...other
|
|
5294
5308
|
} = props;
|
|
5295
|
-
return /* @__PURE__ */ (0,
|
|
5309
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
5296
5310
|
"div",
|
|
5297
5311
|
{
|
|
5298
5312
|
...other,
|
|
@@ -5308,7 +5322,7 @@ var Calendar = (props) => {
|
|
|
5308
5322
|
}
|
|
5309
5323
|
),
|
|
5310
5324
|
children: [
|
|
5311
|
-
/* @__PURE__ */ (0,
|
|
5325
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5312
5326
|
CalendarHeader,
|
|
5313
5327
|
{
|
|
5314
5328
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -5318,7 +5332,7 @@ var Calendar = (props) => {
|
|
|
5318
5332
|
dir
|
|
5319
5333
|
}
|
|
5320
5334
|
),
|
|
5321
|
-
/* @__PURE__ */ (0,
|
|
5335
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
5322
5336
|
CalendarView,
|
|
5323
5337
|
{
|
|
5324
5338
|
calendarView,
|
|
@@ -5330,7 +5344,7 @@ var Calendar = (props) => {
|
|
|
5330
5344
|
selectedRange
|
|
5331
5345
|
}
|
|
5332
5346
|
),
|
|
5333
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
5347
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CalendarFooter, {})
|
|
5334
5348
|
]
|
|
5335
5349
|
}
|
|
5336
5350
|
);
|
|
@@ -5341,7 +5355,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
5341
5355
|
Calendar.defaultProps = defaultProps19;
|
|
5342
5356
|
|
|
5343
5357
|
// src/calendar/calendar-cell.tsx
|
|
5344
|
-
var
|
|
5358
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5345
5359
|
var states23 = [
|
|
5346
5360
|
States.hover,
|
|
5347
5361
|
States.focus,
|
|
@@ -5391,16 +5405,16 @@ var CalendarCell = (props) => {
|
|
|
5391
5405
|
}
|
|
5392
5406
|
];
|
|
5393
5407
|
if (headerCell) {
|
|
5394
|
-
return /* @__PURE__ */ (0,
|
|
5408
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5395
5409
|
}
|
|
5396
5410
|
if (weekCell) {
|
|
5397
|
-
return /* @__PURE__ */ (0,
|
|
5411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5398
5412
|
}
|
|
5399
|
-
return /* @__PURE__ */ (0,
|
|
5413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-link", children: text }) });
|
|
5400
5414
|
};
|
|
5401
5415
|
|
|
5402
5416
|
// src/calendar/calendar-header.tsx
|
|
5403
|
-
var
|
|
5417
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5404
5418
|
var className9 = `k-calendar-header`;
|
|
5405
5419
|
var options22 = {
|
|
5406
5420
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5422,7 +5436,7 @@ var CalendarHeader = (props) => {
|
|
|
5422
5436
|
} = props;
|
|
5423
5437
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
5424
5438
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
5425
|
-
return /* @__PURE__ */ (0,
|
|
5439
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
5426
5440
|
"div",
|
|
5427
5441
|
{
|
|
5428
5442
|
...other,
|
|
@@ -5434,12 +5448,12 @@ var CalendarHeader = (props) => {
|
|
|
5434
5448
|
}
|
|
5435
5449
|
),
|
|
5436
5450
|
children: [
|
|
5437
|
-
/* @__PURE__ */ (0,
|
|
5438
|
-
/* @__PURE__ */ (0,
|
|
5439
|
-
/* @__PURE__ */ (0,
|
|
5440
|
-
/* @__PURE__ */ (0,
|
|
5441
|
-
showToday && /* @__PURE__ */ (0,
|
|
5442
|
-
/* @__PURE__ */ (0,
|
|
5451
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5452
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "k-spacer" }),
|
|
5453
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
5454
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5455
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5456
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5443
5457
|
] })
|
|
5444
5458
|
]
|
|
5445
5459
|
}
|
|
@@ -5447,12 +5461,12 @@ var CalendarHeader = (props) => {
|
|
|
5447
5461
|
};
|
|
5448
5462
|
|
|
5449
5463
|
// src/calendar/calendar-footer.tsx
|
|
5450
|
-
var
|
|
5464
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5451
5465
|
var className10 = `k-calendar-footer`;
|
|
5452
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
5466
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { ...props, className: classNames(props.className, className10), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5453
5467
|
|
|
5454
5468
|
// src/calendar/calendar-table.tsx
|
|
5455
|
-
var
|
|
5469
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5456
5470
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5457
5471
|
var CalendarTable = (props) => {
|
|
5458
5472
|
const {
|
|
@@ -5464,7 +5478,7 @@ var CalendarTable = (props) => {
|
|
|
5464
5478
|
...other
|
|
5465
5479
|
} = props;
|
|
5466
5480
|
if (calendarView === "year") {
|
|
5467
|
-
return /* @__PURE__ */ (0,
|
|
5481
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5468
5482
|
"table",
|
|
5469
5483
|
{
|
|
5470
5484
|
...other,
|
|
@@ -5473,25 +5487,25 @@ var CalendarTable = (props) => {
|
|
|
5473
5487
|
CALENDARTABLE_CLASSNAME
|
|
5474
5488
|
),
|
|
5475
5489
|
children: [
|
|
5476
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5477
|
-
/* @__PURE__ */ (0,
|
|
5478
|
-
/* @__PURE__ */ (0,
|
|
5479
|
-
/* @__PURE__ */ (0,
|
|
5480
|
-
/* @__PURE__ */ (0,
|
|
5481
|
-
/* @__PURE__ */ (0,
|
|
5482
|
-
/* @__PURE__ */ (0,
|
|
5490
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5491
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5492
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5493
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Jan" }),
|
|
5494
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Feb" }),
|
|
5495
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Mar" }),
|
|
5496
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Apr" })
|
|
5483
5497
|
] }),
|
|
5484
|
-
/* @__PURE__ */ (0,
|
|
5485
|
-
/* @__PURE__ */ (0,
|
|
5486
|
-
/* @__PURE__ */ (0,
|
|
5487
|
-
/* @__PURE__ */ (0,
|
|
5488
|
-
/* @__PURE__ */ (0,
|
|
5498
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5499
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "May" }),
|
|
5500
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
5501
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
5502
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
5489
5503
|
] }),
|
|
5490
|
-
/* @__PURE__ */ (0,
|
|
5491
|
-
/* @__PURE__ */ (0,
|
|
5492
|
-
/* @__PURE__ */ (0,
|
|
5493
|
-
/* @__PURE__ */ (0,
|
|
5494
|
-
/* @__PURE__ */ (0,
|
|
5504
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5505
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Sep" }),
|
|
5506
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
5507
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Nov" }),
|
|
5508
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "Dec" })
|
|
5495
5509
|
] })
|
|
5496
5510
|
] })
|
|
5497
5511
|
]
|
|
@@ -5499,7 +5513,7 @@ var CalendarTable = (props) => {
|
|
|
5499
5513
|
);
|
|
5500
5514
|
}
|
|
5501
5515
|
if (calendarView === "decade") {
|
|
5502
|
-
return /* @__PURE__ */ (0,
|
|
5516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5503
5517
|
"table",
|
|
5504
5518
|
{
|
|
5505
5519
|
...other,
|
|
@@ -5508,25 +5522,25 @@ var CalendarTable = (props) => {
|
|
|
5508
5522
|
CALENDARTABLE_CLASSNAME
|
|
5509
5523
|
),
|
|
5510
5524
|
children: [
|
|
5511
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5512
|
-
/* @__PURE__ */ (0,
|
|
5513
|
-
/* @__PURE__ */ (0,
|
|
5514
|
-
/* @__PURE__ */ (0,
|
|
5515
|
-
/* @__PURE__ */ (0,
|
|
5516
|
-
/* @__PURE__ */ (0,
|
|
5517
|
-
/* @__PURE__ */ (0,
|
|
5525
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5526
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5527
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5528
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
5529
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2020" }),
|
|
5530
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
5531
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2022" })
|
|
5518
5532
|
] }),
|
|
5519
|
-
/* @__PURE__ */ (0,
|
|
5520
|
-
/* @__PURE__ */ (0,
|
|
5521
|
-
/* @__PURE__ */ (0,
|
|
5522
|
-
/* @__PURE__ */ (0,
|
|
5523
|
-
/* @__PURE__ */ (0,
|
|
5533
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5534
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2023" }),
|
|
5535
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
5536
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
5537
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
5524
5538
|
] }),
|
|
5525
|
-
/* @__PURE__ */ (0,
|
|
5526
|
-
/* @__PURE__ */ (0,
|
|
5527
|
-
/* @__PURE__ */ (0,
|
|
5528
|
-
/* @__PURE__ */ (0,
|
|
5529
|
-
/* @__PURE__ */ (0,
|
|
5539
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5540
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2027" }),
|
|
5541
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2028" }),
|
|
5542
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2029" }),
|
|
5543
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5530
5544
|
] })
|
|
5531
5545
|
] })
|
|
5532
5546
|
]
|
|
@@ -5534,7 +5548,7 @@ var CalendarTable = (props) => {
|
|
|
5534
5548
|
);
|
|
5535
5549
|
}
|
|
5536
5550
|
if (calendarView === "century") {
|
|
5537
|
-
return /* @__PURE__ */ (0,
|
|
5551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5538
5552
|
"table",
|
|
5539
5553
|
{
|
|
5540
5554
|
...other,
|
|
@@ -5543,32 +5557,32 @@ var CalendarTable = (props) => {
|
|
|
5543
5557
|
CALENDARTABLE_CLASSNAME
|
|
5544
5558
|
),
|
|
5545
5559
|
children: [
|
|
5546
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5547
|
-
/* @__PURE__ */ (0,
|
|
5548
|
-
/* @__PURE__ */ (0,
|
|
5549
|
-
/* @__PURE__ */ (0,
|
|
5550
|
-
/* @__PURE__ */ (0,
|
|
5551
|
-
/* @__PURE__ */ (0,
|
|
5552
|
-
/* @__PURE__ */ (0,
|
|
5560
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5561
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5562
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5563
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
5564
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
5565
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5566
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
5553
5567
|
] }),
|
|
5554
|
-
/* @__PURE__ */ (0,
|
|
5555
|
-
/* @__PURE__ */ (0,
|
|
5556
|
-
/* @__PURE__ */ (0,
|
|
5557
|
-
/* @__PURE__ */ (0,
|
|
5558
|
-
/* @__PURE__ */ (0,
|
|
5568
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5569
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
5570
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5571
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5572
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5559
5573
|
] }),
|
|
5560
|
-
/* @__PURE__ */ (0,
|
|
5561
|
-
/* @__PURE__ */ (0,
|
|
5562
|
-
/* @__PURE__ */ (0,
|
|
5563
|
-
/* @__PURE__ */ (0,
|
|
5564
|
-
/* @__PURE__ */ (0,
|
|
5574
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5575
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
5576
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
5577
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
5578
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
5565
5579
|
] })
|
|
5566
5580
|
] })
|
|
5567
5581
|
]
|
|
5568
5582
|
}
|
|
5569
5583
|
);
|
|
5570
5584
|
}
|
|
5571
|
-
return /* @__PURE__ */ (0,
|
|
5585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
5572
5586
|
"table",
|
|
5573
5587
|
{
|
|
5574
5588
|
...other,
|
|
@@ -5577,68 +5591,68 @@ var CalendarTable = (props) => {
|
|
|
5577
5591
|
CALENDARTABLE_CLASSNAME
|
|
5578
5592
|
),
|
|
5579
5593
|
children: [
|
|
5580
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
5581
|
-
/* @__PURE__ */ (0,
|
|
5582
|
-
/* @__PURE__ */ (0,
|
|
5583
|
-
/* @__PURE__ */ (0,
|
|
5584
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5585
|
-
/* @__PURE__ */ (0,
|
|
5586
|
-
/* @__PURE__ */ (0,
|
|
5587
|
-
/* @__PURE__ */ (0,
|
|
5588
|
-
/* @__PURE__ */ (0,
|
|
5589
|
-
/* @__PURE__ */ (0,
|
|
5590
|
-
/* @__PURE__ */ (0,
|
|
5591
|
-
/* @__PURE__ */ (0,
|
|
5594
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5595
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarTableHead, { showWeek }),
|
|
5596
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
5597
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5598
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
5599
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5600
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "1" }),
|
|
5601
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2" }),
|
|
5602
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "3" }),
|
|
5603
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "4" }),
|
|
5604
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "5" }),
|
|
5605
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
5592
5606
|
] }),
|
|
5593
|
-
/* @__PURE__ */ (0,
|
|
5594
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5595
|
-
/* @__PURE__ */ (0,
|
|
5596
|
-
/* @__PURE__ */ (0,
|
|
5597
|
-
/* @__PURE__ */ (0,
|
|
5598
|
-
/* @__PURE__ */ (0,
|
|
5599
|
-
/* @__PURE__ */ (0,
|
|
5600
|
-
/* @__PURE__ */ (0,
|
|
5601
|
-
/* @__PURE__ */ (0,
|
|
5607
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5608
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
5609
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
5610
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
5611
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
5612
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
5613
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5614
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5615
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
5602
5616
|
] }),
|
|
5603
|
-
/* @__PURE__ */ (0,
|
|
5604
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5605
|
-
/* @__PURE__ */ (0,
|
|
5606
|
-
/* @__PURE__ */ (0,
|
|
5607
|
-
/* @__PURE__ */ (0,
|
|
5608
|
-
/* @__PURE__ */ (0,
|
|
5609
|
-
/* @__PURE__ */ (0,
|
|
5610
|
-
/* @__PURE__ */ (0,
|
|
5611
|
-
/* @__PURE__ */ (0,
|
|
5617
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5618
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
5619
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
5620
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "15" }),
|
|
5621
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "16", today: true }),
|
|
5622
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "17" }),
|
|
5623
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "18" }),
|
|
5624
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "19" }),
|
|
5625
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
5612
5626
|
] }),
|
|
5613
|
-
/* @__PURE__ */ (0,
|
|
5614
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5615
|
-
/* @__PURE__ */ (0,
|
|
5616
|
-
/* @__PURE__ */ (0,
|
|
5617
|
-
/* @__PURE__ */ (0,
|
|
5618
|
-
/* @__PURE__ */ (0,
|
|
5619
|
-
/* @__PURE__ */ (0,
|
|
5620
|
-
/* @__PURE__ */ (0,
|
|
5621
|
-
/* @__PURE__ */ (0,
|
|
5627
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5628
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
5629
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
5630
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "22" }),
|
|
5631
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "23" }),
|
|
5632
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "24" }),
|
|
5633
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5634
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5635
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5622
5636
|
] }),
|
|
5623
|
-
/* @__PURE__ */ (0,
|
|
5624
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5625
|
-
/* @__PURE__ */ (0,
|
|
5626
|
-
/* @__PURE__ */ (0,
|
|
5627
|
-
/* @__PURE__ */ (0,
|
|
5628
|
-
/* @__PURE__ */ (0,
|
|
5629
|
-
/* @__PURE__ */ (0,
|
|
5630
|
-
/* @__PURE__ */ (0,
|
|
5631
|
-
/* @__PURE__ */ (0,
|
|
5637
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5638
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
5639
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5640
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5641
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "30" }),
|
|
5642
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "31" }),
|
|
5643
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5644
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5645
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5632
5646
|
] }),
|
|
5633
|
-
/* @__PURE__ */ (0,
|
|
5634
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5635
|
-
/* @__PURE__ */ (0,
|
|
5636
|
-
/* @__PURE__ */ (0,
|
|
5637
|
-
/* @__PURE__ */ (0,
|
|
5638
|
-
/* @__PURE__ */ (0,
|
|
5639
|
-
/* @__PURE__ */ (0,
|
|
5640
|
-
/* @__PURE__ */ (0,
|
|
5641
|
-
/* @__PURE__ */ (0,
|
|
5647
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5648
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
5649
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5650
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5651
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5652
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5653
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5654
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5655
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5642
5656
|
] })
|
|
5643
5657
|
] })
|
|
5644
5658
|
]
|
|
@@ -5647,34 +5661,34 @@ var CalendarTable = (props) => {
|
|
|
5647
5661
|
};
|
|
5648
5662
|
|
|
5649
5663
|
// src/calendar/calendar-table-head.tsx
|
|
5650
|
-
var
|
|
5664
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5651
5665
|
var className11 = `k-calendar-thead`;
|
|
5652
5666
|
var CalendarTableHead = (props) => {
|
|
5653
5667
|
const {
|
|
5654
5668
|
showWeek,
|
|
5655
5669
|
...other
|
|
5656
5670
|
} = props;
|
|
5657
|
-
return /* @__PURE__ */ (0,
|
|
5671
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5658
5672
|
"thead",
|
|
5659
5673
|
{
|
|
5660
5674
|
...other,
|
|
5661
5675
|
className: classNames(props.className, className11),
|
|
5662
|
-
children: /* @__PURE__ */ (0,
|
|
5663
|
-
showWeek && /* @__PURE__ */ (0,
|
|
5664
|
-
/* @__PURE__ */ (0,
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
5666
|
-
/* @__PURE__ */ (0,
|
|
5667
|
-
/* @__PURE__ */ (0,
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5669
|
-
/* @__PURE__ */ (0,
|
|
5670
|
-
/* @__PURE__ */ (0,
|
|
5676
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
5677
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5678
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
5679
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5680
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5681
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
5682
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
5683
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5684
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
5671
5685
|
] })
|
|
5672
5686
|
}
|
|
5673
5687
|
);
|
|
5674
5688
|
};
|
|
5675
5689
|
|
|
5676
5690
|
// src/calendar/calendar-view.tsx
|
|
5677
|
-
var
|
|
5691
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5678
5692
|
var className12 = `k-calendar-view`;
|
|
5679
5693
|
var defaultProps21 = {
|
|
5680
5694
|
viewsCount: 1,
|
|
@@ -5692,7 +5706,7 @@ var CalendarView = (props) => {
|
|
|
5692
5706
|
selectedRange,
|
|
5693
5707
|
...other
|
|
5694
5708
|
} = props;
|
|
5695
|
-
return /* @__PURE__ */ (0,
|
|
5709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5696
5710
|
"div",
|
|
5697
5711
|
{
|
|
5698
5712
|
...other,
|
|
@@ -5708,7 +5722,7 @@ var CalendarView = (props) => {
|
|
|
5708
5722
|
}
|
|
5709
5723
|
),
|
|
5710
5724
|
children: [...Array(viewsCount)].map(
|
|
5711
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
5725
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5712
5726
|
CalendarTable,
|
|
5713
5727
|
{
|
|
5714
5728
|
calendarView,
|
|
@@ -5725,7 +5739,7 @@ var CalendarView = (props) => {
|
|
|
5725
5739
|
};
|
|
5726
5740
|
|
|
5727
5741
|
// src/time-selector/time-selector.spec.tsx
|
|
5728
|
-
var
|
|
5742
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5729
5743
|
var TIMESELECTOR_CLASSNAME = `k-timeselector`;
|
|
5730
5744
|
var states24 = [];
|
|
5731
5745
|
var options23 = {
|
|
@@ -5752,9 +5766,9 @@ var TimeSelector = (props) => {
|
|
|
5752
5766
|
if (index === 0 || columnType === "tt") {
|
|
5753
5767
|
separator = false;
|
|
5754
5768
|
}
|
|
5755
|
-
return /* @__PURE__ */ (0,
|
|
5769
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TimeSelectorColumn, { type: columnType, focus, separator }) });
|
|
5756
5770
|
});
|
|
5757
|
-
return /* @__PURE__ */ (0,
|
|
5771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
5758
5772
|
"div",
|
|
5759
5773
|
{
|
|
5760
5774
|
...other,
|
|
@@ -5766,10 +5780,10 @@ var TimeSelector = (props) => {
|
|
|
5766
5780
|
})
|
|
5767
5781
|
),
|
|
5768
5782
|
children: [
|
|
5769
|
-
/* @__PURE__ */ (0,
|
|
5770
|
-
/* @__PURE__ */ (0,
|
|
5771
|
-
/* @__PURE__ */ (0,
|
|
5772
|
-
/* @__PURE__ */ (0,
|
|
5783
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, { children: header }),
|
|
5784
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_jsx_runtime48.Fragment, { children: fastSelection }),
|
|
5785
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "k-time-list-container", children: [
|
|
5786
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-time-highlight" }),
|
|
5773
5787
|
columnsDom
|
|
5774
5788
|
] })
|
|
5775
5789
|
]
|
|
@@ -5782,7 +5796,7 @@ TimeSelector.className = TIMESELECTOR_CLASSNAME;
|
|
|
5782
5796
|
TimeSelector.defaultProps = defaultProps22;
|
|
5783
5797
|
|
|
5784
5798
|
// src/time-selector/time-selector-column.tsx
|
|
5785
|
-
var
|
|
5799
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5786
5800
|
var states25 = [
|
|
5787
5801
|
States.focus
|
|
5788
5802
|
];
|
|
@@ -5821,11 +5835,11 @@ var TimeSelectorColumn = (props) => {
|
|
|
5821
5835
|
break;
|
|
5822
5836
|
}
|
|
5823
5837
|
const items = columnData.map(
|
|
5824
|
-
(data) => /* @__PURE__ */ (0,
|
|
5838
|
+
(data) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_jsx_runtime49.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { children: data }) }) })
|
|
5825
5839
|
);
|
|
5826
|
-
return /* @__PURE__ */ (0,
|
|
5827
|
-
separator && /* @__PURE__ */ (0,
|
|
5828
|
-
/* @__PURE__ */ (0,
|
|
5840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
|
|
5841
|
+
separator && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "k-time-separator", children: ":" }),
|
|
5842
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
5829
5843
|
"div",
|
|
5830
5844
|
{
|
|
5831
5845
|
...other,
|
|
@@ -5837,10 +5851,10 @@ var TimeSelectorColumn = (props) => {
|
|
|
5837
5851
|
})
|
|
5838
5852
|
),
|
|
5839
5853
|
children: [
|
|
5840
|
-
/* @__PURE__ */ (0,
|
|
5841
|
-
/* @__PURE__ */ (0,
|
|
5842
|
-
/* @__PURE__ */ (0,
|
|
5843
|
-
/* @__PURE__ */ (0,
|
|
5854
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "k-title", children: text }),
|
|
5855
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "k-time-list", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "k-content k-scrollable k-time-container", children: [
|
|
5856
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("ul", { className: "k-reset", style: { transform: "translateY(97px)" }, children: items }),
|
|
5857
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "k-scrollable-placeholder" })
|
|
5844
5858
|
] }) })
|
|
5845
5859
|
]
|
|
5846
5860
|
}
|
|
@@ -5849,14 +5863,14 @@ var TimeSelectorColumn = (props) => {
|
|
|
5849
5863
|
};
|
|
5850
5864
|
|
|
5851
5865
|
// src/time-selector/time-selector-header.tsx
|
|
5852
|
-
var
|
|
5866
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5853
5867
|
var className13 = `k-time-header`;
|
|
5854
5868
|
var TimeSelectorHeader = (props) => {
|
|
5855
5869
|
const {
|
|
5856
5870
|
title,
|
|
5857
5871
|
...other
|
|
5858
5872
|
} = props;
|
|
5859
|
-
return /* @__PURE__ */ (0,
|
|
5873
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
5860
5874
|
"div",
|
|
5861
5875
|
{
|
|
5862
5876
|
...other,
|
|
@@ -5865,7 +5879,7 @@ var TimeSelectorHeader = (props) => {
|
|
|
5865
5879
|
className13
|
|
5866
5880
|
),
|
|
5867
5881
|
children: [
|
|
5868
|
-
title != null && /* @__PURE__ */ (0,
|
|
5882
|
+
title != null && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "k-title", children: title }),
|
|
5869
5883
|
props.children
|
|
5870
5884
|
]
|
|
5871
5885
|
}
|
|
@@ -5873,19 +5887,19 @@ var TimeSelectorHeader = (props) => {
|
|
|
5873
5887
|
};
|
|
5874
5888
|
|
|
5875
5889
|
// src/time-selector/time-selector-fast-selection.tsx
|
|
5876
|
-
var
|
|
5890
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5877
5891
|
|
|
5878
5892
|
// src/time-selector/templates/time-selector-all.tsx
|
|
5879
|
-
var
|
|
5893
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5880
5894
|
|
|
5881
5895
|
// src/time-selector/templates/time-selector-hour.tsx
|
|
5882
|
-
var
|
|
5896
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5883
5897
|
|
|
5884
5898
|
// src/time-selector/templates/time-selector-minute.tsx
|
|
5885
|
-
var
|
|
5899
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5886
5900
|
|
|
5887
5901
|
// src/datetime-selector/datetime-selector.spec.tsx
|
|
5888
|
-
var
|
|
5902
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5889
5903
|
var DATETIMESELECTOR_CLASSNAME = `k-datetime-wrap`;
|
|
5890
5904
|
var states26 = [];
|
|
5891
5905
|
var options24 = {
|
|
@@ -5904,7 +5918,7 @@ var DateTimeSelector = (props) => {
|
|
|
5904
5918
|
dir,
|
|
5905
5919
|
...other
|
|
5906
5920
|
} = props;
|
|
5907
|
-
return /* @__PURE__ */ (0,
|
|
5921
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
5908
5922
|
"div",
|
|
5909
5923
|
{
|
|
5910
5924
|
...other,
|
|
@@ -5920,20 +5934,20 @@ var DateTimeSelector = (props) => {
|
|
|
5920
5934
|
})
|
|
5921
5935
|
),
|
|
5922
5936
|
children: [
|
|
5923
|
-
/* @__PURE__ */ (0,
|
|
5924
|
-
/* @__PURE__ */ (0,
|
|
5925
|
-
/* @__PURE__ */ (0,
|
|
5937
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-datetime-buttongroup", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(ButtonGroup, { stretched: true, children: [
|
|
5938
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { className: "k-group-start", size, selected: tab === "date", children: "Date" }),
|
|
5939
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { className: "k-group-end", size, selected: tab === "time", children: "Time" })
|
|
5926
5940
|
] }) }),
|
|
5927
|
-
/* @__PURE__ */ (0,
|
|
5928
|
-
/* @__PURE__ */ (0,
|
|
5929
|
-
/* @__PURE__ */ (0,
|
|
5930
|
-
] }) : /* @__PURE__ */ (0,
|
|
5931
|
-
/* @__PURE__ */ (0,
|
|
5932
|
-
/* @__PURE__ */ (0,
|
|
5941
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-datetime-selector", children: tab === "time" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
|
|
5942
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-datetime-calendar-wrap" }),
|
|
5943
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-datetime-time-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TimeSelector, { size, columns: ["HH", "mm", "ss", "tt"], focusedColumn: "mm", header: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(TimeSelectorHeader, { title: "10:00:00 AM", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { size, fillMode: "flat", className: "k-time-now", children: "Now" }) }) }) })
|
|
5944
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
|
|
5945
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-datetime-calendar-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Calendar, { size, showOtherMonth: true, dir }) }),
|
|
5946
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-datetime-time-wrap" })
|
|
5933
5947
|
] }) }),
|
|
5934
|
-
actionButtons && /* @__PURE__ */ (0,
|
|
5935
|
-
/* @__PURE__ */ (0,
|
|
5936
|
-
/* @__PURE__ */ (0,
|
|
5948
|
+
actionButtons && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(ActionButtons, { className: "k-datetime-footer", alignment: "stretched", children: [
|
|
5949
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { size, themeColor: "primary", className: "k-time-accept", children: "Set" }),
|
|
5950
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { size, className: "k-time-cancel", children: "Cancel" })
|
|
5937
5951
|
] })
|
|
5938
5952
|
]
|
|
5939
5953
|
}
|
|
@@ -5945,7 +5959,7 @@ DateTimeSelector.className = DATETIMESELECTOR_CLASSNAME;
|
|
|
5945
5959
|
DateTimeSelector.defaultProps = defaultProps23;
|
|
5946
5960
|
|
|
5947
5961
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5948
|
-
var
|
|
5962
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5949
5963
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5950
5964
|
var states27 = [];
|
|
5951
5965
|
var options25 = {};
|
|
@@ -5968,8 +5982,8 @@ var ActionSheet = (props) => {
|
|
|
5968
5982
|
overlay = defaultProps24.overlay,
|
|
5969
5983
|
...other
|
|
5970
5984
|
} = props;
|
|
5971
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
5972
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
5985
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5986
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5973
5987
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5974
5988
|
switch (child.type) {
|
|
5975
5989
|
case ActionSheetHeader:
|
|
@@ -5979,10 +5993,10 @@ var ActionSheet = (props) => {
|
|
|
5979
5993
|
return true;
|
|
5980
5994
|
}
|
|
5981
5995
|
return true;
|
|
5982
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
5983
|
-
return /* @__PURE__ */ (0,
|
|
5984
|
-
overlay && /* @__PURE__ */ (0,
|
|
5985
|
-
/* @__PURE__ */ (0,
|
|
5996
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, {});
|
|
5997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
5998
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "k-overlay" }),
|
|
5999
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
5986
6000
|
AnimationContainer,
|
|
5987
6001
|
{
|
|
5988
6002
|
animationStyle: {
|
|
@@ -5992,7 +6006,7 @@ var ActionSheet = (props) => {
|
|
|
5992
6006
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5993
6007
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5994
6008
|
},
|
|
5995
|
-
children: /* @__PURE__ */ (0,
|
|
6009
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
5996
6010
|
"div",
|
|
5997
6011
|
{
|
|
5998
6012
|
...other,
|
|
@@ -6005,9 +6019,9 @@ var ActionSheet = (props) => {
|
|
|
6005
6019
|
"k-adaptive-actionsheet": adaptive
|
|
6006
6020
|
}
|
|
6007
6021
|
),
|
|
6008
|
-
children: /* @__PURE__ */ (0,
|
|
6022
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
|
|
6009
6023
|
_ActionSheetHeader,
|
|
6010
|
-
/* @__PURE__ */ (0,
|
|
6024
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: classNames(
|
|
6011
6025
|
"k-actionsheet-content",
|
|
6012
6026
|
{
|
|
6013
6027
|
"!k-overflow-hidden": adaptive
|
|
@@ -6027,7 +6041,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6027
6041
|
ActionSheet.defaultProps = defaultProps24;
|
|
6028
6042
|
|
|
6029
6043
|
// src/searchbox/searchbox.spec.tsx
|
|
6030
|
-
var
|
|
6044
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6031
6045
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6032
6046
|
var states28 = [
|
|
6033
6047
|
States.hover,
|
|
@@ -6068,7 +6082,7 @@ var Searchbox = (props) => {
|
|
|
6068
6082
|
icon = defaultProps25.icon,
|
|
6069
6083
|
...other
|
|
6070
6084
|
} = props;
|
|
6071
|
-
return /* @__PURE__ */ (0,
|
|
6085
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
6072
6086
|
Input,
|
|
6073
6087
|
{
|
|
6074
6088
|
...other,
|
|
@@ -6084,11 +6098,11 @@ var Searchbox = (props) => {
|
|
|
6084
6098
|
disabled,
|
|
6085
6099
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6086
6100
|
children: [
|
|
6087
|
-
showIcon && /* @__PURE__ */ (0,
|
|
6088
|
-
/* @__PURE__ */ (0,
|
|
6089
|
-
/* @__PURE__ */ (0,
|
|
6090
|
-
/* @__PURE__ */ (0,
|
|
6091
|
-
/* @__PURE__ */ (0,
|
|
6101
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
6102
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InputInnerInput, { placeholder, value }),
|
|
6103
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InputLoadingIcon, { ...props }),
|
|
6104
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InputValidationIcon, { ...props }),
|
|
6105
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InputClearValue, { ...props })
|
|
6092
6106
|
]
|
|
6093
6107
|
}
|
|
6094
6108
|
);
|
|
@@ -6099,10 +6113,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
6099
6113
|
Searchbox.defaultProps = defaultProps25;
|
|
6100
6114
|
|
|
6101
6115
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
6102
|
-
var
|
|
6116
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6103
6117
|
|
|
6104
6118
|
// src/action-sheet/actionsheet-header.tsx
|
|
6105
|
-
var
|
|
6119
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6106
6120
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6107
6121
|
var ActionSheetHeader = (props) => {
|
|
6108
6122
|
const {
|
|
@@ -6112,7 +6126,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6112
6126
|
filter,
|
|
6113
6127
|
...other
|
|
6114
6128
|
} = props;
|
|
6115
|
-
return /* @__PURE__ */ (0,
|
|
6129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
6116
6130
|
"div",
|
|
6117
6131
|
{
|
|
6118
6132
|
...other,
|
|
@@ -6120,30 +6134,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6120
6134
|
props.className,
|
|
6121
6135
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6122
6136
|
),
|
|
6123
|
-
children: /* @__PURE__ */ (0,
|
|
6124
|
-
/* @__PURE__ */ (0,
|
|
6125
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
6126
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
6127
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
6137
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
|
|
6138
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6139
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
6140
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "k-text-center", children: title }),
|
|
6141
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6128
6142
|
] }) }),
|
|
6129
|
-
props.children && /* @__PURE__ */ (0,
|
|
6130
|
-
actions && /* @__PURE__ */ (0,
|
|
6143
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6144
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6131
6145
|
] }),
|
|
6132
|
-
filter && /* @__PURE__ */ (0,
|
|
6146
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6133
6147
|
] })
|
|
6134
6148
|
}
|
|
6135
6149
|
);
|
|
6136
6150
|
};
|
|
6137
6151
|
|
|
6138
6152
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6139
|
-
var
|
|
6153
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6140
6154
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6141
6155
|
var ActionSheetFooter = (props) => {
|
|
6142
6156
|
const {
|
|
6143
6157
|
actions,
|
|
6144
6158
|
...other
|
|
6145
6159
|
} = props;
|
|
6146
|
-
return /* @__PURE__ */ (0,
|
|
6160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
6147
6161
|
action_buttons_spec_default,
|
|
6148
6162
|
{
|
|
6149
6163
|
...other,
|
|
@@ -6152,17 +6166,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6152
6166
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6153
6167
|
),
|
|
6154
6168
|
alignment: "stretched",
|
|
6155
|
-
children: /* @__PURE__ */ (0,
|
|
6169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
|
6156
6170
|
actions && actions.map((action, index) => {
|
|
6157
6171
|
if (action === "|") {
|
|
6158
|
-
return /* @__PURE__ */ (0,
|
|
6172
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-separator" }, index);
|
|
6159
6173
|
}
|
|
6160
6174
|
if (action === " ") {
|
|
6161
|
-
return /* @__PURE__ */ (0,
|
|
6175
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "k-spacer" }, index);
|
|
6162
6176
|
}
|
|
6163
6177
|
const importantFlag = action.startsWith("!");
|
|
6164
6178
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6165
|
-
return /* @__PURE__ */ (0,
|
|
6179
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6166
6180
|
}),
|
|
6167
6181
|
!actions && props.children
|
|
6168
6182
|
] })
|
|
@@ -6171,12 +6185,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6171
6185
|
};
|
|
6172
6186
|
|
|
6173
6187
|
// src/action-sheet/actionsheet-items.tsx
|
|
6174
|
-
var
|
|
6188
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6175
6189
|
var ActionSheetItems = (props) => {
|
|
6176
6190
|
const {
|
|
6177
6191
|
...other
|
|
6178
6192
|
} = props;
|
|
6179
|
-
return /* @__PURE__ */ (0,
|
|
6193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
6180
6194
|
"div",
|
|
6181
6195
|
{
|
|
6182
6196
|
...other,
|
|
@@ -6190,7 +6204,7 @@ var ActionSheetItems = (props) => {
|
|
|
6190
6204
|
};
|
|
6191
6205
|
|
|
6192
6206
|
// src/action-sheet/actionsheet-item.tsx
|
|
6193
|
-
var
|
|
6207
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6194
6208
|
var states29 = [
|
|
6195
6209
|
States.hover,
|
|
6196
6210
|
States.focus,
|
|
@@ -6199,7 +6213,7 @@ var states29 = [
|
|
|
6199
6213
|
];
|
|
6200
6214
|
|
|
6201
6215
|
// src/datetimepicker/datetimepicker.spec.tsx
|
|
6202
|
-
var
|
|
6216
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6203
6217
|
var DATETIMEPICKER_CLASSNAME = `k-datetimepicker`;
|
|
6204
6218
|
var states30 = [
|
|
6205
6219
|
States.hover,
|
|
@@ -6246,8 +6260,8 @@ var DateTimePicker = (props) => {
|
|
|
6246
6260
|
adaptiveSettings,
|
|
6247
6261
|
...other
|
|
6248
6262
|
} = props;
|
|
6249
|
-
return /* @__PURE__ */ (0,
|
|
6250
|
-
/* @__PURE__ */ (0,
|
|
6263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
|
|
6264
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
6251
6265
|
Input,
|
|
6252
6266
|
{
|
|
6253
6267
|
...other,
|
|
@@ -6265,9 +6279,9 @@ var DateTimePicker = (props) => {
|
|
|
6265
6279
|
readonly,
|
|
6266
6280
|
className: classNames(props.className, DATETIMEPICKER_CLASSNAME),
|
|
6267
6281
|
children: [
|
|
6268
|
-
/* @__PURE__ */ (0,
|
|
6269
|
-
/* @__PURE__ */ (0,
|
|
6270
|
-
/* @__PURE__ */ (0,
|
|
6282
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputPrefix, { children: prefix }),
|
|
6283
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputInnerInput, { placeholder, value }),
|
|
6284
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6271
6285
|
InputValidationIcon,
|
|
6272
6286
|
{
|
|
6273
6287
|
valid,
|
|
@@ -6276,14 +6290,14 @@ var DateTimePicker = (props) => {
|
|
|
6276
6290
|
disabled
|
|
6277
6291
|
}
|
|
6278
6292
|
),
|
|
6279
|
-
/* @__PURE__ */ (0,
|
|
6293
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6280
6294
|
InputLoadingIcon,
|
|
6281
6295
|
{
|
|
6282
6296
|
loading,
|
|
6283
6297
|
disabled
|
|
6284
6298
|
}
|
|
6285
6299
|
),
|
|
6286
|
-
/* @__PURE__ */ (0,
|
|
6300
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6287
6301
|
InputClearValue,
|
|
6288
6302
|
{
|
|
6289
6303
|
loading,
|
|
@@ -6292,8 +6306,8 @@ var DateTimePicker = (props) => {
|
|
|
6292
6306
|
value
|
|
6293
6307
|
}
|
|
6294
6308
|
),
|
|
6295
|
-
/* @__PURE__ */ (0,
|
|
6296
|
-
/* @__PURE__ */ (0,
|
|
6309
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputSuffix, { children: suffix }),
|
|
6310
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6297
6311
|
Button,
|
|
6298
6312
|
{
|
|
6299
6313
|
className: "k-input-button",
|
|
@@ -6306,9 +6320,9 @@ var DateTimePicker = (props) => {
|
|
|
6306
6320
|
]
|
|
6307
6321
|
}
|
|
6308
6322
|
),
|
|
6309
|
-
opened && /* @__PURE__ */ (0,
|
|
6310
|
-
adaptive && /* @__PURE__ */ (0,
|
|
6311
|
-
/* @__PURE__ */ (0,
|
|
6323
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Popup, { className: `k-${tab === "time" ? "list" : "calendar"}-container k-datetimepicker-popup`, dir, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DateTimeSelector, { tab, dir }) }),
|
|
6324
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6325
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6312
6326
|
ActionSheetHeader,
|
|
6313
6327
|
{
|
|
6314
6328
|
actions: ["x"],
|
|
@@ -6316,8 +6330,8 @@ var DateTimePicker = (props) => {
|
|
|
6316
6330
|
subTitle: "DD / MM / YY"
|
|
6317
6331
|
}
|
|
6318
6332
|
),
|
|
6319
|
-
/* @__PURE__ */ (0,
|
|
6320
|
-
/* @__PURE__ */ (0,
|
|
6333
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DateTimeSelector, { size: "large", tab, actionButtons: false }),
|
|
6334
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ActionSheetFooter, { actions: ["Cancel", "!Set"] })
|
|
6321
6335
|
] })
|
|
6322
6336
|
] });
|
|
6323
6337
|
};
|
|
@@ -6327,21 +6341,21 @@ DateTimePicker.className = DATETIMEPICKER_CLASSNAME;
|
|
|
6327
6341
|
DateTimePicker.defaultProps = defaultProps26;
|
|
6328
6342
|
|
|
6329
6343
|
// src/datetimepicker/templates/datetimepicker-normal.tsx
|
|
6330
|
-
var
|
|
6344
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6331
6345
|
|
|
6332
6346
|
// src/datetimepicker/templates/datetimepicker-popup.tsx
|
|
6333
|
-
var
|
|
6347
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6334
6348
|
|
|
6335
6349
|
// src/datetimepicker/templates/datetimepicker-adaptive.tsx
|
|
6336
|
-
var
|
|
6350
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6337
6351
|
|
|
6338
6352
|
// src/nodata/nodata.tsx
|
|
6339
|
-
var
|
|
6353
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6340
6354
|
var className14 = `k-nodata`;
|
|
6341
|
-
var NoData = (props) => /* @__PURE__ */ (0,
|
|
6355
|
+
var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: classNames(className14, props.className), children: props.children });
|
|
6342
6356
|
|
|
6343
6357
|
// src/list/list.spec.tsx
|
|
6344
|
-
var
|
|
6358
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6345
6359
|
var LIST_CLASSNAME = `k-list`;
|
|
6346
6360
|
var states31 = [];
|
|
6347
6361
|
var options28 = {
|
|
@@ -6369,7 +6383,7 @@ var List = (props) => {
|
|
|
6369
6383
|
listHeader = child.props.label;
|
|
6370
6384
|
child.props.children.map((optChild, index2) => {
|
|
6371
6385
|
listChildren.push(
|
|
6372
|
-
/* @__PURE__ */ (0,
|
|
6386
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6373
6387
|
ListItem,
|
|
6374
6388
|
{
|
|
6375
6389
|
...optChild.props
|
|
@@ -6385,7 +6399,7 @@ var List = (props) => {
|
|
|
6385
6399
|
groupLabel = child.props.label;
|
|
6386
6400
|
}
|
|
6387
6401
|
listChildren.push(
|
|
6388
|
-
/* @__PURE__ */ (0,
|
|
6402
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6389
6403
|
ListItem,
|
|
6390
6404
|
{
|
|
6391
6405
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6397,16 +6411,16 @@ var List = (props) => {
|
|
|
6397
6411
|
);
|
|
6398
6412
|
});
|
|
6399
6413
|
}
|
|
6400
|
-
listGroup = /* @__PURE__ */ (0,
|
|
6414
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6401
6415
|
} else if (child.type === ListItem) {
|
|
6402
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
6403
|
-
listContent = /* @__PURE__ */ (0,
|
|
6416
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6417
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ListContent, { virtualization, children: listChildren });
|
|
6404
6418
|
}
|
|
6405
6419
|
});
|
|
6406
6420
|
} else {
|
|
6407
|
-
listContent = /* @__PURE__ */ (0,
|
|
6421
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NoData, { children: "No data found." });
|
|
6408
6422
|
}
|
|
6409
|
-
return /* @__PURE__ */ (0,
|
|
6423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
|
|
6410
6424
|
"div",
|
|
6411
6425
|
{
|
|
6412
6426
|
...other,
|
|
@@ -6434,7 +6448,7 @@ List.className = LIST_CLASSNAME;
|
|
|
6434
6448
|
List.defaultProps = defaultProps27;
|
|
6435
6449
|
|
|
6436
6450
|
// src/list/list-angular.spec.tsx
|
|
6437
|
-
var
|
|
6451
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6438
6452
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6439
6453
|
var states32 = [];
|
|
6440
6454
|
var options29 = {
|
|
@@ -6461,7 +6475,7 @@ var ListAngular = (props) => {
|
|
|
6461
6475
|
listHeader = child.props.label;
|
|
6462
6476
|
child.props.children.map((optChild, index2) => {
|
|
6463
6477
|
listChildren.push(
|
|
6464
|
-
/* @__PURE__ */ (0,
|
|
6478
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6465
6479
|
ListItem,
|
|
6466
6480
|
{
|
|
6467
6481
|
...optChild.props
|
|
@@ -6472,7 +6486,7 @@ var ListAngular = (props) => {
|
|
|
6472
6486
|
});
|
|
6473
6487
|
} else {
|
|
6474
6488
|
listChildren.push(
|
|
6475
|
-
/* @__PURE__ */ (0,
|
|
6489
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6476
6490
|
ListGroupItem,
|
|
6477
6491
|
{
|
|
6478
6492
|
...child.props,
|
|
@@ -6483,7 +6497,7 @@ var ListAngular = (props) => {
|
|
|
6483
6497
|
);
|
|
6484
6498
|
child.props.children.map((optChild, index2) => {
|
|
6485
6499
|
listChildren.push(
|
|
6486
|
-
/* @__PURE__ */ (0,
|
|
6500
|
+
/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
6487
6501
|
ListItem,
|
|
6488
6502
|
{
|
|
6489
6503
|
...optChild.props
|
|
@@ -6493,16 +6507,16 @@ var ListAngular = (props) => {
|
|
|
6493
6507
|
);
|
|
6494
6508
|
});
|
|
6495
6509
|
}
|
|
6496
|
-
listGroup = /* @__PURE__ */ (0,
|
|
6510
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6497
6511
|
} else if (child.type === ListItem) {
|
|
6498
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
6499
|
-
listContent = /* @__PURE__ */ (0,
|
|
6512
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
6513
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ListContent, { virtualization, children: listChildren });
|
|
6500
6514
|
}
|
|
6501
6515
|
});
|
|
6502
6516
|
} else {
|
|
6503
|
-
listContent = /* @__PURE__ */ (0,
|
|
6517
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(NoData, { children: "No data found." });
|
|
6504
6518
|
}
|
|
6505
|
-
return /* @__PURE__ */ (0,
|
|
6519
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
|
|
6506
6520
|
"div",
|
|
6507
6521
|
{
|
|
6508
6522
|
...other,
|
|
@@ -6529,7 +6543,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
6529
6543
|
ListAngular.defaultProps = defaultProps28;
|
|
6530
6544
|
|
|
6531
6545
|
// src/list/list-item.spec.tsx
|
|
6532
|
-
var
|
|
6546
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6533
6547
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6534
6548
|
var states33 = [
|
|
6535
6549
|
States.hover,
|
|
@@ -6554,7 +6568,7 @@ var ListItem = (props) => {
|
|
|
6554
6568
|
...other
|
|
6555
6569
|
} = props;
|
|
6556
6570
|
const textOrChildren = text ? text : props.children;
|
|
6557
|
-
return /* @__PURE__ */ (0,
|
|
6571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
6558
6572
|
"li",
|
|
6559
6573
|
{
|
|
6560
6574
|
...other,
|
|
@@ -6569,10 +6583,10 @@ var ListItem = (props) => {
|
|
|
6569
6583
|
})
|
|
6570
6584
|
),
|
|
6571
6585
|
children: [
|
|
6572
|
-
showCheckbox && /* @__PURE__ */ (0,
|
|
6573
|
-
showIcon && /* @__PURE__ */ (0,
|
|
6574
|
-
/* @__PURE__ */ (0,
|
|
6575
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0,
|
|
6586
|
+
showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Checkbox, { checked }),
|
|
6587
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Icon, { icon: iconName }),
|
|
6588
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6589
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6576
6590
|
]
|
|
6577
6591
|
}
|
|
6578
6592
|
);
|
|
@@ -6583,43 +6597,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
6583
6597
|
ListItem.defaultProps = defaultProps29;
|
|
6584
6598
|
|
|
6585
6599
|
// src/list/list-content.tsx
|
|
6586
|
-
var
|
|
6600
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6587
6601
|
var className15 = `k-list-content`;
|
|
6588
6602
|
var ListContent = (props) => {
|
|
6589
6603
|
const {
|
|
6590
6604
|
virtualization
|
|
6591
6605
|
} = props;
|
|
6592
|
-
return /* @__PURE__ */ (0,
|
|
6593
|
-
/* @__PURE__ */ (0,
|
|
6594
|
-
virtualization && /* @__PURE__ */ (0,
|
|
6606
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: classNames(className15, props.className), children: [
|
|
6607
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6608
|
+
virtualization && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", {}) })
|
|
6595
6609
|
] });
|
|
6596
6610
|
};
|
|
6597
6611
|
|
|
6598
6612
|
// src/list/list-header.tsx
|
|
6599
|
-
var
|
|
6613
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6600
6614
|
var className16 = `k-list-group-sticky-header`;
|
|
6601
|
-
var ListHeader = (props) => /* @__PURE__ */ (0,
|
|
6615
|
+
var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: classNames(className16, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "k-list-header-text", children: props.children }) });
|
|
6602
6616
|
|
|
6603
6617
|
// src/list/list-group.tsx
|
|
6604
|
-
var
|
|
6618
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6605
6619
|
var ListGroup = (props) => {
|
|
6606
6620
|
const {
|
|
6607
6621
|
virtualization,
|
|
6608
6622
|
label
|
|
6609
6623
|
} = props;
|
|
6610
|
-
return /* @__PURE__ */ (0,
|
|
6611
|
-
label && /* @__PURE__ */ (0,
|
|
6612
|
-
props.children && /* @__PURE__ */ (0,
|
|
6624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
|
|
6625
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ListHeader, { children: label }),
|
|
6626
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ListContent, { virtualization, children: props.children })
|
|
6613
6627
|
] });
|
|
6614
6628
|
};
|
|
6615
6629
|
|
|
6616
6630
|
// src/list/list-group-item.tsx
|
|
6617
|
-
var
|
|
6631
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6618
6632
|
var className17 = `k-list-group-item`;
|
|
6619
|
-
var ListGroupItem = (props) => /* @__PURE__ */ (0,
|
|
6633
|
+
var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("li", { className: classNames(className17, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "k-list-item-text", children: props.children }) });
|
|
6620
6634
|
|
|
6621
6635
|
// src/list/list-option-label.tsx
|
|
6622
|
-
var
|
|
6636
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6623
6637
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6624
6638
|
var states34 = [
|
|
6625
6639
|
States.hover,
|
|
@@ -6638,7 +6652,7 @@ var ListOptionLabel = (props) => {
|
|
|
6638
6652
|
disabled,
|
|
6639
6653
|
...other
|
|
6640
6654
|
} = props;
|
|
6641
|
-
return /* @__PURE__ */ (0,
|
|
6655
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
6642
6656
|
"div",
|
|
6643
6657
|
{
|
|
6644
6658
|
...other,
|
|
@@ -6661,28 +6675,28 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
6661
6675
|
ListOptionLabel.defaultProps = defaultProps30;
|
|
6662
6676
|
|
|
6663
6677
|
// src/list/templates/list-normal.tsx
|
|
6664
|
-
var
|
|
6678
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
6665
6679
|
|
|
6666
6680
|
// src/list/templates/list-virtualization.tsx
|
|
6667
|
-
var
|
|
6681
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
6668
6682
|
|
|
6669
6683
|
// src/list/templates/list-grouping.tsx
|
|
6670
|
-
var
|
|
6684
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
6671
6685
|
|
|
6672
6686
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6673
|
-
var
|
|
6687
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
6674
6688
|
|
|
6675
6689
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6676
|
-
var
|
|
6690
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
6677
6691
|
|
|
6678
6692
|
// src/list/templates/list-grouping-angular.tsx
|
|
6679
|
-
var
|
|
6693
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
6680
6694
|
|
|
6681
6695
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6682
|
-
var
|
|
6696
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
6683
6697
|
|
|
6684
6698
|
// src/combobox/combobox.spec.tsx
|
|
6685
|
-
var
|
|
6699
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
6686
6700
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6687
6701
|
var states35 = [
|
|
6688
6702
|
States.hover,
|
|
@@ -6727,8 +6741,8 @@ var Combobox = (props) => {
|
|
|
6727
6741
|
adaptiveSettings,
|
|
6728
6742
|
...other
|
|
6729
6743
|
} = props;
|
|
6730
|
-
return /* @__PURE__ */ (0,
|
|
6731
|
-
/* @__PURE__ */ (0,
|
|
6744
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
|
|
6745
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
6732
6746
|
Input,
|
|
6733
6747
|
{
|
|
6734
6748
|
...other,
|
|
@@ -6745,9 +6759,9 @@ var Combobox = (props) => {
|
|
|
6745
6759
|
readonly,
|
|
6746
6760
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6747
6761
|
children: [
|
|
6748
|
-
/* @__PURE__ */ (0,
|
|
6749
|
-
/* @__PURE__ */ (0,
|
|
6750
|
-
/* @__PURE__ */ (0,
|
|
6762
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(InputPrefix, { children: prefix }),
|
|
6763
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(InputInnerInput, { placeholder, value }),
|
|
6764
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
6751
6765
|
InputValidationIcon,
|
|
6752
6766
|
{
|
|
6753
6767
|
valid,
|
|
@@ -6756,14 +6770,14 @@ var Combobox = (props) => {
|
|
|
6756
6770
|
disabled
|
|
6757
6771
|
}
|
|
6758
6772
|
),
|
|
6759
|
-
/* @__PURE__ */ (0,
|
|
6773
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
6760
6774
|
InputLoadingIcon,
|
|
6761
6775
|
{
|
|
6762
6776
|
loading,
|
|
6763
6777
|
disabled
|
|
6764
6778
|
}
|
|
6765
6779
|
),
|
|
6766
|
-
/* @__PURE__ */ (0,
|
|
6780
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
6767
6781
|
InputClearValue,
|
|
6768
6782
|
{
|
|
6769
6783
|
loading,
|
|
@@ -6772,8 +6786,8 @@ var Combobox = (props) => {
|
|
|
6772
6786
|
value
|
|
6773
6787
|
}
|
|
6774
6788
|
),
|
|
6775
|
-
/* @__PURE__ */ (0,
|
|
6776
|
-
/* @__PURE__ */ (0,
|
|
6789
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(InputSuffix, { children: suffix }),
|
|
6790
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
6777
6791
|
Button,
|
|
6778
6792
|
{
|
|
6779
6793
|
className: "k-input-button",
|
|
@@ -6786,9 +6800,9 @@ var Combobox = (props) => {
|
|
|
6786
6800
|
]
|
|
6787
6801
|
}
|
|
6788
6802
|
),
|
|
6789
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
6790
|
-
adaptive && /* @__PURE__ */ (0,
|
|
6791
|
-
/* @__PURE__ */ (0,
|
|
6803
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6804
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6805
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
6792
6806
|
ActionSheetHeader,
|
|
6793
6807
|
{
|
|
6794
6808
|
actions: ["x"],
|
|
@@ -6796,10 +6810,10 @@ var Combobox = (props) => {
|
|
|
6796
6810
|
title: "Select Item"
|
|
6797
6811
|
}
|
|
6798
6812
|
),
|
|
6799
|
-
/* @__PURE__ */ (0,
|
|
6800
|
-
/* @__PURE__ */ (0,
|
|
6801
|
-
/* @__PURE__ */ (0,
|
|
6802
|
-
/* @__PURE__ */ (0,
|
|
6813
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(List, { size: "large", children: [
|
|
6814
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ListItem, { text: "List item" }),
|
|
6815
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ListItem, { text: "List item" }),
|
|
6816
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ListItem, { text: "List item" })
|
|
6803
6817
|
] }) })
|
|
6804
6818
|
] })
|
|
6805
6819
|
] });
|
|
@@ -6810,22 +6824,22 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
6810
6824
|
Combobox.defaultProps = defaultProps31;
|
|
6811
6825
|
|
|
6812
6826
|
// src/combobox/templates/combobox-normal.tsx
|
|
6813
|
-
var
|
|
6827
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
6814
6828
|
|
|
6815
6829
|
// src/combobox/templates/combobox-popup.tsx
|
|
6816
|
-
var
|
|
6830
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6817
6831
|
|
|
6818
6832
|
// src/combobox/templates/combobox-grouping.tsx
|
|
6819
|
-
var
|
|
6833
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
6820
6834
|
|
|
6821
6835
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
6822
|
-
var
|
|
6836
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
6823
6837
|
|
|
6824
6838
|
// src/chip/chip-action.tsx
|
|
6825
|
-
var
|
|
6839
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
6826
6840
|
|
|
6827
6841
|
// src/avatar/avatar.spec.tsx
|
|
6828
|
-
var
|
|
6842
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
6829
6843
|
var AVATAR_CLASSNAME = `k-avatar`;
|
|
6830
6844
|
var states36 = [
|
|
6831
6845
|
States.hover,
|
|
@@ -6870,7 +6884,7 @@ var Avatar = (props) => {
|
|
|
6870
6884
|
border = defaultProps32.border,
|
|
6871
6885
|
...other
|
|
6872
6886
|
} = props;
|
|
6873
|
-
return /* @__PURE__ */ (0,
|
|
6887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
6874
6888
|
"div",
|
|
6875
6889
|
{
|
|
6876
6890
|
...other,
|
|
@@ -6887,7 +6901,7 @@ var Avatar = (props) => {
|
|
|
6887
6901
|
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
6888
6902
|
}
|
|
6889
6903
|
),
|
|
6890
|
-
children: /* @__PURE__ */ (0,
|
|
6904
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
6891
6905
|
}
|
|
6892
6906
|
);
|
|
6893
6907
|
};
|
|
@@ -6897,16 +6911,16 @@ Avatar.className = AVATAR_CLASSNAME;
|
|
|
6897
6911
|
Avatar.defaultProps = defaultProps32;
|
|
6898
6912
|
|
|
6899
6913
|
// src/avatar/templates/avatar-icon.tsx
|
|
6900
|
-
var
|
|
6914
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
6901
6915
|
|
|
6902
6916
|
// src/avatar/templates/avatar-text.tsx
|
|
6903
|
-
var
|
|
6917
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
6904
6918
|
|
|
6905
6919
|
// src/avatar/templates/avatar-image.tsx
|
|
6906
|
-
var
|
|
6920
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6907
6921
|
|
|
6908
6922
|
// src/chip/chip.spec.tsx
|
|
6909
|
-
var
|
|
6923
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
6910
6924
|
var CHIP_CLASSNAME = `k-chip`;
|
|
6911
6925
|
var states37 = [
|
|
6912
6926
|
States.hover,
|
|
@@ -6950,7 +6964,7 @@ var Chip = (props) => {
|
|
|
6950
6964
|
disabled,
|
|
6951
6965
|
...other
|
|
6952
6966
|
} = props;
|
|
6953
|
-
return /* @__PURE__ */ (0,
|
|
6967
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
|
|
6954
6968
|
"div",
|
|
6955
6969
|
{
|
|
6956
6970
|
...other,
|
|
@@ -6972,10 +6986,10 @@ var Chip = (props) => {
|
|
|
6972
6986
|
})
|
|
6973
6987
|
),
|
|
6974
6988
|
children: [
|
|
6975
|
-
icon && /* @__PURE__ */ (0,
|
|
6976
|
-
showAvatar && /* @__PURE__ */ (0,
|
|
6977
|
-
/* @__PURE__ */ (0,
|
|
6978
|
-
actions && /* @__PURE__ */ (0,
|
|
6989
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Icon, { className: "k-chip-icon", icon, size: "small" }),
|
|
6990
|
+
showAvatar && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: "/packages/html/assets/avatar.jpg" }) }),
|
|
6991
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
|
|
6992
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "k-chip-actions", children: actions })
|
|
6979
6993
|
]
|
|
6980
6994
|
}
|
|
6981
6995
|
);
|
|
@@ -6986,7 +7000,7 @@ Chip.className = CHIP_CLASSNAME;
|
|
|
6986
7000
|
Chip.defaultProps = defaultProps33;
|
|
6987
7001
|
|
|
6988
7002
|
// src/chip/chip-list.spec.tsx
|
|
6989
|
-
var
|
|
7003
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
6990
7004
|
var CHIPLIST_CLASSNAME = `k-chip-list`;
|
|
6991
7005
|
var states38 = [];
|
|
6992
7006
|
var options35 = {
|
|
@@ -7000,7 +7014,7 @@ var ChipList = (props) => {
|
|
|
7000
7014
|
size = defaultProps34.size,
|
|
7001
7015
|
...other
|
|
7002
7016
|
} = props;
|
|
7003
|
-
return /* @__PURE__ */ (0,
|
|
7017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
|
|
7004
7018
|
"div",
|
|
7005
7019
|
{
|
|
7006
7020
|
...other,
|
|
@@ -7021,19 +7035,19 @@ ChipList.className = CHIPLIST_CLASSNAME;
|
|
|
7021
7035
|
ChipList.defaultProps = defaultProps34;
|
|
7022
7036
|
|
|
7023
7037
|
// src/chip/templates/chip-avatar.tsx
|
|
7024
|
-
var
|
|
7038
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
7025
7039
|
|
|
7026
7040
|
// src/chip/templates/chip-icon.tsx
|
|
7027
|
-
var
|
|
7041
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
7028
7042
|
|
|
7029
7043
|
// src/chip/templates/chip-normal.tsx
|
|
7030
|
-
var
|
|
7044
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
7031
7045
|
|
|
7032
7046
|
// src/chip/templates/chip-removable.tsx
|
|
7033
|
-
var
|
|
7047
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
7034
7048
|
|
|
7035
7049
|
// src/multiselect/multiselect.spec.tsx
|
|
7036
|
-
var
|
|
7050
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
7037
7051
|
var MULTISELECT_CLASSNAME = `k-multiselect`;
|
|
7038
7052
|
var states39 = [
|
|
7039
7053
|
States.hover,
|
|
@@ -7080,8 +7094,8 @@ var MultiSelect = (props) => {
|
|
|
7080
7094
|
adaptiveSettings,
|
|
7081
7095
|
...other
|
|
7082
7096
|
} = props;
|
|
7083
|
-
return /* @__PURE__ */ (0,
|
|
7084
|
-
/* @__PURE__ */ (0,
|
|
7097
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_jsx_runtime99.Fragment, { children: [
|
|
7098
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
|
|
7085
7099
|
Input,
|
|
7086
7100
|
{
|
|
7087
7101
|
...other,
|
|
@@ -7098,12 +7112,12 @@ var MultiSelect = (props) => {
|
|
|
7098
7112
|
readonly,
|
|
7099
7113
|
className: classNames(props.className, MULTISELECT_CLASSNAME),
|
|
7100
7114
|
children: [
|
|
7101
|
-
/* @__PURE__ */ (0,
|
|
7102
|
-
/* @__PURE__ */ (0,
|
|
7103
|
-
/* @__PURE__ */ (0,
|
|
7104
|
-
/* @__PURE__ */ (0,
|
|
7115
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(InputPrefix, { children: prefix }),
|
|
7116
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "k-input-values", children: [
|
|
7117
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ChipList, { size, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_jsx_runtime99.Fragment, { children: tags }) }),
|
|
7118
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(InputInnerInput, { placeholder, value })
|
|
7105
7119
|
] }),
|
|
7106
|
-
/* @__PURE__ */ (0,
|
|
7120
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7107
7121
|
InputValidationIcon,
|
|
7108
7122
|
{
|
|
7109
7123
|
valid,
|
|
@@ -7112,14 +7126,14 @@ var MultiSelect = (props) => {
|
|
|
7112
7126
|
disabled
|
|
7113
7127
|
}
|
|
7114
7128
|
),
|
|
7115
|
-
/* @__PURE__ */ (0,
|
|
7129
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7116
7130
|
InputLoadingIcon,
|
|
7117
7131
|
{
|
|
7118
7132
|
loading,
|
|
7119
7133
|
disabled
|
|
7120
7134
|
}
|
|
7121
7135
|
),
|
|
7122
|
-
/* @__PURE__ */ (0,
|
|
7136
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7123
7137
|
InputClearValue,
|
|
7124
7138
|
{
|
|
7125
7139
|
loading,
|
|
@@ -7128,8 +7142,8 @@ var MultiSelect = (props) => {
|
|
|
7128
7142
|
value: tags ? "value" : ""
|
|
7129
7143
|
}
|
|
7130
7144
|
),
|
|
7131
|
-
/* @__PURE__ */ (0,
|
|
7132
|
-
showArrowButton && /* @__PURE__ */ (0,
|
|
7145
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(InputSuffix, { children: suffix }),
|
|
7146
|
+
showArrowButton && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7133
7147
|
Button,
|
|
7134
7148
|
{
|
|
7135
7149
|
className: "k-input-button",
|
|
@@ -7142,9 +7156,9 @@ var MultiSelect = (props) => {
|
|
|
7142
7156
|
]
|
|
7143
7157
|
}
|
|
7144
7158
|
),
|
|
7145
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
7146
|
-
adaptive && /* @__PURE__ */ (0,
|
|
7147
|
-
/* @__PURE__ */ (0,
|
|
7159
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Popup, { className: "k-list-container k-multiselect-popup", children: popup }),
|
|
7160
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7161
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
7148
7162
|
ActionSheetHeader,
|
|
7149
7163
|
{
|
|
7150
7164
|
actions: ["x"],
|
|
@@ -7152,10 +7166,10 @@ var MultiSelect = (props) => {
|
|
|
7152
7166
|
title: "Select Item"
|
|
7153
7167
|
}
|
|
7154
7168
|
),
|
|
7155
|
-
/* @__PURE__ */ (0,
|
|
7156
|
-
/* @__PURE__ */ (0,
|
|
7157
|
-
/* @__PURE__ */ (0,
|
|
7158
|
-
/* @__PURE__ */ (0,
|
|
7169
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(List, { size: "large", children: [
|
|
7170
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ListItem, { text: "List item" }),
|
|
7171
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ListItem, { text: "List item" }),
|
|
7172
|
+
/* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ListItem, { text: "List item" })
|
|
7159
7173
|
] }) })
|
|
7160
7174
|
] })
|
|
7161
7175
|
] });
|
|
@@ -7166,25 +7180,25 @@ MultiSelect.className = MULTISELECT_CLASSNAME;
|
|
|
7166
7180
|
MultiSelect.defaultProps = defaultProps35;
|
|
7167
7181
|
|
|
7168
7182
|
// src/multiselect/templates/multiselect-normal.tsx
|
|
7169
|
-
var
|
|
7183
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
7170
7184
|
|
|
7171
7185
|
// src/multiselect/templates/multiselect-popup.tsx
|
|
7172
|
-
var
|
|
7186
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
7173
7187
|
|
|
7174
7188
|
// src/multiselect/templates/multiselect-value.tsx
|
|
7175
|
-
var
|
|
7189
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
7176
7190
|
|
|
7177
7191
|
// src/multiselect/templates/multiselect-arrow-button.tsx
|
|
7178
|
-
var
|
|
7192
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
7179
7193
|
|
|
7180
7194
|
// src/multiselect/templates/multiselect-adaptive.tsx
|
|
7181
|
-
var
|
|
7195
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
7182
7196
|
|
|
7183
7197
|
// src/multiselect/templates/multiselect-grouping.tsx
|
|
7184
|
-
var
|
|
7198
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
7185
7199
|
|
|
7186
7200
|
// src/form/form-field.tsx
|
|
7187
|
-
var
|
|
7201
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
7188
7202
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
7189
7203
|
var states40 = [
|
|
7190
7204
|
States.disabled
|
|
@@ -7202,7 +7216,7 @@ var FormField = (props) => {
|
|
|
7202
7216
|
dir,
|
|
7203
7217
|
colSpan
|
|
7204
7218
|
} = props;
|
|
7205
|
-
return /* @__PURE__ */ (0,
|
|
7219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
7206
7220
|
"div",
|
|
7207
7221
|
{
|
|
7208
7222
|
className: classNames(
|
|
@@ -7215,19 +7229,19 @@ var FormField = (props) => {
|
|
|
7215
7229
|
),
|
|
7216
7230
|
dir,
|
|
7217
7231
|
children: [
|
|
7218
|
-
label && /* @__PURE__ */ (0,
|
|
7232
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("label", { className: classNames(
|
|
7219
7233
|
"k-label",
|
|
7220
7234
|
"k-form-label"
|
|
7221
7235
|
), children: [
|
|
7222
7236
|
label,
|
|
7223
|
-
optional && /* @__PURE__ */ (0,
|
|
7224
|
-
info && /* @__PURE__ */ (0,
|
|
7237
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
7238
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
7225
7239
|
] }),
|
|
7226
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
7227
|
-
/* @__PURE__ */ (0,
|
|
7240
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
7241
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
7228
7242
|
editor,
|
|
7229
|
-
hint && /* @__PURE__ */ (0,
|
|
7230
|
-
error && /* @__PURE__ */ (0,
|
|
7243
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
7244
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: "k-form-error", children: error })
|
|
7231
7245
|
] })
|
|
7232
7246
|
]
|
|
7233
7247
|
}
|
|
@@ -7236,7 +7250,7 @@ var FormField = (props) => {
|
|
|
7236
7250
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
7237
7251
|
|
|
7238
7252
|
// src/form/fieldset.tsx
|
|
7239
|
-
var
|
|
7253
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
7240
7254
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
7241
7255
|
var Fieldset = (props) => {
|
|
7242
7256
|
const {
|
|
@@ -7246,9 +7260,9 @@ var Fieldset = (props) => {
|
|
|
7246
7260
|
gapX,
|
|
7247
7261
|
gapY
|
|
7248
7262
|
} = props;
|
|
7249
|
-
return /* @__PURE__ */ (0,
|
|
7250
|
-
legend && /* @__PURE__ */ (0,
|
|
7251
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
7263
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
7264
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
7265
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: classNames(
|
|
7252
7266
|
"k-form-layout",
|
|
7253
7267
|
"k-d-grid",
|
|
7254
7268
|
{
|
|
@@ -7256,13 +7270,13 @@ var Fieldset = (props) => {
|
|
|
7256
7270
|
[`k-gap-x-${gapX}`]: gapX,
|
|
7257
7271
|
[`k-gap-y-${gapY}`]: gapY
|
|
7258
7272
|
}
|
|
7259
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
7273
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_jsx_runtime107.Fragment, { children: props.children })
|
|
7260
7274
|
] });
|
|
7261
7275
|
};
|
|
7262
7276
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
7263
7277
|
|
|
7264
7278
|
// src/form/form.spec.tsx
|
|
7265
|
-
var
|
|
7279
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
7266
7280
|
var import_react = require("react");
|
|
7267
7281
|
var FORM_CLASSNAME = "k-form";
|
|
7268
7282
|
var states41 = [];
|
|
@@ -7286,7 +7300,7 @@ var Form = (props) => {
|
|
|
7286
7300
|
tag = defaultProps36.tag,
|
|
7287
7301
|
children
|
|
7288
7302
|
} = props;
|
|
7289
|
-
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
7303
|
+
const Parent = ({ tag: tag2, className: className18, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("form", { className: className18, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: className18, children: children2 });
|
|
7290
7304
|
const formChildren = [];
|
|
7291
7305
|
if (children) {
|
|
7292
7306
|
if (Array.isArray(children)) {
|
|
@@ -7305,7 +7319,7 @@ var Form = (props) => {
|
|
|
7305
7319
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
7306
7320
|
}
|
|
7307
7321
|
}
|
|
7308
|
-
return /* @__PURE__ */ (0,
|
|
7322
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(Parent, { tag, className: classNames(
|
|
7309
7323
|
props.className,
|
|
7310
7324
|
FORM_CLASSNAME,
|
|
7311
7325
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -7315,7 +7329,7 @@ var Form = (props) => {
|
|
|
7315
7329
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
7316
7330
|
}
|
|
7317
7331
|
), children: [
|
|
7318
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
7332
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: classNames(
|
|
7319
7333
|
"k-form-layout",
|
|
7320
7334
|
"k-d-grid",
|
|
7321
7335
|
{
|
|
@@ -7323,8 +7337,8 @@ var Form = (props) => {
|
|
|
7323
7337
|
[`k-gap-x-${gapX}`]: gapX,
|
|
7324
7338
|
[`k-gap-y-${gapY}`]: gapY
|
|
7325
7339
|
}
|
|
7326
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
7327
|
-
formButtons && /* @__PURE__ */ (0,
|
|
7340
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: formChildren }),
|
|
7341
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
7328
7342
|
] });
|
|
7329
7343
|
};
|
|
7330
7344
|
Form.states = states41;
|
|
@@ -7333,7 +7347,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
7333
7347
|
Form.defaultProps = defaultProps36;
|
|
7334
7348
|
|
|
7335
7349
|
// src/spinbutton/spinbutton.spec.tsx
|
|
7336
|
-
var
|
|
7350
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
7337
7351
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
7338
7352
|
var states42 = [];
|
|
7339
7353
|
var options38 = {
|
|
@@ -7350,7 +7364,7 @@ var SpinButton = (props) => {
|
|
|
7350
7364
|
fillMode = defaultProps37.fillMode,
|
|
7351
7365
|
...other
|
|
7352
7366
|
} = props;
|
|
7353
|
-
return /* @__PURE__ */ (0,
|
|
7367
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
7354
7368
|
"span",
|
|
7355
7369
|
{
|
|
7356
7370
|
...other,
|
|
@@ -7359,7 +7373,7 @@ var SpinButton = (props) => {
|
|
|
7359
7373
|
props.className
|
|
7360
7374
|
),
|
|
7361
7375
|
children: [
|
|
7362
|
-
/* @__PURE__ */ (0,
|
|
7376
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
7363
7377
|
Button,
|
|
7364
7378
|
{
|
|
7365
7379
|
className: "k-spinner-increase",
|
|
@@ -7369,7 +7383,7 @@ var SpinButton = (props) => {
|
|
|
7369
7383
|
fillMode
|
|
7370
7384
|
}
|
|
7371
7385
|
),
|
|
7372
|
-
/* @__PURE__ */ (0,
|
|
7386
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
7373
7387
|
Button,
|
|
7374
7388
|
{
|
|
7375
7389
|
className: "k-spinner-decrease",
|
|
@@ -7389,7 +7403,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
7389
7403
|
SpinButton.defaultProps = defaultProps37;
|
|
7390
7404
|
|
|
7391
7405
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
7392
|
-
var
|
|
7406
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
7393
7407
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
7394
7408
|
var states43 = [
|
|
7395
7409
|
States.hover,
|
|
@@ -7432,7 +7446,7 @@ var NumericTextbox = (props) => {
|
|
|
7432
7446
|
showSpinButton = defaultProps38.showSpinButton,
|
|
7433
7447
|
...other
|
|
7434
7448
|
} = props;
|
|
7435
|
-
return /* @__PURE__ */ (0,
|
|
7449
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(
|
|
7436
7450
|
Input,
|
|
7437
7451
|
{
|
|
7438
7452
|
...other,
|
|
@@ -7449,8 +7463,8 @@ var NumericTextbox = (props) => {
|
|
|
7449
7463
|
readonly,
|
|
7450
7464
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
7451
7465
|
children: [
|
|
7452
|
-
/* @__PURE__ */ (0,
|
|
7453
|
-
/* @__PURE__ */ (0,
|
|
7466
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(InputInnerInput, { placeholder, value }),
|
|
7467
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7454
7468
|
InputValidationIcon,
|
|
7455
7469
|
{
|
|
7456
7470
|
valid,
|
|
@@ -7459,14 +7473,14 @@ var NumericTextbox = (props) => {
|
|
|
7459
7473
|
disabled
|
|
7460
7474
|
}
|
|
7461
7475
|
),
|
|
7462
|
-
/* @__PURE__ */ (0,
|
|
7476
|
+
/* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7463
7477
|
InputLoadingIcon,
|
|
7464
7478
|
{
|
|
7465
7479
|
loading,
|
|
7466
7480
|
disabled
|
|
7467
7481
|
}
|
|
7468
7482
|
),
|
|
7469
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
7483
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7470
7484
|
InputClearValue,
|
|
7471
7485
|
{
|
|
7472
7486
|
loading,
|
|
@@ -7475,7 +7489,7 @@ var NumericTextbox = (props) => {
|
|
|
7475
7489
|
value
|
|
7476
7490
|
}
|
|
7477
7491
|
),
|
|
7478
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
7492
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7479
7493
|
SpinButton,
|
|
7480
7494
|
{
|
|
7481
7495
|
className: "k-input-spinner",
|
|
@@ -7493,10 +7507,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
7493
7507
|
NumericTextbox.defaultProps = defaultProps38;
|
|
7494
7508
|
|
|
7495
7509
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
7496
|
-
var
|
|
7510
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
7497
7511
|
|
|
7498
7512
|
// src/radio/radio.spec.tsx
|
|
7499
|
-
var
|
|
7513
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
7500
7514
|
var RADIOBUTTON_CLASSNAME = `k-radio`;
|
|
7501
7515
|
var states44 = [
|
|
7502
7516
|
States.hover,
|
|
@@ -7526,7 +7540,7 @@ var RadioButton = (props) => {
|
|
|
7526
7540
|
size = defaultProps39.size,
|
|
7527
7541
|
...other
|
|
7528
7542
|
} = props;
|
|
7529
|
-
return /* @__PURE__ */ (0,
|
|
7543
|
+
return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { className: "k-radio-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
|
|
7530
7544
|
"input",
|
|
7531
7545
|
{
|
|
7532
7546
|
...other,
|
|
@@ -7550,7 +7564,7 @@ RadioButton.defaultProps = defaultProps39;
|
|
|
7550
7564
|
var radio_spec_default = RadioButton;
|
|
7551
7565
|
|
|
7552
7566
|
// src/radio/radio-group.spec.tsx
|
|
7553
|
-
var
|
|
7567
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
7554
7568
|
var RADIOGROUP_CLASSNAME = `k-radio-list`;
|
|
7555
7569
|
var states45 = [];
|
|
7556
7570
|
var options41 = {};
|
|
@@ -7562,7 +7576,7 @@ var RadioGroup = (props) => {
|
|
|
7562
7576
|
layout = defaultProps40.layout,
|
|
7563
7577
|
...other
|
|
7564
7578
|
} = props;
|
|
7565
|
-
return /* @__PURE__ */ (0,
|
|
7579
|
+
return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7566
7580
|
"ul",
|
|
7567
7581
|
{
|
|
7568
7582
|
...other,
|
|
@@ -7583,7 +7597,7 @@ RadioGroup.className = RADIOGROUP_CLASSNAME;
|
|
|
7583
7597
|
RadioGroup.defaultProps = defaultProps40;
|
|
7584
7598
|
|
|
7585
7599
|
// src/radio/radio-item.spec.tsx
|
|
7586
|
-
var
|
|
7600
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
7587
7601
|
var RADIOITEM_CLASSNAME = `k-radio-list-item`;
|
|
7588
7602
|
var states46 = [];
|
|
7589
7603
|
var options42 = {};
|
|
@@ -7592,7 +7606,7 @@ var RadioItem = (props) => {
|
|
|
7592
7606
|
const {
|
|
7593
7607
|
...other
|
|
7594
7608
|
} = props;
|
|
7595
|
-
return /* @__PURE__ */ (0,
|
|
7609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
|
|
7596
7610
|
"li",
|
|
7597
7611
|
{
|
|
7598
7612
|
...other,
|
|
@@ -7610,23 +7624,23 @@ RadioItem.className = RADIOITEM_CLASSNAME;
|
|
|
7610
7624
|
RadioItem.defaultProps = defaultProps41;
|
|
7611
7625
|
|
|
7612
7626
|
// src/radio/templates/radio-normal.tsx
|
|
7613
|
-
var
|
|
7627
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
7614
7628
|
|
|
7615
7629
|
// src/radio/templates/radio-with-label-after.tsx
|
|
7616
|
-
var
|
|
7617
|
-
var RadioButtonWithLabelAfter = ({ children, id, ...other }) => /* @__PURE__ */ (0,
|
|
7618
|
-
/* @__PURE__ */ (0,
|
|
7619
|
-
/* @__PURE__ */ (0,
|
|
7630
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
7631
|
+
var RadioButtonWithLabelAfter = ({ children, id, ...other }) => /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_jsx_runtime116.Fragment, { children: [
|
|
7632
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)(radio_spec_default, { ...other, id }),
|
|
7633
|
+
/* @__PURE__ */ (0, import_jsx_runtime116.jsx)("label", { className: "k-radio-label", htmlFor: id, children })
|
|
7620
7634
|
] });
|
|
7621
7635
|
|
|
7622
7636
|
// src/radio/templates/radio-with-label-before.tsx
|
|
7623
|
-
var
|
|
7637
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
7624
7638
|
|
|
7625
7639
|
// src/radio/templates/radio-inside-label.tsx
|
|
7626
|
-
var
|
|
7640
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
7627
7641
|
|
|
7628
7642
|
// src/datepicker/datepicker.spec.tsx
|
|
7629
|
-
var
|
|
7643
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
7630
7644
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|
|
7631
7645
|
var states47 = [
|
|
7632
7646
|
States.hover,
|
|
@@ -7671,8 +7685,8 @@ var DatePicker = (props) => {
|
|
|
7671
7685
|
dir,
|
|
7672
7686
|
...other
|
|
7673
7687
|
} = props;
|
|
7674
|
-
return /* @__PURE__ */ (0,
|
|
7675
|
-
/* @__PURE__ */ (0,
|
|
7688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(import_jsx_runtime119.Fragment, { children: [
|
|
7689
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(
|
|
7676
7690
|
Input,
|
|
7677
7691
|
{
|
|
7678
7692
|
...other,
|
|
@@ -7690,9 +7704,9 @@ var DatePicker = (props) => {
|
|
|
7690
7704
|
readonly,
|
|
7691
7705
|
className: classNames(props.className, DATEPICKER_CLASSNAME),
|
|
7692
7706
|
children: [
|
|
7693
|
-
/* @__PURE__ */ (0,
|
|
7694
|
-
/* @__PURE__ */ (0,
|
|
7695
|
-
/* @__PURE__ */ (0,
|
|
7707
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(InputPrefix, { children: prefix }),
|
|
7708
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(InputInnerInput, { placeholder, value }),
|
|
7709
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
7696
7710
|
InputValidationIcon,
|
|
7697
7711
|
{
|
|
7698
7712
|
valid,
|
|
@@ -7701,14 +7715,14 @@ var DatePicker = (props) => {
|
|
|
7701
7715
|
disabled
|
|
7702
7716
|
}
|
|
7703
7717
|
),
|
|
7704
|
-
/* @__PURE__ */ (0,
|
|
7718
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
7705
7719
|
InputLoadingIcon,
|
|
7706
7720
|
{
|
|
7707
7721
|
loading,
|
|
7708
7722
|
disabled
|
|
7709
7723
|
}
|
|
7710
7724
|
),
|
|
7711
|
-
/* @__PURE__ */ (0,
|
|
7725
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
7712
7726
|
InputClearValue,
|
|
7713
7727
|
{
|
|
7714
7728
|
loading,
|
|
@@ -7717,8 +7731,8 @@ var DatePicker = (props) => {
|
|
|
7717
7731
|
value
|
|
7718
7732
|
}
|
|
7719
7733
|
),
|
|
7720
|
-
/* @__PURE__ */ (0,
|
|
7721
|
-
/* @__PURE__ */ (0,
|
|
7734
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(InputSuffix, { children: suffix }),
|
|
7735
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
7722
7736
|
Button,
|
|
7723
7737
|
{
|
|
7724
7738
|
className: "k-input-button",
|
|
@@ -7731,9 +7745,9 @@ var DatePicker = (props) => {
|
|
|
7731
7745
|
]
|
|
7732
7746
|
}
|
|
7733
7747
|
),
|
|
7734
|
-
opened && /* @__PURE__ */ (0,
|
|
7735
|
-
adaptive && /* @__PURE__ */ (0,
|
|
7736
|
-
/* @__PURE__ */ (0,
|
|
7748
|
+
opened && /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Popup, { className: "k-calendar-container k-datepicker-popup", children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Calendar, { dir }) }),
|
|
7749
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7750
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
7737
7751
|
ActionSheetHeader,
|
|
7738
7752
|
{
|
|
7739
7753
|
actions: ["x"],
|
|
@@ -7741,7 +7755,7 @@ var DatePicker = (props) => {
|
|
|
7741
7755
|
subTitle: "DD / MM / YY"
|
|
7742
7756
|
}
|
|
7743
7757
|
),
|
|
7744
|
-
/* @__PURE__ */ (0,
|
|
7758
|
+
/* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Calendar, { size: "large" })
|
|
7745
7759
|
] })
|
|
7746
7760
|
] });
|
|
7747
7761
|
};
|
|
@@ -7751,16 +7765,16 @@ DatePicker.className = DATEPICKER_CLASSNAME;
|
|
|
7751
7765
|
DatePicker.defaultProps = defaultProps42;
|
|
7752
7766
|
|
|
7753
7767
|
// src/datepicker/templates/datepicker-normal.tsx
|
|
7754
|
-
var
|
|
7768
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
7755
7769
|
|
|
7756
7770
|
// src/datepicker/templates/datepicker-popup.tsx
|
|
7757
|
-
var
|
|
7771
|
+
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
7758
7772
|
|
|
7759
7773
|
// src/datepicker/templates/datepicker-adaptive.tsx
|
|
7760
|
-
var
|
|
7774
|
+
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
7761
7775
|
|
|
7762
7776
|
// src/scheduler/tests/scheduler-editing-weekly.tsx
|
|
7763
|
-
var
|
|
7777
|
+
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
7764
7778
|
var style = `
|
|
7765
7779
|
#test-area {
|
|
7766
7780
|
width: 700px;
|
|
@@ -7770,71 +7784,71 @@ var style = `
|
|
|
7770
7784
|
position: relative;
|
|
7771
7785
|
}
|
|
7772
7786
|
`;
|
|
7773
|
-
var scheduler_editing_weekly_default = () => /* @__PURE__ */ (0,
|
|
7774
|
-
/* @__PURE__ */ (0,
|
|
7775
|
-
/* @__PURE__ */ (0,
|
|
7776
|
-
/* @__PURE__ */ (0,
|
|
7777
|
-
/* @__PURE__ */ (0,
|
|
7778
|
-
/* @__PURE__ */ (0,
|
|
7779
|
-
/* @__PURE__ */ (0,
|
|
7780
|
-
] }), children: /* @__PURE__ */ (0,
|
|
7781
|
-
/* @__PURE__ */ (0,
|
|
7782
|
-
/* @__PURE__ */ (0,
|
|
7783
|
-
/* @__PURE__ */ (0,
|
|
7784
|
-
/* @__PURE__ */ (0,
|
|
7785
|
-
/* @__PURE__ */ (0,
|
|
7787
|
+
var scheduler_editing_weekly_default = () => /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
7788
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("style", { children: style }),
|
|
7789
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(WindowNormal, { title: "Edit event", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
7790
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { themeColor: "primary", icon: "save", children: "Save" }),
|
|
7791
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { icon: "cancel", children: "Cancel" }),
|
|
7792
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { className: "k-spacer" }),
|
|
7793
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { fillMode: "flat", themeColor: "primary", icon: "trash", children: "Delete" })
|
|
7794
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(Form, { tag: "div", className: "k-scheduler-edit-form", children: [
|
|
7795
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { className: "k-form-field-error", label: "Title", error: "Error", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Textbox, { invalid: true, value: "Invalid" }) }),
|
|
7796
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Start", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" }) }),
|
|
7797
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
7798
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Checkbox, { checked: true }),
|
|
7799
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("label", { className: "k-checkbox-label", children: "Specify Time Zone" })
|
|
7786
7800
|
] }) }),
|
|
7787
|
-
/* @__PURE__ */ (0,
|
|
7788
|
-
/* @__PURE__ */ (0,
|
|
7789
|
-
/* @__PURE__ */ (0,
|
|
7790
|
-
/* @__PURE__ */ (0,
|
|
7791
|
-
/* @__PURE__ */ (0,
|
|
7801
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Start Time Zone", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Combobox, { placeholder: "Eastern European Summer Time (Sofia-Bulgaria)" }) }),
|
|
7802
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "End", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(DateTimePicker, { placeholder: "dd/MM/yyyy hh:mm AM" }) }),
|
|
7803
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
7804
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Checkbox, { checked: true }),
|
|
7805
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("label", { className: "k-checkbox-label", children: "End in different Time Zone" })
|
|
7792
7806
|
] }) }),
|
|
7793
|
-
/* @__PURE__ */ (0,
|
|
7794
|
-
/* @__PURE__ */ (0,
|
|
7795
|
-
/* @__PURE__ */ (0,
|
|
7796
|
-
/* @__PURE__ */ (0,
|
|
7807
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "End Time Zone", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Combobox, { placeholder: "Select Time Zone, Country, City" }) }),
|
|
7808
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
7809
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Checkbox, {}),
|
|
7810
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("label", { className: "k-checkbox-label", children: "All Day Event" })
|
|
7797
7811
|
] }) }),
|
|
7798
|
-
/* @__PURE__ */ (0,
|
|
7799
|
-
/* @__PURE__ */ (0,
|
|
7800
|
-
/* @__PURE__ */ (0,
|
|
7801
|
-
/* @__PURE__ */ (0,
|
|
7802
|
-
/* @__PURE__ */ (0,
|
|
7803
|
-
/* @__PURE__ */ (0,
|
|
7804
|
-
/* @__PURE__ */ (0,
|
|
7812
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Repeat", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: "k-recurrence-editor", children: [
|
|
7813
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(ButtonGroup, { stretched: true, className: "k-scheduler-recurrence-repeat", children: [
|
|
7814
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Never" }),
|
|
7815
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Daily" }),
|
|
7816
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { selected: true, children: "Weekly" }),
|
|
7817
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Monthly" }),
|
|
7818
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Yearly" })
|
|
7805
7819
|
] }),
|
|
7806
|
-
/* @__PURE__ */ (0,
|
|
7807
|
-
/* @__PURE__ */ (0,
|
|
7808
|
-
/* @__PURE__ */ (0,
|
|
7809
|
-
/* @__PURE__ */ (0,
|
|
7810
|
-
/* @__PURE__ */ (0,
|
|
7820
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: "k-recur-view", children: [
|
|
7821
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: "k-scheduler-recurrence-interval-editor", children: [
|
|
7822
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Repeat every:", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
|
|
7823
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(NumericTextbox, { className: "k-recur-interval" }),
|
|
7824
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { children: " weeks(s)" })
|
|
7811
7825
|
] }) }),
|
|
7812
|
-
/* @__PURE__ */ (0,
|
|
7813
|
-
/* @__PURE__ */ (0,
|
|
7814
|
-
/* @__PURE__ */ (0,
|
|
7815
|
-
/* @__PURE__ */ (0,
|
|
7816
|
-
/* @__PURE__ */ (0,
|
|
7817
|
-
/* @__PURE__ */ (0,
|
|
7818
|
-
/* @__PURE__ */ (0,
|
|
7819
|
-
/* @__PURE__ */ (0,
|
|
7826
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Repeat on:", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(ButtonGroup, { stretched: true, children: [
|
|
7827
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Sun" }),
|
|
7828
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { selected: true, children: "Mon" }),
|
|
7829
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Tue" }),
|
|
7830
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Wed" }),
|
|
7831
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Thu" }),
|
|
7832
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Fri" }),
|
|
7833
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Button, { children: "Sat" })
|
|
7820
7834
|
] }) })
|
|
7821
7835
|
] }),
|
|
7822
|
-
/* @__PURE__ */ (0,
|
|
7823
|
-
/* @__PURE__ */ (0,
|
|
7824
|
-
/* @__PURE__ */ (0,
|
|
7825
|
-
/* @__PURE__ */ (0,
|
|
7826
|
-
/* @__PURE__ */ (0,
|
|
7827
|
-
/* @__PURE__ */ (0,
|
|
7836
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { className: "k-scheduler-recurrence-end-rule-editor", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "End", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(RadioGroup, { children: [
|
|
7837
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RadioItem, { children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RadioButtonWithLabelAfter, { id: "k-endrule-never", children: "Never" }) }),
|
|
7838
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(RadioItem, { children: [
|
|
7839
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RadioButtonWithLabelAfter, { id: "k-endrule-count", children: "After" }),
|
|
7840
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(NumericTextbox, { className: "k-recur-count" }),
|
|
7841
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { children: "occurrence(s)" })
|
|
7828
7842
|
] }),
|
|
7829
|
-
/* @__PURE__ */ (0,
|
|
7830
|
-
/* @__PURE__ */ (0,
|
|
7831
|
-
/* @__PURE__ */ (0,
|
|
7843
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(RadioItem, { children: [
|
|
7844
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RadioButtonWithLabelAfter, { id: "k-endrule-until", children: "On" }),
|
|
7845
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(DatePicker, { className: "k-recur-until", disabled: true })
|
|
7832
7846
|
] })
|
|
7833
7847
|
] }) }) })
|
|
7834
7848
|
] })
|
|
7835
7849
|
] }) }),
|
|
7836
|
-
/* @__PURE__ */ (0,
|
|
7837
|
-
/* @__PURE__ */ (0,
|
|
7838
|
-
/* @__PURE__ */ (0,
|
|
7850
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Description", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Textarea, {}) }),
|
|
7851
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Owner", editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Combobox, { placeholder: "Select owner" }) }),
|
|
7852
|
+
/* @__PURE__ */ (0, import_jsx_runtime123.jsx)(FormField, { label: "Atendee", optional: true, editor: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(MultiSelect, { placeholder: "Invite people" }) })
|
|
7839
7853
|
] }) }) }) })
|
|
7840
7854
|
] });
|