@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
|
@@ -5867,26 +5867,771 @@ import { Fragment as Fragment20, jsx as jsx60 } from "react/jsx-runtime";
|
|
|
5867
5867
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5868
5868
|
import { Fragment as Fragment21, jsx as jsx61 } from "react/jsx-runtime";
|
|
5869
5869
|
|
|
5870
|
+
// src/grid/grid.spec.tsx
|
|
5871
|
+
import { jsx as jsx62, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5872
|
+
var GRID_CLASSNAME = "k-grid";
|
|
5873
|
+
var states26 = [];
|
|
5874
|
+
var options25 = {
|
|
5875
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5876
|
+
};
|
|
5877
|
+
var defaultProps26 = {
|
|
5878
|
+
size: Size.medium,
|
|
5879
|
+
pagerPosition: "bottom"
|
|
5880
|
+
};
|
|
5881
|
+
var Grid = (props) => {
|
|
5882
|
+
const {
|
|
5883
|
+
size = defaultProps26.size,
|
|
5884
|
+
toolbar,
|
|
5885
|
+
pager,
|
|
5886
|
+
pagerPosition,
|
|
5887
|
+
groupingHeader,
|
|
5888
|
+
_renderAriaRoot,
|
|
5889
|
+
...other
|
|
5890
|
+
} = props;
|
|
5891
|
+
return /* @__PURE__ */ jsxs23(
|
|
5892
|
+
"div",
|
|
5893
|
+
{
|
|
5894
|
+
...other,
|
|
5895
|
+
className: classNames(
|
|
5896
|
+
props.className,
|
|
5897
|
+
GRID_CLASSNAME,
|
|
5898
|
+
optionClassNames(GRID_CLASSNAME, { size })
|
|
5899
|
+
),
|
|
5900
|
+
children: [
|
|
5901
|
+
toolbar,
|
|
5902
|
+
pagerPosition === "top" && pager,
|
|
5903
|
+
groupingHeader,
|
|
5904
|
+
props.children && _renderAriaRoot ? /* @__PURE__ */ jsx62("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
|
|
5905
|
+
pagerPosition === "bottom" && pager
|
|
5906
|
+
]
|
|
5907
|
+
}
|
|
5908
|
+
);
|
|
5909
|
+
};
|
|
5910
|
+
Grid.states = states26;
|
|
5911
|
+
Grid.options = options25;
|
|
5912
|
+
Grid.className = GRID_CLASSNAME;
|
|
5913
|
+
Grid.defaultProps = defaultProps26;
|
|
5914
|
+
|
|
5915
|
+
// src/grid/grid-header.spec.tsx
|
|
5916
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5917
|
+
var className14 = `k-grid-header`;
|
|
5918
|
+
var GridHeader = (props) => /* @__PURE__ */ jsx63(
|
|
5919
|
+
"div",
|
|
5920
|
+
{
|
|
5921
|
+
...props,
|
|
5922
|
+
className: classNames(
|
|
5923
|
+
props.className,
|
|
5924
|
+
className14
|
|
5925
|
+
),
|
|
5926
|
+
children: props.children
|
|
5927
|
+
}
|
|
5928
|
+
);
|
|
5929
|
+
|
|
5930
|
+
// src/grid/grid-grouping-header.spec.tsx
|
|
5931
|
+
import { jsx as jsx64, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5932
|
+
|
|
5933
|
+
// src/table/data-table.spec.tsx
|
|
5934
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
5935
|
+
var DATATABLE_CLASSNAME = `k-data-table`;
|
|
5936
|
+
var states27 = [];
|
|
5937
|
+
var options26 = {
|
|
5938
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5939
|
+
};
|
|
5940
|
+
var defaultProps27 = {
|
|
5941
|
+
size: Size.medium
|
|
5942
|
+
};
|
|
5943
|
+
var DataTable = (props) => {
|
|
5944
|
+
const {
|
|
5945
|
+
size = defaultProps27.size,
|
|
5946
|
+
...other
|
|
5947
|
+
} = props;
|
|
5948
|
+
return /* @__PURE__ */ jsx65(
|
|
5949
|
+
"div",
|
|
5950
|
+
{
|
|
5951
|
+
...other,
|
|
5952
|
+
className: classNames(
|
|
5953
|
+
props.className,
|
|
5954
|
+
DATATABLE_CLASSNAME,
|
|
5955
|
+
optionClassNames("k-table", {
|
|
5956
|
+
size
|
|
5957
|
+
})
|
|
5958
|
+
),
|
|
5959
|
+
children: props.children
|
|
5960
|
+
}
|
|
5961
|
+
);
|
|
5962
|
+
};
|
|
5963
|
+
DataTable.states = states27;
|
|
5964
|
+
DataTable.options = options26;
|
|
5965
|
+
DataTable.className = DATATABLE_CLASSNAME;
|
|
5966
|
+
DataTable.defaultProps = defaultProps27;
|
|
5967
|
+
|
|
5968
|
+
// src/table/table-header.tsx
|
|
5969
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
5970
|
+
|
|
5971
|
+
// src/table/table-body.tsx
|
|
5972
|
+
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
5973
|
+
|
|
5974
|
+
// src/table/table-footer.tsx
|
|
5975
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
5976
|
+
|
|
5977
|
+
// src/table/table.spec.tsx
|
|
5978
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
5979
|
+
var TABLE_CLASSNAME = `k-table`;
|
|
5980
|
+
var states28 = [];
|
|
5981
|
+
var options27 = {
|
|
5982
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5983
|
+
};
|
|
5984
|
+
var defaultProps28 = {};
|
|
5985
|
+
var Table = (props) => {
|
|
5986
|
+
const {
|
|
5987
|
+
size,
|
|
5988
|
+
...other
|
|
5989
|
+
} = props;
|
|
5990
|
+
return /* @__PURE__ */ jsx69(
|
|
5991
|
+
"table",
|
|
5992
|
+
{
|
|
5993
|
+
...other,
|
|
5994
|
+
className: classNames(
|
|
5995
|
+
props.className,
|
|
5996
|
+
TABLE_CLASSNAME,
|
|
5997
|
+
optionClassNames(TABLE_CLASSNAME, {
|
|
5998
|
+
size
|
|
5999
|
+
})
|
|
6000
|
+
),
|
|
6001
|
+
children: props.children
|
|
6002
|
+
}
|
|
6003
|
+
);
|
|
6004
|
+
};
|
|
6005
|
+
Table.states = states28;
|
|
6006
|
+
Table.options = options27;
|
|
6007
|
+
Table.className = TABLE_CLASSNAME;
|
|
6008
|
+
Table.defaultProps = defaultProps28;
|
|
6009
|
+
|
|
6010
|
+
// src/table/table-list.spec.tsx
|
|
6011
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
6012
|
+
var TABLELIST_CLASSNAME = `k-table-list`;
|
|
6013
|
+
var states29 = [];
|
|
6014
|
+
var options28 = {
|
|
6015
|
+
size: [Size.small, Size.medium, Size.large]
|
|
6016
|
+
};
|
|
6017
|
+
var defaultProps29 = {};
|
|
6018
|
+
var TableList = (props) => {
|
|
6019
|
+
const {
|
|
6020
|
+
size,
|
|
6021
|
+
virtualization,
|
|
6022
|
+
...other
|
|
6023
|
+
} = props;
|
|
6024
|
+
return /* @__PURE__ */ jsx70(
|
|
6025
|
+
"ul",
|
|
6026
|
+
{
|
|
6027
|
+
...other,
|
|
6028
|
+
className: classNames(
|
|
6029
|
+
props.className,
|
|
6030
|
+
"k-table",
|
|
6031
|
+
TABLELIST_CLASSNAME,
|
|
6032
|
+
optionClassNames(TABLELIST_CLASSNAME, {
|
|
6033
|
+
size
|
|
6034
|
+
}),
|
|
6035
|
+
{
|
|
6036
|
+
"k-virtual-table": virtualization
|
|
6037
|
+
}
|
|
6038
|
+
),
|
|
6039
|
+
children: props.children
|
|
6040
|
+
}
|
|
6041
|
+
);
|
|
6042
|
+
};
|
|
6043
|
+
TableList.states = states29;
|
|
6044
|
+
TableList.options = options28;
|
|
6045
|
+
TableList.className = TABLELIST_CLASSNAME;
|
|
6046
|
+
TableList.defaultProps = defaultProps29;
|
|
6047
|
+
|
|
6048
|
+
// src/table/table-thead.tsx
|
|
6049
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6050
|
+
var className15 = `k-table-thead`;
|
|
6051
|
+
var TableThead = (props) => /* @__PURE__ */ jsx71(
|
|
6052
|
+
"thead",
|
|
6053
|
+
{
|
|
6054
|
+
className: classNames(
|
|
6055
|
+
props.className,
|
|
6056
|
+
className15
|
|
6057
|
+
),
|
|
6058
|
+
children: props.children
|
|
6059
|
+
}
|
|
6060
|
+
);
|
|
6061
|
+
|
|
6062
|
+
// src/table/table-tbody.tsx
|
|
6063
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6064
|
+
var className16 = `k-table-tbody`;
|
|
6065
|
+
var TableTbody = (props) => /* @__PURE__ */ jsx72(
|
|
6066
|
+
"tbody",
|
|
6067
|
+
{
|
|
6068
|
+
className: classNames(
|
|
6069
|
+
props.className,
|
|
6070
|
+
className16
|
|
6071
|
+
),
|
|
6072
|
+
children: props.children
|
|
6073
|
+
}
|
|
6074
|
+
);
|
|
6075
|
+
|
|
6076
|
+
// src/table/table-tfoot.tsx
|
|
6077
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
6078
|
+
|
|
6079
|
+
// src/table/table-row.tsx
|
|
6080
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6081
|
+
var TABLEROW_CLASSNAME = `k-table-row`;
|
|
6082
|
+
var states30 = [
|
|
6083
|
+
States.hover,
|
|
6084
|
+
States.focus,
|
|
6085
|
+
States.selected,
|
|
6086
|
+
States.disabled
|
|
6087
|
+
];
|
|
6088
|
+
var TableRow = (props) => {
|
|
6089
|
+
const {
|
|
6090
|
+
hover,
|
|
6091
|
+
focus,
|
|
6092
|
+
selected,
|
|
6093
|
+
disabled,
|
|
6094
|
+
alt,
|
|
6095
|
+
...other
|
|
6096
|
+
} = props;
|
|
6097
|
+
return /* @__PURE__ */ jsx74(
|
|
6098
|
+
"tr",
|
|
6099
|
+
{
|
|
6100
|
+
...other,
|
|
6101
|
+
className: classNames(
|
|
6102
|
+
props.className,
|
|
6103
|
+
TABLEROW_CLASSNAME,
|
|
6104
|
+
{
|
|
6105
|
+
["k-table-alt-row"]: alt
|
|
6106
|
+
},
|
|
6107
|
+
stateClassNames(TABLEROW_CLASSNAME, {
|
|
6108
|
+
hover,
|
|
6109
|
+
focus,
|
|
6110
|
+
disabled,
|
|
6111
|
+
selected
|
|
6112
|
+
})
|
|
6113
|
+
),
|
|
6114
|
+
children: props.children
|
|
6115
|
+
}
|
|
6116
|
+
);
|
|
6117
|
+
};
|
|
6118
|
+
|
|
6119
|
+
// src/table/table-list-row.tsx
|
|
6120
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6121
|
+
var states31 = [
|
|
6122
|
+
States.hover,
|
|
6123
|
+
States.focus,
|
|
6124
|
+
States.selected,
|
|
6125
|
+
States.disabled
|
|
6126
|
+
];
|
|
6127
|
+
|
|
6128
|
+
// src/table/table-th.tsx
|
|
6129
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6130
|
+
var className17 = `k-table-th`;
|
|
6131
|
+
var TableTh = (props) => {
|
|
6132
|
+
const {
|
|
6133
|
+
text,
|
|
6134
|
+
colspan,
|
|
6135
|
+
rowspan,
|
|
6136
|
+
...other
|
|
6137
|
+
} = props;
|
|
6138
|
+
const textOrChildren = text ? text : props.children;
|
|
6139
|
+
return /* @__PURE__ */ jsx76(
|
|
6140
|
+
"th",
|
|
6141
|
+
{
|
|
6142
|
+
colSpan: colspan,
|
|
6143
|
+
rowSpan: rowspan,
|
|
6144
|
+
...other,
|
|
6145
|
+
className: classNames(
|
|
6146
|
+
props.className,
|
|
6147
|
+
className17
|
|
6148
|
+
),
|
|
6149
|
+
children: textOrChildren
|
|
6150
|
+
}
|
|
6151
|
+
);
|
|
6152
|
+
};
|
|
6153
|
+
|
|
6154
|
+
// src/table/table-list-th.tsx
|
|
6155
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6156
|
+
|
|
6157
|
+
// src/table/table-td.tsx
|
|
6158
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6159
|
+
var className18 = `k-table-td`;
|
|
6160
|
+
var TableTd = (props) => {
|
|
6161
|
+
const {
|
|
6162
|
+
text,
|
|
6163
|
+
colspan,
|
|
6164
|
+
...other
|
|
6165
|
+
} = props;
|
|
6166
|
+
const textOrChildren = text ? text : props.children;
|
|
6167
|
+
return /* @__PURE__ */ jsx78(
|
|
6168
|
+
"td",
|
|
6169
|
+
{
|
|
6170
|
+
colSpan: colspan,
|
|
6171
|
+
...other,
|
|
6172
|
+
className: classNames(
|
|
6173
|
+
props.className,
|
|
6174
|
+
className18
|
|
6175
|
+
),
|
|
6176
|
+
children: textOrChildren
|
|
6177
|
+
}
|
|
6178
|
+
);
|
|
6179
|
+
};
|
|
6180
|
+
|
|
6181
|
+
// src/table/table-list-td.tsx
|
|
6182
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
6183
|
+
|
|
6184
|
+
// src/table/table-group-header.tsx
|
|
6185
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6186
|
+
|
|
6187
|
+
// src/table/table-group-sticky-header.tsx
|
|
6188
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6189
|
+
|
|
6190
|
+
// src/table/table-group-row.tsx
|
|
6191
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6192
|
+
|
|
6193
|
+
// src/table/table-list-group-row.tsx
|
|
6194
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
6195
|
+
|
|
6196
|
+
// src/table/templates/table-list.tsx
|
|
6197
|
+
import { jsx as jsx84, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6198
|
+
|
|
6199
|
+
// src/table/templates/table-list-virtualization.tsx
|
|
6200
|
+
import { jsx as jsx85, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6201
|
+
|
|
6202
|
+
// src/table/templates/data-table-normal.tsx
|
|
6203
|
+
import { jsx as jsx86, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6204
|
+
|
|
6205
|
+
// src/table/templates/table-native.tsx
|
|
6206
|
+
import { jsx as jsx87, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6207
|
+
|
|
6208
|
+
// src/grid/grid-header-table.spec.tsx
|
|
6209
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
6210
|
+
var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
|
|
6211
|
+
var GridHeaderTable = (props) => /* @__PURE__ */ jsx88(
|
|
6212
|
+
Table,
|
|
6213
|
+
{
|
|
6214
|
+
size: "medium",
|
|
6215
|
+
...props,
|
|
6216
|
+
className: classNames(
|
|
6217
|
+
props.className,
|
|
6218
|
+
GRIDHEADERTABLE_CLASSNAME
|
|
6219
|
+
),
|
|
6220
|
+
children: props.children
|
|
6221
|
+
}
|
|
6222
|
+
);
|
|
6223
|
+
|
|
6224
|
+
// src/grid/grid-header-cell.spec.tsx
|
|
6225
|
+
import { jsx as jsx89, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6226
|
+
var className19 = `k-header`;
|
|
6227
|
+
var states32 = [
|
|
6228
|
+
States.hover,
|
|
6229
|
+
States.focus,
|
|
6230
|
+
States.active
|
|
6231
|
+
];
|
|
6232
|
+
var defaultProps30 = {
|
|
6233
|
+
sortIcon: "sort-asc-small"
|
|
6234
|
+
};
|
|
6235
|
+
var GridHeaderCell = (props) => {
|
|
6236
|
+
const {
|
|
6237
|
+
menu,
|
|
6238
|
+
sortable,
|
|
6239
|
+
sticky,
|
|
6240
|
+
resizable,
|
|
6241
|
+
columnTitle,
|
|
6242
|
+
hover,
|
|
6243
|
+
focus,
|
|
6244
|
+
active,
|
|
6245
|
+
sortIcon = defaultProps30.sortIcon,
|
|
6246
|
+
sortOrder,
|
|
6247
|
+
...others
|
|
6248
|
+
} = props;
|
|
6249
|
+
return /* @__PURE__ */ jsxs29(
|
|
6250
|
+
TableTh,
|
|
6251
|
+
{
|
|
6252
|
+
...others,
|
|
6253
|
+
className: classNames(
|
|
6254
|
+
props.className,
|
|
6255
|
+
className19,
|
|
6256
|
+
{
|
|
6257
|
+
[`k-filterable`]: menu === "filter",
|
|
6258
|
+
[`k-sorted`]: sortable,
|
|
6259
|
+
[`k-grid-header-sticky`]: sticky,
|
|
6260
|
+
[`k-touch-action-none`]: resizable
|
|
6261
|
+
},
|
|
6262
|
+
stateClassNames(className19, {
|
|
6263
|
+
hover,
|
|
6264
|
+
focus,
|
|
6265
|
+
active
|
|
6266
|
+
})
|
|
6267
|
+
),
|
|
6268
|
+
children: [
|
|
6269
|
+
columnTitle && /* @__PURE__ */ jsxs29("span", { className: "k-cell-inner", children: [
|
|
6270
|
+
/* @__PURE__ */ jsxs29("span", { className: "k-link", children: [
|
|
6271
|
+
/* @__PURE__ */ jsx89("span", { className: "k-column-title", children: columnTitle }),
|
|
6272
|
+
sortable && /* @__PURE__ */ jsx89("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx89(Icon, { icon: sortIcon }) }),
|
|
6273
|
+
sortOrder && /* @__PURE__ */ jsx89("span", { className: "k-sort-order", children: sortOrder })
|
|
6274
|
+
] }),
|
|
6275
|
+
menu && /* @__PURE__ */ jsx89("a", { href: "#", className: classNames(
|
|
6276
|
+
"k-grid-header-menu",
|
|
6277
|
+
{
|
|
6278
|
+
[`k-active`]: active,
|
|
6279
|
+
[`k-grid-filter-menu`]: menu === "filter",
|
|
6280
|
+
[`k-grid-column-menu`]: menu === "column"
|
|
6281
|
+
}
|
|
6282
|
+
), children: /* @__PURE__ */ jsx89(Icon, { icon: menu === "filter" ? "filter" : "more-vertical" }) })
|
|
6283
|
+
] }),
|
|
6284
|
+
props.children,
|
|
6285
|
+
resizable && /* @__PURE__ */ jsx89("span", { className: "k-column-resizer k-touch-action-none" })
|
|
6286
|
+
]
|
|
6287
|
+
}
|
|
6288
|
+
);
|
|
6289
|
+
};
|
|
6290
|
+
|
|
6291
|
+
// src/grid/grid-container.spec.tsx
|
|
6292
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6293
|
+
var className20 = `k-grid-container`;
|
|
6294
|
+
var GridContainer = (props) => /* @__PURE__ */ jsx90(
|
|
6295
|
+
"div",
|
|
6296
|
+
{
|
|
6297
|
+
...props,
|
|
6298
|
+
className: classNames(
|
|
6299
|
+
props.className,
|
|
6300
|
+
className20
|
|
6301
|
+
),
|
|
6302
|
+
children: props.children
|
|
6303
|
+
}
|
|
6304
|
+
);
|
|
6305
|
+
|
|
6306
|
+
// src/grid/grid-content.spec.tsx
|
|
6307
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
6308
|
+
var className21 = `k-grid-content`;
|
|
6309
|
+
var GridContent = (props) => /* @__PURE__ */ jsx91(
|
|
6310
|
+
"div",
|
|
6311
|
+
{
|
|
6312
|
+
...props,
|
|
6313
|
+
className: classNames(
|
|
6314
|
+
props.className,
|
|
6315
|
+
className21
|
|
6316
|
+
),
|
|
6317
|
+
children: props.children
|
|
6318
|
+
}
|
|
6319
|
+
);
|
|
6320
|
+
|
|
6321
|
+
// src/grid/grid-table.spec.tsx
|
|
6322
|
+
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
6323
|
+
var GRIDTABLE_CLASSNAME = `k-grid-table`;
|
|
6324
|
+
var GridTable = (props) => /* @__PURE__ */ jsx92(
|
|
6325
|
+
Table,
|
|
6326
|
+
{
|
|
6327
|
+
size: "medium",
|
|
6328
|
+
...props,
|
|
6329
|
+
className: classNames(
|
|
6330
|
+
props.className,
|
|
6331
|
+
GRIDTABLE_CLASSNAME
|
|
6332
|
+
),
|
|
6333
|
+
children: props.children
|
|
6334
|
+
}
|
|
6335
|
+
);
|
|
6336
|
+
|
|
6337
|
+
// src/grid/grid-footer.spec.tsx
|
|
6338
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6339
|
+
|
|
6340
|
+
// src/grid/grid-footer-table.spec.tsx
|
|
6341
|
+
import { 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
|
+
|
|
5870
6615
|
// src/button-group/button-group.spec.tsx
|
|
5871
|
-
import { jsx as
|
|
6616
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
5872
6617
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5873
|
-
var
|
|
6618
|
+
var states34 = [
|
|
5874
6619
|
States.disabled
|
|
5875
6620
|
];
|
|
5876
|
-
var
|
|
6621
|
+
var options30 = {
|
|
5877
6622
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
5878
6623
|
};
|
|
5879
|
-
var
|
|
6624
|
+
var defaultProps32 = {
|
|
5880
6625
|
fillMode: FillMode.solid
|
|
5881
6626
|
};
|
|
5882
6627
|
var ButtonGroup = (props) => {
|
|
5883
6628
|
const {
|
|
5884
|
-
fillMode =
|
|
6629
|
+
fillMode = defaultProps32.fillMode,
|
|
5885
6630
|
disabled,
|
|
5886
6631
|
stretched,
|
|
5887
6632
|
...other
|
|
5888
6633
|
} = props;
|
|
5889
|
-
return /* @__PURE__ */
|
|
6634
|
+
return /* @__PURE__ */ jsx101(
|
|
5890
6635
|
"div",
|
|
5891
6636
|
{
|
|
5892
6637
|
...other,
|
|
@@ -5907,35 +6652,35 @@ var ButtonGroup = (props) => {
|
|
|
5907
6652
|
}
|
|
5908
6653
|
);
|
|
5909
6654
|
};
|
|
5910
|
-
ButtonGroup.states =
|
|
5911
|
-
ButtonGroup.options =
|
|
6655
|
+
ButtonGroup.states = states34;
|
|
6656
|
+
ButtonGroup.options = options30;
|
|
5912
6657
|
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
5913
|
-
ButtonGroup.defaultProps =
|
|
6658
|
+
ButtonGroup.defaultProps = defaultProps32;
|
|
5914
6659
|
|
|
5915
6660
|
// src/button-group/templates/icon-button-group.tsx
|
|
5916
|
-
import { jsx as
|
|
6661
|
+
import { jsx as jsx102, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
5917
6662
|
|
|
5918
6663
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5919
|
-
import { jsx as
|
|
6664
|
+
import { jsx as jsx103, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5920
6665
|
|
|
5921
6666
|
// src/button-group/templates/text-button-group.tsx
|
|
5922
|
-
import { jsx as
|
|
6667
|
+
import { jsx as jsx104, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
5923
6668
|
|
|
5924
6669
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5925
|
-
import { jsx as
|
|
6670
|
+
import { jsx as jsx105, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
5926
6671
|
|
|
5927
6672
|
// src/color-preview/color-preview.tsx
|
|
5928
|
-
import { jsx as
|
|
6673
|
+
import { jsx as jsx106, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
5929
6674
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5930
|
-
var
|
|
5931
|
-
var
|
|
6675
|
+
var states35 = [];
|
|
6676
|
+
var options31 = {};
|
|
5932
6677
|
var ColorPreview = (props) => {
|
|
5933
6678
|
const {
|
|
5934
6679
|
color,
|
|
5935
6680
|
iconName,
|
|
5936
6681
|
...other
|
|
5937
6682
|
} = props;
|
|
5938
|
-
return /* @__PURE__ */
|
|
6683
|
+
return /* @__PURE__ */ jsxs35(
|
|
5939
6684
|
"span",
|
|
5940
6685
|
{
|
|
5941
6686
|
...other,
|
|
@@ -5948,8 +6693,8 @@ var ColorPreview = (props) => {
|
|
|
5948
6693
|
}
|
|
5949
6694
|
),
|
|
5950
6695
|
children: [
|
|
5951
|
-
iconName && /* @__PURE__ */
|
|
5952
|
-
/* @__PURE__ */
|
|
6696
|
+
iconName && /* @__PURE__ */ jsx106(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
6697
|
+
/* @__PURE__ */ jsx106(
|
|
5953
6698
|
"span",
|
|
5954
6699
|
{
|
|
5955
6700
|
className: "k-color-preview-mask",
|
|
@@ -5960,14 +6705,14 @@ var ColorPreview = (props) => {
|
|
|
5960
6705
|
}
|
|
5961
6706
|
);
|
|
5962
6707
|
};
|
|
5963
|
-
ColorPreview.states =
|
|
5964
|
-
ColorPreview.options =
|
|
6708
|
+
ColorPreview.states = states35;
|
|
6709
|
+
ColorPreview.options = options31;
|
|
5965
6710
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5966
6711
|
|
|
5967
6712
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5968
|
-
import { Fragment as Fragment22, jsx as
|
|
6713
|
+
import { Fragment as Fragment22, jsx as jsx107, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5969
6714
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5970
|
-
var
|
|
6715
|
+
var states36 = [
|
|
5971
6716
|
States.hover,
|
|
5972
6717
|
States.focus,
|
|
5973
6718
|
States.valid,
|
|
@@ -5975,12 +6720,12 @@ var states28 = [
|
|
|
5975
6720
|
States.required,
|
|
5976
6721
|
States.disabled
|
|
5977
6722
|
];
|
|
5978
|
-
var
|
|
6723
|
+
var options32 = {
|
|
5979
6724
|
size: [Size.small, Size.medium, Size.large],
|
|
5980
6725
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5981
6726
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5982
6727
|
};
|
|
5983
|
-
var
|
|
6728
|
+
var defaultProps33 = {
|
|
5984
6729
|
arrowIconName: "caret-alt-down",
|
|
5985
6730
|
size: Picker.defaultProps.size,
|
|
5986
6731
|
rounded: Picker.defaultProps.rounded,
|
|
@@ -6002,13 +6747,13 @@ var ColorPicker = (props) => {
|
|
|
6002
6747
|
required,
|
|
6003
6748
|
disabled,
|
|
6004
6749
|
valueIconName,
|
|
6005
|
-
arrowIconName =
|
|
6750
|
+
arrowIconName = defaultProps33.arrowIconName,
|
|
6006
6751
|
popup,
|
|
6007
6752
|
opened,
|
|
6008
6753
|
...other
|
|
6009
6754
|
} = props;
|
|
6010
|
-
return /* @__PURE__ */
|
|
6011
|
-
/* @__PURE__ */
|
|
6755
|
+
return /* @__PURE__ */ jsxs36(Fragment22, { children: [
|
|
6756
|
+
/* @__PURE__ */ jsxs36(
|
|
6012
6757
|
Picker,
|
|
6013
6758
|
{
|
|
6014
6759
|
...other,
|
|
@@ -6027,14 +6772,14 @@ var ColorPicker = (props) => {
|
|
|
6027
6772
|
"k-icon-picker"
|
|
6028
6773
|
),
|
|
6029
6774
|
children: [
|
|
6030
|
-
/* @__PURE__ */
|
|
6031
|
-
/* @__PURE__ */
|
|
6775
|
+
/* @__PURE__ */ jsx107(InputPrefix, { children: prefix }),
|
|
6776
|
+
/* @__PURE__ */ jsx107(
|
|
6032
6777
|
InputInnerSpan,
|
|
6033
6778
|
{
|
|
6034
6779
|
placeholder,
|
|
6035
6780
|
value,
|
|
6036
6781
|
showValue: false,
|
|
6037
|
-
valueIcon: /* @__PURE__ */
|
|
6782
|
+
valueIcon: /* @__PURE__ */ jsx107(
|
|
6038
6783
|
ColorPreview,
|
|
6039
6784
|
{
|
|
6040
6785
|
className: "k-value-icon",
|
|
@@ -6045,8 +6790,8 @@ var ColorPicker = (props) => {
|
|
|
6045
6790
|
valueIconName
|
|
6046
6791
|
}
|
|
6047
6792
|
),
|
|
6048
|
-
/* @__PURE__ */
|
|
6049
|
-
/* @__PURE__ */
|
|
6793
|
+
/* @__PURE__ */ jsx107(InputSuffix, { children: suffix }),
|
|
6794
|
+
/* @__PURE__ */ jsx107(
|
|
6050
6795
|
Button,
|
|
6051
6796
|
{
|
|
6052
6797
|
className: "k-input-button",
|
|
@@ -6059,33 +6804,33 @@ var ColorPicker = (props) => {
|
|
|
6059
6804
|
]
|
|
6060
6805
|
}
|
|
6061
6806
|
),
|
|
6062
|
-
opened && popup && /* @__PURE__ */
|
|
6807
|
+
opened && popup && /* @__PURE__ */ jsx107(Popup, { className: "k-color-picker-popup", children: popup })
|
|
6063
6808
|
] });
|
|
6064
6809
|
};
|
|
6065
|
-
ColorPicker.states =
|
|
6066
|
-
ColorPicker.options =
|
|
6810
|
+
ColorPicker.states = states36;
|
|
6811
|
+
ColorPicker.options = options32;
|
|
6067
6812
|
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
6068
|
-
ColorPicker.defaultProps =
|
|
6813
|
+
ColorPicker.defaultProps = defaultProps33;
|
|
6069
6814
|
|
|
6070
6815
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
6071
|
-
import { jsx as
|
|
6816
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
6072
6817
|
|
|
6073
6818
|
// src/action-buttons/action-buttons.spec.tsx
|
|
6074
|
-
import { jsx as
|
|
6819
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
6075
6820
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
6076
|
-
var
|
|
6077
|
-
var
|
|
6078
|
-
var
|
|
6821
|
+
var states37 = [];
|
|
6822
|
+
var options33 = {};
|
|
6823
|
+
var defaultProps34 = {
|
|
6079
6824
|
alignment: "start",
|
|
6080
6825
|
orientation: "horizontal"
|
|
6081
6826
|
};
|
|
6082
6827
|
var ActionButtons = (props) => {
|
|
6083
6828
|
const {
|
|
6084
|
-
alignment =
|
|
6085
|
-
orientation =
|
|
6829
|
+
alignment = defaultProps34.alignment,
|
|
6830
|
+
orientation = defaultProps34.orientation,
|
|
6086
6831
|
...other
|
|
6087
6832
|
} = props;
|
|
6088
|
-
return /* @__PURE__ */
|
|
6833
|
+
return /* @__PURE__ */ jsx109(
|
|
6089
6834
|
"div",
|
|
6090
6835
|
{
|
|
6091
6836
|
...other,
|
|
@@ -6101,24 +6846,24 @@ var ActionButtons = (props) => {
|
|
|
6101
6846
|
}
|
|
6102
6847
|
);
|
|
6103
6848
|
};
|
|
6104
|
-
ActionButtons.states =
|
|
6105
|
-
ActionButtons.options =
|
|
6849
|
+
ActionButtons.states = states37;
|
|
6850
|
+
ActionButtons.options = options33;
|
|
6106
6851
|
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
6107
|
-
ActionButtons.defaultProps =
|
|
6852
|
+
ActionButtons.defaultProps = defaultProps34;
|
|
6108
6853
|
var action_buttons_spec_default = ActionButtons;
|
|
6109
6854
|
|
|
6110
6855
|
// src/slider/slider.spec.tsx
|
|
6111
|
-
import { jsx as
|
|
6856
|
+
import { jsx as jsx110, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6112
6857
|
var SLIDER_CLASSNAME = "k-slider";
|
|
6113
|
-
var
|
|
6858
|
+
var states38 = [
|
|
6114
6859
|
States.hover,
|
|
6115
6860
|
States.focus,
|
|
6116
6861
|
States.active,
|
|
6117
6862
|
States.disabled,
|
|
6118
6863
|
States.readonly
|
|
6119
6864
|
];
|
|
6120
|
-
var
|
|
6121
|
-
var
|
|
6865
|
+
var options34 = {};
|
|
6866
|
+
var defaultProps35 = {
|
|
6122
6867
|
type: "single",
|
|
6123
6868
|
orientation: "horizontal",
|
|
6124
6869
|
readonly: false,
|
|
@@ -6129,13 +6874,13 @@ var defaultProps29 = {
|
|
|
6129
6874
|
};
|
|
6130
6875
|
var Slider = (props) => {
|
|
6131
6876
|
const {
|
|
6132
|
-
type =
|
|
6133
|
-
orientation =
|
|
6134
|
-
readonly =
|
|
6135
|
-
disabled =
|
|
6136
|
-
handlePosition =
|
|
6137
|
-
showButtons =
|
|
6138
|
-
showTicks =
|
|
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,
|
|
6139
6884
|
hover,
|
|
6140
6885
|
focus,
|
|
6141
6886
|
active,
|
|
@@ -6151,7 +6896,7 @@ var Slider = (props) => {
|
|
|
6151
6896
|
iconIncrease = "caret-alt-up";
|
|
6152
6897
|
iconDecrease = "caret-alt-down";
|
|
6153
6898
|
}
|
|
6154
|
-
return /* @__PURE__ */
|
|
6899
|
+
return /* @__PURE__ */ jsxs37("div", { className: classNames(
|
|
6155
6900
|
SLIDER_CLASSNAME,
|
|
6156
6901
|
props.className,
|
|
6157
6902
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6164,12 +6909,12 @@ var Slider = (props) => {
|
|
|
6164
6909
|
"k-range-slider": type === "range"
|
|
6165
6910
|
}
|
|
6166
6911
|
), dir, children: [
|
|
6167
|
-
showButtons && /* @__PURE__ */
|
|
6168
|
-
/* @__PURE__ */
|
|
6169
|
-
showTicks && /* @__PURE__ */
|
|
6170
|
-
/* @__PURE__ */
|
|
6171
|
-
/* @__PURE__ */
|
|
6172
|
-
type === "range" && /* @__PURE__ */
|
|
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(
|
|
6173
6918
|
"k-draghandle",
|
|
6174
6919
|
"k-draghandle-start",
|
|
6175
6920
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6178,7 +6923,7 @@ var Slider = (props) => {
|
|
|
6178
6923
|
active
|
|
6179
6924
|
})
|
|
6180
6925
|
) }),
|
|
6181
|
-
/* @__PURE__ */
|
|
6926
|
+
/* @__PURE__ */ jsx110("span", { className: classNames(
|
|
6182
6927
|
"k-draghandle",
|
|
6183
6928
|
`k-draghandle-${handlePosition}`,
|
|
6184
6929
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6189,219 +6934,219 @@ var Slider = (props) => {
|
|
|
6189
6934
|
) })
|
|
6190
6935
|
] })
|
|
6191
6936
|
] }),
|
|
6192
|
-
showButtons && /* @__PURE__ */
|
|
6937
|
+
showButtons && /* @__PURE__ */ jsx110(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6193
6938
|
] });
|
|
6194
6939
|
};
|
|
6195
|
-
Slider.states =
|
|
6196
|
-
Slider.options =
|
|
6940
|
+
Slider.states = states38;
|
|
6941
|
+
Slider.options = options34;
|
|
6197
6942
|
Slider.className = SLIDER_CLASSNAME;
|
|
6198
|
-
Slider.defaultProps =
|
|
6943
|
+
Slider.defaultProps = defaultProps35;
|
|
6199
6944
|
|
|
6200
6945
|
// src/slider/slider-tick.tsx
|
|
6201
|
-
import { jsx as
|
|
6946
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
6202
6947
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6203
|
-
var
|
|
6204
|
-
var
|
|
6205
|
-
var
|
|
6948
|
+
var states39 = [];
|
|
6949
|
+
var options35 = {};
|
|
6950
|
+
var defaultProps36 = {
|
|
6206
6951
|
label: false
|
|
6207
6952
|
};
|
|
6208
6953
|
var SliderTick = (props) => {
|
|
6209
6954
|
const {
|
|
6210
6955
|
style,
|
|
6211
|
-
label =
|
|
6956
|
+
label = defaultProps36.label,
|
|
6212
6957
|
orientation,
|
|
6213
6958
|
large,
|
|
6214
6959
|
text
|
|
6215
6960
|
} = props;
|
|
6216
|
-
return /* @__PURE__ */
|
|
6961
|
+
return /* @__PURE__ */ jsx111("li", { className: classNames(
|
|
6217
6962
|
props.className,
|
|
6218
6963
|
SLIDER_TICK_CLASSNAME,
|
|
6219
6964
|
{
|
|
6220
6965
|
[`k-tick-${orientation}`]: orientation,
|
|
6221
6966
|
"k-tick-large": large
|
|
6222
6967
|
}
|
|
6223
|
-
), style, children: label && /* @__PURE__ */
|
|
6968
|
+
), style, children: label && /* @__PURE__ */ jsx111("span", { className: "k-label", children: text }) });
|
|
6224
6969
|
};
|
|
6225
|
-
SliderTick.states =
|
|
6226
|
-
SliderTick.options =
|
|
6970
|
+
SliderTick.states = states39;
|
|
6971
|
+
SliderTick.options = options35;
|
|
6227
6972
|
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
6228
|
-
SliderTick.defaultProps =
|
|
6973
|
+
SliderTick.defaultProps = defaultProps36;
|
|
6229
6974
|
|
|
6230
6975
|
// src/slider/templates/slider-normal.tsx
|
|
6231
|
-
import { Fragment as Fragment23, jsx as
|
|
6976
|
+
import { Fragment as Fragment23, jsx as jsx112, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6232
6977
|
|
|
6233
6978
|
// src/slider/templates/slider-vertical.tsx
|
|
6234
|
-
import { Fragment as Fragment24, jsx as
|
|
6979
|
+
import { Fragment as Fragment24, jsx as jsx113, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6235
6980
|
|
|
6236
6981
|
// src/slider/templates/slider-range.tsx
|
|
6237
|
-
import { Fragment as Fragment25, jsx as
|
|
6982
|
+
import { Fragment as Fragment25, jsx as jsx114, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6238
6983
|
|
|
6239
6984
|
// src/slider/templates/slider-range-vertical.tsx
|
|
6240
|
-
import { Fragment as Fragment26, jsx as
|
|
6985
|
+
import { Fragment as Fragment26, jsx as jsx115, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6241
6986
|
|
|
6242
6987
|
// src/slider/templates/slider-gradient.tsx
|
|
6243
|
-
import { Fragment as Fragment27, jsx as
|
|
6988
|
+
import { Fragment as Fragment27, jsx as jsx116, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6244
6989
|
|
|
6245
6990
|
// src/slider/templates/slider-gradient-vertical.tsx
|
|
6246
|
-
import { Fragment as Fragment28, jsx as
|
|
6247
|
-
var SliderGradientVertical = (props) => /* @__PURE__ */
|
|
6991
|
+
import { Fragment as Fragment28, jsx as jsx117, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6992
|
+
var SliderGradientVertical = (props) => /* @__PURE__ */ jsx117(
|
|
6248
6993
|
Slider,
|
|
6249
6994
|
{
|
|
6250
6995
|
type: "gradient",
|
|
6251
6996
|
orientation: "vertical",
|
|
6252
6997
|
showButtons: false,
|
|
6253
6998
|
showTicks: false,
|
|
6254
|
-
children: /* @__PURE__ */
|
|
6255
|
-
/* @__PURE__ */
|
|
6256
|
-
/* @__PURE__ */
|
|
6257
|
-
/* @__PURE__ */
|
|
6258
|
-
/* @__PURE__ */
|
|
6259
|
-
/* @__PURE__ */
|
|
6260
|
-
/* @__PURE__ */
|
|
6261
|
-
/* @__PURE__ */
|
|
6262
|
-
/* @__PURE__ */
|
|
6263
|
-
/* @__PURE__ */
|
|
6264
|
-
/* @__PURE__ */
|
|
6265
|
-
/* @__PURE__ */
|
|
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" })
|
|
6266
7011
|
] }),
|
|
6267
7012
|
...props
|
|
6268
7013
|
}
|
|
6269
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,165 +8557,179 @@ 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-filter-row-blazor.tsx
|
|
7845
|
-
import { Fragment as Fragment42, jsx as
|
|
7846
|
-
var grid_filter_row_blazor_default = () => /* @__PURE__ */
|
|
7847
|
-
/* @__PURE__ */
|
|
7848
|
-
/* @__PURE__ */
|
|
7849
|
-
/* @__PURE__ */
|
|
7850
|
-
/* @__PURE__ */
|
|
7851
|
-
/* @__PURE__ */
|
|
7852
|
-
/* @__PURE__ */
|
|
7853
|
-
/* @__PURE__ */
|
|
7854
|
-
/* @__PURE__ */
|
|
8605
|
+
import { Fragment as Fragment42, jsx as jsx170, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8606
|
+
var grid_filter_row_blazor_default = () => /* @__PURE__ */ jsx170(Fragment42, { children: /* @__PURE__ */ jsxs61("div", { id: "test-area", className: "k-d-grid", children: [
|
|
8607
|
+
/* @__PURE__ */ jsx170("h3", { children: "Base" }),
|
|
8608
|
+
/* @__PURE__ */ jsxs61(Grid, { className: "telerik-blazor", children: [
|
|
8609
|
+
/* @__PURE__ */ jsx170(GridHeader, { children: /* @__PURE__ */ jsx170("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs61(GridHeaderTable, { role: "grid", children: [
|
|
8610
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8611
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "65px" } }),
|
|
8612
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8613
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8614
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
7855
8615
|
] }),
|
|
7856
|
-
/* @__PURE__ */
|
|
7857
|
-
/* @__PURE__ */
|
|
7858
|
-
/* @__PURE__ */
|
|
7859
|
-
/* @__PURE__ */
|
|
7860
|
-
/* @__PURE__ */
|
|
7861
|
-
/* @__PURE__ */
|
|
8616
|
+
/* @__PURE__ */ jsxs61(TableThead, { children: [
|
|
8617
|
+
/* @__PURE__ */ jsxs61(TableRow, { children: [
|
|
8618
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8619
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, columnTitle: "Id" }),
|
|
8620
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, columnTitle: "Name" }),
|
|
8621
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, columnTitle: "Command" })
|
|
7862
8622
|
] }),
|
|
7863
|
-
/* @__PURE__ */
|
|
7864
|
-
/* @__PURE__ */
|
|
7865
|
-
/* @__PURE__ */
|
|
7866
|
-
/* @__PURE__ */
|
|
7867
|
-
/* @__PURE__ */
|
|
7868
|
-
/* @__PURE__ */
|
|
8623
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-filter-row", children: [
|
|
8624
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell-wrapper" }) }) }),
|
|
8625
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsxs61("div", { className: "k-filtercell-wrapper", children: [
|
|
8626
|
+
/* @__PURE__ */ jsx170(NumericTextbox, {}),
|
|
8627
|
+
/* @__PURE__ */ jsxs61("div", { className: "k-filtercell-operator", children: [
|
|
8628
|
+
/* @__PURE__ */ jsx170(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
7869
8629
|
" ",
|
|
7870
|
-
/* @__PURE__ */
|
|
8630
|
+
/* @__PURE__ */ jsx170(Button, { icon: "filter-clear", disabled: true })
|
|
7871
8631
|
] })
|
|
7872
8632
|
] }) }) }),
|
|
7873
|
-
/* @__PURE__ */
|
|
7874
|
-
/* @__PURE__ */
|
|
7875
|
-
/* @__PURE__ */
|
|
7876
|
-
/* @__PURE__ */
|
|
8633
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsxs61("div", { className: "k-filtercell-wrapper", children: [
|
|
8634
|
+
/* @__PURE__ */ jsx170(Textbox, { showClearButton: false, value: "p" }),
|
|
8635
|
+
/* @__PURE__ */ jsxs61("div", { className: "k-filtercell-operator", children: [
|
|
8636
|
+
/* @__PURE__ */ jsx170(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
7877
8637
|
" ",
|
|
7878
|
-
/* @__PURE__ */
|
|
8638
|
+
/* @__PURE__ */ jsx170(Button, { icon: "filter-clear" })
|
|
7879
8639
|
] })
|
|
7880
8640
|
] }) }) }),
|
|
7881
|
-
/* @__PURE__ */
|
|
8641
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell-wrapper" }) }) })
|
|
7882
8642
|
] })
|
|
7883
8643
|
] })
|
|
7884
8644
|
] }) }) }),
|
|
7885
|
-
/* @__PURE__ */
|
|
7886
|
-
/* @__PURE__ */
|
|
7887
|
-
/* @__PURE__ */
|
|
7888
|
-
/* @__PURE__ */
|
|
7889
|
-
/* @__PURE__ */
|
|
7890
|
-
/* @__PURE__ */
|
|
7891
|
-
/* @__PURE__ */
|
|
8645
|
+
/* @__PURE__ */ jsx170(GridContainer, { children: /* @__PURE__ */ jsxs61(GridContent, { className: "k-virtual-content", children: [
|
|
8646
|
+
/* @__PURE__ */ jsx170("div", { className: "k-pos-relative", children: /* @__PURE__ */ jsx170("div", { className: "k-virtual-position", children: /* @__PURE__ */ jsxs61(GridTable, { style: { height: "auto" }, children: [
|
|
8647
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8648
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "65px" } }),
|
|
8649
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8650
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8651
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
7892
8652
|
] }),
|
|
7893
|
-
/* @__PURE__ */
|
|
7894
|
-
/* @__PURE__ */
|
|
7895
|
-
/* @__PURE__ */
|
|
7896
|
-
/* @__PURE__ */
|
|
7897
|
-
/* @__PURE__ */
|
|
7898
|
-
/* @__PURE__ */
|
|
8653
|
+
/* @__PURE__ */ jsxs61(TableTbody, { children: [
|
|
8654
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-master-row", children: [
|
|
8655
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Checkbox, { className: "k-grid-checkbox" }) }) }),
|
|
8656
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "1" }),
|
|
8657
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "Product1" }),
|
|
8658
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-command-cell", colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Button, { icon: "trash", children: "Delete" }) }) })
|
|
7899
8659
|
] }),
|
|
7900
|
-
/* @__PURE__ */
|
|
7901
|
-
/* @__PURE__ */
|
|
7902
|
-
/* @__PURE__ */
|
|
7903
|
-
/* @__PURE__ */
|
|
7904
|
-
/* @__PURE__ */
|
|
8660
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-master-row k-alt", alt: true, children: [
|
|
8661
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Checkbox, { className: "k-grid-checkbox" }) }) }),
|
|
8662
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "2" }),
|
|
8663
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "Product2" }),
|
|
8664
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-command-cell", colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Button, { icon: "trash", children: "Delete" }) }) })
|
|
7905
8665
|
] })
|
|
7906
8666
|
] })
|
|
7907
8667
|
] }) }) }),
|
|
7908
|
-
/* @__PURE__ */
|
|
8668
|
+
/* @__PURE__ */ jsx170("div", { className: "k-height-container", children: /* @__PURE__ */ jsx170("div", {}) })
|
|
7909
8669
|
] }) })
|
|
7910
8670
|
] }),
|
|
7911
|
-
/* @__PURE__ */
|
|
7912
|
-
/* @__PURE__ */
|
|
7913
|
-
/* @__PURE__ */
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
/* @__PURE__ */
|
|
7917
|
-
/* @__PURE__ */
|
|
7918
|
-
/* @__PURE__ */
|
|
7919
|
-
/* @__PURE__ */ jsx130("col", {})
|
|
8671
|
+
/* @__PURE__ */ jsx170("h3", { children: "With Toolbar" }),
|
|
8672
|
+
/* @__PURE__ */ jsxs61(Grid, { className: "telerik-blazor", toolbar: /* @__PURE__ */ jsx170(GridToolbar, { children: /* @__PURE__ */ jsx170(Button, { icon: "plus", children: "Add" }) }), children: [
|
|
8673
|
+
/* @__PURE__ */ jsx170(GridHeader, { children: /* @__PURE__ */ jsx170("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs61(GridHeaderTable, { role: "grid", children: [
|
|
8674
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8675
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "65px" } }),
|
|
8676
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8677
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8678
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
7920
8679
|
] }),
|
|
7921
|
-
/* @__PURE__ */
|
|
7922
|
-
/* @__PURE__ */
|
|
7923
|
-
/* @__PURE__ */
|
|
7924
|
-
/* @__PURE__ */
|
|
7925
|
-
/* @__PURE__ */
|
|
7926
|
-
/* @__PURE__ */
|
|
8680
|
+
/* @__PURE__ */ jsxs61(TableThead, { children: [
|
|
8681
|
+
/* @__PURE__ */ jsxs61(TableRow, { children: [
|
|
8682
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, children: /* @__PURE__ */ jsx170(Checkbox, {}) }),
|
|
8683
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, columnTitle: "Id" }),
|
|
8684
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, columnTitle: "Name" }),
|
|
8685
|
+
/* @__PURE__ */ jsx170(GridHeaderCell, { colspan: 1, columnTitle: "Command" })
|
|
7927
8686
|
] }),
|
|
7928
|
-
/* @__PURE__ */
|
|
7929
|
-
/* @__PURE__ */
|
|
7930
|
-
/* @__PURE__ */
|
|
7931
|
-
/* @__PURE__ */
|
|
7932
|
-
/* @__PURE__ */
|
|
7933
|
-
/* @__PURE__ */
|
|
8687
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-filter-row", children: [
|
|
8688
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell-wrapper" }) }) }),
|
|
8689
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsxs61("div", { className: "k-filtercell-wrapper", children: [
|
|
8690
|
+
/* @__PURE__ */ jsx170(NumericTextbox, {}),
|
|
8691
|
+
/* @__PURE__ */ jsxs61("div", { className: "k-filtercell-operator", children: [
|
|
8692
|
+
/* @__PURE__ */ jsx170(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
7934
8693
|
" ",
|
|
7935
|
-
/* @__PURE__ */
|
|
8694
|
+
/* @__PURE__ */ jsx170(Button, { icon: "filter-clear", disabled: true })
|
|
7936
8695
|
] })
|
|
7937
8696
|
] }) }) }),
|
|
7938
|
-
/* @__PURE__ */
|
|
7939
|
-
/* @__PURE__ */
|
|
7940
|
-
/* @__PURE__ */
|
|
7941
|
-
/* @__PURE__ */
|
|
8697
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsxs61("div", { className: "k-filtercell-wrapper", children: [
|
|
8698
|
+
/* @__PURE__ */ jsx170(Textbox, { showClearButton: false, value: "p" }),
|
|
8699
|
+
/* @__PURE__ */ jsxs61("div", { className: "k-filtercell-operator", children: [
|
|
8700
|
+
/* @__PURE__ */ jsx170(DropdownList, { className: "k-dropdown-operator", arrowIconName: "filter" }),
|
|
7942
8701
|
" ",
|
|
7943
|
-
/* @__PURE__ */
|
|
8702
|
+
/* @__PURE__ */ jsx170(Button, { icon: "filter-clear" })
|
|
7944
8703
|
] })
|
|
7945
8704
|
] }) }) }),
|
|
7946
|
-
/* @__PURE__ */
|
|
8705
|
+
/* @__PURE__ */ jsx170(TableTh, { children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell", children: /* @__PURE__ */ jsx170("div", { className: "k-filtercell-wrapper" }) }) })
|
|
7947
8706
|
] })
|
|
7948
8707
|
] })
|
|
7949
8708
|
] }) }) }),
|
|
7950
|
-
/* @__PURE__ */
|
|
7951
|
-
/* @__PURE__ */
|
|
7952
|
-
/* @__PURE__ */
|
|
7953
|
-
/* @__PURE__ */
|
|
7954
|
-
/* @__PURE__ */
|
|
7955
|
-
/* @__PURE__ */
|
|
7956
|
-
/* @__PURE__ */
|
|
8709
|
+
/* @__PURE__ */ jsx170(GridContainer, { children: /* @__PURE__ */ jsxs61(GridContent, { className: "k-virtual-content", children: [
|
|
8710
|
+
/* @__PURE__ */ jsx170("div", { className: "k-pos-relative", children: /* @__PURE__ */ jsx170("div", { className: "k-virtual-position", children: /* @__PURE__ */ jsxs61(GridTable, { style: { height: "auto" }, children: [
|
|
8711
|
+
/* @__PURE__ */ jsxs61("colgroup", { children: [
|
|
8712
|
+
/* @__PURE__ */ jsx170("col", { style: { width: "65px" } }),
|
|
8713
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8714
|
+
/* @__PURE__ */ jsx170("col", {}),
|
|
8715
|
+
/* @__PURE__ */ jsx170("col", {})
|
|
7957
8716
|
] }),
|
|
7958
|
-
/* @__PURE__ */
|
|
7959
|
-
/* @__PURE__ */
|
|
7960
|
-
/* @__PURE__ */
|
|
7961
|
-
/* @__PURE__ */
|
|
7962
|
-
/* @__PURE__ */
|
|
7963
|
-
/* @__PURE__ */
|
|
8717
|
+
/* @__PURE__ */ jsxs61(TableTbody, { children: [
|
|
8718
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-master-row", children: [
|
|
8719
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Checkbox, { className: "k-grid-checkbox" }) }) }),
|
|
8720
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "1" }),
|
|
8721
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "Product1" }),
|
|
8722
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-command-cell", colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Button, { icon: "trash", children: "Delete" }) }) })
|
|
7964
8723
|
] }),
|
|
7965
|
-
/* @__PURE__ */
|
|
7966
|
-
/* @__PURE__ */
|
|
7967
|
-
/* @__PURE__ */
|
|
7968
|
-
/* @__PURE__ */
|
|
7969
|
-
/* @__PURE__ */
|
|
8724
|
+
/* @__PURE__ */ jsxs61(TableRow, { className: "k-master-row k-alt", alt: true, children: [
|
|
8725
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Checkbox, { className: "k-grid-checkbox" }) }) }),
|
|
8726
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "2" }),
|
|
8727
|
+
/* @__PURE__ */ jsx170(TableTd, { colspan: 0, children: "Product2" }),
|
|
8728
|
+
/* @__PURE__ */ jsx170(TableTd, { className: "k-command-cell", colspan: 0, children: /* @__PURE__ */ jsx170("span", { children: /* @__PURE__ */ jsx170(Button, { icon: "trash", children: "Delete" }) }) })
|
|
7970
8729
|
] })
|
|
7971
8730
|
] })
|
|
7972
8731
|
] }) }) }),
|
|
7973
|
-
/* @__PURE__ */
|
|
8732
|
+
/* @__PURE__ */ jsx170("div", { className: "k-height-container", children: /* @__PURE__ */ jsx170("div", {}) })
|
|
7974
8733
|
] }) })
|
|
7975
8734
|
] })
|
|
7976
8735
|
] }) });
|