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