@progress/kendo-themes-html 7.0.2-dev.5 → 7.0.3-dev.0
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/animation-container/animation-container.spec.tsx
|
|
4820
|
-
import { jsx as
|
|
4834
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4821
4835
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4822
4836
|
var states14 = [];
|
|
4823
4837
|
var options13 = {};
|
|
@@ -4831,7 +4845,7 @@ var AnimationContainer = (props) => {
|
|
|
4831
4845
|
offset,
|
|
4832
4846
|
...other
|
|
4833
4847
|
} = props;
|
|
4834
|
-
return /* @__PURE__ */
|
|
4848
|
+
return /* @__PURE__ */ jsx22(
|
|
4835
4849
|
"div",
|
|
4836
4850
|
{
|
|
4837
4851
|
...other,
|
|
@@ -4843,7 +4857,7 @@ var AnimationContainer = (props) => {
|
|
|
4843
4857
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4844
4858
|
}
|
|
4845
4859
|
),
|
|
4846
|
-
children: /* @__PURE__ */
|
|
4860
|
+
children: /* @__PURE__ */ jsx22("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4847
4861
|
}
|
|
4848
4862
|
);
|
|
4849
4863
|
};
|
|
@@ -4853,7 +4867,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
4853
4867
|
AnimationContainer.defaultProps = defaultProps11;
|
|
4854
4868
|
|
|
4855
4869
|
// src/popup/popup.spec.tsx
|
|
4856
|
-
import { jsx as
|
|
4870
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4857
4871
|
var POPUP_CLASSNAME = `k-popup`;
|
|
4858
4872
|
var states15 = [];
|
|
4859
4873
|
var options14 = {};
|
|
@@ -4866,12 +4880,12 @@ var Popup = (props) => {
|
|
|
4866
4880
|
positionMode,
|
|
4867
4881
|
...other
|
|
4868
4882
|
} = props;
|
|
4869
|
-
return /* @__PURE__ */
|
|
4883
|
+
return /* @__PURE__ */ jsx23(
|
|
4870
4884
|
AnimationContainer,
|
|
4871
4885
|
{
|
|
4872
4886
|
positionMode,
|
|
4873
4887
|
offset,
|
|
4874
|
-
children: /* @__PURE__ */
|
|
4888
|
+
children: /* @__PURE__ */ jsx23("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4875
4889
|
}
|
|
4876
4890
|
);
|
|
4877
4891
|
};
|
|
@@ -4881,7 +4895,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
4881
4895
|
Popup.defaultProps = defaultProps12;
|
|
4882
4896
|
|
|
4883
4897
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
4884
|
-
import { Fragment as
|
|
4898
|
+
import { Fragment as Fragment12, jsx as jsx24, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4885
4899
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
4886
4900
|
var states16 = [
|
|
4887
4901
|
States.hover,
|
|
@@ -4929,7 +4943,7 @@ var DropdownList = (props) => {
|
|
|
4929
4943
|
opened,
|
|
4930
4944
|
...other
|
|
4931
4945
|
} = props;
|
|
4932
|
-
return /* @__PURE__ */ jsxs4(
|
|
4946
|
+
return /* @__PURE__ */ jsxs4(Fragment12, { children: [
|
|
4933
4947
|
/* @__PURE__ */ jsxs4(
|
|
4934
4948
|
Picker,
|
|
4935
4949
|
{
|
|
@@ -4953,8 +4967,8 @@ var DropdownList = (props) => {
|
|
|
4953
4967
|
}
|
|
4954
4968
|
),
|
|
4955
4969
|
children: [
|
|
4956
|
-
/* @__PURE__ */
|
|
4957
|
-
/* @__PURE__ */
|
|
4970
|
+
/* @__PURE__ */ jsx24(InputPrefix, { children: prefix }),
|
|
4971
|
+
/* @__PURE__ */ jsx24(
|
|
4958
4972
|
InputInnerSpan,
|
|
4959
4973
|
{
|
|
4960
4974
|
placeholder,
|
|
@@ -4963,7 +4977,7 @@ var DropdownList = (props) => {
|
|
|
4963
4977
|
valueIconName
|
|
4964
4978
|
}
|
|
4965
4979
|
),
|
|
4966
|
-
/* @__PURE__ */
|
|
4980
|
+
/* @__PURE__ */ jsx24(
|
|
4967
4981
|
InputValidationIcon,
|
|
4968
4982
|
{
|
|
4969
4983
|
valid,
|
|
@@ -4972,15 +4986,15 @@ var DropdownList = (props) => {
|
|
|
4972
4986
|
disabled
|
|
4973
4987
|
}
|
|
4974
4988
|
),
|
|
4975
|
-
/* @__PURE__ */
|
|
4989
|
+
/* @__PURE__ */ jsx24(
|
|
4976
4990
|
InputLoadingIcon,
|
|
4977
4991
|
{
|
|
4978
4992
|
loading,
|
|
4979
4993
|
disabled
|
|
4980
4994
|
}
|
|
4981
4995
|
),
|
|
4982
|
-
/* @__PURE__ */
|
|
4983
|
-
/* @__PURE__ */
|
|
4996
|
+
/* @__PURE__ */ jsx24(InputSuffix, { children: suffix }),
|
|
4997
|
+
/* @__PURE__ */ jsx24(
|
|
4984
4998
|
Button,
|
|
4985
4999
|
{
|
|
4986
5000
|
className: "k-input-button",
|
|
@@ -4993,7 +5007,7 @@ var DropdownList = (props) => {
|
|
|
4993
5007
|
]
|
|
4994
5008
|
}
|
|
4995
5009
|
),
|
|
4996
|
-
opened && popup && /* @__PURE__ */
|
|
5010
|
+
opened && popup && /* @__PURE__ */ jsx24(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
4997
5011
|
] });
|
|
4998
5012
|
};
|
|
4999
5013
|
DropdownList.states = states16;
|
|
@@ -5002,15 +5016,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5002
5016
|
DropdownList.defaultProps = defaultProps13;
|
|
5003
5017
|
|
|
5004
5018
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5005
|
-
import { jsx as
|
|
5019
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
5006
5020
|
|
|
5007
5021
|
// src/nodata/nodata.tsx
|
|
5008
|
-
import { jsx as
|
|
5022
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5009
5023
|
var className9 = `k-nodata`;
|
|
5010
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5024
|
+
var NoData = (props) => /* @__PURE__ */ jsx26("span", { className: classNames(className9, props.className), children: props.children });
|
|
5011
5025
|
|
|
5012
5026
|
// src/list/list.spec.tsx
|
|
5013
|
-
import { jsx as
|
|
5027
|
+
import { jsx as jsx27, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
5014
5028
|
var LIST_CLASSNAME = `k-list`;
|
|
5015
5029
|
var states17 = [];
|
|
5016
5030
|
var options16 = {
|
|
@@ -5038,7 +5052,7 @@ var List = (props) => {
|
|
|
5038
5052
|
listHeader = child.props.label;
|
|
5039
5053
|
child.props.children.map((optChild, index2) => {
|
|
5040
5054
|
listChildren.push(
|
|
5041
|
-
/* @__PURE__ */
|
|
5055
|
+
/* @__PURE__ */ jsx27(
|
|
5042
5056
|
ListItem,
|
|
5043
5057
|
{
|
|
5044
5058
|
...optChild.props
|
|
@@ -5054,7 +5068,7 @@ var List = (props) => {
|
|
|
5054
5068
|
groupLabel = child.props.label;
|
|
5055
5069
|
}
|
|
5056
5070
|
listChildren.push(
|
|
5057
|
-
/* @__PURE__ */
|
|
5071
|
+
/* @__PURE__ */ jsx27(
|
|
5058
5072
|
ListItem,
|
|
5059
5073
|
{
|
|
5060
5074
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5066,14 +5080,14 @@ var List = (props) => {
|
|
|
5066
5080
|
);
|
|
5067
5081
|
});
|
|
5068
5082
|
}
|
|
5069
|
-
listGroup = /* @__PURE__ */
|
|
5083
|
+
listGroup = /* @__PURE__ */ jsx27(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5070
5084
|
} else if (child.type === ListItem) {
|
|
5071
|
-
listChildren.push(/* @__PURE__ */
|
|
5072
|
-
listContent = /* @__PURE__ */
|
|
5085
|
+
listChildren.push(/* @__PURE__ */ jsx27(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5086
|
+
listContent = /* @__PURE__ */ jsx27(ListContent, { virtualization, children: listChildren });
|
|
5073
5087
|
}
|
|
5074
5088
|
});
|
|
5075
5089
|
} else {
|
|
5076
|
-
listContent = /* @__PURE__ */
|
|
5090
|
+
listContent = /* @__PURE__ */ jsx27(NoData, { children: "No data found." });
|
|
5077
5091
|
}
|
|
5078
5092
|
return /* @__PURE__ */ jsxs5(
|
|
5079
5093
|
"div",
|
|
@@ -5103,7 +5117,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5103
5117
|
List.defaultProps = defaultProps14;
|
|
5104
5118
|
|
|
5105
5119
|
// src/list/list-angular.spec.tsx
|
|
5106
|
-
import { jsx as
|
|
5120
|
+
import { jsx as jsx28, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5107
5121
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5108
5122
|
var states18 = [];
|
|
5109
5123
|
var options17 = {
|
|
@@ -5130,7 +5144,7 @@ var ListAngular = (props) => {
|
|
|
5130
5144
|
listHeader = child.props.label;
|
|
5131
5145
|
child.props.children.map((optChild, index2) => {
|
|
5132
5146
|
listChildren.push(
|
|
5133
|
-
/* @__PURE__ */
|
|
5147
|
+
/* @__PURE__ */ jsx28(
|
|
5134
5148
|
ListItem,
|
|
5135
5149
|
{
|
|
5136
5150
|
...optChild.props
|
|
@@ -5141,7 +5155,7 @@ var ListAngular = (props) => {
|
|
|
5141
5155
|
});
|
|
5142
5156
|
} else {
|
|
5143
5157
|
listChildren.push(
|
|
5144
|
-
/* @__PURE__ */
|
|
5158
|
+
/* @__PURE__ */ jsx28(
|
|
5145
5159
|
ListGroupItem,
|
|
5146
5160
|
{
|
|
5147
5161
|
...child.props,
|
|
@@ -5152,7 +5166,7 @@ var ListAngular = (props) => {
|
|
|
5152
5166
|
);
|
|
5153
5167
|
child.props.children.map((optChild, index2) => {
|
|
5154
5168
|
listChildren.push(
|
|
5155
|
-
/* @__PURE__ */
|
|
5169
|
+
/* @__PURE__ */ jsx28(
|
|
5156
5170
|
ListItem,
|
|
5157
5171
|
{
|
|
5158
5172
|
...optChild.props
|
|
@@ -5162,14 +5176,14 @@ var ListAngular = (props) => {
|
|
|
5162
5176
|
);
|
|
5163
5177
|
});
|
|
5164
5178
|
}
|
|
5165
|
-
listGroup = /* @__PURE__ */
|
|
5179
|
+
listGroup = /* @__PURE__ */ jsx28(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5166
5180
|
} else if (child.type === ListItem) {
|
|
5167
|
-
listChildren.push(/* @__PURE__ */
|
|
5168
|
-
listContent = /* @__PURE__ */
|
|
5181
|
+
listChildren.push(/* @__PURE__ */ jsx28(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5182
|
+
listContent = /* @__PURE__ */ jsx28(ListContent, { virtualization, children: listChildren });
|
|
5169
5183
|
}
|
|
5170
5184
|
});
|
|
5171
5185
|
} else {
|
|
5172
|
-
listContent = /* @__PURE__ */
|
|
5186
|
+
listContent = /* @__PURE__ */ jsx28(NoData, { children: "No data found." });
|
|
5173
5187
|
}
|
|
5174
5188
|
return /* @__PURE__ */ jsxs6(
|
|
5175
5189
|
"div",
|
|
@@ -5198,7 +5212,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5198
5212
|
ListAngular.defaultProps = defaultProps15;
|
|
5199
5213
|
|
|
5200
5214
|
// src/checkbox/checkbox.spec.tsx
|
|
5201
|
-
import { jsx as
|
|
5215
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5202
5216
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5203
5217
|
var states19 = [
|
|
5204
5218
|
States.hover,
|
|
@@ -5233,7 +5247,7 @@ var Checkbox = (props) => {
|
|
|
5233
5247
|
rounded = defaultProps16.rounded,
|
|
5234
5248
|
...other
|
|
5235
5249
|
} = props;
|
|
5236
|
-
return /* @__PURE__ */
|
|
5250
|
+
return /* @__PURE__ */ jsx29("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx29(
|
|
5237
5251
|
"input",
|
|
5238
5252
|
{
|
|
5239
5253
|
...other,
|
|
@@ -5256,7 +5270,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5256
5270
|
Checkbox.defaultProps = defaultProps16;
|
|
5257
5271
|
|
|
5258
5272
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5259
|
-
import { jsx as
|
|
5273
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5260
5274
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5261
5275
|
var states20 = [];
|
|
5262
5276
|
var options19 = {};
|
|
@@ -5268,7 +5282,7 @@ var CheckboxGroup = (props) => {
|
|
|
5268
5282
|
layout = defaultProps17.layout,
|
|
5269
5283
|
...other
|
|
5270
5284
|
} = props;
|
|
5271
|
-
return /* @__PURE__ */
|
|
5285
|
+
return /* @__PURE__ */ jsx30(
|
|
5272
5286
|
"ul",
|
|
5273
5287
|
{
|
|
5274
5288
|
...other,
|
|
@@ -5289,7 +5303,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5289
5303
|
CheckboxGroup.defaultProps = defaultProps17;
|
|
5290
5304
|
|
|
5291
5305
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5292
|
-
import { jsx as
|
|
5306
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
5293
5307
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5294
5308
|
var states21 = [];
|
|
5295
5309
|
var options20 = {};
|
|
@@ -5298,7 +5312,7 @@ var CheckboxItem = (props) => {
|
|
|
5298
5312
|
const {
|
|
5299
5313
|
...other
|
|
5300
5314
|
} = props;
|
|
5301
|
-
return /* @__PURE__ */
|
|
5315
|
+
return /* @__PURE__ */ jsx31(
|
|
5302
5316
|
"li",
|
|
5303
5317
|
{
|
|
5304
5318
|
...other,
|
|
@@ -5316,16 +5330,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5316
5330
|
CheckboxItem.defaultProps = defaultProps18;
|
|
5317
5331
|
|
|
5318
5332
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5319
|
-
import { Fragment as
|
|
5333
|
+
import { Fragment as Fragment13, jsx as jsx32, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5320
5334
|
|
|
5321
5335
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5322
|
-
import { Fragment as
|
|
5336
|
+
import { Fragment as Fragment14, jsx as jsx33, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5323
5337
|
|
|
5324
5338
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5325
|
-
import { jsx as
|
|
5339
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5326
5340
|
|
|
5327
5341
|
// src/list/list-item.spec.tsx
|
|
5328
|
-
import { jsx as
|
|
5342
|
+
import { jsx as jsx35, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5329
5343
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5330
5344
|
var states22 = [
|
|
5331
5345
|
States.hover,
|
|
@@ -5365,10 +5379,10 @@ var ListItem = (props) => {
|
|
|
5365
5379
|
})
|
|
5366
5380
|
),
|
|
5367
5381
|
children: [
|
|
5368
|
-
showCheckbox && /* @__PURE__ */
|
|
5369
|
-
showIcon && /* @__PURE__ */
|
|
5370
|
-
/* @__PURE__ */
|
|
5371
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5382
|
+
showCheckbox && /* @__PURE__ */ jsx35(Checkbox, { checked }),
|
|
5383
|
+
showIcon && /* @__PURE__ */ jsx35(Icon, { icon: iconName }),
|
|
5384
|
+
/* @__PURE__ */ jsx35("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5385
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx35("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5372
5386
|
]
|
|
5373
5387
|
}
|
|
5374
5388
|
);
|
|
@@ -5379,43 +5393,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5379
5393
|
ListItem.defaultProps = defaultProps19;
|
|
5380
5394
|
|
|
5381
5395
|
// src/list/list-content.tsx
|
|
5382
|
-
import { jsx as
|
|
5396
|
+
import { jsx as jsx36, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5383
5397
|
var className10 = `k-list-content`;
|
|
5384
5398
|
var ListContent = (props) => {
|
|
5385
5399
|
const {
|
|
5386
5400
|
virtualization
|
|
5387
5401
|
} = props;
|
|
5388
5402
|
return /* @__PURE__ */ jsxs10("div", { className: classNames(className10, props.className), children: [
|
|
5389
|
-
/* @__PURE__ */
|
|
5390
|
-
virtualization && /* @__PURE__ */
|
|
5403
|
+
/* @__PURE__ */ jsx36("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5404
|
+
virtualization && /* @__PURE__ */ jsx36("div", { className: "k-height-container", children: /* @__PURE__ */ jsx36("div", {}) })
|
|
5391
5405
|
] });
|
|
5392
5406
|
};
|
|
5393
5407
|
|
|
5394
5408
|
// src/list/list-header.tsx
|
|
5395
|
-
import { jsx as
|
|
5409
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5396
5410
|
var className11 = `k-list-group-sticky-header`;
|
|
5397
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5411
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx37("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx37("div", { className: "k-list-header-text", children: props.children }) });
|
|
5398
5412
|
|
|
5399
5413
|
// src/list/list-group.tsx
|
|
5400
|
-
import { Fragment as
|
|
5414
|
+
import { Fragment as Fragment15, jsx as jsx38, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5401
5415
|
var ListGroup = (props) => {
|
|
5402
5416
|
const {
|
|
5403
5417
|
virtualization,
|
|
5404
5418
|
label
|
|
5405
5419
|
} = props;
|
|
5406
|
-
return /* @__PURE__ */ jsxs11(
|
|
5407
|
-
label && /* @__PURE__ */
|
|
5408
|
-
props.children && /* @__PURE__ */
|
|
5420
|
+
return /* @__PURE__ */ jsxs11(Fragment15, { children: [
|
|
5421
|
+
label && /* @__PURE__ */ jsx38(ListHeader, { children: label }),
|
|
5422
|
+
props.children && /* @__PURE__ */ jsx38(ListContent, { virtualization, children: props.children })
|
|
5409
5423
|
] });
|
|
5410
5424
|
};
|
|
5411
5425
|
|
|
5412
5426
|
// src/list/list-group-item.tsx
|
|
5413
|
-
import { jsx as
|
|
5427
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5414
5428
|
var className12 = `k-list-group-item`;
|
|
5415
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5429
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx39("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx39("span", { className: "k-list-item-text", children: props.children }) });
|
|
5416
5430
|
|
|
5417
5431
|
// src/list/list-option-label.tsx
|
|
5418
|
-
import { jsx as
|
|
5432
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5419
5433
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5420
5434
|
var states23 = [
|
|
5421
5435
|
States.hover,
|
|
@@ -5434,7 +5448,7 @@ var ListOptionLabel = (props) => {
|
|
|
5434
5448
|
disabled,
|
|
5435
5449
|
...other
|
|
5436
5450
|
} = props;
|
|
5437
|
-
return /* @__PURE__ */
|
|
5451
|
+
return /* @__PURE__ */ jsx40(
|
|
5438
5452
|
"div",
|
|
5439
5453
|
{
|
|
5440
5454
|
...other,
|
|
@@ -5457,31 +5471,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5457
5471
|
ListOptionLabel.defaultProps = defaultProps20;
|
|
5458
5472
|
|
|
5459
5473
|
// src/list/templates/list-normal.tsx
|
|
5460
|
-
import { jsx as
|
|
5474
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5461
5475
|
|
|
5462
5476
|
// src/list/templates/list-virtualization.tsx
|
|
5463
|
-
import { jsx as
|
|
5477
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5464
5478
|
|
|
5465
5479
|
// src/list/templates/list-grouping.tsx
|
|
5466
|
-
import { jsx as
|
|
5480
|
+
import { jsx as jsx43, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5467
5481
|
|
|
5468
5482
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5469
|
-
import { jsx as
|
|
5483
|
+
import { jsx as jsx44, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5470
5484
|
|
|
5471
5485
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5472
|
-
import { jsx as
|
|
5486
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5473
5487
|
|
|
5474
5488
|
// src/list/templates/list-grouping-angular.tsx
|
|
5475
|
-
import { jsx as
|
|
5489
|
+
import { jsx as jsx46, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5476
5490
|
|
|
5477
5491
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5478
|
-
import { jsx as
|
|
5492
|
+
import { jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5479
5493
|
|
|
5480
5494
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5481
|
-
import { jsx as
|
|
5495
|
+
import { jsx as jsx48, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5482
5496
|
|
|
5483
5497
|
// src/searchbox/searchbox.spec.tsx
|
|
5484
|
-
import { jsx as
|
|
5498
|
+
import { jsx as jsx49, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5485
5499
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5486
5500
|
var states24 = [
|
|
5487
5501
|
States.hover,
|
|
@@ -5538,11 +5552,11 @@ var Searchbox = (props) => {
|
|
|
5538
5552
|
disabled,
|
|
5539
5553
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5540
5554
|
children: [
|
|
5541
|
-
showIcon && /* @__PURE__ */
|
|
5542
|
-
/* @__PURE__ */
|
|
5543
|
-
/* @__PURE__ */
|
|
5544
|
-
/* @__PURE__ */
|
|
5545
|
-
/* @__PURE__ */
|
|
5555
|
+
showIcon && /* @__PURE__ */ jsx49(Icon, { className: "k-input-icon", icon }),
|
|
5556
|
+
/* @__PURE__ */ jsx49(InputInnerInput, { placeholder, value }),
|
|
5557
|
+
/* @__PURE__ */ jsx49(InputLoadingIcon, { ...props }),
|
|
5558
|
+
/* @__PURE__ */ jsx49(InputValidationIcon, { ...props }),
|
|
5559
|
+
/* @__PURE__ */ jsx49(InputClearValue, { ...props })
|
|
5546
5560
|
]
|
|
5547
5561
|
}
|
|
5548
5562
|
);
|
|
@@ -5553,19 +5567,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5553
5567
|
Searchbox.defaultProps = defaultProps21;
|
|
5554
5568
|
|
|
5555
5569
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5556
|
-
import { jsx as
|
|
5570
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5557
5571
|
|
|
5558
5572
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5559
|
-
import { Fragment as
|
|
5573
|
+
import { Fragment as Fragment16, jsx as jsx51, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5560
5574
|
|
|
5561
5575
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5562
|
-
import { jsx as
|
|
5576
|
+
import { jsx as jsx52, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5563
5577
|
|
|
5564
5578
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5565
|
-
import { Fragment as
|
|
5579
|
+
import { Fragment as Fragment17, jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5566
5580
|
|
|
5567
5581
|
// src/button-group/button-group.spec.tsx
|
|
5568
|
-
import { jsx as
|
|
5582
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5569
5583
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5570
5584
|
var states25 = [
|
|
5571
5585
|
States.disabled
|
|
@@ -5583,7 +5597,7 @@ var ButtonGroup = (props) => {
|
|
|
5583
5597
|
stretched,
|
|
5584
5598
|
...other
|
|
5585
5599
|
} = props;
|
|
5586
|
-
return /* @__PURE__ */
|
|
5600
|
+
return /* @__PURE__ */ jsx54(
|
|
5587
5601
|
"div",
|
|
5588
5602
|
{
|
|
5589
5603
|
...other,
|
|
@@ -5610,19 +5624,19 @@ ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
|
5610
5624
|
ButtonGroup.defaultProps = defaultProps22;
|
|
5611
5625
|
|
|
5612
5626
|
// src/button-group/templates/icon-button-group.tsx
|
|
5613
|
-
import { jsx as
|
|
5627
|
+
import { jsx as jsx55, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5614
5628
|
|
|
5615
5629
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5616
|
-
import { jsx as
|
|
5630
|
+
import { jsx as jsx56, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5617
5631
|
|
|
5618
5632
|
// src/button-group/templates/text-button-group.tsx
|
|
5619
|
-
import { jsx as
|
|
5633
|
+
import { jsx as jsx57, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5620
5634
|
|
|
5621
5635
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5622
|
-
import { jsx as
|
|
5636
|
+
import { jsx as jsx58, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5623
5637
|
|
|
5624
5638
|
// src/color-preview/color-preview.tsx
|
|
5625
|
-
import { jsx as
|
|
5639
|
+
import { jsx as jsx59, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5626
5640
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5627
5641
|
var states26 = [];
|
|
5628
5642
|
var options25 = {};
|
|
@@ -5645,8 +5659,8 @@ var ColorPreview = (props) => {
|
|
|
5645
5659
|
}
|
|
5646
5660
|
),
|
|
5647
5661
|
children: [
|
|
5648
|
-
iconName && /* @__PURE__ */
|
|
5649
|
-
/* @__PURE__ */
|
|
5662
|
+
iconName && /* @__PURE__ */ jsx59(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5663
|
+
/* @__PURE__ */ jsx59(
|
|
5650
5664
|
"span",
|
|
5651
5665
|
{
|
|
5652
5666
|
className: "k-color-preview-mask",
|
|
@@ -5662,7 +5676,7 @@ ColorPreview.options = options25;
|
|
|
5662
5676
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5663
5677
|
|
|
5664
5678
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5665
|
-
import { Fragment as
|
|
5679
|
+
import { Fragment as Fragment18, jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5666
5680
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5667
5681
|
var states27 = [
|
|
5668
5682
|
States.hover,
|
|
@@ -5704,7 +5718,7 @@ var ColorPicker = (props) => {
|
|
|
5704
5718
|
opened,
|
|
5705
5719
|
...other
|
|
5706
5720
|
} = props;
|
|
5707
|
-
return /* @__PURE__ */ jsxs26(
|
|
5721
|
+
return /* @__PURE__ */ jsxs26(Fragment18, { children: [
|
|
5708
5722
|
/* @__PURE__ */ jsxs26(
|
|
5709
5723
|
Picker,
|
|
5710
5724
|
{
|
|
@@ -5724,14 +5738,14 @@ var ColorPicker = (props) => {
|
|
|
5724
5738
|
"k-icon-picker"
|
|
5725
5739
|
),
|
|
5726
5740
|
children: [
|
|
5727
|
-
/* @__PURE__ */
|
|
5728
|
-
/* @__PURE__ */
|
|
5741
|
+
/* @__PURE__ */ jsx60(InputPrefix, { children: prefix }),
|
|
5742
|
+
/* @__PURE__ */ jsx60(
|
|
5729
5743
|
InputInnerSpan,
|
|
5730
5744
|
{
|
|
5731
5745
|
placeholder,
|
|
5732
5746
|
value,
|
|
5733
5747
|
showValue: false,
|
|
5734
|
-
valueIcon: /* @__PURE__ */
|
|
5748
|
+
valueIcon: /* @__PURE__ */ jsx60(
|
|
5735
5749
|
ColorPreview,
|
|
5736
5750
|
{
|
|
5737
5751
|
className: "k-value-icon",
|
|
@@ -5742,8 +5756,8 @@ var ColorPicker = (props) => {
|
|
|
5742
5756
|
valueIconName
|
|
5743
5757
|
}
|
|
5744
5758
|
),
|
|
5745
|
-
/* @__PURE__ */
|
|
5746
|
-
/* @__PURE__ */
|
|
5759
|
+
/* @__PURE__ */ jsx60(InputSuffix, { children: suffix }),
|
|
5760
|
+
/* @__PURE__ */ jsx60(
|
|
5747
5761
|
Button,
|
|
5748
5762
|
{
|
|
5749
5763
|
className: "k-input-button",
|
|
@@ -5756,7 +5770,7 @@ var ColorPicker = (props) => {
|
|
|
5756
5770
|
]
|
|
5757
5771
|
}
|
|
5758
5772
|
),
|
|
5759
|
-
opened && popup && /* @__PURE__ */
|
|
5773
|
+
opened && popup && /* @__PURE__ */ jsx60(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5760
5774
|
] });
|
|
5761
5775
|
};
|
|
5762
5776
|
ColorPicker.states = states27;
|
|
@@ -5765,10 +5779,10 @@ ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
|
5765
5779
|
ColorPicker.defaultProps = defaultProps23;
|
|
5766
5780
|
|
|
5767
5781
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5768
|
-
import { jsx as
|
|
5782
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5769
5783
|
|
|
5770
5784
|
// src/slider/slider.spec.tsx
|
|
5771
|
-
import { jsx as
|
|
5785
|
+
import { jsx as jsx62, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5772
5786
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5773
5787
|
var states28 = [
|
|
5774
5788
|
States.hover,
|
|
@@ -5820,12 +5834,12 @@ var Slider = (props) => {
|
|
|
5820
5834
|
"k-range-slider": type === "range"
|
|
5821
5835
|
}
|
|
5822
5836
|
), dir, children: [
|
|
5823
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5837
|
+
type !== "gradient" && /* @__PURE__ */ jsx62(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5824
5838
|
/* @__PURE__ */ jsxs27("div", { className: "k-slider-track-wrap", children: [
|
|
5825
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5839
|
+
type !== "gradient" && /* @__PURE__ */ jsx62("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5826
5840
|
/* @__PURE__ */ jsxs27("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5827
|
-
/* @__PURE__ */
|
|
5828
|
-
type === "range" && /* @__PURE__ */
|
|
5841
|
+
/* @__PURE__ */ jsx62("div", { className: "k-slider-selection" }),
|
|
5842
|
+
type === "range" && /* @__PURE__ */ jsx62("span", { className: classNames(
|
|
5829
5843
|
"k-draghandle",
|
|
5830
5844
|
"k-draghandle-start",
|
|
5831
5845
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5834,7 +5848,7 @@ var Slider = (props) => {
|
|
|
5834
5848
|
active
|
|
5835
5849
|
})
|
|
5836
5850
|
) }),
|
|
5837
|
-
/* @__PURE__ */
|
|
5851
|
+
/* @__PURE__ */ jsx62("span", { className: classNames(
|
|
5838
5852
|
"k-draghandle",
|
|
5839
5853
|
`k-draghandle-${handlePosition}`,
|
|
5840
5854
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5845,7 +5859,7 @@ var Slider = (props) => {
|
|
|
5845
5859
|
) })
|
|
5846
5860
|
] })
|
|
5847
5861
|
] }),
|
|
5848
|
-
type !== "gradient" && /* @__PURE__ */
|
|
5862
|
+
type !== "gradient" && /* @__PURE__ */ jsx62(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5849
5863
|
] });
|
|
5850
5864
|
};
|
|
5851
5865
|
Slider.states = states28;
|
|
@@ -5854,7 +5868,7 @@ Slider.className = SLIDER_CLASSNAME;
|
|
|
5854
5868
|
Slider.defaultProps = defaultProps24;
|
|
5855
5869
|
|
|
5856
5870
|
// src/slider/slider-tick.tsx
|
|
5857
|
-
import { jsx as
|
|
5871
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5858
5872
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5859
5873
|
var states29 = [];
|
|
5860
5874
|
var options28 = {};
|
|
@@ -5869,14 +5883,14 @@ var SliderTick = (props) => {
|
|
|
5869
5883
|
large,
|
|
5870
5884
|
text
|
|
5871
5885
|
} = props;
|
|
5872
|
-
return /* @__PURE__ */
|
|
5886
|
+
return /* @__PURE__ */ jsx63("li", { className: classNames(
|
|
5873
5887
|
props.className,
|
|
5874
5888
|
SLIDER_TICK_CLASSNAME,
|
|
5875
5889
|
{
|
|
5876
5890
|
[`k-tick-${orientation}`]: orientation,
|
|
5877
5891
|
"k-tick-large": large
|
|
5878
5892
|
}
|
|
5879
|
-
), style, children: label && /* @__PURE__ */
|
|
5893
|
+
), style, children: label && /* @__PURE__ */ jsx63("span", { className: "k-label", children: text }) });
|
|
5880
5894
|
};
|
|
5881
5895
|
SliderTick.states = states29;
|
|
5882
5896
|
SliderTick.options = options28;
|
|
@@ -5884,7 +5898,7 @@ SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
|
5884
5898
|
SliderTick.defaultProps = defaultProps25;
|
|
5885
5899
|
|
|
5886
5900
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5887
|
-
import { jsx as
|
|
5901
|
+
import { jsx as jsx64, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5888
5902
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5889
5903
|
var states30 = [];
|
|
5890
5904
|
var options29 = {
|
|
@@ -5910,7 +5924,7 @@ var SpinButton = (props) => {
|
|
|
5910
5924
|
props.className
|
|
5911
5925
|
),
|
|
5912
5926
|
children: [
|
|
5913
|
-
/* @__PURE__ */
|
|
5927
|
+
/* @__PURE__ */ jsx64(
|
|
5914
5928
|
Button,
|
|
5915
5929
|
{
|
|
5916
5930
|
className: "k-spinner-increase",
|
|
@@ -5920,7 +5934,7 @@ var SpinButton = (props) => {
|
|
|
5920
5934
|
fillMode
|
|
5921
5935
|
}
|
|
5922
5936
|
),
|
|
5923
|
-
/* @__PURE__ */
|
|
5937
|
+
/* @__PURE__ */ jsx64(
|
|
5924
5938
|
Button,
|
|
5925
5939
|
{
|
|
5926
5940
|
className: "k-spinner-decrease",
|
|
@@ -5940,7 +5954,7 @@ SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
|
5940
5954
|
SpinButton.defaultProps = defaultProps26;
|
|
5941
5955
|
|
|
5942
5956
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5943
|
-
import { jsx as
|
|
5957
|
+
import { jsx as jsx65, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5944
5958
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5945
5959
|
var states31 = [
|
|
5946
5960
|
States.hover,
|
|
@@ -6000,8 +6014,8 @@ var NumericTextbox = (props) => {
|
|
|
6000
6014
|
readonly,
|
|
6001
6015
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6002
6016
|
children: [
|
|
6003
|
-
/* @__PURE__ */
|
|
6004
|
-
/* @__PURE__ */
|
|
6017
|
+
/* @__PURE__ */ jsx65(InputInnerInput, { placeholder, value }),
|
|
6018
|
+
/* @__PURE__ */ jsx65(
|
|
6005
6019
|
InputValidationIcon,
|
|
6006
6020
|
{
|
|
6007
6021
|
valid,
|
|
@@ -6010,14 +6024,14 @@ var NumericTextbox = (props) => {
|
|
|
6010
6024
|
disabled
|
|
6011
6025
|
}
|
|
6012
6026
|
),
|
|
6013
|
-
/* @__PURE__ */
|
|
6027
|
+
/* @__PURE__ */ jsx65(
|
|
6014
6028
|
InputLoadingIcon,
|
|
6015
6029
|
{
|
|
6016
6030
|
loading,
|
|
6017
6031
|
disabled
|
|
6018
6032
|
}
|
|
6019
6033
|
),
|
|
6020
|
-
showClearButton && /* @__PURE__ */
|
|
6034
|
+
showClearButton && /* @__PURE__ */ jsx65(
|
|
6021
6035
|
InputClearValue,
|
|
6022
6036
|
{
|
|
6023
6037
|
loading,
|
|
@@ -6026,7 +6040,7 @@ var NumericTextbox = (props) => {
|
|
|
6026
6040
|
value
|
|
6027
6041
|
}
|
|
6028
6042
|
),
|
|
6029
|
-
showSpinButton && /* @__PURE__ */
|
|
6043
|
+
showSpinButton && /* @__PURE__ */ jsx65(
|
|
6030
6044
|
SpinButton,
|
|
6031
6045
|
{
|
|
6032
6046
|
className: "k-input-spinner",
|
|
@@ -6044,10 +6058,10 @@ NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
|
6044
6058
|
NumericTextbox.defaultProps = defaultProps27;
|
|
6045
6059
|
|
|
6046
6060
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6047
|
-
import { jsx as
|
|
6061
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
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,31 +7705,31 @@ 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-successors.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;
|
|
@@ -7723,49 +7737,49 @@ var styles = `
|
|
|
7723
7737
|
position: relative;
|
|
7724
7738
|
}
|
|
7725
7739
|
`;
|
|
7726
|
-
var gantt_editing_popup_successors_default = () => /* @__PURE__ */ jsxs50(
|
|
7727
|
-
/* @__PURE__ */
|
|
7728
|
-
/* @__PURE__ */
|
|
7729
|
-
/* @__PURE__ */
|
|
7730
|
-
/* @__PURE__ */
|
|
7731
|
-
/* @__PURE__ */
|
|
7732
|
-
/* @__PURE__ */
|
|
7740
|
+
var gantt_editing_popup_successors_default = () => /* @__PURE__ */ jsxs50(Fragment32, { children: [
|
|
7741
|
+
/* @__PURE__ */ jsx120("style", { children: styles }),
|
|
7742
|
+
/* @__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: [
|
|
7743
|
+
/* @__PURE__ */ jsx120(Button, { icon: "save", themeColor: "primary", children: "Save" }),
|
|
7744
|
+
/* @__PURE__ */ jsx120(Button, { icon: "cancel", children: "Cancel" }),
|
|
7745
|
+
/* @__PURE__ */ jsx120("span", { className: "k-spacer" }),
|
|
7746
|
+
/* @__PURE__ */ jsx120(Button, { icon: "trash", fillMode: "flat", themeColor: "primary", children: "Delete" })
|
|
7733
7747
|
] }), children: /* @__PURE__ */ jsxs50("div", { className: "k-tabstrip k-tabstrip-top", children: [
|
|
7734
|
-
/* @__PURE__ */
|
|
7735
|
-
/* @__PURE__ */
|
|
7736
|
-
/* @__PURE__ */
|
|
7737
|
-
/* @__PURE__ */
|
|
7738
|
-
/* @__PURE__ */
|
|
7748
|
+
/* @__PURE__ */ jsx120("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs50("ul", { className: "k-reset k-tabstrip-items", children: [
|
|
7749
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item k-first", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "General" }) }),
|
|
7750
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "Resources" }) }),
|
|
7751
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "Predecessors" }) }),
|
|
7752
|
+
/* @__PURE__ */ jsx120("li", { className: "k-item k-last k-active", children: /* @__PURE__ */ jsx120("span", { className: "k-link", children: "Successors" }) })
|
|
7739
7753
|
] }) }),
|
|
7740
|
-
/* @__PURE__ */
|
|
7754
|
+
/* @__PURE__ */ jsx120("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs50("div", { className: "k-grid k-grid-md k-grid-no-scrollbar", children: [
|
|
7741
7755
|
/* @__PURE__ */ jsxs50(Toolbar, { className: "k-grid-toolbar", children: [
|
|
7742
|
-
/* @__PURE__ */
|
|
7743
|
-
/* @__PURE__ */
|
|
7756
|
+
/* @__PURE__ */ jsx120(Button, { icon: "plus", children: "Add" }),
|
|
7757
|
+
/* @__PURE__ */ jsx120(Button, { icon: "minus", children: "Remove" })
|
|
7744
7758
|
] }),
|
|
7745
|
-
/* @__PURE__ */
|
|
7759
|
+
/* @__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: [
|
|
7746
7760
|
/* @__PURE__ */ jsxs50("colgroup", { children: [
|
|
7747
|
-
/* @__PURE__ */
|
|
7748
|
-
/* @__PURE__ */
|
|
7761
|
+
/* @__PURE__ */ jsx120("col", {}),
|
|
7762
|
+
/* @__PURE__ */ jsx120("col", {})
|
|
7749
7763
|
] }),
|
|
7750
|
-
/* @__PURE__ */
|
|
7751
|
-
/* @__PURE__ */
|
|
7752
|
-
/* @__PURE__ */
|
|
7753
|
-
/* @__PURE__ */
|
|
7764
|
+
/* @__PURE__ */ jsx120("thead", { className: "k-table-thead", children: /* @__PURE__ */ jsxs50("tr", { className: "k-table-row", children: [
|
|
7765
|
+
/* @__PURE__ */ jsx120("th", { className: "k-table-th k-header", children: /* @__PURE__ */ jsx120("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsxs50("span", { className: "k-link", children: [
|
|
7766
|
+
/* @__PURE__ */ jsx120("span", { className: "k-column-title", children: "Name" }),
|
|
7767
|
+
/* @__PURE__ */ jsx120("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx120(Icon, { icon: "sort-asc-small" }) })
|
|
7754
7768
|
] }) }) }),
|
|
7755
|
-
/* @__PURE__ */
|
|
7756
|
-
/* @__PURE__ */
|
|
7757
|
-
/* @__PURE__ */
|
|
7769
|
+
/* @__PURE__ */ jsx120("th", { className: "k-table-th k-header", children: /* @__PURE__ */ jsx120("span", { className: "k-cell-inner", children: /* @__PURE__ */ jsxs50("span", { className: "k-link", children: [
|
|
7770
|
+
/* @__PURE__ */ jsx120("span", { className: "k-column-title", children: "Type" }),
|
|
7771
|
+
/* @__PURE__ */ jsx120("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx120(Icon, { icon: "sort-asc-small" }) })
|
|
7758
7772
|
] }) }) })
|
|
7759
7773
|
] }) })
|
|
7760
7774
|
] }) }) }),
|
|
7761
|
-
/* @__PURE__ */
|
|
7775
|
+
/* @__PURE__ */ jsx120("div", { className: "k-grid-content", children: /* @__PURE__ */ jsxs50("table", { className: "k-table k-table-md k-grid-table", children: [
|
|
7762
7776
|
/* @__PURE__ */ jsxs50("colgroup", { children: [
|
|
7763
|
-
/* @__PURE__ */
|
|
7764
|
-
/* @__PURE__ */
|
|
7777
|
+
/* @__PURE__ */ jsx120("col", {}),
|
|
7778
|
+
/* @__PURE__ */ jsx120("col", {})
|
|
7765
7779
|
] }),
|
|
7766
|
-
/* @__PURE__ */
|
|
7767
|
-
/* @__PURE__ */
|
|
7768
|
-
/* @__PURE__ */
|
|
7780
|
+
/* @__PURE__ */ jsx120("tbody", { className: "k-table-tbody", children: /* @__PURE__ */ jsxs50("tr", { className: "k-table-row", children: [
|
|
7781
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsx120(DropdownList, { placeholder: "-Select task-" }) }),
|
|
7782
|
+
/* @__PURE__ */ jsx120("td", { className: "k-table-td", children: /* @__PURE__ */ jsx120(DropdownList, { placeholder: "Finish-Start" }) })
|
|
7769
7783
|
] }) })
|
|
7770
7784
|
] }) })
|
|
7771
7785
|
] }) })
|