@progress/kendo-themes-html 6.7.1-dev.1 → 6.8.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/daterangepicker/daterangepicker.spec.js +206 -203
- package/dist/cjs/daterangepicker/templates/daterangepicker-adaptive.js +208 -205
- package/dist/cjs/daterangepicker/templates/daterangepicker-normal.js +208 -205
- package/dist/cjs/daterangepicker/templates/daterangepicker-popup.js +208 -205
- package/dist/cjs/daterangepicker/tests/daterangepicker-adaptive.js +218 -215
- package/dist/cjs/daterangepicker/tests/daterangepicker-flat.js +227 -224
- package/dist/cjs/daterangepicker/tests/daterangepicker-opened.js +218 -215
- package/dist/cjs/daterangepicker/tests/daterangepicker-outline.js +227 -224
- package/dist/cjs/daterangepicker/tests/daterangepicker-size-rounded.js +221 -218
- package/dist/cjs/daterangepicker/tests/daterangepicker-solid.js +227 -224
- package/dist/cjs/floating-label/templates/floating-label-normal.js +115 -0
- package/dist/cjs/floating-label/tests/floating-label-flat.js +87 -1136
- package/dist/cjs/floating-label/tests/floating-label-outline.js +87 -1136
- package/dist/cjs/floating-label/tests/floating-label-solid.js +4929 -0
- package/dist/cjs/form/tests/form-field-dateinputs.js +149 -146
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +233 -230
- package/dist/cjs/form/tests/form-field-inputs.js +234 -231
- package/dist/cjs/index.js +2415 -2409
- package/dist/cjs/spreadsheet/tests/spreadsheet-cell-contextmenu.js +7103 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +526 -553
- package/dist/cjs/{floating-label/tests/floating-label.js → spreadsheet/tests/spreadsheet-file-dialogs.js} +1113 -922
- package/dist/cjs/spreadsheet/tests/spreadsheet-filtering.js +7088 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +5858 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +7385 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +5824 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula.js +7062 -0
- package/dist/cjs/spreadsheet/tests/{spreadsheet-dialog.js → spreadsheet-insert-dialogs.js} +541 -601
- package/dist/cjs/spreadsheet/tests/spreadsheet-jquery.js +7133 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +6285 -0
- package/dist/cjs/spreadsheet/tests/{spreadsheet-tools-popup.js → spreadsheet-row-contextmenu.js} +733 -784
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +5518 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet-tools.js +6989 -0
- package/dist/cjs/spreadsheet/tests/spreadsheet.js +660 -708
- package/dist/esm/daterangepicker/daterangepicker.spec.js +170 -167
- package/dist/esm/daterangepicker/templates/daterangepicker-adaptive.js +172 -169
- package/dist/esm/daterangepicker/templates/daterangepicker-normal.js +172 -169
- package/dist/esm/daterangepicker/templates/daterangepicker-popup.js +172 -169
- package/dist/esm/daterangepicker/tests/daterangepicker-adaptive.js +180 -177
- package/dist/esm/daterangepicker/tests/daterangepicker-flat.js +186 -183
- package/dist/esm/daterangepicker/tests/daterangepicker-opened.js +180 -177
- package/dist/esm/daterangepicker/tests/daterangepicker-outline.js +186 -183
- package/dist/esm/daterangepicker/tests/daterangepicker-size-rounded.js +182 -179
- package/dist/esm/daterangepicker/tests/daterangepicker-solid.js +186 -183
- package/dist/esm/floating-label/templates/floating-label-normal.js +93 -0
- package/dist/esm/floating-label/tests/floating-label-flat.js +84 -1133
- package/dist/esm/floating-label/tests/floating-label-outline.js +84 -1133
- package/dist/esm/floating-label/tests/floating-label-solid.js +4913 -0
- package/dist/esm/form/tests/form-field-dateinputs.js +123 -120
- package/dist/esm/form/tests/form-field-inputs-rtl.js +194 -191
- package/dist/esm/form/tests/form-field-inputs.js +192 -189
- package/dist/esm/index.js +2025 -2019
- package/dist/esm/spreadsheet/tests/spreadsheet-cell-contextmenu.js +7087 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +526 -553
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +6153 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-filtering.js +7072 -0
- package/dist/esm/{floating-label/tests/floating-label.js → spreadsheet/tests/spreadsheet-find-replace-dialog.js} +849 -969
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +7369 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +5808 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-formula.js +7046 -0
- package/dist/esm/spreadsheet/tests/{spreadsheet-dialog.js → spreadsheet-insert-dialogs.js} +541 -601
- package/dist/esm/spreadsheet/tests/{spreadsheet-tools-popup.js → spreadsheet-jquery.js} +296 -317
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +6269 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-row-contextmenu.js +7087 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +5502 -0
- package/dist/esm/spreadsheet/tests/spreadsheet-tools.js +6973 -0
- package/dist/esm/spreadsheet/tests/spreadsheet.js +661 -709
- package/dist/types/floating-label/index.d.ts +1 -0
- package/dist/types/floating-label/templates/floating-label-normal.d.ts +4 -0
- package/dist/types/spreadsheet/tests/spreadsheet-filtering.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-find-replace-dialog.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-format-dialogs.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-formula-dialog.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-formula.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-insert-dialogs.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-jquery.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-print.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-row-contextmenu.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-sheets-bar.d.ts +2 -0
- package/dist/types/spreadsheet/tests/spreadsheet-tools.d.ts +2 -0
- package/package.json +2 -2
- package/src/floating-label/index.ts +1 -0
- package/src/floating-label/templates/floating-label-normal.tsx +7 -0
- package/src/floating-label/tests/floating-label-flat.tsx +32 -148
- package/src/floating-label/tests/floating-label-outline.tsx +32 -148
- package/src/floating-label/tests/floating-label-solid.tsx +64 -0
- package/src/spreadsheet/tests/spreadsheet-cell-contextmenu.tsx +538 -0
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +43 -53
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +63 -0
- package/src/spreadsheet/tests/spreadsheet-filtering.tsx +522 -0
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +38 -0
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +76 -0
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +45 -0
- package/src/spreadsheet/tests/spreadsheet-formula.tsx +491 -0
- package/src/spreadsheet/tests/{spreadsheet-dialog.tsx → spreadsheet-insert-dialogs.tsx} +35 -52
- package/src/spreadsheet/tests/{spreadsheet-tools-popup.tsx → spreadsheet-jquery.tsx} +19 -43
- package/src/spreadsheet/tests/spreadsheet-print.tsx +179 -0
- package/src/spreadsheet/tests/spreadsheet-row-contextmenu.tsx +538 -0
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +123 -0
- package/src/spreadsheet/tests/spreadsheet-tools.tsx +315 -0
- package/src/spreadsheet/tests/spreadsheet.tsx +372 -435
- package/src/floating-label/tests/floating-label.tsx +0 -180
- /package/dist/types/floating-label/tests/{floating-label.d.ts → floating-label-solid.d.ts} +0 -0
- /package/dist/types/spreadsheet/tests/{spreadsheet-dialog.d.ts → spreadsheet-cell-contextmenu.d.ts} +0 -0
- /package/dist/types/spreadsheet/tests/{spreadsheet-tools-popup.d.ts → spreadsheet-file-dialogs.d.ts} +0 -0
|
@@ -4902,8 +4902,11 @@ FloatingLabel.options = options13;
|
|
|
4902
4902
|
FloatingLabel.className = FLOATINGLABEL_CLASSNAME;
|
|
4903
4903
|
FloatingLabel.defaultProps = defaultProps11;
|
|
4904
4904
|
|
|
4905
|
+
// src/floating-label/templates/floating-label-normal.tsx
|
|
4906
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4907
|
+
|
|
4905
4908
|
// src/calendar/calendar.spec.tsx
|
|
4906
|
-
import { jsx as
|
|
4909
|
+
import { jsx as jsx24, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4907
4910
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
4908
4911
|
var states15 = [];
|
|
4909
4912
|
var options14 = {
|
|
@@ -4947,7 +4950,7 @@ var Calendar = (props) => {
|
|
|
4947
4950
|
}
|
|
4948
4951
|
),
|
|
4949
4952
|
children: [
|
|
4950
|
-
/* @__PURE__ */
|
|
4953
|
+
/* @__PURE__ */ jsx24(
|
|
4951
4954
|
CalendarHeader,
|
|
4952
4955
|
{
|
|
4953
4956
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -4957,7 +4960,7 @@ var Calendar = (props) => {
|
|
|
4957
4960
|
dir
|
|
4958
4961
|
}
|
|
4959
4962
|
),
|
|
4960
|
-
/* @__PURE__ */
|
|
4963
|
+
/* @__PURE__ */ jsx24(
|
|
4961
4964
|
CalendarView,
|
|
4962
4965
|
{
|
|
4963
4966
|
calendarView,
|
|
@@ -4969,7 +4972,7 @@ var Calendar = (props) => {
|
|
|
4969
4972
|
selectedRange
|
|
4970
4973
|
}
|
|
4971
4974
|
),
|
|
4972
|
-
showCalendarFooter && /* @__PURE__ */
|
|
4975
|
+
showCalendarFooter && /* @__PURE__ */ jsx24(CalendarFooter, {})
|
|
4973
4976
|
]
|
|
4974
4977
|
}
|
|
4975
4978
|
);
|
|
@@ -4980,7 +4983,7 @@ Calendar.className = CALENDAR_CLASSNAME;
|
|
|
4980
4983
|
Calendar.defaultProps = defaultProps12;
|
|
4981
4984
|
|
|
4982
4985
|
// src/calendar/calendar-cell.tsx
|
|
4983
|
-
import { jsx as
|
|
4986
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
4984
4987
|
var states16 = [
|
|
4985
4988
|
States.hover,
|
|
4986
4989
|
States.focus,
|
|
@@ -5030,16 +5033,16 @@ var CalendarCell = (props) => {
|
|
|
5030
5033
|
}
|
|
5031
5034
|
];
|
|
5032
5035
|
if (headerCell) {
|
|
5033
|
-
return /* @__PURE__ */
|
|
5036
|
+
return /* @__PURE__ */ jsx25("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5034
5037
|
}
|
|
5035
5038
|
if (weekCell) {
|
|
5036
|
-
return /* @__PURE__ */
|
|
5039
|
+
return /* @__PURE__ */ jsx25("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
5037
5040
|
}
|
|
5038
|
-
return /* @__PURE__ */
|
|
5041
|
+
return /* @__PURE__ */ jsx25("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ jsx25("span", { className: "k-link", children: text }) });
|
|
5039
5042
|
};
|
|
5040
5043
|
|
|
5041
5044
|
// src/calendar/calendar-header.tsx
|
|
5042
|
-
import { jsx as
|
|
5045
|
+
import { jsx as jsx26, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
5043
5046
|
var className7 = `k-calendar-header`;
|
|
5044
5047
|
var options15 = {
|
|
5045
5048
|
size: [Size.small, Size.medium, Size.large]
|
|
@@ -5073,12 +5076,12 @@ var CalendarHeader = (props) => {
|
|
|
5073
5076
|
}
|
|
5074
5077
|
),
|
|
5075
5078
|
children: [
|
|
5076
|
-
/* @__PURE__ */
|
|
5077
|
-
/* @__PURE__ */
|
|
5079
|
+
/* @__PURE__ */ jsx26(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
5080
|
+
/* @__PURE__ */ jsx26("span", { className: "k-spacer" }),
|
|
5078
5081
|
/* @__PURE__ */ jsxs7("span", { className: "k-calendar-nav", children: [
|
|
5079
|
-
/* @__PURE__ */
|
|
5080
|
-
showToday && /* @__PURE__ */
|
|
5081
|
-
/* @__PURE__ */
|
|
5082
|
+
/* @__PURE__ */ jsx26(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
5083
|
+
showToday && /* @__PURE__ */ jsx26(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
5084
|
+
/* @__PURE__ */ jsx26(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
5082
5085
|
] })
|
|
5083
5086
|
]
|
|
5084
5087
|
}
|
|
@@ -5086,12 +5089,12 @@ var CalendarHeader = (props) => {
|
|
|
5086
5089
|
};
|
|
5087
5090
|
|
|
5088
5091
|
// src/calendar/calendar-footer.tsx
|
|
5089
|
-
import { jsx as
|
|
5092
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
5090
5093
|
var className8 = `k-calendar-footer`;
|
|
5091
|
-
var CalendarFooter = (props) => /* @__PURE__ */
|
|
5094
|
+
var CalendarFooter = (props) => /* @__PURE__ */ jsx27("div", { ...props, className: classNames(props.className, className8), children: /* @__PURE__ */ jsx27(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
5092
5095
|
|
|
5093
5096
|
// src/calendar/calendar-table.tsx
|
|
5094
|
-
import { jsx as
|
|
5097
|
+
import { jsx as jsx28, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5095
5098
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
5096
5099
|
var CalendarTable = (props) => {
|
|
5097
5100
|
const {
|
|
@@ -5112,25 +5115,25 @@ var CalendarTable = (props) => {
|
|
|
5112
5115
|
CALENDARTABLE_CLASSNAME
|
|
5113
5116
|
),
|
|
5114
5117
|
children: [
|
|
5115
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5118
|
+
showCalendarCaption && /* @__PURE__ */ jsx28("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
5116
5119
|
/* @__PURE__ */ jsxs8("tbody", { className: "k-calendar-tbody", children: [
|
|
5117
5120
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5118
|
-
/* @__PURE__ */
|
|
5119
|
-
/* @__PURE__ */
|
|
5120
|
-
/* @__PURE__ */
|
|
5121
|
-
/* @__PURE__ */
|
|
5121
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Jan" }),
|
|
5122
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Feb" }),
|
|
5123
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Mar" }),
|
|
5124
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Apr" })
|
|
5122
5125
|
] }),
|
|
5123
5126
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5124
|
-
/* @__PURE__ */
|
|
5125
|
-
/* @__PURE__ */
|
|
5126
|
-
/* @__PURE__ */
|
|
5127
|
-
/* @__PURE__ */
|
|
5127
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "May" }),
|
|
5128
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Jun", hover: true }),
|
|
5129
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Jul", focus: true }),
|
|
5130
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Au", selected: true })
|
|
5128
5131
|
] }),
|
|
5129
5132
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5130
|
-
/* @__PURE__ */
|
|
5131
|
-
/* @__PURE__ */
|
|
5132
|
-
/* @__PURE__ */
|
|
5133
|
-
/* @__PURE__ */
|
|
5133
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Sep" }),
|
|
5134
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Oct", today: true }),
|
|
5135
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Nov" }),
|
|
5136
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "Dec" })
|
|
5134
5137
|
] })
|
|
5135
5138
|
] })
|
|
5136
5139
|
]
|
|
@@ -5147,25 +5150,25 @@ var CalendarTable = (props) => {
|
|
|
5147
5150
|
CALENDARTABLE_CLASSNAME
|
|
5148
5151
|
),
|
|
5149
5152
|
children: [
|
|
5150
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5153
|
+
showCalendarCaption && /* @__PURE__ */ jsx28("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
5151
5154
|
/* @__PURE__ */ jsxs8("tbody", { className: "k-calendar-tbody", children: [
|
|
5152
5155
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5153
|
-
/* @__PURE__ */
|
|
5154
|
-
/* @__PURE__ */
|
|
5155
|
-
/* @__PURE__ */
|
|
5156
|
-
/* @__PURE__ */
|
|
5156
|
+
/* @__PURE__ */ jsx28(CalendarCell, { className: "k-out-of-range" }),
|
|
5157
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2020" }),
|
|
5158
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2021", today: true }),
|
|
5159
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2022" })
|
|
5157
5160
|
] }),
|
|
5158
5161
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5159
|
-
/* @__PURE__ */
|
|
5160
|
-
/* @__PURE__ */
|
|
5161
|
-
/* @__PURE__ */
|
|
5162
|
-
/* @__PURE__ */
|
|
5162
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2023" }),
|
|
5163
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2024", hover: true }),
|
|
5164
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2025", focus: true }),
|
|
5165
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2026", selected: true })
|
|
5163
5166
|
] }),
|
|
5164
5167
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5165
|
-
/* @__PURE__ */
|
|
5166
|
-
/* @__PURE__ */
|
|
5167
|
-
/* @__PURE__ */
|
|
5168
|
-
/* @__PURE__ */
|
|
5168
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2027" }),
|
|
5169
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2028" }),
|
|
5170
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2029" }),
|
|
5171
|
+
/* @__PURE__ */ jsx28(CalendarCell, { className: "k-out-of-range" })
|
|
5169
5172
|
] })
|
|
5170
5173
|
] })
|
|
5171
5174
|
]
|
|
@@ -5182,25 +5185,25 @@ var CalendarTable = (props) => {
|
|
|
5182
5185
|
CALENDARTABLE_CLASSNAME
|
|
5183
5186
|
),
|
|
5184
5187
|
children: [
|
|
5185
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5188
|
+
showCalendarCaption && /* @__PURE__ */ jsx28("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
5186
5189
|
/* @__PURE__ */ jsxs8("tbody", { className: "k-calendar-tbody", children: [
|
|
5187
5190
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5188
|
-
/* @__PURE__ */
|
|
5189
|
-
/* @__PURE__ */
|
|
5190
|
-
/* @__PURE__ */
|
|
5191
|
-
/* @__PURE__ */
|
|
5191
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "1990 - 1999" }),
|
|
5192
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2000 - 2009" }),
|
|
5193
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
5194
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2020 - 2029" })
|
|
5192
5195
|
] }),
|
|
5193
5196
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5194
|
-
/* @__PURE__ */
|
|
5195
|
-
/* @__PURE__ */
|
|
5196
|
-
/* @__PURE__ */
|
|
5197
|
-
/* @__PURE__ */
|
|
5197
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2030 - 2039" }),
|
|
5198
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
5199
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
5200
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
5198
5201
|
] }),
|
|
5199
5202
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5200
|
-
/* @__PURE__ */
|
|
5201
|
-
/* @__PURE__ */
|
|
5202
|
-
/* @__PURE__ */
|
|
5203
|
-
/* @__PURE__ */
|
|
5203
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2070 - 2079" }),
|
|
5204
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2080 - 2089" }),
|
|
5205
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2090 - 2099" }),
|
|
5206
|
+
/* @__PURE__ */ jsx28(CalendarCell, { className: "k-out-of-range" })
|
|
5204
5207
|
] })
|
|
5205
5208
|
] })
|
|
5206
5209
|
]
|
|
@@ -5216,68 +5219,68 @@ var CalendarTable = (props) => {
|
|
|
5216
5219
|
CALENDARTABLE_CLASSNAME
|
|
5217
5220
|
),
|
|
5218
5221
|
children: [
|
|
5219
|
-
showCalendarCaption && /* @__PURE__ */
|
|
5220
|
-
/* @__PURE__ */
|
|
5222
|
+
showCalendarCaption && /* @__PURE__ */ jsx28("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
5223
|
+
/* @__PURE__ */ jsx28(CalendarTableHead, { showWeek }),
|
|
5221
5224
|
/* @__PURE__ */ jsxs8("tbody", { className: "k-calendar-tbody", children: [
|
|
5222
5225
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5223
|
-
showWeek && /* @__PURE__ */
|
|
5224
|
-
/* @__PURE__ */
|
|
5225
|
-
/* @__PURE__ */
|
|
5226
|
-
/* @__PURE__ */
|
|
5227
|
-
/* @__PURE__ */
|
|
5228
|
-
/* @__PURE__ */
|
|
5229
|
-
/* @__PURE__ */
|
|
5230
|
-
/* @__PURE__ */
|
|
5226
|
+
showWeek && /* @__PURE__ */ jsx28(CalendarCell, { text: "39", weekCell: true }),
|
|
5227
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
5228
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "1" }),
|
|
5229
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2" }),
|
|
5230
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "3" }),
|
|
5231
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "4" }),
|
|
5232
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "5" }),
|
|
5233
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "6", weekend: true })
|
|
5231
5234
|
] }),
|
|
5232
5235
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5233
|
-
showWeek && /* @__PURE__ */
|
|
5234
|
-
/* @__PURE__ */
|
|
5235
|
-
/* @__PURE__ */
|
|
5236
|
-
/* @__PURE__ */
|
|
5237
|
-
/* @__PURE__ */
|
|
5238
|
-
/* @__PURE__ */
|
|
5239
|
-
/* @__PURE__ */
|
|
5240
|
-
/* @__PURE__ */
|
|
5236
|
+
showWeek && /* @__PURE__ */ jsx28(CalendarCell, { text: "40", weekCell: true }),
|
|
5237
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "7", weekend: true }),
|
|
5238
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "8", hover: true }),
|
|
5239
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "9", focus: true }),
|
|
5240
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "10", selected: true }),
|
|
5241
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
5242
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
5243
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "13", weekend: true })
|
|
5241
5244
|
] }),
|
|
5242
5245
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5243
|
-
showWeek && /* @__PURE__ */
|
|
5244
|
-
/* @__PURE__ */
|
|
5245
|
-
/* @__PURE__ */
|
|
5246
|
-
/* @__PURE__ */
|
|
5247
|
-
/* @__PURE__ */
|
|
5248
|
-
/* @__PURE__ */
|
|
5249
|
-
/* @__PURE__ */
|
|
5250
|
-
/* @__PURE__ */
|
|
5246
|
+
showWeek && /* @__PURE__ */ jsx28(CalendarCell, { text: "41", weekCell: true }),
|
|
5247
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "14", weekend: true }),
|
|
5248
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "15" }),
|
|
5249
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "16", today: true }),
|
|
5250
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "17" }),
|
|
5251
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "18" }),
|
|
5252
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "19" }),
|
|
5253
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "20", weekend: true })
|
|
5251
5254
|
] }),
|
|
5252
5255
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5253
|
-
showWeek && /* @__PURE__ */
|
|
5254
|
-
/* @__PURE__ */
|
|
5255
|
-
/* @__PURE__ */
|
|
5256
|
-
/* @__PURE__ */
|
|
5257
|
-
/* @__PURE__ */
|
|
5258
|
-
/* @__PURE__ */
|
|
5259
|
-
/* @__PURE__ */
|
|
5260
|
-
/* @__PURE__ */
|
|
5256
|
+
showWeek && /* @__PURE__ */ jsx28(CalendarCell, { text: "42", weekCell: true }),
|
|
5257
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "21", weekend: true }),
|
|
5258
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "22" }),
|
|
5259
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "23" }),
|
|
5260
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "24" }),
|
|
5261
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
5262
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
5263
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
5261
5264
|
] }),
|
|
5262
5265
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5263
|
-
showWeek && /* @__PURE__ */
|
|
5264
|
-
/* @__PURE__ */
|
|
5265
|
-
/* @__PURE__ */
|
|
5266
|
-
/* @__PURE__ */
|
|
5267
|
-
/* @__PURE__ */
|
|
5268
|
-
/* @__PURE__ */
|
|
5269
|
-
/* @__PURE__ */
|
|
5270
|
-
/* @__PURE__ */
|
|
5266
|
+
showWeek && /* @__PURE__ */ jsx28(CalendarCell, { text: "43", weekCell: true }),
|
|
5267
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
5268
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
5269
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "30" }),
|
|
5270
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "31" }),
|
|
5271
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
5272
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
5273
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
5271
5274
|
] }),
|
|
5272
5275
|
/* @__PURE__ */ jsxs8("tr", { className: "k-calendar-tr", children: [
|
|
5273
|
-
showWeek && /* @__PURE__ */
|
|
5274
|
-
/* @__PURE__ */
|
|
5275
|
-
/* @__PURE__ */
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5278
|
-
/* @__PURE__ */
|
|
5279
|
-
/* @__PURE__ */
|
|
5280
|
-
/* @__PURE__ */
|
|
5276
|
+
showWeek && /* @__PURE__ */ jsx28(CalendarCell, { text: "44", weekCell: true }),
|
|
5277
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
5278
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
5279
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
5280
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
5281
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
5282
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
5283
|
+
/* @__PURE__ */ jsx28(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
5281
5284
|
] })
|
|
5282
5285
|
] })
|
|
5283
5286
|
]
|
|
@@ -5286,34 +5289,34 @@ var CalendarTable = (props) => {
|
|
|
5286
5289
|
};
|
|
5287
5290
|
|
|
5288
5291
|
// src/calendar/calendar-table-head.tsx
|
|
5289
|
-
import { jsx as
|
|
5292
|
+
import { jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5290
5293
|
var className9 = `k-calendar-thead`;
|
|
5291
5294
|
var CalendarTableHead = (props) => {
|
|
5292
5295
|
const {
|
|
5293
5296
|
showWeek,
|
|
5294
5297
|
...other
|
|
5295
5298
|
} = props;
|
|
5296
|
-
return /* @__PURE__ */
|
|
5299
|
+
return /* @__PURE__ */ jsx29(
|
|
5297
5300
|
"thead",
|
|
5298
5301
|
{
|
|
5299
5302
|
...other,
|
|
5300
5303
|
className: classNames(props.className, className9),
|
|
5301
5304
|
children: /* @__PURE__ */ jsxs9("tr", { className: "k-calendar-tr", children: [
|
|
5302
|
-
showWeek && /* @__PURE__ */
|
|
5303
|
-
/* @__PURE__ */
|
|
5304
|
-
/* @__PURE__ */
|
|
5305
|
-
/* @__PURE__ */
|
|
5306
|
-
/* @__PURE__ */
|
|
5307
|
-
/* @__PURE__ */
|
|
5308
|
-
/* @__PURE__ */
|
|
5309
|
-
/* @__PURE__ */
|
|
5305
|
+
showWeek && /* @__PURE__ */ jsx29(CalendarCell, { weekCell: true, headerCell: true }),
|
|
5306
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "Su", headerCell: true }),
|
|
5307
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "Mo", headerCell: true }),
|
|
5308
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "Tu", headerCell: true }),
|
|
5309
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "We", headerCell: true }),
|
|
5310
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "Th", headerCell: true }),
|
|
5311
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "Fr", headerCell: true }),
|
|
5312
|
+
/* @__PURE__ */ jsx29(CalendarCell, { text: "Sa", headerCell: true })
|
|
5310
5313
|
] })
|
|
5311
5314
|
}
|
|
5312
5315
|
);
|
|
5313
5316
|
};
|
|
5314
5317
|
|
|
5315
5318
|
// src/calendar/calendar-view.tsx
|
|
5316
|
-
import { jsx as
|
|
5319
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
5317
5320
|
var className10 = `k-calendar-view`;
|
|
5318
5321
|
var defaultProps14 = {
|
|
5319
5322
|
viewsCount: 1,
|
|
@@ -5331,7 +5334,7 @@ var CalendarView = (props) => {
|
|
|
5331
5334
|
selectedRange,
|
|
5332
5335
|
...other
|
|
5333
5336
|
} = props;
|
|
5334
|
-
return /* @__PURE__ */
|
|
5337
|
+
return /* @__PURE__ */ jsx30(
|
|
5335
5338
|
"div",
|
|
5336
5339
|
{
|
|
5337
5340
|
...other,
|
|
@@ -5347,7 +5350,7 @@ var CalendarView = (props) => {
|
|
|
5347
5350
|
}
|
|
5348
5351
|
),
|
|
5349
5352
|
children: [...Array(viewsCount)].map(
|
|
5350
|
-
(_e, i) => /* @__PURE__ */
|
|
5353
|
+
(_e, i) => /* @__PURE__ */ jsx30(
|
|
5351
5354
|
CalendarTable,
|
|
5352
5355
|
{
|
|
5353
5356
|
calendarView,
|
|
@@ -5364,7 +5367,7 @@ var CalendarView = (props) => {
|
|
|
5364
5367
|
};
|
|
5365
5368
|
|
|
5366
5369
|
// src/multiviewcalendar/multiviewcalendar.spec.tsx
|
|
5367
|
-
import { jsx as
|
|
5370
|
+
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
5368
5371
|
var MULTIVIEWCALENDAR_CLASSNAME = `k-calendar-range`;
|
|
5369
5372
|
var states17 = [];
|
|
5370
5373
|
var options16 = {
|
|
@@ -5391,7 +5394,7 @@ var MultiViewCalendar = (props) => {
|
|
|
5391
5394
|
dir,
|
|
5392
5395
|
...other
|
|
5393
5396
|
} = props;
|
|
5394
|
-
return /* @__PURE__ */
|
|
5397
|
+
return /* @__PURE__ */ jsx31(
|
|
5395
5398
|
Calendar,
|
|
5396
5399
|
{
|
|
5397
5400
|
...other,
|
|
@@ -5419,7 +5422,7 @@ MultiViewCalendar.className = MULTIVIEWCALENDAR_CLASSNAME;
|
|
|
5419
5422
|
MultiViewCalendar.defaultProps = defaultProps15;
|
|
5420
5423
|
|
|
5421
5424
|
// src/animation-container/animation-container.spec.tsx
|
|
5422
|
-
import { jsx as
|
|
5425
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
5423
5426
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
5424
5427
|
var states18 = [];
|
|
5425
5428
|
var options17 = {};
|
|
@@ -5433,7 +5436,7 @@ var AnimationContainer = (props) => {
|
|
|
5433
5436
|
offset,
|
|
5434
5437
|
...other
|
|
5435
5438
|
} = props;
|
|
5436
|
-
return /* @__PURE__ */
|
|
5439
|
+
return /* @__PURE__ */ jsx32(
|
|
5437
5440
|
"div",
|
|
5438
5441
|
{
|
|
5439
5442
|
...other,
|
|
@@ -5445,7 +5448,7 @@ var AnimationContainer = (props) => {
|
|
|
5445
5448
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
5446
5449
|
}
|
|
5447
5450
|
),
|
|
5448
|
-
children: /* @__PURE__ */
|
|
5451
|
+
children: /* @__PURE__ */ jsx32("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
5449
5452
|
}
|
|
5450
5453
|
);
|
|
5451
5454
|
};
|
|
@@ -5455,7 +5458,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
|
5455
5458
|
AnimationContainer.defaultProps = defaultProps16;
|
|
5456
5459
|
|
|
5457
5460
|
// src/popup/popup.spec.tsx
|
|
5458
|
-
import { jsx as
|
|
5461
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
5459
5462
|
var POPUP_CLASSNAME = `k-popup`;
|
|
5460
5463
|
var states19 = [];
|
|
5461
5464
|
var options18 = {};
|
|
@@ -5468,12 +5471,12 @@ var Popup = (props) => {
|
|
|
5468
5471
|
positionMode,
|
|
5469
5472
|
...other
|
|
5470
5473
|
} = props;
|
|
5471
|
-
return /* @__PURE__ */
|
|
5474
|
+
return /* @__PURE__ */ jsx33(
|
|
5472
5475
|
AnimationContainer,
|
|
5473
5476
|
{
|
|
5474
5477
|
positionMode,
|
|
5475
5478
|
offset,
|
|
5476
|
-
children: /* @__PURE__ */
|
|
5479
|
+
children: /* @__PURE__ */ jsx33("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
5477
5480
|
}
|
|
5478
5481
|
);
|
|
5479
5482
|
};
|
|
@@ -5483,7 +5486,7 @@ Popup.className = POPUP_CLASSNAME;
|
|
|
5483
5486
|
Popup.defaultProps = defaultProps17;
|
|
5484
5487
|
|
|
5485
5488
|
// src/action-sheet/action-sheet.spec.tsx
|
|
5486
|
-
import { Fragment as Fragment10, jsx as
|
|
5489
|
+
import { Fragment as Fragment10, jsx as jsx34, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5487
5490
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
5488
5491
|
var states20 = [];
|
|
5489
5492
|
var options19 = {};
|
|
@@ -5506,8 +5509,8 @@ var ActionSheet = (props) => {
|
|
|
5506
5509
|
overlay = defaultProps18.overlay,
|
|
5507
5510
|
...other
|
|
5508
5511
|
} = props;
|
|
5509
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
5510
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
5512
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx34(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
5513
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx34(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx34(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
5511
5514
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
5512
5515
|
switch (child.type) {
|
|
5513
5516
|
case ActionSheetHeader:
|
|
@@ -5517,10 +5520,10 @@ var ActionSheet = (props) => {
|
|
|
5517
5520
|
return true;
|
|
5518
5521
|
}
|
|
5519
5522
|
return true;
|
|
5520
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
5523
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx34(Fragment10, {});
|
|
5521
5524
|
return /* @__PURE__ */ jsxs10("div", { className: "k-actionsheet-container", children: [
|
|
5522
|
-
overlay && /* @__PURE__ */
|
|
5523
|
-
/* @__PURE__ */
|
|
5525
|
+
overlay && /* @__PURE__ */ jsx34("div", { className: "k-overlay" }),
|
|
5526
|
+
/* @__PURE__ */ jsx34(
|
|
5524
5527
|
AnimationContainer,
|
|
5525
5528
|
{
|
|
5526
5529
|
animationStyle: {
|
|
@@ -5530,7 +5533,7 @@ var ActionSheet = (props) => {
|
|
|
5530
5533
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
5531
5534
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
5532
5535
|
},
|
|
5533
|
-
children: /* @__PURE__ */
|
|
5536
|
+
children: /* @__PURE__ */ jsx34(
|
|
5534
5537
|
"div",
|
|
5535
5538
|
{
|
|
5536
5539
|
...other,
|
|
@@ -5545,7 +5548,7 @@ var ActionSheet = (props) => {
|
|
|
5545
5548
|
),
|
|
5546
5549
|
children: /* @__PURE__ */ jsxs10(Fragment10, { children: [
|
|
5547
5550
|
_ActionSheetHeader,
|
|
5548
|
-
/* @__PURE__ */
|
|
5551
|
+
/* @__PURE__ */ jsx34("div", { className: classNames(
|
|
5549
5552
|
"k-actionsheet-content",
|
|
5550
5553
|
{
|
|
5551
5554
|
"!k-overflow-hidden": adaptive
|
|
@@ -5565,7 +5568,7 @@ ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
|
5565
5568
|
ActionSheet.defaultProps = defaultProps18;
|
|
5566
5569
|
|
|
5567
5570
|
// src/searchbox/searchbox.spec.tsx
|
|
5568
|
-
import { jsx as
|
|
5571
|
+
import { jsx as jsx35, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5569
5572
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
5570
5573
|
var states21 = [
|
|
5571
5574
|
States.hover,
|
|
@@ -5622,11 +5625,11 @@ var Searchbox = (props) => {
|
|
|
5622
5625
|
disabled,
|
|
5623
5626
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
5624
5627
|
children: [
|
|
5625
|
-
showIcon && /* @__PURE__ */
|
|
5626
|
-
/* @__PURE__ */
|
|
5627
|
-
/* @__PURE__ */
|
|
5628
|
-
/* @__PURE__ */
|
|
5629
|
-
/* @__PURE__ */
|
|
5628
|
+
showIcon && /* @__PURE__ */ jsx35(Icon, { className: "k-input-icon", icon }),
|
|
5629
|
+
/* @__PURE__ */ jsx35(InputInnerInput, { placeholder, value }),
|
|
5630
|
+
/* @__PURE__ */ jsx35(InputLoadingIcon, { ...props }),
|
|
5631
|
+
/* @__PURE__ */ jsx35(InputValidationIcon, { ...props }),
|
|
5632
|
+
/* @__PURE__ */ jsx35(InputClearValue, { ...props })
|
|
5630
5633
|
]
|
|
5631
5634
|
}
|
|
5632
5635
|
);
|
|
@@ -5637,10 +5640,10 @@ Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
|
5637
5640
|
Searchbox.defaultProps = defaultProps19;
|
|
5638
5641
|
|
|
5639
5642
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
5640
|
-
import { jsx as
|
|
5643
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5641
5644
|
|
|
5642
5645
|
// src/action-sheet/actionsheet-header.tsx
|
|
5643
|
-
import { Fragment as Fragment11, jsx as
|
|
5646
|
+
import { Fragment as Fragment11, jsx as jsx37, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5644
5647
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
5645
5648
|
var ActionSheetHeader = (props) => {
|
|
5646
5649
|
const {
|
|
@@ -5650,7 +5653,7 @@ var ActionSheetHeader = (props) => {
|
|
|
5650
5653
|
filter,
|
|
5651
5654
|
...other
|
|
5652
5655
|
} = props;
|
|
5653
|
-
return /* @__PURE__ */
|
|
5656
|
+
return /* @__PURE__ */ jsx37(
|
|
5654
5657
|
"div",
|
|
5655
5658
|
{
|
|
5656
5659
|
...other,
|
|
@@ -5660,21 +5663,21 @@ var ActionSheetHeader = (props) => {
|
|
|
5660
5663
|
),
|
|
5661
5664
|
children: /* @__PURE__ */ jsxs12(Fragment11, { children: [
|
|
5662
5665
|
/* @__PURE__ */ jsxs12("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
5663
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
5664
|
-
title !== "" && /* @__PURE__ */
|
|
5665
|
-
subTitle !== "" && /* @__PURE__ */
|
|
5666
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx37(Fragment11, { children: /* @__PURE__ */ jsxs12("div", { className: "k-actionsheet-title", children: [
|
|
5667
|
+
title !== "" && /* @__PURE__ */ jsx37("div", { className: "k-text-center", children: title }),
|
|
5668
|
+
subTitle !== "" && /* @__PURE__ */ jsx37("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
5666
5669
|
] }) }),
|
|
5667
|
-
props.children && /* @__PURE__ */
|
|
5668
|
-
actions && /* @__PURE__ */
|
|
5670
|
+
props.children && /* @__PURE__ */ jsx37("div", { className: "k-actionsheet-title", children: props.children }),
|
|
5671
|
+
actions && /* @__PURE__ */ jsx37(Fragment11, { children: /* @__PURE__ */ jsx37("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx37(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
5669
5672
|
] }),
|
|
5670
|
-
filter && /* @__PURE__ */
|
|
5673
|
+
filter && /* @__PURE__ */ jsx37(Fragment11, { children: /* @__PURE__ */ jsx37("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx37(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
5671
5674
|
] })
|
|
5672
5675
|
}
|
|
5673
5676
|
);
|
|
5674
5677
|
};
|
|
5675
5678
|
|
|
5676
5679
|
// src/action-buttons/action-buttons.spec.tsx
|
|
5677
|
-
import { jsx as
|
|
5680
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
5678
5681
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5679
5682
|
var states22 = [];
|
|
5680
5683
|
var options21 = {};
|
|
@@ -5688,7 +5691,7 @@ var ActionButtons = (props) => {
|
|
|
5688
5691
|
orientation = defaultProps20.orientation,
|
|
5689
5692
|
...other
|
|
5690
5693
|
} = props;
|
|
5691
|
-
return /* @__PURE__ */
|
|
5694
|
+
return /* @__PURE__ */ jsx38(
|
|
5692
5695
|
"div",
|
|
5693
5696
|
{
|
|
5694
5697
|
...other,
|
|
@@ -5711,14 +5714,14 @@ ActionButtons.defaultProps = defaultProps20;
|
|
|
5711
5714
|
var action_buttons_spec_default = ActionButtons;
|
|
5712
5715
|
|
|
5713
5716
|
// src/action-sheet/actionsheet-footer.tsx
|
|
5714
|
-
import { Fragment as Fragment12, jsx as
|
|
5717
|
+
import { Fragment as Fragment12, jsx as jsx39, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5715
5718
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
5716
5719
|
var ActionSheetFooter = (props) => {
|
|
5717
5720
|
const {
|
|
5718
5721
|
actions,
|
|
5719
5722
|
...other
|
|
5720
5723
|
} = props;
|
|
5721
|
-
return /* @__PURE__ */
|
|
5724
|
+
return /* @__PURE__ */ jsx39(
|
|
5722
5725
|
action_buttons_spec_default,
|
|
5723
5726
|
{
|
|
5724
5727
|
...other,
|
|
@@ -5730,14 +5733,14 @@ var ActionSheetFooter = (props) => {
|
|
|
5730
5733
|
children: /* @__PURE__ */ jsxs13(Fragment12, { children: [
|
|
5731
5734
|
actions && actions.map((action, index) => {
|
|
5732
5735
|
if (action === "|") {
|
|
5733
|
-
return /* @__PURE__ */
|
|
5736
|
+
return /* @__PURE__ */ jsx39("span", { className: "k-separator" }, index);
|
|
5734
5737
|
}
|
|
5735
5738
|
if (action === " ") {
|
|
5736
|
-
return /* @__PURE__ */
|
|
5739
|
+
return /* @__PURE__ */ jsx39("span", { className: "k-spacer" }, index);
|
|
5737
5740
|
}
|
|
5738
5741
|
const importantFlag = action.startsWith("!");
|
|
5739
5742
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
5740
|
-
return /* @__PURE__ */
|
|
5743
|
+
return /* @__PURE__ */ jsx39(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
5741
5744
|
}),
|
|
5742
5745
|
!actions && props.children
|
|
5743
5746
|
] })
|
|
@@ -5746,12 +5749,12 @@ var ActionSheetFooter = (props) => {
|
|
|
5746
5749
|
};
|
|
5747
5750
|
|
|
5748
5751
|
// src/action-sheet/actionsheet-items.tsx
|
|
5749
|
-
import { jsx as
|
|
5752
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5750
5753
|
var ActionSheetItems = (props) => {
|
|
5751
5754
|
const {
|
|
5752
5755
|
...other
|
|
5753
5756
|
} = props;
|
|
5754
|
-
return /* @__PURE__ */
|
|
5757
|
+
return /* @__PURE__ */ jsx40(
|
|
5755
5758
|
"div",
|
|
5756
5759
|
{
|
|
5757
5760
|
...other,
|
|
@@ -5765,7 +5768,7 @@ var ActionSheetItems = (props) => {
|
|
|
5765
5768
|
};
|
|
5766
5769
|
|
|
5767
5770
|
// src/action-sheet/actionsheet-item.tsx
|
|
5768
|
-
import { Fragment as Fragment13, jsx as
|
|
5771
|
+
import { Fragment as Fragment13, jsx as jsx41, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5769
5772
|
var states23 = [
|
|
5770
5773
|
States.hover,
|
|
5771
5774
|
States.focus,
|
|
@@ -5774,7 +5777,7 @@ var states23 = [
|
|
|
5774
5777
|
];
|
|
5775
5778
|
|
|
5776
5779
|
// src/daterangepicker/daterangepicker.spec.tsx
|
|
5777
|
-
import { Fragment as Fragment14, jsx as
|
|
5780
|
+
import { Fragment as Fragment14, jsx as jsx42, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5778
5781
|
var DATERANGEPICKER_CLASSNAME = `k-daterangepicker`;
|
|
5779
5782
|
var states24 = [
|
|
5780
5783
|
States.disabled
|
|
@@ -5810,7 +5813,7 @@ var DateRangePicker = (props) => {
|
|
|
5810
5813
|
stateClassNames(DATERANGEPICKER_CLASSNAME, { disabled })
|
|
5811
5814
|
),
|
|
5812
5815
|
children: [
|
|
5813
|
-
/* @__PURE__ */
|
|
5816
|
+
/* @__PURE__ */ jsx42(FloatingLabel, { label: "Start", children: /* @__PURE__ */ jsx42(
|
|
5814
5817
|
DateInput,
|
|
5815
5818
|
{
|
|
5816
5819
|
showSpinButton: false,
|
|
@@ -5819,7 +5822,7 @@ var DateRangePicker = (props) => {
|
|
|
5819
5822
|
fillMode
|
|
5820
5823
|
}
|
|
5821
5824
|
) }),
|
|
5822
|
-
swapButton && /* @__PURE__ */
|
|
5825
|
+
swapButton && /* @__PURE__ */ jsx42(
|
|
5823
5826
|
Button,
|
|
5824
5827
|
{
|
|
5825
5828
|
rounded,
|
|
@@ -5829,7 +5832,7 @@ var DateRangePicker = (props) => {
|
|
|
5829
5832
|
iconClassName: "k-rotate-90"
|
|
5830
5833
|
}
|
|
5831
5834
|
),
|
|
5832
|
-
/* @__PURE__ */
|
|
5835
|
+
/* @__PURE__ */ jsx42(FloatingLabel, { label: "End", children: /* @__PURE__ */ jsx42(
|
|
5833
5836
|
DateInput,
|
|
5834
5837
|
{
|
|
5835
5838
|
showSpinButton: false,
|
|
@@ -5841,9 +5844,9 @@ var DateRangePicker = (props) => {
|
|
|
5841
5844
|
]
|
|
5842
5845
|
}
|
|
5843
5846
|
),
|
|
5844
|
-
opened && /* @__PURE__ */
|
|
5847
|
+
opened && /* @__PURE__ */ jsx42(Popup, { className: "k-calendar-container k-daterangepicker-popup", children: /* @__PURE__ */ jsx42(MultiViewCalendar, { dir }) }),
|
|
5845
5848
|
adaptive && /* @__PURE__ */ jsxs15(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
5846
|
-
/* @__PURE__ */
|
|
5849
|
+
/* @__PURE__ */ jsx42(
|
|
5847
5850
|
ActionSheetHeader,
|
|
5848
5851
|
{
|
|
5849
5852
|
actions: ["x"],
|
|
@@ -5851,7 +5854,7 @@ var DateRangePicker = (props) => {
|
|
|
5851
5854
|
subTitle: "DD / MM / YY"
|
|
5852
5855
|
}
|
|
5853
5856
|
),
|
|
5854
|
-
/* @__PURE__ */
|
|
5857
|
+
/* @__PURE__ */ jsx42("div", { className: "k-scrollable-wrap", children: /* @__PURE__ */ jsx42(MultiViewCalendar, { size: "large", calendarView: "month", orientation: "vertical", showCalendarCaption: true }) })
|
|
5855
5858
|
] })
|
|
5856
5859
|
] });
|
|
5857
5860
|
};
|
|
@@ -5862,37 +5865,37 @@ DateRangePicker.defaultProps = defaultProps21;
|
|
|
5862
5865
|
var daterangepicker_spec_default = DateRangePicker;
|
|
5863
5866
|
|
|
5864
5867
|
// src/daterangepicker/templates/daterangepicker-normal.tsx
|
|
5865
|
-
import { jsx as
|
|
5866
|
-
var DateRangePickerNormal = (props) => /* @__PURE__ */
|
|
5868
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5869
|
+
var DateRangePickerNormal = (props) => /* @__PURE__ */ jsx43(daterangepicker_spec_default, { ...props });
|
|
5867
5870
|
|
|
5868
5871
|
// src/daterangepicker/templates/daterangepicker-popup.tsx
|
|
5869
|
-
import { jsx as
|
|
5872
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5870
5873
|
|
|
5871
5874
|
// src/daterangepicker/templates/daterangepicker-adaptive.tsx
|
|
5872
|
-
import { jsx as
|
|
5875
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
5873
5876
|
|
|
5874
5877
|
// src/daterangepicker/tests/daterangepicker-outline.tsx
|
|
5875
|
-
import { Fragment as Fragment15, jsx as
|
|
5876
|
-
var daterangepicker_outline_default = () => /* @__PURE__ */
|
|
5877
|
-
/* @__PURE__ */
|
|
5878
|
-
/* @__PURE__ */
|
|
5878
|
+
import { Fragment as Fragment15, jsx as jsx46, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5879
|
+
var daterangepicker_outline_default = () => /* @__PURE__ */ jsx46(Fragment15, { children: /* @__PURE__ */ jsxs16("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
5880
|
+
/* @__PURE__ */ jsx46("span", { children: "DateRangePicker Outline" }),
|
|
5881
|
+
/* @__PURE__ */ jsx46("span", { children: "DateRangePicker Outline RTL" }),
|
|
5879
5882
|
["normal", ...DateRangePicker.states].map((state) => /* @__PURE__ */ jsxs16(Fragment15, { children: [
|
|
5880
5883
|
/* @__PURE__ */ jsxs16("div", { children: [
|
|
5881
|
-
/* @__PURE__ */
|
|
5882
|
-
/* @__PURE__ */
|
|
5884
|
+
/* @__PURE__ */ jsx46("span", { children: state }),
|
|
5885
|
+
/* @__PURE__ */ jsx46(DateRangePickerNormal, { ...{ [state]: true }, fillMode: "outline" })
|
|
5883
5886
|
] }),
|
|
5884
5887
|
/* @__PURE__ */ jsxs16("div", { dir: "rtl", children: [
|
|
5885
|
-
/* @__PURE__ */
|
|
5886
|
-
/* @__PURE__ */
|
|
5888
|
+
/* @__PURE__ */ jsx46("span", { children: state }),
|
|
5889
|
+
/* @__PURE__ */ jsx46(DateRangePickerNormal, { ...{ [state]: true }, fillMode: "outline" })
|
|
5887
5890
|
] })
|
|
5888
5891
|
] })),
|
|
5889
5892
|
/* @__PURE__ */ jsxs16("div", { children: [
|
|
5890
|
-
/* @__PURE__ */
|
|
5891
|
-
/* @__PURE__ */
|
|
5893
|
+
/* @__PURE__ */ jsx46("span", { children: "With Swap Button" }),
|
|
5894
|
+
/* @__PURE__ */ jsx46(DateRangePickerNormal, { fillMode: "outline", swapButton: true })
|
|
5892
5895
|
] }),
|
|
5893
5896
|
/* @__PURE__ */ jsxs16("div", { dir: "rtl", children: [
|
|
5894
|
-
/* @__PURE__ */
|
|
5895
|
-
/* @__PURE__ */
|
|
5897
|
+
/* @__PURE__ */ jsx46("span", { children: "With Swap Button RTL" }),
|
|
5898
|
+
/* @__PURE__ */ jsx46(DateRangePickerNormal, { fillMode: "outline", swapButton: true })
|
|
5896
5899
|
] })
|
|
5897
5900
|
] }) });
|
|
5898
5901
|
export {
|