@progress/kendo-themes-html 7.1.1-dev.0 → 7.2.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/action-sheet/tests/action-sheet-data-table.js +2 -0
- package/dist/cjs/autocomplete/tests/autocomplete-prefix-suffix.js +863 -778
- package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +863 -778
- package/dist/cjs/dropdowngrid/dropdowngrid.spec.js +2 -0
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-adaptive.js +2 -0
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-normal.js +2 -0
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-popup.js +2 -0
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-prefix.js +2 -0
- package/dist/cjs/dropdowngrid/templates/dropdowngrid-suffix.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-adaptive.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-flat.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-opened.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-outline.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-prefix-suffix.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-size-rounded.js +2 -0
- package/dist/cjs/dropdowngrid/tests/dropdowngrid-solid.js +2 -0
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +2 -0
- package/dist/cjs/filemanager/templates/filemanager-grid.js +2 -0
- package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +763 -678
- package/dist/cjs/filemanager/tests/filemanager-gridview.js +2 -0
- package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +717 -632
- package/dist/cjs/form/tests/form-field-dropdowns.js +862 -777
- package/dist/cjs/grid/grid-container.spec.js +46 -0
- package/dist/cjs/grid/grid-content.spec.js +46 -0
- package/dist/cjs/grid/grid-footer-table.spec.js +283 -0
- package/dist/cjs/grid/grid-footer.spec.js +46 -0
- package/dist/cjs/grid/grid-grouping-header.spec.js +57 -0
- package/dist/cjs/grid/grid-header-cell.spec.js +4446 -0
- package/dist/cjs/grid/grid-header-table.spec.js +283 -0
- package/dist/cjs/grid/grid-header.spec.js +46 -0
- package/dist/cjs/grid/grid-pager.spec.js +6058 -0
- package/dist/cjs/grid/grid-table.spec.js +283 -0
- package/dist/cjs/grid/grid-toolbar.spec.js +7876 -0
- package/dist/cjs/grid/grid.spec.js +120 -0
- package/dist/cjs/grid/tests/grid-adaptive-pager.js +2740 -380
- package/dist/cjs/grid/tests/grid-adaptive-search.js +1745 -1203
- package/dist/cjs/grid/tests/grid-angular.js +3787 -1267
- package/dist/cjs/grid/tests/grid-column-menu-angular.js +4095 -115
- package/dist/cjs/grid/tests/grid-column-menu-blazor.js +4095 -116
- package/dist/cjs/grid/tests/grid-column-reordering-actions.js +1484 -1280
- package/dist/cjs/grid/tests/grid-column-reordering.js +1489 -1285
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +2119 -1915
- package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1107 -869
- package/dist/cjs/grid/tests/grid-editing-inline-angular.js +1972 -1218
- package/dist/cjs/grid/tests/grid-editing-inline-blazor.js +1959 -1201
- package/dist/cjs/grid/tests/grid-editing.js +1391 -635
- package/dist/cjs/grid/tests/grid-filter-menu-angular.js +4092 -100
- package/dist/cjs/grid/tests/grid-filter-menu-blazor.js +4089 -101
- package/dist/cjs/grid/tests/grid-filter-row-angular.js +1327 -576
- package/dist/cjs/grid/tests/grid-filter-row-blazor.js +1313 -554
- package/dist/cjs/grid/tests/grid-filter-row.js +1496 -59
- package/dist/cjs/grid/tests/grid-grouping-actions.js +1450 -1246
- package/dist/cjs/grid/tests/grid-grouping-blazor.js +4162 -141
- package/dist/cjs/grid/tests/grid-grouping-detail-template.js +4297 -288
- package/dist/cjs/grid/tests/grid-grouping.js +2725 -1934
- package/dist/cjs/grid/tests/grid-hierarchy.js +4333 -43
- package/dist/cjs/grid/tests/grid-locked-columns-rtl.js +4365 -207
- package/dist/cjs/grid/tests/grid-locked-columns.js +4563 -424
- package/dist/cjs/grid/tests/grid-long-titles.js +4315 -124
- package/dist/cjs/grid/tests/grid-multicolumn-headers.js +4407 -135
- package/dist/cjs/grid/tests/grid-no-records.js +8627 -48
- package/dist/cjs/grid/tests/grid-pager.js +3120 -550
- package/dist/cjs/grid/tests/grid-react-basic.js +8500 -128
- package/dist/cjs/grid/tests/grid-react.js +4516 -190
- package/dist/cjs/grid/tests/grid-row-reordering.js +1711 -1499
- package/dist/cjs/grid/tests/grid-rows-resizing.js +2066 -1308
- package/dist/cjs/grid/tests/grid-rows-states.js +8369 -105
- package/dist/cjs/grid/tests/grid-rtl-angular.js +3987 -1430
- package/dist/cjs/grid/tests/grid-rtl.js +4028 -1469
- package/dist/cjs/grid/tests/grid-selection-aggregates.js +3318 -742
- package/dist/cjs/grid/tests/grid-size-sm-comp-sm.js +2038 -1537
- package/dist/cjs/grid/tests/grid-size-sm.js +1447 -946
- package/dist/cjs/grid/tests/grid-sticky-columns-rtl.js +4118 -1505
- package/dist/cjs/grid/tests/grid-sticky-columns.js +4445 -177
- package/dist/cjs/grid/tests/grid-sticky-multicolumn-headers.js +8571 -53
- package/dist/cjs/grid/tests/grid-toolbar.js +1896 -1349
- package/dist/cjs/grid/tests/grid-virtualization.js +8968 -450
- package/dist/cjs/grid/tests/grid.js +4055 -1496
- package/dist/cjs/index.js +2442 -2148
- package/dist/cjs/multiselect/templates/multiselect-prefix.js +838 -753
- package/dist/cjs/multiselect/templates/multiselect-suffix.js +838 -753
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +844 -759
- package/dist/cjs/multiselect/tests/multiselect-flat.js +868 -783
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +844 -759
- package/dist/cjs/multiselect/tests/multiselect-opened.js +846 -761
- package/dist/cjs/multiselect/tests/multiselect-outline.js +868 -783
- package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +875 -790
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +847 -762
- package/dist/cjs/multiselect/tests/multiselect-solid.js +868 -783
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +877 -792
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +891 -806
- package/dist/cjs/table/table-th.js +2 -0
- package/dist/cjs/table/templates/data-table-normal.js +2 -0
- package/dist/cjs/table/templates/table-list-virtualization.js +2 -0
- package/dist/cjs/table/templates/table-list.js +2 -0
- package/dist/cjs/table/templates/table-native.js +2 -0
- package/dist/cjs/table/tests/table-data-sizes.js +2 -0
- package/dist/cjs/table/tests/table-list-jquery.js +2 -0
- package/dist/cjs/table/tests/table-list-sizes.js +2 -0
- package/dist/cjs/table/tests/table-list-virtual.js +2 -0
- package/dist/cjs/table/tests/table-native-sizes.js +2 -0
- package/dist/cjs/table/tests/table-native-states.js +2 -0
- package/dist/esm/action-sheet/tests/action-sheet-data-table.js +2 -0
- package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +863 -778
- package/dist/esm/combobox/tests/combobox-prefix-suffix.js +863 -778
- package/dist/esm/dropdowngrid/dropdowngrid.spec.js +2 -0
- package/dist/esm/dropdowngrid/templates/dropdowngrid-adaptive.js +2 -0
- package/dist/esm/dropdowngrid/templates/dropdowngrid-normal.js +2 -0
- package/dist/esm/dropdowngrid/templates/dropdowngrid-popup.js +2 -0
- package/dist/esm/dropdowngrid/templates/dropdowngrid-prefix.js +2 -0
- package/dist/esm/dropdowngrid/templates/dropdowngrid-suffix.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-adaptive.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-flat.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-opened.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-outline.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-prefix-suffix.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-size-rounded.js +2 -0
- package/dist/esm/dropdowngrid/tests/dropdowngrid-solid.js +2 -0
- package/dist/esm/filemanager/templates/filemanager-grid-preview.js +2 -0
- package/dist/esm/filemanager/templates/filemanager-grid.js +2 -0
- package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +763 -678
- package/dist/esm/filemanager/tests/filemanager-gridview.js +2 -0
- package/dist/esm/filemanager/tests/filemanager-listview-preview.js +717 -632
- package/dist/esm/form/tests/form-field-dropdowns.js +862 -777
- package/dist/esm/grid/grid-container.spec.js +24 -0
- package/dist/esm/grid/grid-content.spec.js +24 -0
- package/dist/esm/grid/grid-footer-table.spec.js +261 -0
- package/dist/esm/grid/grid-footer.spec.js +24 -0
- package/dist/esm/grid/grid-grouping-header.spec.js +35 -0
- package/dist/esm/grid/grid-header-cell.spec.js +4430 -0
- package/dist/esm/grid/grid-header-table.spec.js +261 -0
- package/dist/esm/grid/grid-header.spec.js +24 -0
- package/dist/esm/grid/grid-pager.spec.js +6042 -0
- package/dist/esm/grid/grid-table.spec.js +261 -0
- package/dist/esm/grid/grid-toolbar.spec.js +7860 -0
- package/dist/esm/grid/grid.spec.js +98 -0
- package/dist/esm/grid/tests/grid-adaptive-pager.js +2740 -380
- package/dist/esm/grid/tests/grid-adaptive-search.js +1865 -1323
- package/dist/esm/grid/tests/grid-angular.js +3831 -1311
- package/dist/esm/grid/tests/grid-column-menu-angular.js +4095 -115
- package/dist/esm/grid/tests/grid-column-menu-blazor.js +4095 -116
- package/dist/esm/grid/tests/grid-column-reordering-actions.js +2314 -2110
- package/dist/esm/grid/tests/grid-column-reordering.js +2320 -2116
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +2863 -2659
- package/dist/esm/grid/tests/grid-editing-custom-editor.js +1107 -869
- package/dist/esm/grid/tests/grid-editing-inline-angular.js +1905 -1151
- package/dist/esm/grid/tests/grid-editing-inline-blazor.js +1914 -1156
- package/dist/esm/grid/tests/grid-editing.js +1391 -635
- package/dist/esm/grid/tests/grid-filter-menu-angular.js +4092 -100
- package/dist/esm/grid/tests/grid-filter-menu-blazor.js +4089 -101
- package/dist/esm/grid/tests/grid-filter-row-angular.js +1327 -576
- package/dist/esm/grid/tests/grid-filter-row-blazor.js +1313 -554
- package/dist/esm/grid/tests/grid-filter-row.js +1496 -59
- package/dist/esm/grid/tests/grid-grouping-actions.js +2280 -2076
- package/dist/esm/grid/tests/grid-grouping-blazor.js +4162 -141
- package/dist/esm/grid/tests/grid-grouping-detail-template.js +4297 -288
- package/dist/esm/grid/tests/grid-grouping.js +2679 -1888
- package/dist/esm/grid/tests/grid-hierarchy.js +4333 -43
- package/dist/esm/grid/tests/grid-locked-columns-rtl.js +4366 -208
- package/dist/esm/grid/tests/grid-locked-columns.js +4564 -425
- package/dist/esm/grid/tests/grid-long-titles.js +4316 -125
- package/dist/esm/grid/tests/grid-multicolumn-headers.js +4407 -135
- package/dist/esm/grid/tests/grid-no-records.js +8632 -49
- package/dist/esm/grid/tests/grid-pager.js +3139 -569
- package/dist/esm/grid/tests/grid-react-basic.js +8506 -128
- package/dist/esm/grid/tests/grid-react.js +4516 -190
- package/dist/esm/grid/tests/grid-row-reordering.js +1385 -1173
- package/dist/esm/grid/tests/grid-rows-resizing.js +2145 -1387
- package/dist/esm/grid/tests/grid-rows-states.js +8375 -105
- package/dist/esm/grid/tests/grid-rtl-angular.js +3974 -1417
- package/dist/esm/grid/tests/grid-rtl.js +4022 -1463
- package/dist/esm/grid/tests/grid-selection-aggregates.js +3143 -567
- package/dist/esm/grid/tests/grid-size-sm-comp-sm.js +2100 -1599
- package/dist/esm/grid/tests/grid-size-sm.js +1513 -1012
- package/dist/esm/grid/tests/grid-sticky-columns-rtl.js +4113 -1500
- package/dist/esm/grid/tests/grid-sticky-columns.js +4445 -177
- package/dist/esm/grid/tests/grid-sticky-multicolumn-headers.js +8576 -54
- package/dist/esm/grid/tests/grid-toolbar.js +1906 -1359
- package/dist/esm/grid/tests/grid-virtualization.js +8975 -451
- package/dist/esm/grid/tests/grid.js +4052 -1493
- package/dist/esm/index.js +2442 -2148
- package/dist/esm/multiselect/templates/multiselect-prefix.js +838 -753
- package/dist/esm/multiselect/templates/multiselect-suffix.js +838 -753
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +844 -759
- package/dist/esm/multiselect/tests/multiselect-flat.js +868 -783
- package/dist/esm/multiselect/tests/multiselect-grouping.js +844 -759
- package/dist/esm/multiselect/tests/multiselect-opened.js +846 -761
- package/dist/esm/multiselect/tests/multiselect-outline.js +868 -783
- package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +875 -790
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +847 -762
- package/dist/esm/multiselect/tests/multiselect-solid.js +868 -783
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +877 -792
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +891 -806
- package/dist/esm/table/table-th.js +2 -0
- package/dist/esm/table/templates/data-table-normal.js +2 -0
- package/dist/esm/table/templates/table-list-virtualization.js +2 -0
- package/dist/esm/table/templates/table-list.js +2 -0
- package/dist/esm/table/templates/table-native.js +2 -0
- package/dist/esm/table/tests/table-data-sizes.js +2 -0
- package/dist/esm/table/tests/table-list-jquery.js +2 -0
- package/dist/esm/table/tests/table-list-sizes.js +2 -0
- package/dist/esm/table/tests/table-list-virtual.js +2 -0
- package/dist/esm/table/tests/table-native-sizes.js +2 -0
- package/dist/esm/table/tests/table-native-states.js +2 -0
- package/dist/types/grid/grid-container.spec.d.ts +1 -0
- package/dist/types/grid/grid-content.spec.d.ts +1 -0
- package/dist/types/grid/grid-footer-table.spec.d.ts +3 -0
- package/dist/types/grid/grid-footer.spec.d.ts +1 -0
- package/dist/types/grid/grid-grouping-header.spec.d.ts +5 -0
- package/dist/types/grid/grid-header-cell.spec.d.ts +17 -0
- package/dist/types/grid/grid-header-table.spec.d.ts +3 -0
- package/dist/types/grid/grid-header.spec.d.ts +1 -0
- package/dist/types/grid/grid-pager.spec.d.ts +2 -0
- package/dist/types/grid/grid-table.spec.d.ts +3 -0
- package/dist/types/grid/grid-toolbar.spec.d.ts +2 -0
- package/dist/types/grid/grid.spec.d.ts +28 -0
- package/dist/types/grid/index.d.ts +12 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/table/table-th.d.ts +1 -0
- package/package.json +2 -2
- package/src/grid/grid-container.spec.tsx +17 -0
- package/src/grid/grid-content.spec.tsx +16 -0
- package/src/grid/grid-footer-table.spec.tsx +20 -0
- package/src/grid/grid-footer.spec.tsx +17 -0
- package/src/grid/grid-grouping-header.spec.tsx +33 -0
- package/src/grid/grid-header-cell.spec.tsx +104 -0
- package/src/grid/grid-header-table.spec.tsx +20 -0
- package/src/grid/grid-header.spec.tsx +19 -0
- package/src/grid/grid-pager.spec.tsx +19 -0
- package/src/grid/grid-table.spec.tsx +20 -0
- package/src/grid/grid-toolbar.spec.tsx +19 -0
- package/src/grid/grid.spec.tsx +67 -0
- package/src/grid/index.ts +12 -0
- package/src/grid/tests/grid-adaptive-pager.tsx +9 -7
- package/src/grid/tests/grid-adaptive-search.tsx +11 -9
- package/src/grid/tests/grid-angular.tsx +154 -237
- package/src/grid/tests/grid-column-menu-angular.tsx +150 -181
- package/src/grid/tests/grid-column-menu-blazor.tsx +121 -189
- package/src/grid/tests/grid-column-reordering-actions.tsx +60 -97
- package/src/grid/tests/grid-column-reordering.tsx +60 -99
- package/src/grid/tests/grid-column-resizing-actions.tsx +60 -97
- package/src/grid/tests/grid-editing-custom-editor.tsx +168 -201
- package/src/grid/tests/grid-editing-inline-angular.tsx +132 -140
- package/src/grid/tests/grid-editing-inline-blazor.tsx +97 -118
- package/src/grid/tests/grid-editing.tsx +133 -163
- package/src/grid/tests/grid-filter-menu-angular.tsx +171 -174
- package/src/grid/tests/grid-filter-menu-blazor.tsx +114 -171
- package/src/grid/tests/grid-filter-row-angular.tsx +171 -182
- package/src/grid/tests/grid-filter-row-blazor.tsx +116 -153
- package/src/grid/tests/grid-filter-row.tsx +110 -109
- package/src/grid/tests/grid-grouping-actions.tsx +60 -98
- package/src/grid/tests/grid-grouping-blazor.tsx +162 -241
- package/src/grid/tests/grid-grouping-detail-template.tsx +383 -375
- package/src/grid/tests/grid-grouping.tsx +195 -293
- package/src/grid/tests/grid-hierarchy.tsx +82 -93
- package/src/grid/tests/grid-locked-columns-rtl.tsx +224 -312
- package/src/grid/tests/grid-locked-columns.tsx +414 -572
- package/src/grid/tests/grid-long-titles.tsx +122 -210
- package/src/grid/tests/grid-multicolumn-headers.tsx +114 -208
- package/src/grid/tests/grid-no-records.tsx +60 -82
- package/src/grid/tests/grid-pager.tsx +144 -197
- package/src/grid/tests/grid-react-basic.tsx +138 -172
- package/src/grid/tests/grid-react.tsx +224 -235
- package/src/grid/tests/grid-row-reordering.tsx +69 -104
- package/src/grid/tests/grid-rows-resizing.tsx +130 -159
- package/src/grid/tests/grid-rows-states.tsx +106 -104
- package/src/grid/tests/grid-rtl-angular.tsx +114 -168
- package/src/grid/tests/grid-rtl.tsx +104 -149
- package/src/grid/tests/grid-selection-aggregates.tsx +96 -115
- package/src/grid/tests/grid-size-sm-comp-sm.tsx +239 -323
- package/src/grid/tests/grid-size-sm.tsx +239 -326
- package/src/grid/tests/grid-sticky-columns-rtl.tsx +112 -140
- package/src/grid/tests/grid-sticky-columns.tsx +208 -312
- package/src/grid/tests/grid-sticky-multicolumn-headers.tsx +52 -159
- package/src/grid/tests/grid-toolbar.tsx +43 -43
- package/src/grid/tests/grid-virtualization.tsx +614 -758
- package/src/grid/tests/grid.tsx +141 -196
- package/src/index.ts +1 -1
- package/src/table/table-th.tsx +3 -0
|
@@ -5067,554 +5067,572 @@ import { Fragment as Fragment13, jsx as jsx29 } from "react/jsx-runtime";
|
|
|
5067
5067
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5068
5068
|
import { Fragment as Fragment14, jsx as jsx30 } from "react/jsx-runtime";
|
|
5069
5069
|
|
|
5070
|
-
// src/
|
|
5071
|
-
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
5072
|
-
var
|
|
5073
|
-
var states16 = [
|
|
5074
|
-
States.disabled
|
|
5075
|
-
];
|
|
5070
|
+
// src/grid/grid.spec.tsx
|
|
5071
|
+
import { jsx as jsx31, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5072
|
+
var GRID_CLASSNAME = "k-grid";
|
|
5073
|
+
var states16 = [];
|
|
5076
5074
|
var options15 = {
|
|
5077
|
-
|
|
5075
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5078
5076
|
};
|
|
5079
5077
|
var defaultProps16 = {
|
|
5080
|
-
|
|
5078
|
+
size: Size.medium,
|
|
5079
|
+
pagerPosition: "bottom"
|
|
5081
5080
|
};
|
|
5082
|
-
var
|
|
5081
|
+
var Grid = (props) => {
|
|
5083
5082
|
const {
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5083
|
+
size = defaultProps16.size,
|
|
5084
|
+
toolbar,
|
|
5085
|
+
pager,
|
|
5086
|
+
pagerPosition,
|
|
5087
|
+
groupingHeader,
|
|
5088
|
+
_renderAriaRoot,
|
|
5087
5089
|
...other
|
|
5088
5090
|
} = props;
|
|
5089
|
-
return /* @__PURE__ */
|
|
5091
|
+
return /* @__PURE__ */ jsxs6(
|
|
5090
5092
|
"div",
|
|
5091
5093
|
{
|
|
5092
5094
|
...other,
|
|
5093
5095
|
className: classNames(
|
|
5094
5096
|
props.className,
|
|
5095
|
-
|
|
5096
|
-
optionClassNames(
|
|
5097
|
-
fillMode
|
|
5098
|
-
}),
|
|
5099
|
-
stateClassNames(BUTTONGROUP_CLASSNAME, {
|
|
5100
|
-
disabled
|
|
5101
|
-
}),
|
|
5102
|
-
{
|
|
5103
|
-
[`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
|
|
5104
|
-
}
|
|
5097
|
+
GRID_CLASSNAME,
|
|
5098
|
+
optionClassNames(GRID_CLASSNAME, { size })
|
|
5105
5099
|
),
|
|
5106
|
-
children:
|
|
5100
|
+
children: [
|
|
5101
|
+
toolbar,
|
|
5102
|
+
pagerPosition === "top" && pager,
|
|
5103
|
+
groupingHeader,
|
|
5104
|
+
props.children && _renderAriaRoot ? /* @__PURE__ */ jsx31("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
|
|
5105
|
+
pagerPosition === "bottom" && pager
|
|
5106
|
+
]
|
|
5107
5107
|
}
|
|
5108
5108
|
);
|
|
5109
5109
|
};
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5110
|
+
Grid.states = states16;
|
|
5111
|
+
Grid.options = options15;
|
|
5112
|
+
Grid.className = GRID_CLASSNAME;
|
|
5113
|
+
Grid.defaultProps = defaultProps16;
|
|
5114
5114
|
|
|
5115
|
-
// src/
|
|
5116
|
-
import { jsx as jsx32
|
|
5115
|
+
// src/grid/grid-header.spec.tsx
|
|
5116
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5117
|
+
var className10 = `k-grid-header`;
|
|
5118
|
+
var GridHeader = (props) => /* @__PURE__ */ jsx32(
|
|
5119
|
+
"div",
|
|
5120
|
+
{
|
|
5121
|
+
...props,
|
|
5122
|
+
className: classNames(
|
|
5123
|
+
props.className,
|
|
5124
|
+
className10
|
|
5125
|
+
),
|
|
5126
|
+
children: props.children
|
|
5127
|
+
}
|
|
5128
|
+
);
|
|
5117
5129
|
|
|
5118
|
-
// src/
|
|
5130
|
+
// src/grid/grid-grouping-header.spec.tsx
|
|
5119
5131
|
import { jsx as jsx33, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5120
5132
|
|
|
5121
|
-
// src/
|
|
5122
|
-
import { jsx as jsx34
|
|
5123
|
-
|
|
5124
|
-
// src/button-group/templates/mixed-button-group.tsx
|
|
5125
|
-
import { jsx as jsx35, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5126
|
-
|
|
5127
|
-
// src/color-preview/color-preview.tsx
|
|
5128
|
-
import { jsx as jsx36, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5129
|
-
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5133
|
+
// src/table/data-table.spec.tsx
|
|
5134
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5135
|
+
var DATATABLE_CLASSNAME = `k-data-table`;
|
|
5130
5136
|
var states17 = [];
|
|
5131
|
-
var options16 = {
|
|
5132
|
-
|
|
5137
|
+
var options16 = {
|
|
5138
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5139
|
+
};
|
|
5140
|
+
var defaultProps17 = {
|
|
5141
|
+
size: Size.medium
|
|
5142
|
+
};
|
|
5143
|
+
var DataTable = (props) => {
|
|
5133
5144
|
const {
|
|
5134
|
-
|
|
5135
|
-
iconName,
|
|
5145
|
+
size = defaultProps17.size,
|
|
5136
5146
|
...other
|
|
5137
5147
|
} = props;
|
|
5138
|
-
return /* @__PURE__ */
|
|
5139
|
-
"
|
|
5148
|
+
return /* @__PURE__ */ jsx34(
|
|
5149
|
+
"div",
|
|
5140
5150
|
{
|
|
5141
5151
|
...other,
|
|
5142
5152
|
className: classNames(
|
|
5143
5153
|
props.className,
|
|
5144
|
-
|
|
5145
|
-
{
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
}
|
|
5154
|
+
DATATABLE_CLASSNAME,
|
|
5155
|
+
optionClassNames("k-table", {
|
|
5156
|
+
size
|
|
5157
|
+
})
|
|
5149
5158
|
),
|
|
5150
|
-
children:
|
|
5151
|
-
iconName && /* @__PURE__ */ jsx36(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5152
|
-
/* @__PURE__ */ jsx36(
|
|
5153
|
-
"span",
|
|
5154
|
-
{
|
|
5155
|
-
className: "k-color-preview-mask",
|
|
5156
|
-
style: { backgroundColor: color }
|
|
5157
|
-
}
|
|
5158
|
-
)
|
|
5159
|
-
]
|
|
5159
|
+
children: props.children
|
|
5160
5160
|
}
|
|
5161
5161
|
);
|
|
5162
5162
|
};
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5163
|
+
DataTable.states = states17;
|
|
5164
|
+
DataTable.options = options16;
|
|
5165
|
+
DataTable.className = DATATABLE_CLASSNAME;
|
|
5166
|
+
DataTable.defaultProps = defaultProps17;
|
|
5166
5167
|
|
|
5167
|
-
// src/
|
|
5168
|
+
// src/table/table-header.tsx
|
|
5169
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
5170
|
+
|
|
5171
|
+
// src/table/table-body.tsx
|
|
5172
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5173
|
+
|
|
5174
|
+
// src/table/table-footer.tsx
|
|
5168
5175
|
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5169
|
-
|
|
5176
|
+
|
|
5177
|
+
// src/table/table.spec.tsx
|
|
5178
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5179
|
+
var TABLE_CLASSNAME = `k-table`;
|
|
5170
5180
|
var states18 = [];
|
|
5171
|
-
var options17 = {
|
|
5172
|
-
|
|
5173
|
-
positionMode: "absolute"
|
|
5181
|
+
var options17 = {
|
|
5182
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5174
5183
|
};
|
|
5175
|
-
var
|
|
5184
|
+
var defaultProps18 = {};
|
|
5185
|
+
var Table = (props) => {
|
|
5176
5186
|
const {
|
|
5177
|
-
|
|
5178
|
-
animationStyle,
|
|
5179
|
-
offset,
|
|
5187
|
+
size,
|
|
5180
5188
|
...other
|
|
5181
5189
|
} = props;
|
|
5182
|
-
return /* @__PURE__ */
|
|
5183
|
-
"
|
|
5190
|
+
return /* @__PURE__ */ jsx38(
|
|
5191
|
+
"table",
|
|
5184
5192
|
{
|
|
5185
5193
|
...other,
|
|
5186
|
-
style: { ...offset, ...props.style },
|
|
5187
5194
|
className: classNames(
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
{
|
|
5191
|
-
|
|
5192
|
-
}
|
|
5195
|
+
props.className,
|
|
5196
|
+
TABLE_CLASSNAME,
|
|
5197
|
+
optionClassNames(TABLE_CLASSNAME, {
|
|
5198
|
+
size
|
|
5199
|
+
})
|
|
5193
5200
|
),
|
|
5194
|
-
children:
|
|
5201
|
+
children: props.children
|
|
5195
5202
|
}
|
|
5196
5203
|
);
|
|
5197
5204
|
};
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5205
|
+
Table.states = states18;
|
|
5206
|
+
Table.options = options17;
|
|
5207
|
+
Table.className = TABLE_CLASSNAME;
|
|
5208
|
+
Table.defaultProps = defaultProps18;
|
|
5202
5209
|
|
|
5203
|
-
// src/
|
|
5204
|
-
import { jsx as
|
|
5205
|
-
var
|
|
5210
|
+
// src/table/table-list.spec.tsx
|
|
5211
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
5212
|
+
var TABLELIST_CLASSNAME = `k-table-list`;
|
|
5206
5213
|
var states19 = [];
|
|
5207
|
-
var options18 = {
|
|
5208
|
-
|
|
5209
|
-
positionMode: "absolute"
|
|
5214
|
+
var options18 = {
|
|
5215
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5210
5216
|
};
|
|
5211
|
-
var
|
|
5217
|
+
var defaultProps19 = {};
|
|
5218
|
+
var TableList = (props) => {
|
|
5212
5219
|
const {
|
|
5213
|
-
|
|
5214
|
-
|
|
5220
|
+
size,
|
|
5221
|
+
virtualization,
|
|
5215
5222
|
...other
|
|
5216
5223
|
} = props;
|
|
5217
|
-
return /* @__PURE__ */
|
|
5218
|
-
|
|
5224
|
+
return /* @__PURE__ */ jsx39(
|
|
5225
|
+
"ul",
|
|
5219
5226
|
{
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5227
|
+
...other,
|
|
5228
|
+
className: classNames(
|
|
5229
|
+
props.className,
|
|
5230
|
+
"k-table",
|
|
5231
|
+
TABLELIST_CLASSNAME,
|
|
5232
|
+
optionClassNames(TABLELIST_CLASSNAME, {
|
|
5233
|
+
size
|
|
5234
|
+
}),
|
|
5235
|
+
{
|
|
5236
|
+
"k-virtual-table": virtualization
|
|
5237
|
+
}
|
|
5238
|
+
),
|
|
5239
|
+
children: props.children
|
|
5223
5240
|
}
|
|
5224
5241
|
);
|
|
5225
5242
|
};
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5243
|
+
TableList.states = states19;
|
|
5244
|
+
TableList.options = options18;
|
|
5245
|
+
TableList.className = TABLELIST_CLASSNAME;
|
|
5246
|
+
TableList.defaultProps = defaultProps19;
|
|
5230
5247
|
|
|
5231
|
-
// src/
|
|
5232
|
-
import {
|
|
5233
|
-
var
|
|
5248
|
+
// src/table/table-thead.tsx
|
|
5249
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5250
|
+
var className11 = `k-table-thead`;
|
|
5251
|
+
var TableThead = (props) => /* @__PURE__ */ jsx40(
|
|
5252
|
+
"thead",
|
|
5253
|
+
{
|
|
5254
|
+
className: classNames(
|
|
5255
|
+
props.className,
|
|
5256
|
+
className11
|
|
5257
|
+
),
|
|
5258
|
+
children: props.children
|
|
5259
|
+
}
|
|
5260
|
+
);
|
|
5261
|
+
|
|
5262
|
+
// src/table/table-tbody.tsx
|
|
5263
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5264
|
+
var className12 = `k-table-tbody`;
|
|
5265
|
+
var TableTbody = (props) => /* @__PURE__ */ jsx41(
|
|
5266
|
+
"tbody",
|
|
5267
|
+
{
|
|
5268
|
+
className: classNames(
|
|
5269
|
+
props.className,
|
|
5270
|
+
className12
|
|
5271
|
+
),
|
|
5272
|
+
children: props.children
|
|
5273
|
+
}
|
|
5274
|
+
);
|
|
5275
|
+
|
|
5276
|
+
// src/table/table-tfoot.tsx
|
|
5277
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
5278
|
+
|
|
5279
|
+
// src/table/table-row.tsx
|
|
5280
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5281
|
+
var TABLEROW_CLASSNAME = `k-table-row`;
|
|
5234
5282
|
var states20 = [
|
|
5235
5283
|
States.hover,
|
|
5236
5284
|
States.focus,
|
|
5237
|
-
States.
|
|
5238
|
-
States.invalid,
|
|
5239
|
-
States.required,
|
|
5285
|
+
States.selected,
|
|
5240
5286
|
States.disabled
|
|
5241
5287
|
];
|
|
5242
|
-
var
|
|
5243
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5244
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5245
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5246
|
-
};
|
|
5247
|
-
var defaultProps19 = {
|
|
5248
|
-
arrowIconName: "caret-alt-down",
|
|
5249
|
-
size: Picker.defaultProps.size,
|
|
5250
|
-
rounded: Picker.defaultProps.rounded,
|
|
5251
|
-
fillMode: Picker.defaultProps.fillMode
|
|
5252
|
-
};
|
|
5253
|
-
var ColorPicker = (props) => {
|
|
5288
|
+
var TableRow = (props) => {
|
|
5254
5289
|
const {
|
|
5255
|
-
prefix,
|
|
5256
|
-
suffix,
|
|
5257
|
-
value,
|
|
5258
|
-
placeholder,
|
|
5259
|
-
size,
|
|
5260
|
-
rounded,
|
|
5261
|
-
fillMode,
|
|
5262
5290
|
hover,
|
|
5263
5291
|
focus,
|
|
5264
|
-
|
|
5265
|
-
invalid,
|
|
5266
|
-
required,
|
|
5292
|
+
selected,
|
|
5267
5293
|
disabled,
|
|
5268
|
-
|
|
5269
|
-
arrowIconName = defaultProps19.arrowIconName,
|
|
5270
|
-
popup,
|
|
5271
|
-
opened,
|
|
5272
|
-
...other
|
|
5273
|
-
} = props;
|
|
5274
|
-
return /* @__PURE__ */ jsxs11(Fragment15, { children: [
|
|
5275
|
-
/* @__PURE__ */ jsxs11(
|
|
5276
|
-
Picker,
|
|
5277
|
-
{
|
|
5278
|
-
...other,
|
|
5279
|
-
size,
|
|
5280
|
-
rounded,
|
|
5281
|
-
fillMode,
|
|
5282
|
-
hover,
|
|
5283
|
-
focus,
|
|
5284
|
-
valid,
|
|
5285
|
-
invalid,
|
|
5286
|
-
required,
|
|
5287
|
-
disabled,
|
|
5288
|
-
className: classNames(
|
|
5289
|
-
props.className,
|
|
5290
|
-
COLORPICKER_CLASSNAME,
|
|
5291
|
-
"k-icon-picker"
|
|
5292
|
-
),
|
|
5293
|
-
children: [
|
|
5294
|
-
/* @__PURE__ */ jsx39(InputPrefix, { children: prefix }),
|
|
5295
|
-
/* @__PURE__ */ jsx39(
|
|
5296
|
-
InputInnerSpan,
|
|
5297
|
-
{
|
|
5298
|
-
placeholder,
|
|
5299
|
-
value,
|
|
5300
|
-
showValue: false,
|
|
5301
|
-
valueIcon: /* @__PURE__ */ jsx39(
|
|
5302
|
-
ColorPreview,
|
|
5303
|
-
{
|
|
5304
|
-
className: "k-value-icon",
|
|
5305
|
-
color: value,
|
|
5306
|
-
iconName: valueIconName
|
|
5307
|
-
}
|
|
5308
|
-
),
|
|
5309
|
-
valueIconName
|
|
5310
|
-
}
|
|
5311
|
-
),
|
|
5312
|
-
/* @__PURE__ */ jsx39(InputSuffix, { children: suffix }),
|
|
5313
|
-
/* @__PURE__ */ jsx39(
|
|
5314
|
-
Button,
|
|
5315
|
-
{
|
|
5316
|
-
className: "k-input-button",
|
|
5317
|
-
icon: arrowIconName,
|
|
5318
|
-
rounded: null,
|
|
5319
|
-
size,
|
|
5320
|
-
fillMode
|
|
5321
|
-
}
|
|
5322
|
-
)
|
|
5323
|
-
]
|
|
5324
|
-
}
|
|
5325
|
-
),
|
|
5326
|
-
opened && popup && /* @__PURE__ */ jsx39(Popup, { className: "k-color-picker-popup", children: popup })
|
|
5327
|
-
] });
|
|
5328
|
-
};
|
|
5329
|
-
ColorPicker.states = states20;
|
|
5330
|
-
ColorPicker.options = options19;
|
|
5331
|
-
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
5332
|
-
ColorPicker.defaultProps = defaultProps19;
|
|
5333
|
-
|
|
5334
|
-
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5335
|
-
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5336
|
-
|
|
5337
|
-
// src/action-buttons/action-buttons.spec.tsx
|
|
5338
|
-
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5339
|
-
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5340
|
-
var states21 = [];
|
|
5341
|
-
var options20 = {};
|
|
5342
|
-
var defaultProps20 = {
|
|
5343
|
-
alignment: "start",
|
|
5344
|
-
orientation: "horizontal"
|
|
5345
|
-
};
|
|
5346
|
-
var ActionButtons = (props) => {
|
|
5347
|
-
const {
|
|
5348
|
-
alignment = defaultProps20.alignment,
|
|
5349
|
-
orientation = defaultProps20.orientation,
|
|
5294
|
+
alt,
|
|
5350
5295
|
...other
|
|
5351
5296
|
} = props;
|
|
5352
|
-
return /* @__PURE__ */
|
|
5353
|
-
"
|
|
5297
|
+
return /* @__PURE__ */ jsx43(
|
|
5298
|
+
"tr",
|
|
5354
5299
|
{
|
|
5355
5300
|
...other,
|
|
5356
5301
|
className: classNames(
|
|
5357
|
-
|
|
5302
|
+
props.className,
|
|
5303
|
+
TABLEROW_CLASSNAME,
|
|
5358
5304
|
{
|
|
5359
|
-
[
|
|
5360
|
-
[`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
|
|
5305
|
+
["k-table-alt-row"]: alt
|
|
5361
5306
|
},
|
|
5362
|
-
|
|
5307
|
+
stateClassNames(TABLEROW_CLASSNAME, {
|
|
5308
|
+
hover,
|
|
5309
|
+
focus,
|
|
5310
|
+
disabled,
|
|
5311
|
+
selected
|
|
5312
|
+
})
|
|
5363
5313
|
),
|
|
5364
5314
|
children: props.children
|
|
5365
5315
|
}
|
|
5366
5316
|
);
|
|
5367
5317
|
};
|
|
5368
|
-
ActionButtons.states = states21;
|
|
5369
|
-
ActionButtons.options = options20;
|
|
5370
|
-
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
5371
|
-
ActionButtons.defaultProps = defaultProps20;
|
|
5372
|
-
var action_buttons_spec_default = ActionButtons;
|
|
5373
5318
|
|
|
5374
|
-
// src/
|
|
5375
|
-
import { jsx as
|
|
5376
|
-
var
|
|
5377
|
-
var states22 = [
|
|
5319
|
+
// src/table/table-list-row.tsx
|
|
5320
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5321
|
+
var states21 = [
|
|
5378
5322
|
States.hover,
|
|
5379
5323
|
States.focus,
|
|
5380
|
-
States.
|
|
5381
|
-
States.disabled
|
|
5382
|
-
States.readonly
|
|
5324
|
+
States.selected,
|
|
5325
|
+
States.disabled
|
|
5383
5326
|
];
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
disabled: false,
|
|
5390
|
-
handlePosition: "end",
|
|
5391
|
-
showButtons: true,
|
|
5392
|
-
showTicks: true
|
|
5393
|
-
};
|
|
5394
|
-
var Slider = (props) => {
|
|
5327
|
+
|
|
5328
|
+
// src/table/table-th.tsx
|
|
5329
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5330
|
+
var className13 = `k-table-th`;
|
|
5331
|
+
var TableTh = (props) => {
|
|
5395
5332
|
const {
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
handlePosition = defaultProps21.handlePosition,
|
|
5401
|
-
showButtons = defaultProps21.showButtons,
|
|
5402
|
-
showTicks = defaultProps21.showTicks,
|
|
5403
|
-
hover,
|
|
5404
|
-
focus,
|
|
5405
|
-
active,
|
|
5406
|
-
trackStyle,
|
|
5407
|
-
dir
|
|
5333
|
+
text,
|
|
5334
|
+
colspan,
|
|
5335
|
+
rowspan,
|
|
5336
|
+
...other
|
|
5408
5337
|
} = props;
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
iconIncrease = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
5413
|
-
iconDecrease = dir === "rtl" ? "caret-alt-right" : "caret-alt-left";
|
|
5414
|
-
} else if (orientation === "vertical") {
|
|
5415
|
-
iconIncrease = "caret-alt-up";
|
|
5416
|
-
iconDecrease = "caret-alt-down";
|
|
5417
|
-
}
|
|
5418
|
-
return /* @__PURE__ */ jsxs12("div", { className: classNames(
|
|
5419
|
-
SLIDER_CLASSNAME,
|
|
5420
|
-
props.className,
|
|
5421
|
-
stateClassNames(SLIDER_CLASSNAME, {
|
|
5422
|
-
readonly,
|
|
5423
|
-
disabled
|
|
5424
|
-
}),
|
|
5338
|
+
const textOrChildren = text ? text : props.children;
|
|
5339
|
+
return /* @__PURE__ */ jsx45(
|
|
5340
|
+
"th",
|
|
5425
5341
|
{
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5342
|
+
colSpan: colspan,
|
|
5343
|
+
rowSpan: rowspan,
|
|
5344
|
+
...other,
|
|
5345
|
+
className: classNames(
|
|
5346
|
+
props.className,
|
|
5347
|
+
className13
|
|
5348
|
+
),
|
|
5349
|
+
children: textOrChildren
|
|
5429
5350
|
}
|
|
5430
|
-
)
|
|
5431
|
-
showButtons && /* @__PURE__ */ jsx42(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5432
|
-
/* @__PURE__ */ jsxs12("div", { className: "k-slider-track-wrap", children: [
|
|
5433
|
-
showTicks && /* @__PURE__ */ jsx42("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5434
|
-
/* @__PURE__ */ jsxs12("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5435
|
-
/* @__PURE__ */ jsx42("div", { className: "k-slider-selection" }),
|
|
5436
|
-
type === "range" && /* @__PURE__ */ jsx42("span", { className: classNames(
|
|
5437
|
-
"k-draghandle",
|
|
5438
|
-
"k-draghandle-start",
|
|
5439
|
-
stateClassNames(SLIDER_CLASSNAME, {
|
|
5440
|
-
hover,
|
|
5441
|
-
focus,
|
|
5442
|
-
active
|
|
5443
|
-
})
|
|
5444
|
-
) }),
|
|
5445
|
-
/* @__PURE__ */ jsx42("span", { className: classNames(
|
|
5446
|
-
"k-draghandle",
|
|
5447
|
-
`k-draghandle-${handlePosition}`,
|
|
5448
|
-
stateClassNames(SLIDER_CLASSNAME, {
|
|
5449
|
-
hover,
|
|
5450
|
-
focus,
|
|
5451
|
-
active
|
|
5452
|
-
})
|
|
5453
|
-
) })
|
|
5454
|
-
] })
|
|
5455
|
-
] }),
|
|
5456
|
-
showButtons && /* @__PURE__ */ jsx42(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5457
|
-
] });
|
|
5351
|
+
);
|
|
5458
5352
|
};
|
|
5459
|
-
Slider.states = states22;
|
|
5460
|
-
Slider.options = options21;
|
|
5461
|
-
Slider.className = SLIDER_CLASSNAME;
|
|
5462
|
-
Slider.defaultProps = defaultProps21;
|
|
5463
5353
|
|
|
5464
|
-
// src/
|
|
5465
|
-
import { jsx as
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
var
|
|
5470
|
-
|
|
5471
|
-
};
|
|
5472
|
-
var SliderTick = (props) => {
|
|
5354
|
+
// src/table/table-list-th.tsx
|
|
5355
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
5356
|
+
|
|
5357
|
+
// src/table/table-td.tsx
|
|
5358
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
5359
|
+
var className14 = `k-table-td`;
|
|
5360
|
+
var TableTd = (props) => {
|
|
5473
5361
|
const {
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
large,
|
|
5478
|
-
text
|
|
5362
|
+
text,
|
|
5363
|
+
colspan,
|
|
5364
|
+
...other
|
|
5479
5365
|
} = props;
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5366
|
+
const textOrChildren = text ? text : props.children;
|
|
5367
|
+
return /* @__PURE__ */ jsx47(
|
|
5368
|
+
"td",
|
|
5483
5369
|
{
|
|
5484
|
-
|
|
5485
|
-
|
|
5370
|
+
colSpan: colspan,
|
|
5371
|
+
...other,
|
|
5372
|
+
className: classNames(
|
|
5373
|
+
props.className,
|
|
5374
|
+
className14
|
|
5375
|
+
),
|
|
5376
|
+
children: textOrChildren
|
|
5486
5377
|
}
|
|
5487
|
-
)
|
|
5378
|
+
);
|
|
5488
5379
|
};
|
|
5489
|
-
SliderTick.states = states23;
|
|
5490
|
-
SliderTick.options = options22;
|
|
5491
|
-
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
5492
|
-
SliderTick.defaultProps = defaultProps22;
|
|
5493
5380
|
|
|
5494
|
-
// src/
|
|
5495
|
-
import {
|
|
5381
|
+
// src/table/table-list-td.tsx
|
|
5382
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5496
5383
|
|
|
5497
|
-
// src/
|
|
5498
|
-
import {
|
|
5384
|
+
// src/table/table-group-header.tsx
|
|
5385
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5499
5386
|
|
|
5500
|
-
// src/
|
|
5501
|
-
import {
|
|
5387
|
+
// src/table/table-group-sticky-header.tsx
|
|
5388
|
+
import { jsx as jsx50 } from "react/jsx-runtime";
|
|
5502
5389
|
|
|
5503
|
-
// src/
|
|
5504
|
-
import {
|
|
5390
|
+
// src/table/table-group-row.tsx
|
|
5391
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
5505
5392
|
|
|
5506
|
-
// src/
|
|
5507
|
-
import {
|
|
5393
|
+
// src/table/table-list-group-row.tsx
|
|
5394
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5508
5395
|
|
|
5509
|
-
// src/
|
|
5510
|
-
import {
|
|
5511
|
-
|
|
5512
|
-
|
|
5396
|
+
// src/table/templates/table-list.tsx
|
|
5397
|
+
import { jsx as jsx53, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5398
|
+
|
|
5399
|
+
// src/table/templates/table-list-virtualization.tsx
|
|
5400
|
+
import { jsx as jsx54, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5401
|
+
|
|
5402
|
+
// src/table/templates/data-table-normal.tsx
|
|
5403
|
+
import { jsx as jsx55, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5404
|
+
|
|
5405
|
+
// src/table/templates/table-native.tsx
|
|
5406
|
+
import { jsx as jsx56, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5407
|
+
|
|
5408
|
+
// src/grid/grid-header-table.spec.tsx
|
|
5409
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
5410
|
+
var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
|
|
5411
|
+
var GridHeaderTable = (props) => /* @__PURE__ */ jsx57(
|
|
5412
|
+
Table,
|
|
5513
5413
|
{
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5522
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5523
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5524
|
-
/* @__PURE__ */ jsx49(SliderTick, { label: true, large: true, text: "5" }),
|
|
5525
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5526
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5527
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5528
|
-
/* @__PURE__ */ jsx49(SliderTick, {}),
|
|
5529
|
-
/* @__PURE__ */ jsx49(SliderTick, { label: true, large: true, text: "10" })
|
|
5530
|
-
] }),
|
|
5531
|
-
...props
|
|
5414
|
+
size: "medium",
|
|
5415
|
+
...props,
|
|
5416
|
+
className: classNames(
|
|
5417
|
+
props.className,
|
|
5418
|
+
GRIDHEADERTABLE_CLASSNAME
|
|
5419
|
+
),
|
|
5420
|
+
children: props.children
|
|
5532
5421
|
}
|
|
5533
5422
|
);
|
|
5534
5423
|
|
|
5535
|
-
// src/
|
|
5536
|
-
import { jsx as
|
|
5537
|
-
var
|
|
5538
|
-
var
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5424
|
+
// src/grid/grid-header-cell.spec.tsx
|
|
5425
|
+
import { jsx as jsx58, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5426
|
+
var className15 = `k-header`;
|
|
5427
|
+
var states22 = [
|
|
5428
|
+
States.hover,
|
|
5429
|
+
States.focus,
|
|
5430
|
+
States.active
|
|
5431
|
+
];
|
|
5432
|
+
var defaultProps20 = {
|
|
5433
|
+
sortIcon: "sort-asc-small"
|
|
5542
5434
|
};
|
|
5543
|
-
var
|
|
5544
|
-
|
|
5545
|
-
|
|
5435
|
+
var GridHeaderCell = (props) => {
|
|
5436
|
+
const {
|
|
5437
|
+
menu,
|
|
5438
|
+
sortable,
|
|
5439
|
+
sticky,
|
|
5440
|
+
resizable,
|
|
5441
|
+
columnTitle,
|
|
5442
|
+
hover,
|
|
5443
|
+
focus,
|
|
5444
|
+
active,
|
|
5445
|
+
sortIcon = defaultProps20.sortIcon,
|
|
5446
|
+
sortOrder,
|
|
5447
|
+
...others
|
|
5448
|
+
} = props;
|
|
5449
|
+
return /* @__PURE__ */ jsxs12(
|
|
5450
|
+
TableTh,
|
|
5451
|
+
{
|
|
5452
|
+
...others,
|
|
5453
|
+
className: classNames(
|
|
5454
|
+
props.className,
|
|
5455
|
+
className15,
|
|
5456
|
+
{
|
|
5457
|
+
[`k-filterable`]: menu === "filter",
|
|
5458
|
+
[`k-sorted`]: sortable,
|
|
5459
|
+
[`k-grid-header-sticky`]: sticky,
|
|
5460
|
+
[`k-touch-action-none`]: resizable
|
|
5461
|
+
},
|
|
5462
|
+
stateClassNames(className15, {
|
|
5463
|
+
hover,
|
|
5464
|
+
focus,
|
|
5465
|
+
active
|
|
5466
|
+
})
|
|
5467
|
+
),
|
|
5468
|
+
children: [
|
|
5469
|
+
columnTitle && /* @__PURE__ */ jsxs12("span", { className: "k-cell-inner", children: [
|
|
5470
|
+
/* @__PURE__ */ jsxs12("span", { className: "k-link", children: [
|
|
5471
|
+
/* @__PURE__ */ jsx58("span", { className: "k-column-title", children: columnTitle }),
|
|
5472
|
+
sortable && /* @__PURE__ */ jsx58("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx58(Icon, { icon: sortIcon }) }),
|
|
5473
|
+
sortOrder && /* @__PURE__ */ jsx58("span", { className: "k-sort-order", children: sortOrder })
|
|
5474
|
+
] }),
|
|
5475
|
+
menu && /* @__PURE__ */ jsx58("a", { href: "#", className: classNames(
|
|
5476
|
+
"k-grid-header-menu",
|
|
5477
|
+
{
|
|
5478
|
+
[`k-active`]: active,
|
|
5479
|
+
[`k-grid-filter-menu`]: menu === "filter",
|
|
5480
|
+
[`k-grid-column-menu`]: menu === "column"
|
|
5481
|
+
}
|
|
5482
|
+
), children: /* @__PURE__ */ jsx58(Icon, { icon: menu === "filter" ? "filter" : "more-vertical" }) })
|
|
5483
|
+
] }),
|
|
5484
|
+
props.children,
|
|
5485
|
+
resizable && /* @__PURE__ */ jsx58("span", { className: "k-column-resizer k-touch-action-none" })
|
|
5486
|
+
]
|
|
5487
|
+
}
|
|
5488
|
+
);
|
|
5546
5489
|
};
|
|
5547
|
-
|
|
5490
|
+
|
|
5491
|
+
// src/grid/grid-container.spec.tsx
|
|
5492
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5493
|
+
var className16 = `k-grid-container`;
|
|
5494
|
+
var GridContainer = (props) => /* @__PURE__ */ jsx59(
|
|
5495
|
+
"div",
|
|
5496
|
+
{
|
|
5497
|
+
...props,
|
|
5498
|
+
className: classNames(
|
|
5499
|
+
props.className,
|
|
5500
|
+
className16
|
|
5501
|
+
),
|
|
5502
|
+
children: props.children
|
|
5503
|
+
}
|
|
5504
|
+
);
|
|
5505
|
+
|
|
5506
|
+
// src/grid/grid-content.spec.tsx
|
|
5507
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5508
|
+
var className17 = `k-grid-content`;
|
|
5509
|
+
var GridContent = (props) => /* @__PURE__ */ jsx60(
|
|
5510
|
+
"div",
|
|
5511
|
+
{
|
|
5512
|
+
...props,
|
|
5513
|
+
className: classNames(
|
|
5514
|
+
props.className,
|
|
5515
|
+
className17
|
|
5516
|
+
),
|
|
5517
|
+
children: props.children
|
|
5518
|
+
}
|
|
5519
|
+
);
|
|
5520
|
+
|
|
5521
|
+
// src/grid/grid-table.spec.tsx
|
|
5522
|
+
import { jsx as jsx61 } from "react/jsx-runtime";
|
|
5523
|
+
var GRIDTABLE_CLASSNAME = `k-grid-table`;
|
|
5524
|
+
var GridTable = (props) => /* @__PURE__ */ jsx61(
|
|
5525
|
+
Table,
|
|
5526
|
+
{
|
|
5527
|
+
size: "medium",
|
|
5528
|
+
...props,
|
|
5529
|
+
className: classNames(
|
|
5530
|
+
props.className,
|
|
5531
|
+
GRIDTABLE_CLASSNAME
|
|
5532
|
+
),
|
|
5533
|
+
children: props.children
|
|
5534
|
+
}
|
|
5535
|
+
);
|
|
5536
|
+
|
|
5537
|
+
// src/grid/grid-footer.spec.tsx
|
|
5538
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
5539
|
+
|
|
5540
|
+
// src/grid/grid-footer-table.spec.tsx
|
|
5541
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5542
|
+
|
|
5543
|
+
// src/animation-container/animation-container.spec.tsx
|
|
5544
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5545
|
+
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5546
|
+
var states23 = [];
|
|
5547
|
+
var options19 = {};
|
|
5548
|
+
var defaultProps21 = {
|
|
5549
|
+
positionMode: "absolute"
|
|
5550
|
+
};
|
|
5551
|
+
var AnimationContainer = (props) => {
|
|
5548
5552
|
const {
|
|
5549
|
-
|
|
5550
|
-
|
|
5553
|
+
positionMode,
|
|
5554
|
+
animationStyle,
|
|
5555
|
+
offset,
|
|
5551
5556
|
...other
|
|
5552
5557
|
} = props;
|
|
5553
|
-
return /* @__PURE__ */
|
|
5554
|
-
"
|
|
5558
|
+
return /* @__PURE__ */ jsx64(
|
|
5559
|
+
"div",
|
|
5555
5560
|
{
|
|
5556
5561
|
...other,
|
|
5562
|
+
style: { ...offset, ...props.style },
|
|
5557
5563
|
className: classNames(
|
|
5558
|
-
|
|
5559
|
-
|
|
5564
|
+
ANIMATION_CONTAINER_CLASSNAME,
|
|
5565
|
+
"k-animation-container-shown",
|
|
5566
|
+
{
|
|
5567
|
+
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5568
|
+
}
|
|
5560
5569
|
),
|
|
5561
|
-
children:
|
|
5562
|
-
/* @__PURE__ */ jsx50(
|
|
5563
|
-
Button,
|
|
5564
|
-
{
|
|
5565
|
-
className: "k-spinner-increase",
|
|
5566
|
-
icon: "caret-alt-up",
|
|
5567
|
-
rounded: null,
|
|
5568
|
-
size,
|
|
5569
|
-
fillMode
|
|
5570
|
-
}
|
|
5571
|
-
),
|
|
5572
|
-
/* @__PURE__ */ jsx50(
|
|
5573
|
-
Button,
|
|
5574
|
-
{
|
|
5575
|
-
className: "k-spinner-decrease",
|
|
5576
|
-
icon: "caret-alt-down",
|
|
5577
|
-
rounded: null,
|
|
5578
|
-
size,
|
|
5579
|
-
fillMode
|
|
5580
|
-
}
|
|
5581
|
-
)
|
|
5582
|
-
]
|
|
5570
|
+
children: /* @__PURE__ */ jsx64("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5583
5571
|
}
|
|
5584
5572
|
);
|
|
5585
5573
|
};
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5574
|
+
AnimationContainer.states = states23;
|
|
5575
|
+
AnimationContainer.options = options19;
|
|
5576
|
+
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
5577
|
+
AnimationContainer.defaultProps = defaultProps21;
|
|
5590
5578
|
|
|
5591
|
-
// src/
|
|
5592
|
-
import {
|
|
5593
|
-
var
|
|
5579
|
+
// src/popup/popup.spec.tsx
|
|
5580
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
5581
|
+
var POPUP_CLASSNAME = `k-popup`;
|
|
5582
|
+
var states24 = [];
|
|
5583
|
+
var options20 = {};
|
|
5584
|
+
var defaultProps22 = {
|
|
5585
|
+
positionMode: "absolute"
|
|
5586
|
+
};
|
|
5587
|
+
var Popup = (props) => {
|
|
5588
|
+
const {
|
|
5589
|
+
offset,
|
|
5590
|
+
positionMode,
|
|
5591
|
+
...other
|
|
5592
|
+
} = props;
|
|
5593
|
+
return /* @__PURE__ */ jsx65(
|
|
5594
|
+
AnimationContainer,
|
|
5595
|
+
{
|
|
5596
|
+
positionMode,
|
|
5597
|
+
offset,
|
|
5598
|
+
children: /* @__PURE__ */ jsx65("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5599
|
+
}
|
|
5600
|
+
);
|
|
5601
|
+
};
|
|
5602
|
+
Popup.states = states24;
|
|
5603
|
+
Popup.options = options20;
|
|
5604
|
+
Popup.className = POPUP_CLASSNAME;
|
|
5605
|
+
Popup.defaultProps = defaultProps22;
|
|
5606
|
+
|
|
5607
|
+
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5608
|
+
import { Fragment as Fragment15, jsx as jsx66, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5609
|
+
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5594
5610
|
var states25 = [
|
|
5595
5611
|
States.hover,
|
|
5596
5612
|
States.focus,
|
|
5597
5613
|
States.valid,
|
|
5598
5614
|
States.invalid,
|
|
5599
|
-
States.loading,
|
|
5600
5615
|
States.required,
|
|
5601
5616
|
States.disabled,
|
|
5617
|
+
States.loading,
|
|
5602
5618
|
States.readonly
|
|
5603
5619
|
];
|
|
5604
|
-
var
|
|
5620
|
+
var options21 = {
|
|
5605
5621
|
size: [Size.small, Size.medium, Size.large],
|
|
5606
5622
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5607
5623
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5608
5624
|
};
|
|
5609
|
-
var
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
size:
|
|
5613
|
-
rounded:
|
|
5614
|
-
fillMode:
|
|
5625
|
+
var defaultProps23 = {
|
|
5626
|
+
showValue: true,
|
|
5627
|
+
arrowIconName: "caret-alt-down",
|
|
5628
|
+
size: Size.medium,
|
|
5629
|
+
rounded: Roundness.medium,
|
|
5630
|
+
fillMode: FillMode.solid
|
|
5615
5631
|
};
|
|
5616
|
-
var
|
|
5632
|
+
var DropdownList = (props) => {
|
|
5617
5633
|
const {
|
|
5634
|
+
valueIconName,
|
|
5635
|
+
arrowIconName = defaultProps23.arrowIconName,
|
|
5618
5636
|
prefix,
|
|
5619
5637
|
suffix,
|
|
5620
5638
|
value,
|
|
@@ -5630,132 +5648,13 @@ var NumericTextbox = (props) => {
|
|
|
5630
5648
|
loading,
|
|
5631
5649
|
disabled,
|
|
5632
5650
|
readonly,
|
|
5633
|
-
|
|
5634
|
-
|
|
5651
|
+
showValue = defaultProps23.showValue,
|
|
5652
|
+
popup,
|
|
5653
|
+
opened,
|
|
5635
5654
|
...other
|
|
5636
5655
|
} = props;
|
|
5637
|
-
return /* @__PURE__ */
|
|
5638
|
-
|
|
5639
|
-
{
|
|
5640
|
-
...other,
|
|
5641
|
-
size,
|
|
5642
|
-
rounded,
|
|
5643
|
-
fillMode,
|
|
5644
|
-
hover,
|
|
5645
|
-
focus,
|
|
5646
|
-
valid,
|
|
5647
|
-
invalid,
|
|
5648
|
-
required,
|
|
5649
|
-
loading,
|
|
5650
|
-
disabled,
|
|
5651
|
-
readonly,
|
|
5652
|
-
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5653
|
-
children: [
|
|
5654
|
-
prefix && /* @__PURE__ */ jsxs20(Fragment22, { children: [
|
|
5655
|
-
/* @__PURE__ */ jsx51(InputPrefix, { children: prefix }),
|
|
5656
|
-
/* @__PURE__ */ jsx51(InputSeparator, {})
|
|
5657
|
-
] }),
|
|
5658
|
-
/* @__PURE__ */ jsx51(InputInnerInput, { placeholder, value }),
|
|
5659
|
-
/* @__PURE__ */ jsx51(
|
|
5660
|
-
InputValidationIcon,
|
|
5661
|
-
{
|
|
5662
|
-
valid,
|
|
5663
|
-
invalid,
|
|
5664
|
-
loading,
|
|
5665
|
-
disabled
|
|
5666
|
-
}
|
|
5667
|
-
),
|
|
5668
|
-
/* @__PURE__ */ jsx51(
|
|
5669
|
-
InputLoadingIcon,
|
|
5670
|
-
{
|
|
5671
|
-
loading,
|
|
5672
|
-
disabled
|
|
5673
|
-
}
|
|
5674
|
-
),
|
|
5675
|
-
showClearButton && /* @__PURE__ */ jsx51(
|
|
5676
|
-
InputClearValue,
|
|
5677
|
-
{
|
|
5678
|
-
loading,
|
|
5679
|
-
disabled,
|
|
5680
|
-
readonly,
|
|
5681
|
-
value
|
|
5682
|
-
}
|
|
5683
|
-
),
|
|
5684
|
-
suffix && /* @__PURE__ */ jsxs20(Fragment22, { children: [
|
|
5685
|
-
/* @__PURE__ */ jsx51(InputSeparator, {}),
|
|
5686
|
-
/* @__PURE__ */ jsx51(InputSuffix, { children: suffix })
|
|
5687
|
-
] }),
|
|
5688
|
-
showSpinButton && /* @__PURE__ */ jsx51(
|
|
5689
|
-
SpinButton,
|
|
5690
|
-
{
|
|
5691
|
-
className: "k-input-spinner",
|
|
5692
|
-
size,
|
|
5693
|
-
fillMode
|
|
5694
|
-
}
|
|
5695
|
-
)
|
|
5696
|
-
]
|
|
5697
|
-
}
|
|
5698
|
-
);
|
|
5699
|
-
};
|
|
5700
|
-
NumericTextbox.states = states25;
|
|
5701
|
-
NumericTextbox.options = options24;
|
|
5702
|
-
NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
5703
|
-
NumericTextbox.defaultProps = defaultProps24;
|
|
5704
|
-
|
|
5705
|
-
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5706
|
-
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5707
|
-
|
|
5708
|
-
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5709
|
-
import { Fragment as Fragment23, jsx as jsx53, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5710
|
-
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5711
|
-
var states26 = [
|
|
5712
|
-
States.hover,
|
|
5713
|
-
States.focus,
|
|
5714
|
-
States.valid,
|
|
5715
|
-
States.invalid,
|
|
5716
|
-
States.required,
|
|
5717
|
-
States.disabled,
|
|
5718
|
-
States.loading,
|
|
5719
|
-
States.readonly
|
|
5720
|
-
];
|
|
5721
|
-
var options25 = {
|
|
5722
|
-
size: [Size.small, Size.medium, Size.large],
|
|
5723
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5724
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5725
|
-
};
|
|
5726
|
-
var defaultProps25 = {
|
|
5727
|
-
showValue: true,
|
|
5728
|
-
arrowIconName: "caret-alt-down",
|
|
5729
|
-
size: Size.medium,
|
|
5730
|
-
rounded: Roundness.medium,
|
|
5731
|
-
fillMode: FillMode.solid
|
|
5732
|
-
};
|
|
5733
|
-
var DropdownList = (props) => {
|
|
5734
|
-
const {
|
|
5735
|
-
valueIconName,
|
|
5736
|
-
arrowIconName = defaultProps25.arrowIconName,
|
|
5737
|
-
prefix,
|
|
5738
|
-
suffix,
|
|
5739
|
-
value,
|
|
5740
|
-
placeholder,
|
|
5741
|
-
size,
|
|
5742
|
-
rounded,
|
|
5743
|
-
fillMode,
|
|
5744
|
-
hover,
|
|
5745
|
-
focus,
|
|
5746
|
-
valid,
|
|
5747
|
-
invalid,
|
|
5748
|
-
required,
|
|
5749
|
-
loading,
|
|
5750
|
-
disabled,
|
|
5751
|
-
readonly,
|
|
5752
|
-
showValue = defaultProps25.showValue,
|
|
5753
|
-
popup,
|
|
5754
|
-
opened,
|
|
5755
|
-
...other
|
|
5756
|
-
} = props;
|
|
5757
|
-
return /* @__PURE__ */ jsxs21(Fragment23, { children: [
|
|
5758
|
-
/* @__PURE__ */ jsxs21(
|
|
5656
|
+
return /* @__PURE__ */ jsxs13(Fragment15, { children: [
|
|
5657
|
+
/* @__PURE__ */ jsxs13(
|
|
5759
5658
|
Picker,
|
|
5760
5659
|
{
|
|
5761
5660
|
...other,
|
|
@@ -5778,8 +5677,8 @@ var DropdownList = (props) => {
|
|
|
5778
5677
|
}
|
|
5779
5678
|
),
|
|
5780
5679
|
children: [
|
|
5781
|
-
/* @__PURE__ */
|
|
5782
|
-
/* @__PURE__ */
|
|
5680
|
+
/* @__PURE__ */ jsx66(InputPrefix, { children: prefix }),
|
|
5681
|
+
/* @__PURE__ */ jsx66(
|
|
5783
5682
|
InputInnerSpan,
|
|
5784
5683
|
{
|
|
5785
5684
|
placeholder,
|
|
@@ -5788,7 +5687,7 @@ var DropdownList = (props) => {
|
|
|
5788
5687
|
valueIconName
|
|
5789
5688
|
}
|
|
5790
5689
|
),
|
|
5791
|
-
/* @__PURE__ */
|
|
5690
|
+
/* @__PURE__ */ jsx66(
|
|
5792
5691
|
InputValidationIcon,
|
|
5793
5692
|
{
|
|
5794
5693
|
valid,
|
|
@@ -5797,15 +5696,15 @@ var DropdownList = (props) => {
|
|
|
5797
5696
|
disabled
|
|
5798
5697
|
}
|
|
5799
5698
|
),
|
|
5800
|
-
/* @__PURE__ */
|
|
5699
|
+
/* @__PURE__ */ jsx66(
|
|
5801
5700
|
InputLoadingIcon,
|
|
5802
5701
|
{
|
|
5803
5702
|
loading,
|
|
5804
5703
|
disabled
|
|
5805
5704
|
}
|
|
5806
5705
|
),
|
|
5807
|
-
/* @__PURE__ */
|
|
5808
|
-
/* @__PURE__ */
|
|
5706
|
+
/* @__PURE__ */ jsx66(InputSuffix, { children: suffix }),
|
|
5707
|
+
/* @__PURE__ */ jsx66(
|
|
5809
5708
|
Button,
|
|
5810
5709
|
{
|
|
5811
5710
|
className: "k-input-button",
|
|
@@ -5818,35 +5717,35 @@ var DropdownList = (props) => {
|
|
|
5818
5717
|
]
|
|
5819
5718
|
}
|
|
5820
5719
|
),
|
|
5821
|
-
opened && popup && /* @__PURE__ */
|
|
5720
|
+
opened && popup && /* @__PURE__ */ jsx66(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5822
5721
|
] });
|
|
5823
5722
|
};
|
|
5824
|
-
DropdownList.states =
|
|
5825
|
-
DropdownList.options =
|
|
5723
|
+
DropdownList.states = states25;
|
|
5724
|
+
DropdownList.options = options21;
|
|
5826
5725
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
5827
|
-
DropdownList.defaultProps =
|
|
5726
|
+
DropdownList.defaultProps = defaultProps23;
|
|
5828
5727
|
|
|
5829
5728
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5830
|
-
import { jsx as
|
|
5729
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
5831
5730
|
|
|
5832
5731
|
// src/nodata/nodata.tsx
|
|
5833
|
-
import { jsx as
|
|
5834
|
-
var
|
|
5835
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5732
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
5733
|
+
var className18 = `k-nodata`;
|
|
5734
|
+
var NoData = (props) => /* @__PURE__ */ jsx68("span", { className: classNames(className18, props.className), children: props.children });
|
|
5836
5735
|
|
|
5837
5736
|
// src/list/list.spec.tsx
|
|
5838
|
-
import { jsx as
|
|
5737
|
+
import { jsx as jsx69, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5839
5738
|
var LIST_CLASSNAME = `k-list`;
|
|
5840
|
-
var
|
|
5841
|
-
var
|
|
5739
|
+
var states26 = [];
|
|
5740
|
+
var options22 = {
|
|
5842
5741
|
size: [Size.small, Size.medium, Size.large]
|
|
5843
5742
|
};
|
|
5844
|
-
var
|
|
5743
|
+
var defaultProps24 = {
|
|
5845
5744
|
size: Size.medium
|
|
5846
5745
|
};
|
|
5847
5746
|
var List = (props) => {
|
|
5848
5747
|
const {
|
|
5849
|
-
size =
|
|
5748
|
+
size = defaultProps24.size,
|
|
5850
5749
|
virtualization,
|
|
5851
5750
|
children,
|
|
5852
5751
|
optionLabel,
|
|
@@ -5863,7 +5762,7 @@ var List = (props) => {
|
|
|
5863
5762
|
listHeader = child.props.label;
|
|
5864
5763
|
child.props.children.map((optChild, index2) => {
|
|
5865
5764
|
listChildren.push(
|
|
5866
|
-
/* @__PURE__ */
|
|
5765
|
+
/* @__PURE__ */ jsx69(
|
|
5867
5766
|
ListItem,
|
|
5868
5767
|
{
|
|
5869
5768
|
...optChild.props
|
|
@@ -5879,7 +5778,7 @@ var List = (props) => {
|
|
|
5879
5778
|
groupLabel = child.props.label;
|
|
5880
5779
|
}
|
|
5881
5780
|
listChildren.push(
|
|
5882
|
-
/* @__PURE__ */
|
|
5781
|
+
/* @__PURE__ */ jsx69(
|
|
5883
5782
|
ListItem,
|
|
5884
5783
|
{
|
|
5885
5784
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5891,16 +5790,16 @@ var List = (props) => {
|
|
|
5891
5790
|
);
|
|
5892
5791
|
});
|
|
5893
5792
|
}
|
|
5894
|
-
listGroup = /* @__PURE__ */
|
|
5793
|
+
listGroup = /* @__PURE__ */ jsx69(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5895
5794
|
} else if (child.type === ListItem) {
|
|
5896
|
-
listChildren.push(/* @__PURE__ */
|
|
5897
|
-
listContent = /* @__PURE__ */
|
|
5795
|
+
listChildren.push(/* @__PURE__ */ jsx69(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5796
|
+
listContent = /* @__PURE__ */ jsx69(ListContent, { virtualization, children: listChildren });
|
|
5898
5797
|
}
|
|
5899
5798
|
});
|
|
5900
5799
|
} else {
|
|
5901
|
-
listContent = /* @__PURE__ */
|
|
5800
|
+
listContent = /* @__PURE__ */ jsx69(NoData, { children: "No data found." });
|
|
5902
5801
|
}
|
|
5903
|
-
return /* @__PURE__ */
|
|
5802
|
+
return /* @__PURE__ */ jsxs14(
|
|
5904
5803
|
"div",
|
|
5905
5804
|
{
|
|
5906
5805
|
...other,
|
|
@@ -5922,24 +5821,24 @@ var List = (props) => {
|
|
|
5922
5821
|
}
|
|
5923
5822
|
);
|
|
5924
5823
|
};
|
|
5925
|
-
List.states =
|
|
5926
|
-
List.options =
|
|
5824
|
+
List.states = states26;
|
|
5825
|
+
List.options = options22;
|
|
5927
5826
|
List.className = LIST_CLASSNAME;
|
|
5928
|
-
List.defaultProps =
|
|
5827
|
+
List.defaultProps = defaultProps24;
|
|
5929
5828
|
|
|
5930
5829
|
// src/list/list-angular.spec.tsx
|
|
5931
|
-
import { jsx as
|
|
5830
|
+
import { jsx as jsx70, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5932
5831
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5933
|
-
var
|
|
5934
|
-
var
|
|
5832
|
+
var states27 = [];
|
|
5833
|
+
var options23 = {
|
|
5935
5834
|
size: [Size.small, Size.medium, Size.large]
|
|
5936
5835
|
};
|
|
5937
|
-
var
|
|
5836
|
+
var defaultProps25 = {
|
|
5938
5837
|
size: Size.medium
|
|
5939
5838
|
};
|
|
5940
5839
|
var ListAngular = (props) => {
|
|
5941
5840
|
const {
|
|
5942
|
-
size =
|
|
5841
|
+
size = defaultProps25.size,
|
|
5943
5842
|
virtualization,
|
|
5944
5843
|
children,
|
|
5945
5844
|
...other
|
|
@@ -5955,7 +5854,7 @@ var ListAngular = (props) => {
|
|
|
5955
5854
|
listHeader = child.props.label;
|
|
5956
5855
|
child.props.children.map((optChild, index2) => {
|
|
5957
5856
|
listChildren.push(
|
|
5958
|
-
/* @__PURE__ */
|
|
5857
|
+
/* @__PURE__ */ jsx70(
|
|
5959
5858
|
ListItem,
|
|
5960
5859
|
{
|
|
5961
5860
|
...optChild.props
|
|
@@ -5966,7 +5865,7 @@ var ListAngular = (props) => {
|
|
|
5966
5865
|
});
|
|
5967
5866
|
} else {
|
|
5968
5867
|
listChildren.push(
|
|
5969
|
-
/* @__PURE__ */
|
|
5868
|
+
/* @__PURE__ */ jsx70(
|
|
5970
5869
|
ListGroupItem,
|
|
5971
5870
|
{
|
|
5972
5871
|
...child.props,
|
|
@@ -5977,7 +5876,7 @@ var ListAngular = (props) => {
|
|
|
5977
5876
|
);
|
|
5978
5877
|
child.props.children.map((optChild, index2) => {
|
|
5979
5878
|
listChildren.push(
|
|
5980
|
-
/* @__PURE__ */
|
|
5879
|
+
/* @__PURE__ */ jsx70(
|
|
5981
5880
|
ListItem,
|
|
5982
5881
|
{
|
|
5983
5882
|
...optChild.props
|
|
@@ -5987,16 +5886,16 @@ var ListAngular = (props) => {
|
|
|
5987
5886
|
);
|
|
5988
5887
|
});
|
|
5989
5888
|
}
|
|
5990
|
-
listGroup = /* @__PURE__ */
|
|
5889
|
+
listGroup = /* @__PURE__ */ jsx70(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5991
5890
|
} else if (child.type === ListItem) {
|
|
5992
|
-
listChildren.push(/* @__PURE__ */
|
|
5993
|
-
listContent = /* @__PURE__ */
|
|
5891
|
+
listChildren.push(/* @__PURE__ */ jsx70(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5892
|
+
listContent = /* @__PURE__ */ jsx70(ListContent, { virtualization, children: listChildren });
|
|
5994
5893
|
}
|
|
5995
5894
|
});
|
|
5996
5895
|
} else {
|
|
5997
|
-
listContent = /* @__PURE__ */
|
|
5896
|
+
listContent = /* @__PURE__ */ jsx70(NoData, { children: "No data found." });
|
|
5998
5897
|
}
|
|
5999
|
-
return /* @__PURE__ */
|
|
5898
|
+
return /* @__PURE__ */ jsxs15(
|
|
6000
5899
|
"div",
|
|
6001
5900
|
{
|
|
6002
5901
|
...other,
|
|
@@ -6017,22 +5916,22 @@ var ListAngular = (props) => {
|
|
|
6017
5916
|
}
|
|
6018
5917
|
);
|
|
6019
5918
|
};
|
|
6020
|
-
ListAngular.states =
|
|
6021
|
-
ListAngular.options =
|
|
5919
|
+
ListAngular.states = states27;
|
|
5920
|
+
ListAngular.options = options23;
|
|
6022
5921
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
6023
|
-
ListAngular.defaultProps =
|
|
5922
|
+
ListAngular.defaultProps = defaultProps25;
|
|
6024
5923
|
|
|
6025
5924
|
// src/list/list-item.spec.tsx
|
|
6026
|
-
import { jsx as
|
|
5925
|
+
import { jsx as jsx71, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
6027
5926
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
6028
|
-
var
|
|
5927
|
+
var states28 = [
|
|
6029
5928
|
States.hover,
|
|
6030
5929
|
States.focus,
|
|
6031
5930
|
States.selected,
|
|
6032
5931
|
States.disabled
|
|
6033
5932
|
];
|
|
6034
|
-
var
|
|
6035
|
-
var
|
|
5933
|
+
var options24 = {};
|
|
5934
|
+
var defaultProps26 = {};
|
|
6036
5935
|
var ListItem = (props) => {
|
|
6037
5936
|
const {
|
|
6038
5937
|
text,
|
|
@@ -6048,7 +5947,7 @@ var ListItem = (props) => {
|
|
|
6048
5947
|
...other
|
|
6049
5948
|
} = props;
|
|
6050
5949
|
const textOrChildren = text ? text : props.children;
|
|
6051
|
-
return /* @__PURE__ */
|
|
5950
|
+
return /* @__PURE__ */ jsxs16(
|
|
6052
5951
|
"li",
|
|
6053
5952
|
{
|
|
6054
5953
|
...other,
|
|
@@ -6063,66 +5962,66 @@ var ListItem = (props) => {
|
|
|
6063
5962
|
})
|
|
6064
5963
|
),
|
|
6065
5964
|
children: [
|
|
6066
|
-
showCheckbox && /* @__PURE__ */
|
|
6067
|
-
showIcon && /* @__PURE__ */
|
|
6068
|
-
/* @__PURE__ */
|
|
6069
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
5965
|
+
showCheckbox && /* @__PURE__ */ jsx71(Checkbox, { checked }),
|
|
5966
|
+
showIcon && /* @__PURE__ */ jsx71(Icon, { icon: iconName }),
|
|
5967
|
+
/* @__PURE__ */ jsx71("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
5968
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx71("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
6070
5969
|
]
|
|
6071
5970
|
}
|
|
6072
5971
|
);
|
|
6073
5972
|
};
|
|
6074
|
-
ListItem.states =
|
|
6075
|
-
ListItem.options =
|
|
5973
|
+
ListItem.states = states28;
|
|
5974
|
+
ListItem.options = options24;
|
|
6076
5975
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
6077
|
-
ListItem.defaultProps =
|
|
5976
|
+
ListItem.defaultProps = defaultProps26;
|
|
6078
5977
|
|
|
6079
5978
|
// src/list/list-content.tsx
|
|
6080
|
-
import { jsx as
|
|
6081
|
-
var
|
|
5979
|
+
import { jsx as jsx72, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5980
|
+
var className19 = `k-list-content`;
|
|
6082
5981
|
var ListContent = (props) => {
|
|
6083
5982
|
const {
|
|
6084
5983
|
virtualization
|
|
6085
5984
|
} = props;
|
|
6086
|
-
return /* @__PURE__ */
|
|
6087
|
-
/* @__PURE__ */
|
|
6088
|
-
virtualization && /* @__PURE__ */
|
|
5985
|
+
return /* @__PURE__ */ jsxs17("div", { className: classNames(className19, props.className), children: [
|
|
5986
|
+
/* @__PURE__ */ jsx72("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
5987
|
+
virtualization && /* @__PURE__ */ jsx72("div", { className: "k-height-container", children: /* @__PURE__ */ jsx72("div", {}) })
|
|
6089
5988
|
] });
|
|
6090
5989
|
};
|
|
6091
5990
|
|
|
6092
5991
|
// src/list/list-header.tsx
|
|
6093
|
-
import { jsx as
|
|
6094
|
-
var
|
|
6095
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
5992
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
5993
|
+
var className20 = `k-list-group-sticky-header`;
|
|
5994
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx73("div", { className: classNames(className20, props.className), children: /* @__PURE__ */ jsx73("div", { className: "k-list-header-text", children: props.children }) });
|
|
6096
5995
|
|
|
6097
5996
|
// src/list/list-group.tsx
|
|
6098
|
-
import { Fragment as
|
|
5997
|
+
import { Fragment as Fragment16, jsx as jsx74, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
6099
5998
|
var ListGroup = (props) => {
|
|
6100
5999
|
const {
|
|
6101
6000
|
virtualization,
|
|
6102
6001
|
label
|
|
6103
6002
|
} = props;
|
|
6104
|
-
return /* @__PURE__ */
|
|
6105
|
-
label && /* @__PURE__ */
|
|
6106
|
-
props.children && /* @__PURE__ */
|
|
6003
|
+
return /* @__PURE__ */ jsxs18(Fragment16, { children: [
|
|
6004
|
+
label && /* @__PURE__ */ jsx74(ListHeader, { children: label }),
|
|
6005
|
+
props.children && /* @__PURE__ */ jsx74(ListContent, { virtualization, children: props.children })
|
|
6107
6006
|
] });
|
|
6108
6007
|
};
|
|
6109
6008
|
|
|
6110
6009
|
// src/list/list-group-item.tsx
|
|
6111
|
-
import { jsx as
|
|
6112
|
-
var
|
|
6113
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6010
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6011
|
+
var className21 = `k-list-group-item`;
|
|
6012
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx75("li", { className: classNames(className21, props.className), children: /* @__PURE__ */ jsx75("span", { className: "k-list-item-text", children: props.children }) });
|
|
6114
6013
|
|
|
6115
6014
|
// src/list/list-option-label.tsx
|
|
6116
|
-
import { jsx as
|
|
6015
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6117
6016
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6118
|
-
var
|
|
6017
|
+
var states29 = [
|
|
6119
6018
|
States.hover,
|
|
6120
6019
|
States.focus,
|
|
6121
6020
|
States.selected,
|
|
6122
6021
|
States.disabled
|
|
6123
6022
|
];
|
|
6124
|
-
var
|
|
6125
|
-
var
|
|
6023
|
+
var options25 = {};
|
|
6024
|
+
var defaultProps27 = {};
|
|
6126
6025
|
var ListOptionLabel = (props) => {
|
|
6127
6026
|
const {
|
|
6128
6027
|
text,
|
|
@@ -6132,7 +6031,7 @@ var ListOptionLabel = (props) => {
|
|
|
6132
6031
|
disabled,
|
|
6133
6032
|
...other
|
|
6134
6033
|
} = props;
|
|
6135
|
-
return /* @__PURE__ */
|
|
6034
|
+
return /* @__PURE__ */ jsx76(
|
|
6136
6035
|
"div",
|
|
6137
6036
|
{
|
|
6138
6037
|
...other,
|
|
@@ -6149,259 +6048,1105 @@ var ListOptionLabel = (props) => {
|
|
|
6149
6048
|
}
|
|
6150
6049
|
);
|
|
6151
6050
|
};
|
|
6152
|
-
ListOptionLabel.states =
|
|
6153
|
-
ListOptionLabel.options =
|
|
6051
|
+
ListOptionLabel.states = states29;
|
|
6052
|
+
ListOptionLabel.options = options25;
|
|
6154
6053
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
6155
|
-
ListOptionLabel.defaultProps =
|
|
6054
|
+
ListOptionLabel.defaultProps = defaultProps27;
|
|
6156
6055
|
|
|
6157
6056
|
// src/list/templates/list-normal.tsx
|
|
6158
|
-
import { jsx as
|
|
6057
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6159
6058
|
|
|
6160
6059
|
// src/list/templates/list-virtualization.tsx
|
|
6161
|
-
import { jsx as
|
|
6060
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6162
6061
|
|
|
6163
6062
|
// src/list/templates/list-grouping.tsx
|
|
6164
|
-
import { jsx as
|
|
6063
|
+
import { jsx as jsx79, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6165
6064
|
|
|
6166
6065
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6167
|
-
import { jsx as
|
|
6066
|
+
import { jsx as jsx80, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
6168
6067
|
|
|
6169
6068
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6170
|
-
import { jsx as
|
|
6069
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6171
6070
|
|
|
6172
6071
|
// src/list/templates/list-grouping-angular.tsx
|
|
6173
|
-
import { jsx as
|
|
6072
|
+
import { jsx as jsx82, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6174
6073
|
|
|
6175
6074
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6176
|
-
import { jsx as
|
|
6075
|
+
import { jsx as jsx83, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
6177
6076
|
|
|
6178
6077
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6179
|
-
import { jsx as
|
|
6078
|
+
import { jsx as jsx84, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
6079
|
+
|
|
6080
|
+
// src/searchbox/searchbox.spec.tsx
|
|
6081
|
+
import { jsx as jsx85, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6082
|
+
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6083
|
+
var states30 = [
|
|
6084
|
+
States.hover,
|
|
6085
|
+
States.focus,
|
|
6086
|
+
States.valid,
|
|
6087
|
+
States.invalid,
|
|
6088
|
+
States.required,
|
|
6089
|
+
States.disabled,
|
|
6090
|
+
States.loading
|
|
6091
|
+
];
|
|
6092
|
+
var options26 = {
|
|
6093
|
+
size: [Size.small, Size.medium, Size.large],
|
|
6094
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6095
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6096
|
+
};
|
|
6097
|
+
var defaultProps28 = {
|
|
6098
|
+
showIcon: true,
|
|
6099
|
+
icon: "search",
|
|
6100
|
+
size: Input.defaultProps.size,
|
|
6101
|
+
rounded: Input.defaultProps.rounded,
|
|
6102
|
+
fillMode: Input.defaultProps.fillMode
|
|
6103
|
+
};
|
|
6104
|
+
var Searchbox = (props) => {
|
|
6105
|
+
const {
|
|
6106
|
+
value,
|
|
6107
|
+
placeholder,
|
|
6108
|
+
size,
|
|
6109
|
+
rounded,
|
|
6110
|
+
fillMode,
|
|
6111
|
+
hover,
|
|
6112
|
+
focus,
|
|
6113
|
+
valid,
|
|
6114
|
+
invalid,
|
|
6115
|
+
required,
|
|
6116
|
+
loading,
|
|
6117
|
+
disabled,
|
|
6118
|
+
showIcon = defaultProps28.showIcon,
|
|
6119
|
+
icon = defaultProps28.icon,
|
|
6120
|
+
...other
|
|
6121
|
+
} = props;
|
|
6122
|
+
return /* @__PURE__ */ jsxs24(
|
|
6123
|
+
Input,
|
|
6124
|
+
{
|
|
6125
|
+
...other,
|
|
6126
|
+
size,
|
|
6127
|
+
rounded,
|
|
6128
|
+
fillMode,
|
|
6129
|
+
hover,
|
|
6130
|
+
focus,
|
|
6131
|
+
valid,
|
|
6132
|
+
invalid,
|
|
6133
|
+
required,
|
|
6134
|
+
loading,
|
|
6135
|
+
disabled,
|
|
6136
|
+
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6137
|
+
children: [
|
|
6138
|
+
showIcon && /* @__PURE__ */ jsx85(Icon, { className: "k-input-icon", icon }),
|
|
6139
|
+
/* @__PURE__ */ jsx85(InputInnerInput, { placeholder, value }),
|
|
6140
|
+
/* @__PURE__ */ jsx85(InputLoadingIcon, { ...props }),
|
|
6141
|
+
/* @__PURE__ */ jsx85(InputValidationIcon, { ...props }),
|
|
6142
|
+
/* @__PURE__ */ jsx85(InputClearValue, { ...props })
|
|
6143
|
+
]
|
|
6144
|
+
}
|
|
6145
|
+
);
|
|
6146
|
+
};
|
|
6147
|
+
Searchbox.states = states30;
|
|
6148
|
+
Searchbox.options = options26;
|
|
6149
|
+
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
6150
|
+
Searchbox.defaultProps = defaultProps28;
|
|
6151
|
+
|
|
6152
|
+
// src/searchbox/templates/searchbox-normal.tsx
|
|
6153
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6154
|
+
|
|
6155
|
+
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6156
|
+
import { Fragment as Fragment17, jsx as jsx87, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6157
|
+
|
|
6158
|
+
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6159
|
+
import { jsx as jsx88, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6160
|
+
|
|
6161
|
+
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6162
|
+
import { Fragment as Fragment18, jsx as jsx89, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6163
|
+
|
|
6164
|
+
// src/spinbutton/spinbutton.spec.tsx
|
|
6165
|
+
import { jsx as jsx90, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6166
|
+
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
6167
|
+
var states31 = [];
|
|
6168
|
+
var options27 = {
|
|
6169
|
+
size: [Size.small, Size.medium, Size.large],
|
|
6170
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
6171
|
+
};
|
|
6172
|
+
var defaultProps29 = {
|
|
6173
|
+
size: Size.medium,
|
|
6174
|
+
fillMode: FillMode.solid
|
|
6175
|
+
};
|
|
6176
|
+
var SpinButton = (props) => {
|
|
6177
|
+
const {
|
|
6178
|
+
size = defaultProps29.size,
|
|
6179
|
+
fillMode = defaultProps29.fillMode,
|
|
6180
|
+
...other
|
|
6181
|
+
} = props;
|
|
6182
|
+
return /* @__PURE__ */ jsxs28(
|
|
6183
|
+
"span",
|
|
6184
|
+
{
|
|
6185
|
+
...other,
|
|
6186
|
+
className: classNames(
|
|
6187
|
+
SPINBUTTON_CLASSNAME,
|
|
6188
|
+
props.className
|
|
6189
|
+
),
|
|
6190
|
+
children: [
|
|
6191
|
+
/* @__PURE__ */ jsx90(
|
|
6192
|
+
Button,
|
|
6193
|
+
{
|
|
6194
|
+
className: "k-spinner-increase",
|
|
6195
|
+
icon: "caret-alt-up",
|
|
6196
|
+
rounded: null,
|
|
6197
|
+
size,
|
|
6198
|
+
fillMode
|
|
6199
|
+
}
|
|
6200
|
+
),
|
|
6201
|
+
/* @__PURE__ */ jsx90(
|
|
6202
|
+
Button,
|
|
6203
|
+
{
|
|
6204
|
+
className: "k-spinner-decrease",
|
|
6205
|
+
icon: "caret-alt-down",
|
|
6206
|
+
rounded: null,
|
|
6207
|
+
size,
|
|
6208
|
+
fillMode
|
|
6209
|
+
}
|
|
6210
|
+
)
|
|
6211
|
+
]
|
|
6212
|
+
}
|
|
6213
|
+
);
|
|
6214
|
+
};
|
|
6215
|
+
SpinButton.states = states31;
|
|
6216
|
+
SpinButton.options = options27;
|
|
6217
|
+
SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
6218
|
+
SpinButton.defaultProps = defaultProps29;
|
|
6219
|
+
|
|
6220
|
+
// src/numerictextbox/numerictextbox.spec.tsx
|
|
6221
|
+
import { Fragment as Fragment19, jsx as jsx91, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6222
|
+
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
6223
|
+
var states32 = [
|
|
6224
|
+
States.hover,
|
|
6225
|
+
States.focus,
|
|
6226
|
+
States.valid,
|
|
6227
|
+
States.invalid,
|
|
6228
|
+
States.loading,
|
|
6229
|
+
States.required,
|
|
6230
|
+
States.disabled,
|
|
6231
|
+
States.readonly
|
|
6232
|
+
];
|
|
6233
|
+
var options28 = {
|
|
6234
|
+
size: [Size.small, Size.medium, Size.large],
|
|
6235
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6236
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6237
|
+
};
|
|
6238
|
+
var defaultProps30 = {
|
|
6239
|
+
showSpinButton: true,
|
|
6240
|
+
showClearButton: true,
|
|
6241
|
+
size: Input.defaultProps.size,
|
|
6242
|
+
rounded: Input.defaultProps.rounded,
|
|
6243
|
+
fillMode: Input.defaultProps.fillMode
|
|
6244
|
+
};
|
|
6245
|
+
var NumericTextbox = (props) => {
|
|
6246
|
+
const {
|
|
6247
|
+
prefix,
|
|
6248
|
+
suffix,
|
|
6249
|
+
value,
|
|
6250
|
+
placeholder,
|
|
6251
|
+
size,
|
|
6252
|
+
rounded,
|
|
6253
|
+
fillMode,
|
|
6254
|
+
hover,
|
|
6255
|
+
focus,
|
|
6256
|
+
valid,
|
|
6257
|
+
invalid,
|
|
6258
|
+
required,
|
|
6259
|
+
loading,
|
|
6260
|
+
disabled,
|
|
6261
|
+
readonly,
|
|
6262
|
+
showClearButton = defaultProps30.showClearButton,
|
|
6263
|
+
showSpinButton = defaultProps30.showSpinButton,
|
|
6264
|
+
...other
|
|
6265
|
+
} = props;
|
|
6266
|
+
return /* @__PURE__ */ jsxs29(
|
|
6267
|
+
Input,
|
|
6268
|
+
{
|
|
6269
|
+
...other,
|
|
6270
|
+
size,
|
|
6271
|
+
rounded,
|
|
6272
|
+
fillMode,
|
|
6273
|
+
hover,
|
|
6274
|
+
focus,
|
|
6275
|
+
valid,
|
|
6276
|
+
invalid,
|
|
6277
|
+
required,
|
|
6278
|
+
loading,
|
|
6279
|
+
disabled,
|
|
6280
|
+
readonly,
|
|
6281
|
+
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
6282
|
+
children: [
|
|
6283
|
+
prefix && /* @__PURE__ */ jsxs29(Fragment19, { children: [
|
|
6284
|
+
/* @__PURE__ */ jsx91(InputPrefix, { children: prefix }),
|
|
6285
|
+
/* @__PURE__ */ jsx91(InputSeparator, {})
|
|
6286
|
+
] }),
|
|
6287
|
+
/* @__PURE__ */ jsx91(InputInnerInput, { placeholder, value }),
|
|
6288
|
+
/* @__PURE__ */ jsx91(
|
|
6289
|
+
InputValidationIcon,
|
|
6290
|
+
{
|
|
6291
|
+
valid,
|
|
6292
|
+
invalid,
|
|
6293
|
+
loading,
|
|
6294
|
+
disabled
|
|
6295
|
+
}
|
|
6296
|
+
),
|
|
6297
|
+
/* @__PURE__ */ jsx91(
|
|
6298
|
+
InputLoadingIcon,
|
|
6299
|
+
{
|
|
6300
|
+
loading,
|
|
6301
|
+
disabled
|
|
6302
|
+
}
|
|
6303
|
+
),
|
|
6304
|
+
showClearButton && /* @__PURE__ */ jsx91(
|
|
6305
|
+
InputClearValue,
|
|
6306
|
+
{
|
|
6307
|
+
loading,
|
|
6308
|
+
disabled,
|
|
6309
|
+
readonly,
|
|
6310
|
+
value
|
|
6311
|
+
}
|
|
6312
|
+
),
|
|
6313
|
+
suffix && /* @__PURE__ */ jsxs29(Fragment19, { children: [
|
|
6314
|
+
/* @__PURE__ */ jsx91(InputSeparator, {}),
|
|
6315
|
+
/* @__PURE__ */ jsx91(InputSuffix, { children: suffix })
|
|
6316
|
+
] }),
|
|
6317
|
+
showSpinButton && /* @__PURE__ */ jsx91(
|
|
6318
|
+
SpinButton,
|
|
6319
|
+
{
|
|
6320
|
+
className: "k-input-spinner",
|
|
6321
|
+
size,
|
|
6322
|
+
fillMode
|
|
6323
|
+
}
|
|
6324
|
+
)
|
|
6325
|
+
]
|
|
6326
|
+
}
|
|
6327
|
+
);
|
|
6328
|
+
};
|
|
6329
|
+
NumericTextbox.states = states32;
|
|
6330
|
+
NumericTextbox.options = options28;
|
|
6331
|
+
NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
6332
|
+
NumericTextbox.defaultProps = defaultProps30;
|
|
6333
|
+
|
|
6334
|
+
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
6335
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6336
|
+
|
|
6337
|
+
// src/numerictextbox/templates/numerictextbox-prefix.tsx
|
|
6338
|
+
import { Fragment as Fragment20, jsx as jsx93 } from "react/jsx-runtime";
|
|
6339
|
+
|
|
6340
|
+
// src/numerictextbox/templates/numerictextbox-suffix.tsx
|
|
6341
|
+
import { Fragment as Fragment21, jsx as jsx94 } from "react/jsx-runtime";
|
|
6342
|
+
|
|
6343
|
+
// src/pager/pager.spec.tsx
|
|
6344
|
+
import { jsx as jsx95, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6345
|
+
var PAGER_CLASSNAME = `k-pager`;
|
|
6346
|
+
var states33 = [
|
|
6347
|
+
States.focus,
|
|
6348
|
+
States.disabled
|
|
6349
|
+
];
|
|
6350
|
+
var options29 = {
|
|
6351
|
+
size: [Size.small, Size.medium, Size.large]
|
|
6352
|
+
};
|
|
6353
|
+
var defaultProps31 = {
|
|
6354
|
+
size: Size.medium,
|
|
6355
|
+
adaptive: false,
|
|
6356
|
+
itemsPerPage: true,
|
|
6357
|
+
type: "numeric",
|
|
6358
|
+
pageSizes: true,
|
|
6359
|
+
refresh: true,
|
|
6360
|
+
info: true
|
|
6361
|
+
};
|
|
6362
|
+
var Pager = (props) => {
|
|
6363
|
+
const {
|
|
6364
|
+
size = defaultProps31.size,
|
|
6365
|
+
adaptive = defaultProps31.adaptive,
|
|
6366
|
+
itemsPerPage = defaultProps31.itemsPerPage,
|
|
6367
|
+
type = defaultProps31.type,
|
|
6368
|
+
pageSizes = defaultProps31.pageSizes,
|
|
6369
|
+
refresh = defaultProps31.refresh,
|
|
6370
|
+
info = defaultProps31.info,
|
|
6371
|
+
focus,
|
|
6372
|
+
disabled,
|
|
6373
|
+
dir,
|
|
6374
|
+
...other
|
|
6375
|
+
} = props;
|
|
6376
|
+
return /* @__PURE__ */ jsxs30(
|
|
6377
|
+
"div",
|
|
6378
|
+
{
|
|
6379
|
+
dir,
|
|
6380
|
+
...other,
|
|
6381
|
+
className: classNames(
|
|
6382
|
+
props.className,
|
|
6383
|
+
PAGER_CLASSNAME,
|
|
6384
|
+
optionClassNames(PAGER_CLASSNAME, {
|
|
6385
|
+
size
|
|
6386
|
+
}),
|
|
6387
|
+
stateClassNames(PAGER_CLASSNAME, {
|
|
6388
|
+
focus,
|
|
6389
|
+
disabled
|
|
6390
|
+
})
|
|
6391
|
+
),
|
|
6392
|
+
children: [
|
|
6393
|
+
/* @__PURE__ */ jsxs30(
|
|
6394
|
+
"div",
|
|
6395
|
+
{
|
|
6396
|
+
className: classNames(
|
|
6397
|
+
"k-pager-numbers-wrap"
|
|
6398
|
+
),
|
|
6399
|
+
children: [
|
|
6400
|
+
/* @__PURE__ */ jsx95(
|
|
6401
|
+
Button,
|
|
6402
|
+
{
|
|
6403
|
+
className: classNames(
|
|
6404
|
+
"k-pager-nav",
|
|
6405
|
+
"k-pager-first"
|
|
6406
|
+
),
|
|
6407
|
+
disabled: true,
|
|
6408
|
+
fillMode: "flat",
|
|
6409
|
+
size,
|
|
6410
|
+
rounded: null,
|
|
6411
|
+
icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
|
|
6412
|
+
}
|
|
6413
|
+
),
|
|
6414
|
+
/* @__PURE__ */ jsx95(
|
|
6415
|
+
Button,
|
|
6416
|
+
{
|
|
6417
|
+
className: classNames(
|
|
6418
|
+
"k-pager-nav"
|
|
6419
|
+
),
|
|
6420
|
+
disabled: true,
|
|
6421
|
+
fillMode: "flat",
|
|
6422
|
+
size,
|
|
6423
|
+
rounded: null,
|
|
6424
|
+
icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
|
|
6425
|
+
}
|
|
6426
|
+
),
|
|
6427
|
+
type === "numeric" && !adaptive && /* @__PURE__ */ jsxs30(
|
|
6428
|
+
"div",
|
|
6429
|
+
{
|
|
6430
|
+
className: classNames(
|
|
6431
|
+
"k-pager-numbers"
|
|
6432
|
+
),
|
|
6433
|
+
children: [
|
|
6434
|
+
/* @__PURE__ */ jsx95(
|
|
6435
|
+
Button,
|
|
6436
|
+
{
|
|
6437
|
+
selected: true,
|
|
6438
|
+
fillMode: "flat",
|
|
6439
|
+
themeColor: "primary",
|
|
6440
|
+
size,
|
|
6441
|
+
rounded: null,
|
|
6442
|
+
children: "1"
|
|
6443
|
+
}
|
|
6444
|
+
),
|
|
6445
|
+
/* @__PURE__ */ jsx95(
|
|
6446
|
+
Button,
|
|
6447
|
+
{
|
|
6448
|
+
fillMode: "flat",
|
|
6449
|
+
themeColor: "primary",
|
|
6450
|
+
size,
|
|
6451
|
+
rounded: null,
|
|
6452
|
+
children: "2"
|
|
6453
|
+
}
|
|
6454
|
+
),
|
|
6455
|
+
/* @__PURE__ */ jsx95(
|
|
6456
|
+
Button,
|
|
6457
|
+
{
|
|
6458
|
+
fillMode: "flat",
|
|
6459
|
+
themeColor: "primary",
|
|
6460
|
+
size,
|
|
6461
|
+
rounded: null,
|
|
6462
|
+
children: "3"
|
|
6463
|
+
}
|
|
6464
|
+
),
|
|
6465
|
+
/* @__PURE__ */ jsx95(
|
|
6466
|
+
Button,
|
|
6467
|
+
{
|
|
6468
|
+
fillMode: "flat",
|
|
6469
|
+
themeColor: "primary",
|
|
6470
|
+
size,
|
|
6471
|
+
rounded: null,
|
|
6472
|
+
children: "4"
|
|
6473
|
+
}
|
|
6474
|
+
),
|
|
6475
|
+
/* @__PURE__ */ jsx95(
|
|
6476
|
+
Button,
|
|
6477
|
+
{
|
|
6478
|
+
fillMode: "flat",
|
|
6479
|
+
themeColor: "primary",
|
|
6480
|
+
size,
|
|
6481
|
+
rounded: null,
|
|
6482
|
+
children: "5"
|
|
6483
|
+
}
|
|
6484
|
+
),
|
|
6485
|
+
/* @__PURE__ */ jsx95(
|
|
6486
|
+
Button,
|
|
6487
|
+
{
|
|
6488
|
+
fillMode: "flat",
|
|
6489
|
+
themeColor: "primary",
|
|
6490
|
+
size,
|
|
6491
|
+
rounded: null,
|
|
6492
|
+
children: "6"
|
|
6493
|
+
}
|
|
6494
|
+
)
|
|
6495
|
+
]
|
|
6496
|
+
}
|
|
6497
|
+
),
|
|
6498
|
+
type === "numeric" && /* @__PURE__ */ jsx95(
|
|
6499
|
+
"select",
|
|
6500
|
+
{
|
|
6501
|
+
className: classNames(
|
|
6502
|
+
"k-picker",
|
|
6503
|
+
"k-picker-solid",
|
|
6504
|
+
"k-dropdown-list",
|
|
6505
|
+
"k-dropdown",
|
|
6506
|
+
"k-rounded-md",
|
|
6507
|
+
optionClassNames("k-picker", {
|
|
6508
|
+
size
|
|
6509
|
+
}),
|
|
6510
|
+
{
|
|
6511
|
+
["k-hidden"]: !adaptive
|
|
6512
|
+
}
|
|
6513
|
+
),
|
|
6514
|
+
children: /* @__PURE__ */ jsx95("option", { children: "99" })
|
|
6515
|
+
}
|
|
6516
|
+
),
|
|
6517
|
+
type === "input" && /* @__PURE__ */ jsxs30(
|
|
6518
|
+
"span",
|
|
6519
|
+
{
|
|
6520
|
+
className: classNames(
|
|
6521
|
+
"k-pager-input"
|
|
6522
|
+
),
|
|
6523
|
+
children: [
|
|
6524
|
+
!adaptive && /* @__PURE__ */ jsx95("span", { children: "Page" }),
|
|
6525
|
+
/* @__PURE__ */ jsx95(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
|
|
6526
|
+
!adaptive && /* @__PURE__ */ jsx95("span", { children: "of 8" })
|
|
6527
|
+
]
|
|
6528
|
+
}
|
|
6529
|
+
),
|
|
6530
|
+
/* @__PURE__ */ jsx95(
|
|
6531
|
+
Button,
|
|
6532
|
+
{
|
|
6533
|
+
className: classNames(
|
|
6534
|
+
"k-pager-nav"
|
|
6535
|
+
),
|
|
6536
|
+
fillMode: "flat",
|
|
6537
|
+
size,
|
|
6538
|
+
rounded: null,
|
|
6539
|
+
icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
|
|
6540
|
+
}
|
|
6541
|
+
),
|
|
6542
|
+
/* @__PURE__ */ jsx95(
|
|
6543
|
+
Button,
|
|
6544
|
+
{
|
|
6545
|
+
className: classNames(
|
|
6546
|
+
"k-pager-nav",
|
|
6547
|
+
"k-pager-last"
|
|
6548
|
+
),
|
|
6549
|
+
fillMode: "flat",
|
|
6550
|
+
size,
|
|
6551
|
+
rounded: null,
|
|
6552
|
+
icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
|
|
6553
|
+
}
|
|
6554
|
+
)
|
|
6555
|
+
]
|
|
6556
|
+
}
|
|
6557
|
+
),
|
|
6558
|
+
pageSizes && /* @__PURE__ */ jsxs30(
|
|
6559
|
+
"span",
|
|
6560
|
+
{
|
|
6561
|
+
className: classNames(
|
|
6562
|
+
"k-pager-sizes"
|
|
6563
|
+
),
|
|
6564
|
+
children: [
|
|
6565
|
+
/* @__PURE__ */ jsx95(DropdownList, { value: "99", size }),
|
|
6566
|
+
itemsPerPage && /* @__PURE__ */ jsx95("span", { children: "items per page" })
|
|
6567
|
+
]
|
|
6568
|
+
}
|
|
6569
|
+
),
|
|
6570
|
+
refresh && /* @__PURE__ */ jsx95(
|
|
6571
|
+
Button,
|
|
6572
|
+
{
|
|
6573
|
+
className: classNames(
|
|
6574
|
+
"k-pager-refresh"
|
|
6575
|
+
),
|
|
6576
|
+
fillMode: "flat",
|
|
6577
|
+
size,
|
|
6578
|
+
rounded: null,
|
|
6579
|
+
icon: "arrow-rotate-cw"
|
|
6580
|
+
}
|
|
6581
|
+
),
|
|
6582
|
+
info && /* @__PURE__ */ jsx95(
|
|
6583
|
+
"span",
|
|
6584
|
+
{
|
|
6585
|
+
className: classNames(
|
|
6586
|
+
"k-pager-info"
|
|
6587
|
+
),
|
|
6588
|
+
children: "1 - 20 of 91 items"
|
|
6589
|
+
}
|
|
6590
|
+
)
|
|
6591
|
+
]
|
|
6592
|
+
}
|
|
6593
|
+
);
|
|
6594
|
+
};
|
|
6595
|
+
Pager.states = states33;
|
|
6596
|
+
Pager.options = options29;
|
|
6597
|
+
Pager.className = PAGER_CLASSNAME;
|
|
6598
|
+
Pager.defaultProps = defaultProps31;
|
|
6599
|
+
|
|
6600
|
+
// src/pager/templates/pager-normal.tsx
|
|
6601
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6602
|
+
|
|
6603
|
+
// src/pager/templates/pager-input.tsx
|
|
6604
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
6605
|
+
|
|
6606
|
+
// src/pager/templates/pager-adaptive.tsx
|
|
6607
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
6608
|
+
|
|
6609
|
+
// src/pager/templates/pager-adaptive-input.tsx
|
|
6610
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
6611
|
+
|
|
6612
|
+
// src/grid/grid-pager.spec.tsx
|
|
6613
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
6614
|
+
|
|
6615
|
+
// src/button-group/button-group.spec.tsx
|
|
6616
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
6617
|
+
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
6618
|
+
var states34 = [
|
|
6619
|
+
States.disabled
|
|
6620
|
+
];
|
|
6621
|
+
var options30 = {
|
|
6622
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
6623
|
+
};
|
|
6624
|
+
var defaultProps32 = {
|
|
6625
|
+
fillMode: FillMode.solid
|
|
6626
|
+
};
|
|
6627
|
+
var ButtonGroup = (props) => {
|
|
6628
|
+
const {
|
|
6629
|
+
fillMode = defaultProps32.fillMode,
|
|
6630
|
+
disabled,
|
|
6631
|
+
stretched,
|
|
6632
|
+
...other
|
|
6633
|
+
} = props;
|
|
6634
|
+
return /* @__PURE__ */ jsx101(
|
|
6635
|
+
"div",
|
|
6636
|
+
{
|
|
6637
|
+
...other,
|
|
6638
|
+
className: classNames(
|
|
6639
|
+
props.className,
|
|
6640
|
+
BUTTONGROUP_CLASSNAME,
|
|
6641
|
+
optionClassNames(BUTTONGROUP_CLASSNAME, {
|
|
6642
|
+
fillMode
|
|
6643
|
+
}),
|
|
6644
|
+
stateClassNames(BUTTONGROUP_CLASSNAME, {
|
|
6645
|
+
disabled
|
|
6646
|
+
}),
|
|
6647
|
+
{
|
|
6648
|
+
[`${BUTTONGROUP_CLASSNAME}-stretched`]: stretched
|
|
6649
|
+
}
|
|
6650
|
+
),
|
|
6651
|
+
children: props.children
|
|
6652
|
+
}
|
|
6653
|
+
);
|
|
6654
|
+
};
|
|
6655
|
+
ButtonGroup.states = states34;
|
|
6656
|
+
ButtonGroup.options = options30;
|
|
6657
|
+
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
6658
|
+
ButtonGroup.defaultProps = defaultProps32;
|
|
6659
|
+
|
|
6660
|
+
// src/button-group/templates/icon-button-group.tsx
|
|
6661
|
+
import { jsx as jsx102, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6662
|
+
|
|
6663
|
+
// src/button-group/templates/icon-text-button-group.tsx
|
|
6664
|
+
import { jsx as jsx103, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6665
|
+
|
|
6666
|
+
// src/button-group/templates/text-button-group.tsx
|
|
6667
|
+
import { jsx as jsx104, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6668
|
+
|
|
6669
|
+
// src/button-group/templates/mixed-button-group.tsx
|
|
6670
|
+
import { jsx as jsx105, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6671
|
+
|
|
6672
|
+
// src/color-preview/color-preview.tsx
|
|
6673
|
+
import { jsx as jsx106, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6674
|
+
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
6675
|
+
var states35 = [];
|
|
6676
|
+
var options31 = {};
|
|
6677
|
+
var ColorPreview = (props) => {
|
|
6678
|
+
const {
|
|
6679
|
+
color,
|
|
6680
|
+
iconName,
|
|
6681
|
+
...other
|
|
6682
|
+
} = props;
|
|
6683
|
+
return /* @__PURE__ */ jsxs35(
|
|
6684
|
+
"span",
|
|
6685
|
+
{
|
|
6686
|
+
...other,
|
|
6687
|
+
className: classNames(
|
|
6688
|
+
props.className,
|
|
6689
|
+
COLORPREVIEW_CLASSNAME,
|
|
6690
|
+
{
|
|
6691
|
+
"k-icon-color-preview": iconName,
|
|
6692
|
+
"k-no-color": !color
|
|
6693
|
+
}
|
|
6694
|
+
),
|
|
6695
|
+
children: [
|
|
6696
|
+
iconName && /* @__PURE__ */ jsx106(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
6697
|
+
/* @__PURE__ */ jsx106(
|
|
6698
|
+
"span",
|
|
6699
|
+
{
|
|
6700
|
+
className: "k-color-preview-mask",
|
|
6701
|
+
style: { backgroundColor: color }
|
|
6702
|
+
}
|
|
6703
|
+
)
|
|
6704
|
+
]
|
|
6705
|
+
}
|
|
6706
|
+
);
|
|
6707
|
+
};
|
|
6708
|
+
ColorPreview.states = states35;
|
|
6709
|
+
ColorPreview.options = options31;
|
|
6710
|
+
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
6711
|
+
|
|
6712
|
+
// src/colorpicker/colorpicker.spec.tsx
|
|
6713
|
+
import { Fragment as Fragment22, jsx as jsx107, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6714
|
+
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
6715
|
+
var states36 = [
|
|
6716
|
+
States.hover,
|
|
6717
|
+
States.focus,
|
|
6718
|
+
States.valid,
|
|
6719
|
+
States.invalid,
|
|
6720
|
+
States.required,
|
|
6721
|
+
States.disabled
|
|
6722
|
+
];
|
|
6723
|
+
var options32 = {
|
|
6724
|
+
size: [Size.small, Size.medium, Size.large],
|
|
6725
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6726
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6727
|
+
};
|
|
6728
|
+
var defaultProps33 = {
|
|
6729
|
+
arrowIconName: "caret-alt-down",
|
|
6730
|
+
size: Picker.defaultProps.size,
|
|
6731
|
+
rounded: Picker.defaultProps.rounded,
|
|
6732
|
+
fillMode: Picker.defaultProps.fillMode
|
|
6733
|
+
};
|
|
6734
|
+
var ColorPicker = (props) => {
|
|
6735
|
+
const {
|
|
6736
|
+
prefix,
|
|
6737
|
+
suffix,
|
|
6738
|
+
value,
|
|
6739
|
+
placeholder,
|
|
6740
|
+
size,
|
|
6741
|
+
rounded,
|
|
6742
|
+
fillMode,
|
|
6743
|
+
hover,
|
|
6744
|
+
focus,
|
|
6745
|
+
valid,
|
|
6746
|
+
invalid,
|
|
6747
|
+
required,
|
|
6748
|
+
disabled,
|
|
6749
|
+
valueIconName,
|
|
6750
|
+
arrowIconName = defaultProps33.arrowIconName,
|
|
6751
|
+
popup,
|
|
6752
|
+
opened,
|
|
6753
|
+
...other
|
|
6754
|
+
} = props;
|
|
6755
|
+
return /* @__PURE__ */ jsxs36(Fragment22, { children: [
|
|
6756
|
+
/* @__PURE__ */ jsxs36(
|
|
6757
|
+
Picker,
|
|
6758
|
+
{
|
|
6759
|
+
...other,
|
|
6760
|
+
size,
|
|
6761
|
+
rounded,
|
|
6762
|
+
fillMode,
|
|
6763
|
+
hover,
|
|
6764
|
+
focus,
|
|
6765
|
+
valid,
|
|
6766
|
+
invalid,
|
|
6767
|
+
required,
|
|
6768
|
+
disabled,
|
|
6769
|
+
className: classNames(
|
|
6770
|
+
props.className,
|
|
6771
|
+
COLORPICKER_CLASSNAME,
|
|
6772
|
+
"k-icon-picker"
|
|
6773
|
+
),
|
|
6774
|
+
children: [
|
|
6775
|
+
/* @__PURE__ */ jsx107(InputPrefix, { children: prefix }),
|
|
6776
|
+
/* @__PURE__ */ jsx107(
|
|
6777
|
+
InputInnerSpan,
|
|
6778
|
+
{
|
|
6779
|
+
placeholder,
|
|
6780
|
+
value,
|
|
6781
|
+
showValue: false,
|
|
6782
|
+
valueIcon: /* @__PURE__ */ jsx107(
|
|
6783
|
+
ColorPreview,
|
|
6784
|
+
{
|
|
6785
|
+
className: "k-value-icon",
|
|
6786
|
+
color: value,
|
|
6787
|
+
iconName: valueIconName
|
|
6788
|
+
}
|
|
6789
|
+
),
|
|
6790
|
+
valueIconName
|
|
6791
|
+
}
|
|
6792
|
+
),
|
|
6793
|
+
/* @__PURE__ */ jsx107(InputSuffix, { children: suffix }),
|
|
6794
|
+
/* @__PURE__ */ jsx107(
|
|
6795
|
+
Button,
|
|
6796
|
+
{
|
|
6797
|
+
className: "k-input-button",
|
|
6798
|
+
icon: arrowIconName,
|
|
6799
|
+
rounded: null,
|
|
6800
|
+
size,
|
|
6801
|
+
fillMode
|
|
6802
|
+
}
|
|
6803
|
+
)
|
|
6804
|
+
]
|
|
6805
|
+
}
|
|
6806
|
+
),
|
|
6807
|
+
opened && popup && /* @__PURE__ */ jsx107(Popup, { className: "k-color-picker-popup", children: popup })
|
|
6808
|
+
] });
|
|
6809
|
+
};
|
|
6810
|
+
ColorPicker.states = states36;
|
|
6811
|
+
ColorPicker.options = options32;
|
|
6812
|
+
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
6813
|
+
ColorPicker.defaultProps = defaultProps33;
|
|
6814
|
+
|
|
6815
|
+
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
6816
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
6817
|
+
|
|
6818
|
+
// src/action-buttons/action-buttons.spec.tsx
|
|
6819
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
6820
|
+
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
6821
|
+
var states37 = [];
|
|
6822
|
+
var options33 = {};
|
|
6823
|
+
var defaultProps34 = {
|
|
6824
|
+
alignment: "start",
|
|
6825
|
+
orientation: "horizontal"
|
|
6826
|
+
};
|
|
6827
|
+
var ActionButtons = (props) => {
|
|
6828
|
+
const {
|
|
6829
|
+
alignment = defaultProps34.alignment,
|
|
6830
|
+
orientation = defaultProps34.orientation,
|
|
6831
|
+
...other
|
|
6832
|
+
} = props;
|
|
6833
|
+
return /* @__PURE__ */ jsx109(
|
|
6834
|
+
"div",
|
|
6835
|
+
{
|
|
6836
|
+
...other,
|
|
6837
|
+
className: classNames(
|
|
6838
|
+
ACTIONBUTTONS_CLASSNAME,
|
|
6839
|
+
{
|
|
6840
|
+
[`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
|
|
6841
|
+
[`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
|
|
6842
|
+
},
|
|
6843
|
+
props.className
|
|
6844
|
+
),
|
|
6845
|
+
children: props.children
|
|
6846
|
+
}
|
|
6847
|
+
);
|
|
6848
|
+
};
|
|
6849
|
+
ActionButtons.states = states37;
|
|
6850
|
+
ActionButtons.options = options33;
|
|
6851
|
+
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
6852
|
+
ActionButtons.defaultProps = defaultProps34;
|
|
6853
|
+
var action_buttons_spec_default = ActionButtons;
|
|
6180
6854
|
|
|
6181
|
-
// src/
|
|
6182
|
-
import { jsx as
|
|
6183
|
-
var
|
|
6184
|
-
var
|
|
6855
|
+
// src/slider/slider.spec.tsx
|
|
6856
|
+
import { jsx as jsx110, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6857
|
+
var SLIDER_CLASSNAME = "k-slider";
|
|
6858
|
+
var states38 = [
|
|
6185
6859
|
States.hover,
|
|
6186
6860
|
States.focus,
|
|
6187
|
-
States.
|
|
6188
|
-
States.invalid,
|
|
6189
|
-
States.required,
|
|
6861
|
+
States.active,
|
|
6190
6862
|
States.disabled,
|
|
6191
|
-
States.
|
|
6863
|
+
States.readonly
|
|
6192
6864
|
];
|
|
6193
|
-
var
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
rounded: Input.defaultProps.rounded,
|
|
6203
|
-
fillMode: Input.defaultProps.fillMode
|
|
6865
|
+
var options34 = {};
|
|
6866
|
+
var defaultProps35 = {
|
|
6867
|
+
type: "single",
|
|
6868
|
+
orientation: "horizontal",
|
|
6869
|
+
readonly: false,
|
|
6870
|
+
disabled: false,
|
|
6871
|
+
handlePosition: "end",
|
|
6872
|
+
showButtons: true,
|
|
6873
|
+
showTicks: true
|
|
6204
6874
|
};
|
|
6205
|
-
var
|
|
6875
|
+
var Slider = (props) => {
|
|
6206
6876
|
const {
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6877
|
+
type = defaultProps35.type,
|
|
6878
|
+
orientation = defaultProps35.orientation,
|
|
6879
|
+
readonly = defaultProps35.readonly,
|
|
6880
|
+
disabled = defaultProps35.disabled,
|
|
6881
|
+
handlePosition = defaultProps35.handlePosition,
|
|
6882
|
+
showButtons = defaultProps35.showButtons,
|
|
6883
|
+
showTicks = defaultProps35.showTicks,
|
|
6212
6884
|
hover,
|
|
6213
6885
|
focus,
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
loading,
|
|
6218
|
-
disabled,
|
|
6219
|
-
showIcon = defaultProps30.showIcon,
|
|
6220
|
-
icon = defaultProps30.icon,
|
|
6221
|
-
...other
|
|
6886
|
+
active,
|
|
6887
|
+
trackStyle,
|
|
6888
|
+
dir
|
|
6222
6889
|
} = props;
|
|
6223
|
-
|
|
6224
|
-
|
|
6890
|
+
let iconIncrease;
|
|
6891
|
+
let iconDecrease;
|
|
6892
|
+
if (orientation === "horizontal") {
|
|
6893
|
+
iconIncrease = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
6894
|
+
iconDecrease = dir === "rtl" ? "caret-alt-right" : "caret-alt-left";
|
|
6895
|
+
} else if (orientation === "vertical") {
|
|
6896
|
+
iconIncrease = "caret-alt-up";
|
|
6897
|
+
iconDecrease = "caret-alt-down";
|
|
6898
|
+
}
|
|
6899
|
+
return /* @__PURE__ */ jsxs37("div", { className: classNames(
|
|
6900
|
+
SLIDER_CLASSNAME,
|
|
6901
|
+
props.className,
|
|
6902
|
+
stateClassNames(SLIDER_CLASSNAME, {
|
|
6903
|
+
readonly,
|
|
6904
|
+
disabled
|
|
6905
|
+
}),
|
|
6225
6906
|
{
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
fillMode,
|
|
6230
|
-
hover,
|
|
6231
|
-
focus,
|
|
6232
|
-
valid,
|
|
6233
|
-
invalid,
|
|
6234
|
-
required,
|
|
6235
|
-
loading,
|
|
6236
|
-
disabled,
|
|
6237
|
-
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6238
|
-
children: [
|
|
6239
|
-
showIcon && /* @__PURE__ */ jsx72(Icon, { className: "k-input-icon", icon }),
|
|
6240
|
-
/* @__PURE__ */ jsx72(InputInnerInput, { placeholder, value }),
|
|
6241
|
-
/* @__PURE__ */ jsx72(InputLoadingIcon, { ...props }),
|
|
6242
|
-
/* @__PURE__ */ jsx72(InputValidationIcon, { ...props }),
|
|
6243
|
-
/* @__PURE__ */ jsx72(InputClearValue, { ...props })
|
|
6244
|
-
]
|
|
6907
|
+
[`k-slider-${orientation}`]: orientation,
|
|
6908
|
+
"k-colorgradient-slider": type === "gradient",
|
|
6909
|
+
"k-range-slider": type === "range"
|
|
6245
6910
|
}
|
|
6246
|
-
)
|
|
6911
|
+
), dir, children: [
|
|
6912
|
+
showButtons && /* @__PURE__ */ jsx110(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
6913
|
+
/* @__PURE__ */ jsxs37("div", { className: "k-slider-track-wrap", children: [
|
|
6914
|
+
showTicks && /* @__PURE__ */ jsx110("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
6915
|
+
/* @__PURE__ */ jsxs37("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
6916
|
+
/* @__PURE__ */ jsx110("div", { className: "k-slider-selection" }),
|
|
6917
|
+
type === "range" && /* @__PURE__ */ jsx110("span", { className: classNames(
|
|
6918
|
+
"k-draghandle",
|
|
6919
|
+
"k-draghandle-start",
|
|
6920
|
+
stateClassNames(SLIDER_CLASSNAME, {
|
|
6921
|
+
hover,
|
|
6922
|
+
focus,
|
|
6923
|
+
active
|
|
6924
|
+
})
|
|
6925
|
+
) }),
|
|
6926
|
+
/* @__PURE__ */ jsx110("span", { className: classNames(
|
|
6927
|
+
"k-draghandle",
|
|
6928
|
+
`k-draghandle-${handlePosition}`,
|
|
6929
|
+
stateClassNames(SLIDER_CLASSNAME, {
|
|
6930
|
+
hover,
|
|
6931
|
+
focus,
|
|
6932
|
+
active
|
|
6933
|
+
})
|
|
6934
|
+
) })
|
|
6935
|
+
] })
|
|
6936
|
+
] }),
|
|
6937
|
+
showButtons && /* @__PURE__ */ jsx110(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6938
|
+
] });
|
|
6247
6939
|
};
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6940
|
+
Slider.states = states38;
|
|
6941
|
+
Slider.options = options34;
|
|
6942
|
+
Slider.className = SLIDER_CLASSNAME;
|
|
6943
|
+
Slider.defaultProps = defaultProps35;
|
|
6252
6944
|
|
|
6253
|
-
// src/
|
|
6254
|
-
import { jsx as
|
|
6945
|
+
// src/slider/slider-tick.tsx
|
|
6946
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
6947
|
+
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6948
|
+
var states39 = [];
|
|
6949
|
+
var options35 = {};
|
|
6950
|
+
var defaultProps36 = {
|
|
6951
|
+
label: false
|
|
6952
|
+
};
|
|
6953
|
+
var SliderTick = (props) => {
|
|
6954
|
+
const {
|
|
6955
|
+
style,
|
|
6956
|
+
label = defaultProps36.label,
|
|
6957
|
+
orientation,
|
|
6958
|
+
large,
|
|
6959
|
+
text
|
|
6960
|
+
} = props;
|
|
6961
|
+
return /* @__PURE__ */ jsx111("li", { className: classNames(
|
|
6962
|
+
props.className,
|
|
6963
|
+
SLIDER_TICK_CLASSNAME,
|
|
6964
|
+
{
|
|
6965
|
+
[`k-tick-${orientation}`]: orientation,
|
|
6966
|
+
"k-tick-large": large
|
|
6967
|
+
}
|
|
6968
|
+
), style, children: label && /* @__PURE__ */ jsx111("span", { className: "k-label", children: text }) });
|
|
6969
|
+
};
|
|
6970
|
+
SliderTick.states = states39;
|
|
6971
|
+
SliderTick.options = options35;
|
|
6972
|
+
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
6973
|
+
SliderTick.defaultProps = defaultProps36;
|
|
6255
6974
|
|
|
6256
|
-
// src/
|
|
6257
|
-
import { Fragment as
|
|
6975
|
+
// src/slider/templates/slider-normal.tsx
|
|
6976
|
+
import { Fragment as Fragment23, jsx as jsx112, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6258
6977
|
|
|
6259
|
-
// src/
|
|
6260
|
-
import { jsx as
|
|
6978
|
+
// src/slider/templates/slider-vertical.tsx
|
|
6979
|
+
import { Fragment as Fragment24, jsx as jsx113, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6261
6980
|
|
|
6262
|
-
// src/
|
|
6263
|
-
import { Fragment as
|
|
6981
|
+
// src/slider/templates/slider-range.tsx
|
|
6982
|
+
import { Fragment as Fragment25, jsx as jsx114, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6264
6983
|
|
|
6265
|
-
// src/
|
|
6266
|
-
import { Fragment as
|
|
6984
|
+
// src/slider/templates/slider-range-vertical.tsx
|
|
6985
|
+
import { Fragment as Fragment26, jsx as jsx115, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6267
6986
|
|
|
6268
|
-
// src/
|
|
6269
|
-
import { Fragment as
|
|
6987
|
+
// src/slider/templates/slider-gradient.tsx
|
|
6988
|
+
import { Fragment as Fragment27, jsx as jsx116, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6989
|
+
|
|
6990
|
+
// src/slider/templates/slider-gradient-vertical.tsx
|
|
6991
|
+
import { Fragment as Fragment28, jsx as jsx117, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6992
|
+
var SliderGradientVertical = (props) => /* @__PURE__ */ jsx117(
|
|
6993
|
+
Slider,
|
|
6994
|
+
{
|
|
6995
|
+
type: "gradient",
|
|
6996
|
+
orientation: "vertical",
|
|
6997
|
+
showButtons: false,
|
|
6998
|
+
showTicks: false,
|
|
6999
|
+
children: /* @__PURE__ */ jsxs43(Fragment28, { children: [
|
|
7000
|
+
/* @__PURE__ */ jsx117(SliderTick, { label: true, large: true, text: "0" }),
|
|
7001
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7002
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7003
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7004
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7005
|
+
/* @__PURE__ */ jsx117(SliderTick, { label: true, large: true, text: "5" }),
|
|
7006
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7007
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7008
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7009
|
+
/* @__PURE__ */ jsx117(SliderTick, {}),
|
|
7010
|
+
/* @__PURE__ */ jsx117(SliderTick, { label: true, large: true, text: "10" })
|
|
7011
|
+
] }),
|
|
7012
|
+
...props
|
|
7013
|
+
}
|
|
7014
|
+
);
|
|
6270
7015
|
|
|
6271
7016
|
// src/colorgradient/color-input.tsx
|
|
6272
|
-
import { Fragment as Fragment29, jsx as
|
|
7017
|
+
import { Fragment as Fragment29, jsx as jsx118, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6273
7018
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6274
|
-
var
|
|
6275
|
-
var
|
|
6276
|
-
var
|
|
7019
|
+
var states40 = [];
|
|
7020
|
+
var options36 = {};
|
|
7021
|
+
var defaultProps37 = {
|
|
6277
7022
|
mode: "rgba"
|
|
6278
7023
|
};
|
|
6279
7024
|
var ColorInput = (props) => {
|
|
6280
7025
|
const {
|
|
6281
|
-
mode =
|
|
7026
|
+
mode = defaultProps37.mode
|
|
6282
7027
|
} = props;
|
|
6283
|
-
return /* @__PURE__ */
|
|
6284
|
-
/* @__PURE__ */
|
|
6285
|
-
mode === "rgba" && /* @__PURE__ */
|
|
6286
|
-
/* @__PURE__ */
|
|
6287
|
-
/* @__PURE__ */
|
|
6288
|
-
/* @__PURE__ */
|
|
7028
|
+
return /* @__PURE__ */ jsxs44("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
7029
|
+
/* @__PURE__ */ jsx118("div", { className: "k-vstack", children: /* @__PURE__ */ jsx118(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
7030
|
+
mode === "rgba" && /* @__PURE__ */ jsxs44(Fragment29, { children: [
|
|
7031
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7032
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7033
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6289
7034
|
] }),
|
|
6290
|
-
/* @__PURE__ */
|
|
6291
|
-
/* @__PURE__ */
|
|
6292
|
-
/* @__PURE__ */
|
|
7035
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7036
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7037
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6293
7038
|
] }),
|
|
6294
|
-
/* @__PURE__ */
|
|
6295
|
-
/* @__PURE__ */
|
|
6296
|
-
/* @__PURE__ */
|
|
7039
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7040
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7041
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6297
7042
|
] }),
|
|
6298
|
-
/* @__PURE__ */
|
|
6299
|
-
/* @__PURE__ */
|
|
6300
|
-
/* @__PURE__ */
|
|
7043
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7044
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
7045
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6301
7046
|
] })
|
|
6302
7047
|
] }),
|
|
6303
|
-
mode === "rgb" && /* @__PURE__ */
|
|
6304
|
-
/* @__PURE__ */
|
|
6305
|
-
/* @__PURE__ */
|
|
6306
|
-
/* @__PURE__ */
|
|
7048
|
+
mode === "rgb" && /* @__PURE__ */ jsxs44(Fragment29, { children: [
|
|
7049
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7050
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7051
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6307
7052
|
] }),
|
|
6308
|
-
/* @__PURE__ */
|
|
6309
|
-
/* @__PURE__ */
|
|
6310
|
-
/* @__PURE__ */
|
|
7053
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7054
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7055
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6311
7056
|
] }),
|
|
6312
|
-
/* @__PURE__ */
|
|
6313
|
-
/* @__PURE__ */
|
|
6314
|
-
/* @__PURE__ */
|
|
7057
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7058
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7059
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6315
7060
|
] })
|
|
6316
7061
|
] }),
|
|
6317
|
-
mode === "hsva" && /* @__PURE__ */
|
|
6318
|
-
/* @__PURE__ */
|
|
6319
|
-
/* @__PURE__ */
|
|
6320
|
-
/* @__PURE__ */
|
|
7062
|
+
mode === "hsva" && /* @__PURE__ */ jsxs44(Fragment29, { children: [
|
|
7063
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7064
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7065
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6321
7066
|
] }),
|
|
6322
|
-
/* @__PURE__ */
|
|
6323
|
-
/* @__PURE__ */
|
|
6324
|
-
/* @__PURE__ */
|
|
7067
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7068
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7069
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6325
7070
|
] }),
|
|
6326
|
-
/* @__PURE__ */
|
|
6327
|
-
/* @__PURE__ */
|
|
6328
|
-
/* @__PURE__ */
|
|
7071
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7072
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7073
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6329
7074
|
] }),
|
|
6330
|
-
/* @__PURE__ */
|
|
6331
|
-
/* @__PURE__ */
|
|
6332
|
-
/* @__PURE__ */
|
|
7075
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7076
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
7077
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6333
7078
|
] })
|
|
6334
7079
|
] }),
|
|
6335
|
-
mode === "hsv" && /* @__PURE__ */
|
|
6336
|
-
/* @__PURE__ */
|
|
6337
|
-
/* @__PURE__ */
|
|
6338
|
-
/* @__PURE__ */
|
|
7080
|
+
mode === "hsv" && /* @__PURE__ */ jsxs44(Fragment29, { children: [
|
|
7081
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7082
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7083
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6339
7084
|
] }),
|
|
6340
|
-
/* @__PURE__ */
|
|
6341
|
-
/* @__PURE__ */
|
|
6342
|
-
/* @__PURE__ */
|
|
7085
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7086
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7087
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6343
7088
|
] }),
|
|
6344
|
-
/* @__PURE__ */
|
|
6345
|
-
/* @__PURE__ */
|
|
6346
|
-
/* @__PURE__ */
|
|
7089
|
+
/* @__PURE__ */ jsxs44("div", { className: "k-vstack", children: [
|
|
7090
|
+
/* @__PURE__ */ jsx118(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7091
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6347
7092
|
] })
|
|
6348
7093
|
] }),
|
|
6349
|
-
mode === "hex" && /* @__PURE__ */
|
|
6350
|
-
/* @__PURE__ */
|
|
6351
|
-
/* @__PURE__ */
|
|
7094
|
+
mode === "hex" && /* @__PURE__ */ jsx118(Fragment29, { children: /* @__PURE__ */ jsxs44("div", { className: "k-vstack k-flex-1", children: [
|
|
7095
|
+
/* @__PURE__ */ jsx118(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
7096
|
+
/* @__PURE__ */ jsx118("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6352
7097
|
] }) })
|
|
6353
7098
|
] });
|
|
6354
7099
|
};
|
|
6355
|
-
ColorInput.states =
|
|
6356
|
-
ColorInput.options =
|
|
7100
|
+
ColorInput.states = states40;
|
|
7101
|
+
ColorInput.options = options36;
|
|
6357
7102
|
ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
6358
|
-
ColorInput.defaultProps =
|
|
7103
|
+
ColorInput.defaultProps = defaultProps37;
|
|
6359
7104
|
|
|
6360
7105
|
// src/colorgradient/color-contrast.tsx
|
|
6361
|
-
import { jsx as
|
|
7106
|
+
import { jsx as jsx119, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6362
7107
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6363
|
-
var
|
|
6364
|
-
var
|
|
6365
|
-
var
|
|
6366
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
6367
|
-
/* @__PURE__ */
|
|
6368
|
-
/* @__PURE__ */
|
|
6369
|
-
/* @__PURE__ */
|
|
6370
|
-
/* @__PURE__ */
|
|
6371
|
-
/* @__PURE__ */
|
|
7108
|
+
var states41 = [];
|
|
7109
|
+
var options37 = {};
|
|
7110
|
+
var defaultProps38 = {};
|
|
7111
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs45("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
7112
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-contrast-ratio", children: [
|
|
7113
|
+
/* @__PURE__ */ jsx119("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
7114
|
+
/* @__PURE__ */ jsxs45("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
7115
|
+
/* @__PURE__ */ jsx119(Icon, { icon: "check" }),
|
|
7116
|
+
/* @__PURE__ */ jsx119(Icon, { icon: "check" })
|
|
6372
7117
|
] })
|
|
6373
7118
|
] }),
|
|
6374
|
-
/* @__PURE__ */
|
|
6375
|
-
/* @__PURE__ */
|
|
6376
|
-
/* @__PURE__ */
|
|
7119
|
+
/* @__PURE__ */ jsxs45("div", { children: [
|
|
7120
|
+
/* @__PURE__ */ jsx119("span", { children: "AA: 4.5" }),
|
|
7121
|
+
/* @__PURE__ */ jsxs45("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6377
7122
|
"Pass",
|
|
6378
|
-
/* @__PURE__ */
|
|
7123
|
+
/* @__PURE__ */ jsx119(Icon, { icon: "check" })
|
|
6379
7124
|
] })
|
|
6380
7125
|
] }),
|
|
6381
|
-
/* @__PURE__ */
|
|
6382
|
-
/* @__PURE__ */
|
|
6383
|
-
/* @__PURE__ */
|
|
7126
|
+
/* @__PURE__ */ jsxs45("div", { children: [
|
|
7127
|
+
/* @__PURE__ */ jsx119("span", { children: "AAA: 7.0" }),
|
|
7128
|
+
/* @__PURE__ */ jsxs45("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6384
7129
|
"Fail",
|
|
6385
|
-
/* @__PURE__ */
|
|
7130
|
+
/* @__PURE__ */ jsx119(Icon, { icon: "x" })
|
|
6386
7131
|
] })
|
|
6387
7132
|
] })
|
|
6388
7133
|
] });
|
|
6389
|
-
ColorContrast.states =
|
|
6390
|
-
ColorContrast.options =
|
|
7134
|
+
ColorContrast.states = states41;
|
|
7135
|
+
ColorContrast.options = options37;
|
|
6391
7136
|
ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
6392
|
-
ColorContrast.defaultProps =
|
|
7137
|
+
ColorContrast.defaultProps = defaultProps38;
|
|
6393
7138
|
|
|
6394
7139
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6395
|
-
import { jsx as
|
|
7140
|
+
import { jsx as jsx120, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6396
7141
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6397
|
-
var
|
|
7142
|
+
var states42 = [
|
|
6398
7143
|
States.hover,
|
|
6399
7144
|
States.focus,
|
|
6400
7145
|
States.readonly,
|
|
6401
7146
|
States.disabled
|
|
6402
7147
|
];
|
|
6403
|
-
var
|
|
6404
|
-
var
|
|
7148
|
+
var options38 = {};
|
|
7149
|
+
var defaultProps39 = {
|
|
6405
7150
|
mode: "rgba",
|
|
6406
7151
|
readonly: false,
|
|
6407
7152
|
disabled: false,
|
|
@@ -6412,20 +7157,20 @@ var defaultProps33 = {
|
|
|
6412
7157
|
};
|
|
6413
7158
|
var ColorGradient = (props) => {
|
|
6414
7159
|
const {
|
|
6415
|
-
mode =
|
|
6416
|
-
readonly =
|
|
6417
|
-
disabled =
|
|
7160
|
+
mode = defaultProps39.mode,
|
|
7161
|
+
readonly = defaultProps39.readonly,
|
|
7162
|
+
disabled = defaultProps39.disabled,
|
|
6418
7163
|
dir,
|
|
6419
|
-
contrast =
|
|
7164
|
+
contrast = defaultProps39.contrast,
|
|
6420
7165
|
hover,
|
|
6421
7166
|
focus,
|
|
6422
7167
|
hoverHandle,
|
|
6423
7168
|
focusHandle,
|
|
6424
|
-
gradientStyle =
|
|
6425
|
-
dragHandleStyle =
|
|
6426
|
-
alphaStyle =
|
|
7169
|
+
gradientStyle = defaultProps39.gradientStyle,
|
|
7170
|
+
dragHandleStyle = defaultProps39.dragHandleStyle,
|
|
7171
|
+
alphaStyle = defaultProps39.alphaStyle
|
|
6427
7172
|
} = props;
|
|
6428
|
-
return /* @__PURE__ */
|
|
7173
|
+
return /* @__PURE__ */ jsxs46("div", { className: classNames(
|
|
6429
7174
|
props.className,
|
|
6430
7175
|
COLOR_GRADIENT_CLASSNAME,
|
|
6431
7176
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6435,8 +7180,8 @@ var ColorGradient = (props) => {
|
|
|
6435
7180
|
disabled
|
|
6436
7181
|
})
|
|
6437
7182
|
), dir, children: [
|
|
6438
|
-
/* @__PURE__ */
|
|
6439
|
-
/* @__PURE__ */
|
|
7183
|
+
/* @__PURE__ */ jsxs46("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
7184
|
+
/* @__PURE__ */ jsx120("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx120("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx120("div", { className: classNames(
|
|
6440
7185
|
"k-hsv-draghandle",
|
|
6441
7186
|
"k-draghandle",
|
|
6442
7187
|
{
|
|
@@ -6444,39 +7189,39 @@ var ColorGradient = (props) => {
|
|
|
6444
7189
|
"k-focus": focusHandle
|
|
6445
7190
|
}
|
|
6446
7191
|
), style: dragHandleStyle }) }) }),
|
|
6447
|
-
/* @__PURE__ */
|
|
6448
|
-
/* @__PURE__ */
|
|
6449
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
7192
|
+
/* @__PURE__ */ jsxs46("div", { className: "k-hsv-controls k-hstack", children: [
|
|
7193
|
+
/* @__PURE__ */ jsx120(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
7194
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx120(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6450
7195
|
] })
|
|
6451
7196
|
] }),
|
|
6452
|
-
/* @__PURE__ */
|
|
6453
|
-
contrast && /* @__PURE__ */
|
|
7197
|
+
/* @__PURE__ */ jsx120(ColorInput, { mode: props.mode }),
|
|
7198
|
+
contrast && /* @__PURE__ */ jsx120(ColorContrast, {})
|
|
6454
7199
|
] });
|
|
6455
7200
|
};
|
|
6456
|
-
ColorGradient.states =
|
|
6457
|
-
ColorGradient.options =
|
|
7201
|
+
ColorGradient.states = states42;
|
|
7202
|
+
ColorGradient.options = options38;
|
|
6458
7203
|
ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
6459
|
-
ColorGradient.defaultProps =
|
|
7204
|
+
ColorGradient.defaultProps = defaultProps39;
|
|
6460
7205
|
|
|
6461
7206
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6462
|
-
import { jsx as
|
|
7207
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
6463
7208
|
|
|
6464
7209
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6465
|
-
import { jsx as
|
|
7210
|
+
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
6466
7211
|
|
|
6467
7212
|
// src/colorpalette/colorpalette-row.tsx
|
|
6468
|
-
import { jsx as
|
|
6469
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
7213
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
7214
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx123("tr", { children: props.children });
|
|
6470
7215
|
|
|
6471
7216
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6472
|
-
import { jsx as
|
|
7217
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
6473
7218
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6474
|
-
var
|
|
7219
|
+
var states43 = [
|
|
6475
7220
|
States.hover,
|
|
6476
7221
|
States.focus,
|
|
6477
7222
|
States.selected
|
|
6478
7223
|
];
|
|
6479
|
-
var
|
|
7224
|
+
var options39 = {};
|
|
6480
7225
|
var ColorPaletteTile = (props) => {
|
|
6481
7226
|
const {
|
|
6482
7227
|
color,
|
|
@@ -6491,7 +7236,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6491
7236
|
"width": tileSize ? tileSize + "px" : "",
|
|
6492
7237
|
"height": tileSize ? tileSize + "px" : ""
|
|
6493
7238
|
};
|
|
6494
|
-
return /* @__PURE__ */
|
|
7239
|
+
return /* @__PURE__ */ jsx124(
|
|
6495
7240
|
"td",
|
|
6496
7241
|
{
|
|
6497
7242
|
...other,
|
|
@@ -6508,24 +7253,24 @@ var ColorPaletteTile = (props) => {
|
|
|
6508
7253
|
}
|
|
6509
7254
|
);
|
|
6510
7255
|
};
|
|
6511
|
-
ColorPaletteTile.states =
|
|
6512
|
-
ColorPaletteTile.options =
|
|
7256
|
+
ColorPaletteTile.states = states43;
|
|
7257
|
+
ColorPaletteTile.options = options39;
|
|
6513
7258
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6514
7259
|
|
|
6515
7260
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6516
|
-
import { jsx as
|
|
7261
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
6517
7262
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6518
|
-
var
|
|
7263
|
+
var states44 = [
|
|
6519
7264
|
States.disabled
|
|
6520
7265
|
];
|
|
6521
|
-
var
|
|
6522
|
-
var
|
|
7266
|
+
var options40 = {};
|
|
7267
|
+
var defaultProps40 = {
|
|
6523
7268
|
columns: 10
|
|
6524
7269
|
};
|
|
6525
7270
|
var ColorPalette = (props) => {
|
|
6526
7271
|
const {
|
|
6527
7272
|
palette,
|
|
6528
|
-
columns =
|
|
7273
|
+
columns = defaultProps40.columns,
|
|
6529
7274
|
tileSize,
|
|
6530
7275
|
disabled,
|
|
6531
7276
|
...other
|
|
@@ -6538,14 +7283,14 @@ var ColorPalette = (props) => {
|
|
|
6538
7283
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6539
7284
|
const items = [];
|
|
6540
7285
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6541
|
-
items.push(/* @__PURE__ */
|
|
7286
|
+
items.push(/* @__PURE__ */ jsx125(ColorPaletteTile, { color, tileSize }));
|
|
6542
7287
|
});
|
|
6543
|
-
const row = /* @__PURE__ */
|
|
7288
|
+
const row = /* @__PURE__ */ jsx125(ColorPaletteRow, { children: items });
|
|
6544
7289
|
newChildren.push(row);
|
|
6545
7290
|
});
|
|
6546
7291
|
}
|
|
6547
7292
|
}
|
|
6548
|
-
return /* @__PURE__ */
|
|
7293
|
+
return /* @__PURE__ */ jsx125(
|
|
6549
7294
|
"div",
|
|
6550
7295
|
{
|
|
6551
7296
|
...other,
|
|
@@ -6556,17 +7301,17 @@ var ColorPalette = (props) => {
|
|
|
6556
7301
|
disabled
|
|
6557
7302
|
})
|
|
6558
7303
|
),
|
|
6559
|
-
children: /* @__PURE__ */
|
|
7304
|
+
children: /* @__PURE__ */ jsx125("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6560
7305
|
}
|
|
6561
7306
|
);
|
|
6562
7307
|
};
|
|
6563
|
-
ColorPalette.states =
|
|
6564
|
-
ColorPalette.options =
|
|
7308
|
+
ColorPalette.states = states44;
|
|
7309
|
+
ColorPalette.options = options40;
|
|
6565
7310
|
ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
6566
|
-
ColorPalette.defaultProps =
|
|
7311
|
+
ColorPalette.defaultProps = defaultProps40;
|
|
6567
7312
|
|
|
6568
7313
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6569
|
-
import { jsx as
|
|
7314
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
6570
7315
|
|
|
6571
7316
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6572
7317
|
var PALETTEPRESETS = {
|
|
@@ -6621,84 +7366,84 @@ var PALETTEPRESETS = {
|
|
|
6621
7366
|
};
|
|
6622
7367
|
|
|
6623
7368
|
// src/coloreditor/color-editor.spec.tsx
|
|
6624
|
-
import { jsx as
|
|
7369
|
+
import { jsx as jsx127, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6625
7370
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6626
|
-
var
|
|
7371
|
+
var states45 = [
|
|
6627
7372
|
States.focus
|
|
6628
7373
|
];
|
|
6629
|
-
var
|
|
6630
|
-
var
|
|
7374
|
+
var options41 = {};
|
|
7375
|
+
var defaultProps41 = {
|
|
6631
7376
|
view: "gradient",
|
|
6632
7377
|
currentColor: "fuchsia",
|
|
6633
7378
|
palette: PALETTEPRESETS.office
|
|
6634
7379
|
};
|
|
6635
7380
|
var ColorEditor = (props) => {
|
|
6636
7381
|
const {
|
|
6637
|
-
view =
|
|
7382
|
+
view = defaultProps41.view,
|
|
6638
7383
|
color,
|
|
6639
|
-
currentColor =
|
|
7384
|
+
currentColor = defaultProps41.currentColor,
|
|
6640
7385
|
focus,
|
|
6641
7386
|
focusView,
|
|
6642
7387
|
dir,
|
|
6643
7388
|
group,
|
|
6644
|
-
palette =
|
|
7389
|
+
palette = defaultProps41.palette
|
|
6645
7390
|
} = props;
|
|
6646
|
-
return /* @__PURE__ */
|
|
7391
|
+
return /* @__PURE__ */ jsxs47("div", { className: classNames(
|
|
6647
7392
|
props.className,
|
|
6648
7393
|
"k-flatcolorpicker",
|
|
6649
7394
|
COLOREDITOR_CLASSNAME,
|
|
6650
7395
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6651
7396
|
), dir, children: [
|
|
6652
|
-
/* @__PURE__ */
|
|
6653
|
-
/* @__PURE__ */
|
|
6654
|
-
/* @__PURE__ */
|
|
6655
|
-
/* @__PURE__ */
|
|
7397
|
+
/* @__PURE__ */ jsxs47("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
7398
|
+
/* @__PURE__ */ jsx127("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs47(ButtonGroup, { children: [
|
|
7399
|
+
/* @__PURE__ */ jsx127(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
7400
|
+
/* @__PURE__ */ jsx127(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6656
7401
|
] }) }),
|
|
6657
|
-
/* @__PURE__ */
|
|
6658
|
-
/* @__PURE__ */
|
|
6659
|
-
/* @__PURE__ */
|
|
6660
|
-
/* @__PURE__ */
|
|
6661
|
-
/* @__PURE__ */
|
|
6662
|
-
/* @__PURE__ */
|
|
7402
|
+
/* @__PURE__ */ jsx127("div", { className: "k-spacer" }),
|
|
7403
|
+
/* @__PURE__ */ jsxs47("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
7404
|
+
/* @__PURE__ */ jsx127(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
7405
|
+
/* @__PURE__ */ jsxs47("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
7406
|
+
/* @__PURE__ */ jsx127(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
7407
|
+
/* @__PURE__ */ jsx127(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6663
7408
|
] })
|
|
6664
7409
|
] })
|
|
6665
7410
|
] }),
|
|
6666
|
-
/* @__PURE__ */
|
|
6667
|
-
/* @__PURE__ */
|
|
6668
|
-
/* @__PURE__ */
|
|
6669
|
-
/* @__PURE__ */
|
|
7411
|
+
/* @__PURE__ */ jsx127("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx127(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx127(ColorPalette, { palette }) }),
|
|
7412
|
+
/* @__PURE__ */ jsxs47(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
7413
|
+
/* @__PURE__ */ jsx127(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
7414
|
+
/* @__PURE__ */ jsx127(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6670
7415
|
] })
|
|
6671
7416
|
] });
|
|
6672
7417
|
};
|
|
6673
|
-
ColorEditor.states =
|
|
6674
|
-
ColorEditor.options =
|
|
7418
|
+
ColorEditor.states = states45;
|
|
7419
|
+
ColorEditor.options = options41;
|
|
6675
7420
|
ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
6676
|
-
ColorEditor.defaultProps =
|
|
7421
|
+
ColorEditor.defaultProps = defaultProps41;
|
|
6677
7422
|
|
|
6678
7423
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6679
|
-
import { jsx as
|
|
7424
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
6680
7425
|
|
|
6681
7426
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6682
|
-
import { jsx as
|
|
7427
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
6683
7428
|
|
|
6684
7429
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6685
|
-
import { jsx as
|
|
7430
|
+
import { jsx as jsx130 } from "react/jsx-runtime";
|
|
6686
7431
|
|
|
6687
7432
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6688
|
-
import { jsx as
|
|
7433
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
6689
7434
|
|
|
6690
7435
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6691
|
-
import { jsx as
|
|
7436
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
6692
7437
|
|
|
6693
7438
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6694
|
-
import { jsx as
|
|
7439
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
6695
7440
|
|
|
6696
7441
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6697
|
-
import { Fragment as Fragment30, jsx as
|
|
7442
|
+
import { Fragment as Fragment30, jsx as jsx134, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6698
7443
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6699
|
-
var
|
|
6700
|
-
var
|
|
6701
|
-
var
|
|
7444
|
+
var states46 = [];
|
|
7445
|
+
var options42 = {};
|
|
7446
|
+
var defaultProps42 = {
|
|
6702
7447
|
side: "bottom",
|
|
6703
7448
|
fullscreen: false,
|
|
6704
7449
|
adaptive: false,
|
|
@@ -6711,14 +7456,14 @@ var ActionSheet = (props) => {
|
|
|
6711
7456
|
header,
|
|
6712
7457
|
footer,
|
|
6713
7458
|
actions,
|
|
6714
|
-
side =
|
|
6715
|
-
fullscreen =
|
|
6716
|
-
adaptive =
|
|
6717
|
-
overlay =
|
|
7459
|
+
side = defaultProps42.side,
|
|
7460
|
+
fullscreen = defaultProps42.fullscreen,
|
|
7461
|
+
adaptive = defaultProps42.adaptive,
|
|
7462
|
+
overlay = defaultProps42.overlay,
|
|
6718
7463
|
...other
|
|
6719
7464
|
} = props;
|
|
6720
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6721
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
7465
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx134(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
7466
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx134(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx134(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6722
7467
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6723
7468
|
switch (child.type) {
|
|
6724
7469
|
case ActionSheetHeader:
|
|
@@ -6728,10 +7473,10 @@ var ActionSheet = (props) => {
|
|
|
6728
7473
|
return true;
|
|
6729
7474
|
}
|
|
6730
7475
|
return true;
|
|
6731
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6732
|
-
return /* @__PURE__ */
|
|
6733
|
-
overlay && /* @__PURE__ */
|
|
6734
|
-
/* @__PURE__ */
|
|
7476
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx134(Fragment30, {});
|
|
7477
|
+
return /* @__PURE__ */ jsxs48("div", { className: "k-actionsheet-container", children: [
|
|
7478
|
+
overlay && /* @__PURE__ */ jsx134("div", { className: "k-overlay" }),
|
|
7479
|
+
/* @__PURE__ */ jsx134(
|
|
6735
7480
|
AnimationContainer,
|
|
6736
7481
|
{
|
|
6737
7482
|
animationStyle: {
|
|
@@ -6741,7 +7486,7 @@ var ActionSheet = (props) => {
|
|
|
6741
7486
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6742
7487
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6743
7488
|
},
|
|
6744
|
-
children: /* @__PURE__ */
|
|
7489
|
+
children: /* @__PURE__ */ jsx134(
|
|
6745
7490
|
"div",
|
|
6746
7491
|
{
|
|
6747
7492
|
...other,
|
|
@@ -6754,9 +7499,9 @@ var ActionSheet = (props) => {
|
|
|
6754
7499
|
"k-adaptive-actionsheet": adaptive
|
|
6755
7500
|
}
|
|
6756
7501
|
),
|
|
6757
|
-
children: /* @__PURE__ */
|
|
7502
|
+
children: /* @__PURE__ */ jsxs48(Fragment30, { children: [
|
|
6758
7503
|
_ActionSheetHeader,
|
|
6759
|
-
/* @__PURE__ */
|
|
7504
|
+
/* @__PURE__ */ jsx134("div", { className: classNames(
|
|
6760
7505
|
"k-actionsheet-content",
|
|
6761
7506
|
{
|
|
6762
7507
|
"!k-overflow-hidden": adaptive
|
|
@@ -6770,13 +7515,13 @@ var ActionSheet = (props) => {
|
|
|
6770
7515
|
)
|
|
6771
7516
|
] });
|
|
6772
7517
|
};
|
|
6773
|
-
ActionSheet.states =
|
|
6774
|
-
ActionSheet.options =
|
|
7518
|
+
ActionSheet.states = states46;
|
|
7519
|
+
ActionSheet.options = options42;
|
|
6775
7520
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
6776
|
-
ActionSheet.defaultProps =
|
|
7521
|
+
ActionSheet.defaultProps = defaultProps42;
|
|
6777
7522
|
|
|
6778
7523
|
// src/action-sheet/actionsheet-header.tsx
|
|
6779
|
-
import { Fragment as Fragment31, jsx as
|
|
7524
|
+
import { Fragment as Fragment31, jsx as jsx135, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
6780
7525
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6781
7526
|
var ActionSheetHeader = (props) => {
|
|
6782
7527
|
const {
|
|
@@ -6786,7 +7531,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6786
7531
|
filter,
|
|
6787
7532
|
...other
|
|
6788
7533
|
} = props;
|
|
6789
|
-
return /* @__PURE__ */
|
|
7534
|
+
return /* @__PURE__ */ jsx135(
|
|
6790
7535
|
"div",
|
|
6791
7536
|
{
|
|
6792
7537
|
...other,
|
|
@@ -6794,30 +7539,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6794
7539
|
props.className,
|
|
6795
7540
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6796
7541
|
),
|
|
6797
|
-
children: /* @__PURE__ */
|
|
6798
|
-
/* @__PURE__ */
|
|
6799
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6800
|
-
title !== "" && /* @__PURE__ */
|
|
6801
|
-
subTitle !== "" && /* @__PURE__ */
|
|
7542
|
+
children: /* @__PURE__ */ jsxs49(Fragment31, { children: [
|
|
7543
|
+
/* @__PURE__ */ jsxs49("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
7544
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx135(Fragment31, { children: /* @__PURE__ */ jsxs49("div", { className: "k-actionsheet-title", children: [
|
|
7545
|
+
title !== "" && /* @__PURE__ */ jsx135("div", { className: "k-text-center", children: title }),
|
|
7546
|
+
subTitle !== "" && /* @__PURE__ */ jsx135("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6802
7547
|
] }) }),
|
|
6803
|
-
props.children && /* @__PURE__ */
|
|
6804
|
-
actions && /* @__PURE__ */
|
|
7548
|
+
props.children && /* @__PURE__ */ jsx135("div", { className: "k-actionsheet-title", children: props.children }),
|
|
7549
|
+
actions && /* @__PURE__ */ jsx135(Fragment31, { children: /* @__PURE__ */ jsx135("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx135(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6805
7550
|
] }),
|
|
6806
|
-
filter && /* @__PURE__ */
|
|
7551
|
+
filter && /* @__PURE__ */ jsx135(Fragment31, { children: /* @__PURE__ */ jsx135("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx135(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6807
7552
|
] })
|
|
6808
7553
|
}
|
|
6809
7554
|
);
|
|
6810
7555
|
};
|
|
6811
7556
|
|
|
6812
7557
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6813
|
-
import { Fragment as Fragment32, jsx as
|
|
7558
|
+
import { Fragment as Fragment32, jsx as jsx136, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
6814
7559
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6815
7560
|
var ActionSheetFooter = (props) => {
|
|
6816
7561
|
const {
|
|
6817
7562
|
actions,
|
|
6818
7563
|
...other
|
|
6819
7564
|
} = props;
|
|
6820
|
-
return /* @__PURE__ */
|
|
7565
|
+
return /* @__PURE__ */ jsx136(
|
|
6821
7566
|
action_buttons_spec_default,
|
|
6822
7567
|
{
|
|
6823
7568
|
...other,
|
|
@@ -6826,17 +7571,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6826
7571
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6827
7572
|
),
|
|
6828
7573
|
alignment: "stretched",
|
|
6829
|
-
children: /* @__PURE__ */
|
|
7574
|
+
children: /* @__PURE__ */ jsxs50(Fragment32, { children: [
|
|
6830
7575
|
actions && actions.map((action, index) => {
|
|
6831
7576
|
if (action === "|") {
|
|
6832
|
-
return /* @__PURE__ */
|
|
7577
|
+
return /* @__PURE__ */ jsx136("span", { className: "k-separator" }, index);
|
|
6833
7578
|
}
|
|
6834
7579
|
if (action === " ") {
|
|
6835
|
-
return /* @__PURE__ */
|
|
7580
|
+
return /* @__PURE__ */ jsx136("span", { className: "k-spacer" }, index);
|
|
6836
7581
|
}
|
|
6837
7582
|
const importantFlag = action.startsWith("!");
|
|
6838
7583
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6839
|
-
return /* @__PURE__ */
|
|
7584
|
+
return /* @__PURE__ */ jsx136(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6840
7585
|
}),
|
|
6841
7586
|
!actions && props.children
|
|
6842
7587
|
] })
|
|
@@ -6845,12 +7590,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6845
7590
|
};
|
|
6846
7591
|
|
|
6847
7592
|
// src/action-sheet/actionsheet-items.tsx
|
|
6848
|
-
import { jsx as
|
|
7593
|
+
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
6849
7594
|
var ActionSheetItems = (props) => {
|
|
6850
7595
|
const {
|
|
6851
7596
|
...other
|
|
6852
7597
|
} = props;
|
|
6853
|
-
return /* @__PURE__ */
|
|
7598
|
+
return /* @__PURE__ */ jsx137(
|
|
6854
7599
|
"div",
|
|
6855
7600
|
{
|
|
6856
7601
|
...other,
|
|
@@ -6864,8 +7609,8 @@ var ActionSheetItems = (props) => {
|
|
|
6864
7609
|
};
|
|
6865
7610
|
|
|
6866
7611
|
// src/action-sheet/actionsheet-item.tsx
|
|
6867
|
-
import { Fragment as Fragment33, jsx as
|
|
6868
|
-
var
|
|
7612
|
+
import { Fragment as Fragment33, jsx as jsx138, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7613
|
+
var states47 = [
|
|
6869
7614
|
States.hover,
|
|
6870
7615
|
States.focus,
|
|
6871
7616
|
States.selected,
|
|
@@ -6873,9 +7618,9 @@ var states39 = [
|
|
|
6873
7618
|
];
|
|
6874
7619
|
|
|
6875
7620
|
// src/combobox/combobox.spec.tsx
|
|
6876
|
-
import { Fragment as Fragment34, jsx as
|
|
7621
|
+
import { Fragment as Fragment34, jsx as jsx139, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
6877
7622
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6878
|
-
var
|
|
7623
|
+
var states48 = [
|
|
6879
7624
|
States.hover,
|
|
6880
7625
|
States.focus,
|
|
6881
7626
|
States.valid,
|
|
@@ -6885,12 +7630,12 @@ var states40 = [
|
|
|
6885
7630
|
States.disabled,
|
|
6886
7631
|
States.readonly
|
|
6887
7632
|
];
|
|
6888
|
-
var
|
|
7633
|
+
var defaultProps43 = {
|
|
6889
7634
|
size: Input.defaultProps.size,
|
|
6890
7635
|
rounded: Input.defaultProps.rounded,
|
|
6891
7636
|
fillMode: Input.defaultProps.fillMode
|
|
6892
7637
|
};
|
|
6893
|
-
var
|
|
7638
|
+
var options43 = {
|
|
6894
7639
|
size: [Size.small, Size.medium, Size.large],
|
|
6895
7640
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6896
7641
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -6918,8 +7663,8 @@ var Combobox = (props) => {
|
|
|
6918
7663
|
adaptiveSettings,
|
|
6919
7664
|
...other
|
|
6920
7665
|
} = props;
|
|
6921
|
-
return /* @__PURE__ */
|
|
6922
|
-
/* @__PURE__ */
|
|
7666
|
+
return /* @__PURE__ */ jsxs52(Fragment34, { children: [
|
|
7667
|
+
/* @__PURE__ */ jsxs52(
|
|
6923
7668
|
Input,
|
|
6924
7669
|
{
|
|
6925
7670
|
...other,
|
|
@@ -6936,12 +7681,12 @@ var Combobox = (props) => {
|
|
|
6936
7681
|
readonly,
|
|
6937
7682
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6938
7683
|
children: [
|
|
6939
|
-
prefix && /* @__PURE__ */
|
|
6940
|
-
/* @__PURE__ */
|
|
6941
|
-
/* @__PURE__ */
|
|
7684
|
+
prefix && /* @__PURE__ */ jsxs52(Fragment34, { children: [
|
|
7685
|
+
/* @__PURE__ */ jsx139(InputPrefix, { children: prefix }),
|
|
7686
|
+
/* @__PURE__ */ jsx139(InputSeparator, {})
|
|
6942
7687
|
] }),
|
|
6943
|
-
/* @__PURE__ */
|
|
6944
|
-
/* @__PURE__ */
|
|
7688
|
+
/* @__PURE__ */ jsx139(InputInnerInput, { placeholder, value }),
|
|
7689
|
+
/* @__PURE__ */ jsx139(
|
|
6945
7690
|
InputValidationIcon,
|
|
6946
7691
|
{
|
|
6947
7692
|
valid,
|
|
@@ -6950,14 +7695,14 @@ var Combobox = (props) => {
|
|
|
6950
7695
|
disabled
|
|
6951
7696
|
}
|
|
6952
7697
|
),
|
|
6953
|
-
/* @__PURE__ */
|
|
7698
|
+
/* @__PURE__ */ jsx139(
|
|
6954
7699
|
InputLoadingIcon,
|
|
6955
7700
|
{
|
|
6956
7701
|
loading,
|
|
6957
7702
|
disabled
|
|
6958
7703
|
}
|
|
6959
7704
|
),
|
|
6960
|
-
/* @__PURE__ */
|
|
7705
|
+
/* @__PURE__ */ jsx139(
|
|
6961
7706
|
InputClearValue,
|
|
6962
7707
|
{
|
|
6963
7708
|
loading,
|
|
@@ -6966,11 +7711,11 @@ var Combobox = (props) => {
|
|
|
6966
7711
|
value
|
|
6967
7712
|
}
|
|
6968
7713
|
),
|
|
6969
|
-
suffix && /* @__PURE__ */
|
|
6970
|
-
/* @__PURE__ */
|
|
6971
|
-
/* @__PURE__ */
|
|
7714
|
+
suffix && /* @__PURE__ */ jsxs52(Fragment34, { children: [
|
|
7715
|
+
/* @__PURE__ */ jsx139(InputSeparator, {}),
|
|
7716
|
+
/* @__PURE__ */ jsx139(InputSuffix, { children: suffix })
|
|
6972
7717
|
] }),
|
|
6973
|
-
/* @__PURE__ */
|
|
7718
|
+
/* @__PURE__ */ jsx139(
|
|
6974
7719
|
Button,
|
|
6975
7720
|
{
|
|
6976
7721
|
className: "k-input-button",
|
|
@@ -6983,9 +7728,9 @@ var Combobox = (props) => {
|
|
|
6983
7728
|
]
|
|
6984
7729
|
}
|
|
6985
7730
|
),
|
|
6986
|
-
opened && popup && /* @__PURE__ */
|
|
6987
|
-
adaptive && /* @__PURE__ */
|
|
6988
|
-
/* @__PURE__ */
|
|
7731
|
+
opened && popup && /* @__PURE__ */ jsx139(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7732
|
+
adaptive && /* @__PURE__ */ jsxs52(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7733
|
+
/* @__PURE__ */ jsx139(
|
|
6989
7734
|
ActionSheetHeader,
|
|
6990
7735
|
{
|
|
6991
7736
|
actions: ["x"],
|
|
@@ -6993,48 +7738,48 @@ var Combobox = (props) => {
|
|
|
6993
7738
|
title: "Select Item"
|
|
6994
7739
|
}
|
|
6995
7740
|
),
|
|
6996
|
-
/* @__PURE__ */
|
|
6997
|
-
/* @__PURE__ */
|
|
6998
|
-
/* @__PURE__ */
|
|
6999
|
-
/* @__PURE__ */
|
|
7741
|
+
/* @__PURE__ */ jsx139("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs52(List, { size: "large", children: [
|
|
7742
|
+
/* @__PURE__ */ jsx139(ListItem, { text: "List item" }),
|
|
7743
|
+
/* @__PURE__ */ jsx139(ListItem, { text: "List item" }),
|
|
7744
|
+
/* @__PURE__ */ jsx139(ListItem, { text: "List item" })
|
|
7000
7745
|
] }) })
|
|
7001
7746
|
] })
|
|
7002
7747
|
] });
|
|
7003
7748
|
};
|
|
7004
|
-
Combobox.states =
|
|
7005
|
-
Combobox.options =
|
|
7749
|
+
Combobox.states = states48;
|
|
7750
|
+
Combobox.options = options43;
|
|
7006
7751
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
7007
|
-
Combobox.defaultProps =
|
|
7752
|
+
Combobox.defaultProps = defaultProps43;
|
|
7008
7753
|
|
|
7009
7754
|
// src/combobox/templates/combobox-normal.tsx
|
|
7010
|
-
import { jsx as
|
|
7755
|
+
import { jsx as jsx140 } from "react/jsx-runtime";
|
|
7011
7756
|
|
|
7012
7757
|
// src/combobox/templates/combobox-popup.tsx
|
|
7013
|
-
import { jsx as
|
|
7758
|
+
import { jsx as jsx141, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7014
7759
|
|
|
7015
7760
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7016
|
-
import { jsx as
|
|
7761
|
+
import { jsx as jsx142, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7017
7762
|
|
|
7018
7763
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7019
|
-
import { jsx as
|
|
7764
|
+
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
7020
7765
|
|
|
7021
7766
|
// src/combobox/templates/combobox-prefix.tsx
|
|
7022
|
-
import { Fragment as Fragment35, jsx as
|
|
7767
|
+
import { Fragment as Fragment35, jsx as jsx144 } from "react/jsx-runtime";
|
|
7023
7768
|
|
|
7024
7769
|
// src/combobox/templates/combobox-suffix.tsx
|
|
7025
|
-
import { Fragment as Fragment36, jsx as
|
|
7770
|
+
import { Fragment as Fragment36, jsx as jsx145 } from "react/jsx-runtime";
|
|
7026
7771
|
|
|
7027
7772
|
// src/menu-button/menu-button.spec.tsx
|
|
7028
|
-
import { Fragment as Fragment37, jsx as
|
|
7773
|
+
import { Fragment as Fragment37, jsx as jsx146, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7029
7774
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7030
|
-
var
|
|
7775
|
+
var states49 = [
|
|
7031
7776
|
States.hover,
|
|
7032
7777
|
States.focus,
|
|
7033
7778
|
States.active,
|
|
7034
7779
|
States.selected,
|
|
7035
7780
|
States.disabled
|
|
7036
7781
|
];
|
|
7037
|
-
var
|
|
7782
|
+
var options44 = {
|
|
7038
7783
|
size: [Size.small, Size.medium, Size.large],
|
|
7039
7784
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7040
7785
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7052,7 +7797,7 @@ var options39 = {
|
|
|
7052
7797
|
ThemeColor.inverse
|
|
7053
7798
|
]
|
|
7054
7799
|
};
|
|
7055
|
-
var
|
|
7800
|
+
var defaultProps44 = {
|
|
7056
7801
|
size: Size.medium,
|
|
7057
7802
|
rounded: Roundness.medium,
|
|
7058
7803
|
fillMode: FillMode.solid,
|
|
@@ -7062,10 +7807,10 @@ var defaultProps38 = {
|
|
|
7062
7807
|
};
|
|
7063
7808
|
var MenuButton = (props) => {
|
|
7064
7809
|
const {
|
|
7065
|
-
size =
|
|
7066
|
-
rounded =
|
|
7067
|
-
fillMode =
|
|
7068
|
-
themeColor =
|
|
7810
|
+
size = defaultProps44.size,
|
|
7811
|
+
rounded = defaultProps44.rounded,
|
|
7812
|
+
fillMode = defaultProps44.fillMode,
|
|
7813
|
+
themeColor = defaultProps44.themeColor,
|
|
7069
7814
|
hover,
|
|
7070
7815
|
focus,
|
|
7071
7816
|
active,
|
|
@@ -7073,14 +7818,14 @@ var MenuButton = (props) => {
|
|
|
7073
7818
|
disabled,
|
|
7074
7819
|
icon,
|
|
7075
7820
|
text,
|
|
7076
|
-
showArrow =
|
|
7077
|
-
arrowIconName =
|
|
7821
|
+
showArrow = defaultProps44.showArrow,
|
|
7822
|
+
arrowIconName = defaultProps44.arrowIconName,
|
|
7078
7823
|
popup,
|
|
7079
7824
|
opened,
|
|
7080
7825
|
...other
|
|
7081
7826
|
} = props;
|
|
7082
|
-
return /* @__PURE__ */
|
|
7083
|
-
/* @__PURE__ */
|
|
7827
|
+
return /* @__PURE__ */ jsxs55(Fragment37, { children: [
|
|
7828
|
+
/* @__PURE__ */ jsx146(
|
|
7084
7829
|
Button,
|
|
7085
7830
|
{
|
|
7086
7831
|
...other,
|
|
@@ -7103,35 +7848,35 @@ var MenuButton = (props) => {
|
|
|
7103
7848
|
arrowIconName
|
|
7104
7849
|
}
|
|
7105
7850
|
),
|
|
7106
|
-
opened && popup && /* @__PURE__ */
|
|
7851
|
+
opened && popup && /* @__PURE__ */ jsx146(Popup, { className: "k-menu-popup", children: popup })
|
|
7107
7852
|
] });
|
|
7108
7853
|
};
|
|
7109
|
-
MenuButton.states =
|
|
7110
|
-
MenuButton.options =
|
|
7854
|
+
MenuButton.states = states49;
|
|
7855
|
+
MenuButton.options = options44;
|
|
7111
7856
|
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
7112
|
-
MenuButton.defaultProps =
|
|
7857
|
+
MenuButton.defaultProps = defaultProps44;
|
|
7113
7858
|
|
|
7114
7859
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7115
|
-
import { jsx as
|
|
7860
|
+
import { jsx as jsx147 } from "react/jsx-runtime";
|
|
7116
7861
|
|
|
7117
7862
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7118
|
-
import { jsx as
|
|
7863
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
7119
7864
|
|
|
7120
7865
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7121
|
-
import { jsx as
|
|
7866
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
7122
7867
|
|
|
7123
7868
|
// src/menu/menu-item.spec.tsx
|
|
7124
|
-
import { Fragment as Fragment38, jsx as
|
|
7869
|
+
import { Fragment as Fragment38, jsx as jsx150, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7125
7870
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7126
|
-
var
|
|
7871
|
+
var states50 = [
|
|
7127
7872
|
States.hover,
|
|
7128
7873
|
States.focus,
|
|
7129
7874
|
States.active,
|
|
7130
7875
|
States.selected,
|
|
7131
7876
|
States.disabled
|
|
7132
7877
|
];
|
|
7133
|
-
var
|
|
7134
|
-
var
|
|
7878
|
+
var options45 = {};
|
|
7879
|
+
var defaultProps45 = {
|
|
7135
7880
|
dir: "ltr"
|
|
7136
7881
|
};
|
|
7137
7882
|
var MenuItem = (props) => {
|
|
@@ -7145,11 +7890,11 @@ var MenuItem = (props) => {
|
|
|
7145
7890
|
text,
|
|
7146
7891
|
showArrow,
|
|
7147
7892
|
arrowIconName,
|
|
7148
|
-
dir =
|
|
7893
|
+
dir = defaultProps45.dir,
|
|
7149
7894
|
children,
|
|
7150
7895
|
...other
|
|
7151
7896
|
} = props;
|
|
7152
|
-
const contentTemplate = /* @__PURE__ */
|
|
7897
|
+
const contentTemplate = /* @__PURE__ */ jsx150(Fragment38, {});
|
|
7153
7898
|
if (children) {
|
|
7154
7899
|
children.forEach((child) => {
|
|
7155
7900
|
const component = child.type;
|
|
@@ -7163,7 +7908,7 @@ var MenuItem = (props) => {
|
|
|
7163
7908
|
if (!expandArrowName) {
|
|
7164
7909
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7165
7910
|
}
|
|
7166
|
-
return /* @__PURE__ */
|
|
7911
|
+
return /* @__PURE__ */ jsxs56(
|
|
7167
7912
|
"li",
|
|
7168
7913
|
{
|
|
7169
7914
|
...other,
|
|
@@ -7178,7 +7923,7 @@ var MenuItem = (props) => {
|
|
|
7178
7923
|
})
|
|
7179
7924
|
),
|
|
7180
7925
|
children: [
|
|
7181
|
-
/* @__PURE__ */
|
|
7926
|
+
/* @__PURE__ */ jsxs56(
|
|
7182
7927
|
"span",
|
|
7183
7928
|
{
|
|
7184
7929
|
className: classNames(
|
|
@@ -7191,9 +7936,9 @@ var MenuItem = (props) => {
|
|
|
7191
7936
|
})
|
|
7192
7937
|
),
|
|
7193
7938
|
children: [
|
|
7194
|
-
icon && /* @__PURE__ */
|
|
7195
|
-
/* @__PURE__ */
|
|
7196
|
-
showArrow && /* @__PURE__ */
|
|
7939
|
+
icon && /* @__PURE__ */ jsx150(Icon, { className: "k-menu-link-icon", icon }),
|
|
7940
|
+
/* @__PURE__ */ jsx150("span", { className: "k-menu-link-text", children: text }),
|
|
7941
|
+
showArrow && /* @__PURE__ */ jsx150("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx150(Icon, { icon: expandArrowName }) })
|
|
7197
7942
|
]
|
|
7198
7943
|
}
|
|
7199
7944
|
),
|
|
@@ -7202,24 +7947,24 @@ var MenuItem = (props) => {
|
|
|
7202
7947
|
}
|
|
7203
7948
|
);
|
|
7204
7949
|
};
|
|
7205
|
-
MenuItem.states =
|
|
7206
|
-
MenuItem.options =
|
|
7950
|
+
MenuItem.states = states50;
|
|
7951
|
+
MenuItem.options = options45;
|
|
7207
7952
|
MenuItem.className = MENUITEM_CLASSNAME;
|
|
7208
|
-
MenuItem.defaultProps =
|
|
7953
|
+
MenuItem.defaultProps = defaultProps45;
|
|
7209
7954
|
var menu_item_spec_default = MenuItem;
|
|
7210
7955
|
|
|
7211
7956
|
// src/menu/menu-separator.spec.tsx
|
|
7212
|
-
import { jsx as
|
|
7957
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
7213
7958
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7214
|
-
var
|
|
7959
|
+
var defaultProps46 = {
|
|
7215
7960
|
orientation: "horizontal"
|
|
7216
7961
|
};
|
|
7217
7962
|
var MenuSeparator = (props) => {
|
|
7218
7963
|
const {
|
|
7219
|
-
orientation =
|
|
7964
|
+
orientation = defaultProps46.orientation,
|
|
7220
7965
|
...other
|
|
7221
7966
|
} = props;
|
|
7222
|
-
return /* @__PURE__ */
|
|
7967
|
+
return /* @__PURE__ */ jsx151(
|
|
7223
7968
|
"li",
|
|
7224
7969
|
{
|
|
7225
7970
|
...other,
|
|
@@ -7237,25 +7982,25 @@ var MenuSeparator = (props) => {
|
|
|
7237
7982
|
var menu_separator_spec_default = MenuSeparator;
|
|
7238
7983
|
|
|
7239
7984
|
// src/menu/menu-item-content.tsx
|
|
7240
|
-
import { Fragment as Fragment39, jsx as
|
|
7985
|
+
import { Fragment as Fragment39, jsx as jsx152 } from "react/jsx-runtime";
|
|
7241
7986
|
|
|
7242
7987
|
// src/menu/menu-list.spec.tsx
|
|
7243
|
-
import { jsx as
|
|
7988
|
+
import { jsx as jsx153 } from "react/jsx-runtime";
|
|
7244
7989
|
import { createElement } from "react";
|
|
7245
7990
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7246
|
-
var
|
|
7247
|
-
var
|
|
7991
|
+
var states51 = [];
|
|
7992
|
+
var options46 = {
|
|
7248
7993
|
size: [Size.small, Size.medium, Size.large]
|
|
7249
7994
|
};
|
|
7250
|
-
var
|
|
7995
|
+
var defaultProps47 = {
|
|
7251
7996
|
size: Size.medium,
|
|
7252
7997
|
dir: "ltr"
|
|
7253
7998
|
};
|
|
7254
7999
|
var MenuList = (props) => {
|
|
7255
8000
|
const {
|
|
7256
8001
|
children,
|
|
7257
|
-
size =
|
|
7258
|
-
dir =
|
|
8002
|
+
size = defaultProps47.size,
|
|
8003
|
+
dir = defaultProps47.dir,
|
|
7259
8004
|
...other
|
|
7260
8005
|
} = props;
|
|
7261
8006
|
const listChildren = [];
|
|
@@ -7268,7 +8013,7 @@ var MenuList = (props) => {
|
|
|
7268
8013
|
);
|
|
7269
8014
|
} else if (child.type === menu_separator_spec_default) {
|
|
7270
8015
|
listChildren.push(
|
|
7271
|
-
/* @__PURE__ */
|
|
8016
|
+
/* @__PURE__ */ jsx153(menu_separator_spec_default, {})
|
|
7272
8017
|
);
|
|
7273
8018
|
} else {
|
|
7274
8019
|
listChildren.push(child);
|
|
@@ -7276,7 +8021,7 @@ var MenuList = (props) => {
|
|
|
7276
8021
|
});
|
|
7277
8022
|
}
|
|
7278
8023
|
}
|
|
7279
|
-
return /* @__PURE__ */
|
|
8024
|
+
return /* @__PURE__ */ jsx153(
|
|
7280
8025
|
"ul",
|
|
7281
8026
|
{
|
|
7282
8027
|
...other,
|
|
@@ -7291,25 +8036,25 @@ var MenuList = (props) => {
|
|
|
7291
8036
|
}
|
|
7292
8037
|
);
|
|
7293
8038
|
};
|
|
7294
|
-
MenuList.states =
|
|
7295
|
-
MenuList.options =
|
|
8039
|
+
MenuList.states = states51;
|
|
8040
|
+
MenuList.options = options46;
|
|
7296
8041
|
MenuList.className = MENULIST_CLASSNAME;
|
|
7297
|
-
MenuList.defaultProps =
|
|
8042
|
+
MenuList.defaultProps = defaultProps47;
|
|
7298
8043
|
|
|
7299
8044
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7300
|
-
import { jsx as
|
|
8045
|
+
import { jsx as jsx154, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7301
8046
|
|
|
7302
8047
|
// src/split-button/split-button.spec.tsx
|
|
7303
|
-
import { Fragment as Fragment40, jsx as
|
|
8048
|
+
import { Fragment as Fragment40, jsx as jsx155, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7304
8049
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7305
|
-
var
|
|
8050
|
+
var states52 = [
|
|
7306
8051
|
States.hover,
|
|
7307
8052
|
States.focus,
|
|
7308
8053
|
States.active,
|
|
7309
8054
|
States.selected,
|
|
7310
8055
|
States.disabled
|
|
7311
8056
|
];
|
|
7312
|
-
var
|
|
8057
|
+
var options47 = {
|
|
7313
8058
|
size: [Size.small, Size.medium, Size.large],
|
|
7314
8059
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7315
8060
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7327,7 +8072,7 @@ var options42 = {
|
|
|
7327
8072
|
ThemeColor.inverse
|
|
7328
8073
|
]
|
|
7329
8074
|
};
|
|
7330
|
-
var
|
|
8075
|
+
var defaultProps48 = {
|
|
7331
8076
|
size: Size.medium,
|
|
7332
8077
|
rounded: Roundness.medium,
|
|
7333
8078
|
fillMode: FillMode.solid,
|
|
@@ -7336,10 +8081,10 @@ var defaultProps42 = {
|
|
|
7336
8081
|
};
|
|
7337
8082
|
var SplitButton = (props) => {
|
|
7338
8083
|
const {
|
|
7339
|
-
size =
|
|
7340
|
-
rounded =
|
|
7341
|
-
fillMode =
|
|
7342
|
-
themeColor =
|
|
8084
|
+
size = defaultProps48.size,
|
|
8085
|
+
rounded = defaultProps48.rounded,
|
|
8086
|
+
fillMode = defaultProps48.fillMode,
|
|
8087
|
+
themeColor = defaultProps48.themeColor,
|
|
7343
8088
|
hover,
|
|
7344
8089
|
focus,
|
|
7345
8090
|
active,
|
|
@@ -7347,13 +8092,13 @@ var SplitButton = (props) => {
|
|
|
7347
8092
|
disabled,
|
|
7348
8093
|
icon,
|
|
7349
8094
|
text,
|
|
7350
|
-
arrowIconName =
|
|
8095
|
+
arrowIconName = defaultProps48.arrowIconName,
|
|
7351
8096
|
popup,
|
|
7352
8097
|
opened,
|
|
7353
8098
|
...other
|
|
7354
8099
|
} = props;
|
|
7355
|
-
return /* @__PURE__ */
|
|
7356
|
-
/* @__PURE__ */
|
|
8100
|
+
return /* @__PURE__ */ jsxs58(Fragment40, { children: [
|
|
8101
|
+
/* @__PURE__ */ jsxs58(
|
|
7357
8102
|
"div",
|
|
7358
8103
|
{
|
|
7359
8104
|
...other,
|
|
@@ -7366,7 +8111,7 @@ var SplitButton = (props) => {
|
|
|
7366
8111
|
})
|
|
7367
8112
|
),
|
|
7368
8113
|
children: [
|
|
7369
|
-
/* @__PURE__ */
|
|
8114
|
+
/* @__PURE__ */ jsx155(
|
|
7370
8115
|
Button,
|
|
7371
8116
|
{
|
|
7372
8117
|
text,
|
|
@@ -7383,7 +8128,7 @@ var SplitButton = (props) => {
|
|
|
7383
8128
|
children: props.children
|
|
7384
8129
|
}
|
|
7385
8130
|
),
|
|
7386
|
-
/* @__PURE__ */
|
|
8131
|
+
/* @__PURE__ */ jsx155(
|
|
7387
8132
|
Button,
|
|
7388
8133
|
{
|
|
7389
8134
|
className: "k-split-button-arrow",
|
|
@@ -7397,30 +8142,30 @@ var SplitButton = (props) => {
|
|
|
7397
8142
|
]
|
|
7398
8143
|
}
|
|
7399
8144
|
),
|
|
7400
|
-
opened && popup && /* @__PURE__ */
|
|
8145
|
+
opened && popup && /* @__PURE__ */ jsx155(Popup, { className: "k-menu-popup", children: popup })
|
|
7401
8146
|
] });
|
|
7402
8147
|
};
|
|
7403
|
-
SplitButton.states =
|
|
7404
|
-
SplitButton.options =
|
|
8148
|
+
SplitButton.states = states52;
|
|
8149
|
+
SplitButton.options = options47;
|
|
7405
8150
|
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
7406
|
-
SplitButton.defaultProps =
|
|
8151
|
+
SplitButton.defaultProps = defaultProps48;
|
|
7407
8152
|
var split_button_spec_default = SplitButton;
|
|
7408
8153
|
|
|
7409
8154
|
// src/toolbar/toolbar.spec.tsx
|
|
7410
|
-
import { jsx as
|
|
8155
|
+
import { jsx as jsx156 } from "react/jsx-runtime";
|
|
7411
8156
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7412
|
-
var
|
|
8157
|
+
var states53 = [
|
|
7413
8158
|
States.focus
|
|
7414
8159
|
];
|
|
7415
|
-
var
|
|
8160
|
+
var options48 = {
|
|
7416
8161
|
size: [Size.small, Size.medium, Size.large]
|
|
7417
8162
|
};
|
|
7418
|
-
var
|
|
8163
|
+
var defaultProps49 = {
|
|
7419
8164
|
size: Size.medium
|
|
7420
8165
|
};
|
|
7421
8166
|
var Toolbar = (props) => {
|
|
7422
8167
|
const {
|
|
7423
|
-
size =
|
|
8168
|
+
size = defaultProps49.size,
|
|
7424
8169
|
focus,
|
|
7425
8170
|
resizable,
|
|
7426
8171
|
...other
|
|
@@ -7430,7 +8175,7 @@ var Toolbar = (props) => {
|
|
|
7430
8175
|
const tempToolbarChildren = [];
|
|
7431
8176
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7432
8177
|
tempToolbarChildren.push(
|
|
7433
|
-
/* @__PURE__ */
|
|
8178
|
+
/* @__PURE__ */ jsx156(
|
|
7434
8179
|
Button,
|
|
7435
8180
|
{
|
|
7436
8181
|
...child.props,
|
|
@@ -7441,7 +8186,7 @@ var Toolbar = (props) => {
|
|
|
7441
8186
|
);
|
|
7442
8187
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7443
8188
|
tempToolbarChildren.push(
|
|
7444
|
-
/* @__PURE__ */
|
|
8189
|
+
/* @__PURE__ */ jsx156(
|
|
7445
8190
|
Button,
|
|
7446
8191
|
{
|
|
7447
8192
|
...child.props,
|
|
@@ -7452,7 +8197,7 @@ var Toolbar = (props) => {
|
|
|
7452
8197
|
);
|
|
7453
8198
|
} else if (child.type === Button) {
|
|
7454
8199
|
tempToolbarChildren.push(
|
|
7455
|
-
/* @__PURE__ */
|
|
8200
|
+
/* @__PURE__ */ jsx156(
|
|
7456
8201
|
Button,
|
|
7457
8202
|
{
|
|
7458
8203
|
...child.props,
|
|
@@ -7463,7 +8208,7 @@ var Toolbar = (props) => {
|
|
|
7463
8208
|
);
|
|
7464
8209
|
} else if (child.type === MenuButton) {
|
|
7465
8210
|
tempToolbarChildren.push(
|
|
7466
|
-
/* @__PURE__ */
|
|
8211
|
+
/* @__PURE__ */ jsx156(
|
|
7467
8212
|
MenuButton,
|
|
7468
8213
|
{
|
|
7469
8214
|
...child.props,
|
|
@@ -7474,7 +8219,7 @@ var Toolbar = (props) => {
|
|
|
7474
8219
|
);
|
|
7475
8220
|
} else if (child.type === split_button_spec_default) {
|
|
7476
8221
|
tempToolbarChildren.push(
|
|
7477
|
-
/* @__PURE__ */
|
|
8222
|
+
/* @__PURE__ */ jsx156(
|
|
7478
8223
|
split_button_spec_default,
|
|
7479
8224
|
{
|
|
7480
8225
|
...child.props,
|
|
@@ -7488,7 +8233,7 @@ var Toolbar = (props) => {
|
|
|
7488
8233
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7489
8234
|
childrenArray.forEach((button, bindex) => {
|
|
7490
8235
|
buttonGroupItems.push(
|
|
7491
|
-
/* @__PURE__ */
|
|
8236
|
+
/* @__PURE__ */ jsx156(
|
|
7492
8237
|
Button,
|
|
7493
8238
|
{
|
|
7494
8239
|
...button.props,
|
|
@@ -7499,7 +8244,7 @@ var Toolbar = (props) => {
|
|
|
7499
8244
|
);
|
|
7500
8245
|
});
|
|
7501
8246
|
tempToolbarChildren.push(
|
|
7502
|
-
/* @__PURE__ */
|
|
8247
|
+
/* @__PURE__ */ jsx156(
|
|
7503
8248
|
ButtonGroup,
|
|
7504
8249
|
{
|
|
7505
8250
|
...child.props,
|
|
@@ -7511,7 +8256,7 @@ var Toolbar = (props) => {
|
|
|
7511
8256
|
);
|
|
7512
8257
|
} else if (child.type === Combobox) {
|
|
7513
8258
|
tempToolbarChildren.push(
|
|
7514
|
-
/* @__PURE__ */
|
|
8259
|
+
/* @__PURE__ */ jsx156(
|
|
7515
8260
|
Combobox,
|
|
7516
8261
|
{
|
|
7517
8262
|
...child.props,
|
|
@@ -7522,7 +8267,7 @@ var Toolbar = (props) => {
|
|
|
7522
8267
|
);
|
|
7523
8268
|
} else if (child.type === DropdownList) {
|
|
7524
8269
|
tempToolbarChildren.push(
|
|
7525
|
-
/* @__PURE__ */
|
|
8270
|
+
/* @__PURE__ */ jsx156(
|
|
7526
8271
|
DropdownList,
|
|
7527
8272
|
{
|
|
7528
8273
|
...child.props,
|
|
@@ -7533,7 +8278,7 @@ var Toolbar = (props) => {
|
|
|
7533
8278
|
);
|
|
7534
8279
|
} else if (child.type === ColorPicker) {
|
|
7535
8280
|
tempToolbarChildren.push(
|
|
7536
|
-
/* @__PURE__ */
|
|
8281
|
+
/* @__PURE__ */ jsx156(
|
|
7537
8282
|
ColorPicker,
|
|
7538
8283
|
{
|
|
7539
8284
|
...child.props,
|
|
@@ -7555,7 +8300,7 @@ var Toolbar = (props) => {
|
|
|
7555
8300
|
addUniqueToolClass(child, index);
|
|
7556
8301
|
});
|
|
7557
8302
|
}
|
|
7558
|
-
return /* @__PURE__ */
|
|
8303
|
+
return /* @__PURE__ */ jsx156(
|
|
7559
8304
|
"div",
|
|
7560
8305
|
{
|
|
7561
8306
|
...other,
|
|
@@ -7576,26 +8321,26 @@ var Toolbar = (props) => {
|
|
|
7576
8321
|
}
|
|
7577
8322
|
);
|
|
7578
8323
|
};
|
|
7579
|
-
Toolbar.states =
|
|
7580
|
-
Toolbar.options =
|
|
8324
|
+
Toolbar.states = states53;
|
|
8325
|
+
Toolbar.options = options48;
|
|
7581
8326
|
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
7582
|
-
Toolbar.defaultProps =
|
|
8327
|
+
Toolbar.defaultProps = defaultProps49;
|
|
7583
8328
|
|
|
7584
8329
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7585
|
-
import { jsx as
|
|
8330
|
+
import { jsx as jsx157 } from "react/jsx-runtime";
|
|
7586
8331
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7587
|
-
var
|
|
8332
|
+
var states54 = [
|
|
7588
8333
|
States.focus
|
|
7589
8334
|
];
|
|
7590
|
-
var
|
|
8335
|
+
var options49 = {
|
|
7591
8336
|
size: [Size.small, Size.medium, Size.large]
|
|
7592
8337
|
};
|
|
7593
|
-
var
|
|
8338
|
+
var defaultProps50 = {
|
|
7594
8339
|
size: Size.medium
|
|
7595
8340
|
};
|
|
7596
8341
|
var ToolbarAngular = (props) => {
|
|
7597
8342
|
const {
|
|
7598
|
-
size =
|
|
8343
|
+
size = defaultProps50.size,
|
|
7599
8344
|
focus,
|
|
7600
8345
|
resizable,
|
|
7601
8346
|
...other
|
|
@@ -7605,7 +8350,7 @@ var ToolbarAngular = (props) => {
|
|
|
7605
8350
|
const tempToolbarChildren = [];
|
|
7606
8351
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7607
8352
|
tempToolbarChildren.push(
|
|
7608
|
-
/* @__PURE__ */
|
|
8353
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7609
8354
|
Button,
|
|
7610
8355
|
{
|
|
7611
8356
|
...child.props,
|
|
@@ -7616,7 +8361,7 @@ var ToolbarAngular = (props) => {
|
|
|
7616
8361
|
);
|
|
7617
8362
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7618
8363
|
tempToolbarChildren.push(
|
|
7619
|
-
/* @__PURE__ */
|
|
8364
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7620
8365
|
Button,
|
|
7621
8366
|
{
|
|
7622
8367
|
...child.props,
|
|
@@ -7627,7 +8372,7 @@ var ToolbarAngular = (props) => {
|
|
|
7627
8372
|
);
|
|
7628
8373
|
} else if (child.type === Button) {
|
|
7629
8374
|
tempToolbarChildren.push(
|
|
7630
|
-
/* @__PURE__ */
|
|
8375
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7631
8376
|
Button,
|
|
7632
8377
|
{
|
|
7633
8378
|
...child.props,
|
|
@@ -7638,7 +8383,7 @@ var ToolbarAngular = (props) => {
|
|
|
7638
8383
|
);
|
|
7639
8384
|
} else if (child.type === MenuButton) {
|
|
7640
8385
|
tempToolbarChildren.push(
|
|
7641
|
-
/* @__PURE__ */
|
|
8386
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7642
8387
|
MenuButton,
|
|
7643
8388
|
{
|
|
7644
8389
|
...child.props,
|
|
@@ -7649,7 +8394,7 @@ var ToolbarAngular = (props) => {
|
|
|
7649
8394
|
);
|
|
7650
8395
|
} else if (child.type === split_button_spec_default) {
|
|
7651
8396
|
tempToolbarChildren.push(
|
|
7652
|
-
/* @__PURE__ */
|
|
8397
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7653
8398
|
split_button_spec_default,
|
|
7654
8399
|
{
|
|
7655
8400
|
...child.props,
|
|
@@ -7663,7 +8408,7 @@ var ToolbarAngular = (props) => {
|
|
|
7663
8408
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7664
8409
|
childrenArray.forEach((button, bindex) => {
|
|
7665
8410
|
buttonGroupItems.push(
|
|
7666
|
-
/* @__PURE__ */
|
|
8411
|
+
/* @__PURE__ */ jsx157(
|
|
7667
8412
|
Button,
|
|
7668
8413
|
{
|
|
7669
8414
|
...button.props,
|
|
@@ -7674,7 +8419,7 @@ var ToolbarAngular = (props) => {
|
|
|
7674
8419
|
);
|
|
7675
8420
|
});
|
|
7676
8421
|
tempToolbarChildren.push(
|
|
7677
|
-
/* @__PURE__ */
|
|
8422
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7678
8423
|
ButtonGroup,
|
|
7679
8424
|
{
|
|
7680
8425
|
...child.props,
|
|
@@ -7686,7 +8431,7 @@ var ToolbarAngular = (props) => {
|
|
|
7686
8431
|
);
|
|
7687
8432
|
} else if (child.type === Combobox) {
|
|
7688
8433
|
tempToolbarChildren.push(
|
|
7689
|
-
/* @__PURE__ */
|
|
8434
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7690
8435
|
Combobox,
|
|
7691
8436
|
{
|
|
7692
8437
|
...child.props,
|
|
@@ -7697,7 +8442,7 @@ var ToolbarAngular = (props) => {
|
|
|
7697
8442
|
);
|
|
7698
8443
|
} else if (child.type === DropdownList) {
|
|
7699
8444
|
tempToolbarChildren.push(
|
|
7700
|
-
/* @__PURE__ */
|
|
8445
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7701
8446
|
DropdownList,
|
|
7702
8447
|
{
|
|
7703
8448
|
...child.props,
|
|
@@ -7708,7 +8453,7 @@ var ToolbarAngular = (props) => {
|
|
|
7708
8453
|
);
|
|
7709
8454
|
} else if (child.type === ColorPicker) {
|
|
7710
8455
|
tempToolbarChildren.push(
|
|
7711
|
-
/* @__PURE__ */
|
|
8456
|
+
/* @__PURE__ */ jsx157("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx157(
|
|
7712
8457
|
ColorPicker,
|
|
7713
8458
|
{
|
|
7714
8459
|
...child.props,
|
|
@@ -7730,7 +8475,7 @@ var ToolbarAngular = (props) => {
|
|
|
7730
8475
|
addUniqueToolClass(child, index);
|
|
7731
8476
|
});
|
|
7732
8477
|
}
|
|
7733
|
-
return /* @__PURE__ */
|
|
8478
|
+
return /* @__PURE__ */ jsx157(
|
|
7734
8479
|
"div",
|
|
7735
8480
|
{
|
|
7736
8481
|
...other,
|
|
@@ -7751,28 +8496,28 @@ var ToolbarAngular = (props) => {
|
|
|
7751
8496
|
}
|
|
7752
8497
|
);
|
|
7753
8498
|
};
|
|
7754
|
-
ToolbarAngular.states =
|
|
7755
|
-
ToolbarAngular.options =
|
|
8499
|
+
ToolbarAngular.states = states54;
|
|
8500
|
+
ToolbarAngular.options = options49;
|
|
7756
8501
|
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
7757
|
-
ToolbarAngular.defaultProps =
|
|
8502
|
+
ToolbarAngular.defaultProps = defaultProps50;
|
|
7758
8503
|
|
|
7759
8504
|
// src/toolbar/toolbar-separator.tsx
|
|
7760
|
-
import { jsx as
|
|
8505
|
+
import { jsx as jsx158 } from "react/jsx-runtime";
|
|
7761
8506
|
|
|
7762
8507
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7763
|
-
import { jsx as
|
|
8508
|
+
import { jsx as jsx159 } from "react/jsx-runtime";
|
|
7764
8509
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7765
|
-
var
|
|
8510
|
+
var states55 = [
|
|
7766
8511
|
States.focus
|
|
7767
8512
|
];
|
|
7768
|
-
var
|
|
7769
|
-
var
|
|
8513
|
+
var options50 = {};
|
|
8514
|
+
var defaultProps51 = {};
|
|
7770
8515
|
var ToolbarItem = (props) => {
|
|
7771
8516
|
const {
|
|
7772
8517
|
focus,
|
|
7773
8518
|
...other
|
|
7774
8519
|
} = props;
|
|
7775
|
-
return /* @__PURE__ */
|
|
8520
|
+
return /* @__PURE__ */ jsx159(
|
|
7776
8521
|
"div",
|
|
7777
8522
|
{
|
|
7778
8523
|
...other,
|
|
@@ -7787,20 +8532,20 @@ var ToolbarItem = (props) => {
|
|
|
7787
8532
|
}
|
|
7788
8533
|
);
|
|
7789
8534
|
};
|
|
7790
|
-
ToolbarItem.states =
|
|
7791
|
-
ToolbarItem.options =
|
|
8535
|
+
ToolbarItem.states = states55;
|
|
8536
|
+
ToolbarItem.options = options50;
|
|
7792
8537
|
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
7793
|
-
ToolbarItem.defaultProps =
|
|
8538
|
+
ToolbarItem.defaultProps = defaultProps51;
|
|
7794
8539
|
|
|
7795
8540
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7796
|
-
import { jsx as
|
|
8541
|
+
import { jsx as jsx160 } from "react/jsx-runtime";
|
|
7797
8542
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7798
|
-
var
|
|
7799
|
-
var
|
|
7800
|
-
var
|
|
8543
|
+
var states56 = [];
|
|
8544
|
+
var options51 = {};
|
|
8545
|
+
var defaultProps52 = {};
|
|
7801
8546
|
var ToolbarPopup = (props) => {
|
|
7802
8547
|
const { ...other } = props;
|
|
7803
|
-
return /* @__PURE__ */
|
|
8548
|
+
return /* @__PURE__ */ jsx160(
|
|
7804
8549
|
Popup,
|
|
7805
8550
|
{
|
|
7806
8551
|
...other,
|
|
@@ -7812,137 +8557,146 @@ var ToolbarPopup = (props) => {
|
|
|
7812
8557
|
}
|
|
7813
8558
|
);
|
|
7814
8559
|
};
|
|
7815
|
-
ToolbarPopup.states =
|
|
7816
|
-
ToolbarPopup.options =
|
|
8560
|
+
ToolbarPopup.states = states56;
|
|
8561
|
+
ToolbarPopup.options = options51;
|
|
7817
8562
|
ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
7818
|
-
ToolbarPopup.defaultProps =
|
|
8563
|
+
ToolbarPopup.defaultProps = defaultProps52;
|
|
7819
8564
|
|
|
7820
8565
|
// src/split-button/templates/icon-split-button.tsx
|
|
7821
|
-
import { jsx as
|
|
8566
|
+
import { jsx as jsx161 } from "react/jsx-runtime";
|
|
7822
8567
|
|
|
7823
8568
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7824
|
-
import { jsx as
|
|
8569
|
+
import { jsx as jsx162 } from "react/jsx-runtime";
|
|
7825
8570
|
|
|
7826
8571
|
// src/split-button/templates/text-split-button.tsx
|
|
7827
|
-
import { jsx as
|
|
8572
|
+
import { jsx as jsx163 } from "react/jsx-runtime";
|
|
7828
8573
|
|
|
7829
8574
|
// src/split-button/templates/split-button-popup.tsx
|
|
7830
|
-
import { jsx as
|
|
8575
|
+
import { jsx as jsx164, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
7831
8576
|
|
|
7832
8577
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7833
|
-
import { Fragment as Fragment41, jsx as
|
|
8578
|
+
import { Fragment as Fragment41, jsx as jsx165, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7834
8579
|
|
|
7835
8580
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7836
|
-
import { jsx as
|
|
8581
|
+
import { jsx as jsx166 } from "react/jsx-runtime";
|
|
7837
8582
|
|
|
7838
8583
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7839
|
-
import { jsx as
|
|
8584
|
+
import { jsx as jsx167 } from "react/jsx-runtime";
|
|
7840
8585
|
|
|
7841
8586
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7842
|
-
import { jsx as
|
|
8587
|
+
import { jsx as jsx168 } from "react/jsx-runtime";
|
|
8588
|
+
|
|
8589
|
+
// src/grid/grid-toolbar.spec.tsx
|
|
8590
|
+
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
8591
|
+
var className22 = `k-grid-toolbar`;
|
|
8592
|
+
var GridToolbar = (props) => /* @__PURE__ */ jsx169(
|
|
8593
|
+
Toolbar,
|
|
8594
|
+
{
|
|
8595
|
+
...props,
|
|
8596
|
+
className: classNames(
|
|
8597
|
+
props.className,
|
|
8598
|
+
className22
|
|
8599
|
+
),
|
|
8600
|
+
children: props.children
|
|
8601
|
+
}
|
|
8602
|
+
);
|
|
7843
8603
|
|
|
7844
8604
|
// src/grid/tests/grid-editing-inline-angular.tsx
|
|
7845
|
-
import { Fragment as Fragment42, jsx as
|
|
7846
|
-
var grid_editing_inline_angular_default = () => /* @__PURE__ */
|
|
7847
|
-
/* @__PURE__ */
|
|
7848
|
-
/* @__PURE__ */
|
|
7849
|
-
/* @__PURE__ */
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
/* @__PURE__ */
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
8605
|
+
import { Fragment as Fragment42, jsx as jsx170, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8606
|
+
var grid_editing_inline_angular_default = () => /* @__PURE__ */ jsx170(Fragment42, { children: /* @__PURE__ */ jsxs61("div", { id: "test-area", className: "k-d-grid", children: [
|
|
8607
|
+
/* @__PURE__ */ jsx170("h3", { children: "Edit Row" }),
|
|
8608
|
+
/* @__PURE__ */ jsxs61(Grid, { dir: "ltr", _renderAriaRoot: true, toolbar: /* @__PURE__ */ jsx170(GridToolbar, { children: /* @__PURE__ */ jsx170(Button, { icon: "plus", children: "Add" }) }), children: [
|
|
8609
|
+
/* @__PURE__ */ jsx170(GridHeader, { children: /* @__PURE__ */ jsx170("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs61(GridHeaderTable, { children: [
|
|
8610
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8611
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "50px" } }),
|
|
8612
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8613
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
8614
|
+
] }),
|
|
8615
|
+
/* @__PURE__ */ jsx170(TableThead, { children: /* @__PURE__ */ jsxs61(TableRow, { children: [
|
|
8616
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8617
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Name" }),
|
|
8618
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
|
|
8619
|
+
] }) })
|
|
8620
|
+
] }) }) }),
|
|
8621
|
+
/* @__PURE__ */ jsx170(GridContainer, { children: /* @__PURE__ */ jsxs61(GridContent, { className: "k-virtual-content", children: [
|
|
8622
|
+
/* @__PURE__ */ jsx170("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs61(GridTable, { children: [
|
|
8623
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8624
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "50px" } }),
|
|
8625
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8626
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
7856
8627
|
] }),
|
|
7857
|
-
/* @__PURE__ */
|
|
7858
|
-
/* @__PURE__ */
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
/* @__PURE__ */ jsxs53("colgroup", { children: [
|
|
7866
|
-
/* @__PURE__ */ jsx130("col", { style: { width: "50px" } }),
|
|
7867
|
-
/* @__PURE__ */ jsx130("col", {}),
|
|
7868
|
-
/* @__PURE__ */ jsx130("col", {})
|
|
8628
|
+
/* @__PURE__ */ jsxs61(TableTbody, { children: [
|
|
8629
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-grid-edit-row", role: "row", children: [
|
|
8630
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8631
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx170(Textbox, {}) }),
|
|
8632
|
+
/* @__PURE__ */ jsxs61(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: [
|
|
8633
|
+
/* @__PURE__ */ jsx170(Button, { children: "Update" }),
|
|
8634
|
+
/* @__PURE__ */ jsx170(Button, { children: "Cancel" })
|
|
8635
|
+
] })
|
|
7869
8636
|
] }),
|
|
7870
|
-
/* @__PURE__ */
|
|
7871
|
-
/* @__PURE__ */
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
/* @__PURE__ */
|
|
7875
|
-
|
|
7876
|
-
/* @__PURE__ */ jsx130(Button, { children: "Cancel" })
|
|
7877
|
-
] })
|
|
7878
|
-
] }),
|
|
7879
|
-
/* @__PURE__ */ jsxs53("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7880
|
-
/* @__PURE__ */ jsx130("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx130(Checkbox, {}) }),
|
|
7881
|
-
/* @__PURE__ */ jsx130("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
|
|
7882
|
-
/* @__PURE__ */ jsxs53("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: [
|
|
7883
|
-
/* @__PURE__ */ jsx130(Button, { children: "Edit" }),
|
|
7884
|
-
/* @__PURE__ */ jsx130(Button, { children: "Remove" })
|
|
7885
|
-
] })
|
|
8637
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-alt", alt: true, children: [
|
|
8638
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8639
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
|
|
8640
|
+
/* @__PURE__ */ jsxs61(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: [
|
|
8641
|
+
/* @__PURE__ */ jsx170(Button, { children: "Edit" }),
|
|
8642
|
+
/* @__PURE__ */ jsx170(Button, { children: "Remove" })
|
|
7886
8643
|
] })
|
|
7887
8644
|
] })
|
|
7888
|
-
] })
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
] })
|
|
8645
|
+
] })
|
|
8646
|
+
] }) }),
|
|
8647
|
+
/* @__PURE__ */ jsx170("div", { className: "k-height-container", children: /* @__PURE__ */ jsx170("div", {}) })
|
|
8648
|
+
] }) })
|
|
7892
8649
|
] }),
|
|
7893
|
-
/* @__PURE__ */
|
|
7894
|
-
/* @__PURE__ */
|
|
7895
|
-
/* @__PURE__ */
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
/* @__PURE__ */
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
8650
|
+
/* @__PURE__ */ jsx170("h3", { children: "New Row" }),
|
|
8651
|
+
/* @__PURE__ */ jsxs61(Grid, { dir: "ltr", _renderAriaRoot: true, toolbar: /* @__PURE__ */ jsx170(GridToolbar, { children: /* @__PURE__ */ jsx170(Button, { icon: "plus", children: "Add" }) }), children: [
|
|
8652
|
+
/* @__PURE__ */ jsx170(GridHeader, { children: /* @__PURE__ */ jsx170("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs61(GridHeaderTable, { children: [
|
|
8653
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8654
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "50px" } }),
|
|
8655
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8656
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
8657
|
+
] }),
|
|
8658
|
+
/* @__PURE__ */ jsx170(TableThead, { children: /* @__PURE__ */ jsxs61(TableRow, { children: [
|
|
8659
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { rowspan: 1, colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8660
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Name" }),
|
|
8661
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { rowspan: 1, colspan: 1, columnTitle: "Command" })
|
|
8662
|
+
] }) })
|
|
8663
|
+
] }) }) }),
|
|
8664
|
+
/* @__PURE__ */ jsx170(GridContainer, { children: /* @__PURE__ */ jsxs61(GridContent, { className: "k-virtual-content", children: [
|
|
8665
|
+
/* @__PURE__ */ jsx170("div", { className: "k-grid-table-wrap", children: /* @__PURE__ */ jsxs61(GridTable, { children: [
|
|
8666
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8667
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "50px" } }),
|
|
8668
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8669
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
7902
8670
|
] }),
|
|
7903
|
-
/* @__PURE__ */
|
|
7904
|
-
/* @__PURE__ */
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
/* @__PURE__ */
|
|
7914
|
-
/* @__PURE__ */
|
|
8671
|
+
/* @__PURE__ */ jsxs61(TableTbody, { children: [
|
|
8672
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-grid-add-row k-grid-edit-row", role: "row", children: [
|
|
8673
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 1 }),
|
|
8674
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 1, children: /* @__PURE__ */ jsx170(Textbox, {}) }),
|
|
8675
|
+
/* @__PURE__ */ jsxs61(TableTd, { className: "k-command-cell", colspan: 1, children: [
|
|
8676
|
+
/* @__PURE__ */ jsx170(Button, { children: "Add" }),
|
|
8677
|
+
/* @__PURE__ */ jsx170(Button, { children: "Discard changes" })
|
|
8678
|
+
] })
|
|
8679
|
+
] }),
|
|
8680
|
+
/* @__PURE__ */ jsxs61(TableRow, { children: [
|
|
8681
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8682
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product1" }),
|
|
8683
|
+
/* @__PURE__ */ jsxs61(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: [
|
|
8684
|
+
/* @__PURE__ */ jsx170(Button, { children: "Edit" }),
|
|
8685
|
+
/* @__PURE__ */ jsx170(Button, { children: "Remove" })
|
|
8686
|
+
] })
|
|
7915
8687
|
] }),
|
|
7916
|
-
/* @__PURE__ */
|
|
7917
|
-
/* @__PURE__ */
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
/* @__PURE__ */
|
|
7921
|
-
|
|
7922
|
-
/* @__PURE__ */ jsx130(Button, { children: "Discard changes" })
|
|
7923
|
-
] })
|
|
7924
|
-
] }),
|
|
7925
|
-
/* @__PURE__ */ jsxs53("tr", { className: "k-table-row", children: [
|
|
7926
|
-
/* @__PURE__ */ jsx130("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx130(Checkbox, {}) }),
|
|
7927
|
-
/* @__PURE__ */ jsx130("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product1" }),
|
|
7928
|
-
/* @__PURE__ */ jsxs53("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: [
|
|
7929
|
-
/* @__PURE__ */ jsx130(Button, { children: "Edit" }),
|
|
7930
|
-
/* @__PURE__ */ jsx130(Button, { children: "Remove" })
|
|
7931
|
-
] })
|
|
7932
|
-
] }),
|
|
7933
|
-
/* @__PURE__ */ jsxs53("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7934
|
-
/* @__PURE__ */ jsx130("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: /* @__PURE__ */ jsx130(Checkbox, {}) }),
|
|
7935
|
-
/* @__PURE__ */ jsx130("td", { className: "k-table-td k-touch-action-auto", colSpan: 1, children: "Product2" }),
|
|
7936
|
-
/* @__PURE__ */ jsxs53("td", { className: "k-table-td k-touch-action-auto k-command-cell", colSpan: 1, children: [
|
|
7937
|
-
/* @__PURE__ */ jsx130(Button, { children: "Edit" }),
|
|
7938
|
-
/* @__PURE__ */ jsx130(Button, { children: "Remove" })
|
|
7939
|
-
] })
|
|
8688
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-alt", alt: true, children: [
|
|
8689
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8690
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-touch-action-auto", colspan: 1, children: "Product2" }),
|
|
8691
|
+
/* @__PURE__ */ jsxs61(TableTd, { className: "k-touch-action-auto k-command-cell", colspan: 1, children: [
|
|
8692
|
+
/* @__PURE__ */ jsx170(Button, { children: "Edit" }),
|
|
8693
|
+
/* @__PURE__ */ jsx170(Button, { children: "Remove" })
|
|
7940
8694
|
] })
|
|
7941
8695
|
] })
|
|
7942
|
-
] })
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
] })
|
|
8696
|
+
] })
|
|
8697
|
+
] }) }),
|
|
8698
|
+
/* @__PURE__ */ jsx170("div", { className: "k-height-container", children: /* @__PURE__ */ jsx170("div", {}) })
|
|
8699
|
+
] }) })
|
|
7946
8700
|
] })
|
|
7947
8701
|
] }) });
|
|
7948
8702
|
export {
|