@progress/kendo-themes-html 7.2.0-dev.0 → 7.2.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/autocomplete/tests/autocomplete-prefix-suffix.js +263 -263
- package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +263 -263
- package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +263 -263
- package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +263 -263
- package/dist/cjs/form/tests/form-field-dropdowns.js +263 -263
- package/dist/cjs/index.js +273 -265
- package/dist/cjs/multiselect/templates/multiselect-prefix.js +263 -263
- package/dist/cjs/multiselect/templates/multiselect-suffix.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-adaptive.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-flat.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-grouping.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-opened.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-outline.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +263 -263
- package/dist/cjs/multiselect/tests/multiselect-solid.js +263 -263
- package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +263 -263
- package/dist/esm/combobox/tests/combobox-prefix-suffix.js +263 -263
- package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +263 -263
- package/dist/esm/filemanager/tests/filemanager-listview-preview.js +263 -263
- package/dist/esm/form/tests/form-field-dropdowns.js +263 -263
- package/dist/esm/index.js +273 -265
- package/dist/esm/multiselect/templates/multiselect-prefix.js +263 -263
- package/dist/esm/multiselect/templates/multiselect-suffix.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-adaptive.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-flat.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-grouping.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-opened.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-outline.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-size-rounded.js +263 -263
- package/dist/esm/multiselect/tests/multiselect-solid.js +263 -263
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/index.ts +1 -0
|
@@ -8886,109 +8886,14 @@ var import_jsx_runtime176 = require("react/jsx-runtime");
|
|
|
8886
8886
|
// src/combobox/templates/combobox-suffix.tsx
|
|
8887
8887
|
var import_jsx_runtime177 = require("react/jsx-runtime");
|
|
8888
8888
|
|
|
8889
|
-
// src/dateinput/dateinput.spec.tsx
|
|
8890
|
-
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
8891
|
-
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
8892
|
-
var states65 = [
|
|
8893
|
-
States.hover,
|
|
8894
|
-
States.focus,
|
|
8895
|
-
States.valid,
|
|
8896
|
-
States.invalid,
|
|
8897
|
-
States.required,
|
|
8898
|
-
States.disabled,
|
|
8899
|
-
States.loading,
|
|
8900
|
-
States.readonly
|
|
8901
|
-
];
|
|
8902
|
-
var options62 = {
|
|
8903
|
-
size: [Size.small, Size.medium, Size.large],
|
|
8904
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
8905
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
8906
|
-
};
|
|
8907
|
-
var defaultProps61 = {
|
|
8908
|
-
size: Input.defaultProps.size,
|
|
8909
|
-
rounded: Input.defaultProps.rounded,
|
|
8910
|
-
fillMode: Input.defaultProps.fillMode
|
|
8911
|
-
};
|
|
8912
|
-
var DateInput = (props) => {
|
|
8913
|
-
const {
|
|
8914
|
-
value,
|
|
8915
|
-
placeholder,
|
|
8916
|
-
size,
|
|
8917
|
-
rounded,
|
|
8918
|
-
fillMode,
|
|
8919
|
-
hover,
|
|
8920
|
-
focus,
|
|
8921
|
-
valid,
|
|
8922
|
-
invalid,
|
|
8923
|
-
required,
|
|
8924
|
-
loading,
|
|
8925
|
-
disabled,
|
|
8926
|
-
readonly,
|
|
8927
|
-
showSpinButton,
|
|
8928
|
-
...other
|
|
8929
|
-
} = props;
|
|
8930
|
-
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
|
|
8931
|
-
Input,
|
|
8932
|
-
{
|
|
8933
|
-
...other,
|
|
8934
|
-
size,
|
|
8935
|
-
rounded,
|
|
8936
|
-
fillMode,
|
|
8937
|
-
hover,
|
|
8938
|
-
focus,
|
|
8939
|
-
valid,
|
|
8940
|
-
invalid,
|
|
8941
|
-
required,
|
|
8942
|
-
loading,
|
|
8943
|
-
disabled,
|
|
8944
|
-
readonly,
|
|
8945
|
-
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
8946
|
-
children: [
|
|
8947
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(InputInnerInput, { placeholder, value }),
|
|
8948
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
8949
|
-
InputValidationIcon,
|
|
8950
|
-
{
|
|
8951
|
-
valid,
|
|
8952
|
-
invalid,
|
|
8953
|
-
loading,
|
|
8954
|
-
disabled
|
|
8955
|
-
}
|
|
8956
|
-
),
|
|
8957
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
8958
|
-
InputLoadingIcon,
|
|
8959
|
-
{
|
|
8960
|
-
loading,
|
|
8961
|
-
disabled
|
|
8962
|
-
}
|
|
8963
|
-
),
|
|
8964
|
-
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
8965
|
-
SpinButton,
|
|
8966
|
-
{
|
|
8967
|
-
className: "k-input-spinner",
|
|
8968
|
-
size,
|
|
8969
|
-
fillMode
|
|
8970
|
-
}
|
|
8971
|
-
)
|
|
8972
|
-
]
|
|
8973
|
-
}
|
|
8974
|
-
);
|
|
8975
|
-
};
|
|
8976
|
-
DateInput.states = states65;
|
|
8977
|
-
DateInput.options = options62;
|
|
8978
|
-
DateInput.className = DATEINPUT_CLASSNAME;
|
|
8979
|
-
DateInput.defaultProps = defaultProps61;
|
|
8980
|
-
|
|
8981
|
-
// src/dateinput/templates/dateinput-normal.tsx
|
|
8982
|
-
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
8983
|
-
|
|
8984
8889
|
// src/calendar/calendar.spec.tsx
|
|
8985
|
-
var
|
|
8890
|
+
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
8986
8891
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
8987
|
-
var
|
|
8988
|
-
var
|
|
8892
|
+
var states65 = [];
|
|
8893
|
+
var options62 = {
|
|
8989
8894
|
size: [Size.small, Size.medium, Size.large]
|
|
8990
8895
|
};
|
|
8991
|
-
var
|
|
8896
|
+
var defaultProps61 = {
|
|
8992
8897
|
size: Size.medium,
|
|
8993
8898
|
viewsCount: 1,
|
|
8994
8899
|
orientation: "horizontal",
|
|
@@ -8997,11 +8902,11 @@ var defaultProps62 = {
|
|
|
8997
8902
|
};
|
|
8998
8903
|
var Calendar = (props) => {
|
|
8999
8904
|
const {
|
|
9000
|
-
size =
|
|
9001
|
-
orientation =
|
|
9002
|
-
calendarView =
|
|
9003
|
-
calendarHeaderText =
|
|
9004
|
-
viewsCount =
|
|
8905
|
+
size = defaultProps61.size,
|
|
8906
|
+
orientation = defaultProps61.orientation,
|
|
8907
|
+
calendarView = defaultProps61.calendarView,
|
|
8908
|
+
calendarHeaderText = defaultProps61.calendarHeaderText,
|
|
8909
|
+
viewsCount = defaultProps61.viewsCount,
|
|
9005
8910
|
showWeek,
|
|
9006
8911
|
showOtherMonth,
|
|
9007
8912
|
showCalendarCaption,
|
|
@@ -9010,7 +8915,7 @@ var Calendar = (props) => {
|
|
|
9010
8915
|
dir,
|
|
9011
8916
|
...other
|
|
9012
8917
|
} = props;
|
|
9013
|
-
return /* @__PURE__ */ (0,
|
|
8918
|
+
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
|
|
9014
8919
|
"div",
|
|
9015
8920
|
{
|
|
9016
8921
|
...other,
|
|
@@ -9026,7 +8931,7 @@ var Calendar = (props) => {
|
|
|
9026
8931
|
}
|
|
9027
8932
|
),
|
|
9028
8933
|
children: [
|
|
9029
|
-
/* @__PURE__ */ (0,
|
|
8934
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
9030
8935
|
CalendarHeader,
|
|
9031
8936
|
{
|
|
9032
8937
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -9036,7 +8941,7 @@ var Calendar = (props) => {
|
|
|
9036
8941
|
dir
|
|
9037
8942
|
}
|
|
9038
8943
|
),
|
|
9039
|
-
/* @__PURE__ */ (0,
|
|
8944
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
9040
8945
|
CalendarView,
|
|
9041
8946
|
{
|
|
9042
8947
|
calendarView,
|
|
@@ -9048,19 +8953,19 @@ var Calendar = (props) => {
|
|
|
9048
8953
|
selectedRange
|
|
9049
8954
|
}
|
|
9050
8955
|
),
|
|
9051
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
8956
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(CalendarFooter, {})
|
|
9052
8957
|
]
|
|
9053
8958
|
}
|
|
9054
8959
|
);
|
|
9055
8960
|
};
|
|
9056
|
-
Calendar.states =
|
|
9057
|
-
Calendar.options =
|
|
8961
|
+
Calendar.states = states65;
|
|
8962
|
+
Calendar.options = options62;
|
|
9058
8963
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
9059
|
-
Calendar.defaultProps =
|
|
8964
|
+
Calendar.defaultProps = defaultProps61;
|
|
9060
8965
|
|
|
9061
8966
|
// src/calendar/calendar-cell.tsx
|
|
9062
|
-
var
|
|
9063
|
-
var
|
|
8967
|
+
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
8968
|
+
var states66 = [
|
|
9064
8969
|
States.hover,
|
|
9065
8970
|
States.focus,
|
|
9066
8971
|
States.active,
|
|
@@ -9109,21 +9014,21 @@ var CalendarCell = (props) => {
|
|
|
9109
9014
|
}
|
|
9110
9015
|
];
|
|
9111
9016
|
if (headerCell) {
|
|
9112
|
-
return /* @__PURE__ */ (0,
|
|
9017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
9113
9018
|
}
|
|
9114
9019
|
if (weekCell) {
|
|
9115
|
-
return /* @__PURE__ */ (0,
|
|
9020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
9116
9021
|
}
|
|
9117
|
-
return /* @__PURE__ */ (0,
|
|
9022
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("span", { className: "k-link", children: text }) });
|
|
9118
9023
|
};
|
|
9119
9024
|
|
|
9120
9025
|
// src/calendar/calendar-header.tsx
|
|
9121
|
-
var
|
|
9026
|
+
var import_jsx_runtime180 = require("react/jsx-runtime");
|
|
9122
9027
|
var className14 = `k-calendar-header`;
|
|
9123
|
-
var
|
|
9028
|
+
var options63 = {
|
|
9124
9029
|
size: [Size.small, Size.medium, Size.large]
|
|
9125
9030
|
};
|
|
9126
|
-
var
|
|
9031
|
+
var defaultProps62 = {
|
|
9127
9032
|
calendarHeaderText: "October 2021",
|
|
9128
9033
|
showToday: true,
|
|
9129
9034
|
orientation: "horizontal",
|
|
@@ -9131,16 +9036,16 @@ var defaultProps63 = {
|
|
|
9131
9036
|
};
|
|
9132
9037
|
var CalendarHeader = (props) => {
|
|
9133
9038
|
const {
|
|
9134
|
-
calendarHeaderText =
|
|
9135
|
-
showToday =
|
|
9136
|
-
orientation =
|
|
9137
|
-
size =
|
|
9039
|
+
calendarHeaderText = defaultProps62.calendarHeaderText,
|
|
9040
|
+
showToday = defaultProps62.showToday,
|
|
9041
|
+
orientation = defaultProps62.orientation,
|
|
9042
|
+
size = defaultProps62.size,
|
|
9138
9043
|
dir,
|
|
9139
9044
|
...other
|
|
9140
9045
|
} = props;
|
|
9141
9046
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
9142
9047
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
9143
|
-
return /* @__PURE__ */ (0,
|
|
9048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(
|
|
9144
9049
|
"div",
|
|
9145
9050
|
{
|
|
9146
9051
|
...other,
|
|
@@ -9152,12 +9057,12 @@ var CalendarHeader = (props) => {
|
|
|
9152
9057
|
}
|
|
9153
9058
|
),
|
|
9154
9059
|
children: [
|
|
9155
|
-
/* @__PURE__ */ (0,
|
|
9156
|
-
/* @__PURE__ */ (0,
|
|
9157
|
-
/* @__PURE__ */ (0,
|
|
9158
|
-
/* @__PURE__ */ (0,
|
|
9159
|
-
showToday && /* @__PURE__ */ (0,
|
|
9160
|
-
/* @__PURE__ */ (0,
|
|
9060
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
9061
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)("span", { className: "k-spacer" }),
|
|
9062
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
9063
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
9064
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
9065
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
9161
9066
|
] })
|
|
9162
9067
|
]
|
|
9163
9068
|
}
|
|
@@ -9165,12 +9070,12 @@ var CalendarHeader = (props) => {
|
|
|
9165
9070
|
};
|
|
9166
9071
|
|
|
9167
9072
|
// src/calendar/calendar-footer.tsx
|
|
9168
|
-
var
|
|
9073
|
+
var import_jsx_runtime181 = require("react/jsx-runtime");
|
|
9169
9074
|
var className15 = `k-calendar-footer`;
|
|
9170
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
9075
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { ...props, className: classNames(props.className, className15), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
9171
9076
|
|
|
9172
9077
|
// src/calendar/calendar-table.tsx
|
|
9173
|
-
var
|
|
9078
|
+
var import_jsx_runtime182 = require("react/jsx-runtime");
|
|
9174
9079
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
9175
9080
|
var CalendarTable = (props) => {
|
|
9176
9081
|
const {
|
|
@@ -9182,7 +9087,7 @@ var CalendarTable = (props) => {
|
|
|
9182
9087
|
...other
|
|
9183
9088
|
} = props;
|
|
9184
9089
|
if (calendarView === "year") {
|
|
9185
|
-
return /* @__PURE__ */ (0,
|
|
9090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
9186
9091
|
"table",
|
|
9187
9092
|
{
|
|
9188
9093
|
...other,
|
|
@@ -9191,25 +9096,25 @@ var CalendarTable = (props) => {
|
|
|
9191
9096
|
CALENDARTABLE_CLASSNAME
|
|
9192
9097
|
),
|
|
9193
9098
|
children: [
|
|
9194
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9195
|
-
/* @__PURE__ */ (0,
|
|
9196
|
-
/* @__PURE__ */ (0,
|
|
9197
|
-
/* @__PURE__ */ (0,
|
|
9198
|
-
/* @__PURE__ */ (0,
|
|
9199
|
-
/* @__PURE__ */ (0,
|
|
9200
|
-
/* @__PURE__ */ (0,
|
|
9099
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
9100
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9101
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9102
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Jan" }),
|
|
9103
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Feb" }),
|
|
9104
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Mar" }),
|
|
9105
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Apr" })
|
|
9201
9106
|
] }),
|
|
9202
|
-
/* @__PURE__ */ (0,
|
|
9203
|
-
/* @__PURE__ */ (0,
|
|
9204
|
-
/* @__PURE__ */ (0,
|
|
9205
|
-
/* @__PURE__ */ (0,
|
|
9206
|
-
/* @__PURE__ */ (0,
|
|
9107
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9108
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "May" }),
|
|
9109
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
9110
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
9111
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
9207
9112
|
] }),
|
|
9208
|
-
/* @__PURE__ */ (0,
|
|
9209
|
-
/* @__PURE__ */ (0,
|
|
9210
|
-
/* @__PURE__ */ (0,
|
|
9211
|
-
/* @__PURE__ */ (0,
|
|
9212
|
-
/* @__PURE__ */ (0,
|
|
9113
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9114
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Sep" }),
|
|
9115
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
9116
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Nov" }),
|
|
9117
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Dec" })
|
|
9213
9118
|
] })
|
|
9214
9119
|
] })
|
|
9215
9120
|
]
|
|
@@ -9217,7 +9122,7 @@ var CalendarTable = (props) => {
|
|
|
9217
9122
|
);
|
|
9218
9123
|
}
|
|
9219
9124
|
if (calendarView === "decade") {
|
|
9220
|
-
return /* @__PURE__ */ (0,
|
|
9125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
9221
9126
|
"table",
|
|
9222
9127
|
{
|
|
9223
9128
|
...other,
|
|
@@ -9226,25 +9131,25 @@ var CalendarTable = (props) => {
|
|
|
9226
9131
|
CALENDARTABLE_CLASSNAME
|
|
9227
9132
|
),
|
|
9228
9133
|
children: [
|
|
9229
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9230
|
-
/* @__PURE__ */ (0,
|
|
9231
|
-
/* @__PURE__ */ (0,
|
|
9232
|
-
/* @__PURE__ */ (0,
|
|
9233
|
-
/* @__PURE__ */ (0,
|
|
9234
|
-
/* @__PURE__ */ (0,
|
|
9235
|
-
/* @__PURE__ */ (0,
|
|
9134
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
9135
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9136
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9137
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
9138
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2020" }),
|
|
9139
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
9140
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2022" })
|
|
9236
9141
|
] }),
|
|
9237
|
-
/* @__PURE__ */ (0,
|
|
9238
|
-
/* @__PURE__ */ (0,
|
|
9239
|
-
/* @__PURE__ */ (0,
|
|
9240
|
-
/* @__PURE__ */ (0,
|
|
9241
|
-
/* @__PURE__ */ (0,
|
|
9142
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9143
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2023" }),
|
|
9144
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
9145
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
9146
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
9242
9147
|
] }),
|
|
9243
|
-
/* @__PURE__ */ (0,
|
|
9244
|
-
/* @__PURE__ */ (0,
|
|
9245
|
-
/* @__PURE__ */ (0,
|
|
9246
|
-
/* @__PURE__ */ (0,
|
|
9247
|
-
/* @__PURE__ */ (0,
|
|
9148
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9149
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2027" }),
|
|
9150
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2028" }),
|
|
9151
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2029" }),
|
|
9152
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
9248
9153
|
] })
|
|
9249
9154
|
] })
|
|
9250
9155
|
]
|
|
@@ -9252,7 +9157,7 @@ var CalendarTable = (props) => {
|
|
|
9252
9157
|
);
|
|
9253
9158
|
}
|
|
9254
9159
|
if (calendarView === "century") {
|
|
9255
|
-
return /* @__PURE__ */ (0,
|
|
9160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
9256
9161
|
"table",
|
|
9257
9162
|
{
|
|
9258
9163
|
...other,
|
|
@@ -9261,32 +9166,32 @@ var CalendarTable = (props) => {
|
|
|
9261
9166
|
CALENDARTABLE_CLASSNAME
|
|
9262
9167
|
),
|
|
9263
9168
|
children: [
|
|
9264
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9265
|
-
/* @__PURE__ */ (0,
|
|
9266
|
-
/* @__PURE__ */ (0,
|
|
9267
|
-
/* @__PURE__ */ (0,
|
|
9268
|
-
/* @__PURE__ */ (0,
|
|
9269
|
-
/* @__PURE__ */ (0,
|
|
9270
|
-
/* @__PURE__ */ (0,
|
|
9169
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
9170
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9171
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9172
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
9173
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
9174
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
9175
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
9271
9176
|
] }),
|
|
9272
|
-
/* @__PURE__ */ (0,
|
|
9273
|
-
/* @__PURE__ */ (0,
|
|
9274
|
-
/* @__PURE__ */ (0,
|
|
9275
|
-
/* @__PURE__ */ (0,
|
|
9276
|
-
/* @__PURE__ */ (0,
|
|
9177
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9178
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
9179
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
9180
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
9181
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
9277
9182
|
] }),
|
|
9278
|
-
/* @__PURE__ */ (0,
|
|
9279
|
-
/* @__PURE__ */ (0,
|
|
9280
|
-
/* @__PURE__ */ (0,
|
|
9281
|
-
/* @__PURE__ */ (0,
|
|
9282
|
-
/* @__PURE__ */ (0,
|
|
9183
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9184
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
9185
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
9186
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
9187
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
9283
9188
|
] })
|
|
9284
9189
|
] })
|
|
9285
9190
|
]
|
|
9286
9191
|
}
|
|
9287
9192
|
);
|
|
9288
9193
|
}
|
|
9289
|
-
return /* @__PURE__ */ (0,
|
|
9194
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
9290
9195
|
"table",
|
|
9291
9196
|
{
|
|
9292
9197
|
...other,
|
|
@@ -9295,68 +9200,68 @@ var CalendarTable = (props) => {
|
|
|
9295
9200
|
CALENDARTABLE_CLASSNAME
|
|
9296
9201
|
),
|
|
9297
9202
|
children: [
|
|
9298
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9299
|
-
/* @__PURE__ */ (0,
|
|
9300
|
-
/* @__PURE__ */ (0,
|
|
9301
|
-
/* @__PURE__ */ (0,
|
|
9302
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9303
|
-
/* @__PURE__ */ (0,
|
|
9304
|
-
/* @__PURE__ */ (0,
|
|
9305
|
-
/* @__PURE__ */ (0,
|
|
9306
|
-
/* @__PURE__ */ (0,
|
|
9307
|
-
/* @__PURE__ */ (0,
|
|
9308
|
-
/* @__PURE__ */ (0,
|
|
9309
|
-
/* @__PURE__ */ (0,
|
|
9203
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
9204
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarTableHead, { showWeek }),
|
|
9205
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9206
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9207
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
9208
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
9209
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "1" }),
|
|
9210
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2" }),
|
|
9211
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "3" }),
|
|
9212
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "4" }),
|
|
9213
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "5" }),
|
|
9214
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
9310
9215
|
] }),
|
|
9311
|
-
/* @__PURE__ */ (0,
|
|
9312
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9313
|
-
/* @__PURE__ */ (0,
|
|
9314
|
-
/* @__PURE__ */ (0,
|
|
9315
|
-
/* @__PURE__ */ (0,
|
|
9316
|
-
/* @__PURE__ */ (0,
|
|
9317
|
-
/* @__PURE__ */ (0,
|
|
9318
|
-
/* @__PURE__ */ (0,
|
|
9319
|
-
/* @__PURE__ */ (0,
|
|
9216
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9217
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
9218
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
9219
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
9220
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
9221
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
9222
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
9223
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
9224
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
9320
9225
|
] }),
|
|
9321
|
-
/* @__PURE__ */ (0,
|
|
9322
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9323
|
-
/* @__PURE__ */ (0,
|
|
9324
|
-
/* @__PURE__ */ (0,
|
|
9325
|
-
/* @__PURE__ */ (0,
|
|
9326
|
-
/* @__PURE__ */ (0,
|
|
9327
|
-
/* @__PURE__ */ (0,
|
|
9328
|
-
/* @__PURE__ */ (0,
|
|
9329
|
-
/* @__PURE__ */ (0,
|
|
9226
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9227
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
9228
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
9229
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "15" }),
|
|
9230
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "16", today: true }),
|
|
9231
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "17" }),
|
|
9232
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "18" }),
|
|
9233
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "19" }),
|
|
9234
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
9330
9235
|
] }),
|
|
9331
|
-
/* @__PURE__ */ (0,
|
|
9332
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9333
|
-
/* @__PURE__ */ (0,
|
|
9334
|
-
/* @__PURE__ */ (0,
|
|
9335
|
-
/* @__PURE__ */ (0,
|
|
9336
|
-
/* @__PURE__ */ (0,
|
|
9337
|
-
/* @__PURE__ */ (0,
|
|
9338
|
-
/* @__PURE__ */ (0,
|
|
9339
|
-
/* @__PURE__ */ (0,
|
|
9236
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9237
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
9238
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
9239
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "22" }),
|
|
9240
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "23" }),
|
|
9241
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "24" }),
|
|
9242
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
9243
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
9244
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
9340
9245
|
] }),
|
|
9341
|
-
/* @__PURE__ */ (0,
|
|
9342
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9343
|
-
/* @__PURE__ */ (0,
|
|
9344
|
-
/* @__PURE__ */ (0,
|
|
9345
|
-
/* @__PURE__ */ (0,
|
|
9346
|
-
/* @__PURE__ */ (0,
|
|
9347
|
-
/* @__PURE__ */ (0,
|
|
9348
|
-
/* @__PURE__ */ (0,
|
|
9349
|
-
/* @__PURE__ */ (0,
|
|
9246
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9247
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
9248
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
9249
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
9250
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "30" }),
|
|
9251
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "31" }),
|
|
9252
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
9253
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
9254
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
9350
9255
|
] }),
|
|
9351
|
-
/* @__PURE__ */ (0,
|
|
9352
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9353
|
-
/* @__PURE__ */ (0,
|
|
9354
|
-
/* @__PURE__ */ (0,
|
|
9355
|
-
/* @__PURE__ */ (0,
|
|
9356
|
-
/* @__PURE__ */ (0,
|
|
9357
|
-
/* @__PURE__ */ (0,
|
|
9358
|
-
/* @__PURE__ */ (0,
|
|
9359
|
-
/* @__PURE__ */ (0,
|
|
9256
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9257
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
9258
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
9259
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
9260
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
9261
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
9262
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
9263
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
9264
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
9360
9265
|
] })
|
|
9361
9266
|
] })
|
|
9362
9267
|
]
|
|
@@ -9365,52 +9270,52 @@ var CalendarTable = (props) => {
|
|
|
9365
9270
|
};
|
|
9366
9271
|
|
|
9367
9272
|
// src/calendar/calendar-table-head.tsx
|
|
9368
|
-
var
|
|
9273
|
+
var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
9369
9274
|
var className16 = `k-calendar-thead`;
|
|
9370
9275
|
var CalendarTableHead = (props) => {
|
|
9371
9276
|
const {
|
|
9372
9277
|
showWeek,
|
|
9373
9278
|
...other
|
|
9374
9279
|
} = props;
|
|
9375
|
-
return /* @__PURE__ */ (0,
|
|
9280
|
+
return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
|
|
9376
9281
|
"thead",
|
|
9377
9282
|
{
|
|
9378
9283
|
...other,
|
|
9379
9284
|
className: classNames(props.className, className16),
|
|
9380
|
-
children: /* @__PURE__ */ (0,
|
|
9381
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9382
|
-
/* @__PURE__ */ (0,
|
|
9383
|
-
/* @__PURE__ */ (0,
|
|
9384
|
-
/* @__PURE__ */ (0,
|
|
9385
|
-
/* @__PURE__ */ (0,
|
|
9386
|
-
/* @__PURE__ */ (0,
|
|
9387
|
-
/* @__PURE__ */ (0,
|
|
9388
|
-
/* @__PURE__ */ (0,
|
|
9285
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9286
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
9287
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
9288
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
9289
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
9290
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
9291
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
9292
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
9293
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
9389
9294
|
] })
|
|
9390
9295
|
}
|
|
9391
9296
|
);
|
|
9392
9297
|
};
|
|
9393
9298
|
|
|
9394
9299
|
// src/calendar/calendar-view.tsx
|
|
9395
|
-
var
|
|
9300
|
+
var import_jsx_runtime184 = require("react/jsx-runtime");
|
|
9396
9301
|
var className17 = `k-calendar-view`;
|
|
9397
|
-
var
|
|
9302
|
+
var defaultProps63 = {
|
|
9398
9303
|
viewsCount: 1,
|
|
9399
9304
|
orientation: "horizontal",
|
|
9400
9305
|
calendarView: "month"
|
|
9401
9306
|
};
|
|
9402
9307
|
var CalendarView = (props) => {
|
|
9403
9308
|
const {
|
|
9404
|
-
orientation =
|
|
9405
|
-
calendarView =
|
|
9406
|
-
viewsCount =
|
|
9309
|
+
orientation = defaultProps63.orientation,
|
|
9310
|
+
calendarView = defaultProps63.calendarView,
|
|
9311
|
+
viewsCount = defaultProps63.viewsCount,
|
|
9407
9312
|
showWeek,
|
|
9408
9313
|
showOtherMonth,
|
|
9409
9314
|
showCalendarCaption,
|
|
9410
9315
|
selectedRange,
|
|
9411
9316
|
...other
|
|
9412
9317
|
} = props;
|
|
9413
|
-
return /* @__PURE__ */ (0,
|
|
9318
|
+
return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
|
|
9414
9319
|
"div",
|
|
9415
9320
|
{
|
|
9416
9321
|
...other,
|
|
@@ -9426,7 +9331,7 @@ var CalendarView = (props) => {
|
|
|
9426
9331
|
}
|
|
9427
9332
|
),
|
|
9428
9333
|
children: [...Array(viewsCount)].map(
|
|
9429
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
9334
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
|
|
9430
9335
|
CalendarTable,
|
|
9431
9336
|
{
|
|
9432
9337
|
calendarView,
|
|
@@ -9442,6 +9347,101 @@ var CalendarView = (props) => {
|
|
|
9442
9347
|
);
|
|
9443
9348
|
};
|
|
9444
9349
|
|
|
9350
|
+
// src/dateinput/dateinput.spec.tsx
|
|
9351
|
+
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
9352
|
+
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
9353
|
+
var states67 = [
|
|
9354
|
+
States.hover,
|
|
9355
|
+
States.focus,
|
|
9356
|
+
States.valid,
|
|
9357
|
+
States.invalid,
|
|
9358
|
+
States.required,
|
|
9359
|
+
States.disabled,
|
|
9360
|
+
States.loading,
|
|
9361
|
+
States.readonly
|
|
9362
|
+
];
|
|
9363
|
+
var options64 = {
|
|
9364
|
+
size: [Size.small, Size.medium, Size.large],
|
|
9365
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
9366
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
9367
|
+
};
|
|
9368
|
+
var defaultProps64 = {
|
|
9369
|
+
size: Input.defaultProps.size,
|
|
9370
|
+
rounded: Input.defaultProps.rounded,
|
|
9371
|
+
fillMode: Input.defaultProps.fillMode
|
|
9372
|
+
};
|
|
9373
|
+
var DateInput = (props) => {
|
|
9374
|
+
const {
|
|
9375
|
+
value,
|
|
9376
|
+
placeholder,
|
|
9377
|
+
size,
|
|
9378
|
+
rounded,
|
|
9379
|
+
fillMode,
|
|
9380
|
+
hover,
|
|
9381
|
+
focus,
|
|
9382
|
+
valid,
|
|
9383
|
+
invalid,
|
|
9384
|
+
required,
|
|
9385
|
+
loading,
|
|
9386
|
+
disabled,
|
|
9387
|
+
readonly,
|
|
9388
|
+
showSpinButton,
|
|
9389
|
+
...other
|
|
9390
|
+
} = props;
|
|
9391
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
|
|
9392
|
+
Input,
|
|
9393
|
+
{
|
|
9394
|
+
...other,
|
|
9395
|
+
size,
|
|
9396
|
+
rounded,
|
|
9397
|
+
fillMode,
|
|
9398
|
+
hover,
|
|
9399
|
+
focus,
|
|
9400
|
+
valid,
|
|
9401
|
+
invalid,
|
|
9402
|
+
required,
|
|
9403
|
+
loading,
|
|
9404
|
+
disabled,
|
|
9405
|
+
readonly,
|
|
9406
|
+
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
9407
|
+
children: [
|
|
9408
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(InputInnerInput, { placeholder, value }),
|
|
9409
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9410
|
+
InputValidationIcon,
|
|
9411
|
+
{
|
|
9412
|
+
valid,
|
|
9413
|
+
invalid,
|
|
9414
|
+
loading,
|
|
9415
|
+
disabled
|
|
9416
|
+
}
|
|
9417
|
+
),
|
|
9418
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9419
|
+
InputLoadingIcon,
|
|
9420
|
+
{
|
|
9421
|
+
loading,
|
|
9422
|
+
disabled
|
|
9423
|
+
}
|
|
9424
|
+
),
|
|
9425
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9426
|
+
SpinButton,
|
|
9427
|
+
{
|
|
9428
|
+
className: "k-input-spinner",
|
|
9429
|
+
size,
|
|
9430
|
+
fillMode
|
|
9431
|
+
}
|
|
9432
|
+
)
|
|
9433
|
+
]
|
|
9434
|
+
}
|
|
9435
|
+
);
|
|
9436
|
+
};
|
|
9437
|
+
DateInput.states = states67;
|
|
9438
|
+
DateInput.options = options64;
|
|
9439
|
+
DateInput.className = DATEINPUT_CLASSNAME;
|
|
9440
|
+
DateInput.defaultProps = defaultProps64;
|
|
9441
|
+
|
|
9442
|
+
// src/dateinput/templates/dateinput-normal.tsx
|
|
9443
|
+
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
9444
|
+
|
|
9445
9445
|
// src/datepicker/datepicker.spec.tsx
|
|
9446
9446
|
var import_jsx_runtime187 = require("react/jsx-runtime");
|
|
9447
9447
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|