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