@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
|
@@ -11122,109 +11122,14 @@ Captcha.defaultProps = defaultProps86;
|
|
|
11122
11122
|
// src/captcha/templates/captcha-normal.tsx
|
|
11123
11123
|
var import_jsx_runtime256 = require("react/jsx-runtime");
|
|
11124
11124
|
|
|
11125
|
-
// src/dateinput/dateinput.spec.tsx
|
|
11126
|
-
var import_jsx_runtime257 = require("react/jsx-runtime");
|
|
11127
|
-
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
11128
|
-
var states93 = [
|
|
11129
|
-
States.hover,
|
|
11130
|
-
States.focus,
|
|
11131
|
-
States.valid,
|
|
11132
|
-
States.invalid,
|
|
11133
|
-
States.required,
|
|
11134
|
-
States.disabled,
|
|
11135
|
-
States.loading,
|
|
11136
|
-
States.readonly
|
|
11137
|
-
];
|
|
11138
|
-
var options88 = {
|
|
11139
|
-
size: [Size.small, Size.medium, Size.large],
|
|
11140
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
11141
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
11142
|
-
};
|
|
11143
|
-
var defaultProps87 = {
|
|
11144
|
-
size: Input.defaultProps.size,
|
|
11145
|
-
rounded: Input.defaultProps.rounded,
|
|
11146
|
-
fillMode: Input.defaultProps.fillMode
|
|
11147
|
-
};
|
|
11148
|
-
var DateInput = (props) => {
|
|
11149
|
-
const {
|
|
11150
|
-
value,
|
|
11151
|
-
placeholder,
|
|
11152
|
-
size,
|
|
11153
|
-
rounded,
|
|
11154
|
-
fillMode,
|
|
11155
|
-
hover,
|
|
11156
|
-
focus,
|
|
11157
|
-
valid,
|
|
11158
|
-
invalid,
|
|
11159
|
-
required,
|
|
11160
|
-
loading,
|
|
11161
|
-
disabled,
|
|
11162
|
-
readonly,
|
|
11163
|
-
showSpinButton,
|
|
11164
|
-
...other
|
|
11165
|
-
} = props;
|
|
11166
|
-
return /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
|
|
11167
|
-
Input,
|
|
11168
|
-
{
|
|
11169
|
-
...other,
|
|
11170
|
-
size,
|
|
11171
|
-
rounded,
|
|
11172
|
-
fillMode,
|
|
11173
|
-
hover,
|
|
11174
|
-
focus,
|
|
11175
|
-
valid,
|
|
11176
|
-
invalid,
|
|
11177
|
-
required,
|
|
11178
|
-
loading,
|
|
11179
|
-
disabled,
|
|
11180
|
-
readonly,
|
|
11181
|
-
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
11182
|
-
children: [
|
|
11183
|
-
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(InputInnerInput, { placeholder, value }),
|
|
11184
|
-
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
11185
|
-
InputValidationIcon,
|
|
11186
|
-
{
|
|
11187
|
-
valid,
|
|
11188
|
-
invalid,
|
|
11189
|
-
loading,
|
|
11190
|
-
disabled
|
|
11191
|
-
}
|
|
11192
|
-
),
|
|
11193
|
-
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
11194
|
-
InputLoadingIcon,
|
|
11195
|
-
{
|
|
11196
|
-
loading,
|
|
11197
|
-
disabled
|
|
11198
|
-
}
|
|
11199
|
-
),
|
|
11200
|
-
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
11201
|
-
SpinButton,
|
|
11202
|
-
{
|
|
11203
|
-
className: "k-input-spinner",
|
|
11204
|
-
size,
|
|
11205
|
-
fillMode
|
|
11206
|
-
}
|
|
11207
|
-
)
|
|
11208
|
-
]
|
|
11209
|
-
}
|
|
11210
|
-
);
|
|
11211
|
-
};
|
|
11212
|
-
DateInput.states = states93;
|
|
11213
|
-
DateInput.options = options88;
|
|
11214
|
-
DateInput.className = DATEINPUT_CLASSNAME;
|
|
11215
|
-
DateInput.defaultProps = defaultProps87;
|
|
11216
|
-
|
|
11217
|
-
// src/dateinput/templates/dateinput-normal.tsx
|
|
11218
|
-
var import_jsx_runtime258 = require("react/jsx-runtime");
|
|
11219
|
-
|
|
11220
11125
|
// src/calendar/calendar.spec.tsx
|
|
11221
|
-
var
|
|
11126
|
+
var import_jsx_runtime257 = require("react/jsx-runtime");
|
|
11222
11127
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
11223
|
-
var
|
|
11224
|
-
var
|
|
11128
|
+
var states93 = [];
|
|
11129
|
+
var options88 = {
|
|
11225
11130
|
size: [Size.small, Size.medium, Size.large]
|
|
11226
11131
|
};
|
|
11227
|
-
var
|
|
11132
|
+
var defaultProps87 = {
|
|
11228
11133
|
size: Size.medium,
|
|
11229
11134
|
viewsCount: 1,
|
|
11230
11135
|
orientation: "horizontal",
|
|
@@ -11233,11 +11138,11 @@ var defaultProps88 = {
|
|
|
11233
11138
|
};
|
|
11234
11139
|
var Calendar = (props) => {
|
|
11235
11140
|
const {
|
|
11236
|
-
size =
|
|
11237
|
-
orientation =
|
|
11238
|
-
calendarView =
|
|
11239
|
-
calendarHeaderText =
|
|
11240
|
-
viewsCount =
|
|
11141
|
+
size = defaultProps87.size,
|
|
11142
|
+
orientation = defaultProps87.orientation,
|
|
11143
|
+
calendarView = defaultProps87.calendarView,
|
|
11144
|
+
calendarHeaderText = defaultProps87.calendarHeaderText,
|
|
11145
|
+
viewsCount = defaultProps87.viewsCount,
|
|
11241
11146
|
showWeek,
|
|
11242
11147
|
showOtherMonth,
|
|
11243
11148
|
showCalendarCaption,
|
|
@@ -11246,7 +11151,7 @@ var Calendar = (props) => {
|
|
|
11246
11151
|
dir,
|
|
11247
11152
|
...other
|
|
11248
11153
|
} = props;
|
|
11249
|
-
return /* @__PURE__ */ (0,
|
|
11154
|
+
return /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
|
|
11250
11155
|
"div",
|
|
11251
11156
|
{
|
|
11252
11157
|
...other,
|
|
@@ -11262,7 +11167,7 @@ var Calendar = (props) => {
|
|
|
11262
11167
|
}
|
|
11263
11168
|
),
|
|
11264
11169
|
children: [
|
|
11265
|
-
/* @__PURE__ */ (0,
|
|
11170
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
11266
11171
|
CalendarHeader,
|
|
11267
11172
|
{
|
|
11268
11173
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -11272,7 +11177,7 @@ var Calendar = (props) => {
|
|
|
11272
11177
|
dir
|
|
11273
11178
|
}
|
|
11274
11179
|
),
|
|
11275
|
-
/* @__PURE__ */ (0,
|
|
11180
|
+
/* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
|
|
11276
11181
|
CalendarView,
|
|
11277
11182
|
{
|
|
11278
11183
|
calendarView,
|
|
@@ -11284,19 +11189,19 @@ var Calendar = (props) => {
|
|
|
11284
11189
|
selectedRange
|
|
11285
11190
|
}
|
|
11286
11191
|
),
|
|
11287
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
11192
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(CalendarFooter, {})
|
|
11288
11193
|
]
|
|
11289
11194
|
}
|
|
11290
11195
|
);
|
|
11291
11196
|
};
|
|
11292
|
-
Calendar.states =
|
|
11293
|
-
Calendar.options =
|
|
11197
|
+
Calendar.states = states93;
|
|
11198
|
+
Calendar.options = options88;
|
|
11294
11199
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
11295
|
-
Calendar.defaultProps =
|
|
11200
|
+
Calendar.defaultProps = defaultProps87;
|
|
11296
11201
|
|
|
11297
11202
|
// src/calendar/calendar-cell.tsx
|
|
11298
|
-
var
|
|
11299
|
-
var
|
|
11203
|
+
var import_jsx_runtime258 = require("react/jsx-runtime");
|
|
11204
|
+
var states94 = [
|
|
11300
11205
|
States.hover,
|
|
11301
11206
|
States.focus,
|
|
11302
11207
|
States.active,
|
|
@@ -11345,21 +11250,21 @@ var CalendarCell = (props) => {
|
|
|
11345
11250
|
}
|
|
11346
11251
|
];
|
|
11347
11252
|
if (headerCell) {
|
|
11348
|
-
return /* @__PURE__ */ (0,
|
|
11253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
11349
11254
|
}
|
|
11350
11255
|
if (weekCell) {
|
|
11351
|
-
return /* @__PURE__ */ (0,
|
|
11256
|
+
return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
11352
11257
|
}
|
|
11353
|
-
return /* @__PURE__ */ (0,
|
|
11258
|
+
return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("span", { className: "k-link", children: text }) });
|
|
11354
11259
|
};
|
|
11355
11260
|
|
|
11356
11261
|
// src/calendar/calendar-header.tsx
|
|
11357
|
-
var
|
|
11262
|
+
var import_jsx_runtime259 = require("react/jsx-runtime");
|
|
11358
11263
|
var className26 = `k-calendar-header`;
|
|
11359
|
-
var
|
|
11264
|
+
var options89 = {
|
|
11360
11265
|
size: [Size.small, Size.medium, Size.large]
|
|
11361
11266
|
};
|
|
11362
|
-
var
|
|
11267
|
+
var defaultProps88 = {
|
|
11363
11268
|
calendarHeaderText: "October 2021",
|
|
11364
11269
|
showToday: true,
|
|
11365
11270
|
orientation: "horizontal",
|
|
@@ -11367,16 +11272,16 @@ var defaultProps89 = {
|
|
|
11367
11272
|
};
|
|
11368
11273
|
var CalendarHeader = (props) => {
|
|
11369
11274
|
const {
|
|
11370
|
-
calendarHeaderText =
|
|
11371
|
-
showToday =
|
|
11372
|
-
orientation =
|
|
11373
|
-
size =
|
|
11275
|
+
calendarHeaderText = defaultProps88.calendarHeaderText,
|
|
11276
|
+
showToday = defaultProps88.showToday,
|
|
11277
|
+
orientation = defaultProps88.orientation,
|
|
11278
|
+
size = defaultProps88.size,
|
|
11374
11279
|
dir,
|
|
11375
11280
|
...other
|
|
11376
11281
|
} = props;
|
|
11377
11282
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
11378
11283
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
11379
|
-
return /* @__PURE__ */ (0,
|
|
11284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
|
|
11380
11285
|
"div",
|
|
11381
11286
|
{
|
|
11382
11287
|
...other,
|
|
@@ -11388,12 +11293,12 @@ var CalendarHeader = (props) => {
|
|
|
11388
11293
|
}
|
|
11389
11294
|
),
|
|
11390
11295
|
children: [
|
|
11391
|
-
/* @__PURE__ */ (0,
|
|
11392
|
-
/* @__PURE__ */ (0,
|
|
11393
|
-
/* @__PURE__ */ (0,
|
|
11394
|
-
/* @__PURE__ */ (0,
|
|
11395
|
-
showToday && /* @__PURE__ */ (0,
|
|
11396
|
-
/* @__PURE__ */ (0,
|
|
11296
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
11297
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)("span", { className: "k-spacer" }),
|
|
11298
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
11299
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
11300
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
11301
|
+
/* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
11397
11302
|
] })
|
|
11398
11303
|
]
|
|
11399
11304
|
}
|
|
@@ -11401,12 +11306,12 @@ var CalendarHeader = (props) => {
|
|
|
11401
11306
|
};
|
|
11402
11307
|
|
|
11403
11308
|
// src/calendar/calendar-footer.tsx
|
|
11404
|
-
var
|
|
11309
|
+
var import_jsx_runtime260 = require("react/jsx-runtime");
|
|
11405
11310
|
var className27 = `k-calendar-footer`;
|
|
11406
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
11311
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("div", { ...props, className: classNames(props.className, className27), children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
11407
11312
|
|
|
11408
11313
|
// src/calendar/calendar-table.tsx
|
|
11409
|
-
var
|
|
11314
|
+
var import_jsx_runtime261 = require("react/jsx-runtime");
|
|
11410
11315
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
11411
11316
|
var CalendarTable = (props) => {
|
|
11412
11317
|
const {
|
|
@@ -11418,7 +11323,7 @@ var CalendarTable = (props) => {
|
|
|
11418
11323
|
...other
|
|
11419
11324
|
} = props;
|
|
11420
11325
|
if (calendarView === "year") {
|
|
11421
|
-
return /* @__PURE__ */ (0,
|
|
11326
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
|
|
11422
11327
|
"table",
|
|
11423
11328
|
{
|
|
11424
11329
|
...other,
|
|
@@ -11427,25 +11332,25 @@ var CalendarTable = (props) => {
|
|
|
11427
11332
|
CALENDARTABLE_CLASSNAME
|
|
11428
11333
|
),
|
|
11429
11334
|
children: [
|
|
11430
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
11431
|
-
/* @__PURE__ */ (0,
|
|
11432
|
-
/* @__PURE__ */ (0,
|
|
11433
|
-
/* @__PURE__ */ (0,
|
|
11434
|
-
/* @__PURE__ */ (0,
|
|
11435
|
-
/* @__PURE__ */ (0,
|
|
11436
|
-
/* @__PURE__ */ (0,
|
|
11335
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
11336
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
11337
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11338
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Jan" }),
|
|
11339
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Feb" }),
|
|
11340
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Mar" }),
|
|
11341
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Apr" })
|
|
11437
11342
|
] }),
|
|
11438
|
-
/* @__PURE__ */ (0,
|
|
11439
|
-
/* @__PURE__ */ (0,
|
|
11440
|
-
/* @__PURE__ */ (0,
|
|
11441
|
-
/* @__PURE__ */ (0,
|
|
11442
|
-
/* @__PURE__ */ (0,
|
|
11343
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11344
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "May" }),
|
|
11345
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
11346
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
11347
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
11443
11348
|
] }),
|
|
11444
|
-
/* @__PURE__ */ (0,
|
|
11445
|
-
/* @__PURE__ */ (0,
|
|
11446
|
-
/* @__PURE__ */ (0,
|
|
11447
|
-
/* @__PURE__ */ (0,
|
|
11448
|
-
/* @__PURE__ */ (0,
|
|
11349
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11350
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Sep" }),
|
|
11351
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
11352
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Nov" }),
|
|
11353
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "Dec" })
|
|
11449
11354
|
] })
|
|
11450
11355
|
] })
|
|
11451
11356
|
]
|
|
@@ -11453,7 +11358,7 @@ var CalendarTable = (props) => {
|
|
|
11453
11358
|
);
|
|
11454
11359
|
}
|
|
11455
11360
|
if (calendarView === "decade") {
|
|
11456
|
-
return /* @__PURE__ */ (0,
|
|
11361
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
|
|
11457
11362
|
"table",
|
|
11458
11363
|
{
|
|
11459
11364
|
...other,
|
|
@@ -11462,25 +11367,25 @@ var CalendarTable = (props) => {
|
|
|
11462
11367
|
CALENDARTABLE_CLASSNAME
|
|
11463
11368
|
),
|
|
11464
11369
|
children: [
|
|
11465
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
11466
|
-
/* @__PURE__ */ (0,
|
|
11467
|
-
/* @__PURE__ */ (0,
|
|
11468
|
-
/* @__PURE__ */ (0,
|
|
11469
|
-
/* @__PURE__ */ (0,
|
|
11470
|
-
/* @__PURE__ */ (0,
|
|
11471
|
-
/* @__PURE__ */ (0,
|
|
11370
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
11371
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
11372
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11373
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
11374
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2020" }),
|
|
11375
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
11376
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2022" })
|
|
11472
11377
|
] }),
|
|
11473
|
-
/* @__PURE__ */ (0,
|
|
11474
|
-
/* @__PURE__ */ (0,
|
|
11475
|
-
/* @__PURE__ */ (0,
|
|
11476
|
-
/* @__PURE__ */ (0,
|
|
11477
|
-
/* @__PURE__ */ (0,
|
|
11378
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11379
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2023" }),
|
|
11380
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
11381
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
11382
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
11478
11383
|
] }),
|
|
11479
|
-
/* @__PURE__ */ (0,
|
|
11480
|
-
/* @__PURE__ */ (0,
|
|
11481
|
-
/* @__PURE__ */ (0,
|
|
11482
|
-
/* @__PURE__ */ (0,
|
|
11483
|
-
/* @__PURE__ */ (0,
|
|
11384
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11385
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2027" }),
|
|
11386
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2028" }),
|
|
11387
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2029" }),
|
|
11388
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
11484
11389
|
] })
|
|
11485
11390
|
] })
|
|
11486
11391
|
]
|
|
@@ -11488,7 +11393,7 @@ var CalendarTable = (props) => {
|
|
|
11488
11393
|
);
|
|
11489
11394
|
}
|
|
11490
11395
|
if (calendarView === "century") {
|
|
11491
|
-
return /* @__PURE__ */ (0,
|
|
11396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
|
|
11492
11397
|
"table",
|
|
11493
11398
|
{
|
|
11494
11399
|
...other,
|
|
@@ -11497,32 +11402,32 @@ var CalendarTable = (props) => {
|
|
|
11497
11402
|
CALENDARTABLE_CLASSNAME
|
|
11498
11403
|
),
|
|
11499
11404
|
children: [
|
|
11500
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
11501
|
-
/* @__PURE__ */ (0,
|
|
11502
|
-
/* @__PURE__ */ (0,
|
|
11503
|
-
/* @__PURE__ */ (0,
|
|
11504
|
-
/* @__PURE__ */ (0,
|
|
11505
|
-
/* @__PURE__ */ (0,
|
|
11506
|
-
/* @__PURE__ */ (0,
|
|
11405
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
11406
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
11407
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11408
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
11409
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
11410
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
11411
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
11507
11412
|
] }),
|
|
11508
|
-
/* @__PURE__ */ (0,
|
|
11509
|
-
/* @__PURE__ */ (0,
|
|
11510
|
-
/* @__PURE__ */ (0,
|
|
11511
|
-
/* @__PURE__ */ (0,
|
|
11512
|
-
/* @__PURE__ */ (0,
|
|
11413
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11414
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
11415
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
11416
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
11417
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
11513
11418
|
] }),
|
|
11514
|
-
/* @__PURE__ */ (0,
|
|
11515
|
-
/* @__PURE__ */ (0,
|
|
11516
|
-
/* @__PURE__ */ (0,
|
|
11517
|
-
/* @__PURE__ */ (0,
|
|
11518
|
-
/* @__PURE__ */ (0,
|
|
11419
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11420
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
11421
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
11422
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
11423
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
11519
11424
|
] })
|
|
11520
11425
|
] })
|
|
11521
11426
|
]
|
|
11522
11427
|
}
|
|
11523
11428
|
);
|
|
11524
11429
|
}
|
|
11525
|
-
return /* @__PURE__ */ (0,
|
|
11430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
|
|
11526
11431
|
"table",
|
|
11527
11432
|
{
|
|
11528
11433
|
...other,
|
|
@@ -11531,68 +11436,68 @@ var CalendarTable = (props) => {
|
|
|
11531
11436
|
CALENDARTABLE_CLASSNAME
|
|
11532
11437
|
),
|
|
11533
11438
|
children: [
|
|
11534
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
11535
|
-
/* @__PURE__ */ (0,
|
|
11536
|
-
/* @__PURE__ */ (0,
|
|
11537
|
-
/* @__PURE__ */ (0,
|
|
11538
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11539
|
-
/* @__PURE__ */ (0,
|
|
11540
|
-
/* @__PURE__ */ (0,
|
|
11541
|
-
/* @__PURE__ */ (0,
|
|
11542
|
-
/* @__PURE__ */ (0,
|
|
11543
|
-
/* @__PURE__ */ (0,
|
|
11544
|
-
/* @__PURE__ */ (0,
|
|
11545
|
-
/* @__PURE__ */ (0,
|
|
11439
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
11440
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarTableHead, { showWeek }),
|
|
11441
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
11442
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11443
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
11444
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
11445
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "1" }),
|
|
11446
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2" }),
|
|
11447
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "3" }),
|
|
11448
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "4" }),
|
|
11449
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "5" }),
|
|
11450
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
11546
11451
|
] }),
|
|
11547
|
-
/* @__PURE__ */ (0,
|
|
11548
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11549
|
-
/* @__PURE__ */ (0,
|
|
11550
|
-
/* @__PURE__ */ (0,
|
|
11551
|
-
/* @__PURE__ */ (0,
|
|
11552
|
-
/* @__PURE__ */ (0,
|
|
11553
|
-
/* @__PURE__ */ (0,
|
|
11554
|
-
/* @__PURE__ */ (0,
|
|
11555
|
-
/* @__PURE__ */ (0,
|
|
11452
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11453
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
11454
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
11455
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
11456
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
11457
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
11458
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
11459
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
11460
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
11556
11461
|
] }),
|
|
11557
|
-
/* @__PURE__ */ (0,
|
|
11558
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11559
|
-
/* @__PURE__ */ (0,
|
|
11560
|
-
/* @__PURE__ */ (0,
|
|
11561
|
-
/* @__PURE__ */ (0,
|
|
11562
|
-
/* @__PURE__ */ (0,
|
|
11563
|
-
/* @__PURE__ */ (0,
|
|
11564
|
-
/* @__PURE__ */ (0,
|
|
11565
|
-
/* @__PURE__ */ (0,
|
|
11462
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11463
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
11464
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
11465
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "15" }),
|
|
11466
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "16", today: true }),
|
|
11467
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "17" }),
|
|
11468
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "18" }),
|
|
11469
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "19" }),
|
|
11470
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
11566
11471
|
] }),
|
|
11567
|
-
/* @__PURE__ */ (0,
|
|
11568
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11569
|
-
/* @__PURE__ */ (0,
|
|
11570
|
-
/* @__PURE__ */ (0,
|
|
11571
|
-
/* @__PURE__ */ (0,
|
|
11572
|
-
/* @__PURE__ */ (0,
|
|
11573
|
-
/* @__PURE__ */ (0,
|
|
11574
|
-
/* @__PURE__ */ (0,
|
|
11575
|
-
/* @__PURE__ */ (0,
|
|
11472
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11473
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
11474
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
11475
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "22" }),
|
|
11476
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "23" }),
|
|
11477
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "24" }),
|
|
11478
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
11479
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
11480
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
11576
11481
|
] }),
|
|
11577
|
-
/* @__PURE__ */ (0,
|
|
11578
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11579
|
-
/* @__PURE__ */ (0,
|
|
11580
|
-
/* @__PURE__ */ (0,
|
|
11581
|
-
/* @__PURE__ */ (0,
|
|
11582
|
-
/* @__PURE__ */ (0,
|
|
11583
|
-
/* @__PURE__ */ (0,
|
|
11584
|
-
/* @__PURE__ */ (0,
|
|
11585
|
-
/* @__PURE__ */ (0,
|
|
11482
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11483
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
11484
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
11485
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
11486
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "30" }),
|
|
11487
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "31" }),
|
|
11488
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
11489
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
11490
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
11586
11491
|
] }),
|
|
11587
|
-
/* @__PURE__ */ (0,
|
|
11588
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11589
|
-
/* @__PURE__ */ (0,
|
|
11590
|
-
/* @__PURE__ */ (0,
|
|
11591
|
-
/* @__PURE__ */ (0,
|
|
11592
|
-
/* @__PURE__ */ (0,
|
|
11593
|
-
/* @__PURE__ */ (0,
|
|
11594
|
-
/* @__PURE__ */ (0,
|
|
11595
|
-
/* @__PURE__ */ (0,
|
|
11492
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11493
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
11494
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
11495
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
11496
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
11497
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
11498
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
11499
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
11500
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
11596
11501
|
] })
|
|
11597
11502
|
] })
|
|
11598
11503
|
]
|
|
@@ -11601,52 +11506,52 @@ var CalendarTable = (props) => {
|
|
|
11601
11506
|
};
|
|
11602
11507
|
|
|
11603
11508
|
// src/calendar/calendar-table-head.tsx
|
|
11604
|
-
var
|
|
11509
|
+
var import_jsx_runtime262 = require("react/jsx-runtime");
|
|
11605
11510
|
var className28 = `k-calendar-thead`;
|
|
11606
11511
|
var CalendarTableHead = (props) => {
|
|
11607
11512
|
const {
|
|
11608
11513
|
showWeek,
|
|
11609
11514
|
...other
|
|
11610
11515
|
} = props;
|
|
11611
|
-
return /* @__PURE__ */ (0,
|
|
11516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
|
|
11612
11517
|
"thead",
|
|
11613
11518
|
{
|
|
11614
11519
|
...other,
|
|
11615
11520
|
className: classNames(props.className, className28),
|
|
11616
|
-
children: /* @__PURE__ */ (0,
|
|
11617
|
-
showWeek && /* @__PURE__ */ (0,
|
|
11618
|
-
/* @__PURE__ */ (0,
|
|
11619
|
-
/* @__PURE__ */ (0,
|
|
11620
|
-
/* @__PURE__ */ (0,
|
|
11621
|
-
/* @__PURE__ */ (0,
|
|
11622
|
-
/* @__PURE__ */ (0,
|
|
11623
|
-
/* @__PURE__ */ (0,
|
|
11624
|
-
/* @__PURE__ */ (0,
|
|
11521
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime262.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
11522
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
11523
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
11524
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
11525
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
11526
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
11527
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
11528
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
11529
|
+
/* @__PURE__ */ (0, import_jsx_runtime262.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
11625
11530
|
] })
|
|
11626
11531
|
}
|
|
11627
11532
|
);
|
|
11628
11533
|
};
|
|
11629
11534
|
|
|
11630
11535
|
// src/calendar/calendar-view.tsx
|
|
11631
|
-
var
|
|
11536
|
+
var import_jsx_runtime263 = require("react/jsx-runtime");
|
|
11632
11537
|
var className29 = `k-calendar-view`;
|
|
11633
|
-
var
|
|
11538
|
+
var defaultProps89 = {
|
|
11634
11539
|
viewsCount: 1,
|
|
11635
11540
|
orientation: "horizontal",
|
|
11636
11541
|
calendarView: "month"
|
|
11637
11542
|
};
|
|
11638
11543
|
var CalendarView = (props) => {
|
|
11639
11544
|
const {
|
|
11640
|
-
orientation =
|
|
11641
|
-
calendarView =
|
|
11642
|
-
viewsCount =
|
|
11545
|
+
orientation = defaultProps89.orientation,
|
|
11546
|
+
calendarView = defaultProps89.calendarView,
|
|
11547
|
+
viewsCount = defaultProps89.viewsCount,
|
|
11643
11548
|
showWeek,
|
|
11644
11549
|
showOtherMonth,
|
|
11645
11550
|
showCalendarCaption,
|
|
11646
11551
|
selectedRange,
|
|
11647
11552
|
...other
|
|
11648
11553
|
} = props;
|
|
11649
|
-
return /* @__PURE__ */ (0,
|
|
11554
|
+
return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
11650
11555
|
"div",
|
|
11651
11556
|
{
|
|
11652
11557
|
...other,
|
|
@@ -11662,7 +11567,7 @@ var CalendarView = (props) => {
|
|
|
11662
11567
|
}
|
|
11663
11568
|
),
|
|
11664
11569
|
children: [...Array(viewsCount)].map(
|
|
11665
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
11570
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
11666
11571
|
CalendarTable,
|
|
11667
11572
|
{
|
|
11668
11573
|
calendarView,
|
|
@@ -11678,6 +11583,101 @@ var CalendarView = (props) => {
|
|
|
11678
11583
|
);
|
|
11679
11584
|
};
|
|
11680
11585
|
|
|
11586
|
+
// src/dateinput/dateinput.spec.tsx
|
|
11587
|
+
var import_jsx_runtime264 = require("react/jsx-runtime");
|
|
11588
|
+
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
11589
|
+
var states95 = [
|
|
11590
|
+
States.hover,
|
|
11591
|
+
States.focus,
|
|
11592
|
+
States.valid,
|
|
11593
|
+
States.invalid,
|
|
11594
|
+
States.required,
|
|
11595
|
+
States.disabled,
|
|
11596
|
+
States.loading,
|
|
11597
|
+
States.readonly
|
|
11598
|
+
];
|
|
11599
|
+
var options90 = {
|
|
11600
|
+
size: [Size.small, Size.medium, Size.large],
|
|
11601
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
11602
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
11603
|
+
};
|
|
11604
|
+
var defaultProps90 = {
|
|
11605
|
+
size: Input.defaultProps.size,
|
|
11606
|
+
rounded: Input.defaultProps.rounded,
|
|
11607
|
+
fillMode: Input.defaultProps.fillMode
|
|
11608
|
+
};
|
|
11609
|
+
var DateInput = (props) => {
|
|
11610
|
+
const {
|
|
11611
|
+
value,
|
|
11612
|
+
placeholder,
|
|
11613
|
+
size,
|
|
11614
|
+
rounded,
|
|
11615
|
+
fillMode,
|
|
11616
|
+
hover,
|
|
11617
|
+
focus,
|
|
11618
|
+
valid,
|
|
11619
|
+
invalid,
|
|
11620
|
+
required,
|
|
11621
|
+
loading,
|
|
11622
|
+
disabled,
|
|
11623
|
+
readonly,
|
|
11624
|
+
showSpinButton,
|
|
11625
|
+
...other
|
|
11626
|
+
} = props;
|
|
11627
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
11628
|
+
Input,
|
|
11629
|
+
{
|
|
11630
|
+
...other,
|
|
11631
|
+
size,
|
|
11632
|
+
rounded,
|
|
11633
|
+
fillMode,
|
|
11634
|
+
hover,
|
|
11635
|
+
focus,
|
|
11636
|
+
valid,
|
|
11637
|
+
invalid,
|
|
11638
|
+
required,
|
|
11639
|
+
loading,
|
|
11640
|
+
disabled,
|
|
11641
|
+
readonly,
|
|
11642
|
+
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
11643
|
+
children: [
|
|
11644
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(InputInnerInput, { placeholder, value }),
|
|
11645
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
11646
|
+
InputValidationIcon,
|
|
11647
|
+
{
|
|
11648
|
+
valid,
|
|
11649
|
+
invalid,
|
|
11650
|
+
loading,
|
|
11651
|
+
disabled
|
|
11652
|
+
}
|
|
11653
|
+
),
|
|
11654
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
11655
|
+
InputLoadingIcon,
|
|
11656
|
+
{
|
|
11657
|
+
loading,
|
|
11658
|
+
disabled
|
|
11659
|
+
}
|
|
11660
|
+
),
|
|
11661
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
11662
|
+
SpinButton,
|
|
11663
|
+
{
|
|
11664
|
+
className: "k-input-spinner",
|
|
11665
|
+
size,
|
|
11666
|
+
fillMode
|
|
11667
|
+
}
|
|
11668
|
+
)
|
|
11669
|
+
]
|
|
11670
|
+
}
|
|
11671
|
+
);
|
|
11672
|
+
};
|
|
11673
|
+
DateInput.states = states95;
|
|
11674
|
+
DateInput.options = options90;
|
|
11675
|
+
DateInput.className = DATEINPUT_CLASSNAME;
|
|
11676
|
+
DateInput.defaultProps = defaultProps90;
|
|
11677
|
+
|
|
11678
|
+
// src/dateinput/templates/dateinput-normal.tsx
|
|
11679
|
+
var import_jsx_runtime265 = require("react/jsx-runtime");
|
|
11680
|
+
|
|
11681
11681
|
// src/datepicker/datepicker.spec.tsx
|
|
11682
11682
|
var import_jsx_runtime266 = require("react/jsx-runtime");
|
|
11683
11683
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|