@progress/kendo-themes-html 6.7.1-dev.1 → 6.8.0-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.
Files changed (104) hide show
  1. package/dist/cjs/daterangepicker/daterangepicker.spec.js +206 -203
  2. package/dist/cjs/daterangepicker/templates/daterangepicker-adaptive.js +208 -205
  3. package/dist/cjs/daterangepicker/templates/daterangepicker-normal.js +208 -205
  4. package/dist/cjs/daterangepicker/templates/daterangepicker-popup.js +208 -205
  5. package/dist/cjs/daterangepicker/tests/daterangepicker-adaptive.js +218 -215
  6. package/dist/cjs/daterangepicker/tests/daterangepicker-flat.js +227 -224
  7. package/dist/cjs/daterangepicker/tests/daterangepicker-opened.js +218 -215
  8. package/dist/cjs/daterangepicker/tests/daterangepicker-outline.js +227 -224
  9. package/dist/cjs/daterangepicker/tests/daterangepicker-size-rounded.js +221 -218
  10. package/dist/cjs/daterangepicker/tests/daterangepicker-solid.js +227 -224
  11. package/dist/cjs/floating-label/templates/floating-label-normal.js +115 -0
  12. package/dist/cjs/floating-label/tests/floating-label-flat.js +87 -1136
  13. package/dist/cjs/floating-label/tests/floating-label-outline.js +87 -1136
  14. package/dist/cjs/floating-label/tests/floating-label-solid.js +4929 -0
  15. package/dist/cjs/form/tests/form-field-dateinputs.js +149 -146
  16. package/dist/cjs/form/tests/form-field-inputs-rtl.js +233 -230
  17. package/dist/cjs/form/tests/form-field-inputs.js +234 -231
  18. package/dist/cjs/index.js +2415 -2409
  19. package/dist/cjs/spreadsheet/tests/spreadsheet-cell-contextmenu.js +7103 -0
  20. package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +526 -553
  21. package/dist/cjs/{floating-label/tests/floating-label.js → spreadsheet/tests/spreadsheet-file-dialogs.js} +1113 -922
  22. package/dist/cjs/spreadsheet/tests/spreadsheet-filtering.js +7088 -0
  23. package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +5858 -0
  24. package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +7385 -0
  25. package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +5824 -0
  26. package/dist/cjs/spreadsheet/tests/spreadsheet-formula.js +7062 -0
  27. package/dist/cjs/spreadsheet/tests/{spreadsheet-dialog.js → spreadsheet-insert-dialogs.js} +541 -601
  28. package/dist/cjs/spreadsheet/tests/spreadsheet-jquery.js +7133 -0
  29. package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +6285 -0
  30. package/dist/cjs/spreadsheet/tests/{spreadsheet-tools-popup.js → spreadsheet-row-contextmenu.js} +733 -784
  31. package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +5518 -0
  32. package/dist/cjs/spreadsheet/tests/spreadsheet-tools.js +6989 -0
  33. package/dist/cjs/spreadsheet/tests/spreadsheet.js +660 -708
  34. package/dist/esm/daterangepicker/daterangepicker.spec.js +170 -167
  35. package/dist/esm/daterangepicker/templates/daterangepicker-adaptive.js +172 -169
  36. package/dist/esm/daterangepicker/templates/daterangepicker-normal.js +172 -169
  37. package/dist/esm/daterangepicker/templates/daterangepicker-popup.js +172 -169
  38. package/dist/esm/daterangepicker/tests/daterangepicker-adaptive.js +180 -177
  39. package/dist/esm/daterangepicker/tests/daterangepicker-flat.js +186 -183
  40. package/dist/esm/daterangepicker/tests/daterangepicker-opened.js +180 -177
  41. package/dist/esm/daterangepicker/tests/daterangepicker-outline.js +186 -183
  42. package/dist/esm/daterangepicker/tests/daterangepicker-size-rounded.js +182 -179
  43. package/dist/esm/daterangepicker/tests/daterangepicker-solid.js +186 -183
  44. package/dist/esm/floating-label/templates/floating-label-normal.js +93 -0
  45. package/dist/esm/floating-label/tests/floating-label-flat.js +84 -1133
  46. package/dist/esm/floating-label/tests/floating-label-outline.js +84 -1133
  47. package/dist/esm/floating-label/tests/floating-label-solid.js +4913 -0
  48. package/dist/esm/form/tests/form-field-dateinputs.js +123 -120
  49. package/dist/esm/form/tests/form-field-inputs-rtl.js +194 -191
  50. package/dist/esm/form/tests/form-field-inputs.js +192 -189
  51. package/dist/esm/index.js +2025 -2019
  52. package/dist/esm/spreadsheet/tests/spreadsheet-cell-contextmenu.js +7087 -0
  53. package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +526 -553
  54. package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +6153 -0
  55. package/dist/esm/spreadsheet/tests/spreadsheet-filtering.js +7072 -0
  56. package/dist/esm/{floating-label/tests/floating-label.js → spreadsheet/tests/spreadsheet-find-replace-dialog.js} +849 -969
  57. package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +7369 -0
  58. package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +5808 -0
  59. package/dist/esm/spreadsheet/tests/spreadsheet-formula.js +7046 -0
  60. package/dist/esm/spreadsheet/tests/{spreadsheet-dialog.js → spreadsheet-insert-dialogs.js} +541 -601
  61. package/dist/esm/spreadsheet/tests/{spreadsheet-tools-popup.js → spreadsheet-jquery.js} +296 -317
  62. package/dist/esm/spreadsheet/tests/spreadsheet-print.js +6269 -0
  63. package/dist/esm/spreadsheet/tests/spreadsheet-row-contextmenu.js +7087 -0
  64. package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +5502 -0
  65. package/dist/esm/spreadsheet/tests/spreadsheet-tools.js +6973 -0
  66. package/dist/esm/spreadsheet/tests/spreadsheet.js +661 -709
  67. package/dist/types/floating-label/index.d.ts +1 -0
  68. package/dist/types/floating-label/templates/floating-label-normal.d.ts +4 -0
  69. package/dist/types/spreadsheet/tests/spreadsheet-filtering.d.ts +2 -0
  70. package/dist/types/spreadsheet/tests/spreadsheet-find-replace-dialog.d.ts +2 -0
  71. package/dist/types/spreadsheet/tests/spreadsheet-format-dialogs.d.ts +2 -0
  72. package/dist/types/spreadsheet/tests/spreadsheet-formula-dialog.d.ts +2 -0
  73. package/dist/types/spreadsheet/tests/spreadsheet-formula.d.ts +2 -0
  74. package/dist/types/spreadsheet/tests/spreadsheet-insert-dialogs.d.ts +2 -0
  75. package/dist/types/spreadsheet/tests/spreadsheet-jquery.d.ts +2 -0
  76. package/dist/types/spreadsheet/tests/spreadsheet-print.d.ts +2 -0
  77. package/dist/types/spreadsheet/tests/spreadsheet-row-contextmenu.d.ts +2 -0
  78. package/dist/types/spreadsheet/tests/spreadsheet-sheets-bar.d.ts +2 -0
  79. package/dist/types/spreadsheet/tests/spreadsheet-tools.d.ts +2 -0
  80. package/package.json +2 -2
  81. package/src/floating-label/index.ts +1 -0
  82. package/src/floating-label/templates/floating-label-normal.tsx +7 -0
  83. package/src/floating-label/tests/floating-label-flat.tsx +32 -148
  84. package/src/floating-label/tests/floating-label-outline.tsx +32 -148
  85. package/src/floating-label/tests/floating-label-solid.tsx +64 -0
  86. package/src/spreadsheet/tests/spreadsheet-cell-contextmenu.tsx +538 -0
  87. package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +43 -53
  88. package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +63 -0
  89. package/src/spreadsheet/tests/spreadsheet-filtering.tsx +522 -0
  90. package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +38 -0
  91. package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +76 -0
  92. package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +45 -0
  93. package/src/spreadsheet/tests/spreadsheet-formula.tsx +491 -0
  94. package/src/spreadsheet/tests/{spreadsheet-dialog.tsx → spreadsheet-insert-dialogs.tsx} +35 -52
  95. package/src/spreadsheet/tests/{spreadsheet-tools-popup.tsx → spreadsheet-jquery.tsx} +19 -43
  96. package/src/spreadsheet/tests/spreadsheet-print.tsx +179 -0
  97. package/src/spreadsheet/tests/spreadsheet-row-contextmenu.tsx +538 -0
  98. package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +123 -0
  99. package/src/spreadsheet/tests/spreadsheet-tools.tsx +315 -0
  100. package/src/spreadsheet/tests/spreadsheet.tsx +372 -435
  101. package/src/floating-label/tests/floating-label.tsx +0 -180
  102. /package/dist/types/floating-label/tests/{floating-label.d.ts → floating-label-solid.d.ts} +0 -0
  103. /package/dist/types/spreadsheet/tests/{spreadsheet-dialog.d.ts → spreadsheet-cell-contextmenu.d.ts} +0 -0
  104. /package/dist/types/spreadsheet/tests/{spreadsheet-tools-popup.d.ts → spreadsheet-file-dialogs.d.ts} +0 -0
@@ -16,12 +16,12 @@ var __copyProps = (to, from, except, desc) => {
16
16
  };
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
 
19
- // src/spreadsheet/tests/spreadsheet-dialog.tsx
20
- var spreadsheet_dialog_exports = {};
21
- __export(spreadsheet_dialog_exports, {
22
- default: () => spreadsheet_dialog_default
19
+ // src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx
20
+ var spreadsheet_insert_dialogs_exports = {};
21
+ __export(spreadsheet_insert_dialogs_exports, {
22
+ default: () => spreadsheet_insert_dialogs_default
23
23
  });
24
- module.exports = __toCommonJS(spreadsheet_dialog_exports);
24
+ module.exports = __toCommonJS(spreadsheet_insert_dialogs_exports);
25
25
 
26
26
  // src/misc/class-names.ts
27
27
  var classNames = (...args) => {
@@ -5057,137 +5057,10 @@ Form.options = options14;
5057
5057
  Form.className = FORM_CLASSNAME;
5058
5058
  Form.defaultProps = defaultProps12;
5059
5059
 
5060
- // src/radio/radio.spec.tsx
5061
- var import_jsx_runtime26 = require("react/jsx-runtime");
5062
- var RADIOBUTTON_CLASSNAME = `k-radio`;
5063
- var states17 = [
5064
- States.hover,
5065
- States.focus,
5066
- States.valid,
5067
- States.invalid,
5068
- States.required,
5069
- States.disabled,
5070
- States.checked
5071
- ];
5072
- var options15 = {
5073
- size: [Size.small, Size.medium, Size.large]
5074
- };
5075
- var defaultProps13 = {
5076
- size: Size.medium
5077
- };
5078
- var RadioButton = (props) => {
5079
- const {
5080
- id,
5081
- checked,
5082
- hover,
5083
- focus,
5084
- disabled,
5085
- invalid,
5086
- valid,
5087
- required,
5088
- size = defaultProps13.size,
5089
- ...other
5090
- } = props;
5091
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "k-radio-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5092
- "input",
5093
- {
5094
- ...other,
5095
- id,
5096
- type: "radio",
5097
- checked,
5098
- required,
5099
- className: classNames(
5100
- props.className,
5101
- RADIOBUTTON_CLASSNAME,
5102
- optionClassNames(RADIOBUTTON_CLASSNAME, { size }),
5103
- stateClassNames(RADIOBUTTON_CLASSNAME, { hover, focus, disabled, invalid, valid, checked })
5104
- )
5105
- }
5106
- ) });
5107
- };
5108
- RadioButton.states = states17;
5109
- RadioButton.options = options15;
5110
- RadioButton.className = RADIOBUTTON_CLASSNAME;
5111
- RadioButton.defaultProps = defaultProps13;
5112
- var radio_spec_default = RadioButton;
5113
-
5114
- // src/radio/radio-group.spec.tsx
5115
- var import_jsx_runtime27 = require("react/jsx-runtime");
5116
- var RADIOGROUP_CLASSNAME = `k-radio-list`;
5117
- var states18 = [];
5118
- var options16 = {};
5119
- var defaultProps14 = {
5120
- layout: "vertical"
5121
- };
5122
- var RadioGroup = (props) => {
5123
- const {
5124
- layout = defaultProps14.layout,
5125
- ...other
5126
- } = props;
5127
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5128
- "ul",
5129
- {
5130
- ...other,
5131
- className: classNames(
5132
- props.className,
5133
- RADIOGROUP_CLASSNAME,
5134
- {
5135
- [`k-list-${layout}`]: layout
5136
- }
5137
- ),
5138
- children: props.children
5139
- }
5140
- );
5141
- };
5142
- RadioGroup.states = states18;
5143
- RadioGroup.options = options16;
5144
- RadioGroup.className = RADIOGROUP_CLASSNAME;
5145
- RadioGroup.defaultProps = defaultProps14;
5146
-
5147
- // src/radio/radio-item.spec.tsx
5148
- var import_jsx_runtime28 = require("react/jsx-runtime");
5149
- var RADIOITEM_CLASSNAME = `k-radio-list-item`;
5150
- var states19 = [];
5151
- var options17 = {};
5152
- var defaultProps15 = {};
5153
- var RadioItem = (props) => {
5154
- const {
5155
- ...other
5156
- } = props;
5157
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5158
- "li",
5159
- {
5160
- ...other,
5161
- className: classNames(
5162
- props.className,
5163
- RADIOITEM_CLASSNAME
5164
- ),
5165
- children: props.children
5166
- }
5167
- );
5168
- };
5169
- RadioItem.states = states19;
5170
- RadioItem.options = options17;
5171
- RadioItem.className = RADIOITEM_CLASSNAME;
5172
- RadioItem.defaultProps = defaultProps15;
5173
-
5174
- // src/radio/templates/radio-normal.tsx
5175
- var import_jsx_runtime29 = require("react/jsx-runtime");
5176
-
5177
- // src/radio/templates/radio-label.tsx
5178
- var import_jsx_runtime30 = require("react/jsx-runtime");
5179
- var RadioButtonLabel = ({ children, id, ...other }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
5180
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(radio_spec_default, { ...other, id }),
5181
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("label", { className: "k-radio-label", htmlFor: id, children })
5182
- ] });
5183
-
5184
- // src/radio/templates/radio-inside-label.tsx
5185
- var import_jsx_runtime31 = require("react/jsx-runtime");
5186
-
5187
5060
  // src/textbox/textbox.spec.tsx
5188
- var import_jsx_runtime32 = require("react/jsx-runtime");
5061
+ var import_jsx_runtime26 = require("react/jsx-runtime");
5189
5062
  var TEXTBOX_CLASSNAME = `k-textbox`;
5190
- var states20 = [
5063
+ var states17 = [
5191
5064
  States.hover,
5192
5065
  States.focus,
5193
5066
  States.valid,
@@ -5197,12 +5070,12 @@ var states20 = [
5197
5070
  States.loading,
5198
5071
  States.readonly
5199
5072
  ];
5200
- var options18 = {
5073
+ var options15 = {
5201
5074
  size: [Size.small, Size.medium, Size.large],
5202
5075
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5203
5076
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5204
5077
  };
5205
- var defaultProps16 = {
5078
+ var defaultProps13 = {
5206
5079
  showClearButton: true,
5207
5080
  size: Input.defaultProps.size,
5208
5081
  rounded: Input.defaultProps.rounded,
@@ -5225,10 +5098,10 @@ var Textbox = (props) => {
5225
5098
  loading,
5226
5099
  disabled,
5227
5100
  readonly,
5228
- showClearButton = defaultProps16.showClearButton,
5101
+ showClearButton = defaultProps13.showClearButton,
5229
5102
  ...other
5230
5103
  } = props;
5231
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5104
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
5232
5105
  Input,
5233
5106
  {
5234
5107
  ...other,
@@ -5245,9 +5118,9 @@ var Textbox = (props) => {
5245
5118
  readonly,
5246
5119
  className: classNames(props.className, TEXTBOX_CLASSNAME),
5247
5120
  children: [
5248
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputPrefix, { children: prefix }),
5249
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputInnerInput, { placeholder, value }),
5250
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5121
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(InputPrefix, { children: prefix }),
5122
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(InputInnerInput, { placeholder, value }),
5123
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5251
5124
  InputValidationIcon,
5252
5125
  {
5253
5126
  valid,
@@ -5256,14 +5129,14 @@ var Textbox = (props) => {
5256
5129
  disabled
5257
5130
  }
5258
5131
  ),
5259
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5132
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5260
5133
  InputLoadingIcon,
5261
5134
  {
5262
5135
  loading,
5263
5136
  disabled
5264
5137
  }
5265
5138
  ),
5266
- showClearButton && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5139
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5267
5140
  InputClearValue,
5268
5141
  {
5269
5142
  loading,
@@ -5272,31 +5145,331 @@ var Textbox = (props) => {
5272
5145
  value
5273
5146
  }
5274
5147
  ),
5275
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(InputSuffix, { children: suffix })
5148
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(InputSuffix, { children: suffix })
5276
5149
  ]
5277
5150
  }
5278
5151
  );
5279
5152
  };
5280
- Textbox.states = states20;
5281
- Textbox.options = options18;
5153
+ Textbox.states = states17;
5154
+ Textbox.options = options15;
5282
5155
  Textbox.className = TEXTBOX_CLASSNAME;
5283
- Textbox.defaultProps = defaultProps16;
5156
+ Textbox.defaultProps = defaultProps13;
5284
5157
 
5285
5158
  // src/textbox/templates/textbox-normal.tsx
5286
- var import_jsx_runtime33 = require("react/jsx-runtime");
5159
+ var import_jsx_runtime27 = require("react/jsx-runtime");
5287
5160
 
5288
5161
  // src/textbox/templates/textbox-prefix.tsx
5289
- var import_jsx_runtime34 = require("react/jsx-runtime");
5162
+ var import_jsx_runtime28 = require("react/jsx-runtime");
5290
5163
 
5291
5164
  // src/textbox/templates/textbox-suffix.tsx
5165
+ var import_jsx_runtime29 = require("react/jsx-runtime");
5166
+
5167
+ // src/upload/upload-dropzone.tsx
5168
+ var import_jsx_runtime30 = require("react/jsx-runtime");
5169
+ var UPLOADDROPZONE_CLASSNAME = `k-upload-dropzone`;
5170
+ var states18 = [
5171
+ States.hover
5172
+ ];
5173
+ var UploadDropzone = (props) => {
5174
+ const {
5175
+ hover,
5176
+ status,
5177
+ ...other
5178
+ } = props;
5179
+ let statusMsg = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, {});
5180
+ switch (status) {
5181
+ case "uploading":
5182
+ statusMsg = /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
5183
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: "upload" }),
5184
+ "Uploading..."
5185
+ ] });
5186
+ break;
5187
+ case "done":
5188
+ statusMsg = /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
5189
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: "check" }),
5190
+ "Done"
5191
+ ] });
5192
+ break;
5193
+ case "failed":
5194
+ statusMsg = /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
5195
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: "exclamation-circle" }),
5196
+ "Done"
5197
+ ] });
5198
+ break;
5199
+ default:
5200
+ statusMsg = /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, {});
5201
+ break;
5202
+ }
5203
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
5204
+ "div",
5205
+ {
5206
+ ...other,
5207
+ className: classNames(
5208
+ props.className,
5209
+ UPLOADDROPZONE_CLASSNAME,
5210
+ "k-dropzone",
5211
+ stateClassNames(UPLOADDROPZONE_CLASSNAME, {
5212
+ hover
5213
+ })
5214
+ ),
5215
+ children: [
5216
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "k-upload-button-wrap", children: [
5217
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { className: "k-upload-button", children: "Select files..." }),
5218
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("input", { id: "upload-input", className: "k-hidden" })
5219
+ ] }),
5220
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5221
+ "span",
5222
+ {
5223
+ className: classNames(
5224
+ "k-dropzone-hint",
5225
+ {
5226
+ "k-hidden": status !== "upload"
5227
+ }
5228
+ ),
5229
+ children: "Drop files here to upload"
5230
+ }
5231
+ ),
5232
+ status !== "upload" && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-upload-status", children: statusMsg })
5233
+ ]
5234
+ }
5235
+ );
5236
+ };
5237
+
5238
+ // src/upload/upload.spec.tsx
5239
+ var import_jsx_runtime31 = require("react/jsx-runtime");
5240
+ var UPLOAD_CLASSNAME = `k-upload`;
5241
+ var states19 = [
5242
+ States.hover,
5243
+ States.disabled
5244
+ ];
5245
+ var options16 = {};
5246
+ var defaultProps14 = {};
5247
+ var Upload = (props) => {
5248
+ const {
5249
+ async,
5250
+ empty,
5251
+ actions,
5252
+ hover,
5253
+ status,
5254
+ disabled,
5255
+ ...other
5256
+ } = props;
5257
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5258
+ "div",
5259
+ {
5260
+ ...other,
5261
+ className: classNames(
5262
+ props.className,
5263
+ UPLOAD_CLASSNAME,
5264
+ stateClassNames(UPLOAD_CLASSNAME, {
5265
+ disabled
5266
+ }),
5267
+ {
5268
+ "k-upload-async": async,
5269
+ "k-upload-empty": empty
5270
+ }
5271
+ ),
5272
+ children: [
5273
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(UploadDropzone, { status, hover }),
5274
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("ul", { className: "k-upload-files", children: props.children }),
5275
+ actions && /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(action_buttons_spec_default, { alignment: "end", orientation: "horizontal", children: [
5276
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { className: "k-clear-selected", children: "Clear" }),
5277
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { themeColor: "primary", className: "k-upload-selected", children: "Update" })
5278
+ ] })
5279
+ ]
5280
+ }
5281
+ );
5282
+ };
5283
+ Upload.states = states19;
5284
+ Upload.options = options16;
5285
+ Upload.className = UPLOAD_CLASSNAME;
5286
+ Upload.defaultProps = defaultProps14;
5287
+
5288
+ // src/progressbar/progressbar.spec.tsx
5289
+ var import_jsx_runtime32 = require("react/jsx-runtime");
5290
+ var PROGRESSBAR_CLASSNAME = `k-progressbar`;
5291
+ var states20 = [
5292
+ States.disabled,
5293
+ States.indeterminate
5294
+ ];
5295
+ var options17 = {};
5296
+ var defaultProps15 = {
5297
+ indeterminate: false,
5298
+ label: true,
5299
+ labelPosition: "start",
5300
+ orientation: "horizontal",
5301
+ reverse: false,
5302
+ value: "0"
5303
+ };
5304
+ var ProgressBar = (props) => {
5305
+ const {
5306
+ disabled,
5307
+ height,
5308
+ indeterminate = defaultProps15.indeterminate,
5309
+ label = defaultProps15.label,
5310
+ labelPosition = defaultProps15.labelPosition,
5311
+ orientation = defaultProps15.orientation,
5312
+ reverse = defaultProps15.reverse,
5313
+ value = defaultProps15.value,
5314
+ width,
5315
+ ...other
5316
+ } = props;
5317
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5318
+ "div",
5319
+ {
5320
+ ...other,
5321
+ className: classNames(
5322
+ props.className,
5323
+ PROGRESSBAR_CLASSNAME,
5324
+ stateClassNames(PROGRESSBAR_CLASSNAME, {
5325
+ disabled
5326
+ }),
5327
+ {
5328
+ [`${PROGRESSBAR_CLASSNAME}-${orientation}`]: orientation,
5329
+ [`${PROGRESSBAR_CLASSNAME}-indeterminate`]: indeterminate,
5330
+ [`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
5331
+ }
5332
+ ),
5333
+ style: orientation === "horizontal" ? { "--kendo-progressbar-value": value, height } : { "--kendo-progressbar-value": value, width },
5334
+ children: [
5335
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: classNames(
5336
+ "k-progress-status-wrap",
5337
+ {
5338
+ [`k-progress-${labelPosition}`]: labelPosition && !indeterminate
5339
+ }
5340
+ ), children: label && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("span", { className: "k-progress-status", children: [
5341
+ value,
5342
+ "%"
5343
+ ] }) }),
5344
+ !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: classNames(
5345
+ "k-progress-status-wrap",
5346
+ {
5347
+ [`k-progress-${labelPosition}`]: labelPosition
5348
+ }
5349
+ ), children: label && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("span", { className: "k-progress-status", children: [
5350
+ props.value,
5351
+ "%"
5352
+ ] }) }) })
5353
+ ]
5354
+ }
5355
+ );
5356
+ };
5357
+ ProgressBar.states = states20;
5358
+ ProgressBar.options = options17;
5359
+ ProgressBar.className = PROGRESSBAR_CLASSNAME;
5360
+ ProgressBar.defaultProps = defaultProps15;
5361
+
5362
+ // src/progressbar/chunk-progressbar.spec.tsx
5363
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5364
+ var CHUNKPROGRESSBAR_CLASSNAME = `k-chunk-progressbar`;
5365
+ var isSelected = (progress, index) => index <= progress - 1 ? true : false;
5366
+ var states21 = [
5367
+ States.indeterminate
5368
+ ];
5369
+ var options18 = {};
5370
+ var defaultProps16 = {
5371
+ chunkCount: 5,
5372
+ orientation: "horizontal",
5373
+ progress: 0
5374
+ };
5375
+ var ChunkProgressBar = (props) => {
5376
+ const {
5377
+ chunkCount = defaultProps16.chunkCount,
5378
+ indeterminate,
5379
+ orientation = defaultProps16.orientation,
5380
+ progress = defaultProps16.progress,
5381
+ reverse,
5382
+ ...other
5383
+ } = props;
5384
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5385
+ "div",
5386
+ {
5387
+ ...other,
5388
+ className: classNames(
5389
+ props.className,
5390
+ PROGRESSBAR_CLASSNAME,
5391
+ CHUNKPROGRESSBAR_CLASSNAME,
5392
+ {
5393
+ [`${PROGRESSBAR_CLASSNAME}-${orientation}`]: orientation,
5394
+ [`${PROGRESSBAR_CLASSNAME}-indeterminate`]: indeterminate,
5395
+ [`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
5396
+ }
5397
+ ),
5398
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
5399
+ (_el, i) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { className: classNames(
5400
+ "k-progressbar-chunk",
5401
+ {
5402
+ "k-first": i === 0,
5403
+ "k-last": i === [...Array(chunkCount)].length - 1,
5404
+ "k-selected": isSelected(progress, i)
5405
+ }
5406
+ ) }, i)
5407
+ ) })
5408
+ }
5409
+ );
5410
+ };
5411
+ ChunkProgressBar.states = states21;
5412
+ ChunkProgressBar.options = options18;
5413
+ ChunkProgressBar.className = CHUNKPROGRESSBAR_CLASSNAME;
5414
+ ChunkProgressBar.defaultProps = defaultProps16;
5415
+
5416
+ // src/upload/upload-file-info.tsx
5417
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5418
+
5419
+ // src/upload/upload-file.tsx
5292
5420
  var import_jsx_runtime35 = require("react/jsx-runtime");
5293
5421
 
5294
- // src/animation-container/animation-container.spec.tsx
5422
+ // src/upload/upload-file-multiple.tsx
5295
5423
  var import_jsx_runtime36 = require("react/jsx-runtime");
5424
+
5425
+ // src/dropzone/dropzone.spec.tsx
5426
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5427
+ var DROPZONE_CLASSNAME = `k-external-dropzone`;
5428
+ var states22 = [
5429
+ States.hover
5430
+ ];
5431
+ var defaultProps17 = {
5432
+ icon: "upload",
5433
+ note: "Only JPEG, PNG and SVG files are allowed."
5434
+ };
5435
+ var Dropzone = (props) => {
5436
+ const {
5437
+ hover,
5438
+ icon = defaultProps17.icon,
5439
+ note = defaultProps17.note,
5440
+ ...other
5441
+ } = props;
5442
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5443
+ "div",
5444
+ {
5445
+ ...other,
5446
+ className: classNames(
5447
+ props.className,
5448
+ DROPZONE_CLASSNAME,
5449
+ stateClassNames(DROPZONE_CLASSNAME, {}),
5450
+ {
5451
+ "k-external-dropzone-hover": hover
5452
+ }
5453
+ ),
5454
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "k-dropzone-inner", children: [
5455
+ icon && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
5456
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "k-dropzone-hint", children: "Drag and drop files here to upload" }),
5457
+ note && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: "k-dropzone-note", children: [
5458
+ " ",
5459
+ note,
5460
+ " "
5461
+ ] })
5462
+ ] })
5463
+ }
5464
+ );
5465
+ };
5466
+
5467
+ // src/animation-container/animation-container.spec.tsx
5468
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5296
5469
  var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
5297
- var states21 = [];
5470
+ var states23 = [];
5298
5471
  var options19 = {};
5299
- var defaultProps17 = {
5472
+ var defaultProps18 = {
5300
5473
  positionMode: "absolute"
5301
5474
  };
5302
5475
  var AnimationContainer = (props) => {
@@ -5306,7 +5479,7 @@ var AnimationContainer = (props) => {
5306
5479
  offset,
5307
5480
  ...other
5308
5481
  } = props;
5309
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5482
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5310
5483
  "div",
5311
5484
  {
5312
5485
  ...other,
@@ -5318,21 +5491,21 @@ var AnimationContainer = (props) => {
5318
5491
  ["k-animation-container-fixed"]: positionMode === "fixed"
5319
5492
  }
5320
5493
  ),
5321
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5494
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
5322
5495
  }
5323
5496
  );
5324
5497
  };
5325
- AnimationContainer.states = states21;
5498
+ AnimationContainer.states = states23;
5326
5499
  AnimationContainer.options = options19;
5327
5500
  AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
5328
- AnimationContainer.defaultProps = defaultProps17;
5501
+ AnimationContainer.defaultProps = defaultProps18;
5329
5502
 
5330
5503
  // src/popup/popup.spec.tsx
5331
- var import_jsx_runtime37 = require("react/jsx-runtime");
5504
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5332
5505
  var POPUP_CLASSNAME = `k-popup`;
5333
- var states22 = [];
5506
+ var states24 = [];
5334
5507
  var options20 = {};
5335
- var defaultProps18 = {
5508
+ var defaultProps19 = {
5336
5509
  positionMode: "absolute"
5337
5510
  };
5338
5511
  var Popup = (props) => {
@@ -5341,24 +5514,24 @@ var Popup = (props) => {
5341
5514
  positionMode,
5342
5515
  ...other
5343
5516
  } = props;
5344
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5517
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5345
5518
  AnimationContainer,
5346
5519
  {
5347
5520
  positionMode,
5348
5521
  offset,
5349
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5522
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5350
5523
  }
5351
5524
  );
5352
5525
  };
5353
- Popup.states = states22;
5526
+ Popup.states = states24;
5354
5527
  Popup.options = options20;
5355
5528
  Popup.className = POPUP_CLASSNAME;
5356
- Popup.defaultProps = defaultProps18;
5529
+ Popup.defaultProps = defaultProps19;
5357
5530
 
5358
5531
  // src/dropdownlist/dropdownlist.spec.tsx
5359
- var import_jsx_runtime38 = require("react/jsx-runtime");
5532
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5360
5533
  var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5361
- var states23 = [
5534
+ var states25 = [
5362
5535
  States.hover,
5363
5536
  States.focus,
5364
5537
  States.valid,
@@ -5373,7 +5546,7 @@ var options21 = {
5373
5546
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5374
5547
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5375
5548
  };
5376
- var defaultProps19 = {
5549
+ var defaultProps20 = {
5377
5550
  showValue: true,
5378
5551
  arrowIconName: "caret-alt-down",
5379
5552
  size: Size.medium,
@@ -5383,7 +5556,7 @@ var defaultProps19 = {
5383
5556
  var DropdownList = (props) => {
5384
5557
  const {
5385
5558
  valueIconName,
5386
- arrowIconName = defaultProps19.arrowIconName,
5559
+ arrowIconName = defaultProps20.arrowIconName,
5387
5560
  prefix,
5388
5561
  suffix,
5389
5562
  value,
@@ -5399,13 +5572,13 @@ var DropdownList = (props) => {
5399
5572
  loading,
5400
5573
  disabled,
5401
5574
  readonly,
5402
- showValue = defaultProps19.showValue,
5575
+ showValue = defaultProps20.showValue,
5403
5576
  popup,
5404
5577
  opened,
5405
5578
  ...other
5406
5579
  } = props;
5407
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
5408
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
5580
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
5581
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
5409
5582
  Picker,
5410
5583
  {
5411
5584
  ...other,
@@ -5428,8 +5601,8 @@ var DropdownList = (props) => {
5428
5601
  }
5429
5602
  ),
5430
5603
  children: [
5431
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputPrefix, { children: prefix }),
5432
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5604
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputPrefix, { children: prefix }),
5605
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5433
5606
  InputInnerSpan,
5434
5607
  {
5435
5608
  placeholder,
@@ -5438,7 +5611,7 @@ var DropdownList = (props) => {
5438
5611
  valueIconName
5439
5612
  }
5440
5613
  ),
5441
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5614
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5442
5615
  InputValidationIcon,
5443
5616
  {
5444
5617
  valid,
@@ -5447,15 +5620,15 @@ var DropdownList = (props) => {
5447
5620
  disabled
5448
5621
  }
5449
5622
  ),
5450
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5623
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5451
5624
  InputLoadingIcon,
5452
5625
  {
5453
5626
  loading,
5454
5627
  disabled
5455
5628
  }
5456
5629
  ),
5457
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputSuffix, { children: suffix }),
5458
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
5630
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputSuffix, { children: suffix }),
5631
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5459
5632
  Button,
5460
5633
  {
5461
5634
  className: "k-input-button",
@@ -5468,35 +5641,35 @@ var DropdownList = (props) => {
5468
5641
  ]
5469
5642
  }
5470
5643
  ),
5471
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5644
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5472
5645
  ] });
5473
5646
  };
5474
- DropdownList.states = states23;
5647
+ DropdownList.states = states25;
5475
5648
  DropdownList.options = options21;
5476
5649
  DropdownList.className = DROPDOWNLIST_CLASSNAME;
5477
- DropdownList.defaultProps = defaultProps19;
5650
+ DropdownList.defaultProps = defaultProps20;
5478
5651
 
5479
5652
  // src/dropdownlist/templates/dropdownlist-normal.tsx
5480
- var import_jsx_runtime39 = require("react/jsx-runtime");
5653
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5481
5654
 
5482
5655
  // src/nodata/nodata.tsx
5483
- var import_jsx_runtime40 = require("react/jsx-runtime");
5656
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5484
5657
  var className9 = `k-nodata`;
5485
- var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: classNames(className9, props.className), children: props.children });
5658
+ var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: classNames(className9, props.className), children: props.children });
5486
5659
 
5487
5660
  // src/list/list.spec.tsx
5488
- var import_jsx_runtime41 = require("react/jsx-runtime");
5661
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5489
5662
  var LIST_CLASSNAME = `k-list`;
5490
- var states24 = [];
5663
+ var states26 = [];
5491
5664
  var options22 = {
5492
5665
  size: [Size.small, Size.medium, Size.large]
5493
5666
  };
5494
- var defaultProps20 = {
5667
+ var defaultProps21 = {
5495
5668
  size: Size.medium
5496
5669
  };
5497
5670
  var List = (props) => {
5498
5671
  const {
5499
- size = defaultProps20.size,
5672
+ size = defaultProps21.size,
5500
5673
  virtualization,
5501
5674
  children,
5502
5675
  optionLabel,
@@ -5513,7 +5686,7 @@ var List = (props) => {
5513
5686
  listHeader = child.props.label;
5514
5687
  child.props.children.map((optChild, index2) => {
5515
5688
  listChildren.push(
5516
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5689
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5517
5690
  ListItem,
5518
5691
  {
5519
5692
  ...optChild.props
@@ -5529,7 +5702,7 @@ var List = (props) => {
5529
5702
  groupLabel = child.props.label;
5530
5703
  }
5531
5704
  listChildren.push(
5532
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5705
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5533
5706
  ListItem,
5534
5707
  {
5535
5708
  className: index2 === 0 ? "k-first" : "",
@@ -5541,16 +5714,16 @@ var List = (props) => {
5541
5714
  );
5542
5715
  });
5543
5716
  }
5544
- listGroup = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5717
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5545
5718
  } else if (child.type === ListItem) {
5546
- listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5547
- listContent = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ListContent, { virtualization, children: listChildren });
5719
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5720
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(ListContent, { virtualization, children: listChildren });
5548
5721
  }
5549
5722
  });
5550
5723
  } else {
5551
- listContent = /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(NoData, { children: "No data found." });
5724
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(NoData, { children: "No data found." });
5552
5725
  }
5553
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
5726
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
5554
5727
  "div",
5555
5728
  {
5556
5729
  ...other,
@@ -5572,24 +5745,25 @@ var List = (props) => {
5572
5745
  }
5573
5746
  );
5574
5747
  };
5575
- List.states = states24;
5748
+ List.states = states26;
5576
5749
  List.options = options22;
5577
5750
  List.className = LIST_CLASSNAME;
5578
- List.defaultProps = defaultProps20;
5751
+ List.defaultProps = defaultProps21;
5752
+ var list_spec_default = List;
5579
5753
 
5580
5754
  // src/list/list-angular.spec.tsx
5581
- var import_jsx_runtime42 = require("react/jsx-runtime");
5755
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5582
5756
  var LISTANGULAR_CLASSNAME = `k-list`;
5583
- var states25 = [];
5757
+ var states27 = [];
5584
5758
  var options23 = {
5585
5759
  size: [Size.small, Size.medium, Size.large]
5586
5760
  };
5587
- var defaultProps21 = {
5761
+ var defaultProps22 = {
5588
5762
  size: Size.medium
5589
5763
  };
5590
5764
  var ListAngular = (props) => {
5591
5765
  const {
5592
- size = defaultProps21.size,
5766
+ size = defaultProps22.size,
5593
5767
  virtualization,
5594
5768
  children,
5595
5769
  ...other
@@ -5605,7 +5779,7 @@ var ListAngular = (props) => {
5605
5779
  listHeader = child.props.label;
5606
5780
  child.props.children.map((optChild, index2) => {
5607
5781
  listChildren.push(
5608
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5782
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5609
5783
  ListItem,
5610
5784
  {
5611
5785
  ...optChild.props
@@ -5616,7 +5790,7 @@ var ListAngular = (props) => {
5616
5790
  });
5617
5791
  } else {
5618
5792
  listChildren.push(
5619
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5793
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5620
5794
  ListGroupItem,
5621
5795
  {
5622
5796
  ...child.props,
@@ -5627,7 +5801,7 @@ var ListAngular = (props) => {
5627
5801
  );
5628
5802
  child.props.children.map((optChild, index2) => {
5629
5803
  listChildren.push(
5630
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
5804
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5631
5805
  ListItem,
5632
5806
  {
5633
5807
  ...optChild.props
@@ -5637,16 +5811,16 @@ var ListAngular = (props) => {
5637
5811
  );
5638
5812
  });
5639
5813
  }
5640
- listGroup = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5814
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5641
5815
  } else if (child.type === ListItem) {
5642
- listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5643
- listContent = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ListContent, { virtualization, children: listChildren });
5816
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5817
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ListContent, { virtualization, children: listChildren });
5644
5818
  }
5645
5819
  });
5646
5820
  } else {
5647
- listContent = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(NoData, { children: "No data found." });
5821
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(NoData, { children: "No data found." });
5648
5822
  }
5649
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
5823
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
5650
5824
  "div",
5651
5825
  {
5652
5826
  ...other,
@@ -5667,15 +5841,15 @@ var ListAngular = (props) => {
5667
5841
  }
5668
5842
  );
5669
5843
  };
5670
- ListAngular.states = states25;
5844
+ ListAngular.states = states27;
5671
5845
  ListAngular.options = options23;
5672
5846
  ListAngular.className = LISTANGULAR_CLASSNAME;
5673
- ListAngular.defaultProps = defaultProps21;
5847
+ ListAngular.defaultProps = defaultProps22;
5674
5848
 
5675
5849
  // src/checkbox/checkbox.spec.tsx
5676
- var import_jsx_runtime43 = require("react/jsx-runtime");
5850
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5677
5851
  var CHECKBOX_CLASSNAME = `k-checkbox`;
5678
- var states26 = [
5852
+ var states28 = [
5679
5853
  States.hover,
5680
5854
  States.focus,
5681
5855
  States.valid,
@@ -5689,7 +5863,7 @@ var options24 = {
5689
5863
  size: [Size.small, Size.medium, Size.large],
5690
5864
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
5691
5865
  };
5692
- var defaultProps22 = {
5866
+ var defaultProps23 = {
5693
5867
  size: Size.medium,
5694
5868
  rounded: Roundness.medium
5695
5869
  };
@@ -5704,11 +5878,11 @@ var Checkbox = (props) => {
5704
5878
  invalid,
5705
5879
  valid,
5706
5880
  required,
5707
- size = defaultProps22.size,
5708
- rounded = defaultProps22.rounded,
5881
+ size = defaultProps23.size,
5882
+ rounded = defaultProps23.rounded,
5709
5883
  ...other
5710
5884
  } = props;
5711
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5885
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5712
5886
  "input",
5713
5887
  {
5714
5888
  ...other,
@@ -5725,25 +5899,25 @@ var Checkbox = (props) => {
5725
5899
  }
5726
5900
  ) });
5727
5901
  };
5728
- Checkbox.states = states26;
5902
+ Checkbox.states = states28;
5729
5903
  Checkbox.options = options24;
5730
5904
  Checkbox.className = CHECKBOX_CLASSNAME;
5731
- Checkbox.defaultProps = defaultProps22;
5905
+ Checkbox.defaultProps = defaultProps23;
5732
5906
 
5733
5907
  // src/checkbox/checkbox-group.spec.tsx
5734
- var import_jsx_runtime44 = require("react/jsx-runtime");
5908
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5735
5909
  var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
5736
- var states27 = [];
5910
+ var states29 = [];
5737
5911
  var options25 = {};
5738
- var defaultProps23 = {
5912
+ var defaultProps24 = {
5739
5913
  layout: "vertical"
5740
5914
  };
5741
5915
  var CheckboxGroup = (props) => {
5742
5916
  const {
5743
- layout = defaultProps23.layout,
5917
+ layout = defaultProps24.layout,
5744
5918
  ...other
5745
5919
  } = props;
5746
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
5920
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5747
5921
  "ul",
5748
5922
  {
5749
5923
  ...other,
@@ -5758,22 +5932,22 @@ var CheckboxGroup = (props) => {
5758
5932
  }
5759
5933
  );
5760
5934
  };
5761
- CheckboxGroup.states = states27;
5935
+ CheckboxGroup.states = states29;
5762
5936
  CheckboxGroup.options = options25;
5763
5937
  CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
5764
- CheckboxGroup.defaultProps = defaultProps23;
5938
+ CheckboxGroup.defaultProps = defaultProps24;
5765
5939
 
5766
5940
  // src/checkbox/checkbox-item.spec.tsx
5767
- var import_jsx_runtime45 = require("react/jsx-runtime");
5941
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5768
5942
  var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
5769
- var states28 = [];
5943
+ var states30 = [];
5770
5944
  var options26 = {};
5771
- var defaultProps24 = {};
5945
+ var defaultProps25 = {};
5772
5946
  var CheckboxItem = (props) => {
5773
5947
  const {
5774
5948
  ...other
5775
5949
  } = props;
5776
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5950
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5777
5951
  "li",
5778
5952
  {
5779
5953
  ...other,
@@ -5785,28 +5959,28 @@ var CheckboxItem = (props) => {
5785
5959
  }
5786
5960
  );
5787
5961
  };
5788
- CheckboxItem.states = states28;
5962
+ CheckboxItem.states = states30;
5789
5963
  CheckboxItem.options = options26;
5790
5964
  CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
5791
- CheckboxItem.defaultProps = defaultProps24;
5965
+ CheckboxItem.defaultProps = defaultProps25;
5792
5966
 
5793
5967
  // src/checkbox/templates/checkbox-with-label.tsx
5794
- var import_jsx_runtime46 = require("react/jsx-runtime");
5968
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5795
5969
 
5796
5970
  // src/checkbox/templates/checkbox-normal.tsx
5797
- var import_jsx_runtime47 = require("react/jsx-runtime");
5971
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5798
5972
 
5799
5973
  // src/list/list-item.spec.tsx
5800
- var import_jsx_runtime48 = require("react/jsx-runtime");
5974
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5801
5975
  var LISTITEM_CLASSNAME = `k-list-item`;
5802
- var states29 = [
5976
+ var states31 = [
5803
5977
  States.hover,
5804
5978
  States.focus,
5805
5979
  States.selected,
5806
5980
  States.disabled
5807
5981
  ];
5808
5982
  var options27 = {};
5809
- var defaultProps25 = {};
5983
+ var defaultProps26 = {};
5810
5984
  var ListItem = (props) => {
5811
5985
  const {
5812
5986
  text,
@@ -5822,7 +5996,7 @@ var ListItem = (props) => {
5822
5996
  ...other
5823
5997
  } = props;
5824
5998
  const textOrChildren = text ? text : props.children;
5825
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
5999
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
5826
6000
  "li",
5827
6001
  {
5828
6002
  ...other,
@@ -5837,66 +6011,66 @@ var ListItem = (props) => {
5837
6011
  })
5838
6012
  ),
5839
6013
  children: [
5840
- showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Checkbox, { checked }),
5841
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon: iconName }),
5842
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
5843
- groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
6014
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Checkbox, { checked }),
6015
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: iconName }),
6016
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
6017
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
5844
6018
  ]
5845
6019
  }
5846
6020
  );
5847
6021
  };
5848
- ListItem.states = states29;
6022
+ ListItem.states = states31;
5849
6023
  ListItem.options = options27;
5850
6024
  ListItem.className = LISTITEM_CLASSNAME;
5851
- ListItem.defaultProps = defaultProps25;
6025
+ ListItem.defaultProps = defaultProps26;
5852
6026
 
5853
6027
  // src/list/list-content.tsx
5854
- var import_jsx_runtime49 = require("react/jsx-runtime");
6028
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5855
6029
  var className10 = `k-list-content`;
5856
6030
  var ListContent = (props) => {
5857
6031
  const {
5858
6032
  virtualization
5859
6033
  } = props;
5860
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: classNames(className10, props.className), children: [
5861
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
5862
- virtualization && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", {}) })
6034
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: classNames(className10, props.className), children: [
6035
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
6036
+ virtualization && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", {}) })
5863
6037
  ] });
5864
6038
  };
5865
6039
 
5866
6040
  // src/list/list-header.tsx
5867
- var import_jsx_runtime50 = require("react/jsx-runtime");
6041
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5868
6042
  var className11 = `k-list-group-sticky-header`;
5869
- var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "k-list-header-text", children: props.children }) });
6043
+ var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "k-list-header-text", children: props.children }) });
5870
6044
 
5871
6045
  // src/list/list-group.tsx
5872
- var import_jsx_runtime51 = require("react/jsx-runtime");
6046
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5873
6047
  var ListGroup = (props) => {
5874
6048
  const {
5875
6049
  virtualization,
5876
6050
  label
5877
6051
  } = props;
5878
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
5879
- label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ListHeader, { children: label }),
5880
- props.children && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ListContent, { virtualization, children: props.children })
6052
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
6053
+ label && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ListHeader, { children: label }),
6054
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ListContent, { virtualization, children: props.children })
5881
6055
  ] });
5882
6056
  };
5883
6057
 
5884
6058
  // src/list/list-group-item.tsx
5885
- var import_jsx_runtime52 = require("react/jsx-runtime");
6059
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5886
6060
  var className12 = `k-list-group-item`;
5887
- var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "k-list-item-text", children: props.children }) });
6061
+ var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "k-list-item-text", children: props.children }) });
5888
6062
 
5889
6063
  // src/list/list-option-label.tsx
5890
- var import_jsx_runtime53 = require("react/jsx-runtime");
6064
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5891
6065
  var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
5892
- var states30 = [
6066
+ var states32 = [
5893
6067
  States.hover,
5894
6068
  States.focus,
5895
6069
  States.selected,
5896
6070
  States.disabled
5897
6071
  ];
5898
6072
  var options28 = {};
5899
- var defaultProps26 = {};
6073
+ var defaultProps27 = {};
5900
6074
  var ListOptionLabel = (props) => {
5901
6075
  const {
5902
6076
  text,
@@ -5906,7 +6080,7 @@ var ListOptionLabel = (props) => {
5906
6080
  disabled,
5907
6081
  ...other
5908
6082
  } = props;
5909
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
6083
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5910
6084
  "div",
5911
6085
  {
5912
6086
  ...other,
@@ -5923,39 +6097,39 @@ var ListOptionLabel = (props) => {
5923
6097
  }
5924
6098
  );
5925
6099
  };
5926
- ListOptionLabel.states = states30;
6100
+ ListOptionLabel.states = states32;
5927
6101
  ListOptionLabel.options = options28;
5928
6102
  ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
5929
- ListOptionLabel.defaultProps = defaultProps26;
6103
+ ListOptionLabel.defaultProps = defaultProps27;
5930
6104
 
5931
6105
  // src/list/templates/list-normal.tsx
5932
- var import_jsx_runtime54 = require("react/jsx-runtime");
6106
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5933
6107
 
5934
6108
  // src/list/templates/list-virtualization.tsx
5935
- var import_jsx_runtime55 = require("react/jsx-runtime");
6109
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5936
6110
 
5937
6111
  // src/list/templates/list-grouping.tsx
5938
- var import_jsx_runtime56 = require("react/jsx-runtime");
6112
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5939
6113
 
5940
6114
  // src/list/templates/list-virualization-grouping.tsx
5941
- var import_jsx_runtime57 = require("react/jsx-runtime");
6115
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5942
6116
 
5943
6117
  // src/list/templates/list-virtualization-angular.tsx
5944
- var import_jsx_runtime58 = require("react/jsx-runtime");
6118
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5945
6119
 
5946
6120
  // src/list/templates/list-grouping-angular.tsx
5947
- var import_jsx_runtime59 = require("react/jsx-runtime");
6121
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5948
6122
 
5949
6123
  // src/list/templates/list-virualization-grouping-angular.tsx
5950
- var import_jsx_runtime60 = require("react/jsx-runtime");
6124
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5951
6125
 
5952
6126
  // src/dropdownlist/templates/dropdownlist-popup.tsx
5953
- var import_jsx_runtime61 = require("react/jsx-runtime");
6127
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5954
6128
 
5955
6129
  // src/searchbox/searchbox.spec.tsx
5956
- var import_jsx_runtime62 = require("react/jsx-runtime");
6130
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5957
6131
  var SEARCHBOX_CLASSNAME = `k-searchbox`;
5958
- var states31 = [
6132
+ var states33 = [
5959
6133
  States.hover,
5960
6134
  States.focus,
5961
6135
  States.valid,
@@ -5969,7 +6143,7 @@ var options29 = {
5969
6143
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5970
6144
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5971
6145
  };
5972
- var defaultProps27 = {
6146
+ var defaultProps28 = {
5973
6147
  showIcon: true,
5974
6148
  icon: "search",
5975
6149
  size: Input.defaultProps.size,
@@ -5990,11 +6164,11 @@ var Searchbox = (props) => {
5990
6164
  required,
5991
6165
  loading,
5992
6166
  disabled,
5993
- showIcon = defaultProps27.showIcon,
5994
- icon = defaultProps27.icon,
6167
+ showIcon = defaultProps28.showIcon,
6168
+ icon = defaultProps28.icon,
5995
6169
  ...other
5996
6170
  } = props;
5997
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
6171
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
5998
6172
  Input,
5999
6173
  {
6000
6174
  ...other,
@@ -6010,386 +6184,152 @@ var Searchbox = (props) => {
6010
6184
  disabled,
6011
6185
  className: classNames(props.className, SEARCHBOX_CLASSNAME),
6012
6186
  children: [
6013
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, { className: "k-input-icon", icon }),
6014
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputInnerInput, { placeholder, value }),
6015
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputLoadingIcon, { ...props }),
6016
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputValidationIcon, { ...props }),
6017
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(InputClearValue, { ...props })
6187
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { className: "k-input-icon", icon }),
6188
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputInnerInput, { placeholder, value }),
6189
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputLoadingIcon, { ...props }),
6190
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputValidationIcon, { ...props }),
6191
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(InputClearValue, { ...props })
6018
6192
  ]
6019
6193
  }
6020
6194
  );
6021
6195
  };
6022
- Searchbox.states = states31;
6196
+ Searchbox.states = states33;
6023
6197
  Searchbox.options = options29;
6024
6198
  Searchbox.className = SEARCHBOX_CLASSNAME;
6025
- Searchbox.defaultProps = defaultProps27;
6199
+ Searchbox.defaultProps = defaultProps28;
6026
6200
 
6027
6201
  // src/searchbox/templates/searchbox-normal.tsx
6028
- var import_jsx_runtime63 = require("react/jsx-runtime");
6029
-
6030
- // src/dropdownlist/templates/dropdownlist-filtering.tsx
6031
- var import_jsx_runtime64 = require("react/jsx-runtime");
6032
-
6033
- // src/dropdownlist/templates/dropdownlist-grouping.tsx
6034
6202
  var import_jsx_runtime65 = require("react/jsx-runtime");
6035
6203
 
6036
- // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6204
+ // src/dropdownlist/templates/dropdownlist-filtering.tsx
6037
6205
  var import_jsx_runtime66 = require("react/jsx-runtime");
6038
6206
 
6039
- // src/upload/upload-dropzone.tsx
6207
+ // src/dropdownlist/templates/dropdownlist-grouping.tsx
6040
6208
  var import_jsx_runtime67 = require("react/jsx-runtime");
6041
- var UPLOADDROPZONE_CLASSNAME = `k-upload-dropzone`;
6042
- var states32 = [
6043
- States.hover
6044
- ];
6045
- var UploadDropzone = (props) => {
6046
- const {
6047
- hover,
6048
- status,
6049
- ...other
6050
- } = props;
6051
- let statusMsg = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, {});
6052
- switch (status) {
6053
- case "uploading":
6054
- statusMsg = /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
6055
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: "upload" }),
6056
- "Uploading..."
6057
- ] });
6058
- break;
6059
- case "done":
6060
- statusMsg = /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
6061
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: "check" }),
6062
- "Done"
6063
- ] });
6064
- break;
6065
- case "failed":
6066
- statusMsg = /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
6067
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: "exclamation-circle" }),
6068
- "Done"
6069
- ] });
6070
- break;
6071
- default:
6072
- statusMsg = /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, {});
6073
- break;
6074
- }
6075
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
6076
- "div",
6077
- {
6078
- ...other,
6079
- className: classNames(
6080
- props.className,
6081
- UPLOADDROPZONE_CLASSNAME,
6082
- "k-dropzone",
6083
- stateClassNames(UPLOADDROPZONE_CLASSNAME, {
6084
- hover
6085
- })
6086
- ),
6087
- children: [
6088
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "k-upload-button-wrap", children: [
6089
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Button, { className: "k-upload-button", children: "Select files..." }),
6090
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("input", { id: "upload-input", className: "k-hidden" })
6091
- ] }),
6092
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
6093
- "span",
6094
- {
6095
- className: classNames(
6096
- "k-dropzone-hint",
6097
- {
6098
- "k-hidden": status !== "upload"
6099
- }
6100
- ),
6101
- children: "Drop files here to upload"
6102
- }
6103
- ),
6104
- status !== "upload" && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "k-upload-status", children: statusMsg })
6105
- ]
6106
- }
6107
- );
6108
- };
6109
6209
 
6110
- // src/upload/upload.spec.tsx
6210
+ // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6111
6211
  var import_jsx_runtime68 = require("react/jsx-runtime");
6112
- var UPLOAD_CLASSNAME = `k-upload`;
6113
- var states33 = [
6114
- States.hover,
6115
- States.disabled
6116
- ];
6117
- var options30 = {};
6118
- var defaultProps28 = {};
6119
- var Upload = (props) => {
6120
- const {
6121
- async,
6122
- empty,
6123
- actions,
6124
- hover,
6125
- status,
6126
- disabled,
6127
- ...other
6128
- } = props;
6129
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6130
- "div",
6131
- {
6132
- ...other,
6133
- className: classNames(
6134
- props.className,
6135
- UPLOAD_CLASSNAME,
6136
- stateClassNames(UPLOAD_CLASSNAME, {
6137
- disabled
6138
- }),
6139
- {
6140
- "k-upload-async": async,
6141
- "k-upload-empty": empty
6142
- }
6143
- ),
6144
- children: [
6145
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(UploadDropzone, { status, hover }),
6146
- props.children && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("ul", { className: "k-upload-files", children: props.children }),
6147
- actions && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(action_buttons_spec_default, { alignment: "end", orientation: "horizontal", children: [
6148
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { className: "k-clear-selected", children: "Clear" }),
6149
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { themeColor: "primary", className: "k-upload-selected", children: "Update" })
6150
- ] })
6151
- ]
6152
- }
6153
- );
6154
- };
6155
- Upload.states = states33;
6156
- Upload.options = options30;
6157
- Upload.className = UPLOAD_CLASSNAME;
6158
- Upload.defaultProps = defaultProps28;
6159
6212
 
6160
- // src/progressbar/progressbar.spec.tsx
6213
+ // src/listbox/listbox.spec.tsx
6161
6214
  var import_jsx_runtime69 = require("react/jsx-runtime");
6162
- var PROGRESSBAR_CLASSNAME = `k-progressbar`;
6215
+ var LISTBOX_CLASSNAME = `k-listbox`;
6163
6216
  var states34 = [
6164
- States.disabled,
6165
- States.indeterminate
6217
+ States.disabled
6166
6218
  ];
6167
- var options31 = {};
6219
+ var options30 = {
6220
+ size: [Size.small, Size.medium, Size.large]
6221
+ };
6168
6222
  var defaultProps29 = {
6169
- indeterminate: false,
6170
- label: true,
6171
- labelPosition: "start",
6172
- orientation: "horizontal",
6173
- reverse: false,
6174
- value: "0"
6223
+ size: Size.medium,
6224
+ actionsPosition: "left"
6175
6225
  };
6176
- var ProgressBar = (props) => {
6226
+ var ListBox = (props) => {
6177
6227
  const {
6228
+ size = defaultProps29.size,
6178
6229
  disabled,
6179
- height,
6180
- indeterminate = defaultProps29.indeterminate,
6181
- label = defaultProps29.label,
6182
- labelPosition = defaultProps29.labelPosition,
6183
- orientation = defaultProps29.orientation,
6184
- reverse = defaultProps29.reverse,
6185
- value = defaultProps29.value,
6186
- width,
6230
+ children,
6231
+ actionsPosition = defaultProps29.actionsPosition,
6232
+ actions,
6233
+ dir,
6187
6234
  ...other
6188
6235
  } = props;
6189
6236
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
6190
6237
  "div",
6191
6238
  {
6192
6239
  ...other,
6240
+ dir,
6193
6241
  className: classNames(
6194
6242
  props.className,
6195
- PROGRESSBAR_CLASSNAME,
6196
- stateClassNames(PROGRESSBAR_CLASSNAME, {
6243
+ LISTBOX_CLASSNAME,
6244
+ optionClassNames(LISTBOX_CLASSNAME, {
6245
+ size
6246
+ }),
6247
+ stateClassNames(LISTBOX_CLASSNAME, {
6197
6248
  disabled
6198
6249
  }),
6199
6250
  {
6200
- [`${PROGRESSBAR_CLASSNAME}-${orientation}`]: orientation,
6201
- [`${PROGRESSBAR_CLASSNAME}-indeterminate`]: indeterminate,
6202
- [`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
6251
+ [`k-listbox-actions-${actionsPosition}`]: actionsPosition
6203
6252
  }
6204
6253
  ),
6205
- style: orientation === "horizontal" ? { "--kendo-progressbar-value": value, height } : { "--kendo-progressbar-value": value, width },
6206
6254
  children: [
6207
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: classNames(
6208
- "k-progress-status-wrap",
6209
- {
6210
- [`k-progress-${labelPosition}`]: labelPosition && !indeterminate
6211
- }
6212
- ), children: label && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { className: "k-progress-status", children: [
6213
- value,
6214
- "%"
6215
- ] }) }),
6216
- !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: classNames(
6217
- "k-progress-status-wrap",
6218
- {
6219
- [`k-progress-${labelPosition}`]: labelPosition
6255
+ actions && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-listbox-actions", children: actions.map((action) => {
6256
+ let icon = action;
6257
+ if (dir === "rtl") {
6258
+ if (action === "left") {
6259
+ icon = "right";
6260
+ } else if (action === "right") {
6261
+ icon = "left";
6262
+ }
6220
6263
  }
6221
- ), children: label && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { className: "k-progress-status", children: [
6222
- props.value,
6223
- "%"
6224
- ] }) }) })
6264
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Button, { icon: `caret-alt-${icon}`, size });
6265
+ }) }),
6266
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: classNames(
6267
+ "k-list-scroller",
6268
+ "k-selectable"
6269
+ ), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(list_spec_default, { size, children }) })
6225
6270
  ]
6226
6271
  }
6227
6272
  );
6228
6273
  };
6229
- ProgressBar.states = states34;
6230
- ProgressBar.options = options31;
6231
- ProgressBar.className = PROGRESSBAR_CLASSNAME;
6232
- ProgressBar.defaultProps = defaultProps29;
6274
+ ListBox.states = states34;
6275
+ ListBox.options = options30;
6276
+ ListBox.className = LISTBOX_CLASSNAME;
6277
+ ListBox.defaultProps = defaultProps29;
6233
6278
 
6234
- // src/progressbar/chunk-progressbar.spec.tsx
6279
+ // src/listbox/templates/listbox-normal.tsx
6235
6280
  var import_jsx_runtime70 = require("react/jsx-runtime");
6236
- var CHUNKPROGRESSBAR_CLASSNAME = `k-chunk-progressbar`;
6237
- var isSelected = (progress, index) => index <= progress - 1 ? true : false;
6238
- var states35 = [
6239
- States.indeterminate
6240
- ];
6241
- var options32 = {};
6242
- var defaultProps30 = {
6243
- chunkCount: 5,
6244
- orientation: "horizontal",
6245
- progress: 0
6246
- };
6247
- var ChunkProgressBar = (props) => {
6248
- const {
6249
- chunkCount = defaultProps30.chunkCount,
6250
- indeterminate,
6251
- orientation = defaultProps30.orientation,
6252
- progress = defaultProps30.progress,
6253
- reverse,
6254
- ...other
6255
- } = props;
6256
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6257
- "div",
6258
- {
6259
- ...other,
6260
- className: classNames(
6261
- props.className,
6262
- PROGRESSBAR_CLASSNAME,
6263
- CHUNKPROGRESSBAR_CLASSNAME,
6264
- {
6265
- [`${PROGRESSBAR_CLASSNAME}-${orientation}`]: orientation,
6266
- [`${PROGRESSBAR_CLASSNAME}-indeterminate`]: indeterminate,
6267
- [`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
6268
- }
6269
- ),
6270
- children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
6271
- (_el, i) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("li", { className: classNames(
6272
- "k-progressbar-chunk",
6273
- {
6274
- "k-first": i === 0,
6275
- "k-last": i === [...Array(chunkCount)].length - 1,
6276
- "k-selected": isSelected(progress, i)
6277
- }
6278
- ) }, i)
6279
- ) })
6280
- }
6281
- );
6282
- };
6283
- ChunkProgressBar.states = states35;
6284
- ChunkProgressBar.options = options32;
6285
- ChunkProgressBar.className = CHUNKPROGRESSBAR_CLASSNAME;
6286
- ChunkProgressBar.defaultProps = defaultProps30;
6287
6281
 
6288
- // src/upload/upload-file-info.tsx
6282
+ // src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx
6289
6283
  var import_jsx_runtime71 = require("react/jsx-runtime");
6290
-
6291
- // src/upload/upload-file.tsx
6292
- var import_jsx_runtime72 = require("react/jsx-runtime");
6293
-
6294
- // src/upload/upload-file-multiple.tsx
6295
- var import_jsx_runtime73 = require("react/jsx-runtime");
6296
-
6297
- // src/dropzone/dropzone.spec.tsx
6298
- var import_jsx_runtime74 = require("react/jsx-runtime");
6299
- var DROPZONE_CLASSNAME = `k-external-dropzone`;
6300
- var states36 = [
6301
- States.hover
6302
- ];
6303
- var defaultProps31 = {
6304
- icon: "upload",
6305
- note: "Only JPEG, PNG and SVG files are allowed."
6306
- };
6307
- var Dropzone = (props) => {
6308
- const {
6309
- hover,
6310
- icon = defaultProps31.icon,
6311
- note = defaultProps31.note,
6312
- ...other
6313
- } = props;
6314
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6315
- "div",
6316
- {
6317
- ...other,
6318
- className: classNames(
6319
- props.className,
6320
- DROPZONE_CLASSNAME,
6321
- stateClassNames(DROPZONE_CLASSNAME, {}),
6322
- {
6323
- "k-external-dropzone-hover": hover
6324
- }
6325
- ),
6326
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "k-dropzone-inner", children: [
6327
- icon && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
6328
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "k-dropzone-hint", children: "Drag and drop files here to upload" }),
6329
- note && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "k-dropzone-note", children: [
6330
- " ",
6331
- note,
6332
- " "
6333
- ] })
6334
- ] })
6335
- }
6336
- );
6337
- };
6338
-
6339
- // src/spreadsheet/tests/spreadsheet-dialog.tsx
6340
- var import_jsx_runtime75 = require("react/jsx-runtime");
6341
6284
  var style = `
6342
6285
  .k-window {
6343
6286
  min-width: 400px;
6344
6287
  position: relative;
6345
6288
  }
6346
6289
  `;
6347
- var spreadsheet_dialog_default = () => /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6348
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("style", { children: style }),
6349
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
6350
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Window, { title: "Insert comment", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6351
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6352
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { children: "Cancel" }),
6353
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "k-spacer" }),
6354
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove" })
6355
- ] }), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Form, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(FormField, { label: "Comment:", editor: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Textarea, {}) }) }) }) }),
6356
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Window, { title: "Hyperlink", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6357
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { themeColor: "primary", children: "OK" }),
6358
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { children: "Cancel" }),
6359
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "k-spacer" }),
6360
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove link" })
6361
- ] }), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Form, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(FormField, { label: "Web address:", editor: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Textbox, {}) }) }) }) }),
6362
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Window, { title: "Export...", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6363
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { themeColor: "primary", children: "Save" }),
6364
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { children: "Cancel" })
6365
- ] }), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(Form, { children: [
6366
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(FormField, { label: "File name:", editor: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Textbox, { placeholder: "Workbook" }) }),
6367
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(FormField, { label: "Save as type:", editor: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(DropdownList, { placeholder: "Excel Workbook (.xlsx)" }) })
6368
- ] }) }) }),
6369
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Window, { title: "Birth Date validaiton error", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6370
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { themeColor: "primary", children: "Retry" }),
6371
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { children: "Cancel" })
6372
- ] }), children: "Birth Date should be between 1899 and 1998 year." }) }),
6373
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(Window, { title: "Insert image", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6374
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { themeColor: "primary", children: "Update" }),
6375
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { children: "Cancel" })
6290
+ var spreadsheet_insert_dialogs_default = () => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6291
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("style", { children: style }),
6292
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
6293
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Window, { title: "Insert comment", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6294
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6295
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { children: "Cancel" }),
6296
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "k-spacer" }),
6297
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove comment" })
6298
+ ] }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Form, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "Comment", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Textarea, {}) }) }) }) }),
6299
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(Window, { title: "Insert image", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6300
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6301
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { children: "Cancel" })
6376
6302
  ] }), children: [
6377
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Dropzone, {}),
6378
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Upload, { async: true, status: "upload" })
6303
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Dropzone, {}),
6304
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Upload, { async: true, status: "upload" })
6379
6305
  ] }) }),
6380
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Window, { title: "Merge cells", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6381
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6382
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Button, { children: "Cancel" })
6383
- ] }), children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Form, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6384
- FormField,
6385
- {
6386
- editor: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(RadioGroup, { children: [
6387
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioItem, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioButtonLabel, { checked: true, children: "Merge all" }) }),
6388
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioItem, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioButtonLabel, { children: "Merge horizontally" }) }),
6389
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioItem, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioButtonLabel, { children: "Merge vertically" }) }),
6390
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioItem, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(RadioButtonLabel, { children: "Unmerge" }) })
6391
- ] })
6392
- }
6393
- ) }) }) })
6306
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Window, { title: "Insert Link", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6307
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6308
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { children: "Cancel" }),
6309
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "k-spacer" }),
6310
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove link" })
6311
+ ] }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(Form, { children: [
6312
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "Select link", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DropdownList, { value: "URL" }) }),
6313
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "URL address", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Textbox, { value: "Input value" }) })
6314
+ ] }) }) }),
6315
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Window, { title: "Insert Link", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6316
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6317
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { children: "Cancel" }),
6318
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "k-spacer" }),
6319
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove link" })
6320
+ ] }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(Form, { children: [
6321
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "Select link", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DropdownList, { value: "Internal" }) }),
6322
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "Cell reference", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Textbox, { value: "B3:B11" }) }),
6323
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "From sheet", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(ListBox, { style: { width: "100%" }, children: [
6324
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ListItem, { children: "Sheet 1" }),
6325
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ListItem, { children: "Sheet 2" }),
6326
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ListItem, { children: "Sheet 3" }),
6327
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ListItem, { children: "Sheet 4" })
6328
+ ] }) })
6329
+ ] }) }) }),
6330
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Window, { title: "Insert Chart", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6331
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { themeColor: "primary", children: "Insert" }),
6332
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Button, { children: "Cancel" })
6333
+ ] }), children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Form, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(FormField, { label: "Select chart type", editor: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(DropdownList, { value: "Donut" }) }) }) }) })
6394
6334
  ] })
6395
6335
  ] });