@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
|
@@ -4513,8 +4513,22 @@ Window.options = options6;
|
|
|
4513
4513
|
Window.className = WINDOW_CLASSNAME;
|
|
4514
4514
|
Window.defaultProps = defaultProps6;
|
|
4515
4515
|
|
|
4516
|
+
// src/window/templates/window-normal.tsx
|
|
4517
|
+
import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
|
|
4518
|
+
var WindowNormal = (props) => /* @__PURE__ */ jsx10(
|
|
4519
|
+
Window,
|
|
4520
|
+
{
|
|
4521
|
+
title: "Title",
|
|
4522
|
+
actions: ["window-minimize", "window", "x"],
|
|
4523
|
+
children: [
|
|
4524
|
+
/* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
|
|
4525
|
+
],
|
|
4526
|
+
...props
|
|
4527
|
+
}
|
|
4528
|
+
);
|
|
4529
|
+
|
|
4516
4530
|
// src/input/input.spec.tsx
|
|
4517
|
-
import { jsx as
|
|
4531
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4518
4532
|
var INPUT_CLASSNAME = `k-input`;
|
|
4519
4533
|
var states7 = [
|
|
4520
4534
|
States.hover,
|
|
@@ -4550,7 +4564,7 @@ var Input = (props) => {
|
|
|
4550
4564
|
fillMode = defaultProps7.fillMode,
|
|
4551
4565
|
...other
|
|
4552
4566
|
} = props;
|
|
4553
|
-
return /* @__PURE__ */
|
|
4567
|
+
return /* @__PURE__ */ jsx11(
|
|
4554
4568
|
"span",
|
|
4555
4569
|
{
|
|
4556
4570
|
...other,
|
|
@@ -4569,7 +4583,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4569
4583
|
Input.defaultProps = defaultProps7;
|
|
4570
4584
|
|
|
4571
4585
|
// src/input/picker.spec.tsx
|
|
4572
|
-
import { jsx as
|
|
4586
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
4573
4587
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4574
4588
|
var pickerStates = [
|
|
4575
4589
|
States.hover,
|
|
@@ -4605,7 +4619,7 @@ var Picker = (props) => {
|
|
|
4605
4619
|
fillMode = defaultProps8.fillMode,
|
|
4606
4620
|
...other
|
|
4607
4621
|
} = props;
|
|
4608
|
-
return /* @__PURE__ */
|
|
4622
|
+
return /* @__PURE__ */ jsx12(
|
|
4609
4623
|
"span",
|
|
4610
4624
|
{
|
|
4611
4625
|
...other,
|
|
@@ -4625,7 +4639,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4625
4639
|
Picker.defaultProps = defaultProps8;
|
|
4626
4640
|
|
|
4627
4641
|
// src/input/input-clear-value.tsx
|
|
4628
|
-
import { Fragment as
|
|
4642
|
+
import { Fragment as Fragment7, jsx as jsx13 } from "react/jsx-runtime";
|
|
4629
4643
|
var className = `k-clear-value`;
|
|
4630
4644
|
var states8 = [
|
|
4631
4645
|
States.disabled,
|
|
@@ -4641,16 +4655,16 @@ var InputClearValue = (props) => {
|
|
|
4641
4655
|
value
|
|
4642
4656
|
} = props;
|
|
4643
4657
|
if (disabled || readonly || loading || !value) {
|
|
4644
|
-
return /* @__PURE__ */
|
|
4658
|
+
return /* @__PURE__ */ jsx13(Fragment7, {});
|
|
4645
4659
|
}
|
|
4646
|
-
return /* @__PURE__ */
|
|
4660
|
+
return /* @__PURE__ */ jsx13("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx13(Icon, { icon: "x" }) });
|
|
4647
4661
|
};
|
|
4648
4662
|
InputClearValue.states = states8;
|
|
4649
4663
|
InputClearValue.options = options8;
|
|
4650
4664
|
InputClearValue.className = className;
|
|
4651
4665
|
|
|
4652
4666
|
// src/input/input-inner-input.tsx
|
|
4653
|
-
import { jsx as
|
|
4667
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4654
4668
|
var className2 = `k-input-inner`;
|
|
4655
4669
|
var states9 = [];
|
|
4656
4670
|
var options9 = {};
|
|
@@ -4668,7 +4682,7 @@ var InputInnerInput = (props) => {
|
|
|
4668
4682
|
autocomplete = defaultProps9.autocomplete,
|
|
4669
4683
|
...other
|
|
4670
4684
|
} = props;
|
|
4671
|
-
return /* @__PURE__ */
|
|
4685
|
+
return /* @__PURE__ */ jsx14(
|
|
4672
4686
|
"input",
|
|
4673
4687
|
{
|
|
4674
4688
|
...other,
|
|
@@ -4685,7 +4699,7 @@ InputInnerInput.options = options9;
|
|
|
4685
4699
|
InputInnerInput.className = className2;
|
|
4686
4700
|
|
|
4687
4701
|
// src/input/input-inner-span.tsx
|
|
4688
|
-
import { jsx as
|
|
4702
|
+
import { jsx as jsx15, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4689
4703
|
var className3 = `k-input-inner`;
|
|
4690
4704
|
var states10 = [];
|
|
4691
4705
|
var options10 = {};
|
|
@@ -4705,9 +4719,9 @@ var InputInnerSpan = (props) => {
|
|
|
4705
4719
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4706
4720
|
children: [
|
|
4707
4721
|
valueIcon,
|
|
4708
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4722
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx15(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4709
4723
|
showValue && !value && placeholder,
|
|
4710
|
-
showValue && value && /* @__PURE__ */
|
|
4724
|
+
showValue && value && /* @__PURE__ */ jsx15("span", { className: "k-input-value-text", children: value })
|
|
4711
4725
|
]
|
|
4712
4726
|
}
|
|
4713
4727
|
);
|
|
@@ -4717,7 +4731,7 @@ InputInnerSpan.options = options10;
|
|
|
4717
4731
|
InputInnerSpan.className = className3;
|
|
4718
4732
|
|
|
4719
4733
|
// src/input/input-inner-textarea.tsx
|
|
4720
|
-
import { jsx as
|
|
4734
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4721
4735
|
var defaultProps10 = {
|
|
4722
4736
|
value: "",
|
|
4723
4737
|
placeholder: ""
|
|
@@ -4732,7 +4746,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4732
4746
|
rows,
|
|
4733
4747
|
...other
|
|
4734
4748
|
} = props;
|
|
4735
|
-
return /* @__PURE__ */
|
|
4749
|
+
return /* @__PURE__ */ jsx16(
|
|
4736
4750
|
"textarea",
|
|
4737
4751
|
{
|
|
4738
4752
|
...other,
|
|
@@ -4748,7 +4762,7 @@ InputInnerTextarea.options = options11;
|
|
|
4748
4762
|
InputInnerTextarea.className = className4;
|
|
4749
4763
|
|
|
4750
4764
|
// src/input/input-loading-icon.tsx
|
|
4751
|
-
import { Fragment as
|
|
4765
|
+
import { Fragment as Fragment8, jsx as jsx17 } from "react/jsx-runtime";
|
|
4752
4766
|
var className5 = `k-input-loading-icon`;
|
|
4753
4767
|
var states12 = [
|
|
4754
4768
|
States.disabled,
|
|
@@ -4760,13 +4774,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4760
4774
|
loading
|
|
4761
4775
|
} = props;
|
|
4762
4776
|
if (disabled || !loading) {
|
|
4763
|
-
return /* @__PURE__ */
|
|
4777
|
+
return /* @__PURE__ */ jsx17(Fragment8, {});
|
|
4764
4778
|
}
|
|
4765
|
-
return /* @__PURE__ */
|
|
4779
|
+
return /* @__PURE__ */ jsx17("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4766
4780
|
};
|
|
4767
4781
|
|
|
4768
4782
|
// src/input/input-validation-icon.tsx
|
|
4769
|
-
import { Fragment as
|
|
4783
|
+
import { Fragment as Fragment9, jsx as jsx18 } from "react/jsx-runtime";
|
|
4770
4784
|
var className6 = `k-input-validation-icon`;
|
|
4771
4785
|
var states13 = [
|
|
4772
4786
|
States.valid,
|
|
@@ -4785,39 +4799,39 @@ var InputValidationIcon = (props) => {
|
|
|
4785
4799
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4786
4800
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4787
4801
|
if (disabled || loading || !renderValidationIcon) {
|
|
4788
|
-
return /* @__PURE__ */
|
|
4802
|
+
return /* @__PURE__ */ jsx18(Fragment9, {});
|
|
4789
4803
|
}
|
|
4790
|
-
return /* @__PURE__ */
|
|
4804
|
+
return /* @__PURE__ */ jsx18(Icon, { className: classNames(className6), icon: iconName });
|
|
4791
4805
|
};
|
|
4792
4806
|
InputValidationIcon.states = states13;
|
|
4793
4807
|
InputValidationIcon.options = options12;
|
|
4794
4808
|
InputValidationIcon.className = className6;
|
|
4795
4809
|
|
|
4796
4810
|
// src/input/input-prefix.tsx
|
|
4797
|
-
import { Fragment as
|
|
4811
|
+
import { Fragment as Fragment10, jsx as jsx19 } from "react/jsx-runtime";
|
|
4798
4812
|
var className7 = `k-input-prefix`;
|
|
4799
4813
|
var InputPrefix = (props) => {
|
|
4800
4814
|
if (!props.children) {
|
|
4801
|
-
return /* @__PURE__ */
|
|
4815
|
+
return /* @__PURE__ */ jsx19(Fragment10, {});
|
|
4802
4816
|
}
|
|
4803
|
-
return /* @__PURE__ */
|
|
4817
|
+
return /* @__PURE__ */ jsx19("span", { className: classNames(className7, props.className), children: props.children });
|
|
4804
4818
|
};
|
|
4805
4819
|
|
|
4806
4820
|
// src/input/input-suffix.tsx
|
|
4807
|
-
import { Fragment as
|
|
4821
|
+
import { Fragment as Fragment11, jsx as jsx20 } from "react/jsx-runtime";
|
|
4808
4822
|
var className8 = `k-input-suffix`;
|
|
4809
4823
|
var InputSuffix = (props) => {
|
|
4810
4824
|
if (!props.children) {
|
|
4811
|
-
return /* @__PURE__ */
|
|
4825
|
+
return /* @__PURE__ */ jsx20(Fragment11, {});
|
|
4812
4826
|
}
|
|
4813
|
-
return /* @__PURE__ */
|
|
4827
|
+
return /* @__PURE__ */ jsx20("span", { className: classNames(className8, props.className), children: props.children });
|
|
4814
4828
|
};
|
|
4815
4829
|
|
|
4816
4830
|
// src/input/input-separator.tsx
|
|
4817
|
-
import { jsx as
|
|
4831
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
4818
4832
|
|
|
4819
4833
|
// src/spinbutton/spinbutton.spec.tsx
|
|
4820
|
-
import { jsx as
|
|
4834
|
+
import { jsx as jsx22, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4821
4835
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
4822
4836
|
var states14 = [];
|
|
4823
4837
|
var options13 = {
|
|
@@ -4843,7 +4857,7 @@ var SpinButton = (props) => {
|
|
|
4843
4857
|
props.className
|
|
4844
4858
|
),
|
|
4845
4859
|
children: [
|
|
4846
|
-
/* @__PURE__ */
|
|
4860
|
+
/* @__PURE__ */ jsx22(
|
|
4847
4861
|
Button,
|
|
4848
4862
|
{
|
|
4849
4863
|
className: "k-spinner-increase",
|
|
@@ -4853,7 +4867,7 @@ var SpinButton = (props) => {
|
|
|
4853
4867
|
fillMode
|
|
4854
4868
|
}
|
|
4855
4869
|
),
|
|
4856
|
-
/* @__PURE__ */
|
|
4870
|
+
/* @__PURE__ */ jsx22(
|
|
4857
4871
|
Button,
|
|
4858
4872
|
{
|
|
4859
4873
|
className: "k-spinner-decrease",
|
|
@@ -4873,7 +4887,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
4873
4887
|
SpinButton.defaultProps = defaultProps11;
|
|
4874
4888
|
|
|
4875
4889
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
4876
|
-
import { jsx as
|
|
4890
|
+
import { jsx as jsx23, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4877
4891
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
4878
4892
|
var states15 = [
|
|
4879
4893
|
States.hover,
|
|
@@ -4933,8 +4947,8 @@ var NumericTextbox = (props) => {
|
|
|
4933
4947
|
readonly,
|
|
4934
4948
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
4935
4949
|
children: [
|
|
4936
|
-
/* @__PURE__ */
|
|
4937
|
-
/* @__PURE__ */
|
|
4950
|
+
/* @__PURE__ */ jsx23(InputInnerInput, { placeholder, value }),
|
|
4951
|
+
/* @__PURE__ */ jsx23(
|
|
4938
4952
|
InputValidationIcon,
|
|
4939
4953
|
{
|
|
4940
4954
|
valid,
|
|
@@ -4943,14 +4957,14 @@ var NumericTextbox = (props) => {
|
|
|
4943
4957
|
disabled
|
|
4944
4958
|
}
|
|
4945
4959
|
),
|
|
4946
|
-
/* @__PURE__ */
|
|
4960
|
+
/* @__PURE__ */ jsx23(
|
|
4947
4961
|
InputLoadingIcon,
|
|
4948
4962
|
{
|
|
4949
4963
|
loading,
|
|
4950
4964
|
disabled
|
|
4951
4965
|
}
|
|
4952
4966
|
),
|
|
4953
|
-
showClearButton && /* @__PURE__ */
|
|
4967
|
+
showClearButton && /* @__PURE__ */ jsx23(
|
|
4954
4968
|
InputClearValue,
|
|
4955
4969
|
{
|
|
4956
4970
|
loading,
|
|
@@ -4959,7 +4973,7 @@ var NumericTextbox = (props) => {
|
|
|
4959
4973
|
value
|
|
4960
4974
|
}
|
|
4961
4975
|
),
|
|
4962
|
-
showSpinButton && /* @__PURE__ */
|
|
4976
|
+
showSpinButton && /* @__PURE__ */ jsx23(
|
|
4963
4977
|
SpinButton,
|
|
4964
4978
|
{
|
|
4965
4979
|
className: "k-input-spinner",
|
|
@@ -4977,10 +4991,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
4977
4991
|
NumericTextbox.defaultProps = defaultProps12;
|
|
4978
4992
|
|
|
4979
4993
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
4980
|
-
import { jsx as
|
|
4994
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4981
4995
|
|
|
4982
4996
|
// src/animation-container/animation-container.spec.tsx
|
|
4983
|
-
import { jsx as
|
|
4997
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4984
4998
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4985
4999
|
var states16 = [];
|
|
4986
5000
|
var options15 = {};
|
|
@@ -4994,7 +5008,7 @@ var AnimationContainer = (props) => {
|
|
|
4994
5008
|
offset,
|
|
4995
5009
|
...other
|
|
4996
5010
|
} = props;
|
|
4997
|
-
return /* @__PURE__ */
|
|
5011
|
+
return /* @__PURE__ */ jsx25(
|
|
4998
5012
|
"div",
|
|
4999
5013
|
{
|
|
5000
5014
|
...other,
|
|
@@ -5006,7 +5020,7 @@ var AnimationContainer = (props) => {
|
|
|
5006
5020
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5007
5021
|
}
|
|
5008
5022
|
),
|
|
5009
|
-
children: /* @__PURE__ */
|
|
5023
|
+
children: /* @__PURE__ */ jsx25("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5010
5024
|
}
|
|
5011
5025
|
);
|
|
5012
5026
|
};
|
|
@@ -5016,7 +5030,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5016
5030
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5017
5031
|
|
|
5018
5032
|
// src/popup/popup.spec.tsx
|
|
5019
|
-
import { jsx as
|
|
5033
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5020
5034
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5021
5035
|
var states17 = [];
|
|
5022
5036
|
var options16 = {};
|
|
@@ -5029,12 +5043,12 @@ var Popup = (props) => {
|
|
|
5029
5043
|
positionMode,
|
|
5030
5044
|
...other
|
|
5031
5045
|
} = props;
|
|
5032
|
-
return /* @__PURE__ */
|
|
5046
|
+
return /* @__PURE__ */ jsx26(
|
|
5033
5047
|
AnimationContainer,
|
|
5034
5048
|
{
|
|
5035
5049
|
positionMode,
|
|
5036
5050
|
offset,
|
|
5037
|
-
children: /* @__PURE__ */
|
|
5051
|
+
children: /* @__PURE__ */ jsx26("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5038
5052
|
}
|
|
5039
5053
|
);
|
|
5040
5054
|
};
|
|
@@ -5044,7 +5058,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5044
5058
|
Popup.defaultProps = defaultProps14;
|
|
5045
5059
|
|
|
5046
5060
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5047
|
-
import { Fragment as
|
|
5061
|
+
import { Fragment as Fragment12, jsx as jsx27, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5048
5062
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5049
5063
|
var states18 = [
|
|
5050
5064
|
States.hover,
|
|
@@ -5092,7 +5106,7 @@ var DropdownList = (props) => {
|
|
|
5092
5106
|
opened,
|
|
5093
5107
|
...other
|
|
5094
5108
|
} = props;
|
|
5095
|
-
return /* @__PURE__ */ jsxs6(
|
|
5109
|
+
return /* @__PURE__ */ jsxs6(Fragment12, { children: [
|
|
5096
5110
|
/* @__PURE__ */ jsxs6(
|
|
5097
5111
|
Picker,
|
|
5098
5112
|
{
|
|
@@ -5116,8 +5130,8 @@ var DropdownList = (props) => {
|
|
|
5116
5130
|
}
|
|
5117
5131
|
),
|
|
5118
5132
|
children: [
|
|
5119
|
-
/* @__PURE__ */
|
|
5120
|
-
/* @__PURE__ */
|
|
5133
|
+
/* @__PURE__ */ jsx27(InputPrefix, { children: prefix }),
|
|
5134
|
+
/* @__PURE__ */ jsx27(
|
|
5121
5135
|
InputInnerSpan,
|
|
5122
5136
|
{
|
|
5123
5137
|
placeholder,
|
|
@@ -5126,7 +5140,7 @@ var DropdownList = (props) => {
|
|
|
5126
5140
|
valueIconName
|
|
5127
5141
|
}
|
|
5128
5142
|
),
|
|
5129
|
-
/* @__PURE__ */
|
|
5143
|
+
/* @__PURE__ */ jsx27(
|
|
5130
5144
|
InputValidationIcon,
|
|
5131
5145
|
{
|
|
5132
5146
|
valid,
|
|
@@ -5135,15 +5149,15 @@ var DropdownList = (props) => {
|
|
|
5135
5149
|
disabled
|
|
5136
5150
|
}
|
|
5137
5151
|
),
|
|
5138
|
-
/* @__PURE__ */
|
|
5152
|
+
/* @__PURE__ */ jsx27(
|
|
5139
5153
|
InputLoadingIcon,
|
|
5140
5154
|
{
|
|
5141
5155
|
loading,
|
|
5142
5156
|
disabled
|
|
5143
5157
|
}
|
|
5144
5158
|
),
|
|
5145
|
-
/* @__PURE__ */
|
|
5146
|
-
/* @__PURE__ */
|
|
5159
|
+
/* @__PURE__ */ jsx27(InputSuffix, { children: suffix }),
|
|
5160
|
+
/* @__PURE__ */ jsx27(
|
|
5147
5161
|
Button,
|
|
5148
5162
|
{
|
|
5149
5163
|
className: "k-input-button",
|
|
@@ -5156,7 +5170,7 @@ var DropdownList = (props) => {
|
|
|
5156
5170
|
]
|
|
5157
5171
|
}
|
|
5158
5172
|
),
|
|
5159
|
-
opened && popup && /* @__PURE__ */
|
|
5173
|
+
opened && popup && /* @__PURE__ */ jsx27(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5160
5174
|
] });
|
|
5161
5175
|
};
|
|
5162
5176
|
DropdownList.states = states18;
|
|
@@ -5165,15 +5179,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5165
5179
|
DropdownList.defaultProps = defaultProps15;
|
|
5166
5180
|
|
|
5167
5181
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5168
|
-
import { jsx as
|
|
5182
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
5169
5183
|
|
|
5170
5184
|
// src/nodata/nodata.tsx
|
|
5171
|
-
import { jsx as
|
|
5185
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5172
5186
|
var className9 = `k-nodata`;
|
|
5173
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5187
|
+
var NoData = (props) => /* @__PURE__ */ jsx29("span", { className: classNames(className9, props.className), children: props.children });
|
|
5174
5188
|
|
|
5175
5189
|
// src/list/list.spec.tsx
|
|
5176
|
-
import { jsx as
|
|
5190
|
+
import { jsx as jsx30, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5177
5191
|
var LIST_CLASSNAME = `k-list`;
|
|
5178
5192
|
var states19 = [];
|
|
5179
5193
|
var options18 = {
|
|
@@ -5201,7 +5215,7 @@ var List = (props) => {
|
|
|
5201
5215
|
listHeader = child.props.label;
|
|
5202
5216
|
child.props.children.map((optChild, index2) => {
|
|
5203
5217
|
listChildren.push(
|
|
5204
|
-
/* @__PURE__ */
|
|
5218
|
+
/* @__PURE__ */ jsx30(
|
|
5205
5219
|
ListItem,
|
|
5206
5220
|
{
|
|
5207
5221
|
...optChild.props
|
|
@@ -5217,7 +5231,7 @@ var List = (props) => {
|
|
|
5217
5231
|
groupLabel = child.props.label;
|
|
5218
5232
|
}
|
|
5219
5233
|
listChildren.push(
|
|
5220
|
-
/* @__PURE__ */
|
|
5234
|
+
/* @__PURE__ */ jsx30(
|
|
5221
5235
|
ListItem,
|
|
5222
5236
|
{
|
|
5223
5237
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5229,14 +5243,14 @@ var List = (props) => {
|
|
|
5229
5243
|
);
|
|
5230
5244
|
});
|
|
5231
5245
|
}
|
|
5232
|
-
listGroup = /* @__PURE__ */
|
|
5246
|
+
listGroup = /* @__PURE__ */ jsx30(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5233
5247
|
} else if (child.type === ListItem) {
|
|
5234
|
-
listChildren.push(/* @__PURE__ */
|
|
5235
|
-
listContent = /* @__PURE__ */
|
|
5248
|
+
listChildren.push(/* @__PURE__ */ jsx30(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5249
|
+
listContent = /* @__PURE__ */ jsx30(ListContent, { virtualization, children: listChildren });
|
|
5236
5250
|
}
|
|
5237
5251
|
});
|
|
5238
5252
|
} else {
|
|
5239
|
-
listContent = /* @__PURE__ */
|
|
5253
|
+
listContent = /* @__PURE__ */ jsx30(NoData, { children: "No data found." });
|
|
5240
5254
|
}
|
|
5241
5255
|
return /* @__PURE__ */ jsxs7(
|
|
5242
5256
|
"div",
|
|
@@ -5266,7 +5280,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5266
5280
|
List.defaultProps = defaultProps16;
|
|
5267
5281
|
|
|
5268
5282
|
// src/list/list-angular.spec.tsx
|
|
5269
|
-
import { jsx as
|
|
5283
|
+
import { jsx as jsx31, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5270
5284
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5271
5285
|
var states20 = [];
|
|
5272
5286
|
var options19 = {
|
|
@@ -5293,7 +5307,7 @@ var ListAngular = (props) => {
|
|
|
5293
5307
|
listHeader = child.props.label;
|
|
5294
5308
|
child.props.children.map((optChild, index2) => {
|
|
5295
5309
|
listChildren.push(
|
|
5296
|
-
/* @__PURE__ */
|
|
5310
|
+
/* @__PURE__ */ jsx31(
|
|
5297
5311
|
ListItem,
|
|
5298
5312
|
{
|
|
5299
5313
|
...optChild.props
|
|
@@ -5304,7 +5318,7 @@ var ListAngular = (props) => {
|
|
|
5304
5318
|
});
|
|
5305
5319
|
} else {
|
|
5306
5320
|
listChildren.push(
|
|
5307
|
-
/* @__PURE__ */
|
|
5321
|
+
/* @__PURE__ */ jsx31(
|
|
5308
5322
|
ListGroupItem,
|
|
5309
5323
|
{
|
|
5310
5324
|
...child.props,
|
|
@@ -5315,7 +5329,7 @@ var ListAngular = (props) => {
|
|
|
5315
5329
|
);
|
|
5316
5330
|
child.props.children.map((optChild, index2) => {
|
|
5317
5331
|
listChildren.push(
|
|
5318
|
-
/* @__PURE__ */
|
|
5332
|
+
/* @__PURE__ */ jsx31(
|
|
5319
5333
|
ListItem,
|
|
5320
5334
|
{
|
|
5321
5335
|
...optChild.props
|
|
@@ -5325,14 +5339,14 @@ var ListAngular = (props) => {
|
|
|
5325
5339
|
);
|
|
5326
5340
|
});
|
|
5327
5341
|
}
|
|
5328
|
-
listGroup = /* @__PURE__ */
|
|
5342
|
+
listGroup = /* @__PURE__ */ jsx31(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5329
5343
|
} else if (child.type === ListItem) {
|
|
5330
|
-
listChildren.push(/* @__PURE__ */
|
|
5331
|
-
listContent = /* @__PURE__ */
|
|
5344
|
+
listChildren.push(/* @__PURE__ */ jsx31(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5345
|
+
listContent = /* @__PURE__ */ jsx31(ListContent, { virtualization, children: listChildren });
|
|
5332
5346
|
}
|
|
5333
5347
|
});
|
|
5334
5348
|
} else {
|
|
5335
|
-
listContent = /* @__PURE__ */
|
|
5349
|
+
listContent = /* @__PURE__ */ jsx31(NoData, { children: "No data found." });
|
|
5336
5350
|
}
|
|
5337
5351
|
return /* @__PURE__ */ jsxs8(
|
|
5338
5352
|
"div",
|
|
@@ -5361,7 +5375,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5361
5375
|
ListAngular.defaultProps = defaultProps17;
|
|
5362
5376
|
|
|
5363
5377
|
// src/checkbox/checkbox.spec.tsx
|
|
5364
|
-
import { jsx as
|
|
5378
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5365
5379
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5366
5380
|
var states21 = [
|
|
5367
5381
|
States.hover,
|
|
@@ -5396,7 +5410,7 @@ var Checkbox = (props) => {
|
|
|
5396
5410
|
rounded = defaultProps18.rounded,
|
|
5397
5411
|
...other
|
|
5398
5412
|
} = props;
|
|
5399
|
-
return /* @__PURE__ */
|
|
5413
|
+
return /* @__PURE__ */ jsx32("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx32(
|
|
5400
5414
|
"input",
|
|
5401
5415
|
{
|
|
5402
5416
|
...other,
|
|
@@ -5419,7 +5433,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5419
5433
|
Checkbox.defaultProps = defaultProps18;
|
|
5420
5434
|
|
|
5421
5435
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5422
|
-
import { jsx as
|
|
5436
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5423
5437
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5424
5438
|
var states22 = [];
|
|
5425
5439
|
var options21 = {};
|
|
@@ -5431,7 +5445,7 @@ var CheckboxGroup = (props) => {
|
|
|
5431
5445
|
layout = defaultProps19.layout,
|
|
5432
5446
|
...other
|
|
5433
5447
|
} = props;
|
|
5434
|
-
return /* @__PURE__ */
|
|
5448
|
+
return /* @__PURE__ */ jsx33(
|
|
5435
5449
|
"ul",
|
|
5436
5450
|
{
|
|
5437
5451
|
...other,
|
|
@@ -5452,7 +5466,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5452
5466
|
CheckboxGroup.defaultProps = defaultProps19;
|
|
5453
5467
|
|
|
5454
5468
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5455
|
-
import { jsx as
|
|
5469
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5456
5470
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5457
5471
|
var states23 = [];
|
|
5458
5472
|
var options22 = {};
|
|
@@ -5461,7 +5475,7 @@ var CheckboxItem = (props) => {
|
|
|
5461
5475
|
const {
|
|
5462
5476
|
...other
|
|
5463
5477
|
} = props;
|
|
5464
|
-
return /* @__PURE__ */
|
|
5478
|
+
return /* @__PURE__ */ jsx34(
|
|
5465
5479
|
"li",
|
|
5466
5480
|
{
|
|
5467
5481
|
...other,
|
|
@@ -5479,16 +5493,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5479
5493
|
CheckboxItem.defaultProps = defaultProps20;
|
|
5480
5494
|
|
|
5481
5495
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5482
|
-
import { Fragment as
|
|
5496
|
+
import { Fragment as Fragment13, jsx as jsx35, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5483
5497
|
|
|
5484
5498
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5485
|
-
import { Fragment as
|
|
5499
|
+
import { Fragment as Fragment14, jsx as jsx36, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5486
5500
|
|
|
5487
5501
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5488
|
-
import { jsx as
|
|
5502
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5489
5503
|
|
|
5490
5504
|
// src/list/list-item.spec.tsx
|
|
5491
|
-
import { jsx as
|
|
5505
|
+
import { jsx as jsx38, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5492
5506
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5493
5507
|
var states24 = [
|
|
5494
5508
|
States.hover,
|
|
@@ -5528,10 +5542,10 @@ var ListItem = (props) => {
|
|
|
5528
5542
|
})
|
|
5529
5543
|
),
|
|
5530
5544
|
children: [
|
|
5531
|
-
showCheckbox && /* @__PURE__ */
|
|
5532
|
-
showIcon && /* @__PURE__ */
|
|
5533
|
-
/* @__PURE__ */
|
|
5534
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5545
|
+
showCheckbox && /* @__PURE__ */ jsx38(Checkbox, { checked }),
|
|
5546
|
+
showIcon && /* @__PURE__ */ jsx38(Icon, { icon: iconName }),
|
|
5547
|
+
/* @__PURE__ */ jsx38("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5548
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx38("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5535
5549
|
]
|
|
5536
5550
|
}
|
|
5537
5551
|
);
|
|
@@ -5542,43 +5556,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5542
5556
|
ListItem.defaultProps = defaultProps21;
|
|
5543
5557
|
|
|
5544
5558
|
// src/list/list-content.tsx
|
|
5545
|
-
import { jsx as
|
|
5559
|
+
import { jsx as jsx39, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5546
5560
|
var className10 = `k-list-content`;
|
|
5547
5561
|
var ListContent = (props) => {
|
|
5548
5562
|
const {
|
|
5549
5563
|
virtualization
|
|
5550
5564
|
} = props;
|
|
5551
5565
|
return /* @__PURE__ */ jsxs12("div", { className: classNames(className10, props.className), children: [
|
|
5552
|
-
/* @__PURE__ */
|
|
5553
|
-
virtualization && /* @__PURE__ */
|
|
5566
|
+
/* @__PURE__ */ jsx39("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5567
|
+
virtualization && /* @__PURE__ */ jsx39("div", { className: "k-height-container", children: /* @__PURE__ */ jsx39("div", {}) })
|
|
5554
5568
|
] });
|
|
5555
5569
|
};
|
|
5556
5570
|
|
|
5557
5571
|
// src/list/list-header.tsx
|
|
5558
|
-
import { jsx as
|
|
5572
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5559
5573
|
var className11 = `k-list-group-sticky-header`;
|
|
5560
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5574
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx40("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx40("div", { className: "k-list-header-text", children: props.children }) });
|
|
5561
5575
|
|
|
5562
5576
|
// src/list/list-group.tsx
|
|
5563
|
-
import { Fragment as
|
|
5577
|
+
import { Fragment as Fragment15, jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5564
5578
|
var ListGroup = (props) => {
|
|
5565
5579
|
const {
|
|
5566
5580
|
virtualization,
|
|
5567
5581
|
label
|
|
5568
5582
|
} = props;
|
|
5569
|
-
return /* @__PURE__ */ jsxs13(
|
|
5570
|
-
label && /* @__PURE__ */
|
|
5571
|
-
props.children && /* @__PURE__ */
|
|
5583
|
+
return /* @__PURE__ */ jsxs13(Fragment15, { children: [
|
|
5584
|
+
label && /* @__PURE__ */ jsx41(ListHeader, { children: label }),
|
|
5585
|
+
props.children && /* @__PURE__ */ jsx41(ListContent, { virtualization, children: props.children })
|
|
5572
5586
|
] });
|
|
5573
5587
|
};
|
|
5574
5588
|
|
|
5575
5589
|
// src/list/list-group-item.tsx
|
|
5576
|
-
import { jsx as
|
|
5590
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5577
5591
|
var className12 = `k-list-group-item`;
|
|
5578
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5592
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx42("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: props.children }) });
|
|
5579
5593
|
|
|
5580
5594
|
// src/list/list-option-label.tsx
|
|
5581
|
-
import { jsx as
|
|
5595
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5582
5596
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5583
5597
|
var states25 = [
|
|
5584
5598
|
States.hover,
|
|
@@ -5597,7 +5611,7 @@ var ListOptionLabel = (props) => {
|
|
|
5597
5611
|
disabled,
|
|
5598
5612
|
...other
|
|
5599
5613
|
} = props;
|
|
5600
|
-
return /* @__PURE__ */
|
|
5614
|
+
return /* @__PURE__ */ jsx43(
|
|
5601
5615
|
"div",
|
|
5602
5616
|
{
|
|
5603
5617
|
...other,
|
|
@@ -5620,31 +5634,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5620
5634
|
ListOptionLabel.defaultProps = defaultProps22;
|
|
5621
5635
|
|
|
5622
5636
|
// src/list/templates/list-normal.tsx
|
|
5623
|
-
import { jsx as
|
|
5637
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5624
5638
|
|
|
5625
5639
|
// src/list/templates/list-virtualization.tsx
|
|
5626
|
-
import { jsx as
|
|
5640
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5627
5641
|
|
|
5628
5642
|
// src/list/templates/list-grouping.tsx
|
|
5629
|
-
import { jsx as
|
|
5643
|
+
import { jsx as jsx46, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5630
5644
|
|
|
5631
5645
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5632
|
-
import { jsx as
|
|
5646
|
+
import { jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5633
5647
|
|
|
5634
5648
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5635
|
-
import { jsx as
|
|
5649
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5636
5650
|
|
|
5637
5651
|
// src/list/templates/list-grouping-angular.tsx
|
|
5638
|
-
import { jsx as
|
|
5652
|
+
import { jsx as jsx49, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5639
5653
|
|
|
5640
5654
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5641
|
-
import { jsx as
|
|
5655
|
+
import { jsx as jsx50, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5642
5656
|
|
|
5643
5657
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5644
|
-
import { jsx as
|
|
5658
|
+
import { jsx as jsx51, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5645
5659
|
|
|
5646
5660
|
// src/searchbox/searchbox.spec.tsx
|
|
5647
|
-
import { jsx as
|
|
5661
|
+
import { jsx as jsx52, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5648
5662
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5649
5663
|
var states26 = [
|
|
5650
5664
|
States.hover,
|
|
@@ -5701,11 +5715,11 @@ var Searchbox = (props) => {
|
|
|
5701
5715
|
disabled,
|
|
5702
5716
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5703
5717
|
children: [
|
|
5704
|
-
showIcon && /* @__PURE__ */
|
|
5705
|
-
/* @__PURE__ */
|
|
5706
|
-
/* @__PURE__ */
|
|
5707
|
-
/* @__PURE__ */
|
|
5708
|
-
/* @__PURE__ */
|
|
5718
|
+
showIcon && /* @__PURE__ */ jsx52(Icon, { className: "k-input-icon", icon }),
|
|
5719
|
+
/* @__PURE__ */ jsx52(InputInnerInput, { placeholder, value }),
|
|
5720
|
+
/* @__PURE__ */ jsx52(InputLoadingIcon, { ...props }),
|
|
5721
|
+
/* @__PURE__ */ jsx52(InputValidationIcon, { ...props }),
|
|
5722
|
+
/* @__PURE__ */ jsx52(InputClearValue, { ...props })
|
|
5709
5723
|
]
|
|
5710
5724
|
}
|
|
5711
5725
|
);
|
|
@@ -5716,19 +5730,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5716
5730
|
Searchbox.defaultProps = defaultProps23;
|
|
5717
5731
|
|
|
5718
5732
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5719
|
-
import { jsx as
|
|
5733
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
5720
5734
|
|
|
5721
5735
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5722
|
-
import { Fragment as
|
|
5736
|
+
import { Fragment as Fragment16, jsx as jsx54, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5723
5737
|
|
|
5724
5738
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5725
|
-
import { jsx as
|
|
5739
|
+
import { jsx as jsx55, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5726
5740
|
|
|
5727
5741
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5728
|
-
import { Fragment as
|
|
5742
|
+
import { Fragment as Fragment17, jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5729
5743
|
|
|
5730
5744
|
// src/button-group/button-group.spec.tsx
|
|
5731
|
-
import { jsx as
|
|
5745
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5732
5746
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5733
5747
|
var states27 = [
|
|
5734
5748
|
States.disabled
|
|
@@ -5746,7 +5760,7 @@ var ButtonGroup = (props) => {
|
|
|
5746
5760
|
stretched,
|
|
5747
5761
|
...other
|
|
5748
5762
|
} = props;
|
|
5749
|
-
return /* @__PURE__ */
|
|
5763
|
+
return /* @__PURE__ */ jsx57(
|
|
5750
5764
|
"div",
|
|
5751
5765
|
{
|
|
5752
5766
|
...other,
|
|
@@ -5773,19 +5787,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5773
5787
|
ButtonGroup.defaultProps = defaultProps24;
|
|
5774
5788
|
|
|
5775
5789
|
// src/button-group/templates/icon-button-group.tsx
|
|
5776
|
-
import { jsx as
|
|
5790
|
+
import { jsx as jsx58, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5777
5791
|
|
|
5778
5792
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5779
|
-
import { jsx as
|
|
5793
|
+
import { jsx as jsx59, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5780
5794
|
|
|
5781
5795
|
// src/button-group/templates/text-button-group.tsx
|
|
5782
|
-
import { jsx as
|
|
5796
|
+
import { jsx as jsx60, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5783
5797
|
|
|
5784
5798
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5785
|
-
import { jsx as
|
|
5799
|
+
import { jsx as jsx61, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5786
5800
|
|
|
5787
5801
|
// src/color-preview/color-preview.tsx
|
|
5788
|
-
import { jsx as
|
|
5802
|
+
import { jsx as jsx62, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5789
5803
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5790
5804
|
var states28 = [];
|
|
5791
5805
|
var options27 = {};
|
|
@@ -5808,8 +5822,8 @@ var ColorPreview = (props) => {
|
|
|
5808
5822
|
}
|
|
5809
5823
|
),
|
|
5810
5824
|
children: [
|
|
5811
|
-
iconName && /* @__PURE__ */
|
|
5812
|
-
/* @__PURE__ */
|
|
5825
|
+
iconName && /* @__PURE__ */ jsx62(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5826
|
+
/* @__PURE__ */ jsx62(
|
|
5813
5827
|
"span",
|
|
5814
5828
|
{
|
|
5815
5829
|
className: "k-color-preview-mask",
|
|
@@ -5825,7 +5839,7 @@ ColorPreview.options = options27;
|
|
|
5825
5839
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5826
5840
|
|
|
5827
5841
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5828
|
-
import { Fragment as
|
|
5842
|
+
import { Fragment as Fragment18, jsx as jsx63, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5829
5843
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5830
5844
|
var states29 = [
|
|
5831
5845
|
States.hover,
|
|
@@ -5867,7 +5881,7 @@ var ColorPicker = (props) => {
|
|
|
5867
5881
|
opened,
|
|
5868
5882
|
...other
|
|
5869
5883
|
} = props;
|
|
5870
|
-
return /* @__PURE__ */ jsxs28(
|
|
5884
|
+
return /* @__PURE__ */ jsxs28(Fragment18, { children: [
|
|
5871
5885
|
/* @__PURE__ */ jsxs28(
|
|
5872
5886
|
Picker,
|
|
5873
5887
|
{
|
|
@@ -5887,14 +5901,14 @@ var ColorPicker = (props) => {
|
|
|
5887
5901
|
"k-icon-picker"
|
|
5888
5902
|
),
|
|
5889
5903
|
children: [
|
|
5890
|
-
/* @__PURE__ */
|
|
5891
|
-
/* @__PURE__ */
|
|
5904
|
+
/* @__PURE__ */ jsx63(InputPrefix, { children: prefix }),
|
|
5905
|
+
/* @__PURE__ */ jsx63(
|
|
5892
5906
|
InputInnerSpan,
|
|
5893
5907
|
{
|
|
5894
5908
|
placeholder,
|
|
5895
5909
|
value,
|
|
5896
5910
|
showValue: false,
|
|
5897
|
-
valueIcon: /* @__PURE__ */
|
|
5911
|
+
valueIcon: /* @__PURE__ */ jsx63(
|
|
5898
5912
|
ColorPreview,
|
|
5899
5913
|
{
|
|
5900
5914
|
className: "k-value-icon",
|
|
@@ -5905,8 +5919,8 @@ var ColorPicker = (props) => {
|
|
|
5905
5919
|
valueIconName
|
|
5906
5920
|
}
|
|
5907
5921
|
),
|
|
5908
|
-
/* @__PURE__ */
|
|
5909
|
-
/* @__PURE__ */
|
|
5922
|
+
/* @__PURE__ */ jsx63(InputSuffix, { children: suffix }),
|
|
5923
|
+
/* @__PURE__ */ jsx63(
|
|
5910
5924
|
Button,
|
|
5911
5925
|
{
|
|
5912
5926
|
className: "k-input-button",
|
|
@@ -5919,7 +5933,7 @@ var ColorPicker = (props) => {
|
|
|
5919
5933
|
]
|
|
5920
5934
|
}
|
|
5921
5935
|
),
|
|
5922
|
-
opened && popup && /* @__PURE__ */
|
|
5936
|
+
opened && popup && /* @__PURE__ */ jsx63(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5923
5937
|
] });
|
|
5924
5938
|
};
|
|
5925
5939
|
ColorPicker.states = states29;
|
|
@@ -5928,10 +5942,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5928
5942
|
ColorPicker.defaultProps = defaultProps25;
|
|
5929
5943
|
|
|
5930
5944
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5931
|
-
import { jsx as
|
|
5945
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5932
5946
|
|
|
5933
5947
|
// src/slider/slider.spec.tsx
|
|
5934
|
-
import { jsx as
|
|
5948
|
+
import { jsx as jsx65, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5935
5949
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5936
5950
|
var states30 = [
|
|
5937
5951
|
States.hover,
|
|
@@ -5983,12 +5997,12 @@ var Slider = (props) => {
|
|
|
5983
5997
|
"k-range-slider": type === "range"
|
|
5984
5998
|
}
|
|
5985
5999
|
), dir, children: [
|
|
5986
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6000
|
+
type !== "gradient" && /* @__PURE__ */ jsx65(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5987
6001
|
/* @__PURE__ */ jsxs29("div", { className: "k-slider-track-wrap", children: [
|
|
5988
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6002
|
+
type !== "gradient" && /* @__PURE__ */ jsx65("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5989
6003
|
/* @__PURE__ */ jsxs29("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5990
|
-
/* @__PURE__ */
|
|
5991
|
-
type === "range" && /* @__PURE__ */
|
|
6004
|
+
/* @__PURE__ */ jsx65("div", { className: "k-slider-selection" }),
|
|
6005
|
+
type === "range" && /* @__PURE__ */ jsx65("span", { className: classNames(
|
|
5992
6006
|
"k-draghandle",
|
|
5993
6007
|
"k-draghandle-start",
|
|
5994
6008
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5997,7 +6011,7 @@ var Slider = (props) => {
|
|
|
5997
6011
|
active
|
|
5998
6012
|
})
|
|
5999
6013
|
) }),
|
|
6000
|
-
/* @__PURE__ */
|
|
6014
|
+
/* @__PURE__ */ jsx65("span", { className: classNames(
|
|
6001
6015
|
"k-draghandle",
|
|
6002
6016
|
`k-draghandle-${handlePosition}`,
|
|
6003
6017
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6008,7 +6022,7 @@ var Slider = (props) => {
|
|
|
6008
6022
|
) })
|
|
6009
6023
|
] })
|
|
6010
6024
|
] }),
|
|
6011
|
-
type !== "gradient" && /* @__PURE__ */
|
|
6025
|
+
type !== "gradient" && /* @__PURE__ */ jsx65(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6012
6026
|
] });
|
|
6013
6027
|
};
|
|
6014
6028
|
Slider.states = states30;
|
|
@@ -6017,7 +6031,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
6017
6031
|
Slider.defaultProps = defaultProps26;
|
|
6018
6032
|
|
|
6019
6033
|
// src/slider/slider-tick.tsx
|
|
6020
|
-
import { jsx as
|
|
6034
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
6021
6035
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6022
6036
|
var states31 = [];
|
|
6023
6037
|
var options30 = {};
|
|
@@ -6032,14 +6046,14 @@ var SliderTick = (props) => {
|
|
|
6032
6046
|
large,
|
|
6033
6047
|
text
|
|
6034
6048
|
} = props;
|
|
6035
|
-
return /* @__PURE__ */
|
|
6049
|
+
return /* @__PURE__ */ jsx66("li", { className: classNames(
|
|
6036
6050
|
props.className,
|
|
6037
6051
|
SLIDER_TICK_CLASSNAME,
|
|
6038
6052
|
{
|
|
6039
6053
|
[`k-tick-${orientation}`]: orientation,
|
|
6040
6054
|
"k-tick-large": large
|
|
6041
6055
|
}
|
|
6042
|
-
), style, children: label && /* @__PURE__ */
|
|
6056
|
+
), style, children: label && /* @__PURE__ */ jsx66("span", { className: "k-label", children: text }) });
|
|
6043
6057
|
};
|
|
6044
6058
|
SliderTick.states = states31;
|
|
6045
6059
|
SliderTick.options = options30;
|
|
@@ -6047,7 +6061,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
6047
6061
|
SliderTick.defaultProps = defaultProps27;
|
|
6048
6062
|
|
|
6049
6063
|
// src/textbox/textbox.spec.tsx
|
|
6050
|
-
import { jsx as
|
|
6064
|
+
import { jsx as jsx67, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6051
6065
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
6052
6066
|
var states32 = [
|
|
6053
6067
|
States.hover,
|
|
@@ -6107,9 +6121,9 @@ var Textbox = (props) => {
|
|
|
6107
6121
|
readonly,
|
|
6108
6122
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
6109
6123
|
children: [
|
|
6110
|
-
/* @__PURE__ */
|
|
6111
|
-
/* @__PURE__ */
|
|
6112
|
-
/* @__PURE__ */
|
|
6124
|
+
/* @__PURE__ */ jsx67(InputPrefix, { children: prefix }),
|
|
6125
|
+
/* @__PURE__ */ jsx67(InputInnerInput, { placeholder, value }),
|
|
6126
|
+
/* @__PURE__ */ jsx67(
|
|
6113
6127
|
InputValidationIcon,
|
|
6114
6128
|
{
|
|
6115
6129
|
valid,
|
|
@@ -6118,14 +6132,14 @@ var Textbox = (props) => {
|
|
|
6118
6132
|
disabled
|
|
6119
6133
|
}
|
|
6120
6134
|
),
|
|
6121
|
-
/* @__PURE__ */
|
|
6135
|
+
/* @__PURE__ */ jsx67(
|
|
6122
6136
|
InputLoadingIcon,
|
|
6123
6137
|
{
|
|
6124
6138
|
loading,
|
|
6125
6139
|
disabled
|
|
6126
6140
|
}
|
|
6127
6141
|
),
|
|
6128
|
-
showClearButton && /* @__PURE__ */
|
|
6142
|
+
showClearButton && /* @__PURE__ */ jsx67(
|
|
6129
6143
|
InputClearValue,
|
|
6130
6144
|
{
|
|
6131
6145
|
loading,
|
|
@@ -6134,7 +6148,7 @@ var Textbox = (props) => {
|
|
|
6134
6148
|
value
|
|
6135
6149
|
}
|
|
6136
6150
|
),
|
|
6137
|
-
/* @__PURE__ */
|
|
6151
|
+
/* @__PURE__ */ jsx67(InputSuffix, { children: suffix })
|
|
6138
6152
|
]
|
|
6139
6153
|
}
|
|
6140
6154
|
);
|
|
@@ -6145,16 +6159,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
6145
6159
|
Textbox.defaultProps = defaultProps28;
|
|
6146
6160
|
|
|
6147
6161
|
// src/textbox/templates/textbox-normal.tsx
|
|
6148
|
-
import { jsx as
|
|
6162
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6149
6163
|
|
|
6150
6164
|
// src/textbox/templates/textbox-prefix.tsx
|
|
6151
|
-
import { Fragment as
|
|
6165
|
+
import { Fragment as Fragment19, jsx as jsx69, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6152
6166
|
|
|
6153
6167
|
// src/textbox/templates/textbox-suffix.tsx
|
|
6154
|
-
import { Fragment as
|
|
6168
|
+
import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6155
6169
|
|
|
6156
6170
|
// src/colorgradient/color-input.tsx
|
|
6157
|
-
import { Fragment as
|
|
6171
|
+
import { Fragment as Fragment21, jsx as jsx71, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6158
6172
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6159
6173
|
var states33 = [];
|
|
6160
6174
|
var options32 = {};
|
|
@@ -6166,74 +6180,74 @@ var ColorInput = (props) => {
|
|
|
6166
6180
|
mode = defaultProps29.mode
|
|
6167
6181
|
} = props;
|
|
6168
6182
|
return /* @__PURE__ */ jsxs33("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6169
|
-
/* @__PURE__ */
|
|
6170
|
-
mode === "rgba" && /* @__PURE__ */ jsxs33(
|
|
6183
|
+
/* @__PURE__ */ jsx71("div", { className: "k-vstack", children: /* @__PURE__ */ jsx71(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6184
|
+
mode === "rgba" && /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6171
6185
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6172
|
-
/* @__PURE__ */
|
|
6173
|
-
/* @__PURE__ */
|
|
6186
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6187
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6174
6188
|
] }),
|
|
6175
6189
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6176
|
-
/* @__PURE__ */
|
|
6177
|
-
/* @__PURE__ */
|
|
6190
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6191
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6178
6192
|
] }),
|
|
6179
6193
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6180
|
-
/* @__PURE__ */
|
|
6181
|
-
/* @__PURE__ */
|
|
6194
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6195
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6182
6196
|
] }),
|
|
6183
6197
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6184
|
-
/* @__PURE__ */
|
|
6185
|
-
/* @__PURE__ */
|
|
6198
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6199
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6186
6200
|
] })
|
|
6187
6201
|
] }),
|
|
6188
|
-
mode === "rgb" && /* @__PURE__ */ jsxs33(
|
|
6202
|
+
mode === "rgb" && /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6189
6203
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6190
|
-
/* @__PURE__ */
|
|
6191
|
-
/* @__PURE__ */
|
|
6204
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6205
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6192
6206
|
] }),
|
|
6193
6207
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6194
|
-
/* @__PURE__ */
|
|
6195
|
-
/* @__PURE__ */
|
|
6208
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6209
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6196
6210
|
] }),
|
|
6197
6211
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6198
|
-
/* @__PURE__ */
|
|
6199
|
-
/* @__PURE__ */
|
|
6212
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6213
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6200
6214
|
] })
|
|
6201
6215
|
] }),
|
|
6202
|
-
mode === "hsva" && /* @__PURE__ */ jsxs33(
|
|
6216
|
+
mode === "hsva" && /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6203
6217
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6204
|
-
/* @__PURE__ */
|
|
6205
|
-
/* @__PURE__ */
|
|
6218
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6219
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6206
6220
|
] }),
|
|
6207
6221
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6208
|
-
/* @__PURE__ */
|
|
6209
|
-
/* @__PURE__ */
|
|
6222
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6223
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6210
6224
|
] }),
|
|
6211
6225
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6212
|
-
/* @__PURE__ */
|
|
6213
|
-
/* @__PURE__ */
|
|
6226
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6227
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6214
6228
|
] }),
|
|
6215
6229
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6216
|
-
/* @__PURE__ */
|
|
6217
|
-
/* @__PURE__ */
|
|
6230
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6231
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6218
6232
|
] })
|
|
6219
6233
|
] }),
|
|
6220
|
-
mode === "hsv" && /* @__PURE__ */ jsxs33(
|
|
6234
|
+
mode === "hsv" && /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6221
6235
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6222
|
-
/* @__PURE__ */
|
|
6223
|
-
/* @__PURE__ */
|
|
6236
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6237
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6224
6238
|
] }),
|
|
6225
6239
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6226
|
-
/* @__PURE__ */
|
|
6227
|
-
/* @__PURE__ */
|
|
6240
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6241
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6228
6242
|
] }),
|
|
6229
6243
|
/* @__PURE__ */ jsxs33("div", { className: "k-vstack", children: [
|
|
6230
|
-
/* @__PURE__ */
|
|
6231
|
-
/* @__PURE__ */
|
|
6244
|
+
/* @__PURE__ */ jsx71(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6245
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6232
6246
|
] })
|
|
6233
6247
|
] }),
|
|
6234
|
-
mode === "hex" && /* @__PURE__ */
|
|
6235
|
-
/* @__PURE__ */
|
|
6236
|
-
/* @__PURE__ */
|
|
6248
|
+
mode === "hex" && /* @__PURE__ */ jsx71(Fragment21, { children: /* @__PURE__ */ jsxs33("div", { className: "k-vstack k-flex-1", children: [
|
|
6249
|
+
/* @__PURE__ */ jsx71(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6250
|
+
/* @__PURE__ */ jsx71("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6237
6251
|
] }) })
|
|
6238
6252
|
] });
|
|
6239
6253
|
};
|
|
@@ -6243,31 +6257,31 @@ ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
|
6243
6257
|
ColorInput.defaultProps = defaultProps29;
|
|
6244
6258
|
|
|
6245
6259
|
// src/colorgradient/color-contrast.tsx
|
|
6246
|
-
import { jsx as
|
|
6260
|
+
import { jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6247
6261
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6248
6262
|
var states34 = [];
|
|
6249
6263
|
var options33 = {};
|
|
6250
6264
|
var defaultProps30 = {};
|
|
6251
6265
|
var ColorContrast = () => /* @__PURE__ */ jsxs34("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6252
6266
|
/* @__PURE__ */ jsxs34("div", { className: "k-contrast-ratio", children: [
|
|
6253
|
-
/* @__PURE__ */
|
|
6267
|
+
/* @__PURE__ */ jsx72("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6254
6268
|
/* @__PURE__ */ jsxs34("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6255
|
-
/* @__PURE__ */
|
|
6256
|
-
/* @__PURE__ */
|
|
6269
|
+
/* @__PURE__ */ jsx72(Icon, { icon: "check" }),
|
|
6270
|
+
/* @__PURE__ */ jsx72(Icon, { icon: "check" })
|
|
6257
6271
|
] })
|
|
6258
6272
|
] }),
|
|
6259
6273
|
/* @__PURE__ */ jsxs34("div", { children: [
|
|
6260
|
-
/* @__PURE__ */
|
|
6274
|
+
/* @__PURE__ */ jsx72("span", { children: "AA: 4.5" }),
|
|
6261
6275
|
/* @__PURE__ */ jsxs34("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6262
6276
|
"Pass",
|
|
6263
|
-
/* @__PURE__ */
|
|
6277
|
+
/* @__PURE__ */ jsx72(Icon, { icon: "check" })
|
|
6264
6278
|
] })
|
|
6265
6279
|
] }),
|
|
6266
6280
|
/* @__PURE__ */ jsxs34("div", { children: [
|
|
6267
|
-
/* @__PURE__ */
|
|
6281
|
+
/* @__PURE__ */ jsx72("span", { children: "AAA: 7.0" }),
|
|
6268
6282
|
/* @__PURE__ */ jsxs34("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6269
6283
|
"Fail",
|
|
6270
|
-
/* @__PURE__ */
|
|
6284
|
+
/* @__PURE__ */ jsx72(Icon, { icon: "x" })
|
|
6271
6285
|
] })
|
|
6272
6286
|
] })
|
|
6273
6287
|
] });
|
|
@@ -6277,7 +6291,7 @@ ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
|
6277
6291
|
ColorContrast.defaultProps = defaultProps30;
|
|
6278
6292
|
|
|
6279
6293
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6280
|
-
import { jsx as
|
|
6294
|
+
import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6281
6295
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6282
6296
|
var states35 = [
|
|
6283
6297
|
States.hover,
|
|
@@ -6321,7 +6335,7 @@ var ColorGradient = (props) => {
|
|
|
6321
6335
|
})
|
|
6322
6336
|
), dir, children: [
|
|
6323
6337
|
/* @__PURE__ */ jsxs35("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6324
|
-
/* @__PURE__ */
|
|
6338
|
+
/* @__PURE__ */ jsx73("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx73("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx73("div", { className: classNames(
|
|
6325
6339
|
"k-hsv-draghandle",
|
|
6326
6340
|
"k-draghandle",
|
|
6327
6341
|
{
|
|
@@ -6330,12 +6344,12 @@ var ColorGradient = (props) => {
|
|
|
6330
6344
|
}
|
|
6331
6345
|
), style: dragHandleStyle }) }) }),
|
|
6332
6346
|
/* @__PURE__ */ jsxs35("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6333
|
-
/* @__PURE__ */
|
|
6334
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
6347
|
+
/* @__PURE__ */ jsx73(Slider, { type: "gradient", orientation: "vertical", className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6348
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx73(Slider, { type: "gradient", orientation: "vertical", className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6335
6349
|
] })
|
|
6336
6350
|
] }),
|
|
6337
|
-
/* @__PURE__ */
|
|
6338
|
-
contrast && /* @__PURE__ */
|
|
6351
|
+
/* @__PURE__ */ jsx73(ColorInput, { mode: props.mode }),
|
|
6352
|
+
contrast && /* @__PURE__ */ jsx73(ColorContrast, {})
|
|
6339
6353
|
] });
|
|
6340
6354
|
};
|
|
6341
6355
|
ColorGradient.states = states35;
|
|
@@ -6344,17 +6358,17 @@ ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
|
6344
6358
|
ColorGradient.defaultProps = defaultProps31;
|
|
6345
6359
|
|
|
6346
6360
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6347
|
-
import { jsx as
|
|
6361
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6348
6362
|
|
|
6349
6363
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6350
|
-
import { jsx as
|
|
6364
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6351
6365
|
|
|
6352
6366
|
// src/colorpalette/colorpalette-row.tsx
|
|
6353
|
-
import { jsx as
|
|
6354
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
6367
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6368
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx76("tr", { children: props.children });
|
|
6355
6369
|
|
|
6356
6370
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6357
|
-
import { jsx as
|
|
6371
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6358
6372
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6359
6373
|
var states36 = [
|
|
6360
6374
|
States.hover,
|
|
@@ -6376,7 +6390,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6376
6390
|
"width": tileSize ? tileSize + "px" : "",
|
|
6377
6391
|
"height": tileSize ? tileSize + "px" : ""
|
|
6378
6392
|
};
|
|
6379
|
-
return /* @__PURE__ */
|
|
6393
|
+
return /* @__PURE__ */ jsx77(
|
|
6380
6394
|
"td",
|
|
6381
6395
|
{
|
|
6382
6396
|
...other,
|
|
@@ -6398,7 +6412,7 @@ ColorPaletteTile.options = options35;
|
|
|
6398
6412
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6399
6413
|
|
|
6400
6414
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6401
|
-
import { jsx as
|
|
6415
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6402
6416
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6403
6417
|
var states37 = [
|
|
6404
6418
|
States.disabled
|
|
@@ -6423,14 +6437,14 @@ var ColorPalette = (props) => {
|
|
|
6423
6437
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6424
6438
|
const items = [];
|
|
6425
6439
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6426
|
-
items.push(/* @__PURE__ */
|
|
6440
|
+
items.push(/* @__PURE__ */ jsx78(ColorPaletteTile, { color, tileSize }));
|
|
6427
6441
|
});
|
|
6428
|
-
const row = /* @__PURE__ */
|
|
6442
|
+
const row = /* @__PURE__ */ jsx78(ColorPaletteRow, { children: items });
|
|
6429
6443
|
newChildren.push(row);
|
|
6430
6444
|
});
|
|
6431
6445
|
}
|
|
6432
6446
|
}
|
|
6433
|
-
return /* @__PURE__ */
|
|
6447
|
+
return /* @__PURE__ */ jsx78(
|
|
6434
6448
|
"div",
|
|
6435
6449
|
{
|
|
6436
6450
|
...other,
|
|
@@ -6441,7 +6455,7 @@ var ColorPalette = (props) => {
|
|
|
6441
6455
|
disabled
|
|
6442
6456
|
})
|
|
6443
6457
|
),
|
|
6444
|
-
children: /* @__PURE__ */
|
|
6458
|
+
children: /* @__PURE__ */ jsx78("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6445
6459
|
}
|
|
6446
6460
|
);
|
|
6447
6461
|
};
|
|
@@ -6451,7 +6465,7 @@ ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
|
6451
6465
|
ColorPalette.defaultProps = defaultProps32;
|
|
6452
6466
|
|
|
6453
6467
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6454
|
-
import { jsx as
|
|
6468
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
6455
6469
|
|
|
6456
6470
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6457
6471
|
var PALETTEPRESETS = {
|
|
@@ -6506,7 +6520,7 @@ var PALETTEPRESETS = {
|
|
|
6506
6520
|
};
|
|
6507
6521
|
|
|
6508
6522
|
// src/coloreditor/color-editor.spec.tsx
|
|
6509
|
-
import { jsx as
|
|
6523
|
+
import { jsx as jsx80, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6510
6524
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6511
6525
|
var states38 = [
|
|
6512
6526
|
States.focus
|
|
@@ -6535,23 +6549,23 @@ var ColorEditor = (props) => {
|
|
|
6535
6549
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6536
6550
|
), dir, children: [
|
|
6537
6551
|
/* @__PURE__ */ jsxs36("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6538
|
-
/* @__PURE__ */
|
|
6539
|
-
/* @__PURE__ */
|
|
6540
|
-
/* @__PURE__ */
|
|
6552
|
+
/* @__PURE__ */ jsx80("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs36(ButtonGroup, { children: [
|
|
6553
|
+
/* @__PURE__ */ jsx80(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6554
|
+
/* @__PURE__ */ jsx80(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6541
6555
|
] }) }),
|
|
6542
|
-
/* @__PURE__ */
|
|
6556
|
+
/* @__PURE__ */ jsx80("div", { className: "k-spacer" }),
|
|
6543
6557
|
/* @__PURE__ */ jsxs36("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6544
|
-
/* @__PURE__ */
|
|
6558
|
+
/* @__PURE__ */ jsx80(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6545
6559
|
/* @__PURE__ */ jsxs36("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6546
|
-
/* @__PURE__ */
|
|
6547
|
-
/* @__PURE__ */
|
|
6560
|
+
/* @__PURE__ */ jsx80(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6561
|
+
/* @__PURE__ */ jsx80(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6548
6562
|
] })
|
|
6549
6563
|
] })
|
|
6550
6564
|
] }),
|
|
6551
|
-
/* @__PURE__ */
|
|
6565
|
+
/* @__PURE__ */ jsx80("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx80(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx80(ColorPalette, { palette }) }),
|
|
6552
6566
|
/* @__PURE__ */ jsxs36(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6553
|
-
/* @__PURE__ */
|
|
6554
|
-
/* @__PURE__ */
|
|
6567
|
+
/* @__PURE__ */ jsx80(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6568
|
+
/* @__PURE__ */ jsx80(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6555
6569
|
] })
|
|
6556
6570
|
] });
|
|
6557
6571
|
};
|
|
@@ -6561,25 +6575,25 @@ ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
|
6561
6575
|
ColorEditor.defaultProps = defaultProps33;
|
|
6562
6576
|
|
|
6563
6577
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6564
|
-
import { jsx as
|
|
6578
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6565
6579
|
|
|
6566
6580
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6567
|
-
import { jsx as
|
|
6581
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6568
6582
|
|
|
6569
6583
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6570
|
-
import { jsx as
|
|
6584
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
6571
6585
|
|
|
6572
6586
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6573
|
-
import { jsx as
|
|
6587
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
6574
6588
|
|
|
6575
6589
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6576
|
-
import { jsx as
|
|
6590
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6577
6591
|
|
|
6578
6592
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6579
|
-
import { jsx as
|
|
6593
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6580
6594
|
|
|
6581
6595
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6582
|
-
import { Fragment as
|
|
6596
|
+
import { Fragment as Fragment22, jsx as jsx87, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6583
6597
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6584
6598
|
var states39 = [];
|
|
6585
6599
|
var options38 = {};
|
|
@@ -6602,8 +6616,8 @@ var ActionSheet = (props) => {
|
|
|
6602
6616
|
overlay = defaultProps34.overlay,
|
|
6603
6617
|
...other
|
|
6604
6618
|
} = props;
|
|
6605
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6606
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6619
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx87(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6620
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx87(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx87(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6607
6621
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6608
6622
|
switch (child.type) {
|
|
6609
6623
|
case ActionSheetHeader:
|
|
@@ -6613,10 +6627,10 @@ var ActionSheet = (props) => {
|
|
|
6613
6627
|
return true;
|
|
6614
6628
|
}
|
|
6615
6629
|
return true;
|
|
6616
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6630
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx87(Fragment22, {});
|
|
6617
6631
|
return /* @__PURE__ */ jsxs37("div", { className: "k-actionsheet-container", children: [
|
|
6618
|
-
overlay && /* @__PURE__ */
|
|
6619
|
-
/* @__PURE__ */
|
|
6632
|
+
overlay && /* @__PURE__ */ jsx87("div", { className: "k-overlay" }),
|
|
6633
|
+
/* @__PURE__ */ jsx87(
|
|
6620
6634
|
AnimationContainer,
|
|
6621
6635
|
{
|
|
6622
6636
|
animationStyle: {
|
|
@@ -6626,7 +6640,7 @@ var ActionSheet = (props) => {
|
|
|
6626
6640
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6627
6641
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6628
6642
|
},
|
|
6629
|
-
children: /* @__PURE__ */
|
|
6643
|
+
children: /* @__PURE__ */ jsx87(
|
|
6630
6644
|
"div",
|
|
6631
6645
|
{
|
|
6632
6646
|
...other,
|
|
@@ -6639,9 +6653,9 @@ var ActionSheet = (props) => {
|
|
|
6639
6653
|
"k-adaptive-actionsheet": adaptive
|
|
6640
6654
|
}
|
|
6641
6655
|
),
|
|
6642
|
-
children: /* @__PURE__ */ jsxs37(
|
|
6656
|
+
children: /* @__PURE__ */ jsxs37(Fragment22, { children: [
|
|
6643
6657
|
_ActionSheetHeader,
|
|
6644
|
-
/* @__PURE__ */
|
|
6658
|
+
/* @__PURE__ */ jsx87("div", { className: classNames(
|
|
6645
6659
|
"k-actionsheet-content",
|
|
6646
6660
|
{
|
|
6647
6661
|
"!k-overflow-hidden": adaptive
|
|
@@ -6661,7 +6675,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
6661
6675
|
ActionSheet.defaultProps = defaultProps34;
|
|
6662
6676
|
|
|
6663
6677
|
// src/action-sheet/actionsheet-header.tsx
|
|
6664
|
-
import { Fragment as
|
|
6678
|
+
import { Fragment as Fragment23, jsx as jsx88, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6665
6679
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6666
6680
|
var ActionSheetHeader = (props) => {
|
|
6667
6681
|
const {
|
|
@@ -6671,7 +6685,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6671
6685
|
filter,
|
|
6672
6686
|
...other
|
|
6673
6687
|
} = props;
|
|
6674
|
-
return /* @__PURE__ */
|
|
6688
|
+
return /* @__PURE__ */ jsx88(
|
|
6675
6689
|
"div",
|
|
6676
6690
|
{
|
|
6677
6691
|
...other,
|
|
@@ -6679,30 +6693,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6679
6693
|
props.className,
|
|
6680
6694
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6681
6695
|
),
|
|
6682
|
-
children: /* @__PURE__ */ jsxs38(
|
|
6696
|
+
children: /* @__PURE__ */ jsxs38(Fragment23, { children: [
|
|
6683
6697
|
/* @__PURE__ */ jsxs38("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6684
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6685
|
-
title !== "" && /* @__PURE__ */
|
|
6686
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6698
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx88(Fragment23, { children: /* @__PURE__ */ jsxs38("div", { className: "k-actionsheet-title", children: [
|
|
6699
|
+
title !== "" && /* @__PURE__ */ jsx88("div", { className: "k-text-center", children: title }),
|
|
6700
|
+
subTitle !== "" && /* @__PURE__ */ jsx88("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6687
6701
|
] }) }),
|
|
6688
|
-
props.children && /* @__PURE__ */
|
|
6689
|
-
actions && /* @__PURE__ */
|
|
6702
|
+
props.children && /* @__PURE__ */ jsx88("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6703
|
+
actions && /* @__PURE__ */ jsx88(Fragment23, { children: /* @__PURE__ */ jsx88("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx88(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6690
6704
|
] }),
|
|
6691
|
-
filter && /* @__PURE__ */
|
|
6705
|
+
filter && /* @__PURE__ */ jsx88(Fragment23, { children: /* @__PURE__ */ jsx88("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx88(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6692
6706
|
] })
|
|
6693
6707
|
}
|
|
6694
6708
|
);
|
|
6695
6709
|
};
|
|
6696
6710
|
|
|
6697
6711
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6698
|
-
import { Fragment as
|
|
6712
|
+
import { Fragment as Fragment24, jsx as jsx89, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6699
6713
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6700
6714
|
var ActionSheetFooter = (props) => {
|
|
6701
6715
|
const {
|
|
6702
6716
|
actions,
|
|
6703
6717
|
...other
|
|
6704
6718
|
} = props;
|
|
6705
|
-
return /* @__PURE__ */
|
|
6719
|
+
return /* @__PURE__ */ jsx89(
|
|
6706
6720
|
action_buttons_spec_default,
|
|
6707
6721
|
{
|
|
6708
6722
|
...other,
|
|
@@ -6711,17 +6725,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6711
6725
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6712
6726
|
),
|
|
6713
6727
|
alignment: "stretched",
|
|
6714
|
-
children: /* @__PURE__ */ jsxs39(
|
|
6728
|
+
children: /* @__PURE__ */ jsxs39(Fragment24, { children: [
|
|
6715
6729
|
actions && actions.map((action, index) => {
|
|
6716
6730
|
if (action === "|") {
|
|
6717
|
-
return /* @__PURE__ */
|
|
6731
|
+
return /* @__PURE__ */ jsx89("span", { className: "k-separator" }, index);
|
|
6718
6732
|
}
|
|
6719
6733
|
if (action === " ") {
|
|
6720
|
-
return /* @__PURE__ */
|
|
6734
|
+
return /* @__PURE__ */ jsx89("span", { className: "k-spacer" }, index);
|
|
6721
6735
|
}
|
|
6722
6736
|
const importantFlag = action.startsWith("!");
|
|
6723
6737
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6724
|
-
return /* @__PURE__ */
|
|
6738
|
+
return /* @__PURE__ */ jsx89(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6725
6739
|
}),
|
|
6726
6740
|
!actions && props.children
|
|
6727
6741
|
] })
|
|
@@ -6730,12 +6744,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6730
6744
|
};
|
|
6731
6745
|
|
|
6732
6746
|
// src/action-sheet/actionsheet-items.tsx
|
|
6733
|
-
import { jsx as
|
|
6747
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6734
6748
|
var ActionSheetItems = (props) => {
|
|
6735
6749
|
const {
|
|
6736
6750
|
...other
|
|
6737
6751
|
} = props;
|
|
6738
|
-
return /* @__PURE__ */
|
|
6752
|
+
return /* @__PURE__ */ jsx90(
|
|
6739
6753
|
"div",
|
|
6740
6754
|
{
|
|
6741
6755
|
...other,
|
|
@@ -6749,7 +6763,7 @@ var ActionSheetItems = (props) => {
|
|
|
6749
6763
|
};
|
|
6750
6764
|
|
|
6751
6765
|
// src/action-sheet/actionsheet-item.tsx
|
|
6752
|
-
import { Fragment as
|
|
6766
|
+
import { Fragment as Fragment25, jsx as jsx91, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6753
6767
|
var states40 = [
|
|
6754
6768
|
States.hover,
|
|
6755
6769
|
States.focus,
|
|
@@ -6758,7 +6772,7 @@ var states40 = [
|
|
|
6758
6772
|
];
|
|
6759
6773
|
|
|
6760
6774
|
// src/combobox/combobox.spec.tsx
|
|
6761
|
-
import { Fragment as
|
|
6775
|
+
import { Fragment as Fragment26, jsx as jsx92, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6762
6776
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6763
6777
|
var states41 = [
|
|
6764
6778
|
States.hover,
|
|
@@ -6803,7 +6817,7 @@ var Combobox = (props) => {
|
|
|
6803
6817
|
adaptiveSettings,
|
|
6804
6818
|
...other
|
|
6805
6819
|
} = props;
|
|
6806
|
-
return /* @__PURE__ */ jsxs41(
|
|
6820
|
+
return /* @__PURE__ */ jsxs41(Fragment26, { children: [
|
|
6807
6821
|
/* @__PURE__ */ jsxs41(
|
|
6808
6822
|
Input,
|
|
6809
6823
|
{
|
|
@@ -6821,9 +6835,9 @@ var Combobox = (props) => {
|
|
|
6821
6835
|
readonly,
|
|
6822
6836
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6823
6837
|
children: [
|
|
6824
|
-
/* @__PURE__ */
|
|
6825
|
-
/* @__PURE__ */
|
|
6826
|
-
/* @__PURE__ */
|
|
6838
|
+
/* @__PURE__ */ jsx92(InputPrefix, { children: prefix }),
|
|
6839
|
+
/* @__PURE__ */ jsx92(InputInnerInput, { placeholder, value }),
|
|
6840
|
+
/* @__PURE__ */ jsx92(
|
|
6827
6841
|
InputValidationIcon,
|
|
6828
6842
|
{
|
|
6829
6843
|
valid,
|
|
@@ -6832,14 +6846,14 @@ var Combobox = (props) => {
|
|
|
6832
6846
|
disabled
|
|
6833
6847
|
}
|
|
6834
6848
|
),
|
|
6835
|
-
/* @__PURE__ */
|
|
6849
|
+
/* @__PURE__ */ jsx92(
|
|
6836
6850
|
InputLoadingIcon,
|
|
6837
6851
|
{
|
|
6838
6852
|
loading,
|
|
6839
6853
|
disabled
|
|
6840
6854
|
}
|
|
6841
6855
|
),
|
|
6842
|
-
/* @__PURE__ */
|
|
6856
|
+
/* @__PURE__ */ jsx92(
|
|
6843
6857
|
InputClearValue,
|
|
6844
6858
|
{
|
|
6845
6859
|
loading,
|
|
@@ -6848,8 +6862,8 @@ var Combobox = (props) => {
|
|
|
6848
6862
|
value
|
|
6849
6863
|
}
|
|
6850
6864
|
),
|
|
6851
|
-
/* @__PURE__ */
|
|
6852
|
-
/* @__PURE__ */
|
|
6865
|
+
/* @__PURE__ */ jsx92(InputSuffix, { children: suffix }),
|
|
6866
|
+
/* @__PURE__ */ jsx92(
|
|
6853
6867
|
Button,
|
|
6854
6868
|
{
|
|
6855
6869
|
className: "k-input-button",
|
|
@@ -6862,9 +6876,9 @@ var Combobox = (props) => {
|
|
|
6862
6876
|
]
|
|
6863
6877
|
}
|
|
6864
6878
|
),
|
|
6865
|
-
opened && popup && /* @__PURE__ */
|
|
6879
|
+
opened && popup && /* @__PURE__ */ jsx92(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6866
6880
|
adaptive && /* @__PURE__ */ jsxs41(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6867
|
-
/* @__PURE__ */
|
|
6881
|
+
/* @__PURE__ */ jsx92(
|
|
6868
6882
|
ActionSheetHeader,
|
|
6869
6883
|
{
|
|
6870
6884
|
actions: ["x"],
|
|
@@ -6872,10 +6886,10 @@ var Combobox = (props) => {
|
|
|
6872
6886
|
title: "Select Item"
|
|
6873
6887
|
}
|
|
6874
6888
|
),
|
|
6875
|
-
/* @__PURE__ */
|
|
6876
|
-
/* @__PURE__ */
|
|
6877
|
-
/* @__PURE__ */
|
|
6878
|
-
/* @__PURE__ */
|
|
6889
|
+
/* @__PURE__ */ jsx92("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs41(List, { size: "large", children: [
|
|
6890
|
+
/* @__PURE__ */ jsx92(ListItem, { text: "List item" }),
|
|
6891
|
+
/* @__PURE__ */ jsx92(ListItem, { text: "List item" }),
|
|
6892
|
+
/* @__PURE__ */ jsx92(ListItem, { text: "List item" })
|
|
6879
6893
|
] }) })
|
|
6880
6894
|
] })
|
|
6881
6895
|
] });
|
|
@@ -6886,19 +6900,19 @@ Combobox.className = COMBOBOX_CLASSNAME;
|
|
|
6886
6900
|
Combobox.defaultProps = defaultProps35;
|
|
6887
6901
|
|
|
6888
6902
|
// src/combobox/templates/combobox-normal.tsx
|
|
6889
|
-
import { jsx as
|
|
6903
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6890
6904
|
|
|
6891
6905
|
// src/combobox/templates/combobox-popup.tsx
|
|
6892
|
-
import { jsx as
|
|
6906
|
+
import { jsx as jsx94, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6893
6907
|
|
|
6894
6908
|
// src/combobox/templates/combobox-grouping.tsx
|
|
6895
|
-
import { jsx as
|
|
6909
|
+
import { jsx as jsx95, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6896
6910
|
|
|
6897
6911
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
6898
|
-
import { jsx as
|
|
6912
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6899
6913
|
|
|
6900
6914
|
// src/menu-button/menu-button.spec.tsx
|
|
6901
|
-
import { Fragment as
|
|
6915
|
+
import { Fragment as Fragment27, jsx as jsx97, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6902
6916
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
6903
6917
|
var states42 = [
|
|
6904
6918
|
States.hover,
|
|
@@ -6952,8 +6966,8 @@ var MenuButton = (props) => {
|
|
|
6952
6966
|
opened,
|
|
6953
6967
|
...other
|
|
6954
6968
|
} = props;
|
|
6955
|
-
return /* @__PURE__ */ jsxs44(
|
|
6956
|
-
/* @__PURE__ */
|
|
6969
|
+
return /* @__PURE__ */ jsxs44(Fragment27, { children: [
|
|
6970
|
+
/* @__PURE__ */ jsx97(
|
|
6957
6971
|
Button,
|
|
6958
6972
|
{
|
|
6959
6973
|
...other,
|
|
@@ -6976,7 +6990,7 @@ var MenuButton = (props) => {
|
|
|
6976
6990
|
arrowIconName
|
|
6977
6991
|
}
|
|
6978
6992
|
),
|
|
6979
|
-
opened && popup && /* @__PURE__ */
|
|
6993
|
+
opened && popup && /* @__PURE__ */ jsx97(Popup, { className: "k-menu-popup", children: popup })
|
|
6980
6994
|
] });
|
|
6981
6995
|
};
|
|
6982
6996
|
MenuButton.states = states42;
|
|
@@ -6985,16 +6999,16 @@ MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
|
6985
6999
|
MenuButton.defaultProps = defaultProps36;
|
|
6986
7000
|
|
|
6987
7001
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
6988
|
-
import { jsx as
|
|
7002
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
6989
7003
|
|
|
6990
7004
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
6991
|
-
import { jsx as
|
|
7005
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
6992
7006
|
|
|
6993
7007
|
// src/menu-button/templates/text-menu-button.tsx
|
|
6994
|
-
import { jsx as
|
|
7008
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
6995
7009
|
|
|
6996
7010
|
// src/menu/menu-item.spec.tsx
|
|
6997
|
-
import { Fragment as
|
|
7011
|
+
import { Fragment as Fragment28, jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6998
7012
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
6999
7013
|
var states43 = [
|
|
7000
7014
|
States.hover,
|
|
@@ -7022,7 +7036,7 @@ var MenuItem = (props) => {
|
|
|
7022
7036
|
children,
|
|
7023
7037
|
...other
|
|
7024
7038
|
} = props;
|
|
7025
|
-
const contentTemplate = /* @__PURE__ */
|
|
7039
|
+
const contentTemplate = /* @__PURE__ */ jsx101(Fragment28, {});
|
|
7026
7040
|
if (children) {
|
|
7027
7041
|
children.forEach((child) => {
|
|
7028
7042
|
const component = child.type;
|
|
@@ -7064,9 +7078,9 @@ var MenuItem = (props) => {
|
|
|
7064
7078
|
})
|
|
7065
7079
|
),
|
|
7066
7080
|
children: [
|
|
7067
|
-
icon && /* @__PURE__ */
|
|
7068
|
-
/* @__PURE__ */
|
|
7069
|
-
showArrow && /* @__PURE__ */
|
|
7081
|
+
icon && /* @__PURE__ */ jsx101(Icon, { className: "k-menu-link-icon", icon }),
|
|
7082
|
+
/* @__PURE__ */ jsx101("span", { className: "k-menu-link-text", children: text }),
|
|
7083
|
+
showArrow && /* @__PURE__ */ jsx101("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx101(Icon, { icon: expandArrowName }) })
|
|
7070
7084
|
]
|
|
7071
7085
|
}
|
|
7072
7086
|
),
|
|
@@ -7082,7 +7096,7 @@ MenuItem.defaultProps = defaultProps37;
|
|
|
7082
7096
|
var menu_item_spec_default = MenuItem;
|
|
7083
7097
|
|
|
7084
7098
|
// src/menu/menu-separator.spec.tsx
|
|
7085
|
-
import { jsx as
|
|
7099
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
7086
7100
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7087
7101
|
var defaultProps38 = {
|
|
7088
7102
|
orientation: "horizontal"
|
|
@@ -7092,7 +7106,7 @@ var MenuSeparator = (props) => {
|
|
|
7092
7106
|
orientation = defaultProps38.orientation,
|
|
7093
7107
|
...other
|
|
7094
7108
|
} = props;
|
|
7095
|
-
return /* @__PURE__ */
|
|
7109
|
+
return /* @__PURE__ */ jsx102(
|
|
7096
7110
|
"li",
|
|
7097
7111
|
{
|
|
7098
7112
|
...other,
|
|
@@ -7110,10 +7124,10 @@ var MenuSeparator = (props) => {
|
|
|
7110
7124
|
var menu_separator_spec_default = MenuSeparator;
|
|
7111
7125
|
|
|
7112
7126
|
// src/menu/menu-item-content.tsx
|
|
7113
|
-
import { Fragment as
|
|
7127
|
+
import { Fragment as Fragment29, jsx as jsx103 } from "react/jsx-runtime";
|
|
7114
7128
|
|
|
7115
7129
|
// src/menu/menu-list.spec.tsx
|
|
7116
|
-
import { jsx as
|
|
7130
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
7117
7131
|
import { createElement } from "react";
|
|
7118
7132
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7119
7133
|
var states44 = [];
|
|
@@ -7141,7 +7155,7 @@ var MenuList = (props) => {
|
|
|
7141
7155
|
);
|
|
7142
7156
|
} else if (child.type === menu_separator_spec_default) {
|
|
7143
7157
|
listChildren.push(
|
|
7144
|
-
/* @__PURE__ */
|
|
7158
|
+
/* @__PURE__ */ jsx104(menu_separator_spec_default, {})
|
|
7145
7159
|
);
|
|
7146
7160
|
} else {
|
|
7147
7161
|
listChildren.push(child);
|
|
@@ -7149,7 +7163,7 @@ var MenuList = (props) => {
|
|
|
7149
7163
|
});
|
|
7150
7164
|
}
|
|
7151
7165
|
}
|
|
7152
|
-
return /* @__PURE__ */
|
|
7166
|
+
return /* @__PURE__ */ jsx104(
|
|
7153
7167
|
"ul",
|
|
7154
7168
|
{
|
|
7155
7169
|
...other,
|
|
@@ -7170,10 +7184,10 @@ MenuList.className = MENULIST_CLASSNAME;
|
|
|
7170
7184
|
MenuList.defaultProps = defaultProps39;
|
|
7171
7185
|
|
|
7172
7186
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7173
|
-
import { jsx as
|
|
7187
|
+
import { jsx as jsx105, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7174
7188
|
|
|
7175
7189
|
// src/split-button/split-button.spec.tsx
|
|
7176
|
-
import { Fragment as
|
|
7190
|
+
import { Fragment as Fragment30, jsx as jsx106, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7177
7191
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7178
7192
|
var states45 = [
|
|
7179
7193
|
States.hover,
|
|
@@ -7225,7 +7239,7 @@ var SplitButton = (props) => {
|
|
|
7225
7239
|
opened,
|
|
7226
7240
|
...other
|
|
7227
7241
|
} = props;
|
|
7228
|
-
return /* @__PURE__ */ jsxs47(
|
|
7242
|
+
return /* @__PURE__ */ jsxs47(Fragment30, { children: [
|
|
7229
7243
|
/* @__PURE__ */ jsxs47(
|
|
7230
7244
|
"div",
|
|
7231
7245
|
{
|
|
@@ -7239,7 +7253,7 @@ var SplitButton = (props) => {
|
|
|
7239
7253
|
})
|
|
7240
7254
|
),
|
|
7241
7255
|
children: [
|
|
7242
|
-
/* @__PURE__ */
|
|
7256
|
+
/* @__PURE__ */ jsx106(
|
|
7243
7257
|
Button,
|
|
7244
7258
|
{
|
|
7245
7259
|
text,
|
|
@@ -7256,7 +7270,7 @@ var SplitButton = (props) => {
|
|
|
7256
7270
|
children: props.children
|
|
7257
7271
|
}
|
|
7258
7272
|
),
|
|
7259
|
-
/* @__PURE__ */
|
|
7273
|
+
/* @__PURE__ */ jsx106(
|
|
7260
7274
|
Button,
|
|
7261
7275
|
{
|
|
7262
7276
|
className: "k-split-button-arrow",
|
|
@@ -7270,7 +7284,7 @@ var SplitButton = (props) => {
|
|
|
7270
7284
|
]
|
|
7271
7285
|
}
|
|
7272
7286
|
),
|
|
7273
|
-
opened && popup && /* @__PURE__ */
|
|
7287
|
+
opened && popup && /* @__PURE__ */ jsx106(Popup, { className: "k-menu-popup", children: popup })
|
|
7274
7288
|
] });
|
|
7275
7289
|
};
|
|
7276
7290
|
SplitButton.states = states45;
|
|
@@ -7280,7 +7294,7 @@ SplitButton.defaultProps = defaultProps40;
|
|
|
7280
7294
|
var split_button_spec_default = SplitButton;
|
|
7281
7295
|
|
|
7282
7296
|
// src/toolbar/toolbar.spec.tsx
|
|
7283
|
-
import { jsx as
|
|
7297
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
7284
7298
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7285
7299
|
var states46 = [
|
|
7286
7300
|
States.focus
|
|
@@ -7303,7 +7317,7 @@ var Toolbar = (props) => {
|
|
|
7303
7317
|
const tempToolbarChildren = [];
|
|
7304
7318
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7305
7319
|
tempToolbarChildren.push(
|
|
7306
|
-
/* @__PURE__ */
|
|
7320
|
+
/* @__PURE__ */ jsx107(
|
|
7307
7321
|
Button,
|
|
7308
7322
|
{
|
|
7309
7323
|
...child.props,
|
|
@@ -7314,7 +7328,7 @@ var Toolbar = (props) => {
|
|
|
7314
7328
|
);
|
|
7315
7329
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7316
7330
|
tempToolbarChildren.push(
|
|
7317
|
-
/* @__PURE__ */
|
|
7331
|
+
/* @__PURE__ */ jsx107(
|
|
7318
7332
|
Button,
|
|
7319
7333
|
{
|
|
7320
7334
|
...child.props,
|
|
@@ -7325,7 +7339,7 @@ var Toolbar = (props) => {
|
|
|
7325
7339
|
);
|
|
7326
7340
|
} else if (child.type === Button) {
|
|
7327
7341
|
tempToolbarChildren.push(
|
|
7328
|
-
/* @__PURE__ */
|
|
7342
|
+
/* @__PURE__ */ jsx107(
|
|
7329
7343
|
Button,
|
|
7330
7344
|
{
|
|
7331
7345
|
...child.props,
|
|
@@ -7336,7 +7350,7 @@ var Toolbar = (props) => {
|
|
|
7336
7350
|
);
|
|
7337
7351
|
} else if (child.type === MenuButton) {
|
|
7338
7352
|
tempToolbarChildren.push(
|
|
7339
|
-
/* @__PURE__ */
|
|
7353
|
+
/* @__PURE__ */ jsx107(
|
|
7340
7354
|
MenuButton,
|
|
7341
7355
|
{
|
|
7342
7356
|
...child.props,
|
|
@@ -7347,7 +7361,7 @@ var Toolbar = (props) => {
|
|
|
7347
7361
|
);
|
|
7348
7362
|
} else if (child.type === split_button_spec_default) {
|
|
7349
7363
|
tempToolbarChildren.push(
|
|
7350
|
-
/* @__PURE__ */
|
|
7364
|
+
/* @__PURE__ */ jsx107(
|
|
7351
7365
|
split_button_spec_default,
|
|
7352
7366
|
{
|
|
7353
7367
|
...child.props,
|
|
@@ -7361,7 +7375,7 @@ var Toolbar = (props) => {
|
|
|
7361
7375
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7362
7376
|
childrenArray.forEach((button, bindex) => {
|
|
7363
7377
|
buttonGroupItems.push(
|
|
7364
|
-
/* @__PURE__ */
|
|
7378
|
+
/* @__PURE__ */ jsx107(
|
|
7365
7379
|
Button,
|
|
7366
7380
|
{
|
|
7367
7381
|
...button.props,
|
|
@@ -7372,7 +7386,7 @@ var Toolbar = (props) => {
|
|
|
7372
7386
|
);
|
|
7373
7387
|
});
|
|
7374
7388
|
tempToolbarChildren.push(
|
|
7375
|
-
/* @__PURE__ */
|
|
7389
|
+
/* @__PURE__ */ jsx107(
|
|
7376
7390
|
ButtonGroup,
|
|
7377
7391
|
{
|
|
7378
7392
|
...child.props,
|
|
@@ -7384,7 +7398,7 @@ var Toolbar = (props) => {
|
|
|
7384
7398
|
);
|
|
7385
7399
|
} else if (child.type === Combobox) {
|
|
7386
7400
|
tempToolbarChildren.push(
|
|
7387
|
-
/* @__PURE__ */
|
|
7401
|
+
/* @__PURE__ */ jsx107(
|
|
7388
7402
|
Combobox,
|
|
7389
7403
|
{
|
|
7390
7404
|
...child.props,
|
|
@@ -7395,7 +7409,7 @@ var Toolbar = (props) => {
|
|
|
7395
7409
|
);
|
|
7396
7410
|
} else if (child.type === DropdownList) {
|
|
7397
7411
|
tempToolbarChildren.push(
|
|
7398
|
-
/* @__PURE__ */
|
|
7412
|
+
/* @__PURE__ */ jsx107(
|
|
7399
7413
|
DropdownList,
|
|
7400
7414
|
{
|
|
7401
7415
|
...child.props,
|
|
@@ -7406,7 +7420,7 @@ var Toolbar = (props) => {
|
|
|
7406
7420
|
);
|
|
7407
7421
|
} else if (child.type === ColorPicker) {
|
|
7408
7422
|
tempToolbarChildren.push(
|
|
7409
|
-
/* @__PURE__ */
|
|
7423
|
+
/* @__PURE__ */ jsx107(
|
|
7410
7424
|
ColorPicker,
|
|
7411
7425
|
{
|
|
7412
7426
|
...child.props,
|
|
@@ -7428,7 +7442,7 @@ var Toolbar = (props) => {
|
|
|
7428
7442
|
addUniqueToolClass(child, index);
|
|
7429
7443
|
});
|
|
7430
7444
|
}
|
|
7431
|
-
return /* @__PURE__ */
|
|
7445
|
+
return /* @__PURE__ */ jsx107(
|
|
7432
7446
|
"div",
|
|
7433
7447
|
{
|
|
7434
7448
|
...other,
|
|
@@ -7455,7 +7469,7 @@ Toolbar.className = TOOLBAR_CLASSNAME;
|
|
|
7455
7469
|
Toolbar.defaultProps = defaultProps41;
|
|
7456
7470
|
|
|
7457
7471
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7458
|
-
import { jsx as
|
|
7472
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
7459
7473
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7460
7474
|
var states47 = [
|
|
7461
7475
|
States.focus
|
|
@@ -7478,7 +7492,7 @@ var ToolbarAngular = (props) => {
|
|
|
7478
7492
|
const tempToolbarChildren = [];
|
|
7479
7493
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7480
7494
|
tempToolbarChildren.push(
|
|
7481
|
-
/* @__PURE__ */
|
|
7495
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7482
7496
|
Button,
|
|
7483
7497
|
{
|
|
7484
7498
|
...child.props,
|
|
@@ -7489,7 +7503,7 @@ var ToolbarAngular = (props) => {
|
|
|
7489
7503
|
);
|
|
7490
7504
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7491
7505
|
tempToolbarChildren.push(
|
|
7492
|
-
/* @__PURE__ */
|
|
7506
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7493
7507
|
Button,
|
|
7494
7508
|
{
|
|
7495
7509
|
...child.props,
|
|
@@ -7500,7 +7514,7 @@ var ToolbarAngular = (props) => {
|
|
|
7500
7514
|
);
|
|
7501
7515
|
} else if (child.type === Button) {
|
|
7502
7516
|
tempToolbarChildren.push(
|
|
7503
|
-
/* @__PURE__ */
|
|
7517
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7504
7518
|
Button,
|
|
7505
7519
|
{
|
|
7506
7520
|
...child.props,
|
|
@@ -7511,7 +7525,7 @@ var ToolbarAngular = (props) => {
|
|
|
7511
7525
|
);
|
|
7512
7526
|
} else if (child.type === MenuButton) {
|
|
7513
7527
|
tempToolbarChildren.push(
|
|
7514
|
-
/* @__PURE__ */
|
|
7528
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7515
7529
|
MenuButton,
|
|
7516
7530
|
{
|
|
7517
7531
|
...child.props,
|
|
@@ -7522,7 +7536,7 @@ var ToolbarAngular = (props) => {
|
|
|
7522
7536
|
);
|
|
7523
7537
|
} else if (child.type === split_button_spec_default) {
|
|
7524
7538
|
tempToolbarChildren.push(
|
|
7525
|
-
/* @__PURE__ */
|
|
7539
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7526
7540
|
split_button_spec_default,
|
|
7527
7541
|
{
|
|
7528
7542
|
...child.props,
|
|
@@ -7536,7 +7550,7 @@ var ToolbarAngular = (props) => {
|
|
|
7536
7550
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7537
7551
|
childrenArray.forEach((button, bindex) => {
|
|
7538
7552
|
buttonGroupItems.push(
|
|
7539
|
-
/* @__PURE__ */
|
|
7553
|
+
/* @__PURE__ */ jsx108(
|
|
7540
7554
|
Button,
|
|
7541
7555
|
{
|
|
7542
7556
|
...button.props,
|
|
@@ -7547,7 +7561,7 @@ var ToolbarAngular = (props) => {
|
|
|
7547
7561
|
);
|
|
7548
7562
|
});
|
|
7549
7563
|
tempToolbarChildren.push(
|
|
7550
|
-
/* @__PURE__ */
|
|
7564
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7551
7565
|
ButtonGroup,
|
|
7552
7566
|
{
|
|
7553
7567
|
...child.props,
|
|
@@ -7559,7 +7573,7 @@ var ToolbarAngular = (props) => {
|
|
|
7559
7573
|
);
|
|
7560
7574
|
} else if (child.type === Combobox) {
|
|
7561
7575
|
tempToolbarChildren.push(
|
|
7562
|
-
/* @__PURE__ */
|
|
7576
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7563
7577
|
Combobox,
|
|
7564
7578
|
{
|
|
7565
7579
|
...child.props,
|
|
@@ -7570,7 +7584,7 @@ var ToolbarAngular = (props) => {
|
|
|
7570
7584
|
);
|
|
7571
7585
|
} else if (child.type === DropdownList) {
|
|
7572
7586
|
tempToolbarChildren.push(
|
|
7573
|
-
/* @__PURE__ */
|
|
7587
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7574
7588
|
DropdownList,
|
|
7575
7589
|
{
|
|
7576
7590
|
...child.props,
|
|
@@ -7581,7 +7595,7 @@ var ToolbarAngular = (props) => {
|
|
|
7581
7595
|
);
|
|
7582
7596
|
} else if (child.type === ColorPicker) {
|
|
7583
7597
|
tempToolbarChildren.push(
|
|
7584
|
-
/* @__PURE__ */
|
|
7598
|
+
/* @__PURE__ */ jsx108("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx108(
|
|
7585
7599
|
ColorPicker,
|
|
7586
7600
|
{
|
|
7587
7601
|
...child.props,
|
|
@@ -7603,7 +7617,7 @@ var ToolbarAngular = (props) => {
|
|
|
7603
7617
|
addUniqueToolClass(child, index);
|
|
7604
7618
|
});
|
|
7605
7619
|
}
|
|
7606
|
-
return /* @__PURE__ */
|
|
7620
|
+
return /* @__PURE__ */ jsx108(
|
|
7607
7621
|
"div",
|
|
7608
7622
|
{
|
|
7609
7623
|
...other,
|
|
@@ -7630,10 +7644,10 @@ ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
|
7630
7644
|
ToolbarAngular.defaultProps = defaultProps42;
|
|
7631
7645
|
|
|
7632
7646
|
// src/toolbar/toolbar-separator.tsx
|
|
7633
|
-
import { jsx as
|
|
7647
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7634
7648
|
|
|
7635
7649
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7636
|
-
import { jsx as
|
|
7650
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
7637
7651
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7638
7652
|
var states48 = [
|
|
7639
7653
|
States.focus
|
|
@@ -7645,7 +7659,7 @@ var ToolbarItem = (props) => {
|
|
|
7645
7659
|
focus,
|
|
7646
7660
|
...other
|
|
7647
7661
|
} = props;
|
|
7648
|
-
return /* @__PURE__ */
|
|
7662
|
+
return /* @__PURE__ */ jsx110(
|
|
7649
7663
|
"div",
|
|
7650
7664
|
{
|
|
7651
7665
|
...other,
|
|
@@ -7666,14 +7680,14 @@ ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
|
7666
7680
|
ToolbarItem.defaultProps = defaultProps43;
|
|
7667
7681
|
|
|
7668
7682
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7669
|
-
import { jsx as
|
|
7683
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
7670
7684
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7671
7685
|
var states49 = [];
|
|
7672
7686
|
var options47 = {};
|
|
7673
7687
|
var defaultProps44 = {};
|
|
7674
7688
|
var ToolbarPopup = (props) => {
|
|
7675
7689
|
const { ...other } = props;
|
|
7676
|
-
return /* @__PURE__ */
|
|
7690
|
+
return /* @__PURE__ */ jsx111(
|
|
7677
7691
|
Popup,
|
|
7678
7692
|
{
|
|
7679
7693
|
...other,
|
|
@@ -7691,137 +7705,137 @@ ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
|
7691
7705
|
ToolbarPopup.defaultProps = defaultProps44;
|
|
7692
7706
|
|
|
7693
7707
|
// src/split-button/templates/icon-split-button.tsx
|
|
7694
|
-
import { jsx as
|
|
7708
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
7695
7709
|
|
|
7696
7710
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7697
|
-
import { jsx as
|
|
7711
|
+
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
7698
7712
|
|
|
7699
7713
|
// src/split-button/templates/text-split-button.tsx
|
|
7700
|
-
import { jsx as
|
|
7714
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
7701
7715
|
|
|
7702
7716
|
// src/split-button/templates/split-button-popup.tsx
|
|
7703
|
-
import { jsx as
|
|
7717
|
+
import { jsx as jsx115, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7704
7718
|
|
|
7705
7719
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7706
|
-
import { Fragment as
|
|
7720
|
+
import { Fragment as Fragment31, jsx as jsx116, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7707
7721
|
|
|
7708
7722
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7709
|
-
import { jsx as
|
|
7723
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
7710
7724
|
|
|
7711
7725
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7712
|
-
import { jsx as
|
|
7726
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7713
7727
|
|
|
7714
7728
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7715
|
-
import { jsx as
|
|
7729
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
7716
7730
|
|
|
7717
7731
|
// src/gantt/tests/gantt-editing-popup-resources.tsx
|
|
7718
|
-
import { Fragment as
|
|
7732
|
+
import { Fragment as Fragment32, jsx as jsx120, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7719
7733
|
var styles = `
|
|
7720
7734
|
.k-window {
|
|
7721
7735
|
min-width: 580px;
|
|
7722
7736
|
position: relative;
|
|
7723
7737
|
}
|
|
7724
7738
|
`;
|
|
7725
|
-
var gantt_editing_popup_resources_default = () => /* @__PURE__ */ jsxs50(
|
|
7726
|
-
/* @__PURE__ */
|
|
7727
|
-
/* @__PURE__ */
|
|
7728
|
-
/* @__PURE__ */
|
|
7729
|
-
/* @__PURE__ */
|
|
7730
|
-
/* @__PURE__ */
|
|
7731
|
-
/* @__PURE__ */
|
|
7739
|
+
var gantt_editing_popup_resources_default = () => /* @__PURE__ */ jsxs50(Fragment32, { children: [
|
|
7740
|
+
/* @__PURE__ */ jsx120("style", { children: styles }),
|
|
7741
|
+
/* @__PURE__ */ jsx120("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: /* @__PURE__ */ jsx120("section", { children: /* @__PURE__ */ jsx120(WindowNormal, { title: "Edit task", actionButtons: /* @__PURE__ */ jsxs50(Fragment32, { children: [
|
|
7742
|
+
/* @__PURE__ */ jsx120(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
7743
|
+
/* @__PURE__ */ jsx120(Button, { icon: "cancel", children: "Cancel" }),
|
|
7744
|
+
/* @__PURE__ */ jsx120("span", { className: "k-spacer" }),
|
|
7745
|
+
/* @__PURE__ */ jsx120(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
7732
7746
|
] }), children: /* @__PURE__ */ jsxs50("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
7733
|
-
/* @__PURE__ */
|
|
7734
|
-
/* @__PURE__ */
|
|
7735
|
-
/* @__PURE__ */
|
|
7736
|
-
/* @__PURE__ */
|
|
7737
|
-
/* @__PURE__ */
|
|
7747
|
+
/* @__PURE__ */ jsx120("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs50("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
7748
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item k-first", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "General" }) }),
|
|
7749
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item k-active", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "Resources" }) }),
|
|
7750
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "Predecessors" }) }),
|
|
7751
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item k-last", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "Successors" }) })
|
|
7738
7752
|
] }) }),
|
|
7739
|
-
/* @__PURE__ */
|
|
7753
|
+
/* @__PURE__ */ jsx120("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs50("div", { className: "k-grid k-grid-md k-grid-no-scrollbar", children: [
|
|
7740
7754
|
/* @__PURE__ */ jsxs50(Toolbar, { className: "k-grid-toolbar", children: [
|
|
7741
|
-
/* @__PURE__ */
|
|
7742
|
-
/* @__PURE__ */
|
|
7755
|
+
/* @__PURE__ */ jsx120(Button, { icon: "plus", children: "Add" }),
|
|
7756
|
+
/* @__PURE__ */ jsx120(Button, { icon: "minus", children: "Remove" })
|
|
7743
7757
|
] }),
|
|
7744
|
-
/* @__PURE__ */
|
|
7758
|
+
/* @__PURE__ */ jsx120("div", { className: "k-grid-header", children: /* @__PURE__ */ jsx120("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs50("table", { className: "k-table k-table-md k-grid-header-table", children: [
|
|
7745
7759
|
/* @__PURE__ */ jsxs50("colgroup", { children: [
|
|
7746
|
-
/* @__PURE__ */
|
|
7747
|
-
/* @__PURE__ */
|
|
7748
|
-
/* @__PURE__ */
|
|
7760
|
+
/* @__PURE__ */ jsx120("col", { style: { width: "42px" } }),
|
|
7761
|
+
/* @__PURE__ */ jsx120("col", {}),
|
|
7762
|
+
/* @__PURE__ */ jsx120("col", {})
|
|
7749
7763
|
] }),
|
|
7750
|
-
/* @__PURE__ */
|
|
7764
|
+
/* @__PURE__ */ jsx120("thead", { className: "k-table-thead", children: /* @__PURE__ */ jsxs50("tr", { className: "k-table-row", children: [
|
|
7751
7765
|
/* @__PURE__ */ jsxs50("th", { className: "k-table-th k-header", children: [
|
|
7752
|
-
/* @__PURE__ */
|
|
7753
|
-
/* @__PURE__ */
|
|
7766
|
+
/* @__PURE__ */ jsx120("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx120(Checkbox, {}) }),
|
|
7767
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7754
7768
|
] }),
|
|
7755
|
-
/* @__PURE__ */
|
|
7769
|
+
/* @__PURE__ */ jsx120("th", { className: "k-table-th k-header k-filterable", children: /* @__PURE__ */ jsxs50("span", { className: "k-cell-inner", children: [
|
|
7756
7770
|
/* @__PURE__ */ jsxs50("span", { className: "k-link", children: [
|
|
7757
|
-
/* @__PURE__ */
|
|
7758
|
-
/* @__PURE__ */
|
|
7771
|
+
/* @__PURE__ */ jsx120("span", { className: "k-column-title", children: "Resources" }),
|
|
7772
|
+
/* @__PURE__ */ jsx120("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx120(Icon, { icon: "sort-asc-small" }) })
|
|
7759
7773
|
] }),
|
|
7760
|
-
/* @__PURE__ */
|
|
7774
|
+
/* @__PURE__ */ jsx120("div", { children: /* @__PURE__ */ jsx120("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ jsx120(Icon, { icon: "filter" }) }) })
|
|
7761
7775
|
] }) }),
|
|
7762
|
-
/* @__PURE__ */
|
|
7776
|
+
/* @__PURE__ */ jsx120("th", { className: "k-table-th k-header k-filterable", children: /* @__PURE__ */ jsxs50("span", { className: "k-cell-inner", children: [
|
|
7763
7777
|
/* @__PURE__ */ jsxs50("span", { className: "k-link", children: [
|
|
7764
|
-
/* @__PURE__ */
|
|
7765
|
-
/* @__PURE__ */
|
|
7778
|
+
/* @__PURE__ */ jsx120("span", { className: "k-column-title", children: "Units" }),
|
|
7779
|
+
/* @__PURE__ */ jsx120("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx120(Icon, { icon: "sort-asc-small" }) })
|
|
7766
7780
|
] }),
|
|
7767
|
-
/* @__PURE__ */
|
|
7781
|
+
/* @__PURE__ */ jsx120("div", { children: /* @__PURE__ */ jsx120("a", { href: "#", className: "k-grid-filter-menu k-grid-header-menu", children: /* @__PURE__ */ jsx120(Icon, { icon: "filter" }) }) })
|
|
7768
7782
|
] }) })
|
|
7769
7783
|
] }) })
|
|
7770
7784
|
] }) }) }),
|
|
7771
|
-
/* @__PURE__ */
|
|
7785
|
+
/* @__PURE__ */ jsx120("div", { className: "k-grid-content", children: /* @__PURE__ */ jsxs50("table", { className: "k-table k-table-md k-grid-table", children: [
|
|
7772
7786
|
/* @__PURE__ */ jsxs50("colgroup", { children: [
|
|
7773
|
-
/* @__PURE__ */
|
|
7774
|
-
/* @__PURE__ */
|
|
7775
|
-
/* @__PURE__ */
|
|
7787
|
+
/* @__PURE__ */ jsx120("col", { style: { width: "42px" } }),
|
|
7788
|
+
/* @__PURE__ */ jsx120("col", {}),
|
|
7789
|
+
/* @__PURE__ */ jsx120("col", {})
|
|
7776
7790
|
] }),
|
|
7777
7791
|
/* @__PURE__ */ jsxs50("tbody", { className: "k-table-tbody", children: [
|
|
7778
7792
|
/* @__PURE__ */ jsxs50("tr", { className: "k-table-row", children: [
|
|
7779
|
-
/* @__PURE__ */
|
|
7780
|
-
/* @__PURE__ */
|
|
7781
|
-
/* @__PURE__ */
|
|
7793
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsxs50("span", { className: "k-checkbox-wrap", children: [
|
|
7794
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7795
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7782
7796
|
] }) }),
|
|
7783
|
-
/* @__PURE__ */
|
|
7784
|
-
/* @__PURE__ */
|
|
7797
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsx120(DropdownList, { placeholder: "-Select resource-" }) }),
|
|
7798
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsx120(NumericTextbox, { value: "40" }) })
|
|
7785
7799
|
] }),
|
|
7786
7800
|
/* @__PURE__ */ jsxs50("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7787
|
-
/* @__PURE__ */
|
|
7788
|
-
/* @__PURE__ */
|
|
7789
|
-
/* @__PURE__ */
|
|
7801
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsxs50("span", { className: "k-checkbox-wrap", children: [
|
|
7802
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7803
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7790
7804
|
] }) }),
|
|
7791
|
-
/* @__PURE__ */
|
|
7792
|
-
/* @__PURE__ */
|
|
7805
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7806
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7793
7807
|
] }),
|
|
7794
7808
|
/* @__PURE__ */ jsxs50("tr", { className: "k-table-row", children: [
|
|
7795
|
-
/* @__PURE__ */
|
|
7796
|
-
/* @__PURE__ */
|
|
7797
|
-
/* @__PURE__ */
|
|
7809
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsxs50("span", { className: "k-checkbox-wrap", children: [
|
|
7810
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7811
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7798
7812
|
] }) }),
|
|
7799
|
-
/* @__PURE__ */
|
|
7800
|
-
/* @__PURE__ */
|
|
7813
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7814
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7801
7815
|
] }),
|
|
7802
7816
|
/* @__PURE__ */ jsxs50("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7803
|
-
/* @__PURE__ */
|
|
7804
|
-
/* @__PURE__ */
|
|
7805
|
-
/* @__PURE__ */
|
|
7817
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsxs50("span", { className: "k-checkbox-wrap", children: [
|
|
7818
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7819
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7806
7820
|
] }) }),
|
|
7807
|
-
/* @__PURE__ */
|
|
7808
|
-
/* @__PURE__ */
|
|
7821
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7822
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7809
7823
|
] }),
|
|
7810
7824
|
/* @__PURE__ */ jsxs50("tr", { className: "k-table-row", children: [
|
|
7811
|
-
/* @__PURE__ */
|
|
7812
|
-
/* @__PURE__ */
|
|
7813
|
-
/* @__PURE__ */
|
|
7825
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsxs50("span", { className: "k-checkbox-wrap", children: [
|
|
7826
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7827
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7814
7828
|
] }) }),
|
|
7815
|
-
/* @__PURE__ */
|
|
7816
|
-
/* @__PURE__ */
|
|
7829
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7830
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7817
7831
|
] }),
|
|
7818
7832
|
/* @__PURE__ */ jsxs50("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7819
|
-
/* @__PURE__ */
|
|
7820
|
-
/* @__PURE__ */
|
|
7821
|
-
/* @__PURE__ */
|
|
7833
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsxs50("span", { className: "k-checkbox-wrap", children: [
|
|
7834
|
+
/* @__PURE__ */ jsx120(Checkbox, {}),
|
|
7835
|
+
/* @__PURE__ */ jsx120("label", { className: "k-checkbox-label" })
|
|
7822
7836
|
] }) }),
|
|
7823
|
-
/* @__PURE__ */
|
|
7824
|
-
/* @__PURE__ */
|
|
7837
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" }),
|
|
7838
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: "Grid Cell" })
|
|
7825
7839
|
] })
|
|
7826
7840
|
] })
|
|
7827
7841
|
] }) })
|