@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
package/dist/cjs/index.js
CHANGED
|
@@ -143,6 +143,7 @@ __export(src_exports, {
|
|
|
143
143
|
BreadcrumbRootItemContainer: () => BreadcrumbRootItemContainer,
|
|
144
144
|
Button: () => Button,
|
|
145
145
|
ButtonGroup: () => ButtonGroup,
|
|
146
|
+
CALENDARTABLE_CLASSNAME: () => CALENDARTABLE_CLASSNAME,
|
|
146
147
|
CAPTCHA_CLASSNAME: () => CAPTCHA_CLASSNAME,
|
|
147
148
|
CARDBODY_CLASSNAME: () => CARDBODY_CLASSNAME,
|
|
148
149
|
CARDCALLOUT_CLASSNAME: () => CARDCALLOUT_CLASSNAME,
|
|
@@ -167,6 +168,13 @@ __export(src_exports, {
|
|
|
167
168
|
COLORPICKER_CLASSNAME: () => COLORPICKER_CLASSNAME,
|
|
168
169
|
COLORPREVIEW_CLASSNAME: () => COLORPREVIEW_CLASSNAME,
|
|
169
170
|
COMBOBOX_CLASSNAME: () => COMBOBOX_CLASSNAME,
|
|
171
|
+
Calendar: () => Calendar,
|
|
172
|
+
CalendarCell: () => CalendarCell,
|
|
173
|
+
CalendarFooter: () => CalendarFooter,
|
|
174
|
+
CalendarHeader: () => CalendarHeader,
|
|
175
|
+
CalendarTable: () => CalendarTable,
|
|
176
|
+
CalendarTableHead: () => CalendarTableHead,
|
|
177
|
+
CalendarView: () => CalendarView,
|
|
170
178
|
Captcha: () => Captcha,
|
|
171
179
|
CaptchaNormal: () => CaptchaNormal,
|
|
172
180
|
Card: () => Card,
|
|
@@ -10485,111 +10493,14 @@ var ComboboxSuffix = (props) => /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
|
|
|
10485
10493
|
}
|
|
10486
10494
|
);
|
|
10487
10495
|
|
|
10488
|
-
// src/dateinput/dateinput.spec.tsx
|
|
10489
|
-
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
10490
|
-
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
10491
|
-
var states65 = [
|
|
10492
|
-
States.hover,
|
|
10493
|
-
States.focus,
|
|
10494
|
-
States.valid,
|
|
10495
|
-
States.invalid,
|
|
10496
|
-
States.required,
|
|
10497
|
-
States.disabled,
|
|
10498
|
-
States.loading,
|
|
10499
|
-
States.readonly
|
|
10500
|
-
];
|
|
10501
|
-
var options62 = {
|
|
10502
|
-
size: [Size.small, Size.medium, Size.large],
|
|
10503
|
-
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
10504
|
-
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
10505
|
-
};
|
|
10506
|
-
var defaultProps61 = {
|
|
10507
|
-
size: Input.defaultProps.size,
|
|
10508
|
-
rounded: Input.defaultProps.rounded,
|
|
10509
|
-
fillMode: Input.defaultProps.fillMode
|
|
10510
|
-
};
|
|
10511
|
-
var DateInput = (props) => {
|
|
10512
|
-
const {
|
|
10513
|
-
value,
|
|
10514
|
-
placeholder,
|
|
10515
|
-
size,
|
|
10516
|
-
rounded,
|
|
10517
|
-
fillMode,
|
|
10518
|
-
hover,
|
|
10519
|
-
focus,
|
|
10520
|
-
valid,
|
|
10521
|
-
invalid,
|
|
10522
|
-
required,
|
|
10523
|
-
loading,
|
|
10524
|
-
disabled,
|
|
10525
|
-
readonly,
|
|
10526
|
-
showSpinButton,
|
|
10527
|
-
...other
|
|
10528
|
-
} = props;
|
|
10529
|
-
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
|
|
10530
|
-
Input,
|
|
10531
|
-
{
|
|
10532
|
-
...other,
|
|
10533
|
-
size,
|
|
10534
|
-
rounded,
|
|
10535
|
-
fillMode,
|
|
10536
|
-
hover,
|
|
10537
|
-
focus,
|
|
10538
|
-
valid,
|
|
10539
|
-
invalid,
|
|
10540
|
-
required,
|
|
10541
|
-
loading,
|
|
10542
|
-
disabled,
|
|
10543
|
-
readonly,
|
|
10544
|
-
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
10545
|
-
children: [
|
|
10546
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(InputInnerInput, { placeholder, value }),
|
|
10547
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
10548
|
-
InputValidationIcon,
|
|
10549
|
-
{
|
|
10550
|
-
valid,
|
|
10551
|
-
invalid,
|
|
10552
|
-
loading,
|
|
10553
|
-
disabled
|
|
10554
|
-
}
|
|
10555
|
-
),
|
|
10556
|
-
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
10557
|
-
InputLoadingIcon,
|
|
10558
|
-
{
|
|
10559
|
-
loading,
|
|
10560
|
-
disabled
|
|
10561
|
-
}
|
|
10562
|
-
),
|
|
10563
|
-
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
10564
|
-
SpinButton,
|
|
10565
|
-
{
|
|
10566
|
-
className: "k-input-spinner",
|
|
10567
|
-
size,
|
|
10568
|
-
fillMode
|
|
10569
|
-
}
|
|
10570
|
-
)
|
|
10571
|
-
]
|
|
10572
|
-
}
|
|
10573
|
-
);
|
|
10574
|
-
};
|
|
10575
|
-
DateInput.states = states65;
|
|
10576
|
-
DateInput.options = options62;
|
|
10577
|
-
DateInput.className = DATEINPUT_CLASSNAME;
|
|
10578
|
-
DateInput.defaultProps = defaultProps61;
|
|
10579
|
-
var dateinput_spec_default = DateInput;
|
|
10580
|
-
|
|
10581
|
-
// src/dateinput/templates/dateinput-normal.tsx
|
|
10582
|
-
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
10583
|
-
var DateInputNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(dateinput_spec_default, { ...props });
|
|
10584
|
-
|
|
10585
10496
|
// src/calendar/calendar.spec.tsx
|
|
10586
|
-
var
|
|
10497
|
+
var import_jsx_runtime178 = require("react/jsx-runtime");
|
|
10587
10498
|
var CALENDAR_CLASSNAME = `k-calendar`;
|
|
10588
|
-
var
|
|
10589
|
-
var
|
|
10499
|
+
var states65 = [];
|
|
10500
|
+
var options62 = {
|
|
10590
10501
|
size: [Size.small, Size.medium, Size.large]
|
|
10591
10502
|
};
|
|
10592
|
-
var
|
|
10503
|
+
var defaultProps61 = {
|
|
10593
10504
|
size: Size.medium,
|
|
10594
10505
|
viewsCount: 1,
|
|
10595
10506
|
orientation: "horizontal",
|
|
@@ -10598,11 +10509,11 @@ var defaultProps62 = {
|
|
|
10598
10509
|
};
|
|
10599
10510
|
var Calendar = (props) => {
|
|
10600
10511
|
const {
|
|
10601
|
-
size =
|
|
10602
|
-
orientation =
|
|
10603
|
-
calendarView =
|
|
10604
|
-
calendarHeaderText =
|
|
10605
|
-
viewsCount =
|
|
10512
|
+
size = defaultProps61.size,
|
|
10513
|
+
orientation = defaultProps61.orientation,
|
|
10514
|
+
calendarView = defaultProps61.calendarView,
|
|
10515
|
+
calendarHeaderText = defaultProps61.calendarHeaderText,
|
|
10516
|
+
viewsCount = defaultProps61.viewsCount,
|
|
10606
10517
|
showWeek,
|
|
10607
10518
|
showOtherMonth,
|
|
10608
10519
|
showCalendarCaption,
|
|
@@ -10611,7 +10522,7 @@ var Calendar = (props) => {
|
|
|
10611
10522
|
dir,
|
|
10612
10523
|
...other
|
|
10613
10524
|
} = props;
|
|
10614
|
-
return /* @__PURE__ */ (0,
|
|
10525
|
+
return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
|
|
10615
10526
|
"div",
|
|
10616
10527
|
{
|
|
10617
10528
|
...other,
|
|
@@ -10627,7 +10538,7 @@ var Calendar = (props) => {
|
|
|
10627
10538
|
}
|
|
10628
10539
|
),
|
|
10629
10540
|
children: [
|
|
10630
|
-
/* @__PURE__ */ (0,
|
|
10541
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
10631
10542
|
CalendarHeader,
|
|
10632
10543
|
{
|
|
10633
10544
|
showToday: showCalendarFooter ? false : true,
|
|
@@ -10637,7 +10548,7 @@ var Calendar = (props) => {
|
|
|
10637
10548
|
dir
|
|
10638
10549
|
}
|
|
10639
10550
|
),
|
|
10640
|
-
/* @__PURE__ */ (0,
|
|
10551
|
+
/* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
|
|
10641
10552
|
CalendarView,
|
|
10642
10553
|
{
|
|
10643
10554
|
calendarView,
|
|
@@ -10649,19 +10560,19 @@ var Calendar = (props) => {
|
|
|
10649
10560
|
selectedRange
|
|
10650
10561
|
}
|
|
10651
10562
|
),
|
|
10652
|
-
showCalendarFooter && /* @__PURE__ */ (0,
|
|
10563
|
+
showCalendarFooter && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(CalendarFooter, {})
|
|
10653
10564
|
]
|
|
10654
10565
|
}
|
|
10655
10566
|
);
|
|
10656
10567
|
};
|
|
10657
|
-
Calendar.states =
|
|
10658
|
-
Calendar.options =
|
|
10568
|
+
Calendar.states = states65;
|
|
10569
|
+
Calendar.options = options62;
|
|
10659
10570
|
Calendar.className = CALENDAR_CLASSNAME;
|
|
10660
|
-
Calendar.defaultProps =
|
|
10571
|
+
Calendar.defaultProps = defaultProps61;
|
|
10661
10572
|
|
|
10662
10573
|
// src/calendar/calendar-cell.tsx
|
|
10663
|
-
var
|
|
10664
|
-
var
|
|
10574
|
+
var import_jsx_runtime179 = require("react/jsx-runtime");
|
|
10575
|
+
var states66 = [
|
|
10665
10576
|
States.hover,
|
|
10666
10577
|
States.focus,
|
|
10667
10578
|
States.active,
|
|
@@ -10710,21 +10621,21 @@ var CalendarCell = (props) => {
|
|
|
10710
10621
|
}
|
|
10711
10622
|
];
|
|
10712
10623
|
if (headerCell) {
|
|
10713
|
-
return /* @__PURE__ */ (0,
|
|
10624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("th", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
10714
10625
|
}
|
|
10715
10626
|
if (weekCell) {
|
|
10716
|
-
return /* @__PURE__ */ (0,
|
|
10627
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: text });
|
|
10717
10628
|
}
|
|
10718
|
-
return /* @__PURE__ */ (0,
|
|
10629
|
+
return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("td", { ...other, className: classNames(calendarCellClasses), children: otherMonth && !showOtherMonth ? "" : /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("span", { className: "k-link", children: text }) });
|
|
10719
10630
|
};
|
|
10720
10631
|
|
|
10721
10632
|
// src/calendar/calendar-header.tsx
|
|
10722
|
-
var
|
|
10633
|
+
var import_jsx_runtime180 = require("react/jsx-runtime");
|
|
10723
10634
|
var className17 = `k-calendar-header`;
|
|
10724
|
-
var
|
|
10635
|
+
var options63 = {
|
|
10725
10636
|
size: [Size.small, Size.medium, Size.large]
|
|
10726
10637
|
};
|
|
10727
|
-
var
|
|
10638
|
+
var defaultProps62 = {
|
|
10728
10639
|
calendarHeaderText: "October 2021",
|
|
10729
10640
|
showToday: true,
|
|
10730
10641
|
orientation: "horizontal",
|
|
@@ -10732,16 +10643,16 @@ var defaultProps63 = {
|
|
|
10732
10643
|
};
|
|
10733
10644
|
var CalendarHeader = (props) => {
|
|
10734
10645
|
const {
|
|
10735
|
-
calendarHeaderText =
|
|
10736
|
-
showToday =
|
|
10737
|
-
orientation =
|
|
10738
|
-
size =
|
|
10646
|
+
calendarHeaderText = defaultProps62.calendarHeaderText,
|
|
10647
|
+
showToday = defaultProps62.showToday,
|
|
10648
|
+
orientation = defaultProps62.orientation,
|
|
10649
|
+
size = defaultProps62.size,
|
|
10739
10650
|
dir,
|
|
10740
10651
|
...other
|
|
10741
10652
|
} = props;
|
|
10742
10653
|
const iconPrev = dir === "rtl" ? "chevron-right" : "chevron-left";
|
|
10743
10654
|
const iconNext = dir === "rtl" ? "chevron-left" : "chevron-right";
|
|
10744
|
-
return /* @__PURE__ */ (0,
|
|
10655
|
+
return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(
|
|
10745
10656
|
"div",
|
|
10746
10657
|
{
|
|
10747
10658
|
...other,
|
|
@@ -10753,12 +10664,12 @@ var CalendarHeader = (props) => {
|
|
|
10753
10664
|
}
|
|
10754
10665
|
),
|
|
10755
10666
|
children: [
|
|
10756
|
-
/* @__PURE__ */ (0,
|
|
10757
|
-
/* @__PURE__ */ (0,
|
|
10758
|
-
/* @__PURE__ */ (0,
|
|
10759
|
-
/* @__PURE__ */ (0,
|
|
10760
|
-
showToday && /* @__PURE__ */ (0,
|
|
10761
|
-
/* @__PURE__ */ (0,
|
|
10667
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { className: "k-calendar-title", text: calendarHeaderText, size, fillMode: "flat" }),
|
|
10668
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)("span", { className: "k-spacer" }),
|
|
10669
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("span", { className: "k-calendar-nav", children: [
|
|
10670
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { className: "k-calendar-nav-prev", icon: iconPrev, size, fillMode: "flat" }),
|
|
10671
|
+
showToday && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { size, fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Today" }),
|
|
10672
|
+
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Button, { className: "k-calendar-nav-next", icon: iconNext, size, fillMode: "flat" })
|
|
10762
10673
|
] })
|
|
10763
10674
|
]
|
|
10764
10675
|
}
|
|
@@ -10766,12 +10677,12 @@ var CalendarHeader = (props) => {
|
|
|
10766
10677
|
};
|
|
10767
10678
|
|
|
10768
10679
|
// src/calendar/calendar-footer.tsx
|
|
10769
|
-
var
|
|
10680
|
+
var import_jsx_runtime181 = require("react/jsx-runtime");
|
|
10770
10681
|
var className18 = `k-calendar-footer`;
|
|
10771
|
-
var CalendarFooter = (props) => /* @__PURE__ */ (0,
|
|
10682
|
+
var CalendarFooter = (props) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("div", { ...props, className: classNames(props.className, className18), children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Button, { fillMode: "flat", themeColor: "primary", className: "k-calendar-nav-today", children: "Monday, October 29, 2021" }) });
|
|
10772
10683
|
|
|
10773
10684
|
// src/calendar/calendar-table.tsx
|
|
10774
|
-
var
|
|
10685
|
+
var import_jsx_runtime182 = require("react/jsx-runtime");
|
|
10775
10686
|
var CALENDARTABLE_CLASSNAME = `k-calendar-table`;
|
|
10776
10687
|
var CalendarTable = (props) => {
|
|
10777
10688
|
const {
|
|
@@ -10783,7 +10694,7 @@ var CalendarTable = (props) => {
|
|
|
10783
10694
|
...other
|
|
10784
10695
|
} = props;
|
|
10785
10696
|
if (calendarView === "year") {
|
|
10786
|
-
return /* @__PURE__ */ (0,
|
|
10697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
10787
10698
|
"table",
|
|
10788
10699
|
{
|
|
10789
10700
|
...other,
|
|
@@ -10792,25 +10703,25 @@ var CalendarTable = (props) => {
|
|
|
10792
10703
|
CALENDARTABLE_CLASSNAME
|
|
10793
10704
|
),
|
|
10794
10705
|
children: [
|
|
10795
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
10796
|
-
/* @__PURE__ */ (0,
|
|
10797
|
-
/* @__PURE__ */ (0,
|
|
10798
|
-
/* @__PURE__ */ (0,
|
|
10799
|
-
/* @__PURE__ */ (0,
|
|
10800
|
-
/* @__PURE__ */ (0,
|
|
10801
|
-
/* @__PURE__ */ (0,
|
|
10706
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "2022" }),
|
|
10707
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
10708
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10709
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Jan" }),
|
|
10710
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Feb" }),
|
|
10711
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Mar" }),
|
|
10712
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Apr" })
|
|
10802
10713
|
] }),
|
|
10803
|
-
/* @__PURE__ */ (0,
|
|
10804
|
-
/* @__PURE__ */ (0,
|
|
10805
|
-
/* @__PURE__ */ (0,
|
|
10806
|
-
/* @__PURE__ */ (0,
|
|
10807
|
-
/* @__PURE__ */ (0,
|
|
10714
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10715
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "May" }),
|
|
10716
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Jun", hover: true }),
|
|
10717
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Jul", focus: true }),
|
|
10718
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Au", selected: true })
|
|
10808
10719
|
] }),
|
|
10809
|
-
/* @__PURE__ */ (0,
|
|
10810
|
-
/* @__PURE__ */ (0,
|
|
10811
|
-
/* @__PURE__ */ (0,
|
|
10812
|
-
/* @__PURE__ */ (0,
|
|
10813
|
-
/* @__PURE__ */ (0,
|
|
10720
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10721
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Sep" }),
|
|
10722
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Oct", today: true }),
|
|
10723
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Nov" }),
|
|
10724
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "Dec" })
|
|
10814
10725
|
] })
|
|
10815
10726
|
] })
|
|
10816
10727
|
]
|
|
@@ -10818,7 +10729,7 @@ var CalendarTable = (props) => {
|
|
|
10818
10729
|
);
|
|
10819
10730
|
}
|
|
10820
10731
|
if (calendarView === "decade") {
|
|
10821
|
-
return /* @__PURE__ */ (0,
|
|
10732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
10822
10733
|
"table",
|
|
10823
10734
|
{
|
|
10824
10735
|
...other,
|
|
@@ -10827,25 +10738,25 @@ var CalendarTable = (props) => {
|
|
|
10827
10738
|
CALENDARTABLE_CLASSNAME
|
|
10828
10739
|
),
|
|
10829
10740
|
children: [
|
|
10830
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
10831
|
-
/* @__PURE__ */ (0,
|
|
10832
|
-
/* @__PURE__ */ (0,
|
|
10833
|
-
/* @__PURE__ */ (0,
|
|
10834
|
-
/* @__PURE__ */ (0,
|
|
10835
|
-
/* @__PURE__ */ (0,
|
|
10836
|
-
/* @__PURE__ */ (0,
|
|
10741
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "2020 - 2029" }),
|
|
10742
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
10743
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10744
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { className: "k-out-of-range" }),
|
|
10745
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2020" }),
|
|
10746
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2021", today: true }),
|
|
10747
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2022" })
|
|
10837
10748
|
] }),
|
|
10838
|
-
/* @__PURE__ */ (0,
|
|
10839
|
-
/* @__PURE__ */ (0,
|
|
10840
|
-
/* @__PURE__ */ (0,
|
|
10841
|
-
/* @__PURE__ */ (0,
|
|
10842
|
-
/* @__PURE__ */ (0,
|
|
10749
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10750
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2023" }),
|
|
10751
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2024", hover: true }),
|
|
10752
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2025", focus: true }),
|
|
10753
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2026", selected: true })
|
|
10843
10754
|
] }),
|
|
10844
|
-
/* @__PURE__ */ (0,
|
|
10845
|
-
/* @__PURE__ */ (0,
|
|
10846
|
-
/* @__PURE__ */ (0,
|
|
10847
|
-
/* @__PURE__ */ (0,
|
|
10848
|
-
/* @__PURE__ */ (0,
|
|
10755
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10756
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2027" }),
|
|
10757
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2028" }),
|
|
10758
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2029" }),
|
|
10759
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
10849
10760
|
] })
|
|
10850
10761
|
] })
|
|
10851
10762
|
]
|
|
@@ -10853,7 +10764,7 @@ var CalendarTable = (props) => {
|
|
|
10853
10764
|
);
|
|
10854
10765
|
}
|
|
10855
10766
|
if (calendarView === "century") {
|
|
10856
|
-
return /* @__PURE__ */ (0,
|
|
10767
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
10857
10768
|
"table",
|
|
10858
10769
|
{
|
|
10859
10770
|
...other,
|
|
@@ -10862,32 +10773,32 @@ var CalendarTable = (props) => {
|
|
|
10862
10773
|
CALENDARTABLE_CLASSNAME
|
|
10863
10774
|
),
|
|
10864
10775
|
children: [
|
|
10865
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
10866
|
-
/* @__PURE__ */ (0,
|
|
10867
|
-
/* @__PURE__ */ (0,
|
|
10868
|
-
/* @__PURE__ */ (0,
|
|
10869
|
-
/* @__PURE__ */ (0,
|
|
10870
|
-
/* @__PURE__ */ (0,
|
|
10871
|
-
/* @__PURE__ */ (0,
|
|
10776
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "2000 - 2099" }),
|
|
10777
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
10778
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10779
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "1990 - 1999" }),
|
|
10780
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2000 - 2009" }),
|
|
10781
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2010 - 2019", today: true }),
|
|
10782
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2020 - 2029" })
|
|
10872
10783
|
] }),
|
|
10873
|
-
/* @__PURE__ */ (0,
|
|
10874
|
-
/* @__PURE__ */ (0,
|
|
10875
|
-
/* @__PURE__ */ (0,
|
|
10876
|
-
/* @__PURE__ */ (0,
|
|
10877
|
-
/* @__PURE__ */ (0,
|
|
10784
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10785
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2030 - 2039" }),
|
|
10786
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2040 - 2049", hover: true }),
|
|
10787
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2050 - 2059", focus: true }),
|
|
10788
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2060 - 2069", selected: true })
|
|
10878
10789
|
] }),
|
|
10879
|
-
/* @__PURE__ */ (0,
|
|
10880
|
-
/* @__PURE__ */ (0,
|
|
10881
|
-
/* @__PURE__ */ (0,
|
|
10882
|
-
/* @__PURE__ */ (0,
|
|
10883
|
-
/* @__PURE__ */ (0,
|
|
10790
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10791
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2070 - 2079" }),
|
|
10792
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2080 - 2089" }),
|
|
10793
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2090 - 2099" }),
|
|
10794
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { className: "k-out-of-range" })
|
|
10884
10795
|
] })
|
|
10885
10796
|
] })
|
|
10886
10797
|
]
|
|
10887
10798
|
}
|
|
10888
10799
|
);
|
|
10889
10800
|
}
|
|
10890
|
-
return /* @__PURE__ */ (0,
|
|
10801
|
+
return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(
|
|
10891
10802
|
"table",
|
|
10892
10803
|
{
|
|
10893
10804
|
...other,
|
|
@@ -10896,68 +10807,68 @@ var CalendarTable = (props) => {
|
|
|
10896
10807
|
CALENDARTABLE_CLASSNAME
|
|
10897
10808
|
),
|
|
10898
10809
|
children: [
|
|
10899
|
-
showCalendarCaption && /* @__PURE__ */ (0,
|
|
10900
|
-
/* @__PURE__ */ (0,
|
|
10901
|
-
/* @__PURE__ */ (0,
|
|
10902
|
-
/* @__PURE__ */ (0,
|
|
10903
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10904
|
-
/* @__PURE__ */ (0,
|
|
10905
|
-
/* @__PURE__ */ (0,
|
|
10906
|
-
/* @__PURE__ */ (0,
|
|
10907
|
-
/* @__PURE__ */ (0,
|
|
10908
|
-
/* @__PURE__ */ (0,
|
|
10909
|
-
/* @__PURE__ */ (0,
|
|
10910
|
-
/* @__PURE__ */ (0,
|
|
10810
|
+
showCalendarCaption && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("caption", { className: "k-calendar-caption", children: "October 2021" }),
|
|
10811
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarTableHead, { showWeek }),
|
|
10812
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tbody", { className: "k-calendar-tbody", children: [
|
|
10813
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10814
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "39", weekCell: true }),
|
|
10815
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "30", otherMonth: true, showOtherMonth }),
|
|
10816
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "1" }),
|
|
10817
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2" }),
|
|
10818
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "3" }),
|
|
10819
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "4" }),
|
|
10820
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "5" }),
|
|
10821
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "6", weekend: true })
|
|
10911
10822
|
] }),
|
|
10912
|
-
/* @__PURE__ */ (0,
|
|
10913
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10914
|
-
/* @__PURE__ */ (0,
|
|
10915
|
-
/* @__PURE__ */ (0,
|
|
10916
|
-
/* @__PURE__ */ (0,
|
|
10917
|
-
/* @__PURE__ */ (0,
|
|
10918
|
-
/* @__PURE__ */ (0,
|
|
10919
|
-
/* @__PURE__ */ (0,
|
|
10920
|
-
/* @__PURE__ */ (0,
|
|
10823
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10824
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "40", weekCell: true }),
|
|
10825
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "7", weekend: true }),
|
|
10826
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "8", hover: true }),
|
|
10827
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "9", focus: true }),
|
|
10828
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "10", selected: true }),
|
|
10829
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "11", hover: true, focus: true }),
|
|
10830
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "12", hover: true, selected: true }),
|
|
10831
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "13", weekend: true })
|
|
10921
10832
|
] }),
|
|
10922
|
-
/* @__PURE__ */ (0,
|
|
10923
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10924
|
-
/* @__PURE__ */ (0,
|
|
10925
|
-
/* @__PURE__ */ (0,
|
|
10926
|
-
/* @__PURE__ */ (0,
|
|
10927
|
-
/* @__PURE__ */ (0,
|
|
10928
|
-
/* @__PURE__ */ (0,
|
|
10929
|
-
/* @__PURE__ */ (0,
|
|
10930
|
-
/* @__PURE__ */ (0,
|
|
10833
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10834
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "41", weekCell: true }),
|
|
10835
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "14", weekend: true }),
|
|
10836
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "15" }),
|
|
10837
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "16", today: true }),
|
|
10838
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "17" }),
|
|
10839
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "18" }),
|
|
10840
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "19" }),
|
|
10841
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "20", weekend: true })
|
|
10931
10842
|
] }),
|
|
10932
|
-
/* @__PURE__ */ (0,
|
|
10933
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10934
|
-
/* @__PURE__ */ (0,
|
|
10935
|
-
/* @__PURE__ */ (0,
|
|
10936
|
-
/* @__PURE__ */ (0,
|
|
10937
|
-
/* @__PURE__ */ (0,
|
|
10938
|
-
/* @__PURE__ */ (0,
|
|
10939
|
-
/* @__PURE__ */ (0,
|
|
10940
|
-
/* @__PURE__ */ (0,
|
|
10843
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10844
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "42", weekCell: true }),
|
|
10845
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "21", weekend: true }),
|
|
10846
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "22" }),
|
|
10847
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "23" }),
|
|
10848
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "24" }),
|
|
10849
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "25", rangeStart: selectedRange, selected: selectedRange }),
|
|
10850
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "26", rangeMid: selectedRange }),
|
|
10851
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "27", weekend: true, rangeMid: selectedRange })
|
|
10941
10852
|
] }),
|
|
10942
|
-
/* @__PURE__ */ (0,
|
|
10943
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10944
|
-
/* @__PURE__ */ (0,
|
|
10945
|
-
/* @__PURE__ */ (0,
|
|
10946
|
-
/* @__PURE__ */ (0,
|
|
10947
|
-
/* @__PURE__ */ (0,
|
|
10948
|
-
/* @__PURE__ */ (0,
|
|
10949
|
-
/* @__PURE__ */ (0,
|
|
10950
|
-
/* @__PURE__ */ (0,
|
|
10853
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10854
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "43", weekCell: true }),
|
|
10855
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "28", weekend: true, rangeMid: selectedRange }),
|
|
10856
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "29", rangeEnd: selectedRange, focus: selectedRange, selected: selectedRange }),
|
|
10857
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "30" }),
|
|
10858
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "31" }),
|
|
10859
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "1", otherMonth: true, showOtherMonth }),
|
|
10860
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "2", otherMonth: true, showOtherMonth }),
|
|
10861
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "3", otherMonth: true, weekend: true, showOtherMonth })
|
|
10951
10862
|
] }),
|
|
10952
|
-
/* @__PURE__ */ (0,
|
|
10953
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10954
|
-
/* @__PURE__ */ (0,
|
|
10955
|
-
/* @__PURE__ */ (0,
|
|
10956
|
-
/* @__PURE__ */ (0,
|
|
10957
|
-
/* @__PURE__ */ (0,
|
|
10958
|
-
/* @__PURE__ */ (0,
|
|
10959
|
-
/* @__PURE__ */ (0,
|
|
10960
|
-
/* @__PURE__ */ (0,
|
|
10863
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10864
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "44", weekCell: true }),
|
|
10865
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "4", otherMonth: true, weekend: true, showOtherMonth }),
|
|
10866
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "5", otherMonth: true, showOtherMonth }),
|
|
10867
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "6", otherMonth: true, showOtherMonth }),
|
|
10868
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "7", otherMonth: true, showOtherMonth }),
|
|
10869
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "8", otherMonth: true, showOtherMonth }),
|
|
10870
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "9", otherMonth: true, showOtherMonth }),
|
|
10871
|
+
/* @__PURE__ */ (0, import_jsx_runtime182.jsx)(CalendarCell, { text: "10", otherMonth: true, weekend: true, showOtherMonth })
|
|
10961
10872
|
] })
|
|
10962
10873
|
] })
|
|
10963
10874
|
]
|
|
@@ -10966,52 +10877,52 @@ var CalendarTable = (props) => {
|
|
|
10966
10877
|
};
|
|
10967
10878
|
|
|
10968
10879
|
// src/calendar/calendar-table-head.tsx
|
|
10969
|
-
var
|
|
10880
|
+
var import_jsx_runtime183 = require("react/jsx-runtime");
|
|
10970
10881
|
var className19 = `k-calendar-thead`;
|
|
10971
10882
|
var CalendarTableHead = (props) => {
|
|
10972
10883
|
const {
|
|
10973
10884
|
showWeek,
|
|
10974
10885
|
...other
|
|
10975
10886
|
} = props;
|
|
10976
|
-
return /* @__PURE__ */ (0,
|
|
10887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
|
|
10977
10888
|
"thead",
|
|
10978
10889
|
{
|
|
10979
10890
|
...other,
|
|
10980
10891
|
className: classNames(props.className, className19),
|
|
10981
|
-
children: /* @__PURE__ */ (0,
|
|
10982
|
-
showWeek && /* @__PURE__ */ (0,
|
|
10983
|
-
/* @__PURE__ */ (0,
|
|
10984
|
-
/* @__PURE__ */ (0,
|
|
10985
|
-
/* @__PURE__ */ (0,
|
|
10986
|
-
/* @__PURE__ */ (0,
|
|
10987
|
-
/* @__PURE__ */ (0,
|
|
10988
|
-
/* @__PURE__ */ (0,
|
|
10989
|
-
/* @__PURE__ */ (0,
|
|
10892
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("tr", { className: "k-calendar-tr", children: [
|
|
10893
|
+
showWeek && /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { weekCell: true, headerCell: true }),
|
|
10894
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Su", headerCell: true }),
|
|
10895
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Mo", headerCell: true }),
|
|
10896
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Tu", headerCell: true }),
|
|
10897
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "We", headerCell: true }),
|
|
10898
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Th", headerCell: true }),
|
|
10899
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Fr", headerCell: true }),
|
|
10900
|
+
/* @__PURE__ */ (0, import_jsx_runtime183.jsx)(CalendarCell, { text: "Sa", headerCell: true })
|
|
10990
10901
|
] })
|
|
10991
10902
|
}
|
|
10992
10903
|
);
|
|
10993
10904
|
};
|
|
10994
10905
|
|
|
10995
10906
|
// src/calendar/calendar-view.tsx
|
|
10996
|
-
var
|
|
10907
|
+
var import_jsx_runtime184 = require("react/jsx-runtime");
|
|
10997
10908
|
var className20 = `k-calendar-view`;
|
|
10998
|
-
var
|
|
10909
|
+
var defaultProps63 = {
|
|
10999
10910
|
viewsCount: 1,
|
|
11000
10911
|
orientation: "horizontal",
|
|
11001
10912
|
calendarView: "month"
|
|
11002
10913
|
};
|
|
11003
10914
|
var CalendarView = (props) => {
|
|
11004
10915
|
const {
|
|
11005
|
-
orientation =
|
|
11006
|
-
calendarView =
|
|
11007
|
-
viewsCount =
|
|
10916
|
+
orientation = defaultProps63.orientation,
|
|
10917
|
+
calendarView = defaultProps63.calendarView,
|
|
10918
|
+
viewsCount = defaultProps63.viewsCount,
|
|
11008
10919
|
showWeek,
|
|
11009
10920
|
showOtherMonth,
|
|
11010
10921
|
showCalendarCaption,
|
|
11011
10922
|
selectedRange,
|
|
11012
10923
|
...other
|
|
11013
10924
|
} = props;
|
|
11014
|
-
return /* @__PURE__ */ (0,
|
|
10925
|
+
return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
|
|
11015
10926
|
"div",
|
|
11016
10927
|
{
|
|
11017
10928
|
...other,
|
|
@@ -11027,7 +10938,7 @@ var CalendarView = (props) => {
|
|
|
11027
10938
|
}
|
|
11028
10939
|
),
|
|
11029
10940
|
children: [...Array(viewsCount)].map(
|
|
11030
|
-
(_e, i) => /* @__PURE__ */ (0,
|
|
10941
|
+
(_e, i) => /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
|
|
11031
10942
|
CalendarTable,
|
|
11032
10943
|
{
|
|
11033
10944
|
calendarView,
|
|
@@ -11043,6 +10954,103 @@ var CalendarView = (props) => {
|
|
|
11043
10954
|
);
|
|
11044
10955
|
};
|
|
11045
10956
|
|
|
10957
|
+
// src/dateinput/dateinput.spec.tsx
|
|
10958
|
+
var import_jsx_runtime185 = require("react/jsx-runtime");
|
|
10959
|
+
var DATEINPUT_CLASSNAME = `k-dateinput`;
|
|
10960
|
+
var states67 = [
|
|
10961
|
+
States.hover,
|
|
10962
|
+
States.focus,
|
|
10963
|
+
States.valid,
|
|
10964
|
+
States.invalid,
|
|
10965
|
+
States.required,
|
|
10966
|
+
States.disabled,
|
|
10967
|
+
States.loading,
|
|
10968
|
+
States.readonly
|
|
10969
|
+
];
|
|
10970
|
+
var options64 = {
|
|
10971
|
+
size: [Size.small, Size.medium, Size.large],
|
|
10972
|
+
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
10973
|
+
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
10974
|
+
};
|
|
10975
|
+
var defaultProps64 = {
|
|
10976
|
+
size: Input.defaultProps.size,
|
|
10977
|
+
rounded: Input.defaultProps.rounded,
|
|
10978
|
+
fillMode: Input.defaultProps.fillMode
|
|
10979
|
+
};
|
|
10980
|
+
var DateInput = (props) => {
|
|
10981
|
+
const {
|
|
10982
|
+
value,
|
|
10983
|
+
placeholder,
|
|
10984
|
+
size,
|
|
10985
|
+
rounded,
|
|
10986
|
+
fillMode,
|
|
10987
|
+
hover,
|
|
10988
|
+
focus,
|
|
10989
|
+
valid,
|
|
10990
|
+
invalid,
|
|
10991
|
+
required,
|
|
10992
|
+
loading,
|
|
10993
|
+
disabled,
|
|
10994
|
+
readonly,
|
|
10995
|
+
showSpinButton,
|
|
10996
|
+
...other
|
|
10997
|
+
} = props;
|
|
10998
|
+
return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
|
|
10999
|
+
Input,
|
|
11000
|
+
{
|
|
11001
|
+
...other,
|
|
11002
|
+
size,
|
|
11003
|
+
rounded,
|
|
11004
|
+
fillMode,
|
|
11005
|
+
hover,
|
|
11006
|
+
focus,
|
|
11007
|
+
valid,
|
|
11008
|
+
invalid,
|
|
11009
|
+
required,
|
|
11010
|
+
loading,
|
|
11011
|
+
disabled,
|
|
11012
|
+
readonly,
|
|
11013
|
+
className: classNames(props.className, DATEINPUT_CLASSNAME),
|
|
11014
|
+
children: [
|
|
11015
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(InputInnerInput, { placeholder, value }),
|
|
11016
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
11017
|
+
InputValidationIcon,
|
|
11018
|
+
{
|
|
11019
|
+
valid,
|
|
11020
|
+
invalid,
|
|
11021
|
+
loading,
|
|
11022
|
+
disabled
|
|
11023
|
+
}
|
|
11024
|
+
),
|
|
11025
|
+
/* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
11026
|
+
InputLoadingIcon,
|
|
11027
|
+
{
|
|
11028
|
+
loading,
|
|
11029
|
+
disabled
|
|
11030
|
+
}
|
|
11031
|
+
),
|
|
11032
|
+
showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
|
|
11033
|
+
SpinButton,
|
|
11034
|
+
{
|
|
11035
|
+
className: "k-input-spinner",
|
|
11036
|
+
size,
|
|
11037
|
+
fillMode
|
|
11038
|
+
}
|
|
11039
|
+
)
|
|
11040
|
+
]
|
|
11041
|
+
}
|
|
11042
|
+
);
|
|
11043
|
+
};
|
|
11044
|
+
DateInput.states = states67;
|
|
11045
|
+
DateInput.options = options64;
|
|
11046
|
+
DateInput.className = DATEINPUT_CLASSNAME;
|
|
11047
|
+
DateInput.defaultProps = defaultProps64;
|
|
11048
|
+
var dateinput_spec_default = DateInput;
|
|
11049
|
+
|
|
11050
|
+
// src/dateinput/templates/dateinput-normal.tsx
|
|
11051
|
+
var import_jsx_runtime186 = require("react/jsx-runtime");
|
|
11052
|
+
var DateInputNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(dateinput_spec_default, { ...props });
|
|
11053
|
+
|
|
11046
11054
|
// src/datepicker/datepicker.spec.tsx
|
|
11047
11055
|
var import_jsx_runtime187 = require("react/jsx-runtime");
|
|
11048
11056
|
var DATEPICKER_CLASSNAME = `k-datepicker`;
|