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