@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/animation-container/animation-container.spec.tsx
|
|
4839
|
-
var
|
|
4853
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4840
4854
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4841
4855
|
var states14 = [];
|
|
4842
4856
|
var options13 = {};
|
|
@@ -4850,7 +4864,7 @@ var AnimationContainer = (props) => {
|
|
|
4850
4864
|
offset,
|
|
4851
4865
|
...other
|
|
4852
4866
|
} = props;
|
|
4853
|
-
return /* @__PURE__ */ (0,
|
|
4867
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
4854
4868
|
"div",
|
|
4855
4869
|
{
|
|
4856
4870
|
...other,
|
|
@@ -4862,7 +4876,7 @@ var AnimationContainer = (props) => {
|
|
|
4862
4876
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4863
4877
|
}
|
|
4864
4878
|
),
|
|
4865
|
-
children: /* @__PURE__ */ (0,
|
|
4879
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4866
4880
|
}
|
|
4867
4881
|
);
|
|
4868
4882
|
};
|
|
@@ -4872,7 +4886,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
4872
4886
|
AnimationContainer.defaultProps = defaultProps11;
|
|
4873
4887
|
|
|
4874
4888
|
// src/popup/popup.spec.tsx
|
|
4875
|
-
var
|
|
4889
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4876
4890
|
var POPUP_CLASSNAME = `k-popup`;
|
|
4877
4891
|
var states15 = [];
|
|
4878
4892
|
var options14 = {};
|
|
@@ -4885,12 +4899,12 @@ var Popup = (props) => {
|
|
|
4885
4899
|
positionMode,
|
|
4886
4900
|
...other
|
|
4887
4901
|
} = props;
|
|
4888
|
-
return /* @__PURE__ */ (0,
|
|
4902
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4889
4903
|
AnimationContainer,
|
|
4890
4904
|
{
|
|
4891
4905
|
positionMode,
|
|
4892
4906
|
offset,
|
|
4893
|
-
children: /* @__PURE__ */ (0,
|
|
4907
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4894
4908
|
}
|
|
4895
4909
|
);
|
|
4896
4910
|
};
|
|
@@ -4900,7 +4914,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
4900
4914
|
Popup.defaultProps = defaultProps12;
|
|
4901
4915
|
|
|
4902
4916
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
4903
|
-
var
|
|
4917
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4904
4918
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
4905
4919
|
var states16 = [
|
|
4906
4920
|
States.hover,
|
|
@@ -4948,8 +4962,8 @@ var DropdownList = (props) => {
|
|
|
4948
4962
|
opened,
|
|
4949
4963
|
...other
|
|
4950
4964
|
} = props;
|
|
4951
|
-
return /* @__PURE__ */ (0,
|
|
4952
|
-
/* @__PURE__ */ (0,
|
|
4965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
|
|
4966
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
4953
4967
|
Picker,
|
|
4954
4968
|
{
|
|
4955
4969
|
...other,
|
|
@@ -4972,8 +4986,8 @@ var DropdownList = (props) => {
|
|
|
4972
4986
|
}
|
|
4973
4987
|
),
|
|
4974
4988
|
children: [
|
|
4975
|
-
/* @__PURE__ */ (0,
|
|
4976
|
-
/* @__PURE__ */ (0,
|
|
4989
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(InputPrefix, { children: prefix }),
|
|
4990
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4977
4991
|
InputInnerSpan,
|
|
4978
4992
|
{
|
|
4979
4993
|
placeholder,
|
|
@@ -4982,7 +4996,7 @@ var DropdownList = (props) => {
|
|
|
4982
4996
|
valueIconName
|
|
4983
4997
|
}
|
|
4984
4998
|
),
|
|
4985
|
-
/* @__PURE__ */ (0,
|
|
4999
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4986
5000
|
InputValidationIcon,
|
|
4987
5001
|
{
|
|
4988
5002
|
valid,
|
|
@@ -4991,15 +5005,15 @@ var DropdownList = (props) => {
|
|
|
4991
5005
|
disabled
|
|
4992
5006
|
}
|
|
4993
5007
|
),
|
|
4994
|
-
/* @__PURE__ */ (0,
|
|
5008
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
4995
5009
|
InputLoadingIcon,
|
|
4996
5010
|
{
|
|
4997
5011
|
loading,
|
|
4998
5012
|
disabled
|
|
4999
5013
|
}
|
|
5000
5014
|
),
|
|
5001
|
-
/* @__PURE__ */ (0,
|
|
5002
|
-
/* @__PURE__ */ (0,
|
|
5015
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(InputSuffix, { children: suffix }),
|
|
5016
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
5003
5017
|
Button,
|
|
5004
5018
|
{
|
|
5005
5019
|
className: "k-input-button",
|
|
@@ -5012,7 +5026,7 @@ var DropdownList = (props) => {
|
|
|
5012
5026
|
]
|
|
5013
5027
|
}
|
|
5014
5028
|
),
|
|
5015
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
5029
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5016
5030
|
] });
|
|
5017
5031
|
};
|
|
5018
5032
|
DropdownList.states = states16;
|
|
@@ -5021,15 +5035,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5021
5035
|
DropdownList.defaultProps = defaultProps13;
|
|
5022
5036
|
|
|
5023
5037
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5024
|
-
var
|
|
5038
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
5025
5039
|
|
|
5026
5040
|
// src/nodata/nodata.tsx
|
|
5027
|
-
var
|
|
5041
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
5028
5042
|
var className9 = `k-nodata`;
|
|
5029
|
-
var NoData = (props) => /* @__PURE__ */ (0,
|
|
5043
|
+
var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: classNames(className9, props.className), children: props.children });
|
|
5030
5044
|
|
|
5031
5045
|
// src/list/list.spec.tsx
|
|
5032
|
-
var
|
|
5046
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
5033
5047
|
var LIST_CLASSNAME = `k-list`;
|
|
5034
5048
|
var states17 = [];
|
|
5035
5049
|
var options16 = {
|
|
@@ -5057,7 +5071,7 @@ var List = (props) => {
|
|
|
5057
5071
|
listHeader = child.props.label;
|
|
5058
5072
|
child.props.children.map((optChild, index2) => {
|
|
5059
5073
|
listChildren.push(
|
|
5060
|
-
/* @__PURE__ */ (0,
|
|
5074
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5061
5075
|
ListItem,
|
|
5062
5076
|
{
|
|
5063
5077
|
...optChild.props
|
|
@@ -5073,7 +5087,7 @@ var List = (props) => {
|
|
|
5073
5087
|
groupLabel = child.props.label;
|
|
5074
5088
|
}
|
|
5075
5089
|
listChildren.push(
|
|
5076
|
-
/* @__PURE__ */ (0,
|
|
5090
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
5077
5091
|
ListItem,
|
|
5078
5092
|
{
|
|
5079
5093
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5085,16 +5099,16 @@ var List = (props) => {
|
|
|
5085
5099
|
);
|
|
5086
5100
|
});
|
|
5087
5101
|
}
|
|
5088
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5102
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5089
5103
|
} else if (child.type === ListItem) {
|
|
5090
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5091
|
-
listContent = /* @__PURE__ */ (0,
|
|
5104
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5105
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5092
5106
|
}
|
|
5093
5107
|
});
|
|
5094
5108
|
} else {
|
|
5095
|
-
listContent = /* @__PURE__ */ (0,
|
|
5109
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(NoData, { children: "No data found." });
|
|
5096
5110
|
}
|
|
5097
|
-
return /* @__PURE__ */ (0,
|
|
5111
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
5098
5112
|
"div",
|
|
5099
5113
|
{
|
|
5100
5114
|
...other,
|
|
@@ -5122,7 +5136,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5122
5136
|
List.defaultProps = defaultProps14;
|
|
5123
5137
|
|
|
5124
5138
|
// src/list/list-angular.spec.tsx
|
|
5125
|
-
var
|
|
5139
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5126
5140
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5127
5141
|
var states18 = [];
|
|
5128
5142
|
var options17 = {
|
|
@@ -5149,7 +5163,7 @@ var ListAngular = (props) => {
|
|
|
5149
5163
|
listHeader = child.props.label;
|
|
5150
5164
|
child.props.children.map((optChild, index2) => {
|
|
5151
5165
|
listChildren.push(
|
|
5152
|
-
/* @__PURE__ */ (0,
|
|
5166
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5153
5167
|
ListItem,
|
|
5154
5168
|
{
|
|
5155
5169
|
...optChild.props
|
|
@@ -5160,7 +5174,7 @@ var ListAngular = (props) => {
|
|
|
5160
5174
|
});
|
|
5161
5175
|
} else {
|
|
5162
5176
|
listChildren.push(
|
|
5163
|
-
/* @__PURE__ */ (0,
|
|
5177
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5164
5178
|
ListGroupItem,
|
|
5165
5179
|
{
|
|
5166
5180
|
...child.props,
|
|
@@ -5171,7 +5185,7 @@ var ListAngular = (props) => {
|
|
|
5171
5185
|
);
|
|
5172
5186
|
child.props.children.map((optChild, index2) => {
|
|
5173
5187
|
listChildren.push(
|
|
5174
|
-
/* @__PURE__ */ (0,
|
|
5188
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
5175
5189
|
ListItem,
|
|
5176
5190
|
{
|
|
5177
5191
|
...optChild.props
|
|
@@ -5181,16 +5195,16 @@ var ListAngular = (props) => {
|
|
|
5181
5195
|
);
|
|
5182
5196
|
});
|
|
5183
5197
|
}
|
|
5184
|
-
listGroup = /* @__PURE__ */ (0,
|
|
5198
|
+
listGroup = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5185
5199
|
} else if (child.type === ListItem) {
|
|
5186
|
-
listChildren.push(/* @__PURE__ */ (0,
|
|
5187
|
-
listContent = /* @__PURE__ */ (0,
|
|
5200
|
+
listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5201
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ListContent, { virtualization, children: listChildren });
|
|
5188
5202
|
}
|
|
5189
5203
|
});
|
|
5190
5204
|
} else {
|
|
5191
|
-
listContent = /* @__PURE__ */ (0,
|
|
5205
|
+
listContent = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(NoData, { children: "No data found." });
|
|
5192
5206
|
}
|
|
5193
|
-
return /* @__PURE__ */ (0,
|
|
5207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
5194
5208
|
"div",
|
|
5195
5209
|
{
|
|
5196
5210
|
...other,
|
|
@@ -5217,7 +5231,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5217
5231
|
ListAngular.defaultProps = defaultProps15;
|
|
5218
5232
|
|
|
5219
5233
|
// src/checkbox/checkbox.spec.tsx
|
|
5220
|
-
var
|
|
5234
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5221
5235
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5222
5236
|
var states19 = [
|
|
5223
5237
|
States.hover,
|
|
@@ -5252,7 +5266,7 @@ var Checkbox = (props) => {
|
|
|
5252
5266
|
rounded = defaultProps16.rounded,
|
|
5253
5267
|
...other
|
|
5254
5268
|
} = props;
|
|
5255
|
-
return /* @__PURE__ */ (0,
|
|
5269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5256
5270
|
"input",
|
|
5257
5271
|
{
|
|
5258
5272
|
...other,
|
|
@@ -5275,7 +5289,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5275
5289
|
Checkbox.defaultProps = defaultProps16;
|
|
5276
5290
|
|
|
5277
5291
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5278
|
-
var
|
|
5292
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5279
5293
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5280
5294
|
var states20 = [];
|
|
5281
5295
|
var options19 = {};
|
|
@@ -5287,7 +5301,7 @@ var CheckboxGroup = (props) => {
|
|
|
5287
5301
|
layout = defaultProps17.layout,
|
|
5288
5302
|
...other
|
|
5289
5303
|
} = props;
|
|
5290
|
-
return /* @__PURE__ */ (0,
|
|
5304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5291
5305
|
"ul",
|
|
5292
5306
|
{
|
|
5293
5307
|
...other,
|
|
@@ -5308,7 +5322,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5308
5322
|
CheckboxGroup.defaultProps = defaultProps17;
|
|
5309
5323
|
|
|
5310
5324
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5311
|
-
var
|
|
5325
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5312
5326
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5313
5327
|
var states21 = [];
|
|
5314
5328
|
var options20 = {};
|
|
@@ -5317,7 +5331,7 @@ var CheckboxItem = (props) => {
|
|
|
5317
5331
|
const {
|
|
5318
5332
|
...other
|
|
5319
5333
|
} = props;
|
|
5320
|
-
return /* @__PURE__ */ (0,
|
|
5334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
5321
5335
|
"li",
|
|
5322
5336
|
{
|
|
5323
5337
|
...other,
|
|
@@ -5335,16 +5349,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5335
5349
|
CheckboxItem.defaultProps = defaultProps18;
|
|
5336
5350
|
|
|
5337
5351
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5338
|
-
var
|
|
5352
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5339
5353
|
|
|
5340
5354
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5341
|
-
var
|
|
5355
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5342
5356
|
|
|
5343
5357
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5344
|
-
var
|
|
5358
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5345
5359
|
|
|
5346
5360
|
// src/list/list-item.spec.tsx
|
|
5347
|
-
var
|
|
5361
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5348
5362
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5349
5363
|
var states22 = [
|
|
5350
5364
|
States.hover,
|
|
@@ -5369,7 +5383,7 @@ var ListItem = (props) => {
|
|
|
5369
5383
|
...other
|
|
5370
5384
|
} = props;
|
|
5371
5385
|
const textOrChildren = text ? text : props.children;
|
|
5372
|
-
return /* @__PURE__ */ (0,
|
|
5386
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
5373
5387
|
"li",
|
|
5374
5388
|
{
|
|
5375
5389
|
...other,
|
|
@@ -5384,10 +5398,10 @@ var ListItem = (props) => {
|
|
|
5384
5398
|
})
|
|
5385
5399
|
),
|
|
5386
5400
|
children: [
|
|
5387
|
-
showCheckbox && /* @__PURE__ */ (0,
|
|
5388
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5389
|
-
/* @__PURE__ */ (0,
|
|
5390
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0,
|
|
5401
|
+
showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Checkbox, { checked }),
|
|
5402
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { icon: iconName }),
|
|
5403
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5404
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5391
5405
|
]
|
|
5392
5406
|
}
|
|
5393
5407
|
);
|
|
@@ -5398,43 +5412,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5398
5412
|
ListItem.defaultProps = defaultProps19;
|
|
5399
5413
|
|
|
5400
5414
|
// src/list/list-content.tsx
|
|
5401
|
-
var
|
|
5415
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5402
5416
|
var className10 = `k-list-content`;
|
|
5403
5417
|
var ListContent = (props) => {
|
|
5404
5418
|
const {
|
|
5405
5419
|
virtualization
|
|
5406
5420
|
} = props;
|
|
5407
|
-
return /* @__PURE__ */ (0,
|
|
5408
|
-
/* @__PURE__ */ (0,
|
|
5409
|
-
virtualization && /* @__PURE__ */ (0,
|
|
5421
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: classNames(className10, props.className), children: [
|
|
5422
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5423
|
+
virtualization && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", {}) })
|
|
5410
5424
|
] });
|
|
5411
5425
|
};
|
|
5412
5426
|
|
|
5413
5427
|
// src/list/list-header.tsx
|
|
5414
|
-
var
|
|
5428
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5415
5429
|
var className11 = `k-list-group-sticky-header`;
|
|
5416
|
-
var ListHeader = (props) => /* @__PURE__ */ (0,
|
|
5430
|
+
var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "k-list-header-text", children: props.children }) });
|
|
5417
5431
|
|
|
5418
5432
|
// src/list/list-group.tsx
|
|
5419
|
-
var
|
|
5433
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5420
5434
|
var ListGroup = (props) => {
|
|
5421
5435
|
const {
|
|
5422
5436
|
virtualization,
|
|
5423
5437
|
label
|
|
5424
5438
|
} = props;
|
|
5425
|
-
return /* @__PURE__ */ (0,
|
|
5426
|
-
label && /* @__PURE__ */ (0,
|
|
5427
|
-
props.children && /* @__PURE__ */ (0,
|
|
5439
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
|
|
5440
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ListHeader, { children: label }),
|
|
5441
|
+
props.children && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ListContent, { virtualization, children: props.children })
|
|
5428
5442
|
] });
|
|
5429
5443
|
};
|
|
5430
5444
|
|
|
5431
5445
|
// src/list/list-group-item.tsx
|
|
5432
|
-
var
|
|
5446
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5433
5447
|
var className12 = `k-list-group-item`;
|
|
5434
|
-
var ListGroupItem = (props) => /* @__PURE__ */ (0,
|
|
5448
|
+
var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "k-list-item-text", children: props.children }) });
|
|
5435
5449
|
|
|
5436
5450
|
// src/list/list-option-label.tsx
|
|
5437
|
-
var
|
|
5451
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
5438
5452
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5439
5453
|
var states23 = [
|
|
5440
5454
|
States.hover,
|
|
@@ -5453,7 +5467,7 @@ var ListOptionLabel = (props) => {
|
|
|
5453
5467
|
disabled,
|
|
5454
5468
|
...other
|
|
5455
5469
|
} = props;
|
|
5456
|
-
return /* @__PURE__ */ (0,
|
|
5470
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
5457
5471
|
"div",
|
|
5458
5472
|
{
|
|
5459
5473
|
...other,
|
|
@@ -5476,31 +5490,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5476
5490
|
ListOptionLabel.defaultProps = defaultProps20;
|
|
5477
5491
|
|
|
5478
5492
|
// src/list/templates/list-normal.tsx
|
|
5479
|
-
var
|
|
5493
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
5480
5494
|
|
|
5481
5495
|
// src/list/templates/list-virtualization.tsx
|
|
5482
|
-
var
|
|
5496
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
5483
5497
|
|
|
5484
5498
|
// src/list/templates/list-grouping.tsx
|
|
5485
|
-
var
|
|
5499
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
5486
5500
|
|
|
5487
5501
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5488
|
-
var
|
|
5502
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5489
5503
|
|
|
5490
5504
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5491
|
-
var
|
|
5505
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5492
5506
|
|
|
5493
5507
|
// src/list/templates/list-grouping-angular.tsx
|
|
5494
|
-
var
|
|
5508
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5495
5509
|
|
|
5496
5510
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5497
|
-
var
|
|
5511
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5498
5512
|
|
|
5499
5513
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5500
|
-
var
|
|
5514
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5501
5515
|
|
|
5502
5516
|
// src/searchbox/searchbox.spec.tsx
|
|
5503
|
-
var
|
|
5517
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
5504
5518
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5505
5519
|
var states24 = [
|
|
5506
5520
|
States.hover,
|
|
@@ -5541,7 +5555,7 @@ var Searchbox = (props) => {
|
|
|
5541
5555
|
icon = defaultProps21.icon,
|
|
5542
5556
|
...other
|
|
5543
5557
|
} = props;
|
|
5544
|
-
return /* @__PURE__ */ (0,
|
|
5558
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
5545
5559
|
Input,
|
|
5546
5560
|
{
|
|
5547
5561
|
...other,
|
|
@@ -5557,11 +5571,11 @@ var Searchbox = (props) => {
|
|
|
5557
5571
|
disabled,
|
|
5558
5572
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5559
5573
|
children: [
|
|
5560
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5561
|
-
/* @__PURE__ */ (0,
|
|
5562
|
-
/* @__PURE__ */ (0,
|
|
5563
|
-
/* @__PURE__ */ (0,
|
|
5564
|
-
/* @__PURE__ */ (0,
|
|
5574
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { className: "k-input-icon", icon }),
|
|
5575
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputInnerInput, { placeholder, value }),
|
|
5576
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputLoadingIcon, { ...props }),
|
|
5577
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputValidationIcon, { ...props }),
|
|
5578
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InputClearValue, { ...props })
|
|
5565
5579
|
]
|
|
5566
5580
|
}
|
|
5567
5581
|
);
|
|
@@ -5572,19 +5586,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5572
5586
|
Searchbox.defaultProps = defaultProps21;
|
|
5573
5587
|
|
|
5574
5588
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5575
|
-
var
|
|
5589
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
5576
5590
|
|
|
5577
5591
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5578
|
-
var
|
|
5592
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5579
5593
|
|
|
5580
5594
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5581
|
-
var
|
|
5595
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5582
5596
|
|
|
5583
5597
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5584
|
-
var
|
|
5598
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5585
5599
|
|
|
5586
5600
|
// src/button-group/button-group.spec.tsx
|
|
5587
|
-
var
|
|
5601
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5588
5602
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5589
5603
|
var states25 = [
|
|
5590
5604
|
States.disabled
|
|
@@ -5602,7 +5616,7 @@ var ButtonGroup = (props) => {
|
|
|
5602
5616
|
stretched,
|
|
5603
5617
|
...other
|
|
5604
5618
|
} = props;
|
|
5605
|
-
return /* @__PURE__ */ (0,
|
|
5619
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5606
5620
|
"div",
|
|
5607
5621
|
{
|
|
5608
5622
|
...other,
|
|
@@ -5629,19 +5643,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5629
5643
|
ButtonGroup.defaultProps = defaultProps22;
|
|
5630
5644
|
|
|
5631
5645
|
// src/button-group/templates/icon-button-group.tsx
|
|
5632
|
-
var
|
|
5646
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5633
5647
|
|
|
5634
5648
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5635
|
-
var
|
|
5649
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5636
5650
|
|
|
5637
5651
|
// src/button-group/templates/text-button-group.tsx
|
|
5638
|
-
var
|
|
5652
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5639
5653
|
|
|
5640
5654
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5641
|
-
var
|
|
5655
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5642
5656
|
|
|
5643
5657
|
// src/color-preview/color-preview.tsx
|
|
5644
|
-
var
|
|
5658
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5645
5659
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5646
5660
|
var states26 = [];
|
|
5647
5661
|
var options25 = {};
|
|
@@ -5651,7 +5665,7 @@ var ColorPreview = (props) => {
|
|
|
5651
5665
|
iconName,
|
|
5652
5666
|
...other
|
|
5653
5667
|
} = props;
|
|
5654
|
-
return /* @__PURE__ */ (0,
|
|
5668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
5655
5669
|
"span",
|
|
5656
5670
|
{
|
|
5657
5671
|
...other,
|
|
@@ -5664,8 +5678,8 @@ var ColorPreview = (props) => {
|
|
|
5664
5678
|
}
|
|
5665
5679
|
),
|
|
5666
5680
|
children: [
|
|
5667
|
-
iconName && /* @__PURE__ */ (0,
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5681
|
+
iconName && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5682
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5669
5683
|
"span",
|
|
5670
5684
|
{
|
|
5671
5685
|
className: "k-color-preview-mask",
|
|
@@ -5681,7 +5695,7 @@ ColorPreview.options = options25;
|
|
|
5681
5695
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5682
5696
|
|
|
5683
5697
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5684
|
-
var
|
|
5698
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
5685
5699
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5686
5700
|
var states27 = [
|
|
5687
5701
|
States.hover,
|
|
@@ -5723,8 +5737,8 @@ var ColorPicker = (props) => {
|
|
|
5723
5737
|
opened,
|
|
5724
5738
|
...other
|
|
5725
5739
|
} = props;
|
|
5726
|
-
return /* @__PURE__ */ (0,
|
|
5727
|
-
/* @__PURE__ */ (0,
|
|
5740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
|
5741
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
5728
5742
|
Picker,
|
|
5729
5743
|
{
|
|
5730
5744
|
...other,
|
|
@@ -5743,14 +5757,14 @@ var ColorPicker = (props) => {
|
|
|
5743
5757
|
"k-icon-picker"
|
|
5744
5758
|
),
|
|
5745
5759
|
children: [
|
|
5746
|
-
/* @__PURE__ */ (0,
|
|
5747
|
-
/* @__PURE__ */ (0,
|
|
5760
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputPrefix, { children: prefix }),
|
|
5761
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
5748
5762
|
InputInnerSpan,
|
|
5749
5763
|
{
|
|
5750
5764
|
placeholder,
|
|
5751
5765
|
value,
|
|
5752
5766
|
showValue: false,
|
|
5753
|
-
valueIcon: /* @__PURE__ */ (0,
|
|
5767
|
+
valueIcon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
5754
5768
|
ColorPreview,
|
|
5755
5769
|
{
|
|
5756
5770
|
className: "k-value-icon",
|
|
@@ -5761,8 +5775,8 @@ var ColorPicker = (props) => {
|
|
|
5761
5775
|
valueIconName
|
|
5762
5776
|
}
|
|
5763
5777
|
),
|
|
5764
|
-
/* @__PURE__ */ (0,
|
|
5765
|
-
/* @__PURE__ */ (0,
|
|
5778
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InputSuffix, { children: suffix }),
|
|
5779
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
5766
5780
|
Button,
|
|
5767
5781
|
{
|
|
5768
5782
|
className: "k-input-button",
|
|
@@ -5775,7 +5789,7 @@ var ColorPicker = (props) => {
|
|
|
5775
5789
|
]
|
|
5776
5790
|
}
|
|
5777
5791
|
),
|
|
5778
|
-
opened && popup && /* @__PURE__ */ (0,
|
|
5792
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5779
5793
|
] });
|
|
5780
5794
|
};
|
|
5781
5795
|
ColorPicker.states = states27;
|
|
@@ -5784,10 +5798,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5784
5798
|
ColorPicker.defaultProps = defaultProps23;
|
|
5785
5799
|
|
|
5786
5800
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5787
|
-
var
|
|
5801
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
5788
5802
|
|
|
5789
5803
|
// src/slider/slider.spec.tsx
|
|
5790
|
-
var
|
|
5804
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
5791
5805
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5792
5806
|
var states28 = [
|
|
5793
5807
|
States.hover,
|
|
@@ -5826,7 +5840,7 @@ var Slider = (props) => {
|
|
|
5826
5840
|
iconIncrease = "caret-alt-up";
|
|
5827
5841
|
iconDecrease = "caret-alt-down";
|
|
5828
5842
|
}
|
|
5829
|
-
return /* @__PURE__ */ (0,
|
|
5843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: classNames(
|
|
5830
5844
|
SLIDER_CLASSNAME,
|
|
5831
5845
|
props.className,
|
|
5832
5846
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5839,12 +5853,12 @@ var Slider = (props) => {
|
|
|
5839
5853
|
"k-range-slider": type === "range"
|
|
5840
5854
|
}
|
|
5841
5855
|
), dir, children: [
|
|
5842
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
5843
|
-
/* @__PURE__ */ (0,
|
|
5844
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
5845
|
-
/* @__PURE__ */ (0,
|
|
5846
|
-
/* @__PURE__ */ (0,
|
|
5847
|
-
type === "range" && /* @__PURE__ */ (0,
|
|
5856
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5857
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "k-slider-track-wrap", children: [
|
|
5858
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5859
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5860
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "k-slider-selection" }),
|
|
5861
|
+
type === "range" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: classNames(
|
|
5848
5862
|
"k-draghandle",
|
|
5849
5863
|
"k-draghandle-start",
|
|
5850
5864
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5853,7 +5867,7 @@ var Slider = (props) => {
|
|
|
5853
5867
|
active
|
|
5854
5868
|
})
|
|
5855
5869
|
) }),
|
|
5856
|
-
/* @__PURE__ */ (0,
|
|
5870
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: classNames(
|
|
5857
5871
|
"k-draghandle",
|
|
5858
5872
|
`k-draghandle-${handlePosition}`,
|
|
5859
5873
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5864,7 +5878,7 @@ var Slider = (props) => {
|
|
|
5864
5878
|
) })
|
|
5865
5879
|
] })
|
|
5866
5880
|
] }),
|
|
5867
|
-
type !== "gradient" && /* @__PURE__ */ (0,
|
|
5881
|
+
type !== "gradient" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5868
5882
|
] });
|
|
5869
5883
|
};
|
|
5870
5884
|
Slider.states = states28;
|
|
@@ -5873,7 +5887,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
5873
5887
|
Slider.defaultProps = defaultProps24;
|
|
5874
5888
|
|
|
5875
5889
|
// src/slider/slider-tick.tsx
|
|
5876
|
-
var
|
|
5890
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
5877
5891
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5878
5892
|
var states29 = [];
|
|
5879
5893
|
var options28 = {};
|
|
@@ -5888,14 +5902,14 @@ var SliderTick = (props) => {
|
|
|
5888
5902
|
large,
|
|
5889
5903
|
text
|
|
5890
5904
|
} = props;
|
|
5891
|
-
return /* @__PURE__ */ (0,
|
|
5905
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("li", { className: classNames(
|
|
5892
5906
|
props.className,
|
|
5893
5907
|
SLIDER_TICK_CLASSNAME,
|
|
5894
5908
|
{
|
|
5895
5909
|
[`k-tick-${orientation}`]: orientation,
|
|
5896
5910
|
"k-tick-large": large
|
|
5897
5911
|
}
|
|
5898
|
-
), style, children: label && /* @__PURE__ */ (0,
|
|
5912
|
+
), style, children: label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "k-label", children: text }) });
|
|
5899
5913
|
};
|
|
5900
5914
|
SliderTick.states = states29;
|
|
5901
5915
|
SliderTick.options = options28;
|
|
@@ -5903,7 +5917,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
5903
5917
|
SliderTick.defaultProps = defaultProps25;
|
|
5904
5918
|
|
|
5905
5919
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5906
|
-
var
|
|
5920
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
5907
5921
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5908
5922
|
var states30 = [];
|
|
5909
5923
|
var options29 = {
|
|
@@ -5920,7 +5934,7 @@ var SpinButton = (props) => {
|
|
|
5920
5934
|
fillMode = defaultProps26.fillMode,
|
|
5921
5935
|
...other
|
|
5922
5936
|
} = props;
|
|
5923
|
-
return /* @__PURE__ */ (0,
|
|
5937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
|
5924
5938
|
"span",
|
|
5925
5939
|
{
|
|
5926
5940
|
...other,
|
|
@@ -5929,7 +5943,7 @@ var SpinButton = (props) => {
|
|
|
5929
5943
|
props.className
|
|
5930
5944
|
),
|
|
5931
5945
|
children: [
|
|
5932
|
-
/* @__PURE__ */ (0,
|
|
5946
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
5933
5947
|
Button,
|
|
5934
5948
|
{
|
|
5935
5949
|
className: "k-spinner-increase",
|
|
@@ -5939,7 +5953,7 @@ var SpinButton = (props) => {
|
|
|
5939
5953
|
fillMode
|
|
5940
5954
|
}
|
|
5941
5955
|
),
|
|
5942
|
-
/* @__PURE__ */ (0,
|
|
5956
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
5943
5957
|
Button,
|
|
5944
5958
|
{
|
|
5945
5959
|
className: "k-spinner-decrease",
|
|
@@ -5959,7 +5973,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5959
5973
|
SpinButton.defaultProps = defaultProps26;
|
|
5960
5974
|
|
|
5961
5975
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5962
|
-
var
|
|
5976
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
5963
5977
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5964
5978
|
var states31 = [
|
|
5965
5979
|
States.hover,
|
|
@@ -6002,7 +6016,7 @@ var NumericTextbox = (props) => {
|
|
|
6002
6016
|
showSpinButton = defaultProps27.showSpinButton,
|
|
6003
6017
|
...other
|
|
6004
6018
|
} = props;
|
|
6005
|
-
return /* @__PURE__ */ (0,
|
|
6019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
|
6006
6020
|
Input,
|
|
6007
6021
|
{
|
|
6008
6022
|
...other,
|
|
@@ -6019,8 +6033,8 @@ var NumericTextbox = (props) => {
|
|
|
6019
6033
|
readonly,
|
|
6020
6034
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6021
6035
|
children: [
|
|
6022
|
-
/* @__PURE__ */ (0,
|
|
6023
|
-
/* @__PURE__ */ (0,
|
|
6036
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(InputInnerInput, { placeholder, value }),
|
|
6037
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6024
6038
|
InputValidationIcon,
|
|
6025
6039
|
{
|
|
6026
6040
|
valid,
|
|
@@ -6029,14 +6043,14 @@ var NumericTextbox = (props) => {
|
|
|
6029
6043
|
disabled
|
|
6030
6044
|
}
|
|
6031
6045
|
),
|
|
6032
|
-
/* @__PURE__ */ (0,
|
|
6046
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6033
6047
|
InputLoadingIcon,
|
|
6034
6048
|
{
|
|
6035
6049
|
loading,
|
|
6036
6050
|
disabled
|
|
6037
6051
|
}
|
|
6038
6052
|
),
|
|
6039
|
-
showClearButton && /* @__PURE__ */ (0,
|
|
6053
|
+
showClearButton && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6040
6054
|
InputClearValue,
|
|
6041
6055
|
{
|
|
6042
6056
|
loading,
|
|
@@ -6045,7 +6059,7 @@ var NumericTextbox = (props) => {
|
|
|
6045
6059
|
value
|
|
6046
6060
|
}
|
|
6047
6061
|
),
|
|
6048
|
-
showSpinButton && /* @__PURE__ */ (0,
|
|
6062
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
6049
6063
|
SpinButton,
|
|
6050
6064
|
{
|
|
6051
6065
|
className: "k-input-spinner",
|
|
@@ -6063,10 +6077,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6063
6077
|
NumericTextbox.defaultProps = defaultProps27;
|
|
6064
6078
|
|
|
6065
6079
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6066
|
-
var
|
|
6080
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
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,31 +7724,31 @@ 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-successors.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;
|
|
@@ -7742,49 +7756,49 @@ var styles = `
|
|
|
7742
7756
|
position: relative;
|
|
7743
7757
|
}
|
|
7744
7758
|
`;
|
|
7745
|
-
var gantt_editing_popup_successors_default = () => /* @__PURE__ */ (0,
|
|
7746
|
-
/* @__PURE__ */ (0,
|
|
7747
|
-
/* @__PURE__ */ (0,
|
|
7748
|
-
/* @__PURE__ */ (0,
|
|
7749
|
-
/* @__PURE__ */ (0,
|
|
7750
|
-
/* @__PURE__ */ (0,
|
|
7751
|
-
/* @__PURE__ */ (0,
|
|
7752
|
-
] }), children: /* @__PURE__ */ (0,
|
|
7753
|
-
/* @__PURE__ */ (0,
|
|
7754
|
-
/* @__PURE__ */ (0,
|
|
7755
|
-
/* @__PURE__ */ (0,
|
|
7756
|
-
/* @__PURE__ */ (0,
|
|
7757
|
-
/* @__PURE__ */ (0,
|
|
7759
|
+
var gantt_editing_popup_successors_default = () => /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
|
|
7760
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("style", { children: styles }),
|
|
7761
|
+
/* @__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: [
|
|
7762
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
7763
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "cancel", children: "Cancel" }),
|
|
7764
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-spacer" }),
|
|
7765
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
7766
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
7767
|
+
/* @__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: [
|
|
7768
|
+
/* @__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" }) }),
|
|
7769
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "Resources" }) }),
|
|
7770
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "Predecessors" }) }),
|
|
7771
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("li", { className: "k-item k-last k-active", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-link", children: "Successors" }) })
|
|
7758
7772
|
] }) }),
|
|
7759
|
-
/* @__PURE__ */ (0,
|
|
7760
|
-
/* @__PURE__ */ (0,
|
|
7761
|
-
/* @__PURE__ */ (0,
|
|
7762
|
-
/* @__PURE__ */ (0,
|
|
7773
|
+
/* @__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: [
|
|
7774
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(Toolbar, { className: "k-grid-toolbar", children: [
|
|
7775
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "plus", children: "Add" }),
|
|
7776
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Button, { icon: "minus", children: "Remove" })
|
|
7763
7777
|
] }),
|
|
7764
|
-
/* @__PURE__ */ (0,
|
|
7765
|
-
/* @__PURE__ */ (0,
|
|
7766
|
-
/* @__PURE__ */ (0,
|
|
7767
|
-
/* @__PURE__ */ (0,
|
|
7778
|
+
/* @__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: [
|
|
7779
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("colgroup", { children: [
|
|
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.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-link", children: [
|
|
7785
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-column-title", children: "Name" }),
|
|
7786
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "sort-asc-small" }) })
|
|
7773
7787
|
] }) }) }),
|
|
7774
|
-
/* @__PURE__ */ (0,
|
|
7775
|
-
/* @__PURE__ */ (0,
|
|
7776
|
-
/* @__PURE__ */ (0,
|
|
7788
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("th", { className: "k-table-th k-header", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-cell-inner", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { className: "k-link", children: [
|
|
7789
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-column-title", children: "Type" }),
|
|
7790
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { className: "k-sort-icon", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "sort-asc-small" }) })
|
|
7777
7791
|
] }) }) })
|
|
7778
7792
|
] }) })
|
|
7779
7793
|
] }) }) }),
|
|
7780
|
-
/* @__PURE__ */ (0,
|
|
7781
|
-
/* @__PURE__ */ (0,
|
|
7782
|
-
/* @__PURE__ */ (0,
|
|
7783
|
-
/* @__PURE__ */ (0,
|
|
7794
|
+
/* @__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: [
|
|
7795
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("colgroup", { children: [
|
|
7796
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", {}),
|
|
7797
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("col", {})
|
|
7784
7798
|
] }),
|
|
7785
|
-
/* @__PURE__ */ (0,
|
|
7786
|
-
/* @__PURE__ */ (0,
|
|
7787
|
-
/* @__PURE__ */ (0,
|
|
7799
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("tbody", { className: "k-table-tbody", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("tr", { className: "k-table-row", children: [
|
|
7800
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(DropdownList, { placeholder: "-Select task-" }) }),
|
|
7801
|
+
/* @__PURE__ */ (0, import_jsx_runtime120.jsx)("td", { className: "k-table-td", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(DropdownList, { placeholder: "Finish-Start" }) })
|
|
7788
7802
|
] }) })
|
|
7789
7803
|
] }) })
|
|
7790
7804
|
] }) })
|