@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
|
@@ -153,9 +153,14 @@ FloatingLabel.states = states;
|
|
|
153
153
|
FloatingLabel.options = options;
|
|
154
154
|
FloatingLabel.className = FLOATINGLABEL_CLASSNAME;
|
|
155
155
|
FloatingLabel.defaultProps = defaultProps;
|
|
156
|
+
var floating_label_spec_default = FloatingLabel;
|
|
156
157
|
|
|
157
|
-
// src/
|
|
158
|
+
// src/floating-label/templates/floating-label-normal.tsx
|
|
158
159
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
160
|
+
var FloatingLabelNormal = ({ children, ...other }) => /* @__PURE__ */ jsx2(floating_label_spec_default, { ...other, children });
|
|
161
|
+
|
|
162
|
+
// src/input/input.spec.tsx
|
|
163
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
159
164
|
var INPUT_CLASSNAME = `k-input`;
|
|
160
165
|
var states2 = [
|
|
161
166
|
States.hover,
|
|
@@ -191,7 +196,7 @@ var Input = (props) => {
|
|
|
191
196
|
fillMode = defaultProps2.fillMode,
|
|
192
197
|
...other
|
|
193
198
|
} = props;
|
|
194
|
-
return /* @__PURE__ */
|
|
199
|
+
return /* @__PURE__ */ jsx3(
|
|
195
200
|
"span",
|
|
196
201
|
{
|
|
197
202
|
...other,
|
|
@@ -210,7 +215,7 @@ Input.className = INPUT_CLASSNAME;
|
|
|
210
215
|
Input.defaultProps = defaultProps2;
|
|
211
216
|
|
|
212
217
|
// src/input/picker.spec.tsx
|
|
213
|
-
import { jsx as
|
|
218
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
214
219
|
var PICKER_CLASSNAME = `k-picker`;
|
|
215
220
|
var pickerStates = [
|
|
216
221
|
States.hover,
|
|
@@ -246,7 +251,7 @@ var Picker = (props) => {
|
|
|
246
251
|
fillMode = defaultProps3.fillMode,
|
|
247
252
|
...other
|
|
248
253
|
} = props;
|
|
249
|
-
return /* @__PURE__ */
|
|
254
|
+
return /* @__PURE__ */ jsx4(
|
|
250
255
|
"span",
|
|
251
256
|
{
|
|
252
257
|
...other,
|
|
@@ -266,7 +271,7 @@ Picker.className = PICKER_CLASSNAME;
|
|
|
266
271
|
Picker.defaultProps = defaultProps3;
|
|
267
272
|
|
|
268
273
|
// src/icon/font-icon.spec.tsx
|
|
269
|
-
import { Fragment, jsx as
|
|
274
|
+
import { Fragment, jsx as jsx5 } from "react/jsx-runtime";
|
|
270
275
|
var FONTICON_CLASSNAME = `k-icon`;
|
|
271
276
|
var states3 = [];
|
|
272
277
|
var options3 = {
|
|
@@ -295,9 +300,9 @@ var FontIcon = (props) => {
|
|
|
295
300
|
...other
|
|
296
301
|
} = props;
|
|
297
302
|
if (!icon) {
|
|
298
|
-
return /* @__PURE__ */
|
|
303
|
+
return /* @__PURE__ */ jsx5(Fragment, {});
|
|
299
304
|
}
|
|
300
|
-
return /* @__PURE__ */
|
|
305
|
+
return /* @__PURE__ */ jsx5(
|
|
301
306
|
"span",
|
|
302
307
|
{
|
|
303
308
|
...other,
|
|
@@ -325,7 +330,7 @@ FontIcon.defaultProps = defaultProps4;
|
|
|
325
330
|
var font_icon_spec_default = FontIcon;
|
|
326
331
|
|
|
327
332
|
// src/icon/svg-icon.spec.tsx
|
|
328
|
-
import { Fragment as Fragment2, jsx as
|
|
333
|
+
import { Fragment as Fragment2, jsx as jsx6 } from "react/jsx-runtime";
|
|
329
334
|
var SVGICON_CLASSNAME = `k-svg-icon`;
|
|
330
335
|
var states4 = [];
|
|
331
336
|
var options4 = {
|
|
@@ -357,10 +362,10 @@ var SvgIcon = (props) => {
|
|
|
357
362
|
...other
|
|
358
363
|
} = props;
|
|
359
364
|
if (!icon) {
|
|
360
|
-
return /* @__PURE__ */
|
|
365
|
+
return /* @__PURE__ */ jsx6(Fragment2, {});
|
|
361
366
|
}
|
|
362
367
|
if (icon === "none") {
|
|
363
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ jsx6(
|
|
364
369
|
"span",
|
|
365
370
|
{
|
|
366
371
|
...other,
|
|
@@ -373,7 +378,7 @@ var SvgIcon = (props) => {
|
|
|
373
378
|
);
|
|
374
379
|
}
|
|
375
380
|
const name = typeof icon === "object" && icon.name && icon.name;
|
|
376
|
-
return /* @__PURE__ */
|
|
381
|
+
return /* @__PURE__ */ jsx6(
|
|
377
382
|
"span",
|
|
378
383
|
{
|
|
379
384
|
...other,
|
|
@@ -391,7 +396,7 @@ var SvgIcon = (props) => {
|
|
|
391
396
|
"k-flip-v": flip === "v" || flip === "both"
|
|
392
397
|
}
|
|
393
398
|
),
|
|
394
|
-
children: /* @__PURE__ */
|
|
399
|
+
children: /* @__PURE__ */ jsx6(
|
|
395
400
|
"svg",
|
|
396
401
|
{
|
|
397
402
|
"aria-hidden": true,
|
|
@@ -4407,7 +4412,7 @@ var chartChoroplethIcon = {
|
|
|
4407
4412
|
};
|
|
4408
4413
|
|
|
4409
4414
|
// src/icon/icon.spec.tsx
|
|
4410
|
-
import { Fragment as Fragment3, jsx as
|
|
4415
|
+
import { Fragment as Fragment3, jsx as jsx7 } from "react/jsx-runtime";
|
|
4411
4416
|
var snakeToCamel = (str) => str.toLowerCase().replace(
|
|
4412
4417
|
/([-_][a-z])/g,
|
|
4413
4418
|
(group) => group.toUpperCase().replace("-", "").replace("_", "")
|
|
@@ -4444,26 +4449,26 @@ var Icon = (props) => {
|
|
|
4444
4449
|
...other
|
|
4445
4450
|
} = props;
|
|
4446
4451
|
if (!icon) {
|
|
4447
|
-
return /* @__PURE__ */
|
|
4452
|
+
return /* @__PURE__ */ jsx7(Fragment3, {});
|
|
4448
4453
|
}
|
|
4449
4454
|
if (type === "svg") {
|
|
4450
4455
|
if (icon === "none") {
|
|
4451
|
-
return /* @__PURE__ */
|
|
4456
|
+
return /* @__PURE__ */ jsx7(svg_icon_spec_default, { ...other, icon, size });
|
|
4452
4457
|
}
|
|
4453
4458
|
const iconSVG = snakeToCamel(`${icon}-icon`);
|
|
4454
4459
|
if (!index_es_exports[iconSVG]) {
|
|
4455
|
-
return /* @__PURE__ */
|
|
4460
|
+
return /* @__PURE__ */ jsx7(Fragment3, {});
|
|
4456
4461
|
}
|
|
4457
|
-
return /* @__PURE__ */
|
|
4462
|
+
return /* @__PURE__ */ jsx7(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
|
|
4458
4463
|
}
|
|
4459
|
-
return /* @__PURE__ */
|
|
4464
|
+
return /* @__PURE__ */ jsx7(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
|
|
4460
4465
|
};
|
|
4461
4466
|
Icon.states = states5;
|
|
4462
4467
|
Icon.options = options5;
|
|
4463
4468
|
Icon.defaultProps = defaultProps6;
|
|
4464
4469
|
|
|
4465
4470
|
// src/input/input-clear-value.tsx
|
|
4466
|
-
import { Fragment as Fragment4, jsx as
|
|
4471
|
+
import { Fragment as Fragment4, jsx as jsx8 } from "react/jsx-runtime";
|
|
4467
4472
|
var className = `k-clear-value`;
|
|
4468
4473
|
var states6 = [
|
|
4469
4474
|
States.disabled,
|
|
@@ -4479,16 +4484,16 @@ var InputClearValue = (props) => {
|
|
|
4479
4484
|
value
|
|
4480
4485
|
} = props;
|
|
4481
4486
|
if (disabled || readonly || loading || !value) {
|
|
4482
|
-
return /* @__PURE__ */
|
|
4487
|
+
return /* @__PURE__ */ jsx8(Fragment4, {});
|
|
4483
4488
|
}
|
|
4484
|
-
return /* @__PURE__ */
|
|
4489
|
+
return /* @__PURE__ */ jsx8("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx8(Icon, { icon: "x" }) });
|
|
4485
4490
|
};
|
|
4486
4491
|
InputClearValue.states = states6;
|
|
4487
4492
|
InputClearValue.options = options6;
|
|
4488
4493
|
InputClearValue.className = className;
|
|
4489
4494
|
|
|
4490
4495
|
// src/input/input-inner-input.tsx
|
|
4491
|
-
import { jsx as
|
|
4496
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
4492
4497
|
var className2 = `k-input-inner`;
|
|
4493
4498
|
var states7 = [];
|
|
4494
4499
|
var options7 = {};
|
|
@@ -4506,7 +4511,7 @@ var InputInnerInput = (props) => {
|
|
|
4506
4511
|
autocomplete = defaultProps7.autocomplete,
|
|
4507
4512
|
...other
|
|
4508
4513
|
} = props;
|
|
4509
|
-
return /* @__PURE__ */
|
|
4514
|
+
return /* @__PURE__ */ jsx9(
|
|
4510
4515
|
"input",
|
|
4511
4516
|
{
|
|
4512
4517
|
...other,
|
|
@@ -4523,7 +4528,7 @@ InputInnerInput.options = options7;
|
|
|
4523
4528
|
InputInnerInput.className = className2;
|
|
4524
4529
|
|
|
4525
4530
|
// src/input/input-inner-span.tsx
|
|
4526
|
-
import { jsx as
|
|
4531
|
+
import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
4527
4532
|
var className3 = `k-input-inner`;
|
|
4528
4533
|
var states8 = [];
|
|
4529
4534
|
var options8 = {};
|
|
@@ -4543,9 +4548,9 @@ var InputInnerSpan = (props) => {
|
|
|
4543
4548
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
4544
4549
|
children: [
|
|
4545
4550
|
valueIcon,
|
|
4546
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4551
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx10(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4547
4552
|
showValue && !value && placeholder,
|
|
4548
|
-
showValue && value && /* @__PURE__ */
|
|
4553
|
+
showValue && value && /* @__PURE__ */ jsx10("span", { className: "k-input-value-text", children: value })
|
|
4549
4554
|
]
|
|
4550
4555
|
}
|
|
4551
4556
|
);
|
|
@@ -4555,7 +4560,7 @@ InputInnerSpan.options = options8;
|
|
|
4555
4560
|
InputInnerSpan.className = className3;
|
|
4556
4561
|
|
|
4557
4562
|
// src/input/input-inner-textarea.tsx
|
|
4558
|
-
import { jsx as
|
|
4563
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4559
4564
|
var defaultProps8 = {
|
|
4560
4565
|
value: "",
|
|
4561
4566
|
placeholder: ""
|
|
@@ -4570,7 +4575,7 @@ var InputInnerTextarea = (props) => {
|
|
|
4570
4575
|
rows,
|
|
4571
4576
|
...other
|
|
4572
4577
|
} = props;
|
|
4573
|
-
return /* @__PURE__ */
|
|
4578
|
+
return /* @__PURE__ */ jsx11(
|
|
4574
4579
|
"textarea",
|
|
4575
4580
|
{
|
|
4576
4581
|
...other,
|
|
@@ -4586,7 +4591,7 @@ InputInnerTextarea.options = options9;
|
|
|
4586
4591
|
InputInnerTextarea.className = className4;
|
|
4587
4592
|
|
|
4588
4593
|
// src/input/input-loading-icon.tsx
|
|
4589
|
-
import { Fragment as Fragment5, jsx as
|
|
4594
|
+
import { Fragment as Fragment5, jsx as jsx12 } from "react/jsx-runtime";
|
|
4590
4595
|
var className5 = `k-input-loading-icon`;
|
|
4591
4596
|
var states10 = [
|
|
4592
4597
|
States.disabled,
|
|
@@ -4598,13 +4603,13 @@ var InputLoadingIcon = (props) => {
|
|
|
4598
4603
|
loading
|
|
4599
4604
|
} = props;
|
|
4600
4605
|
if (disabled || !loading) {
|
|
4601
|
-
return /* @__PURE__ */
|
|
4606
|
+
return /* @__PURE__ */ jsx12(Fragment5, {});
|
|
4602
4607
|
}
|
|
4603
|
-
return /* @__PURE__ */
|
|
4608
|
+
return /* @__PURE__ */ jsx12(Icon, { className: classNames(props.className, className5), icon: "loading", type: "font" });
|
|
4604
4609
|
};
|
|
4605
4610
|
|
|
4606
4611
|
// src/input/input-validation-icon.tsx
|
|
4607
|
-
import { Fragment as Fragment6, jsx as
|
|
4612
|
+
import { Fragment as Fragment6, jsx as jsx13 } from "react/jsx-runtime";
|
|
4608
4613
|
var className6 = `k-input-validation-icon`;
|
|
4609
4614
|
var states11 = [
|
|
4610
4615
|
States.valid,
|
|
@@ -4623,39 +4628,39 @@ var InputValidationIcon = (props) => {
|
|
|
4623
4628
|
const iconName = invalid ? "exclamation-circle" : "check";
|
|
4624
4629
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4625
4630
|
if (disabled || loading || !renderValidationIcon) {
|
|
4626
|
-
return /* @__PURE__ */
|
|
4631
|
+
return /* @__PURE__ */ jsx13(Fragment6, {});
|
|
4627
4632
|
}
|
|
4628
|
-
return /* @__PURE__ */
|
|
4633
|
+
return /* @__PURE__ */ jsx13(Icon, { className: classNames(className6), icon: iconName });
|
|
4629
4634
|
};
|
|
4630
4635
|
InputValidationIcon.states = states11;
|
|
4631
4636
|
InputValidationIcon.options = options10;
|
|
4632
4637
|
InputValidationIcon.className = className6;
|
|
4633
4638
|
|
|
4634
4639
|
// src/input/input-prefix.tsx
|
|
4635
|
-
import { Fragment as Fragment7, jsx as
|
|
4640
|
+
import { Fragment as Fragment7, jsx as jsx14 } from "react/jsx-runtime";
|
|
4636
4641
|
var className7 = `k-input-prefix`;
|
|
4637
4642
|
var InputPrefix = (props) => {
|
|
4638
4643
|
if (!props.children) {
|
|
4639
|
-
return /* @__PURE__ */
|
|
4644
|
+
return /* @__PURE__ */ jsx14(Fragment7, {});
|
|
4640
4645
|
}
|
|
4641
|
-
return /* @__PURE__ */
|
|
4646
|
+
return /* @__PURE__ */ jsx14("span", { className: classNames(className7, props.className), children: props.children });
|
|
4642
4647
|
};
|
|
4643
4648
|
|
|
4644
4649
|
// src/input/input-suffix.tsx
|
|
4645
|
-
import { Fragment as Fragment8, jsx as
|
|
4650
|
+
import { Fragment as Fragment8, jsx as jsx15 } from "react/jsx-runtime";
|
|
4646
4651
|
var className8 = `k-input-suffix`;
|
|
4647
4652
|
var InputSuffix = (props) => {
|
|
4648
4653
|
if (!props.children) {
|
|
4649
|
-
return /* @__PURE__ */
|
|
4654
|
+
return /* @__PURE__ */ jsx15(Fragment8, {});
|
|
4650
4655
|
}
|
|
4651
|
-
return /* @__PURE__ */
|
|
4656
|
+
return /* @__PURE__ */ jsx15("span", { className: classNames(className8, props.className), children: props.children });
|
|
4652
4657
|
};
|
|
4653
4658
|
|
|
4654
4659
|
// src/input/input-separator.tsx
|
|
4655
|
-
import { jsx as
|
|
4660
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4656
4661
|
|
|
4657
4662
|
// src/textbox/textbox.spec.tsx
|
|
4658
|
-
import { jsx as
|
|
4663
|
+
import { jsx as jsx17, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4659
4664
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
4660
4665
|
var states12 = [
|
|
4661
4666
|
States.hover,
|
|
@@ -4715,9 +4720,9 @@ var Textbox = (props) => {
|
|
|
4715
4720
|
readonly,
|
|
4716
4721
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
4717
4722
|
children: [
|
|
4718
|
-
/* @__PURE__ */
|
|
4719
|
-
/* @__PURE__ */
|
|
4720
|
-
/* @__PURE__ */
|
|
4723
|
+
/* @__PURE__ */ jsx17(InputPrefix, { children: prefix }),
|
|
4724
|
+
/* @__PURE__ */ jsx17(InputInnerInput, { placeholder, value }),
|
|
4725
|
+
/* @__PURE__ */ jsx17(
|
|
4721
4726
|
InputValidationIcon,
|
|
4722
4727
|
{
|
|
4723
4728
|
valid,
|
|
@@ -4726,14 +4731,14 @@ var Textbox = (props) => {
|
|
|
4726
4731
|
disabled
|
|
4727
4732
|
}
|
|
4728
4733
|
),
|
|
4729
|
-
/* @__PURE__ */
|
|
4734
|
+
/* @__PURE__ */ jsx17(
|
|
4730
4735
|
InputLoadingIcon,
|
|
4731
4736
|
{
|
|
4732
4737
|
loading,
|
|
4733
4738
|
disabled
|
|
4734
4739
|
}
|
|
4735
4740
|
),
|
|
4736
|
-
showClearButton && /* @__PURE__ */
|
|
4741
|
+
showClearButton && /* @__PURE__ */ jsx17(
|
|
4737
4742
|
InputClearValue,
|
|
4738
4743
|
{
|
|
4739
4744
|
loading,
|
|
@@ -4742,7 +4747,7 @@ var Textbox = (props) => {
|
|
|
4742
4747
|
value
|
|
4743
4748
|
}
|
|
4744
4749
|
),
|
|
4745
|
-
/* @__PURE__ */
|
|
4750
|
+
/* @__PURE__ */ jsx17(InputSuffix, { children: suffix })
|
|
4746
4751
|
]
|
|
4747
4752
|
}
|
|
4748
4753
|
);
|
|
@@ -4751,12 +4756,14 @@ Textbox.states = states12;
|
|
|
4751
4756
|
Textbox.options = options11;
|
|
4752
4757
|
Textbox.className = TEXTBOX_CLASSNAME;
|
|
4753
4758
|
Textbox.defaultProps = defaultProps9;
|
|
4759
|
+
var textbox_spec_default = Textbox;
|
|
4754
4760
|
|
|
4755
4761
|
// src/textbox/templates/textbox-normal.tsx
|
|
4756
|
-
import { jsx as
|
|
4762
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4763
|
+
var TextboxNormal = (props) => /* @__PURE__ */ jsx18(textbox_spec_default, { ...props });
|
|
4757
4764
|
|
|
4758
4765
|
// src/button/button.spec.tsx
|
|
4759
|
-
import { Fragment as Fragment9, jsx as
|
|
4766
|
+
import { Fragment as Fragment9, jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4760
4767
|
var BUTTON_CLASSNAME = `k-button`;
|
|
4761
4768
|
var states13 = [
|
|
4762
4769
|
States.hover,
|
|
@@ -4836,7 +4843,7 @@ var Button = (props) => {
|
|
|
4836
4843
|
}
|
|
4837
4844
|
),
|
|
4838
4845
|
children: [
|
|
4839
|
-
icon && /* @__PURE__ */
|
|
4846
|
+
icon && /* @__PURE__ */ jsx19(
|
|
4840
4847
|
Icon,
|
|
4841
4848
|
{
|
|
4842
4849
|
className: classNames(iconClassName, "k-button-icon"),
|
|
@@ -4844,10 +4851,10 @@ var Button = (props) => {
|
|
|
4844
4851
|
}
|
|
4845
4852
|
),
|
|
4846
4853
|
text ? /* @__PURE__ */ jsxs4(Fragment9, { children: [
|
|
4847
|
-
text && /* @__PURE__ */
|
|
4854
|
+
text && /* @__PURE__ */ jsx19("span", { className: "k-button-text", children: text }),
|
|
4848
4855
|
props.children
|
|
4849
|
-
] }) : props.children && /* @__PURE__ */
|
|
4850
|
-
showArrow && /* @__PURE__ */
|
|
4856
|
+
] }) : props.children && /* @__PURE__ */ jsx19("span", { className: "k-button-text", children: props.children }),
|
|
4857
|
+
showArrow && /* @__PURE__ */ jsx19("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx19(Icon, { icon: arrowIconName }) })
|
|
4851
4858
|
]
|
|
4852
4859
|
}
|
|
4853
4860
|
);
|
|
@@ -4858,1060 +4865,22 @@ Button.className = BUTTON_CLASSNAME;
|
|
|
4858
4865
|
Button.defaultProps = defaultProps10;
|
|
4859
4866
|
|
|
4860
4867
|
// src/button/templates/icon-button.tsx
|
|
4861
|
-
import { jsx as
|
|
4868
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4862
4869
|
|
|
4863
4870
|
// src/button/templates/icon-text-button.tsx
|
|
4864
|
-
import { jsx as
|
|
4871
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
4865
4872
|
|
|
4866
4873
|
// src/button/templates/text-button.tsx
|
|
4867
|
-
import { jsx as
|
|
4874
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4868
4875
|
|
|
4869
4876
|
// src/textbox/templates/textbox-prefix.tsx
|
|
4870
|
-
import { jsx as
|
|
4877
|
+
import { jsx as jsx23, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4871
4878
|
|
|
4872
4879
|
// src/textbox/templates/textbox-suffix.tsx
|
|
4873
|
-
import { jsx as
|
|
4874
|
-
|
|
4875
|
-
// src/animation-container/animation-container.spec.tsx
|
|
4876
|
-
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4877
|
-
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4878
|
-
var states14 = [];
|
|
4879
|
-
var options13 = {};
|
|
4880
|
-
var defaultProps11 = {
|
|
4881
|
-
positionMode: "absolute"
|
|
4882
|
-
};
|
|
4883
|
-
var AnimationContainer = (props) => {
|
|
4884
|
-
const {
|
|
4885
|
-
positionMode,
|
|
4886
|
-
animationStyle,
|
|
4887
|
-
offset,
|
|
4888
|
-
...other
|
|
4889
|
-
} = props;
|
|
4890
|
-
return /* @__PURE__ */ jsx24(
|
|
4891
|
-
"div",
|
|
4892
|
-
{
|
|
4893
|
-
...other,
|
|
4894
|
-
style: { ...offset, ...props.style },
|
|
4895
|
-
className: classNames(
|
|
4896
|
-
ANIMATION_CONTAINER_CLASSNAME,
|
|
4897
|
-
"k-animation-container-shown",
|
|
4898
|
-
{
|
|
4899
|
-
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4900
|
-
}
|
|
4901
|
-
),
|
|
4902
|
-
children: /* @__PURE__ */ jsx24("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4903
|
-
}
|
|
4904
|
-
);
|
|
4905
|
-
};
|
|
4906
|
-
AnimationContainer.states = states14;
|
|
4907
|
-
AnimationContainer.options = options13;
|
|
4908
|
-
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
4909
|
-
AnimationContainer.defaultProps = defaultProps11;
|
|
4910
|
-
|
|
4911
|
-
// src/popup/popup.spec.tsx
|
|
4912
|
-
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4913
|
-
var POPUP_CLASSNAME = `k-popup`;
|
|
4914
|
-
var states15 = [];
|
|
4915
|
-
var options14 = {};
|
|
4916
|
-
var defaultProps12 = {
|
|
4917
|
-
positionMode: "absolute"
|
|
4918
|
-
};
|
|
4919
|
-
var Popup = (props) => {
|
|
4920
|
-
const {
|
|
4921
|
-
offset,
|
|
4922
|
-
positionMode,
|
|
4923
|
-
...other
|
|
4924
|
-
} = props;
|
|
4925
|
-
return /* @__PURE__ */ jsx25(
|
|
4926
|
-
AnimationContainer,
|
|
4927
|
-
{
|
|
4928
|
-
positionMode,
|
|
4929
|
-
offset,
|
|
4930
|
-
children: /* @__PURE__ */ jsx25("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4931
|
-
}
|
|
4932
|
-
);
|
|
4933
|
-
};
|
|
4934
|
-
Popup.states = states15;
|
|
4935
|
-
Popup.options = options14;
|
|
4936
|
-
Popup.className = POPUP_CLASSNAME;
|
|
4937
|
-
Popup.defaultProps = defaultProps12;
|
|
4938
|
-
|
|
4939
|
-
// src/action-sheet/action-sheet.spec.tsx
|
|
4940
|
-
import { Fragment as Fragment10, jsx as jsx26, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4941
|
-
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
4942
|
-
var states16 = [];
|
|
4943
|
-
var options15 = {};
|
|
4944
|
-
var defaultProps13 = {
|
|
4945
|
-
side: "bottom",
|
|
4946
|
-
fullscreen: false,
|
|
4947
|
-
adaptive: false,
|
|
4948
|
-
overlay: true
|
|
4949
|
-
};
|
|
4950
|
-
var ActionSheet = (props) => {
|
|
4951
|
-
const {
|
|
4952
|
-
children,
|
|
4953
|
-
title,
|
|
4954
|
-
header,
|
|
4955
|
-
footer,
|
|
4956
|
-
actions,
|
|
4957
|
-
side = defaultProps13.side,
|
|
4958
|
-
fullscreen = defaultProps13.fullscreen,
|
|
4959
|
-
adaptive = defaultProps13.adaptive,
|
|
4960
|
-
overlay = defaultProps13.overlay,
|
|
4961
|
-
...other
|
|
4962
|
-
} = props;
|
|
4963
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx26(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
4964
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx26(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx26(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
4965
|
-
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
4966
|
-
switch (child.type) {
|
|
4967
|
-
case ActionSheetHeader:
|
|
4968
|
-
case ActionSheetFooter:
|
|
4969
|
-
return false;
|
|
4970
|
-
default:
|
|
4971
|
-
return true;
|
|
4972
|
-
}
|
|
4973
|
-
return true;
|
|
4974
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx26(Fragment10, {});
|
|
4975
|
-
return /* @__PURE__ */ jsxs7("div", { className: "k-actionsheet-container", children: [
|
|
4976
|
-
overlay && /* @__PURE__ */ jsx26("div", { className: "k-overlay" }),
|
|
4977
|
-
/* @__PURE__ */ jsx26(
|
|
4978
|
-
AnimationContainer,
|
|
4979
|
-
{
|
|
4980
|
-
animationStyle: {
|
|
4981
|
-
[`${fullscreen === true ? "top" : side}`]: 0,
|
|
4982
|
-
[`${fullscreen === true ? "width" : null}`]: "100%",
|
|
4983
|
-
[`${fullscreen === true ? "height" : null}`]: "100%",
|
|
4984
|
-
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
4985
|
-
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
4986
|
-
},
|
|
4987
|
-
children: /* @__PURE__ */ jsx26(
|
|
4988
|
-
"div",
|
|
4989
|
-
{
|
|
4990
|
-
...other,
|
|
4991
|
-
className: classNames(
|
|
4992
|
-
props.className,
|
|
4993
|
-
ACTIONSHEET_CLASSNAME,
|
|
4994
|
-
{
|
|
4995
|
-
[`k-actionsheet-${side}`]: fullscreen === false,
|
|
4996
|
-
"k-actionsheet-fullscreen": fullscreen === true,
|
|
4997
|
-
"k-adaptive-actionsheet": adaptive
|
|
4998
|
-
}
|
|
4999
|
-
),
|
|
5000
|
-
children: /* @__PURE__ */ jsxs7(Fragment10, { children: [
|
|
5001
|
-
_ActionSheetHeader,
|
|
5002
|
-
/* @__PURE__ */ jsx26("div", { className: classNames(
|
|
5003
|
-
"k-actionsheet-content",
|
|
5004
|
-
{
|
|
5005
|
-
"!k-overflow-hidden": adaptive
|
|
5006
|
-
}
|
|
5007
|
-
), children: _ActionSheetContent }),
|
|
5008
|
-
_ActionSheetFooter
|
|
5009
|
-
] })
|
|
5010
|
-
}
|
|
5011
|
-
)
|
|
5012
|
-
}
|
|
5013
|
-
)
|
|
5014
|
-
] });
|
|
5015
|
-
};
|
|
5016
|
-
ActionSheet.states = states16;
|
|
5017
|
-
ActionSheet.options = options15;
|
|
5018
|
-
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
5019
|
-
ActionSheet.defaultProps = defaultProps13;
|
|
5020
|
-
|
|
5021
|
-
// src/searchbox/searchbox.spec.tsx
|
|
5022
|
-
import { jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5023
|
-
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5024
|
-
var states17 = [
|
|
5025
|
-
States.hover,
|
|
5026
|
-
States.focus,
|
|
5027
|
-
States.valid,
|
|
5028
|
-
States.invalid,
|
|
5029
|
-
States.required,
|
|
5030
|
-
States.disabled,
|
|
5031
|
-
States.loading
|
|
5032
|
-
];
|
|
5033
|
-
var options16 = {
|
|
5034
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5035
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5036
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5037
|
-
};
|
|
5038
|
-
var defaultProps14 = {
|
|
5039
|
-
showIcon: true,
|
|
5040
|
-
icon: "search",
|
|
5041
|
-
size: Input.defaultProps.size,
|
|
5042
|
-
rounded: Input.defaultProps.rounded,
|
|
5043
|
-
fillMode: Input.defaultProps.fillMode
|
|
5044
|
-
};
|
|
5045
|
-
var Searchbox = (props) => {
|
|
5046
|
-
const {
|
|
5047
|
-
value,
|
|
5048
|
-
placeholder,
|
|
5049
|
-
size,
|
|
5050
|
-
rounded,
|
|
5051
|
-
fillMode,
|
|
5052
|
-
hover,
|
|
5053
|
-
focus,
|
|
5054
|
-
valid,
|
|
5055
|
-
invalid,
|
|
5056
|
-
required,
|
|
5057
|
-
loading,
|
|
5058
|
-
disabled,
|
|
5059
|
-
showIcon = defaultProps14.showIcon,
|
|
5060
|
-
icon = defaultProps14.icon,
|
|
5061
|
-
...other
|
|
5062
|
-
} = props;
|
|
5063
|
-
return /* @__PURE__ */ jsxs8(
|
|
5064
|
-
Input,
|
|
5065
|
-
{
|
|
5066
|
-
...other,
|
|
5067
|
-
size,
|
|
5068
|
-
rounded,
|
|
5069
|
-
fillMode,
|
|
5070
|
-
hover,
|
|
5071
|
-
focus,
|
|
5072
|
-
valid,
|
|
5073
|
-
invalid,
|
|
5074
|
-
required,
|
|
5075
|
-
loading,
|
|
5076
|
-
disabled,
|
|
5077
|
-
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5078
|
-
children: [
|
|
5079
|
-
showIcon && /* @__PURE__ */ jsx27(Icon, { className: "k-input-icon", icon }),
|
|
5080
|
-
/* @__PURE__ */ jsx27(InputInnerInput, { placeholder, value }),
|
|
5081
|
-
/* @__PURE__ */ jsx27(InputLoadingIcon, { ...props }),
|
|
5082
|
-
/* @__PURE__ */ jsx27(InputValidationIcon, { ...props }),
|
|
5083
|
-
/* @__PURE__ */ jsx27(InputClearValue, { ...props })
|
|
5084
|
-
]
|
|
5085
|
-
}
|
|
5086
|
-
);
|
|
5087
|
-
};
|
|
5088
|
-
Searchbox.states = states17;
|
|
5089
|
-
Searchbox.options = options16;
|
|
5090
|
-
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
5091
|
-
Searchbox.defaultProps = defaultProps14;
|
|
5092
|
-
|
|
5093
|
-
// src/searchbox/templates/searchbox-normal.tsx
|
|
5094
|
-
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
5095
|
-
|
|
5096
|
-
// src/action-sheet/actionsheet-header.tsx
|
|
5097
|
-
import { Fragment as Fragment11, jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5098
|
-
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5099
|
-
var ActionSheetHeader = (props) => {
|
|
5100
|
-
const {
|
|
5101
|
-
title,
|
|
5102
|
-
subTitle,
|
|
5103
|
-
actions,
|
|
5104
|
-
filter,
|
|
5105
|
-
...other
|
|
5106
|
-
} = props;
|
|
5107
|
-
return /* @__PURE__ */ jsx29(
|
|
5108
|
-
"div",
|
|
5109
|
-
{
|
|
5110
|
-
...other,
|
|
5111
|
-
className: classNames(
|
|
5112
|
-
props.className,
|
|
5113
|
-
ACTIONSHEETHEADER_CLASSNAME
|
|
5114
|
-
),
|
|
5115
|
-
children: /* @__PURE__ */ jsxs9(Fragment11, { children: [
|
|
5116
|
-
/* @__PURE__ */ jsxs9("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5117
|
-
!props.children && (title || subTitle) && /* @__PURE__ */ jsx29(Fragment11, { children: /* @__PURE__ */ jsxs9("div", { className: "k-actionsheet-title", children: [
|
|
5118
|
-
title !== "" && /* @__PURE__ */ jsx29("div", { className: "k-text-center", children: title }),
|
|
5119
|
-
subTitle !== "" && /* @__PURE__ */ jsx29("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5120
|
-
] }) }),
|
|
5121
|
-
props.children && /* @__PURE__ */ jsx29("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5122
|
-
actions && /* @__PURE__ */ jsx29(Fragment11, { children: /* @__PURE__ */ jsx29("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx29(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5123
|
-
] }),
|
|
5124
|
-
filter && /* @__PURE__ */ jsx29(Fragment11, { children: /* @__PURE__ */ jsx29("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx29(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5125
|
-
] })
|
|
5126
|
-
}
|
|
5127
|
-
);
|
|
5128
|
-
};
|
|
5129
|
-
|
|
5130
|
-
// src/action-buttons/action-buttons.spec.tsx
|
|
5131
|
-
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5132
|
-
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5133
|
-
var states18 = [];
|
|
5134
|
-
var options17 = {};
|
|
5135
|
-
var defaultProps15 = {
|
|
5136
|
-
alignment: "start",
|
|
5137
|
-
orientation: "horizontal"
|
|
5138
|
-
};
|
|
5139
|
-
var ActionButtons = (props) => {
|
|
5140
|
-
const {
|
|
5141
|
-
alignment = defaultProps15.alignment,
|
|
5142
|
-
orientation = defaultProps15.orientation,
|
|
5143
|
-
...other
|
|
5144
|
-
} = props;
|
|
5145
|
-
return /* @__PURE__ */ jsx30(
|
|
5146
|
-
"div",
|
|
5147
|
-
{
|
|
5148
|
-
...other,
|
|
5149
|
-
className: classNames(
|
|
5150
|
-
ACTIONBUTTONS_CLASSNAME,
|
|
5151
|
-
{
|
|
5152
|
-
[`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
|
|
5153
|
-
[`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
|
|
5154
|
-
},
|
|
5155
|
-
props.className
|
|
5156
|
-
),
|
|
5157
|
-
children: props.children
|
|
5158
|
-
}
|
|
5159
|
-
);
|
|
5160
|
-
};
|
|
5161
|
-
ActionButtons.states = states18;
|
|
5162
|
-
ActionButtons.options = options17;
|
|
5163
|
-
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
5164
|
-
ActionButtons.defaultProps = defaultProps15;
|
|
5165
|
-
var action_buttons_spec_default = ActionButtons;
|
|
5166
|
-
|
|
5167
|
-
// src/action-sheet/actionsheet-footer.tsx
|
|
5168
|
-
import { Fragment as Fragment12, jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5169
|
-
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5170
|
-
var ActionSheetFooter = (props) => {
|
|
5171
|
-
const {
|
|
5172
|
-
actions,
|
|
5173
|
-
...other
|
|
5174
|
-
} = props;
|
|
5175
|
-
return /* @__PURE__ */ jsx31(
|
|
5176
|
-
action_buttons_spec_default,
|
|
5177
|
-
{
|
|
5178
|
-
...other,
|
|
5179
|
-
className: classNames(
|
|
5180
|
-
props.className,
|
|
5181
|
-
ACTIONSHEETFOOTER_CLASSNAME
|
|
5182
|
-
),
|
|
5183
|
-
alignment: "stretched",
|
|
5184
|
-
children: /* @__PURE__ */ jsxs10(Fragment12, { children: [
|
|
5185
|
-
actions && actions.map((action, index) => {
|
|
5186
|
-
if (action === "|") {
|
|
5187
|
-
return /* @__PURE__ */ jsx31("span", { className: "k-separator" }, index);
|
|
5188
|
-
}
|
|
5189
|
-
if (action === " ") {
|
|
5190
|
-
return /* @__PURE__ */ jsx31("span", { className: "k-spacer" }, index);
|
|
5191
|
-
}
|
|
5192
|
-
const importantFlag = action.startsWith("!");
|
|
5193
|
-
const actionName = importantFlag ? action.substring(1) : action;
|
|
5194
|
-
return /* @__PURE__ */ jsx31(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5195
|
-
}),
|
|
5196
|
-
!actions && props.children
|
|
5197
|
-
] })
|
|
5198
|
-
}
|
|
5199
|
-
);
|
|
5200
|
-
};
|
|
5201
|
-
|
|
5202
|
-
// src/action-sheet/actionsheet-items.tsx
|
|
5203
|
-
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5204
|
-
var ActionSheetItems = (props) => {
|
|
5205
|
-
const {
|
|
5206
|
-
...other
|
|
5207
|
-
} = props;
|
|
5208
|
-
return /* @__PURE__ */ jsx32(
|
|
5209
|
-
"div",
|
|
5210
|
-
{
|
|
5211
|
-
...other,
|
|
5212
|
-
className: classNames(
|
|
5213
|
-
props.className,
|
|
5214
|
-
"k-list-ul"
|
|
5215
|
-
),
|
|
5216
|
-
children: props.children
|
|
5217
|
-
}
|
|
5218
|
-
);
|
|
5219
|
-
};
|
|
5220
|
-
|
|
5221
|
-
// src/action-sheet/actionsheet-item.tsx
|
|
5222
|
-
import { Fragment as Fragment13, jsx as jsx33, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5223
|
-
var states19 = [
|
|
5224
|
-
States.hover,
|
|
5225
|
-
States.focus,
|
|
5226
|
-
States.selected,
|
|
5227
|
-
States.disabled
|
|
5228
|
-
];
|
|
5229
|
-
|
|
5230
|
-
// src/nodata/nodata.tsx
|
|
5231
|
-
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5232
|
-
var className9 = `k-nodata`;
|
|
5233
|
-
var NoData = (props) => /* @__PURE__ */ jsx34("span", { className: classNames(className9, props.className), children: props.children });
|
|
5234
|
-
|
|
5235
|
-
// src/list/list.spec.tsx
|
|
5236
|
-
import { jsx as jsx35, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5237
|
-
var LIST_CLASSNAME = `k-list`;
|
|
5238
|
-
var states20 = [];
|
|
5239
|
-
var options18 = {
|
|
5240
|
-
size: [Size.small, Size.medium, Size.large]
|
|
5241
|
-
};
|
|
5242
|
-
var defaultProps16 = {
|
|
5243
|
-
size: Size.medium
|
|
5244
|
-
};
|
|
5245
|
-
var List = (props) => {
|
|
5246
|
-
const {
|
|
5247
|
-
size = defaultProps16.size,
|
|
5248
|
-
virtualization,
|
|
5249
|
-
children,
|
|
5250
|
-
optionLabel,
|
|
5251
|
-
...other
|
|
5252
|
-
} = props;
|
|
5253
|
-
let listHeader;
|
|
5254
|
-
let listGroup;
|
|
5255
|
-
let listContent;
|
|
5256
|
-
const listChildren = [];
|
|
5257
|
-
if (children) {
|
|
5258
|
-
children.map((child, index) => {
|
|
5259
|
-
if (child.type === ListGroup) {
|
|
5260
|
-
if (child.props.root === true) {
|
|
5261
|
-
listHeader = child.props.label;
|
|
5262
|
-
child.props.children.map((optChild, index2) => {
|
|
5263
|
-
listChildren.push(
|
|
5264
|
-
/* @__PURE__ */ jsx35(
|
|
5265
|
-
ListItem,
|
|
5266
|
-
{
|
|
5267
|
-
...optChild.props
|
|
5268
|
-
},
|
|
5269
|
-
`optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
5270
|
-
)
|
|
5271
|
-
);
|
|
5272
|
-
});
|
|
5273
|
-
} else {
|
|
5274
|
-
child.props.children.forEach((optChild, index2) => {
|
|
5275
|
-
let groupLabel = "";
|
|
5276
|
-
if (index2 === 0) {
|
|
5277
|
-
groupLabel = child.props.label;
|
|
5278
|
-
}
|
|
5279
|
-
listChildren.push(
|
|
5280
|
-
/* @__PURE__ */ jsx35(
|
|
5281
|
-
ListItem,
|
|
5282
|
-
{
|
|
5283
|
-
className: index2 === 0 ? "k-first" : "",
|
|
5284
|
-
...optChild.props,
|
|
5285
|
-
groupLabel
|
|
5286
|
-
},
|
|
5287
|
-
`groupLabel-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
5288
|
-
)
|
|
5289
|
-
);
|
|
5290
|
-
});
|
|
5291
|
-
}
|
|
5292
|
-
listGroup = /* @__PURE__ */ jsx35(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5293
|
-
} else if (child.type === ListItem) {
|
|
5294
|
-
listChildren.push(/* @__PURE__ */ jsx35(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5295
|
-
listContent = /* @__PURE__ */ jsx35(ListContent, { virtualization, children: listChildren });
|
|
5296
|
-
}
|
|
5297
|
-
});
|
|
5298
|
-
} else {
|
|
5299
|
-
listContent = /* @__PURE__ */ jsx35(NoData, { children: "No data found." });
|
|
5300
|
-
}
|
|
5301
|
-
return /* @__PURE__ */ jsxs12(
|
|
5302
|
-
"div",
|
|
5303
|
-
{
|
|
5304
|
-
...other,
|
|
5305
|
-
className: classNames(
|
|
5306
|
-
props.className,
|
|
5307
|
-
LIST_CLASSNAME,
|
|
5308
|
-
optionClassNames(LIST_CLASSNAME, {
|
|
5309
|
-
size
|
|
5310
|
-
}),
|
|
5311
|
-
{
|
|
5312
|
-
["k-virtual-list"]: virtualization
|
|
5313
|
-
}
|
|
5314
|
-
),
|
|
5315
|
-
children: [
|
|
5316
|
-
optionLabel,
|
|
5317
|
-
listGroup,
|
|
5318
|
-
listContent
|
|
5319
|
-
]
|
|
5320
|
-
}
|
|
5321
|
-
);
|
|
5322
|
-
};
|
|
5323
|
-
List.states = states20;
|
|
5324
|
-
List.options = options18;
|
|
5325
|
-
List.className = LIST_CLASSNAME;
|
|
5326
|
-
List.defaultProps = defaultProps16;
|
|
5327
|
-
|
|
5328
|
-
// src/list/list-angular.spec.tsx
|
|
5329
|
-
import { jsx as jsx36, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5330
|
-
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5331
|
-
var states21 = [];
|
|
5332
|
-
var options19 = {
|
|
5333
|
-
size: [Size.small, Size.medium, Size.large]
|
|
5334
|
-
};
|
|
5335
|
-
var defaultProps17 = {
|
|
5336
|
-
size: Size.medium
|
|
5337
|
-
};
|
|
5338
|
-
var ListAngular = (props) => {
|
|
5339
|
-
const {
|
|
5340
|
-
size = defaultProps17.size,
|
|
5341
|
-
virtualization,
|
|
5342
|
-
children,
|
|
5343
|
-
...other
|
|
5344
|
-
} = props;
|
|
5345
|
-
let listHeader;
|
|
5346
|
-
let listGroup;
|
|
5347
|
-
let listContent;
|
|
5348
|
-
const listChildren = [];
|
|
5349
|
-
if (children) {
|
|
5350
|
-
children.map((child, index) => {
|
|
5351
|
-
if (child.type === ListGroup) {
|
|
5352
|
-
if (child.props.root === true) {
|
|
5353
|
-
listHeader = child.props.label;
|
|
5354
|
-
child.props.children.map((optChild, index2) => {
|
|
5355
|
-
listChildren.push(
|
|
5356
|
-
/* @__PURE__ */ jsx36(
|
|
5357
|
-
ListItem,
|
|
5358
|
-
{
|
|
5359
|
-
...optChild.props
|
|
5360
|
-
},
|
|
5361
|
-
`optChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
5362
|
-
)
|
|
5363
|
-
);
|
|
5364
|
-
});
|
|
5365
|
-
} else {
|
|
5366
|
-
listChildren.push(
|
|
5367
|
-
/* @__PURE__ */ jsx36(
|
|
5368
|
-
ListGroupItem,
|
|
5369
|
-
{
|
|
5370
|
-
...child.props,
|
|
5371
|
-
children: child.props.label
|
|
5372
|
-
},
|
|
5373
|
-
`listChild-${index}`
|
|
5374
|
-
)
|
|
5375
|
-
);
|
|
5376
|
-
child.props.children.map((optChild, index2) => {
|
|
5377
|
-
listChildren.push(
|
|
5378
|
-
/* @__PURE__ */ jsx36(
|
|
5379
|
-
ListItem,
|
|
5380
|
-
{
|
|
5381
|
-
...optChild.props
|
|
5382
|
-
},
|
|
5383
|
-
`fwOptChild-${index2}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
5384
|
-
)
|
|
5385
|
-
);
|
|
5386
|
-
});
|
|
5387
|
-
}
|
|
5388
|
-
listGroup = /* @__PURE__ */ jsx36(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5389
|
-
} else if (child.type === ListItem) {
|
|
5390
|
-
listChildren.push(/* @__PURE__ */ jsx36(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5391
|
-
listContent = /* @__PURE__ */ jsx36(ListContent, { virtualization, children: listChildren });
|
|
5392
|
-
}
|
|
5393
|
-
});
|
|
5394
|
-
} else {
|
|
5395
|
-
listContent = /* @__PURE__ */ jsx36(NoData, { children: "No data found." });
|
|
5396
|
-
}
|
|
5397
|
-
return /* @__PURE__ */ jsxs13(
|
|
5398
|
-
"div",
|
|
5399
|
-
{
|
|
5400
|
-
...other,
|
|
5401
|
-
className: classNames(
|
|
5402
|
-
props.className,
|
|
5403
|
-
LISTANGULAR_CLASSNAME,
|
|
5404
|
-
optionClassNames(LISTANGULAR_CLASSNAME, {
|
|
5405
|
-
size
|
|
5406
|
-
}),
|
|
5407
|
-
{
|
|
5408
|
-
["k-virtual-list"]: virtualization
|
|
5409
|
-
}
|
|
5410
|
-
),
|
|
5411
|
-
children: [
|
|
5412
|
-
listGroup,
|
|
5413
|
-
listContent
|
|
5414
|
-
]
|
|
5415
|
-
}
|
|
5416
|
-
);
|
|
5417
|
-
};
|
|
5418
|
-
ListAngular.states = states21;
|
|
5419
|
-
ListAngular.options = options19;
|
|
5420
|
-
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
5421
|
-
ListAngular.defaultProps = defaultProps17;
|
|
5422
|
-
|
|
5423
|
-
// src/checkbox/checkbox.spec.tsx
|
|
5424
|
-
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5425
|
-
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5426
|
-
var states22 = [
|
|
5427
|
-
States.hover,
|
|
5428
|
-
States.focus,
|
|
5429
|
-
States.valid,
|
|
5430
|
-
States.invalid,
|
|
5431
|
-
States.required,
|
|
5432
|
-
States.disabled,
|
|
5433
|
-
States.checked,
|
|
5434
|
-
States.indeterminate
|
|
5435
|
-
];
|
|
5436
|
-
var options20 = {
|
|
5437
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5438
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
5439
|
-
};
|
|
5440
|
-
var defaultProps18 = {
|
|
5441
|
-
size: Size.medium,
|
|
5442
|
-
rounded: Roundness.medium
|
|
5443
|
-
};
|
|
5444
|
-
var Checkbox = (props) => {
|
|
5445
|
-
const {
|
|
5446
|
-
id,
|
|
5447
|
-
checked,
|
|
5448
|
-
indeterminate,
|
|
5449
|
-
hover,
|
|
5450
|
-
focus,
|
|
5451
|
-
disabled,
|
|
5452
|
-
invalid,
|
|
5453
|
-
valid,
|
|
5454
|
-
required,
|
|
5455
|
-
size = defaultProps18.size,
|
|
5456
|
-
rounded = defaultProps18.rounded,
|
|
5457
|
-
...other
|
|
5458
|
-
} = props;
|
|
5459
|
-
return /* @__PURE__ */ jsx37("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx37(
|
|
5460
|
-
"input",
|
|
5461
|
-
{
|
|
5462
|
-
...other,
|
|
5463
|
-
id,
|
|
5464
|
-
type: "checkbox",
|
|
5465
|
-
checked,
|
|
5466
|
-
required,
|
|
5467
|
-
className: classNames(
|
|
5468
|
-
props.className,
|
|
5469
|
-
CHECKBOX_CLASSNAME,
|
|
5470
|
-
optionClassNames(CHECKBOX_CLASSNAME, { size, rounded }),
|
|
5471
|
-
stateClassNames(CHECKBOX_CLASSNAME, { hover, focus, disabled, invalid, valid, indeterminate, checked })
|
|
5472
|
-
)
|
|
5473
|
-
}
|
|
5474
|
-
) });
|
|
5475
|
-
};
|
|
5476
|
-
Checkbox.states = states22;
|
|
5477
|
-
Checkbox.options = options20;
|
|
5478
|
-
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
5479
|
-
Checkbox.defaultProps = defaultProps18;
|
|
5480
|
-
|
|
5481
|
-
// src/checkbox/checkbox-group.spec.tsx
|
|
5482
|
-
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5483
|
-
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5484
|
-
var states23 = [];
|
|
5485
|
-
var options21 = {};
|
|
5486
|
-
var defaultProps19 = {
|
|
5487
|
-
layout: "vertical"
|
|
5488
|
-
};
|
|
5489
|
-
var CheckboxGroup = (props) => {
|
|
5490
|
-
const {
|
|
5491
|
-
layout = defaultProps19.layout,
|
|
5492
|
-
...other
|
|
5493
|
-
} = props;
|
|
5494
|
-
return /* @__PURE__ */ jsx38(
|
|
5495
|
-
"ul",
|
|
5496
|
-
{
|
|
5497
|
-
...other,
|
|
5498
|
-
className: classNames(
|
|
5499
|
-
props.className,
|
|
5500
|
-
CHECKBOXGROUP_CLASSNAME,
|
|
5501
|
-
{
|
|
5502
|
-
[`k-list-${layout}`]: layout
|
|
5503
|
-
}
|
|
5504
|
-
),
|
|
5505
|
-
children: props.children
|
|
5506
|
-
}
|
|
5507
|
-
);
|
|
5508
|
-
};
|
|
5509
|
-
CheckboxGroup.states = states23;
|
|
5510
|
-
CheckboxGroup.options = options21;
|
|
5511
|
-
CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
5512
|
-
CheckboxGroup.defaultProps = defaultProps19;
|
|
5513
|
-
|
|
5514
|
-
// src/checkbox/checkbox-item.spec.tsx
|
|
5515
|
-
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5516
|
-
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5517
|
-
var states24 = [];
|
|
5518
|
-
var options22 = {};
|
|
5519
|
-
var defaultProps20 = {};
|
|
5520
|
-
var CheckboxItem = (props) => {
|
|
5521
|
-
const {
|
|
5522
|
-
...other
|
|
5523
|
-
} = props;
|
|
5524
|
-
return /* @__PURE__ */ jsx39(
|
|
5525
|
-
"li",
|
|
5526
|
-
{
|
|
5527
|
-
...other,
|
|
5528
|
-
className: classNames(
|
|
5529
|
-
props.className,
|
|
5530
|
-
CHECKBOXITEM_CLASSNAME
|
|
5531
|
-
),
|
|
5532
|
-
children: props.children
|
|
5533
|
-
}
|
|
5534
|
-
);
|
|
5535
|
-
};
|
|
5536
|
-
CheckboxItem.states = states24;
|
|
5537
|
-
CheckboxItem.options = options22;
|
|
5538
|
-
CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
5539
|
-
CheckboxItem.defaultProps = defaultProps20;
|
|
5540
|
-
|
|
5541
|
-
// src/checkbox/templates/checkbox-with-label.tsx
|
|
5542
|
-
import { Fragment as Fragment14, jsx as jsx40, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5543
|
-
|
|
5544
|
-
// src/checkbox/templates/checkbox-normal.tsx
|
|
5545
|
-
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5546
|
-
|
|
5547
|
-
// src/list/list-item.spec.tsx
|
|
5548
|
-
import { jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5549
|
-
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5550
|
-
var states25 = [
|
|
5551
|
-
States.hover,
|
|
5552
|
-
States.focus,
|
|
5553
|
-
States.selected,
|
|
5554
|
-
States.disabled
|
|
5555
|
-
];
|
|
5556
|
-
var options23 = {};
|
|
5557
|
-
var defaultProps21 = {};
|
|
5558
|
-
var ListItem = (props) => {
|
|
5559
|
-
const {
|
|
5560
|
-
text,
|
|
5561
|
-
groupLabel,
|
|
5562
|
-
showIcon,
|
|
5563
|
-
iconName,
|
|
5564
|
-
showCheckbox,
|
|
5565
|
-
checked,
|
|
5566
|
-
hover,
|
|
5567
|
-
focus,
|
|
5568
|
-
selected,
|
|
5569
|
-
disabled,
|
|
5570
|
-
...other
|
|
5571
|
-
} = props;
|
|
5572
|
-
const textOrChildren = text ? text : props.children;
|
|
5573
|
-
return /* @__PURE__ */ jsxs15(
|
|
5574
|
-
"li",
|
|
5575
|
-
{
|
|
5576
|
-
...other,
|
|
5577
|
-
className: classNames(
|
|
5578
|
-
props.className,
|
|
5579
|
-
LISTITEM_CLASSNAME,
|
|
5580
|
-
stateClassNames(LISTITEM_CLASSNAME, {
|
|
5581
|
-
hover,
|
|
5582
|
-
focus,
|
|
5583
|
-
disabled,
|
|
5584
|
-
selected
|
|
5585
|
-
})
|
|
5586
|
-
),
|
|
5587
|
-
children: [
|
|
5588
|
-
showCheckbox && /* @__PURE__ */ jsx42(Checkbox, { checked }),
|
|
5589
|
-
showIcon && /* @__PURE__ */ jsx42(Icon, { icon: iconName }),
|
|
5590
|
-
/* @__PURE__ */ jsx42("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5591
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx42("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5592
|
-
]
|
|
5593
|
-
}
|
|
5594
|
-
);
|
|
5595
|
-
};
|
|
5596
|
-
ListItem.states = states25;
|
|
5597
|
-
ListItem.options = options23;
|
|
5598
|
-
ListItem.className = LISTITEM_CLASSNAME;
|
|
5599
|
-
ListItem.defaultProps = defaultProps21;
|
|
5600
|
-
|
|
5601
|
-
// src/list/list-content.tsx
|
|
5602
|
-
import { jsx as jsx43, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5603
|
-
var className10 = `k-list-content`;
|
|
5604
|
-
var ListContent = (props) => {
|
|
5605
|
-
const {
|
|
5606
|
-
virtualization
|
|
5607
|
-
} = props;
|
|
5608
|
-
return /* @__PURE__ */ jsxs16("div", { className: classNames(className10, props.className), children: [
|
|
5609
|
-
/* @__PURE__ */ jsx43("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5610
|
-
virtualization && /* @__PURE__ */ jsx43("div", { className: "k-height-container", children: /* @__PURE__ */ jsx43("div", {}) })
|
|
5611
|
-
] });
|
|
5612
|
-
};
|
|
5613
|
-
|
|
5614
|
-
// src/list/list-header.tsx
|
|
5615
|
-
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5616
|
-
var className11 = `k-list-group-sticky-header`;
|
|
5617
|
-
var ListHeader = (props) => /* @__PURE__ */ jsx44("div", { className: classNames(className11, props.className), children: /* @__PURE__ */ jsx44("div", { className: "k-list-header-text", children: props.children }) });
|
|
5618
|
-
|
|
5619
|
-
// src/list/list-group.tsx
|
|
5620
|
-
import { Fragment as Fragment15, jsx as jsx45, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5621
|
-
var ListGroup = (props) => {
|
|
5622
|
-
const {
|
|
5623
|
-
virtualization,
|
|
5624
|
-
label
|
|
5625
|
-
} = props;
|
|
5626
|
-
return /* @__PURE__ */ jsxs17(Fragment15, { children: [
|
|
5627
|
-
label && /* @__PURE__ */ jsx45(ListHeader, { children: label }),
|
|
5628
|
-
props.children && /* @__PURE__ */ jsx45(ListContent, { virtualization, children: props.children })
|
|
5629
|
-
] });
|
|
5630
|
-
};
|
|
5631
|
-
|
|
5632
|
-
// src/list/list-group-item.tsx
|
|
5633
|
-
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5634
|
-
var className12 = `k-list-group-item`;
|
|
5635
|
-
var ListGroupItem = (props) => /* @__PURE__ */ jsx46("li", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx46("span", { className: "k-list-item-text", children: props.children }) });
|
|
5636
|
-
|
|
5637
|
-
// src/list/list-option-label.tsx
|
|
5638
|
-
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5639
|
-
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5640
|
-
var states26 = [
|
|
5641
|
-
States.hover,
|
|
5642
|
-
States.focus,
|
|
5643
|
-
States.selected,
|
|
5644
|
-
States.disabled
|
|
5645
|
-
];
|
|
5646
|
-
var options24 = {};
|
|
5647
|
-
var defaultProps22 = {};
|
|
5648
|
-
var ListOptionLabel = (props) => {
|
|
5649
|
-
const {
|
|
5650
|
-
text,
|
|
5651
|
-
hover,
|
|
5652
|
-
focus,
|
|
5653
|
-
selected,
|
|
5654
|
-
disabled,
|
|
5655
|
-
...other
|
|
5656
|
-
} = props;
|
|
5657
|
-
return /* @__PURE__ */ jsx47(
|
|
5658
|
-
"div",
|
|
5659
|
-
{
|
|
5660
|
-
...other,
|
|
5661
|
-
className: classNames(
|
|
5662
|
-
LIST_OPTIONLABEL_CLASSNAME,
|
|
5663
|
-
stateClassNames(LIST_OPTIONLABEL_CLASSNAME, {
|
|
5664
|
-
hover,
|
|
5665
|
-
focus,
|
|
5666
|
-
selected,
|
|
5667
|
-
disabled
|
|
5668
|
-
})
|
|
5669
|
-
),
|
|
5670
|
-
children: text
|
|
5671
|
-
}
|
|
5672
|
-
);
|
|
5673
|
-
};
|
|
5674
|
-
ListOptionLabel.states = states26;
|
|
5675
|
-
ListOptionLabel.options = options24;
|
|
5676
|
-
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
5677
|
-
ListOptionLabel.defaultProps = defaultProps22;
|
|
5678
|
-
|
|
5679
|
-
// src/list/templates/list-normal.tsx
|
|
5680
|
-
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5681
|
-
|
|
5682
|
-
// src/list/templates/list-virtualization.tsx
|
|
5683
|
-
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5684
|
-
|
|
5685
|
-
// src/list/templates/list-grouping.tsx
|
|
5686
|
-
import { jsx as jsx50, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5687
|
-
|
|
5688
|
-
// src/list/templates/list-virualization-grouping.tsx
|
|
5689
|
-
import { jsx as jsx51, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5690
|
-
|
|
5691
|
-
// src/list/templates/list-virtualization-angular.tsx
|
|
5692
|
-
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5693
|
-
|
|
5694
|
-
// src/list/templates/list-grouping-angular.tsx
|
|
5695
|
-
import { jsx as jsx53, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5696
|
-
|
|
5697
|
-
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5698
|
-
import { jsx as jsx54, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5699
|
-
|
|
5700
|
-
// src/combobox/combobox.spec.tsx
|
|
5701
|
-
import { Fragment as Fragment16, jsx as jsx55, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5702
|
-
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
5703
|
-
var states27 = [
|
|
5704
|
-
States.hover,
|
|
5705
|
-
States.focus,
|
|
5706
|
-
States.valid,
|
|
5707
|
-
States.invalid,
|
|
5708
|
-
States.loading,
|
|
5709
|
-
States.required,
|
|
5710
|
-
States.disabled,
|
|
5711
|
-
States.readonly
|
|
5712
|
-
];
|
|
5713
|
-
var defaultProps23 = {
|
|
5714
|
-
size: Input.defaultProps.size,
|
|
5715
|
-
rounded: Input.defaultProps.rounded,
|
|
5716
|
-
fillMode: Input.defaultProps.fillMode
|
|
5717
|
-
};
|
|
5718
|
-
var options25 = {
|
|
5719
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5720
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5721
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5722
|
-
};
|
|
5723
|
-
var Combobox = (props) => {
|
|
5724
|
-
const {
|
|
5725
|
-
prefix,
|
|
5726
|
-
suffix,
|
|
5727
|
-
value,
|
|
5728
|
-
placeholder,
|
|
5729
|
-
size,
|
|
5730
|
-
rounded,
|
|
5731
|
-
fillMode,
|
|
5732
|
-
hover,
|
|
5733
|
-
focus,
|
|
5734
|
-
valid,
|
|
5735
|
-
invalid,
|
|
5736
|
-
required,
|
|
5737
|
-
loading,
|
|
5738
|
-
disabled,
|
|
5739
|
-
popup,
|
|
5740
|
-
opened,
|
|
5741
|
-
readonly,
|
|
5742
|
-
adaptive,
|
|
5743
|
-
adaptiveSettings,
|
|
5744
|
-
...other
|
|
5745
|
-
} = props;
|
|
5746
|
-
return /* @__PURE__ */ jsxs22(Fragment16, { children: [
|
|
5747
|
-
/* @__PURE__ */ jsxs22(
|
|
5748
|
-
Input,
|
|
5749
|
-
{
|
|
5750
|
-
...other,
|
|
5751
|
-
size,
|
|
5752
|
-
rounded,
|
|
5753
|
-
fillMode,
|
|
5754
|
-
hover,
|
|
5755
|
-
focus,
|
|
5756
|
-
valid,
|
|
5757
|
-
invalid,
|
|
5758
|
-
required,
|
|
5759
|
-
loading,
|
|
5760
|
-
disabled,
|
|
5761
|
-
readonly,
|
|
5762
|
-
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
5763
|
-
children: [
|
|
5764
|
-
/* @__PURE__ */ jsx55(InputPrefix, { children: prefix }),
|
|
5765
|
-
/* @__PURE__ */ jsx55(InputInnerInput, { placeholder, value }),
|
|
5766
|
-
/* @__PURE__ */ jsx55(
|
|
5767
|
-
InputValidationIcon,
|
|
5768
|
-
{
|
|
5769
|
-
valid,
|
|
5770
|
-
invalid,
|
|
5771
|
-
loading,
|
|
5772
|
-
disabled
|
|
5773
|
-
}
|
|
5774
|
-
),
|
|
5775
|
-
/* @__PURE__ */ jsx55(
|
|
5776
|
-
InputLoadingIcon,
|
|
5777
|
-
{
|
|
5778
|
-
loading,
|
|
5779
|
-
disabled
|
|
5780
|
-
}
|
|
5781
|
-
),
|
|
5782
|
-
/* @__PURE__ */ jsx55(
|
|
5783
|
-
InputClearValue,
|
|
5784
|
-
{
|
|
5785
|
-
loading,
|
|
5786
|
-
disabled,
|
|
5787
|
-
readonly,
|
|
5788
|
-
value
|
|
5789
|
-
}
|
|
5790
|
-
),
|
|
5791
|
-
/* @__PURE__ */ jsx55(InputSuffix, { children: suffix }),
|
|
5792
|
-
/* @__PURE__ */ jsx55(
|
|
5793
|
-
Button,
|
|
5794
|
-
{
|
|
5795
|
-
className: "k-input-button",
|
|
5796
|
-
icon: "caret-alt-down",
|
|
5797
|
-
rounded: null,
|
|
5798
|
-
size,
|
|
5799
|
-
fillMode
|
|
5800
|
-
}
|
|
5801
|
-
)
|
|
5802
|
-
]
|
|
5803
|
-
}
|
|
5804
|
-
),
|
|
5805
|
-
opened && popup && /* @__PURE__ */ jsx55(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
5806
|
-
adaptive && /* @__PURE__ */ jsxs22(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5807
|
-
/* @__PURE__ */ jsx55(
|
|
5808
|
-
ActionSheetHeader,
|
|
5809
|
-
{
|
|
5810
|
-
actions: ["x"],
|
|
5811
|
-
filter: true,
|
|
5812
|
-
title: "Select Item"
|
|
5813
|
-
}
|
|
5814
|
-
),
|
|
5815
|
-
/* @__PURE__ */ jsx55("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs22(List, { size: "large", children: [
|
|
5816
|
-
/* @__PURE__ */ jsx55(ListItem, { text: "List item" }),
|
|
5817
|
-
/* @__PURE__ */ jsx55(ListItem, { text: "List item" }),
|
|
5818
|
-
/* @__PURE__ */ jsx55(ListItem, { text: "List item" })
|
|
5819
|
-
] }) })
|
|
5820
|
-
] })
|
|
5821
|
-
] });
|
|
5822
|
-
};
|
|
5823
|
-
Combobox.states = states27;
|
|
5824
|
-
Combobox.options = options25;
|
|
5825
|
-
Combobox.className = COMBOBOX_CLASSNAME;
|
|
5826
|
-
Combobox.defaultProps = defaultProps23;
|
|
5827
|
-
|
|
5828
|
-
// src/combobox/templates/combobox-normal.tsx
|
|
5829
|
-
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
5830
|
-
|
|
5831
|
-
// src/combobox/templates/combobox-popup.tsx
|
|
5832
|
-
import { jsx as jsx57, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5833
|
-
|
|
5834
|
-
// src/combobox/templates/combobox-grouping.tsx
|
|
5835
|
-
import { jsx as jsx58, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5836
|
-
|
|
5837
|
-
// src/combobox/templates/combobox-adaptive.tsx
|
|
5838
|
-
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5839
|
-
|
|
5840
|
-
// src/textarea/textarea.spec.tsx
|
|
5841
|
-
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5842
|
-
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
5843
|
-
var states28 = [
|
|
5844
|
-
States.hover,
|
|
5845
|
-
States.focus,
|
|
5846
|
-
States.valid,
|
|
5847
|
-
States.invalid,
|
|
5848
|
-
States.required,
|
|
5849
|
-
States.disabled
|
|
5850
|
-
];
|
|
5851
|
-
var options26 = {
|
|
5852
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5853
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5854
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5855
|
-
};
|
|
5856
|
-
var defaultProps24 = {
|
|
5857
|
-
size: Input.defaultProps.size,
|
|
5858
|
-
rounded: Input.defaultProps.rounded,
|
|
5859
|
-
fillMode: Input.defaultProps.fillMode
|
|
5860
|
-
};
|
|
5861
|
-
var Textarea = (props) => {
|
|
5862
|
-
const {
|
|
5863
|
-
rows,
|
|
5864
|
-
value,
|
|
5865
|
-
placeholder,
|
|
5866
|
-
size,
|
|
5867
|
-
rounded,
|
|
5868
|
-
fillMode,
|
|
5869
|
-
hover,
|
|
5870
|
-
focus,
|
|
5871
|
-
valid,
|
|
5872
|
-
invalid,
|
|
5873
|
-
required,
|
|
5874
|
-
disabled,
|
|
5875
|
-
...other
|
|
5876
|
-
} = props;
|
|
5877
|
-
return /* @__PURE__ */ jsx60(
|
|
5878
|
-
Input,
|
|
5879
|
-
{
|
|
5880
|
-
...other,
|
|
5881
|
-
size,
|
|
5882
|
-
rounded,
|
|
5883
|
-
fillMode,
|
|
5884
|
-
hover,
|
|
5885
|
-
focus,
|
|
5886
|
-
valid,
|
|
5887
|
-
invalid,
|
|
5888
|
-
required,
|
|
5889
|
-
disabled,
|
|
5890
|
-
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
5891
|
-
children: /* @__PURE__ */ jsx60(
|
|
5892
|
-
InputInnerTextarea,
|
|
5893
|
-
{
|
|
5894
|
-
className: classNames(
|
|
5895
|
-
"!k-overflow-auto"
|
|
5896
|
-
),
|
|
5897
|
-
value,
|
|
5898
|
-
placeholder,
|
|
5899
|
-
rows
|
|
5900
|
-
}
|
|
5901
|
-
)
|
|
5902
|
-
}
|
|
5903
|
-
);
|
|
5904
|
-
};
|
|
5905
|
-
Textarea.states = states28;
|
|
5906
|
-
Textarea.options = options26;
|
|
5907
|
-
Textarea.className = TEXTAREA_CLASSNAME;
|
|
5908
|
-
Textarea.defaultProps = defaultProps24;
|
|
5909
|
-
|
|
5910
|
-
// src/textarea/templates/textarea-normal.tsx
|
|
5911
|
-
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
4880
|
+
import { jsx as jsx24, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5912
4881
|
|
|
5913
4882
|
// src/floating-label/tests/floating-label-outline.tsx
|
|
5914
|
-
import { Fragment as
|
|
4883
|
+
import { Fragment as Fragment10, jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5915
4884
|
var styles = `
|
|
5916
4885
|
#test-area {
|
|
5917
4886
|
width: 660px;
|
|
@@ -5920,41 +4889,23 @@ var styles = `
|
|
|
5920
4889
|
width: 100%;
|
|
5921
4890
|
}
|
|
5922
4891
|
`;
|
|
5923
|
-
var floating_label_outline_default = () => /* @__PURE__ */
|
|
5924
|
-
/* @__PURE__ */
|
|
5925
|
-
/* @__PURE__ */
|
|
5926
|
-
/* @__PURE__ */
|
|
5927
|
-
/* @__PURE__ */
|
|
5928
|
-
/* @__PURE__ */
|
|
5929
|
-
/* @__PURE__ */
|
|
5930
|
-
/* @__PURE__ */
|
|
5931
|
-
/* @__PURE__ */
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Hover", hover: true }) }) }),
|
|
5941
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Hover", hover: true }) }) }),
|
|
5942
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Hover", hover: true }) }) }),
|
|
5943
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Hover", hover: true }) }) }),
|
|
5944
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", focus: true, children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Focus", focus: true }) }) }),
|
|
5945
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", focus: true, children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Focus", focus: true }) }) }),
|
|
5946
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", focus: true, children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Focus", focus: true }) }) }),
|
|
5947
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", focus: true, children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Focus", focus: true }) }) }),
|
|
5948
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", disabled: true, children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Disabled", disabled: true }) }) }),
|
|
5949
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", disabled: true, children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Disabled", disabled: true }) }) }),
|
|
5950
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", disabled: true, children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Disabled", disabled: true }) }) }),
|
|
5951
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", disabled: true, children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Disabled", disabled: true }) }) }),
|
|
5952
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", invalid: true, children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Invalid value", invalid: true }) }) }),
|
|
5953
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textbox label", invalid: true, children: /* @__PURE__ */ jsx62(Textbox, { fillMode: "outline", value: "Invalid value", invalid: true }) }) }),
|
|
5954
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", invalid: true, children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Invalid value", invalid: true }) }) }),
|
|
5955
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Combobox label", invalid: true, children: /* @__PURE__ */ jsx62(Combobox, { fillMode: "outline", value: "Invalid value", invalid: true }) }) }),
|
|
5956
|
-
/* @__PURE__ */ jsx62("div", { children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textarea label", empty: true, children: /* @__PURE__ */ jsx62(Textarea, { fillMode: "outline" }) }) }),
|
|
5957
|
-
/* @__PURE__ */ jsx62("div", { dir: "rtl", children: /* @__PURE__ */ jsx62(FloatingLabel, { label: "Textarea label", empty: true, children: /* @__PURE__ */ jsx62(Textarea, { fillMode: "outline" }) }) })
|
|
4892
|
+
var floating_label_outline_default = () => /* @__PURE__ */ jsxs7(Fragment10, { children: [
|
|
4893
|
+
/* @__PURE__ */ jsx25("style", { children: styles }),
|
|
4894
|
+
/* @__PURE__ */ jsxs7("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
4895
|
+
/* @__PURE__ */ jsx25("span", { children: "Floating label outline" }),
|
|
4896
|
+
/* @__PURE__ */ jsx25("span", { children: "Floating label outline RTL" }),
|
|
4897
|
+
/* @__PURE__ */ jsx25("div", { children: /* @__PURE__ */ jsx25(FloatingLabelNormal, { label: "Label with placeholder", empty: true, children: /* @__PURE__ */ jsx25(TextboxNormal, { fillMode: "outline", placeholder: "placeholder" }) }) }),
|
|
4898
|
+
/* @__PURE__ */ jsx25("div", { dir: "rtl", children: /* @__PURE__ */ jsx25(FloatingLabelNormal, { label: "Label with placeholder", empty: true, children: /* @__PURE__ */ jsx25(TextboxNormal, { fillMode: "outline", placeholder: "placeholder" }) }) }),
|
|
4899
|
+
/* @__PURE__ */ jsx25("div", { children: /* @__PURE__ */ jsx25(FloatingLabelNormal, { label: "Label with placeholder focused", empty: true, focus: true, children: /* @__PURE__ */ jsx25(TextboxNormal, { fillMode: "outline", placeholder: "placeholder", focus: true }) }) }),
|
|
4900
|
+
/* @__PURE__ */ jsx25("div", { dir: "rtl", children: /* @__PURE__ */ jsx25(FloatingLabelNormal, { label: "Label with placeholder focused", empty: true, focus: true, children: /* @__PURE__ */ jsx25(TextboxNormal, { fillMode: "outline", placeholder: "placeholder", focus: true }) }) }),
|
|
4901
|
+
["normal", "hover", ...FloatingLabel.states].map((state) => {
|
|
4902
|
+
let value = state;
|
|
4903
|
+
state === "empty" && (value = "");
|
|
4904
|
+
return /* @__PURE__ */ jsxs7(Fragment10, { children: [
|
|
4905
|
+
/* @__PURE__ */ jsx25("div", { children: /* @__PURE__ */ jsx25(FloatingLabelNormal, { label: "Label", ...{ [state]: true }, children: /* @__PURE__ */ jsx25(TextboxNormal, { fillMode: "outline", value, ...{ [state]: true } }) }) }),
|
|
4906
|
+
/* @__PURE__ */ jsx25("div", { dir: "rtl", children: /* @__PURE__ */ jsx25(FloatingLabelNormal, { label: "Label", ...{ [state]: true }, children: /* @__PURE__ */ jsx25(TextboxNormal, { fillMode: "outline", value, ...{ [state]: true } }) }) })
|
|
4907
|
+
] });
|
|
4908
|
+
})
|
|
5958
4909
|
] })
|
|
5959
4910
|
] });
|
|
5960
4911
|
export {
|