@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
|
@@ -9141,109 +9141,14 @@ var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
|
9141
9141
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
9142
9142
|
var import_jsx_runtime184 = require("react/jsx-runtime");
|
|
9143
9143
|
|
|
9144
|
-
// src/dateinput/dateinput.spec.tsx
|
|
9145
|
-
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
9146
|
-
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
9147
|
-
var states66 = [
|
|
9148
|
-
States.hover,
|
|
9149
|
-
States.focus,
|
|
9150
|
-
States.valid,
|
|
9151
|
-
States.invalid,
|
|
9152
|
-
States.required,
|
|
9153
|
-
States.disabled,
|
|
9154
|
-
States.loading,
|
|
9155
|
-
States.readonly
|
|
9156
|
-
];
|
|
9157
|
-
var options63 = {
|
|
9158
|
-
size: [Size.small, Size.medium, Size.large],
|
|
9159
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
9160
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
9161
|
-
};
|
|
9162
|
-
var defaultProps62 = {
|
|
9163
|
-
size: Input.defaultProps.size,
|
|
9164
|
-
rounded: Input.defaultProps.rounded,
|
|
9165
|
-
fillMode: Input.defaultProps.fillMode
|
|
9166
|
-
};
|
|
9167
|
-
var DateInput = (props) => {
|
|
9168
|
-
const {
|
|
9169
|
-
value,
|
|
9170
|
-
placeholder,
|
|
9171
|
-
size,
|
|
9172
|
-
rounded,
|
|
9173
|
-
fillMode,
|
|
9174
|
-
hover,
|
|
9175
|
-
focus,
|
|
9176
|
-
valid,
|
|
9177
|
-
invalid,
|
|
9178
|
-
required,
|
|
9179
|
-
loading,
|
|
9180
|
-
disabled,
|
|
9181
|
-
readonly,
|
|
9182
|
-
showSpinButton,
|
|
9183
|
-
...other
|
|
9184
|
-
} = props;
|
|
9185
|
-
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
|
|
9186
|
-
Input,
|
|
9187
|
-
{
|
|
9188
|
-
...other,
|
|
9189
|
-
size,
|
|
9190
|
-
rounded,
|
|
9191
|
-
fillMode,
|
|
9192
|
-
hover,
|
|
9193
|
-
focus,
|
|
9194
|
-
valid,
|
|
9195
|
-
invalid,
|
|
9196
|
-
required,
|
|
9197
|
-
loading,
|
|
9198
|
-
disabled,
|
|
9199
|
-
readonly,
|
|
9200
|
-
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
9201
|
-
children: [
|
|
9202
|
-
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(InputInnerInput, { placeholder, value }),
|
|
9203
|
-
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9204
|
-
InputValidationIcon,
|
|
9205
|
-
{
|
|
9206
|
-
valid,
|
|
9207
|
-
invalid,
|
|
9208
|
-
loading,
|
|
9209
|
-
disabled
|
|
9210
|
-
}
|
|
9211
|
-
),
|
|
9212
|
-
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9213
|
-
InputLoadingIcon,
|
|
9214
|
-
{
|
|
9215
|
-
loading,
|
|
9216
|
-
disabled
|
|
9217
|
-
}
|
|
9218
|
-
),
|
|
9219
|
-
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9220
|
-
SpinButton,
|
|
9221
|
-
{
|
|
9222
|
-
className: "k-input-spinner",
|
|
9223
|
-
size,
|
|
9224
|
-
fillMode
|
|
9225
|
-
}
|
|
9226
|
-
)
|
|
9227
|
-
]
|
|
9228
|
-
}
|
|
9229
|
-
);
|
|
9230
|
-
};
|
|
9231
|
-
DateInput.states = states66;
|
|
9232
|
-
DateInput.options = options63;
|
|
9233
|
-
DateInput.className = DATEINPUT_CLASSNAME;
|
|
9234
|
-
DateInput.defaultProps = defaultProps62;
|
|
9235
|
-
|
|
9236
|
-
// src/dateinput/templates/dateinput-normal.tsx
|
|
9237
|
-
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
9238
|
-
|
|
9239
9144
|
// src/calendar/calendar.spec.tsx
|
|
9240
|
-
var
|
|
9145
|
+
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
9241
9146
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
9242
|
-
var
|
|
9243
|
-
var
|
|
9147
|
+
var states66 = [];
|
|
9148
|
+
var options63 = {
|
|
9244
9149
|
size: [Size.small, Size.medium, Size.large]
|
|
9245
9150
|
};
|
|
9246
|
-
var
|
|
9151
|
+
var defaultProps62 = {
|
|
9247
9152
|
size: Size.medium,
|
|
9248
9153
|
viewsCount: 1,
|
|
9249
9154
|
orientation: "horizontal",
|
|
@@ -9252,11 +9157,11 @@ var defaultProps63 = {
|
|
|
9252
9157
|
};
|
|
9253
9158
|
var Calendar = (props) => {
|
|
9254
9159
|
const {
|
|
9255
|
-
size =
|
|
9256
|
-
orientation =
|
|
9257
|
-
calendarView =
|
|
9258
|
-
calendarHeaderText =
|
|
9259
|
-
viewsCount =
|
|
9160
|
+
size = defaultProps62.size,
|
|
9161
|
+
orientation = defaultProps62.orientation,
|
|
9162
|
+
calendarView = defaultProps62.calendarView,
|
|
9163
|
+
calendarHeaderText = defaultProps62.calendarHeaderText,
|
|
9164
|
+
viewsCount = defaultProps62.viewsCount,
|
|
9260
9165
|
showWeek,
|
|
9261
9166
|
showOtherMonth,
|
|
9262
9167
|
showCalendarCaption,
|
|
@@ -9265,7 +9170,7 @@ var Calendar = (props) => {
|
|
|
9265
9170
|
dir,
|
|
9266
9171
|
...other
|
|
9267
9172
|
} = props;
|
|
9268
|
-
return /* @__PURE__ */ (0,
|
|
9173
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
|
|
9269
9174
|
"div",
|
|
9270
9175
|
{
|
|
9271
9176
|
...other,
|
|
@@ -9281,7 +9186,7 @@ var Calendar = (props) => {
|
|
|
9281
9186
|
}
|
|
9282
9187
|
),
|
|
9283
9188
|
children: [
|
|
9284
|
-
/* @__PURE__ */ (0,
|
|
9189
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9285
9190
|
CalendarHeader,
|
|
9286
9191
|
{
|
|
9287
9192
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -9291,7 +9196,7 @@ var Calendar = (props) => {
|
|
|
9291
9196
|
dir
|
|
9292
9197
|
}
|
|
9293
9198
|
),
|
|
9294
|
-
/* @__PURE__ */ (0,
|
|
9199
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
9295
9200
|
CalendarView,
|
|
9296
9201
|
{
|
|
9297
9202
|
calendarView,
|
|
@@ -9303,19 +9208,19 @@ var Calendar = (props) => {
|
|
|
9303
9208
|
selectedRange
|
|
9304
9209
|
}
|
|
9305
9210
|
),
|
|
9306
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
9211
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(CalendarFooter, {})
|
|
9307
9212
|
]
|
|
9308
9213
|
}
|
|
9309
9214
|
);
|
|
9310
9215
|
};
|
|
9311
|
-
Calendar.states =
|
|
9312
|
-
Calendar.options =
|
|
9216
|
+
Calendar.states = states66;
|
|
9217
|
+
Calendar.options = options63;
|
|
9313
9218
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
9314
|
-
Calendar.defaultProps =
|
|
9219
|
+
Calendar.defaultProps = defaultProps62;
|
|
9315
9220
|
|
|
9316
9221
|
// src/calendar/calendar-cell.tsx
|
|
9317
|
-
var
|
|
9318
|
-
var
|
|
9222
|
+
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
9223
|
+
var states67 = [
|
|
9319
9224
|
States.hover,
|
|
9320
9225
|
States.focus,
|
|
9321
9226
|
States.active,
|
|
@@ -9364,21 +9269,21 @@ var CalendarCell = (props) => {
|
|
|
9364
9269
|
}
|
|
9365
9270
|
];
|
|
9366
9271
|
if (headerCell) {
|
|
9367
|
-
return /* @__PURE__ */ (0,
|
|
9272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
9368
9273
|
}
|
|
9369
9274
|
if (weekCell) {
|
|
9370
|
-
return /* @__PURE__ */ (0,
|
|
9275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
9371
9276
|
}
|
|
9372
|
-
return /* @__PURE__ */ (0,
|
|
9277
|
+
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 }) });
|
|
9373
9278
|
};
|
|
9374
9279
|
|
|
9375
9280
|
// src/calendar/calendar-header.tsx
|
|
9376
|
-
var
|
|
9281
|
+
var import_jsx_runtime187 = require("react/jsx-runtime");
|
|
9377
9282
|
var className14 = `k-calendar-header`;
|
|
9378
|
-
var
|
|
9283
|
+
var options64 = {
|
|
9379
9284
|
size: [Size.small, Size.medium, Size.large]
|
|
9380
9285
|
};
|
|
9381
|
-
var
|
|
9286
|
+
var defaultProps63 = {
|
|
9382
9287
|
calendarHeaderText: "October 2021",
|
|
9383
9288
|
showToday: true,
|
|
9384
9289
|
orientation: "horizontal",
|
|
@@ -9386,16 +9291,16 @@ var defaultProps64 = {
|
|
|
9386
9291
|
};
|
|
9387
9292
|
var CalendarHeader = (props) => {
|
|
9388
9293
|
const {
|
|
9389
|
-
calendarHeaderText =
|
|
9390
|
-
showToday =
|
|
9391
|
-
orientation =
|
|
9392
|
-
size =
|
|
9294
|
+
calendarHeaderText = defaultProps63.calendarHeaderText,
|
|
9295
|
+
showToday = defaultProps63.showToday,
|
|
9296
|
+
orientation = defaultProps63.orientation,
|
|
9297
|
+
size = defaultProps63.size,
|
|
9393
9298
|
dir,
|
|
9394
9299
|
...other
|
|
9395
9300
|
} = props;
|
|
9396
9301
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
9397
9302
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
9398
|
-
return /* @__PURE__ */ (0,
|
|
9303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(
|
|
9399
9304
|
"div",
|
|
9400
9305
|
{
|
|
9401
9306
|
...other,
|
|
@@ -9407,12 +9312,12 @@ var CalendarHeader = (props) => {
|
|
|
9407
9312
|
}
|
|
9408
9313
|
),
|
|
9409
9314
|
children: [
|
|
9410
|
-
/* @__PURE__ */ (0,
|
|
9411
|
-
/* @__PURE__ */ (0,
|
|
9412
|
-
/* @__PURE__ */ (0,
|
|
9413
|
-
/* @__PURE__ */ (0,
|
|
9414
|
-
showToday && /* @__PURE__ */ (0,
|
|
9415
|
-
/* @__PURE__ */ (0,
|
|
9315
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
9316
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)("span", { className: "k-spacer" }),
|
|
9317
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
9318
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
9319
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
9320
|
+
/* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
9416
9321
|
] })
|
|
9417
9322
|
]
|
|
9418
9323
|
}
|
|
@@ -9420,12 +9325,12 @@ var CalendarHeader = (props) => {
|
|
|
9420
9325
|
};
|
|
9421
9326
|
|
|
9422
9327
|
// src/calendar/calendar-footer.tsx
|
|
9423
|
-
var
|
|
9328
|
+
var import_jsx_runtime188 = require("react/jsx-runtime");
|
|
9424
9329
|
var className15 = `k-calendar-footer`;
|
|
9425
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
9330
|
+
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" }) });
|
|
9426
9331
|
|
|
9427
9332
|
// src/calendar/calendar-table.tsx
|
|
9428
|
-
var
|
|
9333
|
+
var import_jsx_runtime189 = require("react/jsx-runtime");
|
|
9429
9334
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
9430
9335
|
var CalendarTable = (props) => {
|
|
9431
9336
|
const {
|
|
@@ -9437,7 +9342,7 @@ var CalendarTable = (props) => {
|
|
|
9437
9342
|
...other
|
|
9438
9343
|
} = props;
|
|
9439
9344
|
if (calendarView === "year") {
|
|
9440
|
-
return /* @__PURE__ */ (0,
|
|
9345
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9441
9346
|
"table",
|
|
9442
9347
|
{
|
|
9443
9348
|
...other,
|
|
@@ -9446,25 +9351,25 @@ var CalendarTable = (props) => {
|
|
|
9446
9351
|
CALENDARTABLE_CLASSNAME
|
|
9447
9352
|
),
|
|
9448
9353
|
children: [
|
|
9449
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9450
|
-
/* @__PURE__ */ (0,
|
|
9451
|
-
/* @__PURE__ */ (0,
|
|
9452
|
-
/* @__PURE__ */ (0,
|
|
9453
|
-
/* @__PURE__ */ (0,
|
|
9454
|
-
/* @__PURE__ */ (0,
|
|
9455
|
-
/* @__PURE__ */ (0,
|
|
9354
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
9355
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9356
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9357
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Jan" }),
|
|
9358
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Feb" }),
|
|
9359
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Mar" }),
|
|
9360
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Apr" })
|
|
9456
9361
|
] }),
|
|
9457
|
-
/* @__PURE__ */ (0,
|
|
9458
|
-
/* @__PURE__ */ (0,
|
|
9459
|
-
/* @__PURE__ */ (0,
|
|
9460
|
-
/* @__PURE__ */ (0,
|
|
9461
|
-
/* @__PURE__ */ (0,
|
|
9362
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9363
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "May" }),
|
|
9364
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
9365
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
9366
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
9462
9367
|
] }),
|
|
9463
|
-
/* @__PURE__ */ (0,
|
|
9464
|
-
/* @__PURE__ */ (0,
|
|
9465
|
-
/* @__PURE__ */ (0,
|
|
9466
|
-
/* @__PURE__ */ (0,
|
|
9467
|
-
/* @__PURE__ */ (0,
|
|
9368
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9369
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Sep" }),
|
|
9370
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
9371
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Nov" }),
|
|
9372
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "Dec" })
|
|
9468
9373
|
] })
|
|
9469
9374
|
] })
|
|
9470
9375
|
]
|
|
@@ -9472,7 +9377,7 @@ var CalendarTable = (props) => {
|
|
|
9472
9377
|
);
|
|
9473
9378
|
}
|
|
9474
9379
|
if (calendarView === "decade") {
|
|
9475
|
-
return /* @__PURE__ */ (0,
|
|
9380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9476
9381
|
"table",
|
|
9477
9382
|
{
|
|
9478
9383
|
...other,
|
|
@@ -9481,25 +9386,25 @@ var CalendarTable = (props) => {
|
|
|
9481
9386
|
CALENDARTABLE_CLASSNAME
|
|
9482
9387
|
),
|
|
9483
9388
|
children: [
|
|
9484
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9485
|
-
/* @__PURE__ */ (0,
|
|
9486
|
-
/* @__PURE__ */ (0,
|
|
9487
|
-
/* @__PURE__ */ (0,
|
|
9488
|
-
/* @__PURE__ */ (0,
|
|
9489
|
-
/* @__PURE__ */ (0,
|
|
9490
|
-
/* @__PURE__ */ (0,
|
|
9389
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
9390
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9391
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9392
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
9393
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2020" }),
|
|
9394
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
9395
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2022" })
|
|
9491
9396
|
] }),
|
|
9492
|
-
/* @__PURE__ */ (0,
|
|
9493
|
-
/* @__PURE__ */ (0,
|
|
9494
|
-
/* @__PURE__ */ (0,
|
|
9495
|
-
/* @__PURE__ */ (0,
|
|
9496
|
-
/* @__PURE__ */ (0,
|
|
9397
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9398
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2023" }),
|
|
9399
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
9400
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
9401
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
9497
9402
|
] }),
|
|
9498
|
-
/* @__PURE__ */ (0,
|
|
9499
|
-
/* @__PURE__ */ (0,
|
|
9500
|
-
/* @__PURE__ */ (0,
|
|
9501
|
-
/* @__PURE__ */ (0,
|
|
9502
|
-
/* @__PURE__ */ (0,
|
|
9403
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9404
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2027" }),
|
|
9405
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2028" }),
|
|
9406
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2029" }),
|
|
9407
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
9503
9408
|
] })
|
|
9504
9409
|
] })
|
|
9505
9410
|
]
|
|
@@ -9507,7 +9412,7 @@ var CalendarTable = (props) => {
|
|
|
9507
9412
|
);
|
|
9508
9413
|
}
|
|
9509
9414
|
if (calendarView === "century") {
|
|
9510
|
-
return /* @__PURE__ */ (0,
|
|
9415
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9511
9416
|
"table",
|
|
9512
9417
|
{
|
|
9513
9418
|
...other,
|
|
@@ -9516,32 +9421,32 @@ var CalendarTable = (props) => {
|
|
|
9516
9421
|
CALENDARTABLE_CLASSNAME
|
|
9517
9422
|
),
|
|
9518
9423
|
children: [
|
|
9519
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9520
|
-
/* @__PURE__ */ (0,
|
|
9521
|
-
/* @__PURE__ */ (0,
|
|
9522
|
-
/* @__PURE__ */ (0,
|
|
9523
|
-
/* @__PURE__ */ (0,
|
|
9524
|
-
/* @__PURE__ */ (0,
|
|
9525
|
-
/* @__PURE__ */ (0,
|
|
9424
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
9425
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9426
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9427
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
9428
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
9429
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
9430
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
9526
9431
|
] }),
|
|
9527
|
-
/* @__PURE__ */ (0,
|
|
9528
|
-
/* @__PURE__ */ (0,
|
|
9529
|
-
/* @__PURE__ */ (0,
|
|
9530
|
-
/* @__PURE__ */ (0,
|
|
9531
|
-
/* @__PURE__ */ (0,
|
|
9432
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9433
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
9434
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
9435
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
9436
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
9532
9437
|
] }),
|
|
9533
|
-
/* @__PURE__ */ (0,
|
|
9534
|
-
/* @__PURE__ */ (0,
|
|
9535
|
-
/* @__PURE__ */ (0,
|
|
9536
|
-
/* @__PURE__ */ (0,
|
|
9537
|
-
/* @__PURE__ */ (0,
|
|
9438
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9439
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
9440
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
9441
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
9442
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
9538
9443
|
] })
|
|
9539
9444
|
] })
|
|
9540
9445
|
]
|
|
9541
9446
|
}
|
|
9542
9447
|
);
|
|
9543
9448
|
}
|
|
9544
|
-
return /* @__PURE__ */ (0,
|
|
9449
|
+
return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
|
|
9545
9450
|
"table",
|
|
9546
9451
|
{
|
|
9547
9452
|
...other,
|
|
@@ -9550,68 +9455,68 @@ var CalendarTable = (props) => {
|
|
|
9550
9455
|
CALENDARTABLE_CLASSNAME
|
|
9551
9456
|
),
|
|
9552
9457
|
children: [
|
|
9553
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
9554
|
-
/* @__PURE__ */ (0,
|
|
9555
|
-
/* @__PURE__ */ (0,
|
|
9556
|
-
/* @__PURE__ */ (0,
|
|
9557
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9558
|
-
/* @__PURE__ */ (0,
|
|
9559
|
-
/* @__PURE__ */ (0,
|
|
9560
|
-
/* @__PURE__ */ (0,
|
|
9561
|
-
/* @__PURE__ */ (0,
|
|
9562
|
-
/* @__PURE__ */ (0,
|
|
9563
|
-
/* @__PURE__ */ (0,
|
|
9564
|
-
/* @__PURE__ */ (0,
|
|
9458
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
9459
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarTableHead, { showWeek }),
|
|
9460
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
9461
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9462
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
9463
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
9464
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "1" }),
|
|
9465
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2" }),
|
|
9466
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "3" }),
|
|
9467
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "4" }),
|
|
9468
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "5" }),
|
|
9469
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
9565
9470
|
] }),
|
|
9566
|
-
/* @__PURE__ */ (0,
|
|
9567
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9568
|
-
/* @__PURE__ */ (0,
|
|
9569
|
-
/* @__PURE__ */ (0,
|
|
9570
|
-
/* @__PURE__ */ (0,
|
|
9571
|
-
/* @__PURE__ */ (0,
|
|
9572
|
-
/* @__PURE__ */ (0,
|
|
9573
|
-
/* @__PURE__ */ (0,
|
|
9574
|
-
/* @__PURE__ */ (0,
|
|
9471
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9472
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
9473
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
9474
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
9475
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
9476
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
9477
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
9478
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
9479
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
9575
9480
|
] }),
|
|
9576
|
-
/* @__PURE__ */ (0,
|
|
9577
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9578
|
-
/* @__PURE__ */ (0,
|
|
9579
|
-
/* @__PURE__ */ (0,
|
|
9580
|
-
/* @__PURE__ */ (0,
|
|
9581
|
-
/* @__PURE__ */ (0,
|
|
9582
|
-
/* @__PURE__ */ (0,
|
|
9583
|
-
/* @__PURE__ */ (0,
|
|
9584
|
-
/* @__PURE__ */ (0,
|
|
9481
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9482
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
9483
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
9484
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "15" }),
|
|
9485
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "16", today: true }),
|
|
9486
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "17" }),
|
|
9487
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "18" }),
|
|
9488
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "19" }),
|
|
9489
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
9585
9490
|
] }),
|
|
9586
|
-
/* @__PURE__ */ (0,
|
|
9587
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9588
|
-
/* @__PURE__ */ (0,
|
|
9589
|
-
/* @__PURE__ */ (0,
|
|
9590
|
-
/* @__PURE__ */ (0,
|
|
9591
|
-
/* @__PURE__ */ (0,
|
|
9592
|
-
/* @__PURE__ */ (0,
|
|
9593
|
-
/* @__PURE__ */ (0,
|
|
9594
|
-
/* @__PURE__ */ (0,
|
|
9491
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9492
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
9493
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
9494
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "22" }),
|
|
9495
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "23" }),
|
|
9496
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "24" }),
|
|
9497
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
9498
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
9499
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
9595
9500
|
] }),
|
|
9596
|
-
/* @__PURE__ */ (0,
|
|
9597
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9598
|
-
/* @__PURE__ */ (0,
|
|
9599
|
-
/* @__PURE__ */ (0,
|
|
9600
|
-
/* @__PURE__ */ (0,
|
|
9601
|
-
/* @__PURE__ */ (0,
|
|
9602
|
-
/* @__PURE__ */ (0,
|
|
9603
|
-
/* @__PURE__ */ (0,
|
|
9604
|
-
/* @__PURE__ */ (0,
|
|
9501
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9502
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
9503
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
9504
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
9505
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "30" }),
|
|
9506
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "31" }),
|
|
9507
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
9508
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
9509
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
9605
9510
|
] }),
|
|
9606
|
-
/* @__PURE__ */ (0,
|
|
9607
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9608
|
-
/* @__PURE__ */ (0,
|
|
9609
|
-
/* @__PURE__ */ (0,
|
|
9610
|
-
/* @__PURE__ */ (0,
|
|
9611
|
-
/* @__PURE__ */ (0,
|
|
9612
|
-
/* @__PURE__ */ (0,
|
|
9613
|
-
/* @__PURE__ */ (0,
|
|
9614
|
-
/* @__PURE__ */ (0,
|
|
9511
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9512
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
9513
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
9514
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
9515
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
9516
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
9517
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
9518
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
9519
|
+
/* @__PURE__ */ (0, import_jsx_runtime189.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
9615
9520
|
] })
|
|
9616
9521
|
] })
|
|
9617
9522
|
]
|
|
@@ -9620,52 +9525,52 @@ var CalendarTable = (props) => {
|
|
|
9620
9525
|
};
|
|
9621
9526
|
|
|
9622
9527
|
// src/calendar/calendar-table-head.tsx
|
|
9623
|
-
var
|
|
9528
|
+
var import_jsx_runtime190 = require("react/jsx-runtime");
|
|
9624
9529
|
var className16 = `k-calendar-thead`;
|
|
9625
9530
|
var CalendarTableHead = (props) => {
|
|
9626
9531
|
const {
|
|
9627
9532
|
showWeek,
|
|
9628
9533
|
...other
|
|
9629
9534
|
} = props;
|
|
9630
|
-
return /* @__PURE__ */ (0,
|
|
9535
|
+
return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
|
|
9631
9536
|
"thead",
|
|
9632
9537
|
{
|
|
9633
9538
|
...other,
|
|
9634
9539
|
className: classNames(props.className, className16),
|
|
9635
|
-
children: /* @__PURE__ */ (0,
|
|
9636
|
-
showWeek && /* @__PURE__ */ (0,
|
|
9637
|
-
/* @__PURE__ */ (0,
|
|
9638
|
-
/* @__PURE__ */ (0,
|
|
9639
|
-
/* @__PURE__ */ (0,
|
|
9640
|
-
/* @__PURE__ */ (0,
|
|
9641
|
-
/* @__PURE__ */ (0,
|
|
9642
|
-
/* @__PURE__ */ (0,
|
|
9643
|
-
/* @__PURE__ */ (0,
|
|
9540
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
9541
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
9542
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
9543
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
9544
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
9545
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
9546
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
9547
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
9548
|
+
/* @__PURE__ */ (0, import_jsx_runtime190.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
9644
9549
|
] })
|
|
9645
9550
|
}
|
|
9646
9551
|
);
|
|
9647
9552
|
};
|
|
9648
9553
|
|
|
9649
9554
|
// src/calendar/calendar-view.tsx
|
|
9650
|
-
var
|
|
9555
|
+
var import_jsx_runtime191 = require("react/jsx-runtime");
|
|
9651
9556
|
var className17 = `k-calendar-view`;
|
|
9652
|
-
var
|
|
9557
|
+
var defaultProps64 = {
|
|
9653
9558
|
viewsCount: 1,
|
|
9654
9559
|
orientation: "horizontal",
|
|
9655
9560
|
calendarView: "month"
|
|
9656
9561
|
};
|
|
9657
9562
|
var CalendarView = (props) => {
|
|
9658
9563
|
const {
|
|
9659
|
-
orientation =
|
|
9660
|
-
calendarView =
|
|
9661
|
-
viewsCount =
|
|
9564
|
+
orientation = defaultProps64.orientation,
|
|
9565
|
+
calendarView = defaultProps64.calendarView,
|
|
9566
|
+
viewsCount = defaultProps64.viewsCount,
|
|
9662
9567
|
showWeek,
|
|
9663
9568
|
showOtherMonth,
|
|
9664
9569
|
showCalendarCaption,
|
|
9665
9570
|
selectedRange,
|
|
9666
9571
|
...other
|
|
9667
9572
|
} = props;
|
|
9668
|
-
return /* @__PURE__ */ (0,
|
|
9573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
|
|
9669
9574
|
"div",
|
|
9670
9575
|
{
|
|
9671
9576
|
...other,
|
|
@@ -9681,7 +9586,7 @@ var CalendarView = (props) => {
|
|
|
9681
9586
|
}
|
|
9682
9587
|
),
|
|
9683
9588
|
children: [...Array(viewsCount)].map(
|
|
9684
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
9589
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
|
|
9685
9590
|
CalendarTable,
|
|
9686
9591
|
{
|
|
9687
9592
|
calendarView,
|
|
@@ -9697,6 +9602,101 @@ var CalendarView = (props) => {
|
|
|
9697
9602
|
);
|
|
9698
9603
|
};
|
|
9699
9604
|
|
|
9605
|
+
// src/dateinput/dateinput.spec.tsx
|
|
9606
|
+
var import_jsx_runtime192 = require("react/jsx-runtime");
|
|
9607
|
+
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
9608
|
+
var states68 = [
|
|
9609
|
+
States.hover,
|
|
9610
|
+
States.focus,
|
|
9611
|
+
States.valid,
|
|
9612
|
+
States.invalid,
|
|
9613
|
+
States.required,
|
|
9614
|
+
States.disabled,
|
|
9615
|
+
States.loading,
|
|
9616
|
+
States.readonly
|
|
9617
|
+
];
|
|
9618
|
+
var options65 = {
|
|
9619
|
+
size: [Size.small, Size.medium, Size.large],
|
|
9620
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
9621
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
9622
|
+
};
|
|
9623
|
+
var defaultProps65 = {
|
|
9624
|
+
size: Input.defaultProps.size,
|
|
9625
|
+
rounded: Input.defaultProps.rounded,
|
|
9626
|
+
fillMode: Input.defaultProps.fillMode
|
|
9627
|
+
};
|
|
9628
|
+
var DateInput = (props) => {
|
|
9629
|
+
const {
|
|
9630
|
+
value,
|
|
9631
|
+
placeholder,
|
|
9632
|
+
size,
|
|
9633
|
+
rounded,
|
|
9634
|
+
fillMode,
|
|
9635
|
+
hover,
|
|
9636
|
+
focus,
|
|
9637
|
+
valid,
|
|
9638
|
+
invalid,
|
|
9639
|
+
required,
|
|
9640
|
+
loading,
|
|
9641
|
+
disabled,
|
|
9642
|
+
readonly,
|
|
9643
|
+
showSpinButton,
|
|
9644
|
+
...other
|
|
9645
|
+
} = props;
|
|
9646
|
+
return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)(
|
|
9647
|
+
Input,
|
|
9648
|
+
{
|
|
9649
|
+
...other,
|
|
9650
|
+
size,
|
|
9651
|
+
rounded,
|
|
9652
|
+
fillMode,
|
|
9653
|
+
hover,
|
|
9654
|
+
focus,
|
|
9655
|
+
valid,
|
|
9656
|
+
invalid,
|
|
9657
|
+
required,
|
|
9658
|
+
loading,
|
|
9659
|
+
disabled,
|
|
9660
|
+
readonly,
|
|
9661
|
+
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
9662
|
+
children: [
|
|
9663
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(InputInnerInput, { placeholder, value }),
|
|
9664
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9665
|
+
InputValidationIcon,
|
|
9666
|
+
{
|
|
9667
|
+
valid,
|
|
9668
|
+
invalid,
|
|
9669
|
+
loading,
|
|
9670
|
+
disabled
|
|
9671
|
+
}
|
|
9672
|
+
),
|
|
9673
|
+
/* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9674
|
+
InputLoadingIcon,
|
|
9675
|
+
{
|
|
9676
|
+
loading,
|
|
9677
|
+
disabled
|
|
9678
|
+
}
|
|
9679
|
+
),
|
|
9680
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
9681
|
+
SpinButton,
|
|
9682
|
+
{
|
|
9683
|
+
className: "k-input-spinner",
|
|
9684
|
+
size,
|
|
9685
|
+
fillMode
|
|
9686
|
+
}
|
|
9687
|
+
)
|
|
9688
|
+
]
|
|
9689
|
+
}
|
|
9690
|
+
);
|
|
9691
|
+
};
|
|
9692
|
+
DateInput.states = states68;
|
|
9693
|
+
DateInput.options = options65;
|
|
9694
|
+
DateInput.className = DATEINPUT_CLASSNAME;
|
|
9695
|
+
DateInput.defaultProps = defaultProps65;
|
|
9696
|
+
|
|
9697
|
+
// src/dateinput/templates/dateinput-normal.tsx
|
|
9698
|
+
var import_jsx_runtime193 = require("react/jsx-runtime");
|
|
9699
|
+
|
|
9700
9700
|
// src/datepicker/datepicker.spec.tsx
|
|
9701
9701
|
var import_jsx_runtime194 = require("react/jsx-runtime");
|
|
9702
9702
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|