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