@progress/kendo-themes-html 7.2.0 → 7.2.1-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/autocomplete/tests/autocomplete-prefix-suffix.js +1416 -910
- package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +1416 -910
- package/dist/cjs/filemanager/file-info.js +1238 -1239
- package/dist/cjs/filemanager/filemanager-toolbar.spec.js +1 -1
- package/dist/cjs/filemanager/filemanager.spec.js +3481 -2163
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1238 -1239
- package/dist/cjs/filemanager/templates/filemanager-grid.js +1238 -1239
- package/dist/cjs/filemanager/templates/filemanager-normal.js +1238 -1239
- package/dist/cjs/filemanager/templates/filemanager-preview.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +2540 -2034
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +1238 -1239
- package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +2494 -1988
- package/dist/cjs/filemanager/tests/filemanager-listview.js +1238 -1239
- package/dist/cjs/form/tests/form-field-dropdowns.js +1373 -909
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1504 -998
- package/dist/cjs/index.js +3002 -2407
- package/dist/cjs/multiselect/templates/multiselect-prefix.js +1391 -885
- package/dist/cjs/multiselect/templates/multiselect-suffix.js +1391 -885
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +1397 -891
- package/dist/cjs/multiselect/tests/multiselect-flat.js +1421 -915
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +1397 -891
- package/dist/cjs/multiselect/tests/multiselect-opened.js +1399 -893
- package/dist/cjs/multiselect/tests/multiselect-outline.js +1421 -915
- package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +1428 -922
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +1400 -894
- package/dist/cjs/multiselect/tests/multiselect-solid.js +1421 -915
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +1388 -924
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +1402 -938
- package/dist/cjs/stepper/index.js +4669 -0
- package/dist/cjs/stepper/step-list.js +68 -0
- package/dist/cjs/stepper/step.js +4426 -0
- package/dist/cjs/stepper/stepper.spec.js +62 -0
- package/dist/cjs/stepper/templates/stepper-normal.js +4650 -0
- package/dist/cjs/stepper/templates/stepper-vertical.js +4650 -0
- package/dist/cjs/stepper/tests/stepper-horizontal-rtl.js +262 -150
- package/dist/cjs/stepper/tests/stepper-states.js +247 -228
- package/dist/cjs/stepper/tests/stepper-vertical-rtl.js +255 -122
- package/dist/cjs/stepper/tests/stepper-vertical.js +369 -238
- package/dist/cjs/stepper/tests/stepper.js +275 -187
- package/dist/cjs/taskboard/taskboard-card.js +4675 -0
- package/dist/cjs/taskboard/taskboard-column.js +4524 -0
- package/dist/cjs/taskboard/taskboard-pane.js +17117 -0
- package/dist/cjs/taskboard/taskboard-toolbar.js +7892 -0
- package/dist/cjs/taskboard/taskboard.spec.js +17117 -0
- package/dist/cjs/taskboard/templates/taskboard-normal.js +17168 -0
- package/dist/cjs/taskboard/tests/taskboard-card.js +12075 -3113
- package/dist/cjs/taskboard/tests/taskboard-column.js +12575 -742
- package/dist/cjs/taskboard/tests/taskboard-pane.js +10350 -1770
- package/dist/cjs/taskboard/tests/taskboard-resources.js +12673 -323
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +10165 -1191
- package/dist/cjs/taskboard/tests/taskboard.js +10165 -1182
- package/dist/cjs/wizard/templates/wizard-normal.js +4899 -0
- package/dist/cjs/wizard/templates/wizard-vertical.js +4900 -0
- package/dist/cjs/wizard/tests/wizard-horizontal.js +394 -321
- package/dist/cjs/wizard/tests/wizard-vertical.js +413 -445
- package/dist/cjs/wizard/wizard-step.js +4524 -0
- package/dist/cjs/wizard/wizard-steps.js +56 -0
- package/dist/cjs/wizard/wizard.spec.js +110 -0
- package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +1416 -910
- package/dist/esm/combobox/tests/combobox-prefix-suffix.js +1416 -910
- package/dist/esm/filemanager/file-info.js +1240 -1241
- package/dist/esm/filemanager/filemanager-toolbar.spec.js +1 -1
- package/dist/esm/filemanager/filemanager.spec.js +2923 -1605
- package/dist/esm/filemanager/templates/filemanager-grid-preview.js +1240 -1241
- package/dist/esm/filemanager/templates/filemanager-grid.js +1240 -1241
- package/dist/esm/filemanager/templates/filemanager-normal.js +1240 -1241
- package/dist/esm/filemanager/templates/filemanager-preview.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-contextmenu.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-drag-hint.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +2560 -2054
- package/dist/esm/filemanager/tests/filemanager-gridview.js +1240 -1241
- package/dist/esm/filemanager/tests/filemanager-listview-preview.js +2514 -2008
- package/dist/esm/filemanager/tests/filemanager-listview.js +1240 -1241
- package/dist/esm/form/tests/form-field-dropdowns.js +1373 -909
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +1504 -998
- package/dist/esm/index.js +2988 -2393
- package/dist/esm/multiselect/templates/multiselect-prefix.js +1391 -885
- package/dist/esm/multiselect/templates/multiselect-suffix.js +1391 -885
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +1397 -891
- package/dist/esm/multiselect/tests/multiselect-flat.js +1421 -915
- package/dist/esm/multiselect/tests/multiselect-grouping.js +1397 -891
- package/dist/esm/multiselect/tests/multiselect-opened.js +1399 -893
- package/dist/esm/multiselect/tests/multiselect-outline.js +1421 -915
- package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +1428 -922
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +1400 -894
- package/dist/esm/multiselect/tests/multiselect-solid.js +1421 -915
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +1388 -924
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +1402 -938
- package/dist/esm/stepper/index.js +4653 -0
- package/dist/esm/stepper/step-list.js +46 -0
- package/dist/esm/stepper/step.js +4410 -0
- package/dist/esm/stepper/stepper.spec.js +40 -0
- package/dist/esm/stepper/templates/stepper-normal.js +4634 -0
- package/dist/esm/stepper/templates/stepper-vertical.js +4634 -0
- package/dist/esm/stepper/tests/stepper-horizontal-rtl.js +262 -150
- package/dist/esm/stepper/tests/stepper-states.js +247 -228
- package/dist/esm/stepper/tests/stepper-vertical-rtl.js +255 -122
- package/dist/esm/stepper/tests/stepper-vertical.js +366 -235
- package/dist/esm/stepper/tests/stepper.js +275 -187
- package/dist/esm/taskboard/taskboard-card.js +4659 -0
- package/dist/esm/taskboard/taskboard-column.js +4508 -0
- package/dist/esm/taskboard/taskboard-pane.js +17091 -0
- package/dist/esm/taskboard/taskboard-toolbar.js +7876 -0
- package/dist/esm/taskboard/taskboard.spec.js +17091 -0
- package/dist/esm/taskboard/templates/taskboard-normal.js +17142 -0
- package/dist/esm/taskboard/tests/taskboard-card.js +11799 -2847
- package/dist/esm/taskboard/tests/taskboard-column.js +12548 -725
- package/dist/esm/taskboard/tests/taskboard-pane.js +10334 -1764
- package/dist/esm/taskboard/tests/taskboard-resources.js +12665 -325
- package/dist/esm/taskboard/tests/taskboard-rtl.js +10170 -1206
- package/dist/esm/taskboard/tests/taskboard.js +10170 -1197
- package/dist/esm/wizard/templates/wizard-normal.js +4883 -0
- package/dist/esm/wizard/templates/wizard-vertical.js +4884 -0
- package/dist/esm/wizard/tests/wizard-horizontal.js +392 -319
- package/dist/esm/wizard/tests/wizard-vertical.js +411 -443
- package/dist/esm/wizard/wizard-step.js +4508 -0
- package/dist/esm/wizard/wizard-steps.js +34 -0
- package/dist/esm/wizard/wizard.spec.js +88 -0
- package/dist/types/filemanager/index.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/stepper/index.d.ts +5 -0
- package/dist/types/stepper/step-list.d.ts +15 -0
- package/dist/types/stepper/step.d.ts +25 -0
- package/dist/types/stepper/stepper.spec.d.ts +13 -0
- package/dist/types/stepper/templates/stepper-normal.d.ts +1 -0
- package/dist/types/stepper/templates/stepper-vertical.d.ts +1 -0
- package/dist/types/taskboard/index.d.ts +6 -0
- package/dist/types/taskboard/taskboard-card.d.ts +13 -0
- package/dist/types/taskboard/taskboard-column.d.ts +20 -0
- package/dist/types/taskboard/taskboard-pane.d.ts +19 -0
- package/dist/types/taskboard/taskboard-toolbar.d.ts +10 -0
- package/dist/types/taskboard/taskboard.spec.d.ts +23 -0
- package/dist/types/taskboard/templates/taskboard-normal.d.ts +1 -0
- package/dist/types/wizard/index.d.ts +5 -0
- package/dist/types/wizard/templates/wizard-normal.d.ts +1 -0
- package/dist/types/wizard/templates/wizard-vertical.d.ts +1 -0
- package/dist/types/wizard/wizard-step.d.ts +19 -0
- package/dist/types/wizard/wizard-steps.d.ts +9 -0
- package/dist/types/wizard/wizard.spec.d.ts +20 -0
- package/package.json +2 -2
- package/src/filemanager/filemanager-toolbar.spec.tsx +1 -1
- package/src/filemanager/filemanager.spec.tsx +2 -2
- package/src/filemanager/index.ts +1 -1
- package/src/index.ts +3 -3
- package/src/stepper/index.tsx +5 -0
- package/src/stepper/step-list.tsx +49 -0
- package/src/stepper/step.tsx +129 -0
- package/src/stepper/stepper.spec.tsx +42 -0
- package/src/stepper/templates/stepper-normal.tsx +19 -0
- package/src/stepper/templates/stepper-vertical.tsx +19 -0
- package/src/stepper/tests/stepper-horizontal-rtl.tsx +30 -156
- package/src/stepper/tests/stepper-states.tsx +31 -411
- package/src/stepper/tests/stepper-vertical-rtl.tsx +28 -120
- package/src/stepper/tests/stepper-vertical.tsx +41 -157
- package/src/stepper/tests/stepper.tsx +42 -241
- package/src/taskboard/index.ts +6 -0
- package/src/taskboard/taskboard-card.tsx +48 -0
- package/src/taskboard/taskboard-column.tsx +70 -0
- package/src/taskboard/taskboard-pane.tsx +68 -0
- package/src/taskboard/taskboard-toolbar.tsx +39 -0
- package/src/taskboard/taskboard.spec.tsx +94 -0
- package/src/taskboard/templates/taskboard-normal.tsx +70 -0
- package/src/taskboard/tests/taskboard-card.tsx +55 -130
- package/src/taskboard/tests/taskboard-column.tsx +93 -164
- package/src/taskboard/tests/taskboard-pane.tsx +3 -235
- package/src/taskboard/tests/taskboard-resources.tsx +22 -42
- package/src/taskboard/tests/taskboard-rtl.tsx +3 -126
- package/src/taskboard/tests/taskboard.tsx +2 -116
- package/src/wizard/index.ts +5 -0
- package/src/wizard/templates/wizard-normal.tsx +19 -0
- package/src/wizard/templates/wizard-vertical.tsx +20 -0
- package/src/wizard/tests/wizard-horizontal.tsx +20 -304
- package/src/wizard/tests/wizard-vertical.tsx +38 -472
- package/src/wizard/wizard-step.tsx +69 -0
- package/src/wizard/wizard-steps.tsx +29 -0
- package/src/wizard/wizard.spec.tsx +55 -0
|
@@ -4512,463 +4512,10 @@ import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
|
4512
4512
|
// src/button-group/templates/mixed-button-group.tsx
|
|
4513
4513
|
import { jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4514
4514
|
|
|
4515
|
-
// src/animation-container/animation-container.spec.tsx
|
|
4516
|
-
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
4517
|
-
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4518
|
-
var states6 = [];
|
|
4519
|
-
var options6 = {};
|
|
4520
|
-
var defaultProps6 = {
|
|
4521
|
-
positionMode: "absolute"
|
|
4522
|
-
};
|
|
4523
|
-
var AnimationContainer = (props) => {
|
|
4524
|
-
const {
|
|
4525
|
-
positionMode,
|
|
4526
|
-
animationStyle,
|
|
4527
|
-
offset,
|
|
4528
|
-
...other
|
|
4529
|
-
} = props;
|
|
4530
|
-
return /* @__PURE__ */ jsx13(
|
|
4531
|
-
"div",
|
|
4532
|
-
{
|
|
4533
|
-
...other,
|
|
4534
|
-
style: { ...offset, ...props.style },
|
|
4535
|
-
className: classNames(
|
|
4536
|
-
ANIMATION_CONTAINER_CLASSNAME,
|
|
4537
|
-
"k-animation-container-shown",
|
|
4538
|
-
{
|
|
4539
|
-
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4540
|
-
}
|
|
4541
|
-
),
|
|
4542
|
-
children: /* @__PURE__ */ jsx13("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4543
|
-
}
|
|
4544
|
-
);
|
|
4545
|
-
};
|
|
4546
|
-
AnimationContainer.states = states6;
|
|
4547
|
-
AnimationContainer.options = options6;
|
|
4548
|
-
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
4549
|
-
AnimationContainer.defaultProps = defaultProps6;
|
|
4550
|
-
|
|
4551
|
-
// src/popup/popup.spec.tsx
|
|
4552
|
-
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4553
|
-
var POPUP_CLASSNAME = `k-popup`;
|
|
4554
|
-
var states7 = [];
|
|
4555
|
-
var options7 = {};
|
|
4556
|
-
var defaultProps7 = {
|
|
4557
|
-
positionMode: "absolute"
|
|
4558
|
-
};
|
|
4559
|
-
var Popup = (props) => {
|
|
4560
|
-
const {
|
|
4561
|
-
offset,
|
|
4562
|
-
positionMode,
|
|
4563
|
-
...other
|
|
4564
|
-
} = props;
|
|
4565
|
-
return /* @__PURE__ */ jsx14(
|
|
4566
|
-
AnimationContainer,
|
|
4567
|
-
{
|
|
4568
|
-
positionMode,
|
|
4569
|
-
offset,
|
|
4570
|
-
children: /* @__PURE__ */ jsx14("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4571
|
-
}
|
|
4572
|
-
);
|
|
4573
|
-
};
|
|
4574
|
-
Popup.states = states7;
|
|
4575
|
-
Popup.options = options7;
|
|
4576
|
-
Popup.className = POPUP_CLASSNAME;
|
|
4577
|
-
Popup.defaultProps = defaultProps7;
|
|
4578
|
-
|
|
4579
|
-
// src/split-button/split-button.spec.tsx
|
|
4580
|
-
import { Fragment as Fragment5, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4581
|
-
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
4582
|
-
var states8 = [
|
|
4583
|
-
States.hover,
|
|
4584
|
-
States.focus,
|
|
4585
|
-
States.active,
|
|
4586
|
-
States.selected,
|
|
4587
|
-
States.disabled
|
|
4588
|
-
];
|
|
4589
|
-
var options8 = {
|
|
4590
|
-
size: [Size.small, Size.medium, Size.large],
|
|
4591
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4592
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
4593
|
-
themeColor: [
|
|
4594
|
-
ThemeColor.base,
|
|
4595
|
-
ThemeColor.primary,
|
|
4596
|
-
ThemeColor.secondary,
|
|
4597
|
-
ThemeColor.tertiary,
|
|
4598
|
-
ThemeColor.success,
|
|
4599
|
-
ThemeColor.warning,
|
|
4600
|
-
ThemeColor.error,
|
|
4601
|
-
ThemeColor.info,
|
|
4602
|
-
ThemeColor.light,
|
|
4603
|
-
ThemeColor.dark,
|
|
4604
|
-
ThemeColor.inverse
|
|
4605
|
-
]
|
|
4606
|
-
};
|
|
4607
|
-
var defaultProps8 = {
|
|
4608
|
-
size: Size.medium,
|
|
4609
|
-
rounded: Roundness.medium,
|
|
4610
|
-
fillMode: FillMode.solid,
|
|
4611
|
-
themeColor: ThemeColor.base,
|
|
4612
|
-
arrowIconName: "caret-alt-down"
|
|
4613
|
-
};
|
|
4614
|
-
var SplitButton = (props) => {
|
|
4615
|
-
const {
|
|
4616
|
-
size = defaultProps8.size,
|
|
4617
|
-
rounded = defaultProps8.rounded,
|
|
4618
|
-
fillMode = defaultProps8.fillMode,
|
|
4619
|
-
themeColor = defaultProps8.themeColor,
|
|
4620
|
-
hover,
|
|
4621
|
-
focus,
|
|
4622
|
-
active,
|
|
4623
|
-
selected,
|
|
4624
|
-
disabled,
|
|
4625
|
-
icon,
|
|
4626
|
-
text,
|
|
4627
|
-
arrowIconName = defaultProps8.arrowIconName,
|
|
4628
|
-
popup,
|
|
4629
|
-
opened,
|
|
4630
|
-
...other
|
|
4631
|
-
} = props;
|
|
4632
|
-
return /* @__PURE__ */ jsxs6(Fragment5, { children: [
|
|
4633
|
-
/* @__PURE__ */ jsxs6(
|
|
4634
|
-
"div",
|
|
4635
|
-
{
|
|
4636
|
-
...other,
|
|
4637
|
-
className: classNames(
|
|
4638
|
-
props.className,
|
|
4639
|
-
SPLITBUTTON_CLASSNAME,
|
|
4640
|
-
"k-button-group",
|
|
4641
|
-
optionClassNames(SPLITBUTTON_CLASSNAME, {
|
|
4642
|
-
rounded
|
|
4643
|
-
})
|
|
4644
|
-
),
|
|
4645
|
-
children: [
|
|
4646
|
-
/* @__PURE__ */ jsx15(
|
|
4647
|
-
Button,
|
|
4648
|
-
{
|
|
4649
|
-
text,
|
|
4650
|
-
icon,
|
|
4651
|
-
size,
|
|
4652
|
-
rounded,
|
|
4653
|
-
fillMode,
|
|
4654
|
-
themeColor,
|
|
4655
|
-
hover,
|
|
4656
|
-
focus,
|
|
4657
|
-
active,
|
|
4658
|
-
selected,
|
|
4659
|
-
disabled,
|
|
4660
|
-
children: props.children
|
|
4661
|
-
}
|
|
4662
|
-
),
|
|
4663
|
-
/* @__PURE__ */ jsx15(
|
|
4664
|
-
Button,
|
|
4665
|
-
{
|
|
4666
|
-
className: "k-split-button-arrow",
|
|
4667
|
-
icon: arrowIconName,
|
|
4668
|
-
size,
|
|
4669
|
-
rounded,
|
|
4670
|
-
fillMode,
|
|
4671
|
-
disabled
|
|
4672
|
-
}
|
|
4673
|
-
)
|
|
4674
|
-
]
|
|
4675
|
-
}
|
|
4676
|
-
),
|
|
4677
|
-
opened && popup && /* @__PURE__ */ jsx15(Popup, { className: "k-menu-popup", children: popup })
|
|
4678
|
-
] });
|
|
4679
|
-
};
|
|
4680
|
-
SplitButton.states = states8;
|
|
4681
|
-
SplitButton.options = options8;
|
|
4682
|
-
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
4683
|
-
SplitButton.defaultProps = defaultProps8;
|
|
4684
|
-
var split_button_spec_default = SplitButton;
|
|
4685
|
-
|
|
4686
|
-
// src/split-button/templates/icon-split-button.tsx
|
|
4687
|
-
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4688
|
-
|
|
4689
|
-
// src/split-button/templates/icon-text-split-button.tsx
|
|
4690
|
-
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4691
|
-
|
|
4692
|
-
// src/split-button/templates/text-split-button.tsx
|
|
4693
|
-
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4694
|
-
|
|
4695
|
-
// src/menu/menu-item.spec.tsx
|
|
4696
|
-
import { Fragment as Fragment6, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4697
|
-
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
4698
|
-
var states9 = [
|
|
4699
|
-
States.hover,
|
|
4700
|
-
States.focus,
|
|
4701
|
-
States.active,
|
|
4702
|
-
States.selected,
|
|
4703
|
-
States.disabled
|
|
4704
|
-
];
|
|
4705
|
-
var options9 = {};
|
|
4706
|
-
var defaultProps9 = {
|
|
4707
|
-
dir: "ltr"
|
|
4708
|
-
};
|
|
4709
|
-
var MenuItem = (props) => {
|
|
4710
|
-
const {
|
|
4711
|
-
hover,
|
|
4712
|
-
focus,
|
|
4713
|
-
active,
|
|
4714
|
-
selected,
|
|
4715
|
-
disabled,
|
|
4716
|
-
icon,
|
|
4717
|
-
text,
|
|
4718
|
-
showArrow,
|
|
4719
|
-
arrowIconName,
|
|
4720
|
-
dir = defaultProps9.dir,
|
|
4721
|
-
children,
|
|
4722
|
-
...other
|
|
4723
|
-
} = props;
|
|
4724
|
-
const contentTemplate = /* @__PURE__ */ jsx19(Fragment6, {});
|
|
4725
|
-
if (children) {
|
|
4726
|
-
children.forEach((child) => {
|
|
4727
|
-
const component = child.type;
|
|
4728
|
-
if (component === "MenuItemContent") {
|
|
4729
|
-
contentTemplate.props.children.push(child);
|
|
4730
|
-
return;
|
|
4731
|
-
}
|
|
4732
|
-
});
|
|
4733
|
-
}
|
|
4734
|
-
let expandArrowName = arrowIconName;
|
|
4735
|
-
if (!expandArrowName) {
|
|
4736
|
-
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
4737
|
-
}
|
|
4738
|
-
return /* @__PURE__ */ jsxs7(
|
|
4739
|
-
"li",
|
|
4740
|
-
{
|
|
4741
|
-
...other,
|
|
4742
|
-
className: classNames(
|
|
4743
|
-
props.className,
|
|
4744
|
-
MENUITEM_CLASSNAME,
|
|
4745
|
-
//TODO
|
|
4746
|
-
"k-item",
|
|
4747
|
-
stateClassNames(MENUITEM_CLASSNAME, {
|
|
4748
|
-
focus,
|
|
4749
|
-
disabled
|
|
4750
|
-
})
|
|
4751
|
-
),
|
|
4752
|
-
children: [
|
|
4753
|
-
/* @__PURE__ */ jsxs7(
|
|
4754
|
-
"span",
|
|
4755
|
-
{
|
|
4756
|
-
className: classNames(
|
|
4757
|
-
"k-link k-menu-link",
|
|
4758
|
-
stateClassNames("k-menu-link", {
|
|
4759
|
-
hover,
|
|
4760
|
-
active,
|
|
4761
|
-
selected,
|
|
4762
|
-
disabled
|
|
4763
|
-
})
|
|
4764
|
-
),
|
|
4765
|
-
children: [
|
|
4766
|
-
icon && /* @__PURE__ */ jsx19(Icon, { className: "k-menu-link-icon", icon }),
|
|
4767
|
-
/* @__PURE__ */ jsx19("span", { className: "k-menu-link-text", children: text }),
|
|
4768
|
-
showArrow && /* @__PURE__ */ jsx19("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx19(Icon, { icon: expandArrowName }) })
|
|
4769
|
-
]
|
|
4770
|
-
}
|
|
4771
|
-
),
|
|
4772
|
-
contentTemplate
|
|
4773
|
-
]
|
|
4774
|
-
}
|
|
4775
|
-
);
|
|
4776
|
-
};
|
|
4777
|
-
MenuItem.states = states9;
|
|
4778
|
-
MenuItem.options = options9;
|
|
4779
|
-
MenuItem.className = MENUITEM_CLASSNAME;
|
|
4780
|
-
MenuItem.defaultProps = defaultProps9;
|
|
4781
|
-
var menu_item_spec_default = MenuItem;
|
|
4782
|
-
|
|
4783
|
-
// src/menu/menu-separator.spec.tsx
|
|
4784
|
-
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4785
|
-
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
4786
|
-
var defaultProps10 = {
|
|
4787
|
-
orientation: "horizontal"
|
|
4788
|
-
};
|
|
4789
|
-
var MenuSeparator = (props) => {
|
|
4790
|
-
const {
|
|
4791
|
-
orientation = defaultProps10.orientation,
|
|
4792
|
-
...other
|
|
4793
|
-
} = props;
|
|
4794
|
-
return /* @__PURE__ */ jsx20(
|
|
4795
|
-
"li",
|
|
4796
|
-
{
|
|
4797
|
-
...other,
|
|
4798
|
-
className: classNames(
|
|
4799
|
-
props.className,
|
|
4800
|
-
"k-item",
|
|
4801
|
-
SEPARATOR_CLASSNAME,
|
|
4802
|
-
{
|
|
4803
|
-
[`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
|
|
4804
|
-
}
|
|
4805
|
-
)
|
|
4806
|
-
}
|
|
4807
|
-
);
|
|
4808
|
-
};
|
|
4809
|
-
var menu_separator_spec_default = MenuSeparator;
|
|
4810
|
-
|
|
4811
|
-
// src/menu/menu-item-content.tsx
|
|
4812
|
-
import { Fragment as Fragment7, jsx as jsx21 } from "react/jsx-runtime";
|
|
4813
|
-
|
|
4814
|
-
// src/menu/menu-list.spec.tsx
|
|
4815
|
-
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
4816
|
-
import { createElement } from "react";
|
|
4817
|
-
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
4818
|
-
var states10 = [];
|
|
4819
|
-
var options10 = {
|
|
4820
|
-
size: [Size.small, Size.medium, Size.large]
|
|
4821
|
-
};
|
|
4822
|
-
var defaultProps11 = {
|
|
4823
|
-
size: Size.medium,
|
|
4824
|
-
dir: "ltr"
|
|
4825
|
-
};
|
|
4826
|
-
var MenuList = (props) => {
|
|
4827
|
-
const {
|
|
4828
|
-
children,
|
|
4829
|
-
size = defaultProps11.size,
|
|
4830
|
-
dir = defaultProps11.dir,
|
|
4831
|
-
...other
|
|
4832
|
-
} = props;
|
|
4833
|
-
const listChildren = [];
|
|
4834
|
-
if (children) {
|
|
4835
|
-
if (Array.isArray(children)) {
|
|
4836
|
-
children.map((child, index) => {
|
|
4837
|
-
if (child.type === menu_item_spec_default) {
|
|
4838
|
-
listChildren.push(
|
|
4839
|
-
/* @__PURE__ */ createElement(menu_item_spec_default, { ...child.props, dir, key: index })
|
|
4840
|
-
);
|
|
4841
|
-
} else if (child.type === menu_separator_spec_default) {
|
|
4842
|
-
listChildren.push(
|
|
4843
|
-
/* @__PURE__ */ jsx22(menu_separator_spec_default, {})
|
|
4844
|
-
);
|
|
4845
|
-
} else {
|
|
4846
|
-
listChildren.push(child);
|
|
4847
|
-
}
|
|
4848
|
-
});
|
|
4849
|
-
}
|
|
4850
|
-
}
|
|
4851
|
-
return /* @__PURE__ */ jsx22(
|
|
4852
|
-
"ul",
|
|
4853
|
-
{
|
|
4854
|
-
...other,
|
|
4855
|
-
className: classNames(
|
|
4856
|
-
props.className,
|
|
4857
|
-
MENULIST_CLASSNAME,
|
|
4858
|
-
optionClassNames(MENULIST_CLASSNAME, {
|
|
4859
|
-
size
|
|
4860
|
-
})
|
|
4861
|
-
),
|
|
4862
|
-
children: listChildren
|
|
4863
|
-
}
|
|
4864
|
-
);
|
|
4865
|
-
};
|
|
4866
|
-
MenuList.states = states10;
|
|
4867
|
-
MenuList.options = options10;
|
|
4868
|
-
MenuList.className = MENULIST_CLASSNAME;
|
|
4869
|
-
MenuList.defaultProps = defaultProps11;
|
|
4870
|
-
|
|
4871
|
-
// src/split-button/templates/split-button-popup.tsx
|
|
4872
|
-
import { jsx as jsx23, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4873
|
-
|
|
4874
|
-
// src/switch/switch.spec.tsx
|
|
4875
|
-
import { jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4876
|
-
var SWITCH_CLASSNAME = `k-switch`;
|
|
4877
|
-
var states11 = [
|
|
4878
|
-
States.hover,
|
|
4879
|
-
States.focus,
|
|
4880
|
-
States.disabled,
|
|
4881
|
-
States.checked
|
|
4882
|
-
];
|
|
4883
|
-
var options11 = {
|
|
4884
|
-
size: [Size.small, Size.medium, Size.large],
|
|
4885
|
-
trackRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4886
|
-
thumbRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
4887
|
-
};
|
|
4888
|
-
var defaultProps12 = {
|
|
4889
|
-
size: Size.medium,
|
|
4890
|
-
trackRounded: Roundness.full,
|
|
4891
|
-
thumbRounded: Roundness.full
|
|
4892
|
-
};
|
|
4893
|
-
var Switch = (props) => {
|
|
4894
|
-
const {
|
|
4895
|
-
checked,
|
|
4896
|
-
onLabel,
|
|
4897
|
-
offLabel,
|
|
4898
|
-
size = defaultProps12.size,
|
|
4899
|
-
trackRounded = defaultProps12.trackRounded,
|
|
4900
|
-
thumbRounded = defaultProps12.thumbRounded,
|
|
4901
|
-
hover,
|
|
4902
|
-
focus,
|
|
4903
|
-
disabled,
|
|
4904
|
-
...other
|
|
4905
|
-
} = props;
|
|
4906
|
-
return /* @__PURE__ */ jsxs9(
|
|
4907
|
-
"span",
|
|
4908
|
-
{
|
|
4909
|
-
...other,
|
|
4910
|
-
className: classNames(
|
|
4911
|
-
props.className,
|
|
4912
|
-
SWITCH_CLASSNAME,
|
|
4913
|
-
optionClassNames(SWITCH_CLASSNAME, {
|
|
4914
|
-
size
|
|
4915
|
-
}),
|
|
4916
|
-
stateClassNames(SWITCH_CLASSNAME, {
|
|
4917
|
-
hover,
|
|
4918
|
-
focus,
|
|
4919
|
-
disabled
|
|
4920
|
-
}),
|
|
4921
|
-
{
|
|
4922
|
-
[`${SWITCH_CLASSNAME}-on`]: checked,
|
|
4923
|
-
[`${SWITCH_CLASSNAME}-off`]: !checked
|
|
4924
|
-
}
|
|
4925
|
-
),
|
|
4926
|
-
children: [
|
|
4927
|
-
/* @__PURE__ */ jsxs9(
|
|
4928
|
-
"span",
|
|
4929
|
-
{
|
|
4930
|
-
className: classNames(
|
|
4931
|
-
"k-switch-track",
|
|
4932
|
-
optionClassNames(SWITCH_CLASSNAME, {
|
|
4933
|
-
rounded: trackRounded
|
|
4934
|
-
})
|
|
4935
|
-
),
|
|
4936
|
-
children: [
|
|
4937
|
-
onLabel && /* @__PURE__ */ jsx24("span", { className: "k-switch-label-on", children: onLabel }),
|
|
4938
|
-
offLabel && /* @__PURE__ */ jsx24("span", { className: "k-switch-label-off", children: offLabel })
|
|
4939
|
-
]
|
|
4940
|
-
}
|
|
4941
|
-
),
|
|
4942
|
-
/* @__PURE__ */ jsx24("span", { className: "k-switch-thumb-wrap", children: /* @__PURE__ */ jsx24(
|
|
4943
|
-
"span",
|
|
4944
|
-
{
|
|
4945
|
-
className: classNames(
|
|
4946
|
-
"k-switch-thumb",
|
|
4947
|
-
optionClassNames(SWITCH_CLASSNAME, {
|
|
4948
|
-
rounded: thumbRounded
|
|
4949
|
-
})
|
|
4950
|
-
)
|
|
4951
|
-
}
|
|
4952
|
-
) })
|
|
4953
|
-
]
|
|
4954
|
-
}
|
|
4955
|
-
);
|
|
4956
|
-
};
|
|
4957
|
-
Switch.states = states11;
|
|
4958
|
-
Switch.options = options11;
|
|
4959
|
-
Switch.className = SWITCH_CLASSNAME;
|
|
4960
|
-
Switch.defaultProps = defaultProps12;
|
|
4961
|
-
|
|
4962
|
-
// src/switch/templates/switch-normal.tsx
|
|
4963
|
-
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4964
|
-
|
|
4965
|
-
// src/switch/templates/switch-checked.tsx
|
|
4966
|
-
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4967
|
-
|
|
4968
4515
|
// src/input/input.spec.tsx
|
|
4969
|
-
import { jsx as
|
|
4516
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
4970
4517
|
var INPUT_CLASSNAME = `k-input`;
|
|
4971
|
-
var
|
|
4518
|
+
var states6 = [
|
|
4972
4519
|
States.hover,
|
|
4973
4520
|
States.focus,
|
|
4974
4521
|
States.valid,
|
|
@@ -4978,12 +4525,12 @@ var states12 = [
|
|
|
4978
4525
|
States.loading,
|
|
4979
4526
|
States.readonly
|
|
4980
4527
|
];
|
|
4981
|
-
var
|
|
4528
|
+
var options6 = {
|
|
4982
4529
|
size: [Size.small, Size.medium, Size.large],
|
|
4983
4530
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4984
4531
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4985
4532
|
};
|
|
4986
|
-
var
|
|
4533
|
+
var defaultProps6 = {
|
|
4987
4534
|
size: Size.medium,
|
|
4988
4535
|
rounded: Size.medium,
|
|
4989
4536
|
fillMode: FillMode.solid
|
|
@@ -4997,12 +4544,12 @@ var Input = (props) => {
|
|
|
4997
4544
|
valid,
|
|
4998
4545
|
loading,
|
|
4999
4546
|
readonly,
|
|
5000
|
-
size =
|
|
5001
|
-
rounded =
|
|
5002
|
-
fillMode =
|
|
4547
|
+
size = defaultProps6.size,
|
|
4548
|
+
rounded = defaultProps6.rounded,
|
|
4549
|
+
fillMode = defaultProps6.fillMode,
|
|
5003
4550
|
...other
|
|
5004
4551
|
} = props;
|
|
5005
|
-
return /* @__PURE__ */
|
|
4552
|
+
return /* @__PURE__ */ jsx13(
|
|
5006
4553
|
"span",
|
|
5007
4554
|
{
|
|
5008
4555
|
...other,
|
|
@@ -5015,13 +4562,13 @@ var Input = (props) => {
|
|
|
5015
4562
|
}
|
|
5016
4563
|
);
|
|
5017
4564
|
};
|
|
5018
|
-
Input.states =
|
|
5019
|
-
Input.options =
|
|
4565
|
+
Input.states = states6;
|
|
4566
|
+
Input.options = options6;
|
|
5020
4567
|
Input.className = INPUT_CLASSNAME;
|
|
5021
|
-
Input.defaultProps =
|
|
4568
|
+
Input.defaultProps = defaultProps6;
|
|
5022
4569
|
|
|
5023
4570
|
// src/input/picker.spec.tsx
|
|
5024
|
-
import { jsx as
|
|
4571
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
5025
4572
|
var PICKER_CLASSNAME = `k-picker`;
|
|
5026
4573
|
var pickerStates = [
|
|
5027
4574
|
States.hover,
|
|
@@ -5038,7 +4585,7 @@ var pickerOptions = {
|
|
|
5038
4585
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5039
4586
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5040
4587
|
};
|
|
5041
|
-
var
|
|
4588
|
+
var defaultProps7 = {
|
|
5042
4589
|
size: Size.medium,
|
|
5043
4590
|
rounded: Roundness.medium,
|
|
5044
4591
|
fillMode: FillMode.solid
|
|
@@ -5052,12 +4599,12 @@ var Picker = (props) => {
|
|
|
5052
4599
|
valid,
|
|
5053
4600
|
loading,
|
|
5054
4601
|
readonly,
|
|
5055
|
-
size =
|
|
5056
|
-
rounded =
|
|
5057
|
-
fillMode =
|
|
4602
|
+
size = defaultProps7.size,
|
|
4603
|
+
rounded = defaultProps7.rounded,
|
|
4604
|
+
fillMode = defaultProps7.fillMode,
|
|
5058
4605
|
...other
|
|
5059
4606
|
} = props;
|
|
5060
|
-
return /* @__PURE__ */
|
|
4607
|
+
return /* @__PURE__ */ jsx14(
|
|
5061
4608
|
"span",
|
|
5062
4609
|
{
|
|
5063
4610
|
...other,
|
|
@@ -5074,17 +4621,17 @@ var Picker = (props) => {
|
|
|
5074
4621
|
Picker.states = pickerStates;
|
|
5075
4622
|
Picker.options = pickerOptions;
|
|
5076
4623
|
Picker.className = PICKER_CLASSNAME;
|
|
5077
|
-
Picker.defaultProps =
|
|
4624
|
+
Picker.defaultProps = defaultProps7;
|
|
5078
4625
|
|
|
5079
4626
|
// src/input/input-clear-value.tsx
|
|
5080
|
-
import { Fragment as
|
|
4627
|
+
import { Fragment as Fragment5, jsx as jsx15 } from "react/jsx-runtime";
|
|
5081
4628
|
var className = `k-clear-value`;
|
|
5082
|
-
var
|
|
4629
|
+
var states7 = [
|
|
5083
4630
|
States.disabled,
|
|
5084
4631
|
States.loading,
|
|
5085
4632
|
States.readonly
|
|
5086
4633
|
];
|
|
5087
|
-
var
|
|
4634
|
+
var options7 = {};
|
|
5088
4635
|
var InputClearValue = (props) => {
|
|
5089
4636
|
const {
|
|
5090
4637
|
disabled,
|
|
@@ -5093,20 +4640,20 @@ var InputClearValue = (props) => {
|
|
|
5093
4640
|
value
|
|
5094
4641
|
} = props;
|
|
5095
4642
|
if (disabled || readonly || loading || !value) {
|
|
5096
|
-
return /* @__PURE__ */
|
|
4643
|
+
return /* @__PURE__ */ jsx15(Fragment5, {});
|
|
5097
4644
|
}
|
|
5098
|
-
return /* @__PURE__ */
|
|
4645
|
+
return /* @__PURE__ */ jsx15("span", { className: classNames(props.className, className), children: /* @__PURE__ */ jsx15(Icon, { icon: "x" }) });
|
|
5099
4646
|
};
|
|
5100
|
-
InputClearValue.states =
|
|
5101
|
-
InputClearValue.options =
|
|
4647
|
+
InputClearValue.states = states7;
|
|
4648
|
+
InputClearValue.options = options7;
|
|
5102
4649
|
InputClearValue.className = className;
|
|
5103
4650
|
|
|
5104
4651
|
// src/input/input-inner-input.tsx
|
|
5105
|
-
import { jsx as
|
|
4652
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
5106
4653
|
var className2 = `k-input-inner`;
|
|
5107
|
-
var
|
|
5108
|
-
var
|
|
5109
|
-
var
|
|
4654
|
+
var states8 = [];
|
|
4655
|
+
var options8 = {};
|
|
4656
|
+
var defaultProps8 = {
|
|
5110
4657
|
type: "text",
|
|
5111
4658
|
autocomplete: "off",
|
|
5112
4659
|
value: "",
|
|
@@ -5114,13 +4661,13 @@ var defaultProps15 = {
|
|
|
5114
4661
|
};
|
|
5115
4662
|
var InputInnerInput = (props) => {
|
|
5116
4663
|
const {
|
|
5117
|
-
value =
|
|
5118
|
-
type =
|
|
5119
|
-
placeholder =
|
|
5120
|
-
autocomplete =
|
|
4664
|
+
value = defaultProps8.value,
|
|
4665
|
+
type = defaultProps8.type,
|
|
4666
|
+
placeholder = defaultProps8.placeholder,
|
|
4667
|
+
autocomplete = defaultProps8.autocomplete,
|
|
5121
4668
|
...other
|
|
5122
4669
|
} = props;
|
|
5123
|
-
return /* @__PURE__ */
|
|
4670
|
+
return /* @__PURE__ */ jsx16(
|
|
5124
4671
|
"input",
|
|
5125
4672
|
{
|
|
5126
4673
|
...other,
|
|
@@ -5132,15 +4679,15 @@ var InputInnerInput = (props) => {
|
|
|
5132
4679
|
}
|
|
5133
4680
|
);
|
|
5134
4681
|
};
|
|
5135
|
-
InputInnerInput.states =
|
|
5136
|
-
InputInnerInput.options =
|
|
4682
|
+
InputInnerInput.states = states8;
|
|
4683
|
+
InputInnerInput.options = options8;
|
|
5137
4684
|
InputInnerInput.className = className2;
|
|
5138
4685
|
|
|
5139
4686
|
// src/input/input-inner-span.tsx
|
|
5140
|
-
import { jsx as
|
|
4687
|
+
import { jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5141
4688
|
var className3 = `k-input-inner`;
|
|
5142
|
-
var
|
|
5143
|
-
var
|
|
4689
|
+
var states9 = [];
|
|
4690
|
+
var options9 = {};
|
|
5144
4691
|
var InputInnerSpan = (props) => {
|
|
5145
4692
|
const {
|
|
5146
4693
|
value,
|
|
@@ -5150,41 +4697,41 @@ var InputInnerSpan = (props) => {
|
|
|
5150
4697
|
valueIconName,
|
|
5151
4698
|
...other
|
|
5152
4699
|
} = props;
|
|
5153
|
-
return /* @__PURE__ */
|
|
4700
|
+
return /* @__PURE__ */ jsxs6(
|
|
5154
4701
|
"span",
|
|
5155
4702
|
{
|
|
5156
4703
|
...other,
|
|
5157
4704
|
className: classNames(props.className, className3, optionClassNames(className3, props)),
|
|
5158
4705
|
children: [
|
|
5159
4706
|
valueIcon,
|
|
5160
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4707
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx17(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
5161
4708
|
showValue && !value && placeholder,
|
|
5162
|
-
showValue && value && /* @__PURE__ */
|
|
4709
|
+
showValue && value && /* @__PURE__ */ jsx17("span", { className: "k-input-value-text", children: value })
|
|
5163
4710
|
]
|
|
5164
4711
|
}
|
|
5165
4712
|
);
|
|
5166
4713
|
};
|
|
5167
|
-
InputInnerSpan.states =
|
|
5168
|
-
InputInnerSpan.options =
|
|
4714
|
+
InputInnerSpan.states = states9;
|
|
4715
|
+
InputInnerSpan.options = options9;
|
|
5169
4716
|
InputInnerSpan.className = className3;
|
|
5170
4717
|
|
|
5171
4718
|
// src/input/input-inner-textarea.tsx
|
|
5172
|
-
import { jsx as
|
|
5173
|
-
var
|
|
4719
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4720
|
+
var defaultProps9 = {
|
|
5174
4721
|
value: "",
|
|
5175
4722
|
placeholder: ""
|
|
5176
4723
|
};
|
|
5177
4724
|
var className4 = `k-input-inner`;
|
|
5178
|
-
var
|
|
5179
|
-
var
|
|
4725
|
+
var states10 = [];
|
|
4726
|
+
var options10 = {};
|
|
5180
4727
|
var InputInnerTextarea = (props) => {
|
|
5181
4728
|
const {
|
|
5182
|
-
value =
|
|
5183
|
-
placeholder =
|
|
4729
|
+
value = defaultProps9.value,
|
|
4730
|
+
placeholder = defaultProps9.placeholder,
|
|
5184
4731
|
rows,
|
|
5185
4732
|
...other
|
|
5186
4733
|
} = props;
|
|
5187
|
-
return /* @__PURE__ */
|
|
4734
|
+
return /* @__PURE__ */ jsx18(
|
|
5188
4735
|
"textarea",
|
|
5189
4736
|
{
|
|
5190
4737
|
...other,
|
|
@@ -5195,14 +4742,14 @@ var InputInnerTextarea = (props) => {
|
|
|
5195
4742
|
}
|
|
5196
4743
|
);
|
|
5197
4744
|
};
|
|
5198
|
-
InputInnerTextarea.states =
|
|
5199
|
-
InputInnerTextarea.options =
|
|
4745
|
+
InputInnerTextarea.states = states10;
|
|
4746
|
+
InputInnerTextarea.options = options10;
|
|
5200
4747
|
InputInnerTextarea.className = className4;
|
|
5201
4748
|
|
|
5202
4749
|
// src/input/input-loading-icon.tsx
|
|
5203
|
-
import { Fragment as
|
|
4750
|
+
import { Fragment as Fragment6, jsx as jsx19 } from "react/jsx-runtime";
|
|
5204
4751
|
var className5 = `k-input-loading-icon`;
|
|
5205
|
-
var
|
|
4752
|
+
var states11 = [
|
|
5206
4753
|
States.disabled,
|
|
5207
4754
|
States.loading
|
|
5208
4755
|
];
|
|
@@ -5212,21 +4759,21 @@ var InputLoadingIcon = (props) => {
|
|
|
5212
4759
|
loading
|
|
5213
4760
|
} = props;
|
|
5214
4761
|
if (disabled || !loading) {
|
|
5215
|
-
return /* @__PURE__ */
|
|
4762
|
+
return /* @__PURE__ */ jsx19(Fragment6, {});
|
|
5216
4763
|
}
|
|
5217
|
-
return /* @__PURE__ */
|
|
4764
|
+
return /* @__PURE__ */ jsx19("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
|
|
5218
4765
|
};
|
|
5219
4766
|
|
|
5220
4767
|
// src/input/input-validation-icon.tsx
|
|
5221
|
-
import { Fragment as
|
|
4768
|
+
import { Fragment as Fragment7, jsx as jsx20 } from "react/jsx-runtime";
|
|
5222
4769
|
var className6 = `k-input-validation-icon`;
|
|
5223
|
-
var
|
|
4770
|
+
var states12 = [
|
|
5224
4771
|
States.valid,
|
|
5225
4772
|
States.invalid,
|
|
5226
4773
|
States.disabled,
|
|
5227
4774
|
States.loading
|
|
5228
4775
|
];
|
|
5229
|
-
var
|
|
4776
|
+
var options11 = {};
|
|
5230
4777
|
var InputValidationIcon = (props) => {
|
|
5231
4778
|
const {
|
|
5232
4779
|
valid,
|
|
@@ -5237,29 +4784,29 @@ var InputValidationIcon = (props) => {
|
|
|
5237
4784
|
const iconName = invalid ? "warning-circle" : "check-circle";
|
|
5238
4785
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
5239
4786
|
if (disabled || loading || !renderValidationIcon) {
|
|
5240
|
-
return /* @__PURE__ */
|
|
4787
|
+
return /* @__PURE__ */ jsx20(Fragment7, {});
|
|
5241
4788
|
}
|
|
5242
|
-
return /* @__PURE__ */
|
|
4789
|
+
return /* @__PURE__ */ jsx20(Icon, { className: classNames(className6), icon: iconName });
|
|
5243
4790
|
};
|
|
5244
|
-
InputValidationIcon.states =
|
|
5245
|
-
InputValidationIcon.options =
|
|
4791
|
+
InputValidationIcon.states = states12;
|
|
4792
|
+
InputValidationIcon.options = options11;
|
|
5246
4793
|
InputValidationIcon.className = className6;
|
|
5247
4794
|
|
|
5248
4795
|
// src/input/input-prefix.tsx
|
|
5249
|
-
import { Fragment as
|
|
4796
|
+
import { Fragment as Fragment8, jsx as jsx21 } from "react/jsx-runtime";
|
|
5250
4797
|
var className7 = `k-input-prefix`;
|
|
5251
|
-
var
|
|
4798
|
+
var defaultProps10 = {
|
|
5252
4799
|
direction: "horizontal"
|
|
5253
4800
|
};
|
|
5254
4801
|
var InputPrefix = (props) => {
|
|
5255
4802
|
const {
|
|
5256
|
-
direction =
|
|
4803
|
+
direction = defaultProps10.direction,
|
|
5257
4804
|
...other
|
|
5258
4805
|
} = props;
|
|
5259
4806
|
if (!props.children) {
|
|
5260
|
-
return /* @__PURE__ */
|
|
4807
|
+
return /* @__PURE__ */ jsx21(Fragment8, {});
|
|
5261
4808
|
}
|
|
5262
|
-
return /* @__PURE__ */
|
|
4809
|
+
return /* @__PURE__ */ jsx21(
|
|
5263
4810
|
"span",
|
|
5264
4811
|
{
|
|
5265
4812
|
...other,
|
|
@@ -5276,20 +4823,20 @@ var InputPrefix = (props) => {
|
|
|
5276
4823
|
};
|
|
5277
4824
|
|
|
5278
4825
|
// src/input/input-suffix.tsx
|
|
5279
|
-
import { Fragment as
|
|
4826
|
+
import { Fragment as Fragment9, jsx as jsx22 } from "react/jsx-runtime";
|
|
5280
4827
|
var className8 = `k-input-suffix`;
|
|
5281
|
-
var
|
|
4828
|
+
var defaultProps11 = {
|
|
5282
4829
|
direction: "horizontal"
|
|
5283
4830
|
};
|
|
5284
4831
|
var InputSuffix = (props) => {
|
|
5285
4832
|
const {
|
|
5286
|
-
direction =
|
|
4833
|
+
direction = defaultProps11.direction,
|
|
5287
4834
|
...other
|
|
5288
4835
|
} = props;
|
|
5289
4836
|
if (!props.children) {
|
|
5290
|
-
return /* @__PURE__ */
|
|
4837
|
+
return /* @__PURE__ */ jsx22(Fragment9, {});
|
|
5291
4838
|
}
|
|
5292
|
-
return /* @__PURE__ */
|
|
4839
|
+
return /* @__PURE__ */ jsx22(
|
|
5293
4840
|
"span",
|
|
5294
4841
|
{
|
|
5295
4842
|
...other,
|
|
@@ -5306,23 +4853,23 @@ var InputSuffix = (props) => {
|
|
|
5306
4853
|
};
|
|
5307
4854
|
|
|
5308
4855
|
// src/input/input-prefix-text.tsx
|
|
5309
|
-
import { jsx as
|
|
4856
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
5310
4857
|
|
|
5311
4858
|
// src/input/input-suffix-text.tsx
|
|
5312
|
-
import { jsx as
|
|
4859
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
5313
4860
|
|
|
5314
4861
|
// src/input/input-separator.tsx
|
|
5315
|
-
import { jsx as
|
|
4862
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
5316
4863
|
var className9 = `k-input-separator`;
|
|
5317
|
-
var
|
|
4864
|
+
var defaultProps12 = {
|
|
5318
4865
|
direction: "vertical"
|
|
5319
4866
|
};
|
|
5320
4867
|
var InputSeparator = (props) => {
|
|
5321
4868
|
const {
|
|
5322
|
-
direction =
|
|
4869
|
+
direction = defaultProps12.direction,
|
|
5323
4870
|
...other
|
|
5324
4871
|
} = props;
|
|
5325
|
-
return /* @__PURE__ */
|
|
4872
|
+
return /* @__PURE__ */ jsx25(
|
|
5326
4873
|
"span",
|
|
5327
4874
|
{
|
|
5328
4875
|
...other,
|
|
@@ -5337,93 +4884,18 @@ var InputSeparator = (props) => {
|
|
|
5337
4884
|
);
|
|
5338
4885
|
};
|
|
5339
4886
|
|
|
5340
|
-
// src/searchbox/searchbox.spec.tsx
|
|
5341
|
-
import { jsx as jsx40, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5342
|
-
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5343
|
-
var states19 = [
|
|
5344
|
-
States.hover,
|
|
5345
|
-
States.focus,
|
|
5346
|
-
States.valid,
|
|
5347
|
-
States.invalid,
|
|
5348
|
-
States.required,
|
|
5349
|
-
States.disabled,
|
|
5350
|
-
States.loading
|
|
5351
|
-
];
|
|
5352
|
-
var options18 = {
|
|
5353
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5354
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5355
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5356
|
-
};
|
|
5357
|
-
var defaultProps20 = {
|
|
5358
|
-
showIcon: true,
|
|
5359
|
-
icon: "search",
|
|
5360
|
-
size: Input.defaultProps.size,
|
|
5361
|
-
rounded: Input.defaultProps.rounded,
|
|
5362
|
-
fillMode: Input.defaultProps.fillMode
|
|
5363
|
-
};
|
|
5364
|
-
var Searchbox = (props) => {
|
|
5365
|
-
const {
|
|
5366
|
-
value,
|
|
5367
|
-
placeholder,
|
|
5368
|
-
size,
|
|
5369
|
-
rounded,
|
|
5370
|
-
fillMode,
|
|
5371
|
-
hover,
|
|
5372
|
-
focus,
|
|
5373
|
-
valid,
|
|
5374
|
-
invalid,
|
|
5375
|
-
required,
|
|
5376
|
-
loading,
|
|
5377
|
-
disabled,
|
|
5378
|
-
showIcon = defaultProps20.showIcon,
|
|
5379
|
-
icon = defaultProps20.icon,
|
|
5380
|
-
...other
|
|
5381
|
-
} = props;
|
|
5382
|
-
return /* @__PURE__ */ jsxs11(
|
|
5383
|
-
Input,
|
|
5384
|
-
{
|
|
5385
|
-
...other,
|
|
5386
|
-
size,
|
|
5387
|
-
rounded,
|
|
5388
|
-
fillMode,
|
|
5389
|
-
hover,
|
|
5390
|
-
focus,
|
|
5391
|
-
valid,
|
|
5392
|
-
invalid,
|
|
5393
|
-
required,
|
|
5394
|
-
loading,
|
|
5395
|
-
disabled,
|
|
5396
|
-
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5397
|
-
children: [
|
|
5398
|
-
showIcon && /* @__PURE__ */ jsx40(Icon, { className: "k-input-icon", icon }),
|
|
5399
|
-
/* @__PURE__ */ jsx40(InputInnerInput, { placeholder, value }),
|
|
5400
|
-
/* @__PURE__ */ jsx40(InputLoadingIcon, { ...props }),
|
|
5401
|
-
/* @__PURE__ */ jsx40(InputValidationIcon, { ...props }),
|
|
5402
|
-
/* @__PURE__ */ jsx40(InputClearValue, { ...props })
|
|
5403
|
-
]
|
|
5404
|
-
}
|
|
5405
|
-
);
|
|
5406
|
-
};
|
|
5407
|
-
Searchbox.states = states19;
|
|
5408
|
-
Searchbox.options = options18;
|
|
5409
|
-
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
5410
|
-
Searchbox.defaultProps = defaultProps20;
|
|
5411
|
-
|
|
5412
|
-
// src/searchbox/templates/searchbox-normal.tsx
|
|
5413
|
-
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5414
|
-
|
|
5415
4887
|
// src/color-preview/color-preview.tsx
|
|
5416
|
-
import { jsx as
|
|
4888
|
+
import { jsx as jsx26, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5417
4889
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5418
|
-
var
|
|
5419
|
-
var
|
|
4890
|
+
var states13 = [];
|
|
4891
|
+
var options12 = {};
|
|
5420
4892
|
var ColorPreview = (props) => {
|
|
5421
4893
|
const {
|
|
5422
4894
|
color,
|
|
5423
4895
|
iconName,
|
|
5424
4896
|
...other
|
|
5425
4897
|
} = props;
|
|
5426
|
-
return /* @__PURE__ */
|
|
4898
|
+
return /* @__PURE__ */ jsxs7(
|
|
5427
4899
|
"span",
|
|
5428
4900
|
{
|
|
5429
4901
|
...other,
|
|
@@ -5436,8 +4908,8 @@ var ColorPreview = (props) => {
|
|
|
5436
4908
|
}
|
|
5437
4909
|
),
|
|
5438
4910
|
children: [
|
|
5439
|
-
iconName && /* @__PURE__ */
|
|
5440
|
-
/* @__PURE__ */
|
|
4911
|
+
iconName && /* @__PURE__ */ jsx26(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
4912
|
+
/* @__PURE__ */ jsx26(
|
|
5441
4913
|
"span",
|
|
5442
4914
|
{
|
|
5443
4915
|
className: "k-color-preview-mask",
|
|
@@ -5448,14 +4920,78 @@ var ColorPreview = (props) => {
|
|
|
5448
4920
|
}
|
|
5449
4921
|
);
|
|
5450
4922
|
};
|
|
5451
|
-
ColorPreview.states =
|
|
5452
|
-
ColorPreview.options =
|
|
4923
|
+
ColorPreview.states = states13;
|
|
4924
|
+
ColorPreview.options = options12;
|
|
5453
4925
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5454
4926
|
|
|
4927
|
+
// src/animation-container/animation-container.spec.tsx
|
|
4928
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
4929
|
+
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4930
|
+
var states14 = [];
|
|
4931
|
+
var options13 = {};
|
|
4932
|
+
var defaultProps13 = {
|
|
4933
|
+
positionMode: "absolute"
|
|
4934
|
+
};
|
|
4935
|
+
var AnimationContainer = (props) => {
|
|
4936
|
+
const {
|
|
4937
|
+
positionMode,
|
|
4938
|
+
animationStyle,
|
|
4939
|
+
offset,
|
|
4940
|
+
...other
|
|
4941
|
+
} = props;
|
|
4942
|
+
return /* @__PURE__ */ jsx27(
|
|
4943
|
+
"div",
|
|
4944
|
+
{
|
|
4945
|
+
...other,
|
|
4946
|
+
style: { ...offset, ...props.style },
|
|
4947
|
+
className: classNames(
|
|
4948
|
+
ANIMATION_CONTAINER_CLASSNAME,
|
|
4949
|
+
"k-animation-container-shown",
|
|
4950
|
+
{
|
|
4951
|
+
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4952
|
+
}
|
|
4953
|
+
),
|
|
4954
|
+
children: /* @__PURE__ */ jsx27("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4955
|
+
}
|
|
4956
|
+
);
|
|
4957
|
+
};
|
|
4958
|
+
AnimationContainer.states = states14;
|
|
4959
|
+
AnimationContainer.options = options13;
|
|
4960
|
+
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
4961
|
+
AnimationContainer.defaultProps = defaultProps13;
|
|
4962
|
+
|
|
4963
|
+
// src/popup/popup.spec.tsx
|
|
4964
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
4965
|
+
var POPUP_CLASSNAME = `k-popup`;
|
|
4966
|
+
var states15 = [];
|
|
4967
|
+
var options14 = {};
|
|
4968
|
+
var defaultProps14 = {
|
|
4969
|
+
positionMode: "absolute"
|
|
4970
|
+
};
|
|
4971
|
+
var Popup = (props) => {
|
|
4972
|
+
const {
|
|
4973
|
+
offset,
|
|
4974
|
+
positionMode,
|
|
4975
|
+
...other
|
|
4976
|
+
} = props;
|
|
4977
|
+
return /* @__PURE__ */ jsx28(
|
|
4978
|
+
AnimationContainer,
|
|
4979
|
+
{
|
|
4980
|
+
positionMode,
|
|
4981
|
+
offset,
|
|
4982
|
+
children: /* @__PURE__ */ jsx28("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4983
|
+
}
|
|
4984
|
+
);
|
|
4985
|
+
};
|
|
4986
|
+
Popup.states = states15;
|
|
4987
|
+
Popup.options = options14;
|
|
4988
|
+
Popup.className = POPUP_CLASSNAME;
|
|
4989
|
+
Popup.defaultProps = defaultProps14;
|
|
4990
|
+
|
|
5455
4991
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5456
|
-
import { Fragment as
|
|
4992
|
+
import { Fragment as Fragment10, jsx as jsx29, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5457
4993
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5458
|
-
var
|
|
4994
|
+
var states16 = [
|
|
5459
4995
|
States.hover,
|
|
5460
4996
|
States.focus,
|
|
5461
4997
|
States.valid,
|
|
@@ -5463,12 +4999,12 @@ var states21 = [
|
|
|
5463
4999
|
States.required,
|
|
5464
5000
|
States.disabled
|
|
5465
5001
|
];
|
|
5466
|
-
var
|
|
5002
|
+
var options15 = {
|
|
5467
5003
|
size: [Size.small, Size.medium, Size.large],
|
|
5468
5004
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5469
5005
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5470
5006
|
};
|
|
5471
|
-
var
|
|
5007
|
+
var defaultProps15 = {
|
|
5472
5008
|
arrowIconName: "caret-alt-down",
|
|
5473
5009
|
size: Picker.defaultProps.size,
|
|
5474
5010
|
rounded: Picker.defaultProps.rounded,
|
|
@@ -5490,13 +5026,13 @@ var ColorPicker = (props) => {
|
|
|
5490
5026
|
required,
|
|
5491
5027
|
disabled,
|
|
5492
5028
|
valueIconName,
|
|
5493
|
-
arrowIconName =
|
|
5029
|
+
arrowIconName = defaultProps15.arrowIconName,
|
|
5494
5030
|
popup,
|
|
5495
5031
|
opened,
|
|
5496
5032
|
...other
|
|
5497
5033
|
} = props;
|
|
5498
|
-
return /* @__PURE__ */
|
|
5499
|
-
/* @__PURE__ */
|
|
5034
|
+
return /* @__PURE__ */ jsxs8(Fragment10, { children: [
|
|
5035
|
+
/* @__PURE__ */ jsxs8(
|
|
5500
5036
|
Picker,
|
|
5501
5037
|
{
|
|
5502
5038
|
...other,
|
|
@@ -5515,14 +5051,14 @@ var ColorPicker = (props) => {
|
|
|
5515
5051
|
"k-icon-picker"
|
|
5516
5052
|
),
|
|
5517
5053
|
children: [
|
|
5518
|
-
/* @__PURE__ */
|
|
5519
|
-
/* @__PURE__ */
|
|
5054
|
+
/* @__PURE__ */ jsx29(InputPrefix, { children: prefix }),
|
|
5055
|
+
/* @__PURE__ */ jsx29(
|
|
5520
5056
|
InputInnerSpan,
|
|
5521
5057
|
{
|
|
5522
5058
|
placeholder,
|
|
5523
5059
|
value,
|
|
5524
5060
|
showValue: false,
|
|
5525
|
-
valueIcon: /* @__PURE__ */
|
|
5061
|
+
valueIcon: /* @__PURE__ */ jsx29(
|
|
5526
5062
|
ColorPreview,
|
|
5527
5063
|
{
|
|
5528
5064
|
className: "k-value-icon",
|
|
@@ -5533,8 +5069,8 @@ var ColorPicker = (props) => {
|
|
|
5533
5069
|
valueIconName
|
|
5534
5070
|
}
|
|
5535
5071
|
),
|
|
5536
|
-
/* @__PURE__ */
|
|
5537
|
-
/* @__PURE__ */
|
|
5072
|
+
/* @__PURE__ */ jsx29(InputSuffix, { children: suffix }),
|
|
5073
|
+
/* @__PURE__ */ jsx29(
|
|
5538
5074
|
Button,
|
|
5539
5075
|
{
|
|
5540
5076
|
className: "k-input-button",
|
|
@@ -5547,33 +5083,33 @@ var ColorPicker = (props) => {
|
|
|
5547
5083
|
]
|
|
5548
5084
|
}
|
|
5549
5085
|
),
|
|
5550
|
-
opened && popup && /* @__PURE__ */
|
|
5086
|
+
opened && popup && /* @__PURE__ */ jsx29(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5551
5087
|
] });
|
|
5552
5088
|
};
|
|
5553
|
-
ColorPicker.states =
|
|
5554
|
-
ColorPicker.options =
|
|
5089
|
+
ColorPicker.states = states16;
|
|
5090
|
+
ColorPicker.options = options15;
|
|
5555
5091
|
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
5556
|
-
ColorPicker.defaultProps =
|
|
5092
|
+
ColorPicker.defaultProps = defaultProps15;
|
|
5557
5093
|
|
|
5558
5094
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5559
|
-
import { jsx as
|
|
5095
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5560
5096
|
|
|
5561
5097
|
// src/action-buttons/action-buttons.spec.tsx
|
|
5562
|
-
import { jsx as
|
|
5098
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
5563
5099
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5564
|
-
var
|
|
5565
|
-
var
|
|
5566
|
-
var
|
|
5100
|
+
var states17 = [];
|
|
5101
|
+
var options16 = {};
|
|
5102
|
+
var defaultProps16 = {
|
|
5567
5103
|
alignment: "start",
|
|
5568
5104
|
orientation: "horizontal"
|
|
5569
5105
|
};
|
|
5570
5106
|
var ActionButtons = (props) => {
|
|
5571
5107
|
const {
|
|
5572
|
-
alignment =
|
|
5573
|
-
orientation =
|
|
5108
|
+
alignment = defaultProps16.alignment,
|
|
5109
|
+
orientation = defaultProps16.orientation,
|
|
5574
5110
|
...other
|
|
5575
5111
|
} = props;
|
|
5576
|
-
return /* @__PURE__ */
|
|
5112
|
+
return /* @__PURE__ */ jsx31(
|
|
5577
5113
|
"div",
|
|
5578
5114
|
{
|
|
5579
5115
|
...other,
|
|
@@ -5589,24 +5125,24 @@ var ActionButtons = (props) => {
|
|
|
5589
5125
|
}
|
|
5590
5126
|
);
|
|
5591
5127
|
};
|
|
5592
|
-
ActionButtons.states =
|
|
5593
|
-
ActionButtons.options =
|
|
5128
|
+
ActionButtons.states = states17;
|
|
5129
|
+
ActionButtons.options = options16;
|
|
5594
5130
|
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
5595
|
-
ActionButtons.defaultProps =
|
|
5131
|
+
ActionButtons.defaultProps = defaultProps16;
|
|
5596
5132
|
var action_buttons_spec_default = ActionButtons;
|
|
5597
5133
|
|
|
5598
5134
|
// src/slider/slider.spec.tsx
|
|
5599
|
-
import { jsx as
|
|
5135
|
+
import { jsx as jsx32, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5600
5136
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5601
|
-
var
|
|
5137
|
+
var states18 = [
|
|
5602
5138
|
States.hover,
|
|
5603
5139
|
States.focus,
|
|
5604
5140
|
States.active,
|
|
5605
5141
|
States.disabled,
|
|
5606
5142
|
States.readonly
|
|
5607
5143
|
];
|
|
5608
|
-
var
|
|
5609
|
-
var
|
|
5144
|
+
var options17 = {};
|
|
5145
|
+
var defaultProps17 = {
|
|
5610
5146
|
type: "single",
|
|
5611
5147
|
orientation: "horizontal",
|
|
5612
5148
|
readonly: false,
|
|
@@ -5617,13 +5153,13 @@ var defaultProps23 = {
|
|
|
5617
5153
|
};
|
|
5618
5154
|
var Slider = (props) => {
|
|
5619
5155
|
const {
|
|
5620
|
-
type =
|
|
5621
|
-
orientation =
|
|
5622
|
-
readonly =
|
|
5623
|
-
disabled =
|
|
5624
|
-
handlePosition =
|
|
5625
|
-
showButtons =
|
|
5626
|
-
showTicks =
|
|
5156
|
+
type = defaultProps17.type,
|
|
5157
|
+
orientation = defaultProps17.orientation,
|
|
5158
|
+
readonly = defaultProps17.readonly,
|
|
5159
|
+
disabled = defaultProps17.disabled,
|
|
5160
|
+
handlePosition = defaultProps17.handlePosition,
|
|
5161
|
+
showButtons = defaultProps17.showButtons,
|
|
5162
|
+
showTicks = defaultProps17.showTicks,
|
|
5627
5163
|
hover,
|
|
5628
5164
|
focus,
|
|
5629
5165
|
active,
|
|
@@ -5639,7 +5175,7 @@ var Slider = (props) => {
|
|
|
5639
5175
|
iconIncrease = "caret-alt-up";
|
|
5640
5176
|
iconDecrease = "caret-alt-down";
|
|
5641
5177
|
}
|
|
5642
|
-
return /* @__PURE__ */
|
|
5178
|
+
return /* @__PURE__ */ jsxs9("div", { className: classNames(
|
|
5643
5179
|
SLIDER_CLASSNAME,
|
|
5644
5180
|
props.className,
|
|
5645
5181
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5652,12 +5188,12 @@ var Slider = (props) => {
|
|
|
5652
5188
|
"k-range-slider": type === "range"
|
|
5653
5189
|
}
|
|
5654
5190
|
), dir, children: [
|
|
5655
|
-
showButtons && /* @__PURE__ */
|
|
5656
|
-
/* @__PURE__ */
|
|
5657
|
-
showTicks && /* @__PURE__ */
|
|
5658
|
-
/* @__PURE__ */
|
|
5659
|
-
/* @__PURE__ */
|
|
5660
|
-
type === "range" && /* @__PURE__ */
|
|
5191
|
+
showButtons && /* @__PURE__ */ jsx32(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5192
|
+
/* @__PURE__ */ jsxs9("div", { className: "k-slider-track-wrap", children: [
|
|
5193
|
+
showTicks && /* @__PURE__ */ jsx32("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5194
|
+
/* @__PURE__ */ jsxs9("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5195
|
+
/* @__PURE__ */ jsx32("div", { className: "k-slider-selection" }),
|
|
5196
|
+
type === "range" && /* @__PURE__ */ jsx32("span", { className: classNames(
|
|
5661
5197
|
"k-draghandle",
|
|
5662
5198
|
"k-draghandle-start",
|
|
5663
5199
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5666,7 +5202,7 @@ var Slider = (props) => {
|
|
|
5666
5202
|
active
|
|
5667
5203
|
})
|
|
5668
5204
|
) }),
|
|
5669
|
-
/* @__PURE__ */
|
|
5205
|
+
/* @__PURE__ */ jsx32("span", { className: classNames(
|
|
5670
5206
|
"k-draghandle",
|
|
5671
5207
|
`k-draghandle-${handlePosition}`,
|
|
5672
5208
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5677,104 +5213,104 @@ var Slider = (props) => {
|
|
|
5677
5213
|
) })
|
|
5678
5214
|
] })
|
|
5679
5215
|
] }),
|
|
5680
|
-
showButtons && /* @__PURE__ */
|
|
5216
|
+
showButtons && /* @__PURE__ */ jsx32(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5681
5217
|
] });
|
|
5682
5218
|
};
|
|
5683
|
-
Slider.states =
|
|
5684
|
-
Slider.options =
|
|
5219
|
+
Slider.states = states18;
|
|
5220
|
+
Slider.options = options17;
|
|
5685
5221
|
Slider.className = SLIDER_CLASSNAME;
|
|
5686
|
-
Slider.defaultProps =
|
|
5222
|
+
Slider.defaultProps = defaultProps17;
|
|
5687
5223
|
|
|
5688
5224
|
// src/slider/slider-tick.tsx
|
|
5689
|
-
import { jsx as
|
|
5225
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5690
5226
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5691
|
-
var
|
|
5692
|
-
var
|
|
5693
|
-
var
|
|
5227
|
+
var states19 = [];
|
|
5228
|
+
var options18 = {};
|
|
5229
|
+
var defaultProps18 = {
|
|
5694
5230
|
label: false
|
|
5695
5231
|
};
|
|
5696
5232
|
var SliderTick = (props) => {
|
|
5697
5233
|
const {
|
|
5698
5234
|
style,
|
|
5699
|
-
label =
|
|
5235
|
+
label = defaultProps18.label,
|
|
5700
5236
|
orientation,
|
|
5701
5237
|
large,
|
|
5702
5238
|
text
|
|
5703
5239
|
} = props;
|
|
5704
|
-
return /* @__PURE__ */
|
|
5240
|
+
return /* @__PURE__ */ jsx33("li", { className: classNames(
|
|
5705
5241
|
props.className,
|
|
5706
5242
|
SLIDER_TICK_CLASSNAME,
|
|
5707
5243
|
{
|
|
5708
5244
|
[`k-tick-${orientation}`]: orientation,
|
|
5709
5245
|
"k-tick-large": large
|
|
5710
5246
|
}
|
|
5711
|
-
), style, children: label && /* @__PURE__ */
|
|
5247
|
+
), style, children: label && /* @__PURE__ */ jsx33("span", { className: "k-label", children: text }) });
|
|
5712
5248
|
};
|
|
5713
|
-
SliderTick.states =
|
|
5714
|
-
SliderTick.options =
|
|
5249
|
+
SliderTick.states = states19;
|
|
5250
|
+
SliderTick.options = options18;
|
|
5715
5251
|
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
5716
|
-
SliderTick.defaultProps =
|
|
5252
|
+
SliderTick.defaultProps = defaultProps18;
|
|
5717
5253
|
|
|
5718
5254
|
// src/slider/templates/slider-normal.tsx
|
|
5719
|
-
import { Fragment as
|
|
5255
|
+
import { Fragment as Fragment11, jsx as jsx34, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5720
5256
|
|
|
5721
5257
|
// src/slider/templates/slider-vertical.tsx
|
|
5722
|
-
import { Fragment as
|
|
5258
|
+
import { Fragment as Fragment12, jsx as jsx35, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5723
5259
|
|
|
5724
5260
|
// src/slider/templates/slider-range.tsx
|
|
5725
|
-
import { Fragment as
|
|
5261
|
+
import { Fragment as Fragment13, jsx as jsx36, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5726
5262
|
|
|
5727
5263
|
// src/slider/templates/slider-range-vertical.tsx
|
|
5728
|
-
import { Fragment as
|
|
5264
|
+
import { Fragment as Fragment14, jsx as jsx37, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5729
5265
|
|
|
5730
5266
|
// src/slider/templates/slider-gradient.tsx
|
|
5731
|
-
import { Fragment as
|
|
5267
|
+
import { Fragment as Fragment15, jsx as jsx38, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5732
5268
|
|
|
5733
5269
|
// src/slider/templates/slider-gradient-vertical.tsx
|
|
5734
|
-
import { Fragment as
|
|
5735
|
-
var SliderGradientVertical = (props) => /* @__PURE__ */
|
|
5270
|
+
import { Fragment as Fragment16, jsx as jsx39, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5271
|
+
var SliderGradientVertical = (props) => /* @__PURE__ */ jsx39(
|
|
5736
5272
|
Slider,
|
|
5737
5273
|
{
|
|
5738
5274
|
type: "gradient",
|
|
5739
5275
|
orientation: "vertical",
|
|
5740
5276
|
showButtons: false,
|
|
5741
5277
|
showTicks: false,
|
|
5742
|
-
children: /* @__PURE__ */
|
|
5743
|
-
/* @__PURE__ */
|
|
5744
|
-
/* @__PURE__ */
|
|
5745
|
-
/* @__PURE__ */
|
|
5746
|
-
/* @__PURE__ */
|
|
5747
|
-
/* @__PURE__ */
|
|
5748
|
-
/* @__PURE__ */
|
|
5749
|
-
/* @__PURE__ */
|
|
5750
|
-
/* @__PURE__ */
|
|
5751
|
-
/* @__PURE__ */
|
|
5752
|
-
/* @__PURE__ */
|
|
5753
|
-
/* @__PURE__ */
|
|
5278
|
+
children: /* @__PURE__ */ jsxs15(Fragment16, { children: [
|
|
5279
|
+
/* @__PURE__ */ jsx39(SliderTick, { label: true, large: true, text: "0" }),
|
|
5280
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5281
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5282
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5283
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5284
|
+
/* @__PURE__ */ jsx39(SliderTick, { label: true, large: true, text: "5" }),
|
|
5285
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5286
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5287
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5288
|
+
/* @__PURE__ */ jsx39(SliderTick, {}),
|
|
5289
|
+
/* @__PURE__ */ jsx39(SliderTick, { label: true, large: true, text: "10" })
|
|
5754
5290
|
] }),
|
|
5755
5291
|
...props
|
|
5756
5292
|
}
|
|
5757
5293
|
);
|
|
5758
5294
|
|
|
5759
5295
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5760
|
-
import { jsx as
|
|
5296
|
+
import { jsx as jsx40, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5761
5297
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5762
|
-
var
|
|
5763
|
-
var
|
|
5298
|
+
var states20 = [];
|
|
5299
|
+
var options19 = {
|
|
5764
5300
|
size: [Size.small, Size.medium, Size.large],
|
|
5765
5301
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
5766
5302
|
};
|
|
5767
|
-
var
|
|
5303
|
+
var defaultProps19 = {
|
|
5768
5304
|
size: Size.medium,
|
|
5769
5305
|
fillMode: FillMode.solid
|
|
5770
5306
|
};
|
|
5771
5307
|
var SpinButton = (props) => {
|
|
5772
5308
|
const {
|
|
5773
|
-
size =
|
|
5774
|
-
fillMode =
|
|
5309
|
+
size = defaultProps19.size,
|
|
5310
|
+
fillMode = defaultProps19.fillMode,
|
|
5775
5311
|
...other
|
|
5776
5312
|
} = props;
|
|
5777
|
-
return /* @__PURE__ */
|
|
5313
|
+
return /* @__PURE__ */ jsxs16(
|
|
5778
5314
|
"span",
|
|
5779
5315
|
{
|
|
5780
5316
|
...other,
|
|
@@ -5783,7 +5319,7 @@ var SpinButton = (props) => {
|
|
|
5783
5319
|
props.className
|
|
5784
5320
|
),
|
|
5785
5321
|
children: [
|
|
5786
|
-
/* @__PURE__ */
|
|
5322
|
+
/* @__PURE__ */ jsx40(
|
|
5787
5323
|
Button,
|
|
5788
5324
|
{
|
|
5789
5325
|
className: "k-spinner-increase",
|
|
@@ -5793,7 +5329,7 @@ var SpinButton = (props) => {
|
|
|
5793
5329
|
fillMode
|
|
5794
5330
|
}
|
|
5795
5331
|
),
|
|
5796
|
-
/* @__PURE__ */
|
|
5332
|
+
/* @__PURE__ */ jsx40(
|
|
5797
5333
|
Button,
|
|
5798
5334
|
{
|
|
5799
5335
|
className: "k-spinner-decrease",
|
|
@@ -5807,15 +5343,15 @@ var SpinButton = (props) => {
|
|
|
5807
5343
|
}
|
|
5808
5344
|
);
|
|
5809
5345
|
};
|
|
5810
|
-
SpinButton.states =
|
|
5811
|
-
SpinButton.options =
|
|
5346
|
+
SpinButton.states = states20;
|
|
5347
|
+
SpinButton.options = options19;
|
|
5812
5348
|
SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
5813
|
-
SpinButton.defaultProps =
|
|
5349
|
+
SpinButton.defaultProps = defaultProps19;
|
|
5814
5350
|
|
|
5815
5351
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5816
|
-
import { Fragment as
|
|
5352
|
+
import { Fragment as Fragment17, jsx as jsx41, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5817
5353
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5818
|
-
var
|
|
5354
|
+
var states21 = [
|
|
5819
5355
|
States.hover,
|
|
5820
5356
|
States.focus,
|
|
5821
5357
|
States.valid,
|
|
@@ -5825,12 +5361,12 @@ var states26 = [
|
|
|
5825
5361
|
States.disabled,
|
|
5826
5362
|
States.readonly
|
|
5827
5363
|
];
|
|
5828
|
-
var
|
|
5364
|
+
var options20 = {
|
|
5829
5365
|
size: [Size.small, Size.medium, Size.large],
|
|
5830
5366
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5831
5367
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5832
5368
|
};
|
|
5833
|
-
var
|
|
5369
|
+
var defaultProps20 = {
|
|
5834
5370
|
showSpinButton: true,
|
|
5835
5371
|
showClearButton: true,
|
|
5836
5372
|
size: Input.defaultProps.size,
|
|
@@ -5854,11 +5390,11 @@ var NumericTextbox = (props) => {
|
|
|
5854
5390
|
loading,
|
|
5855
5391
|
disabled,
|
|
5856
5392
|
readonly,
|
|
5857
|
-
showClearButton =
|
|
5858
|
-
showSpinButton =
|
|
5393
|
+
showClearButton = defaultProps20.showClearButton,
|
|
5394
|
+
showSpinButton = defaultProps20.showSpinButton,
|
|
5859
5395
|
...other
|
|
5860
5396
|
} = props;
|
|
5861
|
-
return /* @__PURE__ */
|
|
5397
|
+
return /* @__PURE__ */ jsxs17(
|
|
5862
5398
|
Input,
|
|
5863
5399
|
{
|
|
5864
5400
|
...other,
|
|
@@ -5875,12 +5411,12 @@ var NumericTextbox = (props) => {
|
|
|
5875
5411
|
readonly,
|
|
5876
5412
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5877
5413
|
children: [
|
|
5878
|
-
prefix && /* @__PURE__ */
|
|
5879
|
-
/* @__PURE__ */
|
|
5880
|
-
/* @__PURE__ */
|
|
5414
|
+
prefix && /* @__PURE__ */ jsxs17(Fragment17, { children: [
|
|
5415
|
+
/* @__PURE__ */ jsx41(InputPrefix, { children: prefix }),
|
|
5416
|
+
/* @__PURE__ */ jsx41(InputSeparator, {})
|
|
5881
5417
|
] }),
|
|
5882
|
-
/* @__PURE__ */
|
|
5883
|
-
/* @__PURE__ */
|
|
5418
|
+
/* @__PURE__ */ jsx41(InputInnerInput, { placeholder, value }),
|
|
5419
|
+
/* @__PURE__ */ jsx41(
|
|
5884
5420
|
InputValidationIcon,
|
|
5885
5421
|
{
|
|
5886
5422
|
valid,
|
|
@@ -5889,14 +5425,14 @@ var NumericTextbox = (props) => {
|
|
|
5889
5425
|
disabled
|
|
5890
5426
|
}
|
|
5891
5427
|
),
|
|
5892
|
-
/* @__PURE__ */
|
|
5428
|
+
/* @__PURE__ */ jsx41(
|
|
5893
5429
|
InputLoadingIcon,
|
|
5894
5430
|
{
|
|
5895
5431
|
loading,
|
|
5896
5432
|
disabled
|
|
5897
5433
|
}
|
|
5898
5434
|
),
|
|
5899
|
-
showClearButton && /* @__PURE__ */
|
|
5435
|
+
showClearButton && /* @__PURE__ */ jsx41(
|
|
5900
5436
|
InputClearValue,
|
|
5901
5437
|
{
|
|
5902
5438
|
loading,
|
|
@@ -5905,11 +5441,11 @@ var NumericTextbox = (props) => {
|
|
|
5905
5441
|
value
|
|
5906
5442
|
}
|
|
5907
5443
|
),
|
|
5908
|
-
suffix && /* @__PURE__ */
|
|
5909
|
-
/* @__PURE__ */
|
|
5910
|
-
/* @__PURE__ */
|
|
5444
|
+
suffix && /* @__PURE__ */ jsxs17(Fragment17, { children: [
|
|
5445
|
+
/* @__PURE__ */ jsx41(InputSeparator, {}),
|
|
5446
|
+
/* @__PURE__ */ jsx41(InputSuffix, { children: suffix })
|
|
5911
5447
|
] }),
|
|
5912
|
-
showSpinButton && /* @__PURE__ */
|
|
5448
|
+
showSpinButton && /* @__PURE__ */ jsx41(
|
|
5913
5449
|
SpinButton,
|
|
5914
5450
|
{
|
|
5915
5451
|
className: "k-input-spinner",
|
|
@@ -5921,18 +5457,18 @@ var NumericTextbox = (props) => {
|
|
|
5921
5457
|
}
|
|
5922
5458
|
);
|
|
5923
5459
|
};
|
|
5924
|
-
NumericTextbox.states =
|
|
5925
|
-
NumericTextbox.options =
|
|
5460
|
+
NumericTextbox.states = states21;
|
|
5461
|
+
NumericTextbox.options = options20;
|
|
5926
5462
|
NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
5927
|
-
NumericTextbox.defaultProps =
|
|
5463
|
+
NumericTextbox.defaultProps = defaultProps20;
|
|
5928
5464
|
|
|
5929
5465
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5930
|
-
import { jsx as
|
|
5466
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5931
5467
|
|
|
5932
5468
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5933
|
-
import { Fragment as
|
|
5469
|
+
import { Fragment as Fragment18, jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5934
5470
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5935
|
-
var
|
|
5471
|
+
var states22 = [
|
|
5936
5472
|
States.hover,
|
|
5937
5473
|
States.focus,
|
|
5938
5474
|
States.valid,
|
|
@@ -5942,12 +5478,12 @@ var states27 = [
|
|
|
5942
5478
|
States.loading,
|
|
5943
5479
|
States.readonly
|
|
5944
5480
|
];
|
|
5945
|
-
var
|
|
5481
|
+
var options21 = {
|
|
5946
5482
|
size: [Size.small, Size.medium, Size.large],
|
|
5947
5483
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5948
5484
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5949
5485
|
};
|
|
5950
|
-
var
|
|
5486
|
+
var defaultProps21 = {
|
|
5951
5487
|
showValue: true,
|
|
5952
5488
|
arrowIconName: "caret-alt-down",
|
|
5953
5489
|
size: Size.medium,
|
|
@@ -5957,7 +5493,7 @@ var defaultProps27 = {
|
|
|
5957
5493
|
var DropdownList = (props) => {
|
|
5958
5494
|
const {
|
|
5959
5495
|
valueIconName,
|
|
5960
|
-
arrowIconName =
|
|
5496
|
+
arrowIconName = defaultProps21.arrowIconName,
|
|
5961
5497
|
prefix,
|
|
5962
5498
|
suffix,
|
|
5963
5499
|
value,
|
|
@@ -5973,13 +5509,13 @@ var DropdownList = (props) => {
|
|
|
5973
5509
|
loading,
|
|
5974
5510
|
disabled,
|
|
5975
5511
|
readonly,
|
|
5976
|
-
showValue =
|
|
5512
|
+
showValue = defaultProps21.showValue,
|
|
5977
5513
|
popup,
|
|
5978
5514
|
opened,
|
|
5979
5515
|
...other
|
|
5980
5516
|
} = props;
|
|
5981
|
-
return /* @__PURE__ */
|
|
5982
|
-
/* @__PURE__ */
|
|
5517
|
+
return /* @__PURE__ */ jsxs18(Fragment18, { children: [
|
|
5518
|
+
/* @__PURE__ */ jsxs18(
|
|
5983
5519
|
Picker,
|
|
5984
5520
|
{
|
|
5985
5521
|
...other,
|
|
@@ -6002,8 +5538,8 @@ var DropdownList = (props) => {
|
|
|
6002
5538
|
}
|
|
6003
5539
|
),
|
|
6004
5540
|
children: [
|
|
6005
|
-
/* @__PURE__ */
|
|
6006
|
-
/* @__PURE__ */
|
|
5541
|
+
/* @__PURE__ */ jsx43(InputPrefix, { children: prefix }),
|
|
5542
|
+
/* @__PURE__ */ jsx43(
|
|
6007
5543
|
InputInnerSpan,
|
|
6008
5544
|
{
|
|
6009
5545
|
placeholder,
|
|
@@ -6012,7 +5548,7 @@ var DropdownList = (props) => {
|
|
|
6012
5548
|
valueIconName
|
|
6013
5549
|
}
|
|
6014
5550
|
),
|
|
6015
|
-
/* @__PURE__ */
|
|
5551
|
+
/* @__PURE__ */ jsx43(
|
|
6016
5552
|
InputValidationIcon,
|
|
6017
5553
|
{
|
|
6018
5554
|
valid,
|
|
@@ -6021,15 +5557,15 @@ var DropdownList = (props) => {
|
|
|
6021
5557
|
disabled
|
|
6022
5558
|
}
|
|
6023
5559
|
),
|
|
6024
|
-
/* @__PURE__ */
|
|
5560
|
+
/* @__PURE__ */ jsx43(
|
|
6025
5561
|
InputLoadingIcon,
|
|
6026
5562
|
{
|
|
6027
5563
|
loading,
|
|
6028
5564
|
disabled
|
|
6029
5565
|
}
|
|
6030
5566
|
),
|
|
6031
|
-
/* @__PURE__ */
|
|
6032
|
-
/* @__PURE__ */
|
|
5567
|
+
/* @__PURE__ */ jsx43(InputSuffix, { children: suffix }),
|
|
5568
|
+
/* @__PURE__ */ jsx43(
|
|
6033
5569
|
Button,
|
|
6034
5570
|
{
|
|
6035
5571
|
className: "k-input-button",
|
|
@@ -6042,35 +5578,35 @@ var DropdownList = (props) => {
|
|
|
6042
5578
|
]
|
|
6043
5579
|
}
|
|
6044
5580
|
),
|
|
6045
|
-
opened && popup && /* @__PURE__ */
|
|
5581
|
+
opened && popup && /* @__PURE__ */ jsx43(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
6046
5582
|
] });
|
|
6047
5583
|
};
|
|
6048
|
-
DropdownList.states =
|
|
6049
|
-
DropdownList.options =
|
|
5584
|
+
DropdownList.states = states22;
|
|
5585
|
+
DropdownList.options = options21;
|
|
6050
5586
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
6051
|
-
DropdownList.defaultProps =
|
|
5587
|
+
DropdownList.defaultProps = defaultProps21;
|
|
6052
5588
|
|
|
6053
5589
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
6054
|
-
import { jsx as
|
|
5590
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
6055
5591
|
|
|
6056
5592
|
// src/nodata/nodata.tsx
|
|
6057
|
-
import { jsx as
|
|
5593
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
6058
5594
|
var className10 = `k-nodata`;
|
|
6059
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5595
|
+
var NoData = (props) => /* @__PURE__ */ jsx45("span", { className: classNames(className10, props.className), children: props.children });
|
|
6060
5596
|
|
|
6061
5597
|
// src/list/list.spec.tsx
|
|
6062
|
-
import { jsx as
|
|
5598
|
+
import { jsx as jsx46, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6063
5599
|
var LIST_CLASSNAME = `k-list`;
|
|
6064
|
-
var
|
|
6065
|
-
var
|
|
5600
|
+
var states23 = [];
|
|
5601
|
+
var options22 = {
|
|
6066
5602
|
size: [Size.small, Size.medium, Size.large]
|
|
6067
5603
|
};
|
|
6068
|
-
var
|
|
5604
|
+
var defaultProps22 = {
|
|
6069
5605
|
size: Size.medium
|
|
6070
5606
|
};
|
|
6071
5607
|
var List = (props) => {
|
|
6072
5608
|
const {
|
|
6073
|
-
size =
|
|
5609
|
+
size = defaultProps22.size,
|
|
6074
5610
|
virtualization,
|
|
6075
5611
|
children,
|
|
6076
5612
|
optionLabel,
|
|
@@ -6087,7 +5623,7 @@ var List = (props) => {
|
|
|
6087
5623
|
listHeader = child.props.label;
|
|
6088
5624
|
child.props.children.map((optChild, index2) => {
|
|
6089
5625
|
listChildren.push(
|
|
6090
|
-
/* @__PURE__ */
|
|
5626
|
+
/* @__PURE__ */ jsx46(
|
|
6091
5627
|
ListItem,
|
|
6092
5628
|
{
|
|
6093
5629
|
...optChild.props
|
|
@@ -6103,7 +5639,7 @@ var List = (props) => {
|
|
|
6103
5639
|
groupLabel = child.props.label;
|
|
6104
5640
|
}
|
|
6105
5641
|
listChildren.push(
|
|
6106
|
-
/* @__PURE__ */
|
|
5642
|
+
/* @__PURE__ */ jsx46(
|
|
6107
5643
|
ListItem,
|
|
6108
5644
|
{
|
|
6109
5645
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -6115,16 +5651,16 @@ var List = (props) => {
|
|
|
6115
5651
|
);
|
|
6116
5652
|
});
|
|
6117
5653
|
}
|
|
6118
|
-
listGroup = /* @__PURE__ */
|
|
5654
|
+
listGroup = /* @__PURE__ */ jsx46(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6119
5655
|
} else if (child.type === ListItem) {
|
|
6120
|
-
listChildren.push(/* @__PURE__ */
|
|
6121
|
-
listContent = /* @__PURE__ */
|
|
5656
|
+
listChildren.push(/* @__PURE__ */ jsx46(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5657
|
+
listContent = /* @__PURE__ */ jsx46(ListContent, { virtualization, children: listChildren });
|
|
6122
5658
|
}
|
|
6123
5659
|
});
|
|
6124
5660
|
} else {
|
|
6125
|
-
listContent = /* @__PURE__ */
|
|
5661
|
+
listContent = /* @__PURE__ */ jsx46(NoData, { children: "No data found." });
|
|
6126
5662
|
}
|
|
6127
|
-
return /* @__PURE__ */
|
|
5663
|
+
return /* @__PURE__ */ jsxs19(
|
|
6128
5664
|
"div",
|
|
6129
5665
|
{
|
|
6130
5666
|
...other,
|
|
@@ -6146,24 +5682,24 @@ var List = (props) => {
|
|
|
6146
5682
|
}
|
|
6147
5683
|
);
|
|
6148
5684
|
};
|
|
6149
|
-
List.states =
|
|
6150
|
-
List.options =
|
|
5685
|
+
List.states = states23;
|
|
5686
|
+
List.options = options22;
|
|
6151
5687
|
List.className = LIST_CLASSNAME;
|
|
6152
|
-
List.defaultProps =
|
|
5688
|
+
List.defaultProps = defaultProps22;
|
|
6153
5689
|
|
|
6154
5690
|
// src/list/list-angular.spec.tsx
|
|
6155
|
-
import { jsx as
|
|
5691
|
+
import { jsx as jsx47, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
6156
5692
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
6157
|
-
var
|
|
6158
|
-
var
|
|
5693
|
+
var states24 = [];
|
|
5694
|
+
var options23 = {
|
|
6159
5695
|
size: [Size.small, Size.medium, Size.large]
|
|
6160
5696
|
};
|
|
6161
|
-
var
|
|
5697
|
+
var defaultProps23 = {
|
|
6162
5698
|
size: Size.medium
|
|
6163
5699
|
};
|
|
6164
5700
|
var ListAngular = (props) => {
|
|
6165
5701
|
const {
|
|
6166
|
-
size =
|
|
5702
|
+
size = defaultProps23.size,
|
|
6167
5703
|
virtualization,
|
|
6168
5704
|
children,
|
|
6169
5705
|
...other
|
|
@@ -6179,7 +5715,7 @@ var ListAngular = (props) => {
|
|
|
6179
5715
|
listHeader = child.props.label;
|
|
6180
5716
|
child.props.children.map((optChild, index2) => {
|
|
6181
5717
|
listChildren.push(
|
|
6182
|
-
/* @__PURE__ */
|
|
5718
|
+
/* @__PURE__ */ jsx47(
|
|
6183
5719
|
ListItem,
|
|
6184
5720
|
{
|
|
6185
5721
|
...optChild.props
|
|
@@ -6190,7 +5726,7 @@ var ListAngular = (props) => {
|
|
|
6190
5726
|
});
|
|
6191
5727
|
} else {
|
|
6192
5728
|
listChildren.push(
|
|
6193
|
-
/* @__PURE__ */
|
|
5729
|
+
/* @__PURE__ */ jsx47(
|
|
6194
5730
|
ListGroupItem,
|
|
6195
5731
|
{
|
|
6196
5732
|
...child.props,
|
|
@@ -6201,7 +5737,7 @@ var ListAngular = (props) => {
|
|
|
6201
5737
|
);
|
|
6202
5738
|
child.props.children.map((optChild, index2) => {
|
|
6203
5739
|
listChildren.push(
|
|
6204
|
-
/* @__PURE__ */
|
|
5740
|
+
/* @__PURE__ */ jsx47(
|
|
6205
5741
|
ListItem,
|
|
6206
5742
|
{
|
|
6207
5743
|
...optChild.props
|
|
@@ -6211,16 +5747,16 @@ var ListAngular = (props) => {
|
|
|
6211
5747
|
);
|
|
6212
5748
|
});
|
|
6213
5749
|
}
|
|
6214
|
-
listGroup = /* @__PURE__ */
|
|
5750
|
+
listGroup = /* @__PURE__ */ jsx47(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
6215
5751
|
} else if (child.type === ListItem) {
|
|
6216
|
-
listChildren.push(/* @__PURE__ */
|
|
6217
|
-
listContent = /* @__PURE__ */
|
|
5752
|
+
listChildren.push(/* @__PURE__ */ jsx47(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5753
|
+
listContent = /* @__PURE__ */ jsx47(ListContent, { virtualization, children: listChildren });
|
|
6218
5754
|
}
|
|
6219
5755
|
});
|
|
6220
5756
|
} else {
|
|
6221
|
-
listContent = /* @__PURE__ */
|
|
5757
|
+
listContent = /* @__PURE__ */ jsx47(NoData, { children: "No data found." });
|
|
6222
5758
|
}
|
|
6223
|
-
return /* @__PURE__ */
|
|
5759
|
+
return /* @__PURE__ */ jsxs20(
|
|
6224
5760
|
"div",
|
|
6225
5761
|
{
|
|
6226
5762
|
...other,
|
|
@@ -6241,15 +5777,15 @@ var ListAngular = (props) => {
|
|
|
6241
5777
|
}
|
|
6242
5778
|
);
|
|
6243
5779
|
};
|
|
6244
|
-
ListAngular.states =
|
|
6245
|
-
ListAngular.options =
|
|
5780
|
+
ListAngular.states = states24;
|
|
5781
|
+
ListAngular.options = options23;
|
|
6246
5782
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
6247
|
-
ListAngular.defaultProps =
|
|
5783
|
+
ListAngular.defaultProps = defaultProps23;
|
|
6248
5784
|
|
|
6249
5785
|
// src/checkbox/checkbox.spec.tsx
|
|
6250
|
-
import { jsx as
|
|
5786
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
6251
5787
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
6252
|
-
var
|
|
5788
|
+
var states25 = [
|
|
6253
5789
|
States.hover,
|
|
6254
5790
|
States.focus,
|
|
6255
5791
|
States.valid,
|
|
@@ -6259,11 +5795,11 @@ var states30 = [
|
|
|
6259
5795
|
States.checked,
|
|
6260
5796
|
States.indeterminate
|
|
6261
5797
|
];
|
|
6262
|
-
var
|
|
5798
|
+
var options24 = {
|
|
6263
5799
|
size: [Size.small, Size.medium, Size.large],
|
|
6264
5800
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
6265
5801
|
};
|
|
6266
|
-
var
|
|
5802
|
+
var defaultProps24 = {
|
|
6267
5803
|
size: Size.medium,
|
|
6268
5804
|
rounded: Roundness.medium
|
|
6269
5805
|
};
|
|
@@ -6278,11 +5814,11 @@ var Checkbox = (props) => {
|
|
|
6278
5814
|
invalid,
|
|
6279
5815
|
valid,
|
|
6280
5816
|
required,
|
|
6281
|
-
size =
|
|
6282
|
-
rounded =
|
|
5817
|
+
size = defaultProps24.size,
|
|
5818
|
+
rounded = defaultProps24.rounded,
|
|
6283
5819
|
...other
|
|
6284
5820
|
} = props;
|
|
6285
|
-
return /* @__PURE__ */
|
|
5821
|
+
return /* @__PURE__ */ jsx48("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx48(
|
|
6286
5822
|
"input",
|
|
6287
5823
|
{
|
|
6288
5824
|
...other,
|
|
@@ -6299,25 +5835,25 @@ var Checkbox = (props) => {
|
|
|
6299
5835
|
}
|
|
6300
5836
|
) });
|
|
6301
5837
|
};
|
|
6302
|
-
Checkbox.states =
|
|
6303
|
-
Checkbox.options =
|
|
5838
|
+
Checkbox.states = states25;
|
|
5839
|
+
Checkbox.options = options24;
|
|
6304
5840
|
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
6305
|
-
Checkbox.defaultProps =
|
|
5841
|
+
Checkbox.defaultProps = defaultProps24;
|
|
6306
5842
|
|
|
6307
5843
|
// src/checkbox/checkbox-group.spec.tsx
|
|
6308
|
-
import { jsx as
|
|
5844
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
6309
5845
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
6310
|
-
var
|
|
6311
|
-
var
|
|
6312
|
-
var
|
|
5846
|
+
var states26 = [];
|
|
5847
|
+
var options25 = {};
|
|
5848
|
+
var defaultProps25 = {
|
|
6313
5849
|
layout: "vertical"
|
|
6314
5850
|
};
|
|
6315
5851
|
var CheckboxGroup = (props) => {
|
|
6316
5852
|
const {
|
|
6317
|
-
layout =
|
|
5853
|
+
layout = defaultProps25.layout,
|
|
6318
5854
|
...other
|
|
6319
5855
|
} = props;
|
|
6320
|
-
return /* @__PURE__ */
|
|
5856
|
+
return /* @__PURE__ */ jsx49(
|
|
6321
5857
|
"ul",
|
|
6322
5858
|
{
|
|
6323
5859
|
...other,
|
|
@@ -6332,22 +5868,22 @@ var CheckboxGroup = (props) => {
|
|
|
6332
5868
|
}
|
|
6333
5869
|
);
|
|
6334
5870
|
};
|
|
6335
|
-
CheckboxGroup.states =
|
|
6336
|
-
CheckboxGroup.options =
|
|
5871
|
+
CheckboxGroup.states = states26;
|
|
5872
|
+
CheckboxGroup.options = options25;
|
|
6337
5873
|
CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
6338
|
-
CheckboxGroup.defaultProps =
|
|
5874
|
+
CheckboxGroup.defaultProps = defaultProps25;
|
|
6339
5875
|
|
|
6340
5876
|
// src/checkbox/checkbox-item.spec.tsx
|
|
6341
|
-
import { jsx as
|
|
5877
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
6342
5878
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
6343
|
-
var
|
|
6344
|
-
var
|
|
6345
|
-
var
|
|
5879
|
+
var states27 = [];
|
|
5880
|
+
var options26 = {};
|
|
5881
|
+
var defaultProps26 = {};
|
|
6346
5882
|
var CheckboxItem = (props) => {
|
|
6347
5883
|
const {
|
|
6348
5884
|
...other
|
|
6349
5885
|
} = props;
|
|
6350
|
-
return /* @__PURE__ */
|
|
5886
|
+
return /* @__PURE__ */ jsx50(
|
|
6351
5887
|
"li",
|
|
6352
5888
|
{
|
|
6353
5889
|
...other,
|
|
@@ -6359,31 +5895,31 @@ var CheckboxItem = (props) => {
|
|
|
6359
5895
|
}
|
|
6360
5896
|
);
|
|
6361
5897
|
};
|
|
6362
|
-
CheckboxItem.states =
|
|
6363
|
-
CheckboxItem.options =
|
|
5898
|
+
CheckboxItem.states = states27;
|
|
5899
|
+
CheckboxItem.options = options26;
|
|
6364
5900
|
CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
6365
|
-
CheckboxItem.defaultProps =
|
|
5901
|
+
CheckboxItem.defaultProps = defaultProps26;
|
|
6366
5902
|
|
|
6367
5903
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
6368
|
-
import { Fragment as
|
|
5904
|
+
import { Fragment as Fragment19, jsx as jsx51, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6369
5905
|
|
|
6370
5906
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
6371
|
-
import { Fragment as
|
|
5907
|
+
import { Fragment as Fragment20, jsx as jsx52, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
6372
5908
|
|
|
6373
5909
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
6374
|
-
import { jsx as
|
|
5910
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
6375
5911
|
|
|
6376
5912
|
// src/list/list-item.spec.tsx
|
|
6377
|
-
import { jsx as
|
|
5913
|
+
import { jsx as jsx54, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
6378
5914
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6379
|
-
var
|
|
5915
|
+
var states28 = [
|
|
6380
5916
|
States.hover,
|
|
6381
5917
|
States.focus,
|
|
6382
5918
|
States.selected,
|
|
6383
5919
|
States.disabled
|
|
6384
5920
|
];
|
|
6385
|
-
var
|
|
6386
|
-
var
|
|
5921
|
+
var options27 = {};
|
|
5922
|
+
var defaultProps27 = {};
|
|
6387
5923
|
var ListItem = (props) => {
|
|
6388
5924
|
const {
|
|
6389
5925
|
text,
|
|
@@ -6399,7 +5935,7 @@ var ListItem = (props) => {
|
|
|
6399
5935
|
...other
|
|
6400
5936
|
} = props;
|
|
6401
5937
|
const textOrChildren = text ? text : props.children;
|
|
6402
|
-
return /* @__PURE__ */
|
|
5938
|
+
return /* @__PURE__ */ jsxs23(
|
|
6403
5939
|
"li",
|
|
6404
5940
|
{
|
|
6405
5941
|
...other,
|
|
@@ -6414,66 +5950,66 @@ var ListItem = (props) => {
|
|
|
6414
5950
|
})
|
|
6415
5951
|
),
|
|
6416
5952
|
children: [
|
|
6417
|
-
showCheckbox && /* @__PURE__ */
|
|
6418
|
-
showIcon && /* @__PURE__ */
|
|
6419
|
-
/* @__PURE__ */
|
|
6420
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5953
|
+
showCheckbox && /* @__PURE__ */ jsx54(Checkbox, { checked }),
|
|
5954
|
+
showIcon && /* @__PURE__ */ jsx54(Icon, { icon: iconName }),
|
|
5955
|
+
/* @__PURE__ */ jsx54("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5956
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx54("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6421
5957
|
]
|
|
6422
5958
|
}
|
|
6423
5959
|
);
|
|
6424
5960
|
};
|
|
6425
|
-
ListItem.states =
|
|
6426
|
-
ListItem.options =
|
|
5961
|
+
ListItem.states = states28;
|
|
5962
|
+
ListItem.options = options27;
|
|
6427
5963
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
6428
|
-
ListItem.defaultProps =
|
|
5964
|
+
ListItem.defaultProps = defaultProps27;
|
|
6429
5965
|
|
|
6430
5966
|
// src/list/list-content.tsx
|
|
6431
|
-
import { jsx as
|
|
5967
|
+
import { jsx as jsx55, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6432
5968
|
var className11 = `k-list-content`;
|
|
6433
5969
|
var ListContent = (props) => {
|
|
6434
5970
|
const {
|
|
6435
5971
|
virtualization
|
|
6436
5972
|
} = props;
|
|
6437
|
-
return /* @__PURE__ */
|
|
6438
|
-
/* @__PURE__ */
|
|
6439
|
-
virtualization && /* @__PURE__ */
|
|
5973
|
+
return /* @__PURE__ */ jsxs24("div", { className: classNames(className11, props.className), children: [
|
|
5974
|
+
/* @__PURE__ */ jsx55("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5975
|
+
virtualization && /* @__PURE__ */ jsx55("div", { className: "k-height-container", children: /* @__PURE__ */ jsx55("div", {}) })
|
|
6440
5976
|
] });
|
|
6441
5977
|
};
|
|
6442
5978
|
|
|
6443
5979
|
// src/list/list-header.tsx
|
|
6444
|
-
import { jsx as
|
|
5980
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6445
5981
|
var className12 = `k-list-group-sticky-header`;
|
|
6446
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5982
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx56("div", { className: classNames(className12, props.className), children: /* @__PURE__ */ jsx56("div", { className: "k-list-header-text", children: props.children }) });
|
|
6447
5983
|
|
|
6448
5984
|
// src/list/list-group.tsx
|
|
6449
|
-
import { Fragment as
|
|
5985
|
+
import { Fragment as Fragment21, jsx as jsx57, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6450
5986
|
var ListGroup = (props) => {
|
|
6451
5987
|
const {
|
|
6452
5988
|
virtualization,
|
|
6453
5989
|
label
|
|
6454
5990
|
} = props;
|
|
6455
|
-
return /* @__PURE__ */
|
|
6456
|
-
label && /* @__PURE__ */
|
|
6457
|
-
props.children && /* @__PURE__ */
|
|
5991
|
+
return /* @__PURE__ */ jsxs25(Fragment21, { children: [
|
|
5992
|
+
label && /* @__PURE__ */ jsx57(ListHeader, { children: label }),
|
|
5993
|
+
props.children && /* @__PURE__ */ jsx57(ListContent, { virtualization, children: props.children })
|
|
6458
5994
|
] });
|
|
6459
5995
|
};
|
|
6460
5996
|
|
|
6461
5997
|
// src/list/list-group-item.tsx
|
|
6462
|
-
import { jsx as
|
|
5998
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
6463
5999
|
var className13 = `k-list-group-item`;
|
|
6464
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6000
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx58("li", { className: classNames(className13, props.className), children: /* @__PURE__ */ jsx58("span", { className: "k-list-item-text", children: props.children }) });
|
|
6465
6001
|
|
|
6466
6002
|
// src/list/list-option-label.tsx
|
|
6467
|
-
import { jsx as
|
|
6003
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
6468
6004
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6469
|
-
var
|
|
6005
|
+
var states29 = [
|
|
6470
6006
|
States.hover,
|
|
6471
6007
|
States.focus,
|
|
6472
6008
|
States.selected,
|
|
6473
6009
|
States.disabled
|
|
6474
6010
|
];
|
|
6475
|
-
var
|
|
6476
|
-
var
|
|
6011
|
+
var options28 = {};
|
|
6012
|
+
var defaultProps28 = {};
|
|
6477
6013
|
var ListOptionLabel = (props) => {
|
|
6478
6014
|
const {
|
|
6479
6015
|
text,
|
|
@@ -6483,7 +6019,7 @@ var ListOptionLabel = (props) => {
|
|
|
6483
6019
|
disabled,
|
|
6484
6020
|
...other
|
|
6485
6021
|
} = props;
|
|
6486
|
-
return /* @__PURE__ */
|
|
6022
|
+
return /* @__PURE__ */ jsx59(
|
|
6487
6023
|
"div",
|
|
6488
6024
|
{
|
|
6489
6025
|
...other,
|
|
@@ -6500,54 +6036,129 @@ var ListOptionLabel = (props) => {
|
|
|
6500
6036
|
}
|
|
6501
6037
|
);
|
|
6502
6038
|
};
|
|
6503
|
-
ListOptionLabel.states =
|
|
6504
|
-
ListOptionLabel.options =
|
|
6039
|
+
ListOptionLabel.states = states29;
|
|
6040
|
+
ListOptionLabel.options = options28;
|
|
6505
6041
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
6506
|
-
ListOptionLabel.defaultProps =
|
|
6042
|
+
ListOptionLabel.defaultProps = defaultProps28;
|
|
6507
6043
|
|
|
6508
6044
|
// src/list/templates/list-normal.tsx
|
|
6509
|
-
import { jsx as
|
|
6045
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
6510
6046
|
|
|
6511
6047
|
// src/list/templates/list-virtualization.tsx
|
|
6512
|
-
import { jsx as
|
|
6048
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
6513
6049
|
|
|
6514
6050
|
// src/list/templates/list-grouping.tsx
|
|
6515
|
-
import { jsx as
|
|
6051
|
+
import { jsx as jsx62, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6516
6052
|
|
|
6517
6053
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6518
|
-
import { jsx as
|
|
6054
|
+
import { jsx as jsx63, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6519
6055
|
|
|
6520
6056
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6521
|
-
import { jsx as
|
|
6057
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
6522
6058
|
|
|
6523
6059
|
// src/list/templates/list-grouping-angular.tsx
|
|
6524
|
-
import { jsx as
|
|
6060
|
+
import { jsx as jsx65, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6525
6061
|
|
|
6526
6062
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6527
|
-
import { jsx as
|
|
6063
|
+
import { jsx as jsx66, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6528
6064
|
|
|
6529
6065
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6530
|
-
import { jsx as
|
|
6066
|
+
import { jsx as jsx67, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6067
|
+
|
|
6068
|
+
// src/searchbox/searchbox.spec.tsx
|
|
6069
|
+
import { jsx as jsx68, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6070
|
+
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6071
|
+
var states30 = [
|
|
6072
|
+
States.hover,
|
|
6073
|
+
States.focus,
|
|
6074
|
+
States.valid,
|
|
6075
|
+
States.invalid,
|
|
6076
|
+
States.required,
|
|
6077
|
+
States.disabled,
|
|
6078
|
+
States.loading
|
|
6079
|
+
];
|
|
6080
|
+
var options29 = {
|
|
6081
|
+
size: [Size.small, Size.medium, Size.large],
|
|
6082
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6083
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6084
|
+
};
|
|
6085
|
+
var defaultProps29 = {
|
|
6086
|
+
showIcon: true,
|
|
6087
|
+
icon: "search",
|
|
6088
|
+
size: Input.defaultProps.size,
|
|
6089
|
+
rounded: Input.defaultProps.rounded,
|
|
6090
|
+
fillMode: Input.defaultProps.fillMode
|
|
6091
|
+
};
|
|
6092
|
+
var Searchbox = (props) => {
|
|
6093
|
+
const {
|
|
6094
|
+
value,
|
|
6095
|
+
placeholder,
|
|
6096
|
+
size,
|
|
6097
|
+
rounded,
|
|
6098
|
+
fillMode,
|
|
6099
|
+
hover,
|
|
6100
|
+
focus,
|
|
6101
|
+
valid,
|
|
6102
|
+
invalid,
|
|
6103
|
+
required,
|
|
6104
|
+
loading,
|
|
6105
|
+
disabled,
|
|
6106
|
+
showIcon = defaultProps29.showIcon,
|
|
6107
|
+
icon = defaultProps29.icon,
|
|
6108
|
+
...other
|
|
6109
|
+
} = props;
|
|
6110
|
+
return /* @__PURE__ */ jsxs31(
|
|
6111
|
+
Input,
|
|
6112
|
+
{
|
|
6113
|
+
...other,
|
|
6114
|
+
size,
|
|
6115
|
+
rounded,
|
|
6116
|
+
fillMode,
|
|
6117
|
+
hover,
|
|
6118
|
+
focus,
|
|
6119
|
+
valid,
|
|
6120
|
+
invalid,
|
|
6121
|
+
required,
|
|
6122
|
+
loading,
|
|
6123
|
+
disabled,
|
|
6124
|
+
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6125
|
+
children: [
|
|
6126
|
+
showIcon && /* @__PURE__ */ jsx68(Icon, { className: "k-input-icon", icon }),
|
|
6127
|
+
/* @__PURE__ */ jsx68(InputInnerInput, { placeholder, value }),
|
|
6128
|
+
/* @__PURE__ */ jsx68(InputLoadingIcon, { ...props }),
|
|
6129
|
+
/* @__PURE__ */ jsx68(InputValidationIcon, { ...props }),
|
|
6130
|
+
/* @__PURE__ */ jsx68(InputClearValue, { ...props })
|
|
6131
|
+
]
|
|
6132
|
+
}
|
|
6133
|
+
);
|
|
6134
|
+
};
|
|
6135
|
+
Searchbox.states = states30;
|
|
6136
|
+
Searchbox.options = options29;
|
|
6137
|
+
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
6138
|
+
Searchbox.defaultProps = defaultProps29;
|
|
6139
|
+
|
|
6140
|
+
// src/searchbox/templates/searchbox-normal.tsx
|
|
6141
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6531
6142
|
|
|
6532
6143
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6533
|
-
import { Fragment as
|
|
6144
|
+
import { Fragment as Fragment22, jsx as jsx70, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6534
6145
|
|
|
6535
6146
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6536
|
-
import { jsx as
|
|
6147
|
+
import { jsx as jsx71, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6537
6148
|
|
|
6538
6149
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6539
|
-
import { Fragment as
|
|
6150
|
+
import { Fragment as Fragment23, jsx as jsx72, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6540
6151
|
|
|
6541
6152
|
// src/numerictextbox/templates/numerictextbox-prefix.tsx
|
|
6542
|
-
import { Fragment as
|
|
6153
|
+
import { Fragment as Fragment24, jsx as jsx73 } from "react/jsx-runtime";
|
|
6543
6154
|
|
|
6544
6155
|
// src/numerictextbox/templates/numerictextbox-suffix.tsx
|
|
6545
|
-
import { Fragment as
|
|
6156
|
+
import { Fragment as Fragment25, jsx as jsx74 } from "react/jsx-runtime";
|
|
6546
6157
|
|
|
6547
6158
|
// src/textbox/textbox.spec.tsx
|
|
6548
|
-
import { Fragment as
|
|
6159
|
+
import { Fragment as Fragment26, jsx as jsx75, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6549
6160
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
6550
|
-
var
|
|
6161
|
+
var states31 = [
|
|
6551
6162
|
States.hover,
|
|
6552
6163
|
States.focus,
|
|
6553
6164
|
States.valid,
|
|
@@ -6557,12 +6168,12 @@ var states35 = [
|
|
|
6557
6168
|
States.loading,
|
|
6558
6169
|
States.readonly
|
|
6559
6170
|
];
|
|
6560
|
-
var
|
|
6171
|
+
var options30 = {
|
|
6561
6172
|
size: [Size.small, Size.medium, Size.large],
|
|
6562
6173
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6563
6174
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6564
6175
|
};
|
|
6565
|
-
var
|
|
6176
|
+
var defaultProps30 = {
|
|
6566
6177
|
showClearButton: true,
|
|
6567
6178
|
size: Input.defaultProps.size,
|
|
6568
6179
|
rounded: Input.defaultProps.rounded,
|
|
@@ -6585,10 +6196,10 @@ var Textbox = (props) => {
|
|
|
6585
6196
|
loading,
|
|
6586
6197
|
disabled,
|
|
6587
6198
|
readonly,
|
|
6588
|
-
showClearButton =
|
|
6199
|
+
showClearButton = defaultProps30.showClearButton,
|
|
6589
6200
|
...other
|
|
6590
6201
|
} = props;
|
|
6591
|
-
return /* @__PURE__ */
|
|
6202
|
+
return /* @__PURE__ */ jsxs35(
|
|
6592
6203
|
Input,
|
|
6593
6204
|
{
|
|
6594
6205
|
...other,
|
|
@@ -6605,12 +6216,12 @@ var Textbox = (props) => {
|
|
|
6605
6216
|
readonly,
|
|
6606
6217
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
6607
6218
|
children: [
|
|
6608
|
-
prefix && /* @__PURE__ */
|
|
6609
|
-
/* @__PURE__ */
|
|
6610
|
-
/* @__PURE__ */
|
|
6219
|
+
prefix && /* @__PURE__ */ jsxs35(Fragment26, { children: [
|
|
6220
|
+
/* @__PURE__ */ jsx75(InputPrefix, { children: prefix }),
|
|
6221
|
+
/* @__PURE__ */ jsx75(InputSeparator, {})
|
|
6611
6222
|
] }),
|
|
6612
|
-
/* @__PURE__ */
|
|
6613
|
-
/* @__PURE__ */
|
|
6223
|
+
/* @__PURE__ */ jsx75(InputInnerInput, { placeholder, value }),
|
|
6224
|
+
/* @__PURE__ */ jsx75(
|
|
6614
6225
|
InputValidationIcon,
|
|
6615
6226
|
{
|
|
6616
6227
|
valid,
|
|
@@ -6619,14 +6230,14 @@ var Textbox = (props) => {
|
|
|
6619
6230
|
disabled
|
|
6620
6231
|
}
|
|
6621
6232
|
),
|
|
6622
|
-
/* @__PURE__ */
|
|
6233
|
+
/* @__PURE__ */ jsx75(
|
|
6623
6234
|
InputLoadingIcon,
|
|
6624
6235
|
{
|
|
6625
6236
|
loading,
|
|
6626
6237
|
disabled
|
|
6627
6238
|
}
|
|
6628
6239
|
),
|
|
6629
|
-
showClearButton && /* @__PURE__ */
|
|
6240
|
+
showClearButton && /* @__PURE__ */ jsx75(
|
|
6630
6241
|
InputClearValue,
|
|
6631
6242
|
{
|
|
6632
6243
|
loading,
|
|
@@ -6635,162 +6246,162 @@ var Textbox = (props) => {
|
|
|
6635
6246
|
value
|
|
6636
6247
|
}
|
|
6637
6248
|
),
|
|
6638
|
-
suffix && /* @__PURE__ */
|
|
6639
|
-
/* @__PURE__ */
|
|
6640
|
-
/* @__PURE__ */
|
|
6249
|
+
suffix && /* @__PURE__ */ jsxs35(Fragment26, { children: [
|
|
6250
|
+
/* @__PURE__ */ jsx75(InputSeparator, {}),
|
|
6251
|
+
/* @__PURE__ */ jsx75(InputSuffix, { children: suffix })
|
|
6641
6252
|
] })
|
|
6642
6253
|
]
|
|
6643
6254
|
}
|
|
6644
6255
|
);
|
|
6645
6256
|
};
|
|
6646
|
-
Textbox.states =
|
|
6647
|
-
Textbox.options =
|
|
6257
|
+
Textbox.states = states31;
|
|
6258
|
+
Textbox.options = options30;
|
|
6648
6259
|
Textbox.className = TEXTBOX_CLASSNAME;
|
|
6649
|
-
Textbox.defaultProps =
|
|
6260
|
+
Textbox.defaultProps = defaultProps30;
|
|
6650
6261
|
|
|
6651
6262
|
// src/textbox/templates/textbox-normal.tsx
|
|
6652
|
-
import { jsx as
|
|
6263
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6653
6264
|
|
|
6654
6265
|
// src/textbox/templates/textbox-prefix.tsx
|
|
6655
|
-
import { Fragment as
|
|
6266
|
+
import { Fragment as Fragment27, jsx as jsx77 } from "react/jsx-runtime";
|
|
6656
6267
|
|
|
6657
6268
|
// src/textbox/templates/textbox-suffix.tsx
|
|
6658
|
-
import { Fragment as
|
|
6269
|
+
import { Fragment as Fragment28, jsx as jsx78 } from "react/jsx-runtime";
|
|
6659
6270
|
|
|
6660
6271
|
// src/colorgradient/color-input.tsx
|
|
6661
|
-
import { Fragment as
|
|
6272
|
+
import { Fragment as Fragment29, jsx as jsx79, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6662
6273
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6663
|
-
var
|
|
6664
|
-
var
|
|
6665
|
-
var
|
|
6274
|
+
var states32 = [];
|
|
6275
|
+
var options31 = {};
|
|
6276
|
+
var defaultProps31 = {
|
|
6666
6277
|
mode: "rgba"
|
|
6667
6278
|
};
|
|
6668
6279
|
var ColorInput = (props) => {
|
|
6669
6280
|
const {
|
|
6670
|
-
mode =
|
|
6281
|
+
mode = defaultProps31.mode
|
|
6671
6282
|
} = props;
|
|
6672
|
-
return /* @__PURE__ */
|
|
6673
|
-
/* @__PURE__ */
|
|
6674
|
-
mode === "rgba" && /* @__PURE__ */
|
|
6675
|
-
/* @__PURE__ */
|
|
6676
|
-
/* @__PURE__ */
|
|
6677
|
-
/* @__PURE__ */
|
|
6283
|
+
return /* @__PURE__ */ jsxs36("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6284
|
+
/* @__PURE__ */ jsx79("div", { className: "k-vstack", children: /* @__PURE__ */ jsx79(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6285
|
+
mode === "rgba" && /* @__PURE__ */ jsxs36(Fragment29, { children: [
|
|
6286
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6287
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6288
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6678
6289
|
] }),
|
|
6679
|
-
/* @__PURE__ */
|
|
6680
|
-
/* @__PURE__ */
|
|
6681
|
-
/* @__PURE__ */
|
|
6290
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6291
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6292
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6682
6293
|
] }),
|
|
6683
|
-
/* @__PURE__ */
|
|
6684
|
-
/* @__PURE__ */
|
|
6685
|
-
/* @__PURE__ */
|
|
6294
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6295
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6296
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6686
6297
|
] }),
|
|
6687
|
-
/* @__PURE__ */
|
|
6688
|
-
/* @__PURE__ */
|
|
6689
|
-
/* @__PURE__ */
|
|
6298
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6299
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6300
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6690
6301
|
] })
|
|
6691
6302
|
] }),
|
|
6692
|
-
mode === "rgb" && /* @__PURE__ */
|
|
6693
|
-
/* @__PURE__ */
|
|
6694
|
-
/* @__PURE__ */
|
|
6695
|
-
/* @__PURE__ */
|
|
6303
|
+
mode === "rgb" && /* @__PURE__ */ jsxs36(Fragment29, { children: [
|
|
6304
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6305
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6306
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6696
6307
|
] }),
|
|
6697
|
-
/* @__PURE__ */
|
|
6698
|
-
/* @__PURE__ */
|
|
6699
|
-
/* @__PURE__ */
|
|
6308
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6309
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6310
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6700
6311
|
] }),
|
|
6701
|
-
/* @__PURE__ */
|
|
6702
|
-
/* @__PURE__ */
|
|
6703
|
-
/* @__PURE__ */
|
|
6312
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6313
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6314
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6704
6315
|
] })
|
|
6705
6316
|
] }),
|
|
6706
|
-
mode === "hsva" && /* @__PURE__ */
|
|
6707
|
-
/* @__PURE__ */
|
|
6708
|
-
/* @__PURE__ */
|
|
6709
|
-
/* @__PURE__ */
|
|
6317
|
+
mode === "hsva" && /* @__PURE__ */ jsxs36(Fragment29, { children: [
|
|
6318
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6319
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6320
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6710
6321
|
] }),
|
|
6711
|
-
/* @__PURE__ */
|
|
6712
|
-
/* @__PURE__ */
|
|
6713
|
-
/* @__PURE__ */
|
|
6322
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6323
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6324
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6714
6325
|
] }),
|
|
6715
|
-
/* @__PURE__ */
|
|
6716
|
-
/* @__PURE__ */
|
|
6717
|
-
/* @__PURE__ */
|
|
6326
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6327
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6328
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6718
6329
|
] }),
|
|
6719
|
-
/* @__PURE__ */
|
|
6720
|
-
/* @__PURE__ */
|
|
6721
|
-
/* @__PURE__ */
|
|
6330
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6331
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6332
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6722
6333
|
] })
|
|
6723
6334
|
] }),
|
|
6724
|
-
mode === "hsv" && /* @__PURE__ */
|
|
6725
|
-
/* @__PURE__ */
|
|
6726
|
-
/* @__PURE__ */
|
|
6727
|
-
/* @__PURE__ */
|
|
6335
|
+
mode === "hsv" && /* @__PURE__ */ jsxs36(Fragment29, { children: [
|
|
6336
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6337
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6338
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6728
6339
|
] }),
|
|
6729
|
-
/* @__PURE__ */
|
|
6730
|
-
/* @__PURE__ */
|
|
6731
|
-
/* @__PURE__ */
|
|
6340
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6341
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6342
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6732
6343
|
] }),
|
|
6733
|
-
/* @__PURE__ */
|
|
6734
|
-
/* @__PURE__ */
|
|
6735
|
-
/* @__PURE__ */
|
|
6344
|
+
/* @__PURE__ */ jsxs36("div", { className: "k-vstack", children: [
|
|
6345
|
+
/* @__PURE__ */ jsx79(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6346
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6736
6347
|
] })
|
|
6737
6348
|
] }),
|
|
6738
|
-
mode === "hex" && /* @__PURE__ */
|
|
6739
|
-
/* @__PURE__ */
|
|
6740
|
-
/* @__PURE__ */
|
|
6349
|
+
mode === "hex" && /* @__PURE__ */ jsx79(Fragment29, { children: /* @__PURE__ */ jsxs36("div", { className: "k-vstack k-flex-1", children: [
|
|
6350
|
+
/* @__PURE__ */ jsx79(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6351
|
+
/* @__PURE__ */ jsx79("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6741
6352
|
] }) })
|
|
6742
6353
|
] });
|
|
6743
6354
|
};
|
|
6744
|
-
ColorInput.states =
|
|
6745
|
-
ColorInput.options =
|
|
6355
|
+
ColorInput.states = states32;
|
|
6356
|
+
ColorInput.options = options31;
|
|
6746
6357
|
ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
6747
|
-
ColorInput.defaultProps =
|
|
6358
|
+
ColorInput.defaultProps = defaultProps31;
|
|
6748
6359
|
|
|
6749
6360
|
// src/colorgradient/color-contrast.tsx
|
|
6750
|
-
import { jsx as
|
|
6361
|
+
import { jsx as jsx80, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6751
6362
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6752
|
-
var
|
|
6753
|
-
var
|
|
6754
|
-
var
|
|
6755
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
6756
|
-
/* @__PURE__ */
|
|
6757
|
-
/* @__PURE__ */
|
|
6758
|
-
/* @__PURE__ */
|
|
6759
|
-
/* @__PURE__ */
|
|
6760
|
-
/* @__PURE__ */
|
|
6363
|
+
var states33 = [];
|
|
6364
|
+
var options32 = {};
|
|
6365
|
+
var defaultProps32 = {};
|
|
6366
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs37("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6367
|
+
/* @__PURE__ */ jsxs37("div", { className: "k-contrast-ratio", children: [
|
|
6368
|
+
/* @__PURE__ */ jsx80("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6369
|
+
/* @__PURE__ */ jsxs37("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6370
|
+
/* @__PURE__ */ jsx80(Icon, { icon: "check" }),
|
|
6371
|
+
/* @__PURE__ */ jsx80(Icon, { icon: "check" })
|
|
6761
6372
|
] })
|
|
6762
6373
|
] }),
|
|
6763
|
-
/* @__PURE__ */
|
|
6764
|
-
/* @__PURE__ */
|
|
6765
|
-
/* @__PURE__ */
|
|
6374
|
+
/* @__PURE__ */ jsxs37("div", { children: [
|
|
6375
|
+
/* @__PURE__ */ jsx80("span", { children: "AA: 4.5" }),
|
|
6376
|
+
/* @__PURE__ */ jsxs37("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6766
6377
|
"Pass",
|
|
6767
|
-
/* @__PURE__ */
|
|
6378
|
+
/* @__PURE__ */ jsx80(Icon, { icon: "check" })
|
|
6768
6379
|
] })
|
|
6769
6380
|
] }),
|
|
6770
|
-
/* @__PURE__ */
|
|
6771
|
-
/* @__PURE__ */
|
|
6772
|
-
/* @__PURE__ */
|
|
6381
|
+
/* @__PURE__ */ jsxs37("div", { children: [
|
|
6382
|
+
/* @__PURE__ */ jsx80("span", { children: "AAA: 7.0" }),
|
|
6383
|
+
/* @__PURE__ */ jsxs37("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6773
6384
|
"Fail",
|
|
6774
|
-
/* @__PURE__ */
|
|
6385
|
+
/* @__PURE__ */ jsx80(Icon, { icon: "x" })
|
|
6775
6386
|
] })
|
|
6776
6387
|
] })
|
|
6777
6388
|
] });
|
|
6778
|
-
ColorContrast.states =
|
|
6779
|
-
ColorContrast.options =
|
|
6389
|
+
ColorContrast.states = states33;
|
|
6390
|
+
ColorContrast.options = options32;
|
|
6780
6391
|
ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
6781
|
-
ColorContrast.defaultProps =
|
|
6392
|
+
ColorContrast.defaultProps = defaultProps32;
|
|
6782
6393
|
|
|
6783
6394
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6784
|
-
import { jsx as
|
|
6395
|
+
import { jsx as jsx81, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6785
6396
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6786
|
-
var
|
|
6397
|
+
var states34 = [
|
|
6787
6398
|
States.hover,
|
|
6788
6399
|
States.focus,
|
|
6789
6400
|
States.readonly,
|
|
6790
6401
|
States.disabled
|
|
6791
6402
|
];
|
|
6792
|
-
var
|
|
6793
|
-
var
|
|
6403
|
+
var options33 = {};
|
|
6404
|
+
var defaultProps33 = {
|
|
6794
6405
|
mode: "rgba",
|
|
6795
6406
|
readonly: false,
|
|
6796
6407
|
disabled: false,
|
|
@@ -6801,20 +6412,20 @@ var defaultProps38 = {
|
|
|
6801
6412
|
};
|
|
6802
6413
|
var ColorGradient = (props) => {
|
|
6803
6414
|
const {
|
|
6804
|
-
mode =
|
|
6805
|
-
readonly =
|
|
6806
|
-
disabled =
|
|
6415
|
+
mode = defaultProps33.mode,
|
|
6416
|
+
readonly = defaultProps33.readonly,
|
|
6417
|
+
disabled = defaultProps33.disabled,
|
|
6807
6418
|
dir,
|
|
6808
|
-
contrast =
|
|
6419
|
+
contrast = defaultProps33.contrast,
|
|
6809
6420
|
hover,
|
|
6810
6421
|
focus,
|
|
6811
6422
|
hoverHandle,
|
|
6812
6423
|
focusHandle,
|
|
6813
|
-
gradientStyle =
|
|
6814
|
-
dragHandleStyle =
|
|
6815
|
-
alphaStyle =
|
|
6424
|
+
gradientStyle = defaultProps33.gradientStyle,
|
|
6425
|
+
dragHandleStyle = defaultProps33.dragHandleStyle,
|
|
6426
|
+
alphaStyle = defaultProps33.alphaStyle
|
|
6816
6427
|
} = props;
|
|
6817
|
-
return /* @__PURE__ */
|
|
6428
|
+
return /* @__PURE__ */ jsxs38("div", { className: classNames(
|
|
6818
6429
|
props.className,
|
|
6819
6430
|
COLOR_GRADIENT_CLASSNAME,
|
|
6820
6431
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6824,8 +6435,8 @@ var ColorGradient = (props) => {
|
|
|
6824
6435
|
disabled
|
|
6825
6436
|
})
|
|
6826
6437
|
), dir, children: [
|
|
6827
|
-
/* @__PURE__ */
|
|
6828
|
-
/* @__PURE__ */
|
|
6438
|
+
/* @__PURE__ */ jsxs38("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6439
|
+
/* @__PURE__ */ jsx81("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx81("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx81("div", { className: classNames(
|
|
6829
6440
|
"k-hsv-draghandle",
|
|
6830
6441
|
"k-draghandle",
|
|
6831
6442
|
{
|
|
@@ -6833,39 +6444,39 @@ var ColorGradient = (props) => {
|
|
|
6833
6444
|
"k-focus": focusHandle
|
|
6834
6445
|
}
|
|
6835
6446
|
), style: dragHandleStyle }) }) }),
|
|
6836
|
-
/* @__PURE__ */
|
|
6837
|
-
/* @__PURE__ */
|
|
6838
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
6447
|
+
/* @__PURE__ */ jsxs38("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6448
|
+
/* @__PURE__ */ jsx81(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6449
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx81(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6839
6450
|
] })
|
|
6840
6451
|
] }),
|
|
6841
|
-
/* @__PURE__ */
|
|
6842
|
-
contrast && /* @__PURE__ */
|
|
6452
|
+
/* @__PURE__ */ jsx81(ColorInput, { mode: props.mode }),
|
|
6453
|
+
contrast && /* @__PURE__ */ jsx81(ColorContrast, {})
|
|
6843
6454
|
] });
|
|
6844
6455
|
};
|
|
6845
|
-
ColorGradient.states =
|
|
6846
|
-
ColorGradient.options =
|
|
6456
|
+
ColorGradient.states = states34;
|
|
6457
|
+
ColorGradient.options = options33;
|
|
6847
6458
|
ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
6848
|
-
ColorGradient.defaultProps =
|
|
6459
|
+
ColorGradient.defaultProps = defaultProps33;
|
|
6849
6460
|
|
|
6850
6461
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6851
|
-
import { jsx as
|
|
6462
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6852
6463
|
|
|
6853
6464
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6854
|
-
import { jsx as
|
|
6465
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
6855
6466
|
|
|
6856
6467
|
// src/colorpalette/colorpalette-row.tsx
|
|
6857
|
-
import { jsx as
|
|
6858
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
6468
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
6469
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx84("tr", { children: props.children });
|
|
6859
6470
|
|
|
6860
6471
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6861
|
-
import { jsx as
|
|
6472
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6862
6473
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6863
|
-
var
|
|
6474
|
+
var states35 = [
|
|
6864
6475
|
States.hover,
|
|
6865
6476
|
States.focus,
|
|
6866
6477
|
States.selected
|
|
6867
6478
|
];
|
|
6868
|
-
var
|
|
6479
|
+
var options34 = {};
|
|
6869
6480
|
var ColorPaletteTile = (props) => {
|
|
6870
6481
|
const {
|
|
6871
6482
|
color,
|
|
@@ -6880,7 +6491,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6880
6491
|
"width": tileSize ? tileSize + "px" : "",
|
|
6881
6492
|
"height": tileSize ? tileSize + "px" : ""
|
|
6882
6493
|
};
|
|
6883
|
-
return /* @__PURE__ */
|
|
6494
|
+
return /* @__PURE__ */ jsx85(
|
|
6884
6495
|
"td",
|
|
6885
6496
|
{
|
|
6886
6497
|
...other,
|
|
@@ -6897,24 +6508,24 @@ var ColorPaletteTile = (props) => {
|
|
|
6897
6508
|
}
|
|
6898
6509
|
);
|
|
6899
6510
|
};
|
|
6900
|
-
ColorPaletteTile.states =
|
|
6901
|
-
ColorPaletteTile.options =
|
|
6511
|
+
ColorPaletteTile.states = states35;
|
|
6512
|
+
ColorPaletteTile.options = options34;
|
|
6902
6513
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6903
6514
|
|
|
6904
6515
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6905
|
-
import { jsx as
|
|
6516
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6906
6517
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6907
|
-
var
|
|
6518
|
+
var states36 = [
|
|
6908
6519
|
States.disabled
|
|
6909
6520
|
];
|
|
6910
|
-
var
|
|
6911
|
-
var
|
|
6521
|
+
var options35 = {};
|
|
6522
|
+
var defaultProps34 = {
|
|
6912
6523
|
columns: 10
|
|
6913
6524
|
};
|
|
6914
6525
|
var ColorPalette = (props) => {
|
|
6915
6526
|
const {
|
|
6916
6527
|
palette,
|
|
6917
|
-
columns =
|
|
6528
|
+
columns = defaultProps34.columns,
|
|
6918
6529
|
tileSize,
|
|
6919
6530
|
disabled,
|
|
6920
6531
|
...other
|
|
@@ -6927,14 +6538,14 @@ var ColorPalette = (props) => {
|
|
|
6927
6538
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6928
6539
|
const items = [];
|
|
6929
6540
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6930
|
-
items.push(/* @__PURE__ */
|
|
6541
|
+
items.push(/* @__PURE__ */ jsx86(ColorPaletteTile, { color, tileSize }));
|
|
6931
6542
|
});
|
|
6932
|
-
const row = /* @__PURE__ */
|
|
6543
|
+
const row = /* @__PURE__ */ jsx86(ColorPaletteRow, { children: items });
|
|
6933
6544
|
newChildren.push(row);
|
|
6934
6545
|
});
|
|
6935
6546
|
}
|
|
6936
6547
|
}
|
|
6937
|
-
return /* @__PURE__ */
|
|
6548
|
+
return /* @__PURE__ */ jsx86(
|
|
6938
6549
|
"div",
|
|
6939
6550
|
{
|
|
6940
6551
|
...other,
|
|
@@ -6945,17 +6556,17 @@ var ColorPalette = (props) => {
|
|
|
6945
6556
|
disabled
|
|
6946
6557
|
})
|
|
6947
6558
|
),
|
|
6948
|
-
children: /* @__PURE__ */
|
|
6559
|
+
children: /* @__PURE__ */ jsx86("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6949
6560
|
}
|
|
6950
6561
|
);
|
|
6951
6562
|
};
|
|
6952
|
-
ColorPalette.states =
|
|
6953
|
-
ColorPalette.options =
|
|
6563
|
+
ColorPalette.states = states36;
|
|
6564
|
+
ColorPalette.options = options35;
|
|
6954
6565
|
ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
6955
|
-
ColorPalette.defaultProps =
|
|
6566
|
+
ColorPalette.defaultProps = defaultProps34;
|
|
6956
6567
|
|
|
6957
6568
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6958
|
-
import { jsx as
|
|
6569
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
6959
6570
|
|
|
6960
6571
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6961
6572
|
var PALETTEPRESETS = {
|
|
@@ -7010,84 +6621,84 @@ var PALETTEPRESETS = {
|
|
|
7010
6621
|
};
|
|
7011
6622
|
|
|
7012
6623
|
// src/coloreditor/color-editor.spec.tsx
|
|
7013
|
-
import { jsx as
|
|
6624
|
+
import { jsx as jsx88, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
7014
6625
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
7015
|
-
var
|
|
6626
|
+
var states37 = [
|
|
7016
6627
|
States.focus
|
|
7017
6628
|
];
|
|
7018
|
-
var
|
|
7019
|
-
var
|
|
6629
|
+
var options36 = {};
|
|
6630
|
+
var defaultProps35 = {
|
|
7020
6631
|
view: "gradient",
|
|
7021
6632
|
currentColor: "fuchsia",
|
|
7022
6633
|
palette: PALETTEPRESETS.office
|
|
7023
6634
|
};
|
|
7024
6635
|
var ColorEditor = (props) => {
|
|
7025
6636
|
const {
|
|
7026
|
-
view =
|
|
6637
|
+
view = defaultProps35.view,
|
|
7027
6638
|
color,
|
|
7028
|
-
currentColor =
|
|
6639
|
+
currentColor = defaultProps35.currentColor,
|
|
7029
6640
|
focus,
|
|
7030
6641
|
focusView,
|
|
7031
6642
|
dir,
|
|
7032
6643
|
group,
|
|
7033
|
-
palette =
|
|
6644
|
+
palette = defaultProps35.palette
|
|
7034
6645
|
} = props;
|
|
7035
|
-
return /* @__PURE__ */
|
|
6646
|
+
return /* @__PURE__ */ jsxs39("div", { className: classNames(
|
|
7036
6647
|
props.className,
|
|
7037
6648
|
"k-flatcolorpicker",
|
|
7038
6649
|
COLOREDITOR_CLASSNAME,
|
|
7039
6650
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
7040
6651
|
), dir, children: [
|
|
7041
|
-
/* @__PURE__ */
|
|
7042
|
-
/* @__PURE__ */
|
|
7043
|
-
/* @__PURE__ */
|
|
7044
|
-
/* @__PURE__ */
|
|
6652
|
+
/* @__PURE__ */ jsxs39("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6653
|
+
/* @__PURE__ */ jsx88("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs39(ButtonGroup, { children: [
|
|
6654
|
+
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6655
|
+
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
7045
6656
|
] }) }),
|
|
7046
|
-
/* @__PURE__ */
|
|
7047
|
-
/* @__PURE__ */
|
|
7048
|
-
/* @__PURE__ */
|
|
7049
|
-
/* @__PURE__ */
|
|
7050
|
-
/* @__PURE__ */
|
|
7051
|
-
/* @__PURE__ */
|
|
6657
|
+
/* @__PURE__ */ jsx88("div", { className: "k-spacer" }),
|
|
6658
|
+
/* @__PURE__ */ jsxs39("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6659
|
+
/* @__PURE__ */ jsx88(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6660
|
+
/* @__PURE__ */ jsxs39("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6661
|
+
/* @__PURE__ */ jsx88(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6662
|
+
/* @__PURE__ */ jsx88(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
7052
6663
|
] })
|
|
7053
6664
|
] })
|
|
7054
6665
|
] }),
|
|
7055
|
-
/* @__PURE__ */
|
|
7056
|
-
/* @__PURE__ */
|
|
7057
|
-
/* @__PURE__ */
|
|
7058
|
-
/* @__PURE__ */
|
|
6666
|
+
/* @__PURE__ */ jsx88("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx88(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx88(ColorPalette, { palette }) }),
|
|
6667
|
+
/* @__PURE__ */ jsxs39(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6668
|
+
/* @__PURE__ */ jsx88(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6669
|
+
/* @__PURE__ */ jsx88(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
7059
6670
|
] })
|
|
7060
6671
|
] });
|
|
7061
6672
|
};
|
|
7062
|
-
ColorEditor.states =
|
|
7063
|
-
ColorEditor.options =
|
|
6673
|
+
ColorEditor.states = states37;
|
|
6674
|
+
ColorEditor.options = options36;
|
|
7064
6675
|
ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
7065
|
-
ColorEditor.defaultProps =
|
|
6676
|
+
ColorEditor.defaultProps = defaultProps35;
|
|
7066
6677
|
|
|
7067
6678
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
7068
|
-
import { jsx as
|
|
6679
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
7069
6680
|
|
|
7070
6681
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
7071
|
-
import { jsx as
|
|
6682
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
7072
6683
|
|
|
7073
6684
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
7074
|
-
import { jsx as
|
|
6685
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
7075
6686
|
|
|
7076
6687
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
7077
|
-
import { jsx as
|
|
6688
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
7078
6689
|
|
|
7079
6690
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
7080
|
-
import { jsx as
|
|
6691
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
7081
6692
|
|
|
7082
6693
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
7083
|
-
import { jsx as
|
|
6694
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
7084
6695
|
|
|
7085
6696
|
// src/action-sheet/action-sheet.spec.tsx
|
|
7086
|
-
import { Fragment as
|
|
6697
|
+
import { Fragment as Fragment30, jsx as jsx95, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
7087
6698
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
7088
|
-
var
|
|
7089
|
-
var
|
|
7090
|
-
var
|
|
6699
|
+
var states38 = [];
|
|
6700
|
+
var options37 = {};
|
|
6701
|
+
var defaultProps36 = {
|
|
7091
6702
|
side: "bottom",
|
|
7092
6703
|
fullscreen: false,
|
|
7093
6704
|
adaptive: false,
|
|
@@ -7100,14 +6711,14 @@ var ActionSheet = (props) => {
|
|
|
7100
6711
|
header,
|
|
7101
6712
|
footer,
|
|
7102
6713
|
actions,
|
|
7103
|
-
side =
|
|
7104
|
-
fullscreen =
|
|
7105
|
-
adaptive =
|
|
7106
|
-
overlay =
|
|
6714
|
+
side = defaultProps36.side,
|
|
6715
|
+
fullscreen = defaultProps36.fullscreen,
|
|
6716
|
+
adaptive = defaultProps36.adaptive,
|
|
6717
|
+
overlay = defaultProps36.overlay,
|
|
7107
6718
|
...other
|
|
7108
6719
|
} = props;
|
|
7109
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
7110
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6720
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx95(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6721
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx95(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx95(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
7111
6722
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
7112
6723
|
switch (child.type) {
|
|
7113
6724
|
case ActionSheetHeader:
|
|
@@ -7117,10 +6728,10 @@ var ActionSheet = (props) => {
|
|
|
7117
6728
|
return true;
|
|
7118
6729
|
}
|
|
7119
6730
|
return true;
|
|
7120
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
7121
|
-
return /* @__PURE__ */
|
|
7122
|
-
overlay && /* @__PURE__ */
|
|
7123
|
-
/* @__PURE__ */
|
|
6731
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx95(Fragment30, {});
|
|
6732
|
+
return /* @__PURE__ */ jsxs40("div", { className: "k-actionsheet-container", children: [
|
|
6733
|
+
overlay && /* @__PURE__ */ jsx95("div", { className: "k-overlay" }),
|
|
6734
|
+
/* @__PURE__ */ jsx95(
|
|
7124
6735
|
AnimationContainer,
|
|
7125
6736
|
{
|
|
7126
6737
|
animationStyle: {
|
|
@@ -7130,7 +6741,7 @@ var ActionSheet = (props) => {
|
|
|
7130
6741
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
7131
6742
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
7132
6743
|
},
|
|
7133
|
-
children: /* @__PURE__ */
|
|
6744
|
+
children: /* @__PURE__ */ jsx95(
|
|
7134
6745
|
"div",
|
|
7135
6746
|
{
|
|
7136
6747
|
...other,
|
|
@@ -7143,9 +6754,9 @@ var ActionSheet = (props) => {
|
|
|
7143
6754
|
"k-adaptive-actionsheet": adaptive
|
|
7144
6755
|
}
|
|
7145
6756
|
),
|
|
7146
|
-
children: /* @__PURE__ */
|
|
6757
|
+
children: /* @__PURE__ */ jsxs40(Fragment30, { children: [
|
|
7147
6758
|
_ActionSheetHeader,
|
|
7148
|
-
/* @__PURE__ */
|
|
6759
|
+
/* @__PURE__ */ jsx95("div", { className: classNames(
|
|
7149
6760
|
"k-actionsheet-content",
|
|
7150
6761
|
{
|
|
7151
6762
|
"!k-overflow-hidden": adaptive
|
|
@@ -7159,13 +6770,13 @@ var ActionSheet = (props) => {
|
|
|
7159
6770
|
)
|
|
7160
6771
|
] });
|
|
7161
6772
|
};
|
|
7162
|
-
ActionSheet.states =
|
|
7163
|
-
ActionSheet.options =
|
|
6773
|
+
ActionSheet.states = states38;
|
|
6774
|
+
ActionSheet.options = options37;
|
|
7164
6775
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
7165
|
-
ActionSheet.defaultProps =
|
|
6776
|
+
ActionSheet.defaultProps = defaultProps36;
|
|
7166
6777
|
|
|
7167
6778
|
// src/action-sheet/actionsheet-header.tsx
|
|
7168
|
-
import { Fragment as
|
|
6779
|
+
import { Fragment as Fragment31, jsx as jsx96, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
7169
6780
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
7170
6781
|
var ActionSheetHeader = (props) => {
|
|
7171
6782
|
const {
|
|
@@ -7175,7 +6786,7 @@ var ActionSheetHeader = (props) => {
|
|
|
7175
6786
|
filter,
|
|
7176
6787
|
...other
|
|
7177
6788
|
} = props;
|
|
7178
|
-
return /* @__PURE__ */
|
|
6789
|
+
return /* @__PURE__ */ jsx96(
|
|
7179
6790
|
"div",
|
|
7180
6791
|
{
|
|
7181
6792
|
...other,
|
|
@@ -7183,30 +6794,30 @@ var ActionSheetHeader = (props) => {
|
|
|
7183
6794
|
props.className,
|
|
7184
6795
|
ACTIONSHEETHEADER_CLASSNAME
|
|
7185
6796
|
),
|
|
7186
|
-
children: /* @__PURE__ */
|
|
7187
|
-
/* @__PURE__ */
|
|
7188
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
7189
|
-
title !== "" && /* @__PURE__ */
|
|
7190
|
-
subTitle !== "" && /* @__PURE__ */
|
|
6797
|
+
children: /* @__PURE__ */ jsxs41(Fragment31, { children: [
|
|
6798
|
+
/* @__PURE__ */ jsxs41("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
6799
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx96(Fragment31, { children: /* @__PURE__ */ jsxs41("div", { className: "k-actionsheet-title", children: [
|
|
6800
|
+
title !== "" && /* @__PURE__ */ jsx96("div", { className: "k-text-center", children: title }),
|
|
6801
|
+
subTitle !== "" && /* @__PURE__ */ jsx96("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
7191
6802
|
] }) }),
|
|
7192
|
-
props.children && /* @__PURE__ */
|
|
7193
|
-
actions && /* @__PURE__ */
|
|
6803
|
+
props.children && /* @__PURE__ */ jsx96("div", { className: "k-actionsheet-title", children: props.children }),
|
|
6804
|
+
actions && /* @__PURE__ */ jsx96(Fragment31, { children: /* @__PURE__ */ jsx96("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx96(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
7194
6805
|
] }),
|
|
7195
|
-
filter && /* @__PURE__ */
|
|
6806
|
+
filter && /* @__PURE__ */ jsx96(Fragment31, { children: /* @__PURE__ */ jsx96("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx96(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
7196
6807
|
] })
|
|
7197
6808
|
}
|
|
7198
6809
|
);
|
|
7199
6810
|
};
|
|
7200
6811
|
|
|
7201
6812
|
// src/action-sheet/actionsheet-footer.tsx
|
|
7202
|
-
import { Fragment as
|
|
6813
|
+
import { Fragment as Fragment32, jsx as jsx97, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
7203
6814
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
7204
6815
|
var ActionSheetFooter = (props) => {
|
|
7205
6816
|
const {
|
|
7206
6817
|
actions,
|
|
7207
6818
|
...other
|
|
7208
6819
|
} = props;
|
|
7209
|
-
return /* @__PURE__ */
|
|
6820
|
+
return /* @__PURE__ */ jsx97(
|
|
7210
6821
|
action_buttons_spec_default,
|
|
7211
6822
|
{
|
|
7212
6823
|
...other,
|
|
@@ -7215,17 +6826,17 @@ var ActionSheetFooter = (props) => {
|
|
|
7215
6826
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
7216
6827
|
),
|
|
7217
6828
|
alignment: "stretched",
|
|
7218
|
-
children: /* @__PURE__ */
|
|
6829
|
+
children: /* @__PURE__ */ jsxs42(Fragment32, { children: [
|
|
7219
6830
|
actions && actions.map((action, index) => {
|
|
7220
6831
|
if (action === "|") {
|
|
7221
|
-
return /* @__PURE__ */
|
|
6832
|
+
return /* @__PURE__ */ jsx97("span", { className: "k-separator" }, index);
|
|
7222
6833
|
}
|
|
7223
6834
|
if (action === " ") {
|
|
7224
|
-
return /* @__PURE__ */
|
|
6835
|
+
return /* @__PURE__ */ jsx97("span", { className: "k-spacer" }, index);
|
|
7225
6836
|
}
|
|
7226
6837
|
const importantFlag = action.startsWith("!");
|
|
7227
6838
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
7228
|
-
return /* @__PURE__ */
|
|
6839
|
+
return /* @__PURE__ */ jsx97(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
7229
6840
|
}),
|
|
7230
6841
|
!actions && props.children
|
|
7231
6842
|
] })
|
|
@@ -7234,12 +6845,12 @@ var ActionSheetFooter = (props) => {
|
|
|
7234
6845
|
};
|
|
7235
6846
|
|
|
7236
6847
|
// src/action-sheet/actionsheet-items.tsx
|
|
7237
|
-
import { jsx as
|
|
6848
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
7238
6849
|
var ActionSheetItems = (props) => {
|
|
7239
6850
|
const {
|
|
7240
6851
|
...other
|
|
7241
6852
|
} = props;
|
|
7242
|
-
return /* @__PURE__ */
|
|
6853
|
+
return /* @__PURE__ */ jsx98(
|
|
7243
6854
|
"div",
|
|
7244
6855
|
{
|
|
7245
6856
|
...other,
|
|
@@ -7253,8 +6864,8 @@ var ActionSheetItems = (props) => {
|
|
|
7253
6864
|
};
|
|
7254
6865
|
|
|
7255
6866
|
// src/action-sheet/actionsheet-item.tsx
|
|
7256
|
-
import { Fragment as
|
|
7257
|
-
var
|
|
6867
|
+
import { Fragment as Fragment33, jsx as jsx99, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6868
|
+
var states39 = [
|
|
7258
6869
|
States.hover,
|
|
7259
6870
|
States.focus,
|
|
7260
6871
|
States.selected,
|
|
@@ -7262,9 +6873,9 @@ var states43 = [
|
|
|
7262
6873
|
];
|
|
7263
6874
|
|
|
7264
6875
|
// src/combobox/combobox.spec.tsx
|
|
7265
|
-
import { Fragment as
|
|
6876
|
+
import { Fragment as Fragment34, jsx as jsx100, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7266
6877
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
7267
|
-
var
|
|
6878
|
+
var states40 = [
|
|
7268
6879
|
States.hover,
|
|
7269
6880
|
States.focus,
|
|
7270
6881
|
States.valid,
|
|
@@ -7274,12 +6885,12 @@ var states44 = [
|
|
|
7274
6885
|
States.disabled,
|
|
7275
6886
|
States.readonly
|
|
7276
6887
|
];
|
|
7277
|
-
var
|
|
6888
|
+
var defaultProps37 = {
|
|
7278
6889
|
size: Input.defaultProps.size,
|
|
7279
6890
|
rounded: Input.defaultProps.rounded,
|
|
7280
6891
|
fillMode: Input.defaultProps.fillMode
|
|
7281
6892
|
};
|
|
7282
|
-
var
|
|
6893
|
+
var options38 = {
|
|
7283
6894
|
size: [Size.small, Size.medium, Size.large],
|
|
7284
6895
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7285
6896
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -7307,8 +6918,8 @@ var Combobox = (props) => {
|
|
|
7307
6918
|
adaptiveSettings,
|
|
7308
6919
|
...other
|
|
7309
6920
|
} = props;
|
|
7310
|
-
return /* @__PURE__ */
|
|
7311
|
-
/* @__PURE__ */
|
|
6921
|
+
return /* @__PURE__ */ jsxs44(Fragment34, { children: [
|
|
6922
|
+
/* @__PURE__ */ jsxs44(
|
|
7312
6923
|
Input,
|
|
7313
6924
|
{
|
|
7314
6925
|
...other,
|
|
@@ -7325,12 +6936,12 @@ var Combobox = (props) => {
|
|
|
7325
6936
|
readonly,
|
|
7326
6937
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
7327
6938
|
children: [
|
|
7328
|
-
prefix && /* @__PURE__ */
|
|
7329
|
-
/* @__PURE__ */
|
|
7330
|
-
/* @__PURE__ */
|
|
6939
|
+
prefix && /* @__PURE__ */ jsxs44(Fragment34, { children: [
|
|
6940
|
+
/* @__PURE__ */ jsx100(InputPrefix, { children: prefix }),
|
|
6941
|
+
/* @__PURE__ */ jsx100(InputSeparator, {})
|
|
7331
6942
|
] }),
|
|
7332
|
-
/* @__PURE__ */
|
|
7333
|
-
/* @__PURE__ */
|
|
6943
|
+
/* @__PURE__ */ jsx100(InputInnerInput, { placeholder, value }),
|
|
6944
|
+
/* @__PURE__ */ jsx100(
|
|
7334
6945
|
InputValidationIcon,
|
|
7335
6946
|
{
|
|
7336
6947
|
valid,
|
|
@@ -7339,14 +6950,14 @@ var Combobox = (props) => {
|
|
|
7339
6950
|
disabled
|
|
7340
6951
|
}
|
|
7341
6952
|
),
|
|
7342
|
-
/* @__PURE__ */
|
|
6953
|
+
/* @__PURE__ */ jsx100(
|
|
7343
6954
|
InputLoadingIcon,
|
|
7344
6955
|
{
|
|
7345
6956
|
loading,
|
|
7346
6957
|
disabled
|
|
7347
6958
|
}
|
|
7348
6959
|
),
|
|
7349
|
-
/* @__PURE__ */
|
|
6960
|
+
/* @__PURE__ */ jsx100(
|
|
7350
6961
|
InputClearValue,
|
|
7351
6962
|
{
|
|
7352
6963
|
loading,
|
|
@@ -7355,11 +6966,11 @@ var Combobox = (props) => {
|
|
|
7355
6966
|
value
|
|
7356
6967
|
}
|
|
7357
6968
|
),
|
|
7358
|
-
suffix && /* @__PURE__ */
|
|
7359
|
-
/* @__PURE__ */
|
|
7360
|
-
/* @__PURE__ */
|
|
6969
|
+
suffix && /* @__PURE__ */ jsxs44(Fragment34, { children: [
|
|
6970
|
+
/* @__PURE__ */ jsx100(InputSeparator, {}),
|
|
6971
|
+
/* @__PURE__ */ jsx100(InputSuffix, { children: suffix })
|
|
7361
6972
|
] }),
|
|
7362
|
-
/* @__PURE__ */
|
|
6973
|
+
/* @__PURE__ */ jsx100(
|
|
7363
6974
|
Button,
|
|
7364
6975
|
{
|
|
7365
6976
|
className: "k-input-button",
|
|
@@ -7372,9 +6983,9 @@ var Combobox = (props) => {
|
|
|
7372
6983
|
]
|
|
7373
6984
|
}
|
|
7374
6985
|
),
|
|
7375
|
-
opened && popup && /* @__PURE__ */
|
|
7376
|
-
adaptive && /* @__PURE__ */
|
|
7377
|
-
/* @__PURE__ */
|
|
6986
|
+
opened && popup && /* @__PURE__ */ jsx100(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
6987
|
+
adaptive && /* @__PURE__ */ jsxs44(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
6988
|
+
/* @__PURE__ */ jsx100(
|
|
7378
6989
|
ActionSheetHeader,
|
|
7379
6990
|
{
|
|
7380
6991
|
actions: ["x"],
|
|
@@ -7382,48 +6993,323 @@ var Combobox = (props) => {
|
|
|
7382
6993
|
title: "Select Item"
|
|
7383
6994
|
}
|
|
7384
6995
|
),
|
|
7385
|
-
/* @__PURE__ */
|
|
7386
|
-
/* @__PURE__ */
|
|
7387
|
-
/* @__PURE__ */
|
|
7388
|
-
/* @__PURE__ */
|
|
7389
|
-
] }) })
|
|
7390
|
-
] })
|
|
7391
|
-
] });
|
|
6996
|
+
/* @__PURE__ */ jsx100("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs44(List, { size: "large", children: [
|
|
6997
|
+
/* @__PURE__ */ jsx100(ListItem, { text: "List item" }),
|
|
6998
|
+
/* @__PURE__ */ jsx100(ListItem, { text: "List item" }),
|
|
6999
|
+
/* @__PURE__ */ jsx100(ListItem, { text: "List item" })
|
|
7000
|
+
] }) })
|
|
7001
|
+
] })
|
|
7002
|
+
] });
|
|
7003
|
+
};
|
|
7004
|
+
Combobox.states = states40;
|
|
7005
|
+
Combobox.options = options38;
|
|
7006
|
+
Combobox.className = COMBOBOX_CLASSNAME;
|
|
7007
|
+
Combobox.defaultProps = defaultProps37;
|
|
7008
|
+
|
|
7009
|
+
// src/combobox/templates/combobox-normal.tsx
|
|
7010
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
7011
|
+
|
|
7012
|
+
// src/combobox/templates/combobox-popup.tsx
|
|
7013
|
+
import { jsx as jsx102, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
7014
|
+
|
|
7015
|
+
// src/combobox/templates/combobox-grouping.tsx
|
|
7016
|
+
import { jsx as jsx103, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
7017
|
+
|
|
7018
|
+
// src/combobox/templates/combobox-adaptive.tsx
|
|
7019
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
7020
|
+
|
|
7021
|
+
// src/combobox/templates/combobox-prefix.tsx
|
|
7022
|
+
import { Fragment as Fragment35, jsx as jsx105 } from "react/jsx-runtime";
|
|
7023
|
+
|
|
7024
|
+
// src/combobox/templates/combobox-suffix.tsx
|
|
7025
|
+
import { Fragment as Fragment36, jsx as jsx106 } from "react/jsx-runtime";
|
|
7026
|
+
|
|
7027
|
+
// src/menu-button/menu-button.spec.tsx
|
|
7028
|
+
import { Fragment as Fragment37, jsx as jsx107, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7029
|
+
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7030
|
+
var states41 = [
|
|
7031
|
+
States.hover,
|
|
7032
|
+
States.focus,
|
|
7033
|
+
States.active,
|
|
7034
|
+
States.selected,
|
|
7035
|
+
States.disabled
|
|
7036
|
+
];
|
|
7037
|
+
var options39 = {
|
|
7038
|
+
size: [Size.small, Size.medium, Size.large],
|
|
7039
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7040
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
7041
|
+
themeColor: [
|
|
7042
|
+
ThemeColor.base,
|
|
7043
|
+
ThemeColor.primary,
|
|
7044
|
+
ThemeColor.secondary,
|
|
7045
|
+
ThemeColor.tertiary,
|
|
7046
|
+
ThemeColor.success,
|
|
7047
|
+
ThemeColor.warning,
|
|
7048
|
+
ThemeColor.error,
|
|
7049
|
+
ThemeColor.info,
|
|
7050
|
+
ThemeColor.light,
|
|
7051
|
+
ThemeColor.dark,
|
|
7052
|
+
ThemeColor.inverse
|
|
7053
|
+
]
|
|
7054
|
+
};
|
|
7055
|
+
var defaultProps38 = {
|
|
7056
|
+
size: Size.medium,
|
|
7057
|
+
rounded: Roundness.medium,
|
|
7058
|
+
fillMode: FillMode.solid,
|
|
7059
|
+
themeColor: ThemeColor.base,
|
|
7060
|
+
showArrow: true,
|
|
7061
|
+
arrowIconName: "caret-alt-down"
|
|
7062
|
+
};
|
|
7063
|
+
var MenuButton = (props) => {
|
|
7064
|
+
const {
|
|
7065
|
+
size = defaultProps38.size,
|
|
7066
|
+
rounded = defaultProps38.rounded,
|
|
7067
|
+
fillMode = defaultProps38.fillMode,
|
|
7068
|
+
themeColor = defaultProps38.themeColor,
|
|
7069
|
+
hover,
|
|
7070
|
+
focus,
|
|
7071
|
+
active,
|
|
7072
|
+
selected,
|
|
7073
|
+
disabled,
|
|
7074
|
+
icon,
|
|
7075
|
+
text,
|
|
7076
|
+
showArrow = defaultProps38.showArrow,
|
|
7077
|
+
arrowIconName = defaultProps38.arrowIconName,
|
|
7078
|
+
popup,
|
|
7079
|
+
opened,
|
|
7080
|
+
...other
|
|
7081
|
+
} = props;
|
|
7082
|
+
return /* @__PURE__ */ jsxs47(Fragment37, { children: [
|
|
7083
|
+
/* @__PURE__ */ jsx107(
|
|
7084
|
+
Button,
|
|
7085
|
+
{
|
|
7086
|
+
...other,
|
|
7087
|
+
className: classNames(
|
|
7088
|
+
props.className,
|
|
7089
|
+
MENUBUTTON_CLASSNAME
|
|
7090
|
+
),
|
|
7091
|
+
text,
|
|
7092
|
+
size,
|
|
7093
|
+
rounded,
|
|
7094
|
+
fillMode,
|
|
7095
|
+
themeColor,
|
|
7096
|
+
hover,
|
|
7097
|
+
focus,
|
|
7098
|
+
active,
|
|
7099
|
+
selected,
|
|
7100
|
+
disabled,
|
|
7101
|
+
icon,
|
|
7102
|
+
showArrow,
|
|
7103
|
+
arrowIconName
|
|
7104
|
+
}
|
|
7105
|
+
),
|
|
7106
|
+
opened && popup && /* @__PURE__ */ jsx107(Popup, { className: "k-menu-popup", children: popup })
|
|
7107
|
+
] });
|
|
7108
|
+
};
|
|
7109
|
+
MenuButton.states = states41;
|
|
7110
|
+
MenuButton.options = options39;
|
|
7111
|
+
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
7112
|
+
MenuButton.defaultProps = defaultProps38;
|
|
7113
|
+
|
|
7114
|
+
// src/menu-button/templates/icon-menu-button.tsx
|
|
7115
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
7116
|
+
|
|
7117
|
+
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7118
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
7119
|
+
|
|
7120
|
+
// src/menu-button/templates/text-menu-button.tsx
|
|
7121
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
7122
|
+
|
|
7123
|
+
// src/menu/menu-item.spec.tsx
|
|
7124
|
+
import { Fragment as Fragment38, jsx as jsx111, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
7125
|
+
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7126
|
+
var states42 = [
|
|
7127
|
+
States.hover,
|
|
7128
|
+
States.focus,
|
|
7129
|
+
States.active,
|
|
7130
|
+
States.selected,
|
|
7131
|
+
States.disabled
|
|
7132
|
+
];
|
|
7133
|
+
var options40 = {};
|
|
7134
|
+
var defaultProps39 = {
|
|
7135
|
+
dir: "ltr"
|
|
7136
|
+
};
|
|
7137
|
+
var MenuItem = (props) => {
|
|
7138
|
+
const {
|
|
7139
|
+
hover,
|
|
7140
|
+
focus,
|
|
7141
|
+
active,
|
|
7142
|
+
selected,
|
|
7143
|
+
disabled,
|
|
7144
|
+
icon,
|
|
7145
|
+
text,
|
|
7146
|
+
showArrow,
|
|
7147
|
+
arrowIconName,
|
|
7148
|
+
dir = defaultProps39.dir,
|
|
7149
|
+
children,
|
|
7150
|
+
...other
|
|
7151
|
+
} = props;
|
|
7152
|
+
const contentTemplate = /* @__PURE__ */ jsx111(Fragment38, {});
|
|
7153
|
+
if (children) {
|
|
7154
|
+
children.forEach((child) => {
|
|
7155
|
+
const component = child.type;
|
|
7156
|
+
if (component === "MenuItemContent") {
|
|
7157
|
+
contentTemplate.props.children.push(child);
|
|
7158
|
+
return;
|
|
7159
|
+
}
|
|
7160
|
+
});
|
|
7161
|
+
}
|
|
7162
|
+
let expandArrowName = arrowIconName;
|
|
7163
|
+
if (!expandArrowName) {
|
|
7164
|
+
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7165
|
+
}
|
|
7166
|
+
return /* @__PURE__ */ jsxs48(
|
|
7167
|
+
"li",
|
|
7168
|
+
{
|
|
7169
|
+
...other,
|
|
7170
|
+
className: classNames(
|
|
7171
|
+
props.className,
|
|
7172
|
+
MENUITEM_CLASSNAME,
|
|
7173
|
+
//TODO
|
|
7174
|
+
"k-item",
|
|
7175
|
+
stateClassNames(MENUITEM_CLASSNAME, {
|
|
7176
|
+
focus,
|
|
7177
|
+
disabled
|
|
7178
|
+
})
|
|
7179
|
+
),
|
|
7180
|
+
children: [
|
|
7181
|
+
/* @__PURE__ */ jsxs48(
|
|
7182
|
+
"span",
|
|
7183
|
+
{
|
|
7184
|
+
className: classNames(
|
|
7185
|
+
"k-link k-menu-link",
|
|
7186
|
+
stateClassNames("k-menu-link", {
|
|
7187
|
+
hover,
|
|
7188
|
+
active,
|
|
7189
|
+
selected,
|
|
7190
|
+
disabled
|
|
7191
|
+
})
|
|
7192
|
+
),
|
|
7193
|
+
children: [
|
|
7194
|
+
icon && /* @__PURE__ */ jsx111(Icon, { className: "k-menu-link-icon", icon }),
|
|
7195
|
+
/* @__PURE__ */ jsx111("span", { className: "k-menu-link-text", children: text }),
|
|
7196
|
+
showArrow && /* @__PURE__ */ jsx111("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx111(Icon, { icon: expandArrowName }) })
|
|
7197
|
+
]
|
|
7198
|
+
}
|
|
7199
|
+
),
|
|
7200
|
+
contentTemplate
|
|
7201
|
+
]
|
|
7202
|
+
}
|
|
7203
|
+
);
|
|
7204
|
+
};
|
|
7205
|
+
MenuItem.states = states42;
|
|
7206
|
+
MenuItem.options = options40;
|
|
7207
|
+
MenuItem.className = MENUITEM_CLASSNAME;
|
|
7208
|
+
MenuItem.defaultProps = defaultProps39;
|
|
7209
|
+
var menu_item_spec_default = MenuItem;
|
|
7210
|
+
|
|
7211
|
+
// src/menu/menu-separator.spec.tsx
|
|
7212
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
7213
|
+
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7214
|
+
var defaultProps40 = {
|
|
7215
|
+
orientation: "horizontal"
|
|
7216
|
+
};
|
|
7217
|
+
var MenuSeparator = (props) => {
|
|
7218
|
+
const {
|
|
7219
|
+
orientation = defaultProps40.orientation,
|
|
7220
|
+
...other
|
|
7221
|
+
} = props;
|
|
7222
|
+
return /* @__PURE__ */ jsx112(
|
|
7223
|
+
"li",
|
|
7224
|
+
{
|
|
7225
|
+
...other,
|
|
7226
|
+
className: classNames(
|
|
7227
|
+
props.className,
|
|
7228
|
+
"k-item",
|
|
7229
|
+
SEPARATOR_CLASSNAME,
|
|
7230
|
+
{
|
|
7231
|
+
[`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
|
|
7232
|
+
}
|
|
7233
|
+
)
|
|
7234
|
+
}
|
|
7235
|
+
);
|
|
7236
|
+
};
|
|
7237
|
+
var menu_separator_spec_default = MenuSeparator;
|
|
7238
|
+
|
|
7239
|
+
// src/menu/menu-item-content.tsx
|
|
7240
|
+
import { Fragment as Fragment39, jsx as jsx113 } from "react/jsx-runtime";
|
|
7241
|
+
|
|
7242
|
+
// src/menu/menu-list.spec.tsx
|
|
7243
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
7244
|
+
import { createElement } from "react";
|
|
7245
|
+
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7246
|
+
var states43 = [];
|
|
7247
|
+
var options41 = {
|
|
7248
|
+
size: [Size.small, Size.medium, Size.large]
|
|
7249
|
+
};
|
|
7250
|
+
var defaultProps41 = {
|
|
7251
|
+
size: Size.medium,
|
|
7252
|
+
dir: "ltr"
|
|
7253
|
+
};
|
|
7254
|
+
var MenuList = (props) => {
|
|
7255
|
+
const {
|
|
7256
|
+
children,
|
|
7257
|
+
size = defaultProps41.size,
|
|
7258
|
+
dir = defaultProps41.dir,
|
|
7259
|
+
...other
|
|
7260
|
+
} = props;
|
|
7261
|
+
const listChildren = [];
|
|
7262
|
+
if (children) {
|
|
7263
|
+
if (Array.isArray(children)) {
|
|
7264
|
+
children.map((child, index) => {
|
|
7265
|
+
if (child.type === menu_item_spec_default) {
|
|
7266
|
+
listChildren.push(
|
|
7267
|
+
/* @__PURE__ */ createElement(menu_item_spec_default, { ...child.props, dir, key: index })
|
|
7268
|
+
);
|
|
7269
|
+
} else if (child.type === menu_separator_spec_default) {
|
|
7270
|
+
listChildren.push(
|
|
7271
|
+
/* @__PURE__ */ jsx114(menu_separator_spec_default, {})
|
|
7272
|
+
);
|
|
7273
|
+
} else {
|
|
7274
|
+
listChildren.push(child);
|
|
7275
|
+
}
|
|
7276
|
+
});
|
|
7277
|
+
}
|
|
7278
|
+
}
|
|
7279
|
+
return /* @__PURE__ */ jsx114(
|
|
7280
|
+
"ul",
|
|
7281
|
+
{
|
|
7282
|
+
...other,
|
|
7283
|
+
className: classNames(
|
|
7284
|
+
props.className,
|
|
7285
|
+
MENULIST_CLASSNAME,
|
|
7286
|
+
optionClassNames(MENULIST_CLASSNAME, {
|
|
7287
|
+
size
|
|
7288
|
+
})
|
|
7289
|
+
),
|
|
7290
|
+
children: listChildren
|
|
7291
|
+
}
|
|
7292
|
+
);
|
|
7392
7293
|
};
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
// src/combobox/templates/combobox-normal.tsx
|
|
7399
|
-
import { jsx as jsx113 } from "react/jsx-runtime";
|
|
7400
|
-
|
|
7401
|
-
// src/combobox/templates/combobox-popup.tsx
|
|
7402
|
-
import { jsx as jsx114, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7403
|
-
|
|
7404
|
-
// src/combobox/templates/combobox-grouping.tsx
|
|
7405
|
-
import { jsx as jsx115, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7406
|
-
|
|
7407
|
-
// src/combobox/templates/combobox-adaptive.tsx
|
|
7408
|
-
import { jsx as jsx116 } from "react/jsx-runtime";
|
|
7409
|
-
|
|
7410
|
-
// src/combobox/templates/combobox-prefix.tsx
|
|
7411
|
-
import { Fragment as Fragment38, jsx as jsx117 } from "react/jsx-runtime";
|
|
7294
|
+
MenuList.states = states43;
|
|
7295
|
+
MenuList.options = options41;
|
|
7296
|
+
MenuList.className = MENULIST_CLASSNAME;
|
|
7297
|
+
MenuList.defaultProps = defaultProps41;
|
|
7412
7298
|
|
|
7413
|
-
// src/
|
|
7414
|
-
import {
|
|
7299
|
+
// src/menu-button/templates/menu-button-popup.tsx
|
|
7300
|
+
import { jsx as jsx115, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7415
7301
|
|
|
7416
|
-
// src/
|
|
7417
|
-
import { Fragment as Fragment40, jsx as
|
|
7418
|
-
var
|
|
7419
|
-
var
|
|
7302
|
+
// src/split-button/split-button.spec.tsx
|
|
7303
|
+
import { Fragment as Fragment40, jsx as jsx116, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7304
|
+
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7305
|
+
var states44 = [
|
|
7420
7306
|
States.hover,
|
|
7421
7307
|
States.focus,
|
|
7422
7308
|
States.active,
|
|
7423
7309
|
States.selected,
|
|
7424
7310
|
States.disabled
|
|
7425
7311
|
];
|
|
7426
|
-
var
|
|
7312
|
+
var options42 = {
|
|
7427
7313
|
size: [Size.small, Size.medium, Size.large],
|
|
7428
7314
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7429
7315
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7441,20 +7327,19 @@ var options43 = {
|
|
|
7441
7327
|
ThemeColor.inverse
|
|
7442
7328
|
]
|
|
7443
7329
|
};
|
|
7444
|
-
var
|
|
7330
|
+
var defaultProps42 = {
|
|
7445
7331
|
size: Size.medium,
|
|
7446
7332
|
rounded: Roundness.medium,
|
|
7447
7333
|
fillMode: FillMode.solid,
|
|
7448
7334
|
themeColor: ThemeColor.base,
|
|
7449
|
-
showArrow: true,
|
|
7450
7335
|
arrowIconName: "caret-alt-down"
|
|
7451
7336
|
};
|
|
7452
|
-
var
|
|
7337
|
+
var SplitButton = (props) => {
|
|
7453
7338
|
const {
|
|
7454
|
-
size =
|
|
7455
|
-
rounded =
|
|
7456
|
-
fillMode =
|
|
7457
|
-
themeColor =
|
|
7339
|
+
size = defaultProps42.size,
|
|
7340
|
+
rounded = defaultProps42.rounded,
|
|
7341
|
+
fillMode = defaultProps42.fillMode,
|
|
7342
|
+
themeColor = defaultProps42.themeColor,
|
|
7458
7343
|
hover,
|
|
7459
7344
|
focus,
|
|
7460
7345
|
active,
|
|
@@ -7462,71 +7347,80 @@ var MenuButton = (props) => {
|
|
|
7462
7347
|
disabled,
|
|
7463
7348
|
icon,
|
|
7464
7349
|
text,
|
|
7465
|
-
|
|
7466
|
-
arrowIconName = defaultProps43.arrowIconName,
|
|
7350
|
+
arrowIconName = defaultProps42.arrowIconName,
|
|
7467
7351
|
popup,
|
|
7468
7352
|
opened,
|
|
7469
7353
|
...other
|
|
7470
7354
|
} = props;
|
|
7471
|
-
return /* @__PURE__ */
|
|
7472
|
-
/* @__PURE__ */
|
|
7473
|
-
|
|
7355
|
+
return /* @__PURE__ */ jsxs50(Fragment40, { children: [
|
|
7356
|
+
/* @__PURE__ */ jsxs50(
|
|
7357
|
+
"div",
|
|
7474
7358
|
{
|
|
7475
7359
|
...other,
|
|
7476
7360
|
className: classNames(
|
|
7477
7361
|
props.className,
|
|
7478
|
-
|
|
7362
|
+
SPLITBUTTON_CLASSNAME,
|
|
7363
|
+
"k-button-group",
|
|
7364
|
+
optionClassNames(SPLITBUTTON_CLASSNAME, {
|
|
7365
|
+
rounded
|
|
7366
|
+
})
|
|
7479
7367
|
),
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7368
|
+
children: [
|
|
7369
|
+
/* @__PURE__ */ jsx116(
|
|
7370
|
+
Button,
|
|
7371
|
+
{
|
|
7372
|
+
text,
|
|
7373
|
+
icon,
|
|
7374
|
+
size,
|
|
7375
|
+
rounded,
|
|
7376
|
+
fillMode,
|
|
7377
|
+
themeColor,
|
|
7378
|
+
hover,
|
|
7379
|
+
focus,
|
|
7380
|
+
active,
|
|
7381
|
+
selected,
|
|
7382
|
+
disabled,
|
|
7383
|
+
children: props.children
|
|
7384
|
+
}
|
|
7385
|
+
),
|
|
7386
|
+
/* @__PURE__ */ jsx116(
|
|
7387
|
+
Button,
|
|
7388
|
+
{
|
|
7389
|
+
className: "k-split-button-arrow",
|
|
7390
|
+
icon: arrowIconName,
|
|
7391
|
+
size,
|
|
7392
|
+
rounded,
|
|
7393
|
+
fillMode,
|
|
7394
|
+
disabled
|
|
7395
|
+
}
|
|
7396
|
+
)
|
|
7397
|
+
]
|
|
7493
7398
|
}
|
|
7494
7399
|
),
|
|
7495
|
-
opened && popup && /* @__PURE__ */
|
|
7400
|
+
opened && popup && /* @__PURE__ */ jsx116(Popup, { className: "k-menu-popup", children: popup })
|
|
7496
7401
|
] });
|
|
7497
7402
|
};
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
// src/menu-button/templates/icon-menu-button.tsx
|
|
7504
|
-
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
7505
|
-
|
|
7506
|
-
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7507
|
-
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
7508
|
-
|
|
7509
|
-
// src/menu-button/templates/text-menu-button.tsx
|
|
7510
|
-
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
7511
|
-
|
|
7512
|
-
// src/menu-button/templates/menu-button-popup.tsx
|
|
7513
|
-
import { jsx as jsx123, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7403
|
+
SplitButton.states = states44;
|
|
7404
|
+
SplitButton.options = options42;
|
|
7405
|
+
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
7406
|
+
SplitButton.defaultProps = defaultProps42;
|
|
7407
|
+
var split_button_spec_default = SplitButton;
|
|
7514
7408
|
|
|
7515
7409
|
// src/toolbar/toolbar.spec.tsx
|
|
7516
|
-
import { jsx as
|
|
7410
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
7517
7411
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7518
|
-
var
|
|
7412
|
+
var states45 = [
|
|
7519
7413
|
States.focus
|
|
7520
7414
|
];
|
|
7521
|
-
var
|
|
7415
|
+
var options43 = {
|
|
7522
7416
|
size: [Size.small, Size.medium, Size.large]
|
|
7523
7417
|
};
|
|
7524
|
-
var
|
|
7418
|
+
var defaultProps43 = {
|
|
7525
7419
|
size: Size.medium
|
|
7526
7420
|
};
|
|
7527
7421
|
var Toolbar = (props) => {
|
|
7528
7422
|
const {
|
|
7529
|
-
size =
|
|
7423
|
+
size = defaultProps43.size,
|
|
7530
7424
|
focus,
|
|
7531
7425
|
resizable,
|
|
7532
7426
|
...other
|
|
@@ -7536,7 +7430,7 @@ var Toolbar = (props) => {
|
|
|
7536
7430
|
const tempToolbarChildren = [];
|
|
7537
7431
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7538
7432
|
tempToolbarChildren.push(
|
|
7539
|
-
/* @__PURE__ */
|
|
7433
|
+
/* @__PURE__ */ jsx117(
|
|
7540
7434
|
Button,
|
|
7541
7435
|
{
|
|
7542
7436
|
...child.props,
|
|
@@ -7547,7 +7441,7 @@ var Toolbar = (props) => {
|
|
|
7547
7441
|
);
|
|
7548
7442
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7549
7443
|
tempToolbarChildren.push(
|
|
7550
|
-
/* @__PURE__ */
|
|
7444
|
+
/* @__PURE__ */ jsx117(
|
|
7551
7445
|
Button,
|
|
7552
7446
|
{
|
|
7553
7447
|
...child.props,
|
|
@@ -7558,7 +7452,7 @@ var Toolbar = (props) => {
|
|
|
7558
7452
|
);
|
|
7559
7453
|
} else if (child.type === Button) {
|
|
7560
7454
|
tempToolbarChildren.push(
|
|
7561
|
-
/* @__PURE__ */
|
|
7455
|
+
/* @__PURE__ */ jsx117(
|
|
7562
7456
|
Button,
|
|
7563
7457
|
{
|
|
7564
7458
|
...child.props,
|
|
@@ -7569,7 +7463,7 @@ var Toolbar = (props) => {
|
|
|
7569
7463
|
);
|
|
7570
7464
|
} else if (child.type === MenuButton) {
|
|
7571
7465
|
tempToolbarChildren.push(
|
|
7572
|
-
/* @__PURE__ */
|
|
7466
|
+
/* @__PURE__ */ jsx117(
|
|
7573
7467
|
MenuButton,
|
|
7574
7468
|
{
|
|
7575
7469
|
...child.props,
|
|
@@ -7580,7 +7474,7 @@ var Toolbar = (props) => {
|
|
|
7580
7474
|
);
|
|
7581
7475
|
} else if (child.type === split_button_spec_default) {
|
|
7582
7476
|
tempToolbarChildren.push(
|
|
7583
|
-
/* @__PURE__ */
|
|
7477
|
+
/* @__PURE__ */ jsx117(
|
|
7584
7478
|
split_button_spec_default,
|
|
7585
7479
|
{
|
|
7586
7480
|
...child.props,
|
|
@@ -7594,7 +7488,7 @@ var Toolbar = (props) => {
|
|
|
7594
7488
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7595
7489
|
childrenArray.forEach((button, bindex) => {
|
|
7596
7490
|
buttonGroupItems.push(
|
|
7597
|
-
/* @__PURE__ */
|
|
7491
|
+
/* @__PURE__ */ jsx117(
|
|
7598
7492
|
Button,
|
|
7599
7493
|
{
|
|
7600
7494
|
...button.props,
|
|
@@ -7605,7 +7499,7 @@ var Toolbar = (props) => {
|
|
|
7605
7499
|
);
|
|
7606
7500
|
});
|
|
7607
7501
|
tempToolbarChildren.push(
|
|
7608
|
-
/* @__PURE__ */
|
|
7502
|
+
/* @__PURE__ */ jsx117(
|
|
7609
7503
|
ButtonGroup,
|
|
7610
7504
|
{
|
|
7611
7505
|
...child.props,
|
|
@@ -7617,7 +7511,7 @@ var Toolbar = (props) => {
|
|
|
7617
7511
|
);
|
|
7618
7512
|
} else if (child.type === Combobox) {
|
|
7619
7513
|
tempToolbarChildren.push(
|
|
7620
|
-
/* @__PURE__ */
|
|
7514
|
+
/* @__PURE__ */ jsx117(
|
|
7621
7515
|
Combobox,
|
|
7622
7516
|
{
|
|
7623
7517
|
...child.props,
|
|
@@ -7628,7 +7522,7 @@ var Toolbar = (props) => {
|
|
|
7628
7522
|
);
|
|
7629
7523
|
} else if (child.type === DropdownList) {
|
|
7630
7524
|
tempToolbarChildren.push(
|
|
7631
|
-
/* @__PURE__ */
|
|
7525
|
+
/* @__PURE__ */ jsx117(
|
|
7632
7526
|
DropdownList,
|
|
7633
7527
|
{
|
|
7634
7528
|
...child.props,
|
|
@@ -7639,7 +7533,7 @@ var Toolbar = (props) => {
|
|
|
7639
7533
|
);
|
|
7640
7534
|
} else if (child.type === ColorPicker) {
|
|
7641
7535
|
tempToolbarChildren.push(
|
|
7642
|
-
/* @__PURE__ */
|
|
7536
|
+
/* @__PURE__ */ jsx117(
|
|
7643
7537
|
ColorPicker,
|
|
7644
7538
|
{
|
|
7645
7539
|
...child.props,
|
|
@@ -7661,7 +7555,7 @@ var Toolbar = (props) => {
|
|
|
7661
7555
|
addUniqueToolClass(child, index);
|
|
7662
7556
|
});
|
|
7663
7557
|
}
|
|
7664
|
-
return /* @__PURE__ */
|
|
7558
|
+
return /* @__PURE__ */ jsx117(
|
|
7665
7559
|
"div",
|
|
7666
7560
|
{
|
|
7667
7561
|
...other,
|
|
@@ -7682,26 +7576,26 @@ var Toolbar = (props) => {
|
|
|
7682
7576
|
}
|
|
7683
7577
|
);
|
|
7684
7578
|
};
|
|
7685
|
-
Toolbar.states =
|
|
7686
|
-
Toolbar.options =
|
|
7579
|
+
Toolbar.states = states45;
|
|
7580
|
+
Toolbar.options = options43;
|
|
7687
7581
|
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
7688
|
-
Toolbar.defaultProps =
|
|
7582
|
+
Toolbar.defaultProps = defaultProps43;
|
|
7689
7583
|
|
|
7690
7584
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7691
|
-
import { jsx as
|
|
7585
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
7692
7586
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7693
|
-
var
|
|
7587
|
+
var states46 = [
|
|
7694
7588
|
States.focus
|
|
7695
7589
|
];
|
|
7696
|
-
var
|
|
7590
|
+
var options44 = {
|
|
7697
7591
|
size: [Size.small, Size.medium, Size.large]
|
|
7698
7592
|
};
|
|
7699
|
-
var
|
|
7593
|
+
var defaultProps44 = {
|
|
7700
7594
|
size: Size.medium
|
|
7701
7595
|
};
|
|
7702
7596
|
var ToolbarAngular = (props) => {
|
|
7703
7597
|
const {
|
|
7704
|
-
size =
|
|
7598
|
+
size = defaultProps44.size,
|
|
7705
7599
|
focus,
|
|
7706
7600
|
resizable,
|
|
7707
7601
|
...other
|
|
@@ -7711,7 +7605,7 @@ var ToolbarAngular = (props) => {
|
|
|
7711
7605
|
const tempToolbarChildren = [];
|
|
7712
7606
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7713
7607
|
tempToolbarChildren.push(
|
|
7714
|
-
/* @__PURE__ */
|
|
7608
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7715
7609
|
Button,
|
|
7716
7610
|
{
|
|
7717
7611
|
...child.props,
|
|
@@ -7722,7 +7616,7 @@ var ToolbarAngular = (props) => {
|
|
|
7722
7616
|
);
|
|
7723
7617
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7724
7618
|
tempToolbarChildren.push(
|
|
7725
|
-
/* @__PURE__ */
|
|
7619
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7726
7620
|
Button,
|
|
7727
7621
|
{
|
|
7728
7622
|
...child.props,
|
|
@@ -7733,7 +7627,7 @@ var ToolbarAngular = (props) => {
|
|
|
7733
7627
|
);
|
|
7734
7628
|
} else if (child.type === Button) {
|
|
7735
7629
|
tempToolbarChildren.push(
|
|
7736
|
-
/* @__PURE__ */
|
|
7630
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7737
7631
|
Button,
|
|
7738
7632
|
{
|
|
7739
7633
|
...child.props,
|
|
@@ -7744,7 +7638,7 @@ var ToolbarAngular = (props) => {
|
|
|
7744
7638
|
);
|
|
7745
7639
|
} else if (child.type === MenuButton) {
|
|
7746
7640
|
tempToolbarChildren.push(
|
|
7747
|
-
/* @__PURE__ */
|
|
7641
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7748
7642
|
MenuButton,
|
|
7749
7643
|
{
|
|
7750
7644
|
...child.props,
|
|
@@ -7755,7 +7649,7 @@ var ToolbarAngular = (props) => {
|
|
|
7755
7649
|
);
|
|
7756
7650
|
} else if (child.type === split_button_spec_default) {
|
|
7757
7651
|
tempToolbarChildren.push(
|
|
7758
|
-
/* @__PURE__ */
|
|
7652
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7759
7653
|
split_button_spec_default,
|
|
7760
7654
|
{
|
|
7761
7655
|
...child.props,
|
|
@@ -7769,7 +7663,7 @@ var ToolbarAngular = (props) => {
|
|
|
7769
7663
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7770
7664
|
childrenArray.forEach((button, bindex) => {
|
|
7771
7665
|
buttonGroupItems.push(
|
|
7772
|
-
/* @__PURE__ */
|
|
7666
|
+
/* @__PURE__ */ jsx118(
|
|
7773
7667
|
Button,
|
|
7774
7668
|
{
|
|
7775
7669
|
...button.props,
|
|
@@ -7780,7 +7674,7 @@ var ToolbarAngular = (props) => {
|
|
|
7780
7674
|
);
|
|
7781
7675
|
});
|
|
7782
7676
|
tempToolbarChildren.push(
|
|
7783
|
-
/* @__PURE__ */
|
|
7677
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7784
7678
|
ButtonGroup,
|
|
7785
7679
|
{
|
|
7786
7680
|
...child.props,
|
|
@@ -7792,7 +7686,7 @@ var ToolbarAngular = (props) => {
|
|
|
7792
7686
|
);
|
|
7793
7687
|
} else if (child.type === Combobox) {
|
|
7794
7688
|
tempToolbarChildren.push(
|
|
7795
|
-
/* @__PURE__ */
|
|
7689
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7796
7690
|
Combobox,
|
|
7797
7691
|
{
|
|
7798
7692
|
...child.props,
|
|
@@ -7803,7 +7697,7 @@ var ToolbarAngular = (props) => {
|
|
|
7803
7697
|
);
|
|
7804
7698
|
} else if (child.type === DropdownList) {
|
|
7805
7699
|
tempToolbarChildren.push(
|
|
7806
|
-
/* @__PURE__ */
|
|
7700
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7807
7701
|
DropdownList,
|
|
7808
7702
|
{
|
|
7809
7703
|
...child.props,
|
|
@@ -7814,7 +7708,7 @@ var ToolbarAngular = (props) => {
|
|
|
7814
7708
|
);
|
|
7815
7709
|
} else if (child.type === ColorPicker) {
|
|
7816
7710
|
tempToolbarChildren.push(
|
|
7817
|
-
/* @__PURE__ */
|
|
7711
|
+
/* @__PURE__ */ jsx118("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx118(
|
|
7818
7712
|
ColorPicker,
|
|
7819
7713
|
{
|
|
7820
7714
|
...child.props,
|
|
@@ -7836,7 +7730,7 @@ var ToolbarAngular = (props) => {
|
|
|
7836
7730
|
addUniqueToolClass(child, index);
|
|
7837
7731
|
});
|
|
7838
7732
|
}
|
|
7839
|
-
return /* @__PURE__ */
|
|
7733
|
+
return /* @__PURE__ */ jsx118(
|
|
7840
7734
|
"div",
|
|
7841
7735
|
{
|
|
7842
7736
|
...other,
|
|
@@ -7857,28 +7751,28 @@ var ToolbarAngular = (props) => {
|
|
|
7857
7751
|
}
|
|
7858
7752
|
);
|
|
7859
7753
|
};
|
|
7860
|
-
ToolbarAngular.states =
|
|
7861
|
-
ToolbarAngular.options =
|
|
7754
|
+
ToolbarAngular.states = states46;
|
|
7755
|
+
ToolbarAngular.options = options44;
|
|
7862
7756
|
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
7863
|
-
ToolbarAngular.defaultProps =
|
|
7757
|
+
ToolbarAngular.defaultProps = defaultProps44;
|
|
7864
7758
|
|
|
7865
7759
|
// src/toolbar/toolbar-separator.tsx
|
|
7866
|
-
import { jsx as
|
|
7760
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
7867
7761
|
|
|
7868
7762
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7869
|
-
import { jsx as
|
|
7763
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
7870
7764
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7871
|
-
var
|
|
7765
|
+
var states47 = [
|
|
7872
7766
|
States.focus
|
|
7873
7767
|
];
|
|
7874
|
-
var
|
|
7875
|
-
var
|
|
7768
|
+
var options45 = {};
|
|
7769
|
+
var defaultProps45 = {};
|
|
7876
7770
|
var ToolbarItem = (props) => {
|
|
7877
7771
|
const {
|
|
7878
7772
|
focus,
|
|
7879
7773
|
...other
|
|
7880
7774
|
} = props;
|
|
7881
|
-
return /* @__PURE__ */
|
|
7775
|
+
return /* @__PURE__ */ jsx120(
|
|
7882
7776
|
"div",
|
|
7883
7777
|
{
|
|
7884
7778
|
...other,
|
|
@@ -7893,20 +7787,20 @@ var ToolbarItem = (props) => {
|
|
|
7893
7787
|
}
|
|
7894
7788
|
);
|
|
7895
7789
|
};
|
|
7896
|
-
ToolbarItem.states =
|
|
7897
|
-
ToolbarItem.options =
|
|
7790
|
+
ToolbarItem.states = states47;
|
|
7791
|
+
ToolbarItem.options = options45;
|
|
7898
7792
|
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
7899
|
-
ToolbarItem.defaultProps =
|
|
7793
|
+
ToolbarItem.defaultProps = defaultProps45;
|
|
7900
7794
|
|
|
7901
7795
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7902
|
-
import { jsx as
|
|
7796
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
7903
7797
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7904
|
-
var
|
|
7905
|
-
var
|
|
7906
|
-
var
|
|
7798
|
+
var states48 = [];
|
|
7799
|
+
var options46 = {};
|
|
7800
|
+
var defaultProps46 = {};
|
|
7907
7801
|
var ToolbarPopup = (props) => {
|
|
7908
7802
|
const { ...other } = props;
|
|
7909
|
-
return /* @__PURE__ */
|
|
7803
|
+
return /* @__PURE__ */ jsx121(
|
|
7910
7804
|
Popup,
|
|
7911
7805
|
{
|
|
7912
7806
|
...other,
|
|
@@ -7918,51 +7812,156 @@ var ToolbarPopup = (props) => {
|
|
|
7918
7812
|
}
|
|
7919
7813
|
);
|
|
7920
7814
|
};
|
|
7921
|
-
ToolbarPopup.states =
|
|
7922
|
-
ToolbarPopup.options =
|
|
7815
|
+
ToolbarPopup.states = states48;
|
|
7816
|
+
ToolbarPopup.options = options46;
|
|
7923
7817
|
ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
7924
|
-
ToolbarPopup.defaultProps =
|
|
7818
|
+
ToolbarPopup.defaultProps = defaultProps46;
|
|
7819
|
+
|
|
7820
|
+
// src/split-button/templates/icon-split-button.tsx
|
|
7821
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
7822
|
+
|
|
7823
|
+
// src/split-button/templates/icon-text-split-button.tsx
|
|
7824
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
7825
|
+
|
|
7826
|
+
// src/split-button/templates/text-split-button.tsx
|
|
7827
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
7828
|
+
|
|
7829
|
+
// src/split-button/templates/split-button-popup.tsx
|
|
7830
|
+
import { jsx as jsx125, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7925
7831
|
|
|
7926
7832
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7927
|
-
import { Fragment as Fragment41, jsx as
|
|
7833
|
+
import { Fragment as Fragment41, jsx as jsx126, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7928
7834
|
|
|
7929
7835
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7930
|
-
import { jsx as
|
|
7836
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
7931
7837
|
|
|
7932
7838
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7933
|
-
import { jsx as
|
|
7839
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
7934
7840
|
|
|
7935
7841
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7936
|
-
import { jsx as
|
|
7842
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
7937
7843
|
|
|
7938
7844
|
// src/filemanager/filemanager-toolbar.spec.tsx
|
|
7939
|
-
import { jsx as
|
|
7845
|
+
import { jsx as jsx130 } from "react/jsx-runtime";
|
|
7940
7846
|
var FILEMANAGERTOOLBAR_CLASSNAME = `k-filemanager-toolbar`;
|
|
7941
|
-
var
|
|
7942
|
-
var
|
|
7943
|
-
var
|
|
7847
|
+
var states49 = [];
|
|
7848
|
+
var options47 = {};
|
|
7849
|
+
var defaultProps47 = {};
|
|
7944
7850
|
var FileManagerToolbar = (props) => {
|
|
7945
7851
|
const {
|
|
7946
7852
|
children,
|
|
7947
7853
|
...other
|
|
7948
7854
|
} = props;
|
|
7949
|
-
return /* @__PURE__ */
|
|
7855
|
+
return /* @__PURE__ */ jsx130(
|
|
7950
7856
|
Toolbar,
|
|
7951
7857
|
{
|
|
7858
|
+
...other,
|
|
7952
7859
|
className: classNames(
|
|
7953
7860
|
props.className,
|
|
7954
7861
|
FILEMANAGERTOOLBAR_CLASSNAME
|
|
7955
7862
|
),
|
|
7956
|
-
...other,
|
|
7957
7863
|
children
|
|
7958
7864
|
}
|
|
7959
7865
|
);
|
|
7960
7866
|
};
|
|
7961
|
-
FileManagerToolbar.states =
|
|
7962
|
-
FileManagerToolbar.options =
|
|
7867
|
+
FileManagerToolbar.states = states49;
|
|
7868
|
+
FileManagerToolbar.options = options47;
|
|
7963
7869
|
FileManagerToolbar.className = FILEMANAGERTOOLBAR_CLASSNAME;
|
|
7964
|
-
FileManagerToolbar.defaultProps =
|
|
7965
|
-
|
|
7870
|
+
FileManagerToolbar.defaultProps = defaultProps47;
|
|
7871
|
+
|
|
7872
|
+
// src/switch/switch.spec.tsx
|
|
7873
|
+
import { jsx as jsx131, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7874
|
+
var SWITCH_CLASSNAME = `k-switch`;
|
|
7875
|
+
var states50 = [
|
|
7876
|
+
States.hover,
|
|
7877
|
+
States.focus,
|
|
7878
|
+
States.disabled,
|
|
7879
|
+
States.checked
|
|
7880
|
+
];
|
|
7881
|
+
var options48 = {
|
|
7882
|
+
size: [Size.small, Size.medium, Size.large],
|
|
7883
|
+
trackRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7884
|
+
thumbRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
7885
|
+
};
|
|
7886
|
+
var defaultProps48 = {
|
|
7887
|
+
size: Size.medium,
|
|
7888
|
+
trackRounded: Roundness.full,
|
|
7889
|
+
thumbRounded: Roundness.full
|
|
7890
|
+
};
|
|
7891
|
+
var Switch = (props) => {
|
|
7892
|
+
const {
|
|
7893
|
+
checked,
|
|
7894
|
+
onLabel,
|
|
7895
|
+
offLabel,
|
|
7896
|
+
size = defaultProps48.size,
|
|
7897
|
+
trackRounded = defaultProps48.trackRounded,
|
|
7898
|
+
thumbRounded = defaultProps48.thumbRounded,
|
|
7899
|
+
hover,
|
|
7900
|
+
focus,
|
|
7901
|
+
disabled,
|
|
7902
|
+
...other
|
|
7903
|
+
} = props;
|
|
7904
|
+
return /* @__PURE__ */ jsxs53(
|
|
7905
|
+
"span",
|
|
7906
|
+
{
|
|
7907
|
+
...other,
|
|
7908
|
+
className: classNames(
|
|
7909
|
+
props.className,
|
|
7910
|
+
SWITCH_CLASSNAME,
|
|
7911
|
+
optionClassNames(SWITCH_CLASSNAME, {
|
|
7912
|
+
size
|
|
7913
|
+
}),
|
|
7914
|
+
stateClassNames(SWITCH_CLASSNAME, {
|
|
7915
|
+
hover,
|
|
7916
|
+
focus,
|
|
7917
|
+
disabled
|
|
7918
|
+
}),
|
|
7919
|
+
{
|
|
7920
|
+
[`${SWITCH_CLASSNAME}-on`]: checked,
|
|
7921
|
+
[`${SWITCH_CLASSNAME}-off`]: !checked
|
|
7922
|
+
}
|
|
7923
|
+
),
|
|
7924
|
+
children: [
|
|
7925
|
+
/* @__PURE__ */ jsxs53(
|
|
7926
|
+
"span",
|
|
7927
|
+
{
|
|
7928
|
+
className: classNames(
|
|
7929
|
+
"k-switch-track",
|
|
7930
|
+
optionClassNames(SWITCH_CLASSNAME, {
|
|
7931
|
+
rounded: trackRounded
|
|
7932
|
+
})
|
|
7933
|
+
),
|
|
7934
|
+
children: [
|
|
7935
|
+
onLabel && /* @__PURE__ */ jsx131("span", { className: "k-switch-label-on", children: onLabel }),
|
|
7936
|
+
offLabel && /* @__PURE__ */ jsx131("span", { className: "k-switch-label-off", children: offLabel })
|
|
7937
|
+
]
|
|
7938
|
+
}
|
|
7939
|
+
),
|
|
7940
|
+
/* @__PURE__ */ jsx131("span", { className: "k-switch-thumb-wrap", children: /* @__PURE__ */ jsx131(
|
|
7941
|
+
"span",
|
|
7942
|
+
{
|
|
7943
|
+
className: classNames(
|
|
7944
|
+
"k-switch-thumb",
|
|
7945
|
+
optionClassNames(SWITCH_CLASSNAME, {
|
|
7946
|
+
rounded: thumbRounded
|
|
7947
|
+
})
|
|
7948
|
+
)
|
|
7949
|
+
}
|
|
7950
|
+
) })
|
|
7951
|
+
]
|
|
7952
|
+
}
|
|
7953
|
+
);
|
|
7954
|
+
};
|
|
7955
|
+
Switch.states = states50;
|
|
7956
|
+
Switch.options = options48;
|
|
7957
|
+
Switch.className = SWITCH_CLASSNAME;
|
|
7958
|
+
Switch.defaultProps = defaultProps48;
|
|
7959
|
+
|
|
7960
|
+
// src/switch/templates/switch-normal.tsx
|
|
7961
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
7962
|
+
|
|
7963
|
+
// src/switch/templates/switch-checked.tsx
|
|
7964
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
7966
7965
|
|
|
7967
7966
|
// src/filemanager/filemanager.spec.tsx
|
|
7968
7967
|
import { Fragment as Fragment42, jsx as jsx134, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
@@ -7971,7 +7970,7 @@ var states51 = [
|
|
|
7971
7970
|
States.disabled
|
|
7972
7971
|
];
|
|
7973
7972
|
var options49 = {};
|
|
7974
|
-
var defaultToolbar = /* @__PURE__ */ jsx134(Fragment42, { children: /* @__PURE__ */ jsxs54(
|
|
7973
|
+
var defaultToolbar = /* @__PURE__ */ jsx134(Fragment42, { children: /* @__PURE__ */ jsxs54(FileManagerToolbar, { children: [
|
|
7975
7974
|
/* @__PURE__ */ jsx134(Button, { children: "New Folder" }),
|
|
7976
7975
|
/* @__PURE__ */ jsx134(Button, { children: "Upload" }),
|
|
7977
7976
|
/* @__PURE__ */ jsxs54(ButtonGroup, { children: [
|
|
@@ -7996,7 +7995,7 @@ var defaultProps49 = {
|
|
|
7996
7995
|
var FileManager = (props) => {
|
|
7997
7996
|
const {
|
|
7998
7997
|
disabled,
|
|
7999
|
-
toolbar
|
|
7998
|
+
toolbar = defaultProps49.toolbar
|
|
8000
7999
|
} = props;
|
|
8001
8000
|
return /* @__PURE__ */ jsxs54("div", { className: classNames(
|
|
8002
8001
|
props.className,
|