@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4532,8 +4532,22 @@ Window.options = options6;
|
|
|
4532
4532
|
Window.className = WINDOW_CLASSNAME;
|
|
4533
4533
|
Window.defaultProps = defaultProps6;
|
|
4534
4534
|
|
|
4535
|
-
// src/
|
|
4535
|
+
// src/window/templates/window-normal.tsx
|
|
4536
4536
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4537
|
+
var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4538
|
+
Window,
|
|
4539
|
+
{
|
|
4540
|
+
title: "Title",
|
|
4541
|
+
actions: ["window-minimize", "window", "x"],
|
|
4542
|
+
children: [
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
|
|
4544
|
+
],
|
|
4545
|
+
...props
|
|
4546
|
+
}
|
|
4547
|
+
);
|
|
4548
|
+
|
|
4549
|
+
// src/input/input.spec.tsx
|
|
4550
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4537
4551
|
var INPUT_CLASSNAME = `k-input`;
|
|
4538
4552
|
var states7 = [
|
|
4539
4553
|
States.hover,
|
|
@@ -4569,7 +4583,7 @@ var Input = (props) => {
|
|
|
4569
4583
|
fillMode = defaultProps7.fillMode,
|
|
4570
4584
|
...other
|
|
4571
4585
|
} = props;
|
|
4572
|
-
return /* @__PURE__ */ (0,
|
|
4586
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
4573
4587
|
"span",
|
|
4574
4588
|
{
|
|
4575
4589
|
...other,
|
|
@@ -4588,7 +4602,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4588
4602
|
Input.defaultProps = defaultProps7;
|
|
4589
4603
|
|
|
4590
4604
|
// src/input/picker.spec.tsx
|
|
4591
|
-
var
|
|
4605
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4592
4606
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4593
4607
|
var pickerStates = [
|
|
4594
4608
|
States.hover,
|
|
@@ -4624,7 +4638,7 @@ var Picker = (props) => {
|
|
|
4624
4638
|
fillMode = defaultProps8.fillMode,
|
|
4625
4639
|
...other
|
|
4626
4640
|
} = props;
|
|
4627
|
-
return /* @__PURE__ */ (0,
|
|
4641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
4628
4642
|
"span",
|
|
4629
4643
|
{
|
|
4630
4644
|
...other,
|
|
@@ -4644,7 +4658,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4644
4658
|
Picker.defaultProps = defaultProps8;
|
|
4645
4659
|
|
|
4646
4660
|
// src/input/input-clear-value.tsx
|
|
4647
|
-
var
|
|
4661
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4648
4662
|
var className = `k-clear-value`;
|
|
4649
4663
|
var states8 = [
|
|
4650
4664
|
States.disabled,
|
|
@@ -4660,16 +4674,16 @@ var InputClearValue = (props) => {
|
|
|
4660
4674
|
value
|
|
4661
4675
|
} = props;
|
|
4662
4676
|
if (disabled || readonly || loading || !value) {
|
|
4663
|
-
return /* @__PURE__ */ (0,
|
|
4677
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_jsx_runtime13.Fragment, {});
|
|
4664
4678
|
}
|
|
4665
|
-
return /* @__PURE__ */ (0,
|
|
4679
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: "x" }) });
|
|
4666
4680
|
};
|
|
4667
4681
|
InputClearValue.states = states8;
|
|
4668
4682
|
InputClearValue.options = options8;
|
|
4669
4683
|
InputClearValue.className = className;
|
|
4670
4684
|
|
|
4671
4685
|
// src/input/input-inner-input.tsx
|
|
4672
|
-
var
|
|
4686
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4673
4687
|
var className2 = `k-input-inner`;
|
|
4674
4688
|
var states9 = [];
|
|
4675
4689
|
var options9 = {};
|
|
@@ -4687,7 +4701,7 @@ var InputInnerInput = (props) => {
|
|
|
4687
4701
|
autocomplete = defaultProps9.autocomplete,
|
|
4688
4702
|
...other
|
|
4689
4703
|
} = props;
|
|
4690
|
-
return /* @__PURE__ */ (0,
|
|
4704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4691
4705
|
"input",
|
|
4692
4706
|
{
|
|
4693
4707
|
...other,
|
|
@@ -4704,7 +4718,7 @@ InputInnerInput.options = options9;
|
|
|
4704
4718
|
InputInnerInput.className = className2;
|
|
4705
4719
|
|
|
4706
4720
|
// src/input/input-inner-span.tsx
|
|
4707
|
-
var
|
|
4721
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4708
4722
|
var className3 = `k-input-inner`;
|
|
4709
4723
|
var states10 = [];
|
|
4710
4724
|
var options10 = {};
|
|
@@ -4717,16 +4731,16 @@ var InputInnerSpan = (props) => {
|
|
|
4717
4731
|
valueIconName,
|
|
4718
4732
|
...other
|
|
4719
4733
|
} = props;
|
|
4720
|
-
return /* @__PURE__ */ (0,
|
|
4734
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
4721
4735
|
"span",
|
|
4722
4736
|
{
|
|
4723
4737
|
...other,
|
|
4724
4738
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4725
4739
|
children: [
|
|
4726
4740
|
valueIcon,
|
|
4727
|
-
!valueIcon && valueIconName && /* @__PURE__ */ (0,
|
|
4741
|
+
!valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4728
4742
|
showValue && !value && placeholder,
|
|
4729
|
-
showValue && value && /* @__PURE__ */ (0,
|
|
4743
|
+
showValue && value && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "k-input-value-text", children: value })
|
|
4730
4744
|
]
|
|
4731
4745
|
}
|
|
4732
4746
|
);
|
|
@@ -4736,7 +4750,7 @@ InputInnerSpan.options = options10;
|
|
|
4736
4750
|
InputInnerSpan.className = className3;
|
|
4737
4751
|
|
|
4738
4752
|
// src/input/input-inner-textarea.tsx
|
|
4739
|
-
var
|
|
4753
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4740
4754
|
var defaultProps10 = {
|
|
4741
4755
|
value: "",
|
|
4742
4756
|
placeholder: ""
|
|
@@ -4751,7 +4765,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4751
4765
|
rows,
|
|
4752
4766
|
...other
|
|
4753
4767
|
} = props;
|
|
4754
|
-
return /* @__PURE__ */ (0,
|
|
4768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4755
4769
|
"textarea",
|
|
4756
4770
|
{
|
|
4757
4771
|
...other,
|
|
@@ -4767,7 +4781,7 @@ InputInnerTextarea.options = options11;
|
|
|
4767
4781
|
InputInnerTextarea.className = className4;
|
|
4768
4782
|
|
|
4769
4783
|
// src/input/input-loading-icon.tsx
|
|
4770
|
-
var
|
|
4784
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4771
4785
|
var className5 = `k-input-loading-icon`;
|
|
4772
4786
|
var states12 = [
|
|
4773
4787
|
States.disabled,
|
|
@@ -4779,13 +4793,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4779
4793
|
loading
|
|
4780
4794
|
} = props;
|
|
4781
4795
|
if (disabled || !loading) {
|
|
4782
|
-
return /* @__PURE__ */ (0,
|
|
4796
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_jsx_runtime17.Fragment, {});
|
|
4783
4797
|
}
|
|
4784
|
-
return /* @__PURE__ */ (0,
|
|
4798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4785
4799
|
};
|
|
4786
4800
|
|
|
4787
4801
|
// src/input/input-validation-icon.tsx
|
|
4788
|
-
var
|
|
4802
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4789
4803
|
var className6 = `k-input-validation-icon`;
|
|
4790
4804
|
var states13 = [
|
|
4791
4805
|
States.valid,
|
|
@@ -4804,39 +4818,39 @@ var InputValidationIcon = (props) => {
|
|
|
4804
4818
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4805
4819
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4806
4820
|
if (disabled || loading || !renderValidationIcon) {
|
|
4807
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, {});
|
|
4808
4822
|
}
|
|
4809
|
-
return /* @__PURE__ */ (0,
|
|
4823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Icon, { className: classNames(className6), icon: iconName });
|
|
4810
4824
|
};
|
|
4811
4825
|
InputValidationIcon.states = states13;
|
|
4812
4826
|
InputValidationIcon.options = options12;
|
|
4813
4827
|
InputValidationIcon.className = className6;
|
|
4814
4828
|
|
|
4815
4829
|
// src/input/input-prefix.tsx
|
|
4816
|
-
var
|
|
4830
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4817
4831
|
var className7 = `k-input-prefix`;
|
|
4818
4832
|
var InputPrefix = (props) => {
|
|
4819
4833
|
if (!props.children) {
|
|
4820
|
-
return /* @__PURE__ */ (0,
|
|
4834
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
|
|
4821
4835
|
}
|
|
4822
|
-
return /* @__PURE__ */ (0,
|
|
4836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: classNames(className7, props.className), children: props.children });
|
|
4823
4837
|
};
|
|
4824
4838
|
|
|
4825
4839
|
// src/input/input-suffix.tsx
|
|
4826
|
-
var
|
|
4840
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4827
4841
|
var className8 = `k-input-suffix`;
|
|
4828
4842
|
var InputSuffix = (props) => {
|
|
4829
4843
|
if (!props.children) {
|
|
4830
|
-
return /* @__PURE__ */ (0,
|
|
4844
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {});
|
|
4831
4845
|
}
|
|
4832
|
-
return /* @__PURE__ */ (0,
|
|
4846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: classNames(className8, props.className), children: props.children });
|
|
4833
4847
|
};
|
|
4834
4848
|
|
|
4835
4849
|
// src/input/input-separator.tsx
|
|
4836
|
-
var
|
|
4850
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4837
4851
|
|
|
4838
4852
|
// src/spinbutton/spinbutton.spec.tsx
|
|
4839
|
-
var
|
|
4853
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4840
4854
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
4841
4855
|
var states14 = [];
|
|
4842
4856
|
var options13 = {
|
|
@@ -4853,7 +4867,7 @@ var SpinButton = (props) => {
|
|
|
4853
4867
|
fillMode = defaultProps11.fillMode,
|
|
4854
4868
|
...other
|
|
4855
4869
|
} = props;
|
|
4856
|
-
return /* @__PURE__ */ (0,
|
|
4870
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
4857
4871
|
"span",
|
|
4858
4872
|
{
|
|
4859
4873
|
...other,
|
|
@@ -4862,7 +4876,7 @@ var SpinButton = (props) => {
|
|
|
4862
4876
|
props.className
|
|
4863
4877
|
),
|
|
4864
4878
|
children: [
|
|
4865
|
-
/* @__PURE__ */ (0,
|
|
4879
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4866
4880
|
Button,
|
|
4867
4881
|
{
|
|
4868
4882
|
className: "k-spinner-increase",
|
|
@@ -4872,7 +4886,7 @@ var SpinButton = (props) => {
|
|
|
4872
4886
|
fillMode
|
|
4873
4887
|
}
|
|
4874
4888
|
),
|
|
4875
|
-
/* @__PURE__ */ (0,
|
|
4889
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4876
4890
|
Button,
|
|
4877
4891
|
{
|
|
4878
4892
|
className: "k-spinner-decrease",
|
|
@@ -4892,7 +4906,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
4892
4906
|
SpinButton.defaultProps = defaultProps11;
|
|
4893
4907
|
|
|
4894
4908
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
4895
|
-
var
|
|
4909
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4896
4910
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
4897
4911
|
var states15 = [
|
|
4898
4912
|
States.hover,
|
|
@@ -4935,7 +4949,7 @@ var NumericTextbox = (props) => {
|
|
|
4935
4949
|
showSpinButton = defaultProps12.showSpinButton,
|
|
4936
4950
|
...other
|
|
4937
4951
|
} = props;
|
|
4938
|
-
return /* @__PURE__ */ (0,
|
|
4952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
4939
4953
|
Input,
|
|
4940
4954
|
{
|
|
4941
4955
|
...other,
|
|
@@ -4952,8 +4966,8 @@ var NumericTextbox = (props) => {
|
|
|
4952
4966
|
readonly,
|
|
4953
4967
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
4954
4968
|
children: [
|
|
4955
|
-
/* @__PURE__ */ (0,
|
|
4956
|
-
/* @__PURE__ */ (0,
|
|
4969
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(InputInnerInput, { placeholder, value }),
|
|
4970
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4957
4971
|
InputValidationIcon,
|
|
4958
4972
|
{
|
|
4959
4973
|
valid,
|
|
@@ -4962,14 +4976,14 @@ var NumericTextbox = (props) => {
|
|
|
4962
4976
|
disabled
|
|
4963
4977
|
}
|
|
4964
4978
|
),
|
|
4965
|
-
/* @__PURE__ */ (0,
|
|
4979
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4966
4980
|
InputLoadingIcon,
|
|
4967
4981
|
{
|
|
4968
4982
|
loading,
|
|
4969
4983
|
disabled
|
|
4970
4984
|
}
|
|
4971
4985
|
),
|
|
4972
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
4986
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4973
4987
|
InputClearValue,
|
|
4974
4988
|
{
|
|
4975
4989
|
loading,
|
|
@@ -4978,7 +4992,7 @@ var NumericTextbox = (props) => {
|
|
|
4978
4992
|
value
|
|
4979
4993
|
}
|
|
4980
4994
|
),
|
|
4981
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
4995
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4982
4996
|
SpinButton,
|
|
4983
4997
|
{
|
|
4984
4998
|
className: "k-input-spinner",
|
|
@@ -4996,10 +5010,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
4996
5010
|
NumericTextbox.defaultProps = defaultProps12;
|
|
4997
5011
|
|
|
4998
5012
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
4999
|
-
var
|
|
5013
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
5000
5014
|
|
|
5001
5015
|
// src/animation-container/animation-container.spec.tsx
|
|
5002
|
-
var
|
|
5016
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
5003
5017
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5004
5018
|
var states16 = [];
|
|
5005
5019
|
var options15 = {};
|
|
@@ -5013,7 +5027,7 @@ var AnimationContainer = (props) => {
|
|
|
5013
5027
|
offset,
|
|
5014
5028
|
...other
|
|
5015
5029
|
} = props;
|
|
5016
|
-
return /* @__PURE__ */ (0,
|
|
5030
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
5017
5031
|
"div",
|
|
5018
5032
|
{
|
|
5019
5033
|
...other,
|
|
@@ -5025,7 +5039,7 @@ var AnimationContainer = (props) => {
|
|
|
5025
5039
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5026
5040
|
}
|
|
5027
5041
|
),
|
|
5028
|
-
children: /* @__PURE__ */ (0,
|
|
5042
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5029
5043
|
}
|
|
5030
5044
|
);
|
|
5031
5045
|
};
|
|
@@ -5035,7 +5049,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5035
5049
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5036
5050
|
|
|
5037
5051
|
// src/popup/popup.spec.tsx
|
|
5038
|
-
var
|
|
5052
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
5039
5053
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5040
5054
|
var states17 = [];
|
|
5041
5055
|
var options16 = {};
|
|
@@ -5048,12 +5062,12 @@ var Popup = (props) => {
|
|
|
5048
5062
|
positionMode,
|
|
5049
5063
|
...other
|
|
5050
5064
|
} = props;
|
|
5051
|
-
return /* @__PURE__ */ (0,
|
|
5065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
5052
5066
|
AnimationContainer,
|
|
5053
5067
|
{
|
|
5054
5068
|
positionMode,
|
|
5055
5069
|
offset,
|
|
5056
|
-
children: /* @__PURE__ */ (0,
|
|
5070
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5057
5071
|
}
|
|
5058
5072
|
);
|
|
5059
5073
|
};
|
|
@@ -5063,7 +5077,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5063
5077
|
Popup.defaultProps = defaultProps14;
|
|
5064
5078
|
|
|
5065
5079
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5066
|
-
var
|
|
5080
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
5067
5081
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5068
5082
|
var states18 = [
|
|
5069
5083
|
States.hover,
|
|
@@ -5111,8 +5125,8 @@ var DropdownList = (props) => {
|
|
|
5111
5125
|
opened,
|
|
5112
5126
|
...other
|
|
5113
5127
|
} = props;
|
|
5114
|
-
return /* @__PURE__ */ (0,
|
|
5115
|
-
/* @__PURE__ */ (0,
|
|
5128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
|
5129
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
5116
5130
|
Picker,
|
|
5117
5131
|
{
|
|
5118
5132
|
...other,
|
|
@@ -5135,8 +5149,8 @@ var DropdownList = (props) => {
|
|
|
5135
5149
|
}
|
|
5136
5150
|
),
|
|
5137
5151
|
children: [
|
|
5138
|
-
/* @__PURE__ */ (0,
|
|
5139
|
-
/* @__PURE__ */ (0,
|
|
5152
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(InputPrefix, { children: prefix }),
|
|
5153
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5140
5154
|
InputInnerSpan,
|
|
5141
5155
|
{
|
|
5142
5156
|
placeholder,
|
|
@@ -5145,7 +5159,7 @@ var DropdownList = (props) => {
|
|
|
5145
5159
|
valueIconName
|
|
5146
5160
|
}
|
|
5147
5161
|
),
|
|
5148
|
-
/* @__PURE__ */ (0,
|
|
5162
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5149
5163
|
InputValidationIcon,
|
|
5150
5164
|
{
|
|
5151
5165
|
valid,
|
|
@@ -5154,15 +5168,15 @@ var DropdownList = (props) => {
|
|
|
5154
5168
|
disabled
|
|
5155
5169
|
}
|
|
5156
5170
|
),
|
|
5157
|
-
/* @__PURE__ */ (0,
|
|
5171
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5158
5172
|
InputLoadingIcon,
|
|
5159
5173
|
{
|
|
5160
5174
|
loading,
|
|
5161
5175
|
disabled
|
|
5162
5176
|
}
|
|
5163
5177
|
),
|
|
5164
|
-
/* @__PURE__ */ (0,
|
|
5165
|
-
/* @__PURE__ */ (0,
|
|
5178
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(InputSuffix, { children: suffix }),
|
|
5179
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5166
5180
|
Button,
|
|
5167
5181
|
{
|
|
5168
5182
|
className: "k-input-button",
|
|
@@ -5175,7 +5189,7 @@ var DropdownList = (props) => {
|
|
|
5175
5189
|
]
|
|
5176
5190
|
}
|
|
5177
5191
|
),
|
|
5178
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
5192
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5179
5193
|
] });
|
|
5180
5194
|
};
|
|
5181
5195
|
DropdownList.states = states18;
|
|
@@ -5184,15 +5198,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5184
5198
|
DropdownList.defaultProps = defaultProps15;
|
|
5185
5199
|
|
|
5186
5200
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5187
|
-
var
|
|
5201
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5188
5202
|
|
|
5189
5203
|
// src/nodata/nodata.tsx
|
|
5190
|
-
var
|
|
5204
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5191
5205
|
var className9 = `k-nodata`;
|
|
5192
|
-
var NoData = (props) => /* @__PURE__ */ (0,
|
|
5206
|
+
var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: classNames(className9, props.className), children: props.children });
|
|
5193
5207
|
|
|
5194
5208
|
// src/list/list.spec.tsx
|
|
5195
|
-
var
|
|
5209
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5196
5210
|
var LIST_CLASSNAME = `k-list`;
|
|
5197
5211
|
var states19 = [];
|
|
5198
5212
|
var options18 = {
|
|
@@ -5220,7 +5234,7 @@ var List = (props) => {
|
|
|
5220
5234
|
listHeader = child.props.label;
|
|
5221
5235
|
child.props.children.map((optChild, index2) => {
|
|
5222
5236
|
listChildren.push(
|
|
5223
|
-
/* @__PURE__ */ (0,
|
|
5237
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5224
5238
|
ListItem,
|
|
5225
5239
|
{
|
|
5226
5240
|
...optChild.props
|
|
@@ -5236,7 +5250,7 @@ var List = (props) => {
|
|
|
5236
5250
|
groupLabel = child.props.label;
|
|
5237
5251
|
}
|
|
5238
5252
|
listChildren.push(
|
|
5239
|
-
/* @__PURE__ */ (0,
|
|
5253
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5240
5254
|
ListItem,
|
|
5241
5255
|
{
|
|
5242
5256
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5248,16 +5262,16 @@ var List = (props) => {
|
|
|
5248
5262
|
);
|
|
5249
5263
|
});
|
|
5250
5264
|
}
|
|
5251
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5265
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5252
5266
|
} else if (child.type === ListItem) {
|
|
5253
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5254
|
-
listContent = /* @__PURE__ */ (0,
|
|
5267
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5268
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5255
5269
|
}
|
|
5256
5270
|
});
|
|
5257
5271
|
} else {
|
|
5258
|
-
listContent = /* @__PURE__ */ (0,
|
|
5272
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(NoData, { children: "No data found." });
|
|
5259
5273
|
}
|
|
5260
|
-
return /* @__PURE__ */ (0,
|
|
5274
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
5261
5275
|
"div",
|
|
5262
5276
|
{
|
|
5263
5277
|
...other,
|
|
@@ -5285,7 +5299,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5285
5299
|
List.defaultProps = defaultProps16;
|
|
5286
5300
|
|
|
5287
5301
|
// src/list/list-angular.spec.tsx
|
|
5288
|
-
var
|
|
5302
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5289
5303
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5290
5304
|
var states20 = [];
|
|
5291
5305
|
var options19 = {
|
|
@@ -5312,7 +5326,7 @@ var ListAngular = (props) => {
|
|
|
5312
5326
|
listHeader = child.props.label;
|
|
5313
5327
|
child.props.children.map((optChild, index2) => {
|
|
5314
5328
|
listChildren.push(
|
|
5315
|
-
/* @__PURE__ */ (0,
|
|
5329
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5316
5330
|
ListItem,
|
|
5317
5331
|
{
|
|
5318
5332
|
...optChild.props
|
|
@@ -5323,7 +5337,7 @@ var ListAngular = (props) => {
|
|
|
5323
5337
|
});
|
|
5324
5338
|
} else {
|
|
5325
5339
|
listChildren.push(
|
|
5326
|
-
/* @__PURE__ */ (0,
|
|
5340
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5327
5341
|
ListGroupItem,
|
|
5328
5342
|
{
|
|
5329
5343
|
...child.props,
|
|
@@ -5334,7 +5348,7 @@ var ListAngular = (props) => {
|
|
|
5334
5348
|
);
|
|
5335
5349
|
child.props.children.map((optChild, index2) => {
|
|
5336
5350
|
listChildren.push(
|
|
5337
|
-
/* @__PURE__ */ (0,
|
|
5351
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5338
5352
|
ListItem,
|
|
5339
5353
|
{
|
|
5340
5354
|
...optChild.props
|
|
@@ -5344,16 +5358,16 @@ var ListAngular = (props) => {
|
|
|
5344
5358
|
);
|
|
5345
5359
|
});
|
|
5346
5360
|
}
|
|
5347
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5361
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5348
5362
|
} else if (child.type === ListItem) {
|
|
5349
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5350
|
-
listContent = /* @__PURE__ */ (0,
|
|
5363
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5364
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5351
5365
|
}
|
|
5352
5366
|
});
|
|
5353
5367
|
} else {
|
|
5354
|
-
listContent = /* @__PURE__ */ (0,
|
|
5368
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(NoData, { children: "No data found." });
|
|
5355
5369
|
}
|
|
5356
|
-
return /* @__PURE__ */ (0,
|
|
5370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
5357
5371
|
"div",
|
|
5358
5372
|
{
|
|
5359
5373
|
...other,
|
|
@@ -5380,7 +5394,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5380
5394
|
ListAngular.defaultProps = defaultProps17;
|
|
5381
5395
|
|
|
5382
5396
|
// src/checkbox/checkbox.spec.tsx
|
|
5383
|
-
var
|
|
5397
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5384
5398
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5385
5399
|
var states21 = [
|
|
5386
5400
|
States.hover,
|
|
@@ -5415,7 +5429,7 @@ var Checkbox = (props) => {
|
|
|
5415
5429
|
rounded = defaultProps18.rounded,
|
|
5416
5430
|
...other
|
|
5417
5431
|
} = props;
|
|
5418
|
-
return /* @__PURE__ */ (0,
|
|
5432
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
5419
5433
|
"input",
|
|
5420
5434
|
{
|
|
5421
5435
|
...other,
|
|
@@ -5438,7 +5452,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5438
5452
|
Checkbox.defaultProps = defaultProps18;
|
|
5439
5453
|
|
|
5440
5454
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5441
|
-
var
|
|
5455
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5442
5456
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5443
5457
|
var states22 = [];
|
|
5444
5458
|
var options21 = {};
|
|
@@ -5450,7 +5464,7 @@ var CheckboxGroup = (props) => {
|
|
|
5450
5464
|
layout = defaultProps19.layout,
|
|
5451
5465
|
...other
|
|
5452
5466
|
} = props;
|
|
5453
|
-
return /* @__PURE__ */ (0,
|
|
5467
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
5454
5468
|
"ul",
|
|
5455
5469
|
{
|
|
5456
5470
|
...other,
|
|
@@ -5471,7 +5485,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5471
5485
|
CheckboxGroup.defaultProps = defaultProps19;
|
|
5472
5486
|
|
|
5473
5487
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5474
|
-
var
|
|
5488
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5475
5489
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5476
5490
|
var states23 = [];
|
|
5477
5491
|
var options22 = {};
|
|
@@ -5480,7 +5494,7 @@ var CheckboxItem = (props) => {
|
|
|
5480
5494
|
const {
|
|
5481
5495
|
...other
|
|
5482
5496
|
} = props;
|
|
5483
|
-
return /* @__PURE__ */ (0,
|
|
5497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
5484
5498
|
"li",
|
|
5485
5499
|
{
|
|
5486
5500
|
...other,
|
|
@@ -5498,16 +5512,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5498
5512
|
CheckboxItem.defaultProps = defaultProps20;
|
|
5499
5513
|
|
|
5500
5514
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5501
|
-
var
|
|
5515
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5502
5516
|
|
|
5503
5517
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5504
|
-
var
|
|
5518
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5505
5519
|
|
|
5506
5520
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5507
|
-
var
|
|
5521
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5508
5522
|
|
|
5509
5523
|
// src/list/list-item.spec.tsx
|
|
5510
|
-
var
|
|
5524
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5511
5525
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5512
5526
|
var states24 = [
|
|
5513
5527
|
States.hover,
|
|
@@ -5532,7 +5546,7 @@ var ListItem = (props) => {
|
|
|
5532
5546
|
...other
|
|
5533
5547
|
} = props;
|
|
5534
5548
|
const textOrChildren = text ? text : props.children;
|
|
5535
|
-
return /* @__PURE__ */ (0,
|
|
5549
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
5536
5550
|
"li",
|
|
5537
5551
|
{
|
|
5538
5552
|
...other,
|
|
@@ -5547,10 +5561,10 @@ var ListItem = (props) => {
|
|
|
5547
5561
|
})
|
|
5548
5562
|
),
|
|
5549
5563
|
children: [
|
|
5550
|
-
showCheckbox && /* @__PURE__ */ (0,
|
|
5551
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5552
|
-
/* @__PURE__ */ (0,
|
|
5553
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0,
|
|
5564
|
+
showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Checkbox, { checked }),
|
|
5565
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { icon: iconName }),
|
|
5566
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5567
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5554
5568
|
]
|
|
5555
5569
|
}
|
|
5556
5570
|
);
|
|
@@ -5561,43 +5575,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5561
5575
|
ListItem.defaultProps = defaultProps21;
|
|
5562
5576
|
|
|
5563
5577
|
// src/list/list-content.tsx
|
|
5564
|
-
var
|
|
5578
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5565
5579
|
var className10 = `k-list-content`;
|
|
5566
5580
|
var ListContent = (props) => {
|
|
5567
5581
|
const {
|
|
5568
5582
|
virtualization
|
|
5569
5583
|
} = props;
|
|
5570
|
-
return /* @__PURE__ */ (0,
|
|
5571
|
-
/* @__PURE__ */ (0,
|
|
5572
|
-
virtualization && /* @__PURE__ */ (0,
|
|
5584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: classNames(className10, props.className), children: [
|
|
5585
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5586
|
+
virtualization && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", {}) })
|
|
5573
5587
|
] });
|
|
5574
5588
|
};
|
|
5575
5589
|
|
|
5576
5590
|
// src/list/list-header.tsx
|
|
5577
|
-
var
|
|
5591
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5578
5592
|
var className11 = `k-list-group-sticky-header`;
|
|
5579
|
-
var ListHeader = (props) => /* @__PURE__ */ (0,
|
|
5593
|
+
var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "k-list-header-text", children: props.children }) });
|
|
5580
5594
|
|
|
5581
5595
|
// src/list/list-group.tsx
|
|
5582
|
-
var
|
|
5596
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5583
5597
|
var ListGroup = (props) => {
|
|
5584
5598
|
const {
|
|
5585
5599
|
virtualization,
|
|
5586
5600
|
label
|
|
5587
5601
|
} = props;
|
|
5588
|
-
return /* @__PURE__ */ (0,
|
|
5589
|
-
label && /* @__PURE__ */ (0,
|
|
5590
|
-
props.children && /* @__PURE__ */ (0,
|
|
5602
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
|
|
5603
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListHeader, { children: label }),
|
|
5604
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListContent, { virtualization, children: props.children })
|
|
5591
5605
|
] });
|
|
5592
5606
|
};
|
|
5593
5607
|
|
|
5594
5608
|
// src/list/list-group-item.tsx
|
|
5595
|
-
var
|
|
5609
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5596
5610
|
var className12 = `k-list-group-item`;
|
|
5597
|
-
var ListGroupItem = (props) => /* @__PURE__ */ (0,
|
|
5611
|
+
var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "k-list-item-text", children: props.children }) });
|
|
5598
5612
|
|
|
5599
5613
|
// src/list/list-option-label.tsx
|
|
5600
|
-
var
|
|
5614
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5601
5615
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5602
5616
|
var states25 = [
|
|
5603
5617
|
States.hover,
|
|
@@ -5616,7 +5630,7 @@ var ListOptionLabel = (props) => {
|
|
|
5616
5630
|
disabled,
|
|
5617
5631
|
...other
|
|
5618
5632
|
} = props;
|
|
5619
|
-
return /* @__PURE__ */ (0,
|
|
5633
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5620
5634
|
"div",
|
|
5621
5635
|
{
|
|
5622
5636
|
...other,
|
|
@@ -5639,31 +5653,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5639
5653
|
ListOptionLabel.defaultProps = defaultProps22;
|
|
5640
5654
|
|
|
5641
5655
|
// src/list/templates/list-normal.tsx
|
|
5642
|
-
var
|
|
5656
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5643
5657
|
|
|
5644
5658
|
// src/list/templates/list-virtualization.tsx
|
|
5645
|
-
var
|
|
5659
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5646
5660
|
|
|
5647
5661
|
// src/list/templates/list-grouping.tsx
|
|
5648
|
-
var
|
|
5662
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5649
5663
|
|
|
5650
5664
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5651
|
-
var
|
|
5665
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5652
5666
|
|
|
5653
5667
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5654
|
-
var
|
|
5668
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5655
5669
|
|
|
5656
5670
|
// src/list/templates/list-grouping-angular.tsx
|
|
5657
|
-
var
|
|
5671
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5658
5672
|
|
|
5659
5673
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5660
|
-
var
|
|
5674
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5661
5675
|
|
|
5662
5676
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5663
|
-
var
|
|
5677
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5664
5678
|
|
|
5665
5679
|
// src/searchbox/searchbox.spec.tsx
|
|
5666
|
-
var
|
|
5680
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5667
5681
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5668
5682
|
var states26 = [
|
|
5669
5683
|
States.hover,
|
|
@@ -5704,7 +5718,7 @@ var Searchbox = (props) => {
|
|
|
5704
5718
|
icon = defaultProps23.icon,
|
|
5705
5719
|
...other
|
|
5706
5720
|
} = props;
|
|
5707
|
-
return /* @__PURE__ */ (0,
|
|
5721
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
5708
5722
|
Input,
|
|
5709
5723
|
{
|
|
5710
5724
|
...other,
|
|
@@ -5720,11 +5734,11 @@ var Searchbox = (props) => {
|
|
|
5720
5734
|
disabled,
|
|
5721
5735
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5722
5736
|
children: [
|
|
5723
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5724
|
-
/* @__PURE__ */ (0,
|
|
5725
|
-
/* @__PURE__ */ (0,
|
|
5726
|
-
/* @__PURE__ */ (0,
|
|
5727
|
-
/* @__PURE__ */ (0,
|
|
5737
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5738
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(InputInnerInput, { placeholder, value }),
|
|
5739
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(InputLoadingIcon, { ...props }),
|
|
5740
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(InputValidationIcon, { ...props }),
|
|
5741
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(InputClearValue, { ...props })
|
|
5728
5742
|
]
|
|
5729
5743
|
}
|
|
5730
5744
|
);
|
|
@@ -5735,19 +5749,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5735
5749
|
Searchbox.defaultProps = defaultProps23;
|
|
5736
5750
|
|
|
5737
5751
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5738
|
-
var
|
|
5752
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5739
5753
|
|
|
5740
5754
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5741
|
-
var
|
|
5755
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5742
5756
|
|
|
5743
5757
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5744
|
-
var
|
|
5758
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5745
5759
|
|
|
5746
5760
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5747
|
-
var
|
|
5761
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5748
5762
|
|
|
5749
5763
|
// src/button-group/button-group.spec.tsx
|
|
5750
|
-
var
|
|
5764
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5751
5765
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5752
5766
|
var states27 = [
|
|
5753
5767
|
States.disabled
|
|
@@ -5765,7 +5779,7 @@ var ButtonGroup = (props) => {
|
|
|
5765
5779
|
stretched,
|
|
5766
5780
|
...other
|
|
5767
5781
|
} = props;
|
|
5768
|
-
return /* @__PURE__ */ (0,
|
|
5782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
5769
5783
|
"div",
|
|
5770
5784
|
{
|
|
5771
5785
|
...other,
|
|
@@ -5792,19 +5806,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5792
5806
|
ButtonGroup.defaultProps = defaultProps24;
|
|
5793
5807
|
|
|
5794
5808
|
// src/button-group/templates/icon-button-group.tsx
|
|
5795
|
-
var
|
|
5809
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5796
5810
|
|
|
5797
5811
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5798
|
-
var
|
|
5812
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5799
5813
|
|
|
5800
5814
|
// src/button-group/templates/text-button-group.tsx
|
|
5801
|
-
var
|
|
5815
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
5802
5816
|
|
|
5803
5817
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5804
|
-
var
|
|
5818
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
5805
5819
|
|
|
5806
5820
|
// src/color-preview/color-preview.tsx
|
|
5807
|
-
var
|
|
5821
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
5808
5822
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5809
5823
|
var states28 = [];
|
|
5810
5824
|
var options27 = {};
|
|
@@ -5814,7 +5828,7 @@ var ColorPreview = (props) => {
|
|
|
5814
5828
|
iconName,
|
|
5815
5829
|
...other
|
|
5816
5830
|
} = props;
|
|
5817
|
-
return /* @__PURE__ */ (0,
|
|
5831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
5818
5832
|
"span",
|
|
5819
5833
|
{
|
|
5820
5834
|
...other,
|
|
@@ -5827,8 +5841,8 @@ var ColorPreview = (props) => {
|
|
|
5827
5841
|
}
|
|
5828
5842
|
),
|
|
5829
5843
|
children: [
|
|
5830
|
-
iconName && /* @__PURE__ */ (0,
|
|
5831
|
-
/* @__PURE__ */ (0,
|
|
5844
|
+
iconName && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5845
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
5832
5846
|
"span",
|
|
5833
5847
|
{
|
|
5834
5848
|
className: "k-color-preview-mask",
|
|
@@ -5844,7 +5858,7 @@ ColorPreview.options = options27;
|
|
|
5844
5858
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5845
5859
|
|
|
5846
5860
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5847
|
-
var
|
|
5861
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5848
5862
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5849
5863
|
var states29 = [
|
|
5850
5864
|
States.hover,
|
|
@@ -5886,8 +5900,8 @@ var ColorPicker = (props) => {
|
|
|
5886
5900
|
opened,
|
|
5887
5901
|
...other
|
|
5888
5902
|
} = props;
|
|
5889
|
-
return /* @__PURE__ */ (0,
|
|
5890
|
-
/* @__PURE__ */ (0,
|
|
5903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
|
|
5904
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
|
|
5891
5905
|
Picker,
|
|
5892
5906
|
{
|
|
5893
5907
|
...other,
|
|
@@ -5906,14 +5920,14 @@ var ColorPicker = (props) => {
|
|
|
5906
5920
|
"k-icon-picker"
|
|
5907
5921
|
),
|
|
5908
5922
|
children: [
|
|
5909
|
-
/* @__PURE__ */ (0,
|
|
5910
|
-
/* @__PURE__ */ (0,
|
|
5923
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputPrefix, { children: prefix }),
|
|
5924
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5911
5925
|
InputInnerSpan,
|
|
5912
5926
|
{
|
|
5913
5927
|
placeholder,
|
|
5914
5928
|
value,
|
|
5915
5929
|
showValue: false,
|
|
5916
|
-
valueIcon: /* @__PURE__ */ (0,
|
|
5930
|
+
valueIcon: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5917
5931
|
ColorPreview,
|
|
5918
5932
|
{
|
|
5919
5933
|
className: "k-value-icon",
|
|
@@ -5924,8 +5938,8 @@ var ColorPicker = (props) => {
|
|
|
5924
5938
|
valueIconName
|
|
5925
5939
|
}
|
|
5926
5940
|
),
|
|
5927
|
-
/* @__PURE__ */ (0,
|
|
5928
|
-
/* @__PURE__ */ (0,
|
|
5941
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputSuffix, { children: suffix }),
|
|
5942
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
5929
5943
|
Button,
|
|
5930
5944
|
{
|
|
5931
5945
|
className: "k-input-button",
|
|
@@ -5938,7 +5952,7 @@ var ColorPicker = (props) => {
|
|
|
5938
5952
|
]
|
|
5939
5953
|
}
|
|
5940
5954
|
),
|
|
5941
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
5955
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5942
5956
|
] });
|
|
5943
5957
|
};
|
|
5944
5958
|
ColorPicker.states = states29;
|
|
@@ -5947,10 +5961,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5947
5961
|
ColorPicker.defaultProps = defaultProps25;
|
|
5948
5962
|
|
|
5949
5963
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5950
|
-
var
|
|
5964
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5951
5965
|
|
|
5952
5966
|
// src/slider/slider.spec.tsx
|
|
5953
|
-
var
|
|
5967
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5954
5968
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5955
5969
|
var states30 = [
|
|
5956
5970
|
States.hover,
|
|
@@ -5989,7 +6003,7 @@ var Slider = (props) => {
|
|
|
5989
6003
|
iconIncrease = "caret-alt-up";
|
|
5990
6004
|
iconDecrease = "caret-alt-down";
|
|
5991
6005
|
}
|
|
5992
|
-
return /* @__PURE__ */ (0,
|
|
6006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: classNames(
|
|
5993
6007
|
SLIDER_CLASSNAME,
|
|
5994
6008
|
props.className,
|
|
5995
6009
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6002,12 +6016,12 @@ var Slider = (props) => {
|
|
|
6002
6016
|
"k-range-slider": type === "range"
|
|
6003
6017
|
}
|
|
6004
6018
|
), dir, children: [
|
|
6005
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
6006
|
-
/* @__PURE__ */ (0,
|
|
6007
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
6008
|
-
/* @__PURE__ */ (0,
|
|
6009
|
-
/* @__PURE__ */ (0,
|
|
6010
|
-
type === "range" && /* @__PURE__ */ (0,
|
|
6019
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
6020
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "k-slider-track-wrap", children: [
|
|
6021
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
6022
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
6023
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "k-slider-selection" }),
|
|
6024
|
+
type === "range" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: classNames(
|
|
6011
6025
|
"k-draghandle",
|
|
6012
6026
|
"k-draghandle-start",
|
|
6013
6027
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6016,7 +6030,7 @@ var Slider = (props) => {
|
|
|
6016
6030
|
active
|
|
6017
6031
|
})
|
|
6018
6032
|
) }),
|
|
6019
|
-
/* @__PURE__ */ (0,
|
|
6033
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: classNames(
|
|
6020
6034
|
"k-draghandle",
|
|
6021
6035
|
`k-draghandle-${handlePosition}`,
|
|
6022
6036
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6027,7 +6041,7 @@ var Slider = (props) => {
|
|
|
6027
6041
|
) })
|
|
6028
6042
|
] })
|
|
6029
6043
|
] }),
|
|
6030
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
6044
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6031
6045
|
] });
|
|
6032
6046
|
};
|
|
6033
6047
|
Slider.states = states30;
|
|
@@ -6036,7 +6050,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
6036
6050
|
Slider.defaultProps = defaultProps26;
|
|
6037
6051
|
|
|
6038
6052
|
// src/slider/slider-tick.tsx
|
|
6039
|
-
var
|
|
6053
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6040
6054
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6041
6055
|
var states31 = [];
|
|
6042
6056
|
var options30 = {};
|
|
@@ -6051,14 +6065,14 @@ var SliderTick = (props) => {
|
|
|
6051
6065
|
large,
|
|
6052
6066
|
text
|
|
6053
6067
|
} = props;
|
|
6054
|
-
return /* @__PURE__ */ (0,
|
|
6068
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("li", { className: classNames(
|
|
6055
6069
|
props.className,
|
|
6056
6070
|
SLIDER_TICK_CLASSNAME,
|
|
6057
6071
|
{
|
|
6058
6072
|
[`k-tick-${orientation}`]: orientation,
|
|
6059
6073
|
"k-tick-large": large
|
|
6060
6074
|
}
|
|
6061
|
-
), style, children: label && /* @__PURE__ */ (0,
|
|
6075
|
+
), style, children: label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "k-label", children: text }) });
|
|
6062
6076
|
};
|
|
6063
6077
|
SliderTick.states = states31;
|
|
6064
6078
|
SliderTick.options = options30;
|
|
@@ -6066,7 +6080,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
6066
6080
|
SliderTick.defaultProps = defaultProps27;
|
|
6067
6081
|
|
|
6068
6082
|
// src/textbox/textbox.spec.tsx
|
|
6069
|
-
var
|
|
6083
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6070
6084
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
6071
6085
|
var states32 = [
|
|
6072
6086
|
States.hover,
|
|
@@ -6109,7 +6123,7 @@ var Textbox = (props) => {
|
|
|
6109
6123
|
showClearButton = defaultProps28.showClearButton,
|
|
6110
6124
|
...other
|
|
6111
6125
|
} = props;
|
|
6112
|
-
return /* @__PURE__ */ (0,
|
|
6126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
|
|
6113
6127
|
Input,
|
|
6114
6128
|
{
|
|
6115
6129
|
...other,
|
|
@@ -6126,9 +6140,9 @@ var Textbox = (props) => {
|
|
|
6126
6140
|
readonly,
|
|
6127
6141
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
6128
6142
|
children: [
|
|
6129
|
-
/* @__PURE__ */ (0,
|
|
6130
|
-
/* @__PURE__ */ (0,
|
|
6131
|
-
/* @__PURE__ */ (0,
|
|
6143
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(InputPrefix, { children: prefix }),
|
|
6144
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(InputInnerInput, { placeholder, value }),
|
|
6145
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6132
6146
|
InputValidationIcon,
|
|
6133
6147
|
{
|
|
6134
6148
|
valid,
|
|
@@ -6137,14 +6151,14 @@ var Textbox = (props) => {
|
|
|
6137
6151
|
disabled
|
|
6138
6152
|
}
|
|
6139
6153
|
),
|
|
6140
|
-
/* @__PURE__ */ (0,
|
|
6154
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6141
6155
|
InputLoadingIcon,
|
|
6142
6156
|
{
|
|
6143
6157
|
loading,
|
|
6144
6158
|
disabled
|
|
6145
6159
|
}
|
|
6146
6160
|
),
|
|
6147
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
6161
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
6148
6162
|
InputClearValue,
|
|
6149
6163
|
{
|
|
6150
6164
|
loading,
|
|
@@ -6153,7 +6167,7 @@ var Textbox = (props) => {
|
|
|
6153
6167
|
value
|
|
6154
6168
|
}
|
|
6155
6169
|
),
|
|
6156
|
-
/* @__PURE__ */ (0,
|
|
6170
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(InputSuffix, { children: suffix })
|
|
6157
6171
|
]
|
|
6158
6172
|
}
|
|
6159
6173
|
);
|
|
@@ -6164,16 +6178,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
6164
6178
|
Textbox.defaultProps = defaultProps28;
|
|
6165
6179
|
|
|
6166
6180
|
// src/textbox/templates/textbox-normal.tsx
|
|
6167
|
-
var
|
|
6181
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6168
6182
|
|
|
6169
6183
|
// src/textbox/templates/textbox-prefix.tsx
|
|
6170
|
-
var
|
|
6184
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6171
6185
|
|
|
6172
6186
|
// src/textbox/templates/textbox-suffix.tsx
|
|
6173
|
-
var
|
|
6187
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6174
6188
|
|
|
6175
6189
|
// src/colorgradient/color-input.tsx
|
|
6176
|
-
var
|
|
6190
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6177
6191
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6178
6192
|
var states33 = [];
|
|
6179
6193
|
var options32 = {};
|
|
@@ -6184,75 +6198,75 @@ var ColorInput = (props) => {
|
|
|
6184
6198
|
const {
|
|
6185
6199
|
mode = defaultProps29.mode
|
|
6186
6200
|
} = props;
|
|
6187
|
-
return /* @__PURE__ */ (0,
|
|
6188
|
-
/* @__PURE__ */ (0,
|
|
6189
|
-
mode === "rgba" && /* @__PURE__ */ (0,
|
|
6190
|
-
/* @__PURE__ */ (0,
|
|
6191
|
-
/* @__PURE__ */ (0,
|
|
6192
|
-
/* @__PURE__ */ (0,
|
|
6201
|
+
return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6202
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "k-vstack", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6203
|
+
mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
6204
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6205
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6206
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6193
6207
|
] }),
|
|
6194
|
-
/* @__PURE__ */ (0,
|
|
6195
|
-
/* @__PURE__ */ (0,
|
|
6196
|
-
/* @__PURE__ */ (0,
|
|
6208
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6209
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6210
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6197
6211
|
] }),
|
|
6198
|
-
/* @__PURE__ */ (0,
|
|
6199
|
-
/* @__PURE__ */ (0,
|
|
6200
|
-
/* @__PURE__ */ (0,
|
|
6212
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6213
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6214
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6201
6215
|
] }),
|
|
6202
|
-
/* @__PURE__ */ (0,
|
|
6203
|
-
/* @__PURE__ */ (0,
|
|
6204
|
-
/* @__PURE__ */ (0,
|
|
6216
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6217
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6218
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6205
6219
|
] })
|
|
6206
6220
|
] }),
|
|
6207
|
-
mode === "rgb" && /* @__PURE__ */ (0,
|
|
6208
|
-
/* @__PURE__ */ (0,
|
|
6209
|
-
/* @__PURE__ */ (0,
|
|
6210
|
-
/* @__PURE__ */ (0,
|
|
6221
|
+
mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
6222
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6223
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6224
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6211
6225
|
] }),
|
|
6212
|
-
/* @__PURE__ */ (0,
|
|
6213
|
-
/* @__PURE__ */ (0,
|
|
6214
|
-
/* @__PURE__ */ (0,
|
|
6226
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6227
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6228
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6215
6229
|
] }),
|
|
6216
|
-
/* @__PURE__ */ (0,
|
|
6217
|
-
/* @__PURE__ */ (0,
|
|
6218
|
-
/* @__PURE__ */ (0,
|
|
6230
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6231
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6232
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6219
6233
|
] })
|
|
6220
6234
|
] }),
|
|
6221
|
-
mode === "hsva" && /* @__PURE__ */ (0,
|
|
6222
|
-
/* @__PURE__ */ (0,
|
|
6223
|
-
/* @__PURE__ */ (0,
|
|
6224
|
-
/* @__PURE__ */ (0,
|
|
6235
|
+
mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
6236
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6237
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6238
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6225
6239
|
] }),
|
|
6226
|
-
/* @__PURE__ */ (0,
|
|
6227
|
-
/* @__PURE__ */ (0,
|
|
6228
|
-
/* @__PURE__ */ (0,
|
|
6240
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6241
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6242
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6229
6243
|
] }),
|
|
6230
|
-
/* @__PURE__ */ (0,
|
|
6231
|
-
/* @__PURE__ */ (0,
|
|
6232
|
-
/* @__PURE__ */ (0,
|
|
6244
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6245
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6246
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6233
6247
|
] }),
|
|
6234
|
-
/* @__PURE__ */ (0,
|
|
6235
|
-
/* @__PURE__ */ (0,
|
|
6236
|
-
/* @__PURE__ */ (0,
|
|
6248
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6249
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6250
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6237
6251
|
] })
|
|
6238
6252
|
] }),
|
|
6239
|
-
mode === "hsv" && /* @__PURE__ */ (0,
|
|
6240
|
-
/* @__PURE__ */ (0,
|
|
6241
|
-
/* @__PURE__ */ (0,
|
|
6242
|
-
/* @__PURE__ */ (0,
|
|
6253
|
+
mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
|
|
6254
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6255
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6256
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6243
6257
|
] }),
|
|
6244
|
-
/* @__PURE__ */ (0,
|
|
6245
|
-
/* @__PURE__ */ (0,
|
|
6246
|
-
/* @__PURE__ */ (0,
|
|
6258
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6259
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6260
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6247
6261
|
] }),
|
|
6248
|
-
/* @__PURE__ */ (0,
|
|
6249
|
-
/* @__PURE__ */ (0,
|
|
6250
|
-
/* @__PURE__ */ (0,
|
|
6262
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack", children: [
|
|
6263
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6264
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6251
6265
|
] })
|
|
6252
6266
|
] }),
|
|
6253
|
-
mode === "hex" && /* @__PURE__ */ (0,
|
|
6254
|
-
/* @__PURE__ */ (0,
|
|
6255
|
-
/* @__PURE__ */ (0,
|
|
6267
|
+
mode === "hex" && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_jsx_runtime71.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "k-vstack k-flex-1", children: [
|
|
6268
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6269
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6256
6270
|
] }) })
|
|
6257
6271
|
] });
|
|
6258
6272
|
};
|
|
@@ -6262,31 +6276,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
6262
6276
|
ColorInput.defaultProps = defaultProps29;
|
|
6263
6277
|
|
|
6264
6278
|
// src/colorgradient/color-contrast.tsx
|
|
6265
|
-
var
|
|
6279
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6266
6280
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6267
6281
|
var states34 = [];
|
|
6268
6282
|
var options33 = {};
|
|
6269
6283
|
var defaultProps30 = {};
|
|
6270
|
-
var ColorContrast = () => /* @__PURE__ */ (0,
|
|
6271
|
-
/* @__PURE__ */ (0,
|
|
6272
|
-
/* @__PURE__ */ (0,
|
|
6273
|
-
/* @__PURE__ */ (0,
|
|
6274
|
-
/* @__PURE__ */ (0,
|
|
6275
|
-
/* @__PURE__ */ (0,
|
|
6284
|
+
var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6285
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "k-contrast-ratio", children: [
|
|
6286
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6287
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6288
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { icon: "check" }),
|
|
6289
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { icon: "check" })
|
|
6276
6290
|
] })
|
|
6277
6291
|
] }),
|
|
6278
|
-
/* @__PURE__ */ (0,
|
|
6279
|
-
/* @__PURE__ */ (0,
|
|
6280
|
-
/* @__PURE__ */ (0,
|
|
6292
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { children: [
|
|
6293
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: "AA: 4.5" }),
|
|
6294
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6281
6295
|
"Pass",
|
|
6282
|
-
/* @__PURE__ */ (0,
|
|
6296
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { icon: "check" })
|
|
6283
6297
|
] })
|
|
6284
6298
|
] }),
|
|
6285
|
-
/* @__PURE__ */ (0,
|
|
6286
|
-
/* @__PURE__ */ (0,
|
|
6287
|
-
/* @__PURE__ */ (0,
|
|
6299
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { children: [
|
|
6300
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { children: "AAA: 7.0" }),
|
|
6301
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6288
6302
|
"Fail",
|
|
6289
|
-
/* @__PURE__ */ (0,
|
|
6303
|
+
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { icon: "x" })
|
|
6290
6304
|
] })
|
|
6291
6305
|
] })
|
|
6292
6306
|
] });
|
|
@@ -6296,7 +6310,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
6296
6310
|
ColorContrast.defaultProps = defaultProps30;
|
|
6297
6311
|
|
|
6298
6312
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6299
|
-
var
|
|
6313
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6300
6314
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6301
6315
|
var states35 = [
|
|
6302
6316
|
States.hover,
|
|
@@ -6329,7 +6343,7 @@ var ColorGradient = (props) => {
|
|
|
6329
6343
|
dragHandleStyle = defaultProps31.dragHandleStyle,
|
|
6330
6344
|
alphaStyle = defaultProps31.alphaStyle
|
|
6331
6345
|
} = props;
|
|
6332
|
-
return /* @__PURE__ */ (0,
|
|
6346
|
+
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: classNames(
|
|
6333
6347
|
props.className,
|
|
6334
6348
|
COLOR_GRADIENT_CLASSNAME,
|
|
6335
6349
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6339,8 +6353,8 @@ var ColorGradient = (props) => {
|
|
|
6339
6353
|
disabled
|
|
6340
6354
|
})
|
|
6341
6355
|
), dir, children: [
|
|
6342
|
-
/* @__PURE__ */ (0,
|
|
6343
|
-
/* @__PURE__ */ (0,
|
|
6356
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6357
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: classNames(
|
|
6344
6358
|
"k-hsv-draghandle",
|
|
6345
6359
|
"k-draghandle",
|
|
6346
6360
|
{
|
|
@@ -6348,13 +6362,13 @@ var ColorGradient = (props) => {
|
|
|
6348
6362
|
"k-focus": focusHandle
|
|
6349
6363
|
}
|
|
6350
6364
|
), style: dragHandleStyle }) }) }),
|
|
6351
|
-
/* @__PURE__ */ (0,
|
|
6352
|
-
/* @__PURE__ */ (0,
|
|
6353
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0,
|
|
6365
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6366
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6367
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6354
6368
|
] })
|
|
6355
6369
|
] }),
|
|
6356
|
-
/* @__PURE__ */ (0,
|
|
6357
|
-
contrast && /* @__PURE__ */ (0,
|
|
6370
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ColorInput, { mode: props.mode }),
|
|
6371
|
+
contrast && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ColorContrast, {})
|
|
6358
6372
|
] });
|
|
6359
6373
|
};
|
|
6360
6374
|
ColorGradient.states = states35;
|
|
@@ -6363,17 +6377,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
6363
6377
|
ColorGradient.defaultProps = defaultProps31;
|
|
6364
6378
|
|
|
6365
6379
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6366
|
-
var
|
|
6380
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6367
6381
|
|
|
6368
6382
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6369
|
-
var
|
|
6383
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6370
6384
|
|
|
6371
6385
|
// src/colorpalette/colorpalette-row.tsx
|
|
6372
|
-
var
|
|
6373
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */ (0,
|
|
6386
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
6387
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("tr", { children: props.children });
|
|
6374
6388
|
|
|
6375
6389
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6376
|
-
var
|
|
6390
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
6377
6391
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6378
6392
|
var states36 = [
|
|
6379
6393
|
States.hover,
|
|
@@ -6395,7 +6409,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6395
6409
|
"width": tileSize ? tileSize + "px" : "",
|
|
6396
6410
|
"height": tileSize ? tileSize + "px" : ""
|
|
6397
6411
|
};
|
|
6398
|
-
return /* @__PURE__ */ (0,
|
|
6412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
6399
6413
|
"td",
|
|
6400
6414
|
{
|
|
6401
6415
|
...other,
|
|
@@ -6417,7 +6431,7 @@ ColorPaletteTile.options = options35;
|
|
|
6417
6431
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6418
6432
|
|
|
6419
6433
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6420
|
-
var
|
|
6434
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
6421
6435
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6422
6436
|
var states37 = [
|
|
6423
6437
|
States.disabled
|
|
@@ -6442,14 +6456,14 @@ var ColorPalette = (props) => {
|
|
|
6442
6456
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6443
6457
|
const items = [];
|
|
6444
6458
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6445
|
-
items.push(/* @__PURE__ */ (0,
|
|
6459
|
+
items.push(/* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ColorPaletteTile, { color, tileSize }));
|
|
6446
6460
|
});
|
|
6447
|
-
const row = /* @__PURE__ */ (0,
|
|
6461
|
+
const row = /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ColorPaletteRow, { children: items });
|
|
6448
6462
|
newChildren.push(row);
|
|
6449
6463
|
});
|
|
6450
6464
|
}
|
|
6451
6465
|
}
|
|
6452
|
-
return /* @__PURE__ */ (0,
|
|
6466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
6453
6467
|
"div",
|
|
6454
6468
|
{
|
|
6455
6469
|
...other,
|
|
@@ -6460,7 +6474,7 @@ var ColorPalette = (props) => {
|
|
|
6460
6474
|
disabled
|
|
6461
6475
|
})
|
|
6462
6476
|
),
|
|
6463
|
-
children: /* @__PURE__ */ (0,
|
|
6477
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6464
6478
|
}
|
|
6465
6479
|
);
|
|
6466
6480
|
};
|
|
@@ -6470,7 +6484,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
6470
6484
|
ColorPalette.defaultProps = defaultProps32;
|
|
6471
6485
|
|
|
6472
6486
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6473
|
-
var
|
|
6487
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
6474
6488
|
|
|
6475
6489
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6476
6490
|
var PALETTEPRESETS = {
|
|
@@ -6525,7 +6539,7 @@ var PALETTEPRESETS = {
|
|
|
6525
6539
|
};
|
|
6526
6540
|
|
|
6527
6541
|
// src/coloreditor/color-editor.spec.tsx
|
|
6528
|
-
var
|
|
6542
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
6529
6543
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6530
6544
|
var states38 = [
|
|
6531
6545
|
States.focus
|
|
@@ -6547,30 +6561,30 @@ var ColorEditor = (props) => {
|
|
|
6547
6561
|
group,
|
|
6548
6562
|
palette = defaultProps33.palette
|
|
6549
6563
|
} = props;
|
|
6550
|
-
return /* @__PURE__ */ (0,
|
|
6564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: classNames(
|
|
6551
6565
|
props.className,
|
|
6552
6566
|
"k-flatcolorpicker",
|
|
6553
6567
|
COLOREDITOR_CLASSNAME,
|
|
6554
6568
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6555
6569
|
), dir, children: [
|
|
6556
|
-
/* @__PURE__ */ (0,
|
|
6557
|
-
/* @__PURE__ */ (0,
|
|
6558
|
-
/* @__PURE__ */ (0,
|
|
6559
|
-
/* @__PURE__ */ (0,
|
|
6570
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6571
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(ButtonGroup, { children: [
|
|
6572
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6573
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6560
6574
|
] }) }),
|
|
6561
|
-
/* @__PURE__ */ (0,
|
|
6562
|
-
/* @__PURE__ */ (0,
|
|
6563
|
-
/* @__PURE__ */ (0,
|
|
6564
|
-
/* @__PURE__ */ (0,
|
|
6565
|
-
/* @__PURE__ */ (0,
|
|
6566
|
-
/* @__PURE__ */ (0,
|
|
6575
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "k-spacer" }),
|
|
6576
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6577
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6578
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6579
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6580
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6567
6581
|
] })
|
|
6568
6582
|
] })
|
|
6569
6583
|
] }),
|
|
6570
|
-
/* @__PURE__ */ (0,
|
|
6571
|
-
/* @__PURE__ */ (0,
|
|
6572
|
-
/* @__PURE__ */ (0,
|
|
6573
|
-
/* @__PURE__ */ (0,
|
|
6584
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ColorGradient, { focus: focusView }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(ColorPalette, { palette }) }),
|
|
6585
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6586
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6587
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6574
6588
|
] })
|
|
6575
6589
|
] });
|
|
6576
6590
|
};
|
|
@@ -6580,25 +6594,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
6580
6594
|
ColorEditor.defaultProps = defaultProps33;
|
|
6581
6595
|
|
|
6582
6596
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6583
|
-
var
|
|
6597
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
6584
6598
|
|
|
6585
6599
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6586
|
-
var
|
|
6600
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
6587
6601
|
|
|
6588
6602
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6589
|
-
var
|
|
6603
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
6590
6604
|
|
|
6591
6605
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6592
|
-
var
|
|
6606
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
6593
6607
|
|
|
6594
6608
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6595
|
-
var
|
|
6609
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6596
6610
|
|
|
6597
6611
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6598
|
-
var
|
|
6612
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
6599
6613
|
|
|
6600
6614
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6601
|
-
var
|
|
6615
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
6602
6616
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6603
6617
|
var states39 = [];
|
|
6604
6618
|
var options38 = {};
|
|
@@ -6621,8 +6635,8 @@ var ActionSheet = (props) => {
|
|
|
6621
6635
|
overlay = defaultProps34.overlay,
|
|
6622
6636
|
...other
|
|
6623
6637
|
} = props;
|
|
6624
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ (0,
|
|
6625
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0,
|
|
6638
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6639
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6626
6640
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6627
6641
|
switch (child.type) {
|
|
6628
6642
|
case ActionSheetHeader:
|
|
@@ -6632,10 +6646,10 @@ var ActionSheet = (props) => {
|
|
|
6632
6646
|
return true;
|
|
6633
6647
|
}
|
|
6634
6648
|
return true;
|
|
6635
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0,
|
|
6636
|
-
return /* @__PURE__ */ (0,
|
|
6637
|
-
overlay && /* @__PURE__ */ (0,
|
|
6638
|
-
/* @__PURE__ */ (0,
|
|
6649
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_jsx_runtime87.Fragment, {});
|
|
6650
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "k-actionsheet-container", children: [
|
|
6651
|
+
overlay && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "k-overlay" }),
|
|
6652
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6639
6653
|
AnimationContainer,
|
|
6640
6654
|
{
|
|
6641
6655
|
animationStyle: {
|
|
@@ -6645,7 +6659,7 @@ var ActionSheet = (props) => {
|
|
|
6645
6659
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6646
6660
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6647
6661
|
},
|
|
6648
|
-
children: /* @__PURE__ */ (0,
|
|
6662
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
6649
6663
|
"div",
|
|
6650
6664
|
{
|
|
6651
6665
|
...other,
|
|
@@ -6658,9 +6672,9 @@ var ActionSheet = (props) => {
|
|
|
6658
6672
|
"k-adaptive-actionsheet": adaptive
|
|
6659
6673
|
}
|
|
6660
6674
|
),
|
|
6661
|
-
children: /* @__PURE__ */ (0,
|
|
6675
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
|
|
6662
6676
|
_ActionSheetHeader,
|
|
6663
|
-
/* @__PURE__ */ (0,
|
|
6677
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: classNames(
|
|
6664
6678
|
"k-actionsheet-content",
|
|
6665
6679
|
{
|
|
6666
6680
|
"!k-overflow-hidden": adaptive
|
|
@@ -6680,7 +6694,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6680
6694
|
ActionSheet.defaultProps = defaultProps34;
|
|
6681
6695
|
|
|
6682
6696
|
// src/action-sheet/actionsheet-header.tsx
|
|
6683
|
-
var
|
|
6697
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
6684
6698
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6685
6699
|
var ActionSheetHeader = (props) => {
|
|
6686
6700
|
const {
|
|
@@ -6690,7 +6704,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6690
6704
|
filter,
|
|
6691
6705
|
...other
|
|
6692
6706
|
} = props;
|
|
6693
|
-
return /* @__PURE__ */ (0,
|
|
6707
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
|
|
6694
6708
|
"div",
|
|
6695
6709
|
{
|
|
6696
6710
|
...other,
|
|
@@ -6698,30 +6712,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6698
6712
|
props.className,
|
|
6699
6713
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6700
6714
|
),
|
|
6701
|
-
children: /* @__PURE__ */ (0,
|
|
6702
|
-
/* @__PURE__ */ (0,
|
|
6703
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ (0,
|
|
6704
|
-
title !== "" && /* @__PURE__ */ (0,
|
|
6705
|
-
subTitle !== "" && /* @__PURE__ */ (0,
|
|
6715
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
|
|
6716
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6717
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_jsx_runtime88.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "k-actionsheet-title", children: [
|
|
6718
|
+
title !== "" && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-text-center", children: title }),
|
|
6719
|
+
subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6706
6720
|
] }) }),
|
|
6707
|
-
props.children && /* @__PURE__ */ (0,
|
|
6708
|
-
actions && /* @__PURE__ */ (0,
|
|
6721
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6722
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_jsx_runtime88.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6709
6723
|
] }),
|
|
6710
|
-
filter && /* @__PURE__ */ (0,
|
|
6724
|
+
filter && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_jsx_runtime88.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6711
6725
|
] })
|
|
6712
6726
|
}
|
|
6713
6727
|
);
|
|
6714
6728
|
};
|
|
6715
6729
|
|
|
6716
6730
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6717
|
-
var
|
|
6731
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
6718
6732
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6719
6733
|
var ActionSheetFooter = (props) => {
|
|
6720
6734
|
const {
|
|
6721
6735
|
actions,
|
|
6722
6736
|
...other
|
|
6723
6737
|
} = props;
|
|
6724
|
-
return /* @__PURE__ */ (0,
|
|
6738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
6725
6739
|
action_buttons_spec_default,
|
|
6726
6740
|
{
|
|
6727
6741
|
...other,
|
|
@@ -6730,17 +6744,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6730
6744
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6731
6745
|
),
|
|
6732
6746
|
alignment: "stretched",
|
|
6733
|
-
children: /* @__PURE__ */ (0,
|
|
6747
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6734
6748
|
actions && actions.map((action, index) => {
|
|
6735
6749
|
if (action === "|") {
|
|
6736
|
-
return /* @__PURE__ */ (0,
|
|
6750
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "k-separator" }, index);
|
|
6737
6751
|
}
|
|
6738
6752
|
if (action === " ") {
|
|
6739
|
-
return /* @__PURE__ */ (0,
|
|
6753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "k-spacer" }, index);
|
|
6740
6754
|
}
|
|
6741
6755
|
const importantFlag = action.startsWith("!");
|
|
6742
6756
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6743
|
-
return /* @__PURE__ */ (0,
|
|
6757
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6744
6758
|
}),
|
|
6745
6759
|
!actions && props.children
|
|
6746
6760
|
] })
|
|
@@ -6749,12 +6763,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6749
6763
|
};
|
|
6750
6764
|
|
|
6751
6765
|
// src/action-sheet/actionsheet-items.tsx
|
|
6752
|
-
var
|
|
6766
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
6753
6767
|
var ActionSheetItems = (props) => {
|
|
6754
6768
|
const {
|
|
6755
6769
|
...other
|
|
6756
6770
|
} = props;
|
|
6757
|
-
return /* @__PURE__ */ (0,
|
|
6771
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
6758
6772
|
"div",
|
|
6759
6773
|
{
|
|
6760
6774
|
...other,
|
|
@@ -6768,7 +6782,7 @@ var ActionSheetItems = (props) => {
|
|
|
6768
6782
|
};
|
|
6769
6783
|
|
|
6770
6784
|
// src/action-sheet/actionsheet-item.tsx
|
|
6771
|
-
var
|
|
6785
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
6772
6786
|
var states40 = [
|
|
6773
6787
|
States.hover,
|
|
6774
6788
|
States.focus,
|
|
@@ -6777,7 +6791,7 @@ var states40 = [
|
|
|
6777
6791
|
];
|
|
6778
6792
|
|
|
6779
6793
|
// src/combobox/combobox.spec.tsx
|
|
6780
|
-
var
|
|
6794
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6781
6795
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6782
6796
|
var states41 = [
|
|
6783
6797
|
States.hover,
|
|
@@ -6822,8 +6836,8 @@ var Combobox = (props) => {
|
|
|
6822
6836
|
adaptiveSettings,
|
|
6823
6837
|
...other
|
|
6824
6838
|
} = props;
|
|
6825
|
-
return /* @__PURE__ */ (0,
|
|
6826
|
-
/* @__PURE__ */ (0,
|
|
6839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
|
|
6840
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
|
|
6827
6841
|
Input,
|
|
6828
6842
|
{
|
|
6829
6843
|
...other,
|
|
@@ -6840,9 +6854,9 @@ var Combobox = (props) => {
|
|
|
6840
6854
|
readonly,
|
|
6841
6855
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6842
6856
|
children: [
|
|
6843
|
-
/* @__PURE__ */ (0,
|
|
6844
|
-
/* @__PURE__ */ (0,
|
|
6845
|
-
/* @__PURE__ */ (0,
|
|
6857
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(InputPrefix, { children: prefix }),
|
|
6858
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(InputInnerInput, { placeholder, value }),
|
|
6859
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6846
6860
|
InputValidationIcon,
|
|
6847
6861
|
{
|
|
6848
6862
|
valid,
|
|
@@ -6851,14 +6865,14 @@ var Combobox = (props) => {
|
|
|
6851
6865
|
disabled
|
|
6852
6866
|
}
|
|
6853
6867
|
),
|
|
6854
|
-
/* @__PURE__ */ (0,
|
|
6868
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6855
6869
|
InputLoadingIcon,
|
|
6856
6870
|
{
|
|
6857
6871
|
loading,
|
|
6858
6872
|
disabled
|
|
6859
6873
|
}
|
|
6860
6874
|
),
|
|
6861
|
-
/* @__PURE__ */ (0,
|
|
6875
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6862
6876
|
InputClearValue,
|
|
6863
6877
|
{
|
|
6864
6878
|
loading,
|
|
@@ -6867,8 +6881,8 @@ var Combobox = (props) => {
|
|
|
6867
6881
|
value
|
|
6868
6882
|
}
|
|
6869
6883
|
),
|
|
6870
|
-
/* @__PURE__ */ (0,
|
|
6871
|
-
/* @__PURE__ */ (0,
|
|
6884
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(InputSuffix, { children: suffix }),
|
|
6885
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6872
6886
|
Button,
|
|
6873
6887
|
{
|
|
6874
6888
|
className: "k-input-button",
|
|
@@ -6881,9 +6895,9 @@ var Combobox = (props) => {
|
|
|
6881
6895
|
]
|
|
6882
6896
|
}
|
|
6883
6897
|
),
|
|
6884
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
6885
|
-
adaptive && /* @__PURE__ */ (0,
|
|
6886
|
-
/* @__PURE__ */ (0,
|
|
6898
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6899
|
+
adaptive && /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6900
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
|
|
6887
6901
|
ActionSheetHeader,
|
|
6888
6902
|
{
|
|
6889
6903
|
actions: ["x"],
|
|
@@ -6891,10 +6905,10 @@ var Combobox = (props) => {
|
|
|
6891
6905
|
title: "Select Item"
|
|
6892
6906
|
}
|
|
6893
6907
|
),
|
|
6894
|
-
/* @__PURE__ */ (0,
|
|
6895
|
-
/* @__PURE__ */ (0,
|
|
6896
|
-
/* @__PURE__ */ (0,
|
|
6897
|
-
/* @__PURE__ */ (0,
|
|
6908
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(List, { size: "large", children: [
|
|
6909
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ListItem, { text: "List item" }),
|
|
6910
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ListItem, { text: "List item" }),
|
|
6911
|
+
/* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ListItem, { text: "List item" })
|
|
6898
6912
|
] }) })
|
|
6899
6913
|
] })
|
|
6900
6914
|
] });
|
|
@@ -6905,19 +6919,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
6905
6919
|
Combobox.defaultProps = defaultProps35;
|
|
6906
6920
|
|
|
6907
6921
|
// src/combobox/templates/combobox-normal.tsx
|
|
6908
|
-
var
|
|
6922
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
6909
6923
|
|
|
6910
6924
|
// src/combobox/templates/combobox-popup.tsx
|
|
6911
|
-
var
|
|
6925
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
6912
6926
|
|
|
6913
6927
|
// src/combobox/templates/combobox-grouping.tsx
|
|
6914
|
-
var
|
|
6928
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
6915
6929
|
|
|
6916
6930
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
6917
|
-
var
|
|
6931
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
6918
6932
|
|
|
6919
6933
|
// src/menu-button/menu-button.spec.tsx
|
|
6920
|
-
var
|
|
6934
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
6921
6935
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
6922
6936
|
var states42 = [
|
|
6923
6937
|
States.hover,
|
|
@@ -6971,8 +6985,8 @@ var MenuButton = (props) => {
|
|
|
6971
6985
|
opened,
|
|
6972
6986
|
...other
|
|
6973
6987
|
} = props;
|
|
6974
|
-
return /* @__PURE__ */ (0,
|
|
6975
|
-
/* @__PURE__ */ (0,
|
|
6988
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
|
|
6989
|
+
/* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
6976
6990
|
Button,
|
|
6977
6991
|
{
|
|
6978
6992
|
...other,
|
|
@@ -6995,7 +7009,7 @@ var MenuButton = (props) => {
|
|
|
6995
7009
|
arrowIconName
|
|
6996
7010
|
}
|
|
6997
7011
|
),
|
|
6998
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
7012
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Popup, { className: "k-menu-popup", children: popup })
|
|
6999
7013
|
] });
|
|
7000
7014
|
};
|
|
7001
7015
|
MenuButton.states = states42;
|
|
@@ -7004,16 +7018,16 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
7004
7018
|
MenuButton.defaultProps = defaultProps36;
|
|
7005
7019
|
|
|
7006
7020
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7007
|
-
var
|
|
7021
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
7008
7022
|
|
|
7009
7023
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7010
|
-
var
|
|
7024
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
7011
7025
|
|
|
7012
7026
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7013
|
-
var
|
|
7027
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
7014
7028
|
|
|
7015
7029
|
// src/menu/menu-item.spec.tsx
|
|
7016
|
-
var
|
|
7030
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
7017
7031
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7018
7032
|
var states43 = [
|
|
7019
7033
|
States.hover,
|
|
@@ -7041,7 +7055,7 @@ var MenuItem = (props) => {
|
|
|
7041
7055
|
children,
|
|
7042
7056
|
...other
|
|
7043
7057
|
} = props;
|
|
7044
|
-
const contentTemplate = /* @__PURE__ */ (0,
|
|
7058
|
+
const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_jsx_runtime101.Fragment, {});
|
|
7045
7059
|
if (children) {
|
|
7046
7060
|
children.forEach((child) => {
|
|
7047
7061
|
const component = child.type;
|
|
@@ -7055,7 +7069,7 @@ var MenuItem = (props) => {
|
|
|
7055
7069
|
if (!expandArrowName) {
|
|
7056
7070
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7057
7071
|
}
|
|
7058
|
-
return /* @__PURE__ */ (0,
|
|
7072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
7059
7073
|
"li",
|
|
7060
7074
|
{
|
|
7061
7075
|
...other,
|
|
@@ -7070,7 +7084,7 @@ var MenuItem = (props) => {
|
|
|
7070
7084
|
})
|
|
7071
7085
|
),
|
|
7072
7086
|
children: [
|
|
7073
|
-
/* @__PURE__ */ (0,
|
|
7087
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(
|
|
7074
7088
|
"span",
|
|
7075
7089
|
{
|
|
7076
7090
|
className: classNames(
|
|
@@ -7083,9 +7097,9 @@ var MenuItem = (props) => {
|
|
|
7083
7097
|
})
|
|
7084
7098
|
),
|
|
7085
7099
|
children: [
|
|
7086
|
-
icon && /* @__PURE__ */ (0,
|
|
7087
|
-
/* @__PURE__ */ (0,
|
|
7088
|
-
showArrow && /* @__PURE__ */ (0,
|
|
7100
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { className: "k-menu-link-icon", icon }),
|
|
7101
|
+
/* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: "k-menu-link-text", children: text }),
|
|
7102
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { icon: expandArrowName }) })
|
|
7089
7103
|
]
|
|
7090
7104
|
}
|
|
7091
7105
|
),
|
|
@@ -7101,7 +7115,7 @@ MenuItem.defaultProps = defaultProps37;
|
|
|
7101
7115
|
var menu_item_spec_default = MenuItem;
|
|
7102
7116
|
|
|
7103
7117
|
// src/menu/menu-separator.spec.tsx
|
|
7104
|
-
var
|
|
7118
|
+
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
7105
7119
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7106
7120
|
var defaultProps38 = {
|
|
7107
7121
|
orientation: "horizontal"
|
|
@@ -7111,7 +7125,7 @@ var MenuSeparator = (props) => {
|
|
|
7111
7125
|
orientation = defaultProps38.orientation,
|
|
7112
7126
|
...other
|
|
7113
7127
|
} = props;
|
|
7114
|
-
return /* @__PURE__ */ (0,
|
|
7128
|
+
return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
7115
7129
|
"li",
|
|
7116
7130
|
{
|
|
7117
7131
|
...other,
|
|
@@ -7129,10 +7143,10 @@ var MenuSeparator = (props) => {
|
|
|
7129
7143
|
var menu_separator_spec_default = MenuSeparator;
|
|
7130
7144
|
|
|
7131
7145
|
// src/menu/menu-item-content.tsx
|
|
7132
|
-
var
|
|
7146
|
+
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
7133
7147
|
|
|
7134
7148
|
// src/menu/menu-list.spec.tsx
|
|
7135
|
-
var
|
|
7149
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
7136
7150
|
var import_react = require("react");
|
|
7137
7151
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7138
7152
|
var states44 = [];
|
|
@@ -7160,7 +7174,7 @@ var MenuList = (props) => {
|
|
|
7160
7174
|
);
|
|
7161
7175
|
} else if (child.type === menu_separator_spec_default) {
|
|
7162
7176
|
listChildren.push(
|
|
7163
|
-
/* @__PURE__ */ (0,
|
|
7177
|
+
/* @__PURE__ */ (0, import_jsx_runtime104.jsx)(menu_separator_spec_default, {})
|
|
7164
7178
|
);
|
|
7165
7179
|
} else {
|
|
7166
7180
|
listChildren.push(child);
|
|
@@ -7168,7 +7182,7 @@ var MenuList = (props) => {
|
|
|
7168
7182
|
});
|
|
7169
7183
|
}
|
|
7170
7184
|
}
|
|
7171
|
-
return /* @__PURE__ */ (0,
|
|
7185
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
7172
7186
|
"ul",
|
|
7173
7187
|
{
|
|
7174
7188
|
...other,
|
|
@@ -7189,10 +7203,10 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
7189
7203
|
MenuList.defaultProps = defaultProps39;
|
|
7190
7204
|
|
|
7191
7205
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7192
|
-
var
|
|
7206
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
7193
7207
|
|
|
7194
7208
|
// src/split-button/split-button.spec.tsx
|
|
7195
|
-
var
|
|
7209
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
7196
7210
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7197
7211
|
var states45 = [
|
|
7198
7212
|
States.hover,
|
|
@@ -7244,8 +7258,8 @@ var SplitButton = (props) => {
|
|
|
7244
7258
|
opened,
|
|
7245
7259
|
...other
|
|
7246
7260
|
} = props;
|
|
7247
|
-
return /* @__PURE__ */ (0,
|
|
7248
|
-
/* @__PURE__ */ (0,
|
|
7261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
|
|
7262
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
|
|
7249
7263
|
"div",
|
|
7250
7264
|
{
|
|
7251
7265
|
...other,
|
|
@@ -7258,7 +7272,7 @@ var SplitButton = (props) => {
|
|
|
7258
7272
|
})
|
|
7259
7273
|
),
|
|
7260
7274
|
children: [
|
|
7261
|
-
/* @__PURE__ */ (0,
|
|
7275
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7262
7276
|
Button,
|
|
7263
7277
|
{
|
|
7264
7278
|
text,
|
|
@@ -7275,7 +7289,7 @@ var SplitButton = (props) => {
|
|
|
7275
7289
|
children: props.children
|
|
7276
7290
|
}
|
|
7277
7291
|
),
|
|
7278
|
-
/* @__PURE__ */ (0,
|
|
7292
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
7279
7293
|
Button,
|
|
7280
7294
|
{
|
|
7281
7295
|
className: "k-split-button-arrow",
|
|
@@ -7289,7 +7303,7 @@ var SplitButton = (props) => {
|
|
|
7289
7303
|
]
|
|
7290
7304
|
}
|
|
7291
7305
|
),
|
|
7292
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
7306
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Popup, { className: "k-menu-popup", children: popup })
|
|
7293
7307
|
] });
|
|
7294
7308
|
};
|
|
7295
7309
|
SplitButton.states = states45;
|
|
@@ -7299,7 +7313,7 @@ SplitButton.defaultProps = defaultProps40;
|
|
|
7299
7313
|
var split_button_spec_default = SplitButton;
|
|
7300
7314
|
|
|
7301
7315
|
// src/toolbar/toolbar.spec.tsx
|
|
7302
|
-
var
|
|
7316
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
7303
7317
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7304
7318
|
var states46 = [
|
|
7305
7319
|
States.focus
|
|
@@ -7322,7 +7336,7 @@ var Toolbar = (props) => {
|
|
|
7322
7336
|
const tempToolbarChildren = [];
|
|
7323
7337
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7324
7338
|
tempToolbarChildren.push(
|
|
7325
|
-
/* @__PURE__ */ (0,
|
|
7339
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7326
7340
|
Button,
|
|
7327
7341
|
{
|
|
7328
7342
|
...child.props,
|
|
@@ -7333,7 +7347,7 @@ var Toolbar = (props) => {
|
|
|
7333
7347
|
);
|
|
7334
7348
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7335
7349
|
tempToolbarChildren.push(
|
|
7336
|
-
/* @__PURE__ */ (0,
|
|
7350
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7337
7351
|
Button,
|
|
7338
7352
|
{
|
|
7339
7353
|
...child.props,
|
|
@@ -7344,7 +7358,7 @@ var Toolbar = (props) => {
|
|
|
7344
7358
|
);
|
|
7345
7359
|
} else if (child.type === Button) {
|
|
7346
7360
|
tempToolbarChildren.push(
|
|
7347
|
-
/* @__PURE__ */ (0,
|
|
7361
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7348
7362
|
Button,
|
|
7349
7363
|
{
|
|
7350
7364
|
...child.props,
|
|
@@ -7355,7 +7369,7 @@ var Toolbar = (props) => {
|
|
|
7355
7369
|
);
|
|
7356
7370
|
} else if (child.type === MenuButton) {
|
|
7357
7371
|
tempToolbarChildren.push(
|
|
7358
|
-
/* @__PURE__ */ (0,
|
|
7372
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7359
7373
|
MenuButton,
|
|
7360
7374
|
{
|
|
7361
7375
|
...child.props,
|
|
@@ -7366,7 +7380,7 @@ var Toolbar = (props) => {
|
|
|
7366
7380
|
);
|
|
7367
7381
|
} else if (child.type === split_button_spec_default) {
|
|
7368
7382
|
tempToolbarChildren.push(
|
|
7369
|
-
/* @__PURE__ */ (0,
|
|
7383
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7370
7384
|
split_button_spec_default,
|
|
7371
7385
|
{
|
|
7372
7386
|
...child.props,
|
|
@@ -7380,7 +7394,7 @@ var Toolbar = (props) => {
|
|
|
7380
7394
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7381
7395
|
childrenArray.forEach((button, bindex) => {
|
|
7382
7396
|
buttonGroupItems.push(
|
|
7383
|
-
/* @__PURE__ */ (0,
|
|
7397
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7384
7398
|
Button,
|
|
7385
7399
|
{
|
|
7386
7400
|
...button.props,
|
|
@@ -7391,7 +7405,7 @@ var Toolbar = (props) => {
|
|
|
7391
7405
|
);
|
|
7392
7406
|
});
|
|
7393
7407
|
tempToolbarChildren.push(
|
|
7394
|
-
/* @__PURE__ */ (0,
|
|
7408
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7395
7409
|
ButtonGroup,
|
|
7396
7410
|
{
|
|
7397
7411
|
...child.props,
|
|
@@ -7403,7 +7417,7 @@ var Toolbar = (props) => {
|
|
|
7403
7417
|
);
|
|
7404
7418
|
} else if (child.type === Combobox) {
|
|
7405
7419
|
tempToolbarChildren.push(
|
|
7406
|
-
/* @__PURE__ */ (0,
|
|
7420
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7407
7421
|
Combobox,
|
|
7408
7422
|
{
|
|
7409
7423
|
...child.props,
|
|
@@ -7414,7 +7428,7 @@ var Toolbar = (props) => {
|
|
|
7414
7428
|
);
|
|
7415
7429
|
} else if (child.type === DropdownList) {
|
|
7416
7430
|
tempToolbarChildren.push(
|
|
7417
|
-
/* @__PURE__ */ (0,
|
|
7431
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7418
7432
|
DropdownList,
|
|
7419
7433
|
{
|
|
7420
7434
|
...child.props,
|
|
@@ -7425,7 +7439,7 @@ var Toolbar = (props) => {
|
|
|
7425
7439
|
);
|
|
7426
7440
|
} else if (child.type === ColorPicker) {
|
|
7427
7441
|
tempToolbarChildren.push(
|
|
7428
|
-
/* @__PURE__ */ (0,
|
|
7442
|
+
/* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7429
7443
|
ColorPicker,
|
|
7430
7444
|
{
|
|
7431
7445
|
...child.props,
|
|
@@ -7447,7 +7461,7 @@ var Toolbar = (props) => {
|
|
|
7447
7461
|
addUniqueToolClass(child, index);
|
|
7448
7462
|
});
|
|
7449
7463
|
}
|
|
7450
|
-
return /* @__PURE__ */ (0,
|
|
7464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
|
|
7451
7465
|
"div",
|
|
7452
7466
|
{
|
|
7453
7467
|
...other,
|
|
@@ -7474,7 +7488,7 @@ Toolbar.className = TOOLBAR_CLASSNAME;
|
|
|
7474
7488
|
Toolbar.defaultProps = defaultProps41;
|
|
7475
7489
|
|
|
7476
7490
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7477
|
-
var
|
|
7491
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
7478
7492
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7479
7493
|
var states47 = [
|
|
7480
7494
|
States.focus
|
|
@@ -7497,7 +7511,7 @@ var ToolbarAngular = (props) => {
|
|
|
7497
7511
|
const tempToolbarChildren = [];
|
|
7498
7512
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7499
7513
|
tempToolbarChildren.push(
|
|
7500
|
-
/* @__PURE__ */ (0,
|
|
7514
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7501
7515
|
Button,
|
|
7502
7516
|
{
|
|
7503
7517
|
...child.props,
|
|
@@ -7508,7 +7522,7 @@ var ToolbarAngular = (props) => {
|
|
|
7508
7522
|
);
|
|
7509
7523
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7510
7524
|
tempToolbarChildren.push(
|
|
7511
|
-
/* @__PURE__ */ (0,
|
|
7525
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7512
7526
|
Button,
|
|
7513
7527
|
{
|
|
7514
7528
|
...child.props,
|
|
@@ -7519,7 +7533,7 @@ var ToolbarAngular = (props) => {
|
|
|
7519
7533
|
);
|
|
7520
7534
|
} else if (child.type === Button) {
|
|
7521
7535
|
tempToolbarChildren.push(
|
|
7522
|
-
/* @__PURE__ */ (0,
|
|
7536
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7523
7537
|
Button,
|
|
7524
7538
|
{
|
|
7525
7539
|
...child.props,
|
|
@@ -7530,7 +7544,7 @@ var ToolbarAngular = (props) => {
|
|
|
7530
7544
|
);
|
|
7531
7545
|
} else if (child.type === MenuButton) {
|
|
7532
7546
|
tempToolbarChildren.push(
|
|
7533
|
-
/* @__PURE__ */ (0,
|
|
7547
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7534
7548
|
MenuButton,
|
|
7535
7549
|
{
|
|
7536
7550
|
...child.props,
|
|
@@ -7541,7 +7555,7 @@ var ToolbarAngular = (props) => {
|
|
|
7541
7555
|
);
|
|
7542
7556
|
} else if (child.type === split_button_spec_default) {
|
|
7543
7557
|
tempToolbarChildren.push(
|
|
7544
|
-
/* @__PURE__ */ (0,
|
|
7558
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7545
7559
|
split_button_spec_default,
|
|
7546
7560
|
{
|
|
7547
7561
|
...child.props,
|
|
@@ -7555,7 +7569,7 @@ var ToolbarAngular = (props) => {
|
|
|
7555
7569
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7556
7570
|
childrenArray.forEach((button, bindex) => {
|
|
7557
7571
|
buttonGroupItems.push(
|
|
7558
|
-
/* @__PURE__ */ (0,
|
|
7572
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7559
7573
|
Button,
|
|
7560
7574
|
{
|
|
7561
7575
|
...button.props,
|
|
@@ -7566,7 +7580,7 @@ var ToolbarAngular = (props) => {
|
|
|
7566
7580
|
);
|
|
7567
7581
|
});
|
|
7568
7582
|
tempToolbarChildren.push(
|
|
7569
|
-
/* @__PURE__ */ (0,
|
|
7583
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7570
7584
|
ButtonGroup,
|
|
7571
7585
|
{
|
|
7572
7586
|
...child.props,
|
|
@@ -7578,7 +7592,7 @@ var ToolbarAngular = (props) => {
|
|
|
7578
7592
|
);
|
|
7579
7593
|
} else if (child.type === Combobox) {
|
|
7580
7594
|
tempToolbarChildren.push(
|
|
7581
|
-
/* @__PURE__ */ (0,
|
|
7595
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7582
7596
|
Combobox,
|
|
7583
7597
|
{
|
|
7584
7598
|
...child.props,
|
|
@@ -7589,7 +7603,7 @@ var ToolbarAngular = (props) => {
|
|
|
7589
7603
|
);
|
|
7590
7604
|
} else if (child.type === DropdownList) {
|
|
7591
7605
|
tempToolbarChildren.push(
|
|
7592
|
-
/* @__PURE__ */ (0,
|
|
7606
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7593
7607
|
DropdownList,
|
|
7594
7608
|
{
|
|
7595
7609
|
...child.props,
|
|
@@ -7600,7 +7614,7 @@ var ToolbarAngular = (props) => {
|
|
|
7600
7614
|
);
|
|
7601
7615
|
} else if (child.type === ColorPicker) {
|
|
7602
7616
|
tempToolbarChildren.push(
|
|
7603
|
-
/* @__PURE__ */ (0,
|
|
7617
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7604
7618
|
ColorPicker,
|
|
7605
7619
|
{
|
|
7606
7620
|
...child.props,
|
|
@@ -7622,7 +7636,7 @@ var ToolbarAngular = (props) => {
|
|
|
7622
7636
|
addUniqueToolClass(child, index);
|
|
7623
7637
|
});
|
|
7624
7638
|
}
|
|
7625
|
-
return /* @__PURE__ */ (0,
|
|
7639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
7626
7640
|
"div",
|
|
7627
7641
|
{
|
|
7628
7642
|
...other,
|
|
@@ -7649,10 +7663,10 @@ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
|
7649
7663
|
ToolbarAngular.defaultProps = defaultProps42;
|
|
7650
7664
|
|
|
7651
7665
|
// src/toolbar/toolbar-separator.tsx
|
|
7652
|
-
var
|
|
7666
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
7653
7667
|
|
|
7654
7668
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7655
|
-
var
|
|
7669
|
+
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
7656
7670
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7657
7671
|
var states48 = [
|
|
7658
7672
|
States.focus
|
|
@@ -7664,7 +7678,7 @@ var ToolbarItem = (props) => {
|
|
|
7664
7678
|
focus,
|
|
7665
7679
|
...other
|
|
7666
7680
|
} = props;
|
|
7667
|
-
return /* @__PURE__ */ (0,
|
|
7681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
|
|
7668
7682
|
"div",
|
|
7669
7683
|
{
|
|
7670
7684
|
...other,
|
|
@@ -7685,14 +7699,14 @@ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
|
7685
7699
|
ToolbarItem.defaultProps = defaultProps43;
|
|
7686
7700
|
|
|
7687
7701
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7688
|
-
var
|
|
7702
|
+
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
7689
7703
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7690
7704
|
var states49 = [];
|
|
7691
7705
|
var options47 = {};
|
|
7692
7706
|
var defaultProps44 = {};
|
|
7693
7707
|
var ToolbarPopup = (props) => {
|
|
7694
7708
|
const { ...other } = props;
|
|
7695
|
-
return /* @__PURE__ */ (0,
|
|
7709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
|
|
7696
7710
|
Popup,
|
|
7697
7711
|
{
|
|
7698
7712
|
...other,
|
|
@@ -7710,137 +7724,137 @@ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
|
7710
7724
|
ToolbarPopup.defaultProps = defaultProps44;
|
|
7711
7725
|
|
|
7712
7726
|
// src/split-button/templates/icon-split-button.tsx
|
|
7713
|
-
var
|
|
7727
|
+
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
7714
7728
|
|
|
7715
7729
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7716
|
-
var
|
|
7730
|
+
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
7717
7731
|
|
|
7718
7732
|
// src/split-button/templates/text-split-button.tsx
|
|
7719
|
-
var
|
|
7733
|
+
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
7720
7734
|
|
|
7721
7735
|
// src/split-button/templates/split-button-popup.tsx
|
|
7722
|
-
var
|
|
7736
|
+
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
7723
7737
|
|
|
7724
7738
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7725
|
-
var
|
|
7739
|
+
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
7726
7740
|
|
|
7727
7741
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7728
|
-
var
|
|
7742
|
+
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
7729
7743
|
|
|
7730
7744
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7731
|
-
var
|
|
7745
|
+
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
7732
7746
|
|
|
7733
7747
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7734
|
-
var
|
|
7748
|
+
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
7735
7749
|
|
|
7736
7750
|
// src/gantt/tests/gantt-editing-popup-resources.tsx
|
|
7737
|
-
var
|
|
7751
|
+
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
7738
7752
|
var styles = `
|
|
7739
7753
|
.k-window {
|
|
7740
7754
|
min-width: 580px;
|
|
7741
7755
|
position: relative;
|
|
7742
7756
|
}
|
|
7743
7757
|
`;
|
|
7744
|
-
var gantt_editing_popup_resources_default = () => /* @__PURE__ */ (0,
|
|
7745
|
-
/* @__PURE__ */ (0,
|
|
7746
|
-
/* @__PURE__ */ (0,
|
|
7747
|
-
/* @__PURE__ */ (0,
|
|
7748
|
-
/* @__PURE__ */ (0,
|
|
7749
|
-
/* @__PURE__ */ (0,
|
|
7750
|
-
/* @__PURE__ */ (0,
|
|
7751
|
-
] }), children: /* @__PURE__ */ (0,
|
|
7752
|
-
/* @__PURE__ */ (0,
|
|
7753
|
-
/* @__PURE__ */ (0,
|
|
7754
|
-
/* @__PURE__ */ (0,
|
|
7755
|
-
/* @__PURE__ */ (0,
|
|
7756
|
-
/* @__PURE__ */ (0,
|
|
7758
|
+
var gantt_editing_popup_resources_default = () => /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
7759
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("style", { children: styles }),
|
|
7760
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(WindowNormal, { title: "Edit task", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
7761
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
7762
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "cancel", children: "Cancel" }),
|
|
7763
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-spacer" }),
|
|
7764
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
7765
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
7766
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
7767
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item k-first", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "General" }) }),
|
|
7768
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item k-active", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "Resources" }) }),
|
|
7769
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "Predecessors" }) }),
|
|
7770
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item k-last", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "Successors" }) })
|
|
7757
7771
|
] }) }),
|
|
7758
|
-
/* @__PURE__ */ (0,
|
|
7759
|
-
/* @__PURE__ */ (0,
|
|
7760
|
-
/* @__PURE__ */ (0,
|
|
7761
|
-
/* @__PURE__ */ (0,
|
|
7772
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-grid k-grid-md k-grid-no-scrollbar", children: [
|
|
7773
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(Toolbar, { className: "k-grid-toolbar", children: [
|
|
7774
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "plus", children: "Add" }),
|
|
7775
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "minus", children: "Remove" })
|
|
7762
7776
|
] }),
|
|
7763
|
-
/* @__PURE__ */ (0,
|
|
7764
|
-
/* @__PURE__ */ (0,
|
|
7765
|
-
/* @__PURE__ */ (0,
|
|
7766
|
-
/* @__PURE__ */ (0,
|
|
7767
|
-
/* @__PURE__ */ (0,
|
|
7777
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-grid-header", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("table", { className: "k-table k-table-md k-grid-header-table", children: [
|
|
7778
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("colgroup", { children: [
|
|
7779
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", { style: { width: "42px" } }),
|
|
7780
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", {}),
|
|
7781
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", {})
|
|
7768
7782
|
] }),
|
|
7769
|
-
/* @__PURE__ */ (0,
|
|
7770
|
-
/* @__PURE__ */ (0,
|
|
7771
|
-
/* @__PURE__ */ (0,
|
|
7772
|
-
/* @__PURE__ */ (0,
|
|
7783
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("thead", { className: "k-table-thead", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row", children: [
|
|
7784
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("th", { className: "k-table-th k-header", children: [
|
|
7785
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}) }),
|
|
7786
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7773
7787
|
] }),
|
|
7774
|
-
/* @__PURE__ */ (0,
|
|
7775
|
-
/* @__PURE__ */ (0,
|
|
7776
|
-
/* @__PURE__ */ (0,
|
|
7777
|
-
/* @__PURE__ */ (0,
|
|
7788
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("th", { className: "k-table-th k-header k-filterable", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-cell-inner", children: [
|
|
7789
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-link", children: [
|
|
7790
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-column-title", children: "Resources" }),
|
|
7791
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "sort-asc-small" }) })
|
|
7778
7792
|
] }),
|
|
7779
|
-
/* @__PURE__ */ (0,
|
|
7793
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "filter" }) }) })
|
|
7780
7794
|
] }) }),
|
|
7781
|
-
/* @__PURE__ */ (0,
|
|
7782
|
-
/* @__PURE__ */ (0,
|
|
7783
|
-
/* @__PURE__ */ (0,
|
|
7784
|
-
/* @__PURE__ */ (0,
|
|
7795
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("th", { className: "k-table-th k-header k-filterable", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-cell-inner", children: [
|
|
7796
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-link", children: [
|
|
7797
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-column-title", children: "Units" }),
|
|
7798
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "sort-asc-small" }) })
|
|
7785
7799
|
] }),
|
|
7786
|
-
/* @__PURE__ */ (0,
|
|
7800
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "filter" }) }) })
|
|
7787
7801
|
] }) })
|
|
7788
7802
|
] }) })
|
|
7789
7803
|
] }) }) }),
|
|
7790
|
-
/* @__PURE__ */ (0,
|
|
7791
|
-
/* @__PURE__ */ (0,
|
|
7792
|
-
/* @__PURE__ */ (0,
|
|
7793
|
-
/* @__PURE__ */ (0,
|
|
7794
|
-
/* @__PURE__ */ (0,
|
|
7804
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: "k-grid-content", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("table", { className: "k-table k-table-md k-grid-table", children: [
|
|
7805
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("colgroup", { children: [
|
|
7806
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", { style: { width: "42px" } }),
|
|
7807
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", {}),
|
|
7808
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", {})
|
|
7795
7809
|
] }),
|
|
7796
|
-
/* @__PURE__ */ (0,
|
|
7797
|
-
/* @__PURE__ */ (0,
|
|
7798
|
-
/* @__PURE__ */ (0,
|
|
7799
|
-
/* @__PURE__ */ (0,
|
|
7800
|
-
/* @__PURE__ */ (0,
|
|
7810
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tbody", { className: "k-table-tbody", children: [
|
|
7811
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row", children: [
|
|
7812
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-checkbox-wrap", children: [
|
|
7813
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}),
|
|
7814
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7801
7815
|
] }) }),
|
|
7802
|
-
/* @__PURE__ */ (0,
|
|
7803
|
-
/* @__PURE__ */ (0,
|
|
7816
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(DropdownList, { placeholder: "-Select resource-" }) }),
|
|
7817
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(NumericTextbox, { value: "40" }) })
|
|
7804
7818
|
] }),
|
|
7805
|
-
/* @__PURE__ */ (0,
|
|
7806
|
-
/* @__PURE__ */ (0,
|
|
7807
|
-
/* @__PURE__ */ (0,
|
|
7808
|
-
/* @__PURE__ */ (0,
|
|
7819
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7820
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-checkbox-wrap", children: [
|
|
7821
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}),
|
|
7822
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7809
7823
|
] }) }),
|
|
7810
|
-
/* @__PURE__ */ (0,
|
|
7811
|
-
/* @__PURE__ */ (0,
|
|
7824
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7825
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7812
7826
|
] }),
|
|
7813
|
-
/* @__PURE__ */ (0,
|
|
7814
|
-
/* @__PURE__ */ (0,
|
|
7815
|
-
/* @__PURE__ */ (0,
|
|
7816
|
-
/* @__PURE__ */ (0,
|
|
7827
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row", children: [
|
|
7828
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-checkbox-wrap", children: [
|
|
7829
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}),
|
|
7830
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7817
7831
|
] }) }),
|
|
7818
|
-
/* @__PURE__ */ (0,
|
|
7819
|
-
/* @__PURE__ */ (0,
|
|
7832
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7833
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7820
7834
|
] }),
|
|
7821
|
-
/* @__PURE__ */ (0,
|
|
7822
|
-
/* @__PURE__ */ (0,
|
|
7823
|
-
/* @__PURE__ */ (0,
|
|
7824
|
-
/* @__PURE__ */ (0,
|
|
7835
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7836
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-checkbox-wrap", children: [
|
|
7837
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}),
|
|
7838
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7825
7839
|
] }) }),
|
|
7826
|
-
/* @__PURE__ */ (0,
|
|
7827
|
-
/* @__PURE__ */ (0,
|
|
7840
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7841
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7828
7842
|
] }),
|
|
7829
|
-
/* @__PURE__ */ (0,
|
|
7830
|
-
/* @__PURE__ */ (0,
|
|
7831
|
-
/* @__PURE__ */ (0,
|
|
7832
|
-
/* @__PURE__ */ (0,
|
|
7843
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row", children: [
|
|
7844
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-checkbox-wrap", children: [
|
|
7845
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}),
|
|
7846
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7833
7847
|
] }) }),
|
|
7834
|
-
/* @__PURE__ */ (0,
|
|
7835
|
-
/* @__PURE__ */ (0,
|
|
7848
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7849
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7836
7850
|
] }),
|
|
7837
|
-
/* @__PURE__ */ (0,
|
|
7838
|
-
/* @__PURE__ */ (0,
|
|
7839
|
-
/* @__PURE__ */ (0,
|
|
7840
|
-
/* @__PURE__ */ (0,
|
|
7851
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7852
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-checkbox-wrap", children: [
|
|
7853
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Checkbox, {}),
|
|
7854
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("label", { className: "k-checkbox-label" })
|
|
7841
7855
|
] }) }),
|
|
7842
|
-
/* @__PURE__ */ (0,
|
|
7843
|
-
/* @__PURE__ */ (0,
|
|
7856
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7857
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7844
7858
|
] })
|
|
7845
7859
|
] })
|
|
7846
7860
|
] }) })
|