@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
|
@@ -9040,109 +9040,14 @@ var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
|
9040
9040
|
// src/combobox/templates/combobox-suffix.tsx
|
|
9041
9041
|
var import_jsx_runtime184 = require("react/jsx-runtime");
|
|
9042
9042
|
|
|
9043
|
-
// src/dateinput/dateinput.spec.tsx
|
|
9044
|
-
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
9045
|
-
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
9046
|
-
var states66 = [
|
|
9047
|
-
States.hover,
|
|
9048
|
-
States.focus,
|
|
9049
|
-
States.valid,
|
|
9050
|
-
States.invalid,
|
|
9051
|
-
States.required,
|
|
9052
|
-
States.disabled,
|
|
9053
|
-
States.loading,
|
|
9054
|
-
States.readonly
|
|
9055
|
-
];
|
|
9056
|
-
var options63 = {
|
|
9057
|
-
size: [Size.small, Size.medium, Size.large],
|
|
9058
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
9059
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
9060
|
-
};
|
|
9061
|
-
var defaultProps62 = {
|
|
9062
|
-
size: Input.defaultProps.size,
|
|
9063
|
-
rounded: Input.defaultProps.rounded,
|
|
9064
|
-
fillMode: Input.defaultProps.fillMode
|
|
9065
|
-
};
|
|
9066
|
-
var DateInput = (props) => {
|
|
9067
|
-
const {
|
|
9068
|
-
value,
|
|
9069
|
-
placeholder,
|
|
9070
|
-
size,
|
|
9071
|
-
rounded,
|
|
9072
|
-
fillMode,
|
|
9073
|
-
hover,
|
|
9074
|
-
focus,
|
|
9075
|
-
valid,
|
|
9076
|
-
invalid,
|
|
9077
|
-
required,
|
|
9078
|
-
loading,
|
|
9079
|
-
disabled,
|
|
9080
|
-
readonly,
|
|
9081
|
-
showSpinButton,
|
|
9082
|
-
...other
|
|
9083
|
-
} = props;
|
|
9084
|
-
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
|
|
9085
|
-
Input,
|
|
9086
|
-
{
|
|
9087
|
-
...other,
|
|
9088
|
-
size,
|
|
9089
|
-
rounded,
|
|
9090
|
-
fillMode,
|
|
9091
|
-
hover,
|
|
9092
|
-
focus,
|
|
9093
|
-
valid,
|
|
9094
|
-
invalid,
|
|
9095
|
-
required,
|
|
9096
|
-
loading,
|
|
9097
|
-
disabled,
|
|
9098
|
-
readonly,
|
|
9099
|
-
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
9100
|
-
children: [
|
|
9101
|
-
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(InputInnerInput, { placeholder, value }),
|
|
9102
|
-
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9103
|
-
InputValidationIcon,
|
|
9104
|
-
{
|
|
9105
|
-
valid,
|
|
9106
|
-
invalid,
|
|
9107
|
-
loading,
|
|
9108
|
-
disabled
|
|
9109
|
-
}
|
|
9110
|
-
),
|
|
9111
|
-
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9112
|
-
InputLoadingIcon,
|
|
9113
|
-
{
|
|
9114
|
-
loading,
|
|
9115
|
-
disabled
|
|
9116
|
-
}
|
|
9117
|
-
),
|
|
9118
|
-
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9119
|
-
SpinButton,
|
|
9120
|
-
{
|
|
9121
|
-
className: "k-input-spinner",
|
|
9122
|
-
size,
|
|
9123
|
-
fillMode
|
|
9124
|
-
}
|
|
9125
|
-
)
|
|
9126
|
-
]
|
|
9127
|
-
}
|
|
9128
|
-
);
|
|
9129
|
-
};
|
|
9130
|
-
DateInput.states = states66;
|
|
9131
|
-
DateInput.options = options63;
|
|
9132
|
-
DateInput.className = DATEINPUT_CLASSNAME;
|
|
9133
|
-
DateInput.defaultProps = defaultProps62;
|
|
9134
|
-
|
|
9135
|
-
// src/dateinput/templates/dateinput-normal.tsx
|
|
9136
|
-
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
9137
|
-
|
|
9138
9043
|
// src/calendar/calendar.spec.tsx
|
|
9139
|
-
var
|
|
9044
|
+
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
9140
9045
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
9141
|
-
var
|
|
9142
|
-
var
|
|
9046
|
+
var states66 = [];
|
|
9047
|
+
var options63 = {
|
|
9143
9048
|
size: [Size.small, Size.medium, Size.large]
|
|
9144
9049
|
};
|
|
9145
|
-
var
|
|
9050
|
+
var defaultProps62 = {
|
|
9146
9051
|
size: Size.medium,
|
|
9147
9052
|
viewsCount: 1,
|
|
9148
9053
|
orientation: "horizontal",
|
|
@@ -9151,11 +9056,11 @@ var defaultProps63 = {
|
|
|
9151
9056
|
};
|
|
9152
9057
|
var Calendar = (props) => {
|
|
9153
9058
|
const {
|
|
9154
|
-
size =
|
|
9155
|
-
orientation =
|
|
9156
|
-
calendarView =
|
|
9157
|
-
calendarHeaderText =
|
|
9158
|
-
viewsCount =
|
|
9059
|
+
size = defaultProps62.size,
|
|
9060
|
+
orientation = defaultProps62.orientation,
|
|
9061
|
+
calendarView = defaultProps62.calendarView,
|
|
9062
|
+
calendarHeaderText = defaultProps62.calendarHeaderText,
|
|
9063
|
+
viewsCount = defaultProps62.viewsCount,
|
|
9159
9064
|
showWeek,
|
|
9160
9065
|
showOtherMonth,
|
|
9161
9066
|
showCalendarCaption,
|
|
@@ -9164,7 +9069,7 @@ var Calendar = (props) => {
|
|
|
9164
9069
|
dir,
|
|
9165
9070
|
...other
|
|
9166
9071
|
} = props;
|
|
9167
|
-
return /* @__PURE__ */ (0,
|
|
9072
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
|
|
9168
9073
|
"div",
|
|
9169
9074
|
{
|
|
9170
9075
|
...other,
|
|
@@ -9180,7 +9085,7 @@ var Calendar = (props) => {
|
|
|
9180
9085
|
}
|
|
9181
9086
|
),
|
|
9182
9087
|
children: [
|
|
9183
|
-
/* @__PURE__ */ (0,
|
|
9088
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9184
9089
|
CalendarHeader,
|
|
9185
9090
|
{
|
|
9186
9091
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -9190,7 +9095,7 @@ var Calendar = (props) => {
|
|
|
9190
9095
|
dir
|
|
9191
9096
|
}
|
|
9192
9097
|
),
|
|
9193
|
-
/* @__PURE__ */ (0,
|
|
9098
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9194
9099
|
CalendarView,
|
|
9195
9100
|
{
|
|
9196
9101
|
calendarView,
|
|
@@ -9202,19 +9107,19 @@ var Calendar = (props) => {
|
|
|
9202
9107
|
selectedRange
|
|
9203
9108
|
}
|
|
9204
9109
|
),
|
|
9205
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
9110
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(CalendarFooter, {})
|
|
9206
9111
|
]
|
|
9207
9112
|
}
|
|
9208
9113
|
);
|
|
9209
9114
|
};
|
|
9210
|
-
Calendar.states =
|
|
9211
|
-
Calendar.options =
|
|
9115
|
+
Calendar.states = states66;
|
|
9116
|
+
Calendar.options = options63;
|
|
9212
9117
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
9213
|
-
Calendar.defaultProps =
|
|
9118
|
+
Calendar.defaultProps = defaultProps62;
|
|
9214
9119
|
|
|
9215
9120
|
// src/calendar/calendar-cell.tsx
|
|
9216
|
-
var
|
|
9217
|
-
var
|
|
9121
|
+
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
9122
|
+
var states67 = [
|
|
9218
9123
|
States.hover,
|
|
9219
9124
|
States.focus,
|
|
9220
9125
|
States.active,
|
|
@@ -9263,21 +9168,21 @@ var CalendarCell = (props) => {
|
|
|
9263
9168
|
}
|
|
9264
9169
|
];
|
|
9265
9170
|
if (headerCell) {
|
|
9266
|
-
return /* @__PURE__ */ (0,
|
|
9171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
9267
9172
|
}
|
|
9268
9173
|
if (weekCell) {
|
|
9269
|
-
return /* @__PURE__ */ (0,
|
|
9174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
9270
9175
|
}
|
|
9271
|
-
return /* @__PURE__ */ (0,
|
|
9176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("span", { className: "k-link", children: text }) });
|
|
9272
9177
|
};
|
|
9273
9178
|
|
|
9274
9179
|
// src/calendar/calendar-header.tsx
|
|
9275
|
-
var
|
|
9180
|
+
var import_jsx_runtime187 = require("react/jsx-runtime");
|
|
9276
9181
|
var className14 = `k-calendar-header`;
|
|
9277
|
-
var
|
|
9182
|
+
var options64 = {
|
|
9278
9183
|
size: [Size.small, Size.medium, Size.large]
|
|
9279
9184
|
};
|
|
9280
|
-
var
|
|
9185
|
+
var defaultProps63 = {
|
|
9281
9186
|
calendarHeaderText: "October 2021",
|
|
9282
9187
|
showToday: true,
|
|
9283
9188
|
orientation: "horizontal",
|
|
@@ -9285,16 +9190,16 @@ var defaultProps64 = {
|
|
|
9285
9190
|
};
|
|
9286
9191
|
var CalendarHeader = (props) => {
|
|
9287
9192
|
const {
|
|
9288
|
-
calendarHeaderText =
|
|
9289
|
-
showToday =
|
|
9290
|
-
orientation =
|
|
9291
|
-
size =
|
|
9193
|
+
calendarHeaderText = defaultProps63.calendarHeaderText,
|
|
9194
|
+
showToday = defaultProps63.showToday,
|
|
9195
|
+
orientation = defaultProps63.orientation,
|
|
9196
|
+
size = defaultProps63.size,
|
|
9292
9197
|
dir,
|
|
9293
9198
|
...other
|
|
9294
9199
|
} = props;
|
|
9295
9200
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
9296
9201
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
9297
|
-
return /* @__PURE__ */ (0,
|
|
9202
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(
|
|
9298
9203
|
"div",
|
|
9299
9204
|
{
|
|
9300
9205
|
...other,
|
|
@@ -9306,12 +9211,12 @@ var CalendarHeader = (props) => {
|
|
|
9306
9211
|
}
|
|
9307
9212
|
),
|
|
9308
9213
|
children: [
|
|
9309
|
-
/* @__PURE__ */ (0,
|
|
9310
|
-
/* @__PURE__ */ (0,
|
|
9311
|
-
/* @__PURE__ */ (0,
|
|
9312
|
-
/* @__PURE__ */ (0,
|
|
9313
|
-
showToday && /* @__PURE__ */ (0,
|
|
9314
|
-
/* @__PURE__ */ (0,
|
|
9214
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
9215
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)("span", { className: "k-spacer" }),
|
|
9216
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
9217
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
9218
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
9219
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
9315
9220
|
] })
|
|
9316
9221
|
]
|
|
9317
9222
|
}
|
|
@@ -9319,12 +9224,12 @@ var CalendarHeader = (props) => {
|
|
|
9319
9224
|
};
|
|
9320
9225
|
|
|
9321
9226
|
// src/calendar/calendar-footer.tsx
|
|
9322
|
-
var
|
|
9227
|
+
var import_jsx_runtime188 = require("react/jsx-runtime");
|
|
9323
9228
|
var className15 = `k-calendar-footer`;
|
|
9324
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
9229
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...props, className: classNames(props.className, className15), children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
9325
9230
|
|
|
9326
9231
|
// src/calendar/calendar-table.tsx
|
|
9327
|
-
var
|
|
9232
|
+
var import_jsx_runtime189 = require("react/jsx-runtime");
|
|
9328
9233
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
9329
9234
|
var CalendarTable = (props) => {
|
|
9330
9235
|
const {
|
|
@@ -9336,7 +9241,7 @@ var CalendarTable = (props) => {
|
|
|
9336
9241
|
...other
|
|
9337
9242
|
} = props;
|
|
9338
9243
|
if (calendarView === "year") {
|
|
9339
|
-
return /* @__PURE__ */ (0,
|
|
9244
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9340
9245
|
"table",
|
|
9341
9246
|
{
|
|
9342
9247
|
...other,
|
|
@@ -9345,25 +9250,25 @@ var CalendarTable = (props) => {
|
|
|
9345
9250
|
CALENDARTABLE_CLASSNAME
|
|
9346
9251
|
),
|
|
9347
9252
|
children: [
|
|
9348
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9349
|
-
/* @__PURE__ */ (0,
|
|
9350
|
-
/* @__PURE__ */ (0,
|
|
9351
|
-
/* @__PURE__ */ (0,
|
|
9352
|
-
/* @__PURE__ */ (0,
|
|
9353
|
-
/* @__PURE__ */ (0,
|
|
9354
|
-
/* @__PURE__ */ (0,
|
|
9253
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
9254
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9255
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9256
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Jan" }),
|
|
9257
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Feb" }),
|
|
9258
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Mar" }),
|
|
9259
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Apr" })
|
|
9355
9260
|
] }),
|
|
9356
|
-
/* @__PURE__ */ (0,
|
|
9357
|
-
/* @__PURE__ */ (0,
|
|
9358
|
-
/* @__PURE__ */ (0,
|
|
9359
|
-
/* @__PURE__ */ (0,
|
|
9360
|
-
/* @__PURE__ */ (0,
|
|
9261
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9262
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "May" }),
|
|
9263
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
9264
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
9265
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
9361
9266
|
] }),
|
|
9362
|
-
/* @__PURE__ */ (0,
|
|
9363
|
-
/* @__PURE__ */ (0,
|
|
9364
|
-
/* @__PURE__ */ (0,
|
|
9365
|
-
/* @__PURE__ */ (0,
|
|
9366
|
-
/* @__PURE__ */ (0,
|
|
9267
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9268
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Sep" }),
|
|
9269
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
9270
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Nov" }),
|
|
9271
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Dec" })
|
|
9367
9272
|
] })
|
|
9368
9273
|
] })
|
|
9369
9274
|
]
|
|
@@ -9371,7 +9276,7 @@ var CalendarTable = (props) => {
|
|
|
9371
9276
|
);
|
|
9372
9277
|
}
|
|
9373
9278
|
if (calendarView === "decade") {
|
|
9374
|
-
return /* @__PURE__ */ (0,
|
|
9279
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9375
9280
|
"table",
|
|
9376
9281
|
{
|
|
9377
9282
|
...other,
|
|
@@ -9380,25 +9285,25 @@ var CalendarTable = (props) => {
|
|
|
9380
9285
|
CALENDARTABLE_CLASSNAME
|
|
9381
9286
|
),
|
|
9382
9287
|
children: [
|
|
9383
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9384
|
-
/* @__PURE__ */ (0,
|
|
9385
|
-
/* @__PURE__ */ (0,
|
|
9386
|
-
/* @__PURE__ */ (0,
|
|
9387
|
-
/* @__PURE__ */ (0,
|
|
9388
|
-
/* @__PURE__ */ (0,
|
|
9389
|
-
/* @__PURE__ */ (0,
|
|
9288
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
9289
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9290
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9291
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
9292
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2020" }),
|
|
9293
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
9294
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2022" })
|
|
9390
9295
|
] }),
|
|
9391
|
-
/* @__PURE__ */ (0,
|
|
9392
|
-
/* @__PURE__ */ (0,
|
|
9393
|
-
/* @__PURE__ */ (0,
|
|
9394
|
-
/* @__PURE__ */ (0,
|
|
9395
|
-
/* @__PURE__ */ (0,
|
|
9296
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9297
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2023" }),
|
|
9298
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
9299
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
9300
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
9396
9301
|
] }),
|
|
9397
|
-
/* @__PURE__ */ (0,
|
|
9398
|
-
/* @__PURE__ */ (0,
|
|
9399
|
-
/* @__PURE__ */ (0,
|
|
9400
|
-
/* @__PURE__ */ (0,
|
|
9401
|
-
/* @__PURE__ */ (0,
|
|
9302
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9303
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2027" }),
|
|
9304
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2028" }),
|
|
9305
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2029" }),
|
|
9306
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
9402
9307
|
] })
|
|
9403
9308
|
] })
|
|
9404
9309
|
]
|
|
@@ -9406,7 +9311,7 @@ var CalendarTable = (props) => {
|
|
|
9406
9311
|
);
|
|
9407
9312
|
}
|
|
9408
9313
|
if (calendarView === "century") {
|
|
9409
|
-
return /* @__PURE__ */ (0,
|
|
9314
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9410
9315
|
"table",
|
|
9411
9316
|
{
|
|
9412
9317
|
...other,
|
|
@@ -9415,32 +9320,32 @@ var CalendarTable = (props) => {
|
|
|
9415
9320
|
CALENDARTABLE_CLASSNAME
|
|
9416
9321
|
),
|
|
9417
9322
|
children: [
|
|
9418
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9419
|
-
/* @__PURE__ */ (0,
|
|
9420
|
-
/* @__PURE__ */ (0,
|
|
9421
|
-
/* @__PURE__ */ (0,
|
|
9422
|
-
/* @__PURE__ */ (0,
|
|
9423
|
-
/* @__PURE__ */ (0,
|
|
9424
|
-
/* @__PURE__ */ (0,
|
|
9323
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
9324
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9325
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9326
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
9327
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
9328
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
9329
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
9425
9330
|
] }),
|
|
9426
|
-
/* @__PURE__ */ (0,
|
|
9427
|
-
/* @__PURE__ */ (0,
|
|
9428
|
-
/* @__PURE__ */ (0,
|
|
9429
|
-
/* @__PURE__ */ (0,
|
|
9430
|
-
/* @__PURE__ */ (0,
|
|
9331
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9332
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
9333
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
9334
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
9335
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
9431
9336
|
] }),
|
|
9432
|
-
/* @__PURE__ */ (0,
|
|
9433
|
-
/* @__PURE__ */ (0,
|
|
9434
|
-
/* @__PURE__ */ (0,
|
|
9435
|
-
/* @__PURE__ */ (0,
|
|
9436
|
-
/* @__PURE__ */ (0,
|
|
9337
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9338
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
9339
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
9340
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
9341
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
9437
9342
|
] })
|
|
9438
9343
|
] })
|
|
9439
9344
|
]
|
|
9440
9345
|
}
|
|
9441
9346
|
);
|
|
9442
9347
|
}
|
|
9443
|
-
return /* @__PURE__ */ (0,
|
|
9348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9444
9349
|
"table",
|
|
9445
9350
|
{
|
|
9446
9351
|
...other,
|
|
@@ -9449,68 +9354,68 @@ var CalendarTable = (props) => {
|
|
|
9449
9354
|
CALENDARTABLE_CLASSNAME
|
|
9450
9355
|
),
|
|
9451
9356
|
children: [
|
|
9452
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9453
|
-
/* @__PURE__ */ (0,
|
|
9454
|
-
/* @__PURE__ */ (0,
|
|
9455
|
-
/* @__PURE__ */ (0,
|
|
9456
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9457
|
-
/* @__PURE__ */ (0,
|
|
9458
|
-
/* @__PURE__ */ (0,
|
|
9459
|
-
/* @__PURE__ */ (0,
|
|
9460
|
-
/* @__PURE__ */ (0,
|
|
9461
|
-
/* @__PURE__ */ (0,
|
|
9462
|
-
/* @__PURE__ */ (0,
|
|
9463
|
-
/* @__PURE__ */ (0,
|
|
9357
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
9358
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarTableHead, { showWeek }),
|
|
9359
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9360
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9361
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
9362
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
9363
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "1" }),
|
|
9364
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2" }),
|
|
9365
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "3" }),
|
|
9366
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "4" }),
|
|
9367
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "5" }),
|
|
9368
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
9464
9369
|
] }),
|
|
9465
|
-
/* @__PURE__ */ (0,
|
|
9466
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9467
|
-
/* @__PURE__ */ (0,
|
|
9468
|
-
/* @__PURE__ */ (0,
|
|
9469
|
-
/* @__PURE__ */ (0,
|
|
9470
|
-
/* @__PURE__ */ (0,
|
|
9471
|
-
/* @__PURE__ */ (0,
|
|
9472
|
-
/* @__PURE__ */ (0,
|
|
9473
|
-
/* @__PURE__ */ (0,
|
|
9370
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9371
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
9372
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
9373
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
9374
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
9375
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
9376
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
9377
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
9378
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
9474
9379
|
] }),
|
|
9475
|
-
/* @__PURE__ */ (0,
|
|
9476
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9477
|
-
/* @__PURE__ */ (0,
|
|
9478
|
-
/* @__PURE__ */ (0,
|
|
9479
|
-
/* @__PURE__ */ (0,
|
|
9480
|
-
/* @__PURE__ */ (0,
|
|
9481
|
-
/* @__PURE__ */ (0,
|
|
9482
|
-
/* @__PURE__ */ (0,
|
|
9483
|
-
/* @__PURE__ */ (0,
|
|
9380
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9381
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
9382
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
9383
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "15" }),
|
|
9384
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "16", today: true }),
|
|
9385
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "17" }),
|
|
9386
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "18" }),
|
|
9387
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "19" }),
|
|
9388
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
9484
9389
|
] }),
|
|
9485
|
-
/* @__PURE__ */ (0,
|
|
9486
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9487
|
-
/* @__PURE__ */ (0,
|
|
9488
|
-
/* @__PURE__ */ (0,
|
|
9489
|
-
/* @__PURE__ */ (0,
|
|
9490
|
-
/* @__PURE__ */ (0,
|
|
9491
|
-
/* @__PURE__ */ (0,
|
|
9492
|
-
/* @__PURE__ */ (0,
|
|
9493
|
-
/* @__PURE__ */ (0,
|
|
9390
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9391
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
9392
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
9393
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "22" }),
|
|
9394
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "23" }),
|
|
9395
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "24" }),
|
|
9396
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
9397
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
9398
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
9494
9399
|
] }),
|
|
9495
|
-
/* @__PURE__ */ (0,
|
|
9496
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9497
|
-
/* @__PURE__ */ (0,
|
|
9498
|
-
/* @__PURE__ */ (0,
|
|
9499
|
-
/* @__PURE__ */ (0,
|
|
9500
|
-
/* @__PURE__ */ (0,
|
|
9501
|
-
/* @__PURE__ */ (0,
|
|
9502
|
-
/* @__PURE__ */ (0,
|
|
9503
|
-
/* @__PURE__ */ (0,
|
|
9400
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9401
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
9402
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
9403
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
9404
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "30" }),
|
|
9405
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "31" }),
|
|
9406
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
9407
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
9408
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
9504
9409
|
] }),
|
|
9505
|
-
/* @__PURE__ */ (0,
|
|
9506
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9507
|
-
/* @__PURE__ */ (0,
|
|
9508
|
-
/* @__PURE__ */ (0,
|
|
9509
|
-
/* @__PURE__ */ (0,
|
|
9510
|
-
/* @__PURE__ */ (0,
|
|
9511
|
-
/* @__PURE__ */ (0,
|
|
9512
|
-
/* @__PURE__ */ (0,
|
|
9513
|
-
/* @__PURE__ */ (0,
|
|
9410
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9411
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
9412
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
9413
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
9414
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
9415
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
9416
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
9417
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
9418
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
9514
9419
|
] })
|
|
9515
9420
|
] })
|
|
9516
9421
|
]
|
|
@@ -9519,52 +9424,52 @@ var CalendarTable = (props) => {
|
|
|
9519
9424
|
};
|
|
9520
9425
|
|
|
9521
9426
|
// src/calendar/calendar-table-head.tsx
|
|
9522
|
-
var
|
|
9427
|
+
var import_jsx_runtime190 = require("react/jsx-runtime");
|
|
9523
9428
|
var className16 = `k-calendar-thead`;
|
|
9524
9429
|
var CalendarTableHead = (props) => {
|
|
9525
9430
|
const {
|
|
9526
9431
|
showWeek,
|
|
9527
9432
|
...other
|
|
9528
9433
|
} = props;
|
|
9529
|
-
return /* @__PURE__ */ (0,
|
|
9434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9530
9435
|
"thead",
|
|
9531
9436
|
{
|
|
9532
9437
|
...other,
|
|
9533
9438
|
className: classNames(props.className, className16),
|
|
9534
|
-
children: /* @__PURE__ */ (0,
|
|
9535
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9536
|
-
/* @__PURE__ */ (0,
|
|
9537
|
-
/* @__PURE__ */ (0,
|
|
9538
|
-
/* @__PURE__ */ (0,
|
|
9539
|
-
/* @__PURE__ */ (0,
|
|
9540
|
-
/* @__PURE__ */ (0,
|
|
9541
|
-
/* @__PURE__ */ (0,
|
|
9542
|
-
/* @__PURE__ */ (0,
|
|
9439
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9440
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
9441
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
9442
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
9443
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
9444
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
9445
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
9446
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
9447
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
9543
9448
|
] })
|
|
9544
9449
|
}
|
|
9545
9450
|
);
|
|
9546
9451
|
};
|
|
9547
9452
|
|
|
9548
9453
|
// src/calendar/calendar-view.tsx
|
|
9549
|
-
var
|
|
9454
|
+
var import_jsx_runtime191 = require("react/jsx-runtime");
|
|
9550
9455
|
var className17 = `k-calendar-view`;
|
|
9551
|
-
var
|
|
9456
|
+
var defaultProps64 = {
|
|
9552
9457
|
viewsCount: 1,
|
|
9553
9458
|
orientation: "horizontal",
|
|
9554
9459
|
calendarView: "month"
|
|
9555
9460
|
};
|
|
9556
9461
|
var CalendarView = (props) => {
|
|
9557
9462
|
const {
|
|
9558
|
-
orientation =
|
|
9559
|
-
calendarView =
|
|
9560
|
-
viewsCount =
|
|
9463
|
+
orientation = defaultProps64.orientation,
|
|
9464
|
+
calendarView = defaultProps64.calendarView,
|
|
9465
|
+
viewsCount = defaultProps64.viewsCount,
|
|
9561
9466
|
showWeek,
|
|
9562
9467
|
showOtherMonth,
|
|
9563
9468
|
showCalendarCaption,
|
|
9564
9469
|
selectedRange,
|
|
9565
9470
|
...other
|
|
9566
9471
|
} = props;
|
|
9567
|
-
return /* @__PURE__ */ (0,
|
|
9472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
|
|
9568
9473
|
"div",
|
|
9569
9474
|
{
|
|
9570
9475
|
...other,
|
|
@@ -9580,7 +9485,7 @@ var CalendarView = (props) => {
|
|
|
9580
9485
|
}
|
|
9581
9486
|
),
|
|
9582
9487
|
children: [...Array(viewsCount)].map(
|
|
9583
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
9488
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
|
|
9584
9489
|
CalendarTable,
|
|
9585
9490
|
{
|
|
9586
9491
|
calendarView,
|
|
@@ -9596,6 +9501,101 @@ var CalendarView = (props) => {
|
|
|
9596
9501
|
);
|
|
9597
9502
|
};
|
|
9598
9503
|
|
|
9504
|
+
// src/dateinput/dateinput.spec.tsx
|
|
9505
|
+
var import_jsx_runtime192 = require("react/jsx-runtime");
|
|
9506
|
+
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
9507
|
+
var states68 = [
|
|
9508
|
+
States.hover,
|
|
9509
|
+
States.focus,
|
|
9510
|
+
States.valid,
|
|
9511
|
+
States.invalid,
|
|
9512
|
+
States.required,
|
|
9513
|
+
States.disabled,
|
|
9514
|
+
States.loading,
|
|
9515
|
+
States.readonly
|
|
9516
|
+
];
|
|
9517
|
+
var options65 = {
|
|
9518
|
+
size: [Size.small, Size.medium, Size.large],
|
|
9519
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
9520
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
9521
|
+
};
|
|
9522
|
+
var defaultProps65 = {
|
|
9523
|
+
size: Input.defaultProps.size,
|
|
9524
|
+
rounded: Input.defaultProps.rounded,
|
|
9525
|
+
fillMode: Input.defaultProps.fillMode
|
|
9526
|
+
};
|
|
9527
|
+
var DateInput = (props) => {
|
|
9528
|
+
const {
|
|
9529
|
+
value,
|
|
9530
|
+
placeholder,
|
|
9531
|
+
size,
|
|
9532
|
+
rounded,
|
|
9533
|
+
fillMode,
|
|
9534
|
+
hover,
|
|
9535
|
+
focus,
|
|
9536
|
+
valid,
|
|
9537
|
+
invalid,
|
|
9538
|
+
required,
|
|
9539
|
+
loading,
|
|
9540
|
+
disabled,
|
|
9541
|
+
readonly,
|
|
9542
|
+
showSpinButton,
|
|
9543
|
+
...other
|
|
9544
|
+
} = props;
|
|
9545
|
+
return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)(
|
|
9546
|
+
Input,
|
|
9547
|
+
{
|
|
9548
|
+
...other,
|
|
9549
|
+
size,
|
|
9550
|
+
rounded,
|
|
9551
|
+
fillMode,
|
|
9552
|
+
hover,
|
|
9553
|
+
focus,
|
|
9554
|
+
valid,
|
|
9555
|
+
invalid,
|
|
9556
|
+
required,
|
|
9557
|
+
loading,
|
|
9558
|
+
disabled,
|
|
9559
|
+
readonly,
|
|
9560
|
+
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
9561
|
+
children: [
|
|
9562
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(InputInnerInput, { placeholder, value }),
|
|
9563
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9564
|
+
InputValidationIcon,
|
|
9565
|
+
{
|
|
9566
|
+
valid,
|
|
9567
|
+
invalid,
|
|
9568
|
+
loading,
|
|
9569
|
+
disabled
|
|
9570
|
+
}
|
|
9571
|
+
),
|
|
9572
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9573
|
+
InputLoadingIcon,
|
|
9574
|
+
{
|
|
9575
|
+
loading,
|
|
9576
|
+
disabled
|
|
9577
|
+
}
|
|
9578
|
+
),
|
|
9579
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9580
|
+
SpinButton,
|
|
9581
|
+
{
|
|
9582
|
+
className: "k-input-spinner",
|
|
9583
|
+
size,
|
|
9584
|
+
fillMode
|
|
9585
|
+
}
|
|
9586
|
+
)
|
|
9587
|
+
]
|
|
9588
|
+
}
|
|
9589
|
+
);
|
|
9590
|
+
};
|
|
9591
|
+
DateInput.states = states68;
|
|
9592
|
+
DateInput.options = options65;
|
|
9593
|
+
DateInput.className = DATEINPUT_CLASSNAME;
|
|
9594
|
+
DateInput.defaultProps = defaultProps65;
|
|
9595
|
+
|
|
9596
|
+
// src/dateinput/templates/dateinput-normal.tsx
|
|
9597
|
+
var import_jsx_runtime193 = require("react/jsx-runtime");
|
|
9598
|
+
|
|
9599
9599
|
// src/datepicker/datepicker.spec.tsx
|
|
9600
9600
|
var import_jsx_runtime194 = require("react/jsx-runtime");
|
|
9601
9601
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|