@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
|
@@ -8273,82 +8273,1519 @@ var import_jsx_runtime138 = require("react/jsx-runtime");
|
|
|
8273
8273
|
// src/timepicker/templates/timepicker-adaptive.tsx
|
|
8274
8274
|
var import_jsx_runtime139 = require("react/jsx-runtime");
|
|
8275
8275
|
|
|
8276
|
+
// src/grid/grid.spec.tsx
|
|
8277
|
+
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
8278
|
+
var GRID_CLASSNAME = "k-grid";
|
|
8279
|
+
var states50 = [];
|
|
8280
|
+
var options47 = {
|
|
8281
|
+
size: [Size.small, Size.medium, Size.large]
|
|
8282
|
+
};
|
|
8283
|
+
var defaultProps47 = {
|
|
8284
|
+
size: Size.medium,
|
|
8285
|
+
pagerPosition: "bottom"
|
|
8286
|
+
};
|
|
8287
|
+
var Grid = (props) => {
|
|
8288
|
+
const {
|
|
8289
|
+
size = defaultProps47.size,
|
|
8290
|
+
toolbar,
|
|
8291
|
+
pager,
|
|
8292
|
+
pagerPosition,
|
|
8293
|
+
groupingHeader,
|
|
8294
|
+
_renderAriaRoot,
|
|
8295
|
+
...other
|
|
8296
|
+
} = props;
|
|
8297
|
+
return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(
|
|
8298
|
+
"div",
|
|
8299
|
+
{
|
|
8300
|
+
...other,
|
|
8301
|
+
className: classNames(
|
|
8302
|
+
props.className,
|
|
8303
|
+
GRID_CLASSNAME,
|
|
8304
|
+
optionClassNames(GRID_CLASSNAME, { size })
|
|
8305
|
+
),
|
|
8306
|
+
children: [
|
|
8307
|
+
toolbar,
|
|
8308
|
+
pagerPosition === "top" && pager,
|
|
8309
|
+
groupingHeader,
|
|
8310
|
+
props.children && _renderAriaRoot ? /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
|
|
8311
|
+
pagerPosition === "bottom" && pager
|
|
8312
|
+
]
|
|
8313
|
+
}
|
|
8314
|
+
);
|
|
8315
|
+
};
|
|
8316
|
+
Grid.states = states50;
|
|
8317
|
+
Grid.options = options47;
|
|
8318
|
+
Grid.className = GRID_CLASSNAME;
|
|
8319
|
+
Grid.defaultProps = defaultProps47;
|
|
8320
|
+
|
|
8321
|
+
// src/grid/grid-header.spec.tsx
|
|
8322
|
+
var import_jsx_runtime141 = require("react/jsx-runtime");
|
|
8323
|
+
var className19 = `k-grid-header`;
|
|
8324
|
+
var GridHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
|
|
8325
|
+
"div",
|
|
8326
|
+
{
|
|
8327
|
+
...props,
|
|
8328
|
+
className: classNames(
|
|
8329
|
+
props.className,
|
|
8330
|
+
className19
|
|
8331
|
+
),
|
|
8332
|
+
children: props.children
|
|
8333
|
+
}
|
|
8334
|
+
);
|
|
8335
|
+
|
|
8336
|
+
// src/grid/grid-grouping-header.spec.tsx
|
|
8337
|
+
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
8338
|
+
|
|
8339
|
+
// src/table/data-table.spec.tsx
|
|
8340
|
+
var import_jsx_runtime143 = require("react/jsx-runtime");
|
|
8341
|
+
var DATATABLE_CLASSNAME = `k-data-table`;
|
|
8342
|
+
var states51 = [];
|
|
8343
|
+
var options48 = {
|
|
8344
|
+
size: [Size.small, Size.medium, Size.large]
|
|
8345
|
+
};
|
|
8346
|
+
var defaultProps48 = {
|
|
8347
|
+
size: Size.medium
|
|
8348
|
+
};
|
|
8349
|
+
var DataTable = (props) => {
|
|
8350
|
+
const {
|
|
8351
|
+
size = defaultProps48.size,
|
|
8352
|
+
...other
|
|
8353
|
+
} = props;
|
|
8354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
8355
|
+
"div",
|
|
8356
|
+
{
|
|
8357
|
+
...other,
|
|
8358
|
+
className: classNames(
|
|
8359
|
+
props.className,
|
|
8360
|
+
DATATABLE_CLASSNAME,
|
|
8361
|
+
optionClassNames("k-table", {
|
|
8362
|
+
size
|
|
8363
|
+
})
|
|
8364
|
+
),
|
|
8365
|
+
children: props.children
|
|
8366
|
+
}
|
|
8367
|
+
);
|
|
8368
|
+
};
|
|
8369
|
+
DataTable.states = states51;
|
|
8370
|
+
DataTable.options = options48;
|
|
8371
|
+
DataTable.className = DATATABLE_CLASSNAME;
|
|
8372
|
+
DataTable.defaultProps = defaultProps48;
|
|
8373
|
+
|
|
8374
|
+
// src/table/table-header.tsx
|
|
8375
|
+
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
8376
|
+
|
|
8377
|
+
// src/table/table-body.tsx
|
|
8378
|
+
var import_jsx_runtime145 = require("react/jsx-runtime");
|
|
8379
|
+
|
|
8380
|
+
// src/table/table-footer.tsx
|
|
8381
|
+
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
8382
|
+
|
|
8383
|
+
// src/table/table.spec.tsx
|
|
8384
|
+
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
8385
|
+
var TABLE_CLASSNAME = `k-table`;
|
|
8386
|
+
var states52 = [];
|
|
8387
|
+
var options49 = {
|
|
8388
|
+
size: [Size.small, Size.medium, Size.large]
|
|
8389
|
+
};
|
|
8390
|
+
var defaultProps49 = {};
|
|
8391
|
+
var Table = (props) => {
|
|
8392
|
+
const {
|
|
8393
|
+
size,
|
|
8394
|
+
...other
|
|
8395
|
+
} = props;
|
|
8396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
8397
|
+
"table",
|
|
8398
|
+
{
|
|
8399
|
+
...other,
|
|
8400
|
+
className: classNames(
|
|
8401
|
+
props.className,
|
|
8402
|
+
TABLE_CLASSNAME,
|
|
8403
|
+
optionClassNames(TABLE_CLASSNAME, {
|
|
8404
|
+
size
|
|
8405
|
+
})
|
|
8406
|
+
),
|
|
8407
|
+
children: props.children
|
|
8408
|
+
}
|
|
8409
|
+
);
|
|
8410
|
+
};
|
|
8411
|
+
Table.states = states52;
|
|
8412
|
+
Table.options = options49;
|
|
8413
|
+
Table.className = TABLE_CLASSNAME;
|
|
8414
|
+
Table.defaultProps = defaultProps49;
|
|
8415
|
+
|
|
8416
|
+
// src/table/table-list.spec.tsx
|
|
8417
|
+
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
8418
|
+
var TABLELIST_CLASSNAME = `k-table-list`;
|
|
8419
|
+
var states53 = [];
|
|
8420
|
+
var options50 = {
|
|
8421
|
+
size: [Size.small, Size.medium, Size.large]
|
|
8422
|
+
};
|
|
8423
|
+
var defaultProps50 = {};
|
|
8424
|
+
var TableList = (props) => {
|
|
8425
|
+
const {
|
|
8426
|
+
size,
|
|
8427
|
+
virtualization,
|
|
8428
|
+
...other
|
|
8429
|
+
} = props;
|
|
8430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
8431
|
+
"ul",
|
|
8432
|
+
{
|
|
8433
|
+
...other,
|
|
8434
|
+
className: classNames(
|
|
8435
|
+
props.className,
|
|
8436
|
+
"k-table",
|
|
8437
|
+
TABLELIST_CLASSNAME,
|
|
8438
|
+
optionClassNames(TABLELIST_CLASSNAME, {
|
|
8439
|
+
size
|
|
8440
|
+
}),
|
|
8441
|
+
{
|
|
8442
|
+
"k-virtual-table": virtualization
|
|
8443
|
+
}
|
|
8444
|
+
),
|
|
8445
|
+
children: props.children
|
|
8446
|
+
}
|
|
8447
|
+
);
|
|
8448
|
+
};
|
|
8449
|
+
TableList.states = states53;
|
|
8450
|
+
TableList.options = options50;
|
|
8451
|
+
TableList.className = TABLELIST_CLASSNAME;
|
|
8452
|
+
TableList.defaultProps = defaultProps50;
|
|
8453
|
+
|
|
8454
|
+
// src/table/table-thead.tsx
|
|
8455
|
+
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
8456
|
+
var className20 = `k-table-thead`;
|
|
8457
|
+
var TableThead = (props) => /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
8458
|
+
"thead",
|
|
8459
|
+
{
|
|
8460
|
+
className: classNames(
|
|
8461
|
+
props.className,
|
|
8462
|
+
className20
|
|
8463
|
+
),
|
|
8464
|
+
children: props.children
|
|
8465
|
+
}
|
|
8466
|
+
);
|
|
8467
|
+
|
|
8468
|
+
// src/table/table-tbody.tsx
|
|
8469
|
+
var import_jsx_runtime150 = require("react/jsx-runtime");
|
|
8470
|
+
|
|
8471
|
+
// src/table/table-tfoot.tsx
|
|
8472
|
+
var import_jsx_runtime151 = require("react/jsx-runtime");
|
|
8473
|
+
|
|
8474
|
+
// src/table/table-row.tsx
|
|
8475
|
+
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
8476
|
+
var TABLEROW_CLASSNAME = `k-table-row`;
|
|
8477
|
+
var states54 = [
|
|
8478
|
+
States.hover,
|
|
8479
|
+
States.focus,
|
|
8480
|
+
States.selected,
|
|
8481
|
+
States.disabled
|
|
8482
|
+
];
|
|
8483
|
+
var TableRow = (props) => {
|
|
8484
|
+
const {
|
|
8485
|
+
hover,
|
|
8486
|
+
focus,
|
|
8487
|
+
selected,
|
|
8488
|
+
disabled,
|
|
8489
|
+
alt,
|
|
8490
|
+
...other
|
|
8491
|
+
} = props;
|
|
8492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
8493
|
+
"tr",
|
|
8494
|
+
{
|
|
8495
|
+
...other,
|
|
8496
|
+
className: classNames(
|
|
8497
|
+
props.className,
|
|
8498
|
+
TABLEROW_CLASSNAME,
|
|
8499
|
+
{
|
|
8500
|
+
["k-table-alt-row"]: alt
|
|
8501
|
+
},
|
|
8502
|
+
stateClassNames(TABLEROW_CLASSNAME, {
|
|
8503
|
+
hover,
|
|
8504
|
+
focus,
|
|
8505
|
+
disabled,
|
|
8506
|
+
selected
|
|
8507
|
+
})
|
|
8508
|
+
),
|
|
8509
|
+
children: props.children
|
|
8510
|
+
}
|
|
8511
|
+
);
|
|
8512
|
+
};
|
|
8513
|
+
|
|
8514
|
+
// src/table/table-list-row.tsx
|
|
8515
|
+
var import_jsx_runtime153 = require("react/jsx-runtime");
|
|
8516
|
+
var states55 = [
|
|
8517
|
+
States.hover,
|
|
8518
|
+
States.focus,
|
|
8519
|
+
States.selected,
|
|
8520
|
+
States.disabled
|
|
8521
|
+
];
|
|
8522
|
+
|
|
8523
|
+
// src/table/table-th.tsx
|
|
8524
|
+
var import_jsx_runtime154 = require("react/jsx-runtime");
|
|
8525
|
+
var className21 = `k-table-th`;
|
|
8526
|
+
var TableTh = (props) => {
|
|
8527
|
+
const {
|
|
8528
|
+
text,
|
|
8529
|
+
colspan,
|
|
8530
|
+
rowspan,
|
|
8531
|
+
...other
|
|
8532
|
+
} = props;
|
|
8533
|
+
const textOrChildren = text ? text : props.children;
|
|
8534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
8535
|
+
"th",
|
|
8536
|
+
{
|
|
8537
|
+
colSpan: colspan,
|
|
8538
|
+
rowSpan: rowspan,
|
|
8539
|
+
...other,
|
|
8540
|
+
className: classNames(
|
|
8541
|
+
props.className,
|
|
8542
|
+
className21
|
|
8543
|
+
),
|
|
8544
|
+
children: textOrChildren
|
|
8545
|
+
}
|
|
8546
|
+
);
|
|
8547
|
+
};
|
|
8548
|
+
|
|
8549
|
+
// src/table/table-list-th.tsx
|
|
8550
|
+
var import_jsx_runtime155 = require("react/jsx-runtime");
|
|
8551
|
+
|
|
8552
|
+
// src/table/table-td.tsx
|
|
8553
|
+
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
8554
|
+
|
|
8555
|
+
// src/table/table-list-td.tsx
|
|
8556
|
+
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
8557
|
+
|
|
8558
|
+
// src/table/table-group-header.tsx
|
|
8559
|
+
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
8560
|
+
|
|
8561
|
+
// src/table/table-group-sticky-header.tsx
|
|
8562
|
+
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
8563
|
+
|
|
8564
|
+
// src/table/table-group-row.tsx
|
|
8565
|
+
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
8566
|
+
|
|
8567
|
+
// src/table/table-list-group-row.tsx
|
|
8568
|
+
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
8569
|
+
|
|
8570
|
+
// src/table/templates/table-list.tsx
|
|
8571
|
+
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
8572
|
+
|
|
8573
|
+
// src/table/templates/table-list-virtualization.tsx
|
|
8574
|
+
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
8575
|
+
|
|
8576
|
+
// src/table/templates/data-table-normal.tsx
|
|
8577
|
+
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
8578
|
+
|
|
8579
|
+
// src/table/templates/table-native.tsx
|
|
8580
|
+
var import_jsx_runtime165 = require("react/jsx-runtime");
|
|
8581
|
+
|
|
8582
|
+
// src/grid/grid-header-table.spec.tsx
|
|
8583
|
+
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
8584
|
+
var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
|
|
8585
|
+
var GridHeaderTable = (props) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
8586
|
+
Table,
|
|
8587
|
+
{
|
|
8588
|
+
size: "medium",
|
|
8589
|
+
...props,
|
|
8590
|
+
className: classNames(
|
|
8591
|
+
props.className,
|
|
8592
|
+
GRIDHEADERTABLE_CLASSNAME
|
|
8593
|
+
),
|
|
8594
|
+
children: props.children
|
|
8595
|
+
}
|
|
8596
|
+
);
|
|
8597
|
+
|
|
8598
|
+
// src/grid/grid-header-cell.spec.tsx
|
|
8599
|
+
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
8600
|
+
var states56 = [
|
|
8601
|
+
States.hover,
|
|
8602
|
+
States.focus,
|
|
8603
|
+
States.active
|
|
8604
|
+
];
|
|
8605
|
+
|
|
8606
|
+
// src/grid/grid-container.spec.tsx
|
|
8607
|
+
var import_jsx_runtime168 = require("react/jsx-runtime");
|
|
8608
|
+
|
|
8609
|
+
// src/grid/grid-content.spec.tsx
|
|
8610
|
+
var import_jsx_runtime169 = require("react/jsx-runtime");
|
|
8611
|
+
|
|
8612
|
+
// src/grid/grid-table.spec.tsx
|
|
8613
|
+
var import_jsx_runtime170 = require("react/jsx-runtime");
|
|
8614
|
+
|
|
8615
|
+
// src/grid/grid-footer.spec.tsx
|
|
8616
|
+
var import_jsx_runtime171 = require("react/jsx-runtime");
|
|
8617
|
+
|
|
8618
|
+
// src/grid/grid-footer-table.spec.tsx
|
|
8619
|
+
var import_jsx_runtime172 = require("react/jsx-runtime");
|
|
8620
|
+
|
|
8621
|
+
// src/pager/pager.spec.tsx
|
|
8622
|
+
var import_jsx_runtime173 = require("react/jsx-runtime");
|
|
8623
|
+
var PAGER_CLASSNAME = `k-pager`;
|
|
8624
|
+
var states57 = [
|
|
8625
|
+
States.focus,
|
|
8626
|
+
States.disabled
|
|
8627
|
+
];
|
|
8628
|
+
var options51 = {
|
|
8629
|
+
size: [Size.small, Size.medium, Size.large]
|
|
8630
|
+
};
|
|
8631
|
+
var defaultProps51 = {
|
|
8632
|
+
size: Size.medium,
|
|
8633
|
+
adaptive: false,
|
|
8634
|
+
itemsPerPage: true,
|
|
8635
|
+
type: "numeric",
|
|
8636
|
+
pageSizes: true,
|
|
8637
|
+
refresh: true,
|
|
8638
|
+
info: true
|
|
8639
|
+
};
|
|
8640
|
+
var Pager = (props) => {
|
|
8641
|
+
const {
|
|
8642
|
+
size = defaultProps51.size,
|
|
8643
|
+
adaptive = defaultProps51.adaptive,
|
|
8644
|
+
itemsPerPage = defaultProps51.itemsPerPage,
|
|
8645
|
+
type = defaultProps51.type,
|
|
8646
|
+
pageSizes = defaultProps51.pageSizes,
|
|
8647
|
+
refresh = defaultProps51.refresh,
|
|
8648
|
+
info = defaultProps51.info,
|
|
8649
|
+
focus,
|
|
8650
|
+
disabled,
|
|
8651
|
+
dir,
|
|
8652
|
+
...other
|
|
8653
|
+
} = props;
|
|
8654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
8655
|
+
"div",
|
|
8656
|
+
{
|
|
8657
|
+
dir,
|
|
8658
|
+
...other,
|
|
8659
|
+
className: classNames(
|
|
8660
|
+
props.className,
|
|
8661
|
+
PAGER_CLASSNAME,
|
|
8662
|
+
optionClassNames(PAGER_CLASSNAME, {
|
|
8663
|
+
size
|
|
8664
|
+
}),
|
|
8665
|
+
stateClassNames(PAGER_CLASSNAME, {
|
|
8666
|
+
focus,
|
|
8667
|
+
disabled
|
|
8668
|
+
})
|
|
8669
|
+
),
|
|
8670
|
+
children: [
|
|
8671
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
8672
|
+
"div",
|
|
8673
|
+
{
|
|
8674
|
+
className: classNames(
|
|
8675
|
+
"k-pager-numbers-wrap"
|
|
8676
|
+
),
|
|
8677
|
+
children: [
|
|
8678
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8679
|
+
Button,
|
|
8680
|
+
{
|
|
8681
|
+
className: classNames(
|
|
8682
|
+
"k-pager-nav",
|
|
8683
|
+
"k-pager-first"
|
|
8684
|
+
),
|
|
8685
|
+
disabled: true,
|
|
8686
|
+
fillMode: "flat",
|
|
8687
|
+
size,
|
|
8688
|
+
rounded: null,
|
|
8689
|
+
icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
|
|
8690
|
+
}
|
|
8691
|
+
),
|
|
8692
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8693
|
+
Button,
|
|
8694
|
+
{
|
|
8695
|
+
className: classNames(
|
|
8696
|
+
"k-pager-nav"
|
|
8697
|
+
),
|
|
8698
|
+
disabled: true,
|
|
8699
|
+
fillMode: "flat",
|
|
8700
|
+
size,
|
|
8701
|
+
rounded: null,
|
|
8702
|
+
icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
|
|
8703
|
+
}
|
|
8704
|
+
),
|
|
8705
|
+
type === "numeric" && !adaptive && /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
8706
|
+
"div",
|
|
8707
|
+
{
|
|
8708
|
+
className: classNames(
|
|
8709
|
+
"k-pager-numbers"
|
|
8710
|
+
),
|
|
8711
|
+
children: [
|
|
8712
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8713
|
+
Button,
|
|
8714
|
+
{
|
|
8715
|
+
selected: true,
|
|
8716
|
+
fillMode: "flat",
|
|
8717
|
+
themeColor: "primary",
|
|
8718
|
+
size,
|
|
8719
|
+
rounded: null,
|
|
8720
|
+
children: "1"
|
|
8721
|
+
}
|
|
8722
|
+
),
|
|
8723
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8724
|
+
Button,
|
|
8725
|
+
{
|
|
8726
|
+
fillMode: "flat",
|
|
8727
|
+
themeColor: "primary",
|
|
8728
|
+
size,
|
|
8729
|
+
rounded: null,
|
|
8730
|
+
children: "2"
|
|
8731
|
+
}
|
|
8732
|
+
),
|
|
8733
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8734
|
+
Button,
|
|
8735
|
+
{
|
|
8736
|
+
fillMode: "flat",
|
|
8737
|
+
themeColor: "primary",
|
|
8738
|
+
size,
|
|
8739
|
+
rounded: null,
|
|
8740
|
+
children: "3"
|
|
8741
|
+
}
|
|
8742
|
+
),
|
|
8743
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8744
|
+
Button,
|
|
8745
|
+
{
|
|
8746
|
+
fillMode: "flat",
|
|
8747
|
+
themeColor: "primary",
|
|
8748
|
+
size,
|
|
8749
|
+
rounded: null,
|
|
8750
|
+
children: "4"
|
|
8751
|
+
}
|
|
8752
|
+
),
|
|
8753
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8754
|
+
Button,
|
|
8755
|
+
{
|
|
8756
|
+
fillMode: "flat",
|
|
8757
|
+
themeColor: "primary",
|
|
8758
|
+
size,
|
|
8759
|
+
rounded: null,
|
|
8760
|
+
children: "5"
|
|
8761
|
+
}
|
|
8762
|
+
),
|
|
8763
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8764
|
+
Button,
|
|
8765
|
+
{
|
|
8766
|
+
fillMode: "flat",
|
|
8767
|
+
themeColor: "primary",
|
|
8768
|
+
size,
|
|
8769
|
+
rounded: null,
|
|
8770
|
+
children: "6"
|
|
8771
|
+
}
|
|
8772
|
+
)
|
|
8773
|
+
]
|
|
8774
|
+
}
|
|
8775
|
+
),
|
|
8776
|
+
type === "numeric" && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8777
|
+
"select",
|
|
8778
|
+
{
|
|
8779
|
+
className: classNames(
|
|
8780
|
+
"k-picker",
|
|
8781
|
+
"k-picker-solid",
|
|
8782
|
+
"k-dropdown-list",
|
|
8783
|
+
"k-dropdown",
|
|
8784
|
+
"k-rounded-md",
|
|
8785
|
+
optionClassNames("k-picker", {
|
|
8786
|
+
size
|
|
8787
|
+
}),
|
|
8788
|
+
{
|
|
8789
|
+
["k-hidden"]: !adaptive
|
|
8790
|
+
}
|
|
8791
|
+
),
|
|
8792
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("option", { children: "99" })
|
|
8793
|
+
}
|
|
8794
|
+
),
|
|
8795
|
+
type === "input" && /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
8796
|
+
"span",
|
|
8797
|
+
{
|
|
8798
|
+
className: classNames(
|
|
8799
|
+
"k-pager-input"
|
|
8800
|
+
),
|
|
8801
|
+
children: [
|
|
8802
|
+
!adaptive && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("span", { children: "Page" }),
|
|
8803
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
|
|
8804
|
+
!adaptive && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("span", { children: "of 8" })
|
|
8805
|
+
]
|
|
8806
|
+
}
|
|
8807
|
+
),
|
|
8808
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8809
|
+
Button,
|
|
8810
|
+
{
|
|
8811
|
+
className: classNames(
|
|
8812
|
+
"k-pager-nav"
|
|
8813
|
+
),
|
|
8814
|
+
fillMode: "flat",
|
|
8815
|
+
size,
|
|
8816
|
+
rounded: null,
|
|
8817
|
+
icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
|
|
8818
|
+
}
|
|
8819
|
+
),
|
|
8820
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8821
|
+
Button,
|
|
8822
|
+
{
|
|
8823
|
+
className: classNames(
|
|
8824
|
+
"k-pager-nav",
|
|
8825
|
+
"k-pager-last"
|
|
8826
|
+
),
|
|
8827
|
+
fillMode: "flat",
|
|
8828
|
+
size,
|
|
8829
|
+
rounded: null,
|
|
8830
|
+
icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
|
|
8831
|
+
}
|
|
8832
|
+
)
|
|
8833
|
+
]
|
|
8834
|
+
}
|
|
8835
|
+
),
|
|
8836
|
+
pageSizes && /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
8837
|
+
"span",
|
|
8838
|
+
{
|
|
8839
|
+
className: classNames(
|
|
8840
|
+
"k-pager-sizes"
|
|
8841
|
+
),
|
|
8842
|
+
children: [
|
|
8843
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)(DropdownList, { value: "99", size }),
|
|
8844
|
+
itemsPerPage && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("span", { children: "items per page" })
|
|
8845
|
+
]
|
|
8846
|
+
}
|
|
8847
|
+
),
|
|
8848
|
+
refresh && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8849
|
+
Button,
|
|
8850
|
+
{
|
|
8851
|
+
className: classNames(
|
|
8852
|
+
"k-pager-refresh"
|
|
8853
|
+
),
|
|
8854
|
+
fillMode: "flat",
|
|
8855
|
+
size,
|
|
8856
|
+
rounded: null,
|
|
8857
|
+
icon: "arrow-rotate-cw"
|
|
8858
|
+
}
|
|
8859
|
+
),
|
|
8860
|
+
info && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
8861
|
+
"span",
|
|
8862
|
+
{
|
|
8863
|
+
className: classNames(
|
|
8864
|
+
"k-pager-info"
|
|
8865
|
+
),
|
|
8866
|
+
children: "1 - 20 of 91 items"
|
|
8867
|
+
}
|
|
8868
|
+
)
|
|
8869
|
+
]
|
|
8870
|
+
}
|
|
8871
|
+
);
|
|
8872
|
+
};
|
|
8873
|
+
Pager.states = states57;
|
|
8874
|
+
Pager.options = options51;
|
|
8875
|
+
Pager.className = PAGER_CLASSNAME;
|
|
8876
|
+
Pager.defaultProps = defaultProps51;
|
|
8877
|
+
|
|
8878
|
+
// src/pager/templates/pager-normal.tsx
|
|
8879
|
+
var import_jsx_runtime174 = require("react/jsx-runtime");
|
|
8880
|
+
|
|
8881
|
+
// src/pager/templates/pager-input.tsx
|
|
8882
|
+
var import_jsx_runtime175 = require("react/jsx-runtime");
|
|
8883
|
+
|
|
8884
|
+
// src/pager/templates/pager-adaptive.tsx
|
|
8885
|
+
var import_jsx_runtime176 = require("react/jsx-runtime");
|
|
8886
|
+
|
|
8887
|
+
// src/pager/templates/pager-adaptive-input.tsx
|
|
8888
|
+
var import_jsx_runtime177 = require("react/jsx-runtime");
|
|
8889
|
+
|
|
8890
|
+
// src/grid/grid-pager.spec.tsx
|
|
8891
|
+
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
8892
|
+
|
|
8893
|
+
// src/menu-button/menu-button.spec.tsx
|
|
8894
|
+
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
8895
|
+
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
8896
|
+
var states58 = [
|
|
8897
|
+
States.hover,
|
|
8898
|
+
States.focus,
|
|
8899
|
+
States.active,
|
|
8900
|
+
States.selected,
|
|
8901
|
+
States.disabled
|
|
8902
|
+
];
|
|
8903
|
+
var options52 = {
|
|
8904
|
+
size: [Size.small, Size.medium, Size.large],
|
|
8905
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
8906
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
8907
|
+
themeColor: [
|
|
8908
|
+
ThemeColor.base,
|
|
8909
|
+
ThemeColor.primary,
|
|
8910
|
+
ThemeColor.secondary,
|
|
8911
|
+
ThemeColor.tertiary,
|
|
8912
|
+
ThemeColor.success,
|
|
8913
|
+
ThemeColor.warning,
|
|
8914
|
+
ThemeColor.error,
|
|
8915
|
+
ThemeColor.info,
|
|
8916
|
+
ThemeColor.light,
|
|
8917
|
+
ThemeColor.dark,
|
|
8918
|
+
ThemeColor.inverse
|
|
8919
|
+
]
|
|
8920
|
+
};
|
|
8921
|
+
var defaultProps52 = {
|
|
8922
|
+
size: Size.medium,
|
|
8923
|
+
rounded: Roundness.medium,
|
|
8924
|
+
fillMode: FillMode.solid,
|
|
8925
|
+
themeColor: ThemeColor.base,
|
|
8926
|
+
showArrow: true,
|
|
8927
|
+
arrowIconName: "caret-alt-down"
|
|
8928
|
+
};
|
|
8929
|
+
var MenuButton = (props) => {
|
|
8930
|
+
const {
|
|
8931
|
+
size = defaultProps52.size,
|
|
8932
|
+
rounded = defaultProps52.rounded,
|
|
8933
|
+
fillMode = defaultProps52.fillMode,
|
|
8934
|
+
themeColor = defaultProps52.themeColor,
|
|
8935
|
+
hover,
|
|
8936
|
+
focus,
|
|
8937
|
+
active,
|
|
8938
|
+
selected,
|
|
8939
|
+
disabled,
|
|
8940
|
+
icon,
|
|
8941
|
+
text,
|
|
8942
|
+
showArrow = defaultProps52.showArrow,
|
|
8943
|
+
arrowIconName = defaultProps52.arrowIconName,
|
|
8944
|
+
popup,
|
|
8945
|
+
opened,
|
|
8946
|
+
...other
|
|
8947
|
+
} = props;
|
|
8948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_jsx_runtime179.Fragment, { children: [
|
|
8949
|
+
/* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
|
|
8950
|
+
Button,
|
|
8951
|
+
{
|
|
8952
|
+
...other,
|
|
8953
|
+
className: classNames(
|
|
8954
|
+
props.className,
|
|
8955
|
+
MENUBUTTON_CLASSNAME
|
|
8956
|
+
),
|
|
8957
|
+
text,
|
|
8958
|
+
size,
|
|
8959
|
+
rounded,
|
|
8960
|
+
fillMode,
|
|
8961
|
+
themeColor,
|
|
8962
|
+
hover,
|
|
8963
|
+
focus,
|
|
8964
|
+
active,
|
|
8965
|
+
selected,
|
|
8966
|
+
disabled,
|
|
8967
|
+
icon,
|
|
8968
|
+
showArrow,
|
|
8969
|
+
arrowIconName
|
|
8970
|
+
}
|
|
8971
|
+
),
|
|
8972
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(Popup, { className: "k-menu-popup", children: popup })
|
|
8973
|
+
] });
|
|
8974
|
+
};
|
|
8975
|
+
MenuButton.states = states58;
|
|
8976
|
+
MenuButton.options = options52;
|
|
8977
|
+
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
8978
|
+
MenuButton.defaultProps = defaultProps52;
|
|
8979
|
+
|
|
8980
|
+
// src/menu-button/templates/icon-menu-button.tsx
|
|
8981
|
+
var import_jsx_runtime180 = require("react/jsx-runtime");
|
|
8982
|
+
|
|
8983
|
+
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
8984
|
+
var import_jsx_runtime181 = require("react/jsx-runtime");
|
|
8985
|
+
|
|
8986
|
+
// src/menu-button/templates/text-menu-button.tsx
|
|
8987
|
+
var import_jsx_runtime182 = require("react/jsx-runtime");
|
|
8988
|
+
|
|
8989
|
+
// src/menu/menu-item.spec.tsx
|
|
8990
|
+
var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
8991
|
+
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
8992
|
+
var states59 = [
|
|
8993
|
+
States.hover,
|
|
8994
|
+
States.focus,
|
|
8995
|
+
States.active,
|
|
8996
|
+
States.selected,
|
|
8997
|
+
States.disabled
|
|
8998
|
+
];
|
|
8999
|
+
var options53 = {};
|
|
9000
|
+
var defaultProps53 = {
|
|
9001
|
+
dir: "ltr"
|
|
9002
|
+
};
|
|
9003
|
+
var MenuItem = (props) => {
|
|
9004
|
+
const {
|
|
9005
|
+
hover,
|
|
9006
|
+
focus,
|
|
9007
|
+
active,
|
|
9008
|
+
selected,
|
|
9009
|
+
disabled,
|
|
9010
|
+
icon,
|
|
9011
|
+
text,
|
|
9012
|
+
showArrow,
|
|
9013
|
+
arrowIconName,
|
|
9014
|
+
dir = defaultProps53.dir,
|
|
9015
|
+
children,
|
|
9016
|
+
...other
|
|
9017
|
+
} = props;
|
|
9018
|
+
const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(import_jsx_runtime183.Fragment, {});
|
|
9019
|
+
if (children) {
|
|
9020
|
+
children.forEach((child) => {
|
|
9021
|
+
const component = child.type;
|
|
9022
|
+
if (component === "MenuItemContent") {
|
|
9023
|
+
contentTemplate.props.children.push(child);
|
|
9024
|
+
return;
|
|
9025
|
+
}
|
|
9026
|
+
});
|
|
9027
|
+
}
|
|
9028
|
+
let expandArrowName = arrowIconName;
|
|
9029
|
+
if (!expandArrowName) {
|
|
9030
|
+
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
9031
|
+
}
|
|
9032
|
+
return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(
|
|
9033
|
+
"li",
|
|
9034
|
+
{
|
|
9035
|
+
...other,
|
|
9036
|
+
className: classNames(
|
|
9037
|
+
props.className,
|
|
9038
|
+
MENUITEM_CLASSNAME,
|
|
9039
|
+
//TODO
|
|
9040
|
+
"k-item",
|
|
9041
|
+
stateClassNames(MENUITEM_CLASSNAME, {
|
|
9042
|
+
focus,
|
|
9043
|
+
disabled
|
|
9044
|
+
})
|
|
9045
|
+
),
|
|
9046
|
+
children: [
|
|
9047
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(
|
|
9048
|
+
"span",
|
|
9049
|
+
{
|
|
9050
|
+
className: classNames(
|
|
9051
|
+
"k-link k-menu-link",
|
|
9052
|
+
stateClassNames("k-menu-link", {
|
|
9053
|
+
hover,
|
|
9054
|
+
active,
|
|
9055
|
+
selected,
|
|
9056
|
+
disabled
|
|
9057
|
+
})
|
|
9058
|
+
),
|
|
9059
|
+
children: [
|
|
9060
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Icon, { className: "k-menu-link-icon", icon }),
|
|
9061
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)("span", { className: "k-menu-link-text", children: text }),
|
|
9062
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Icon, { icon: expandArrowName }) })
|
|
9063
|
+
]
|
|
9064
|
+
}
|
|
9065
|
+
),
|
|
9066
|
+
contentTemplate
|
|
9067
|
+
]
|
|
9068
|
+
}
|
|
9069
|
+
);
|
|
9070
|
+
};
|
|
9071
|
+
MenuItem.states = states59;
|
|
9072
|
+
MenuItem.options = options53;
|
|
9073
|
+
MenuItem.className = MENUITEM_CLASSNAME;
|
|
9074
|
+
MenuItem.defaultProps = defaultProps53;
|
|
9075
|
+
var menu_item_spec_default = MenuItem;
|
|
9076
|
+
|
|
9077
|
+
// src/menu/menu-separator.spec.tsx
|
|
9078
|
+
var import_jsx_runtime184 = require("react/jsx-runtime");
|
|
9079
|
+
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
9080
|
+
var defaultProps54 = {
|
|
9081
|
+
orientation: "horizontal"
|
|
9082
|
+
};
|
|
9083
|
+
var MenuSeparator = (props) => {
|
|
9084
|
+
const {
|
|
9085
|
+
orientation = defaultProps54.orientation,
|
|
9086
|
+
...other
|
|
9087
|
+
} = props;
|
|
9088
|
+
return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
|
|
9089
|
+
"li",
|
|
9090
|
+
{
|
|
9091
|
+
...other,
|
|
9092
|
+
className: classNames(
|
|
9093
|
+
props.className,
|
|
9094
|
+
"k-item",
|
|
9095
|
+
SEPARATOR_CLASSNAME,
|
|
9096
|
+
{
|
|
9097
|
+
[`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
|
|
9098
|
+
}
|
|
9099
|
+
)
|
|
9100
|
+
}
|
|
9101
|
+
);
|
|
9102
|
+
};
|
|
9103
|
+
var menu_separator_spec_default = MenuSeparator;
|
|
9104
|
+
|
|
9105
|
+
// src/menu/menu-item-content.tsx
|
|
9106
|
+
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
9107
|
+
|
|
9108
|
+
// src/menu/menu-list.spec.tsx
|
|
9109
|
+
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
9110
|
+
var import_react = require("react");
|
|
9111
|
+
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
9112
|
+
var states60 = [];
|
|
9113
|
+
var options54 = {
|
|
9114
|
+
size: [Size.small, Size.medium, Size.large]
|
|
9115
|
+
};
|
|
9116
|
+
var defaultProps55 = {
|
|
9117
|
+
size: Size.medium,
|
|
9118
|
+
dir: "ltr"
|
|
9119
|
+
};
|
|
9120
|
+
var MenuList = (props) => {
|
|
9121
|
+
const {
|
|
9122
|
+
children,
|
|
9123
|
+
size = defaultProps55.size,
|
|
9124
|
+
dir = defaultProps55.dir,
|
|
9125
|
+
...other
|
|
9126
|
+
} = props;
|
|
9127
|
+
const listChildren = [];
|
|
9128
|
+
if (children) {
|
|
9129
|
+
if (Array.isArray(children)) {
|
|
9130
|
+
children.map((child, index) => {
|
|
9131
|
+
if (child.type === menu_item_spec_default) {
|
|
9132
|
+
listChildren.push(
|
|
9133
|
+
/* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
|
|
9134
|
+
);
|
|
9135
|
+
} else if (child.type === menu_separator_spec_default) {
|
|
9136
|
+
listChildren.push(
|
|
9137
|
+
/* @__PURE__ */ (0, import_jsx_runtime186.jsx)(menu_separator_spec_default, {})
|
|
9138
|
+
);
|
|
9139
|
+
} else {
|
|
9140
|
+
listChildren.push(child);
|
|
9141
|
+
}
|
|
9142
|
+
});
|
|
9143
|
+
}
|
|
9144
|
+
}
|
|
9145
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
|
|
9146
|
+
"ul",
|
|
9147
|
+
{
|
|
9148
|
+
...other,
|
|
9149
|
+
className: classNames(
|
|
9150
|
+
props.className,
|
|
9151
|
+
MENULIST_CLASSNAME,
|
|
9152
|
+
optionClassNames(MENULIST_CLASSNAME, {
|
|
9153
|
+
size
|
|
9154
|
+
})
|
|
9155
|
+
),
|
|
9156
|
+
children: listChildren
|
|
9157
|
+
}
|
|
9158
|
+
);
|
|
9159
|
+
};
|
|
9160
|
+
MenuList.states = states60;
|
|
9161
|
+
MenuList.options = options54;
|
|
9162
|
+
MenuList.className = MENULIST_CLASSNAME;
|
|
9163
|
+
MenuList.defaultProps = defaultProps55;
|
|
9164
|
+
|
|
9165
|
+
// src/menu-button/templates/menu-button-popup.tsx
|
|
9166
|
+
var import_jsx_runtime187 = require("react/jsx-runtime");
|
|
9167
|
+
|
|
9168
|
+
// src/split-button/split-button.spec.tsx
|
|
9169
|
+
var import_jsx_runtime188 = require("react/jsx-runtime");
|
|
9170
|
+
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
9171
|
+
var states61 = [
|
|
9172
|
+
States.hover,
|
|
9173
|
+
States.focus,
|
|
9174
|
+
States.active,
|
|
9175
|
+
States.selected,
|
|
9176
|
+
States.disabled
|
|
9177
|
+
];
|
|
9178
|
+
var options55 = {
|
|
9179
|
+
size: [Size.small, Size.medium, Size.large],
|
|
9180
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
9181
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
9182
|
+
themeColor: [
|
|
9183
|
+
ThemeColor.base,
|
|
9184
|
+
ThemeColor.primary,
|
|
9185
|
+
ThemeColor.secondary,
|
|
9186
|
+
ThemeColor.tertiary,
|
|
9187
|
+
ThemeColor.success,
|
|
9188
|
+
ThemeColor.warning,
|
|
9189
|
+
ThemeColor.error,
|
|
9190
|
+
ThemeColor.info,
|
|
9191
|
+
ThemeColor.light,
|
|
9192
|
+
ThemeColor.dark,
|
|
9193
|
+
ThemeColor.inverse
|
|
9194
|
+
]
|
|
9195
|
+
};
|
|
9196
|
+
var defaultProps56 = {
|
|
9197
|
+
size: Size.medium,
|
|
9198
|
+
rounded: Roundness.medium,
|
|
9199
|
+
fillMode: FillMode.solid,
|
|
9200
|
+
themeColor: ThemeColor.base,
|
|
9201
|
+
arrowIconName: "caret-alt-down"
|
|
9202
|
+
};
|
|
9203
|
+
var SplitButton = (props) => {
|
|
9204
|
+
const {
|
|
9205
|
+
size = defaultProps56.size,
|
|
9206
|
+
rounded = defaultProps56.rounded,
|
|
9207
|
+
fillMode = defaultProps56.fillMode,
|
|
9208
|
+
themeColor = defaultProps56.themeColor,
|
|
9209
|
+
hover,
|
|
9210
|
+
focus,
|
|
9211
|
+
active,
|
|
9212
|
+
selected,
|
|
9213
|
+
disabled,
|
|
9214
|
+
icon,
|
|
9215
|
+
text,
|
|
9216
|
+
arrowIconName = defaultProps56.arrowIconName,
|
|
9217
|
+
popup,
|
|
9218
|
+
opened,
|
|
9219
|
+
...other
|
|
9220
|
+
} = props;
|
|
9221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(import_jsx_runtime188.Fragment, { children: [
|
|
9222
|
+
/* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(
|
|
9223
|
+
"div",
|
|
9224
|
+
{
|
|
9225
|
+
...other,
|
|
9226
|
+
className: classNames(
|
|
9227
|
+
props.className,
|
|
9228
|
+
SPLITBUTTON_CLASSNAME,
|
|
9229
|
+
"k-button-group",
|
|
9230
|
+
optionClassNames(SPLITBUTTON_CLASSNAME, {
|
|
9231
|
+
rounded
|
|
9232
|
+
})
|
|
9233
|
+
),
|
|
9234
|
+
children: [
|
|
9235
|
+
/* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
|
|
9236
|
+
Button,
|
|
9237
|
+
{
|
|
9238
|
+
text,
|
|
9239
|
+
icon,
|
|
9240
|
+
size,
|
|
9241
|
+
rounded,
|
|
9242
|
+
fillMode,
|
|
9243
|
+
themeColor,
|
|
9244
|
+
hover,
|
|
9245
|
+
focus,
|
|
9246
|
+
active,
|
|
9247
|
+
selected,
|
|
9248
|
+
disabled,
|
|
9249
|
+
children: props.children
|
|
9250
|
+
}
|
|
9251
|
+
),
|
|
9252
|
+
/* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
|
|
9253
|
+
Button,
|
|
9254
|
+
{
|
|
9255
|
+
className: "k-split-button-arrow",
|
|
9256
|
+
icon: arrowIconName,
|
|
9257
|
+
size,
|
|
9258
|
+
rounded,
|
|
9259
|
+
fillMode,
|
|
9260
|
+
disabled
|
|
9261
|
+
}
|
|
9262
|
+
)
|
|
9263
|
+
]
|
|
9264
|
+
}
|
|
9265
|
+
),
|
|
9266
|
+
opened && popup && /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Popup, { className: "k-menu-popup", children: popup })
|
|
9267
|
+
] });
|
|
9268
|
+
};
|
|
9269
|
+
SplitButton.states = states61;
|
|
9270
|
+
SplitButton.options = options55;
|
|
9271
|
+
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
9272
|
+
SplitButton.defaultProps = defaultProps56;
|
|
9273
|
+
var split_button_spec_default = SplitButton;
|
|
9274
|
+
|
|
9275
|
+
// src/toolbar/toolbar.spec.tsx
|
|
9276
|
+
var import_jsx_runtime189 = require("react/jsx-runtime");
|
|
9277
|
+
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
9278
|
+
var states62 = [
|
|
9279
|
+
States.focus
|
|
9280
|
+
];
|
|
9281
|
+
var options56 = {
|
|
9282
|
+
size: [Size.small, Size.medium, Size.large]
|
|
9283
|
+
};
|
|
9284
|
+
var defaultProps57 = {
|
|
9285
|
+
size: Size.medium
|
|
9286
|
+
};
|
|
9287
|
+
var Toolbar = (props) => {
|
|
9288
|
+
const {
|
|
9289
|
+
size = defaultProps57.size,
|
|
9290
|
+
focus,
|
|
9291
|
+
resizable,
|
|
9292
|
+
...other
|
|
9293
|
+
} = props;
|
|
9294
|
+
const toolbarChildren = [];
|
|
9295
|
+
const addUniqueToolClass = (child, index) => {
|
|
9296
|
+
const tempToolbarChildren = [];
|
|
9297
|
+
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
9298
|
+
tempToolbarChildren.push(
|
|
9299
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9300
|
+
Button,
|
|
9301
|
+
{
|
|
9302
|
+
...child.props,
|
|
9303
|
+
className: `${child.props.className ? child.props.className : ""}`
|
|
9304
|
+
},
|
|
9305
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9306
|
+
)
|
|
9307
|
+
);
|
|
9308
|
+
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
9309
|
+
tempToolbarChildren.push(
|
|
9310
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9311
|
+
Button,
|
|
9312
|
+
{
|
|
9313
|
+
...child.props,
|
|
9314
|
+
className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
|
|
9315
|
+
},
|
|
9316
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9317
|
+
)
|
|
9318
|
+
);
|
|
9319
|
+
} else if (child.type === Button) {
|
|
9320
|
+
tempToolbarChildren.push(
|
|
9321
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9322
|
+
Button,
|
|
9323
|
+
{
|
|
9324
|
+
...child.props,
|
|
9325
|
+
className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
|
|
9326
|
+
},
|
|
9327
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9328
|
+
)
|
|
9329
|
+
);
|
|
9330
|
+
} else if (child.type === MenuButton) {
|
|
9331
|
+
tempToolbarChildren.push(
|
|
9332
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9333
|
+
MenuButton,
|
|
9334
|
+
{
|
|
9335
|
+
...child.props,
|
|
9336
|
+
className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
|
|
9337
|
+
},
|
|
9338
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9339
|
+
)
|
|
9340
|
+
);
|
|
9341
|
+
} else if (child.type === split_button_spec_default) {
|
|
9342
|
+
tempToolbarChildren.push(
|
|
9343
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9344
|
+
split_button_spec_default,
|
|
9345
|
+
{
|
|
9346
|
+
...child.props,
|
|
9347
|
+
className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
|
|
9348
|
+
},
|
|
9349
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9350
|
+
)
|
|
9351
|
+
);
|
|
9352
|
+
} else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
|
|
9353
|
+
const buttonGroupItems = [];
|
|
9354
|
+
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
9355
|
+
childrenArray.forEach((button, bindex) => {
|
|
9356
|
+
buttonGroupItems.push(
|
|
9357
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9358
|
+
Button,
|
|
9359
|
+
{
|
|
9360
|
+
...button.props,
|
|
9361
|
+
className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
|
|
9362
|
+
},
|
|
9363
|
+
`${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9364
|
+
)
|
|
9365
|
+
);
|
|
9366
|
+
});
|
|
9367
|
+
tempToolbarChildren.push(
|
|
9368
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9369
|
+
ButtonGroup,
|
|
9370
|
+
{
|
|
9371
|
+
...child.props,
|
|
9372
|
+
className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
|
|
9373
|
+
children: buttonGroupItems
|
|
9374
|
+
},
|
|
9375
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9376
|
+
)
|
|
9377
|
+
);
|
|
9378
|
+
} else if (child.type === Combobox) {
|
|
9379
|
+
tempToolbarChildren.push(
|
|
9380
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9381
|
+
Combobox,
|
|
9382
|
+
{
|
|
9383
|
+
...child.props,
|
|
9384
|
+
className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
|
|
9385
|
+
},
|
|
9386
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9387
|
+
)
|
|
9388
|
+
);
|
|
9389
|
+
} else if (child.type === DropdownList) {
|
|
9390
|
+
tempToolbarChildren.push(
|
|
9391
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9392
|
+
DropdownList,
|
|
9393
|
+
{
|
|
9394
|
+
...child.props,
|
|
9395
|
+
className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
|
|
9396
|
+
},
|
|
9397
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9398
|
+
)
|
|
9399
|
+
);
|
|
9400
|
+
} else if (child.type === ColorPicker) {
|
|
9401
|
+
tempToolbarChildren.push(
|
|
9402
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9403
|
+
ColorPicker,
|
|
9404
|
+
{
|
|
9405
|
+
...child.props,
|
|
9406
|
+
className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
|
|
9407
|
+
},
|
|
9408
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9409
|
+
)
|
|
9410
|
+
);
|
|
9411
|
+
} else {
|
|
9412
|
+
tempToolbarChildren.push(child);
|
|
9413
|
+
}
|
|
9414
|
+
tempToolbarChildren.forEach((item) => {
|
|
9415
|
+
toolbarChildren.push(item);
|
|
9416
|
+
});
|
|
9417
|
+
};
|
|
9418
|
+
if (props.children) {
|
|
9419
|
+
const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
|
|
9420
|
+
childrenArray.forEach((child, index) => {
|
|
9421
|
+
addUniqueToolClass(child, index);
|
|
9422
|
+
});
|
|
9423
|
+
}
|
|
9424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
|
|
9425
|
+
"div",
|
|
9426
|
+
{
|
|
9427
|
+
...other,
|
|
9428
|
+
className: classNames(
|
|
9429
|
+
props.className,
|
|
9430
|
+
TOOLBAR_CLASSNAME,
|
|
9431
|
+
optionClassNames(TOOLBAR_CLASSNAME, {
|
|
9432
|
+
size
|
|
9433
|
+
}),
|
|
9434
|
+
stateClassNames(TOOLBAR_CLASSNAME, {
|
|
9435
|
+
focus
|
|
9436
|
+
}),
|
|
9437
|
+
{
|
|
9438
|
+
[`${TOOLBAR_CLASSNAME}-resizable`]: resizable
|
|
9439
|
+
}
|
|
9440
|
+
),
|
|
9441
|
+
children: toolbarChildren
|
|
9442
|
+
}
|
|
9443
|
+
);
|
|
9444
|
+
};
|
|
9445
|
+
Toolbar.states = states62;
|
|
9446
|
+
Toolbar.options = options56;
|
|
9447
|
+
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
9448
|
+
Toolbar.defaultProps = defaultProps57;
|
|
9449
|
+
|
|
9450
|
+
// src/toolbar/toolbar-angular.spec.tsx
|
|
9451
|
+
var import_jsx_runtime190 = require("react/jsx-runtime");
|
|
9452
|
+
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
9453
|
+
var states63 = [
|
|
9454
|
+
States.focus
|
|
9455
|
+
];
|
|
9456
|
+
var options57 = {
|
|
9457
|
+
size: [Size.small, Size.medium, Size.large]
|
|
9458
|
+
};
|
|
9459
|
+
var defaultProps58 = {
|
|
9460
|
+
size: Size.medium
|
|
9461
|
+
};
|
|
9462
|
+
var ToolbarAngular = (props) => {
|
|
9463
|
+
const {
|
|
9464
|
+
size = defaultProps58.size,
|
|
9465
|
+
focus,
|
|
9466
|
+
resizable,
|
|
9467
|
+
...other
|
|
9468
|
+
} = props;
|
|
9469
|
+
const toolbarChildren = [];
|
|
9470
|
+
const addUniqueToolClass = (child, index) => {
|
|
9471
|
+
const tempToolbarChildren = [];
|
|
9472
|
+
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
9473
|
+
tempToolbarChildren.push(
|
|
9474
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9475
|
+
Button,
|
|
9476
|
+
{
|
|
9477
|
+
...child.props,
|
|
9478
|
+
className: `${child.props.className ? child.props.className : ""}`
|
|
9479
|
+
},
|
|
9480
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9481
|
+
) })
|
|
9482
|
+
);
|
|
9483
|
+
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
9484
|
+
tempToolbarChildren.push(
|
|
9485
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9486
|
+
Button,
|
|
9487
|
+
{
|
|
9488
|
+
...child.props,
|
|
9489
|
+
className: `k-toolbar-toggle-button ${child.props.className ? child.props.className : ""}`
|
|
9490
|
+
},
|
|
9491
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9492
|
+
) })
|
|
9493
|
+
);
|
|
9494
|
+
} else if (child.type === Button) {
|
|
9495
|
+
tempToolbarChildren.push(
|
|
9496
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9497
|
+
Button,
|
|
9498
|
+
{
|
|
9499
|
+
...child.props,
|
|
9500
|
+
className: `k-toolbar-button ${child.props.className ? child.props.className : ""}`
|
|
9501
|
+
},
|
|
9502
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9503
|
+
) })
|
|
9504
|
+
);
|
|
9505
|
+
} else if (child.type === MenuButton) {
|
|
9506
|
+
tempToolbarChildren.push(
|
|
9507
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9508
|
+
MenuButton,
|
|
9509
|
+
{
|
|
9510
|
+
...child.props,
|
|
9511
|
+
className: `k-toolbar-menu-button ${child.props.className ? child.props.className : ""}`
|
|
9512
|
+
},
|
|
9513
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9514
|
+
) })
|
|
9515
|
+
);
|
|
9516
|
+
} else if (child.type === split_button_spec_default) {
|
|
9517
|
+
tempToolbarChildren.push(
|
|
9518
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9519
|
+
split_button_spec_default,
|
|
9520
|
+
{
|
|
9521
|
+
...child.props,
|
|
9522
|
+
className: `k-toolbar-split-button ${child.props.className ? child.props.className : ""}`
|
|
9523
|
+
},
|
|
9524
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9525
|
+
) })
|
|
9526
|
+
);
|
|
9527
|
+
} else if (child.type === ButtonGroup || child.props.className && child.props.className.includes("k-button-group")) {
|
|
9528
|
+
const buttonGroupItems = [];
|
|
9529
|
+
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
9530
|
+
childrenArray.forEach((button, bindex) => {
|
|
9531
|
+
buttonGroupItems.push(
|
|
9532
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9533
|
+
Button,
|
|
9534
|
+
{
|
|
9535
|
+
...button.props,
|
|
9536
|
+
className: `k-toolbar-button ${button.props.className ? button.props.className : ""}`
|
|
9537
|
+
},
|
|
9538
|
+
`${bindex}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9539
|
+
)
|
|
9540
|
+
);
|
|
9541
|
+
});
|
|
9542
|
+
tempToolbarChildren.push(
|
|
9543
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9544
|
+
ButtonGroup,
|
|
9545
|
+
{
|
|
9546
|
+
...child.props,
|
|
9547
|
+
className: `k-toolbar-button-group ${child.props.className ? child.props.className : ""}`,
|
|
9548
|
+
children: buttonGroupItems
|
|
9549
|
+
},
|
|
9550
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9551
|
+
) })
|
|
9552
|
+
);
|
|
9553
|
+
} else if (child.type === Combobox) {
|
|
9554
|
+
tempToolbarChildren.push(
|
|
9555
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9556
|
+
Combobox,
|
|
9557
|
+
{
|
|
9558
|
+
...child.props,
|
|
9559
|
+
className: `k-toolbar-combobox ${child.props.className ? child.props.className : ""}`
|
|
9560
|
+
},
|
|
9561
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9562
|
+
) })
|
|
9563
|
+
);
|
|
9564
|
+
} else if (child.type === DropdownList) {
|
|
9565
|
+
tempToolbarChildren.push(
|
|
9566
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9567
|
+
DropdownList,
|
|
9568
|
+
{
|
|
9569
|
+
...child.props,
|
|
9570
|
+
className: `k-toolbar-dropdownlist ${child.props.className ? child.props.className : ""}`
|
|
9571
|
+
},
|
|
9572
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9573
|
+
) })
|
|
9574
|
+
);
|
|
9575
|
+
} else if (child.type === ColorPicker) {
|
|
9576
|
+
tempToolbarChildren.push(
|
|
9577
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9578
|
+
ColorPicker,
|
|
9579
|
+
{
|
|
9580
|
+
...child.props,
|
|
9581
|
+
className: `k-toolbar-colorpicker ${child.props.className ? child.props.className : ""}`
|
|
9582
|
+
},
|
|
9583
|
+
`${index}-${(/* @__PURE__ */ new Date()).getTime()}`
|
|
9584
|
+
) })
|
|
9585
|
+
);
|
|
9586
|
+
} else {
|
|
9587
|
+
tempToolbarChildren.push(child);
|
|
9588
|
+
}
|
|
9589
|
+
tempToolbarChildren.forEach((item) => {
|
|
9590
|
+
toolbarChildren.push(item);
|
|
9591
|
+
});
|
|
9592
|
+
};
|
|
9593
|
+
if (props.children) {
|
|
9594
|
+
const childrenArray = Array.isArray(props.children) ? props.children : [props.children];
|
|
9595
|
+
childrenArray.forEach((child, index) => {
|
|
9596
|
+
addUniqueToolClass(child, index);
|
|
9597
|
+
});
|
|
9598
|
+
}
|
|
9599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9600
|
+
"div",
|
|
9601
|
+
{
|
|
9602
|
+
...other,
|
|
9603
|
+
className: classNames(
|
|
9604
|
+
props.className,
|
|
9605
|
+
TOOLBARANGULAR_CLASSNAME,
|
|
9606
|
+
optionClassNames(TOOLBARANGULAR_CLASSNAME, {
|
|
9607
|
+
size
|
|
9608
|
+
}),
|
|
9609
|
+
stateClassNames(TOOLBARANGULAR_CLASSNAME, {
|
|
9610
|
+
focus
|
|
9611
|
+
}),
|
|
9612
|
+
{
|
|
9613
|
+
[`${TOOLBARANGULAR_CLASSNAME}-resizable`]: resizable
|
|
9614
|
+
}
|
|
9615
|
+
),
|
|
9616
|
+
children: toolbarChildren
|
|
9617
|
+
}
|
|
9618
|
+
);
|
|
9619
|
+
};
|
|
9620
|
+
ToolbarAngular.states = states63;
|
|
9621
|
+
ToolbarAngular.options = options57;
|
|
9622
|
+
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
9623
|
+
ToolbarAngular.defaultProps = defaultProps58;
|
|
9624
|
+
|
|
9625
|
+
// src/toolbar/toolbar-separator.tsx
|
|
9626
|
+
var import_jsx_runtime191 = require("react/jsx-runtime");
|
|
9627
|
+
|
|
9628
|
+
// src/toolbar/toolbar-item.spec.tsx
|
|
9629
|
+
var import_jsx_runtime192 = require("react/jsx-runtime");
|
|
9630
|
+
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
9631
|
+
var states64 = [
|
|
9632
|
+
States.focus
|
|
9633
|
+
];
|
|
9634
|
+
var options58 = {};
|
|
9635
|
+
var defaultProps59 = {};
|
|
9636
|
+
var ToolbarItem = (props) => {
|
|
9637
|
+
const {
|
|
9638
|
+
focus,
|
|
9639
|
+
...other
|
|
9640
|
+
} = props;
|
|
9641
|
+
return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9642
|
+
"div",
|
|
9643
|
+
{
|
|
9644
|
+
...other,
|
|
9645
|
+
className: classNames(
|
|
9646
|
+
props.className,
|
|
9647
|
+
TOOLBARITEM_CLASSNAME,
|
|
9648
|
+
stateClassNames(TOOLBARITEM_CLASSNAME, {
|
|
9649
|
+
focus
|
|
9650
|
+
})
|
|
9651
|
+
),
|
|
9652
|
+
children: props.children
|
|
9653
|
+
}
|
|
9654
|
+
);
|
|
9655
|
+
};
|
|
9656
|
+
ToolbarItem.states = states64;
|
|
9657
|
+
ToolbarItem.options = options58;
|
|
9658
|
+
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
9659
|
+
ToolbarItem.defaultProps = defaultProps59;
|
|
9660
|
+
|
|
9661
|
+
// src/toolbar/toolbar-popup.spec.tsx
|
|
9662
|
+
var import_jsx_runtime193 = require("react/jsx-runtime");
|
|
9663
|
+
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
9664
|
+
var states65 = [];
|
|
9665
|
+
var options59 = {};
|
|
9666
|
+
var defaultProps60 = {};
|
|
9667
|
+
var ToolbarPopup = (props) => {
|
|
9668
|
+
const { ...other } = props;
|
|
9669
|
+
return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
|
|
9670
|
+
Popup,
|
|
9671
|
+
{
|
|
9672
|
+
...other,
|
|
9673
|
+
className: classNames(
|
|
9674
|
+
props.className,
|
|
9675
|
+
TOOLBARPOPUP_CLASSNAME
|
|
9676
|
+
),
|
|
9677
|
+
children: props.children
|
|
9678
|
+
}
|
|
9679
|
+
);
|
|
9680
|
+
};
|
|
9681
|
+
ToolbarPopup.states = states65;
|
|
9682
|
+
ToolbarPopup.options = options59;
|
|
9683
|
+
ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
9684
|
+
ToolbarPopup.defaultProps = defaultProps60;
|
|
9685
|
+
|
|
9686
|
+
// src/split-button/templates/icon-split-button.tsx
|
|
9687
|
+
var import_jsx_runtime194 = require("react/jsx-runtime");
|
|
9688
|
+
|
|
9689
|
+
// src/split-button/templates/icon-text-split-button.tsx
|
|
9690
|
+
var import_jsx_runtime195 = require("react/jsx-runtime");
|
|
9691
|
+
|
|
9692
|
+
// src/split-button/templates/text-split-button.tsx
|
|
9693
|
+
var import_jsx_runtime196 = require("react/jsx-runtime");
|
|
9694
|
+
|
|
9695
|
+
// src/split-button/templates/split-button-popup.tsx
|
|
9696
|
+
var import_jsx_runtime197 = require("react/jsx-runtime");
|
|
9697
|
+
|
|
9698
|
+
// src/toolbar/templates/toolbar-normal.tsx
|
|
9699
|
+
var import_jsx_runtime198 = require("react/jsx-runtime");
|
|
9700
|
+
|
|
9701
|
+
// src/toolbar/templates/toolbar-resizable.tsx
|
|
9702
|
+
var import_jsx_runtime199 = require("react/jsx-runtime");
|
|
9703
|
+
|
|
9704
|
+
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
9705
|
+
var import_jsx_runtime200 = require("react/jsx-runtime");
|
|
9706
|
+
|
|
9707
|
+
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
9708
|
+
var import_jsx_runtime201 = require("react/jsx-runtime");
|
|
9709
|
+
|
|
9710
|
+
// src/grid/grid-toolbar.spec.tsx
|
|
9711
|
+
var import_jsx_runtime202 = require("react/jsx-runtime");
|
|
9712
|
+
|
|
8276
9713
|
// src/grid/tests/grid-filter-row.tsx
|
|
8277
|
-
var
|
|
8278
|
-
var grid_filter_row_default = () => /* @__PURE__ */ (0,
|
|
8279
|
-
/* @__PURE__ */ (0,
|
|
8280
|
-
/* @__PURE__ */ (0,
|
|
8281
|
-
/* @__PURE__ */ (0,
|
|
8282
|
-
/* @__PURE__ */ (0,
|
|
8283
|
-
/* @__PURE__ */ (0,
|
|
8284
|
-
/* @__PURE__ */ (0,
|
|
9714
|
+
var import_jsx_runtime203 = require("react/jsx-runtime");
|
|
9715
|
+
var grid_filter_row_default = () => /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(import_jsx_runtime203.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-3", children: [
|
|
9716
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9717
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9718
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9719
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(ColorPicker, {}),
|
|
9720
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9721
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8285
9722
|
] }) }) }) }) })
|
|
8286
9723
|
] }) }) }) }) }),
|
|
8287
|
-
/* @__PURE__ */ (0,
|
|
8288
|
-
/* @__PURE__ */ (0,
|
|
8289
|
-
/* @__PURE__ */ (0,
|
|
8290
|
-
/* @__PURE__ */ (0,
|
|
8291
|
-
/* @__PURE__ */ (0,
|
|
8292
|
-
/* @__PURE__ */ (0,
|
|
8293
|
-
/* @__PURE__ */ (0,
|
|
8294
|
-
/* @__PURE__ */ (0,
|
|
9724
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", {}),
|
|
9725
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", {}),
|
|
9726
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9727
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9728
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9729
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Autocomplete, { placeholder: "Autocomplete..." }),
|
|
9730
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9731
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8295
9732
|
] }) }) }) }) })
|
|
8296
9733
|
] }) }) }) }) }),
|
|
8297
|
-
/* @__PURE__ */ (0,
|
|
8298
|
-
/* @__PURE__ */ (0,
|
|
8299
|
-
/* @__PURE__ */ (0,
|
|
8300
|
-
/* @__PURE__ */ (0,
|
|
8301
|
-
/* @__PURE__ */ (0,
|
|
8302
|
-
/* @__PURE__ */ (0,
|
|
9734
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9735
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9736
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9737
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Combobox, { placeholder: "Combobox..." }),
|
|
9738
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9739
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8303
9740
|
] }) }) }) }) })
|
|
8304
9741
|
] }) }) }) }) }),
|
|
8305
|
-
/* @__PURE__ */ (0,
|
|
8306
|
-
/* @__PURE__ */ (0,
|
|
8307
|
-
/* @__PURE__ */ (0,
|
|
8308
|
-
/* @__PURE__ */ (0,
|
|
8309
|
-
/* @__PURE__ */ (0,
|
|
8310
|
-
/* @__PURE__ */ (0,
|
|
9742
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9743
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9744
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9745
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { placeholder: "DropdownList..." }),
|
|
9746
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9747
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8311
9748
|
] }) }) }) }) })
|
|
8312
9749
|
] }) }) }) }) }),
|
|
8313
|
-
/* @__PURE__ */ (0,
|
|
8314
|
-
/* @__PURE__ */ (0,
|
|
8315
|
-
/* @__PURE__ */ (0,
|
|
8316
|
-
/* @__PURE__ */ (0,
|
|
8317
|
-
/* @__PURE__ */ (0,
|
|
8318
|
-
/* @__PURE__ */ (0,
|
|
9750
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9751
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9752
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9753
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(NumericTextbox, { placeholder: "Numeric..." }),
|
|
9754
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9755
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8319
9756
|
] }) }) }) }) })
|
|
8320
9757
|
] }) }) }) }) }),
|
|
8321
|
-
/* @__PURE__ */ (0,
|
|
8322
|
-
/* @__PURE__ */ (0,
|
|
8323
|
-
/* @__PURE__ */ (0,
|
|
8324
|
-
/* @__PURE__ */ (0,
|
|
8325
|
-
/* @__PURE__ */ (0,
|
|
8326
|
-
/* @__PURE__ */ (0,
|
|
9758
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9759
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9760
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9761
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Textbox, { placeholder: "Textbox..." }),
|
|
9762
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9763
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8327
9764
|
] }) }) }) }) })
|
|
8328
9765
|
] }) }) }) }) }),
|
|
8329
|
-
/* @__PURE__ */ (0,
|
|
8330
|
-
/* @__PURE__ */ (0,
|
|
8331
|
-
/* @__PURE__ */ (0,
|
|
8332
|
-
/* @__PURE__ */ (0,
|
|
8333
|
-
/* @__PURE__ */ (0,
|
|
8334
|
-
/* @__PURE__ */ (0,
|
|
8335
|
-
/* @__PURE__ */ (0,
|
|
9766
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", {}),
|
|
9767
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9768
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9769
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9770
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DatePicker, { placeholder: "Datepicker..." }),
|
|
9771
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9772
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8336
9773
|
] }) }) }) }) })
|
|
8337
9774
|
] }) }) }) }) }),
|
|
8338
|
-
/* @__PURE__ */ (0,
|
|
8339
|
-
/* @__PURE__ */ (0,
|
|
8340
|
-
/* @__PURE__ */ (0,
|
|
8341
|
-
/* @__PURE__ */ (0,
|
|
8342
|
-
/* @__PURE__ */ (0,
|
|
8343
|
-
/* @__PURE__ */ (0,
|
|
9775
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9776
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9777
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9778
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TimePicker, { placeholder: "TimePicker..." }),
|
|
9779
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9780
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8344
9781
|
] }) }) }) }) })
|
|
8345
9782
|
] }) }) }) }) }),
|
|
8346
|
-
/* @__PURE__ */ (0,
|
|
8347
|
-
/* @__PURE__ */ (0,
|
|
8348
|
-
/* @__PURE__ */ (0,
|
|
8349
|
-
/* @__PURE__ */ (0,
|
|
8350
|
-
/* @__PURE__ */ (0,
|
|
8351
|
-
/* @__PURE__ */ (0,
|
|
9783
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "section", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Grid, { className: "k-grid-display-block k-grid-no-scrollbar", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(GridHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { className: "k-grid-header-wrap k-auto-scrollable", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(GridHeaderTable, { children: [
|
|
9784
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)("colgroup", { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("col", {}) }),
|
|
9785
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableThead, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableRow, { className: "k-filter-row", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TableTh, { children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "k-filtercell", children: /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { children: [
|
|
9786
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DateTimePicker, { placeholder: "DateTimePicker..." }),
|
|
9787
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
9788
|
+
/* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Button, { icon: "filter-clear", disabled: true })
|
|
8352
9789
|
] }) }) }) }) })
|
|
8353
9790
|
] }) }) }) }) })
|
|
8354
9791
|
] }) });
|