@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
|
@@ -5879,26 +5879,852 @@ import { Fragment as Fragment20, jsx as jsx60 } from "react/jsx-runtime";
|
|
|
5879
5879
|
// src/textbox/templates/textbox-suffix.tsx
|
|
5880
5880
|
import { Fragment as Fragment21, jsx as jsx61 } from "react/jsx-runtime";
|
|
5881
5881
|
|
|
5882
|
+
// src/tooltip/tooltip.spec.tsx
|
|
5883
|
+
import { jsx as jsx62, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5884
|
+
var TOOLTIP_CLASSNAME = `k-tooltip`;
|
|
5885
|
+
var states26 = [];
|
|
5886
|
+
var options25 = {
|
|
5887
|
+
themeColor: [
|
|
5888
|
+
ThemeColor.primary,
|
|
5889
|
+
ThemeColor.secondary,
|
|
5890
|
+
ThemeColor.tertiary,
|
|
5891
|
+
ThemeColor.success,
|
|
5892
|
+
ThemeColor.warning,
|
|
5893
|
+
ThemeColor.error,
|
|
5894
|
+
ThemeColor.info,
|
|
5895
|
+
ThemeColor.light,
|
|
5896
|
+
ThemeColor.dark,
|
|
5897
|
+
ThemeColor.inverse
|
|
5898
|
+
]
|
|
5899
|
+
};
|
|
5900
|
+
var defaultProps26 = {
|
|
5901
|
+
closable: false
|
|
5902
|
+
};
|
|
5903
|
+
var Tooltip = (props) => {
|
|
5904
|
+
const {
|
|
5905
|
+
callout,
|
|
5906
|
+
closable,
|
|
5907
|
+
themeColor,
|
|
5908
|
+
title,
|
|
5909
|
+
content,
|
|
5910
|
+
icon,
|
|
5911
|
+
...other
|
|
5912
|
+
} = props;
|
|
5913
|
+
return /* @__PURE__ */ jsxs23(
|
|
5914
|
+
"div",
|
|
5915
|
+
{
|
|
5916
|
+
...other,
|
|
5917
|
+
className: classNames(
|
|
5918
|
+
props.className,
|
|
5919
|
+
TOOLTIP_CLASSNAME,
|
|
5920
|
+
optionClassNames(TOOLTIP_CLASSNAME, {
|
|
5921
|
+
themeColor
|
|
5922
|
+
}),
|
|
5923
|
+
{
|
|
5924
|
+
"k-tooltip-closable": closable
|
|
5925
|
+
}
|
|
5926
|
+
),
|
|
5927
|
+
children: [
|
|
5928
|
+
icon && /* @__PURE__ */ jsx62(Icon, { className: "k-tooltip-icon", icon }),
|
|
5929
|
+
/* @__PURE__ */ jsxs23("div", { className: "k-tooltip-content", children: [
|
|
5930
|
+
title && /* @__PURE__ */ jsx62("div", { className: "k-tooltip-title", children: title }),
|
|
5931
|
+
content
|
|
5932
|
+
] }),
|
|
5933
|
+
closable && /* @__PURE__ */ jsx62("div", { className: "k-tooltip-button", children: /* @__PURE__ */ jsx62(Icon, { icon: "x" }) }),
|
|
5934
|
+
callout && /* @__PURE__ */ jsx62("div", { className: classNames(
|
|
5935
|
+
"k-callout",
|
|
5936
|
+
{
|
|
5937
|
+
[`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
|
|
5938
|
+
}
|
|
5939
|
+
) })
|
|
5940
|
+
]
|
|
5941
|
+
}
|
|
5942
|
+
);
|
|
5943
|
+
};
|
|
5944
|
+
Tooltip.states = states26;
|
|
5945
|
+
Tooltip.options = options25;
|
|
5946
|
+
Tooltip.className = TOOLTIP_CLASSNAME;
|
|
5947
|
+
Tooltip.defaultProps = defaultProps26;
|
|
5948
|
+
var tooltip_spec_default = Tooltip;
|
|
5949
|
+
|
|
5950
|
+
// src/tooltip/templates/tooltip-normal.tsx
|
|
5951
|
+
import { jsx as jsx63 } from "react/jsx-runtime";
|
|
5952
|
+
var TooltipNormal = (props) => /* @__PURE__ */ jsx63(
|
|
5953
|
+
tooltip_spec_default,
|
|
5954
|
+
{
|
|
5955
|
+
content: "Tooltip Content",
|
|
5956
|
+
...props
|
|
5957
|
+
}
|
|
5958
|
+
);
|
|
5959
|
+
|
|
5960
|
+
// src/tooltip/templates/tooltip-closable.tsx
|
|
5961
|
+
import { jsx as jsx64 } from "react/jsx-runtime";
|
|
5962
|
+
|
|
5963
|
+
// src/grid/grid.spec.tsx
|
|
5964
|
+
import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5965
|
+
var GRID_CLASSNAME = "k-grid";
|
|
5966
|
+
var states27 = [];
|
|
5967
|
+
var options26 = {
|
|
5968
|
+
size: [Size.small, Size.medium, Size.large]
|
|
5969
|
+
};
|
|
5970
|
+
var defaultProps27 = {
|
|
5971
|
+
size: Size.medium,
|
|
5972
|
+
pagerPosition: "bottom"
|
|
5973
|
+
};
|
|
5974
|
+
var Grid = (props) => {
|
|
5975
|
+
const {
|
|
5976
|
+
size = defaultProps27.size,
|
|
5977
|
+
toolbar,
|
|
5978
|
+
pager,
|
|
5979
|
+
pagerPosition,
|
|
5980
|
+
groupingHeader,
|
|
5981
|
+
_renderAriaRoot,
|
|
5982
|
+
...other
|
|
5983
|
+
} = props;
|
|
5984
|
+
return /* @__PURE__ */ jsxs24(
|
|
5985
|
+
"div",
|
|
5986
|
+
{
|
|
5987
|
+
...other,
|
|
5988
|
+
className: classNames(
|
|
5989
|
+
props.className,
|
|
5990
|
+
GRID_CLASSNAME,
|
|
5991
|
+
optionClassNames(GRID_CLASSNAME, { size })
|
|
5992
|
+
),
|
|
5993
|
+
children: [
|
|
5994
|
+
toolbar,
|
|
5995
|
+
pagerPosition === "top" && pager,
|
|
5996
|
+
groupingHeader,
|
|
5997
|
+
props.children && _renderAriaRoot ? /* @__PURE__ */ jsx65("div", { className: "k-grid-aria-root", children: props.children }) : props.children,
|
|
5998
|
+
pagerPosition === "bottom" && pager
|
|
5999
|
+
]
|
|
6000
|
+
}
|
|
6001
|
+
);
|
|
6002
|
+
};
|
|
6003
|
+
Grid.states = states27;
|
|
6004
|
+
Grid.options = options26;
|
|
6005
|
+
Grid.className = GRID_CLASSNAME;
|
|
6006
|
+
Grid.defaultProps = defaultProps27;
|
|
6007
|
+
|
|
6008
|
+
// src/grid/grid-header.spec.tsx
|
|
6009
|
+
import { jsx as jsx66 } from "react/jsx-runtime";
|
|
6010
|
+
var className14 = `k-grid-header`;
|
|
6011
|
+
var GridHeader = (props) => /* @__PURE__ */ jsx66(
|
|
6012
|
+
"div",
|
|
6013
|
+
{
|
|
6014
|
+
...props,
|
|
6015
|
+
className: classNames(
|
|
6016
|
+
props.className,
|
|
6017
|
+
className14
|
|
6018
|
+
),
|
|
6019
|
+
children: props.children
|
|
6020
|
+
}
|
|
6021
|
+
);
|
|
6022
|
+
|
|
6023
|
+
// src/grid/grid-grouping-header.spec.tsx
|
|
6024
|
+
import { jsx as jsx67, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6025
|
+
|
|
6026
|
+
// src/table/data-table.spec.tsx
|
|
6027
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6028
|
+
var DATATABLE_CLASSNAME = `k-data-table`;
|
|
6029
|
+
var states28 = [];
|
|
6030
|
+
var options27 = {
|
|
6031
|
+
size: [Size.small, Size.medium, Size.large]
|
|
6032
|
+
};
|
|
6033
|
+
var defaultProps28 = {
|
|
6034
|
+
size: Size.medium
|
|
6035
|
+
};
|
|
6036
|
+
var DataTable = (props) => {
|
|
6037
|
+
const {
|
|
6038
|
+
size = defaultProps28.size,
|
|
6039
|
+
...other
|
|
6040
|
+
} = props;
|
|
6041
|
+
return /* @__PURE__ */ jsx68(
|
|
6042
|
+
"div",
|
|
6043
|
+
{
|
|
6044
|
+
...other,
|
|
6045
|
+
className: classNames(
|
|
6046
|
+
props.className,
|
|
6047
|
+
DATATABLE_CLASSNAME,
|
|
6048
|
+
optionClassNames("k-table", {
|
|
6049
|
+
size
|
|
6050
|
+
})
|
|
6051
|
+
),
|
|
6052
|
+
children: props.children
|
|
6053
|
+
}
|
|
6054
|
+
);
|
|
6055
|
+
};
|
|
6056
|
+
DataTable.states = states28;
|
|
6057
|
+
DataTable.options = options27;
|
|
6058
|
+
DataTable.className = DATATABLE_CLASSNAME;
|
|
6059
|
+
DataTable.defaultProps = defaultProps28;
|
|
6060
|
+
|
|
6061
|
+
// src/table/table-header.tsx
|
|
6062
|
+
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
6063
|
+
|
|
6064
|
+
// src/table/table-body.tsx
|
|
6065
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
6066
|
+
|
|
6067
|
+
// src/table/table-footer.tsx
|
|
6068
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6069
|
+
|
|
6070
|
+
// src/table/table.spec.tsx
|
|
6071
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6072
|
+
var TABLE_CLASSNAME = `k-table`;
|
|
6073
|
+
var states29 = [];
|
|
6074
|
+
var options28 = {
|
|
6075
|
+
size: [Size.small, Size.medium, Size.large]
|
|
6076
|
+
};
|
|
6077
|
+
var defaultProps29 = {};
|
|
6078
|
+
var Table = (props) => {
|
|
6079
|
+
const {
|
|
6080
|
+
size,
|
|
6081
|
+
...other
|
|
6082
|
+
} = props;
|
|
6083
|
+
return /* @__PURE__ */ jsx72(
|
|
6084
|
+
"table",
|
|
6085
|
+
{
|
|
6086
|
+
...other,
|
|
6087
|
+
className: classNames(
|
|
6088
|
+
props.className,
|
|
6089
|
+
TABLE_CLASSNAME,
|
|
6090
|
+
optionClassNames(TABLE_CLASSNAME, {
|
|
6091
|
+
size
|
|
6092
|
+
})
|
|
6093
|
+
),
|
|
6094
|
+
children: props.children
|
|
6095
|
+
}
|
|
6096
|
+
);
|
|
6097
|
+
};
|
|
6098
|
+
Table.states = states29;
|
|
6099
|
+
Table.options = options28;
|
|
6100
|
+
Table.className = TABLE_CLASSNAME;
|
|
6101
|
+
Table.defaultProps = defaultProps29;
|
|
6102
|
+
|
|
6103
|
+
// src/table/table-list.spec.tsx
|
|
6104
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
6105
|
+
var TABLELIST_CLASSNAME = `k-table-list`;
|
|
6106
|
+
var states30 = [];
|
|
6107
|
+
var options29 = {
|
|
6108
|
+
size: [Size.small, Size.medium, Size.large]
|
|
6109
|
+
};
|
|
6110
|
+
var defaultProps30 = {};
|
|
6111
|
+
var TableList = (props) => {
|
|
6112
|
+
const {
|
|
6113
|
+
size,
|
|
6114
|
+
virtualization,
|
|
6115
|
+
...other
|
|
6116
|
+
} = props;
|
|
6117
|
+
return /* @__PURE__ */ jsx73(
|
|
6118
|
+
"ul",
|
|
6119
|
+
{
|
|
6120
|
+
...other,
|
|
6121
|
+
className: classNames(
|
|
6122
|
+
props.className,
|
|
6123
|
+
"k-table",
|
|
6124
|
+
TABLELIST_CLASSNAME,
|
|
6125
|
+
optionClassNames(TABLELIST_CLASSNAME, {
|
|
6126
|
+
size
|
|
6127
|
+
}),
|
|
6128
|
+
{
|
|
6129
|
+
"k-virtual-table": virtualization
|
|
6130
|
+
}
|
|
6131
|
+
),
|
|
6132
|
+
children: props.children
|
|
6133
|
+
}
|
|
6134
|
+
);
|
|
6135
|
+
};
|
|
6136
|
+
TableList.states = states30;
|
|
6137
|
+
TableList.options = options29;
|
|
6138
|
+
TableList.className = TABLELIST_CLASSNAME;
|
|
6139
|
+
TableList.defaultProps = defaultProps30;
|
|
6140
|
+
|
|
6141
|
+
// src/table/table-thead.tsx
|
|
6142
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
6143
|
+
var className15 = `k-table-thead`;
|
|
6144
|
+
var TableThead = (props) => /* @__PURE__ */ jsx74(
|
|
6145
|
+
"thead",
|
|
6146
|
+
{
|
|
6147
|
+
className: classNames(
|
|
6148
|
+
props.className,
|
|
6149
|
+
className15
|
|
6150
|
+
),
|
|
6151
|
+
children: props.children
|
|
6152
|
+
}
|
|
6153
|
+
);
|
|
6154
|
+
|
|
6155
|
+
// src/table/table-tbody.tsx
|
|
6156
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
6157
|
+
var className16 = `k-table-tbody`;
|
|
6158
|
+
var TableTbody = (props) => /* @__PURE__ */ jsx75(
|
|
6159
|
+
"tbody",
|
|
6160
|
+
{
|
|
6161
|
+
className: classNames(
|
|
6162
|
+
props.className,
|
|
6163
|
+
className16
|
|
6164
|
+
),
|
|
6165
|
+
children: props.children
|
|
6166
|
+
}
|
|
6167
|
+
);
|
|
6168
|
+
|
|
6169
|
+
// src/table/table-tfoot.tsx
|
|
6170
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6171
|
+
|
|
6172
|
+
// src/table/table-row.tsx
|
|
6173
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
6174
|
+
var TABLEROW_CLASSNAME = `k-table-row`;
|
|
6175
|
+
var states31 = [
|
|
6176
|
+
States.hover,
|
|
6177
|
+
States.focus,
|
|
6178
|
+
States.selected,
|
|
6179
|
+
States.disabled
|
|
6180
|
+
];
|
|
6181
|
+
var TableRow = (props) => {
|
|
6182
|
+
const {
|
|
6183
|
+
hover,
|
|
6184
|
+
focus,
|
|
6185
|
+
selected,
|
|
6186
|
+
disabled,
|
|
6187
|
+
alt,
|
|
6188
|
+
...other
|
|
6189
|
+
} = props;
|
|
6190
|
+
return /* @__PURE__ */ jsx77(
|
|
6191
|
+
"tr",
|
|
6192
|
+
{
|
|
6193
|
+
...other,
|
|
6194
|
+
className: classNames(
|
|
6195
|
+
props.className,
|
|
6196
|
+
TABLEROW_CLASSNAME,
|
|
6197
|
+
{
|
|
6198
|
+
["k-table-alt-row"]: alt
|
|
6199
|
+
},
|
|
6200
|
+
stateClassNames(TABLEROW_CLASSNAME, {
|
|
6201
|
+
hover,
|
|
6202
|
+
focus,
|
|
6203
|
+
disabled,
|
|
6204
|
+
selected
|
|
6205
|
+
})
|
|
6206
|
+
),
|
|
6207
|
+
children: props.children
|
|
6208
|
+
}
|
|
6209
|
+
);
|
|
6210
|
+
};
|
|
6211
|
+
|
|
6212
|
+
// src/table/table-list-row.tsx
|
|
6213
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
6214
|
+
var states32 = [
|
|
6215
|
+
States.hover,
|
|
6216
|
+
States.focus,
|
|
6217
|
+
States.selected,
|
|
6218
|
+
States.disabled
|
|
6219
|
+
];
|
|
6220
|
+
|
|
6221
|
+
// src/table/table-th.tsx
|
|
6222
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
6223
|
+
var className17 = `k-table-th`;
|
|
6224
|
+
var TableTh = (props) => {
|
|
6225
|
+
const {
|
|
6226
|
+
text,
|
|
6227
|
+
colspan,
|
|
6228
|
+
rowspan,
|
|
6229
|
+
...other
|
|
6230
|
+
} = props;
|
|
6231
|
+
const textOrChildren = text ? text : props.children;
|
|
6232
|
+
return /* @__PURE__ */ jsx79(
|
|
6233
|
+
"th",
|
|
6234
|
+
{
|
|
6235
|
+
colSpan: colspan,
|
|
6236
|
+
rowSpan: rowspan,
|
|
6237
|
+
...other,
|
|
6238
|
+
className: classNames(
|
|
6239
|
+
props.className,
|
|
6240
|
+
className17
|
|
6241
|
+
),
|
|
6242
|
+
children: textOrChildren
|
|
6243
|
+
}
|
|
6244
|
+
);
|
|
6245
|
+
};
|
|
6246
|
+
|
|
6247
|
+
// src/table/table-list-th.tsx
|
|
6248
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
6249
|
+
|
|
6250
|
+
// src/table/table-td.tsx
|
|
6251
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6252
|
+
var className18 = `k-table-td`;
|
|
6253
|
+
var TableTd = (props) => {
|
|
6254
|
+
const {
|
|
6255
|
+
text,
|
|
6256
|
+
colspan,
|
|
6257
|
+
...other
|
|
6258
|
+
} = props;
|
|
6259
|
+
const textOrChildren = text ? text : props.children;
|
|
6260
|
+
return /* @__PURE__ */ jsx81(
|
|
6261
|
+
"td",
|
|
6262
|
+
{
|
|
6263
|
+
colSpan: colspan,
|
|
6264
|
+
...other,
|
|
6265
|
+
className: classNames(
|
|
6266
|
+
props.className,
|
|
6267
|
+
className18
|
|
6268
|
+
),
|
|
6269
|
+
children: textOrChildren
|
|
6270
|
+
}
|
|
6271
|
+
);
|
|
6272
|
+
};
|
|
6273
|
+
|
|
6274
|
+
// src/table/table-list-td.tsx
|
|
6275
|
+
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
6276
|
+
|
|
6277
|
+
// src/table/table-group-header.tsx
|
|
6278
|
+
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
6279
|
+
|
|
6280
|
+
// src/table/table-group-sticky-header.tsx
|
|
6281
|
+
import { jsx as jsx84 } from "react/jsx-runtime";
|
|
6282
|
+
|
|
6283
|
+
// src/table/table-group-row.tsx
|
|
6284
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
6285
|
+
|
|
6286
|
+
// src/table/table-list-group-row.tsx
|
|
6287
|
+
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
6288
|
+
|
|
6289
|
+
// src/table/templates/table-list.tsx
|
|
6290
|
+
import { jsx as jsx87, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6291
|
+
|
|
6292
|
+
// src/table/templates/table-list-virtualization.tsx
|
|
6293
|
+
import { jsx as jsx88, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6294
|
+
|
|
6295
|
+
// src/table/templates/data-table-normal.tsx
|
|
6296
|
+
import { jsx as jsx89, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6297
|
+
|
|
6298
|
+
// src/table/templates/table-native.tsx
|
|
6299
|
+
import { jsx as jsx90, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6300
|
+
|
|
6301
|
+
// src/grid/grid-header-table.spec.tsx
|
|
6302
|
+
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
6303
|
+
var GRIDHEADERTABLE_CLASSNAME = `k-grid-header-table`;
|
|
6304
|
+
var GridHeaderTable = (props) => /* @__PURE__ */ jsx91(
|
|
6305
|
+
Table,
|
|
6306
|
+
{
|
|
6307
|
+
size: "medium",
|
|
6308
|
+
...props,
|
|
6309
|
+
className: classNames(
|
|
6310
|
+
props.className,
|
|
6311
|
+
GRIDHEADERTABLE_CLASSNAME
|
|
6312
|
+
),
|
|
6313
|
+
children: props.children
|
|
6314
|
+
}
|
|
6315
|
+
);
|
|
6316
|
+
|
|
6317
|
+
// src/grid/grid-header-cell.spec.tsx
|
|
6318
|
+
import { jsx as jsx92, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6319
|
+
var className19 = `k-header`;
|
|
6320
|
+
var states33 = [
|
|
6321
|
+
States.hover,
|
|
6322
|
+
States.focus,
|
|
6323
|
+
States.active
|
|
6324
|
+
];
|
|
6325
|
+
var defaultProps31 = {
|
|
6326
|
+
sortIcon: "sort-asc-small"
|
|
6327
|
+
};
|
|
6328
|
+
var GridHeaderCell = (props) => {
|
|
6329
|
+
const {
|
|
6330
|
+
menu,
|
|
6331
|
+
sortable,
|
|
6332
|
+
sticky,
|
|
6333
|
+
resizable,
|
|
6334
|
+
columnTitle,
|
|
6335
|
+
hover,
|
|
6336
|
+
focus,
|
|
6337
|
+
active,
|
|
6338
|
+
sortIcon = defaultProps31.sortIcon,
|
|
6339
|
+
sortOrder,
|
|
6340
|
+
...others
|
|
6341
|
+
} = props;
|
|
6342
|
+
return /* @__PURE__ */ jsxs30(
|
|
6343
|
+
TableTh,
|
|
6344
|
+
{
|
|
6345
|
+
...others,
|
|
6346
|
+
className: classNames(
|
|
6347
|
+
props.className,
|
|
6348
|
+
className19,
|
|
6349
|
+
{
|
|
6350
|
+
[`k-filterable`]: menu === "filter",
|
|
6351
|
+
[`k-sorted`]: sortable,
|
|
6352
|
+
[`k-grid-header-sticky`]: sticky,
|
|
6353
|
+
[`k-touch-action-none`]: resizable
|
|
6354
|
+
},
|
|
6355
|
+
stateClassNames(className19, {
|
|
6356
|
+
hover,
|
|
6357
|
+
focus,
|
|
6358
|
+
active
|
|
6359
|
+
})
|
|
6360
|
+
),
|
|
6361
|
+
children: [
|
|
6362
|
+
columnTitle && /* @__PURE__ */ jsxs30("span", { className: "k-cell-inner", children: [
|
|
6363
|
+
/* @__PURE__ */ jsxs30("span", { className: "k-link", children: [
|
|
6364
|
+
/* @__PURE__ */ jsx92("span", { className: "k-column-title", children: columnTitle }),
|
|
6365
|
+
sortable && /* @__PURE__ */ jsx92("span", { className: "k-sort-icon", children: /* @__PURE__ */ jsx92(Icon, { icon: sortIcon }) }),
|
|
6366
|
+
sortOrder && /* @__PURE__ */ jsx92("span", { className: "k-sort-order", children: sortOrder })
|
|
6367
|
+
] }),
|
|
6368
|
+
menu && /* @__PURE__ */ jsx92("a", { href: "#", className: classNames(
|
|
6369
|
+
"k-grid-header-menu",
|
|
6370
|
+
{
|
|
6371
|
+
[`k-active`]: active,
|
|
6372
|
+
[`k-grid-filter-menu`]: menu === "filter",
|
|
6373
|
+
[`k-grid-column-menu`]: menu === "column"
|
|
6374
|
+
}
|
|
6375
|
+
), children: /* @__PURE__ */ jsx92(Icon, { icon: menu === "filter" ? "filter" : "more-vertical" }) })
|
|
6376
|
+
] }),
|
|
6377
|
+
props.children,
|
|
6378
|
+
resizable && /* @__PURE__ */ jsx92("span", { className: "k-column-resizer k-touch-action-none" })
|
|
6379
|
+
]
|
|
6380
|
+
}
|
|
6381
|
+
);
|
|
6382
|
+
};
|
|
6383
|
+
|
|
6384
|
+
// src/grid/grid-container.spec.tsx
|
|
6385
|
+
import { jsx as jsx93 } from "react/jsx-runtime";
|
|
6386
|
+
var className20 = `k-grid-container`;
|
|
6387
|
+
var GridContainer = (props) => /* @__PURE__ */ jsx93(
|
|
6388
|
+
"div",
|
|
6389
|
+
{
|
|
6390
|
+
...props,
|
|
6391
|
+
className: classNames(
|
|
6392
|
+
props.className,
|
|
6393
|
+
className20
|
|
6394
|
+
),
|
|
6395
|
+
children: props.children
|
|
6396
|
+
}
|
|
6397
|
+
);
|
|
6398
|
+
|
|
6399
|
+
// src/grid/grid-content.spec.tsx
|
|
6400
|
+
import { jsx as jsx94 } from "react/jsx-runtime";
|
|
6401
|
+
var className21 = `k-grid-content`;
|
|
6402
|
+
var GridContent = (props) => /* @__PURE__ */ jsx94(
|
|
6403
|
+
"div",
|
|
6404
|
+
{
|
|
6405
|
+
...props,
|
|
6406
|
+
className: classNames(
|
|
6407
|
+
props.className,
|
|
6408
|
+
className21
|
|
6409
|
+
),
|
|
6410
|
+
children: props.children
|
|
6411
|
+
}
|
|
6412
|
+
);
|
|
6413
|
+
|
|
6414
|
+
// src/grid/grid-table.spec.tsx
|
|
6415
|
+
import { jsx as jsx95 } from "react/jsx-runtime";
|
|
6416
|
+
var GRIDTABLE_CLASSNAME = `k-grid-table`;
|
|
6417
|
+
var GridTable = (props) => /* @__PURE__ */ jsx95(
|
|
6418
|
+
Table,
|
|
6419
|
+
{
|
|
6420
|
+
size: "medium",
|
|
6421
|
+
...props,
|
|
6422
|
+
className: classNames(
|
|
6423
|
+
props.className,
|
|
6424
|
+
GRIDTABLE_CLASSNAME
|
|
6425
|
+
),
|
|
6426
|
+
children: props.children
|
|
6427
|
+
}
|
|
6428
|
+
);
|
|
6429
|
+
|
|
6430
|
+
// src/grid/grid-footer.spec.tsx
|
|
6431
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6432
|
+
|
|
6433
|
+
// src/grid/grid-footer-table.spec.tsx
|
|
6434
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
6435
|
+
|
|
6436
|
+
// src/pager/pager.spec.tsx
|
|
6437
|
+
import { jsx as jsx98, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6438
|
+
var PAGER_CLASSNAME = `k-pager`;
|
|
6439
|
+
var states34 = [
|
|
6440
|
+
States.focus,
|
|
6441
|
+
States.disabled
|
|
6442
|
+
];
|
|
6443
|
+
var options30 = {
|
|
6444
|
+
size: [Size.small, Size.medium, Size.large]
|
|
6445
|
+
};
|
|
6446
|
+
var defaultProps32 = {
|
|
6447
|
+
size: Size.medium,
|
|
6448
|
+
adaptive: false,
|
|
6449
|
+
itemsPerPage: true,
|
|
6450
|
+
type: "numeric",
|
|
6451
|
+
pageSizes: true,
|
|
6452
|
+
refresh: true,
|
|
6453
|
+
info: true
|
|
6454
|
+
};
|
|
6455
|
+
var Pager = (props) => {
|
|
6456
|
+
const {
|
|
6457
|
+
size = defaultProps32.size,
|
|
6458
|
+
adaptive = defaultProps32.adaptive,
|
|
6459
|
+
itemsPerPage = defaultProps32.itemsPerPage,
|
|
6460
|
+
type = defaultProps32.type,
|
|
6461
|
+
pageSizes = defaultProps32.pageSizes,
|
|
6462
|
+
refresh = defaultProps32.refresh,
|
|
6463
|
+
info = defaultProps32.info,
|
|
6464
|
+
focus,
|
|
6465
|
+
disabled,
|
|
6466
|
+
dir,
|
|
6467
|
+
...other
|
|
6468
|
+
} = props;
|
|
6469
|
+
return /* @__PURE__ */ jsxs31(
|
|
6470
|
+
"div",
|
|
6471
|
+
{
|
|
6472
|
+
dir,
|
|
6473
|
+
...other,
|
|
6474
|
+
className: classNames(
|
|
6475
|
+
props.className,
|
|
6476
|
+
PAGER_CLASSNAME,
|
|
6477
|
+
optionClassNames(PAGER_CLASSNAME, {
|
|
6478
|
+
size
|
|
6479
|
+
}),
|
|
6480
|
+
stateClassNames(PAGER_CLASSNAME, {
|
|
6481
|
+
focus,
|
|
6482
|
+
disabled
|
|
6483
|
+
})
|
|
6484
|
+
),
|
|
6485
|
+
children: [
|
|
6486
|
+
/* @__PURE__ */ jsxs31(
|
|
6487
|
+
"div",
|
|
6488
|
+
{
|
|
6489
|
+
className: classNames(
|
|
6490
|
+
"k-pager-numbers-wrap"
|
|
6491
|
+
),
|
|
6492
|
+
children: [
|
|
6493
|
+
/* @__PURE__ */ jsx98(
|
|
6494
|
+
Button,
|
|
6495
|
+
{
|
|
6496
|
+
className: classNames(
|
|
6497
|
+
"k-pager-nav",
|
|
6498
|
+
"k-pager-first"
|
|
6499
|
+
),
|
|
6500
|
+
disabled: true,
|
|
6501
|
+
fillMode: "flat",
|
|
6502
|
+
size,
|
|
6503
|
+
rounded: null,
|
|
6504
|
+
icon: dir === "rtl" ? "caret-alt-to-right" : "caret-alt-to-left"
|
|
6505
|
+
}
|
|
6506
|
+
),
|
|
6507
|
+
/* @__PURE__ */ jsx98(
|
|
6508
|
+
Button,
|
|
6509
|
+
{
|
|
6510
|
+
className: classNames(
|
|
6511
|
+
"k-pager-nav"
|
|
6512
|
+
),
|
|
6513
|
+
disabled: true,
|
|
6514
|
+
fillMode: "flat",
|
|
6515
|
+
size,
|
|
6516
|
+
rounded: null,
|
|
6517
|
+
icon: dir === "rtl" ? "caret-alt-right" : "caret-alt-left"
|
|
6518
|
+
}
|
|
6519
|
+
),
|
|
6520
|
+
type === "numeric" && !adaptive && /* @__PURE__ */ jsxs31(
|
|
6521
|
+
"div",
|
|
6522
|
+
{
|
|
6523
|
+
className: classNames(
|
|
6524
|
+
"k-pager-numbers"
|
|
6525
|
+
),
|
|
6526
|
+
children: [
|
|
6527
|
+
/* @__PURE__ */ jsx98(
|
|
6528
|
+
Button,
|
|
6529
|
+
{
|
|
6530
|
+
selected: true,
|
|
6531
|
+
fillMode: "flat",
|
|
6532
|
+
themeColor: "primary",
|
|
6533
|
+
size,
|
|
6534
|
+
rounded: null,
|
|
6535
|
+
children: "1"
|
|
6536
|
+
}
|
|
6537
|
+
),
|
|
6538
|
+
/* @__PURE__ */ jsx98(
|
|
6539
|
+
Button,
|
|
6540
|
+
{
|
|
6541
|
+
fillMode: "flat",
|
|
6542
|
+
themeColor: "primary",
|
|
6543
|
+
size,
|
|
6544
|
+
rounded: null,
|
|
6545
|
+
children: "2"
|
|
6546
|
+
}
|
|
6547
|
+
),
|
|
6548
|
+
/* @__PURE__ */ jsx98(
|
|
6549
|
+
Button,
|
|
6550
|
+
{
|
|
6551
|
+
fillMode: "flat",
|
|
6552
|
+
themeColor: "primary",
|
|
6553
|
+
size,
|
|
6554
|
+
rounded: null,
|
|
6555
|
+
children: "3"
|
|
6556
|
+
}
|
|
6557
|
+
),
|
|
6558
|
+
/* @__PURE__ */ jsx98(
|
|
6559
|
+
Button,
|
|
6560
|
+
{
|
|
6561
|
+
fillMode: "flat",
|
|
6562
|
+
themeColor: "primary",
|
|
6563
|
+
size,
|
|
6564
|
+
rounded: null,
|
|
6565
|
+
children: "4"
|
|
6566
|
+
}
|
|
6567
|
+
),
|
|
6568
|
+
/* @__PURE__ */ jsx98(
|
|
6569
|
+
Button,
|
|
6570
|
+
{
|
|
6571
|
+
fillMode: "flat",
|
|
6572
|
+
themeColor: "primary",
|
|
6573
|
+
size,
|
|
6574
|
+
rounded: null,
|
|
6575
|
+
children: "5"
|
|
6576
|
+
}
|
|
6577
|
+
),
|
|
6578
|
+
/* @__PURE__ */ jsx98(
|
|
6579
|
+
Button,
|
|
6580
|
+
{
|
|
6581
|
+
fillMode: "flat",
|
|
6582
|
+
themeColor: "primary",
|
|
6583
|
+
size,
|
|
6584
|
+
rounded: null,
|
|
6585
|
+
children: "6"
|
|
6586
|
+
}
|
|
6587
|
+
)
|
|
6588
|
+
]
|
|
6589
|
+
}
|
|
6590
|
+
),
|
|
6591
|
+
type === "numeric" && /* @__PURE__ */ jsx98(
|
|
6592
|
+
"select",
|
|
6593
|
+
{
|
|
6594
|
+
className: classNames(
|
|
6595
|
+
"k-picker",
|
|
6596
|
+
"k-picker-solid",
|
|
6597
|
+
"k-dropdown-list",
|
|
6598
|
+
"k-dropdown",
|
|
6599
|
+
"k-rounded-md",
|
|
6600
|
+
optionClassNames("k-picker", {
|
|
6601
|
+
size
|
|
6602
|
+
}),
|
|
6603
|
+
{
|
|
6604
|
+
["k-hidden"]: !adaptive
|
|
6605
|
+
}
|
|
6606
|
+
),
|
|
6607
|
+
children: /* @__PURE__ */ jsx98("option", { children: "99" })
|
|
6608
|
+
}
|
|
6609
|
+
),
|
|
6610
|
+
type === "input" && /* @__PURE__ */ jsxs31(
|
|
6611
|
+
"span",
|
|
6612
|
+
{
|
|
6613
|
+
className: classNames(
|
|
6614
|
+
"k-pager-input"
|
|
6615
|
+
),
|
|
6616
|
+
children: [
|
|
6617
|
+
!adaptive && /* @__PURE__ */ jsx98("span", { children: "Page" }),
|
|
6618
|
+
/* @__PURE__ */ jsx98(NumericTextbox, { value: "999", size, showSpinButton: false, showClearButton: false }),
|
|
6619
|
+
!adaptive && /* @__PURE__ */ jsx98("span", { children: "of 8" })
|
|
6620
|
+
]
|
|
6621
|
+
}
|
|
6622
|
+
),
|
|
6623
|
+
/* @__PURE__ */ jsx98(
|
|
6624
|
+
Button,
|
|
6625
|
+
{
|
|
6626
|
+
className: classNames(
|
|
6627
|
+
"k-pager-nav"
|
|
6628
|
+
),
|
|
6629
|
+
fillMode: "flat",
|
|
6630
|
+
size,
|
|
6631
|
+
rounded: null,
|
|
6632
|
+
icon: dir === "rtl" ? "caret-alt-left" : "caret-alt-right"
|
|
6633
|
+
}
|
|
6634
|
+
),
|
|
6635
|
+
/* @__PURE__ */ jsx98(
|
|
6636
|
+
Button,
|
|
6637
|
+
{
|
|
6638
|
+
className: classNames(
|
|
6639
|
+
"k-pager-nav",
|
|
6640
|
+
"k-pager-last"
|
|
6641
|
+
),
|
|
6642
|
+
fillMode: "flat",
|
|
6643
|
+
size,
|
|
6644
|
+
rounded: null,
|
|
6645
|
+
icon: dir === "rtl" ? "caret-alt-to-left" : "caret-alt-to-right"
|
|
6646
|
+
}
|
|
6647
|
+
)
|
|
6648
|
+
]
|
|
6649
|
+
}
|
|
6650
|
+
),
|
|
6651
|
+
pageSizes && /* @__PURE__ */ jsxs31(
|
|
6652
|
+
"span",
|
|
6653
|
+
{
|
|
6654
|
+
className: classNames(
|
|
6655
|
+
"k-pager-sizes"
|
|
6656
|
+
),
|
|
6657
|
+
children: [
|
|
6658
|
+
/* @__PURE__ */ jsx98(DropdownList, { value: "99", size }),
|
|
6659
|
+
itemsPerPage && /* @__PURE__ */ jsx98("span", { children: "items per page" })
|
|
6660
|
+
]
|
|
6661
|
+
}
|
|
6662
|
+
),
|
|
6663
|
+
refresh && /* @__PURE__ */ jsx98(
|
|
6664
|
+
Button,
|
|
6665
|
+
{
|
|
6666
|
+
className: classNames(
|
|
6667
|
+
"k-pager-refresh"
|
|
6668
|
+
),
|
|
6669
|
+
fillMode: "flat",
|
|
6670
|
+
size,
|
|
6671
|
+
rounded: null,
|
|
6672
|
+
icon: "arrow-rotate-cw"
|
|
6673
|
+
}
|
|
6674
|
+
),
|
|
6675
|
+
info && /* @__PURE__ */ jsx98(
|
|
6676
|
+
"span",
|
|
6677
|
+
{
|
|
6678
|
+
className: classNames(
|
|
6679
|
+
"k-pager-info"
|
|
6680
|
+
),
|
|
6681
|
+
children: "1 - 20 of 91 items"
|
|
6682
|
+
}
|
|
6683
|
+
)
|
|
6684
|
+
]
|
|
6685
|
+
}
|
|
6686
|
+
);
|
|
6687
|
+
};
|
|
6688
|
+
Pager.states = states34;
|
|
6689
|
+
Pager.options = options30;
|
|
6690
|
+
Pager.className = PAGER_CLASSNAME;
|
|
6691
|
+
Pager.defaultProps = defaultProps32;
|
|
6692
|
+
|
|
6693
|
+
// src/pager/templates/pager-normal.tsx
|
|
6694
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
6695
|
+
|
|
6696
|
+
// src/pager/templates/pager-input.tsx
|
|
6697
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
6698
|
+
|
|
6699
|
+
// src/pager/templates/pager-adaptive.tsx
|
|
6700
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
6701
|
+
|
|
6702
|
+
// src/pager/templates/pager-adaptive-input.tsx
|
|
6703
|
+
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
6704
|
+
|
|
6705
|
+
// src/grid/grid-pager.spec.tsx
|
|
6706
|
+
import { jsx as jsx103 } from "react/jsx-runtime";
|
|
6707
|
+
|
|
5882
6708
|
// src/button-group/button-group.spec.tsx
|
|
5883
|
-
import { jsx as
|
|
6709
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
5884
6710
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
5885
|
-
var
|
|
6711
|
+
var states35 = [
|
|
5886
6712
|
States.disabled
|
|
5887
6713
|
];
|
|
5888
|
-
var
|
|
6714
|
+
var options31 = {
|
|
5889
6715
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
5890
6716
|
};
|
|
5891
|
-
var
|
|
6717
|
+
var defaultProps33 = {
|
|
5892
6718
|
fillMode: FillMode.solid
|
|
5893
6719
|
};
|
|
5894
6720
|
var ButtonGroup = (props) => {
|
|
5895
6721
|
const {
|
|
5896
|
-
fillMode =
|
|
6722
|
+
fillMode = defaultProps33.fillMode,
|
|
5897
6723
|
disabled,
|
|
5898
6724
|
stretched,
|
|
5899
6725
|
...other
|
|
5900
6726
|
} = props;
|
|
5901
|
-
return /* @__PURE__ */
|
|
6727
|
+
return /* @__PURE__ */ jsx104(
|
|
5902
6728
|
"div",
|
|
5903
6729
|
{
|
|
5904
6730
|
...other,
|
|
@@ -5919,35 +6745,35 @@ var ButtonGroup = (props) => {
|
|
|
5919
6745
|
}
|
|
5920
6746
|
);
|
|
5921
6747
|
};
|
|
5922
|
-
ButtonGroup.states =
|
|
5923
|
-
ButtonGroup.options =
|
|
6748
|
+
ButtonGroup.states = states35;
|
|
6749
|
+
ButtonGroup.options = options31;
|
|
5924
6750
|
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
5925
|
-
ButtonGroup.defaultProps =
|
|
6751
|
+
ButtonGroup.defaultProps = defaultProps33;
|
|
5926
6752
|
|
|
5927
6753
|
// src/button-group/templates/icon-button-group.tsx
|
|
5928
|
-
import { jsx as
|
|
6754
|
+
import { jsx as jsx105, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
5929
6755
|
|
|
5930
6756
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
5931
|
-
import { jsx as
|
|
6757
|
+
import { jsx as jsx106, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
5932
6758
|
|
|
5933
6759
|
// src/button-group/templates/text-button-group.tsx
|
|
5934
|
-
import { jsx as
|
|
6760
|
+
import { jsx as jsx107, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
5935
6761
|
|
|
5936
6762
|
// src/button-group/templates/mixed-button-group.tsx
|
|
5937
|
-
import { jsx as
|
|
6763
|
+
import { jsx as jsx108, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
5938
6764
|
|
|
5939
6765
|
// src/color-preview/color-preview.tsx
|
|
5940
|
-
import { jsx as
|
|
6766
|
+
import { jsx as jsx109, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5941
6767
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
5942
|
-
var
|
|
5943
|
-
var
|
|
6768
|
+
var states36 = [];
|
|
6769
|
+
var options32 = {};
|
|
5944
6770
|
var ColorPreview = (props) => {
|
|
5945
6771
|
const {
|
|
5946
6772
|
color,
|
|
5947
6773
|
iconName,
|
|
5948
6774
|
...other
|
|
5949
6775
|
} = props;
|
|
5950
|
-
return /* @__PURE__ */
|
|
6776
|
+
return /* @__PURE__ */ jsxs36(
|
|
5951
6777
|
"span",
|
|
5952
6778
|
{
|
|
5953
6779
|
...other,
|
|
@@ -5960,8 +6786,8 @@ var ColorPreview = (props) => {
|
|
|
5960
6786
|
}
|
|
5961
6787
|
),
|
|
5962
6788
|
children: [
|
|
5963
|
-
iconName && /* @__PURE__ */
|
|
5964
|
-
/* @__PURE__ */
|
|
6789
|
+
iconName && /* @__PURE__ */ jsx109(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
6790
|
+
/* @__PURE__ */ jsx109(
|
|
5965
6791
|
"span",
|
|
5966
6792
|
{
|
|
5967
6793
|
className: "k-color-preview-mask",
|
|
@@ -5972,14 +6798,14 @@ var ColorPreview = (props) => {
|
|
|
5972
6798
|
}
|
|
5973
6799
|
);
|
|
5974
6800
|
};
|
|
5975
|
-
ColorPreview.states =
|
|
5976
|
-
ColorPreview.options =
|
|
6801
|
+
ColorPreview.states = states36;
|
|
6802
|
+
ColorPreview.options = options32;
|
|
5977
6803
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
5978
6804
|
|
|
5979
6805
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5980
|
-
import { Fragment as Fragment22, jsx as
|
|
6806
|
+
import { Fragment as Fragment22, jsx as jsx110, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
5981
6807
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5982
|
-
var
|
|
6808
|
+
var states37 = [
|
|
5983
6809
|
States.hover,
|
|
5984
6810
|
States.focus,
|
|
5985
6811
|
States.valid,
|
|
@@ -5987,12 +6813,12 @@ var states28 = [
|
|
|
5987
6813
|
States.required,
|
|
5988
6814
|
States.disabled
|
|
5989
6815
|
];
|
|
5990
|
-
var
|
|
6816
|
+
var options33 = {
|
|
5991
6817
|
size: [Size.small, Size.medium, Size.large],
|
|
5992
6818
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5993
6819
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5994
6820
|
};
|
|
5995
|
-
var
|
|
6821
|
+
var defaultProps34 = {
|
|
5996
6822
|
arrowIconName: "caret-alt-down",
|
|
5997
6823
|
size: Picker.defaultProps.size,
|
|
5998
6824
|
rounded: Picker.defaultProps.rounded,
|
|
@@ -6014,13 +6840,13 @@ var ColorPicker = (props) => {
|
|
|
6014
6840
|
required,
|
|
6015
6841
|
disabled,
|
|
6016
6842
|
valueIconName,
|
|
6017
|
-
arrowIconName =
|
|
6843
|
+
arrowIconName = defaultProps34.arrowIconName,
|
|
6018
6844
|
popup,
|
|
6019
6845
|
opened,
|
|
6020
6846
|
...other
|
|
6021
6847
|
} = props;
|
|
6022
|
-
return /* @__PURE__ */
|
|
6023
|
-
/* @__PURE__ */
|
|
6848
|
+
return /* @__PURE__ */ jsxs37(Fragment22, { children: [
|
|
6849
|
+
/* @__PURE__ */ jsxs37(
|
|
6024
6850
|
Picker,
|
|
6025
6851
|
{
|
|
6026
6852
|
...other,
|
|
@@ -6039,14 +6865,14 @@ var ColorPicker = (props) => {
|
|
|
6039
6865
|
"k-icon-picker"
|
|
6040
6866
|
),
|
|
6041
6867
|
children: [
|
|
6042
|
-
/* @__PURE__ */
|
|
6043
|
-
/* @__PURE__ */
|
|
6868
|
+
/* @__PURE__ */ jsx110(InputPrefix, { children: prefix }),
|
|
6869
|
+
/* @__PURE__ */ jsx110(
|
|
6044
6870
|
InputInnerSpan,
|
|
6045
6871
|
{
|
|
6046
6872
|
placeholder,
|
|
6047
6873
|
value,
|
|
6048
6874
|
showValue: false,
|
|
6049
|
-
valueIcon: /* @__PURE__ */
|
|
6875
|
+
valueIcon: /* @__PURE__ */ jsx110(
|
|
6050
6876
|
ColorPreview,
|
|
6051
6877
|
{
|
|
6052
6878
|
className: "k-value-icon",
|
|
@@ -6057,8 +6883,8 @@ var ColorPicker = (props) => {
|
|
|
6057
6883
|
valueIconName
|
|
6058
6884
|
}
|
|
6059
6885
|
),
|
|
6060
|
-
/* @__PURE__ */
|
|
6061
|
-
/* @__PURE__ */
|
|
6886
|
+
/* @__PURE__ */ jsx110(InputSuffix, { children: suffix }),
|
|
6887
|
+
/* @__PURE__ */ jsx110(
|
|
6062
6888
|
Button,
|
|
6063
6889
|
{
|
|
6064
6890
|
className: "k-input-button",
|
|
@@ -6071,33 +6897,33 @@ var ColorPicker = (props) => {
|
|
|
6071
6897
|
]
|
|
6072
6898
|
}
|
|
6073
6899
|
),
|
|
6074
|
-
opened && popup && /* @__PURE__ */
|
|
6900
|
+
opened && popup && /* @__PURE__ */ jsx110(Popup, { className: "k-color-picker-popup", children: popup })
|
|
6075
6901
|
] });
|
|
6076
6902
|
};
|
|
6077
|
-
ColorPicker.states =
|
|
6078
|
-
ColorPicker.options =
|
|
6903
|
+
ColorPicker.states = states37;
|
|
6904
|
+
ColorPicker.options = options33;
|
|
6079
6905
|
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
6080
|
-
ColorPicker.defaultProps =
|
|
6906
|
+
ColorPicker.defaultProps = defaultProps34;
|
|
6081
6907
|
|
|
6082
6908
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
6083
|
-
import { jsx as
|
|
6909
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
6084
6910
|
|
|
6085
6911
|
// src/action-buttons/action-buttons.spec.tsx
|
|
6086
|
-
import { jsx as
|
|
6912
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
6087
6913
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
6088
|
-
var
|
|
6089
|
-
var
|
|
6090
|
-
var
|
|
6914
|
+
var states38 = [];
|
|
6915
|
+
var options34 = {};
|
|
6916
|
+
var defaultProps35 = {
|
|
6091
6917
|
alignment: "start",
|
|
6092
6918
|
orientation: "horizontal"
|
|
6093
6919
|
};
|
|
6094
6920
|
var ActionButtons = (props) => {
|
|
6095
6921
|
const {
|
|
6096
|
-
alignment =
|
|
6097
|
-
orientation =
|
|
6922
|
+
alignment = defaultProps35.alignment,
|
|
6923
|
+
orientation = defaultProps35.orientation,
|
|
6098
6924
|
...other
|
|
6099
6925
|
} = props;
|
|
6100
|
-
return /* @__PURE__ */
|
|
6926
|
+
return /* @__PURE__ */ jsx112(
|
|
6101
6927
|
"div",
|
|
6102
6928
|
{
|
|
6103
6929
|
...other,
|
|
@@ -6113,24 +6939,24 @@ var ActionButtons = (props) => {
|
|
|
6113
6939
|
}
|
|
6114
6940
|
);
|
|
6115
6941
|
};
|
|
6116
|
-
ActionButtons.states =
|
|
6117
|
-
ActionButtons.options =
|
|
6942
|
+
ActionButtons.states = states38;
|
|
6943
|
+
ActionButtons.options = options34;
|
|
6118
6944
|
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
6119
|
-
ActionButtons.defaultProps =
|
|
6945
|
+
ActionButtons.defaultProps = defaultProps35;
|
|
6120
6946
|
var action_buttons_spec_default = ActionButtons;
|
|
6121
6947
|
|
|
6122
6948
|
// src/slider/slider.spec.tsx
|
|
6123
|
-
import { jsx as
|
|
6949
|
+
import { jsx as jsx113, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6124
6950
|
var SLIDER_CLASSNAME = "k-slider";
|
|
6125
|
-
var
|
|
6951
|
+
var states39 = [
|
|
6126
6952
|
States.hover,
|
|
6127
6953
|
States.focus,
|
|
6128
6954
|
States.active,
|
|
6129
6955
|
States.disabled,
|
|
6130
6956
|
States.readonly
|
|
6131
6957
|
];
|
|
6132
|
-
var
|
|
6133
|
-
var
|
|
6958
|
+
var options35 = {};
|
|
6959
|
+
var defaultProps36 = {
|
|
6134
6960
|
type: "single",
|
|
6135
6961
|
orientation: "horizontal",
|
|
6136
6962
|
readonly: false,
|
|
@@ -6141,13 +6967,13 @@ var defaultProps29 = {
|
|
|
6141
6967
|
};
|
|
6142
6968
|
var Slider = (props) => {
|
|
6143
6969
|
const {
|
|
6144
|
-
type =
|
|
6145
|
-
orientation =
|
|
6146
|
-
readonly =
|
|
6147
|
-
disabled =
|
|
6148
|
-
handlePosition =
|
|
6149
|
-
showButtons =
|
|
6150
|
-
showTicks =
|
|
6970
|
+
type = defaultProps36.type,
|
|
6971
|
+
orientation = defaultProps36.orientation,
|
|
6972
|
+
readonly = defaultProps36.readonly,
|
|
6973
|
+
disabled = defaultProps36.disabled,
|
|
6974
|
+
handlePosition = defaultProps36.handlePosition,
|
|
6975
|
+
showButtons = defaultProps36.showButtons,
|
|
6976
|
+
showTicks = defaultProps36.showTicks,
|
|
6151
6977
|
hover,
|
|
6152
6978
|
focus,
|
|
6153
6979
|
active,
|
|
@@ -6163,7 +6989,7 @@ var Slider = (props) => {
|
|
|
6163
6989
|
iconIncrease = "caret-alt-up";
|
|
6164
6990
|
iconDecrease = "caret-alt-down";
|
|
6165
6991
|
}
|
|
6166
|
-
return /* @__PURE__ */
|
|
6992
|
+
return /* @__PURE__ */ jsxs38("div", { className: classNames(
|
|
6167
6993
|
SLIDER_CLASSNAME,
|
|
6168
6994
|
props.className,
|
|
6169
6995
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6176,12 +7002,12 @@ var Slider = (props) => {
|
|
|
6176
7002
|
"k-range-slider": type === "range"
|
|
6177
7003
|
}
|
|
6178
7004
|
), dir, children: [
|
|
6179
|
-
showButtons && /* @__PURE__ */
|
|
6180
|
-
/* @__PURE__ */
|
|
6181
|
-
showTicks && /* @__PURE__ */
|
|
6182
|
-
/* @__PURE__ */
|
|
6183
|
-
/* @__PURE__ */
|
|
6184
|
-
type === "range" && /* @__PURE__ */
|
|
7005
|
+
showButtons && /* @__PURE__ */ jsx113(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
7006
|
+
/* @__PURE__ */ jsxs38("div", { className: "k-slider-track-wrap", children: [
|
|
7007
|
+
showTicks && /* @__PURE__ */ jsx113("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
7008
|
+
/* @__PURE__ */ jsxs38("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
7009
|
+
/* @__PURE__ */ jsx113("div", { className: "k-slider-selection" }),
|
|
7010
|
+
type === "range" && /* @__PURE__ */ jsx113("span", { className: classNames(
|
|
6185
7011
|
"k-draghandle",
|
|
6186
7012
|
"k-draghandle-start",
|
|
6187
7013
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6190,7 +7016,7 @@ var Slider = (props) => {
|
|
|
6190
7016
|
active
|
|
6191
7017
|
})
|
|
6192
7018
|
) }),
|
|
6193
|
-
/* @__PURE__ */
|
|
7019
|
+
/* @__PURE__ */ jsx113("span", { className: classNames(
|
|
6194
7020
|
"k-draghandle",
|
|
6195
7021
|
`k-draghandle-${handlePosition}`,
|
|
6196
7022
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -6201,219 +7027,219 @@ var Slider = (props) => {
|
|
|
6201
7027
|
) })
|
|
6202
7028
|
] })
|
|
6203
7029
|
] }),
|
|
6204
|
-
showButtons && /* @__PURE__ */
|
|
7030
|
+
showButtons && /* @__PURE__ */ jsx113(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
6205
7031
|
] });
|
|
6206
7032
|
};
|
|
6207
|
-
Slider.states =
|
|
6208
|
-
Slider.options =
|
|
7033
|
+
Slider.states = states39;
|
|
7034
|
+
Slider.options = options35;
|
|
6209
7035
|
Slider.className = SLIDER_CLASSNAME;
|
|
6210
|
-
Slider.defaultProps =
|
|
7036
|
+
Slider.defaultProps = defaultProps36;
|
|
6211
7037
|
|
|
6212
7038
|
// src/slider/slider-tick.tsx
|
|
6213
|
-
import { jsx as
|
|
7039
|
+
import { jsx as jsx114 } from "react/jsx-runtime";
|
|
6214
7040
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
6215
|
-
var
|
|
6216
|
-
var
|
|
6217
|
-
var
|
|
7041
|
+
var states40 = [];
|
|
7042
|
+
var options36 = {};
|
|
7043
|
+
var defaultProps37 = {
|
|
6218
7044
|
label: false
|
|
6219
7045
|
};
|
|
6220
7046
|
var SliderTick = (props) => {
|
|
6221
7047
|
const {
|
|
6222
7048
|
style,
|
|
6223
|
-
label =
|
|
7049
|
+
label = defaultProps37.label,
|
|
6224
7050
|
orientation,
|
|
6225
7051
|
large,
|
|
6226
7052
|
text
|
|
6227
7053
|
} = props;
|
|
6228
|
-
return /* @__PURE__ */
|
|
7054
|
+
return /* @__PURE__ */ jsx114("li", { className: classNames(
|
|
6229
7055
|
props.className,
|
|
6230
7056
|
SLIDER_TICK_CLASSNAME,
|
|
6231
7057
|
{
|
|
6232
7058
|
[`k-tick-${orientation}`]: orientation,
|
|
6233
7059
|
"k-tick-large": large
|
|
6234
7060
|
}
|
|
6235
|
-
), style, children: label && /* @__PURE__ */
|
|
7061
|
+
), style, children: label && /* @__PURE__ */ jsx114("span", { className: "k-label", children: text }) });
|
|
6236
7062
|
};
|
|
6237
|
-
SliderTick.states =
|
|
6238
|
-
SliderTick.options =
|
|
7063
|
+
SliderTick.states = states40;
|
|
7064
|
+
SliderTick.options = options36;
|
|
6239
7065
|
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
6240
|
-
SliderTick.defaultProps =
|
|
7066
|
+
SliderTick.defaultProps = defaultProps37;
|
|
6241
7067
|
|
|
6242
7068
|
// src/slider/templates/slider-normal.tsx
|
|
6243
|
-
import { Fragment as Fragment23, jsx as
|
|
7069
|
+
import { Fragment as Fragment23, jsx as jsx115, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6244
7070
|
|
|
6245
7071
|
// src/slider/templates/slider-vertical.tsx
|
|
6246
|
-
import { Fragment as Fragment24, jsx as
|
|
7072
|
+
import { Fragment as Fragment24, jsx as jsx116, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6247
7073
|
|
|
6248
7074
|
// src/slider/templates/slider-range.tsx
|
|
6249
|
-
import { Fragment as Fragment25, jsx as
|
|
7075
|
+
import { Fragment as Fragment25, jsx as jsx117, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6250
7076
|
|
|
6251
7077
|
// src/slider/templates/slider-range-vertical.tsx
|
|
6252
|
-
import { Fragment as Fragment26, jsx as
|
|
7078
|
+
import { Fragment as Fragment26, jsx as jsx118, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6253
7079
|
|
|
6254
7080
|
// src/slider/templates/slider-gradient.tsx
|
|
6255
|
-
import { Fragment as Fragment27, jsx as
|
|
7081
|
+
import { Fragment as Fragment27, jsx as jsx119, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6256
7082
|
|
|
6257
7083
|
// src/slider/templates/slider-gradient-vertical.tsx
|
|
6258
|
-
import { Fragment as Fragment28, jsx as
|
|
6259
|
-
var SliderGradientVertical = (props) => /* @__PURE__ */
|
|
7084
|
+
import { Fragment as Fragment28, jsx as jsx120, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
7085
|
+
var SliderGradientVertical = (props) => /* @__PURE__ */ jsx120(
|
|
6260
7086
|
Slider,
|
|
6261
7087
|
{
|
|
6262
7088
|
type: "gradient",
|
|
6263
7089
|
orientation: "vertical",
|
|
6264
7090
|
showButtons: false,
|
|
6265
7091
|
showTicks: false,
|
|
6266
|
-
children: /* @__PURE__ */
|
|
6267
|
-
/* @__PURE__ */
|
|
6268
|
-
/* @__PURE__ */
|
|
6269
|
-
/* @__PURE__ */
|
|
6270
|
-
/* @__PURE__ */
|
|
6271
|
-
/* @__PURE__ */
|
|
6272
|
-
/* @__PURE__ */
|
|
6273
|
-
/* @__PURE__ */
|
|
6274
|
-
/* @__PURE__ */
|
|
6275
|
-
/* @__PURE__ */
|
|
6276
|
-
/* @__PURE__ */
|
|
6277
|
-
/* @__PURE__ */
|
|
7092
|
+
children: /* @__PURE__ */ jsxs44(Fragment28, { children: [
|
|
7093
|
+
/* @__PURE__ */ jsx120(SliderTick, { label: true, large: true, text: "0" }),
|
|
7094
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7095
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7096
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7097
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7098
|
+
/* @__PURE__ */ jsx120(SliderTick, { label: true, large: true, text: "5" }),
|
|
7099
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7100
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7101
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7102
|
+
/* @__PURE__ */ jsx120(SliderTick, {}),
|
|
7103
|
+
/* @__PURE__ */ jsx120(SliderTick, { label: true, large: true, text: "10" })
|
|
6278
7104
|
] }),
|
|
6279
7105
|
...props
|
|
6280
7106
|
}
|
|
6281
7107
|
);
|
|
6282
7108
|
|
|
6283
7109
|
// src/colorgradient/color-input.tsx
|
|
6284
|
-
import { Fragment as Fragment29, jsx as
|
|
7110
|
+
import { Fragment as Fragment29, jsx as jsx121, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6285
7111
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6286
|
-
var
|
|
6287
|
-
var
|
|
6288
|
-
var
|
|
7112
|
+
var states41 = [];
|
|
7113
|
+
var options37 = {};
|
|
7114
|
+
var defaultProps38 = {
|
|
6289
7115
|
mode: "rgba"
|
|
6290
7116
|
};
|
|
6291
7117
|
var ColorInput = (props) => {
|
|
6292
7118
|
const {
|
|
6293
|
-
mode =
|
|
7119
|
+
mode = defaultProps38.mode
|
|
6294
7120
|
} = props;
|
|
6295
|
-
return /* @__PURE__ */
|
|
6296
|
-
/* @__PURE__ */
|
|
6297
|
-
mode === "rgba" && /* @__PURE__ */
|
|
6298
|
-
/* @__PURE__ */
|
|
6299
|
-
/* @__PURE__ */
|
|
6300
|
-
/* @__PURE__ */
|
|
7121
|
+
return /* @__PURE__ */ jsxs45("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
7122
|
+
/* @__PURE__ */ jsx121("div", { className: "k-vstack", children: /* @__PURE__ */ jsx121(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
7123
|
+
mode === "rgba" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
|
|
7124
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7125
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7126
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6301
7127
|
] }),
|
|
6302
|
-
/* @__PURE__ */
|
|
6303
|
-
/* @__PURE__ */
|
|
6304
|
-
/* @__PURE__ */
|
|
7128
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7129
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7130
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6305
7131
|
] }),
|
|
6306
|
-
/* @__PURE__ */
|
|
6307
|
-
/* @__PURE__ */
|
|
6308
|
-
/* @__PURE__ */
|
|
7132
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7133
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7134
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6309
7135
|
] }),
|
|
6310
|
-
/* @__PURE__ */
|
|
6311
|
-
/* @__PURE__ */
|
|
6312
|
-
/* @__PURE__ */
|
|
7136
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7137
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
7138
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6313
7139
|
] })
|
|
6314
7140
|
] }),
|
|
6315
|
-
mode === "rgb" && /* @__PURE__ */
|
|
6316
|
-
/* @__PURE__ */
|
|
6317
|
-
/* @__PURE__ */
|
|
6318
|
-
/* @__PURE__ */
|
|
7141
|
+
mode === "rgb" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
|
|
7142
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7143
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7144
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6319
7145
|
] }),
|
|
6320
|
-
/* @__PURE__ */
|
|
6321
|
-
/* @__PURE__ */
|
|
6322
|
-
/* @__PURE__ */
|
|
7146
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7147
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7148
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6323
7149
|
] }),
|
|
6324
|
-
/* @__PURE__ */
|
|
6325
|
-
/* @__PURE__ */
|
|
6326
|
-
/* @__PURE__ */
|
|
7150
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7151
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7152
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6327
7153
|
] })
|
|
6328
7154
|
] }),
|
|
6329
|
-
mode === "hsva" && /* @__PURE__ */
|
|
6330
|
-
/* @__PURE__ */
|
|
6331
|
-
/* @__PURE__ */
|
|
6332
|
-
/* @__PURE__ */
|
|
7155
|
+
mode === "hsva" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
|
|
7156
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7157
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7158
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6333
7159
|
] }),
|
|
6334
|
-
/* @__PURE__ */
|
|
6335
|
-
/* @__PURE__ */
|
|
6336
|
-
/* @__PURE__ */
|
|
7160
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7161
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7162
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6337
7163
|
] }),
|
|
6338
|
-
/* @__PURE__ */
|
|
6339
|
-
/* @__PURE__ */
|
|
6340
|
-
/* @__PURE__ */
|
|
7164
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7165
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7166
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6341
7167
|
] }),
|
|
6342
|
-
/* @__PURE__ */
|
|
6343
|
-
/* @__PURE__ */
|
|
6344
|
-
/* @__PURE__ */
|
|
7168
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7169
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
7170
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6345
7171
|
] })
|
|
6346
7172
|
] }),
|
|
6347
|
-
mode === "hsv" && /* @__PURE__ */
|
|
6348
|
-
/* @__PURE__ */
|
|
6349
|
-
/* @__PURE__ */
|
|
6350
|
-
/* @__PURE__ */
|
|
7173
|
+
mode === "hsv" && /* @__PURE__ */ jsxs45(Fragment29, { children: [
|
|
7174
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7175
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7176
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6351
7177
|
] }),
|
|
6352
|
-
/* @__PURE__ */
|
|
6353
|
-
/* @__PURE__ */
|
|
6354
|
-
/* @__PURE__ */
|
|
7178
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7179
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7180
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6355
7181
|
] }),
|
|
6356
|
-
/* @__PURE__ */
|
|
6357
|
-
/* @__PURE__ */
|
|
6358
|
-
/* @__PURE__ */
|
|
7182
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-vstack", children: [
|
|
7183
|
+
/* @__PURE__ */ jsx121(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
7184
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6359
7185
|
] })
|
|
6360
7186
|
] }),
|
|
6361
|
-
mode === "hex" && /* @__PURE__ */
|
|
6362
|
-
/* @__PURE__ */
|
|
6363
|
-
/* @__PURE__ */
|
|
7187
|
+
mode === "hex" && /* @__PURE__ */ jsx121(Fragment29, { children: /* @__PURE__ */ jsxs45("div", { className: "k-vstack k-flex-1", children: [
|
|
7188
|
+
/* @__PURE__ */ jsx121(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
7189
|
+
/* @__PURE__ */ jsx121("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6364
7190
|
] }) })
|
|
6365
7191
|
] });
|
|
6366
7192
|
};
|
|
6367
|
-
ColorInput.states =
|
|
6368
|
-
ColorInput.options =
|
|
7193
|
+
ColorInput.states = states41;
|
|
7194
|
+
ColorInput.options = options37;
|
|
6369
7195
|
ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
6370
|
-
ColorInput.defaultProps =
|
|
7196
|
+
ColorInput.defaultProps = defaultProps38;
|
|
6371
7197
|
|
|
6372
7198
|
// src/colorgradient/color-contrast.tsx
|
|
6373
|
-
import { jsx as
|
|
7199
|
+
import { jsx as jsx122, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6374
7200
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6375
|
-
var
|
|
6376
|
-
var
|
|
6377
|
-
var
|
|
6378
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
6379
|
-
/* @__PURE__ */
|
|
6380
|
-
/* @__PURE__ */
|
|
6381
|
-
/* @__PURE__ */
|
|
6382
|
-
/* @__PURE__ */
|
|
6383
|
-
/* @__PURE__ */
|
|
7201
|
+
var states42 = [];
|
|
7202
|
+
var options38 = {};
|
|
7203
|
+
var defaultProps39 = {};
|
|
7204
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs46("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
7205
|
+
/* @__PURE__ */ jsxs46("div", { className: "k-contrast-ratio", children: [
|
|
7206
|
+
/* @__PURE__ */ jsx122("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
7207
|
+
/* @__PURE__ */ jsxs46("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
7208
|
+
/* @__PURE__ */ jsx122(Icon, { icon: "check" }),
|
|
7209
|
+
/* @__PURE__ */ jsx122(Icon, { icon: "check" })
|
|
6384
7210
|
] })
|
|
6385
7211
|
] }),
|
|
6386
|
-
/* @__PURE__ */
|
|
6387
|
-
/* @__PURE__ */
|
|
6388
|
-
/* @__PURE__ */
|
|
7212
|
+
/* @__PURE__ */ jsxs46("div", { children: [
|
|
7213
|
+
/* @__PURE__ */ jsx122("span", { children: "AA: 4.5" }),
|
|
7214
|
+
/* @__PURE__ */ jsxs46("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6389
7215
|
"Pass",
|
|
6390
|
-
/* @__PURE__ */
|
|
7216
|
+
/* @__PURE__ */ jsx122(Icon, { icon: "check" })
|
|
6391
7217
|
] })
|
|
6392
7218
|
] }),
|
|
6393
|
-
/* @__PURE__ */
|
|
6394
|
-
/* @__PURE__ */
|
|
6395
|
-
/* @__PURE__ */
|
|
7219
|
+
/* @__PURE__ */ jsxs46("div", { children: [
|
|
7220
|
+
/* @__PURE__ */ jsx122("span", { children: "AAA: 7.0" }),
|
|
7221
|
+
/* @__PURE__ */ jsxs46("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6396
7222
|
"Fail",
|
|
6397
|
-
/* @__PURE__ */
|
|
7223
|
+
/* @__PURE__ */ jsx122(Icon, { icon: "x" })
|
|
6398
7224
|
] })
|
|
6399
7225
|
] })
|
|
6400
7226
|
] });
|
|
6401
|
-
ColorContrast.states =
|
|
6402
|
-
ColorContrast.options =
|
|
7227
|
+
ColorContrast.states = states42;
|
|
7228
|
+
ColorContrast.options = options38;
|
|
6403
7229
|
ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
6404
|
-
ColorContrast.defaultProps =
|
|
7230
|
+
ColorContrast.defaultProps = defaultProps39;
|
|
6405
7231
|
|
|
6406
7232
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6407
|
-
import { jsx as
|
|
7233
|
+
import { jsx as jsx123, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
6408
7234
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6409
|
-
var
|
|
7235
|
+
var states43 = [
|
|
6410
7236
|
States.hover,
|
|
6411
7237
|
States.focus,
|
|
6412
7238
|
States.readonly,
|
|
6413
7239
|
States.disabled
|
|
6414
7240
|
];
|
|
6415
|
-
var
|
|
6416
|
-
var
|
|
7241
|
+
var options39 = {};
|
|
7242
|
+
var defaultProps40 = {
|
|
6417
7243
|
mode: "rgba",
|
|
6418
7244
|
readonly: false,
|
|
6419
7245
|
disabled: false,
|
|
@@ -6424,20 +7250,20 @@ var defaultProps33 = {
|
|
|
6424
7250
|
};
|
|
6425
7251
|
var ColorGradient = (props) => {
|
|
6426
7252
|
const {
|
|
6427
|
-
mode =
|
|
6428
|
-
readonly =
|
|
6429
|
-
disabled =
|
|
7253
|
+
mode = defaultProps40.mode,
|
|
7254
|
+
readonly = defaultProps40.readonly,
|
|
7255
|
+
disabled = defaultProps40.disabled,
|
|
6430
7256
|
dir,
|
|
6431
|
-
contrast =
|
|
7257
|
+
contrast = defaultProps40.contrast,
|
|
6432
7258
|
hover,
|
|
6433
7259
|
focus,
|
|
6434
7260
|
hoverHandle,
|
|
6435
7261
|
focusHandle,
|
|
6436
|
-
gradientStyle =
|
|
6437
|
-
dragHandleStyle =
|
|
6438
|
-
alphaStyle =
|
|
7262
|
+
gradientStyle = defaultProps40.gradientStyle,
|
|
7263
|
+
dragHandleStyle = defaultProps40.dragHandleStyle,
|
|
7264
|
+
alphaStyle = defaultProps40.alphaStyle
|
|
6439
7265
|
} = props;
|
|
6440
|
-
return /* @__PURE__ */
|
|
7266
|
+
return /* @__PURE__ */ jsxs47("div", { className: classNames(
|
|
6441
7267
|
props.className,
|
|
6442
7268
|
COLOR_GRADIENT_CLASSNAME,
|
|
6443
7269
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6447,8 +7273,8 @@ var ColorGradient = (props) => {
|
|
|
6447
7273
|
disabled
|
|
6448
7274
|
})
|
|
6449
7275
|
), dir, children: [
|
|
6450
|
-
/* @__PURE__ */
|
|
6451
|
-
/* @__PURE__ */
|
|
7276
|
+
/* @__PURE__ */ jsxs47("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
7277
|
+
/* @__PURE__ */ jsx123("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx123("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx123("div", { className: classNames(
|
|
6452
7278
|
"k-hsv-draghandle",
|
|
6453
7279
|
"k-draghandle",
|
|
6454
7280
|
{
|
|
@@ -6456,39 +7282,39 @@ var ColorGradient = (props) => {
|
|
|
6456
7282
|
"k-focus": focusHandle
|
|
6457
7283
|
}
|
|
6458
7284
|
), style: dragHandleStyle }) }) }),
|
|
6459
|
-
/* @__PURE__ */
|
|
6460
|
-
/* @__PURE__ */
|
|
6461
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
7285
|
+
/* @__PURE__ */ jsxs47("div", { className: "k-hsv-controls k-hstack", children: [
|
|
7286
|
+
/* @__PURE__ */ jsx123(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
7287
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx123(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6462
7288
|
] })
|
|
6463
7289
|
] }),
|
|
6464
|
-
/* @__PURE__ */
|
|
6465
|
-
contrast && /* @__PURE__ */
|
|
7290
|
+
/* @__PURE__ */ jsx123(ColorInput, { mode: props.mode }),
|
|
7291
|
+
contrast && /* @__PURE__ */ jsx123(ColorContrast, {})
|
|
6466
7292
|
] });
|
|
6467
7293
|
};
|
|
6468
|
-
ColorGradient.states =
|
|
6469
|
-
ColorGradient.options =
|
|
7294
|
+
ColorGradient.states = states43;
|
|
7295
|
+
ColorGradient.options = options39;
|
|
6470
7296
|
ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
6471
|
-
ColorGradient.defaultProps =
|
|
7297
|
+
ColorGradient.defaultProps = defaultProps40;
|
|
6472
7298
|
|
|
6473
7299
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6474
|
-
import { jsx as
|
|
7300
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
6475
7301
|
|
|
6476
7302
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6477
|
-
import { jsx as
|
|
7303
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
6478
7304
|
|
|
6479
7305
|
// src/colorpalette/colorpalette-row.tsx
|
|
6480
|
-
import { jsx as
|
|
6481
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
7306
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
7307
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx126("tr", { children: props.children });
|
|
6482
7308
|
|
|
6483
7309
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6484
|
-
import { jsx as
|
|
7310
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
6485
7311
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6486
|
-
var
|
|
7312
|
+
var states44 = [
|
|
6487
7313
|
States.hover,
|
|
6488
7314
|
States.focus,
|
|
6489
7315
|
States.selected
|
|
6490
7316
|
];
|
|
6491
|
-
var
|
|
7317
|
+
var options40 = {};
|
|
6492
7318
|
var ColorPaletteTile = (props) => {
|
|
6493
7319
|
const {
|
|
6494
7320
|
color,
|
|
@@ -6503,7 +7329,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6503
7329
|
"width": tileSize ? tileSize + "px" : "",
|
|
6504
7330
|
"height": tileSize ? tileSize + "px" : ""
|
|
6505
7331
|
};
|
|
6506
|
-
return /* @__PURE__ */
|
|
7332
|
+
return /* @__PURE__ */ jsx127(
|
|
6507
7333
|
"td",
|
|
6508
7334
|
{
|
|
6509
7335
|
...other,
|
|
@@ -6520,24 +7346,24 @@ var ColorPaletteTile = (props) => {
|
|
|
6520
7346
|
}
|
|
6521
7347
|
);
|
|
6522
7348
|
};
|
|
6523
|
-
ColorPaletteTile.states =
|
|
6524
|
-
ColorPaletteTile.options =
|
|
7349
|
+
ColorPaletteTile.states = states44;
|
|
7350
|
+
ColorPaletteTile.options = options40;
|
|
6525
7351
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6526
7352
|
|
|
6527
7353
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6528
|
-
import { jsx as
|
|
7354
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
6529
7355
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6530
|
-
var
|
|
7356
|
+
var states45 = [
|
|
6531
7357
|
States.disabled
|
|
6532
7358
|
];
|
|
6533
|
-
var
|
|
6534
|
-
var
|
|
7359
|
+
var options41 = {};
|
|
7360
|
+
var defaultProps41 = {
|
|
6535
7361
|
columns: 10
|
|
6536
7362
|
};
|
|
6537
7363
|
var ColorPalette = (props) => {
|
|
6538
7364
|
const {
|
|
6539
7365
|
palette,
|
|
6540
|
-
columns =
|
|
7366
|
+
columns = defaultProps41.columns,
|
|
6541
7367
|
tileSize,
|
|
6542
7368
|
disabled,
|
|
6543
7369
|
...other
|
|
@@ -6550,14 +7376,14 @@ var ColorPalette = (props) => {
|
|
|
6550
7376
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6551
7377
|
const items = [];
|
|
6552
7378
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6553
|
-
items.push(/* @__PURE__ */
|
|
7379
|
+
items.push(/* @__PURE__ */ jsx128(ColorPaletteTile, { color, tileSize }));
|
|
6554
7380
|
});
|
|
6555
|
-
const row = /* @__PURE__ */
|
|
7381
|
+
const row = /* @__PURE__ */ jsx128(ColorPaletteRow, { children: items });
|
|
6556
7382
|
newChildren.push(row);
|
|
6557
7383
|
});
|
|
6558
7384
|
}
|
|
6559
7385
|
}
|
|
6560
|
-
return /* @__PURE__ */
|
|
7386
|
+
return /* @__PURE__ */ jsx128(
|
|
6561
7387
|
"div",
|
|
6562
7388
|
{
|
|
6563
7389
|
...other,
|
|
@@ -6568,17 +7394,17 @@ var ColorPalette = (props) => {
|
|
|
6568
7394
|
disabled
|
|
6569
7395
|
})
|
|
6570
7396
|
),
|
|
6571
|
-
children: /* @__PURE__ */
|
|
7397
|
+
children: /* @__PURE__ */ jsx128("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6572
7398
|
}
|
|
6573
7399
|
);
|
|
6574
7400
|
};
|
|
6575
|
-
ColorPalette.states =
|
|
6576
|
-
ColorPalette.options =
|
|
7401
|
+
ColorPalette.states = states45;
|
|
7402
|
+
ColorPalette.options = options41;
|
|
6577
7403
|
ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
6578
|
-
ColorPalette.defaultProps =
|
|
7404
|
+
ColorPalette.defaultProps = defaultProps41;
|
|
6579
7405
|
|
|
6580
7406
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6581
|
-
import { jsx as
|
|
7407
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
6582
7408
|
|
|
6583
7409
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6584
7410
|
var PALETTEPRESETS = {
|
|
@@ -6633,84 +7459,84 @@ var PALETTEPRESETS = {
|
|
|
6633
7459
|
};
|
|
6634
7460
|
|
|
6635
7461
|
// src/coloreditor/color-editor.spec.tsx
|
|
6636
|
-
import { jsx as
|
|
7462
|
+
import { jsx as jsx130, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6637
7463
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6638
|
-
var
|
|
7464
|
+
var states46 = [
|
|
6639
7465
|
States.focus
|
|
6640
7466
|
];
|
|
6641
|
-
var
|
|
6642
|
-
var
|
|
7467
|
+
var options42 = {};
|
|
7468
|
+
var defaultProps42 = {
|
|
6643
7469
|
view: "gradient",
|
|
6644
7470
|
currentColor: "fuchsia",
|
|
6645
7471
|
palette: PALETTEPRESETS.office
|
|
6646
7472
|
};
|
|
6647
7473
|
var ColorEditor = (props) => {
|
|
6648
7474
|
const {
|
|
6649
|
-
view =
|
|
7475
|
+
view = defaultProps42.view,
|
|
6650
7476
|
color,
|
|
6651
|
-
currentColor =
|
|
7477
|
+
currentColor = defaultProps42.currentColor,
|
|
6652
7478
|
focus,
|
|
6653
7479
|
focusView,
|
|
6654
7480
|
dir,
|
|
6655
7481
|
group,
|
|
6656
|
-
palette =
|
|
7482
|
+
palette = defaultProps42.palette
|
|
6657
7483
|
} = props;
|
|
6658
|
-
return /* @__PURE__ */
|
|
7484
|
+
return /* @__PURE__ */ jsxs48("div", { className: classNames(
|
|
6659
7485
|
props.className,
|
|
6660
7486
|
"k-flatcolorpicker",
|
|
6661
7487
|
COLOREDITOR_CLASSNAME,
|
|
6662
7488
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6663
7489
|
), dir, children: [
|
|
6664
|
-
/* @__PURE__ */
|
|
6665
|
-
/* @__PURE__ */
|
|
6666
|
-
/* @__PURE__ */
|
|
6667
|
-
/* @__PURE__ */
|
|
7490
|
+
/* @__PURE__ */ jsxs48("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
7491
|
+
/* @__PURE__ */ jsx130("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs48(ButtonGroup, { children: [
|
|
7492
|
+
/* @__PURE__ */ jsx130(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
7493
|
+
/* @__PURE__ */ jsx130(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6668
7494
|
] }) }),
|
|
6669
|
-
/* @__PURE__ */
|
|
6670
|
-
/* @__PURE__ */
|
|
6671
|
-
/* @__PURE__ */
|
|
6672
|
-
/* @__PURE__ */
|
|
6673
|
-
/* @__PURE__ */
|
|
6674
|
-
/* @__PURE__ */
|
|
7495
|
+
/* @__PURE__ */ jsx130("div", { className: "k-spacer" }),
|
|
7496
|
+
/* @__PURE__ */ jsxs48("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
7497
|
+
/* @__PURE__ */ jsx130(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
7498
|
+
/* @__PURE__ */ jsxs48("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
7499
|
+
/* @__PURE__ */ jsx130(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
7500
|
+
/* @__PURE__ */ jsx130(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6675
7501
|
] })
|
|
6676
7502
|
] })
|
|
6677
7503
|
] }),
|
|
6678
|
-
/* @__PURE__ */
|
|
6679
|
-
/* @__PURE__ */
|
|
6680
|
-
/* @__PURE__ */
|
|
6681
|
-
/* @__PURE__ */
|
|
7504
|
+
/* @__PURE__ */ jsx130("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx130(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx130(ColorPalette, { palette }) }),
|
|
7505
|
+
/* @__PURE__ */ jsxs48(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
7506
|
+
/* @__PURE__ */ jsx130(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
7507
|
+
/* @__PURE__ */ jsx130(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6682
7508
|
] })
|
|
6683
7509
|
] });
|
|
6684
7510
|
};
|
|
6685
|
-
ColorEditor.states =
|
|
6686
|
-
ColorEditor.options =
|
|
7511
|
+
ColorEditor.states = states46;
|
|
7512
|
+
ColorEditor.options = options42;
|
|
6687
7513
|
ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
6688
|
-
ColorEditor.defaultProps =
|
|
7514
|
+
ColorEditor.defaultProps = defaultProps42;
|
|
6689
7515
|
|
|
6690
7516
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6691
|
-
import { jsx as
|
|
7517
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
6692
7518
|
|
|
6693
7519
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6694
|
-
import { jsx as
|
|
7520
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
6695
7521
|
|
|
6696
7522
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6697
|
-
import { jsx as
|
|
7523
|
+
import { jsx as jsx133 } from "react/jsx-runtime";
|
|
6698
7524
|
|
|
6699
7525
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6700
|
-
import { jsx as
|
|
7526
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
6701
7527
|
|
|
6702
7528
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6703
|
-
import { jsx as
|
|
7529
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
6704
7530
|
|
|
6705
7531
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6706
|
-
import { jsx as
|
|
7532
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
6707
7533
|
|
|
6708
7534
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6709
|
-
import { Fragment as Fragment30, jsx as
|
|
7535
|
+
import { Fragment as Fragment30, jsx as jsx137, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
6710
7536
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6711
|
-
var
|
|
6712
|
-
var
|
|
6713
|
-
var
|
|
7537
|
+
var states47 = [];
|
|
7538
|
+
var options43 = {};
|
|
7539
|
+
var defaultProps43 = {
|
|
6714
7540
|
side: "bottom",
|
|
6715
7541
|
fullscreen: false,
|
|
6716
7542
|
adaptive: false,
|
|
@@ -6723,14 +7549,14 @@ var ActionSheet = (props) => {
|
|
|
6723
7549
|
header,
|
|
6724
7550
|
footer,
|
|
6725
7551
|
actions,
|
|
6726
|
-
side =
|
|
6727
|
-
fullscreen =
|
|
6728
|
-
adaptive =
|
|
6729
|
-
overlay =
|
|
7552
|
+
side = defaultProps43.side,
|
|
7553
|
+
fullscreen = defaultProps43.fullscreen,
|
|
7554
|
+
adaptive = defaultProps43.adaptive,
|
|
7555
|
+
overlay = defaultProps43.overlay,
|
|
6730
7556
|
...other
|
|
6731
7557
|
} = props;
|
|
6732
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6733
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
7558
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx137(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
7559
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx137(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx137(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6734
7560
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6735
7561
|
switch (child.type) {
|
|
6736
7562
|
case ActionSheetHeader:
|
|
@@ -6740,10 +7566,10 @@ var ActionSheet = (props) => {
|
|
|
6740
7566
|
return true;
|
|
6741
7567
|
}
|
|
6742
7568
|
return true;
|
|
6743
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6744
|
-
return /* @__PURE__ */
|
|
6745
|
-
overlay && /* @__PURE__ */
|
|
6746
|
-
/* @__PURE__ */
|
|
7569
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx137(Fragment30, {});
|
|
7570
|
+
return /* @__PURE__ */ jsxs49("div", { className: "k-actionsheet-container", children: [
|
|
7571
|
+
overlay && /* @__PURE__ */ jsx137("div", { className: "k-overlay" }),
|
|
7572
|
+
/* @__PURE__ */ jsx137(
|
|
6747
7573
|
AnimationContainer,
|
|
6748
7574
|
{
|
|
6749
7575
|
animationStyle: {
|
|
@@ -6753,7 +7579,7 @@ var ActionSheet = (props) => {
|
|
|
6753
7579
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6754
7580
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6755
7581
|
},
|
|
6756
|
-
children: /* @__PURE__ */
|
|
7582
|
+
children: /* @__PURE__ */ jsx137(
|
|
6757
7583
|
"div",
|
|
6758
7584
|
{
|
|
6759
7585
|
...other,
|
|
@@ -6766,9 +7592,9 @@ var ActionSheet = (props) => {
|
|
|
6766
7592
|
"k-adaptive-actionsheet": adaptive
|
|
6767
7593
|
}
|
|
6768
7594
|
),
|
|
6769
|
-
children: /* @__PURE__ */
|
|
7595
|
+
children: /* @__PURE__ */ jsxs49(Fragment30, { children: [
|
|
6770
7596
|
_ActionSheetHeader,
|
|
6771
|
-
/* @__PURE__ */
|
|
7597
|
+
/* @__PURE__ */ jsx137("div", { className: classNames(
|
|
6772
7598
|
"k-actionsheet-content",
|
|
6773
7599
|
{
|
|
6774
7600
|
"!k-overflow-hidden": adaptive
|
|
@@ -6782,13 +7608,13 @@ var ActionSheet = (props) => {
|
|
|
6782
7608
|
)
|
|
6783
7609
|
] });
|
|
6784
7610
|
};
|
|
6785
|
-
ActionSheet.states =
|
|
6786
|
-
ActionSheet.options =
|
|
7611
|
+
ActionSheet.states = states47;
|
|
7612
|
+
ActionSheet.options = options43;
|
|
6787
7613
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
6788
|
-
ActionSheet.defaultProps =
|
|
7614
|
+
ActionSheet.defaultProps = defaultProps43;
|
|
6789
7615
|
|
|
6790
7616
|
// src/action-sheet/actionsheet-header.tsx
|
|
6791
|
-
import { Fragment as Fragment31, jsx as
|
|
7617
|
+
import { Fragment as Fragment31, jsx as jsx138, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
6792
7618
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6793
7619
|
var ActionSheetHeader = (props) => {
|
|
6794
7620
|
const {
|
|
@@ -6798,7 +7624,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6798
7624
|
filter,
|
|
6799
7625
|
...other
|
|
6800
7626
|
} = props;
|
|
6801
|
-
return /* @__PURE__ */
|
|
7627
|
+
return /* @__PURE__ */ jsx138(
|
|
6802
7628
|
"div",
|
|
6803
7629
|
{
|
|
6804
7630
|
...other,
|
|
@@ -6806,30 +7632,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6806
7632
|
props.className,
|
|
6807
7633
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6808
7634
|
),
|
|
6809
|
-
children: /* @__PURE__ */
|
|
6810
|
-
/* @__PURE__ */
|
|
6811
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6812
|
-
title !== "" && /* @__PURE__ */
|
|
6813
|
-
subTitle !== "" && /* @__PURE__ */
|
|
7635
|
+
children: /* @__PURE__ */ jsxs50(Fragment31, { children: [
|
|
7636
|
+
/* @__PURE__ */ jsxs50("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
7637
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx138(Fragment31, { children: /* @__PURE__ */ jsxs50("div", { className: "k-actionsheet-title", children: [
|
|
7638
|
+
title !== "" && /* @__PURE__ */ jsx138("div", { className: "k-text-center", children: title }),
|
|
7639
|
+
subTitle !== "" && /* @__PURE__ */ jsx138("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6814
7640
|
] }) }),
|
|
6815
|
-
props.children && /* @__PURE__ */
|
|
6816
|
-
actions && /* @__PURE__ */
|
|
7641
|
+
props.children && /* @__PURE__ */ jsx138("div", { className: "k-actionsheet-title", children: props.children }),
|
|
7642
|
+
actions && /* @__PURE__ */ jsx138(Fragment31, { children: /* @__PURE__ */ jsx138("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx138(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6817
7643
|
] }),
|
|
6818
|
-
filter && /* @__PURE__ */
|
|
7644
|
+
filter && /* @__PURE__ */ jsx138(Fragment31, { children: /* @__PURE__ */ jsx138("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx138(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6819
7645
|
] })
|
|
6820
7646
|
}
|
|
6821
7647
|
);
|
|
6822
7648
|
};
|
|
6823
7649
|
|
|
6824
7650
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6825
|
-
import { Fragment as Fragment32, jsx as
|
|
7651
|
+
import { Fragment as Fragment32, jsx as jsx139, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
6826
7652
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6827
7653
|
var ActionSheetFooter = (props) => {
|
|
6828
7654
|
const {
|
|
6829
7655
|
actions,
|
|
6830
7656
|
...other
|
|
6831
7657
|
} = props;
|
|
6832
|
-
return /* @__PURE__ */
|
|
7658
|
+
return /* @__PURE__ */ jsx139(
|
|
6833
7659
|
action_buttons_spec_default,
|
|
6834
7660
|
{
|
|
6835
7661
|
...other,
|
|
@@ -6838,17 +7664,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6838
7664
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6839
7665
|
),
|
|
6840
7666
|
alignment: "stretched",
|
|
6841
|
-
children: /* @__PURE__ */
|
|
7667
|
+
children: /* @__PURE__ */ jsxs51(Fragment32, { children: [
|
|
6842
7668
|
actions && actions.map((action, index) => {
|
|
6843
7669
|
if (action === "|") {
|
|
6844
|
-
return /* @__PURE__ */
|
|
7670
|
+
return /* @__PURE__ */ jsx139("span", { className: "k-separator" }, index);
|
|
6845
7671
|
}
|
|
6846
7672
|
if (action === " ") {
|
|
6847
|
-
return /* @__PURE__ */
|
|
7673
|
+
return /* @__PURE__ */ jsx139("span", { className: "k-spacer" }, index);
|
|
6848
7674
|
}
|
|
6849
7675
|
const importantFlag = action.startsWith("!");
|
|
6850
7676
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6851
|
-
return /* @__PURE__ */
|
|
7677
|
+
return /* @__PURE__ */ jsx139(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6852
7678
|
}),
|
|
6853
7679
|
!actions && props.children
|
|
6854
7680
|
] })
|
|
@@ -6857,12 +7683,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6857
7683
|
};
|
|
6858
7684
|
|
|
6859
7685
|
// src/action-sheet/actionsheet-items.tsx
|
|
6860
|
-
import { jsx as
|
|
7686
|
+
import { jsx as jsx140 } from "react/jsx-runtime";
|
|
6861
7687
|
var ActionSheetItems = (props) => {
|
|
6862
7688
|
const {
|
|
6863
7689
|
...other
|
|
6864
7690
|
} = props;
|
|
6865
|
-
return /* @__PURE__ */
|
|
7691
|
+
return /* @__PURE__ */ jsx140(
|
|
6866
7692
|
"div",
|
|
6867
7693
|
{
|
|
6868
7694
|
...other,
|
|
@@ -6876,8 +7702,8 @@ var ActionSheetItems = (props) => {
|
|
|
6876
7702
|
};
|
|
6877
7703
|
|
|
6878
7704
|
// src/action-sheet/actionsheet-item.tsx
|
|
6879
|
-
import { Fragment as Fragment33, jsx as
|
|
6880
|
-
var
|
|
7705
|
+
import { Fragment as Fragment33, jsx as jsx141, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7706
|
+
var states48 = [
|
|
6881
7707
|
States.hover,
|
|
6882
7708
|
States.focus,
|
|
6883
7709
|
States.selected,
|
|
@@ -6885,9 +7711,9 @@ var states39 = [
|
|
|
6885
7711
|
];
|
|
6886
7712
|
|
|
6887
7713
|
// src/combobox/combobox.spec.tsx
|
|
6888
|
-
import { Fragment as Fragment34, jsx as
|
|
7714
|
+
import { Fragment as Fragment34, jsx as jsx142, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
6889
7715
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6890
|
-
var
|
|
7716
|
+
var states49 = [
|
|
6891
7717
|
States.hover,
|
|
6892
7718
|
States.focus,
|
|
6893
7719
|
States.valid,
|
|
@@ -6897,12 +7723,12 @@ var states40 = [
|
|
|
6897
7723
|
States.disabled,
|
|
6898
7724
|
States.readonly
|
|
6899
7725
|
];
|
|
6900
|
-
var
|
|
7726
|
+
var defaultProps44 = {
|
|
6901
7727
|
size: Input.defaultProps.size,
|
|
6902
7728
|
rounded: Input.defaultProps.rounded,
|
|
6903
7729
|
fillMode: Input.defaultProps.fillMode
|
|
6904
7730
|
};
|
|
6905
|
-
var
|
|
7731
|
+
var options44 = {
|
|
6906
7732
|
size: [Size.small, Size.medium, Size.large],
|
|
6907
7733
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6908
7734
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -6930,8 +7756,8 @@ var Combobox = (props) => {
|
|
|
6930
7756
|
adaptiveSettings,
|
|
6931
7757
|
...other
|
|
6932
7758
|
} = props;
|
|
6933
|
-
return /* @__PURE__ */
|
|
6934
|
-
/* @__PURE__ */
|
|
7759
|
+
return /* @__PURE__ */ jsxs53(Fragment34, { children: [
|
|
7760
|
+
/* @__PURE__ */ jsxs53(
|
|
6935
7761
|
Input,
|
|
6936
7762
|
{
|
|
6937
7763
|
...other,
|
|
@@ -6948,12 +7774,12 @@ var Combobox = (props) => {
|
|
|
6948
7774
|
readonly,
|
|
6949
7775
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6950
7776
|
children: [
|
|
6951
|
-
prefix && /* @__PURE__ */
|
|
6952
|
-
/* @__PURE__ */
|
|
6953
|
-
/* @__PURE__ */
|
|
7777
|
+
prefix && /* @__PURE__ */ jsxs53(Fragment34, { children: [
|
|
7778
|
+
/* @__PURE__ */ jsx142(InputPrefix, { children: prefix }),
|
|
7779
|
+
/* @__PURE__ */ jsx142(InputSeparator, {})
|
|
6954
7780
|
] }),
|
|
6955
|
-
/* @__PURE__ */
|
|
6956
|
-
/* @__PURE__ */
|
|
7781
|
+
/* @__PURE__ */ jsx142(InputInnerInput, { placeholder, value }),
|
|
7782
|
+
/* @__PURE__ */ jsx142(
|
|
6957
7783
|
InputValidationIcon,
|
|
6958
7784
|
{
|
|
6959
7785
|
valid,
|
|
@@ -6962,14 +7788,14 @@ var Combobox = (props) => {
|
|
|
6962
7788
|
disabled
|
|
6963
7789
|
}
|
|
6964
7790
|
),
|
|
6965
|
-
/* @__PURE__ */
|
|
7791
|
+
/* @__PURE__ */ jsx142(
|
|
6966
7792
|
InputLoadingIcon,
|
|
6967
7793
|
{
|
|
6968
7794
|
loading,
|
|
6969
7795
|
disabled
|
|
6970
7796
|
}
|
|
6971
7797
|
),
|
|
6972
|
-
/* @__PURE__ */
|
|
7798
|
+
/* @__PURE__ */ jsx142(
|
|
6973
7799
|
InputClearValue,
|
|
6974
7800
|
{
|
|
6975
7801
|
loading,
|
|
@@ -6978,11 +7804,11 @@ var Combobox = (props) => {
|
|
|
6978
7804
|
value
|
|
6979
7805
|
}
|
|
6980
7806
|
),
|
|
6981
|
-
suffix && /* @__PURE__ */
|
|
6982
|
-
/* @__PURE__ */
|
|
6983
|
-
/* @__PURE__ */
|
|
7807
|
+
suffix && /* @__PURE__ */ jsxs53(Fragment34, { children: [
|
|
7808
|
+
/* @__PURE__ */ jsx142(InputSeparator, {}),
|
|
7809
|
+
/* @__PURE__ */ jsx142(InputSuffix, { children: suffix })
|
|
6984
7810
|
] }),
|
|
6985
|
-
/* @__PURE__ */
|
|
7811
|
+
/* @__PURE__ */ jsx142(
|
|
6986
7812
|
Button,
|
|
6987
7813
|
{
|
|
6988
7814
|
className: "k-input-button",
|
|
@@ -6995,9 +7821,9 @@ var Combobox = (props) => {
|
|
|
6995
7821
|
]
|
|
6996
7822
|
}
|
|
6997
7823
|
),
|
|
6998
|
-
opened && popup && /* @__PURE__ */
|
|
6999
|
-
adaptive && /* @__PURE__ */
|
|
7000
|
-
/* @__PURE__ */
|
|
7824
|
+
opened && popup && /* @__PURE__ */ jsx142(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7825
|
+
adaptive && /* @__PURE__ */ jsxs53(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7826
|
+
/* @__PURE__ */ jsx142(
|
|
7001
7827
|
ActionSheetHeader,
|
|
7002
7828
|
{
|
|
7003
7829
|
actions: ["x"],
|
|
@@ -7005,48 +7831,48 @@ var Combobox = (props) => {
|
|
|
7005
7831
|
title: "Select Item"
|
|
7006
7832
|
}
|
|
7007
7833
|
),
|
|
7008
|
-
/* @__PURE__ */
|
|
7009
|
-
/* @__PURE__ */
|
|
7010
|
-
/* @__PURE__ */
|
|
7011
|
-
/* @__PURE__ */
|
|
7834
|
+
/* @__PURE__ */ jsx142("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs53(List, { size: "large", children: [
|
|
7835
|
+
/* @__PURE__ */ jsx142(ListItem, { text: "List item" }),
|
|
7836
|
+
/* @__PURE__ */ jsx142(ListItem, { text: "List item" }),
|
|
7837
|
+
/* @__PURE__ */ jsx142(ListItem, { text: "List item" })
|
|
7012
7838
|
] }) })
|
|
7013
7839
|
] })
|
|
7014
7840
|
] });
|
|
7015
7841
|
};
|
|
7016
|
-
Combobox.states =
|
|
7017
|
-
Combobox.options =
|
|
7842
|
+
Combobox.states = states49;
|
|
7843
|
+
Combobox.options = options44;
|
|
7018
7844
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
7019
|
-
Combobox.defaultProps =
|
|
7845
|
+
Combobox.defaultProps = defaultProps44;
|
|
7020
7846
|
|
|
7021
7847
|
// src/combobox/templates/combobox-normal.tsx
|
|
7022
|
-
import { jsx as
|
|
7848
|
+
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
7023
7849
|
|
|
7024
7850
|
// src/combobox/templates/combobox-popup.tsx
|
|
7025
|
-
import { jsx as
|
|
7851
|
+
import { jsx as jsx144, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7026
7852
|
|
|
7027
7853
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7028
|
-
import { jsx as
|
|
7854
|
+
import { jsx as jsx145, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7029
7855
|
|
|
7030
7856
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7031
|
-
import { jsx as
|
|
7857
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
7032
7858
|
|
|
7033
7859
|
// src/combobox/templates/combobox-prefix.tsx
|
|
7034
|
-
import { Fragment as Fragment35, jsx as
|
|
7860
|
+
import { Fragment as Fragment35, jsx as jsx147 } from "react/jsx-runtime";
|
|
7035
7861
|
|
|
7036
7862
|
// src/combobox/templates/combobox-suffix.tsx
|
|
7037
|
-
import { Fragment as Fragment36, jsx as
|
|
7863
|
+
import { Fragment as Fragment36, jsx as jsx148 } from "react/jsx-runtime";
|
|
7038
7864
|
|
|
7039
7865
|
// src/menu-button/menu-button.spec.tsx
|
|
7040
|
-
import { Fragment as Fragment37, jsx as
|
|
7866
|
+
import { Fragment as Fragment37, jsx as jsx149, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7041
7867
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7042
|
-
var
|
|
7868
|
+
var states50 = [
|
|
7043
7869
|
States.hover,
|
|
7044
7870
|
States.focus,
|
|
7045
7871
|
States.active,
|
|
7046
7872
|
States.selected,
|
|
7047
7873
|
States.disabled
|
|
7048
7874
|
];
|
|
7049
|
-
var
|
|
7875
|
+
var options45 = {
|
|
7050
7876
|
size: [Size.small, Size.medium, Size.large],
|
|
7051
7877
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7052
7878
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7064,7 +7890,7 @@ var options39 = {
|
|
|
7064
7890
|
ThemeColor.inverse
|
|
7065
7891
|
]
|
|
7066
7892
|
};
|
|
7067
|
-
var
|
|
7893
|
+
var defaultProps45 = {
|
|
7068
7894
|
size: Size.medium,
|
|
7069
7895
|
rounded: Roundness.medium,
|
|
7070
7896
|
fillMode: FillMode.solid,
|
|
@@ -7074,10 +7900,10 @@ var defaultProps38 = {
|
|
|
7074
7900
|
};
|
|
7075
7901
|
var MenuButton = (props) => {
|
|
7076
7902
|
const {
|
|
7077
|
-
size =
|
|
7078
|
-
rounded =
|
|
7079
|
-
fillMode =
|
|
7080
|
-
themeColor =
|
|
7903
|
+
size = defaultProps45.size,
|
|
7904
|
+
rounded = defaultProps45.rounded,
|
|
7905
|
+
fillMode = defaultProps45.fillMode,
|
|
7906
|
+
themeColor = defaultProps45.themeColor,
|
|
7081
7907
|
hover,
|
|
7082
7908
|
focus,
|
|
7083
7909
|
active,
|
|
@@ -7085,14 +7911,14 @@ var MenuButton = (props) => {
|
|
|
7085
7911
|
disabled,
|
|
7086
7912
|
icon,
|
|
7087
7913
|
text,
|
|
7088
|
-
showArrow =
|
|
7089
|
-
arrowIconName =
|
|
7914
|
+
showArrow = defaultProps45.showArrow,
|
|
7915
|
+
arrowIconName = defaultProps45.arrowIconName,
|
|
7090
7916
|
popup,
|
|
7091
7917
|
opened,
|
|
7092
7918
|
...other
|
|
7093
7919
|
} = props;
|
|
7094
|
-
return /* @__PURE__ */
|
|
7095
|
-
/* @__PURE__ */
|
|
7920
|
+
return /* @__PURE__ */ jsxs56(Fragment37, { children: [
|
|
7921
|
+
/* @__PURE__ */ jsx149(
|
|
7096
7922
|
Button,
|
|
7097
7923
|
{
|
|
7098
7924
|
...other,
|
|
@@ -7115,35 +7941,35 @@ var MenuButton = (props) => {
|
|
|
7115
7941
|
arrowIconName
|
|
7116
7942
|
}
|
|
7117
7943
|
),
|
|
7118
|
-
opened && popup && /* @__PURE__ */
|
|
7944
|
+
opened && popup && /* @__PURE__ */ jsx149(Popup, { className: "k-menu-popup", children: popup })
|
|
7119
7945
|
] });
|
|
7120
7946
|
};
|
|
7121
|
-
MenuButton.states =
|
|
7122
|
-
MenuButton.options =
|
|
7947
|
+
MenuButton.states = states50;
|
|
7948
|
+
MenuButton.options = options45;
|
|
7123
7949
|
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
7124
|
-
MenuButton.defaultProps =
|
|
7950
|
+
MenuButton.defaultProps = defaultProps45;
|
|
7125
7951
|
|
|
7126
7952
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7127
|
-
import { jsx as
|
|
7953
|
+
import { jsx as jsx150 } from "react/jsx-runtime";
|
|
7128
7954
|
|
|
7129
7955
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7130
|
-
import { jsx as
|
|
7956
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
7131
7957
|
|
|
7132
7958
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7133
|
-
import { jsx as
|
|
7959
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
7134
7960
|
|
|
7135
7961
|
// src/menu/menu-item.spec.tsx
|
|
7136
|
-
import { Fragment as Fragment38, jsx as
|
|
7962
|
+
import { Fragment as Fragment38, jsx as jsx153, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7137
7963
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7138
|
-
var
|
|
7964
|
+
var states51 = [
|
|
7139
7965
|
States.hover,
|
|
7140
7966
|
States.focus,
|
|
7141
7967
|
States.active,
|
|
7142
7968
|
States.selected,
|
|
7143
7969
|
States.disabled
|
|
7144
7970
|
];
|
|
7145
|
-
var
|
|
7146
|
-
var
|
|
7971
|
+
var options46 = {};
|
|
7972
|
+
var defaultProps46 = {
|
|
7147
7973
|
dir: "ltr"
|
|
7148
7974
|
};
|
|
7149
7975
|
var MenuItem = (props) => {
|
|
@@ -7157,11 +7983,11 @@ var MenuItem = (props) => {
|
|
|
7157
7983
|
text,
|
|
7158
7984
|
showArrow,
|
|
7159
7985
|
arrowIconName,
|
|
7160
|
-
dir =
|
|
7986
|
+
dir = defaultProps46.dir,
|
|
7161
7987
|
children,
|
|
7162
7988
|
...other
|
|
7163
7989
|
} = props;
|
|
7164
|
-
const contentTemplate = /* @__PURE__ */
|
|
7990
|
+
const contentTemplate = /* @__PURE__ */ jsx153(Fragment38, {});
|
|
7165
7991
|
if (children) {
|
|
7166
7992
|
children.forEach((child) => {
|
|
7167
7993
|
const component = child.type;
|
|
@@ -7175,7 +8001,7 @@ var MenuItem = (props) => {
|
|
|
7175
8001
|
if (!expandArrowName) {
|
|
7176
8002
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7177
8003
|
}
|
|
7178
|
-
return /* @__PURE__ */
|
|
8004
|
+
return /* @__PURE__ */ jsxs57(
|
|
7179
8005
|
"li",
|
|
7180
8006
|
{
|
|
7181
8007
|
...other,
|
|
@@ -7190,7 +8016,7 @@ var MenuItem = (props) => {
|
|
|
7190
8016
|
})
|
|
7191
8017
|
),
|
|
7192
8018
|
children: [
|
|
7193
|
-
/* @__PURE__ */
|
|
8019
|
+
/* @__PURE__ */ jsxs57(
|
|
7194
8020
|
"span",
|
|
7195
8021
|
{
|
|
7196
8022
|
className: classNames(
|
|
@@ -7203,9 +8029,9 @@ var MenuItem = (props) => {
|
|
|
7203
8029
|
})
|
|
7204
8030
|
),
|
|
7205
8031
|
children: [
|
|
7206
|
-
icon && /* @__PURE__ */
|
|
7207
|
-
/* @__PURE__ */
|
|
7208
|
-
showArrow && /* @__PURE__ */
|
|
8032
|
+
icon && /* @__PURE__ */ jsx153(Icon, { className: "k-menu-link-icon", icon }),
|
|
8033
|
+
/* @__PURE__ */ jsx153("span", { className: "k-menu-link-text", children: text }),
|
|
8034
|
+
showArrow && /* @__PURE__ */ jsx153("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx153(Icon, { icon: expandArrowName }) })
|
|
7209
8035
|
]
|
|
7210
8036
|
}
|
|
7211
8037
|
),
|
|
@@ -7214,24 +8040,24 @@ var MenuItem = (props) => {
|
|
|
7214
8040
|
}
|
|
7215
8041
|
);
|
|
7216
8042
|
};
|
|
7217
|
-
MenuItem.states =
|
|
7218
|
-
MenuItem.options =
|
|
8043
|
+
MenuItem.states = states51;
|
|
8044
|
+
MenuItem.options = options46;
|
|
7219
8045
|
MenuItem.className = MENUITEM_CLASSNAME;
|
|
7220
|
-
MenuItem.defaultProps =
|
|
8046
|
+
MenuItem.defaultProps = defaultProps46;
|
|
7221
8047
|
var menu_item_spec_default = MenuItem;
|
|
7222
8048
|
|
|
7223
8049
|
// src/menu/menu-separator.spec.tsx
|
|
7224
|
-
import { jsx as
|
|
8050
|
+
import { jsx as jsx154 } from "react/jsx-runtime";
|
|
7225
8051
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7226
|
-
var
|
|
8052
|
+
var defaultProps47 = {
|
|
7227
8053
|
orientation: "horizontal"
|
|
7228
8054
|
};
|
|
7229
8055
|
var MenuSeparator = (props) => {
|
|
7230
8056
|
const {
|
|
7231
|
-
orientation =
|
|
8057
|
+
orientation = defaultProps47.orientation,
|
|
7232
8058
|
...other
|
|
7233
8059
|
} = props;
|
|
7234
|
-
return /* @__PURE__ */
|
|
8060
|
+
return /* @__PURE__ */ jsx154(
|
|
7235
8061
|
"li",
|
|
7236
8062
|
{
|
|
7237
8063
|
...other,
|
|
@@ -7249,25 +8075,25 @@ var MenuSeparator = (props) => {
|
|
|
7249
8075
|
var menu_separator_spec_default = MenuSeparator;
|
|
7250
8076
|
|
|
7251
8077
|
// src/menu/menu-item-content.tsx
|
|
7252
|
-
import { Fragment as Fragment39, jsx as
|
|
8078
|
+
import { Fragment as Fragment39, jsx as jsx155 } from "react/jsx-runtime";
|
|
7253
8079
|
|
|
7254
8080
|
// src/menu/menu-list.spec.tsx
|
|
7255
|
-
import { jsx as
|
|
8081
|
+
import { jsx as jsx156 } from "react/jsx-runtime";
|
|
7256
8082
|
import { createElement } from "react";
|
|
7257
8083
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7258
|
-
var
|
|
7259
|
-
var
|
|
8084
|
+
var states52 = [];
|
|
8085
|
+
var options47 = {
|
|
7260
8086
|
size: [Size.small, Size.medium, Size.large]
|
|
7261
8087
|
};
|
|
7262
|
-
var
|
|
8088
|
+
var defaultProps48 = {
|
|
7263
8089
|
size: Size.medium,
|
|
7264
8090
|
dir: "ltr"
|
|
7265
8091
|
};
|
|
7266
8092
|
var MenuList = (props) => {
|
|
7267
8093
|
const {
|
|
7268
8094
|
children,
|
|
7269
|
-
size =
|
|
7270
|
-
dir =
|
|
8095
|
+
size = defaultProps48.size,
|
|
8096
|
+
dir = defaultProps48.dir,
|
|
7271
8097
|
...other
|
|
7272
8098
|
} = props;
|
|
7273
8099
|
const listChildren = [];
|
|
@@ -7280,7 +8106,7 @@ var MenuList = (props) => {
|
|
|
7280
8106
|
);
|
|
7281
8107
|
} else if (child.type === menu_separator_spec_default) {
|
|
7282
8108
|
listChildren.push(
|
|
7283
|
-
/* @__PURE__ */
|
|
8109
|
+
/* @__PURE__ */ jsx156(menu_separator_spec_default, {})
|
|
7284
8110
|
);
|
|
7285
8111
|
} else {
|
|
7286
8112
|
listChildren.push(child);
|
|
@@ -7288,7 +8114,7 @@ var MenuList = (props) => {
|
|
|
7288
8114
|
});
|
|
7289
8115
|
}
|
|
7290
8116
|
}
|
|
7291
|
-
return /* @__PURE__ */
|
|
8117
|
+
return /* @__PURE__ */ jsx156(
|
|
7292
8118
|
"ul",
|
|
7293
8119
|
{
|
|
7294
8120
|
...other,
|
|
@@ -7303,25 +8129,25 @@ var MenuList = (props) => {
|
|
|
7303
8129
|
}
|
|
7304
8130
|
);
|
|
7305
8131
|
};
|
|
7306
|
-
MenuList.states =
|
|
7307
|
-
MenuList.options =
|
|
8132
|
+
MenuList.states = states52;
|
|
8133
|
+
MenuList.options = options47;
|
|
7308
8134
|
MenuList.className = MENULIST_CLASSNAME;
|
|
7309
|
-
MenuList.defaultProps =
|
|
8135
|
+
MenuList.defaultProps = defaultProps48;
|
|
7310
8136
|
|
|
7311
8137
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7312
|
-
import { jsx as
|
|
8138
|
+
import { jsx as jsx157, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7313
8139
|
|
|
7314
8140
|
// src/split-button/split-button.spec.tsx
|
|
7315
|
-
import { Fragment as Fragment40, jsx as
|
|
8141
|
+
import { Fragment as Fragment40, jsx as jsx158, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
7316
8142
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7317
|
-
var
|
|
8143
|
+
var states53 = [
|
|
7318
8144
|
States.hover,
|
|
7319
8145
|
States.focus,
|
|
7320
8146
|
States.active,
|
|
7321
8147
|
States.selected,
|
|
7322
8148
|
States.disabled
|
|
7323
8149
|
];
|
|
7324
|
-
var
|
|
8150
|
+
var options48 = {
|
|
7325
8151
|
size: [Size.small, Size.medium, Size.large],
|
|
7326
8152
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7327
8153
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7339,7 +8165,7 @@ var options42 = {
|
|
|
7339
8165
|
ThemeColor.inverse
|
|
7340
8166
|
]
|
|
7341
8167
|
};
|
|
7342
|
-
var
|
|
8168
|
+
var defaultProps49 = {
|
|
7343
8169
|
size: Size.medium,
|
|
7344
8170
|
rounded: Roundness.medium,
|
|
7345
8171
|
fillMode: FillMode.solid,
|
|
@@ -7348,10 +8174,10 @@ var defaultProps42 = {
|
|
|
7348
8174
|
};
|
|
7349
8175
|
var SplitButton = (props) => {
|
|
7350
8176
|
const {
|
|
7351
|
-
size =
|
|
7352
|
-
rounded =
|
|
7353
|
-
fillMode =
|
|
7354
|
-
themeColor =
|
|
8177
|
+
size = defaultProps49.size,
|
|
8178
|
+
rounded = defaultProps49.rounded,
|
|
8179
|
+
fillMode = defaultProps49.fillMode,
|
|
8180
|
+
themeColor = defaultProps49.themeColor,
|
|
7355
8181
|
hover,
|
|
7356
8182
|
focus,
|
|
7357
8183
|
active,
|
|
@@ -7359,13 +8185,13 @@ var SplitButton = (props) => {
|
|
|
7359
8185
|
disabled,
|
|
7360
8186
|
icon,
|
|
7361
8187
|
text,
|
|
7362
|
-
arrowIconName =
|
|
8188
|
+
arrowIconName = defaultProps49.arrowIconName,
|
|
7363
8189
|
popup,
|
|
7364
8190
|
opened,
|
|
7365
8191
|
...other
|
|
7366
8192
|
} = props;
|
|
7367
|
-
return /* @__PURE__ */
|
|
7368
|
-
/* @__PURE__ */
|
|
8193
|
+
return /* @__PURE__ */ jsxs59(Fragment40, { children: [
|
|
8194
|
+
/* @__PURE__ */ jsxs59(
|
|
7369
8195
|
"div",
|
|
7370
8196
|
{
|
|
7371
8197
|
...other,
|
|
@@ -7378,7 +8204,7 @@ var SplitButton = (props) => {
|
|
|
7378
8204
|
})
|
|
7379
8205
|
),
|
|
7380
8206
|
children: [
|
|
7381
|
-
/* @__PURE__ */
|
|
8207
|
+
/* @__PURE__ */ jsx158(
|
|
7382
8208
|
Button,
|
|
7383
8209
|
{
|
|
7384
8210
|
text,
|
|
@@ -7395,7 +8221,7 @@ var SplitButton = (props) => {
|
|
|
7395
8221
|
children: props.children
|
|
7396
8222
|
}
|
|
7397
8223
|
),
|
|
7398
|
-
/* @__PURE__ */
|
|
8224
|
+
/* @__PURE__ */ jsx158(
|
|
7399
8225
|
Button,
|
|
7400
8226
|
{
|
|
7401
8227
|
className: "k-split-button-arrow",
|
|
@@ -7409,30 +8235,30 @@ var SplitButton = (props) => {
|
|
|
7409
8235
|
]
|
|
7410
8236
|
}
|
|
7411
8237
|
),
|
|
7412
|
-
opened && popup && /* @__PURE__ */
|
|
8238
|
+
opened && popup && /* @__PURE__ */ jsx158(Popup, { className: "k-menu-popup", children: popup })
|
|
7413
8239
|
] });
|
|
7414
8240
|
};
|
|
7415
|
-
SplitButton.states =
|
|
7416
|
-
SplitButton.options =
|
|
8241
|
+
SplitButton.states = states53;
|
|
8242
|
+
SplitButton.options = options48;
|
|
7417
8243
|
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
7418
|
-
SplitButton.defaultProps =
|
|
8244
|
+
SplitButton.defaultProps = defaultProps49;
|
|
7419
8245
|
var split_button_spec_default = SplitButton;
|
|
7420
8246
|
|
|
7421
8247
|
// src/toolbar/toolbar.spec.tsx
|
|
7422
|
-
import { jsx as
|
|
8248
|
+
import { jsx as jsx159 } from "react/jsx-runtime";
|
|
7423
8249
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7424
|
-
var
|
|
8250
|
+
var states54 = [
|
|
7425
8251
|
States.focus
|
|
7426
8252
|
];
|
|
7427
|
-
var
|
|
8253
|
+
var options49 = {
|
|
7428
8254
|
size: [Size.small, Size.medium, Size.large]
|
|
7429
8255
|
};
|
|
7430
|
-
var
|
|
8256
|
+
var defaultProps50 = {
|
|
7431
8257
|
size: Size.medium
|
|
7432
8258
|
};
|
|
7433
8259
|
var Toolbar = (props) => {
|
|
7434
8260
|
const {
|
|
7435
|
-
size =
|
|
8261
|
+
size = defaultProps50.size,
|
|
7436
8262
|
focus,
|
|
7437
8263
|
resizable,
|
|
7438
8264
|
...other
|
|
@@ -7442,7 +8268,7 @@ var Toolbar = (props) => {
|
|
|
7442
8268
|
const tempToolbarChildren = [];
|
|
7443
8269
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7444
8270
|
tempToolbarChildren.push(
|
|
7445
|
-
/* @__PURE__ */
|
|
8271
|
+
/* @__PURE__ */ jsx159(
|
|
7446
8272
|
Button,
|
|
7447
8273
|
{
|
|
7448
8274
|
...child.props,
|
|
@@ -7453,7 +8279,7 @@ var Toolbar = (props) => {
|
|
|
7453
8279
|
);
|
|
7454
8280
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7455
8281
|
tempToolbarChildren.push(
|
|
7456
|
-
/* @__PURE__ */
|
|
8282
|
+
/* @__PURE__ */ jsx159(
|
|
7457
8283
|
Button,
|
|
7458
8284
|
{
|
|
7459
8285
|
...child.props,
|
|
@@ -7464,7 +8290,7 @@ var Toolbar = (props) => {
|
|
|
7464
8290
|
);
|
|
7465
8291
|
} else if (child.type === Button) {
|
|
7466
8292
|
tempToolbarChildren.push(
|
|
7467
|
-
/* @__PURE__ */
|
|
8293
|
+
/* @__PURE__ */ jsx159(
|
|
7468
8294
|
Button,
|
|
7469
8295
|
{
|
|
7470
8296
|
...child.props,
|
|
@@ -7475,7 +8301,7 @@ var Toolbar = (props) => {
|
|
|
7475
8301
|
);
|
|
7476
8302
|
} else if (child.type === MenuButton) {
|
|
7477
8303
|
tempToolbarChildren.push(
|
|
7478
|
-
/* @__PURE__ */
|
|
8304
|
+
/* @__PURE__ */ jsx159(
|
|
7479
8305
|
MenuButton,
|
|
7480
8306
|
{
|
|
7481
8307
|
...child.props,
|
|
@@ -7486,7 +8312,7 @@ var Toolbar = (props) => {
|
|
|
7486
8312
|
);
|
|
7487
8313
|
} else if (child.type === split_button_spec_default) {
|
|
7488
8314
|
tempToolbarChildren.push(
|
|
7489
|
-
/* @__PURE__ */
|
|
8315
|
+
/* @__PURE__ */ jsx159(
|
|
7490
8316
|
split_button_spec_default,
|
|
7491
8317
|
{
|
|
7492
8318
|
...child.props,
|
|
@@ -7500,7 +8326,7 @@ var Toolbar = (props) => {
|
|
|
7500
8326
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7501
8327
|
childrenArray.forEach((button, bindex) => {
|
|
7502
8328
|
buttonGroupItems.push(
|
|
7503
|
-
/* @__PURE__ */
|
|
8329
|
+
/* @__PURE__ */ jsx159(
|
|
7504
8330
|
Button,
|
|
7505
8331
|
{
|
|
7506
8332
|
...button.props,
|
|
@@ -7511,7 +8337,7 @@ var Toolbar = (props) => {
|
|
|
7511
8337
|
);
|
|
7512
8338
|
});
|
|
7513
8339
|
tempToolbarChildren.push(
|
|
7514
|
-
/* @__PURE__ */
|
|
8340
|
+
/* @__PURE__ */ jsx159(
|
|
7515
8341
|
ButtonGroup,
|
|
7516
8342
|
{
|
|
7517
8343
|
...child.props,
|
|
@@ -7523,7 +8349,7 @@ var Toolbar = (props) => {
|
|
|
7523
8349
|
);
|
|
7524
8350
|
} else if (child.type === Combobox) {
|
|
7525
8351
|
tempToolbarChildren.push(
|
|
7526
|
-
/* @__PURE__ */
|
|
8352
|
+
/* @__PURE__ */ jsx159(
|
|
7527
8353
|
Combobox,
|
|
7528
8354
|
{
|
|
7529
8355
|
...child.props,
|
|
@@ -7534,7 +8360,7 @@ var Toolbar = (props) => {
|
|
|
7534
8360
|
);
|
|
7535
8361
|
} else if (child.type === DropdownList) {
|
|
7536
8362
|
tempToolbarChildren.push(
|
|
7537
|
-
/* @__PURE__ */
|
|
8363
|
+
/* @__PURE__ */ jsx159(
|
|
7538
8364
|
DropdownList,
|
|
7539
8365
|
{
|
|
7540
8366
|
...child.props,
|
|
@@ -7545,7 +8371,7 @@ var Toolbar = (props) => {
|
|
|
7545
8371
|
);
|
|
7546
8372
|
} else if (child.type === ColorPicker) {
|
|
7547
8373
|
tempToolbarChildren.push(
|
|
7548
|
-
/* @__PURE__ */
|
|
8374
|
+
/* @__PURE__ */ jsx159(
|
|
7549
8375
|
ColorPicker,
|
|
7550
8376
|
{
|
|
7551
8377
|
...child.props,
|
|
@@ -7567,7 +8393,7 @@ var Toolbar = (props) => {
|
|
|
7567
8393
|
addUniqueToolClass(child, index);
|
|
7568
8394
|
});
|
|
7569
8395
|
}
|
|
7570
|
-
return /* @__PURE__ */
|
|
8396
|
+
return /* @__PURE__ */ jsx159(
|
|
7571
8397
|
"div",
|
|
7572
8398
|
{
|
|
7573
8399
|
...other,
|
|
@@ -7588,26 +8414,26 @@ var Toolbar = (props) => {
|
|
|
7588
8414
|
}
|
|
7589
8415
|
);
|
|
7590
8416
|
};
|
|
7591
|
-
Toolbar.states =
|
|
7592
|
-
Toolbar.options =
|
|
8417
|
+
Toolbar.states = states54;
|
|
8418
|
+
Toolbar.options = options49;
|
|
7593
8419
|
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
7594
|
-
Toolbar.defaultProps =
|
|
8420
|
+
Toolbar.defaultProps = defaultProps50;
|
|
7595
8421
|
|
|
7596
8422
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7597
|
-
import { jsx as
|
|
8423
|
+
import { jsx as jsx160 } from "react/jsx-runtime";
|
|
7598
8424
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7599
|
-
var
|
|
8425
|
+
var states55 = [
|
|
7600
8426
|
States.focus
|
|
7601
8427
|
];
|
|
7602
|
-
var
|
|
8428
|
+
var options50 = {
|
|
7603
8429
|
size: [Size.small, Size.medium, Size.large]
|
|
7604
8430
|
};
|
|
7605
|
-
var
|
|
8431
|
+
var defaultProps51 = {
|
|
7606
8432
|
size: Size.medium
|
|
7607
8433
|
};
|
|
7608
8434
|
var ToolbarAngular = (props) => {
|
|
7609
8435
|
const {
|
|
7610
|
-
size =
|
|
8436
|
+
size = defaultProps51.size,
|
|
7611
8437
|
focus,
|
|
7612
8438
|
resizable,
|
|
7613
8439
|
...other
|
|
@@ -7617,7 +8443,7 @@ var ToolbarAngular = (props) => {
|
|
|
7617
8443
|
const tempToolbarChildren = [];
|
|
7618
8444
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7619
8445
|
tempToolbarChildren.push(
|
|
7620
|
-
/* @__PURE__ */
|
|
8446
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7621
8447
|
Button,
|
|
7622
8448
|
{
|
|
7623
8449
|
...child.props,
|
|
@@ -7628,7 +8454,7 @@ var ToolbarAngular = (props) => {
|
|
|
7628
8454
|
);
|
|
7629
8455
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7630
8456
|
tempToolbarChildren.push(
|
|
7631
|
-
/* @__PURE__ */
|
|
8457
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7632
8458
|
Button,
|
|
7633
8459
|
{
|
|
7634
8460
|
...child.props,
|
|
@@ -7639,7 +8465,7 @@ var ToolbarAngular = (props) => {
|
|
|
7639
8465
|
);
|
|
7640
8466
|
} else if (child.type === Button) {
|
|
7641
8467
|
tempToolbarChildren.push(
|
|
7642
|
-
/* @__PURE__ */
|
|
8468
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7643
8469
|
Button,
|
|
7644
8470
|
{
|
|
7645
8471
|
...child.props,
|
|
@@ -7650,7 +8476,7 @@ var ToolbarAngular = (props) => {
|
|
|
7650
8476
|
);
|
|
7651
8477
|
} else if (child.type === MenuButton) {
|
|
7652
8478
|
tempToolbarChildren.push(
|
|
7653
|
-
/* @__PURE__ */
|
|
8479
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7654
8480
|
MenuButton,
|
|
7655
8481
|
{
|
|
7656
8482
|
...child.props,
|
|
@@ -7661,7 +8487,7 @@ var ToolbarAngular = (props) => {
|
|
|
7661
8487
|
);
|
|
7662
8488
|
} else if (child.type === split_button_spec_default) {
|
|
7663
8489
|
tempToolbarChildren.push(
|
|
7664
|
-
/* @__PURE__ */
|
|
8490
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7665
8491
|
split_button_spec_default,
|
|
7666
8492
|
{
|
|
7667
8493
|
...child.props,
|
|
@@ -7675,7 +8501,7 @@ var ToolbarAngular = (props) => {
|
|
|
7675
8501
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7676
8502
|
childrenArray.forEach((button, bindex) => {
|
|
7677
8503
|
buttonGroupItems.push(
|
|
7678
|
-
/* @__PURE__ */
|
|
8504
|
+
/* @__PURE__ */ jsx160(
|
|
7679
8505
|
Button,
|
|
7680
8506
|
{
|
|
7681
8507
|
...button.props,
|
|
@@ -7686,7 +8512,7 @@ var ToolbarAngular = (props) => {
|
|
|
7686
8512
|
);
|
|
7687
8513
|
});
|
|
7688
8514
|
tempToolbarChildren.push(
|
|
7689
|
-
/* @__PURE__ */
|
|
8515
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7690
8516
|
ButtonGroup,
|
|
7691
8517
|
{
|
|
7692
8518
|
...child.props,
|
|
@@ -7698,7 +8524,7 @@ var ToolbarAngular = (props) => {
|
|
|
7698
8524
|
);
|
|
7699
8525
|
} else if (child.type === Combobox) {
|
|
7700
8526
|
tempToolbarChildren.push(
|
|
7701
|
-
/* @__PURE__ */
|
|
8527
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7702
8528
|
Combobox,
|
|
7703
8529
|
{
|
|
7704
8530
|
...child.props,
|
|
@@ -7709,7 +8535,7 @@ var ToolbarAngular = (props) => {
|
|
|
7709
8535
|
);
|
|
7710
8536
|
} else if (child.type === DropdownList) {
|
|
7711
8537
|
tempToolbarChildren.push(
|
|
7712
|
-
/* @__PURE__ */
|
|
8538
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7713
8539
|
DropdownList,
|
|
7714
8540
|
{
|
|
7715
8541
|
...child.props,
|
|
@@ -7720,7 +8546,7 @@ var ToolbarAngular = (props) => {
|
|
|
7720
8546
|
);
|
|
7721
8547
|
} else if (child.type === ColorPicker) {
|
|
7722
8548
|
tempToolbarChildren.push(
|
|
7723
|
-
/* @__PURE__ */
|
|
8549
|
+
/* @__PURE__ */ jsx160("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx160(
|
|
7724
8550
|
ColorPicker,
|
|
7725
8551
|
{
|
|
7726
8552
|
...child.props,
|
|
@@ -7742,7 +8568,7 @@ var ToolbarAngular = (props) => {
|
|
|
7742
8568
|
addUniqueToolClass(child, index);
|
|
7743
8569
|
});
|
|
7744
8570
|
}
|
|
7745
|
-
return /* @__PURE__ */
|
|
8571
|
+
return /* @__PURE__ */ jsx160(
|
|
7746
8572
|
"div",
|
|
7747
8573
|
{
|
|
7748
8574
|
...other,
|
|
@@ -7763,28 +8589,28 @@ var ToolbarAngular = (props) => {
|
|
|
7763
8589
|
}
|
|
7764
8590
|
);
|
|
7765
8591
|
};
|
|
7766
|
-
ToolbarAngular.states =
|
|
7767
|
-
ToolbarAngular.options =
|
|
8592
|
+
ToolbarAngular.states = states55;
|
|
8593
|
+
ToolbarAngular.options = options50;
|
|
7768
8594
|
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
7769
|
-
ToolbarAngular.defaultProps =
|
|
8595
|
+
ToolbarAngular.defaultProps = defaultProps51;
|
|
7770
8596
|
|
|
7771
8597
|
// src/toolbar/toolbar-separator.tsx
|
|
7772
|
-
import { jsx as
|
|
8598
|
+
import { jsx as jsx161 } from "react/jsx-runtime";
|
|
7773
8599
|
|
|
7774
8600
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7775
|
-
import { jsx as
|
|
8601
|
+
import { jsx as jsx162 } from "react/jsx-runtime";
|
|
7776
8602
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7777
|
-
var
|
|
8603
|
+
var states56 = [
|
|
7778
8604
|
States.focus
|
|
7779
8605
|
];
|
|
7780
|
-
var
|
|
7781
|
-
var
|
|
8606
|
+
var options51 = {};
|
|
8607
|
+
var defaultProps52 = {};
|
|
7782
8608
|
var ToolbarItem = (props) => {
|
|
7783
8609
|
const {
|
|
7784
8610
|
focus,
|
|
7785
8611
|
...other
|
|
7786
8612
|
} = props;
|
|
7787
|
-
return /* @__PURE__ */
|
|
8613
|
+
return /* @__PURE__ */ jsx162(
|
|
7788
8614
|
"div",
|
|
7789
8615
|
{
|
|
7790
8616
|
...other,
|
|
@@ -7799,20 +8625,20 @@ var ToolbarItem = (props) => {
|
|
|
7799
8625
|
}
|
|
7800
8626
|
);
|
|
7801
8627
|
};
|
|
7802
|
-
ToolbarItem.states =
|
|
7803
|
-
ToolbarItem.options =
|
|
8628
|
+
ToolbarItem.states = states56;
|
|
8629
|
+
ToolbarItem.options = options51;
|
|
7804
8630
|
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
7805
|
-
ToolbarItem.defaultProps =
|
|
8631
|
+
ToolbarItem.defaultProps = defaultProps52;
|
|
7806
8632
|
|
|
7807
8633
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7808
|
-
import { jsx as
|
|
8634
|
+
import { jsx as jsx163 } from "react/jsx-runtime";
|
|
7809
8635
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7810
|
-
var
|
|
7811
|
-
var
|
|
7812
|
-
var
|
|
8636
|
+
var states57 = [];
|
|
8637
|
+
var options52 = {};
|
|
8638
|
+
var defaultProps53 = {};
|
|
7813
8639
|
var ToolbarPopup = (props) => {
|
|
7814
8640
|
const { ...other } = props;
|
|
7815
|
-
return /* @__PURE__ */
|
|
8641
|
+
return /* @__PURE__ */ jsx163(
|
|
7816
8642
|
Popup,
|
|
7817
8643
|
{
|
|
7818
8644
|
...other,
|
|
@@ -7824,202 +8650,132 @@ var ToolbarPopup = (props) => {
|
|
|
7824
8650
|
}
|
|
7825
8651
|
);
|
|
7826
8652
|
};
|
|
7827
|
-
ToolbarPopup.states =
|
|
7828
|
-
ToolbarPopup.options =
|
|
8653
|
+
ToolbarPopup.states = states57;
|
|
8654
|
+
ToolbarPopup.options = options52;
|
|
7829
8655
|
ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
7830
|
-
ToolbarPopup.defaultProps =
|
|
8656
|
+
ToolbarPopup.defaultProps = defaultProps53;
|
|
7831
8657
|
|
|
7832
8658
|
// src/split-button/templates/icon-split-button.tsx
|
|
7833
|
-
import { jsx as
|
|
8659
|
+
import { jsx as jsx164 } from "react/jsx-runtime";
|
|
7834
8660
|
|
|
7835
8661
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7836
|
-
import { jsx as
|
|
8662
|
+
import { jsx as jsx165 } from "react/jsx-runtime";
|
|
7837
8663
|
|
|
7838
8664
|
// src/split-button/templates/text-split-button.tsx
|
|
7839
|
-
import { jsx as
|
|
8665
|
+
import { jsx as jsx166 } from "react/jsx-runtime";
|
|
7840
8666
|
|
|
7841
8667
|
// src/split-button/templates/split-button-popup.tsx
|
|
7842
|
-
import { jsx as
|
|
8668
|
+
import { jsx as jsx167, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7843
8669
|
|
|
7844
8670
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
7845
|
-
import { Fragment as Fragment41, jsx as
|
|
8671
|
+
import { Fragment as Fragment41, jsx as jsx168, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
7846
8672
|
|
|
7847
8673
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
7848
|
-
import { jsx as
|
|
8674
|
+
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
7849
8675
|
|
|
7850
8676
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
7851
|
-
import { jsx as
|
|
8677
|
+
import { jsx as jsx170 } from "react/jsx-runtime";
|
|
7852
8678
|
|
|
7853
8679
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
7854
|
-
import { jsx as
|
|
7855
|
-
|
|
7856
|
-
// src/tooltip/tooltip.spec.tsx
|
|
7857
|
-
import { jsx as jsx130, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7858
|
-
var TOOLTIP_CLASSNAME = `k-tooltip`;
|
|
7859
|
-
var states49 = [];
|
|
7860
|
-
var options47 = {
|
|
7861
|
-
themeColor: [
|
|
7862
|
-
ThemeColor.primary,
|
|
7863
|
-
ThemeColor.secondary,
|
|
7864
|
-
ThemeColor.tertiary,
|
|
7865
|
-
ThemeColor.success,
|
|
7866
|
-
ThemeColor.warning,
|
|
7867
|
-
ThemeColor.error,
|
|
7868
|
-
ThemeColor.info,
|
|
7869
|
-
ThemeColor.light,
|
|
7870
|
-
ThemeColor.dark,
|
|
7871
|
-
ThemeColor.inverse
|
|
7872
|
-
]
|
|
7873
|
-
};
|
|
7874
|
-
var defaultProps47 = {
|
|
7875
|
-
closable: false
|
|
7876
|
-
};
|
|
7877
|
-
var Tooltip = (props) => {
|
|
7878
|
-
const {
|
|
7879
|
-
callout,
|
|
7880
|
-
closable,
|
|
7881
|
-
themeColor,
|
|
7882
|
-
title,
|
|
7883
|
-
content,
|
|
7884
|
-
icon,
|
|
7885
|
-
...other
|
|
7886
|
-
} = props;
|
|
7887
|
-
return /* @__PURE__ */ jsxs53(
|
|
7888
|
-
"div",
|
|
7889
|
-
{
|
|
7890
|
-
...other,
|
|
7891
|
-
className: classNames(
|
|
7892
|
-
props.className,
|
|
7893
|
-
TOOLTIP_CLASSNAME,
|
|
7894
|
-
optionClassNames(TOOLTIP_CLASSNAME, {
|
|
7895
|
-
themeColor
|
|
7896
|
-
}),
|
|
7897
|
-
{
|
|
7898
|
-
"k-tooltip-closable": closable
|
|
7899
|
-
}
|
|
7900
|
-
),
|
|
7901
|
-
children: [
|
|
7902
|
-
icon && /* @__PURE__ */ jsx130(Icon, { className: "k-tooltip-icon", icon }),
|
|
7903
|
-
/* @__PURE__ */ jsxs53("div", { className: "k-tooltip-content", children: [
|
|
7904
|
-
title && /* @__PURE__ */ jsx130("div", { className: "k-tooltip-title", children: title }),
|
|
7905
|
-
content
|
|
7906
|
-
] }),
|
|
7907
|
-
closable && /* @__PURE__ */ jsx130("div", { className: "k-tooltip-button", children: /* @__PURE__ */ jsx130(Icon, { icon: "x" }) }),
|
|
7908
|
-
callout && /* @__PURE__ */ jsx130("div", { className: classNames(
|
|
7909
|
-
"k-callout",
|
|
7910
|
-
{
|
|
7911
|
-
[`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
|
|
7912
|
-
}
|
|
7913
|
-
) })
|
|
7914
|
-
]
|
|
7915
|
-
}
|
|
7916
|
-
);
|
|
7917
|
-
};
|
|
7918
|
-
Tooltip.states = states49;
|
|
7919
|
-
Tooltip.options = options47;
|
|
7920
|
-
Tooltip.className = TOOLTIP_CLASSNAME;
|
|
7921
|
-
Tooltip.defaultProps = defaultProps47;
|
|
7922
|
-
var tooltip_spec_default = Tooltip;
|
|
8680
|
+
import { jsx as jsx171 } from "react/jsx-runtime";
|
|
7923
8681
|
|
|
7924
|
-
// src/
|
|
7925
|
-
import { jsx as
|
|
7926
|
-
var
|
|
7927
|
-
|
|
8682
|
+
// src/grid/grid-toolbar.spec.tsx
|
|
8683
|
+
import { jsx as jsx172 } from "react/jsx-runtime";
|
|
8684
|
+
var className22 = `k-grid-toolbar`;
|
|
8685
|
+
var GridToolbar = (props) => /* @__PURE__ */ jsx172(
|
|
8686
|
+
Toolbar,
|
|
7928
8687
|
{
|
|
7929
|
-
|
|
7930
|
-
|
|
8688
|
+
...props,
|
|
8689
|
+
className: classNames(
|
|
8690
|
+
props.className,
|
|
8691
|
+
className22
|
|
8692
|
+
),
|
|
8693
|
+
children: props.children
|
|
7931
8694
|
}
|
|
7932
8695
|
);
|
|
7933
8696
|
|
|
7934
|
-
// src/tooltip/templates/tooltip-closable.tsx
|
|
7935
|
-
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
7936
|
-
|
|
7937
8697
|
// src/grid/tests/grid-editing.tsx
|
|
7938
|
-
import { Fragment as Fragment42, jsx as
|
|
7939
|
-
var grid_editing_default = () => /* @__PURE__ */
|
|
7940
|
-
/* @__PURE__ */
|
|
7941
|
-
/* @__PURE__ */
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
/* @__PURE__ */
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
8698
|
+
import { Fragment as Fragment42, jsx as jsx173, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8699
|
+
var grid_editing_default = () => /* @__PURE__ */ jsx173(Fragment42, { children: /* @__PURE__ */ jsxs62("div", { id: "test-area", className: "k-d-grid", children: [
|
|
8700
|
+
/* @__PURE__ */ jsxs62(Grid, { _renderAriaRoot: true, className: "k-grid-no-scrollbar", toolbar: /* @__PURE__ */ jsxs62(GridToolbar, { children: [
|
|
8701
|
+
/* @__PURE__ */ jsx173(Button, { children: "Add new" }),
|
|
8702
|
+
/* @__PURE__ */ jsx173(Button, { children: "Save Changes" }),
|
|
8703
|
+
/* @__PURE__ */ jsx173(Button, { children: "Cancel Changes" })
|
|
8704
|
+
] }), children: [
|
|
8705
|
+
/* @__PURE__ */ jsx173(GridHeader, { children: /* @__PURE__ */ jsx173("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs62(GridHeaderTable, { children: [
|
|
8706
|
+
/* @__PURE__ */ jsxs62("colgroup", { children: [
|
|
8707
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8708
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8709
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8710
|
+
/* @__PURE__ */ jsx173("col", { style: { width: "300px" } })
|
|
8711
|
+
] }),
|
|
8712
|
+
/* @__PURE__ */ jsx173(TableThead, { children: /* @__PURE__ */ jsxs62(TableRow, { children: [
|
|
8713
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { columnTitle: "Name" }),
|
|
8714
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { columnTitle: "Price" }),
|
|
8715
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { columnTitle: "Available" }),
|
|
8716
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, {})
|
|
8717
|
+
] }) })
|
|
8718
|
+
] }) }) }),
|
|
8719
|
+
/* @__PURE__ */ jsx173(GridContainer, { children: /* @__PURE__ */ jsx173(GridContent, { children: /* @__PURE__ */ jsx173("div", { children: /* @__PURE__ */ jsxs62(GridTable, { children: [
|
|
8720
|
+
/* @__PURE__ */ jsxs62("colgroup", { children: [
|
|
8721
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8722
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8723
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8724
|
+
/* @__PURE__ */ jsx173("col", { style: { width: "300px" } })
|
|
8725
|
+
] }),
|
|
8726
|
+
/* @__PURE__ */ jsxs62(TableTbody, { children: [
|
|
8727
|
+
/* @__PURE__ */ jsxs62(TableRow, { className: "k-grid-add-row k-grid-edit-row", children: [
|
|
8728
|
+
/* @__PURE__ */ jsx173(TableTd, { children: /* @__PURE__ */ jsx173(Textbox, { value: "Towel" }) }),
|
|
8729
|
+
/* @__PURE__ */ jsx173(TableTd, { children: /* @__PURE__ */ jsx173(NumericTextbox, { value: "42" }) }),
|
|
8730
|
+
/* @__PURE__ */ jsx173(TableTd, { children: /* @__PURE__ */ jsx173(Checkbox, {}) }),
|
|
8731
|
+
/* @__PURE__ */ jsxs62(TableTd, { className: "k-command-cell", children: [
|
|
8732
|
+
/* @__PURE__ */ jsx173(Button, { children: "Add" }),
|
|
8733
|
+
/* @__PURE__ */ jsx173(Button, { children: "Cancel" })
|
|
8734
|
+
] })
|
|
7953
8735
|
] }),
|
|
7954
|
-
/* @__PURE__ */
|
|
7955
|
-
/* @__PURE__ */
|
|
7956
|
-
/* @__PURE__ */
|
|
7957
|
-
/* @__PURE__ */
|
|
7958
|
-
/* @__PURE__ */
|
|
7959
|
-
] }) })
|
|
7960
|
-
] }) }) }),
|
|
7961
|
-
/* @__PURE__ */ jsx133("div", { className: "k-grid-container", children: /* @__PURE__ */ jsx133("div", { className: "k-grid-content", children: /* @__PURE__ */ jsx133("div", { children: /* @__PURE__ */ jsxs54("table", { className: "k-table k-table-md k-grid-table", children: [
|
|
7962
|
-
/* @__PURE__ */ jsxs54("colgroup", { children: [
|
|
7963
|
-
/* @__PURE__ */ jsx133("col", {}),
|
|
7964
|
-
/* @__PURE__ */ jsx133("col", {}),
|
|
7965
|
-
/* @__PURE__ */ jsx133("col", {}),
|
|
7966
|
-
/* @__PURE__ */ jsx133("col", { style: { width: "300px" } })
|
|
8736
|
+
/* @__PURE__ */ jsxs62(TableRow, { children: [
|
|
8737
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "Chai" }),
|
|
8738
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "18" }),
|
|
8739
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "false" }),
|
|
8740
|
+
/* @__PURE__ */ jsx173(TableTd, { className: "k-command-cell", children: /* @__PURE__ */ jsx173(Button, { children: "Remove" }) })
|
|
7967
8741
|
] }),
|
|
7968
|
-
/* @__PURE__ */
|
|
7969
|
-
/* @__PURE__ */
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
/* @__PURE__ */ jsxs54("td", { className: "k-table-td k-command-cell", children: [
|
|
7974
|
-
/* @__PURE__ */ jsx133(Button, { children: "Add" }),
|
|
7975
|
-
/* @__PURE__ */ jsx133(Button, { children: "Cancel" })
|
|
7976
|
-
] })
|
|
7977
|
-
] }),
|
|
7978
|
-
/* @__PURE__ */ jsxs54("tr", { className: "k-table-row", children: [
|
|
7979
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td", children: "Chai" }),
|
|
7980
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td", children: "18" }),
|
|
7981
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td", children: "false" }),
|
|
7982
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td k-command-cell", children: /* @__PURE__ */ jsx133(Button, { children: "Remove" }) })
|
|
7983
|
-
] }),
|
|
7984
|
-
/* @__PURE__ */ jsxs54("tr", { className: "k-table-row k-table-alt-row k-alt", children: [
|
|
7985
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td", children: "Chang" }),
|
|
7986
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td", children: "19" }),
|
|
7987
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td", children: "false" }),
|
|
7988
|
-
/* @__PURE__ */ jsx133("td", { className: "k-table-td k-command-cell", children: /* @__PURE__ */ jsx133(Button, { children: "Remove" }) })
|
|
7989
|
-
] })
|
|
8742
|
+
/* @__PURE__ */ jsxs62(TableRow, { className: "k-alt", alt: true, children: [
|
|
8743
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "Chang" }),
|
|
8744
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "19" }),
|
|
8745
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "false" }),
|
|
8746
|
+
/* @__PURE__ */ jsx173(TableTd, { className: "k-command-cell", children: /* @__PURE__ */ jsx173(Button, { children: "Remove" }) })
|
|
7990
8747
|
] })
|
|
7991
|
-
] })
|
|
7992
|
-
] })
|
|
8748
|
+
] })
|
|
8749
|
+
] }) }) }) })
|
|
7993
8750
|
] }),
|
|
7994
|
-
/* @__PURE__ */
|
|
7995
|
-
/* @__PURE__ */
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
/* @__PURE__ */
|
|
7999
|
-
/* @__PURE__ */
|
|
8000
|
-
/* @__PURE__ */
|
|
8001
|
-
/* @__PURE__ */ jsx133("col", { style: { width: "300px" } })
|
|
8751
|
+
/* @__PURE__ */ jsxs62(Grid, { className: "k-grid-no-scrollbar", toolbar: /* @__PURE__ */ jsx173(GridToolbar, { children: /* @__PURE__ */ jsx173(Button, { icon: "plus", children: "Add new record" }) }), children: [
|
|
8752
|
+
/* @__PURE__ */ jsx173(GridHeader, { children: /* @__PURE__ */ jsx173("div", { className: "k-grid-header-wrap", children: /* @__PURE__ */ jsxs62(GridHeaderTable, { children: [
|
|
8753
|
+
/* @__PURE__ */ jsxs62("colgroup", { children: [
|
|
8754
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8755
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8756
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8757
|
+
/* @__PURE__ */ jsx173("col", { style: { width: "300px" } })
|
|
8002
8758
|
] }),
|
|
8003
|
-
/* @__PURE__ */
|
|
8004
|
-
/* @__PURE__ */
|
|
8005
|
-
/* @__PURE__ */
|
|
8006
|
-
/* @__PURE__ */
|
|
8007
|
-
/* @__PURE__ */
|
|
8759
|
+
/* @__PURE__ */ jsx173(TableThead, { children: /* @__PURE__ */ jsxs62(TableRow, { children: [
|
|
8760
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { scope: "col", columnTitle: "Name" }),
|
|
8761
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { scope: "col", columnTitle: "Price" }),
|
|
8762
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { scope: "col", columnTitle: "Available" }),
|
|
8763
|
+
/* @__PURE__ */ jsx173(GridHeaderCell, { scope: "col", children: "\xA0" })
|
|
8008
8764
|
] }) })
|
|
8009
8765
|
] }) }) }),
|
|
8010
|
-
/* @__PURE__ */
|
|
8011
|
-
/* @__PURE__ */
|
|
8012
|
-
/* @__PURE__ */
|
|
8013
|
-
/* @__PURE__ */
|
|
8014
|
-
/* @__PURE__ */
|
|
8015
|
-
/* @__PURE__ */
|
|
8766
|
+
/* @__PURE__ */ jsx173(GridContainer, { children: /* @__PURE__ */ jsx173(GridContent, { children: /* @__PURE__ */ jsxs62(GridTable, { style: { height: "auto" }, children: [
|
|
8767
|
+
/* @__PURE__ */ jsxs62("colgroup", { children: [
|
|
8768
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8769
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8770
|
+
/* @__PURE__ */ jsx173("col", {}),
|
|
8771
|
+
/* @__PURE__ */ jsx173("col", { style: { width: "300px" } })
|
|
8016
8772
|
] }),
|
|
8017
|
-
/* @__PURE__ */
|
|
8018
|
-
/* @__PURE__ */
|
|
8019
|
-
/* @__PURE__ */
|
|
8020
|
-
/* @__PURE__ */
|
|
8021
|
-
/* @__PURE__ */
|
|
8022
|
-
/* @__PURE__ */
|
|
8773
|
+
/* @__PURE__ */ jsxs62(TableTbody, { children: [
|
|
8774
|
+
/* @__PURE__ */ jsxs62(TableRow, { className: "k-grid-edit-row", children: [
|
|
8775
|
+
/* @__PURE__ */ jsx173(TableTd, { children: /* @__PURE__ */ jsx173(Textbox, { value: "Towel", required: true }) }),
|
|
8776
|
+
/* @__PURE__ */ jsxs62(TableTd, { children: [
|
|
8777
|
+
/* @__PURE__ */ jsx173(NumericTextbox, { invalid: true }),
|
|
8778
|
+
/* @__PURE__ */ jsx173(
|
|
8023
8779
|
TooltipNormal,
|
|
8024
8780
|
{
|
|
8025
8781
|
className: "k-validator-tooltip k-invalid-msg",
|
|
@@ -8030,38 +8786,38 @@ var grid_editing_default = () => /* @__PURE__ */ jsx133(Fragment42, { children:
|
|
|
8030
8786
|
}
|
|
8031
8787
|
)
|
|
8032
8788
|
] }),
|
|
8033
|
-
/* @__PURE__ */
|
|
8034
|
-
/* @__PURE__ */
|
|
8035
|
-
/* @__PURE__ */
|
|
8789
|
+
/* @__PURE__ */ jsxs62(TableTd, { children: [
|
|
8790
|
+
/* @__PURE__ */ jsx173(Checkbox, { id: "e77452cd-b3b5-4dc9-8210-17007584b695" }),
|
|
8791
|
+
/* @__PURE__ */ jsx173("label", { className: "k-checkbox-label", htmlFor: "e77452cd-b3b5-4dc9-8210-17007584b695" })
|
|
8036
8792
|
] }),
|
|
8037
|
-
/* @__PURE__ */
|
|
8038
|
-
/* @__PURE__ */
|
|
8039
|
-
/* @__PURE__ */
|
|
8793
|
+
/* @__PURE__ */ jsxs62(TableTd, { className: "k-command-cell", children: [
|
|
8794
|
+
/* @__PURE__ */ jsx173(Button, { icon: "check", themeColor: "primary", children: "Update" }),
|
|
8795
|
+
/* @__PURE__ */ jsx173(Button, { icon: "cancel", children: "Cancel" })
|
|
8040
8796
|
] })
|
|
8041
8797
|
] }),
|
|
8042
|
-
/* @__PURE__ */
|
|
8043
|
-
/* @__PURE__ */
|
|
8044
|
-
/* @__PURE__ */
|
|
8798
|
+
/* @__PURE__ */ jsxs62(TableRow, { className: "k-grid-edit-row", alt: true, children: [
|
|
8799
|
+
/* @__PURE__ */ jsxs62(TableTd, { className: "k-dirty-cell", children: [
|
|
8800
|
+
/* @__PURE__ */ jsx173("span", { className: "k-dirty" }),
|
|
8045
8801
|
"LongSingleWordTestLongSingleWordTestLongSingleWordTestLongSingleWordTest"
|
|
8046
8802
|
] }),
|
|
8047
|
-
/* @__PURE__ */
|
|
8048
|
-
/* @__PURE__ */
|
|
8049
|
-
/* @__PURE__ */
|
|
8050
|
-
/* @__PURE__ */
|
|
8051
|
-
/* @__PURE__ */
|
|
8803
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "18" }),
|
|
8804
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "false" }),
|
|
8805
|
+
/* @__PURE__ */ jsxs62(TableTd, { className: "k-command-cell", children: [
|
|
8806
|
+
/* @__PURE__ */ jsx173(Button, { icon: "pencil", children: "Edit" }),
|
|
8807
|
+
/* @__PURE__ */ jsx173(Button, { icon: "x", children: "Delete" })
|
|
8052
8808
|
] })
|
|
8053
8809
|
] }),
|
|
8054
|
-
/* @__PURE__ */
|
|
8055
|
-
/* @__PURE__ */
|
|
8056
|
-
/* @__PURE__ */
|
|
8057
|
-
/* @__PURE__ */
|
|
8058
|
-
/* @__PURE__ */
|
|
8059
|
-
/* @__PURE__ */
|
|
8060
|
-
/* @__PURE__ */
|
|
8810
|
+
/* @__PURE__ */ jsxs62(TableRow, { children: [
|
|
8811
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "Chang" }),
|
|
8812
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "19" }),
|
|
8813
|
+
/* @__PURE__ */ jsx173(TableTd, { children: "false" }),
|
|
8814
|
+
/* @__PURE__ */ jsxs62(TableTd, { className: "k-command-cell", children: [
|
|
8815
|
+
/* @__PURE__ */ jsx173(Button, { icon: "pencil", children: "Edit" }),
|
|
8816
|
+
/* @__PURE__ */ jsx173(Button, { icon: "x", children: "Delete" })
|
|
8061
8817
|
] })
|
|
8062
8818
|
] })
|
|
8063
8819
|
] })
|
|
8064
|
-
] }) })
|
|
8820
|
+
] }) }) })
|
|
8065
8821
|
] })
|
|
8066
8822
|
] }) });
|
|
8067
8823
|
export {
|