@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
|
@@ -4941,8 +4941,22 @@ Window.options = options13;
|
|
|
4941
4941
|
Window.className = WINDOW_CLASSNAME;
|
|
4942
4942
|
Window.defaultProps = defaultProps11;
|
|
4943
4943
|
|
|
4944
|
-
// src/
|
|
4944
|
+
// src/window/templates/window-normal.tsx
|
|
4945
4945
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4946
|
+
var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4947
|
+
Window,
|
|
4948
|
+
{
|
|
4949
|
+
title: "Title",
|
|
4950
|
+
actions: ["window-minimize", "window", "x"],
|
|
4951
|
+
children: [
|
|
4952
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, { children: "Content" })
|
|
4953
|
+
],
|
|
4954
|
+
...props
|
|
4955
|
+
}
|
|
4956
|
+
);
|
|
4957
|
+
|
|
4958
|
+
// src/form/form-field.tsx
|
|
4959
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4946
4960
|
var FORMFIELD_CLASSNAME = "k-form-field";
|
|
4947
4961
|
var states15 = [
|
|
4948
4962
|
States.disabled
|
|
@@ -4960,7 +4974,7 @@ var FormField = (props) => {
|
|
|
4960
4974
|
dir,
|
|
4961
4975
|
colSpan
|
|
4962
4976
|
} = props;
|
|
4963
|
-
return /* @__PURE__ */ (0,
|
|
4977
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
4964
4978
|
"div",
|
|
4965
4979
|
{
|
|
4966
4980
|
className: classNames(
|
|
@@ -4973,19 +4987,19 @@ var FormField = (props) => {
|
|
|
4973
4987
|
),
|
|
4974
4988
|
dir,
|
|
4975
4989
|
children: [
|
|
4976
|
-
label && /* @__PURE__ */ (0,
|
|
4990
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("label", { className: classNames(
|
|
4977
4991
|
"k-label",
|
|
4978
4992
|
"k-form-label"
|
|
4979
4993
|
), children: [
|
|
4980
4994
|
label,
|
|
4981
|
-
optional && /* @__PURE__ */ (0,
|
|
4982
|
-
info && /* @__PURE__ */ (0,
|
|
4995
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "k-label-optional", children: "(Optional)" }),
|
|
4996
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "k-field-info", children: "(field info)" })
|
|
4983
4997
|
] }),
|
|
4984
|
-
orientation === "horizontal" && !label && /* @__PURE__ */ (0,
|
|
4985
|
-
/* @__PURE__ */ (0,
|
|
4998
|
+
orientation === "horizontal" && !label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "k-label k-form-label k-label-empty" }),
|
|
4999
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "k-form-field-wrap", children: [
|
|
4986
5000
|
editor,
|
|
4987
|
-
hint && /* @__PURE__ */ (0,
|
|
4988
|
-
error && /* @__PURE__ */ (0,
|
|
5001
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-form-hint", children: hint }),
|
|
5002
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "k-form-error", children: error })
|
|
4989
5003
|
] })
|
|
4990
5004
|
]
|
|
4991
5005
|
}
|
|
@@ -4994,7 +5008,7 @@ var FormField = (props) => {
|
|
|
4994
5008
|
FormField.className = FORMFIELD_CLASSNAME;
|
|
4995
5009
|
|
|
4996
5010
|
// src/form/fieldset.tsx
|
|
4997
|
-
var
|
|
5011
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4998
5012
|
var FIELDSET_CLASSNAME = "k-form-fieldset";
|
|
4999
5013
|
var Fieldset = (props) => {
|
|
5000
5014
|
const {
|
|
@@ -5004,9 +5018,9 @@ var Fieldset = (props) => {
|
|
|
5004
5018
|
gapX,
|
|
5005
5019
|
gapY
|
|
5006
5020
|
} = props;
|
|
5007
|
-
return /* @__PURE__ */ (0,
|
|
5008
|
-
legend && /* @__PURE__ */ (0,
|
|
5009
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
5021
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
|
|
5022
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("legend", { className: "k-form-legend", children: legend }),
|
|
5023
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: classNames(
|
|
5010
5024
|
"k-form-layout",
|
|
5011
5025
|
"k-d-grid",
|
|
5012
5026
|
{
|
|
@@ -5014,13 +5028,13 @@ var Fieldset = (props) => {
|
|
|
5014
5028
|
[`k-gap-x-${gapX}`]: gapX,
|
|
5015
5029
|
[`k-gap-y-${gapY}`]: gapY
|
|
5016
5030
|
}
|
|
5017
|
-
), children: props.children }) : /* @__PURE__ */ (0,
|
|
5031
|
+
), children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx_runtime27.Fragment, { children: props.children })
|
|
5018
5032
|
] });
|
|
5019
5033
|
};
|
|
5020
5034
|
Fieldset.className = FIELDSET_CLASSNAME;
|
|
5021
5035
|
|
|
5022
5036
|
// src/form/form.spec.tsx
|
|
5023
|
-
var
|
|
5037
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
5024
5038
|
var import_react = require("react");
|
|
5025
5039
|
var FORM_CLASSNAME = "k-form";
|
|
5026
5040
|
var states16 = [];
|
|
@@ -5044,7 +5058,7 @@ var Form = (props) => {
|
|
|
5044
5058
|
tag = defaultProps12.tag,
|
|
5045
5059
|
children
|
|
5046
5060
|
} = props;
|
|
5047
|
-
const Parent = ({ tag: tag2, className: className9, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0,
|
|
5061
|
+
const Parent = ({ tag: tag2, className: className9, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("form", { className: className9, children: children2 }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: className9, children: children2 });
|
|
5048
5062
|
const formChildren = [];
|
|
5049
5063
|
if (children) {
|
|
5050
5064
|
if (Array.isArray(children)) {
|
|
@@ -5063,7 +5077,7 @@ var Form = (props) => {
|
|
|
5063
5077
|
children.type === Fieldset && formChildren.push(/* @__PURE__ */ (0, import_react.createElement)(Fieldset, { ...children.props, key: `${(/* @__PURE__ */ new Date()).getTime()}` }));
|
|
5064
5078
|
}
|
|
5065
5079
|
}
|
|
5066
|
-
return /* @__PURE__ */ (0,
|
|
5080
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Parent, { tag, className: classNames(
|
|
5067
5081
|
props.className,
|
|
5068
5082
|
FORM_CLASSNAME,
|
|
5069
5083
|
optionClassNames(FORM_CLASSNAME, {
|
|
@@ -5073,7 +5087,7 @@ var Form = (props) => {
|
|
|
5073
5087
|
[`${FORM_CLASSNAME}-${orientation}`]: orientation
|
|
5074
5088
|
}
|
|
5075
5089
|
), children: [
|
|
5076
|
-
layout === "grid" ? /* @__PURE__ */ (0,
|
|
5090
|
+
layout === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: classNames(
|
|
5077
5091
|
"k-form-layout",
|
|
5078
5092
|
"k-d-grid",
|
|
5079
5093
|
{
|
|
@@ -5081,8 +5095,8 @@ var Form = (props) => {
|
|
|
5081
5095
|
[`k-gap-x-${gapX}`]: gapX,
|
|
5082
5096
|
[`k-gap-y-${gapY}`]: gapY
|
|
5083
5097
|
}
|
|
5084
|
-
), children: formChildren }) : /* @__PURE__ */ (0,
|
|
5085
|
-
formButtons && /* @__PURE__ */ (0,
|
|
5098
|
+
), children: formChildren }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, { children: formChildren }),
|
|
5099
|
+
formButtons && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "k-form-buttons", children: formButtons })
|
|
5086
5100
|
] });
|
|
5087
5101
|
};
|
|
5088
5102
|
Form.states = states16;
|
|
@@ -5091,26 +5105,26 @@ Form.className = FORM_CLASSNAME;
|
|
|
5091
5105
|
Form.defaultProps = defaultProps12;
|
|
5092
5106
|
|
|
5093
5107
|
// src/editor/tests/editor-image-editor.tsx
|
|
5094
|
-
var
|
|
5108
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5095
5109
|
var styles = `
|
|
5096
5110
|
.k-window {
|
|
5097
5111
|
width: 100%;
|
|
5098
5112
|
position: relative;
|
|
5099
5113
|
}
|
|
5100
5114
|
`;
|
|
5101
|
-
var editor_image_editor_default = () => /* @__PURE__ */ (0,
|
|
5102
|
-
/* @__PURE__ */ (0,
|
|
5103
|
-
/* @__PURE__ */ (0,
|
|
5104
|
-
/* @__PURE__ */ (0,
|
|
5105
|
-
/* @__PURE__ */ (0,
|
|
5106
|
-
/* @__PURE__ */ (0,
|
|
5107
|
-
/* @__PURE__ */ (0,
|
|
5108
|
-
/* @__PURE__ */ (0,
|
|
5109
|
-
] }), children: /* @__PURE__ */ (0,
|
|
5110
|
-
/* @__PURE__ */ (0,
|
|
5111
|
-
/* @__PURE__ */ (0,
|
|
5112
|
-
/* @__PURE__ */ (0,
|
|
5113
|
-
/* @__PURE__ */ (0,
|
|
5115
|
+
var editor_image_editor_default = () => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
5116
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("style", { children: styles }),
|
|
5117
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
5118
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { children: "Find Window" }),
|
|
5119
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", {}),
|
|
5120
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(WindowNormal, { title: "Insert Image", actions: ["x"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
|
|
5121
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button, { themeColor: "primary", children: "Insert" }),
|
|
5122
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button, { children: "Cancel" })
|
|
5123
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Form, { tag: "div", children: [
|
|
5124
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormField, { label: "Web address:", editor: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Textbox, { showClearButton: false }) }),
|
|
5125
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormField, { label: "Alternate text:", editor: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Textbox, { showClearButton: false }) }),
|
|
5126
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormField, { label: "Width:", editor: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Textbox, { showClearButton: false }) }),
|
|
5127
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormField, { label: "Height:", editor: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Textbox, { showClearButton: false }) })
|
|
5114
5128
|
] }) }) })
|
|
5115
5129
|
] })
|
|
5116
5130
|
] });
|