@progress/kendo-themes-html 6.0.4-dev.0 → 6.0.4-dev.1
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/appbar/tests/appbar.js +1 -1
- package/dist/appbar/tests/appbar.js.map +2 -2
- package/dist/bottom-nav/tests/bottom-nav-colors.js +1 -1
- package/dist/bottom-nav/tests/bottom-nav-colors.js.map +2 -2
- package/dist/calendar/tests/calendar-classic-jquery.js +1 -1
- package/dist/calendar/tests/calendar-classic-jquery.js.map +2 -2
- package/dist/calendar/tests/calendar-infinite-rtl.js +1 -1
- package/dist/calendar/tests/calendar-infinite-rtl.js.map +2 -2
- package/dist/calendar/tests/calendar-infinite.js +1 -1
- package/dist/calendar/tests/calendar-infinite.js.map +2 -2
- package/dist/calendar/tests/calendar-modern-angular.js +1 -1
- package/dist/calendar/tests/calendar-modern-angular.js.map +2 -2
- package/dist/calendar/tests/calendar-modern-jquery.js +1 -1
- package/dist/calendar/tests/calendar-modern-jquery.js.map +2 -2
- package/dist/drawer/tests/drawer-rtl.js +1 -9
- package/dist/drawer/tests/drawer-rtl.js.map +2 -2
- package/dist/drawer/tests/drawer.js +1 -9
- package/dist/drawer/tests/drawer.js.map +2 -2
- package/dist/grid/tests/grid-grouping-detail-template.js +1 -1
- package/dist/grid/tests/grid-grouping-detail-template.js.map +2 -2
- package/dist/grid/tests/grid-sticky-multicolumn-headers.js +1 -1
- package/dist/grid/tests/grid-sticky-multicolumn-headers.js.map +2 -2
- package/package.json +2 -2
- package/src/appbar/tests/appbar.tsx +13 -15
- package/src/bottom-nav/tests/bottom-nav-colors.tsx +18 -18
- package/src/calendar/tests/calendar-classic-jquery.tsx +176 -2
- package/src/calendar/tests/calendar-infinite-rtl.tsx +723 -0
- package/src/calendar/tests/calendar-infinite.tsx +723 -0
- package/src/calendar/tests/calendar-modern-angular.tsx +4 -2
- package/src/calendar/tests/calendar-modern-jquery.tsx +4 -2
- package/src/drawer/tests/drawer-rtl.tsx +6 -16
- package/src/drawer/tests/drawer.tsx +6 -16
- package/src/grid/tests/grid-grouping-detail-template.tsx +4 -4
- package/src/grid/tests/grid-sticky-multicolumn-headers.tsx +2 -2
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
document.getElementById("app")
|
|
581
581
|
);
|
|
582
582
|
root.render(
|
|
583
|
-
/* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { id: "test-area", className: "k-d-grid k-grid-cols-3" }, /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern month"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern week number"), /* @__PURE__ */ import_react.default.createElement("span", null), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true, showWeek: true })), /* @__PURE__ */ import_react.default.createElement("section", null), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern year"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern decade"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern century"), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "year", calendarHeaderText: "2019" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "decade", calendarHeaderText: "2020 - 2029" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "century", calendarHeaderText: "2000 - 2099" }))))
|
|
583
|
+
/* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { id: "test-area", className: "k-d-grid k-grid-cols-3" }, /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern month"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern week number"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern week number with selected range"), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true, showWeek: true })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { className: "k-calendar-range", calendarView: "month", showOtherMonth: true, showWeek: true, selectedRange: true })), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern year"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern decade"), /* @__PURE__ */ import_react.default.createElement("span", null, "angular modern century"), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "year", calendarHeaderText: "2019" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "decade", calendarHeaderText: "2020 - 2029" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "century", calendarHeaderText: "2000 - 2099" }))))
|
|
584
584
|
);
|
|
585
585
|
})();
|
|
586
586
|
//# sourceMappingURL=calendar-modern-angular.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/calendar/tests/calendar-modern-angular.tsx", "../../../src/calendar/calendar.tsx", "../../../src/utils/classNames.ts", "../../../src/utils/theme.ts", "../../../src/calendar/calendar-cell.tsx", "../../../src/calendar/calendar-header.tsx", "../../../src/button/button.tsx", "../../../src/icon/icon.tsx", "../../../src/calendar/calendar-footer.tsx", "../../../src/calendar/calendar-table.tsx", "../../../src/calendar/calendar-table-head.tsx", "../../../src/calendar/calendar-view.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport { Calendar } from '../../calendar';\n\nconst root = ReactDOM.createRoot(\n document.getElementById('app') as HTMLElement\n);\n\nroot.render(\n <>\n <div id=\"test-area\" className=\"k-d-grid k-grid-cols-3\">\n\n <span>angular modern month</span>\n <span>angular modern week number</span>\n <span></span>\n\n <section>\n <Calendar calendarView=\"month\" showOtherMonth></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"month\" showOtherMonth showWeek></Calendar>\n </section>\n\n <section></section>\n\n <span>angular modern year</span>\n <span>angular modern decade</span>\n <span>angular modern century</span>\n\n <section>\n <Calendar calendarView=\"year\" calendarHeaderText=\"2019\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"decade\" calendarHeaderText=\"2020 - 2029\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"century\" calendarHeaderText=\"2000 - 2099\"></Calendar>\n </section>\n\n </div>\n </>\n);\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarView, CalendarHeader, CalendarFooter } from '../calendar';\n\nexport interface CalendarProps {\n className?: string;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n calendarHeaderText?: string;\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n showCalendarFooter?: boolean;\n selectedRange?: boolean;\n}\n\nexport class Calendar extends React.Component<CalendarProps> {\n\n static defaultProps = {\n size: 'medium',\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n calendarHeaderText: 'October 2021',\n };\n\n render() {\n const {\n className,\n size,\n orientation,\n calendarView,\n calendarHeaderText,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n showCalendarFooter,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar',\n {\n [`k-calendar-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n 'k-week-number': showWeek,\n }\n )}>\n <CalendarHeader\n showToday={showCalendarFooter ? false : true }\n calendarHeaderText={calendarHeaderText}\n orientation={orientation}\n size={size}\n />\n\n <CalendarView\n calendarView={calendarView}\n viewsCount={viewsCount}\n orientation={orientation}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n\n {showCalendarFooter && <CalendarFooter /> }\n </div>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n", "export interface KendoThemeMaps {\n sizeMap: Record<Exclude<any, null>, string>;\n roundedMap: Record<Exclude<any, null>, string>;\n calloutMap: Record<Exclude<any, null>, string>;\n orientationMap: Record<Exclude<any, null>, string>;\n}\n\nexport const kendoThemeMaps: KendoThemeMaps = {\n sizeMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n roundedMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n calloutMap: {\n top: 'n',\n bottom: 's',\n left: 'w',\n right: 'e'\n },\n orientationMap: {\n vertical: 'vstack',\n horizontal: 'hstack',\n },\n};\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n rangeStart?: boolean;\n rangeMid?: boolean;\n rangeEnd?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n rangeStart,\n rangeMid,\n rangeEnd,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n 'k-range-start': rangeStart,\n 'k-range-mid': rangeMid,\n 'k-range-end': rangeEnd\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\nexport interface CalendarHeaderProps {\n className?: string;\n calendarHeaderText?: string;\n showToday?: boolean;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport class CalendarHeader extends React.Component<CalendarHeaderProps> {\n\n static defaultProps = {\n calendarHeaderText: 'October 2021',\n showToday: true,\n orientation: 'horizontal',\n size: 'medium'\n };\n\n render() {\n const {\n className,\n calendarHeaderText,\n showToday,\n orientation,\n size,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-header',\n {\n 'k-vstack': orientation === 'vertical',\n }\n )}>\n <Button className=\"k-calendar-title\" text={calendarHeaderText} size={size} fillMode=\"flat\"></Button>\n <span className=\"k-spacer\"></span>\n <span className=\"k-calendar-nav\">\n <Button className=\"k-calendar-nav-prev\" icon=\"arrow-chevron-left\" size={size} fillMode=\"flat\"></Button>\n {showToday && <Button size={size} fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Today</Button>}\n <Button className=\"k-calendar-nav-next\" icon=\"arrow-chevron-right\" size={size} fillMode=\"flat\"></Button>\n </span>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { Icon } from '../icon/';\n\nexport interface ButtonProps {\n children?: React.ReactNode;\n className?: string;\n dir?: string;\n style?: React.CSSProperties;\n iconClassName?: string;\n text?: string;\n icon?: string;\n size?: null | 'small' | 'medium' | 'large';\n rounded: null | 'small' | 'medium' | 'large' | 'full';\n fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | 'clear';\n themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n showArrow?: boolean;\n arrowIconName?: string;\n}\n\nexport class Button extends React.Component<ButtonProps> {\n\n static defaultProps = {\n size: 'medium',\n rounded: 'medium',\n fillMode: 'solid',\n themeColor: 'base',\n showArrow: false,\n arrowIconName: 'arrow-s'\n };\n\n render() {\n const {\n children,\n className,\n iconClassName,\n text,\n icon,\n size,\n rounded,\n fillMode,\n themeColor,\n hover,\n focus,\n active,\n selected,\n disabled,\n showArrow,\n arrowIconName,\n ...htmlAttributes\n } = this.props;\n\n const hasIcon = (icon !== undefined);\n const hasChildren = children !== undefined;\n\n return (\n <button\n style={this.props.style}\n {...htmlAttributes}\n dir={this.props.dir}\n className={classNames(\n className,\n 'k-button',\n {\n [`k-button-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n [`k-button-${fillMode}`]: fillMode,\n [`k-button-${fillMode}-${themeColor}`]: Boolean(fillMode && themeColor),\n [`k-rounded-${kendoThemeMaps.roundedMap[rounded!] || rounded}`]: rounded,\n 'k-icon-button': !text && !hasChildren && hasIcon,\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled\n }\n )}>\n {icon && <Icon className={classNames(iconClassName, 'k-button-icon')} name={icon} />}\n\n {text\n ?\n <>\n {text && <span className=\"k-button-text\">{text}</span>}\n {children}\n </>\n : children && <span className=\"k-button-text\">{children}</span>\n }\n\n {showArrow && <span className=\"k-menu-button-arrow k-button-arrow\"><Icon name={arrowIconName} /></span>}\n </button>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\nexport interface IconProps {\n className?: string;\n style?: React.CSSProperties;\n name?: string;\n size?: null | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';\n rotate?: null | '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';\n flip?: null | 'v' | 'h';\n}\n\nexport class Icon extends React.Component<IconProps> {\n\n render() {\n const {\n className,\n style,\n name,\n size,\n rotate,\n flip\n } = this.props;\n\n return (\n <>\n { name &&\n <span\n className={classNames(\n className,\n 'k-icon',\n {\n [`k-i-${name}`]: name,\n [`k-icon-${size}`]: size,\n [`k-rotate-${rotate}`]: rotate,\n [`k-flip-${flip}`]: flip\n }\n )}\n style={style}>\n </span>\n }\n </>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <Button fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Monday, October 29, 2021</Button>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell, CalendarTableHead } from '../calendar';\n\nexport interface CalendarTableProps {\n className?: string;\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n showOtherMonth?: boolean;\n showWeek?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarTable extends React.Component<CalendarTableProps> {\n\n\n render() {\n const {\n className,\n calendarView,\n showOtherMonth,\n showWeek,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n if (calendarView === 'year') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2022</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Jan\" />\n <CalendarCell text=\"Feb\" />\n <CalendarCell text=\"Mar\" />\n <CalendarCell text=\"Apr\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"May\" />\n <CalendarCell text=\"Jun\" hover />\n <CalendarCell text=\"Jul\" focus />\n <CalendarCell text=\"Au\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Sep\" />\n <CalendarCell text=\"Oct\" today />\n <CalendarCell text=\"Nov\" />\n <CalendarCell text=\"Dec\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'decade') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2020 - 2029</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell className=\"k-out-of-range\" />\n <CalendarCell text=\"2020\" />\n <CalendarCell text=\"2021\" today />\n <CalendarCell text=\"2022\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2023\" />\n <CalendarCell text=\"2024\" hover />\n <CalendarCell text=\"2025\" focus />\n <CalendarCell text=\"2026\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2027\" />\n <CalendarCell text=\"2028\" />\n <CalendarCell text=\"2029\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'century') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2000 - 2099</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"1990 - 1999\" />\n <CalendarCell text=\"2000 - 2009\" />\n <CalendarCell text=\"2010 - 2019\" today />\n <CalendarCell text=\"2020 - 2029\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2030 - 2039\" />\n <CalendarCell text=\"2040 - 2049\" hover />\n <CalendarCell text=\"2050 - 2059\" focus />\n <CalendarCell text=\"2060 - 2069\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2070 - 2079\" />\n <CalendarCell text=\"2080 - 2089\" />\n <CalendarCell text=\"2090 - 2099\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">October 2021</caption> }\n <CalendarTableHead showWeek={showWeek} />\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"39\" weekCell /> }\n <CalendarCell text=\"30\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"1\" />\n <CalendarCell text=\"2\" />\n <CalendarCell text=\"3\" />\n <CalendarCell text=\"4\" />\n <CalendarCell text=\"5\" />\n <CalendarCell text=\"6\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"40\" weekCell /> }\n <CalendarCell text=\"7\" weekend />\n <CalendarCell text=\"8\" hover />\n <CalendarCell text=\"9\" focus />\n <CalendarCell text=\"10\" selected />\n <CalendarCell text=\"11\" hover focus />\n <CalendarCell text=\"12\" hover selected />\n <CalendarCell text=\"13\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"41\" weekCell /> }\n <CalendarCell text=\"14\" weekend />\n <CalendarCell text=\"15\" />\n <CalendarCell text=\"16\" today />\n <CalendarCell text=\"17\" />\n <CalendarCell text=\"18\" />\n <CalendarCell text=\"19\" />\n <CalendarCell text=\"20\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"42\" weekCell /> }\n <CalendarCell text=\"21\" weekend />\n <CalendarCell text=\"22\" />\n <CalendarCell text=\"23\" />\n <CalendarCell text=\"24\" />\n <CalendarCell text=\"25\" rangeStart={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"26\" rangeMid={selectedRange} />\n <CalendarCell text=\"27\" weekend rangeMid={selectedRange} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"43\" weekCell /> }\n <CalendarCell text=\"28\" weekend rangeMid={selectedRange} />\n <CalendarCell text=\"29\" rangeEnd={selectedRange} focus={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"30\" />\n <CalendarCell text=\"31\" />\n <CalendarCell text=\"1\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"2\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"3\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"44\" weekCell /> }\n <CalendarCell text=\"4\" otherMonth weekend showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"5\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"6\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"7\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"8\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"9\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"10\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n </tbody>\n </table>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell } from '../calendar';\n\nexport interface CalendarTableHeadProps {\n className?: string;\n showWeek?: boolean,\n}\n\nexport class CalendarTableHead extends React.Component<CalendarTableHeadProps> {\n\n\n render() {\n const {\n className,\n showWeek,\n ...htmlAttributes\n } = this.props;\n\n return (\n <thead\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-thead'\n )}>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell weekCell headerCell /> }\n <CalendarCell text=\"Su\" headerCell />\n <CalendarCell text=\"Mo\" headerCell />\n <CalendarCell text=\"Tu\" headerCell />\n <CalendarCell text=\"We\" headerCell />\n <CalendarCell text=\"Th\" headerCell />\n <CalendarCell text=\"Fr\" headerCell />\n <CalendarCell text=\"Sa\" headerCell />\n </tr>\n </thead>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarTable } from '../calendar';\n\nexport interface CalendarViewProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal',\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarView extends React.Component<CalendarViewProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n const views = Number(viewsCount);\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-view',\n `k-calendar-${calendarView}view`,\n 'k-align-items-start',\n 'k-justify-content-center',\n {\n [`k-${kendoThemeMaps.orientationMap[orientation!] || orientation}`]: orientation,\n }\n )}>\n\n { [ ...Array(views) ].map((_e, i) =>\n <CalendarTable key={i}\n calendarView={calendarView}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n )}\n </div>\n );\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qBAAkB;AAClB,sBAAqB;;;ACDrB,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C;AAAA,MAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG;AAAA,IACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ACnBO,MAAM,iBAAiC;AAAA,IAC1C,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,OAAO;AAAA,MACP,QAAQ;AAAA,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AAA;AAAA,UACJ;AAAA,QACJ;AAAA,MACJ;AAAA,IAER;AAAA,EACJ;AA/CI,EAFS,aAEF,eAAe;AAAA,IAClB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,cAAc;AAAA,EAClB;;;AXjBJ,MAAM,OAAO,cAAAC,QAAS;AAAA,IAClB,SAAS,eAAe,KAAK;AAAA,EACjC;AAEA,OAAK;AAAA,IACD,6BAAAC,QAAA,2BAAAA,QAAA,gBACI,6BAAAA,QAAA,cAAC,SAAI,IAAG,aAAY,WAAU,4BAE1B,6BAAAA,QAAA,cAAC,cAAK,sBAAoB,GAC1B,6BAAAA,QAAA,cAAC,cAAK,4BAA0B,GAChC,6BAAAA,QAAA,cAAC,YAAK,GAEN,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,SAAQ,gBAAc,MAAC,CAClD,GAEA,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,SAAQ,gBAAc,MAAC,UAAQ,MAAC,CAC3D,GAEA,6BAAAA,QAAA,cAAC,eAAQ,GAET,6BAAAA,QAAA,cAAC,cAAK,qBAAmB,GACzB,6BAAAA,QAAA,cAAC,cAAK,uBAAqB,GAC3B,6BAAAA,QAAA,cAAC,cAAK,wBAAsB,GAE5B,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,QAAO,oBAAmB,QAAO,CAC5D,GAEA,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,UAAS,oBAAmB,eAAc,CACrE,GAEA,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,WAAU,oBAAmB,eAAc,CACtE,CAEJ,CACJ;AAAA,EACJ;",
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport { Calendar } from '../../calendar';\n\nconst root = ReactDOM.createRoot(\n document.getElementById('app') as HTMLElement\n);\n\nroot.render(\n <>\n <div id=\"test-area\" className=\"k-d-grid k-grid-cols-3\">\n\n <span>angular modern month</span>\n <span>angular modern week number</span>\n <span>angular modern week number with selected range</span>\n\n <section>\n <Calendar calendarView=\"month\" showOtherMonth></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"month\" showOtherMonth showWeek></Calendar>\n </section>\n\n <section>\n <Calendar className=\"k-calendar-range\" calendarView=\"month\" showOtherMonth showWeek selectedRange></Calendar>\n </section>\n\n <span>angular modern year</span>\n <span>angular modern decade</span>\n <span>angular modern century</span>\n\n <section>\n <Calendar calendarView=\"year\" calendarHeaderText=\"2019\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"decade\" calendarHeaderText=\"2020 - 2029\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"century\" calendarHeaderText=\"2000 - 2099\"></Calendar>\n </section>\n\n </div>\n </>\n);\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarView, CalendarHeader, CalendarFooter } from '../calendar';\n\nexport interface CalendarProps {\n className?: string;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n calendarHeaderText?: string;\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n showCalendarFooter?: boolean;\n selectedRange?: boolean;\n}\n\nexport class Calendar extends React.Component<CalendarProps> {\n\n static defaultProps = {\n size: 'medium',\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n calendarHeaderText: 'October 2021',\n };\n\n render() {\n const {\n className,\n size,\n orientation,\n calendarView,\n calendarHeaderText,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n showCalendarFooter,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar',\n {\n [`k-calendar-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n 'k-week-number': showWeek,\n }\n )}>\n <CalendarHeader\n showToday={showCalendarFooter ? false : true }\n calendarHeaderText={calendarHeaderText}\n orientation={orientation}\n size={size}\n />\n\n <CalendarView\n calendarView={calendarView}\n viewsCount={viewsCount}\n orientation={orientation}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n\n {showCalendarFooter && <CalendarFooter /> }\n </div>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n", "export interface KendoThemeMaps {\n sizeMap: Record<Exclude<any, null>, string>;\n roundedMap: Record<Exclude<any, null>, string>;\n calloutMap: Record<Exclude<any, null>, string>;\n orientationMap: Record<Exclude<any, null>, string>;\n}\n\nexport const kendoThemeMaps: KendoThemeMaps = {\n sizeMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n roundedMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n calloutMap: {\n top: 'n',\n bottom: 's',\n left: 'w',\n right: 'e'\n },\n orientationMap: {\n vertical: 'vstack',\n horizontal: 'hstack',\n },\n};\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n rangeStart?: boolean;\n rangeMid?: boolean;\n rangeEnd?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n rangeStart,\n rangeMid,\n rangeEnd,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n 'k-range-start': rangeStart,\n 'k-range-mid': rangeMid,\n 'k-range-end': rangeEnd\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\nexport interface CalendarHeaderProps {\n className?: string;\n calendarHeaderText?: string;\n showToday?: boolean;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport class CalendarHeader extends React.Component<CalendarHeaderProps> {\n\n static defaultProps = {\n calendarHeaderText: 'October 2021',\n showToday: true,\n orientation: 'horizontal',\n size: 'medium'\n };\n\n render() {\n const {\n className,\n calendarHeaderText,\n showToday,\n orientation,\n size,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-header',\n {\n 'k-vstack': orientation === 'vertical',\n }\n )}>\n <Button className=\"k-calendar-title\" text={calendarHeaderText} size={size} fillMode=\"flat\"></Button>\n <span className=\"k-spacer\"></span>\n <span className=\"k-calendar-nav\">\n <Button className=\"k-calendar-nav-prev\" icon=\"arrow-chevron-left\" size={size} fillMode=\"flat\"></Button>\n {showToday && <Button size={size} fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Today</Button>}\n <Button className=\"k-calendar-nav-next\" icon=\"arrow-chevron-right\" size={size} fillMode=\"flat\"></Button>\n </span>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { Icon } from '../icon/';\n\nexport interface ButtonProps {\n children?: React.ReactNode;\n className?: string;\n dir?: string;\n style?: React.CSSProperties;\n iconClassName?: string;\n text?: string;\n icon?: string;\n size?: null | 'small' | 'medium' | 'large';\n rounded: null | 'small' | 'medium' | 'large' | 'full';\n fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | 'clear';\n themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n showArrow?: boolean;\n arrowIconName?: string;\n}\n\nexport class Button extends React.Component<ButtonProps> {\n\n static defaultProps = {\n size: 'medium',\n rounded: 'medium',\n fillMode: 'solid',\n themeColor: 'base',\n showArrow: false,\n arrowIconName: 'arrow-s'\n };\n\n render() {\n const {\n children,\n className,\n iconClassName,\n text,\n icon,\n size,\n rounded,\n fillMode,\n themeColor,\n hover,\n focus,\n active,\n selected,\n disabled,\n showArrow,\n arrowIconName,\n ...htmlAttributes\n } = this.props;\n\n const hasIcon = (icon !== undefined);\n const hasChildren = children !== undefined;\n\n return (\n <button\n style={this.props.style}\n {...htmlAttributes}\n dir={this.props.dir}\n className={classNames(\n className,\n 'k-button',\n {\n [`k-button-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n [`k-button-${fillMode}`]: fillMode,\n [`k-button-${fillMode}-${themeColor}`]: Boolean(fillMode && themeColor),\n [`k-rounded-${kendoThemeMaps.roundedMap[rounded!] || rounded}`]: rounded,\n 'k-icon-button': !text && !hasChildren && hasIcon,\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled\n }\n )}>\n {icon && <Icon className={classNames(iconClassName, 'k-button-icon')} name={icon} />}\n\n {text\n ?\n <>\n {text && <span className=\"k-button-text\">{text}</span>}\n {children}\n </>\n : children && <span className=\"k-button-text\">{children}</span>\n }\n\n {showArrow && <span className=\"k-menu-button-arrow k-button-arrow\"><Icon name={arrowIconName} /></span>}\n </button>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\nexport interface IconProps {\n className?: string;\n style?: React.CSSProperties;\n name?: string;\n size?: null | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';\n rotate?: null | '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';\n flip?: null | 'v' | 'h';\n}\n\nexport class Icon extends React.Component<IconProps> {\n\n render() {\n const {\n className,\n style,\n name,\n size,\n rotate,\n flip\n } = this.props;\n\n return (\n <>\n { name &&\n <span\n className={classNames(\n className,\n 'k-icon',\n {\n [`k-i-${name}`]: name,\n [`k-icon-${size}`]: size,\n [`k-rotate-${rotate}`]: rotate,\n [`k-flip-${flip}`]: flip\n }\n )}\n style={style}>\n </span>\n }\n </>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <Button fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Monday, October 29, 2021</Button>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell, CalendarTableHead } from '../calendar';\n\nexport interface CalendarTableProps {\n className?: string;\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n showOtherMonth?: boolean;\n showWeek?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarTable extends React.Component<CalendarTableProps> {\n\n\n render() {\n const {\n className,\n calendarView,\n showOtherMonth,\n showWeek,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n if (calendarView === 'year') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2022</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Jan\" />\n <CalendarCell text=\"Feb\" />\n <CalendarCell text=\"Mar\" />\n <CalendarCell text=\"Apr\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"May\" />\n <CalendarCell text=\"Jun\" hover />\n <CalendarCell text=\"Jul\" focus />\n <CalendarCell text=\"Au\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Sep\" />\n <CalendarCell text=\"Oct\" today />\n <CalendarCell text=\"Nov\" />\n <CalendarCell text=\"Dec\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'decade') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2020 - 2029</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell className=\"k-out-of-range\" />\n <CalendarCell text=\"2020\" />\n <CalendarCell text=\"2021\" today />\n <CalendarCell text=\"2022\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2023\" />\n <CalendarCell text=\"2024\" hover />\n <CalendarCell text=\"2025\" focus />\n <CalendarCell text=\"2026\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2027\" />\n <CalendarCell text=\"2028\" />\n <CalendarCell text=\"2029\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'century') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2000 - 2099</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"1990 - 1999\" />\n <CalendarCell text=\"2000 - 2009\" />\n <CalendarCell text=\"2010 - 2019\" today />\n <CalendarCell text=\"2020 - 2029\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2030 - 2039\" />\n <CalendarCell text=\"2040 - 2049\" hover />\n <CalendarCell text=\"2050 - 2059\" focus />\n <CalendarCell text=\"2060 - 2069\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2070 - 2079\" />\n <CalendarCell text=\"2080 - 2089\" />\n <CalendarCell text=\"2090 - 2099\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">October 2021</caption> }\n <CalendarTableHead showWeek={showWeek} />\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"39\" weekCell /> }\n <CalendarCell text=\"30\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"1\" />\n <CalendarCell text=\"2\" />\n <CalendarCell text=\"3\" />\n <CalendarCell text=\"4\" />\n <CalendarCell text=\"5\" />\n <CalendarCell text=\"6\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"40\" weekCell /> }\n <CalendarCell text=\"7\" weekend />\n <CalendarCell text=\"8\" hover />\n <CalendarCell text=\"9\" focus />\n <CalendarCell text=\"10\" selected />\n <CalendarCell text=\"11\" hover focus />\n <CalendarCell text=\"12\" hover selected />\n <CalendarCell text=\"13\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"41\" weekCell /> }\n <CalendarCell text=\"14\" weekend />\n <CalendarCell text=\"15\" />\n <CalendarCell text=\"16\" today />\n <CalendarCell text=\"17\" />\n <CalendarCell text=\"18\" />\n <CalendarCell text=\"19\" />\n <CalendarCell text=\"20\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"42\" weekCell /> }\n <CalendarCell text=\"21\" weekend />\n <CalendarCell text=\"22\" />\n <CalendarCell text=\"23\" />\n <CalendarCell text=\"24\" />\n <CalendarCell text=\"25\" rangeStart={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"26\" rangeMid={selectedRange} />\n <CalendarCell text=\"27\" weekend rangeMid={selectedRange} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"43\" weekCell /> }\n <CalendarCell text=\"28\" weekend rangeMid={selectedRange} />\n <CalendarCell text=\"29\" rangeEnd={selectedRange} focus={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"30\" />\n <CalendarCell text=\"31\" />\n <CalendarCell text=\"1\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"2\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"3\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"44\" weekCell /> }\n <CalendarCell text=\"4\" otherMonth weekend showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"5\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"6\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"7\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"8\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"9\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"10\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n </tbody>\n </table>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell } from '../calendar';\n\nexport interface CalendarTableHeadProps {\n className?: string;\n showWeek?: boolean,\n}\n\nexport class CalendarTableHead extends React.Component<CalendarTableHeadProps> {\n\n\n render() {\n const {\n className,\n showWeek,\n ...htmlAttributes\n } = this.props;\n\n return (\n <thead\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-thead'\n )}>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell weekCell headerCell /> }\n <CalendarCell text=\"Su\" headerCell />\n <CalendarCell text=\"Mo\" headerCell />\n <CalendarCell text=\"Tu\" headerCell />\n <CalendarCell text=\"We\" headerCell />\n <CalendarCell text=\"Th\" headerCell />\n <CalendarCell text=\"Fr\" headerCell />\n <CalendarCell text=\"Sa\" headerCell />\n </tr>\n </thead>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarTable } from '../calendar';\n\nexport interface CalendarViewProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal',\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarView extends React.Component<CalendarViewProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n const views = Number(viewsCount);\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-view',\n `k-calendar-${calendarView}view`,\n 'k-align-items-start',\n 'k-justify-content-center',\n {\n [`k-${kendoThemeMaps.orientationMap[orientation!] || orientation}`]: orientation,\n }\n )}>\n\n { [ ...Array(views) ].map((_e, i) =>\n <CalendarTable key={i}\n calendarView={calendarView}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n )}\n </div>\n );\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qBAAkB;AAClB,sBAAqB;;;ACDrB,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C;AAAA,MAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG;AAAA,IACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ACnBO,MAAM,iBAAiC;AAAA,IAC1C,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,O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", "React", "React", "React", "React", "React", "React", "React", "ReactDOM", "React"]
|
|
7
7
|
}
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
document.getElementById("app")
|
|
581
581
|
);
|
|
582
582
|
root.render(
|
|
583
|
-
/* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { id: "test-area", className: "k-d-grid k-grid-cols-3" }, /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern month"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern weekdays"), /* @__PURE__ */ import_react.default.createElement("span", null), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true, showWeek: true })), /* @__PURE__ */ import_react.default.createElement("section", null), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern year"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern decade"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern century"), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "year", calendarHeaderText: "2019" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "decade", calendarHeaderText: "2020 - 2029" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "century", calendarHeaderText: "2000 - 2099" }))))
|
|
583
|
+
/* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { id: "test-area", className: "k-d-grid k-grid-cols-3" }, /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern month"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern weekdays"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern week number with selected range"), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "month", showOtherMonth: true, showWeek: true })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { className: "k-calendar-range", calendarView: "month", showOtherMonth: true, showWeek: true, selectedRange: true })), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern year"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern decade"), /* @__PURE__ */ import_react.default.createElement("span", null, "jquery modern century"), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "year", calendarHeaderText: "2019" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "decade", calendarHeaderText: "2020 - 2029" })), /* @__PURE__ */ import_react.default.createElement("section", null, /* @__PURE__ */ import_react.default.createElement(Calendar, { calendarView: "century", calendarHeaderText: "2000 - 2099" }))))
|
|
584
584
|
);
|
|
585
585
|
})();
|
|
586
586
|
//# sourceMappingURL=calendar-modern-jquery.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/calendar/tests/calendar-modern-jquery.tsx", "../../../src/calendar/calendar.tsx", "../../../src/utils/classNames.ts", "../../../src/utils/theme.ts", "../../../src/calendar/calendar-cell.tsx", "../../../src/calendar/calendar-header.tsx", "../../../src/button/button.tsx", "../../../src/icon/icon.tsx", "../../../src/calendar/calendar-footer.tsx", "../../../src/calendar/calendar-table.tsx", "../../../src/calendar/calendar-table-head.tsx", "../../../src/calendar/calendar-view.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport { Calendar } from '../../calendar';\n\nconst root = ReactDOM.createRoot(\n document.getElementById('app') as HTMLElement\n);\n\nroot.render(\n <>\n <div id=\"test-area\" className=\"k-d-grid k-grid-cols-3\">\n\n <span>jquery modern month</span>\n <span>jquery modern weekdays</span>\n <span></span>\n\n <section>\n <Calendar calendarView=\"month\" showOtherMonth></Calendar>\n </section>\n <section>\n <Calendar calendarView=\"month\" showOtherMonth showWeek></Calendar>\n </section>\n <section></section>\n\n <span>jquery modern year</span>\n <span>jquery modern decade</span>\n <span>jquery modern century</span>\n\n <section>\n <Calendar calendarView=\"year\" calendarHeaderText=\"2019\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"decade\" calendarHeaderText=\"2020 - 2029\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"century\" calendarHeaderText=\"2000 - 2099\"></Calendar>\n </section>\n </div>\n\n </>\n);\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarView, CalendarHeader, CalendarFooter } from '../calendar';\n\nexport interface CalendarProps {\n className?: string;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n calendarHeaderText?: string;\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n showCalendarFooter?: boolean;\n selectedRange?: boolean;\n}\n\nexport class Calendar extends React.Component<CalendarProps> {\n\n static defaultProps = {\n size: 'medium',\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n calendarHeaderText: 'October 2021',\n };\n\n render() {\n const {\n className,\n size,\n orientation,\n calendarView,\n calendarHeaderText,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n showCalendarFooter,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar',\n {\n [`k-calendar-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n 'k-week-number': showWeek,\n }\n )}>\n <CalendarHeader\n showToday={showCalendarFooter ? false : true }\n calendarHeaderText={calendarHeaderText}\n orientation={orientation}\n size={size}\n />\n\n <CalendarView\n calendarView={calendarView}\n viewsCount={viewsCount}\n orientation={orientation}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n\n {showCalendarFooter && <CalendarFooter /> }\n </div>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n", "export interface KendoThemeMaps {\n sizeMap: Record<Exclude<any, null>, string>;\n roundedMap: Record<Exclude<any, null>, string>;\n calloutMap: Record<Exclude<any, null>, string>;\n orientationMap: Record<Exclude<any, null>, string>;\n}\n\nexport const kendoThemeMaps: KendoThemeMaps = {\n sizeMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n roundedMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n calloutMap: {\n top: 'n',\n bottom: 's',\n left: 'w',\n right: 'e'\n },\n orientationMap: {\n vertical: 'vstack',\n horizontal: 'hstack',\n },\n};\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n rangeStart?: boolean;\n rangeMid?: boolean;\n rangeEnd?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n rangeStart,\n rangeMid,\n rangeEnd,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n 'k-range-start': rangeStart,\n 'k-range-mid': rangeMid,\n 'k-range-end': rangeEnd\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\nexport interface CalendarHeaderProps {\n className?: string;\n calendarHeaderText?: string;\n showToday?: boolean;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport class CalendarHeader extends React.Component<CalendarHeaderProps> {\n\n static defaultProps = {\n calendarHeaderText: 'October 2021',\n showToday: true,\n orientation: 'horizontal',\n size: 'medium'\n };\n\n render() {\n const {\n className,\n calendarHeaderText,\n showToday,\n orientation,\n size,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-header',\n {\n 'k-vstack': orientation === 'vertical',\n }\n )}>\n <Button className=\"k-calendar-title\" text={calendarHeaderText} size={size} fillMode=\"flat\"></Button>\n <span className=\"k-spacer\"></span>\n <span className=\"k-calendar-nav\">\n <Button className=\"k-calendar-nav-prev\" icon=\"arrow-chevron-left\" size={size} fillMode=\"flat\"></Button>\n {showToday && <Button size={size} fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Today</Button>}\n <Button className=\"k-calendar-nav-next\" icon=\"arrow-chevron-right\" size={size} fillMode=\"flat\"></Button>\n </span>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { Icon } from '../icon/';\n\nexport interface ButtonProps {\n children?: React.ReactNode;\n className?: string;\n dir?: string;\n style?: React.CSSProperties;\n iconClassName?: string;\n text?: string;\n icon?: string;\n size?: null | 'small' | 'medium' | 'large';\n rounded: null | 'small' | 'medium' | 'large' | 'full';\n fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | 'clear';\n themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n showArrow?: boolean;\n arrowIconName?: string;\n}\n\nexport class Button extends React.Component<ButtonProps> {\n\n static defaultProps = {\n size: 'medium',\n rounded: 'medium',\n fillMode: 'solid',\n themeColor: 'base',\n showArrow: false,\n arrowIconName: 'arrow-s'\n };\n\n render() {\n const {\n children,\n className,\n iconClassName,\n text,\n icon,\n size,\n rounded,\n fillMode,\n themeColor,\n hover,\n focus,\n active,\n selected,\n disabled,\n showArrow,\n arrowIconName,\n ...htmlAttributes\n } = this.props;\n\n const hasIcon = (icon !== undefined);\n const hasChildren = children !== undefined;\n\n return (\n <button\n style={this.props.style}\n {...htmlAttributes}\n dir={this.props.dir}\n className={classNames(\n className,\n 'k-button',\n {\n [`k-button-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n [`k-button-${fillMode}`]: fillMode,\n [`k-button-${fillMode}-${themeColor}`]: Boolean(fillMode && themeColor),\n [`k-rounded-${kendoThemeMaps.roundedMap[rounded!] || rounded}`]: rounded,\n 'k-icon-button': !text && !hasChildren && hasIcon,\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled\n }\n )}>\n {icon && <Icon className={classNames(iconClassName, 'k-button-icon')} name={icon} />}\n\n {text\n ?\n <>\n {text && <span className=\"k-button-text\">{text}</span>}\n {children}\n </>\n : children && <span className=\"k-button-text\">{children}</span>\n }\n\n {showArrow && <span className=\"k-menu-button-arrow k-button-arrow\"><Icon name={arrowIconName} /></span>}\n </button>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\nexport interface IconProps {\n className?: string;\n style?: React.CSSProperties;\n name?: string;\n size?: null | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';\n rotate?: null | '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';\n flip?: null | 'v' | 'h';\n}\n\nexport class Icon extends React.Component<IconProps> {\n\n render() {\n const {\n className,\n style,\n name,\n size,\n rotate,\n flip\n } = this.props;\n\n return (\n <>\n { name &&\n <span\n className={classNames(\n className,\n 'k-icon',\n {\n [`k-i-${name}`]: name,\n [`k-icon-${size}`]: size,\n [`k-rotate-${rotate}`]: rotate,\n [`k-flip-${flip}`]: flip\n }\n )}\n style={style}>\n </span>\n }\n </>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <Button fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Monday, October 29, 2021</Button>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell, CalendarTableHead } from '../calendar';\n\nexport interface CalendarTableProps {\n className?: string;\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n showOtherMonth?: boolean;\n showWeek?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarTable extends React.Component<CalendarTableProps> {\n\n\n render() {\n const {\n className,\n calendarView,\n showOtherMonth,\n showWeek,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n if (calendarView === 'year') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2022</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Jan\" />\n <CalendarCell text=\"Feb\" />\n <CalendarCell text=\"Mar\" />\n <CalendarCell text=\"Apr\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"May\" />\n <CalendarCell text=\"Jun\" hover />\n <CalendarCell text=\"Jul\" focus />\n <CalendarCell text=\"Au\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Sep\" />\n <CalendarCell text=\"Oct\" today />\n <CalendarCell text=\"Nov\" />\n <CalendarCell text=\"Dec\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'decade') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2020 - 2029</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell className=\"k-out-of-range\" />\n <CalendarCell text=\"2020\" />\n <CalendarCell text=\"2021\" today />\n <CalendarCell text=\"2022\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2023\" />\n <CalendarCell text=\"2024\" hover />\n <CalendarCell text=\"2025\" focus />\n <CalendarCell text=\"2026\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2027\" />\n <CalendarCell text=\"2028\" />\n <CalendarCell text=\"2029\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'century') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2000 - 2099</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"1990 - 1999\" />\n <CalendarCell text=\"2000 - 2009\" />\n <CalendarCell text=\"2010 - 2019\" today />\n <CalendarCell text=\"2020 - 2029\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2030 - 2039\" />\n <CalendarCell text=\"2040 - 2049\" hover />\n <CalendarCell text=\"2050 - 2059\" focus />\n <CalendarCell text=\"2060 - 2069\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2070 - 2079\" />\n <CalendarCell text=\"2080 - 2089\" />\n <CalendarCell text=\"2090 - 2099\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">October 2021</caption> }\n <CalendarTableHead showWeek={showWeek} />\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"39\" weekCell /> }\n <CalendarCell text=\"30\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"1\" />\n <CalendarCell text=\"2\" />\n <CalendarCell text=\"3\" />\n <CalendarCell text=\"4\" />\n <CalendarCell text=\"5\" />\n <CalendarCell text=\"6\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"40\" weekCell /> }\n <CalendarCell text=\"7\" weekend />\n <CalendarCell text=\"8\" hover />\n <CalendarCell text=\"9\" focus />\n <CalendarCell text=\"10\" selected />\n <CalendarCell text=\"11\" hover focus />\n <CalendarCell text=\"12\" hover selected />\n <CalendarCell text=\"13\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"41\" weekCell /> }\n <CalendarCell text=\"14\" weekend />\n <CalendarCell text=\"15\" />\n <CalendarCell text=\"16\" today />\n <CalendarCell text=\"17\" />\n <CalendarCell text=\"18\" />\n <CalendarCell text=\"19\" />\n <CalendarCell text=\"20\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"42\" weekCell /> }\n <CalendarCell text=\"21\" weekend />\n <CalendarCell text=\"22\" />\n <CalendarCell text=\"23\" />\n <CalendarCell text=\"24\" />\n <CalendarCell text=\"25\" rangeStart={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"26\" rangeMid={selectedRange} />\n <CalendarCell text=\"27\" weekend rangeMid={selectedRange} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"43\" weekCell /> }\n <CalendarCell text=\"28\" weekend rangeMid={selectedRange} />\n <CalendarCell text=\"29\" rangeEnd={selectedRange} focus={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"30\" />\n <CalendarCell text=\"31\" />\n <CalendarCell text=\"1\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"2\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"3\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"44\" weekCell /> }\n <CalendarCell text=\"4\" otherMonth weekend showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"5\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"6\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"7\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"8\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"9\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"10\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n </tbody>\n </table>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell } from '../calendar';\n\nexport interface CalendarTableHeadProps {\n className?: string;\n showWeek?: boolean,\n}\n\nexport class CalendarTableHead extends React.Component<CalendarTableHeadProps> {\n\n\n render() {\n const {\n className,\n showWeek,\n ...htmlAttributes\n } = this.props;\n\n return (\n <thead\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-thead'\n )}>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell weekCell headerCell /> }\n <CalendarCell text=\"Su\" headerCell />\n <CalendarCell text=\"Mo\" headerCell />\n <CalendarCell text=\"Tu\" headerCell />\n <CalendarCell text=\"We\" headerCell />\n <CalendarCell text=\"Th\" headerCell />\n <CalendarCell text=\"Fr\" headerCell />\n <CalendarCell text=\"Sa\" headerCell />\n </tr>\n </thead>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarTable } from '../calendar';\n\nexport interface CalendarViewProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal',\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarView extends React.Component<CalendarViewProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n const views = Number(viewsCount);\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-view',\n `k-calendar-${calendarView}view`,\n 'k-align-items-start',\n 'k-justify-content-center',\n {\n [`k-${kendoThemeMaps.orientationMap[orientation!] || orientation}`]: orientation,\n }\n )}>\n\n { [ ...Array(views) ].map((_e, i) =>\n <CalendarTable key={i}\n calendarView={calendarView}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n )}\n </div>\n );\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qBAAkB;AAClB,sBAAqB;;;ACDrB,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C;AAAA,MAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG;AAAA,IACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ACnBO,MAAM,iBAAiC;AAAA,IAC1C,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MAC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IAER;AAAA,EACJ;AA/CI,EAFS,aAEF,eAAe;AAAA,IAClB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,cAAc;AAAA,EAClB;;;AXjBJ,MAAM,OAAO,cAAAC,QAAS;AAAA,IAClB,SAAS,eAAe,KAAK;AAAA,EACjC;AAEA,OAAK;AAAA,IACD,6BAAAC,QAAA,2BAAAA,QAAA,gBACI,6BAAAA,QAAA,cAAC,SAAI,IAAG,aAAY,WAAU,4BAE1B,6BAAAA,QAAA,cAAC,cAAK,qBAAmB,GACzB,6BAAAA,QAAA,cAAC,cAAK,wBAAsB,GAC5B,6BAAAA,QAAA,cAAC,YAAK,GAEN,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,SAAQ,gBAAc,MAAC,CAClD,GACA,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,SAAQ,gBAAc,MAAC,UAAQ,MAAC,CAC3D,GACA,6BAAAA,QAAA,cAAC,eAAQ,GAET,6BAAAA,QAAA,cAAC,cAAK,oBAAkB,GACxB,6BAAAA,QAAA,cAAC,cAAK,sBAAoB,GAC1B,6BAAAA,QAAA,cAAC,cAAK,uBAAqB,GAE3B,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,QAAO,oBAAmB,QAAO,CAC5D,GAEA,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,UAAS,oBAAmB,eAAc,CACrE,GAEA,6BAAAA,QAAA,cAAC,iBACG,6BAAAA,QAAA,cAAC,YAAS,cAAa,WAAU,oBAAmB,eAAc,CACtE,CACJ,CAEJ;AAAA,EACJ;",
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport { Calendar } from '../../calendar';\n\nconst root = ReactDOM.createRoot(\n document.getElementById('app') as HTMLElement\n);\n\nroot.render(\n <>\n <div id=\"test-area\" className=\"k-d-grid k-grid-cols-3\">\n\n <span>jquery modern month</span>\n <span>jquery modern weekdays</span>\n <span>jquery modern week number with selected range</span>\n\n <section>\n <Calendar calendarView=\"month\" showOtherMonth></Calendar>\n </section>\n <section>\n <Calendar calendarView=\"month\" showOtherMonth showWeek></Calendar>\n </section>\n <section>\n <Calendar className=\"k-calendar-range\" calendarView=\"month\" showOtherMonth showWeek selectedRange></Calendar>\n </section>\n\n <span>jquery modern year</span>\n <span>jquery modern decade</span>\n <span>jquery modern century</span>\n\n <section>\n <Calendar calendarView=\"year\" calendarHeaderText=\"2019\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"decade\" calendarHeaderText=\"2020 - 2029\"></Calendar>\n </section>\n\n <section>\n <Calendar calendarView=\"century\" calendarHeaderText=\"2000 - 2099\"></Calendar>\n </section>\n </div>\n\n </>\n);\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarView, CalendarHeader, CalendarFooter } from '../calendar';\n\nexport interface CalendarProps {\n className?: string;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n calendarHeaderText?: string;\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n showCalendarFooter?: boolean;\n selectedRange?: boolean;\n}\n\nexport class Calendar extends React.Component<CalendarProps> {\n\n static defaultProps = {\n size: 'medium',\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n calendarHeaderText: 'October 2021',\n };\n\n render() {\n const {\n className,\n size,\n orientation,\n calendarView,\n calendarHeaderText,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n showCalendarFooter,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar',\n {\n [`k-calendar-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n 'k-week-number': showWeek,\n }\n )}>\n <CalendarHeader\n showToday={showCalendarFooter ? false : true }\n calendarHeaderText={calendarHeaderText}\n orientation={orientation}\n size={size}\n />\n\n <CalendarView\n calendarView={calendarView}\n viewsCount={viewsCount}\n orientation={orientation}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n\n {showCalendarFooter && <CalendarFooter /> }\n </div>\n );\n }\n}\n", "/* eslint-disable no-return-assign */\nexport const classNames = (...args): string => {\n const result = {};\n\n const addLeafKeys = (arg) => {\n (typeof arg === 'object'\n ? Object.keys(arg).forEach((key) => {\n result[key] = arg[key];\n })\n : (result[arg] = true)\n );\n };\n\n const addKeys = (list) =>\n list\n .filter((arg) => arg !== true && Boolean(arg))\n .map((arg: any) =>\n (Array.isArray(arg) ? addKeys(arg) : addLeafKeys(arg))\n );\n\n addKeys(args);\n\n return Object.keys(result)\n .map((key) => (result[key] && key) || null)\n .filter((el) => el !== null)\n .join(' ');\n};\n", "export interface KendoThemeMaps {\n sizeMap: Record<Exclude<any, null>, string>;\n roundedMap: Record<Exclude<any, null>, string>;\n calloutMap: Record<Exclude<any, null>, string>;\n orientationMap: Record<Exclude<any, null>, string>;\n}\n\nexport const kendoThemeMaps: KendoThemeMaps = {\n sizeMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n roundedMap: {\n small: 'sm',\n medium: 'md',\n large: 'lg'\n },\n calloutMap: {\n top: 'n',\n bottom: 's',\n left: 'w',\n right: 'e'\n },\n orientationMap: {\n vertical: 'vstack',\n horizontal: 'hstack',\n },\n};\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\n\nexport interface CalendarCellProps {\n className?: string;\n text?: string;\n headerCell?: boolean;\n today?: boolean;\n weekend?: boolean;\n otherMonth?: boolean;\n showOtherMonth?: boolean;\n weekCell?: boolean;\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n rangeStart?: boolean;\n rangeMid?: boolean;\n rangeEnd?: boolean;\n}\n\nexport class CalendarCell extends React.Component<CalendarCellProps> {\n\n render() {\n const {\n className,\n text,\n headerCell,\n today,\n weekend,\n otherMonth,\n showOtherMonth,\n weekCell,\n hover,\n focus,\n active,\n selected,\n disabled,\n rangeStart,\n rangeMid,\n rangeEnd,\n ...htmlAttributes\n } = this.props;\n\n const cellType = headerCell ? 'th' : 'td';\n\n const calendarCellClasses = [\n className,\n `k-calendar-${cellType}`,\n {\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled,\n 'k-today': today,\n 'k-weekend': weekend,\n 'k-other-month': otherMonth,\n 'k-alt': weekCell,\n 'k-range-start': rangeStart,\n 'k-range-mid': rangeMid,\n 'k-range-end': rangeEnd\n }\n ];\n\n if (headerCell) {\n return (\n <th {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </th>\n );\n }\n\n if (weekCell) {\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {text}\n </td>\n );\n }\n\n return (\n <td {...htmlAttributes} className={classNames(calendarCellClasses)}>\n {otherMonth && !showOtherMonth\n ? ''\n : <span className=\"k-link\">{text}</span>\n }\n </td>\n );\n\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\nexport interface CalendarHeaderProps {\n className?: string;\n calendarHeaderText?: string;\n showToday?: boolean;\n size?: null | 'small' | 'medium' | 'large';\n orientation?: 'vertical' | 'horizontal';\n}\n\nexport class CalendarHeader extends React.Component<CalendarHeaderProps> {\n\n static defaultProps = {\n calendarHeaderText: 'October 2021',\n showToday: true,\n orientation: 'horizontal',\n size: 'medium'\n };\n\n render() {\n const {\n className,\n calendarHeaderText,\n showToday,\n orientation,\n size,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-header',\n {\n 'k-vstack': orientation === 'vertical',\n }\n )}>\n <Button className=\"k-calendar-title\" text={calendarHeaderText} size={size} fillMode=\"flat\"></Button>\n <span className=\"k-spacer\"></span>\n <span className=\"k-calendar-nav\">\n <Button className=\"k-calendar-nav-prev\" icon=\"arrow-chevron-left\" size={size} fillMode=\"flat\"></Button>\n {showToday && <Button size={size} fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Today</Button>}\n <Button className=\"k-calendar-nav-next\" icon=\"arrow-chevron-right\" size={size} fillMode=\"flat\"></Button>\n </span>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { Icon } from '../icon/';\n\nexport interface ButtonProps {\n children?: React.ReactNode;\n className?: string;\n dir?: string;\n style?: React.CSSProperties;\n iconClassName?: string;\n text?: string;\n icon?: string;\n size?: null | 'small' | 'medium' | 'large';\n rounded: null | 'small' | 'medium' | 'large' | 'full';\n fillMode?: null | 'solid' | 'outline' | 'flat' | 'link' | 'clear';\n themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';\n hover?: boolean;\n focus?: boolean;\n active?: boolean;\n selected?: boolean;\n disabled?: boolean;\n showArrow?: boolean;\n arrowIconName?: string;\n}\n\nexport class Button extends React.Component<ButtonProps> {\n\n static defaultProps = {\n size: 'medium',\n rounded: 'medium',\n fillMode: 'solid',\n themeColor: 'base',\n showArrow: false,\n arrowIconName: 'arrow-s'\n };\n\n render() {\n const {\n children,\n className,\n iconClassName,\n text,\n icon,\n size,\n rounded,\n fillMode,\n themeColor,\n hover,\n focus,\n active,\n selected,\n disabled,\n showArrow,\n arrowIconName,\n ...htmlAttributes\n } = this.props;\n\n const hasIcon = (icon !== undefined);\n const hasChildren = children !== undefined;\n\n return (\n <button\n style={this.props.style}\n {...htmlAttributes}\n dir={this.props.dir}\n className={classNames(\n className,\n 'k-button',\n {\n [`k-button-${kendoThemeMaps.sizeMap[size!] || size}`]: size,\n [`k-button-${fillMode}`]: fillMode,\n [`k-button-${fillMode}-${themeColor}`]: Boolean(fillMode && themeColor),\n [`k-rounded-${kendoThemeMaps.roundedMap[rounded!] || rounded}`]: rounded,\n 'k-icon-button': !text && !hasChildren && hasIcon,\n 'k-hover': hover,\n 'k-focus': focus,\n 'k-active': active,\n 'k-selected': selected,\n 'k-disabled': disabled\n }\n )}>\n {icon && <Icon className={classNames(iconClassName, 'k-button-icon')} name={icon} />}\n\n {text\n ?\n <>\n {text && <span className=\"k-button-text\">{text}</span>}\n {children}\n </>\n : children && <span className=\"k-button-text\">{children}</span>\n }\n\n {showArrow && <span className=\"k-menu-button-arrow k-button-arrow\"><Icon name={arrowIconName} /></span>}\n </button>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\n\nexport interface IconProps {\n className?: string;\n style?: React.CSSProperties;\n name?: string;\n size?: null | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';\n rotate?: null | '0' | '45' | '90' | '135' | '180' | '225' | '270' | '315';\n flip?: null | 'v' | 'h';\n}\n\nexport class Icon extends React.Component<IconProps> {\n\n render() {\n const {\n className,\n style,\n name,\n size,\n rotate,\n flip\n } = this.props;\n\n return (\n <>\n { name &&\n <span\n className={classNames(\n className,\n 'k-icon',\n {\n [`k-i-${name}`]: name,\n [`k-icon-${size}`]: size,\n [`k-rotate-${rotate}`]: rotate,\n [`k-flip-${flip}`]: flip\n }\n )}\n style={style}>\n </span>\n }\n </>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { Button } from '../button';\n\n\nexport interface CalendarFooterProps {\n className?: string;\n}\n\nexport class CalendarFooter extends React.Component<CalendarFooterProps> {\n\n render() {\n const {\n className,\n ...htmlAttributes\n } = this.props;\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-footer'\n )}>\n <Button fillMode=\"flat\" themeColor=\"primary\" className=\"k-calendar-nav-today\">Monday, October 29, 2021</Button>\n </div>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell, CalendarTableHead } from '../calendar';\n\nexport interface CalendarTableProps {\n className?: string;\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n showOtherMonth?: boolean;\n showWeek?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarTable extends React.Component<CalendarTableProps> {\n\n\n render() {\n const {\n className,\n calendarView,\n showOtherMonth,\n showWeek,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n if (calendarView === 'year') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2022</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Jan\" />\n <CalendarCell text=\"Feb\" />\n <CalendarCell text=\"Mar\" />\n <CalendarCell text=\"Apr\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"May\" />\n <CalendarCell text=\"Jun\" hover />\n <CalendarCell text=\"Jul\" focus />\n <CalendarCell text=\"Au\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"Sep\" />\n <CalendarCell text=\"Oct\" today />\n <CalendarCell text=\"Nov\" />\n <CalendarCell text=\"Dec\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'decade') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2020 - 2029</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell className=\"k-out-of-range\" />\n <CalendarCell text=\"2020\" />\n <CalendarCell text=\"2021\" today />\n <CalendarCell text=\"2022\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2023\" />\n <CalendarCell text=\"2024\" hover />\n <CalendarCell text=\"2025\" focus />\n <CalendarCell text=\"2026\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2027\" />\n <CalendarCell text=\"2028\" />\n <CalendarCell text=\"2029\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n if (calendarView === 'century') {\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">2000 - 2099</caption> }\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"1990 - 1999\" />\n <CalendarCell text=\"2000 - 2009\" />\n <CalendarCell text=\"2010 - 2019\" today />\n <CalendarCell text=\"2020 - 2029\" />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2030 - 2039\" />\n <CalendarCell text=\"2040 - 2049\" hover />\n <CalendarCell text=\"2050 - 2059\" focus />\n <CalendarCell text=\"2060 - 2069\" selected />\n </tr>\n <tr className=\"k-calendar-tr\">\n <CalendarCell text=\"2070 - 2079\" />\n <CalendarCell text=\"2080 - 2089\" />\n <CalendarCell text=\"2090 - 2099\" />\n <CalendarCell className=\"k-out-of-range\" />\n </tr>\n </tbody>\n </table>\n );\n }\n\n return (\n <table\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-table',\n )}>\n {showCalendarCaption && <caption className=\"k-calendar-caption\">October 2021</caption> }\n <CalendarTableHead showWeek={showWeek} />\n <tbody className=\"k-calendar-tbody\">\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"39\" weekCell /> }\n <CalendarCell text=\"30\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"1\" />\n <CalendarCell text=\"2\" />\n <CalendarCell text=\"3\" />\n <CalendarCell text=\"4\" />\n <CalendarCell text=\"5\" />\n <CalendarCell text=\"6\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"40\" weekCell /> }\n <CalendarCell text=\"7\" weekend />\n <CalendarCell text=\"8\" hover />\n <CalendarCell text=\"9\" focus />\n <CalendarCell text=\"10\" selected />\n <CalendarCell text=\"11\" hover focus />\n <CalendarCell text=\"12\" hover selected />\n <CalendarCell text=\"13\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"41\" weekCell /> }\n <CalendarCell text=\"14\" weekend />\n <CalendarCell text=\"15\" />\n <CalendarCell text=\"16\" today />\n <CalendarCell text=\"17\" />\n <CalendarCell text=\"18\" />\n <CalendarCell text=\"19\" />\n <CalendarCell text=\"20\" weekend />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"42\" weekCell /> }\n <CalendarCell text=\"21\" weekend />\n <CalendarCell text=\"22\" />\n <CalendarCell text=\"23\" />\n <CalendarCell text=\"24\" />\n <CalendarCell text=\"25\" rangeStart={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"26\" rangeMid={selectedRange} />\n <CalendarCell text=\"27\" weekend rangeMid={selectedRange} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"43\" weekCell /> }\n <CalendarCell text=\"28\" weekend rangeMid={selectedRange} />\n <CalendarCell text=\"29\" rangeEnd={selectedRange} focus={selectedRange} selected={selectedRange} />\n <CalendarCell text=\"30\" />\n <CalendarCell text=\"31\" />\n <CalendarCell text=\"1\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"2\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"3\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell text=\"44\" weekCell /> }\n <CalendarCell text=\"4\" otherMonth weekend showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"5\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"6\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"7\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"8\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"9\" otherMonth showOtherMonth={showOtherMonth} />\n <CalendarCell text=\"10\" otherMonth weekend showOtherMonth={showOtherMonth} />\n </tr>\n </tbody>\n </table>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames } from '../utils';\nimport { CalendarCell } from '../calendar';\n\nexport interface CalendarTableHeadProps {\n className?: string;\n showWeek?: boolean,\n}\n\nexport class CalendarTableHead extends React.Component<CalendarTableHeadProps> {\n\n\n render() {\n const {\n className,\n showWeek,\n ...htmlAttributes\n } = this.props;\n\n return (\n <thead\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-thead'\n )}>\n <tr className=\"k-calendar-tr\">\n {showWeek && <CalendarCell weekCell headerCell /> }\n <CalendarCell text=\"Su\" headerCell />\n <CalendarCell text=\"Mo\" headerCell />\n <CalendarCell text=\"Tu\" headerCell />\n <CalendarCell text=\"We\" headerCell />\n <CalendarCell text=\"Th\" headerCell />\n <CalendarCell text=\"Fr\" headerCell />\n <CalendarCell text=\"Sa\" headerCell />\n </tr>\n </thead>\n );\n }\n}\n", "import * as React from 'react';\nimport { classNames, kendoThemeMaps } from '../utils';\nimport { CalendarTable } from '../calendar';\n\nexport interface CalendarViewProps {\n className?: string;\n orientation?: 'vertical' | 'horizontal',\n calendarView?: 'month' | 'year' | 'decade' | 'century';\n viewsCount?: string;\n showWeek?: boolean;\n showOtherMonth?: boolean;\n showCalendarCaption?: boolean;\n selectedRange?: boolean;\n}\n\nexport class CalendarView extends React.Component<CalendarViewProps> {\n\n static defaultProps = {\n viewsCount: '1',\n orientation: 'horizontal',\n calendarView: 'month',\n };\n\n render() {\n const {\n className,\n orientation,\n calendarView,\n viewsCount,\n showWeek,\n showOtherMonth,\n showCalendarCaption,\n selectedRange,\n ...htmlAttributes\n } = this.props;\n\n const views = Number(viewsCount);\n\n return (\n <div\n {...htmlAttributes}\n className={classNames(\n className,\n 'k-calendar-view',\n `k-calendar-${calendarView}view`,\n 'k-align-items-start',\n 'k-justify-content-center',\n {\n [`k-${kendoThemeMaps.orientationMap[orientation!] || orientation}`]: orientation,\n }\n )}>\n\n { [ ...Array(views) ].map((_e, i) =>\n <CalendarTable key={i}\n calendarView={calendarView}\n showWeek={showWeek}\n showOtherMonth={showOtherMonth}\n showCalendarCaption={showCalendarCaption}\n selectedRange={selectedRange}\n />\n )}\n </div>\n );\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qBAAkB;AAClB,sBAAqB;;;ACDrB,cAAuB;;;ACChB,MAAM,aAAa,IAAI,SAAiB;AAC3C,UAAM,SAAS,CAAC;AAEhB,UAAM,cAAc,CAAC,QAAQ;AACzB,MAAC,OAAO,QAAQ,WACV,OAAO,KAAK,GAAG,EAAE,QAAQ,CAAC,QAAQ;AAChC,eAAO,OAAO,IAAI;AAAA,MACtB,CAAC,IACE,OAAO,OAAO;AAAA,IAEzB;AAEA,UAAM,UAAU,CAAC,SACb,KACK,OAAO,CAAC,QAAQ,QAAQ,QAAQ,QAAQ,GAAG,CAAC,EAC5C;AAAA,MAAI,CAAC,QACD,MAAM,QAAQ,GAAG,IAAI,QAAQ,GAAG,IAAI,YAAY,GAAG;AAAA,IACxD;AAER,YAAQ,IAAI;AAEZ,WAAO,OAAO,KAAK,MAAM,EACpB,IAAI,CAAC,QAAS,OAAO,QAAQ,OAAQ,IAAI,EACzC,OAAO,CAAC,OAAO,OAAO,IAAI,EAC1B,KAAK,GAAG;AAAA,EACjB;;;ACnBO,MAAM,iBAAiC;AAAA,IAC1C,SAAS;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACR,K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