@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.
Files changed (257) hide show
  1. package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
  2. package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
  3. package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
  4. package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
  5. package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
  6. package/dist/cjs/editor/tests/editor-view-source.js +47 -33
  7. package/dist/cjs/fab/fab-item.js +1 -0
  8. package/dist/cjs/fab/templates/icon-fab.js +4426 -0
  9. package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
  10. package/dist/cjs/fab/templates/text-fab.js +4426 -0
  11. package/dist/cjs/fab/tests/fab-items.js +51 -113
  12. package/dist/cjs/fab/tests/fab-position.js +73 -20
  13. package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
  14. package/dist/cjs/fab/tests/fab-states.js +67 -14
  15. package/dist/cjs/fab/tests/fab.js +82 -48
  16. package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
  17. package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
  18. package/dist/cjs/form/tests/form-field-inputs.js +151 -129
  19. package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
  20. package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
  21. package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
  22. package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
  23. package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
  24. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
  25. package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
  26. package/dist/cjs/index.js +1935 -1659
  27. package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
  28. package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
  29. package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
  30. package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
  31. package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
  32. package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
  33. package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
  34. package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
  35. package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
  36. package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
  37. package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
  38. package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
  39. package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
  40. package/dist/cjs/notification/index.js +51 -1
  41. package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
  42. package/dist/cjs/notification/templates/icon-notification.js +4368 -0
  43. package/dist/cjs/notification/templates/notification-closable.js +4388 -0
  44. package/dist/cjs/notification/templates/notification-normal.js +4367 -0
  45. package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
  46. package/dist/cjs/notification/tests/notification-angular.js +60 -34
  47. package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
  48. package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
  49. package/dist/cjs/notification/tests/notification-jquery.js +63 -37
  50. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
  51. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
  52. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
  53. package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
  54. package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
  55. package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
  56. package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
  57. package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
  58. package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
  59. package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
  60. package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
  61. package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
  62. package/dist/cjs/upload/templates/upload-batch.js +4846 -0
  63. package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
  64. package/dist/cjs/upload/templates/upload-normal.js +4761 -0
  65. package/dist/cjs/upload/tests/upload-rtl.js +67 -49
  66. package/dist/cjs/upload/tests/upload-states.js +4782 -0
  67. package/dist/cjs/upload/tests/upload.js +62 -36
  68. package/dist/cjs/upload/upload.spec.js +1 -1
  69. package/dist/cjs/window/templates/window-normal.js +4546 -0
  70. package/dist/cjs/window/tests/window-action-buttons.js +30 -16
  71. package/dist/cjs/window/tests/window-rtl.js +23 -9
  72. package/dist/cjs/window/tests/window-theme-colors.js +22 -9
  73. package/dist/cjs/window/tests/window.js +23 -9
  74. package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
  75. package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
  76. package/dist/esm/editor/tests/editor-find-replace.js +78 -64
  77. package/dist/esm/editor/tests/editor-image-editor.js +41 -27
  78. package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
  79. package/dist/esm/editor/tests/editor-view-source.js +46 -32
  80. package/dist/esm/fab/fab-item.js +1 -0
  81. package/dist/esm/fab/templates/icon-fab.js +4410 -0
  82. package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
  83. package/dist/esm/fab/templates/text-fab.js +4410 -0
  84. package/dist/esm/fab/tests/fab-items.js +49 -111
  85. package/dist/esm/fab/tests/fab-position.js +71 -18
  86. package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
  87. package/dist/esm/fab/tests/fab-states.js +64 -11
  88. package/dist/esm/fab/tests/fab.js +80 -46
  89. package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
  90. package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
  91. package/dist/esm/form/tests/form-field-inputs.js +151 -129
  92. package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
  93. package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
  94. package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
  95. package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
  96. package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
  97. package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
  98. package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
  99. package/dist/esm/index.js +1935 -1659
  100. package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
  101. package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
  102. package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
  103. package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
  104. package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
  105. package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
  106. package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
  107. package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
  108. package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
  109. package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
  110. package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
  111. package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
  112. package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
  113. package/dist/esm/notification/index.js +51 -1
  114. package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
  115. package/dist/esm/notification/templates/icon-notification.js +4352 -0
  116. package/dist/esm/notification/templates/notification-closable.js +4372 -0
  117. package/dist/esm/notification/templates/notification-normal.js +4351 -0
  118. package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
  119. package/dist/esm/notification/tests/notification-angular.js +58 -32
  120. package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
  121. package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
  122. package/dist/esm/notification/tests/notification-jquery.js +61 -35
  123. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
  124. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
  125. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
  126. package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
  127. package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
  128. package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
  129. package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
  130. package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
  131. package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
  132. package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
  133. package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
  134. package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
  135. package/dist/esm/upload/templates/upload-batch.js +4830 -0
  136. package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
  137. package/dist/esm/upload/templates/upload-normal.js +4745 -0
  138. package/dist/esm/upload/tests/upload-rtl.js +67 -49
  139. package/dist/esm/upload/tests/upload-states.js +4766 -0
  140. package/dist/esm/upload/tests/upload.js +62 -36
  141. package/dist/esm/upload/upload.spec.js +1 -1
  142. package/dist/esm/window/templates/window-normal.js +4530 -0
  143. package/dist/esm/window/tests/window-action-buttons.js +29 -15
  144. package/dist/esm/window/tests/window-rtl.js +22 -8
  145. package/dist/esm/window/tests/window-theme-colors.js +22 -9
  146. package/dist/esm/window/tests/window.js +22 -8
  147. package/dist/types/fab/fab-item.d.ts +4 -1
  148. package/dist/types/fab/index.d.ts +3 -0
  149. package/dist/types/fab/templates/icon-fab.d.ts +1 -0
  150. package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
  151. package/dist/types/fab/templates/text-fab.d.ts +1 -0
  152. package/dist/types/multiselecttree/index.d.ts +6 -0
  153. package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
  154. package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
  155. package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
  156. package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
  157. package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
  158. package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
  159. package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
  160. package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
  161. package/dist/types/notification/index.d.ts +4 -0
  162. package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
  163. package/dist/types/notification/templates/icon-notification.d.ts +1 -0
  164. package/dist/types/notification/templates/notification-closable.d.ts +1 -0
  165. package/dist/types/notification/templates/notification-normal.d.ts +1 -0
  166. package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
  167. package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
  168. package/dist/types/upload/index.d.ts +3 -0
  169. package/dist/types/upload/templates/upload-batch.d.ts +1 -0
  170. package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
  171. package/dist/types/upload/templates/upload-normal.d.ts +1 -0
  172. package/dist/types/upload/tests/upload-states.d.ts +2 -0
  173. package/dist/types/window/index.d.ts +1 -0
  174. package/dist/types/window/templates/window-normal.d.ts +1 -0
  175. package/package.json +2 -2
  176. package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
  177. package/src/dialog/tests/dialog-in-window.tsx +3 -3
  178. package/src/editor/tests/editor-find-replace.tsx +5 -5
  179. package/src/editor/tests/editor-image-editor.tsx +3 -3
  180. package/src/editor/tests/editor-table-wizard.tsx +7 -7
  181. package/src/editor/tests/editor-view-source.tsx +3 -3
  182. package/src/fab/fab-item.tsx +2 -0
  183. package/src/fab/index.ts +3 -0
  184. package/src/fab/templates/icon-fab.tsx +7 -0
  185. package/src/fab/templates/icon-text-fab.tsx +8 -0
  186. package/src/fab/templates/text-fab.tsx +7 -0
  187. package/src/fab/tests/fab-items.tsx +57 -127
  188. package/src/fab/tests/fab-position.tsx +9 -9
  189. package/src/fab/tests/fab-size-rounded.tsx +35 -0
  190. package/src/fab/tests/fab-states.tsx +2 -2
  191. package/src/fab/tests/fab.tsx +14 -110
  192. package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
  193. package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
  194. package/src/form/tests/form-field-inputs.tsx +5 -5
  195. package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
  196. package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
  197. package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
  198. package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
  199. package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
  200. package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
  201. package/src/grid/tests/grid-editing-popup.tsx +3 -3
  202. package/src/multiselecttree/index.ts +6 -0
  203. package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
  204. package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
  205. package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
  206. package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
  207. package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
  208. package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
  209. package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
  210. package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
  211. package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
  212. package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
  213. package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
  214. package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
  215. package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
  216. package/src/notification/index.tsx +4 -0
  217. package/src/notification/templates/icon-notification-closable.tsx +10 -0
  218. package/src/notification/templates/icon-notification.tsx +9 -0
  219. package/src/notification/templates/notification-closable.tsx +9 -0
  220. package/src/notification/templates/notification-normal.tsx +8 -0
  221. package/src/notification/tests/notification-angular-colors.tsx +28 -0
  222. package/src/notification/tests/notification-angular.tsx +10 -95
  223. package/src/notification/tests/notification-custom-angular.tsx +9 -9
  224. package/src/notification/tests/notification-jquery-colors.tsx +30 -0
  225. package/src/notification/tests/notification-jquery.tsx +10 -95
  226. package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
  227. package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
  228. package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
  229. package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
  230. package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
  231. package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
  232. package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
  233. package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
  234. package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
  235. package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
  236. package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
  237. package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
  238. package/src/upload/index.ts +3 -0
  239. package/src/upload/templates/upload-batch.tsx +14 -0
  240. package/src/upload/templates/upload-chunk.tsx +12 -0
  241. package/src/upload/templates/upload-normal.tsx +7 -0
  242. package/src/upload/tests/upload-rtl.tsx +35 -48
  243. package/src/upload/tests/upload-states.tsx +29 -0
  244. package/src/upload/tests/upload.tsx +34 -39
  245. package/src/upload/upload.spec.tsx +1 -1
  246. package/src/window/index.ts +1 -0
  247. package/src/window/templates/window-normal.tsx +11 -0
  248. package/src/window/tests/window-action-buttons.tsx +9 -9
  249. package/src/window/tests/window-rtl.tsx +6 -8
  250. package/src/window/tests/window-theme-colors.tsx +6 -18
  251. package/src/window/tests/window.tsx +6 -6
  252. package/src/fab/tests/fab-size.tsx +0 -109
  253. package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
  254. package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
  255. /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
  256. /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
  257. /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
@@ -7825,8 +7825,22 @@ Window.options = options48;
7825
7825
  Window.className = WINDOW_CLASSNAME;
7826
7826
  Window.defaultProps = defaultProps45;
7827
7827
 
7828
+ // src/window/templates/window-normal.tsx
7829
+ import { Fragment as Fragment32, jsx as jsx123 } from "react/jsx-runtime";
7830
+ var WindowNormal = (props) => /* @__PURE__ */ jsx123(
7831
+ Window,
7832
+ {
7833
+ title: "Title",
7834
+ actions: ["window-minimize", "window", "x"],
7835
+ children: [
7836
+ /* @__PURE__ */ jsx123(Fragment32, { children: "Content" })
7837
+ ],
7838
+ ...props
7839
+ }
7840
+ );
7841
+
7828
7842
  // src/form/form-field.tsx
7829
- import { jsx as jsx123, jsxs as jsxs51 } from "react/jsx-runtime";
7843
+ import { jsx as jsx124, jsxs as jsxs51 } from "react/jsx-runtime";
7830
7844
  var FORMFIELD_CLASSNAME = "k-form-field";
7831
7845
  var states52 = [
7832
7846
  States.disabled
@@ -7862,14 +7876,14 @@ var FormField = (props) => {
7862
7876
  "k-form-label"
7863
7877
  ), children: [
7864
7878
  label,
7865
- optional && /* @__PURE__ */ jsx123("span", { className: "k-label-optional", children: "(Optional)" }),
7866
- info && /* @__PURE__ */ jsx123("span", { className: "k-field-info", children: "(field info)" })
7879
+ optional && /* @__PURE__ */ jsx124("span", { className: "k-label-optional", children: "(Optional)" }),
7880
+ info && /* @__PURE__ */ jsx124("span", { className: "k-field-info", children: "(field info)" })
7867
7881
  ] }),
7868
- orientation === "horizontal" && !label && /* @__PURE__ */ jsx123("span", { className: "k-label k-form-label k-label-empty" }),
7882
+ orientation === "horizontal" && !label && /* @__PURE__ */ jsx124("span", { className: "k-label k-form-label k-label-empty" }),
7869
7883
  /* @__PURE__ */ jsxs51("div", { className: "k-form-field-wrap", children: [
7870
7884
  editor,
7871
- hint && /* @__PURE__ */ jsx123("div", { className: "k-form-hint", children: hint }),
7872
- error && /* @__PURE__ */ jsx123("div", { className: "k-form-error", children: error })
7885
+ hint && /* @__PURE__ */ jsx124("div", { className: "k-form-hint", children: hint }),
7886
+ error && /* @__PURE__ */ jsx124("div", { className: "k-form-error", children: error })
7873
7887
  ] })
7874
7888
  ]
7875
7889
  }
@@ -7878,7 +7892,7 @@ var FormField = (props) => {
7878
7892
  FormField.className = FORMFIELD_CLASSNAME;
7879
7893
 
7880
7894
  // src/form/fieldset.tsx
7881
- import { Fragment as Fragment32, jsx as jsx124, jsxs as jsxs52 } from "react/jsx-runtime";
7895
+ import { Fragment as Fragment33, jsx as jsx125, jsxs as jsxs52 } from "react/jsx-runtime";
7882
7896
  var FIELDSET_CLASSNAME = "k-form-fieldset";
7883
7897
  var Fieldset = (props) => {
7884
7898
  const {
@@ -7889,8 +7903,8 @@ var Fieldset = (props) => {
7889
7903
  gapY
7890
7904
  } = props;
7891
7905
  return /* @__PURE__ */ jsxs52("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
7892
- legend && /* @__PURE__ */ jsx124("legend", { className: "k-form-legend", children: legend }),
7893
- layout === "grid" ? /* @__PURE__ */ jsx124("div", { className: classNames(
7906
+ legend && /* @__PURE__ */ jsx125("legend", { className: "k-form-legend", children: legend }),
7907
+ layout === "grid" ? /* @__PURE__ */ jsx125("div", { className: classNames(
7894
7908
  "k-form-layout",
7895
7909
  "k-d-grid",
7896
7910
  {
@@ -7898,13 +7912,13 @@ var Fieldset = (props) => {
7898
7912
  [`k-gap-x-${gapX}`]: gapX,
7899
7913
  [`k-gap-y-${gapY}`]: gapY
7900
7914
  }
7901
- ), children: props.children }) : /* @__PURE__ */ jsx124(Fragment32, { children: props.children })
7915
+ ), children: props.children }) : /* @__PURE__ */ jsx125(Fragment33, { children: props.children })
7902
7916
  ] });
7903
7917
  };
7904
7918
  Fieldset.className = FIELDSET_CLASSNAME;
7905
7919
 
7906
7920
  // src/form/form.spec.tsx
7907
- import { Fragment as Fragment33, jsx as jsx125, jsxs as jsxs53 } from "react/jsx-runtime";
7921
+ import { Fragment as Fragment34, jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
7908
7922
  import { createElement as createElement2 } from "react";
7909
7923
  var FORM_CLASSNAME = "k-form";
7910
7924
  var states53 = [];
@@ -7928,7 +7942,7 @@ var Form = (props) => {
7928
7942
  tag = defaultProps46.tag,
7929
7943
  children
7930
7944
  } = props;
7931
- const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx125("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx125("div", { className: className13, children: children2 });
7945
+ const Parent = ({ tag: tag2, className: className13, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx126("form", { className: className13, children: children2 }) : /* @__PURE__ */ jsx126("div", { className: className13, children: children2 });
7932
7946
  const formChildren = [];
7933
7947
  if (children) {
7934
7948
  if (Array.isArray(children)) {
@@ -7957,7 +7971,7 @@ var Form = (props) => {
7957
7971
  [`${FORM_CLASSNAME}-${orientation}`]: orientation
7958
7972
  }
7959
7973
  ), children: [
7960
- layout === "grid" ? /* @__PURE__ */ jsx125("div", { className: classNames(
7974
+ layout === "grid" ? /* @__PURE__ */ jsx126("div", { className: classNames(
7961
7975
  "k-form-layout",
7962
7976
  "k-d-grid",
7963
7977
  {
@@ -7965,8 +7979,8 @@ var Form = (props) => {
7965
7979
  [`k-gap-x-${gapX}`]: gapX,
7966
7980
  [`k-gap-y-${gapY}`]: gapY
7967
7981
  }
7968
- ), children: formChildren }) : /* @__PURE__ */ jsx125(Fragment33, { children: formChildren }),
7969
- formButtons && /* @__PURE__ */ jsx125("div", { className: "k-form-buttons", children: formButtons })
7982
+ ), children: formChildren }) : /* @__PURE__ */ jsx126(Fragment34, { children: formChildren }),
7983
+ formButtons && /* @__PURE__ */ jsx126("div", { className: "k-form-buttons", children: formButtons })
7970
7984
  ] });
7971
7985
  };
7972
7986
  Form.states = states53;
@@ -7975,7 +7989,7 @@ Form.className = FORM_CLASSNAME;
7975
7989
  Form.defaultProps = defaultProps46;
7976
7990
 
7977
7991
  // src/editor/tests/editor-find-replace.tsx
7978
- import { Fragment as Fragment34, jsx as jsx126, jsxs as jsxs54 } from "react/jsx-runtime";
7992
+ import { Fragment as Fragment35, jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
7979
7993
  var styles = `
7980
7994
  .k-window {
7981
7995
  width: 100%;
@@ -7992,71 +8006,71 @@ var styles = `
7992
8006
  max-width: initial;
7993
8007
  }
7994
8008
  `;
7995
- var editor_find_replace_default = () => /* @__PURE__ */ jsxs54(Fragment34, { children: [
7996
- /* @__PURE__ */ jsx126("style", { children: styles }),
8009
+ var editor_find_replace_default = () => /* @__PURE__ */ jsxs54(Fragment35, { children: [
8010
+ /* @__PURE__ */ jsx127("style", { children: styles }),
7997
8011
  /* @__PURE__ */ jsxs54("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
7998
- /* @__PURE__ */ jsx126("span", { children: "Find Window" }),
7999
- /* @__PURE__ */ jsx126("span", { children: "Replace Window" }),
8000
- /* @__PURE__ */ jsx126("section", { children: /* @__PURE__ */ jsx126(Window, { title: "Find and Replace", actions: ["x"], children: /* @__PURE__ */ jsxs54("div", { className: "k-tabstrip k-tabstrip-top k-editor-find-replace", children: [
8001
- /* @__PURE__ */ jsx126("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs54("ul", { className: "k-tabstrip-items k-reset", children: [
8002
- /* @__PURE__ */ jsx126("li", { className: "k-item k-active k-tab-on-top", children: /* @__PURE__ */ jsx126("span", { className: "k-link", children: "Find" }) }),
8003
- /* @__PURE__ */ jsx126("li", { className: "k-item", children: /* @__PURE__ */ jsx126("span", { className: "k-link", children: "Replace" }) })
8012
+ /* @__PURE__ */ jsx127("span", { children: "Find Window" }),
8013
+ /* @__PURE__ */ jsx127("span", { children: "Replace Window" }),
8014
+ /* @__PURE__ */ jsx127("section", { children: /* @__PURE__ */ jsx127(WindowNormal, { title: "Find and Replace", actions: ["x"], children: /* @__PURE__ */ jsxs54("div", { className: "k-tabstrip k-tabstrip-top k-editor-find-replace", children: [
8015
+ /* @__PURE__ */ jsx127("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs54("ul", { className: "k-tabstrip-items k-reset", children: [
8016
+ /* @__PURE__ */ jsx127("li", { className: "k-item k-active k-tab-on-top", children: /* @__PURE__ */ jsx127("span", { className: "k-link", children: "Find" }) }),
8017
+ /* @__PURE__ */ jsx127("li", { className: "k-item", children: /* @__PURE__ */ jsx127("span", { className: "k-link", children: "Replace" }) })
8004
8018
  ] }) }),
8005
- /* @__PURE__ */ jsx126("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs54(Form, { tag: "div", children: [
8006
- /* @__PURE__ */ jsx126(FormField, { label: "Find What:", editor: /* @__PURE__ */ jsx126(Textbox, { showClearButton: false, value: "editor" }) }),
8007
- /* @__PURE__ */ jsx126(FormField, { editor: /* @__PURE__ */ jsxs54(CheckboxGroup, { className: "k-search-options", children: [
8008
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Match case" }) }),
8009
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Match whole word only" }) }),
8010
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Match cyclic (Wrap around)" }) }),
8011
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Regular Expression" }) })
8019
+ /* @__PURE__ */ jsx127("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs54(Form, { tag: "div", children: [
8020
+ /* @__PURE__ */ jsx127(FormField, { label: "Find What:", editor: /* @__PURE__ */ jsx127(Textbox, { showClearButton: false, value: "editor" }) }),
8021
+ /* @__PURE__ */ jsx127(FormField, { editor: /* @__PURE__ */ jsxs54(CheckboxGroup, { className: "k-search-options", children: [
8022
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Match case" }) }),
8023
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Match whole word only" }) }),
8024
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Match cyclic (Wrap around)" }) }),
8025
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Regular Expression" }) })
8012
8026
  ] }) }),
8013
8027
  /* @__PURE__ */ jsxs54("div", { className: "k-matches-container", children: [
8014
- /* @__PURE__ */ jsx126(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-left", children: "Prev" }),
8015
- /* @__PURE__ */ jsx126("span", { children: "1 of 3 matches" }),
8016
- /* @__PURE__ */ jsx126(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-right", children: "Next" })
8028
+ /* @__PURE__ */ jsx127(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-left", children: "Prev" }),
8029
+ /* @__PURE__ */ jsx127("span", { children: "1 of 3 matches" }),
8030
+ /* @__PURE__ */ jsx127(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-right", children: "Next" })
8017
8031
  ] })
8018
8032
  ] }) })
8019
8033
  ] }) }) }),
8020
- /* @__PURE__ */ jsx126("section", { children: /* @__PURE__ */ jsx126(Window, { className: "k-editor-window", title: "Find and Replace", actions: ["x"], children: /* @__PURE__ */ jsxs54("div", { className: "k-tabstrip k-tabstrip-top k-editor-find-replace", children: [
8021
- /* @__PURE__ */ jsx126("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs54("ul", { className: "k-tabstrip-items k-reset", children: [
8022
- /* @__PURE__ */ jsx126("li", { className: "k-item", children: /* @__PURE__ */ jsx126("span", { className: "k-link", children: "Find" }) }),
8023
- /* @__PURE__ */ jsx126("li", { className: "k-item k-active k-tab-on-top", children: /* @__PURE__ */ jsx126("span", { className: "k-link", children: "Replace" }) })
8034
+ /* @__PURE__ */ jsx127("section", { children: /* @__PURE__ */ jsx127(WindowNormal, { className: "k-editor-window", title: "Find and Replace", actions: ["x"], children: /* @__PURE__ */ jsxs54("div", { className: "k-tabstrip k-tabstrip-top k-editor-find-replace", children: [
8035
+ /* @__PURE__ */ jsx127("div", { className: "k-tabstrip-items-wrapper k-hstack", children: /* @__PURE__ */ jsxs54("ul", { className: "k-tabstrip-items k-reset", children: [
8036
+ /* @__PURE__ */ jsx127("li", { className: "k-item", children: /* @__PURE__ */ jsx127("span", { className: "k-link", children: "Find" }) }),
8037
+ /* @__PURE__ */ jsx127("li", { className: "k-item k-active k-tab-on-top", children: /* @__PURE__ */ jsx127("span", { className: "k-link", children: "Replace" }) })
8024
8038
  ] }) }),
8025
- /* @__PURE__ */ jsx126("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs54(Form, { tag: "div", children: [
8026
- /* @__PURE__ */ jsx126(FormField, { label: "Find What:", editor: /* @__PURE__ */ jsx126(Textbox, { showClearButton: false, value: "editor" }) }),
8027
- /* @__PURE__ */ jsx126(FormField, { label: "Replace With:", editor: /* @__PURE__ */ jsx126(Textbox, { showClearButton: false, value: "grid" }) }),
8028
- /* @__PURE__ */ jsx126(FormField, { editor: /* @__PURE__ */ jsxs54(ActionButtons, { alignment: "end", children: [
8029
- /* @__PURE__ */ jsx126(Button, { children: "Replace" }),
8030
- /* @__PURE__ */ jsx126(Button, { children: "Replace All" })
8039
+ /* @__PURE__ */ jsx127("div", { className: "k-tabstrip-content k-active", children: /* @__PURE__ */ jsxs54(Form, { tag: "div", children: [
8040
+ /* @__PURE__ */ jsx127(FormField, { label: "Find What:", editor: /* @__PURE__ */ jsx127(Textbox, { showClearButton: false, value: "editor" }) }),
8041
+ /* @__PURE__ */ jsx127(FormField, { label: "Replace With:", editor: /* @__PURE__ */ jsx127(Textbox, { showClearButton: false, value: "grid" }) }),
8042
+ /* @__PURE__ */ jsx127(FormField, { editor: /* @__PURE__ */ jsxs54(ActionButtons, { alignment: "end", children: [
8043
+ /* @__PURE__ */ jsx127(Button, { children: "Replace" }),
8044
+ /* @__PURE__ */ jsx127(Button, { children: "Replace All" })
8031
8045
  ] }) }),
8032
- /* @__PURE__ */ jsx126(FormField, { editor: /* @__PURE__ */ jsxs54(CheckboxGroup, { className: "k-search-options", children: [
8033
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Match case" }) }),
8034
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Match whole word only" }) }),
8035
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Match cyclic (Wrap around)" }) }),
8036
- /* @__PURE__ */ jsx126(CheckboxItem, { children: /* @__PURE__ */ jsx126(CheckboxWithLabelAfter, { children: "Regular Expression" }) })
8046
+ /* @__PURE__ */ jsx127(FormField, { editor: /* @__PURE__ */ jsxs54(CheckboxGroup, { className: "k-search-options", children: [
8047
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Match case" }) }),
8048
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Match whole word only" }) }),
8049
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Match cyclic (Wrap around)" }) }),
8050
+ /* @__PURE__ */ jsx127(CheckboxItem, { children: /* @__PURE__ */ jsx127(CheckboxWithLabelAfter, { children: "Regular Expression" }) })
8037
8051
  ] }) }),
8038
8052
  /* @__PURE__ */ jsxs54("div", { className: "k-matches-container", children: [
8039
- /* @__PURE__ */ jsx126(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-left", children: "Prev" }),
8040
- /* @__PURE__ */ jsx126("span", { children: "1 of 3 matches" }),
8041
- /* @__PURE__ */ jsx126(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-right", children: "Next" })
8053
+ /* @__PURE__ */ jsx127(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-left", children: "Prev" }),
8054
+ /* @__PURE__ */ jsx127("span", { children: "1 of 3 matches" }),
8055
+ /* @__PURE__ */ jsx127(Button, { themeColor: "primary", fillMode: "flat", icon: "chevron-right", children: "Next" })
8042
8056
  ] })
8043
8057
  ] }) })
8044
8058
  ] }) }) }),
8045
- /* @__PURE__ */ jsx126("span", { children: "Text Highlight" }),
8046
- /* @__PURE__ */ jsx126("span", {}),
8047
- /* @__PURE__ */ jsx126("section", { children: /* @__PURE__ */ jsxs54(EditorNormal, { style: { height: "150px" }, children: [
8048
- /* @__PURE__ */ jsx126(EditorToolbar, { resizable: true, children: /* @__PURE__ */ jsxs54(ButtonGroup, { children: [
8049
- /* @__PURE__ */ jsx126(Button, { icon: "bold" }),
8050
- /* @__PURE__ */ jsx126(Button, { icon: "italic" }),
8051
- /* @__PURE__ */ jsx126(Button, { icon: "underline" }),
8052
- /* @__PURE__ */ jsx126(Button, { icon: "binoculars", selected: true })
8059
+ /* @__PURE__ */ jsx127("span", { children: "Text Highlight" }),
8060
+ /* @__PURE__ */ jsx127("span", {}),
8061
+ /* @__PURE__ */ jsx127("section", { children: /* @__PURE__ */ jsxs54(EditorNormal, { style: { height: "150px" }, children: [
8062
+ /* @__PURE__ */ jsx127(EditorToolbar, { resizable: true, children: /* @__PURE__ */ jsxs54(ButtonGroup, { children: [
8063
+ /* @__PURE__ */ jsx127(Button, { icon: "bold" }),
8064
+ /* @__PURE__ */ jsx127(Button, { icon: "italic" }),
8065
+ /* @__PURE__ */ jsx127(Button, { icon: "underline" }),
8066
+ /* @__PURE__ */ jsx127(Button, { icon: "binoculars", selected: true })
8053
8067
  ] }) }),
8054
- /* @__PURE__ */ jsx126(EditorContent, { children: /* @__PURE__ */ jsxs54("div", { className: "ProseMirror", children: [
8055
- /* @__PURE__ */ jsx126("span", { className: "k-text-selected", children: "Word" }),
8068
+ /* @__PURE__ */ jsx127(EditorContent, { children: /* @__PURE__ */ jsxs54("div", { className: "ProseMirror", children: [
8069
+ /* @__PURE__ */ jsx127("span", { className: "k-text-selected", children: "Word" }),
8056
8070
  " and few more ",
8057
- /* @__PURE__ */ jsx126("span", { className: "k-text-highlighted", children: "word" }),
8071
+ /* @__PURE__ */ jsx127("span", { className: "k-text-highlighted", children: "word" }),
8058
8072
  "s. And yet again. ",
8059
- /* @__PURE__ */ jsx126("span", { className: "k-text-highlighted", children: "Word" }),
8073
+ /* @__PURE__ */ jsx127("span", { className: "k-text-highlighted", children: "Word" }),
8060
8074
  "."
8061
8075
  ] }) })
8062
8076
  ] }) })
@@ -4922,8 +4922,22 @@ Window.options = options13;
4922
4922
  Window.className = WINDOW_CLASSNAME;
4923
4923
  Window.defaultProps = defaultProps11;
4924
4924
 
4925
+ // src/window/templates/window-normal.tsx
4926
+ import { Fragment as Fragment13, jsx as jsx25 } from "react/jsx-runtime";
4927
+ var WindowNormal = (props) => /* @__PURE__ */ jsx25(
4928
+ Window,
4929
+ {
4930
+ title: "Title",
4931
+ actions: ["window-minimize", "window", "x"],
4932
+ children: [
4933
+ /* @__PURE__ */ jsx25(Fragment13, { children: "Content" })
4934
+ ],
4935
+ ...props
4936
+ }
4937
+ );
4938
+
4925
4939
  // src/form/form-field.tsx
4926
- import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
4940
+ import { jsx as jsx26, jsxs as jsxs7 } from "react/jsx-runtime";
4927
4941
  var FORMFIELD_CLASSNAME = "k-form-field";
4928
4942
  var states15 = [
4929
4943
  States.disabled
@@ -4959,14 +4973,14 @@ var FormField = (props) => {
4959
4973
  "k-form-label"
4960
4974
  ), children: [
4961
4975
  label,
4962
- optional && /* @__PURE__ */ jsx25("span", { className: "k-label-optional", children: "(Optional)" }),
4963
- info && /* @__PURE__ */ jsx25("span", { className: "k-field-info", children: "(field info)" })
4976
+ optional && /* @__PURE__ */ jsx26("span", { className: "k-label-optional", children: "(Optional)" }),
4977
+ info && /* @__PURE__ */ jsx26("span", { className: "k-field-info", children: "(field info)" })
4964
4978
  ] }),
4965
- orientation === "horizontal" && !label && /* @__PURE__ */ jsx25("span", { className: "k-label k-form-label k-label-empty" }),
4979
+ orientation === "horizontal" && !label && /* @__PURE__ */ jsx26("span", { className: "k-label k-form-label k-label-empty" }),
4966
4980
  /* @__PURE__ */ jsxs7("div", { className: "k-form-field-wrap", children: [
4967
4981
  editor,
4968
- hint && /* @__PURE__ */ jsx25("div", { className: "k-form-hint", children: hint }),
4969
- error && /* @__PURE__ */ jsx25("div", { className: "k-form-error", children: error })
4982
+ hint && /* @__PURE__ */ jsx26("div", { className: "k-form-hint", children: hint }),
4983
+ error && /* @__PURE__ */ jsx26("div", { className: "k-form-error", children: error })
4970
4984
  ] })
4971
4985
  ]
4972
4986
  }
@@ -4975,7 +4989,7 @@ var FormField = (props) => {
4975
4989
  FormField.className = FORMFIELD_CLASSNAME;
4976
4990
 
4977
4991
  // src/form/fieldset.tsx
4978
- import { Fragment as Fragment13, jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
4992
+ import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
4979
4993
  var FIELDSET_CLASSNAME = "k-form-fieldset";
4980
4994
  var Fieldset = (props) => {
4981
4995
  const {
@@ -4986,8 +5000,8 @@ var Fieldset = (props) => {
4986
5000
  gapY
4987
5001
  } = props;
4988
5002
  return /* @__PURE__ */ jsxs8("fieldset", { className: classNames(FIELDSET_CLASSNAME), children: [
4989
- legend && /* @__PURE__ */ jsx26("legend", { className: "k-form-legend", children: legend }),
4990
- layout === "grid" ? /* @__PURE__ */ jsx26("div", { className: classNames(
5003
+ legend && /* @__PURE__ */ jsx27("legend", { className: "k-form-legend", children: legend }),
5004
+ layout === "grid" ? /* @__PURE__ */ jsx27("div", { className: classNames(
4991
5005
  "k-form-layout",
4992
5006
  "k-d-grid",
4993
5007
  {
@@ -4995,13 +5009,13 @@ var Fieldset = (props) => {
4995
5009
  [`k-gap-x-${gapX}`]: gapX,
4996
5010
  [`k-gap-y-${gapY}`]: gapY
4997
5011
  }
4998
- ), children: props.children }) : /* @__PURE__ */ jsx26(Fragment13, { children: props.children })
5012
+ ), children: props.children }) : /* @__PURE__ */ jsx27(Fragment14, { children: props.children })
4999
5013
  ] });
5000
5014
  };
5001
5015
  Fieldset.className = FIELDSET_CLASSNAME;
5002
5016
 
5003
5017
  // src/form/form.spec.tsx
5004
- import { Fragment as Fragment14, jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
5018
+ import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs9 } from "react/jsx-runtime";
5005
5019
  import { createElement } from "react";
5006
5020
  var FORM_CLASSNAME = "k-form";
5007
5021
  var states16 = [];
@@ -5025,7 +5039,7 @@ var Form = (props) => {
5025
5039
  tag = defaultProps12.tag,
5026
5040
  children
5027
5041
  } = props;
5028
- const Parent = ({ tag: tag2, className: className9, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx27("form", { className: className9, children: children2 }) : /* @__PURE__ */ jsx27("div", { className: className9, children: children2 });
5042
+ const Parent = ({ tag: tag2, className: className9, children: children2 }) => tag2 === "form" ? /* @__PURE__ */ jsx28("form", { className: className9, children: children2 }) : /* @__PURE__ */ jsx28("div", { className: className9, children: children2 });
5029
5043
  const formChildren = [];
5030
5044
  if (children) {
5031
5045
  if (Array.isArray(children)) {
@@ -5054,7 +5068,7 @@ var Form = (props) => {
5054
5068
  [`${FORM_CLASSNAME}-${orientation}`]: orientation
5055
5069
  }
5056
5070
  ), children: [
5057
- layout === "grid" ? /* @__PURE__ */ jsx27("div", { className: classNames(
5071
+ layout === "grid" ? /* @__PURE__ */ jsx28("div", { className: classNames(
5058
5072
  "k-form-layout",
5059
5073
  "k-d-grid",
5060
5074
  {
@@ -5062,8 +5076,8 @@ var Form = (props) => {
5062
5076
  [`k-gap-x-${gapX}`]: gapX,
5063
5077
  [`k-gap-y-${gapY}`]: gapY
5064
5078
  }
5065
- ), children: formChildren }) : /* @__PURE__ */ jsx27(Fragment14, { children: formChildren }),
5066
- formButtons && /* @__PURE__ */ jsx27("div", { className: "k-form-buttons", children: formButtons })
5079
+ ), children: formChildren }) : /* @__PURE__ */ jsx28(Fragment15, { children: formChildren }),
5080
+ formButtons && /* @__PURE__ */ jsx28("div", { className: "k-form-buttons", children: formButtons })
5067
5081
  ] });
5068
5082
  };
5069
5083
  Form.states = states16;
@@ -5072,26 +5086,26 @@ Form.className = FORM_CLASSNAME;
5072
5086
  Form.defaultProps = defaultProps12;
5073
5087
 
5074
5088
  // src/editor/tests/editor-image-editor.tsx
5075
- import { Fragment as Fragment15, jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
5089
+ import { Fragment as Fragment16, jsx as jsx29, jsxs as jsxs10 } from "react/jsx-runtime";
5076
5090
  var styles = `
5077
5091
  .k-window {
5078
5092
  width: 100%;
5079
5093
  position: relative;
5080
5094
  }
5081
5095
  `;
5082
- var editor_image_editor_default = () => /* @__PURE__ */ jsxs10(Fragment15, { children: [
5083
- /* @__PURE__ */ jsx28("style", { children: styles }),
5096
+ var editor_image_editor_default = () => /* @__PURE__ */ jsxs10(Fragment16, { children: [
5097
+ /* @__PURE__ */ jsx29("style", { children: styles }),
5084
5098
  /* @__PURE__ */ jsxs10("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
5085
- /* @__PURE__ */ jsx28("span", { children: "Find Window" }),
5086
- /* @__PURE__ */ jsx28("span", {}),
5087
- /* @__PURE__ */ jsx28("section", { children: /* @__PURE__ */ jsx28(Window, { title: "Insert Image", actions: ["x"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs10(Fragment15, { children: [
5088
- /* @__PURE__ */ jsx28(Button, { themeColor: "primary", children: "Insert" }),
5089
- /* @__PURE__ */ jsx28(Button, { children: "Cancel" })
5099
+ /* @__PURE__ */ jsx29("span", { children: "Find Window" }),
5100
+ /* @__PURE__ */ jsx29("span", {}),
5101
+ /* @__PURE__ */ jsx29("section", { children: /* @__PURE__ */ jsx29(WindowNormal, { title: "Insert Image", actions: ["x"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ jsxs10(Fragment16, { children: [
5102
+ /* @__PURE__ */ jsx29(Button, { themeColor: "primary", children: "Insert" }),
5103
+ /* @__PURE__ */ jsx29(Button, { children: "Cancel" })
5090
5104
  ] }), children: /* @__PURE__ */ jsxs10(Form, { tag: "div", children: [
5091
- /* @__PURE__ */ jsx28(FormField, { label: "Web address:", editor: /* @__PURE__ */ jsx28(Textbox, { showClearButton: false }) }),
5092
- /* @__PURE__ */ jsx28(FormField, { label: "Alternate text:", editor: /* @__PURE__ */ jsx28(Textbox, { showClearButton: false }) }),
5093
- /* @__PURE__ */ jsx28(FormField, { label: "Width:", editor: /* @__PURE__ */ jsx28(Textbox, { showClearButton: false }) }),
5094
- /* @__PURE__ */ jsx28(FormField, { label: "Height:", editor: /* @__PURE__ */ jsx28(Textbox, { showClearButton: false }) })
5105
+ /* @__PURE__ */ jsx29(FormField, { label: "Web address:", editor: /* @__PURE__ */ jsx29(Textbox, { showClearButton: false }) }),
5106
+ /* @__PURE__ */ jsx29(FormField, { label: "Alternate text:", editor: /* @__PURE__ */ jsx29(Textbox, { showClearButton: false }) }),
5107
+ /* @__PURE__ */ jsx29(FormField, { label: "Width:", editor: /* @__PURE__ */ jsx29(Textbox, { showClearButton: false }) }),
5108
+ /* @__PURE__ */ jsx29(FormField, { label: "Height:", editor: /* @__PURE__ */ jsx29(Textbox, { showClearButton: false }) })
5095
5109
  ] }) }) })
5096
5110
  ] })
5097
5111
  ] });