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