@progress/kendo-themes-html 7.2.1-dev.0 → 7.2.1-dev.1
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 +1096 -888
- package/dist/cjs/column-menu/column-menu-expander.spec.js +5933 -0
- package/dist/cjs/column-menu/column-menu-item-content.js +47 -0
- package/dist/cjs/column-menu/column-menu-item-wrapper.js +46 -0
- package/dist/cjs/column-menu/column-menu-item.spec.js +4396 -0
- package/dist/cjs/column-menu/column-menu-multicheck-item.js +261 -0
- package/dist/cjs/column-menu/column-menu-multicheck-wrap.js +46 -0
- package/dist/cjs/column-menu/column-menu.spec.js +67 -0
- package/dist/cjs/column-menu/filter-menu.spec.js +61 -0
- package/dist/cjs/column-menu/templates/column-menu-normal.js +5957 -0
- package/dist/cjs/column-menu/templates/column-menu-tabbed.js +5947 -0
- package/dist/cjs/column-menu/templates/filter-menu-multi-check.js +5984 -0
- package/dist/cjs/column-menu/templates/filter-menu-normal.js +5947 -0
- package/dist/cjs/column-menu/tests/column-menu-rtl.js +6038 -0
- package/dist/cjs/column-menu/tests/column-menu-tabbed.js +6026 -0
- package/dist/cjs/column-menu/tests/column-menu.js +6038 -0
- package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +1096 -888
- package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +957 -749
- package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +911 -703
- package/dist/cjs/form/tests/form-field-dropdowns.js +1095 -887
- package/dist/cjs/grid/tests/grid-column-menu-rtl.js +707 -603
- package/dist/cjs/grid/tests/grid-column-menu-tabbed.js +841 -655
- package/dist/cjs/grid/tests/grid-column-menu.js +706 -602
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +302 -122
- package/dist/cjs/grid/tests/grid-column-reordering.js +308 -128
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +290 -107
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1168 -960
- package/dist/cjs/grid/tests/grid-grouping-actions.js +272 -59
- package/dist/cjs/index.js +2539 -2199
- package/dist/cjs/multiselect/templates/multiselect-prefix.js +1071 -863
- package/dist/cjs/multiselect/templates/multiselect-suffix.js +1071 -863
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +1077 -869
- package/dist/cjs/multiselect/tests/multiselect-flat.js +1101 -893
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +1077 -869
- package/dist/cjs/multiselect/tests/multiselect-opened.js +1079 -871
- package/dist/cjs/multiselect/tests/multiselect-outline.js +1101 -893
- package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +1108 -900
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +1080 -872
- package/dist/cjs/multiselect/tests/multiselect-solid.js +1101 -893
- package/dist/cjs/pivotgrid/tests/pivotgrid-column-menus.js +886 -739
- package/dist/cjs/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +1172 -308
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +1110 -902
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +1124 -916
- package/dist/cjs/taskboard/taskboard-pane.js +1078 -870
- package/dist/cjs/taskboard/taskboard.spec.js +993 -785
- package/dist/cjs/taskboard/templates/taskboard-normal.js +1027 -819
- package/dist/cjs/taskboard/tests/taskboard-card-column-menu.js +1620 -64
- package/dist/cjs/taskboard/tests/taskboard-card.js +1099 -891
- package/dist/cjs/taskboard/tests/taskboard-column.js +1114 -906
- package/dist/cjs/taskboard/tests/taskboard-pane.js +1035 -827
- package/dist/cjs/taskboard/tests/taskboard-resources.js +1081 -873
- package/dist/cjs/taskboard/tests/taskboard-rtl.js +1033 -825
- package/dist/cjs/taskboard/tests/taskboard.js +1033 -825
- package/dist/cjs/treelist/tests/treelist-aggregate-react.js +4277 -73
- package/dist/cjs/treelist/tests/treelist-aggregates.js +4519 -216
- package/dist/cjs/treelist/tests/treelist-react.js +2518 -98
- package/dist/cjs/treelist/tests/treelist-row-reordering.js +4371 -59
- package/dist/cjs/treelist/tests/treelist.js +4409 -112
- package/dist/cjs/treelist/treelist.spec.js +8415 -0
- package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +1011 -803
- package/dist/esm/column-menu/column-menu-expander.spec.js +5917 -0
- package/dist/esm/column-menu/column-menu-item-content.js +25 -0
- package/dist/esm/column-menu/column-menu-item-wrapper.js +24 -0
- package/dist/esm/column-menu/column-menu-item.spec.js +4380 -0
- package/dist/esm/column-menu/column-menu-multicheck-item.js +239 -0
- package/dist/esm/column-menu/column-menu-multicheck-wrap.js +24 -0
- package/dist/esm/column-menu/column-menu.spec.js +45 -0
- package/dist/esm/column-menu/filter-menu.spec.js +39 -0
- package/dist/esm/column-menu/templates/column-menu-normal.js +5941 -0
- package/dist/esm/column-menu/templates/column-menu-tabbed.js +5931 -0
- package/dist/esm/column-menu/templates/filter-menu-multi-check.js +5968 -0
- package/dist/esm/column-menu/templates/filter-menu-normal.js +5931 -0
- package/dist/esm/column-menu/tests/column-menu-rtl.js +6022 -0
- package/dist/esm/column-menu/tests/column-menu-tabbed.js +6010 -0
- package/dist/esm/column-menu/tests/column-menu.js +6022 -0
- package/dist/esm/combobox/tests/combobox-prefix-suffix.js +1011 -803
- package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +949 -741
- package/dist/esm/filemanager/tests/filemanager-listview-preview.js +903 -695
- package/dist/esm/form/tests/form-field-dropdowns.js +1010 -802
- package/dist/esm/grid/tests/grid-column-menu-rtl.js +707 -603
- package/dist/esm/grid/tests/grid-column-menu-tabbed.js +852 -666
- package/dist/esm/grid/tests/grid-column-menu.js +706 -602
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +302 -122
- package/dist/esm/grid/tests/grid-column-reordering.js +308 -128
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +290 -107
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +1083 -875
- package/dist/esm/grid/tests/grid-grouping-actions.js +272 -59
- package/dist/esm/index.js +2495 -2155
- package/dist/esm/multiselect/templates/multiselect-prefix.js +986 -778
- package/dist/esm/multiselect/templates/multiselect-suffix.js +986 -778
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +992 -784
- package/dist/esm/multiselect/tests/multiselect-flat.js +1016 -808
- package/dist/esm/multiselect/tests/multiselect-grouping.js +992 -784
- package/dist/esm/multiselect/tests/multiselect-opened.js +994 -786
- package/dist/esm/multiselect/tests/multiselect-outline.js +1016 -808
- package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +1023 -815
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +995 -787
- package/dist/esm/multiselect/tests/multiselect-solid.js +1016 -808
- package/dist/esm/pivotgrid/tests/pivotgrid-column-menus.js +886 -739
- package/dist/esm/pivotgrid/tests/pivotgrid-settings-panel-reordering.js +1172 -308
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +1025 -817
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +1039 -831
- package/dist/esm/taskboard/taskboard-pane.js +985 -777
- package/dist/esm/taskboard/taskboard.spec.js +981 -773
- package/dist/esm/taskboard/templates/taskboard-normal.js +1015 -807
- package/dist/esm/taskboard/tests/taskboard-card-column-menu.js +1620 -64
- package/dist/esm/taskboard/tests/taskboard-card.js +1014 -806
- package/dist/esm/taskboard/tests/taskboard-column.js +1029 -821
- package/dist/esm/taskboard/tests/taskboard-pane.js +1023 -815
- package/dist/esm/taskboard/tests/taskboard-resources.js +996 -788
- package/dist/esm/taskboard/tests/taskboard-rtl.js +1021 -813
- package/dist/esm/taskboard/tests/taskboard.js +1021 -813
- package/dist/esm/treelist/tests/treelist-aggregate-react.js +4277 -73
- package/dist/esm/treelist/tests/treelist-aggregates.js +4520 -217
- package/dist/esm/treelist/tests/treelist-react.js +2518 -98
- package/dist/esm/treelist/tests/treelist-row-reordering.js +4371 -59
- package/dist/esm/treelist/tests/treelist.js +4410 -113
- package/dist/esm/treelist/treelist.spec.js +8399 -0
- package/dist/types/column-menu/column-menu-expander.spec.d.ts +17 -0
- package/dist/types/column-menu/column-menu-item-content.d.ts +1 -0
- package/dist/types/column-menu/column-menu-item-wrapper.d.ts +1 -0
- package/dist/types/column-menu/column-menu-item.spec.d.ts +17 -0
- package/dist/types/column-menu/column-menu-multicheck-item.d.ts +4 -0
- package/dist/types/column-menu/column-menu-multicheck-wrap.d.ts +1 -0
- package/dist/types/column-menu/column-menu.spec.d.ts +14 -0
- package/dist/types/column-menu/filter-menu.spec.d.ts +9 -0
- package/dist/types/column-menu/index.d.ts +12 -0
- package/dist/types/column-menu/templates/column-menu-normal.d.ts +1 -0
- package/dist/types/column-menu/templates/column-menu-tabbed.d.ts +1 -0
- package/dist/types/column-menu/templates/filter-menu-multi-check.d.ts +1 -0
- package/dist/types/column-menu/templates/filter-menu-normal.d.ts +1 -0
- package/dist/types/column-menu/tests/column-menu-rtl.d.ts +2 -0
- package/dist/types/column-menu/tests/column-menu-tabbed.d.ts +2 -0
- package/dist/types/column-menu/tests/column-menu.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/treelist/index.d.ts +1 -0
- package/dist/types/treelist/treelist.spec.d.ts +9 -0
- package/package.json +2 -2
- package/src/column-menu/column-menu-expander.spec.tsx +66 -0
- package/src/column-menu/column-menu-item-content.tsx +18 -0
- package/src/column-menu/column-menu-item-wrapper.tsx +17 -0
- package/src/column-menu/column-menu-item.spec.tsx +56 -0
- package/src/column-menu/column-menu-multicheck-item.tsx +32 -0
- package/src/column-menu/column-menu-multicheck-wrap.tsx +17 -0
- package/src/column-menu/column-menu.spec.tsx +46 -0
- package/src/column-menu/filter-menu.spec.tsx +38 -0
- package/src/column-menu/index.ts +12 -0
- package/src/column-menu/templates/column-menu-normal.tsx +23 -0
- package/src/column-menu/templates/column-menu-tabbed.tsx +36 -0
- package/src/column-menu/templates/filter-menu-multi-check.tsx +26 -0
- package/src/column-menu/templates/filter-menu-normal.tsx +23 -0
- package/src/column-menu/tests/column-menu-rtl.tsx +119 -0
- package/src/column-menu/tests/column-menu-tabbed.tsx +113 -0
- package/src/column-menu/tests/column-menu.tsx +119 -0
- package/src/grid/tests/grid-column-menu-rtl.tsx +194 -367
- package/src/grid/tests/grid-column-menu-tabbed.tsx +147 -260
- package/src/grid/tests/grid-column-menu.tsx +194 -366
- package/src/grid/tests/grid-column-reordering-actions.tsx +48 -77
- package/src/grid/tests/grid-column-reordering.tsx +60 -86
- package/src/grid/tests/grid-column-resizing-actions.tsx +25 -64
- package/src/grid/tests/grid-grouping-actions.tsx +15 -11
- package/src/index.ts +2 -1
- package/src/pivotgrid/tests/pivotgrid-column-menus.tsx +141 -232
- package/src/pivotgrid/tests/pivotgrid-settings-panel-reordering.tsx +17 -34
- package/src/taskboard/tests/taskboard-card-column-menu.tsx +12 -22
- package/src/treelist/index.ts +1 -0
- package/src/treelist/tests/treelist-aggregate-react.tsx +73 -71
- package/src/treelist/tests/treelist-aggregates.tsx +219 -242
- package/src/treelist/tests/treelist-react.tsx +98 -95
- package/src/treelist/tests/treelist-row-reordering.tsx +95 -74
- package/src/treelist/tests/treelist.tsx +110 -139
- package/src/treelist/treelist.spec.tsx +32 -0
|
@@ -4618,10 +4618,531 @@ import { Fragment as Fragment6, jsx as jsx13, jsxs as jsxs3 } from "react/jsx-ru
|
|
|
4618
4618
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
4619
4619
|
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4620
4620
|
|
|
4621
|
-
// src/
|
|
4621
|
+
// src/treeview/treeview.spec.tsx
|
|
4622
4622
|
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4623
|
+
import { createElement } from "react";
|
|
4624
|
+
var TREEVIEW_CLASSNAME = `k-treeview`;
|
|
4625
|
+
var states9 = [];
|
|
4626
|
+
var options9 = {
|
|
4627
|
+
size: [Size.small, Size.medium, Size.large]
|
|
4628
|
+
};
|
|
4629
|
+
var defaultProps9 = {
|
|
4630
|
+
size: Size.medium
|
|
4631
|
+
};
|
|
4632
|
+
var Treeview = (props) => {
|
|
4633
|
+
const {
|
|
4634
|
+
size = defaultProps9.size,
|
|
4635
|
+
children,
|
|
4636
|
+
dir,
|
|
4637
|
+
...other
|
|
4638
|
+
} = props;
|
|
4639
|
+
const listChildren = [];
|
|
4640
|
+
if (children) {
|
|
4641
|
+
if (Array.isArray(children)) {
|
|
4642
|
+
children.map((child, index) => {
|
|
4643
|
+
if (child.type === TreeviewItem) {
|
|
4644
|
+
listChildren.push(
|
|
4645
|
+
/* @__PURE__ */ createElement(TreeviewItem, { ...child.props, dir, key: index })
|
|
4646
|
+
);
|
|
4647
|
+
}
|
|
4648
|
+
if (child.type === TreeviewGroup) {
|
|
4649
|
+
listChildren.push(
|
|
4650
|
+
/* @__PURE__ */ createElement(TreeviewGroup, { ...child.props, dir, key: index })
|
|
4651
|
+
);
|
|
4652
|
+
}
|
|
4653
|
+
});
|
|
4654
|
+
} else {
|
|
4655
|
+
if (children.type === TreeviewItem) {
|
|
4656
|
+
listChildren.push(
|
|
4657
|
+
/* @__PURE__ */ jsx15(TreeviewItem, { ...children.props, dir })
|
|
4658
|
+
);
|
|
4659
|
+
}
|
|
4660
|
+
if (children.type === TreeviewGroup) {
|
|
4661
|
+
listChildren.push(
|
|
4662
|
+
/* @__PURE__ */ jsx15(TreeviewGroup, { ...children.props, dir })
|
|
4663
|
+
);
|
|
4664
|
+
}
|
|
4665
|
+
}
|
|
4666
|
+
}
|
|
4667
|
+
return /* @__PURE__ */ jsx15(
|
|
4668
|
+
"div",
|
|
4669
|
+
{
|
|
4670
|
+
...other,
|
|
4671
|
+
dir,
|
|
4672
|
+
className: classNames(
|
|
4673
|
+
props.className,
|
|
4674
|
+
TREEVIEW_CLASSNAME,
|
|
4675
|
+
optionClassNames(TREEVIEW_CLASSNAME, {
|
|
4676
|
+
size
|
|
4677
|
+
})
|
|
4678
|
+
),
|
|
4679
|
+
children: /* @__PURE__ */ jsx15(TreeviewGroup, { className: "k-treeview-lines", dir, children: listChildren })
|
|
4680
|
+
}
|
|
4681
|
+
);
|
|
4682
|
+
};
|
|
4683
|
+
Treeview.states = states9;
|
|
4684
|
+
Treeview.options = options9;
|
|
4685
|
+
Treeview.className = TREEVIEW_CLASSNAME;
|
|
4686
|
+
Treeview.defaultProps = defaultProps9;
|
|
4687
|
+
|
|
4688
|
+
// src/treeview/treeview-group.tsx
|
|
4689
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4690
|
+
import { createElement as createElement2 } from "react";
|
|
4691
|
+
var className = `k-treeview-group`;
|
|
4692
|
+
var TreeviewGroup = (props) => {
|
|
4693
|
+
const {
|
|
4694
|
+
children,
|
|
4695
|
+
dir
|
|
4696
|
+
} = props;
|
|
4697
|
+
const listChildren = [];
|
|
4698
|
+
if (children) {
|
|
4699
|
+
if (Array.isArray(children)) {
|
|
4700
|
+
children.map((child, index) => {
|
|
4701
|
+
if (child.type === treeview_item_spec_default) {
|
|
4702
|
+
listChildren.push(
|
|
4703
|
+
/* @__PURE__ */ createElement2(treeview_item_spec_default, { ...child.props, dir, key: index })
|
|
4704
|
+
);
|
|
4705
|
+
}
|
|
4706
|
+
});
|
|
4707
|
+
} else {
|
|
4708
|
+
if (children.type === treeview_item_spec_default) {
|
|
4709
|
+
listChildren.push(
|
|
4710
|
+
/* @__PURE__ */ jsx16(treeview_item_spec_default, { ...children.props, dir })
|
|
4711
|
+
);
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
}
|
|
4715
|
+
return /* @__PURE__ */ jsx16("ul", { className: classNames(props.className, className), children: listChildren });
|
|
4716
|
+
};
|
|
4717
|
+
|
|
4718
|
+
// src/treeview/treeview-leaf.tsx
|
|
4719
|
+
import { jsx as jsx17, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4720
|
+
var TREEVIEWLEAF_CLASSNAME = `k-treeview-leaf`;
|
|
4721
|
+
var states10 = [
|
|
4722
|
+
States.hover,
|
|
4723
|
+
States.focus,
|
|
4724
|
+
States.selected
|
|
4725
|
+
];
|
|
4726
|
+
var options10 = {};
|
|
4727
|
+
var TreeviewLeaf = (props) => {
|
|
4728
|
+
const {
|
|
4729
|
+
text,
|
|
4730
|
+
showIcon,
|
|
4731
|
+
icon,
|
|
4732
|
+
hover,
|
|
4733
|
+
focus,
|
|
4734
|
+
selected,
|
|
4735
|
+
...other
|
|
4736
|
+
} = props;
|
|
4737
|
+
return /* @__PURE__ */ jsxs4(
|
|
4738
|
+
"span",
|
|
4739
|
+
{
|
|
4740
|
+
...other,
|
|
4741
|
+
className: classNames(
|
|
4742
|
+
props.className,
|
|
4743
|
+
TREEVIEWLEAF_CLASSNAME,
|
|
4744
|
+
stateClassNames(TREEVIEWLEAF_CLASSNAME, {
|
|
4745
|
+
hover,
|
|
4746
|
+
focus,
|
|
4747
|
+
selected
|
|
4748
|
+
})
|
|
4749
|
+
),
|
|
4750
|
+
children: [
|
|
4751
|
+
showIcon && /* @__PURE__ */ jsx17(Icon, { icon }),
|
|
4752
|
+
/* @__PURE__ */ jsx17("span", { className: "k-treeview-leaf-text", children: text })
|
|
4753
|
+
]
|
|
4754
|
+
}
|
|
4755
|
+
);
|
|
4756
|
+
};
|
|
4757
|
+
TreeviewLeaf.states = states10;
|
|
4758
|
+
TreeviewLeaf.options = options10;
|
|
4759
|
+
TreeviewLeaf.className = TREEVIEWLEAF_CLASSNAME;
|
|
4760
|
+
var treeview_leaf_default = TreeviewLeaf;
|
|
4761
|
+
|
|
4762
|
+
// src/treeview/treeview-item.spec.tsx
|
|
4763
|
+
import { Fragment as Fragment7, jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4764
|
+
import { createElement as createElement3 } from "react";
|
|
4765
|
+
var TREEVIEWITEM_CLASSNAME = `k-treeview-item`;
|
|
4766
|
+
var states11 = [
|
|
4767
|
+
States.hover,
|
|
4768
|
+
States.focus,
|
|
4769
|
+
States.selected,
|
|
4770
|
+
States.disabled
|
|
4771
|
+
];
|
|
4772
|
+
var options11 = {};
|
|
4773
|
+
var defaultProps10 = {};
|
|
4774
|
+
var TreeviewItem = (props) => {
|
|
4775
|
+
const {
|
|
4776
|
+
leafClassName,
|
|
4777
|
+
children,
|
|
4778
|
+
hasChildren,
|
|
4779
|
+
expanded,
|
|
4780
|
+
text,
|
|
4781
|
+
showIcon,
|
|
4782
|
+
icon,
|
|
4783
|
+
showCheckbox,
|
|
4784
|
+
checked,
|
|
4785
|
+
hover,
|
|
4786
|
+
focus,
|
|
4787
|
+
selected,
|
|
4788
|
+
disabled,
|
|
4789
|
+
dir,
|
|
4790
|
+
...other
|
|
4791
|
+
} = props;
|
|
4792
|
+
const _hasChildren = hasChildren || children;
|
|
4793
|
+
const listChildren = [];
|
|
4794
|
+
if (children) {
|
|
4795
|
+
if (Array.isArray(children)) {
|
|
4796
|
+
children.map((child, index) => {
|
|
4797
|
+
if (child.type === TreeviewGroup) {
|
|
4798
|
+
listChildren.push(
|
|
4799
|
+
/* @__PURE__ */ createElement3(TreeviewGroup, { ...child.props, dir, key: index }, child.props.children)
|
|
4800
|
+
);
|
|
4801
|
+
}
|
|
4802
|
+
});
|
|
4803
|
+
} else {
|
|
4804
|
+
if (children.type === TreeviewGroup) {
|
|
4805
|
+
listChildren.push(
|
|
4806
|
+
/* @__PURE__ */ jsx18(TreeviewGroup, { ...children.props, dir, children: children.props.children })
|
|
4807
|
+
);
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4810
|
+
}
|
|
4811
|
+
return /* @__PURE__ */ jsxs5(
|
|
4812
|
+
"li",
|
|
4813
|
+
{
|
|
4814
|
+
...other,
|
|
4815
|
+
className: classNames(
|
|
4816
|
+
props.className,
|
|
4817
|
+
TREEVIEWITEM_CLASSNAME
|
|
4818
|
+
),
|
|
4819
|
+
children: [
|
|
4820
|
+
/* @__PURE__ */ jsxs5("span", { className: "k-treeview-mid", children: [
|
|
4821
|
+
_hasChildren && /* @__PURE__ */ jsx18(
|
|
4822
|
+
"span",
|
|
4823
|
+
{
|
|
4824
|
+
className: classNames(
|
|
4825
|
+
"k-treeview-toggle",
|
|
4826
|
+
stateClassNames("k-treeview-toggle", { disabled })
|
|
4827
|
+
),
|
|
4828
|
+
children: /* @__PURE__ */ jsx18(Icon, { icon: expanded ? "caret-alt-down" : dir === "rtl" ? "caret-alt-left" : "caret-alt-right" })
|
|
4829
|
+
}
|
|
4830
|
+
),
|
|
4831
|
+
showCheckbox && /* @__PURE__ */ jsx18(Checkbox, { checked, disabled }),
|
|
4832
|
+
/* @__PURE__ */ jsx18(
|
|
4833
|
+
treeview_leaf_default,
|
|
4834
|
+
{
|
|
4835
|
+
className: classNames(
|
|
4836
|
+
leafClassName,
|
|
4837
|
+
stateClassNames(leafClassName, { disabled })
|
|
4838
|
+
),
|
|
4839
|
+
text,
|
|
4840
|
+
showIcon,
|
|
4841
|
+
icon,
|
|
4842
|
+
hover,
|
|
4843
|
+
focus,
|
|
4844
|
+
selected
|
|
4845
|
+
}
|
|
4846
|
+
)
|
|
4847
|
+
] }),
|
|
4848
|
+
expanded && _hasChildren && /* @__PURE__ */ jsx18(Fragment7, { children: listChildren })
|
|
4849
|
+
]
|
|
4850
|
+
}
|
|
4851
|
+
);
|
|
4852
|
+
};
|
|
4853
|
+
TreeviewItem.states = states11;
|
|
4854
|
+
TreeviewItem.options = options11;
|
|
4855
|
+
TreeviewItem.className = TREEVIEWITEM_CLASSNAME;
|
|
4856
|
+
TreeviewItem.defaultProps = defaultProps10;
|
|
4857
|
+
var treeview_item_spec_default = TreeviewItem;
|
|
4858
|
+
|
|
4859
|
+
// src/treeview/templates/treeview-normal.tsx
|
|
4860
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
4861
|
+
|
|
4862
|
+
// src/treeview/templates/treeview-hierarchy.tsx
|
|
4863
|
+
import { jsx as jsx20, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4864
|
+
|
|
4865
|
+
// src/treeview/templates/treeview-icons.tsx
|
|
4866
|
+
import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4867
|
+
|
|
4868
|
+
// src/treeview/templates/treeview-checkboxes.tsx
|
|
4869
|
+
import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4870
|
+
|
|
4871
|
+
// src/animation-container/animation-container.spec.tsx
|
|
4872
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4873
|
+
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4874
|
+
var states12 = [];
|
|
4875
|
+
var options12 = {};
|
|
4876
|
+
var defaultProps11 = {
|
|
4877
|
+
positionMode: "absolute"
|
|
4878
|
+
};
|
|
4879
|
+
var AnimationContainer = (props) => {
|
|
4880
|
+
const {
|
|
4881
|
+
positionMode,
|
|
4882
|
+
animationStyle,
|
|
4883
|
+
offset,
|
|
4884
|
+
...other
|
|
4885
|
+
} = props;
|
|
4886
|
+
return /* @__PURE__ */ jsx23(
|
|
4887
|
+
"div",
|
|
4888
|
+
{
|
|
4889
|
+
...other,
|
|
4890
|
+
style: { ...offset, ...props.style },
|
|
4891
|
+
className: classNames(
|
|
4892
|
+
ANIMATION_CONTAINER_CLASSNAME,
|
|
4893
|
+
"k-animation-container-shown",
|
|
4894
|
+
{
|
|
4895
|
+
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4896
|
+
}
|
|
4897
|
+
),
|
|
4898
|
+
children: /* @__PURE__ */ jsx23("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4899
|
+
}
|
|
4900
|
+
);
|
|
4901
|
+
};
|
|
4902
|
+
AnimationContainer.states = states12;
|
|
4903
|
+
AnimationContainer.options = options12;
|
|
4904
|
+
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
4905
|
+
AnimationContainer.defaultProps = defaultProps11;
|
|
4906
|
+
|
|
4907
|
+
// src/popup/popup.spec.tsx
|
|
4908
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4909
|
+
var POPUP_CLASSNAME = `k-popup`;
|
|
4910
|
+
var states13 = [];
|
|
4911
|
+
var options13 = {};
|
|
4912
|
+
var defaultProps12 = {
|
|
4913
|
+
positionMode: "absolute"
|
|
4914
|
+
};
|
|
4915
|
+
var Popup = (props) => {
|
|
4916
|
+
const {
|
|
4917
|
+
offset,
|
|
4918
|
+
positionMode,
|
|
4919
|
+
...other
|
|
4920
|
+
} = props;
|
|
4921
|
+
return /* @__PURE__ */ jsx24(
|
|
4922
|
+
AnimationContainer,
|
|
4923
|
+
{
|
|
4924
|
+
positionMode,
|
|
4925
|
+
offset,
|
|
4926
|
+
children: /* @__PURE__ */ jsx24("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4927
|
+
}
|
|
4928
|
+
);
|
|
4929
|
+
};
|
|
4930
|
+
Popup.states = states13;
|
|
4931
|
+
Popup.options = options13;
|
|
4932
|
+
Popup.className = POPUP_CLASSNAME;
|
|
4933
|
+
Popup.defaultProps = defaultProps12;
|
|
4934
|
+
|
|
4935
|
+
// src/column-menu/column-menu.spec.tsx
|
|
4936
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4937
|
+
var COLUMNMENU_CLASSNAME = `k-column-menu`;
|
|
4938
|
+
var states14 = [];
|
|
4939
|
+
var options14 = {};
|
|
4940
|
+
var defaultProps13 = {
|
|
4941
|
+
view: "list"
|
|
4942
|
+
};
|
|
4943
|
+
var ColumnMenu = (props) => {
|
|
4944
|
+
const {
|
|
4945
|
+
view = defaultProps13.view,
|
|
4946
|
+
...other
|
|
4947
|
+
} = props;
|
|
4948
|
+
return /* @__PURE__ */ jsx25(
|
|
4949
|
+
"div",
|
|
4950
|
+
{
|
|
4951
|
+
...other,
|
|
4952
|
+
className: classNames(
|
|
4953
|
+
props.className,
|
|
4954
|
+
COLUMNMENU_CLASSNAME,
|
|
4955
|
+
{
|
|
4956
|
+
"k-column-menu-tabbed": view === "tabbed"
|
|
4957
|
+
}
|
|
4958
|
+
),
|
|
4959
|
+
children: props.children
|
|
4960
|
+
}
|
|
4961
|
+
);
|
|
4962
|
+
};
|
|
4963
|
+
ColumnMenu.states = states14;
|
|
4964
|
+
ColumnMenu.options = options14;
|
|
4965
|
+
ColumnMenu.className = COLUMNMENU_CLASSNAME;
|
|
4966
|
+
ColumnMenu.defaultProps = defaultProps13;
|
|
4967
|
+
|
|
4968
|
+
// src/column-menu/column-menu-item.spec.tsx
|
|
4969
|
+
import { jsx as jsx26, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4970
|
+
var COLUMNMENUITEM_CLASSNAME = `k-columnmenu-item`;
|
|
4971
|
+
var states15 = [
|
|
4972
|
+
States.focus,
|
|
4973
|
+
States.selected
|
|
4974
|
+
];
|
|
4975
|
+
var options15 = {};
|
|
4976
|
+
var defaultProps14 = {};
|
|
4977
|
+
var ColumnMenuItem = (props) => {
|
|
4978
|
+
const {
|
|
4979
|
+
focus,
|
|
4980
|
+
selected,
|
|
4981
|
+
text,
|
|
4982
|
+
icon,
|
|
4983
|
+
...other
|
|
4984
|
+
} = props;
|
|
4985
|
+
return /* @__PURE__ */ jsxs9(
|
|
4986
|
+
"div",
|
|
4987
|
+
{
|
|
4988
|
+
...other,
|
|
4989
|
+
className: classNames(
|
|
4990
|
+
props.className,
|
|
4991
|
+
COLUMNMENUITEM_CLASSNAME,
|
|
4992
|
+
stateClassNames(COLUMNMENUITEM_CLASSNAME, {
|
|
4993
|
+
focus,
|
|
4994
|
+
selected
|
|
4995
|
+
})
|
|
4996
|
+
),
|
|
4997
|
+
children: [
|
|
4998
|
+
/* @__PURE__ */ jsx26(Icon, { icon }),
|
|
4999
|
+
text,
|
|
5000
|
+
props.children
|
|
5001
|
+
]
|
|
5002
|
+
}
|
|
5003
|
+
);
|
|
5004
|
+
};
|
|
5005
|
+
ColumnMenuItem.states = states15;
|
|
5006
|
+
ColumnMenuItem.options = options15;
|
|
5007
|
+
ColumnMenuItem.className = COLUMNMENUITEM_CLASSNAME;
|
|
5008
|
+
ColumnMenuItem.defaultProps = defaultProps14;
|
|
5009
|
+
|
|
5010
|
+
// src/column-menu/column-menu-item-wrapper.tsx
|
|
5011
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
5012
|
+
var className2 = `k-columnmenu-item-wrapper`;
|
|
5013
|
+
var ColumnMenuItemWrapper = (props) => /* @__PURE__ */ jsx27(
|
|
5014
|
+
"div",
|
|
5015
|
+
{
|
|
5016
|
+
...props,
|
|
5017
|
+
className: classNames(
|
|
5018
|
+
props.className,
|
|
5019
|
+
className2
|
|
5020
|
+
),
|
|
5021
|
+
children: props.children
|
|
5022
|
+
}
|
|
5023
|
+
);
|
|
5024
|
+
|
|
5025
|
+
// src/column-menu/column-menu-item-content.tsx
|
|
5026
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
5027
|
+
var className3 = `k-columnmenu-item-content`;
|
|
5028
|
+
var ColumnMenuItemContent = (props) => /* @__PURE__ */ jsx28(
|
|
5029
|
+
"div",
|
|
5030
|
+
{
|
|
5031
|
+
...props,
|
|
5032
|
+
className: classNames(
|
|
5033
|
+
props.className,
|
|
5034
|
+
className3,
|
|
5035
|
+
"k-columns-item"
|
|
5036
|
+
),
|
|
5037
|
+
children: props.children
|
|
5038
|
+
}
|
|
5039
|
+
);
|
|
5040
|
+
|
|
5041
|
+
// src/column-menu/filter-menu.spec.tsx
|
|
5042
|
+
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5043
|
+
var FILTERMENU_CLASSNAME = `k-filter-menu`;
|
|
5044
|
+
var states16 = [];
|
|
5045
|
+
var options16 = {};
|
|
5046
|
+
var defaultProps15 = {};
|
|
5047
|
+
var FilterMenu = (props) => {
|
|
5048
|
+
const {
|
|
5049
|
+
...other
|
|
5050
|
+
} = props;
|
|
5051
|
+
return /* @__PURE__ */ jsx29(
|
|
5052
|
+
"form",
|
|
5053
|
+
{
|
|
5054
|
+
...other,
|
|
5055
|
+
className: classNames(
|
|
5056
|
+
props.className,
|
|
5057
|
+
FILTERMENU_CLASSNAME
|
|
5058
|
+
),
|
|
5059
|
+
children: /* @__PURE__ */ jsx29("div", { className: "k-filter-menu-container", children: props.children })
|
|
5060
|
+
}
|
|
5061
|
+
);
|
|
5062
|
+
};
|
|
5063
|
+
FilterMenu.states = states16;
|
|
5064
|
+
FilterMenu.options = options16;
|
|
5065
|
+
FilterMenu.className = FILTERMENU_CLASSNAME;
|
|
5066
|
+
FilterMenu.defaultProps = defaultProps15;
|
|
5067
|
+
|
|
5068
|
+
// src/column-menu/column-menu-multicheck-wrap.tsx
|
|
5069
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5070
|
+
|
|
5071
|
+
// src/column-menu/column-menu-multicheck-item.tsx
|
|
5072
|
+
import { jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5073
|
+
|
|
5074
|
+
// src/column-menu/column-menu-expander.spec.tsx
|
|
5075
|
+
import { Fragment as Fragment8, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5076
|
+
var COLUMNMENUEXPANDER_CLASSNAME = `k-expander`;
|
|
5077
|
+
var states17 = [];
|
|
5078
|
+
var options17 = {};
|
|
5079
|
+
var defaultProps16 = {};
|
|
5080
|
+
var ColumnMenuExpander = (props) => {
|
|
5081
|
+
const {
|
|
5082
|
+
itemText,
|
|
5083
|
+
itemIcon,
|
|
5084
|
+
expanded,
|
|
5085
|
+
itemContent,
|
|
5086
|
+
expanderIcon,
|
|
5087
|
+
...other
|
|
5088
|
+
} = props;
|
|
5089
|
+
let icon = /* @__PURE__ */ jsx32(Fragment8, {});
|
|
5090
|
+
if (!expanded && !expanderIcon) {
|
|
5091
|
+
icon = /* @__PURE__ */ jsx32(Icon, { icon: "chevron-down" });
|
|
5092
|
+
} else if (expanded && !expanderIcon) {
|
|
5093
|
+
icon = /* @__PURE__ */ jsx32(Icon, { icon: "chevron-up" });
|
|
5094
|
+
} else {
|
|
5095
|
+
icon = /* @__PURE__ */ jsx32(Icon, { icon: expanderIcon });
|
|
5096
|
+
}
|
|
5097
|
+
return /* @__PURE__ */ jsxs11(
|
|
5098
|
+
"div",
|
|
5099
|
+
{
|
|
5100
|
+
...other,
|
|
5101
|
+
className: classNames(
|
|
5102
|
+
props.className,
|
|
5103
|
+
COLUMNMENUEXPANDER_CLASSNAME
|
|
5104
|
+
),
|
|
5105
|
+
children: [
|
|
5106
|
+
/* @__PURE__ */ jsxs11(ColumnMenuItem, { text: itemText, icon: itemIcon, children: [
|
|
5107
|
+
/* @__PURE__ */ jsx32("span", { className: "k-spacer" }),
|
|
5108
|
+
/* @__PURE__ */ jsx32("span", { className: "k-expander-indicator", children: icon })
|
|
5109
|
+
] }),
|
|
5110
|
+
expanded && /* @__PURE__ */ jsx32(ColumnMenuItemContent, { children: itemContent }),
|
|
5111
|
+
props.children
|
|
5112
|
+
]
|
|
5113
|
+
}
|
|
5114
|
+
);
|
|
5115
|
+
};
|
|
5116
|
+
ColumnMenuExpander.states = states17;
|
|
5117
|
+
ColumnMenuExpander.options = options17;
|
|
5118
|
+
ColumnMenuExpander.className = COLUMNMENUEXPANDER_CLASSNAME;
|
|
5119
|
+
ColumnMenuExpander.defaultProps = defaultProps16;
|
|
5120
|
+
|
|
5121
|
+
// src/column-menu/templates/column-menu-normal.tsx
|
|
5122
|
+
import { jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5123
|
+
var ColumnMenuNormal = (props) => /* @__PURE__ */ jsx33(
|
|
5124
|
+
ColumnMenu,
|
|
5125
|
+
{
|
|
5126
|
+
children: [
|
|
5127
|
+
/* @__PURE__ */ jsxs12(ColumnMenuItemWrapper, { children: [
|
|
5128
|
+
/* @__PURE__ */ jsx33(ColumnMenuItem, { text: "Item 1", icon: "sort-asc-small" }),
|
|
5129
|
+
/* @__PURE__ */ jsx33(ColumnMenuItem, { text: "Item 2", icon: "sort-desc-small" })
|
|
5130
|
+
] }),
|
|
5131
|
+
/* @__PURE__ */ jsx33(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx33(ColumnMenuExpander, { itemText: "Expandable item 1", itemIcon: "columns" }) }),
|
|
5132
|
+
/* @__PURE__ */ jsx33(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx33(ColumnMenuExpander, { itemText: "Expandable item 2", itemIcon: "filter" }) }),
|
|
5133
|
+
/* @__PURE__ */ jsx33(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx33(ColumnMenuExpander, { itemText: "Item with icons", itemIcon: "arrows-left-right", expanderIcon: "window-restore" }) })
|
|
5134
|
+
],
|
|
5135
|
+
...props
|
|
5136
|
+
}
|
|
5137
|
+
);
|
|
5138
|
+
|
|
5139
|
+
// src/column-menu/templates/column-menu-tabbed.tsx
|
|
5140
|
+
import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5141
|
+
|
|
5142
|
+
// src/input/input.spec.tsx
|
|
5143
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
4623
5144
|
var INPUT_CLASSNAME = `k-input`;
|
|
4624
|
-
var
|
|
5145
|
+
var states18 = [
|
|
4625
5146
|
States.hover,
|
|
4626
5147
|
States.focus,
|
|
4627
5148
|
States.valid,
|
|
@@ -4631,12 +5152,12 @@ var states9 = [
|
|
|
4631
5152
|
States.loading,
|
|
4632
5153
|
States.readonly
|
|
4633
5154
|
];
|
|
4634
|
-
var
|
|
5155
|
+
var options18 = {
|
|
4635
5156
|
size: [Size.small, Size.medium, Size.large],
|
|
4636
5157
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4637
5158
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4638
5159
|
};
|
|
4639
|
-
var
|
|
5160
|
+
var defaultProps17 = {
|
|
4640
5161
|
size: Size.medium,
|
|
4641
5162
|
rounded: Size.medium,
|
|
4642
5163
|
fillMode: FillMode.solid
|
|
@@ -4650,12 +5171,12 @@ var Input = (props) => {
|
|
|
4650
5171
|
valid,
|
|
4651
5172
|
loading,
|
|
4652
5173
|
readonly,
|
|
4653
|
-
size =
|
|
4654
|
-
rounded =
|
|
4655
|
-
fillMode =
|
|
5174
|
+
size = defaultProps17.size,
|
|
5175
|
+
rounded = defaultProps17.rounded,
|
|
5176
|
+
fillMode = defaultProps17.fillMode,
|
|
4656
5177
|
...other
|
|
4657
5178
|
} = props;
|
|
4658
|
-
return /* @__PURE__ */
|
|
5179
|
+
return /* @__PURE__ */ jsx35(
|
|
4659
5180
|
"span",
|
|
4660
5181
|
{
|
|
4661
5182
|
...other,
|
|
@@ -4668,13 +5189,13 @@ var Input = (props) => {
|
|
|
4668
5189
|
}
|
|
4669
5190
|
);
|
|
4670
5191
|
};
|
|
4671
|
-
Input.states =
|
|
4672
|
-
Input.options =
|
|
5192
|
+
Input.states = states18;
|
|
5193
|
+
Input.options = options18;
|
|
4673
5194
|
Input.className = INPUT_CLASSNAME;
|
|
4674
|
-
Input.defaultProps =
|
|
5195
|
+
Input.defaultProps = defaultProps17;
|
|
4675
5196
|
|
|
4676
5197
|
// src/input/picker.spec.tsx
|
|
4677
|
-
import { jsx as
|
|
5198
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
4678
5199
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4679
5200
|
var pickerStates = [
|
|
4680
5201
|
States.hover,
|
|
@@ -4691,7 +5212,7 @@ var pickerOptions = {
|
|
|
4691
5212
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4692
5213
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4693
5214
|
};
|
|
4694
|
-
var
|
|
5215
|
+
var defaultProps18 = {
|
|
4695
5216
|
size: Size.medium,
|
|
4696
5217
|
rounded: Roundness.medium,
|
|
4697
5218
|
fillMode: FillMode.solid
|
|
@@ -4705,12 +5226,12 @@ var Picker = (props) => {
|
|
|
4705
5226
|
valid,
|
|
4706
5227
|
loading,
|
|
4707
5228
|
readonly,
|
|
4708
|
-
size =
|
|
4709
|
-
rounded =
|
|
4710
|
-
fillMode =
|
|
5229
|
+
size = defaultProps18.size,
|
|
5230
|
+
rounded = defaultProps18.rounded,
|
|
5231
|
+
fillMode = defaultProps18.fillMode,
|
|
4711
5232
|
...other
|
|
4712
5233
|
} = props;
|
|
4713
|
-
return /* @__PURE__ */
|
|
5234
|
+
return /* @__PURE__ */ jsx36(
|
|
4714
5235
|
"span",
|
|
4715
5236
|
{
|
|
4716
5237
|
...other,
|
|
@@ -4727,17 +5248,17 @@ var Picker = (props) => {
|
|
|
4727
5248
|
Picker.states = pickerStates;
|
|
4728
5249
|
Picker.options = pickerOptions;
|
|
4729
5250
|
Picker.className = PICKER_CLASSNAME;
|
|
4730
|
-
Picker.defaultProps =
|
|
5251
|
+
Picker.defaultProps = defaultProps18;
|
|
4731
5252
|
|
|
4732
5253
|
// src/input/input-clear-value.tsx
|
|
4733
|
-
import { Fragment as
|
|
4734
|
-
var
|
|
4735
|
-
var
|
|
5254
|
+
import { Fragment as Fragment9, jsx as jsx37 } from "react/jsx-runtime";
|
|
5255
|
+
var className4 = `k-clear-value`;
|
|
5256
|
+
var states19 = [
|
|
4736
5257
|
States.disabled,
|
|
4737
5258
|
States.loading,
|
|
4738
5259
|
States.readonly
|
|
4739
5260
|
];
|
|
4740
|
-
var
|
|
5261
|
+
var options19 = {};
|
|
4741
5262
|
var InputClearValue = (props) => {
|
|
4742
5263
|
const {
|
|
4743
5264
|
disabled,
|
|
@@ -4746,20 +5267,20 @@ var InputClearValue = (props) => {
|
|
|
4746
5267
|
value
|
|
4747
5268
|
} = props;
|
|
4748
5269
|
if (disabled || readonly || loading || !value) {
|
|
4749
|
-
return /* @__PURE__ */
|
|
5270
|
+
return /* @__PURE__ */ jsx37(Fragment9, {});
|
|
4750
5271
|
}
|
|
4751
|
-
return /* @__PURE__ */
|
|
5272
|
+
return /* @__PURE__ */ jsx37("span", { className: classNames(props.className, className4), children: /* @__PURE__ */ jsx37(Icon, { icon: "x" }) });
|
|
4752
5273
|
};
|
|
4753
|
-
InputClearValue.states =
|
|
4754
|
-
InputClearValue.options =
|
|
4755
|
-
InputClearValue.className =
|
|
5274
|
+
InputClearValue.states = states19;
|
|
5275
|
+
InputClearValue.options = options19;
|
|
5276
|
+
InputClearValue.className = className4;
|
|
4756
5277
|
|
|
4757
5278
|
// src/input/input-inner-input.tsx
|
|
4758
|
-
import { jsx as
|
|
4759
|
-
var
|
|
4760
|
-
var
|
|
4761
|
-
var
|
|
4762
|
-
var
|
|
5279
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5280
|
+
var className5 = `k-input-inner`;
|
|
5281
|
+
var states20 = [];
|
|
5282
|
+
var options20 = {};
|
|
5283
|
+
var defaultProps19 = {
|
|
4763
5284
|
type: "text",
|
|
4764
5285
|
autocomplete: "off",
|
|
4765
5286
|
value: "",
|
|
@@ -4767,33 +5288,33 @@ var defaultProps11 = {
|
|
|
4767
5288
|
};
|
|
4768
5289
|
var InputInnerInput = (props) => {
|
|
4769
5290
|
const {
|
|
4770
|
-
value =
|
|
4771
|
-
type =
|
|
4772
|
-
placeholder =
|
|
4773
|
-
autocomplete =
|
|
5291
|
+
value = defaultProps19.value,
|
|
5292
|
+
type = defaultProps19.type,
|
|
5293
|
+
placeholder = defaultProps19.placeholder,
|
|
5294
|
+
autocomplete = defaultProps19.autocomplete,
|
|
4774
5295
|
...other
|
|
4775
5296
|
} = props;
|
|
4776
|
-
return /* @__PURE__ */
|
|
5297
|
+
return /* @__PURE__ */ jsx38(
|
|
4777
5298
|
"input",
|
|
4778
5299
|
{
|
|
4779
5300
|
...other,
|
|
4780
5301
|
type,
|
|
4781
|
-
className: classNames(props.className,
|
|
5302
|
+
className: classNames(props.className, className5, optionClassNames(className5, props)),
|
|
4782
5303
|
placeholder,
|
|
4783
5304
|
autoComplete: autocomplete,
|
|
4784
5305
|
defaultValue: value
|
|
4785
5306
|
}
|
|
4786
5307
|
);
|
|
4787
5308
|
};
|
|
4788
|
-
InputInnerInput.states =
|
|
4789
|
-
InputInnerInput.options =
|
|
4790
|
-
InputInnerInput.className =
|
|
5309
|
+
InputInnerInput.states = states20;
|
|
5310
|
+
InputInnerInput.options = options20;
|
|
5311
|
+
InputInnerInput.className = className5;
|
|
4791
5312
|
|
|
4792
5313
|
// src/input/input-inner-span.tsx
|
|
4793
|
-
import { jsx as
|
|
4794
|
-
var
|
|
4795
|
-
var
|
|
4796
|
-
var
|
|
5314
|
+
import { jsx as jsx39, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5315
|
+
var className6 = `k-input-inner`;
|
|
5316
|
+
var states21 = [];
|
|
5317
|
+
var options21 = {};
|
|
4797
5318
|
var InputInnerSpan = (props) => {
|
|
4798
5319
|
const {
|
|
4799
5320
|
value,
|
|
@@ -4803,59 +5324,59 @@ var InputInnerSpan = (props) => {
|
|
|
4803
5324
|
valueIconName,
|
|
4804
5325
|
...other
|
|
4805
5326
|
} = props;
|
|
4806
|
-
return /* @__PURE__ */
|
|
5327
|
+
return /* @__PURE__ */ jsxs14(
|
|
4807
5328
|
"span",
|
|
4808
5329
|
{
|
|
4809
5330
|
...other,
|
|
4810
|
-
className: classNames(props.className,
|
|
5331
|
+
className: classNames(props.className, className6, optionClassNames(className6, props)),
|
|
4811
5332
|
children: [
|
|
4812
5333
|
valueIcon,
|
|
4813
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
5334
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx39(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4814
5335
|
showValue && !value && placeholder,
|
|
4815
|
-
showValue && value && /* @__PURE__ */
|
|
5336
|
+
showValue && value && /* @__PURE__ */ jsx39("span", { className: "k-input-value-text", children: value })
|
|
4816
5337
|
]
|
|
4817
5338
|
}
|
|
4818
5339
|
);
|
|
4819
5340
|
};
|
|
4820
|
-
InputInnerSpan.states =
|
|
4821
|
-
InputInnerSpan.options =
|
|
4822
|
-
InputInnerSpan.className =
|
|
5341
|
+
InputInnerSpan.states = states21;
|
|
5342
|
+
InputInnerSpan.options = options21;
|
|
5343
|
+
InputInnerSpan.className = className6;
|
|
4823
5344
|
|
|
4824
5345
|
// src/input/input-inner-textarea.tsx
|
|
4825
|
-
import { jsx as
|
|
4826
|
-
var
|
|
5346
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5347
|
+
var defaultProps20 = {
|
|
4827
5348
|
value: "",
|
|
4828
5349
|
placeholder: ""
|
|
4829
5350
|
};
|
|
4830
|
-
var
|
|
4831
|
-
var
|
|
4832
|
-
var
|
|
5351
|
+
var className7 = `k-input-inner`;
|
|
5352
|
+
var states22 = [];
|
|
5353
|
+
var options22 = {};
|
|
4833
5354
|
var InputInnerTextarea = (props) => {
|
|
4834
5355
|
const {
|
|
4835
|
-
value =
|
|
4836
|
-
placeholder =
|
|
5356
|
+
value = defaultProps20.value,
|
|
5357
|
+
placeholder = defaultProps20.placeholder,
|
|
4837
5358
|
rows,
|
|
4838
5359
|
...other
|
|
4839
5360
|
} = props;
|
|
4840
|
-
return /* @__PURE__ */
|
|
5361
|
+
return /* @__PURE__ */ jsx40(
|
|
4841
5362
|
"textarea",
|
|
4842
5363
|
{
|
|
4843
5364
|
...other,
|
|
4844
|
-
className: classNames(props.className,
|
|
5365
|
+
className: classNames(props.className, className7, optionClassNames(className7, props)),
|
|
4845
5366
|
placeholder,
|
|
4846
5367
|
rows,
|
|
4847
5368
|
children: value
|
|
4848
5369
|
}
|
|
4849
5370
|
);
|
|
4850
5371
|
};
|
|
4851
|
-
InputInnerTextarea.states =
|
|
4852
|
-
InputInnerTextarea.options =
|
|
4853
|
-
InputInnerTextarea.className =
|
|
5372
|
+
InputInnerTextarea.states = states22;
|
|
5373
|
+
InputInnerTextarea.options = options22;
|
|
5374
|
+
InputInnerTextarea.className = className7;
|
|
4854
5375
|
|
|
4855
5376
|
// src/input/input-loading-icon.tsx
|
|
4856
|
-
import { Fragment as
|
|
4857
|
-
var
|
|
4858
|
-
var
|
|
5377
|
+
import { Fragment as Fragment10, jsx as jsx41 } from "react/jsx-runtime";
|
|
5378
|
+
var className8 = `k-input-loading-icon`;
|
|
5379
|
+
var states23 = [
|
|
4859
5380
|
States.disabled,
|
|
4860
5381
|
States.loading
|
|
4861
5382
|
];
|
|
@@ -4865,21 +5386,21 @@ var InputLoadingIcon = (props) => {
|
|
|
4865
5386
|
loading
|
|
4866
5387
|
} = props;
|
|
4867
5388
|
if (disabled || !loading) {
|
|
4868
|
-
return /* @__PURE__ */
|
|
5389
|
+
return /* @__PURE__ */ jsx41(Fragment10, {});
|
|
4869
5390
|
}
|
|
4870
|
-
return /* @__PURE__ */
|
|
5391
|
+
return /* @__PURE__ */ jsx41("span", { className: classNames(props.className, className8, "k-icon k-i-loading") });
|
|
4871
5392
|
};
|
|
4872
5393
|
|
|
4873
5394
|
// src/input/input-validation-icon.tsx
|
|
4874
|
-
import { Fragment as
|
|
4875
|
-
var
|
|
4876
|
-
var
|
|
5395
|
+
import { Fragment as Fragment11, jsx as jsx42 } from "react/jsx-runtime";
|
|
5396
|
+
var className9 = `k-input-validation-icon`;
|
|
5397
|
+
var states24 = [
|
|
4877
5398
|
States.valid,
|
|
4878
5399
|
States.invalid,
|
|
4879
5400
|
States.disabled,
|
|
4880
5401
|
States.loading
|
|
4881
5402
|
];
|
|
4882
|
-
var
|
|
5403
|
+
var options23 = {};
|
|
4883
5404
|
var InputValidationIcon = (props) => {
|
|
4884
5405
|
const {
|
|
4885
5406
|
valid,
|
|
@@ -4890,34 +5411,34 @@ var InputValidationIcon = (props) => {
|
|
|
4890
5411
|
const iconName = invalid ? "warning-circle" : "check-circle";
|
|
4891
5412
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4892
5413
|
if (disabled || loading || !renderValidationIcon) {
|
|
4893
|
-
return /* @__PURE__ */
|
|
5414
|
+
return /* @__PURE__ */ jsx42(Fragment11, {});
|
|
4894
5415
|
}
|
|
4895
|
-
return /* @__PURE__ */
|
|
5416
|
+
return /* @__PURE__ */ jsx42(Icon, { className: classNames(className9), icon: iconName });
|
|
4896
5417
|
};
|
|
4897
|
-
InputValidationIcon.states =
|
|
4898
|
-
InputValidationIcon.options =
|
|
4899
|
-
InputValidationIcon.className =
|
|
5418
|
+
InputValidationIcon.states = states24;
|
|
5419
|
+
InputValidationIcon.options = options23;
|
|
5420
|
+
InputValidationIcon.className = className9;
|
|
4900
5421
|
|
|
4901
5422
|
// src/input/input-prefix.tsx
|
|
4902
|
-
import { Fragment as
|
|
4903
|
-
var
|
|
4904
|
-
var
|
|
5423
|
+
import { Fragment as Fragment12, jsx as jsx43 } from "react/jsx-runtime";
|
|
5424
|
+
var className10 = `k-input-prefix`;
|
|
5425
|
+
var defaultProps21 = {
|
|
4905
5426
|
direction: "horizontal"
|
|
4906
5427
|
};
|
|
4907
5428
|
var InputPrefix = (props) => {
|
|
4908
5429
|
const {
|
|
4909
|
-
direction =
|
|
5430
|
+
direction = defaultProps21.direction,
|
|
4910
5431
|
...other
|
|
4911
5432
|
} = props;
|
|
4912
5433
|
if (!props.children) {
|
|
4913
|
-
return /* @__PURE__ */
|
|
5434
|
+
return /* @__PURE__ */ jsx43(Fragment12, {});
|
|
4914
5435
|
}
|
|
4915
|
-
return /* @__PURE__ */
|
|
5436
|
+
return /* @__PURE__ */ jsx43(
|
|
4916
5437
|
"span",
|
|
4917
5438
|
{
|
|
4918
5439
|
...other,
|
|
4919
5440
|
className: classNames(
|
|
4920
|
-
|
|
5441
|
+
className10,
|
|
4921
5442
|
props.className,
|
|
4922
5443
|
{
|
|
4923
5444
|
[`k-input-prefix-${direction}`]: direction
|
|
@@ -4929,25 +5450,25 @@ var InputPrefix = (props) => {
|
|
|
4929
5450
|
};
|
|
4930
5451
|
|
|
4931
5452
|
// src/input/input-suffix.tsx
|
|
4932
|
-
import { Fragment as
|
|
4933
|
-
var
|
|
4934
|
-
var
|
|
5453
|
+
import { Fragment as Fragment13, jsx as jsx44 } from "react/jsx-runtime";
|
|
5454
|
+
var className11 = `k-input-suffix`;
|
|
5455
|
+
var defaultProps22 = {
|
|
4935
5456
|
direction: "horizontal"
|
|
4936
5457
|
};
|
|
4937
5458
|
var InputSuffix = (props) => {
|
|
4938
5459
|
const {
|
|
4939
|
-
direction =
|
|
5460
|
+
direction = defaultProps22.direction,
|
|
4940
5461
|
...other
|
|
4941
5462
|
} = props;
|
|
4942
5463
|
if (!props.children) {
|
|
4943
|
-
return /* @__PURE__ */
|
|
5464
|
+
return /* @__PURE__ */ jsx44(Fragment13, {});
|
|
4944
5465
|
}
|
|
4945
|
-
return /* @__PURE__ */
|
|
5466
|
+
return /* @__PURE__ */ jsx44(
|
|
4946
5467
|
"span",
|
|
4947
5468
|
{
|
|
4948
5469
|
...other,
|
|
4949
5470
|
className: classNames(
|
|
4950
|
-
|
|
5471
|
+
className11,
|
|
4951
5472
|
props.className,
|
|
4952
5473
|
{
|
|
4953
5474
|
[`k-input-suffix-${direction}`]: direction
|
|
@@ -4959,105 +5480,41 @@ var InputSuffix = (props) => {
|
|
|
4959
5480
|
};
|
|
4960
5481
|
|
|
4961
5482
|
// src/input/input-prefix-text.tsx
|
|
4962
|
-
import { jsx as
|
|
5483
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
4963
5484
|
|
|
4964
5485
|
// src/input/input-suffix-text.tsx
|
|
4965
|
-
import { jsx as
|
|
5486
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
4966
5487
|
|
|
4967
5488
|
// src/input/input-separator.tsx
|
|
4968
|
-
import { jsx as
|
|
4969
|
-
var
|
|
4970
|
-
var
|
|
5489
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5490
|
+
var className12 = `k-input-separator`;
|
|
5491
|
+
var defaultProps23 = {
|
|
4971
5492
|
direction: "vertical"
|
|
4972
5493
|
};
|
|
4973
5494
|
var InputSeparator = (props) => {
|
|
4974
5495
|
const {
|
|
4975
|
-
direction =
|
|
5496
|
+
direction = defaultProps23.direction,
|
|
4976
5497
|
...other
|
|
4977
5498
|
} = props;
|
|
4978
|
-
return /* @__PURE__ */
|
|
5499
|
+
return /* @__PURE__ */ jsx47(
|
|
4979
5500
|
"span",
|
|
4980
5501
|
{
|
|
4981
5502
|
...other,
|
|
4982
5503
|
className: classNames(
|
|
4983
|
-
|
|
5504
|
+
className12,
|
|
4984
5505
|
props.className,
|
|
4985
5506
|
{
|
|
4986
|
-
[`${
|
|
5507
|
+
[`${className12}-${direction}`]: direction
|
|
4987
5508
|
}
|
|
4988
5509
|
)
|
|
4989
5510
|
}
|
|
4990
5511
|
);
|
|
4991
5512
|
};
|
|
4992
5513
|
|
|
4993
|
-
// src/animation-container/animation-container.spec.tsx
|
|
4994
|
-
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
4995
|
-
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4996
|
-
var states16 = [];
|
|
4997
|
-
var options15 = {};
|
|
4998
|
-
var defaultProps16 = {
|
|
4999
|
-
positionMode: "absolute"
|
|
5000
|
-
};
|
|
5001
|
-
var AnimationContainer = (props) => {
|
|
5002
|
-
const {
|
|
5003
|
-
positionMode,
|
|
5004
|
-
animationStyle,
|
|
5005
|
-
offset,
|
|
5006
|
-
...other
|
|
5007
|
-
} = props;
|
|
5008
|
-
return /* @__PURE__ */ jsx28(
|
|
5009
|
-
"div",
|
|
5010
|
-
{
|
|
5011
|
-
...other,
|
|
5012
|
-
style: { ...offset, ...props.style },
|
|
5013
|
-
className: classNames(
|
|
5014
|
-
ANIMATION_CONTAINER_CLASSNAME,
|
|
5015
|
-
"k-animation-container-shown",
|
|
5016
|
-
{
|
|
5017
|
-
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5018
|
-
}
|
|
5019
|
-
),
|
|
5020
|
-
children: /* @__PURE__ */ jsx28("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5021
|
-
}
|
|
5022
|
-
);
|
|
5023
|
-
};
|
|
5024
|
-
AnimationContainer.states = states16;
|
|
5025
|
-
AnimationContainer.options = options15;
|
|
5026
|
-
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
5027
|
-
AnimationContainer.defaultProps = defaultProps16;
|
|
5028
|
-
|
|
5029
|
-
// src/popup/popup.spec.tsx
|
|
5030
|
-
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
5031
|
-
var POPUP_CLASSNAME = `k-popup`;
|
|
5032
|
-
var states17 = [];
|
|
5033
|
-
var options16 = {};
|
|
5034
|
-
var defaultProps17 = {
|
|
5035
|
-
positionMode: "absolute"
|
|
5036
|
-
};
|
|
5037
|
-
var Popup = (props) => {
|
|
5038
|
-
const {
|
|
5039
|
-
offset,
|
|
5040
|
-
positionMode,
|
|
5041
|
-
...other
|
|
5042
|
-
} = props;
|
|
5043
|
-
return /* @__PURE__ */ jsx29(
|
|
5044
|
-
AnimationContainer,
|
|
5045
|
-
{
|
|
5046
|
-
positionMode,
|
|
5047
|
-
offset,
|
|
5048
|
-
children: /* @__PURE__ */ jsx29("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5049
|
-
}
|
|
5050
|
-
);
|
|
5051
|
-
};
|
|
5052
|
-
Popup.states = states17;
|
|
5053
|
-
Popup.options = options16;
|
|
5054
|
-
Popup.className = POPUP_CLASSNAME;
|
|
5055
|
-
Popup.defaultProps = defaultProps17;
|
|
5056
|
-
|
|
5057
5514
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5058
|
-
import { Fragment as
|
|
5515
|
+
import { Fragment as Fragment14, jsx as jsx48, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5059
5516
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5060
|
-
var
|
|
5517
|
+
var states25 = [
|
|
5061
5518
|
States.hover,
|
|
5062
5519
|
States.focus,
|
|
5063
5520
|
States.valid,
|
|
@@ -5067,12 +5524,12 @@ var states18 = [
|
|
|
5067
5524
|
States.loading,
|
|
5068
5525
|
States.readonly
|
|
5069
5526
|
];
|
|
5070
|
-
var
|
|
5527
|
+
var options24 = {
|
|
5071
5528
|
size: [Size.small, Size.medium, Size.large],
|
|
5072
5529
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5073
5530
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5074
5531
|
};
|
|
5075
|
-
var
|
|
5532
|
+
var defaultProps24 = {
|
|
5076
5533
|
showValue: true,
|
|
5077
5534
|
arrowIconName: "caret-alt-down",
|
|
5078
5535
|
size: Size.medium,
|
|
@@ -5082,7 +5539,7 @@ var defaultProps18 = {
|
|
|
5082
5539
|
var DropdownList = (props) => {
|
|
5083
5540
|
const {
|
|
5084
5541
|
valueIconName,
|
|
5085
|
-
arrowIconName =
|
|
5542
|
+
arrowIconName = defaultProps24.arrowIconName,
|
|
5086
5543
|
prefix,
|
|
5087
5544
|
suffix,
|
|
5088
5545
|
value,
|
|
@@ -5098,13 +5555,13 @@ var DropdownList = (props) => {
|
|
|
5098
5555
|
loading,
|
|
5099
5556
|
disabled,
|
|
5100
5557
|
readonly,
|
|
5101
|
-
showValue =
|
|
5558
|
+
showValue = defaultProps24.showValue,
|
|
5102
5559
|
popup,
|
|
5103
5560
|
opened,
|
|
5104
5561
|
...other
|
|
5105
5562
|
} = props;
|
|
5106
|
-
return /* @__PURE__ */
|
|
5107
|
-
/* @__PURE__ */
|
|
5563
|
+
return /* @__PURE__ */ jsxs15(Fragment14, { children: [
|
|
5564
|
+
/* @__PURE__ */ jsxs15(
|
|
5108
5565
|
Picker,
|
|
5109
5566
|
{
|
|
5110
5567
|
...other,
|
|
@@ -5127,8 +5584,8 @@ var DropdownList = (props) => {
|
|
|
5127
5584
|
}
|
|
5128
5585
|
),
|
|
5129
5586
|
children: [
|
|
5130
|
-
/* @__PURE__ */
|
|
5131
|
-
/* @__PURE__ */
|
|
5587
|
+
/* @__PURE__ */ jsx48(InputPrefix, { children: prefix }),
|
|
5588
|
+
/* @__PURE__ */ jsx48(
|
|
5132
5589
|
InputInnerSpan,
|
|
5133
5590
|
{
|
|
5134
5591
|
placeholder,
|
|
@@ -5137,7 +5594,7 @@ var DropdownList = (props) => {
|
|
|
5137
5594
|
valueIconName
|
|
5138
5595
|
}
|
|
5139
5596
|
),
|
|
5140
|
-
/* @__PURE__ */
|
|
5597
|
+
/* @__PURE__ */ jsx48(
|
|
5141
5598
|
InputValidationIcon,
|
|
5142
5599
|
{
|
|
5143
5600
|
valid,
|
|
@@ -5146,15 +5603,15 @@ var DropdownList = (props) => {
|
|
|
5146
5603
|
disabled
|
|
5147
5604
|
}
|
|
5148
5605
|
),
|
|
5149
|
-
/* @__PURE__ */
|
|
5606
|
+
/* @__PURE__ */ jsx48(
|
|
5150
5607
|
InputLoadingIcon,
|
|
5151
5608
|
{
|
|
5152
5609
|
loading,
|
|
5153
5610
|
disabled
|
|
5154
5611
|
}
|
|
5155
5612
|
),
|
|
5156
|
-
/* @__PURE__ */
|
|
5157
|
-
/* @__PURE__ */
|
|
5613
|
+
/* @__PURE__ */ jsx48(InputSuffix, { children: suffix }),
|
|
5614
|
+
/* @__PURE__ */ jsx48(
|
|
5158
5615
|
Button,
|
|
5159
5616
|
{
|
|
5160
5617
|
className: "k-input-button",
|
|
@@ -5167,35 +5624,35 @@ var DropdownList = (props) => {
|
|
|
5167
5624
|
]
|
|
5168
5625
|
}
|
|
5169
5626
|
),
|
|
5170
|
-
opened && popup && /* @__PURE__ */
|
|
5627
|
+
opened && popup && /* @__PURE__ */ jsx48(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5171
5628
|
] });
|
|
5172
5629
|
};
|
|
5173
|
-
DropdownList.states =
|
|
5174
|
-
DropdownList.options =
|
|
5630
|
+
DropdownList.states = states25;
|
|
5631
|
+
DropdownList.options = options24;
|
|
5175
5632
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
5176
|
-
DropdownList.defaultProps =
|
|
5633
|
+
DropdownList.defaultProps = defaultProps24;
|
|
5177
5634
|
|
|
5178
5635
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5179
|
-
import { jsx as
|
|
5636
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5180
5637
|
|
|
5181
5638
|
// src/nodata/nodata.tsx
|
|
5182
|
-
import { jsx as
|
|
5183
|
-
var
|
|
5184
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5639
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5640
|
+
var className13 = `k-nodata`;
|
|
5641
|
+
var NoData = (props) => /* @__PURE__ */ jsx50("span", { className: classNames(className13, props.className), children: props.children });
|
|
5185
5642
|
|
|
5186
5643
|
// src/list/list.spec.tsx
|
|
5187
|
-
import { jsx as
|
|
5644
|
+
import { jsx as jsx51, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5188
5645
|
var LIST_CLASSNAME = `k-list`;
|
|
5189
|
-
var
|
|
5190
|
-
var
|
|
5646
|
+
var states26 = [];
|
|
5647
|
+
var options25 = {
|
|
5191
5648
|
size: [Size.small, Size.medium, Size.large]
|
|
5192
5649
|
};
|
|
5193
|
-
var
|
|
5650
|
+
var defaultProps25 = {
|
|
5194
5651
|
size: Size.medium
|
|
5195
5652
|
};
|
|
5196
5653
|
var List = (props) => {
|
|
5197
5654
|
const {
|
|
5198
|
-
size =
|
|
5655
|
+
size = defaultProps25.size,
|
|
5199
5656
|
virtualization,
|
|
5200
5657
|
children,
|
|
5201
5658
|
optionLabel,
|
|
@@ -5212,7 +5669,7 @@ var List = (props) => {
|
|
|
5212
5669
|
listHeader = child.props.label;
|
|
5213
5670
|
child.props.children.map((optChild, index2) => {
|
|
5214
5671
|
listChildren.push(
|
|
5215
|
-
/* @__PURE__ */
|
|
5672
|
+
/* @__PURE__ */ jsx51(
|
|
5216
5673
|
ListItem,
|
|
5217
5674
|
{
|
|
5218
5675
|
...optChild.props
|
|
@@ -5228,7 +5685,7 @@ var List = (props) => {
|
|
|
5228
5685
|
groupLabel = child.props.label;
|
|
5229
5686
|
}
|
|
5230
5687
|
listChildren.push(
|
|
5231
|
-
/* @__PURE__ */
|
|
5688
|
+
/* @__PURE__ */ jsx51(
|
|
5232
5689
|
ListItem,
|
|
5233
5690
|
{
|
|
5234
5691
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5240,16 +5697,16 @@ var List = (props) => {
|
|
|
5240
5697
|
);
|
|
5241
5698
|
});
|
|
5242
5699
|
}
|
|
5243
|
-
listGroup = /* @__PURE__ */
|
|
5700
|
+
listGroup = /* @__PURE__ */ jsx51(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5244
5701
|
} else if (child.type === ListItem) {
|
|
5245
|
-
listChildren.push(/* @__PURE__ */
|
|
5246
|
-
listContent = /* @__PURE__ */
|
|
5702
|
+
listChildren.push(/* @__PURE__ */ jsx51(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5703
|
+
listContent = /* @__PURE__ */ jsx51(ListContent, { virtualization, children: listChildren });
|
|
5247
5704
|
}
|
|
5248
5705
|
});
|
|
5249
5706
|
} else {
|
|
5250
|
-
listContent = /* @__PURE__ */
|
|
5707
|
+
listContent = /* @__PURE__ */ jsx51(NoData, { children: "No data found." });
|
|
5251
5708
|
}
|
|
5252
|
-
return /* @__PURE__ */
|
|
5709
|
+
return /* @__PURE__ */ jsxs16(
|
|
5253
5710
|
"div",
|
|
5254
5711
|
{
|
|
5255
5712
|
...other,
|
|
@@ -5271,24 +5728,24 @@ var List = (props) => {
|
|
|
5271
5728
|
}
|
|
5272
5729
|
);
|
|
5273
5730
|
};
|
|
5274
|
-
List.states =
|
|
5275
|
-
List.options =
|
|
5731
|
+
List.states = states26;
|
|
5732
|
+
List.options = options25;
|
|
5276
5733
|
List.className = LIST_CLASSNAME;
|
|
5277
|
-
List.defaultProps =
|
|
5734
|
+
List.defaultProps = defaultProps25;
|
|
5278
5735
|
|
|
5279
5736
|
// src/list/list-angular.spec.tsx
|
|
5280
|
-
import { jsx as
|
|
5737
|
+
import { jsx as jsx52, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5281
5738
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5282
|
-
var
|
|
5283
|
-
var
|
|
5739
|
+
var states27 = [];
|
|
5740
|
+
var options26 = {
|
|
5284
5741
|
size: [Size.small, Size.medium, Size.large]
|
|
5285
5742
|
};
|
|
5286
|
-
var
|
|
5743
|
+
var defaultProps26 = {
|
|
5287
5744
|
size: Size.medium
|
|
5288
5745
|
};
|
|
5289
5746
|
var ListAngular = (props) => {
|
|
5290
5747
|
const {
|
|
5291
|
-
size =
|
|
5748
|
+
size = defaultProps26.size,
|
|
5292
5749
|
virtualization,
|
|
5293
5750
|
children,
|
|
5294
5751
|
...other
|
|
@@ -5304,7 +5761,7 @@ var ListAngular = (props) => {
|
|
|
5304
5761
|
listHeader = child.props.label;
|
|
5305
5762
|
child.props.children.map((optChild, index2) => {
|
|
5306
5763
|
listChildren.push(
|
|
5307
|
-
/* @__PURE__ */
|
|
5764
|
+
/* @__PURE__ */ jsx52(
|
|
5308
5765
|
ListItem,
|
|
5309
5766
|
{
|
|
5310
5767
|
...optChild.props
|
|
@@ -5315,7 +5772,7 @@ var ListAngular = (props) => {
|
|
|
5315
5772
|
});
|
|
5316
5773
|
} else {
|
|
5317
5774
|
listChildren.push(
|
|
5318
|
-
/* @__PURE__ */
|
|
5775
|
+
/* @__PURE__ */ jsx52(
|
|
5319
5776
|
ListGroupItem,
|
|
5320
5777
|
{
|
|
5321
5778
|
...child.props,
|
|
@@ -5326,7 +5783,7 @@ var ListAngular = (props) => {
|
|
|
5326
5783
|
);
|
|
5327
5784
|
child.props.children.map((optChild, index2) => {
|
|
5328
5785
|
listChildren.push(
|
|
5329
|
-
/* @__PURE__ */
|
|
5786
|
+
/* @__PURE__ */ jsx52(
|
|
5330
5787
|
ListItem,
|
|
5331
5788
|
{
|
|
5332
5789
|
...optChild.props
|
|
@@ -5336,16 +5793,16 @@ var ListAngular = (props) => {
|
|
|
5336
5793
|
);
|
|
5337
5794
|
});
|
|
5338
5795
|
}
|
|
5339
|
-
listGroup = /* @__PURE__ */
|
|
5796
|
+
listGroup = /* @__PURE__ */ jsx52(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5340
5797
|
} else if (child.type === ListItem) {
|
|
5341
|
-
listChildren.push(/* @__PURE__ */
|
|
5342
|
-
listContent = /* @__PURE__ */
|
|
5798
|
+
listChildren.push(/* @__PURE__ */ jsx52(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5799
|
+
listContent = /* @__PURE__ */ jsx52(ListContent, { virtualization, children: listChildren });
|
|
5343
5800
|
}
|
|
5344
5801
|
});
|
|
5345
5802
|
} else {
|
|
5346
|
-
listContent = /* @__PURE__ */
|
|
5803
|
+
listContent = /* @__PURE__ */ jsx52(NoData, { children: "No data found." });
|
|
5347
5804
|
}
|
|
5348
|
-
return /* @__PURE__ */
|
|
5805
|
+
return /* @__PURE__ */ jsxs17(
|
|
5349
5806
|
"div",
|
|
5350
5807
|
{
|
|
5351
5808
|
...other,
|
|
@@ -5366,22 +5823,22 @@ var ListAngular = (props) => {
|
|
|
5366
5823
|
}
|
|
5367
5824
|
);
|
|
5368
5825
|
};
|
|
5369
|
-
ListAngular.states =
|
|
5370
|
-
ListAngular.options =
|
|
5826
|
+
ListAngular.states = states27;
|
|
5827
|
+
ListAngular.options = options26;
|
|
5371
5828
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
5372
|
-
ListAngular.defaultProps =
|
|
5829
|
+
ListAngular.defaultProps = defaultProps26;
|
|
5373
5830
|
|
|
5374
5831
|
// src/list/list-item.spec.tsx
|
|
5375
|
-
import { jsx as
|
|
5832
|
+
import { jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5376
5833
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5377
|
-
var
|
|
5834
|
+
var states28 = [
|
|
5378
5835
|
States.hover,
|
|
5379
5836
|
States.focus,
|
|
5380
5837
|
States.selected,
|
|
5381
5838
|
States.disabled
|
|
5382
5839
|
];
|
|
5383
|
-
var
|
|
5384
|
-
var
|
|
5840
|
+
var options27 = {};
|
|
5841
|
+
var defaultProps27 = {};
|
|
5385
5842
|
var ListItem = (props) => {
|
|
5386
5843
|
const {
|
|
5387
5844
|
text,
|
|
@@ -5397,7 +5854,7 @@ var ListItem = (props) => {
|
|
|
5397
5854
|
...other
|
|
5398
5855
|
} = props;
|
|
5399
5856
|
const textOrChildren = text ? text : props.children;
|
|
5400
|
-
return /* @__PURE__ */
|
|
5857
|
+
return /* @__PURE__ */ jsxs18(
|
|
5401
5858
|
"li",
|
|
5402
5859
|
{
|
|
5403
5860
|
...other,
|
|
@@ -5412,66 +5869,66 @@ var ListItem = (props) => {
|
|
|
5412
5869
|
})
|
|
5413
5870
|
),
|
|
5414
5871
|
children: [
|
|
5415
|
-
showCheckbox && /* @__PURE__ */
|
|
5416
|
-
showIcon && /* @__PURE__ */
|
|
5417
|
-
/* @__PURE__ */
|
|
5418
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5872
|
+
showCheckbox && /* @__PURE__ */ jsx53(Checkbox, { checked }),
|
|
5873
|
+
showIcon && /* @__PURE__ */ jsx53(Icon, { icon: iconName }),
|
|
5874
|
+
/* @__PURE__ */ jsx53("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5875
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx53("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5419
5876
|
]
|
|
5420
5877
|
}
|
|
5421
5878
|
);
|
|
5422
5879
|
};
|
|
5423
|
-
ListItem.states =
|
|
5424
|
-
ListItem.options =
|
|
5880
|
+
ListItem.states = states28;
|
|
5881
|
+
ListItem.options = options27;
|
|
5425
5882
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
5426
|
-
ListItem.defaultProps =
|
|
5883
|
+
ListItem.defaultProps = defaultProps27;
|
|
5427
5884
|
|
|
5428
5885
|
// src/list/list-content.tsx
|
|
5429
|
-
import { jsx as
|
|
5430
|
-
var
|
|
5886
|
+
import { jsx as jsx54, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5887
|
+
var className14 = `k-list-content`;
|
|
5431
5888
|
var ListContent = (props) => {
|
|
5432
5889
|
const {
|
|
5433
5890
|
virtualization
|
|
5434
5891
|
} = props;
|
|
5435
|
-
return /* @__PURE__ */
|
|
5436
|
-
/* @__PURE__ */
|
|
5437
|
-
virtualization && /* @__PURE__ */
|
|
5892
|
+
return /* @__PURE__ */ jsxs19("div", { className: classNames(className14, props.className), children: [
|
|
5893
|
+
/* @__PURE__ */ jsx54("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5894
|
+
virtualization && /* @__PURE__ */ jsx54("div", { className: "k-height-container", children: /* @__PURE__ */ jsx54("div", {}) })
|
|
5438
5895
|
] });
|
|
5439
5896
|
};
|
|
5440
5897
|
|
|
5441
5898
|
// src/list/list-header.tsx
|
|
5442
|
-
import { jsx as
|
|
5443
|
-
var
|
|
5444
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5899
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5900
|
+
var className15 = `k-list-group-sticky-header`;
|
|
5901
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx55("div", { className: classNames(className15, props.className), children: /* @__PURE__ */ jsx55("div", { className: "k-list-header-text", children: props.children }) });
|
|
5445
5902
|
|
|
5446
5903
|
// src/list/list-group.tsx
|
|
5447
|
-
import { Fragment as
|
|
5904
|
+
import { Fragment as Fragment15, jsx as jsx56, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5448
5905
|
var ListGroup = (props) => {
|
|
5449
5906
|
const {
|
|
5450
5907
|
virtualization,
|
|
5451
5908
|
label
|
|
5452
5909
|
} = props;
|
|
5453
|
-
return /* @__PURE__ */
|
|
5454
|
-
label && /* @__PURE__ */
|
|
5455
|
-
props.children && /* @__PURE__ */
|
|
5910
|
+
return /* @__PURE__ */ jsxs20(Fragment15, { children: [
|
|
5911
|
+
label && /* @__PURE__ */ jsx56(ListHeader, { children: label }),
|
|
5912
|
+
props.children && /* @__PURE__ */ jsx56(ListContent, { virtualization, children: props.children })
|
|
5456
5913
|
] });
|
|
5457
5914
|
};
|
|
5458
5915
|
|
|
5459
5916
|
// src/list/list-group-item.tsx
|
|
5460
|
-
import { jsx as
|
|
5461
|
-
var
|
|
5462
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
5917
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5918
|
+
var className16 = `k-list-group-item`;
|
|
5919
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx57("li", { className: classNames(className16, props.className), children: /* @__PURE__ */ jsx57("span", { className: "k-list-item-text", children: props.children }) });
|
|
5463
5920
|
|
|
5464
5921
|
// src/list/list-option-label.tsx
|
|
5465
|
-
import { jsx as
|
|
5922
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5466
5923
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
5467
|
-
var
|
|
5924
|
+
var states29 = [
|
|
5468
5925
|
States.hover,
|
|
5469
5926
|
States.focus,
|
|
5470
5927
|
States.selected,
|
|
5471
5928
|
States.disabled
|
|
5472
5929
|
];
|
|
5473
|
-
var
|
|
5474
|
-
var
|
|
5930
|
+
var options28 = {};
|
|
5931
|
+
var defaultProps28 = {};
|
|
5475
5932
|
var ListOptionLabel = (props) => {
|
|
5476
5933
|
const {
|
|
5477
5934
|
text,
|
|
@@ -5481,7 +5938,7 @@ var ListOptionLabel = (props) => {
|
|
|
5481
5938
|
disabled,
|
|
5482
5939
|
...other
|
|
5483
5940
|
} = props;
|
|
5484
|
-
return /* @__PURE__ */
|
|
5941
|
+
return /* @__PURE__ */ jsx58(
|
|
5485
5942
|
"div",
|
|
5486
5943
|
{
|
|
5487
5944
|
...other,
|
|
@@ -5498,39 +5955,39 @@ var ListOptionLabel = (props) => {
|
|
|
5498
5955
|
}
|
|
5499
5956
|
);
|
|
5500
5957
|
};
|
|
5501
|
-
ListOptionLabel.states =
|
|
5502
|
-
ListOptionLabel.options =
|
|
5958
|
+
ListOptionLabel.states = states29;
|
|
5959
|
+
ListOptionLabel.options = options28;
|
|
5503
5960
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
5504
|
-
ListOptionLabel.defaultProps =
|
|
5961
|
+
ListOptionLabel.defaultProps = defaultProps28;
|
|
5505
5962
|
|
|
5506
5963
|
// src/list/templates/list-normal.tsx
|
|
5507
|
-
import { jsx as
|
|
5964
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5508
5965
|
|
|
5509
5966
|
// src/list/templates/list-virtualization.tsx
|
|
5510
|
-
import { jsx as
|
|
5967
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5511
5968
|
|
|
5512
5969
|
// src/list/templates/list-grouping.tsx
|
|
5513
|
-
import { jsx as
|
|
5970
|
+
import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5514
5971
|
|
|
5515
5972
|
// src/list/templates/list-virualization-grouping.tsx
|
|
5516
|
-
import { jsx as
|
|
5973
|
+
import { jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5517
5974
|
|
|
5518
5975
|
// src/list/templates/list-virtualization-angular.tsx
|
|
5519
|
-
import { jsx as
|
|
5976
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5520
5977
|
|
|
5521
5978
|
// src/list/templates/list-grouping-angular.tsx
|
|
5522
|
-
import { jsx as
|
|
5979
|
+
import { jsx as jsx64, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5523
5980
|
|
|
5524
5981
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
5525
|
-
import { jsx as
|
|
5982
|
+
import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5526
5983
|
|
|
5527
5984
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
5528
|
-
import { jsx as
|
|
5985
|
+
import { jsx as jsx66, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5529
5986
|
|
|
5530
5987
|
// src/searchbox/searchbox.spec.tsx
|
|
5531
|
-
import { jsx as
|
|
5988
|
+
import { jsx as jsx67, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5532
5989
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5533
|
-
var
|
|
5990
|
+
var states30 = [
|
|
5534
5991
|
States.hover,
|
|
5535
5992
|
States.focus,
|
|
5536
5993
|
States.valid,
|
|
@@ -5539,12 +5996,12 @@ var states23 = [
|
|
|
5539
5996
|
States.disabled,
|
|
5540
5997
|
States.loading
|
|
5541
5998
|
];
|
|
5542
|
-
var
|
|
5999
|
+
var options29 = {
|
|
5543
6000
|
size: [Size.small, Size.medium, Size.large],
|
|
5544
6001
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5545
6002
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5546
6003
|
};
|
|
5547
|
-
var
|
|
6004
|
+
var defaultProps29 = {
|
|
5548
6005
|
showIcon: true,
|
|
5549
6006
|
icon: "search",
|
|
5550
6007
|
size: Input.defaultProps.size,
|
|
@@ -5565,11 +6022,11 @@ var Searchbox = (props) => {
|
|
|
5565
6022
|
required,
|
|
5566
6023
|
loading,
|
|
5567
6024
|
disabled,
|
|
5568
|
-
showIcon =
|
|
5569
|
-
icon =
|
|
6025
|
+
showIcon = defaultProps29.showIcon,
|
|
6026
|
+
icon = defaultProps29.icon,
|
|
5570
6027
|
...other
|
|
5571
6028
|
} = props;
|
|
5572
|
-
return /* @__PURE__ */
|
|
6029
|
+
return /* @__PURE__ */ jsxs26(
|
|
5573
6030
|
Input,
|
|
5574
6031
|
{
|
|
5575
6032
|
...other,
|
|
@@ -5585,36 +6042,36 @@ var Searchbox = (props) => {
|
|
|
5585
6042
|
disabled,
|
|
5586
6043
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5587
6044
|
children: [
|
|
5588
|
-
showIcon && /* @__PURE__ */
|
|
5589
|
-
/* @__PURE__ */
|
|
5590
|
-
/* @__PURE__ */
|
|
5591
|
-
/* @__PURE__ */
|
|
5592
|
-
/* @__PURE__ */
|
|
6045
|
+
showIcon && /* @__PURE__ */ jsx67(Icon, { className: "k-input-icon", icon }),
|
|
6046
|
+
/* @__PURE__ */ jsx67(InputInnerInput, { placeholder, value }),
|
|
6047
|
+
/* @__PURE__ */ jsx67(InputLoadingIcon, { ...props }),
|
|
6048
|
+
/* @__PURE__ */ jsx67(InputValidationIcon, { ...props }),
|
|
6049
|
+
/* @__PURE__ */ jsx67(InputClearValue, { ...props })
|
|
5593
6050
|
]
|
|
5594
6051
|
}
|
|
5595
6052
|
);
|
|
5596
6053
|
};
|
|
5597
|
-
Searchbox.states =
|
|
5598
|
-
Searchbox.options =
|
|
6054
|
+
Searchbox.states = states30;
|
|
6055
|
+
Searchbox.options = options29;
|
|
5599
6056
|
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
5600
|
-
Searchbox.defaultProps =
|
|
6057
|
+
Searchbox.defaultProps = defaultProps29;
|
|
5601
6058
|
|
|
5602
6059
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5603
|
-
import { jsx as
|
|
6060
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
5604
6061
|
|
|
5605
6062
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
5606
|
-
import { Fragment as
|
|
6063
|
+
import { Fragment as Fragment16, jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5607
6064
|
|
|
5608
6065
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
5609
|
-
import { jsx as
|
|
6066
|
+
import { jsx as jsx70, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
5610
6067
|
|
|
5611
6068
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
5612
|
-
import { Fragment as
|
|
6069
|
+
import { Fragment as Fragment17, jsx as jsx71, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5613
6070
|
|
|
5614
6071
|
// src/textbox/textbox.spec.tsx
|
|
5615
|
-
import { Fragment as
|
|
6072
|
+
import { Fragment as Fragment18, jsx as jsx72, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
5616
6073
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
5617
|
-
var
|
|
6074
|
+
var states31 = [
|
|
5618
6075
|
States.hover,
|
|
5619
6076
|
States.focus,
|
|
5620
6077
|
States.valid,
|
|
@@ -5624,12 +6081,12 @@ var states24 = [
|
|
|
5624
6081
|
States.loading,
|
|
5625
6082
|
States.readonly
|
|
5626
6083
|
];
|
|
5627
|
-
var
|
|
6084
|
+
var options30 = {
|
|
5628
6085
|
size: [Size.small, Size.medium, Size.large],
|
|
5629
6086
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5630
6087
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5631
6088
|
};
|
|
5632
|
-
var
|
|
6089
|
+
var defaultProps30 = {
|
|
5633
6090
|
showClearButton: true,
|
|
5634
6091
|
size: Input.defaultProps.size,
|
|
5635
6092
|
rounded: Input.defaultProps.rounded,
|
|
@@ -5652,10 +6109,10 @@ var Textbox = (props) => {
|
|
|
5652
6109
|
loading,
|
|
5653
6110
|
disabled,
|
|
5654
6111
|
readonly,
|
|
5655
|
-
showClearButton =
|
|
6112
|
+
showClearButton = defaultProps30.showClearButton,
|
|
5656
6113
|
...other
|
|
5657
6114
|
} = props;
|
|
5658
|
-
return /* @__PURE__ */
|
|
6115
|
+
return /* @__PURE__ */ jsxs30(
|
|
5659
6116
|
Input,
|
|
5660
6117
|
{
|
|
5661
6118
|
...other,
|
|
@@ -5672,12 +6129,12 @@ var Textbox = (props) => {
|
|
|
5672
6129
|
readonly,
|
|
5673
6130
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
5674
6131
|
children: [
|
|
5675
|
-
prefix && /* @__PURE__ */
|
|
5676
|
-
/* @__PURE__ */
|
|
5677
|
-
/* @__PURE__ */
|
|
6132
|
+
prefix && /* @__PURE__ */ jsxs30(Fragment18, { children: [
|
|
6133
|
+
/* @__PURE__ */ jsx72(InputPrefix, { children: prefix }),
|
|
6134
|
+
/* @__PURE__ */ jsx72(InputSeparator, {})
|
|
5678
6135
|
] }),
|
|
5679
|
-
/* @__PURE__ */
|
|
5680
|
-
/* @__PURE__ */
|
|
6136
|
+
/* @__PURE__ */ jsx72(InputInnerInput, { placeholder, value }),
|
|
6137
|
+
/* @__PURE__ */ jsx72(
|
|
5681
6138
|
InputValidationIcon,
|
|
5682
6139
|
{
|
|
5683
6140
|
valid,
|
|
@@ -5686,14 +6143,14 @@ var Textbox = (props) => {
|
|
|
5686
6143
|
disabled
|
|
5687
6144
|
}
|
|
5688
6145
|
),
|
|
5689
|
-
/* @__PURE__ */
|
|
6146
|
+
/* @__PURE__ */ jsx72(
|
|
5690
6147
|
InputLoadingIcon,
|
|
5691
6148
|
{
|
|
5692
6149
|
loading,
|
|
5693
6150
|
disabled
|
|
5694
6151
|
}
|
|
5695
6152
|
),
|
|
5696
|
-
showClearButton && /* @__PURE__ */
|
|
6153
|
+
showClearButton && /* @__PURE__ */ jsx72(
|
|
5697
6154
|
InputClearValue,
|
|
5698
6155
|
{
|
|
5699
6156
|
loading,
|
|
@@ -5702,482 +6159,172 @@ var Textbox = (props) => {
|
|
|
5702
6159
|
value
|
|
5703
6160
|
}
|
|
5704
6161
|
),
|
|
5705
|
-
suffix && /* @__PURE__ */
|
|
5706
|
-
/* @__PURE__ */
|
|
5707
|
-
/* @__PURE__ */
|
|
6162
|
+
suffix && /* @__PURE__ */ jsxs30(Fragment18, { children: [
|
|
6163
|
+
/* @__PURE__ */ jsx72(InputSeparator, {}),
|
|
6164
|
+
/* @__PURE__ */ jsx72(InputSuffix, { children: suffix })
|
|
5708
6165
|
] })
|
|
5709
6166
|
]
|
|
5710
6167
|
}
|
|
5711
6168
|
);
|
|
5712
6169
|
};
|
|
5713
|
-
Textbox.states =
|
|
5714
|
-
Textbox.options =
|
|
6170
|
+
Textbox.states = states31;
|
|
6171
|
+
Textbox.options = options30;
|
|
5715
6172
|
Textbox.className = TEXTBOX_CLASSNAME;
|
|
5716
|
-
Textbox.defaultProps =
|
|
6173
|
+
Textbox.defaultProps = defaultProps30;
|
|
5717
6174
|
|
|
5718
6175
|
// src/textbox/templates/textbox-normal.tsx
|
|
5719
|
-
import { jsx as
|
|
6176
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
5720
6177
|
|
|
5721
6178
|
// src/textbox/templates/textbox-prefix.tsx
|
|
5722
|
-
import { Fragment as
|
|
6179
|
+
import { Fragment as Fragment19, jsx as jsx74 } from "react/jsx-runtime";
|
|
5723
6180
|
|
|
5724
6181
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5725
|
-
import { Fragment as
|
|
5726
|
-
|
|
5727
|
-
// src/treeview/treeview.spec.tsx
|
|
5728
|
-
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5729
|
-
import { createElement } from "react";
|
|
5730
|
-
var TREEVIEW_CLASSNAME = `k-treeview`;
|
|
5731
|
-
var states25 = [];
|
|
5732
|
-
var options24 = {
|
|
5733
|
-
size: [Size.small, Size.medium, Size.large]
|
|
5734
|
-
};
|
|
5735
|
-
var defaultProps25 = {
|
|
5736
|
-
size: Size.medium
|
|
5737
|
-
};
|
|
5738
|
-
var Treeview = (props) => {
|
|
5739
|
-
const {
|
|
5740
|
-
size = defaultProps25.size,
|
|
5741
|
-
children,
|
|
5742
|
-
dir,
|
|
5743
|
-
...other
|
|
5744
|
-
} = props;
|
|
5745
|
-
const listChildren = [];
|
|
5746
|
-
if (children) {
|
|
5747
|
-
if (Array.isArray(children)) {
|
|
5748
|
-
children.map((child, index) => {
|
|
5749
|
-
if (child.type === TreeviewItem) {
|
|
5750
|
-
listChildren.push(
|
|
5751
|
-
/* @__PURE__ */ createElement(TreeviewItem, { ...child.props, dir, key: index })
|
|
5752
|
-
);
|
|
5753
|
-
}
|
|
5754
|
-
if (child.type === TreeviewGroup) {
|
|
5755
|
-
listChildren.push(
|
|
5756
|
-
/* @__PURE__ */ createElement(TreeviewGroup, { ...child.props, dir, key: index })
|
|
5757
|
-
);
|
|
5758
|
-
}
|
|
5759
|
-
});
|
|
5760
|
-
} else {
|
|
5761
|
-
if (children.type === TreeviewItem) {
|
|
5762
|
-
listChildren.push(
|
|
5763
|
-
/* @__PURE__ */ jsx58(TreeviewItem, { ...children.props, dir })
|
|
5764
|
-
);
|
|
5765
|
-
}
|
|
5766
|
-
if (children.type === TreeviewGroup) {
|
|
5767
|
-
listChildren.push(
|
|
5768
|
-
/* @__PURE__ */ jsx58(TreeviewGroup, { ...children.props, dir })
|
|
5769
|
-
);
|
|
5770
|
-
}
|
|
5771
|
-
}
|
|
5772
|
-
}
|
|
5773
|
-
return /* @__PURE__ */ jsx58(
|
|
5774
|
-
"div",
|
|
5775
|
-
{
|
|
5776
|
-
...other,
|
|
5777
|
-
dir,
|
|
5778
|
-
className: classNames(
|
|
5779
|
-
props.className,
|
|
5780
|
-
TREEVIEW_CLASSNAME,
|
|
5781
|
-
optionClassNames(TREEVIEW_CLASSNAME, {
|
|
5782
|
-
size
|
|
5783
|
-
})
|
|
5784
|
-
),
|
|
5785
|
-
children: /* @__PURE__ */ jsx58(TreeviewGroup, { className: "k-treeview-lines", dir, children: listChildren })
|
|
5786
|
-
}
|
|
5787
|
-
);
|
|
5788
|
-
};
|
|
5789
|
-
Treeview.states = states25;
|
|
5790
|
-
Treeview.options = options24;
|
|
5791
|
-
Treeview.className = TREEVIEW_CLASSNAME;
|
|
5792
|
-
Treeview.defaultProps = defaultProps25;
|
|
5793
|
-
|
|
5794
|
-
// src/treeview/treeview-group.tsx
|
|
5795
|
-
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5796
|
-
import { createElement as createElement2 } from "react";
|
|
5797
|
-
var className14 = `k-treeview-group`;
|
|
5798
|
-
var TreeviewGroup = (props) => {
|
|
5799
|
-
const {
|
|
5800
|
-
children,
|
|
5801
|
-
dir
|
|
5802
|
-
} = props;
|
|
5803
|
-
const listChildren = [];
|
|
5804
|
-
if (children) {
|
|
5805
|
-
if (Array.isArray(children)) {
|
|
5806
|
-
children.map((child, index) => {
|
|
5807
|
-
if (child.type === treeview_item_spec_default) {
|
|
5808
|
-
listChildren.push(
|
|
5809
|
-
/* @__PURE__ */ createElement2(treeview_item_spec_default, { ...child.props, dir, key: index })
|
|
5810
|
-
);
|
|
5811
|
-
}
|
|
5812
|
-
});
|
|
5813
|
-
} else {
|
|
5814
|
-
if (children.type === treeview_item_spec_default) {
|
|
5815
|
-
listChildren.push(
|
|
5816
|
-
/* @__PURE__ */ jsx59(treeview_item_spec_default, { ...children.props, dir })
|
|
5817
|
-
);
|
|
5818
|
-
}
|
|
5819
|
-
}
|
|
5820
|
-
}
|
|
5821
|
-
return /* @__PURE__ */ jsx59("ul", { className: classNames(props.className, className14), children: listChildren });
|
|
5822
|
-
};
|
|
5823
|
-
|
|
5824
|
-
// src/treeview/treeview-leaf.tsx
|
|
5825
|
-
import { jsx as jsx60, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5826
|
-
var TREEVIEWLEAF_CLASSNAME = `k-treeview-leaf`;
|
|
5827
|
-
var states26 = [
|
|
5828
|
-
States.hover,
|
|
5829
|
-
States.focus,
|
|
5830
|
-
States.selected
|
|
5831
|
-
];
|
|
5832
|
-
var options25 = {};
|
|
5833
|
-
var TreeviewLeaf = (props) => {
|
|
5834
|
-
const {
|
|
5835
|
-
text,
|
|
5836
|
-
showIcon,
|
|
5837
|
-
icon,
|
|
5838
|
-
hover,
|
|
5839
|
-
focus,
|
|
5840
|
-
selected,
|
|
5841
|
-
...other
|
|
5842
|
-
} = props;
|
|
5843
|
-
return /* @__PURE__ */ jsxs21(
|
|
5844
|
-
"span",
|
|
5845
|
-
{
|
|
5846
|
-
...other,
|
|
5847
|
-
className: classNames(
|
|
5848
|
-
props.className,
|
|
5849
|
-
TREEVIEWLEAF_CLASSNAME,
|
|
5850
|
-
stateClassNames(TREEVIEWLEAF_CLASSNAME, {
|
|
5851
|
-
hover,
|
|
5852
|
-
focus,
|
|
5853
|
-
selected
|
|
5854
|
-
})
|
|
5855
|
-
),
|
|
5856
|
-
children: [
|
|
5857
|
-
showIcon && /* @__PURE__ */ jsx60(Icon, { icon }),
|
|
5858
|
-
/* @__PURE__ */ jsx60("span", { className: "k-treeview-leaf-text", children: text })
|
|
5859
|
-
]
|
|
5860
|
-
}
|
|
5861
|
-
);
|
|
5862
|
-
};
|
|
5863
|
-
TreeviewLeaf.states = states26;
|
|
5864
|
-
TreeviewLeaf.options = options25;
|
|
5865
|
-
TreeviewLeaf.className = TREEVIEWLEAF_CLASSNAME;
|
|
5866
|
-
var treeview_leaf_default = TreeviewLeaf;
|
|
6182
|
+
import { Fragment as Fragment20, jsx as jsx75 } from "react/jsx-runtime";
|
|
5867
6183
|
|
|
5868
|
-
// src/
|
|
5869
|
-
import {
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
expanded,
|
|
5886
|
-
text,
|
|
5887
|
-
showIcon,
|
|
5888
|
-
icon,
|
|
5889
|
-
showCheckbox,
|
|
5890
|
-
checked,
|
|
5891
|
-
hover,
|
|
5892
|
-
focus,
|
|
5893
|
-
selected,
|
|
5894
|
-
disabled,
|
|
5895
|
-
dir,
|
|
5896
|
-
...other
|
|
5897
|
-
} = props;
|
|
5898
|
-
const _hasChildren = hasChildren || children;
|
|
5899
|
-
const listChildren = [];
|
|
5900
|
-
if (children) {
|
|
5901
|
-
if (Array.isArray(children)) {
|
|
5902
|
-
children.map((child, index) => {
|
|
5903
|
-
if (child.type === TreeviewGroup) {
|
|
5904
|
-
listChildren.push(
|
|
5905
|
-
/* @__PURE__ */ createElement3(TreeviewGroup, { ...child.props, dir, key: index }, child.props.children)
|
|
5906
|
-
);
|
|
5907
|
-
}
|
|
5908
|
-
});
|
|
5909
|
-
} else {
|
|
5910
|
-
if (children.type === TreeviewGroup) {
|
|
5911
|
-
listChildren.push(
|
|
5912
|
-
/* @__PURE__ */ jsx61(TreeviewGroup, { ...children.props, dir, children: children.props.children })
|
|
5913
|
-
);
|
|
5914
|
-
}
|
|
5915
|
-
}
|
|
6184
|
+
// src/column-menu/templates/filter-menu-normal.tsx
|
|
6185
|
+
import { jsx as jsx76, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6186
|
+
var FilterMenuNormal = (props) => /* @__PURE__ */ jsx76(
|
|
6187
|
+
FilterMenu,
|
|
6188
|
+
{
|
|
6189
|
+
children: [
|
|
6190
|
+
/* @__PURE__ */ jsx76(DropdownList, { value: "Contains" }),
|
|
6191
|
+
/* @__PURE__ */ jsx76(Textbox, { placeholder: "Filter..." }),
|
|
6192
|
+
/* @__PURE__ */ jsx76(DropdownList, { value: "And", className: "k-filter-and" }),
|
|
6193
|
+
/* @__PURE__ */ jsx76(DropdownList, { value: "Contains" }),
|
|
6194
|
+
/* @__PURE__ */ jsx76(Textbox, { placeholder: "Filter..." }),
|
|
6195
|
+
/* @__PURE__ */ jsxs31(ActionButtons, { alignment: "stretched", children: [
|
|
6196
|
+
/* @__PURE__ */ jsx76(Button, { themeColor: "primary", children: "Filter" }),
|
|
6197
|
+
/* @__PURE__ */ jsx76(Button, { children: "Clear" })
|
|
6198
|
+
] })
|
|
6199
|
+
],
|
|
6200
|
+
...props
|
|
5916
6201
|
}
|
|
5917
|
-
|
|
5918
|
-
"li",
|
|
5919
|
-
{
|
|
5920
|
-
...other,
|
|
5921
|
-
className: classNames(
|
|
5922
|
-
props.className,
|
|
5923
|
-
TREEVIEWITEM_CLASSNAME
|
|
5924
|
-
),
|
|
5925
|
-
children: [
|
|
5926
|
-
/* @__PURE__ */ jsxs22("span", { className: "k-treeview-mid", children: [
|
|
5927
|
-
_hasChildren && /* @__PURE__ */ jsx61(
|
|
5928
|
-
"span",
|
|
5929
|
-
{
|
|
5930
|
-
className: classNames(
|
|
5931
|
-
"k-treeview-toggle",
|
|
5932
|
-
stateClassNames("k-treeview-toggle", { disabled })
|
|
5933
|
-
),
|
|
5934
|
-
children: /* @__PURE__ */ jsx61(Icon, { icon: expanded ? "caret-alt-down" : dir === "rtl" ? "caret-alt-left" : "caret-alt-right" })
|
|
5935
|
-
}
|
|
5936
|
-
),
|
|
5937
|
-
showCheckbox && /* @__PURE__ */ jsx61(Checkbox, { checked, disabled }),
|
|
5938
|
-
/* @__PURE__ */ jsx61(
|
|
5939
|
-
treeview_leaf_default,
|
|
5940
|
-
{
|
|
5941
|
-
className: classNames(
|
|
5942
|
-
leafClassName,
|
|
5943
|
-
stateClassNames(leafClassName, { disabled })
|
|
5944
|
-
),
|
|
5945
|
-
text,
|
|
5946
|
-
showIcon,
|
|
5947
|
-
icon,
|
|
5948
|
-
hover,
|
|
5949
|
-
focus,
|
|
5950
|
-
selected
|
|
5951
|
-
}
|
|
5952
|
-
)
|
|
5953
|
-
] }),
|
|
5954
|
-
expanded && _hasChildren && /* @__PURE__ */ jsx61(Fragment19, { children: listChildren })
|
|
5955
|
-
]
|
|
5956
|
-
}
|
|
5957
|
-
);
|
|
5958
|
-
};
|
|
5959
|
-
TreeviewItem.states = states27;
|
|
5960
|
-
TreeviewItem.options = options26;
|
|
5961
|
-
TreeviewItem.className = TREEVIEWITEM_CLASSNAME;
|
|
5962
|
-
TreeviewItem.defaultProps = defaultProps26;
|
|
5963
|
-
var treeview_item_spec_default = TreeviewItem;
|
|
5964
|
-
|
|
5965
|
-
// src/treeview/templates/treeview-normal.tsx
|
|
5966
|
-
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5967
|
-
|
|
5968
|
-
// src/treeview/templates/treeview-hierarchy.tsx
|
|
5969
|
-
import { jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5970
|
-
|
|
5971
|
-
// src/treeview/templates/treeview-icons.tsx
|
|
5972
|
-
import { jsx as jsx64, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6202
|
+
);
|
|
5973
6203
|
|
|
5974
|
-
// src/
|
|
5975
|
-
import { jsx as
|
|
6204
|
+
// src/column-menu/templates/filter-menu-multi-check.tsx
|
|
6205
|
+
import { jsx as jsx77, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5976
6206
|
|
|
5977
6207
|
// src/pivotgrid/tests/pivotgrid-column-menus.tsx
|
|
5978
|
-
import { Fragment as
|
|
6208
|
+
import { Fragment as Fragment21, jsx as jsx78, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
5979
6209
|
var styles = `
|
|
5980
6210
|
.k-animation-container {
|
|
5981
6211
|
position: relative;
|
|
5982
6212
|
}
|
|
5983
6213
|
`;
|
|
5984
|
-
var pivotgrid_column_menus_default = () => /* @__PURE__ */
|
|
5985
|
-
/* @__PURE__ */
|
|
5986
|
-
/* @__PURE__ */
|
|
5987
|
-
/* @__PURE__ */
|
|
5988
|
-
/* @__PURE__ */
|
|
5989
|
-
/* @__PURE__ */
|
|
5990
|
-
/* @__PURE__ */
|
|
5991
|
-
/* @__PURE__ */
|
|
5992
|
-
/* @__PURE__ */
|
|
5993
|
-
/* @__PURE__ */
|
|
5994
|
-
|
|
5995
|
-
"Sort Ascending"
|
|
5996
|
-
] }),
|
|
5997
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
5998
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "sort-desc-small" }),
|
|
5999
|
-
"Sort Descending"
|
|
6000
|
-
] })
|
|
6214
|
+
var pivotgrid_column_menus_default = () => /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6215
|
+
/* @__PURE__ */ jsx78("style", { children: styles }),
|
|
6216
|
+
/* @__PURE__ */ jsxs33("div", { id: "test-area", className: "k-d-grid k-grid-cols-4", children: [
|
|
6217
|
+
/* @__PURE__ */ jsx78("span", { children: "Start View" }),
|
|
6218
|
+
/* @__PURE__ */ jsx78("span", { children: "Include Fields (list)" }),
|
|
6219
|
+
/* @__PURE__ */ jsx78("span", { children: "Include Fields (tree)" }),
|
|
6220
|
+
/* @__PURE__ */ jsx78("span", { children: "Filter Fields View" }),
|
|
6221
|
+
/* @__PURE__ */ jsx78("section", { children: /* @__PURE__ */ jsx78(Popup, { className: "k-grid-columnmenu-popup", children: /* @__PURE__ */ jsxs33(ColumnMenuNormal, { children: [
|
|
6222
|
+
/* @__PURE__ */ jsxs33(ColumnMenuItemWrapper, { children: [
|
|
6223
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort ascending", icon: "sort-asc-small" }),
|
|
6224
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort descending", icon: "sort-desc-small" })
|
|
6001
6225
|
] }),
|
|
6002
|
-
/* @__PURE__ */
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "filter" }),
|
|
6010
|
-
"Filter Fields",
|
|
6011
|
-
/* @__PURE__ */ jsx66("span", { className: "k-spacer" }),
|
|
6012
|
-
/* @__PURE__ */ jsx66("span", { className: "k-expander-indicator", children: /* @__PURE__ */ jsx66(Icon, { icon: "chevron-down" }) })
|
|
6013
|
-
] }) }) })
|
|
6014
|
-
] }) }),
|
|
6015
|
-
/* @__PURE__ */ jsx66("section", { children: /* @__PURE__ */ jsxs26(Popup, { className: "k-column-menu k-grid-columnmenu-popup", children: [
|
|
6016
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item-wrapper", children: [
|
|
6017
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6018
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "sort-asc-small" }),
|
|
6019
|
-
"Sort Ascending"
|
|
6020
|
-
] }),
|
|
6021
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6022
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "sort-desc-small" }),
|
|
6023
|
-
"Sort Descending"
|
|
6024
|
-
] })
|
|
6226
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Include fields", itemIcon: "grid-layout" }) }),
|
|
6227
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Filter fields", itemIcon: "filter" }) })
|
|
6228
|
+
] }) }) }),
|
|
6229
|
+
/* @__PURE__ */ jsx78("section", { children: /* @__PURE__ */ jsx78(Popup, { className: "k-grid-columnmenu-popup", children: /* @__PURE__ */ jsxs33(ColumnMenuNormal, { children: [
|
|
6230
|
+
/* @__PURE__ */ jsxs33(ColumnMenuItemWrapper, { children: [
|
|
6231
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort ascending", icon: "sort-asc-small" }),
|
|
6232
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort descending", icon: "sort-desc-small" })
|
|
6025
6233
|
] }),
|
|
6026
|
-
/* @__PURE__ */
|
|
6027
|
-
/* @__PURE__ */
|
|
6028
|
-
/* @__PURE__ */
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
/* @__PURE__ */ jsxs26("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6076
|
-
/* @__PURE__ */ jsx66(Checkbox, {}),
|
|
6077
|
-
"Number"
|
|
6078
|
-
] }),
|
|
6079
|
-
/* @__PURE__ */ jsxs26("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6080
|
-
/* @__PURE__ */ jsx66(Checkbox, {}),
|
|
6081
|
-
"Type"
|
|
6082
|
-
] })
|
|
6083
|
-
] }) }),
|
|
6084
|
-
/* @__PURE__ */ jsxs26(ActionButtons, { alignment: "stretched", children: [
|
|
6085
|
-
/* @__PURE__ */ jsx66(Button, { children: "Reset" }),
|
|
6086
|
-
/* @__PURE__ */ jsx66(Button, { themeColor: "primary", children: "Apply" })
|
|
6234
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Include fields", itemIcon: "grid-layout", expanded: true, itemContent: /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6235
|
+
/* @__PURE__ */ jsx78("div", { className: "k-column-list-wrapper", children: /* @__PURE__ */ jsxs33("div", { className: "k-column-list", children: [
|
|
6236
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6237
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6238
|
+
"ID"
|
|
6239
|
+
] }),
|
|
6240
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6241
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6242
|
+
"Name"
|
|
6243
|
+
] }),
|
|
6244
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6245
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6246
|
+
"Category"
|
|
6247
|
+
] }),
|
|
6248
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6249
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6250
|
+
"Account"
|
|
6251
|
+
] }),
|
|
6252
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6253
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6254
|
+
"Number"
|
|
6255
|
+
] }),
|
|
6256
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6257
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6258
|
+
"Type"
|
|
6259
|
+
] }),
|
|
6260
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6261
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6262
|
+
"Employer"
|
|
6263
|
+
] }),
|
|
6264
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6265
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6266
|
+
"Employee"
|
|
6267
|
+
] }),
|
|
6268
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6269
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6270
|
+
"Company"
|
|
6271
|
+
] }),
|
|
6272
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6273
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6274
|
+
"Products"
|
|
6275
|
+
] }),
|
|
6276
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6277
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6278
|
+
"Number"
|
|
6279
|
+
] }),
|
|
6280
|
+
/* @__PURE__ */ jsxs33("label", { className: "k-column-list-item k-checkbox-label", children: [
|
|
6281
|
+
/* @__PURE__ */ jsx78(Checkbox, {}),
|
|
6282
|
+
"Type"
|
|
6087
6283
|
] })
|
|
6088
|
-
] })
|
|
6089
|
-
] }),
|
|
6090
|
-
/* @__PURE__ */ jsx66("div", { className: "k-columnmenu-item-wrapper", children: /* @__PURE__ */ jsx66("div", { className: "k-widget k-expander", children: /* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6091
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "filter" }),
|
|
6092
|
-
"Filter Fields",
|
|
6093
|
-
/* @__PURE__ */ jsx66("span", { className: "k-spacer" }),
|
|
6094
|
-
/* @__PURE__ */ jsx66("span", { className: "k-expander-indicator", children: /* @__PURE__ */ jsx66(Icon, { icon: "chevron-down" }) })
|
|
6095
|
-
] }) }) })
|
|
6096
|
-
] }) }),
|
|
6097
|
-
/* @__PURE__ */ jsx66("section", { children: /* @__PURE__ */ jsxs26(Popup, { className: "k-column-menu k-grid-columnmenu-popup", children: [
|
|
6098
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item-wrapper", children: [
|
|
6099
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6100
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "sort-asc-small" }),
|
|
6101
|
-
"Sort Ascending"
|
|
6102
|
-
] }),
|
|
6103
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6104
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "sort-desc-small" }),
|
|
6105
|
-
"Sort Descending"
|
|
6106
|
-
] })
|
|
6107
|
-
] }),
|
|
6108
|
-
/* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item-wrapper", children: [
|
|
6109
|
-
/* @__PURE__ */ jsx66("div", { className: "k-widget k-expander", children: /* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6110
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "grid-layout" }),
|
|
6111
|
-
"Include Fields",
|
|
6112
|
-
/* @__PURE__ */ jsx66("span", { className: "k-spacer" }),
|
|
6113
|
-
/* @__PURE__ */ jsx66("span", { className: "k-expander-indicator", children: /* @__PURE__ */ jsx66(Icon, { icon: "chevron-up" }) })
|
|
6114
6284
|
] }) }),
|
|
6115
|
-
/* @__PURE__ */
|
|
6116
|
-
/* @__PURE__ */
|
|
6117
|
-
|
|
6118
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Customer" }),
|
|
6119
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, expanded: true, text: "Date", children: /* @__PURE__ */ jsxs26(TreeviewGroup, { children: [
|
|
6120
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Date.Calendar" }),
|
|
6121
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, expanded: true, text: "Date.Calendar Quarter of Year", children: /* @__PURE__ */ jsxs26(TreeviewGroup, { children: [
|
|
6122
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "(All)" }),
|
|
6123
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Calendar Quarter of Year" })
|
|
6124
|
-
] }) })
|
|
6125
|
-
] }) }),
|
|
6126
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Delivery date" }),
|
|
6127
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Department" }),
|
|
6128
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Country" }),
|
|
6129
|
-
/* @__PURE__ */ jsx66(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Region" })
|
|
6130
|
-
] }) }) }),
|
|
6131
|
-
/* @__PURE__ */ jsxs26(ActionButtons, { alignment: "stretched", children: [
|
|
6132
|
-
/* @__PURE__ */ jsx66(Button, { children: "Reset" }),
|
|
6133
|
-
/* @__PURE__ */ jsx66(Button, { themeColor: "primary", children: "Apply" })
|
|
6134
|
-
] })
|
|
6285
|
+
/* @__PURE__ */ jsxs33(ActionButtons, { alignment: "stretched", children: [
|
|
6286
|
+
/* @__PURE__ */ jsx78(Button, { themeColor: "primary", children: "Apply" }),
|
|
6287
|
+
/* @__PURE__ */ jsx78(Button, { children: "Reset" })
|
|
6135
6288
|
] })
|
|
6289
|
+
] }) }) }),
|
|
6290
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Filter fields", itemIcon: "filter" }) })
|
|
6291
|
+
] }) }) }),
|
|
6292
|
+
/* @__PURE__ */ jsx78("section", { children: /* @__PURE__ */ jsx78(Popup, { className: "k-grid-columnmenu-popup", children: /* @__PURE__ */ jsxs33(ColumnMenuNormal, { children: [
|
|
6293
|
+
/* @__PURE__ */ jsxs33(ColumnMenuItemWrapper, { children: [
|
|
6294
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort ascending", icon: "sort-asc-small" }),
|
|
6295
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort descending", icon: "sort-desc-small" })
|
|
6136
6296
|
] }),
|
|
6137
|
-
/* @__PURE__ */
|
|
6138
|
-
/* @__PURE__ */
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
"
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
/* @__PURE__ */
|
|
6152
|
-
|
|
6297
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Include fields", itemIcon: "grid-layout", expanded: true, itemContent: /* @__PURE__ */ jsxs33(Fragment21, { children: [
|
|
6298
|
+
/* @__PURE__ */ jsx78("div", { className: "k-column-list-wrapper", children: /* @__PURE__ */ jsx78("div", { className: "k-column-list", children: /* @__PURE__ */ jsxs33(Treeview, { children: [
|
|
6299
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Account" }),
|
|
6300
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Customer" }),
|
|
6301
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, expanded: true, text: "Date", children: /* @__PURE__ */ jsxs33(TreeviewGroup, { children: [
|
|
6302
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Date.Calendar" }),
|
|
6303
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, expanded: true, text: "Date.Calendar Quarter of Year", children: /* @__PURE__ */ jsxs33(TreeviewGroup, { children: [
|
|
6304
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "(All)" }),
|
|
6305
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Calendar Quarter of Year" })
|
|
6306
|
+
] }) })
|
|
6307
|
+
] }) }),
|
|
6308
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Delivery date" }),
|
|
6309
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Department" }),
|
|
6310
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Country" }),
|
|
6311
|
+
/* @__PURE__ */ jsx78(TreeviewItem, { showCheckbox: true, hasChildren: true, text: "Region" })
|
|
6312
|
+
] }) }) }),
|
|
6313
|
+
/* @__PURE__ */ jsxs33(ActionButtons, { alignment: "stretched", children: [
|
|
6314
|
+
/* @__PURE__ */ jsx78(Button, { themeColor: "primary", children: "Apply" }),
|
|
6315
|
+
/* @__PURE__ */ jsx78(Button, { children: "Reset" })
|
|
6153
6316
|
] })
|
|
6154
|
-
] }),
|
|
6155
|
-
/* @__PURE__ */ jsx66("div", { className: "k-columnmenu-item-wrapper", children: /* @__PURE__ */ jsx66("div", { className: "k-widget k-expander", children: /* @__PURE__ */ jsxs26("div", { className: "k-columnmenu-item", children: [
|
|
6156
|
-
/* @__PURE__ */ jsx66(Icon, { icon: "grid-layout" }),
|
|
6157
|
-
"Include Fields",
|
|
6158
|
-
/* @__PURE__ */ jsx66("span", { className: "k-spacer" }),
|
|
6159
|
-
/* @__PURE__ */ jsx66("span", { className: "k-expander-indicator", children: /* @__PURE__ */ jsx66(Icon, { icon: "chevron-down" }) })
|
|
6160
6317
|
] }) }) }),
|
|
6161
|
-
/* @__PURE__ */
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
/* @__PURE__ */ jsx66(DropdownList, { value: "And", className: "k-filter-and" }),
|
|
6172
|
-
/* @__PURE__ */ jsx66(DropdownList, { value: "Contains" }),
|
|
6173
|
-
/* @__PURE__ */ jsx66(Textbox, {}),
|
|
6174
|
-
/* @__PURE__ */ jsxs26(ActionButtons, { alignment: "stretched", children: [
|
|
6175
|
-
/* @__PURE__ */ jsx66(Button, { children: "Clear" }),
|
|
6176
|
-
/* @__PURE__ */ jsx66(Button, { themeColor: "primary", children: "Filter" })
|
|
6177
|
-
] })
|
|
6178
|
-
] }) }) }) }) })
|
|
6179
|
-
] })
|
|
6180
|
-
] }) })
|
|
6318
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Filter fields", itemIcon: "filter" }) })
|
|
6319
|
+
] }) }) }),
|
|
6320
|
+
/* @__PURE__ */ jsx78("section", { children: /* @__PURE__ */ jsx78(Popup, { className: "k-grid-columnmenu-popup", children: /* @__PURE__ */ jsxs33(ColumnMenuNormal, { children: [
|
|
6321
|
+
/* @__PURE__ */ jsxs33(ColumnMenuItemWrapper, { children: [
|
|
6322
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort ascending", icon: "sort-asc-small" }),
|
|
6323
|
+
/* @__PURE__ */ jsx78(ColumnMenuItem, { text: "Sort descending", icon: "sort-desc-small" })
|
|
6324
|
+
] }),
|
|
6325
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Include fields", itemIcon: "grid-layout" }) }),
|
|
6326
|
+
/* @__PURE__ */ jsx78(ColumnMenuItemWrapper, { children: /* @__PURE__ */ jsx78(ColumnMenuExpander, { itemText: "Filter fields", itemIcon: "filter", expanded: true, itemContent: /* @__PURE__ */ jsx78(FilterMenuNormal, {}) }) })
|
|
6327
|
+
] }) }) })
|
|
6181
6328
|
] })
|
|
6182
6329
|
] });
|
|
6183
6330
|
export {
|