@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -4513,8 +4513,22 @@ Window.options = options6;
|
|
|
4513
4513
|
Window.className = WINDOW_CLASSNAME;
|
|
4514
4514
|
Window.defaultProps = defaultProps6;
|
|
4515
4515
|
|
|
4516
|
+
// src/window/templates/window-normal.tsx
|
|
4517
|
+
import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
|
|
4518
|
+
var WindowNormal = (props) => /* @__PURE__ */ jsx10(
|
|
4519
|
+
Window,
|
|
4520
|
+
{
|
|
4521
|
+
title: "Title",
|
|
4522
|
+
actions: ["window-minimize", "window", "x"],
|
|
4523
|
+
children: [
|
|
4524
|
+
/* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
|
|
4525
|
+
],
|
|
4526
|
+
...props
|
|
4527
|
+
}
|
|
4528
|
+
);
|
|
4529
|
+
|
|
4516
4530
|
// src/form/form-field.tsx
|
|
4517
|
-
import { jsx as
|
|
4531
|
+
import { jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4518
4532
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
4519
4533
|
var states7 = [
|
|
4520
4534
|
States.disabled
|
|
@@ -4550,14 +4564,14 @@ var FormField = (props) => {
|
|
|
4550
4564
|
"k-form-label"
|
|
4551
4565
|
), children: [
|
|
4552
4566
|
label,
|
|
4553
|
-
optional && /* @__PURE__ */
|
|
4554
|
-
info && /* @__PURE__ */
|
|
4567
|
+
optional && /* @__PURE__ */ jsx11("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
4568
|
+
info && /* @__PURE__ */ jsx11("span", { className: "k-field-info", children: "(field info)" })
|
|
4555
4569
|
] }),
|
|
4556
|
-
orientation === "horizontal" && !label && /* @__PURE__ */
|
|
4570
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ jsx11("span", { className: "k-label k-form-label k-label-empty" }),
|
|
4557
4571
|
/* @__PURE__ */ jsxs3("div", { className: "k-form-field-wrap", children: [
|
|
4558
4572
|
editor,
|
|
4559
|
-
hint && /* @__PURE__ */
|
|
4560
|
-
error && /* @__PURE__ */
|
|
4573
|
+
hint && /* @__PURE__ */ jsx11("div", { className: "k-form-hint", children: hint }),
|
|
4574
|
+
error && /* @__PURE__ */ jsx11("div", { className: "k-form-error", children: error })
|
|
4561
4575
|
] })
|
|
4562
4576
|
]
|
|
4563
4577
|
}
|
|
@@ -4566,7 +4580,7 @@ var FormField = (props) => {
|
|
|
4566
4580
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
4567
4581
|
|
|
4568
4582
|
// src/form/fieldset.tsx
|
|
4569
|
-
import { Fragment as
|
|
4583
|
+
import { Fragment as Fragment7, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4570
4584
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
4571
4585
|
var Fieldset = (props) => {
|
|
4572
4586
|
const {
|
|
@@ -4577,8 +4591,8 @@ var Fieldset = (props) => {
|
|
|
4577
4591
|
gapY
|
|
4578
4592
|
} = props;
|
|
4579
4593
|
return /* @__PURE__ */ jsxs4("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
4580
|
-
legend && /* @__PURE__ */
|
|
4581
|
-
layout === "grid" ? /* @__PURE__ */
|
|
4594
|
+
legend && /* @__PURE__ */ jsx12("legend", { className: "k-form-legend", children: legend }),
|
|
4595
|
+
layout === "grid" ? /* @__PURE__ */ jsx12("div", { className: classNames(
|
|
4582
4596
|
"k-form-layout",
|
|
4583
4597
|
"k-d-grid",
|
|
4584
4598
|
{
|
|
@@ -4586,13 +4600,13 @@ var Fieldset = (props) => {
|
|
|
4586
4600
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4587
4601
|
[`k-gap-y-${gapY}`]: gapY
|
|
4588
4602
|
}
|
|
4589
|
-
), children: props.children }) : /* @__PURE__ */
|
|
4603
|
+
), children: props.children }) : /* @__PURE__ */ jsx12(Fragment7, { children: props.children })
|
|
4590
4604
|
] });
|
|
4591
4605
|
};
|
|
4592
4606
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
4593
4607
|
|
|
4594
4608
|
// src/form/form.spec.tsx
|
|
4595
|
-
import { Fragment as
|
|
4609
|
+
import { Fragment as Fragment8, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4596
4610
|
import { createElement } from "react";
|
|
4597
4611
|
var FORM_CLASSNAME = "k-form";
|
|
4598
4612
|
var states8 = [];
|
|
@@ -4616,7 +4630,7 @@ var Form = (props) => {
|
|
|
4616
4630
|
tag = defaultProps7.tag,
|
|
4617
4631
|
children
|
|
4618
4632
|
} = props;
|
|
4619
|
-
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */
|
|
4633
|
+
const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx13("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx13("div", { className: className13, children: children2 });
|
|
4620
4634
|
const formChildren = [];
|
|
4621
4635
|
if (children) {
|
|
4622
4636
|
if (Array.isArray(children)) {
|
|
@@ -4645,7 +4659,7 @@ var Form = (props) => {
|
|
|
4645
4659
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
4646
4660
|
}
|
|
4647
4661
|
), children: [
|
|
4648
|
-
layout === "grid" ? /* @__PURE__ */
|
|
4662
|
+
layout === "grid" ? /* @__PURE__ */ jsx13("div", { className: classNames(
|
|
4649
4663
|
"k-form-layout",
|
|
4650
4664
|
"k-d-grid",
|
|
4651
4665
|
{
|
|
@@ -4653,8 +4667,8 @@ var Form = (props) => {
|
|
|
4653
4667
|
[`k-gap-x-${gapX}`]: gapX,
|
|
4654
4668
|
[`k-gap-y-${gapY}`]: gapY
|
|
4655
4669
|
}
|
|
4656
|
-
), children: formChildren }) : /* @__PURE__ */
|
|
4657
|
-
formButtons && /* @__PURE__ */
|
|
4670
|
+
), children: formChildren }) : /* @__PURE__ */ jsx13(Fragment8, { children: formChildren }),
|
|
4671
|
+
formButtons && /* @__PURE__ */ jsx13("div", { className: "k-form-buttons", children: formButtons })
|
|
4658
4672
|
] });
|
|
4659
4673
|
};
|
|
4660
4674
|
Form.states = states8;
|
|
@@ -4663,7 +4677,7 @@ Form.className = FORM_CLASSNAME;
|
|
|
4663
4677
|
Form.defaultProps = defaultProps7;
|
|
4664
4678
|
|
|
4665
4679
|
// src/input/input.spec.tsx
|
|
4666
|
-
import { jsx as
|
|
4680
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4667
4681
|
var INPUT_CLASSNAME = `k-input`;
|
|
4668
4682
|
var states9 = [
|
|
4669
4683
|
States.hover,
|
|
@@ -4699,7 +4713,7 @@ var Input = (props) => {
|
|
|
4699
4713
|
fillMode = defaultProps8.fillMode,
|
|
4700
4714
|
...other
|
|
4701
4715
|
} = props;
|
|
4702
|
-
return /* @__PURE__ */
|
|
4716
|
+
return /* @__PURE__ */ jsx14(
|
|
4703
4717
|
"span",
|
|
4704
4718
|
{
|
|
4705
4719
|
...other,
|
|
@@ -4718,7 +4732,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
4718
4732
|
Input.defaultProps = defaultProps8;
|
|
4719
4733
|
|
|
4720
4734
|
// src/input/picker.spec.tsx
|
|
4721
|
-
import { jsx as
|
|
4735
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4722
4736
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4723
4737
|
var pickerStates = [
|
|
4724
4738
|
States.hover,
|
|
@@ -4754,7 +4768,7 @@ var Picker = (props) => {
|
|
|
4754
4768
|
fillMode = defaultProps9.fillMode,
|
|
4755
4769
|
...other
|
|
4756
4770
|
} = props;
|
|
4757
|
-
return /* @__PURE__ */
|
|
4771
|
+
return /* @__PURE__ */ jsx15(
|
|
4758
4772
|
"span",
|
|
4759
4773
|
{
|
|
4760
4774
|
...other,
|
|
@@ -4774,7 +4788,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
4774
4788
|
Picker.defaultProps = defaultProps9;
|
|
4775
4789
|
|
|
4776
4790
|
// src/input/input-clear-value.tsx
|
|
4777
|
-
import { Fragment as
|
|
4791
|
+
import { Fragment as Fragment9, jsx as jsx16 } from "react/jsx-runtime";
|
|
4778
4792
|
var className = `k-clear-value`;
|
|
4779
4793
|
var states10 = [
|
|
4780
4794
|
States.disabled,
|
|
@@ -4790,16 +4804,16 @@ var InputClearValue = (props) => {
|
|
|
4790
4804
|
value
|
|
4791
4805
|
} = props;
|
|
4792
4806
|
if (disabled || readonly || loading || !value) {
|
|
4793
|
-
return /* @__PURE__ */
|
|
4807
|
+
return /* @__PURE__ */ jsx16(Fragment9, {});
|
|
4794
4808
|
}
|
|
4795
|
-
return /* @__PURE__ */
|
|
4809
|
+
return /* @__PURE__ */ jsx16("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx16(Icon, { icon: "x" }) });
|
|
4796
4810
|
};
|
|
4797
4811
|
InputClearValue.states = states10;
|
|
4798
4812
|
InputClearValue.options = options9;
|
|
4799
4813
|
InputClearValue.className = className;
|
|
4800
4814
|
|
|
4801
4815
|
// src/input/input-inner-input.tsx
|
|
4802
|
-
import { jsx as
|
|
4816
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4803
4817
|
var className2 = `k-input-inner`;
|
|
4804
4818
|
var states11 = [];
|
|
4805
4819
|
var options10 = {};
|
|
@@ -4817,7 +4831,7 @@ var InputInnerInput = (props) => {
|
|
|
4817
4831
|
autocomplete = defaultProps10.autocomplete,
|
|
4818
4832
|
...other
|
|
4819
4833
|
} = props;
|
|
4820
|
-
return /* @__PURE__ */
|
|
4834
|
+
return /* @__PURE__ */ jsx17(
|
|
4821
4835
|
"input",
|
|
4822
4836
|
{
|
|
4823
4837
|
...other,
|
|
@@ -4834,7 +4848,7 @@ InputInnerInput.options = options10;
|
|
|
4834
4848
|
InputInnerInput.className = className2;
|
|
4835
4849
|
|
|
4836
4850
|
// src/input/input-inner-span.tsx
|
|
4837
|
-
import { jsx as
|
|
4851
|
+
import { jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4838
4852
|
var className3 = `k-input-inner`;
|
|
4839
4853
|
var states12 = [];
|
|
4840
4854
|
var options11 = {};
|
|
@@ -4854,9 +4868,9 @@ var InputInnerSpan = (props) => {
|
|
|
4854
4868
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4855
4869
|
children: [
|
|
4856
4870
|
valueIcon,
|
|
4857
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4871
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx18(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4858
4872
|
showValue && !value && placeholder,
|
|
4859
|
-
showValue && value && /* @__PURE__ */
|
|
4873
|
+
showValue && value && /* @__PURE__ */ jsx18("span", { className: "k-input-value-text", children: value })
|
|
4860
4874
|
]
|
|
4861
4875
|
}
|
|
4862
4876
|
);
|
|
@@ -4866,7 +4880,7 @@ InputInnerSpan.options = options11;
|
|
|
4866
4880
|
InputInnerSpan.className = className3;
|
|
4867
4881
|
|
|
4868
4882
|
// src/input/input-inner-textarea.tsx
|
|
4869
|
-
import { jsx as
|
|
4883
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
4870
4884
|
var defaultProps11 = {
|
|
4871
4885
|
value: "",
|
|
4872
4886
|
placeholder: ""
|
|
@@ -4881,7 +4895,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4881
4895
|
rows,
|
|
4882
4896
|
...other
|
|
4883
4897
|
} = props;
|
|
4884
|
-
return /* @__PURE__ */
|
|
4898
|
+
return /* @__PURE__ */ jsx19(
|
|
4885
4899
|
"textarea",
|
|
4886
4900
|
{
|
|
4887
4901
|
...other,
|
|
@@ -4897,7 +4911,7 @@ InputInnerTextarea.options = options12;
|
|
|
4897
4911
|
InputInnerTextarea.className = className4;
|
|
4898
4912
|
|
|
4899
4913
|
// src/input/input-loading-icon.tsx
|
|
4900
|
-
import { Fragment as
|
|
4914
|
+
import { Fragment as Fragment10, jsx as jsx20 } from "react/jsx-runtime";
|
|
4901
4915
|
var className5 = `k-input-loading-icon`;
|
|
4902
4916
|
var states14 = [
|
|
4903
4917
|
States.disabled,
|
|
@@ -4909,13 +4923,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4909
4923
|
loading
|
|
4910
4924
|
} = props;
|
|
4911
4925
|
if (disabled || !loading) {
|
|
4912
|
-
return /* @__PURE__ */
|
|
4926
|
+
return /* @__PURE__ */ jsx20(Fragment10, {});
|
|
4913
4927
|
}
|
|
4914
|
-
return /* @__PURE__ */
|
|
4928
|
+
return /* @__PURE__ */ jsx20("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
4915
4929
|
};
|
|
4916
4930
|
|
|
4917
4931
|
// src/input/input-validation-icon.tsx
|
|
4918
|
-
import { Fragment as
|
|
4932
|
+
import { Fragment as Fragment11, jsx as jsx21 } from "react/jsx-runtime";
|
|
4919
4933
|
var className6 = `k-input-validation-icon`;
|
|
4920
4934
|
var states15 = [
|
|
4921
4935
|
States.valid,
|
|
@@ -4934,39 +4948,39 @@ var InputValidationIcon = (props) => {
|
|
|
4934
4948
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4935
4949
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4936
4950
|
if (disabled || loading || !renderValidationIcon) {
|
|
4937
|
-
return /* @__PURE__ */
|
|
4951
|
+
return /* @__PURE__ */ jsx21(Fragment11, {});
|
|
4938
4952
|
}
|
|
4939
|
-
return /* @__PURE__ */
|
|
4953
|
+
return /* @__PURE__ */ jsx21(Icon, { className: classNames(className6), icon: iconName });
|
|
4940
4954
|
};
|
|
4941
4955
|
InputValidationIcon.states = states15;
|
|
4942
4956
|
InputValidationIcon.options = options13;
|
|
4943
4957
|
InputValidationIcon.className = className6;
|
|
4944
4958
|
|
|
4945
4959
|
// src/input/input-prefix.tsx
|
|
4946
|
-
import { Fragment as
|
|
4960
|
+
import { Fragment as Fragment12, jsx as jsx22 } from "react/jsx-runtime";
|
|
4947
4961
|
var className7 = `k-input-prefix`;
|
|
4948
4962
|
var InputPrefix = (props) => {
|
|
4949
4963
|
if (!props.children) {
|
|
4950
|
-
return /* @__PURE__ */
|
|
4964
|
+
return /* @__PURE__ */ jsx22(Fragment12, {});
|
|
4951
4965
|
}
|
|
4952
|
-
return /* @__PURE__ */
|
|
4966
|
+
return /* @__PURE__ */ jsx22("span", { className: classNames(className7, props.className), children: props.children });
|
|
4953
4967
|
};
|
|
4954
4968
|
|
|
4955
4969
|
// src/input/input-suffix.tsx
|
|
4956
|
-
import { Fragment as
|
|
4970
|
+
import { Fragment as Fragment13, jsx as jsx23 } from "react/jsx-runtime";
|
|
4957
4971
|
var className8 = `k-input-suffix`;
|
|
4958
4972
|
var InputSuffix = (props) => {
|
|
4959
4973
|
if (!props.children) {
|
|
4960
|
-
return /* @__PURE__ */
|
|
4974
|
+
return /* @__PURE__ */ jsx23(Fragment13, {});
|
|
4961
4975
|
}
|
|
4962
|
-
return /* @__PURE__ */
|
|
4976
|
+
return /* @__PURE__ */ jsx23("span", { className: classNames(className8, props.className), children: props.children });
|
|
4963
4977
|
};
|
|
4964
4978
|
|
|
4965
4979
|
// src/input/input-separator.tsx
|
|
4966
|
-
import { jsx as
|
|
4980
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4967
4981
|
|
|
4968
4982
|
// src/textbox/textbox.spec.tsx
|
|
4969
|
-
import { jsx as
|
|
4983
|
+
import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4970
4984
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4971
4985
|
var states16 = [
|
|
4972
4986
|
States.hover,
|
|
@@ -5026,9 +5040,9 @@ var Textbox = (props) => {
|
|
|
5026
5040
|
readonly,
|
|
5027
5041
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5028
5042
|
children: [
|
|
5029
|
-
/* @__PURE__ */
|
|
5030
|
-
/* @__PURE__ */
|
|
5031
|
-
/* @__PURE__ */
|
|
5043
|
+
/* @__PURE__ */ jsx25(InputPrefix, { children: prefix }),
|
|
5044
|
+
/* @__PURE__ */ jsx25(InputInnerInput, { placeholder, value }),
|
|
5045
|
+
/* @__PURE__ */ jsx25(
|
|
5032
5046
|
InputValidationIcon,
|
|
5033
5047
|
{
|
|
5034
5048
|
valid,
|
|
@@ -5037,14 +5051,14 @@ var Textbox = (props) => {
|
|
|
5037
5051
|
disabled
|
|
5038
5052
|
}
|
|
5039
5053
|
),
|
|
5040
|
-
/* @__PURE__ */
|
|
5054
|
+
/* @__PURE__ */ jsx25(
|
|
5041
5055
|
InputLoadingIcon,
|
|
5042
5056
|
{
|
|
5043
5057
|
loading,
|
|
5044
5058
|
disabled
|
|
5045
5059
|
}
|
|
5046
5060
|
),
|
|
5047
|
-
showClearButton && /* @__PURE__ */
|
|
5061
|
+
showClearButton && /* @__PURE__ */ jsx25(
|
|
5048
5062
|
InputClearValue,
|
|
5049
5063
|
{
|
|
5050
5064
|
loading,
|
|
@@ -5053,7 +5067,7 @@ var Textbox = (props) => {
|
|
|
5053
5067
|
value
|
|
5054
5068
|
}
|
|
5055
5069
|
),
|
|
5056
|
-
/* @__PURE__ */
|
|
5070
|
+
/* @__PURE__ */ jsx25(InputSuffix, { children: suffix })
|
|
5057
5071
|
]
|
|
5058
5072
|
}
|
|
5059
5073
|
);
|
|
@@ -5064,16 +5078,16 @@ Textbox.className = TEXTBOX_CLASSNAME;
|
|
|
5064
5078
|
Textbox.defaultProps = defaultProps12;
|
|
5065
5079
|
|
|
5066
5080
|
// src/textbox/templates/textbox-normal.tsx
|
|
5067
|
-
import { jsx as
|
|
5081
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
5068
5082
|
|
|
5069
5083
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5070
|
-
import { Fragment as
|
|
5084
|
+
import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5071
5085
|
|
|
5072
5086
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5073
|
-
import { Fragment as
|
|
5087
|
+
import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5074
5088
|
|
|
5075
5089
|
// src/animation-container/animation-container.spec.tsx
|
|
5076
|
-
import { jsx as
|
|
5090
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5077
5091
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5078
5092
|
var states17 = [];
|
|
5079
5093
|
var options15 = {};
|
|
@@ -5087,7 +5101,7 @@ var AnimationContainer = (props) => {
|
|
|
5087
5101
|
offset,
|
|
5088
5102
|
...other
|
|
5089
5103
|
} = props;
|
|
5090
|
-
return /* @__PURE__ */
|
|
5104
|
+
return /* @__PURE__ */ jsx29(
|
|
5091
5105
|
"div",
|
|
5092
5106
|
{
|
|
5093
5107
|
...other,
|
|
@@ -5099,7 +5113,7 @@ var AnimationContainer = (props) => {
|
|
|
5099
5113
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5100
5114
|
}
|
|
5101
5115
|
),
|
|
5102
|
-
children: /* @__PURE__ */
|
|
5116
|
+
children: /* @__PURE__ */ jsx29("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5103
5117
|
}
|
|
5104
5118
|
);
|
|
5105
5119
|
};
|
|
@@ -5109,7 +5123,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5109
5123
|
AnimationContainer.defaultProps = defaultProps13;
|
|
5110
5124
|
|
|
5111
5125
|
// src/popup/popup.spec.tsx
|
|
5112
|
-
import { jsx as
|
|
5126
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5113
5127
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5114
5128
|
var states18 = [];
|
|
5115
5129
|
var options16 = {};
|
|
@@ -5122,12 +5136,12 @@ var Popup = (props) => {
|
|
|
5122
5136
|
positionMode,
|
|
5123
5137
|
...other
|
|
5124
5138
|
} = props;
|
|
5125
|
-
return /* @__PURE__ */
|
|
5139
|
+
return /* @__PURE__ */ jsx30(
|
|
5126
5140
|
AnimationContainer,
|
|
5127
5141
|
{
|
|
5128
5142
|
positionMode,
|
|
5129
5143
|
offset,
|
|
5130
|
-
children: /* @__PURE__ */
|
|
5144
|
+
children: /* @__PURE__ */ jsx30("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5131
5145
|
}
|
|
5132
5146
|
);
|
|
5133
5147
|
};
|
|
@@ -5137,7 +5151,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5137
5151
|
Popup.defaultProps = defaultProps14;
|
|
5138
5152
|
|
|
5139
5153
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5140
|
-
import { Fragment as
|
|
5154
|
+
import { Fragment as Fragment16, jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5141
5155
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5142
5156
|
var states19 = [
|
|
5143
5157
|
States.hover,
|
|
@@ -5185,7 +5199,7 @@ var DropdownList = (props) => {
|
|
|
5185
5199
|
opened,
|
|
5186
5200
|
...other
|
|
5187
5201
|
} = props;
|
|
5188
|
-
return /* @__PURE__ */ jsxs10(
|
|
5202
|
+
return /* @__PURE__ */ jsxs10(Fragment16, { children: [
|
|
5189
5203
|
/* @__PURE__ */ jsxs10(
|
|
5190
5204
|
Picker,
|
|
5191
5205
|
{
|
|
@@ -5209,8 +5223,8 @@ var DropdownList = (props) => {
|
|
|
5209
5223
|
}
|
|
5210
5224
|
),
|
|
5211
5225
|
children: [
|
|
5212
|
-
/* @__PURE__ */
|
|
5213
|
-
/* @__PURE__ */
|
|
5226
|
+
/* @__PURE__ */ jsx31(InputPrefix, { children: prefix }),
|
|
5227
|
+
/* @__PURE__ */ jsx31(
|
|
5214
5228
|
InputInnerSpan,
|
|
5215
5229
|
{
|
|
5216
5230
|
placeholder,
|
|
@@ -5219,7 +5233,7 @@ var DropdownList = (props) => {
|
|
|
5219
5233
|
valueIconName
|
|
5220
5234
|
}
|
|
5221
5235
|
),
|
|
5222
|
-
/* @__PURE__ */
|
|
5236
|
+
/* @__PURE__ */ jsx31(
|
|
5223
5237
|
InputValidationIcon,
|
|
5224
5238
|
{
|
|
5225
5239
|
valid,
|
|
@@ -5228,15 +5242,15 @@ var DropdownList = (props) => {
|
|
|
5228
5242
|
disabled
|
|
5229
5243
|
}
|
|
5230
5244
|
),
|
|
5231
|
-
/* @__PURE__ */
|
|
5245
|
+
/* @__PURE__ */ jsx31(
|
|
5232
5246
|
InputLoadingIcon,
|
|
5233
5247
|
{
|
|
5234
5248
|
loading,
|
|
5235
5249
|
disabled
|
|
5236
5250
|
}
|
|
5237
5251
|
),
|
|
5238
|
-
/* @__PURE__ */
|
|
5239
|
-
/* @__PURE__ */
|
|
5252
|
+
/* @__PURE__ */ jsx31(InputSuffix, { children: suffix }),
|
|
5253
|
+
/* @__PURE__ */ jsx31(
|
|
5240
5254
|
Button,
|
|
5241
5255
|
{
|
|
5242
5256
|
className: "k-input-button",
|
|
@@ -5249,7 +5263,7 @@ var DropdownList = (props) => {
|
|
|
5249
5263
|
]
|
|
5250
5264
|
}
|
|
5251
5265
|
),
|
|
5252
|
-
opened && popup && /* @__PURE__ */
|
|
5266
|
+
opened && popup && /* @__PURE__ */ jsx31(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5253
5267
|
] });
|
|
5254
5268
|
};
|
|
5255
5269
|
DropdownList.states = states19;
|
|
@@ -5258,15 +5272,15 @@ DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
|
5258
5272
|
DropdownList.defaultProps = defaultProps15;
|
|
5259
5273
|
|
|
5260
5274
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5261
|
-
import { jsx as
|
|
5275
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5262
5276
|
|
|
5263
5277
|
// src/nodata/nodata.tsx
|
|
5264
|
-
import { jsx as
|
|
5278
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5265
5279
|
var className9 = `k-nodata`;
|
|
5266
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5280
|
+
var NoData = (props) => /* @__PURE__ */ jsx33("span", { className: classNames(className9, props.className), children: props.children });
|
|
5267
5281
|
|
|
5268
5282
|
// src/list/list.spec.tsx
|
|
5269
|
-
import { jsx as
|
|
5283
|
+
import { jsx as jsx34, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5270
5284
|
var LIST_CLASSNAME = `k-list`;
|
|
5271
5285
|
var states20 = [];
|
|
5272
5286
|
var options18 = {
|
|
@@ -5294,7 +5308,7 @@ var List = (props) => {
|
|
|
5294
5308
|
listHeader = child.props.label;
|
|
5295
5309
|
child.props.children.map((optChild, index2) => {
|
|
5296
5310
|
listChildren.push(
|
|
5297
|
-
/* @__PURE__ */
|
|
5311
|
+
/* @__PURE__ */ jsx34(
|
|
5298
5312
|
ListItem,
|
|
5299
5313
|
{
|
|
5300
5314
|
...optChild.props
|
|
@@ -5310,7 +5324,7 @@ var List = (props) => {
|
|
|
5310
5324
|
groupLabel = child.props.label;
|
|
5311
5325
|
}
|
|
5312
5326
|
listChildren.push(
|
|
5313
|
-
/* @__PURE__ */
|
|
5327
|
+
/* @__PURE__ */ jsx34(
|
|
5314
5328
|
ListItem,
|
|
5315
5329
|
{
|
|
5316
5330
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5322,14 +5336,14 @@ var List = (props) => {
|
|
|
5322
5336
|
);
|
|
5323
5337
|
});
|
|
5324
5338
|
}
|
|
5325
|
-
listGroup = /* @__PURE__ */
|
|
5339
|
+
listGroup = /* @__PURE__ */ jsx34(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5326
5340
|
} else if (child.type === ListItem) {
|
|
5327
|
-
listChildren.push(/* @__PURE__ */
|
|
5328
|
-
listContent = /* @__PURE__ */
|
|
5341
|
+
listChildren.push(/* @__PURE__ */ jsx34(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5342
|
+
listContent = /* @__PURE__ */ jsx34(ListContent, { virtualization, children: listChildren });
|
|
5329
5343
|
}
|
|
5330
5344
|
});
|
|
5331
5345
|
} else {
|
|
5332
|
-
listContent = /* @__PURE__ */
|
|
5346
|
+
listContent = /* @__PURE__ */ jsx34(NoData, { children: "No data found." });
|
|
5333
5347
|
}
|
|
5334
5348
|
return /* @__PURE__ */ jsxs11(
|
|
5335
5349
|
"div",
|
|
@@ -5359,7 +5373,7 @@ List.className = LIST_CLASSNAME;
|
|
|
5359
5373
|
List.defaultProps = defaultProps16;
|
|
5360
5374
|
|
|
5361
5375
|
// src/list/list-angular.spec.tsx
|
|
5362
|
-
import { jsx as
|
|
5376
|
+
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5363
5377
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5364
5378
|
var states21 = [];
|
|
5365
5379
|
var options19 = {
|
|
@@ -5386,7 +5400,7 @@ var ListAngular = (props) => {
|
|
|
5386
5400
|
listHeader = child.props.label;
|
|
5387
5401
|
child.props.children.map((optChild, index2) => {
|
|
5388
5402
|
listChildren.push(
|
|
5389
|
-
/* @__PURE__ */
|
|
5403
|
+
/* @__PURE__ */ jsx35(
|
|
5390
5404
|
ListItem,
|
|
5391
5405
|
{
|
|
5392
5406
|
...optChild.props
|
|
@@ -5397,7 +5411,7 @@ var ListAngular = (props) => {
|
|
|
5397
5411
|
});
|
|
5398
5412
|
} else {
|
|
5399
5413
|
listChildren.push(
|
|
5400
|
-
/* @__PURE__ */
|
|
5414
|
+
/* @__PURE__ */ jsx35(
|
|
5401
5415
|
ListGroupItem,
|
|
5402
5416
|
{
|
|
5403
5417
|
...child.props,
|
|
@@ -5408,7 +5422,7 @@ var ListAngular = (props) => {
|
|
|
5408
5422
|
);
|
|
5409
5423
|
child.props.children.map((optChild, index2) => {
|
|
5410
5424
|
listChildren.push(
|
|
5411
|
-
/* @__PURE__ */
|
|
5425
|
+
/* @__PURE__ */ jsx35(
|
|
5412
5426
|
ListItem,
|
|
5413
5427
|
{
|
|
5414
5428
|
...optChild.props
|
|
@@ -5418,14 +5432,14 @@ var ListAngular = (props) => {
|
|
|
5418
5432
|
);
|
|
5419
5433
|
});
|
|
5420
5434
|
}
|
|
5421
|
-
listGroup = /* @__PURE__ */
|
|
5435
|
+
listGroup = /* @__PURE__ */ jsx35(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5422
5436
|
} else if (child.type === ListItem) {
|
|
5423
|
-
listChildren.push(/* @__PURE__ */
|
|
5424
|
-
listContent = /* @__PURE__ */
|
|
5437
|
+
listChildren.push(/* @__PURE__ */ jsx35(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5438
|
+
listContent = /* @__PURE__ */ jsx35(ListContent, { virtualization, children: listChildren });
|
|
5425
5439
|
}
|
|
5426
5440
|
});
|
|
5427
5441
|
} else {
|
|
5428
|
-
listContent = /* @__PURE__ */
|
|
5442
|
+
listContent = /* @__PURE__ */ jsx35(NoData, { children: "No data found." });
|
|
5429
5443
|
}
|
|
5430
5444
|
return /* @__PURE__ */ jsxs12(
|
|
5431
5445
|
"div",
|
|
@@ -5454,7 +5468,7 @@ ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
|
5454
5468
|
ListAngular.defaultProps = defaultProps17;
|
|
5455
5469
|
|
|
5456
5470
|
// src/checkbox/checkbox.spec.tsx
|
|
5457
|
-
import { jsx as
|
|
5471
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5458
5472
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5459
5473
|
var states22 = [
|
|
5460
5474
|
States.hover,
|
|
@@ -5489,7 +5503,7 @@ var Checkbox = (props) => {
|
|
|
5489
5503
|
rounded = defaultProps18.rounded,
|
|
5490
5504
|
...other
|
|
5491
5505
|
} = props;
|
|
5492
|
-
return /* @__PURE__ */
|
|
5506
|
+
return /* @__PURE__ */ jsx36("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx36(
|
|
5493
5507
|
"input",
|
|
5494
5508
|
{
|
|
5495
5509
|
...other,
|
|
@@ -5512,7 +5526,7 @@ Checkbox.className = CHECKBOX_CLASSNAME;
|
|
|
5512
5526
|
Checkbox.defaultProps = defaultProps18;
|
|
5513
5527
|
|
|
5514
5528
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5515
|
-
import { jsx as
|
|
5529
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5516
5530
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5517
5531
|
var states23 = [];
|
|
5518
5532
|
var options21 = {};
|
|
@@ -5524,7 +5538,7 @@ var CheckboxGroup = (props) => {
|
|
|
5524
5538
|
layout = defaultProps19.layout,
|
|
5525
5539
|
...other
|
|
5526
5540
|
} = props;
|
|
5527
|
-
return /* @__PURE__ */
|
|
5541
|
+
return /* @__PURE__ */ jsx37(
|
|
5528
5542
|
"ul",
|
|
5529
5543
|
{
|
|
5530
5544
|
...other,
|
|
@@ -5545,7 +5559,7 @@ CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
|
5545
5559
|
CheckboxGroup.defaultProps = defaultProps19;
|
|
5546
5560
|
|
|
5547
5561
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5548
|
-
import { jsx as
|
|
5562
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5549
5563
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5550
5564
|
var states24 = [];
|
|
5551
5565
|
var options22 = {};
|
|
@@ -5554,7 +5568,7 @@ var CheckboxItem = (props) => {
|
|
|
5554
5568
|
const {
|
|
5555
5569
|
...other
|
|
5556
5570
|
} = props;
|
|
5557
|
-
return /* @__PURE__ */
|
|
5571
|
+
return /* @__PURE__ */ jsx38(
|
|
5558
5572
|
"li",
|
|
5559
5573
|
{
|
|
5560
5574
|
...other,
|
|
@@ -5572,16 +5586,16 @@ CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
|
5572
5586
|
CheckboxItem.defaultProps = defaultProps20;
|
|
5573
5587
|
|
|
5574
5588
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5575
|
-
import { Fragment as
|
|
5589
|
+
import { Fragment as Fragment17, jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5576
5590
|
|
|
5577
5591
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5578
|
-
import { Fragment as
|
|
5592
|
+
import { Fragment as Fragment18, jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5579
5593
|
|
|
5580
5594
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5581
|
-
import { jsx as
|
|
5595
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5582
5596
|
|
|
5583
5597
|
// src/list/list-item.spec.tsx
|
|
5584
|
-
import { jsx as
|
|
5598
|
+
import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5585
5599
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5586
5600
|
var states25 = [
|
|
5587
5601
|
States.hover,
|
|
@@ -5621,10 +5635,10 @@ var ListItem = (props) => {
|
|
|
5621
5635
|
})
|
|
5622
5636
|
),
|
|
5623
5637
|
children: [
|
|
5624
|
-
showCheckbox && /* @__PURE__ */
|
|
5625
|
-
showIcon && /* @__PURE__ */
|
|
5626
|
-
/* @__PURE__ */
|
|
5627
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5638
|
+
showCheckbox && /* @__PURE__ */ jsx42(Checkbox, { checked }),
|
|
5639
|
+
showIcon && /* @__PURE__ */ jsx42(Icon, { icon: iconName }),
|
|
5640
|
+
/* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5641
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx42("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5628
5642
|
]
|
|
5629
5643
|
}
|
|
5630
5644
|
);
|
|
@@ -5635,43 +5649,43 @@ ListItem.className = LISTITEM_CLASSNAME;
|
|
|
5635
5649
|
ListItem.defaultProps = defaultProps21;
|
|
5636
5650
|
|
|
5637
5651
|
// src/list/list-content.tsx
|
|
5638
|
-
import { jsx as
|
|
5652
|
+
import { jsx as jsx43, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5639
5653
|
var className10 = `k-list-content`;
|
|
5640
5654
|
var ListContent = (props) => {
|
|
5641
5655
|
const {
|
|
5642
5656
|
virtualization
|
|
5643
5657
|
} = props;
|
|
5644
5658
|
return /* @__PURE__ */ jsxs16("div", { className: classNames(className10, props.className), children: [
|
|
5645
|
-
/* @__PURE__ */
|
|
5646
|
-
virtualization && /* @__PURE__ */
|
|
5659
|
+
/* @__PURE__ */ jsx43("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5660
|
+
virtualization && /* @__PURE__ */ jsx43("div", { className: "k-height-container", children: /* @__PURE__ */ jsx43("div", {}) })
|
|
5647
5661
|
] });
|
|
5648
5662
|
};
|
|
5649
5663
|
|
|
5650
5664
|
// src/list/list-header.tsx
|
|
5651
|
-
import { jsx as
|
|
5665
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5652
5666
|
var className11 = `k-list-group-sticky-header`;
|
|
5653
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5667
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx44("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx44("div", { className: "k-list-header-text", children: props.children }) });
|
|
5654
5668
|
|
|
5655
5669
|
// src/list/list-group.tsx
|
|
5656
|
-
import { Fragment as
|
|
5670
|
+
import { Fragment as Fragment19, jsx as jsx45, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5657
5671
|
var ListGroup = (props) => {
|
|
5658
5672
|
const {
|
|
5659
5673
|
virtualization,
|
|
5660
5674
|
label
|
|
5661
5675
|
} = props;
|
|
5662
|
-
return /* @__PURE__ */ jsxs17(
|
|
5663
|
-
label && /* @__PURE__ */
|
|
5664
|
-
props.children && /* @__PURE__ */
|
|
5676
|
+
return /* @__PURE__ */ jsxs17(Fragment19, { children: [
|
|
5677
|
+
label && /* @__PURE__ */ jsx45(ListHeader, { children: label }),
|
|
5678
|
+
props.children && /* @__PURE__ */ jsx45(ListContent, { virtualization, children: props.children })
|
|
5665
5679
|
] });
|
|
5666
5680
|
};
|
|
5667
5681
|
|
|
5668
5682
|
// src/list/list-group-item.tsx
|
|
5669
|
-
import { jsx as
|
|
5683
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5670
5684
|
var className12 = `k-list-group-item`;
|
|
5671
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5685
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx46("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx46("span", { className: "k-list-item-text", children: props.children }) });
|
|
5672
5686
|
|
|
5673
5687
|
// src/list/list-option-label.tsx
|
|
5674
|
-
import { jsx as
|
|
5688
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5675
5689
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5676
5690
|
var states26 = [
|
|
5677
5691
|
States.hover,
|
|
@@ -5690,7 +5704,7 @@ var ListOptionLabel = (props) => {
|
|
|
5690
5704
|
disabled,
|
|
5691
5705
|
...other
|
|
5692
5706
|
} = props;
|
|
5693
|
-
return /* @__PURE__ */
|
|
5707
|
+
return /* @__PURE__ */ jsx47(
|
|
5694
5708
|
"div",
|
|
5695
5709
|
{
|
|
5696
5710
|
...other,
|
|
@@ -5713,31 +5727,31 @@ ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
|
5713
5727
|
ListOptionLabel.defaultProps = defaultProps22;
|
|
5714
5728
|
|
|
5715
5729
|
// src/list/templates/list-normal.tsx
|
|
5716
|
-
import { jsx as
|
|
5730
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5717
5731
|
|
|
5718
5732
|
// src/list/templates/list-virtualization.tsx
|
|
5719
|
-
import { jsx as
|
|
5733
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5720
5734
|
|
|
5721
5735
|
// src/list/templates/list-grouping.tsx
|
|
5722
|
-
import { jsx as
|
|
5736
|
+
import { jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5723
5737
|
|
|
5724
5738
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5725
|
-
import { jsx as
|
|
5739
|
+
import { jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5726
5740
|
|
|
5727
5741
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5728
|
-
import { jsx as
|
|
5742
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5729
5743
|
|
|
5730
5744
|
// src/list/templates/list-grouping-angular.tsx
|
|
5731
|
-
import { jsx as
|
|
5745
|
+
import { jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5732
5746
|
|
|
5733
5747
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5734
|
-
import { jsx as
|
|
5748
|
+
import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5735
5749
|
|
|
5736
5750
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5737
|
-
import { jsx as
|
|
5751
|
+
import { jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5738
5752
|
|
|
5739
5753
|
// src/searchbox/searchbox.spec.tsx
|
|
5740
|
-
import { jsx as
|
|
5754
|
+
import { jsx as jsx56, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5741
5755
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5742
5756
|
var states27 = [
|
|
5743
5757
|
States.hover,
|
|
@@ -5794,11 +5808,11 @@ var Searchbox = (props) => {
|
|
|
5794
5808
|
disabled,
|
|
5795
5809
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5796
5810
|
children: [
|
|
5797
|
-
showIcon && /* @__PURE__ */
|
|
5798
|
-
/* @__PURE__ */
|
|
5799
|
-
/* @__PURE__ */
|
|
5800
|
-
/* @__PURE__ */
|
|
5801
|
-
/* @__PURE__ */
|
|
5811
|
+
showIcon && /* @__PURE__ */ jsx56(Icon, { className: "k-input-icon", icon }),
|
|
5812
|
+
/* @__PURE__ */ jsx56(InputInnerInput, { placeholder, value }),
|
|
5813
|
+
/* @__PURE__ */ jsx56(InputLoadingIcon, { ...props }),
|
|
5814
|
+
/* @__PURE__ */ jsx56(InputValidationIcon, { ...props }),
|
|
5815
|
+
/* @__PURE__ */ jsx56(InputClearValue, { ...props })
|
|
5802
5816
|
]
|
|
5803
5817
|
}
|
|
5804
5818
|
);
|
|
@@ -5809,19 +5823,19 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5809
5823
|
Searchbox.defaultProps = defaultProps23;
|
|
5810
5824
|
|
|
5811
5825
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5812
|
-
import { jsx as
|
|
5826
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5813
5827
|
|
|
5814
5828
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5815
|
-
import { Fragment as
|
|
5829
|
+
import { Fragment as Fragment20, jsx as jsx58, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5816
5830
|
|
|
5817
5831
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5818
|
-
import { jsx as
|
|
5832
|
+
import { jsx as jsx59, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5819
5833
|
|
|
5820
5834
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5821
|
-
import { Fragment as
|
|
5835
|
+
import { Fragment as Fragment21, jsx as jsx60, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5822
5836
|
|
|
5823
5837
|
// src/upload/upload-dropzone.tsx
|
|
5824
|
-
import { Fragment as
|
|
5838
|
+
import { Fragment as Fragment22, jsx as jsx61, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5825
5839
|
var UPLOADDROPZONE_CLASSNAME = `k-upload-dropzone`;
|
|
5826
5840
|
var states28 = [
|
|
5827
5841
|
States.hover
|
|
@@ -5832,28 +5846,28 @@ var UploadDropzone = (props) => {
|
|
|
5832
5846
|
status,
|
|
5833
5847
|
...other
|
|
5834
5848
|
} = props;
|
|
5835
|
-
let statusMsg = /* @__PURE__ */
|
|
5849
|
+
let statusMsg = /* @__PURE__ */ jsx61(Fragment22, {});
|
|
5836
5850
|
switch (status) {
|
|
5837
5851
|
case "uploading":
|
|
5838
|
-
statusMsg = /* @__PURE__ */ jsxs27(
|
|
5839
|
-
/* @__PURE__ */
|
|
5852
|
+
statusMsg = /* @__PURE__ */ jsxs27(Fragment22, { children: [
|
|
5853
|
+
/* @__PURE__ */ jsx61(Icon, { icon: "upload" }),
|
|
5840
5854
|
"Uploading..."
|
|
5841
5855
|
] });
|
|
5842
5856
|
break;
|
|
5843
5857
|
case "done":
|
|
5844
|
-
statusMsg = /* @__PURE__ */ jsxs27(
|
|
5845
|
-
/* @__PURE__ */
|
|
5858
|
+
statusMsg = /* @__PURE__ */ jsxs27(Fragment22, { children: [
|
|
5859
|
+
/* @__PURE__ */ jsx61(Icon, { icon: "check" }),
|
|
5846
5860
|
"Done"
|
|
5847
5861
|
] });
|
|
5848
5862
|
break;
|
|
5849
5863
|
case "failed":
|
|
5850
|
-
statusMsg = /* @__PURE__ */ jsxs27(
|
|
5851
|
-
/* @__PURE__ */
|
|
5864
|
+
statusMsg = /* @__PURE__ */ jsxs27(Fragment22, { children: [
|
|
5865
|
+
/* @__PURE__ */ jsx61(Icon, { icon: "exclamation-circle" }),
|
|
5852
5866
|
"Done"
|
|
5853
5867
|
] });
|
|
5854
5868
|
break;
|
|
5855
5869
|
default:
|
|
5856
|
-
statusMsg = /* @__PURE__ */
|
|
5870
|
+
statusMsg = /* @__PURE__ */ jsx61(Fragment22, {});
|
|
5857
5871
|
break;
|
|
5858
5872
|
}
|
|
5859
5873
|
return /* @__PURE__ */ jsxs27(
|
|
@@ -5870,10 +5884,10 @@ var UploadDropzone = (props) => {
|
|
|
5870
5884
|
),
|
|
5871
5885
|
children: [
|
|
5872
5886
|
/* @__PURE__ */ jsxs27("div", { className: "k-upload-button-wrap", children: [
|
|
5873
|
-
/* @__PURE__ */
|
|
5874
|
-
/* @__PURE__ */
|
|
5887
|
+
/* @__PURE__ */ jsx61(Button, { className: "k-upload-button", children: "Select files..." }),
|
|
5888
|
+
/* @__PURE__ */ jsx61("input", { id: "upload-input", className: "k-hidden" })
|
|
5875
5889
|
] }),
|
|
5876
|
-
/* @__PURE__ */
|
|
5890
|
+
/* @__PURE__ */ jsx61(
|
|
5877
5891
|
"span",
|
|
5878
5892
|
{
|
|
5879
5893
|
className: classNames(
|
|
@@ -5885,14 +5899,14 @@ var UploadDropzone = (props) => {
|
|
|
5885
5899
|
children: "Drop files here to upload"
|
|
5886
5900
|
}
|
|
5887
5901
|
),
|
|
5888
|
-
status !== "upload" && /* @__PURE__ */
|
|
5902
|
+
status !== "upload" && /* @__PURE__ */ jsx61("span", { className: "k-upload-status", children: statusMsg })
|
|
5889
5903
|
]
|
|
5890
5904
|
}
|
|
5891
5905
|
);
|
|
5892
5906
|
};
|
|
5893
5907
|
|
|
5894
5908
|
// src/upload/upload.spec.tsx
|
|
5895
|
-
import { jsx as
|
|
5909
|
+
import { jsx as jsx62, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5896
5910
|
var UPLOAD_CLASSNAME = `k-upload`;
|
|
5897
5911
|
var states29 = [
|
|
5898
5912
|
States.hover,
|
|
@@ -5926,11 +5940,11 @@ var Upload = (props) => {
|
|
|
5926
5940
|
}
|
|
5927
5941
|
),
|
|
5928
5942
|
children: [
|
|
5929
|
-
/* @__PURE__ */
|
|
5930
|
-
props.children && /* @__PURE__ */
|
|
5943
|
+
/* @__PURE__ */ jsx62(UploadDropzone, { status, hover }),
|
|
5944
|
+
props.children && /* @__PURE__ */ jsx62("ul", { className: "k-upload-files", children: props.children }),
|
|
5931
5945
|
actions && /* @__PURE__ */ jsxs28(action_buttons_spec_default, { alignment: "end", orientation: "horizontal", children: [
|
|
5932
|
-
/* @__PURE__ */
|
|
5933
|
-
/* @__PURE__ */
|
|
5946
|
+
/* @__PURE__ */ jsx62(Button, { className: "k-clear-selected", children: "Clear" }),
|
|
5947
|
+
/* @__PURE__ */ jsx62(Button, { themeColor: "primary", className: "k-upload-selected", children: "Upload" })
|
|
5934
5948
|
] })
|
|
5935
5949
|
]
|
|
5936
5950
|
}
|
|
@@ -5942,7 +5956,7 @@ Upload.className = UPLOAD_CLASSNAME;
|
|
|
5942
5956
|
Upload.defaultProps = defaultProps24;
|
|
5943
5957
|
|
|
5944
5958
|
// src/progressbar/progressbar.spec.tsx
|
|
5945
|
-
import { jsx as
|
|
5959
|
+
import { jsx as jsx63, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5946
5960
|
var PROGRESSBAR_CLASSNAME = `k-progressbar`;
|
|
5947
5961
|
var states30 = [
|
|
5948
5962
|
States.disabled,
|
|
@@ -5988,7 +6002,7 @@ var ProgressBar = (props) => {
|
|
|
5988
6002
|
),
|
|
5989
6003
|
style: orientation === "horizontal" ? { "--kendo-progressbar-value": value, height } : { "--kendo-progressbar-value": value, width },
|
|
5990
6004
|
children: [
|
|
5991
|
-
/* @__PURE__ */
|
|
6005
|
+
/* @__PURE__ */ jsx63("span", { className: classNames(
|
|
5992
6006
|
"k-progress-status-wrap",
|
|
5993
6007
|
{
|
|
5994
6008
|
[`k-progress-${labelPosition}`]: labelPosition && !indeterminate
|
|
@@ -5997,7 +6011,7 @@ var ProgressBar = (props) => {
|
|
|
5997
6011
|
value,
|
|
5998
6012
|
"%"
|
|
5999
6013
|
] }) }),
|
|
6000
|
-
!indeterminate && /* @__PURE__ */
|
|
6014
|
+
!indeterminate && /* @__PURE__ */ jsx63("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ jsx63("span", { className: classNames(
|
|
6001
6015
|
"k-progress-status-wrap",
|
|
6002
6016
|
{
|
|
6003
6017
|
[`k-progress-${labelPosition}`]: labelPosition
|
|
@@ -6016,7 +6030,7 @@ ProgressBar.className = PROGRESSBAR_CLASSNAME;
|
|
|
6016
6030
|
ProgressBar.defaultProps = defaultProps25;
|
|
6017
6031
|
|
|
6018
6032
|
// src/progressbar/chunk-progressbar.spec.tsx
|
|
6019
|
-
import { jsx as
|
|
6033
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6020
6034
|
var CHUNKPROGRESSBAR_CLASSNAME = `k-chunk-progressbar`;
|
|
6021
6035
|
var isSelected = (progress, index) => index <= progress - 1 ? true : false;
|
|
6022
6036
|
var states31 = [
|
|
@@ -6039,7 +6053,7 @@ var ChunkProgressBar = (props) => {
|
|
|
6039
6053
|
reverse,
|
|
6040
6054
|
...other
|
|
6041
6055
|
} = props;
|
|
6042
|
-
return /* @__PURE__ */
|
|
6056
|
+
return /* @__PURE__ */ jsx64(
|
|
6043
6057
|
"div",
|
|
6044
6058
|
{
|
|
6045
6059
|
...other,
|
|
@@ -6056,8 +6070,8 @@ var ChunkProgressBar = (props) => {
|
|
|
6056
6070
|
[`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
|
|
6057
6071
|
}
|
|
6058
6072
|
),
|
|
6059
|
-
children: /* @__PURE__ */
|
|
6060
|
-
(_el, i) => /* @__PURE__ */
|
|
6073
|
+
children: /* @__PURE__ */ jsx64("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
|
|
6074
|
+
(_el, i) => /* @__PURE__ */ jsx64("li", { className: classNames(
|
|
6061
6075
|
"k-progressbar-chunk",
|
|
6062
6076
|
{
|
|
6063
6077
|
"k-first": i === 0,
|
|
@@ -6075,22 +6089,38 @@ ChunkProgressBar.className = CHUNKPROGRESSBAR_CLASSNAME;
|
|
|
6075
6089
|
ChunkProgressBar.defaultProps = defaultProps26;
|
|
6076
6090
|
|
|
6077
6091
|
// src/progressbar/templates/progressbar-normal.tsx
|
|
6078
|
-
import { jsx as
|
|
6092
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
6079
6093
|
|
|
6080
6094
|
// src/progressbar/templates/chunk-progressbar-normal.tsx
|
|
6081
|
-
import { jsx as
|
|
6095
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
6082
6096
|
|
|
6083
6097
|
// src/upload/upload-file-info.tsx
|
|
6084
|
-
import { jsx as
|
|
6098
|
+
import { jsx as jsx67, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6085
6099
|
|
|
6086
6100
|
// src/upload/upload-file.tsx
|
|
6087
|
-
import { Fragment as
|
|
6101
|
+
import { Fragment as Fragment23, jsx as jsx68, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6088
6102
|
|
|
6089
6103
|
// src/upload/upload-file-multiple.tsx
|
|
6090
|
-
import { Fragment as
|
|
6104
|
+
import { Fragment as Fragment24, jsx as jsx69, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6105
|
+
|
|
6106
|
+
// src/upload/templates/upload-chunk.tsx
|
|
6107
|
+
import { Fragment as Fragment25, jsx as jsx70, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6108
|
+
|
|
6109
|
+
// src/upload/templates/upload-batch.tsx
|
|
6110
|
+
import { Fragment as Fragment26, jsx as jsx71, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6111
|
+
|
|
6112
|
+
// src/upload/templates/upload-normal.tsx
|
|
6113
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6114
|
+
var UploadNormal = (props) => /* @__PURE__ */ jsx72(
|
|
6115
|
+
Upload,
|
|
6116
|
+
{
|
|
6117
|
+
async: true,
|
|
6118
|
+
...props
|
|
6119
|
+
}
|
|
6120
|
+
);
|
|
6091
6121
|
|
|
6092
6122
|
// src/dropzone/dropzone.spec.tsx
|
|
6093
|
-
import { jsx as
|
|
6123
|
+
import { jsx as jsx73, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6094
6124
|
var DROPZONE_CLASSNAME = `k-external-dropzone`;
|
|
6095
6125
|
var states32 = [
|
|
6096
6126
|
States.hover
|
|
@@ -6106,7 +6136,7 @@ var Dropzone = (props) => {
|
|
|
6106
6136
|
note = defaultProps27.note,
|
|
6107
6137
|
...other
|
|
6108
6138
|
} = props;
|
|
6109
|
-
return /* @__PURE__ */
|
|
6139
|
+
return /* @__PURE__ */ jsx73(
|
|
6110
6140
|
"div",
|
|
6111
6141
|
{
|
|
6112
6142
|
...other,
|
|
@@ -6118,10 +6148,10 @@ var Dropzone = (props) => {
|
|
|
6118
6148
|
"k-external-dropzone-hover": hover
|
|
6119
6149
|
}
|
|
6120
6150
|
),
|
|
6121
|
-
children: /* @__PURE__ */
|
|
6122
|
-
icon && /* @__PURE__ */
|
|
6123
|
-
/* @__PURE__ */
|
|
6124
|
-
note && /* @__PURE__ */
|
|
6151
|
+
children: /* @__PURE__ */ jsxs35("div", { className: "k-dropzone-inner", children: [
|
|
6152
|
+
icon && /* @__PURE__ */ jsx73(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
|
|
6153
|
+
/* @__PURE__ */ jsx73("span", { className: "k-dropzone-hint", children: "Drag and drop files here to upload" }),
|
|
6154
|
+
note && /* @__PURE__ */ jsxs35("span", { className: "k-dropzone-note", children: [
|
|
6125
6155
|
" ",
|
|
6126
6156
|
note,
|
|
6127
6157
|
" "
|
|
@@ -6132,33 +6162,33 @@ var Dropzone = (props) => {
|
|
|
6132
6162
|
};
|
|
6133
6163
|
|
|
6134
6164
|
// src/spreadsheet/tests/spreadsheet-file-dialogs.tsx
|
|
6135
|
-
import { Fragment as
|
|
6165
|
+
import { Fragment as Fragment27, jsx as jsx74, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6136
6166
|
var style = `
|
|
6137
6167
|
.k-window {
|
|
6138
6168
|
min-width: 400px;
|
|
6139
6169
|
position: relative;
|
|
6140
6170
|
}
|
|
6141
6171
|
`;
|
|
6142
|
-
var spreadsheet_file_dialogs_default = () => /* @__PURE__ */
|
|
6143
|
-
/* @__PURE__ */
|
|
6144
|
-
/* @__PURE__ */
|
|
6145
|
-
/* @__PURE__ */
|
|
6146
|
-
/* @__PURE__ */
|
|
6147
|
-
/* @__PURE__ */
|
|
6148
|
-
] }), children: /* @__PURE__ */
|
|
6149
|
-
/* @__PURE__ */
|
|
6150
|
-
/* @__PURE__ */
|
|
6151
|
-
/* @__PURE__ */
|
|
6152
|
-
] }), children: /* @__PURE__ */
|
|
6153
|
-
/* @__PURE__ */
|
|
6154
|
-
/* @__PURE__ */
|
|
6172
|
+
var spreadsheet_file_dialogs_default = () => /* @__PURE__ */ jsxs36(Fragment27, { children: [
|
|
6173
|
+
/* @__PURE__ */ jsx74("style", { children: style }),
|
|
6174
|
+
/* @__PURE__ */ jsxs36("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
6175
|
+
/* @__PURE__ */ jsx74("section", { children: /* @__PURE__ */ jsx74(WindowNormal, { title: "Create new file", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "stretched", actionButtons: /* @__PURE__ */ jsxs36(Fragment27, { children: [
|
|
6176
|
+
/* @__PURE__ */ jsx74(Button, { themeColor: "primary", children: "Create new file" }),
|
|
6177
|
+
/* @__PURE__ */ jsx74(Button, { children: "Cancel" })
|
|
6178
|
+
] }), children: /* @__PURE__ */ jsx74("p", { children: "Are you sure you want to close this file without saving it and create a new one?" }) }) }),
|
|
6179
|
+
/* @__PURE__ */ jsx74("section", { children: /* @__PURE__ */ jsx74(WindowNormal, { title: "Save", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs36(Fragment27, { children: [
|
|
6180
|
+
/* @__PURE__ */ jsx74(Button, { themeColor: "primary", children: "Save" }),
|
|
6181
|
+
/* @__PURE__ */ jsx74(Button, { children: "Cancel" })
|
|
6182
|
+
] }), children: /* @__PURE__ */ jsxs36(Form, { children: [
|
|
6183
|
+
/* @__PURE__ */ jsx74(FormField, { label: "File name", editor: /* @__PURE__ */ jsx74(Textbox, { placeholder: "Workbook" }) }),
|
|
6184
|
+
/* @__PURE__ */ jsx74(FormField, { label: "Save as type", editor: /* @__PURE__ */ jsx74(DropdownList, { placeholder: "Excel Workbook (.xlsx)" }) })
|
|
6155
6185
|
] }) }) }),
|
|
6156
|
-
/* @__PURE__ */
|
|
6157
|
-
/* @__PURE__ */
|
|
6158
|
-
/* @__PURE__ */
|
|
6186
|
+
/* @__PURE__ */ jsx74("section", { children: /* @__PURE__ */ jsxs36(WindowNormal, { title: "Open file", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs36(Fragment27, { children: [
|
|
6187
|
+
/* @__PURE__ */ jsx74(Button, { themeColor: "primary", children: "Open" }),
|
|
6188
|
+
/* @__PURE__ */ jsx74(Button, { children: "Cancel" })
|
|
6159
6189
|
] }), children: [
|
|
6160
|
-
/* @__PURE__ */
|
|
6161
|
-
/* @__PURE__ */
|
|
6190
|
+
/* @__PURE__ */ jsx74(Dropzone, { note: false }),
|
|
6191
|
+
/* @__PURE__ */ jsx74(UploadNormal, { status: "upload" })
|
|
6162
6192
|
] }) })
|
|
6163
6193
|
] })
|
|
6164
6194
|
] });
|