@progress/kendo-themes-html 8.0.0-dev.3 → 8.0.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/scheduler/scheduler-body.spec.js +52 -0
- package/dist/cjs/scheduler/scheduler-cell.spec.js +75 -0
- package/dist/cjs/scheduler/scheduler-content.spec.js +46 -0
- package/dist/cjs/scheduler/scheduler-event.spec.js +4433 -0
- package/dist/cjs/scheduler/scheduler-group.spec.js +66 -0
- package/dist/cjs/scheduler/scheduler-head.spec.js +52 -0
- package/dist/cjs/scheduler/scheduler-header.spec.js +46 -0
- package/dist/cjs/scheduler/scheduler-row.spec.js +46 -0
- package/dist/cjs/scheduler/scheduler-sticky-cell.spec.js +46 -0
- package/dist/cjs/scheduler/scheduler-table.spec.js +46 -0
- package/dist/cjs/scheduler/scheduler-task.spec.js +4372 -0
- package/dist/cjs/scheduler/scheduler-times.spec.js +46 -0
- package/dist/cjs/scheduler/{tests/scheduler-jquery-agenda.js → scheduler-toolbar.spec.js} +38 -94
- package/dist/cjs/scheduler/scheduler-view.spec.js +65 -0
- package/dist/cjs/scheduler/scheduler.spec.js +113 -0
- package/dist/cjs/scheduler/templates/scheduler-agenda.js +8541 -0
- package/dist/cjs/scheduler/{tests/scheduler-angular-month-rtl.js → templates/scheduler-day.js} +1324 -987
- package/dist/cjs/scheduler/{tests/scheduler-angular-agenda.js → templates/scheduler-flex-agenda.js} +1272 -985
- package/dist/cjs/scheduler/{tests/scheduler-angular-month.js → templates/scheduler-flex-day.js} +1274 -972
- package/dist/cjs/scheduler/templates/scheduler-flex-horizontal-grouping.js +8560 -0
- package/dist/cjs/scheduler/{tests/scheduler-jquery-month.js → templates/scheduler-flex-month.js} +1294 -969
- package/dist/cjs/scheduler/{tests/scheduler-angular-agenda-rtl.js → templates/scheduler-flex-timeline.js} +1291 -988
- package/dist/cjs/scheduler/{tests/scheduler-react-agenda.js → templates/scheduler-flex-vertical-grouping.js} +1470 -1100
- package/dist/cjs/scheduler/templates/scheduler-flex-week.js +8597 -0
- package/dist/cjs/scheduler/templates/scheduler-horizontal-grouping.js +8640 -0
- package/dist/cjs/scheduler/templates/scheduler-month.js +8577 -0
- package/dist/cjs/scheduler/templates/scheduler-timeline.js +8543 -0
- package/dist/cjs/scheduler/{tests/scheduler-angular-day-rtl.js → templates/scheduler-vertical-grouping.js} +1345 -1017
- package/dist/cjs/scheduler/{tests/scheduler-angular.js → templates/scheduler-week.js} +1372 -1126
- package/dist/cjs/scheduler/tests/scheduler-agenda-view.js +8638 -0
- package/dist/cjs/scheduler/tests/{scheduler.js → scheduler-current-time-marker.js} +1045 -459
- package/dist/cjs/scheduler/tests/scheduler-day-view.js +8653 -0
- package/dist/cjs/scheduler/tests/scheduler-events.js +9006 -0
- package/dist/cjs/scheduler/tests/scheduler-month-view.js +8700 -0
- package/dist/cjs/scheduler/tests/scheduler-react-timeline-multi.js +1724 -1481
- package/dist/cjs/scheduler/tests/scheduler-timeline-view.js +8656 -0
- package/dist/cjs/scheduler/tests/{scheduler-angular-rtl.js → scheduler-week-view.js} +1558 -1139
- package/dist/cjs/scheduler/tests/{scheduler-react-timeline.js → scheduler-year-view.js} +1203 -601
- package/dist/esm/scheduler/scheduler-body.spec.mjs +30 -0
- package/dist/esm/scheduler/scheduler-cell.spec.mjs +53 -0
- package/dist/esm/scheduler/scheduler-content.spec.mjs +24 -0
- package/dist/esm/scheduler/scheduler-event.spec.mjs +4417 -0
- package/dist/esm/scheduler/scheduler-group.spec.mjs +44 -0
- package/dist/esm/scheduler/scheduler-head.spec.mjs +30 -0
- package/dist/esm/scheduler/scheduler-header.spec.mjs +24 -0
- package/dist/esm/scheduler/scheduler-row.spec.mjs +24 -0
- package/dist/esm/scheduler/scheduler-sticky-cell.spec.mjs +24 -0
- package/dist/esm/scheduler/scheduler-table.spec.mjs +24 -0
- package/dist/esm/scheduler/scheduler-task.spec.mjs +4356 -0
- package/dist/esm/scheduler/scheduler-times.spec.mjs +24 -0
- package/dist/esm/scheduler/{tests/scheduler-jquery-agenda.mjs → scheduler-toolbar.spec.mjs} +34 -90
- package/dist/esm/scheduler/scheduler-view.spec.mjs +43 -0
- package/dist/esm/scheduler/scheduler.spec.mjs +91 -0
- package/dist/esm/scheduler/templates/scheduler-agenda.mjs +8525 -0
- package/dist/esm/scheduler/{tests/scheduler-jquery-month.mjs → templates/scheduler-day.mjs} +1318 -984
- package/dist/esm/scheduler/{tests/scheduler-angular-agenda.mjs → templates/scheduler-flex-agenda.mjs} +1268 -981
- package/dist/esm/scheduler/{tests/scheduler-angular-month-rtl.mjs → templates/scheduler-flex-day.mjs} +1270 -968
- package/dist/esm/scheduler/templates/scheduler-flex-horizontal-grouping.mjs +8544 -0
- package/dist/esm/scheduler/{tests/scheduler-angular-day-rtl.mjs → templates/scheduler-flex-month.mjs} +1293 -997
- package/dist/esm/scheduler/{tests/scheduler-angular-month.mjs → templates/scheduler-flex-timeline.mjs} +1286 -968
- package/dist/esm/scheduler/{tests/scheduler-react-agenda.mjs → templates/scheduler-flex-vertical-grouping.mjs} +1466 -1096
- package/dist/esm/scheduler/templates/scheduler-flex-week.mjs +8581 -0
- package/dist/esm/scheduler/{tests/scheduler-angular.mjs → templates/scheduler-horizontal-grouping.mjs} +1376 -1121
- package/dist/esm/scheduler/templates/scheduler-month.mjs +8561 -0
- package/dist/esm/scheduler/{tests/scheduler-angular-agenda-rtl.mjs → templates/scheduler-timeline.mjs} +1386 -1077
- package/dist/esm/scheduler/templates/scheduler-vertical-grouping.mjs +8563 -0
- package/dist/esm/scheduler/{tests/scheduler-angular-rtl.mjs → templates/scheduler-week.mjs} +1368 -1122
- package/dist/esm/scheduler/tests/scheduler-agenda-view.mjs +8622 -0
- package/dist/esm/scheduler/tests/{scheduler.mjs → scheduler-current-time-marker.mjs} +1041 -455
- package/dist/esm/scheduler/tests/scheduler-day-view.mjs +8637 -0
- package/dist/esm/scheduler/tests/scheduler-events.mjs +8990 -0
- package/dist/esm/scheduler/tests/scheduler-month-view.mjs +8684 -0
- package/dist/esm/scheduler/tests/scheduler-react-timeline-multi.mjs +1724 -1481
- package/dist/esm/scheduler/tests/scheduler-timeline-view.mjs +8640 -0
- package/dist/esm/scheduler/tests/scheduler-week-view.mjs +8788 -0
- package/dist/esm/scheduler/tests/{scheduler-react-timeline.mjs → scheduler-year-view.mjs} +1199 -597
- package/dist/types/scheduler/index.d.ts +30 -0
- package/dist/types/scheduler/scheduler-body.spec.d.ts +5 -0
- package/dist/types/scheduler/scheduler-cell.spec.d.ts +19 -0
- package/dist/types/scheduler/scheduler-content.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-event.spec.d.ts +24 -0
- package/dist/types/scheduler/scheduler-group.spec.d.ts +13 -0
- package/dist/types/scheduler/scheduler-head.spec.d.ts +5 -0
- package/dist/types/scheduler/scheduler-header.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-row.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-sticky-cell.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-table.spec.d.ts +2 -0
- package/dist/types/scheduler/scheduler-task.spec.d.ts +19 -0
- package/dist/types/scheduler/scheduler-times.spec.d.ts +1 -0
- package/dist/types/scheduler/scheduler-toolbar.spec.d.ts +5 -0
- package/dist/types/scheduler/scheduler-view.spec.d.ts +15 -0
- package/dist/types/scheduler/scheduler.spec.d.ts +15 -0
- package/dist/types/scheduler/templates/scheduler-agenda.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-day.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-agenda.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-day.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-horizontal-grouping.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-month.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-timeline.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-vertical-grouping.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-flex-week.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-horizontal-grouping.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-month.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-timeline.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-vertical-grouping.d.ts +1 -0
- package/dist/types/scheduler/templates/scheduler-week.d.ts +1 -0
- package/package.json +2 -2
- package/src/scheduler/index.ts +30 -0
- package/src/scheduler/scheduler-body.spec.tsx +25 -0
- package/src/scheduler/scheduler-cell.spec.tsx +68 -0
- package/src/scheduler/scheduler-content.spec.tsx +17 -0
- package/src/scheduler/scheduler-event.spec.tsx +105 -0
- package/src/scheduler/scheduler-group.spec.tsx +47 -0
- package/src/scheduler/scheduler-head.spec.tsx +25 -0
- package/src/scheduler/scheduler-header.spec.tsx +19 -0
- package/src/scheduler/scheduler-row.spec.tsx +17 -0
- package/src/scheduler/scheduler-sticky-cell.spec.tsx +18 -0
- package/src/scheduler/scheduler-table.spec.tsx +18 -0
- package/src/scheduler/scheduler-task.spec.tsx +60 -0
- package/src/scheduler/scheduler-times.spec.tsx +17 -0
- package/src/scheduler/scheduler-toolbar.spec.tsx +50 -0
- package/src/scheduler/scheduler-view.spec.tsx +47 -0
- package/src/scheduler/scheduler.spec.tsx +60 -0
- package/src/scheduler/templates/scheduler-agenda.tsx +123 -0
- package/src/scheduler/templates/scheduler-day.tsx +228 -0
- package/src/scheduler/templates/scheduler-flex-agenda.tsx +131 -0
- package/src/scheduler/templates/scheduler-flex-day.tsx +153 -0
- package/src/scheduler/templates/scheduler-flex-horizontal-grouping.tsx +336 -0
- package/src/scheduler/templates/scheduler-flex-month.tsx +156 -0
- package/src/scheduler/templates/scheduler-flex-timeline.tsx +114 -0
- package/src/scheduler/templates/scheduler-flex-vertical-grouping.tsx +345 -0
- package/src/scheduler/templates/scheduler-flex-week.tsx +210 -0
- package/src/scheduler/templates/scheduler-horizontal-grouping.tsx +265 -0
- package/src/scheduler/templates/scheduler-month.tsx +166 -0
- package/src/scheduler/templates/scheduler-timeline.tsx +116 -0
- package/src/scheduler/templates/scheduler-vertical-grouping.tsx +312 -0
- package/src/scheduler/templates/scheduler-week.tsx +268 -0
- package/src/scheduler/tests/scheduler-agenda-view.tsx +13 -0
- package/src/scheduler/tests/scheduler-current-time-marker.tsx +572 -0
- package/src/scheduler/tests/scheduler-day-view.tsx +13 -0
- package/src/scheduler/tests/scheduler-events.tsx +511 -0
- package/src/scheduler/tests/scheduler-month-view.tsx +13 -0
- package/src/scheduler/tests/scheduler-react-timeline-multi.tsx +661 -665
- package/src/scheduler/tests/scheduler-timeline-view.tsx +13 -0
- package/src/scheduler/tests/scheduler-week-view.tsx +13 -0
- package/src/scheduler/tests/scheduler-year-view.tsx +2399 -0
- package/dist/cjs/scheduler/tests/scheduler-flex-layout.js +0 -8222
- package/dist/cjs/scheduler/tests/scheduler-react-day.js +0 -8936
- package/dist/cjs/scheduler/tests/scheduler-react-month.js +0 -9739
- package/dist/cjs/scheduler/tests/scheduler-react-week.js +0 -9752
- package/dist/cjs/scheduler/tests/scheduler-year.js +0 -8906
- package/dist/esm/scheduler/tests/scheduler-flex-layout.mjs +0 -8206
- package/dist/esm/scheduler/tests/scheduler-react-day.mjs +0 -8920
- package/dist/esm/scheduler/tests/scheduler-react-month.mjs +0 -9723
- package/dist/esm/scheduler/tests/scheduler-react-week.mjs +0 -9736
- package/dist/esm/scheduler/tests/scheduler-year.mjs +0 -8890
- package/dist/types/scheduler/tests/scheduler-jquery-agenda.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-jquery-month.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-react-agenda.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-react-day.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-react-month.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-react-timeline.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-react-week.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler-year.d.ts +0 -2
- package/dist/types/scheduler/tests/scheduler.d.ts +0 -2
- package/src/scheduler/tests/scheduler-angular-agenda-rtl.tsx +0 -300
- package/src/scheduler/tests/scheduler-angular-agenda.tsx +0 -300
- package/src/scheduler/tests/scheduler-angular-day-rtl.tsx +0 -254
- package/src/scheduler/tests/scheduler-angular-month-rtl.tsx +0 -292
- package/src/scheduler/tests/scheduler-angular-month.tsx +0 -292
- package/src/scheduler/tests/scheduler-angular-rtl.tsx +0 -386
- package/src/scheduler/tests/scheduler-angular.tsx +0 -386
- package/src/scheduler/tests/scheduler-flex-layout.tsx +0 -492
- package/src/scheduler/tests/scheduler-jquery-agenda.tsx +0 -118
- package/src/scheduler/tests/scheduler-jquery-month.tsx +0 -306
- package/src/scheduler/tests/scheduler-react-agenda.tsx +0 -336
- package/src/scheduler/tests/scheduler-react-day.tsx +0 -1037
- package/src/scheduler/tests/scheduler-react-month.tsx +0 -1380
- package/src/scheduler/tests/scheduler-react-timeline.tsx +0 -669
- package/src/scheduler/tests/scheduler-react-week.tsx +0 -1786
- package/src/scheduler/tests/scheduler-year.tsx +0 -2383
- package/src/scheduler/tests/scheduler.tsx +0 -656
- /package/dist/types/scheduler/tests/{scheduler-angular-agenda-rtl.d.ts → scheduler-agenda-view.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-angular-agenda.d.ts → scheduler-current-time-marker.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-angular-day-rtl.d.ts → scheduler-day-view.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-angular-month-rtl.d.ts → scheduler-events.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-angular-month.d.ts → scheduler-month-view.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-angular-rtl.d.ts → scheduler-timeline-view.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-angular.d.ts → scheduler-week-view.d.ts} +0 -0
- /package/dist/types/scheduler/tests/{scheduler-flex-layout.d.ts → scheduler-year-view.d.ts} +0 -0
|
@@ -4355,6 +4355,7 @@ var Icon = (props) => {
|
|
|
4355
4355
|
Icon.states = states3;
|
|
4356
4356
|
Icon.options = options3;
|
|
4357
4357
|
Icon.defaultProps = defaultProps3;
|
|
4358
|
+
var icon_spec_default = Icon;
|
|
4358
4359
|
|
|
4359
4360
|
// src/button/button.spec.tsx
|
|
4360
4361
|
import { Fragment as Fragment4, jsx as jsx4, jsxs } from "react/jsx-runtime";
|
|
@@ -4467,26 +4468,217 @@ import { jsx as jsx6 } from "react/jsx-runtime";
|
|
|
4467
4468
|
// src/button/templates/text-button.tsx
|
|
4468
4469
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
4469
4470
|
|
|
4471
|
+
// src/scheduler/templates/scheduler-day.tsx
|
|
4472
|
+
import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
4473
|
+
|
|
4474
|
+
// src/scheduler/scheduler-view.spec.tsx
|
|
4475
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
4476
|
+
var SCHEDULER_VIEW_CLASSNAME = "k-scheduler-layout";
|
|
4477
|
+
var states5 = [];
|
|
4478
|
+
var options5 = {};
|
|
4479
|
+
var defaultProps5 = {};
|
|
4480
|
+
var SchedulerView = (props) => {
|
|
4481
|
+
const {
|
|
4482
|
+
as: Component = "div",
|
|
4483
|
+
view,
|
|
4484
|
+
...other
|
|
4485
|
+
} = props;
|
|
4486
|
+
return /* @__PURE__ */ jsx9(
|
|
4487
|
+
Component,
|
|
4488
|
+
{
|
|
4489
|
+
...other,
|
|
4490
|
+
className: classNames(
|
|
4491
|
+
props.className,
|
|
4492
|
+
SCHEDULER_VIEW_CLASSNAME,
|
|
4493
|
+
{
|
|
4494
|
+
[`k-scheduler-${view}view`]: view
|
|
4495
|
+
}
|
|
4496
|
+
),
|
|
4497
|
+
children: props.children
|
|
4498
|
+
}
|
|
4499
|
+
);
|
|
4500
|
+
};
|
|
4501
|
+
SchedulerView.states = states5;
|
|
4502
|
+
SchedulerView.options = options5;
|
|
4503
|
+
SchedulerView.className = SCHEDULER_VIEW_CLASSNAME;
|
|
4504
|
+
SchedulerView.defaultProps = defaultProps5;
|
|
4505
|
+
var scheduler_view_spec_default = SchedulerView;
|
|
4506
|
+
|
|
4507
|
+
// src/scheduler/scheduler.spec.tsx
|
|
4508
|
+
import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
4509
|
+
var SCHEDULER_CLASSNAME = "k-scheduler";
|
|
4510
|
+
var states6 = [];
|
|
4511
|
+
var options6 = {};
|
|
4512
|
+
var defaultProps6 = {};
|
|
4513
|
+
var Scheduler = (props) => {
|
|
4514
|
+
const {
|
|
4515
|
+
view,
|
|
4516
|
+
toolbar,
|
|
4517
|
+
footer,
|
|
4518
|
+
layout,
|
|
4519
|
+
...other
|
|
4520
|
+
} = props;
|
|
4521
|
+
return /* @__PURE__ */ jsxs3(
|
|
4522
|
+
"div",
|
|
4523
|
+
{
|
|
4524
|
+
...other,
|
|
4525
|
+
className: classNames(
|
|
4526
|
+
props.className,
|
|
4527
|
+
SCHEDULER_CLASSNAME
|
|
4528
|
+
),
|
|
4529
|
+
children: [
|
|
4530
|
+
toolbar,
|
|
4531
|
+
/* @__PURE__ */ jsx10(
|
|
4532
|
+
scheduler_view_spec_default,
|
|
4533
|
+
{
|
|
4534
|
+
className: classNames(
|
|
4535
|
+
{
|
|
4536
|
+
"k-scheduler-layout-flex": layout === "flex"
|
|
4537
|
+
}
|
|
4538
|
+
),
|
|
4539
|
+
as: layout === "table" ? "table" : "div",
|
|
4540
|
+
view,
|
|
4541
|
+
children: props.children
|
|
4542
|
+
}
|
|
4543
|
+
),
|
|
4544
|
+
footer
|
|
4545
|
+
]
|
|
4546
|
+
}
|
|
4547
|
+
);
|
|
4548
|
+
};
|
|
4549
|
+
Scheduler.states = states6;
|
|
4550
|
+
Scheduler.options = options6;
|
|
4551
|
+
Scheduler.className = SCHEDULER_CLASSNAME;
|
|
4552
|
+
Scheduler.defaultProps = defaultProps6;
|
|
4553
|
+
|
|
4554
|
+
// src/scheduler/scheduler-header.spec.tsx
|
|
4555
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
4556
|
+
var className = "k-scheduler-header";
|
|
4557
|
+
var SchedulerHeader = (props) => /* @__PURE__ */ jsx11(
|
|
4558
|
+
"div",
|
|
4559
|
+
{
|
|
4560
|
+
...props,
|
|
4561
|
+
className: classNames(
|
|
4562
|
+
className,
|
|
4563
|
+
props.className
|
|
4564
|
+
),
|
|
4565
|
+
children: /* @__PURE__ */ jsx11("div", { className: "k-scheduler-header-wrap", children: props.children })
|
|
4566
|
+
}
|
|
4567
|
+
);
|
|
4568
|
+
|
|
4569
|
+
// src/scheduler/scheduler-content.spec.tsx
|
|
4570
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
4571
|
+
var className2 = "k-scheduler-content";
|
|
4572
|
+
var SchedulerContent = (props) => /* @__PURE__ */ jsx12(
|
|
4573
|
+
"div",
|
|
4574
|
+
{
|
|
4575
|
+
...props,
|
|
4576
|
+
className: classNames(
|
|
4577
|
+
className2,
|
|
4578
|
+
props.className
|
|
4579
|
+
),
|
|
4580
|
+
children: props.children
|
|
4581
|
+
}
|
|
4582
|
+
);
|
|
4583
|
+
|
|
4584
|
+
// src/scheduler/scheduler-times.spec.tsx
|
|
4585
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
4586
|
+
var className3 = "k-scheduler-times";
|
|
4587
|
+
var SchedulerTimes = (props) => /* @__PURE__ */ jsx13(
|
|
4588
|
+
"div",
|
|
4589
|
+
{
|
|
4590
|
+
...props,
|
|
4591
|
+
className: classNames(
|
|
4592
|
+
className3,
|
|
4593
|
+
props.className
|
|
4594
|
+
),
|
|
4595
|
+
children: props.children
|
|
4596
|
+
}
|
|
4597
|
+
);
|
|
4598
|
+
|
|
4599
|
+
// src/scheduler/scheduler-table.spec.tsx
|
|
4600
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
4601
|
+
var className4 = "k-scheduler-table";
|
|
4602
|
+
var SchedulerTable = (props) => /* @__PURE__ */ jsx14(
|
|
4603
|
+
"table",
|
|
4604
|
+
{
|
|
4605
|
+
...props,
|
|
4606
|
+
className: classNames(
|
|
4607
|
+
className4,
|
|
4608
|
+
props.className
|
|
4609
|
+
),
|
|
4610
|
+
children: props.children
|
|
4611
|
+
}
|
|
4612
|
+
);
|
|
4613
|
+
|
|
4614
|
+
// src/scheduler/scheduler-cell.spec.tsx
|
|
4615
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4616
|
+
var className5 = "k-scheduler-cell";
|
|
4617
|
+
var states7 = [];
|
|
4618
|
+
var options7 = {};
|
|
4619
|
+
var defaultOptions = {};
|
|
4620
|
+
var SchedulerCell = (props) => {
|
|
4621
|
+
const {
|
|
4622
|
+
cellType,
|
|
4623
|
+
allDay,
|
|
4624
|
+
text,
|
|
4625
|
+
colspan,
|
|
4626
|
+
rowspan,
|
|
4627
|
+
as: Component = "div",
|
|
4628
|
+
...other
|
|
4629
|
+
} = props;
|
|
4630
|
+
const textOrChildren = text ? text : props.children;
|
|
4631
|
+
return /* @__PURE__ */ jsx15(
|
|
4632
|
+
Component,
|
|
4633
|
+
{
|
|
4634
|
+
...other,
|
|
4635
|
+
colSpan: colspan,
|
|
4636
|
+
rowSpan: rowspan,
|
|
4637
|
+
className: classNames(
|
|
4638
|
+
className5,
|
|
4639
|
+
props.className,
|
|
4640
|
+
{
|
|
4641
|
+
"k-scheduler-times-all-day": allDay
|
|
4642
|
+
},
|
|
4643
|
+
cellType?.map((t) => ({
|
|
4644
|
+
[`k-${t}-cell`]: true
|
|
4645
|
+
}))
|
|
4646
|
+
),
|
|
4647
|
+
children: !allDay && text ? /* @__PURE__ */ jsx15("span", { className: "k-link k-nav-day", children: textOrChildren }) : textOrChildren
|
|
4648
|
+
}
|
|
4649
|
+
);
|
|
4650
|
+
};
|
|
4651
|
+
SchedulerCell.states = states7;
|
|
4652
|
+
SchedulerCell.options = options7;
|
|
4653
|
+
SchedulerCell.defaultProps = defaultOptions;
|
|
4654
|
+
SchedulerCell.className = className5;
|
|
4655
|
+
|
|
4656
|
+
// src/scheduler/scheduler-sticky-cell.spec.tsx
|
|
4657
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
4658
|
+
|
|
4659
|
+
// src/scheduler/scheduler-row.spec.tsx
|
|
4660
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
4661
|
+
|
|
4470
4662
|
// src/button-group/button-group.spec.tsx
|
|
4471
|
-
import { jsx as
|
|
4663
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4472
4664
|
var BUTTONGROUP_CLASSNAME = `k-button-group`;
|
|
4473
|
-
var
|
|
4665
|
+
var states8 = [
|
|
4474
4666
|
States.disabled
|
|
4475
4667
|
];
|
|
4476
|
-
var
|
|
4668
|
+
var options8 = {
|
|
4477
4669
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
4478
4670
|
};
|
|
4479
|
-
var
|
|
4671
|
+
var defaultProps7 = {
|
|
4480
4672
|
fillMode: FillMode.solid
|
|
4481
4673
|
};
|
|
4482
4674
|
var ButtonGroup = (props) => {
|
|
4483
4675
|
const {
|
|
4484
|
-
fillMode =
|
|
4676
|
+
fillMode = defaultProps7.fillMode,
|
|
4485
4677
|
disabled,
|
|
4486
4678
|
stretched,
|
|
4487
4679
|
...other
|
|
4488
4680
|
} = props;
|
|
4489
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsx18(
|
|
4490
4682
|
"div",
|
|
4491
4683
|
{
|
|
4492
4684
|
...other,
|
|
@@ -4507,27 +4699,27 @@ var ButtonGroup = (props) => {
|
|
|
4507
4699
|
}
|
|
4508
4700
|
);
|
|
4509
4701
|
};
|
|
4510
|
-
ButtonGroup.states =
|
|
4511
|
-
ButtonGroup.options =
|
|
4702
|
+
ButtonGroup.states = states8;
|
|
4703
|
+
ButtonGroup.options = options8;
|
|
4512
4704
|
ButtonGroup.className = BUTTONGROUP_CLASSNAME;
|
|
4513
|
-
ButtonGroup.defaultProps =
|
|
4705
|
+
ButtonGroup.defaultProps = defaultProps7;
|
|
4514
4706
|
|
|
4515
4707
|
// src/button-group/templates/icon-button-group.tsx
|
|
4516
|
-
import { Fragment as
|
|
4708
|
+
import { Fragment as Fragment6, jsx as jsx19, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4517
4709
|
|
|
4518
4710
|
// src/button-group/templates/icon-text-button-group.tsx
|
|
4519
|
-
import { Fragment as
|
|
4711
|
+
import { Fragment as Fragment7, jsx as jsx20, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4520
4712
|
|
|
4521
4713
|
// src/button-group/templates/text-button-group.tsx
|
|
4522
|
-
import { Fragment as
|
|
4714
|
+
import { Fragment as Fragment8, jsx as jsx21, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4523
4715
|
|
|
4524
4716
|
// src/button-group/templates/mixed-button-group.tsx
|
|
4525
|
-
import { Fragment as
|
|
4717
|
+
import { Fragment as Fragment9, jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4526
4718
|
|
|
4527
4719
|
// src/input/input.spec.tsx
|
|
4528
|
-
import { jsx as
|
|
4720
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
4529
4721
|
var INPUT_CLASSNAME = `k-input`;
|
|
4530
|
-
var
|
|
4722
|
+
var states9 = [
|
|
4531
4723
|
States.hover,
|
|
4532
4724
|
States.focus,
|
|
4533
4725
|
States.valid,
|
|
@@ -4537,12 +4729,12 @@ var states6 = [
|
|
|
4537
4729
|
States.loading,
|
|
4538
4730
|
States.readonly
|
|
4539
4731
|
];
|
|
4540
|
-
var
|
|
4732
|
+
var options9 = {
|
|
4541
4733
|
size: [Size.small, Size.medium, Size.large],
|
|
4542
4734
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4543
4735
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4544
4736
|
};
|
|
4545
|
-
var
|
|
4737
|
+
var defaultProps8 = {
|
|
4546
4738
|
size: Size.medium,
|
|
4547
4739
|
rounded: Size.medium,
|
|
4548
4740
|
fillMode: FillMode.solid
|
|
@@ -4556,12 +4748,12 @@ var Input = (props) => {
|
|
|
4556
4748
|
valid,
|
|
4557
4749
|
loading,
|
|
4558
4750
|
readonly,
|
|
4559
|
-
size =
|
|
4560
|
-
rounded =
|
|
4561
|
-
fillMode =
|
|
4751
|
+
size = defaultProps8.size,
|
|
4752
|
+
rounded = defaultProps8.rounded,
|
|
4753
|
+
fillMode = defaultProps8.fillMode,
|
|
4562
4754
|
...other
|
|
4563
4755
|
} = props;
|
|
4564
|
-
return /* @__PURE__ */
|
|
4756
|
+
return /* @__PURE__ */ jsx23(
|
|
4565
4757
|
"span",
|
|
4566
4758
|
{
|
|
4567
4759
|
...other,
|
|
@@ -4574,13 +4766,13 @@ var Input = (props) => {
|
|
|
4574
4766
|
}
|
|
4575
4767
|
);
|
|
4576
4768
|
};
|
|
4577
|
-
Input.states =
|
|
4578
|
-
Input.options =
|
|
4769
|
+
Input.states = states9;
|
|
4770
|
+
Input.options = options9;
|
|
4579
4771
|
Input.className = INPUT_CLASSNAME;
|
|
4580
|
-
Input.defaultProps =
|
|
4772
|
+
Input.defaultProps = defaultProps8;
|
|
4581
4773
|
|
|
4582
4774
|
// src/input/picker.spec.tsx
|
|
4583
|
-
import { jsx as
|
|
4775
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
4584
4776
|
var PICKER_CLASSNAME = `k-picker`;
|
|
4585
4777
|
var pickerStates = [
|
|
4586
4778
|
States.hover,
|
|
@@ -4597,7 +4789,7 @@ var pickerOptions = {
|
|
|
4597
4789
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4598
4790
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
4599
4791
|
};
|
|
4600
|
-
var
|
|
4792
|
+
var defaultProps9 = {
|
|
4601
4793
|
size: Size.medium,
|
|
4602
4794
|
rounded: Roundness.medium,
|
|
4603
4795
|
fillMode: FillMode.solid
|
|
@@ -4611,12 +4803,12 @@ var Picker = (props) => {
|
|
|
4611
4803
|
valid,
|
|
4612
4804
|
loading,
|
|
4613
4805
|
readonly,
|
|
4614
|
-
size =
|
|
4615
|
-
rounded =
|
|
4616
|
-
fillMode =
|
|
4806
|
+
size = defaultProps9.size,
|
|
4807
|
+
rounded = defaultProps9.rounded,
|
|
4808
|
+
fillMode = defaultProps9.fillMode,
|
|
4617
4809
|
...other
|
|
4618
4810
|
} = props;
|
|
4619
|
-
return /* @__PURE__ */
|
|
4811
|
+
return /* @__PURE__ */ jsx24(
|
|
4620
4812
|
"span",
|
|
4621
4813
|
{
|
|
4622
4814
|
...other,
|
|
@@ -4633,17 +4825,17 @@ var Picker = (props) => {
|
|
|
4633
4825
|
Picker.states = pickerStates;
|
|
4634
4826
|
Picker.options = pickerOptions;
|
|
4635
4827
|
Picker.className = PICKER_CLASSNAME;
|
|
4636
|
-
Picker.defaultProps =
|
|
4828
|
+
Picker.defaultProps = defaultProps9;
|
|
4637
4829
|
|
|
4638
4830
|
// src/input/input-clear-value.tsx
|
|
4639
|
-
import { Fragment as
|
|
4640
|
-
var
|
|
4641
|
-
var
|
|
4831
|
+
import { Fragment as Fragment10, jsx as jsx25 } from "react/jsx-runtime";
|
|
4832
|
+
var className6 = `k-clear-value`;
|
|
4833
|
+
var states10 = [
|
|
4642
4834
|
States.disabled,
|
|
4643
4835
|
States.loading,
|
|
4644
4836
|
States.readonly
|
|
4645
4837
|
];
|
|
4646
|
-
var
|
|
4838
|
+
var options10 = {};
|
|
4647
4839
|
var InputClearValue = (props) => {
|
|
4648
4840
|
const {
|
|
4649
4841
|
disabled,
|
|
@@ -4652,20 +4844,20 @@ var InputClearValue = (props) => {
|
|
|
4652
4844
|
value
|
|
4653
4845
|
} = props;
|
|
4654
4846
|
if (disabled || readonly || loading || !value) {
|
|
4655
|
-
return /* @__PURE__ */
|
|
4847
|
+
return /* @__PURE__ */ jsx25(Fragment10, {});
|
|
4656
4848
|
}
|
|
4657
|
-
return /* @__PURE__ */
|
|
4849
|
+
return /* @__PURE__ */ jsx25("span", { className: classNames(props.className, className6), children: /* @__PURE__ */ jsx25(Icon, { icon: "x" }) });
|
|
4658
4850
|
};
|
|
4659
|
-
InputClearValue.states =
|
|
4660
|
-
InputClearValue.options =
|
|
4661
|
-
InputClearValue.className =
|
|
4851
|
+
InputClearValue.states = states10;
|
|
4852
|
+
InputClearValue.options = options10;
|
|
4853
|
+
InputClearValue.className = className6;
|
|
4662
4854
|
|
|
4663
4855
|
// src/input/input-inner-input.tsx
|
|
4664
|
-
import { jsx as
|
|
4665
|
-
var
|
|
4666
|
-
var
|
|
4667
|
-
var
|
|
4668
|
-
var
|
|
4856
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
4857
|
+
var className7 = `k-input-inner`;
|
|
4858
|
+
var states11 = [];
|
|
4859
|
+
var options11 = {};
|
|
4860
|
+
var defaultProps10 = {
|
|
4669
4861
|
type: "text",
|
|
4670
4862
|
autocomplete: "off",
|
|
4671
4863
|
value: "",
|
|
@@ -4673,33 +4865,33 @@ var defaultProps8 = {
|
|
|
4673
4865
|
};
|
|
4674
4866
|
var InputInnerInput = (props) => {
|
|
4675
4867
|
const {
|
|
4676
|
-
value =
|
|
4677
|
-
type =
|
|
4678
|
-
placeholder =
|
|
4679
|
-
autocomplete =
|
|
4868
|
+
value = defaultProps10.value,
|
|
4869
|
+
type = defaultProps10.type,
|
|
4870
|
+
placeholder = defaultProps10.placeholder,
|
|
4871
|
+
autocomplete = defaultProps10.autocomplete,
|
|
4680
4872
|
...other
|
|
4681
4873
|
} = props;
|
|
4682
|
-
return /* @__PURE__ */
|
|
4874
|
+
return /* @__PURE__ */ jsx26(
|
|
4683
4875
|
"input",
|
|
4684
4876
|
{
|
|
4685
4877
|
...other,
|
|
4686
4878
|
type,
|
|
4687
|
-
className: classNames(props.className,
|
|
4879
|
+
className: classNames(props.className, className7, optionClassNames(className7, props)),
|
|
4688
4880
|
placeholder,
|
|
4689
4881
|
autoComplete: autocomplete,
|
|
4690
4882
|
defaultValue: value
|
|
4691
4883
|
}
|
|
4692
4884
|
);
|
|
4693
4885
|
};
|
|
4694
|
-
InputInnerInput.states =
|
|
4695
|
-
InputInnerInput.options =
|
|
4696
|
-
InputInnerInput.className =
|
|
4886
|
+
InputInnerInput.states = states11;
|
|
4887
|
+
InputInnerInput.options = options11;
|
|
4888
|
+
InputInnerInput.className = className7;
|
|
4697
4889
|
|
|
4698
4890
|
// src/input/input-inner-span.tsx
|
|
4699
|
-
import { jsx as
|
|
4700
|
-
var
|
|
4701
|
-
var
|
|
4702
|
-
var
|
|
4891
|
+
import { jsx as jsx27, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
4892
|
+
var className8 = `k-input-inner`;
|
|
4893
|
+
var states12 = [];
|
|
4894
|
+
var options12 = {};
|
|
4703
4895
|
var InputInnerSpan = (props) => {
|
|
4704
4896
|
const {
|
|
4705
4897
|
value,
|
|
@@ -4709,59 +4901,59 @@ var InputInnerSpan = (props) => {
|
|
|
4709
4901
|
valueIconName,
|
|
4710
4902
|
...other
|
|
4711
4903
|
} = props;
|
|
4712
|
-
return /* @__PURE__ */
|
|
4904
|
+
return /* @__PURE__ */ jsxs8(
|
|
4713
4905
|
"span",
|
|
4714
4906
|
{
|
|
4715
4907
|
...other,
|
|
4716
|
-
className: classNames(props.className,
|
|
4908
|
+
className: classNames(props.className, className8, optionClassNames(className8, props)),
|
|
4717
4909
|
children: [
|
|
4718
4910
|
valueIcon,
|
|
4719
|
-
!valueIcon && valueIconName && /* @__PURE__ */
|
|
4911
|
+
!valueIcon && valueIconName && /* @__PURE__ */ jsx27(Icon, { className: "k-input-value-icon", icon: valueIconName }),
|
|
4720
4912
|
showValue && !value && placeholder,
|
|
4721
|
-
showValue && value && /* @__PURE__ */
|
|
4913
|
+
showValue && value && /* @__PURE__ */ jsx27("span", { className: "k-input-value-text", children: value })
|
|
4722
4914
|
]
|
|
4723
4915
|
}
|
|
4724
4916
|
);
|
|
4725
4917
|
};
|
|
4726
|
-
InputInnerSpan.states =
|
|
4727
|
-
InputInnerSpan.options =
|
|
4728
|
-
InputInnerSpan.className =
|
|
4918
|
+
InputInnerSpan.states = states12;
|
|
4919
|
+
InputInnerSpan.options = options12;
|
|
4920
|
+
InputInnerSpan.className = className8;
|
|
4729
4921
|
|
|
4730
4922
|
// src/input/input-inner-textarea.tsx
|
|
4731
|
-
import { jsx as
|
|
4732
|
-
var
|
|
4923
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
4924
|
+
var defaultProps11 = {
|
|
4733
4925
|
value: "",
|
|
4734
4926
|
placeholder: ""
|
|
4735
4927
|
};
|
|
4736
|
-
var
|
|
4737
|
-
var
|
|
4738
|
-
var
|
|
4928
|
+
var className9 = `k-input-inner`;
|
|
4929
|
+
var states13 = [];
|
|
4930
|
+
var options13 = {};
|
|
4739
4931
|
var InputInnerTextarea = (props) => {
|
|
4740
4932
|
const {
|
|
4741
|
-
value =
|
|
4742
|
-
placeholder =
|
|
4933
|
+
value = defaultProps11.value,
|
|
4934
|
+
placeholder = defaultProps11.placeholder,
|
|
4743
4935
|
rows,
|
|
4744
4936
|
...other
|
|
4745
4937
|
} = props;
|
|
4746
|
-
return /* @__PURE__ */
|
|
4938
|
+
return /* @__PURE__ */ jsx28(
|
|
4747
4939
|
"textarea",
|
|
4748
4940
|
{
|
|
4749
4941
|
...other,
|
|
4750
|
-
className: classNames(props.className,
|
|
4942
|
+
className: classNames(props.className, className9, optionClassNames(className9, props)),
|
|
4751
4943
|
placeholder,
|
|
4752
4944
|
rows,
|
|
4753
4945
|
defaultValue: value
|
|
4754
4946
|
}
|
|
4755
4947
|
);
|
|
4756
4948
|
};
|
|
4757
|
-
InputInnerTextarea.states =
|
|
4758
|
-
InputInnerTextarea.options =
|
|
4759
|
-
InputInnerTextarea.className =
|
|
4949
|
+
InputInnerTextarea.states = states13;
|
|
4950
|
+
InputInnerTextarea.options = options13;
|
|
4951
|
+
InputInnerTextarea.className = className9;
|
|
4760
4952
|
|
|
4761
4953
|
// src/input/input-loading-icon.tsx
|
|
4762
|
-
import { Fragment as
|
|
4763
|
-
var
|
|
4764
|
-
var
|
|
4954
|
+
import { Fragment as Fragment11, jsx as jsx29 } from "react/jsx-runtime";
|
|
4955
|
+
var className10 = `k-input-loading-icon`;
|
|
4956
|
+
var states14 = [
|
|
4765
4957
|
States.disabled,
|
|
4766
4958
|
States.loading
|
|
4767
4959
|
];
|
|
@@ -4771,21 +4963,21 @@ var InputLoadingIcon = (props) => {
|
|
|
4771
4963
|
loading
|
|
4772
4964
|
} = props;
|
|
4773
4965
|
if (disabled || !loading) {
|
|
4774
|
-
return /* @__PURE__ */
|
|
4966
|
+
return /* @__PURE__ */ jsx29(Fragment11, {});
|
|
4775
4967
|
}
|
|
4776
|
-
return /* @__PURE__ */
|
|
4968
|
+
return /* @__PURE__ */ jsx29("span", { className: classNames(props.className, className10, "k-icon k-i-loading") });
|
|
4777
4969
|
};
|
|
4778
4970
|
|
|
4779
4971
|
// src/input/input-validation-icon.tsx
|
|
4780
|
-
import { Fragment as
|
|
4781
|
-
var
|
|
4782
|
-
var
|
|
4972
|
+
import { Fragment as Fragment12, jsx as jsx30 } from "react/jsx-runtime";
|
|
4973
|
+
var className11 = `k-input-validation-icon`;
|
|
4974
|
+
var states15 = [
|
|
4783
4975
|
States.valid,
|
|
4784
4976
|
States.invalid,
|
|
4785
4977
|
States.disabled,
|
|
4786
4978
|
States.loading
|
|
4787
4979
|
];
|
|
4788
|
-
var
|
|
4980
|
+
var options14 = {};
|
|
4789
4981
|
var InputValidationIcon = (props) => {
|
|
4790
4982
|
const {
|
|
4791
4983
|
valid,
|
|
@@ -4796,34 +4988,34 @@ var InputValidationIcon = (props) => {
|
|
|
4796
4988
|
const iconName = invalid ? "warning-circle" : "check-circle";
|
|
4797
4989
|
const renderValidationIcon = Boolean(valid || invalid);
|
|
4798
4990
|
if (disabled || loading || !renderValidationIcon) {
|
|
4799
|
-
return /* @__PURE__ */
|
|
4991
|
+
return /* @__PURE__ */ jsx30(Fragment12, {});
|
|
4800
4992
|
}
|
|
4801
|
-
return /* @__PURE__ */
|
|
4993
|
+
return /* @__PURE__ */ jsx30(Icon, { className: classNames(className11), icon: iconName });
|
|
4802
4994
|
};
|
|
4803
|
-
InputValidationIcon.states =
|
|
4804
|
-
InputValidationIcon.options =
|
|
4805
|
-
InputValidationIcon.className =
|
|
4995
|
+
InputValidationIcon.states = states15;
|
|
4996
|
+
InputValidationIcon.options = options14;
|
|
4997
|
+
InputValidationIcon.className = className11;
|
|
4806
4998
|
|
|
4807
4999
|
// src/input/input-prefix.tsx
|
|
4808
|
-
import { Fragment as
|
|
4809
|
-
var
|
|
4810
|
-
var
|
|
5000
|
+
import { Fragment as Fragment13, jsx as jsx31 } from "react/jsx-runtime";
|
|
5001
|
+
var className12 = `k-input-prefix`;
|
|
5002
|
+
var defaultProps12 = {
|
|
4811
5003
|
direction: "horizontal"
|
|
4812
5004
|
};
|
|
4813
5005
|
var InputPrefix = (props) => {
|
|
4814
5006
|
const {
|
|
4815
|
-
direction =
|
|
5007
|
+
direction = defaultProps12.direction,
|
|
4816
5008
|
...other
|
|
4817
5009
|
} = props;
|
|
4818
5010
|
if (!props.children) {
|
|
4819
|
-
return /* @__PURE__ */
|
|
5011
|
+
return /* @__PURE__ */ jsx31(Fragment13, {});
|
|
4820
5012
|
}
|
|
4821
|
-
return /* @__PURE__ */
|
|
5013
|
+
return /* @__PURE__ */ jsx31(
|
|
4822
5014
|
"span",
|
|
4823
5015
|
{
|
|
4824
5016
|
...other,
|
|
4825
5017
|
className: classNames(
|
|
4826
|
-
|
|
5018
|
+
className12,
|
|
4827
5019
|
props.className,
|
|
4828
5020
|
{
|
|
4829
5021
|
[`k-input-prefix-${direction}`]: direction
|
|
@@ -4835,25 +5027,25 @@ var InputPrefix = (props) => {
|
|
|
4835
5027
|
};
|
|
4836
5028
|
|
|
4837
5029
|
// src/input/input-suffix.tsx
|
|
4838
|
-
import { Fragment as
|
|
4839
|
-
var
|
|
4840
|
-
var
|
|
5030
|
+
import { Fragment as Fragment14, jsx as jsx32 } from "react/jsx-runtime";
|
|
5031
|
+
var className13 = `k-input-suffix`;
|
|
5032
|
+
var defaultProps13 = {
|
|
4841
5033
|
direction: "horizontal"
|
|
4842
5034
|
};
|
|
4843
5035
|
var InputSuffix = (props) => {
|
|
4844
5036
|
const {
|
|
4845
|
-
direction =
|
|
5037
|
+
direction = defaultProps13.direction,
|
|
4846
5038
|
...other
|
|
4847
5039
|
} = props;
|
|
4848
5040
|
if (!props.children) {
|
|
4849
|
-
return /* @__PURE__ */
|
|
5041
|
+
return /* @__PURE__ */ jsx32(Fragment14, {});
|
|
4850
5042
|
}
|
|
4851
|
-
return /* @__PURE__ */
|
|
5043
|
+
return /* @__PURE__ */ jsx32(
|
|
4852
5044
|
"span",
|
|
4853
5045
|
{
|
|
4854
5046
|
...other,
|
|
4855
5047
|
className: classNames(
|
|
4856
|
-
|
|
5048
|
+
className13,
|
|
4857
5049
|
props.className,
|
|
4858
5050
|
{
|
|
4859
5051
|
[`k-input-suffix-${direction}`]: direction
|
|
@@ -4865,31 +5057,31 @@ var InputSuffix = (props) => {
|
|
|
4865
5057
|
};
|
|
4866
5058
|
|
|
4867
5059
|
// src/input/input-prefix-text.tsx
|
|
4868
|
-
import { jsx as
|
|
5060
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
4869
5061
|
|
|
4870
5062
|
// src/input/input-suffix-text.tsx
|
|
4871
|
-
import { jsx as
|
|
5063
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
4872
5064
|
|
|
4873
5065
|
// src/input/input-separator.tsx
|
|
4874
|
-
import { jsx as
|
|
4875
|
-
var
|
|
4876
|
-
var
|
|
5066
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
5067
|
+
var className14 = `k-input-separator`;
|
|
5068
|
+
var defaultProps14 = {
|
|
4877
5069
|
direction: "vertical"
|
|
4878
5070
|
};
|
|
4879
5071
|
var InputSeparator = (props) => {
|
|
4880
5072
|
const {
|
|
4881
|
-
direction =
|
|
5073
|
+
direction = defaultProps14.direction,
|
|
4882
5074
|
...other
|
|
4883
5075
|
} = props;
|
|
4884
|
-
return /* @__PURE__ */
|
|
5076
|
+
return /* @__PURE__ */ jsx35(
|
|
4885
5077
|
"span",
|
|
4886
5078
|
{
|
|
4887
5079
|
...other,
|
|
4888
5080
|
className: classNames(
|
|
4889
|
-
|
|
5081
|
+
className14,
|
|
4890
5082
|
props.className,
|
|
4891
5083
|
{
|
|
4892
|
-
[`${
|
|
5084
|
+
[`${className14}-${direction}`]: direction
|
|
4893
5085
|
}
|
|
4894
5086
|
)
|
|
4895
5087
|
}
|
|
@@ -4897,17 +5089,17 @@ var InputSeparator = (props) => {
|
|
|
4897
5089
|
};
|
|
4898
5090
|
|
|
4899
5091
|
// src/color-preview/color-preview.tsx
|
|
4900
|
-
import { jsx as
|
|
5092
|
+
import { jsx as jsx36, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4901
5093
|
var COLORPREVIEW_CLASSNAME = `k-color-preview`;
|
|
4902
|
-
var
|
|
4903
|
-
var
|
|
5094
|
+
var states16 = [];
|
|
5095
|
+
var options15 = {};
|
|
4904
5096
|
var ColorPreview = (props) => {
|
|
4905
5097
|
const {
|
|
4906
5098
|
color,
|
|
4907
5099
|
iconName,
|
|
4908
5100
|
...other
|
|
4909
5101
|
} = props;
|
|
4910
|
-
return /* @__PURE__ */
|
|
5102
|
+
return /* @__PURE__ */ jsxs9(
|
|
4911
5103
|
"span",
|
|
4912
5104
|
{
|
|
4913
5105
|
...other,
|
|
@@ -4920,8 +5112,8 @@ var ColorPreview = (props) => {
|
|
|
4920
5112
|
}
|
|
4921
5113
|
),
|
|
4922
5114
|
children: [
|
|
4923
|
-
iconName && /* @__PURE__ */
|
|
4924
|
-
/* @__PURE__ */
|
|
5115
|
+
iconName && /* @__PURE__ */ jsx36(Icon, { icon: iconName, className: "k-color-preview-icon" }),
|
|
5116
|
+
/* @__PURE__ */ jsx36(
|
|
4925
5117
|
"span",
|
|
4926
5118
|
{
|
|
4927
5119
|
className: "k-color-preview-mask",
|
|
@@ -4932,16 +5124,16 @@ var ColorPreview = (props) => {
|
|
|
4932
5124
|
}
|
|
4933
5125
|
);
|
|
4934
5126
|
};
|
|
4935
|
-
ColorPreview.states =
|
|
4936
|
-
ColorPreview.options =
|
|
5127
|
+
ColorPreview.states = states16;
|
|
5128
|
+
ColorPreview.options = options15;
|
|
4937
5129
|
ColorPreview.className = COLORPREVIEW_CLASSNAME;
|
|
4938
5130
|
|
|
4939
5131
|
// src/animation-container/animation-container.spec.tsx
|
|
4940
|
-
import { jsx as
|
|
5132
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
4941
5133
|
var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
|
|
4942
|
-
var
|
|
4943
|
-
var
|
|
4944
|
-
var
|
|
5134
|
+
var states17 = [];
|
|
5135
|
+
var options16 = {};
|
|
5136
|
+
var defaultProps15 = {
|
|
4945
5137
|
positionMode: "absolute"
|
|
4946
5138
|
};
|
|
4947
5139
|
var AnimationContainer = (props) => {
|
|
@@ -4951,7 +5143,7 @@ var AnimationContainer = (props) => {
|
|
|
4951
5143
|
offset,
|
|
4952
5144
|
...other
|
|
4953
5145
|
} = props;
|
|
4954
|
-
return /* @__PURE__ */
|
|
5146
|
+
return /* @__PURE__ */ jsx37(
|
|
4955
5147
|
"div",
|
|
4956
5148
|
{
|
|
4957
5149
|
...other,
|
|
@@ -4963,21 +5155,21 @@ var AnimationContainer = (props) => {
|
|
|
4963
5155
|
["k-animation-container-fixed"]: positionMode === "fixed"
|
|
4964
5156
|
}
|
|
4965
5157
|
),
|
|
4966
|
-
children: /* @__PURE__ */
|
|
5158
|
+
children: /* @__PURE__ */ jsx37("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
|
|
4967
5159
|
}
|
|
4968
5160
|
);
|
|
4969
5161
|
};
|
|
4970
|
-
AnimationContainer.states =
|
|
4971
|
-
AnimationContainer.options =
|
|
5162
|
+
AnimationContainer.states = states17;
|
|
5163
|
+
AnimationContainer.options = options16;
|
|
4972
5164
|
AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
|
|
4973
|
-
AnimationContainer.defaultProps =
|
|
5165
|
+
AnimationContainer.defaultProps = defaultProps15;
|
|
4974
5166
|
|
|
4975
5167
|
// src/popup/popup.spec.tsx
|
|
4976
|
-
import { jsx as
|
|
5168
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
4977
5169
|
var POPUP_CLASSNAME = `k-popup`;
|
|
4978
|
-
var
|
|
4979
|
-
var
|
|
4980
|
-
var
|
|
5170
|
+
var states18 = [];
|
|
5171
|
+
var options17 = {};
|
|
5172
|
+
var defaultProps16 = {
|
|
4981
5173
|
positionMode: "absolute"
|
|
4982
5174
|
};
|
|
4983
5175
|
var Popup = (props) => {
|
|
@@ -4987,25 +5179,25 @@ var Popup = (props) => {
|
|
|
4987
5179
|
animationStyle,
|
|
4988
5180
|
...other
|
|
4989
5181
|
} = props;
|
|
4990
|
-
return /* @__PURE__ */
|
|
5182
|
+
return /* @__PURE__ */ jsx38(
|
|
4991
5183
|
AnimationContainer,
|
|
4992
5184
|
{
|
|
4993
5185
|
positionMode,
|
|
4994
5186
|
offset,
|
|
4995
5187
|
animationStyle,
|
|
4996
|
-
children: /* @__PURE__ */
|
|
5188
|
+
children: /* @__PURE__ */ jsx38("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
|
|
4997
5189
|
}
|
|
4998
5190
|
);
|
|
4999
5191
|
};
|
|
5000
|
-
Popup.states =
|
|
5001
|
-
Popup.options =
|
|
5192
|
+
Popup.states = states18;
|
|
5193
|
+
Popup.options = options17;
|
|
5002
5194
|
Popup.className = POPUP_CLASSNAME;
|
|
5003
|
-
Popup.defaultProps =
|
|
5195
|
+
Popup.defaultProps = defaultProps16;
|
|
5004
5196
|
|
|
5005
5197
|
// src/colorpicker/colorpicker.spec.tsx
|
|
5006
|
-
import { Fragment as
|
|
5198
|
+
import { Fragment as Fragment15, jsx as jsx39, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
5007
5199
|
var COLORPICKER_CLASSNAME = `k-colorpicker`;
|
|
5008
|
-
var
|
|
5200
|
+
var states19 = [
|
|
5009
5201
|
States.hover,
|
|
5010
5202
|
States.focus,
|
|
5011
5203
|
States.valid,
|
|
@@ -5013,12 +5205,12 @@ var states16 = [
|
|
|
5013
5205
|
States.required,
|
|
5014
5206
|
States.disabled
|
|
5015
5207
|
];
|
|
5016
|
-
var
|
|
5208
|
+
var options18 = {
|
|
5017
5209
|
size: [Size.small, Size.medium, Size.large],
|
|
5018
5210
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5019
5211
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5020
5212
|
};
|
|
5021
|
-
var
|
|
5213
|
+
var defaultProps17 = {
|
|
5022
5214
|
arrowIconName: "caret-alt-down",
|
|
5023
5215
|
size: Picker.defaultProps.size,
|
|
5024
5216
|
rounded: Picker.defaultProps.rounded,
|
|
@@ -5040,13 +5232,13 @@ var ColorPicker = (props) => {
|
|
|
5040
5232
|
required,
|
|
5041
5233
|
disabled,
|
|
5042
5234
|
valueIconName,
|
|
5043
|
-
arrowIconName =
|
|
5235
|
+
arrowIconName = defaultProps17.arrowIconName,
|
|
5044
5236
|
popup,
|
|
5045
5237
|
opened,
|
|
5046
5238
|
...other
|
|
5047
5239
|
} = props;
|
|
5048
|
-
return /* @__PURE__ */
|
|
5049
|
-
/* @__PURE__ */
|
|
5240
|
+
return /* @__PURE__ */ jsxs10(Fragment15, { children: [
|
|
5241
|
+
/* @__PURE__ */ jsxs10(
|
|
5050
5242
|
Picker,
|
|
5051
5243
|
{
|
|
5052
5244
|
...other,
|
|
@@ -5065,14 +5257,14 @@ var ColorPicker = (props) => {
|
|
|
5065
5257
|
"k-icon-picker"
|
|
5066
5258
|
),
|
|
5067
5259
|
children: [
|
|
5068
|
-
/* @__PURE__ */
|
|
5069
|
-
/* @__PURE__ */
|
|
5260
|
+
/* @__PURE__ */ jsx39(InputPrefix, { children: prefix }),
|
|
5261
|
+
/* @__PURE__ */ jsx39(
|
|
5070
5262
|
InputInnerSpan,
|
|
5071
5263
|
{
|
|
5072
5264
|
placeholder,
|
|
5073
5265
|
value,
|
|
5074
5266
|
showValue: false,
|
|
5075
|
-
valueIcon: /* @__PURE__ */
|
|
5267
|
+
valueIcon: /* @__PURE__ */ jsx39(
|
|
5076
5268
|
ColorPreview,
|
|
5077
5269
|
{
|
|
5078
5270
|
className: "k-value-icon",
|
|
@@ -5083,8 +5275,8 @@ var ColorPicker = (props) => {
|
|
|
5083
5275
|
valueIconName
|
|
5084
5276
|
}
|
|
5085
5277
|
),
|
|
5086
|
-
/* @__PURE__ */
|
|
5087
|
-
/* @__PURE__ */
|
|
5278
|
+
/* @__PURE__ */ jsx39(InputSuffix, { children: suffix }),
|
|
5279
|
+
/* @__PURE__ */ jsx39(
|
|
5088
5280
|
Button,
|
|
5089
5281
|
{
|
|
5090
5282
|
className: "k-input-button",
|
|
@@ -5097,33 +5289,33 @@ var ColorPicker = (props) => {
|
|
|
5097
5289
|
]
|
|
5098
5290
|
}
|
|
5099
5291
|
),
|
|
5100
|
-
opened && popup && /* @__PURE__ */
|
|
5292
|
+
opened && popup && /* @__PURE__ */ jsx39(Popup, { className: "k-colorpicker-popup", children: popup })
|
|
5101
5293
|
] });
|
|
5102
5294
|
};
|
|
5103
|
-
ColorPicker.states =
|
|
5104
|
-
ColorPicker.options =
|
|
5295
|
+
ColorPicker.states = states19;
|
|
5296
|
+
ColorPicker.options = options18;
|
|
5105
5297
|
ColorPicker.className = COLORPICKER_CLASSNAME;
|
|
5106
|
-
ColorPicker.defaultProps =
|
|
5298
|
+
ColorPicker.defaultProps = defaultProps17;
|
|
5107
5299
|
|
|
5108
5300
|
// src/colorpicker/templates/colorpicker-normal.tsx
|
|
5109
|
-
import { jsx as
|
|
5301
|
+
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
5110
5302
|
|
|
5111
5303
|
// src/action-buttons/action-buttons.spec.tsx
|
|
5112
|
-
import { jsx as
|
|
5304
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
5113
5305
|
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
5114
|
-
var
|
|
5115
|
-
var
|
|
5116
|
-
var
|
|
5306
|
+
var states20 = [];
|
|
5307
|
+
var options19 = {};
|
|
5308
|
+
var defaultProps18 = {
|
|
5117
5309
|
alignment: "start",
|
|
5118
5310
|
orientation: "horizontal"
|
|
5119
5311
|
};
|
|
5120
5312
|
var ActionButtons = (props) => {
|
|
5121
5313
|
const {
|
|
5122
|
-
alignment =
|
|
5123
|
-
orientation =
|
|
5314
|
+
alignment = defaultProps18.alignment,
|
|
5315
|
+
orientation = defaultProps18.orientation,
|
|
5124
5316
|
...other
|
|
5125
5317
|
} = props;
|
|
5126
|
-
return /* @__PURE__ */
|
|
5318
|
+
return /* @__PURE__ */ jsx41(
|
|
5127
5319
|
"div",
|
|
5128
5320
|
{
|
|
5129
5321
|
...other,
|
|
@@ -5139,24 +5331,24 @@ var ActionButtons = (props) => {
|
|
|
5139
5331
|
}
|
|
5140
5332
|
);
|
|
5141
5333
|
};
|
|
5142
|
-
ActionButtons.states =
|
|
5143
|
-
ActionButtons.options =
|
|
5334
|
+
ActionButtons.states = states20;
|
|
5335
|
+
ActionButtons.options = options19;
|
|
5144
5336
|
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
5145
|
-
ActionButtons.defaultProps =
|
|
5337
|
+
ActionButtons.defaultProps = defaultProps18;
|
|
5146
5338
|
var action_buttons_spec_default = ActionButtons;
|
|
5147
5339
|
|
|
5148
5340
|
// src/slider/slider.spec.tsx
|
|
5149
|
-
import { jsx as
|
|
5341
|
+
import { jsx as jsx42, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5150
5342
|
var SLIDER_CLASSNAME = "k-slider";
|
|
5151
|
-
var
|
|
5343
|
+
var states21 = [
|
|
5152
5344
|
States.hover,
|
|
5153
5345
|
States.focus,
|
|
5154
5346
|
States.active,
|
|
5155
5347
|
States.disabled,
|
|
5156
5348
|
States.readonly
|
|
5157
5349
|
];
|
|
5158
|
-
var
|
|
5159
|
-
var
|
|
5350
|
+
var options20 = {};
|
|
5351
|
+
var defaultProps19 = {
|
|
5160
5352
|
type: "single",
|
|
5161
5353
|
orientation: "horizontal",
|
|
5162
5354
|
readonly: false,
|
|
@@ -5167,13 +5359,13 @@ var defaultProps17 = {
|
|
|
5167
5359
|
};
|
|
5168
5360
|
var Slider = (props) => {
|
|
5169
5361
|
const {
|
|
5170
|
-
type =
|
|
5171
|
-
orientation =
|
|
5172
|
-
readonly =
|
|
5173
|
-
disabled =
|
|
5174
|
-
handlePosition =
|
|
5175
|
-
showButtons =
|
|
5176
|
-
showTicks =
|
|
5362
|
+
type = defaultProps19.type,
|
|
5363
|
+
orientation = defaultProps19.orientation,
|
|
5364
|
+
readonly = defaultProps19.readonly,
|
|
5365
|
+
disabled = defaultProps19.disabled,
|
|
5366
|
+
handlePosition = defaultProps19.handlePosition,
|
|
5367
|
+
showButtons = defaultProps19.showButtons,
|
|
5368
|
+
showTicks = defaultProps19.showTicks,
|
|
5177
5369
|
hover,
|
|
5178
5370
|
focus,
|
|
5179
5371
|
active,
|
|
@@ -5190,7 +5382,7 @@ var Slider = (props) => {
|
|
|
5190
5382
|
iconIncrease = "caret-alt-up";
|
|
5191
5383
|
iconDecrease = "caret-alt-down";
|
|
5192
5384
|
}
|
|
5193
|
-
return /* @__PURE__ */
|
|
5385
|
+
return /* @__PURE__ */ jsxs11(
|
|
5194
5386
|
"div",
|
|
5195
5387
|
{
|
|
5196
5388
|
...other,
|
|
@@ -5208,12 +5400,12 @@ var Slider = (props) => {
|
|
|
5208
5400
|
),
|
|
5209
5401
|
dir,
|
|
5210
5402
|
children: [
|
|
5211
|
-
showButtons && /* @__PURE__ */
|
|
5212
|
-
/* @__PURE__ */
|
|
5213
|
-
showTicks && /* @__PURE__ */
|
|
5214
|
-
/* @__PURE__ */
|
|
5215
|
-
/* @__PURE__ */
|
|
5216
|
-
type === "range" && /* @__PURE__ */
|
|
5403
|
+
showButtons && /* @__PURE__ */ jsx42(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
|
|
5404
|
+
/* @__PURE__ */ jsxs11("div", { className: "k-slider-track-wrap", children: [
|
|
5405
|
+
showTicks && /* @__PURE__ */ jsx42("ul", { className: "k-reset k-slider-items", children: props.children }),
|
|
5406
|
+
/* @__PURE__ */ jsxs11("div", { className: "k-slider-track", style: trackStyle, children: [
|
|
5407
|
+
/* @__PURE__ */ jsx42("div", { className: "k-slider-selection" }),
|
|
5408
|
+
type === "range" && /* @__PURE__ */ jsx42("span", { className: classNames(
|
|
5217
5409
|
"k-draghandle",
|
|
5218
5410
|
"k-draghandle-start",
|
|
5219
5411
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5222,7 +5414,7 @@ var Slider = (props) => {
|
|
|
5222
5414
|
active
|
|
5223
5415
|
})
|
|
5224
5416
|
) }),
|
|
5225
|
-
/* @__PURE__ */
|
|
5417
|
+
/* @__PURE__ */ jsx42("span", { className: classNames(
|
|
5226
5418
|
"k-draghandle",
|
|
5227
5419
|
`k-draghandle-${handlePosition}`,
|
|
5228
5420
|
stateClassNames(SLIDER_CLASSNAME, {
|
|
@@ -5233,34 +5425,34 @@ var Slider = (props) => {
|
|
|
5233
5425
|
) })
|
|
5234
5426
|
] })
|
|
5235
5427
|
] }),
|
|
5236
|
-
showButtons && /* @__PURE__ */
|
|
5428
|
+
showButtons && /* @__PURE__ */ jsx42(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
|
|
5237
5429
|
]
|
|
5238
5430
|
}
|
|
5239
5431
|
);
|
|
5240
5432
|
};
|
|
5241
|
-
Slider.states =
|
|
5242
|
-
Slider.options =
|
|
5433
|
+
Slider.states = states21;
|
|
5434
|
+
Slider.options = options20;
|
|
5243
5435
|
Slider.className = SLIDER_CLASSNAME;
|
|
5244
|
-
Slider.defaultProps =
|
|
5436
|
+
Slider.defaultProps = defaultProps19;
|
|
5245
5437
|
|
|
5246
5438
|
// src/slider/slider-tick.tsx
|
|
5247
|
-
import { jsx as
|
|
5439
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
5248
5440
|
var SLIDER_TICK_CLASSNAME = "k-tick";
|
|
5249
|
-
var
|
|
5250
|
-
var
|
|
5251
|
-
var
|
|
5441
|
+
var states22 = [];
|
|
5442
|
+
var options21 = {};
|
|
5443
|
+
var defaultProps20 = {
|
|
5252
5444
|
label: false
|
|
5253
5445
|
};
|
|
5254
5446
|
var SliderTick = (props) => {
|
|
5255
5447
|
const {
|
|
5256
|
-
style
|
|
5257
|
-
label =
|
|
5448
|
+
style,
|
|
5449
|
+
label = defaultProps20.label,
|
|
5258
5450
|
orientation,
|
|
5259
5451
|
large,
|
|
5260
5452
|
text,
|
|
5261
5453
|
...other
|
|
5262
5454
|
} = props;
|
|
5263
|
-
return /* @__PURE__ */
|
|
5455
|
+
return /* @__PURE__ */ jsx43(
|
|
5264
5456
|
"li",
|
|
5265
5457
|
{
|
|
5266
5458
|
...other,
|
|
@@ -5272,34 +5464,34 @@ var SliderTick = (props) => {
|
|
|
5272
5464
|
"k-tick-large": large
|
|
5273
5465
|
}
|
|
5274
5466
|
),
|
|
5275
|
-
style
|
|
5276
|
-
children: label && /* @__PURE__ */
|
|
5467
|
+
style,
|
|
5468
|
+
children: label && /* @__PURE__ */ jsx43("span", { className: "k-label", children: text })
|
|
5277
5469
|
}
|
|
5278
5470
|
);
|
|
5279
5471
|
};
|
|
5280
|
-
SliderTick.states =
|
|
5281
|
-
SliderTick.options =
|
|
5472
|
+
SliderTick.states = states22;
|
|
5473
|
+
SliderTick.options = options21;
|
|
5282
5474
|
SliderTick.className = SLIDER_TICK_CLASSNAME;
|
|
5283
|
-
SliderTick.defaultProps =
|
|
5475
|
+
SliderTick.defaultProps = defaultProps20;
|
|
5284
5476
|
|
|
5285
5477
|
// src/slider/templates/slider-normal.tsx
|
|
5286
|
-
import { Fragment as
|
|
5478
|
+
import { Fragment as Fragment16, jsx as jsx44, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
5287
5479
|
|
|
5288
5480
|
// src/slider/templates/slider-vertical.tsx
|
|
5289
|
-
import { Fragment as
|
|
5481
|
+
import { Fragment as Fragment17, jsx as jsx45, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5290
5482
|
|
|
5291
5483
|
// src/slider/templates/slider-range.tsx
|
|
5292
|
-
import { Fragment as
|
|
5484
|
+
import { Fragment as Fragment18, jsx as jsx46, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
5293
5485
|
|
|
5294
5486
|
// src/slider/templates/slider-range-vertical.tsx
|
|
5295
|
-
import { Fragment as
|
|
5487
|
+
import { Fragment as Fragment19, jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5296
5488
|
|
|
5297
5489
|
// src/slider/templates/slider-gradient.tsx
|
|
5298
|
-
import { jsx as
|
|
5490
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5299
5491
|
|
|
5300
5492
|
// src/slider/templates/slider-gradient-vertical.tsx
|
|
5301
|
-
import { jsx as
|
|
5302
|
-
var SliderGradientVertical = (props) => /* @__PURE__ */
|
|
5493
|
+
import { jsx as jsx49 } from "react/jsx-runtime";
|
|
5494
|
+
var SliderGradientVertical = (props) => /* @__PURE__ */ jsx49(
|
|
5303
5495
|
Slider,
|
|
5304
5496
|
{
|
|
5305
5497
|
type: "gradient",
|
|
@@ -5311,24 +5503,24 @@ var SliderGradientVertical = (props) => /* @__PURE__ */ jsx39(
|
|
|
5311
5503
|
);
|
|
5312
5504
|
|
|
5313
5505
|
// src/spinbutton/spinbutton.spec.tsx
|
|
5314
|
-
import { jsx as
|
|
5506
|
+
import { jsx as jsx50, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5315
5507
|
var SPINBUTTON_CLASSNAME = `k-spin-button`;
|
|
5316
|
-
var
|
|
5317
|
-
var
|
|
5508
|
+
var states23 = [];
|
|
5509
|
+
var options22 = {
|
|
5318
5510
|
size: [Size.small, Size.medium, Size.large],
|
|
5319
5511
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
|
|
5320
5512
|
};
|
|
5321
|
-
var
|
|
5513
|
+
var defaultProps21 = {
|
|
5322
5514
|
size: Size.medium,
|
|
5323
5515
|
fillMode: FillMode.solid
|
|
5324
5516
|
};
|
|
5325
5517
|
var SpinButton = (props) => {
|
|
5326
5518
|
const {
|
|
5327
|
-
size =
|
|
5328
|
-
fillMode =
|
|
5519
|
+
size = defaultProps21.size,
|
|
5520
|
+
fillMode = defaultProps21.fillMode,
|
|
5329
5521
|
...other
|
|
5330
5522
|
} = props;
|
|
5331
|
-
return /* @__PURE__ */
|
|
5523
|
+
return /* @__PURE__ */ jsxs16(
|
|
5332
5524
|
"span",
|
|
5333
5525
|
{
|
|
5334
5526
|
...other,
|
|
@@ -5337,7 +5529,7 @@ var SpinButton = (props) => {
|
|
|
5337
5529
|
props.className
|
|
5338
5530
|
),
|
|
5339
5531
|
children: [
|
|
5340
|
-
/* @__PURE__ */
|
|
5532
|
+
/* @__PURE__ */ jsx50(
|
|
5341
5533
|
Button,
|
|
5342
5534
|
{
|
|
5343
5535
|
className: "k-spinner-increase",
|
|
@@ -5347,7 +5539,7 @@ var SpinButton = (props) => {
|
|
|
5347
5539
|
fillMode
|
|
5348
5540
|
}
|
|
5349
5541
|
),
|
|
5350
|
-
/* @__PURE__ */
|
|
5542
|
+
/* @__PURE__ */ jsx50(
|
|
5351
5543
|
Button,
|
|
5352
5544
|
{
|
|
5353
5545
|
className: "k-spinner-decrease",
|
|
@@ -5361,15 +5553,15 @@ var SpinButton = (props) => {
|
|
|
5361
5553
|
}
|
|
5362
5554
|
);
|
|
5363
5555
|
};
|
|
5364
|
-
SpinButton.states =
|
|
5365
|
-
SpinButton.options =
|
|
5556
|
+
SpinButton.states = states23;
|
|
5557
|
+
SpinButton.options = options22;
|
|
5366
5558
|
SpinButton.className = SPINBUTTON_CLASSNAME;
|
|
5367
|
-
SpinButton.defaultProps =
|
|
5559
|
+
SpinButton.defaultProps = defaultProps21;
|
|
5368
5560
|
|
|
5369
5561
|
// src/numerictextbox/numerictextbox.spec.tsx
|
|
5370
|
-
import { Fragment as
|
|
5562
|
+
import { Fragment as Fragment20, jsx as jsx51, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5371
5563
|
var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
|
|
5372
|
-
var
|
|
5564
|
+
var states24 = [
|
|
5373
5565
|
States.hover,
|
|
5374
5566
|
States.focus,
|
|
5375
5567
|
States.valid,
|
|
@@ -5379,12 +5571,12 @@ var states21 = [
|
|
|
5379
5571
|
States.disabled,
|
|
5380
5572
|
States.readonly
|
|
5381
5573
|
];
|
|
5382
|
-
var
|
|
5574
|
+
var options23 = {
|
|
5383
5575
|
size: [Size.small, Size.medium, Size.large],
|
|
5384
5576
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5385
5577
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5386
5578
|
};
|
|
5387
|
-
var
|
|
5579
|
+
var defaultProps22 = {
|
|
5388
5580
|
showSpinButton: true,
|
|
5389
5581
|
showClearButton: true,
|
|
5390
5582
|
size: Input.defaultProps.size,
|
|
@@ -5396,7 +5588,7 @@ var NumericTextbox = (props) => {
|
|
|
5396
5588
|
const {
|
|
5397
5589
|
prefix,
|
|
5398
5590
|
suffix,
|
|
5399
|
-
separators =
|
|
5591
|
+
separators = defaultProps22.separators,
|
|
5400
5592
|
value,
|
|
5401
5593
|
placeholder,
|
|
5402
5594
|
size,
|
|
@@ -5410,11 +5602,11 @@ var NumericTextbox = (props) => {
|
|
|
5410
5602
|
loading,
|
|
5411
5603
|
disabled,
|
|
5412
5604
|
readonly,
|
|
5413
|
-
showClearButton =
|
|
5414
|
-
showSpinButton =
|
|
5605
|
+
showClearButton = defaultProps22.showClearButton,
|
|
5606
|
+
showSpinButton = defaultProps22.showSpinButton,
|
|
5415
5607
|
...other
|
|
5416
5608
|
} = props;
|
|
5417
|
-
return /* @__PURE__ */
|
|
5609
|
+
return /* @__PURE__ */ jsxs17(
|
|
5418
5610
|
Input,
|
|
5419
5611
|
{
|
|
5420
5612
|
...other,
|
|
@@ -5431,12 +5623,12 @@ var NumericTextbox = (props) => {
|
|
|
5431
5623
|
readonly,
|
|
5432
5624
|
className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
|
|
5433
5625
|
children: [
|
|
5434
|
-
prefix && /* @__PURE__ */
|
|
5435
|
-
/* @__PURE__ */
|
|
5436
|
-
separators && /* @__PURE__ */
|
|
5626
|
+
prefix && /* @__PURE__ */ jsxs17(Fragment20, { children: [
|
|
5627
|
+
/* @__PURE__ */ jsx51(InputPrefix, { children: prefix }),
|
|
5628
|
+
separators && /* @__PURE__ */ jsx51(InputSeparator, {})
|
|
5437
5629
|
] }),
|
|
5438
|
-
/* @__PURE__ */
|
|
5439
|
-
/* @__PURE__ */
|
|
5630
|
+
/* @__PURE__ */ jsx51(InputInnerInput, { placeholder, value }),
|
|
5631
|
+
/* @__PURE__ */ jsx51(
|
|
5440
5632
|
InputValidationIcon,
|
|
5441
5633
|
{
|
|
5442
5634
|
valid,
|
|
@@ -5445,14 +5637,14 @@ var NumericTextbox = (props) => {
|
|
|
5445
5637
|
disabled
|
|
5446
5638
|
}
|
|
5447
5639
|
),
|
|
5448
|
-
/* @__PURE__ */
|
|
5640
|
+
/* @__PURE__ */ jsx51(
|
|
5449
5641
|
InputLoadingIcon,
|
|
5450
5642
|
{
|
|
5451
5643
|
loading,
|
|
5452
5644
|
disabled
|
|
5453
5645
|
}
|
|
5454
5646
|
),
|
|
5455
|
-
showClearButton && /* @__PURE__ */
|
|
5647
|
+
showClearButton && /* @__PURE__ */ jsx51(
|
|
5456
5648
|
InputClearValue,
|
|
5457
5649
|
{
|
|
5458
5650
|
loading,
|
|
@@ -5461,11 +5653,11 @@ var NumericTextbox = (props) => {
|
|
|
5461
5653
|
value
|
|
5462
5654
|
}
|
|
5463
5655
|
),
|
|
5464
|
-
suffix && /* @__PURE__ */
|
|
5465
|
-
separators && /* @__PURE__ */
|
|
5466
|
-
/* @__PURE__ */
|
|
5656
|
+
suffix && /* @__PURE__ */ jsxs17(Fragment20, { children: [
|
|
5657
|
+
separators && /* @__PURE__ */ jsx51(InputSeparator, {}),
|
|
5658
|
+
/* @__PURE__ */ jsx51(InputSuffix, { children: suffix })
|
|
5467
5659
|
] }),
|
|
5468
|
-
showSpinButton && /* @__PURE__ */
|
|
5660
|
+
showSpinButton && /* @__PURE__ */ jsx51(
|
|
5469
5661
|
SpinButton,
|
|
5470
5662
|
{
|
|
5471
5663
|
className: "k-input-spinner",
|
|
@@ -5477,18 +5669,18 @@ var NumericTextbox = (props) => {
|
|
|
5477
5669
|
}
|
|
5478
5670
|
);
|
|
5479
5671
|
};
|
|
5480
|
-
NumericTextbox.states =
|
|
5481
|
-
NumericTextbox.options =
|
|
5672
|
+
NumericTextbox.states = states24;
|
|
5673
|
+
NumericTextbox.options = options23;
|
|
5482
5674
|
NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
|
|
5483
|
-
NumericTextbox.defaultProps =
|
|
5675
|
+
NumericTextbox.defaultProps = defaultProps22;
|
|
5484
5676
|
|
|
5485
5677
|
// src/numerictextbox/templates/numerictextbox-normal.tsx
|
|
5486
|
-
import { jsx as
|
|
5678
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5487
5679
|
|
|
5488
5680
|
// src/dropdownlist/dropdownlist.spec.tsx
|
|
5489
|
-
import { Fragment as
|
|
5681
|
+
import { Fragment as Fragment21, jsx as jsx53, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5490
5682
|
var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
|
|
5491
|
-
var
|
|
5683
|
+
var states25 = [
|
|
5492
5684
|
States.hover,
|
|
5493
5685
|
States.focus,
|
|
5494
5686
|
States.valid,
|
|
@@ -5498,12 +5690,12 @@ var states22 = [
|
|
|
5498
5690
|
States.loading,
|
|
5499
5691
|
States.readonly
|
|
5500
5692
|
];
|
|
5501
|
-
var
|
|
5693
|
+
var options24 = {
|
|
5502
5694
|
size: [Size.small, Size.medium, Size.large],
|
|
5503
5695
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
5504
5696
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
5505
5697
|
};
|
|
5506
|
-
var
|
|
5698
|
+
var defaultProps23 = {
|
|
5507
5699
|
showValue: true,
|
|
5508
5700
|
arrowIconName: "caret-alt-down",
|
|
5509
5701
|
size: Size.medium,
|
|
@@ -5513,7 +5705,7 @@ var defaultProps21 = {
|
|
|
5513
5705
|
var DropdownList = (props) => {
|
|
5514
5706
|
const {
|
|
5515
5707
|
valueIconName,
|
|
5516
|
-
arrowIconName =
|
|
5708
|
+
arrowIconName = defaultProps23.arrowIconName,
|
|
5517
5709
|
prefix,
|
|
5518
5710
|
suffix,
|
|
5519
5711
|
value,
|
|
@@ -5529,13 +5721,13 @@ var DropdownList = (props) => {
|
|
|
5529
5721
|
loading,
|
|
5530
5722
|
disabled,
|
|
5531
5723
|
readonly,
|
|
5532
|
-
showValue =
|
|
5724
|
+
showValue = defaultProps23.showValue,
|
|
5533
5725
|
popup,
|
|
5534
5726
|
opened,
|
|
5535
5727
|
...other
|
|
5536
5728
|
} = props;
|
|
5537
|
-
return /* @__PURE__ */
|
|
5538
|
-
/* @__PURE__ */
|
|
5729
|
+
return /* @__PURE__ */ jsxs18(Fragment21, { children: [
|
|
5730
|
+
/* @__PURE__ */ jsxs18(
|
|
5539
5731
|
Picker,
|
|
5540
5732
|
{
|
|
5541
5733
|
...other,
|
|
@@ -5558,8 +5750,8 @@ var DropdownList = (props) => {
|
|
|
5558
5750
|
}
|
|
5559
5751
|
),
|
|
5560
5752
|
children: [
|
|
5561
|
-
/* @__PURE__ */
|
|
5562
|
-
/* @__PURE__ */
|
|
5753
|
+
/* @__PURE__ */ jsx53(InputPrefix, { children: prefix }),
|
|
5754
|
+
/* @__PURE__ */ jsx53(
|
|
5563
5755
|
InputInnerSpan,
|
|
5564
5756
|
{
|
|
5565
5757
|
placeholder,
|
|
@@ -5568,7 +5760,7 @@ var DropdownList = (props) => {
|
|
|
5568
5760
|
valueIconName
|
|
5569
5761
|
}
|
|
5570
5762
|
),
|
|
5571
|
-
/* @__PURE__ */
|
|
5763
|
+
/* @__PURE__ */ jsx53(
|
|
5572
5764
|
InputValidationIcon,
|
|
5573
5765
|
{
|
|
5574
5766
|
valid,
|
|
@@ -5577,15 +5769,15 @@ var DropdownList = (props) => {
|
|
|
5577
5769
|
disabled
|
|
5578
5770
|
}
|
|
5579
5771
|
),
|
|
5580
|
-
/* @__PURE__ */
|
|
5772
|
+
/* @__PURE__ */ jsx53(
|
|
5581
5773
|
InputLoadingIcon,
|
|
5582
5774
|
{
|
|
5583
5775
|
loading,
|
|
5584
5776
|
disabled
|
|
5585
5777
|
}
|
|
5586
5778
|
),
|
|
5587
|
-
/* @__PURE__ */
|
|
5588
|
-
/* @__PURE__ */
|
|
5779
|
+
/* @__PURE__ */ jsx53(InputSuffix, { children: suffix }),
|
|
5780
|
+
/* @__PURE__ */ jsx53(
|
|
5589
5781
|
Button,
|
|
5590
5782
|
{
|
|
5591
5783
|
className: "k-input-button",
|
|
@@ -5598,35 +5790,35 @@ var DropdownList = (props) => {
|
|
|
5598
5790
|
]
|
|
5599
5791
|
}
|
|
5600
5792
|
),
|
|
5601
|
-
opened && popup && /* @__PURE__ */
|
|
5793
|
+
opened && popup && /* @__PURE__ */ jsx53(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
|
|
5602
5794
|
] });
|
|
5603
5795
|
};
|
|
5604
|
-
DropdownList.states =
|
|
5605
|
-
DropdownList.options =
|
|
5796
|
+
DropdownList.states = states25;
|
|
5797
|
+
DropdownList.options = options24;
|
|
5606
5798
|
DropdownList.className = DROPDOWNLIST_CLASSNAME;
|
|
5607
|
-
DropdownList.defaultProps =
|
|
5799
|
+
DropdownList.defaultProps = defaultProps23;
|
|
5608
5800
|
|
|
5609
5801
|
// src/dropdownlist/templates/dropdownlist-normal.tsx
|
|
5610
|
-
import { jsx as
|
|
5802
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5611
5803
|
|
|
5612
5804
|
// src/nodata/nodata.tsx
|
|
5613
|
-
import { jsx as
|
|
5614
|
-
var
|
|
5615
|
-
var NoData = (props) => /* @__PURE__ */
|
|
5805
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
5806
|
+
var className15 = `k-nodata`;
|
|
5807
|
+
var NoData = (props) => /* @__PURE__ */ jsx55("span", { className: classNames(className15, props.className), children: props.children });
|
|
5616
5808
|
|
|
5617
5809
|
// src/list/list.spec.tsx
|
|
5618
|
-
import { jsx as
|
|
5810
|
+
import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5619
5811
|
var LIST_CLASSNAME = `k-list`;
|
|
5620
|
-
var
|
|
5621
|
-
var
|
|
5812
|
+
var states26 = [];
|
|
5813
|
+
var options25 = {
|
|
5622
5814
|
size: [Size.small, Size.medium, Size.large]
|
|
5623
5815
|
};
|
|
5624
|
-
var
|
|
5816
|
+
var defaultProps24 = {
|
|
5625
5817
|
size: Size.medium
|
|
5626
5818
|
};
|
|
5627
5819
|
var List = (props) => {
|
|
5628
5820
|
const {
|
|
5629
|
-
size =
|
|
5821
|
+
size = defaultProps24.size,
|
|
5630
5822
|
virtualization,
|
|
5631
5823
|
children,
|
|
5632
5824
|
optionLabel,
|
|
@@ -5643,7 +5835,7 @@ var List = (props) => {
|
|
|
5643
5835
|
listHeader = child.props.label;
|
|
5644
5836
|
child.props.children.map((optChild, index2) => {
|
|
5645
5837
|
listChildren.push(
|
|
5646
|
-
/* @__PURE__ */
|
|
5838
|
+
/* @__PURE__ */ jsx56(
|
|
5647
5839
|
ListItem,
|
|
5648
5840
|
{
|
|
5649
5841
|
...optChild.props
|
|
@@ -5659,7 +5851,7 @@ var List = (props) => {
|
|
|
5659
5851
|
groupLabel = child.props.label;
|
|
5660
5852
|
}
|
|
5661
5853
|
listChildren.push(
|
|
5662
|
-
/* @__PURE__ */
|
|
5854
|
+
/* @__PURE__ */ jsx56(
|
|
5663
5855
|
ListItem,
|
|
5664
5856
|
{
|
|
5665
5857
|
className: index2 === 0 ? "k-first" : "",
|
|
@@ -5671,16 +5863,16 @@ var List = (props) => {
|
|
|
5671
5863
|
);
|
|
5672
5864
|
});
|
|
5673
5865
|
}
|
|
5674
|
-
listGroup = /* @__PURE__ */
|
|
5866
|
+
listGroup = /* @__PURE__ */ jsx56(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5675
5867
|
} else if (child.type === ListItem) {
|
|
5676
|
-
listChildren.push(/* @__PURE__ */
|
|
5677
|
-
listContent = /* @__PURE__ */
|
|
5868
|
+
listChildren.push(/* @__PURE__ */ jsx56(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5869
|
+
listContent = /* @__PURE__ */ jsx56(ListContent, { virtualization, children: listChildren });
|
|
5678
5870
|
}
|
|
5679
5871
|
});
|
|
5680
5872
|
} else {
|
|
5681
|
-
listContent = /* @__PURE__ */
|
|
5873
|
+
listContent = /* @__PURE__ */ jsx56(NoData, { children: "No data found." });
|
|
5682
5874
|
}
|
|
5683
|
-
return /* @__PURE__ */
|
|
5875
|
+
return /* @__PURE__ */ jsxs19(
|
|
5684
5876
|
"div",
|
|
5685
5877
|
{
|
|
5686
5878
|
...other,
|
|
@@ -5702,24 +5894,24 @@ var List = (props) => {
|
|
|
5702
5894
|
}
|
|
5703
5895
|
);
|
|
5704
5896
|
};
|
|
5705
|
-
List.states =
|
|
5706
|
-
List.options =
|
|
5897
|
+
List.states = states26;
|
|
5898
|
+
List.options = options25;
|
|
5707
5899
|
List.className = LIST_CLASSNAME;
|
|
5708
|
-
List.defaultProps =
|
|
5900
|
+
List.defaultProps = defaultProps24;
|
|
5709
5901
|
|
|
5710
5902
|
// src/list/list-angular.spec.tsx
|
|
5711
|
-
import { jsx as
|
|
5903
|
+
import { jsx as jsx57, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5712
5904
|
var LISTANGULAR_CLASSNAME = `k-list`;
|
|
5713
|
-
var
|
|
5714
|
-
var
|
|
5905
|
+
var states27 = [];
|
|
5906
|
+
var options26 = {
|
|
5715
5907
|
size: [Size.small, Size.medium, Size.large]
|
|
5716
5908
|
};
|
|
5717
|
-
var
|
|
5909
|
+
var defaultProps25 = {
|
|
5718
5910
|
size: Size.medium
|
|
5719
5911
|
};
|
|
5720
5912
|
var ListAngular = (props) => {
|
|
5721
5913
|
const {
|
|
5722
|
-
size =
|
|
5914
|
+
size = defaultProps25.size,
|
|
5723
5915
|
virtualization,
|
|
5724
5916
|
children,
|
|
5725
5917
|
...other
|
|
@@ -5735,7 +5927,7 @@ var ListAngular = (props) => {
|
|
|
5735
5927
|
listHeader = child.props.label;
|
|
5736
5928
|
child.props.children.map((optChild, index2) => {
|
|
5737
5929
|
listChildren.push(
|
|
5738
|
-
/* @__PURE__ */
|
|
5930
|
+
/* @__PURE__ */ jsx57(
|
|
5739
5931
|
ListItem,
|
|
5740
5932
|
{
|
|
5741
5933
|
...optChild.props
|
|
@@ -5746,7 +5938,7 @@ var ListAngular = (props) => {
|
|
|
5746
5938
|
});
|
|
5747
5939
|
} else {
|
|
5748
5940
|
listChildren.push(
|
|
5749
|
-
/* @__PURE__ */
|
|
5941
|
+
/* @__PURE__ */ jsx57(
|
|
5750
5942
|
ListGroupItem,
|
|
5751
5943
|
{
|
|
5752
5944
|
...child.props,
|
|
@@ -5757,7 +5949,7 @@ var ListAngular = (props) => {
|
|
|
5757
5949
|
);
|
|
5758
5950
|
child.props.children.map((optChild, index2) => {
|
|
5759
5951
|
listChildren.push(
|
|
5760
|
-
/* @__PURE__ */
|
|
5952
|
+
/* @__PURE__ */ jsx57(
|
|
5761
5953
|
ListItem,
|
|
5762
5954
|
{
|
|
5763
5955
|
...optChild.props
|
|
@@ -5767,16 +5959,16 @@ var ListAngular = (props) => {
|
|
|
5767
5959
|
);
|
|
5768
5960
|
});
|
|
5769
5961
|
}
|
|
5770
|
-
listGroup = /* @__PURE__ */
|
|
5962
|
+
listGroup = /* @__PURE__ */ jsx57(ListGroup, { label: listHeader, virtualization, children: listChildren });
|
|
5771
5963
|
} else if (child.type === ListItem) {
|
|
5772
|
-
listChildren.push(/* @__PURE__ */
|
|
5773
|
-
listContent = /* @__PURE__ */
|
|
5964
|
+
listChildren.push(/* @__PURE__ */ jsx57(ListItem, { ...child.props }, `${child.type}-${index}`));
|
|
5965
|
+
listContent = /* @__PURE__ */ jsx57(ListContent, { virtualization, children: listChildren });
|
|
5774
5966
|
}
|
|
5775
5967
|
});
|
|
5776
5968
|
} else {
|
|
5777
|
-
listContent = /* @__PURE__ */
|
|
5969
|
+
listContent = /* @__PURE__ */ jsx57(NoData, { children: "No data found." });
|
|
5778
5970
|
}
|
|
5779
|
-
return /* @__PURE__ */
|
|
5971
|
+
return /* @__PURE__ */ jsxs20(
|
|
5780
5972
|
"div",
|
|
5781
5973
|
{
|
|
5782
5974
|
...other,
|
|
@@ -5797,15 +5989,15 @@ var ListAngular = (props) => {
|
|
|
5797
5989
|
}
|
|
5798
5990
|
);
|
|
5799
5991
|
};
|
|
5800
|
-
ListAngular.states =
|
|
5801
|
-
ListAngular.options =
|
|
5992
|
+
ListAngular.states = states27;
|
|
5993
|
+
ListAngular.options = options26;
|
|
5802
5994
|
ListAngular.className = LISTANGULAR_CLASSNAME;
|
|
5803
|
-
ListAngular.defaultProps =
|
|
5995
|
+
ListAngular.defaultProps = defaultProps25;
|
|
5804
5996
|
|
|
5805
5997
|
// src/checkbox/checkbox.spec.tsx
|
|
5806
|
-
import { jsx as
|
|
5998
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
5807
5999
|
var CHECKBOX_CLASSNAME = `k-checkbox`;
|
|
5808
|
-
var
|
|
6000
|
+
var states28 = [
|
|
5809
6001
|
States.hover,
|
|
5810
6002
|
States.focus,
|
|
5811
6003
|
States.valid,
|
|
@@ -5815,11 +6007,11 @@ var states25 = [
|
|
|
5815
6007
|
States.checked,
|
|
5816
6008
|
States.indeterminate
|
|
5817
6009
|
];
|
|
5818
|
-
var
|
|
6010
|
+
var options27 = {
|
|
5819
6011
|
size: [Size.small, Size.medium, Size.large],
|
|
5820
6012
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
|
|
5821
6013
|
};
|
|
5822
|
-
var
|
|
6014
|
+
var defaultProps26 = {
|
|
5823
6015
|
size: Size.medium,
|
|
5824
6016
|
rounded: Roundness.medium
|
|
5825
6017
|
};
|
|
@@ -5834,11 +6026,11 @@ var Checkbox = (props) => {
|
|
|
5834
6026
|
invalid,
|
|
5835
6027
|
valid,
|
|
5836
6028
|
required,
|
|
5837
|
-
size =
|
|
5838
|
-
rounded =
|
|
6029
|
+
size = defaultProps26.size,
|
|
6030
|
+
rounded = defaultProps26.rounded,
|
|
5839
6031
|
...other
|
|
5840
6032
|
} = props;
|
|
5841
|
-
return /* @__PURE__ */
|
|
6033
|
+
return /* @__PURE__ */ jsx58("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ jsx58(
|
|
5842
6034
|
"input",
|
|
5843
6035
|
{
|
|
5844
6036
|
...other,
|
|
@@ -5855,25 +6047,25 @@ var Checkbox = (props) => {
|
|
|
5855
6047
|
}
|
|
5856
6048
|
) });
|
|
5857
6049
|
};
|
|
5858
|
-
Checkbox.states =
|
|
5859
|
-
Checkbox.options =
|
|
6050
|
+
Checkbox.states = states28;
|
|
6051
|
+
Checkbox.options = options27;
|
|
5860
6052
|
Checkbox.className = CHECKBOX_CLASSNAME;
|
|
5861
|
-
Checkbox.defaultProps =
|
|
6053
|
+
Checkbox.defaultProps = defaultProps26;
|
|
5862
6054
|
|
|
5863
6055
|
// src/checkbox/checkbox-group.spec.tsx
|
|
5864
|
-
import { jsx as
|
|
6056
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
5865
6057
|
var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
|
|
5866
|
-
var
|
|
5867
|
-
var
|
|
5868
|
-
var
|
|
6058
|
+
var states29 = [];
|
|
6059
|
+
var options28 = {};
|
|
6060
|
+
var defaultProps27 = {
|
|
5869
6061
|
layout: "vertical"
|
|
5870
6062
|
};
|
|
5871
6063
|
var CheckboxGroup = (props) => {
|
|
5872
6064
|
const {
|
|
5873
|
-
layout =
|
|
6065
|
+
layout = defaultProps27.layout,
|
|
5874
6066
|
...other
|
|
5875
6067
|
} = props;
|
|
5876
|
-
return /* @__PURE__ */
|
|
6068
|
+
return /* @__PURE__ */ jsx59(
|
|
5877
6069
|
"ul",
|
|
5878
6070
|
{
|
|
5879
6071
|
...other,
|
|
@@ -5888,22 +6080,22 @@ var CheckboxGroup = (props) => {
|
|
|
5888
6080
|
}
|
|
5889
6081
|
);
|
|
5890
6082
|
};
|
|
5891
|
-
CheckboxGroup.states =
|
|
5892
|
-
CheckboxGroup.options =
|
|
6083
|
+
CheckboxGroup.states = states29;
|
|
6084
|
+
CheckboxGroup.options = options28;
|
|
5893
6085
|
CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
|
|
5894
|
-
CheckboxGroup.defaultProps =
|
|
6086
|
+
CheckboxGroup.defaultProps = defaultProps27;
|
|
5895
6087
|
|
|
5896
6088
|
// src/checkbox/checkbox-item.spec.tsx
|
|
5897
|
-
import { jsx as
|
|
6089
|
+
import { jsx as jsx60 } from "react/jsx-runtime";
|
|
5898
6090
|
var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
|
|
5899
|
-
var
|
|
5900
|
-
var
|
|
5901
|
-
var
|
|
6091
|
+
var states30 = [];
|
|
6092
|
+
var options29 = {};
|
|
6093
|
+
var defaultProps28 = {};
|
|
5902
6094
|
var CheckboxItem = (props) => {
|
|
5903
6095
|
const {
|
|
5904
6096
|
...other
|
|
5905
6097
|
} = props;
|
|
5906
|
-
return /* @__PURE__ */
|
|
6098
|
+
return /* @__PURE__ */ jsx60(
|
|
5907
6099
|
"li",
|
|
5908
6100
|
{
|
|
5909
6101
|
...other,
|
|
@@ -5915,37 +6107,37 @@ var CheckboxItem = (props) => {
|
|
|
5915
6107
|
}
|
|
5916
6108
|
);
|
|
5917
6109
|
};
|
|
5918
|
-
CheckboxItem.states =
|
|
5919
|
-
CheckboxItem.options =
|
|
6110
|
+
CheckboxItem.states = states30;
|
|
6111
|
+
CheckboxItem.options = options29;
|
|
5920
6112
|
CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
|
|
5921
|
-
CheckboxItem.defaultProps =
|
|
6113
|
+
CheckboxItem.defaultProps = defaultProps28;
|
|
5922
6114
|
|
|
5923
6115
|
// src/checkbox/templates/checkbox-with-label-after.tsx
|
|
5924
|
-
import { Fragment as
|
|
6116
|
+
import { Fragment as Fragment22, jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5925
6117
|
|
|
5926
6118
|
// src/checkbox/templates/checkbox-with-label-before.tsx
|
|
5927
|
-
import { Fragment as
|
|
6119
|
+
import { Fragment as Fragment23, jsx as jsx62, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5928
6120
|
|
|
5929
6121
|
// src/checkbox/templates/checkbox-group-horizontal.tsx
|
|
5930
|
-
import { Fragment as
|
|
6122
|
+
import { Fragment as Fragment24, jsx as jsx63, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5931
6123
|
|
|
5932
6124
|
// src/checkbox/templates/checkbox-group-normal.tsx
|
|
5933
|
-
import { Fragment as
|
|
6125
|
+
import { Fragment as Fragment25, jsx as jsx64, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5934
6126
|
|
|
5935
6127
|
// src/checkbox/templates/checkbox-normal.tsx
|
|
5936
|
-
import { jsx as
|
|
6128
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
5937
6129
|
|
|
5938
6130
|
// src/list/list-item.spec.tsx
|
|
5939
|
-
import { jsx as
|
|
6131
|
+
import { jsx as jsx66, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5940
6132
|
var LISTITEM_CLASSNAME = `k-list-item`;
|
|
5941
|
-
var
|
|
6133
|
+
var states31 = [
|
|
5942
6134
|
States.hover,
|
|
5943
6135
|
States.focus,
|
|
5944
6136
|
States.selected,
|
|
5945
6137
|
States.disabled
|
|
5946
6138
|
];
|
|
5947
|
-
var
|
|
5948
|
-
var
|
|
6139
|
+
var options30 = {};
|
|
6140
|
+
var defaultProps29 = {};
|
|
5949
6141
|
var ListItem = (props) => {
|
|
5950
6142
|
const {
|
|
5951
6143
|
text,
|
|
@@ -5962,7 +6154,7 @@ var ListItem = (props) => {
|
|
|
5962
6154
|
...other
|
|
5963
6155
|
} = props;
|
|
5964
6156
|
const textOrChildren = text ? text : props.children;
|
|
5965
|
-
return /* @__PURE__ */
|
|
6157
|
+
return /* @__PURE__ */ jsxs25(
|
|
5966
6158
|
"li",
|
|
5967
6159
|
{
|
|
5968
6160
|
...other,
|
|
@@ -5977,66 +6169,66 @@ var ListItem = (props) => {
|
|
|
5977
6169
|
})
|
|
5978
6170
|
),
|
|
5979
6171
|
children: [
|
|
5980
|
-
showCheckbox && /* @__PURE__ */
|
|
5981
|
-
showIcon && /* @__PURE__ */
|
|
5982
|
-
/* @__PURE__ */
|
|
5983
|
-
groupLabel && groupLabel !== "" && /* @__PURE__ */
|
|
6172
|
+
showCheckbox && /* @__PURE__ */ jsx66(Checkbox, { checked }),
|
|
6173
|
+
showIcon && /* @__PURE__ */ jsx66(Icon, { icon: iconName }),
|
|
6174
|
+
/* @__PURE__ */ jsx66("span", { className: "k-list-item-text", children: textOrChildren }),
|
|
6175
|
+
groupLabel && groupLabel !== "" && /* @__PURE__ */ jsx66("div", { className: "k-list-item-group-label", children: groupLabel })
|
|
5984
6176
|
]
|
|
5985
6177
|
}
|
|
5986
6178
|
);
|
|
5987
6179
|
};
|
|
5988
|
-
ListItem.states =
|
|
5989
|
-
ListItem.options =
|
|
6180
|
+
ListItem.states = states31;
|
|
6181
|
+
ListItem.options = options30;
|
|
5990
6182
|
ListItem.className = LISTITEM_CLASSNAME;
|
|
5991
|
-
ListItem.defaultProps =
|
|
6183
|
+
ListItem.defaultProps = defaultProps29;
|
|
5992
6184
|
|
|
5993
6185
|
// src/list/list-content.tsx
|
|
5994
|
-
import { jsx as
|
|
5995
|
-
var
|
|
6186
|
+
import { jsx as jsx67, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6187
|
+
var className16 = `k-list-content`;
|
|
5996
6188
|
var ListContent = (props) => {
|
|
5997
6189
|
const {
|
|
5998
6190
|
virtualization
|
|
5999
6191
|
} = props;
|
|
6000
|
-
return /* @__PURE__ */
|
|
6001
|
-
/* @__PURE__ */
|
|
6002
|
-
virtualization && /* @__PURE__ */
|
|
6192
|
+
return /* @__PURE__ */ jsxs26("div", { className: classNames(className16, props.className), children: [
|
|
6193
|
+
/* @__PURE__ */ jsx67("ul", { className: classNames("k-list-ul"), children: props.children }),
|
|
6194
|
+
virtualization && /* @__PURE__ */ jsx67("div", { className: "k-height-container", children: /* @__PURE__ */ jsx67("div", {}) })
|
|
6003
6195
|
] });
|
|
6004
6196
|
};
|
|
6005
6197
|
|
|
6006
6198
|
// src/list/list-header.tsx
|
|
6007
|
-
import { jsx as
|
|
6008
|
-
var
|
|
6009
|
-
var ListHeader = (props) => /* @__PURE__ */
|
|
6199
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
6200
|
+
var className17 = `k-list-group-sticky-header`;
|
|
6201
|
+
var ListHeader = (props) => /* @__PURE__ */ jsx68("div", { className: classNames(className17, props.className), children: /* @__PURE__ */ jsx68("div", { className: "k-list-header-text", children: props.children }) });
|
|
6010
6202
|
|
|
6011
6203
|
// src/list/list-group.tsx
|
|
6012
|
-
import { Fragment as
|
|
6204
|
+
import { Fragment as Fragment26, jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6013
6205
|
var ListGroup = (props) => {
|
|
6014
6206
|
const {
|
|
6015
6207
|
virtualization,
|
|
6016
6208
|
label
|
|
6017
6209
|
} = props;
|
|
6018
|
-
return /* @__PURE__ */
|
|
6019
|
-
label && /* @__PURE__ */
|
|
6020
|
-
props.children && /* @__PURE__ */
|
|
6210
|
+
return /* @__PURE__ */ jsxs27(Fragment26, { children: [
|
|
6211
|
+
label && /* @__PURE__ */ jsx69(ListHeader, { children: label }),
|
|
6212
|
+
props.children && /* @__PURE__ */ jsx69(ListContent, { virtualization, children: props.children })
|
|
6021
6213
|
] });
|
|
6022
6214
|
};
|
|
6023
6215
|
|
|
6024
6216
|
// src/list/list-group-item.tsx
|
|
6025
|
-
import { jsx as
|
|
6026
|
-
var
|
|
6027
|
-
var ListGroupItem = (props) => /* @__PURE__ */
|
|
6217
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
6218
|
+
var className18 = `k-list-group-item`;
|
|
6219
|
+
var ListGroupItem = (props) => /* @__PURE__ */ jsx70("li", { className: classNames(className18, props.className), children: /* @__PURE__ */ jsx70("span", { className: "k-list-item-text", children: props.children }) });
|
|
6028
6220
|
|
|
6029
6221
|
// src/list/list-option-label.tsx
|
|
6030
|
-
import { jsx as
|
|
6222
|
+
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
6031
6223
|
var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
|
|
6032
|
-
var
|
|
6224
|
+
var states32 = [
|
|
6033
6225
|
States.hover,
|
|
6034
6226
|
States.focus,
|
|
6035
6227
|
States.selected,
|
|
6036
6228
|
States.disabled
|
|
6037
6229
|
];
|
|
6038
|
-
var
|
|
6039
|
-
var
|
|
6230
|
+
var options31 = {};
|
|
6231
|
+
var defaultProps30 = {};
|
|
6040
6232
|
var ListOptionLabel = (props) => {
|
|
6041
6233
|
const {
|
|
6042
6234
|
text,
|
|
@@ -6046,7 +6238,7 @@ var ListOptionLabel = (props) => {
|
|
|
6046
6238
|
disabled,
|
|
6047
6239
|
...other
|
|
6048
6240
|
} = props;
|
|
6049
|
-
return /* @__PURE__ */
|
|
6241
|
+
return /* @__PURE__ */ jsx71(
|
|
6050
6242
|
"div",
|
|
6051
6243
|
{
|
|
6052
6244
|
...other,
|
|
@@ -6063,39 +6255,39 @@ var ListOptionLabel = (props) => {
|
|
|
6063
6255
|
}
|
|
6064
6256
|
);
|
|
6065
6257
|
};
|
|
6066
|
-
ListOptionLabel.states =
|
|
6067
|
-
ListOptionLabel.options =
|
|
6258
|
+
ListOptionLabel.states = states32;
|
|
6259
|
+
ListOptionLabel.options = options31;
|
|
6068
6260
|
ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
|
|
6069
|
-
ListOptionLabel.defaultProps =
|
|
6261
|
+
ListOptionLabel.defaultProps = defaultProps30;
|
|
6070
6262
|
|
|
6071
6263
|
// src/list/templates/list-normal.tsx
|
|
6072
|
-
import { jsx as
|
|
6264
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
6073
6265
|
|
|
6074
6266
|
// src/list/templates/list-virtualization.tsx
|
|
6075
|
-
import { jsx as
|
|
6267
|
+
import { jsx as jsx73 } from "react/jsx-runtime";
|
|
6076
6268
|
|
|
6077
6269
|
// src/list/templates/list-grouping.tsx
|
|
6078
|
-
import { jsx as
|
|
6270
|
+
import { jsx as jsx74, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6079
6271
|
|
|
6080
6272
|
// src/list/templates/list-virualization-grouping.tsx
|
|
6081
|
-
import { jsx as
|
|
6273
|
+
import { jsx as jsx75, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6082
6274
|
|
|
6083
6275
|
// src/list/templates/list-virtualization-angular.tsx
|
|
6084
|
-
import { jsx as
|
|
6276
|
+
import { jsx as jsx76 } from "react/jsx-runtime";
|
|
6085
6277
|
|
|
6086
6278
|
// src/list/templates/list-grouping-angular.tsx
|
|
6087
|
-
import { jsx as
|
|
6279
|
+
import { jsx as jsx77, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
6088
6280
|
|
|
6089
6281
|
// src/list/templates/list-virualization-grouping-angular.tsx
|
|
6090
|
-
import { jsx as
|
|
6282
|
+
import { jsx as jsx78, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
6091
6283
|
|
|
6092
6284
|
// src/dropdownlist/templates/dropdownlist-popup.tsx
|
|
6093
|
-
import { jsx as
|
|
6285
|
+
import { jsx as jsx79, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
6094
6286
|
|
|
6095
6287
|
// src/searchbox/searchbox.spec.tsx
|
|
6096
|
-
import { jsx as
|
|
6288
|
+
import { jsx as jsx80, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
6097
6289
|
var SEARCHBOX_CLASSNAME = `k-searchbox`;
|
|
6098
|
-
var
|
|
6290
|
+
var states33 = [
|
|
6099
6291
|
States.hover,
|
|
6100
6292
|
States.focus,
|
|
6101
6293
|
States.valid,
|
|
@@ -6104,12 +6296,12 @@ var states30 = [
|
|
|
6104
6296
|
States.disabled,
|
|
6105
6297
|
States.loading
|
|
6106
6298
|
];
|
|
6107
|
-
var
|
|
6299
|
+
var options32 = {
|
|
6108
6300
|
size: [Size.small, Size.medium, Size.large],
|
|
6109
6301
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6110
6302
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6111
6303
|
};
|
|
6112
|
-
var
|
|
6304
|
+
var defaultProps31 = {
|
|
6113
6305
|
showIcon: true,
|
|
6114
6306
|
icon: "search",
|
|
6115
6307
|
size: Input.defaultProps.size,
|
|
@@ -6130,11 +6322,11 @@ var Searchbox = (props) => {
|
|
|
6130
6322
|
required,
|
|
6131
6323
|
loading,
|
|
6132
6324
|
disabled,
|
|
6133
|
-
showIcon =
|
|
6134
|
-
icon =
|
|
6325
|
+
showIcon = defaultProps31.showIcon,
|
|
6326
|
+
icon = defaultProps31.icon,
|
|
6135
6327
|
...other
|
|
6136
6328
|
} = props;
|
|
6137
|
-
return /* @__PURE__ */
|
|
6329
|
+
return /* @__PURE__ */ jsxs33(
|
|
6138
6330
|
Input,
|
|
6139
6331
|
{
|
|
6140
6332
|
...other,
|
|
@@ -6150,48 +6342,48 @@ var Searchbox = (props) => {
|
|
|
6150
6342
|
disabled,
|
|
6151
6343
|
className: classNames(props.className, SEARCHBOX_CLASSNAME),
|
|
6152
6344
|
children: [
|
|
6153
|
-
showIcon && /* @__PURE__ */
|
|
6154
|
-
/* @__PURE__ */
|
|
6155
|
-
/* @__PURE__ */
|
|
6156
|
-
/* @__PURE__ */
|
|
6157
|
-
/* @__PURE__ */
|
|
6345
|
+
showIcon && /* @__PURE__ */ jsx80(Icon, { className: "k-input-icon", icon }),
|
|
6346
|
+
/* @__PURE__ */ jsx80(InputInnerInput, { placeholder, value }),
|
|
6347
|
+
/* @__PURE__ */ jsx80(InputLoadingIcon, { ...props }),
|
|
6348
|
+
/* @__PURE__ */ jsx80(InputValidationIcon, { ...props }),
|
|
6349
|
+
/* @__PURE__ */ jsx80(InputClearValue, { ...props })
|
|
6158
6350
|
]
|
|
6159
6351
|
}
|
|
6160
6352
|
);
|
|
6161
6353
|
};
|
|
6162
|
-
Searchbox.states =
|
|
6163
|
-
Searchbox.options =
|
|
6354
|
+
Searchbox.states = states33;
|
|
6355
|
+
Searchbox.options = options32;
|
|
6164
6356
|
Searchbox.className = SEARCHBOX_CLASSNAME;
|
|
6165
|
-
Searchbox.defaultProps =
|
|
6357
|
+
Searchbox.defaultProps = defaultProps31;
|
|
6166
6358
|
|
|
6167
6359
|
// src/searchbox/templates/searchbox-normal.tsx
|
|
6168
|
-
import { jsx as
|
|
6360
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
6169
6361
|
|
|
6170
6362
|
// src/dropdownlist/templates/dropdownlist-filtering.tsx
|
|
6171
|
-
import { Fragment as
|
|
6363
|
+
import { Fragment as Fragment27, jsx as jsx82, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
6172
6364
|
|
|
6173
6365
|
// src/dropdownlist/templates/dropdownlist-grouping.tsx
|
|
6174
|
-
import { jsx as
|
|
6366
|
+
import { jsx as jsx83, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
6175
6367
|
|
|
6176
6368
|
// src/dropdownlist/templates/dropdownlist-grouping-modern.tsx
|
|
6177
|
-
import { jsx as
|
|
6369
|
+
import { jsx as jsx84, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
6178
6370
|
|
|
6179
6371
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
|
|
6180
|
-
import { Fragment as
|
|
6372
|
+
import { Fragment as Fragment28, jsx as jsx85, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
6181
6373
|
|
|
6182
6374
|
// src/dropdownlist/templates/dropdownlist-grouping-filtering-modern.tsx
|
|
6183
|
-
import { Fragment as
|
|
6375
|
+
import { Fragment as Fragment29, jsx as jsx86, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
6184
6376
|
|
|
6185
6377
|
// src/numerictextbox/templates/numerictextbox-prefix.tsx
|
|
6186
|
-
import { Fragment as
|
|
6378
|
+
import { Fragment as Fragment30, jsx as jsx87 } from "react/jsx-runtime";
|
|
6187
6379
|
|
|
6188
6380
|
// src/numerictextbox/templates/numerictextbox-suffix.tsx
|
|
6189
|
-
import { Fragment as
|
|
6381
|
+
import { Fragment as Fragment31, jsx as jsx88 } from "react/jsx-runtime";
|
|
6190
6382
|
|
|
6191
6383
|
// src/textbox/textbox.spec.tsx
|
|
6192
|
-
import { Fragment as
|
|
6384
|
+
import { Fragment as Fragment32, jsx as jsx89, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
6193
6385
|
var TEXTBOX_CLASSNAME = `k-textbox`;
|
|
6194
|
-
var
|
|
6386
|
+
var states34 = [
|
|
6195
6387
|
States.hover,
|
|
6196
6388
|
States.focus,
|
|
6197
6389
|
States.valid,
|
|
@@ -6201,12 +6393,12 @@ var states31 = [
|
|
|
6201
6393
|
States.loading,
|
|
6202
6394
|
States.readonly
|
|
6203
6395
|
];
|
|
6204
|
-
var
|
|
6396
|
+
var options33 = {
|
|
6205
6397
|
size: [Size.small, Size.medium, Size.large],
|
|
6206
6398
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6207
6399
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
6208
6400
|
};
|
|
6209
|
-
var
|
|
6401
|
+
var defaultProps32 = {
|
|
6210
6402
|
showClearButton: true,
|
|
6211
6403
|
size: Input.defaultProps.size,
|
|
6212
6404
|
rounded: Input.defaultProps.rounded,
|
|
@@ -6217,7 +6409,7 @@ var Textbox = (props) => {
|
|
|
6217
6409
|
const {
|
|
6218
6410
|
prefix,
|
|
6219
6411
|
suffix,
|
|
6220
|
-
separators =
|
|
6412
|
+
separators = defaultProps32.separators,
|
|
6221
6413
|
value,
|
|
6222
6414
|
placeholder,
|
|
6223
6415
|
size,
|
|
@@ -6231,10 +6423,10 @@ var Textbox = (props) => {
|
|
|
6231
6423
|
loading,
|
|
6232
6424
|
disabled,
|
|
6233
6425
|
readonly,
|
|
6234
|
-
showClearButton =
|
|
6426
|
+
showClearButton = defaultProps32.showClearButton,
|
|
6235
6427
|
...other
|
|
6236
6428
|
} = props;
|
|
6237
|
-
return /* @__PURE__ */
|
|
6429
|
+
return /* @__PURE__ */ jsxs39(
|
|
6238
6430
|
Input,
|
|
6239
6431
|
{
|
|
6240
6432
|
...other,
|
|
@@ -6251,12 +6443,12 @@ var Textbox = (props) => {
|
|
|
6251
6443
|
readonly,
|
|
6252
6444
|
className: classNames(props.className, TEXTBOX_CLASSNAME),
|
|
6253
6445
|
children: [
|
|
6254
|
-
prefix && /* @__PURE__ */
|
|
6255
|
-
/* @__PURE__ */
|
|
6256
|
-
separators && /* @__PURE__ */
|
|
6446
|
+
prefix && /* @__PURE__ */ jsxs39(Fragment32, { children: [
|
|
6447
|
+
/* @__PURE__ */ jsx89(InputPrefix, { children: prefix }),
|
|
6448
|
+
separators && /* @__PURE__ */ jsx89(InputSeparator, {})
|
|
6257
6449
|
] }),
|
|
6258
|
-
/* @__PURE__ */
|
|
6259
|
-
/* @__PURE__ */
|
|
6450
|
+
/* @__PURE__ */ jsx89(InputInnerInput, { placeholder, value }),
|
|
6451
|
+
/* @__PURE__ */ jsx89(
|
|
6260
6452
|
InputValidationIcon,
|
|
6261
6453
|
{
|
|
6262
6454
|
valid,
|
|
@@ -6265,14 +6457,14 @@ var Textbox = (props) => {
|
|
|
6265
6457
|
disabled
|
|
6266
6458
|
}
|
|
6267
6459
|
),
|
|
6268
|
-
/* @__PURE__ */
|
|
6460
|
+
/* @__PURE__ */ jsx89(
|
|
6269
6461
|
InputLoadingIcon,
|
|
6270
6462
|
{
|
|
6271
6463
|
loading,
|
|
6272
6464
|
disabled
|
|
6273
6465
|
}
|
|
6274
6466
|
),
|
|
6275
|
-
showClearButton && /* @__PURE__ */
|
|
6467
|
+
showClearButton && /* @__PURE__ */ jsx89(
|
|
6276
6468
|
InputClearValue,
|
|
6277
6469
|
{
|
|
6278
6470
|
loading,
|
|
@@ -6281,162 +6473,162 @@ var Textbox = (props) => {
|
|
|
6281
6473
|
value
|
|
6282
6474
|
}
|
|
6283
6475
|
),
|
|
6284
|
-
suffix && /* @__PURE__ */
|
|
6285
|
-
separators && /* @__PURE__ */
|
|
6286
|
-
/* @__PURE__ */
|
|
6476
|
+
suffix && /* @__PURE__ */ jsxs39(Fragment32, { children: [
|
|
6477
|
+
separators && /* @__PURE__ */ jsx89(InputSeparator, {}),
|
|
6478
|
+
/* @__PURE__ */ jsx89(InputSuffix, { children: suffix })
|
|
6287
6479
|
] })
|
|
6288
6480
|
]
|
|
6289
6481
|
}
|
|
6290
6482
|
);
|
|
6291
6483
|
};
|
|
6292
|
-
Textbox.states =
|
|
6293
|
-
Textbox.options =
|
|
6484
|
+
Textbox.states = states34;
|
|
6485
|
+
Textbox.options = options33;
|
|
6294
6486
|
Textbox.className = TEXTBOX_CLASSNAME;
|
|
6295
|
-
Textbox.defaultProps =
|
|
6487
|
+
Textbox.defaultProps = defaultProps32;
|
|
6296
6488
|
|
|
6297
6489
|
// src/textbox/templates/textbox-normal.tsx
|
|
6298
|
-
import { jsx as
|
|
6490
|
+
import { jsx as jsx90 } from "react/jsx-runtime";
|
|
6299
6491
|
|
|
6300
6492
|
// src/textbox/templates/textbox-prefix.tsx
|
|
6301
|
-
import { Fragment as
|
|
6493
|
+
import { Fragment as Fragment33, jsx as jsx91 } from "react/jsx-runtime";
|
|
6302
6494
|
|
|
6303
6495
|
// src/textbox/templates/textbox-suffix.tsx
|
|
6304
|
-
import { Fragment as
|
|
6496
|
+
import { Fragment as Fragment34, jsx as jsx92 } from "react/jsx-runtime";
|
|
6305
6497
|
|
|
6306
6498
|
// src/colorgradient/color-input.tsx
|
|
6307
|
-
import { Fragment as
|
|
6499
|
+
import { Fragment as Fragment35, jsx as jsx93, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
6308
6500
|
var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
|
|
6309
|
-
var
|
|
6310
|
-
var
|
|
6311
|
-
var
|
|
6501
|
+
var states35 = [];
|
|
6502
|
+
var options34 = {};
|
|
6503
|
+
var defaultProps33 = {
|
|
6312
6504
|
mode: "rgba"
|
|
6313
6505
|
};
|
|
6314
6506
|
var ColorInput = (props) => {
|
|
6315
6507
|
const {
|
|
6316
|
-
mode =
|
|
6508
|
+
mode = defaultProps33.mode
|
|
6317
6509
|
} = props;
|
|
6318
|
-
return /* @__PURE__ */
|
|
6319
|
-
/* @__PURE__ */
|
|
6320
|
-
mode === "rgba" && /* @__PURE__ */
|
|
6321
|
-
/* @__PURE__ */
|
|
6322
|
-
/* @__PURE__ */
|
|
6323
|
-
/* @__PURE__ */
|
|
6510
|
+
return /* @__PURE__ */ jsxs40("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
|
|
6511
|
+
/* @__PURE__ */ jsx93("div", { className: "k-vstack", children: /* @__PURE__ */ jsx93(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
|
|
6512
|
+
mode === "rgba" && /* @__PURE__ */ jsxs40(Fragment35, { children: [
|
|
6513
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6514
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6515
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6324
6516
|
] }),
|
|
6325
|
-
/* @__PURE__ */
|
|
6326
|
-
/* @__PURE__ */
|
|
6327
|
-
/* @__PURE__ */
|
|
6517
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6518
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6519
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6328
6520
|
] }),
|
|
6329
|
-
/* @__PURE__ */
|
|
6330
|
-
/* @__PURE__ */
|
|
6331
|
-
/* @__PURE__ */
|
|
6521
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6522
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6523
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6332
6524
|
] }),
|
|
6333
|
-
/* @__PURE__ */
|
|
6334
|
-
/* @__PURE__ */
|
|
6335
|
-
/* @__PURE__ */
|
|
6525
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6526
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6527
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6336
6528
|
] })
|
|
6337
6529
|
] }),
|
|
6338
|
-
mode === "rgb" && /* @__PURE__ */
|
|
6339
|
-
/* @__PURE__ */
|
|
6340
|
-
/* @__PURE__ */
|
|
6341
|
-
/* @__PURE__ */
|
|
6530
|
+
mode === "rgb" && /* @__PURE__ */ jsxs40(Fragment35, { children: [
|
|
6531
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6532
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6533
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "R" })
|
|
6342
6534
|
] }),
|
|
6343
|
-
/* @__PURE__ */
|
|
6344
|
-
/* @__PURE__ */
|
|
6345
|
-
/* @__PURE__ */
|
|
6535
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6536
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6537
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "G" })
|
|
6346
6538
|
] }),
|
|
6347
|
-
/* @__PURE__ */
|
|
6348
|
-
/* @__PURE__ */
|
|
6349
|
-
/* @__PURE__ */
|
|
6539
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6540
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6541
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "B" })
|
|
6350
6542
|
] })
|
|
6351
6543
|
] }),
|
|
6352
|
-
mode === "hsva" && /* @__PURE__ */
|
|
6353
|
-
/* @__PURE__ */
|
|
6354
|
-
/* @__PURE__ */
|
|
6355
|
-
/* @__PURE__ */
|
|
6544
|
+
mode === "hsva" && /* @__PURE__ */ jsxs40(Fragment35, { children: [
|
|
6545
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6546
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6547
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6356
6548
|
] }),
|
|
6357
|
-
/* @__PURE__ */
|
|
6358
|
-
/* @__PURE__ */
|
|
6359
|
-
/* @__PURE__ */
|
|
6549
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6550
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6551
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6360
6552
|
] }),
|
|
6361
|
-
/* @__PURE__ */
|
|
6362
|
-
/* @__PURE__ */
|
|
6363
|
-
/* @__PURE__ */
|
|
6553
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6554
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6555
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6364
6556
|
] }),
|
|
6365
|
-
/* @__PURE__ */
|
|
6366
|
-
/* @__PURE__ */
|
|
6367
|
-
/* @__PURE__ */
|
|
6557
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6558
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
|
|
6559
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "A" })
|
|
6368
6560
|
] })
|
|
6369
6561
|
] }),
|
|
6370
|
-
mode === "hsv" && /* @__PURE__ */
|
|
6371
|
-
/* @__PURE__ */
|
|
6372
|
-
/* @__PURE__ */
|
|
6373
|
-
/* @__PURE__ */
|
|
6562
|
+
mode === "hsv" && /* @__PURE__ */ jsxs40(Fragment35, { children: [
|
|
6563
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6564
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6565
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "H" })
|
|
6374
6566
|
] }),
|
|
6375
|
-
/* @__PURE__ */
|
|
6376
|
-
/* @__PURE__ */
|
|
6377
|
-
/* @__PURE__ */
|
|
6567
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6568
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6569
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "S" })
|
|
6378
6570
|
] }),
|
|
6379
|
-
/* @__PURE__ */
|
|
6380
|
-
/* @__PURE__ */
|
|
6381
|
-
/* @__PURE__ */
|
|
6571
|
+
/* @__PURE__ */ jsxs40("div", { className: "k-vstack", children: [
|
|
6572
|
+
/* @__PURE__ */ jsx93(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
|
|
6573
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "V" })
|
|
6382
6574
|
] })
|
|
6383
6575
|
] }),
|
|
6384
|
-
mode === "hex" && /* @__PURE__ */
|
|
6385
|
-
/* @__PURE__ */
|
|
6386
|
-
/* @__PURE__ */
|
|
6576
|
+
mode === "hex" && /* @__PURE__ */ jsx93(Fragment35, { children: /* @__PURE__ */ jsxs40("div", { className: "k-vstack k-flex-1", children: [
|
|
6577
|
+
/* @__PURE__ */ jsx93(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
|
|
6578
|
+
/* @__PURE__ */ jsx93("label", { className: "k-colorgradient-input-label", children: "HEX" })
|
|
6387
6579
|
] }) })
|
|
6388
6580
|
] });
|
|
6389
6581
|
};
|
|
6390
|
-
ColorInput.states =
|
|
6391
|
-
ColorInput.options =
|
|
6582
|
+
ColorInput.states = states35;
|
|
6583
|
+
ColorInput.options = options34;
|
|
6392
6584
|
ColorInput.className = COLOR_INPUT_CLASSNAME;
|
|
6393
|
-
ColorInput.defaultProps =
|
|
6585
|
+
ColorInput.defaultProps = defaultProps33;
|
|
6394
6586
|
|
|
6395
6587
|
// src/colorgradient/color-contrast.tsx
|
|
6396
|
-
import { jsx as
|
|
6588
|
+
import { jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
6397
6589
|
var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
|
|
6398
|
-
var
|
|
6399
|
-
var
|
|
6400
|
-
var
|
|
6401
|
-
var ColorContrast = () => /* @__PURE__ */
|
|
6402
|
-
/* @__PURE__ */
|
|
6403
|
-
/* @__PURE__ */
|
|
6404
|
-
/* @__PURE__ */
|
|
6405
|
-
/* @__PURE__ */
|
|
6406
|
-
/* @__PURE__ */
|
|
6590
|
+
var states36 = [];
|
|
6591
|
+
var options35 = {};
|
|
6592
|
+
var defaultProps34 = {};
|
|
6593
|
+
var ColorContrast = () => /* @__PURE__ */ jsxs41("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
|
|
6594
|
+
/* @__PURE__ */ jsxs41("div", { className: "k-contrast-ratio", children: [
|
|
6595
|
+
/* @__PURE__ */ jsx94("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
|
|
6596
|
+
/* @__PURE__ */ jsxs41("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6597
|
+
/* @__PURE__ */ jsx94(Icon, { icon: "check" }),
|
|
6598
|
+
/* @__PURE__ */ jsx94(Icon, { icon: "check" })
|
|
6407
6599
|
] })
|
|
6408
6600
|
] }),
|
|
6409
|
-
/* @__PURE__ */
|
|
6410
|
-
/* @__PURE__ */
|
|
6411
|
-
/* @__PURE__ */
|
|
6601
|
+
/* @__PURE__ */ jsxs41("div", { children: [
|
|
6602
|
+
/* @__PURE__ */ jsx94("span", { children: "AA: 4.5" }),
|
|
6603
|
+
/* @__PURE__ */ jsxs41("span", { className: "k-contrast-validation !k-text-success", children: [
|
|
6412
6604
|
"Pass",
|
|
6413
|
-
/* @__PURE__ */
|
|
6605
|
+
/* @__PURE__ */ jsx94(Icon, { icon: "check" })
|
|
6414
6606
|
] })
|
|
6415
6607
|
] }),
|
|
6416
|
-
/* @__PURE__ */
|
|
6417
|
-
/* @__PURE__ */
|
|
6418
|
-
/* @__PURE__ */
|
|
6608
|
+
/* @__PURE__ */ jsxs41("div", { children: [
|
|
6609
|
+
/* @__PURE__ */ jsx94("span", { children: "AAA: 7.0" }),
|
|
6610
|
+
/* @__PURE__ */ jsxs41("span", { className: "k-contrast-validation !k-text-error", children: [
|
|
6419
6611
|
"Fail",
|
|
6420
|
-
/* @__PURE__ */
|
|
6612
|
+
/* @__PURE__ */ jsx94(Icon, { icon: "x" })
|
|
6421
6613
|
] })
|
|
6422
6614
|
] })
|
|
6423
6615
|
] });
|
|
6424
|
-
ColorContrast.states =
|
|
6425
|
-
ColorContrast.options =
|
|
6616
|
+
ColorContrast.states = states36;
|
|
6617
|
+
ColorContrast.options = options35;
|
|
6426
6618
|
ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
|
|
6427
|
-
ColorContrast.defaultProps =
|
|
6619
|
+
ColorContrast.defaultProps = defaultProps34;
|
|
6428
6620
|
|
|
6429
6621
|
// src/colorgradient/color-gradient.spec.tsx
|
|
6430
|
-
import { jsx as
|
|
6622
|
+
import { jsx as jsx95, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
6431
6623
|
var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
|
|
6432
|
-
var
|
|
6624
|
+
var states37 = [
|
|
6433
6625
|
States.hover,
|
|
6434
6626
|
States.focus,
|
|
6435
6627
|
States.readonly,
|
|
6436
6628
|
States.disabled
|
|
6437
6629
|
];
|
|
6438
|
-
var
|
|
6439
|
-
var
|
|
6630
|
+
var options36 = {};
|
|
6631
|
+
var defaultProps35 = {
|
|
6440
6632
|
mode: "rgba",
|
|
6441
6633
|
readonly: false,
|
|
6442
6634
|
disabled: false,
|
|
@@ -6447,20 +6639,20 @@ var defaultProps33 = {
|
|
|
6447
6639
|
};
|
|
6448
6640
|
var ColorGradient = (props) => {
|
|
6449
6641
|
const {
|
|
6450
|
-
mode =
|
|
6451
|
-
readonly =
|
|
6452
|
-
disabled =
|
|
6642
|
+
mode = defaultProps35.mode,
|
|
6643
|
+
readonly = defaultProps35.readonly,
|
|
6644
|
+
disabled = defaultProps35.disabled,
|
|
6453
6645
|
dir,
|
|
6454
|
-
contrast =
|
|
6646
|
+
contrast = defaultProps35.contrast,
|
|
6455
6647
|
hover,
|
|
6456
6648
|
focus,
|
|
6457
6649
|
hoverHandle,
|
|
6458
6650
|
focusHandle,
|
|
6459
|
-
gradientStyle =
|
|
6460
|
-
dragHandleStyle =
|
|
6461
|
-
alphaStyle =
|
|
6651
|
+
gradientStyle = defaultProps35.gradientStyle,
|
|
6652
|
+
dragHandleStyle = defaultProps35.dragHandleStyle,
|
|
6653
|
+
alphaStyle = defaultProps35.alphaStyle
|
|
6462
6654
|
} = props;
|
|
6463
|
-
return /* @__PURE__ */
|
|
6655
|
+
return /* @__PURE__ */ jsxs42("div", { className: classNames(
|
|
6464
6656
|
props.className,
|
|
6465
6657
|
COLOR_GRADIENT_CLASSNAME,
|
|
6466
6658
|
stateClassNames(COLOR_GRADIENT_CLASSNAME, {
|
|
@@ -6470,8 +6662,8 @@ var ColorGradient = (props) => {
|
|
|
6470
6662
|
disabled
|
|
6471
6663
|
})
|
|
6472
6664
|
), dir, children: [
|
|
6473
|
-
/* @__PURE__ */
|
|
6474
|
-
/* @__PURE__ */
|
|
6665
|
+
/* @__PURE__ */ jsxs42("div", { className: "k-colorgradient-canvas k-hstack", children: [
|
|
6666
|
+
/* @__PURE__ */ jsx95("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ jsx95("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ jsx95("div", { className: classNames(
|
|
6475
6667
|
"k-hsv-draghandle",
|
|
6476
6668
|
"k-draghandle",
|
|
6477
6669
|
{
|
|
@@ -6479,39 +6671,39 @@ var ColorGradient = (props) => {
|
|
|
6479
6671
|
"k-focus": focusHandle
|
|
6480
6672
|
}
|
|
6481
6673
|
), style: dragHandleStyle }) }) }),
|
|
6482
|
-
/* @__PURE__ */
|
|
6483
|
-
/* @__PURE__ */
|
|
6484
|
-
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */
|
|
6674
|
+
/* @__PURE__ */ jsxs42("div", { className: "k-hsv-controls k-hstack", children: [
|
|
6675
|
+
/* @__PURE__ */ jsx95(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
|
|
6676
|
+
mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ jsx95(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
|
|
6485
6677
|
] })
|
|
6486
6678
|
] }),
|
|
6487
|
-
/* @__PURE__ */
|
|
6488
|
-
contrast && /* @__PURE__ */
|
|
6679
|
+
/* @__PURE__ */ jsx95(ColorInput, { mode: props.mode }),
|
|
6680
|
+
contrast && /* @__PURE__ */ jsx95(ColorContrast, {})
|
|
6489
6681
|
] });
|
|
6490
6682
|
};
|
|
6491
|
-
ColorGradient.states =
|
|
6492
|
-
ColorGradient.options =
|
|
6683
|
+
ColorGradient.states = states37;
|
|
6684
|
+
ColorGradient.options = options36;
|
|
6493
6685
|
ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
|
|
6494
|
-
ColorGradient.defaultProps =
|
|
6686
|
+
ColorGradient.defaultProps = defaultProps35;
|
|
6495
6687
|
|
|
6496
6688
|
// src/colorgradient/templates/colorgradient-normal.tsx
|
|
6497
|
-
import { jsx as
|
|
6689
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
6498
6690
|
|
|
6499
6691
|
// src/colorgradient/templates/colorgradient-contrast.tsx
|
|
6500
|
-
import { jsx as
|
|
6692
|
+
import { jsx as jsx97 } from "react/jsx-runtime";
|
|
6501
6693
|
|
|
6502
6694
|
// src/colorpalette/colorpalette-row.tsx
|
|
6503
|
-
import { jsx as
|
|
6504
|
-
var ColorPaletteRow = (props) => /* @__PURE__ */
|
|
6695
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
6696
|
+
var ColorPaletteRow = (props) => /* @__PURE__ */ jsx98("tr", { children: props.children });
|
|
6505
6697
|
|
|
6506
6698
|
// src/colorpalette/colorpalette-tile.tsx
|
|
6507
|
-
import { jsx as
|
|
6699
|
+
import { jsx as jsx99 } from "react/jsx-runtime";
|
|
6508
6700
|
var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
|
|
6509
|
-
var
|
|
6701
|
+
var states38 = [
|
|
6510
6702
|
States.hover,
|
|
6511
6703
|
States.focus,
|
|
6512
6704
|
States.selected
|
|
6513
6705
|
];
|
|
6514
|
-
var
|
|
6706
|
+
var options37 = {};
|
|
6515
6707
|
var ColorPaletteTile = (props) => {
|
|
6516
6708
|
const {
|
|
6517
6709
|
color,
|
|
@@ -6526,7 +6718,7 @@ var ColorPaletteTile = (props) => {
|
|
|
6526
6718
|
"width": tileSize ? tileSize + "px" : "",
|
|
6527
6719
|
"height": tileSize ? tileSize + "px" : ""
|
|
6528
6720
|
};
|
|
6529
|
-
return /* @__PURE__ */
|
|
6721
|
+
return /* @__PURE__ */ jsx99(
|
|
6530
6722
|
"td",
|
|
6531
6723
|
{
|
|
6532
6724
|
...other,
|
|
@@ -6543,24 +6735,24 @@ var ColorPaletteTile = (props) => {
|
|
|
6543
6735
|
}
|
|
6544
6736
|
);
|
|
6545
6737
|
};
|
|
6546
|
-
ColorPaletteTile.states =
|
|
6547
|
-
ColorPaletteTile.options =
|
|
6738
|
+
ColorPaletteTile.states = states38;
|
|
6739
|
+
ColorPaletteTile.options = options37;
|
|
6548
6740
|
ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
|
|
6549
6741
|
|
|
6550
6742
|
// src/colorpalette/colorpalette.spec.tsx
|
|
6551
|
-
import { jsx as
|
|
6743
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
6552
6744
|
var COLORPALETTE_CLASSNAME = `k-colorpalette`;
|
|
6553
|
-
var
|
|
6745
|
+
var states39 = [
|
|
6554
6746
|
States.disabled
|
|
6555
6747
|
];
|
|
6556
|
-
var
|
|
6557
|
-
var
|
|
6748
|
+
var options38 = {};
|
|
6749
|
+
var defaultProps36 = {
|
|
6558
6750
|
columns: 10
|
|
6559
6751
|
};
|
|
6560
6752
|
var ColorPalette = (props) => {
|
|
6561
6753
|
const {
|
|
6562
6754
|
palette,
|
|
6563
|
-
columns =
|
|
6755
|
+
columns = defaultProps36.columns,
|
|
6564
6756
|
tileSize,
|
|
6565
6757
|
disabled,
|
|
6566
6758
|
...other
|
|
@@ -6573,14 +6765,14 @@ var ColorPalette = (props) => {
|
|
|
6573
6765
|
Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
|
|
6574
6766
|
const items = [];
|
|
6575
6767
|
colors.slice(i * cols, (i + 1) * cols).map((color) => {
|
|
6576
|
-
items.push(/* @__PURE__ */
|
|
6768
|
+
items.push(/* @__PURE__ */ jsx100(ColorPaletteTile, { color, tileSize }));
|
|
6577
6769
|
});
|
|
6578
|
-
const row = /* @__PURE__ */
|
|
6770
|
+
const row = /* @__PURE__ */ jsx100(ColorPaletteRow, { children: items });
|
|
6579
6771
|
newChildren.push(row);
|
|
6580
6772
|
});
|
|
6581
6773
|
}
|
|
6582
6774
|
}
|
|
6583
|
-
return /* @__PURE__ */
|
|
6775
|
+
return /* @__PURE__ */ jsx100(
|
|
6584
6776
|
"div",
|
|
6585
6777
|
{
|
|
6586
6778
|
...other,
|
|
@@ -6591,17 +6783,17 @@ var ColorPalette = (props) => {
|
|
|
6591
6783
|
disabled
|
|
6592
6784
|
})
|
|
6593
6785
|
),
|
|
6594
|
-
children: /* @__PURE__ */
|
|
6786
|
+
children: /* @__PURE__ */ jsx100("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
|
|
6595
6787
|
}
|
|
6596
6788
|
);
|
|
6597
6789
|
};
|
|
6598
|
-
ColorPalette.states =
|
|
6599
|
-
ColorPalette.options =
|
|
6790
|
+
ColorPalette.states = states39;
|
|
6791
|
+
ColorPalette.options = options38;
|
|
6600
6792
|
ColorPalette.className = COLORPALETTE_CLASSNAME;
|
|
6601
|
-
ColorPalette.defaultProps =
|
|
6793
|
+
ColorPalette.defaultProps = defaultProps36;
|
|
6602
6794
|
|
|
6603
6795
|
// src/colorpalette/templates/colorpalette-normal.tsx
|
|
6604
|
-
import { jsx as
|
|
6796
|
+
import { jsx as jsx101 } from "react/jsx-runtime";
|
|
6605
6797
|
|
|
6606
6798
|
// src/colorpalette/colorpalette-presets.tsx
|
|
6607
6799
|
var PALETTEPRESETS = {
|
|
@@ -6656,83 +6848,83 @@ var PALETTEPRESETS = {
|
|
|
6656
6848
|
};
|
|
6657
6849
|
|
|
6658
6850
|
// src/coloreditor/color-editor.spec.tsx
|
|
6659
|
-
import { jsx as
|
|
6851
|
+
import { jsx as jsx102, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
6660
6852
|
var COLOREDITOR_CLASSNAME = "k-coloreditor";
|
|
6661
|
-
var
|
|
6853
|
+
var states40 = [
|
|
6662
6854
|
States.focus
|
|
6663
6855
|
];
|
|
6664
|
-
var
|
|
6665
|
-
var
|
|
6856
|
+
var options39 = {};
|
|
6857
|
+
var defaultProps37 = {
|
|
6666
6858
|
view: "gradient",
|
|
6667
6859
|
palette: PALETTEPRESETS.office
|
|
6668
6860
|
};
|
|
6669
6861
|
var ColorEditor = (props) => {
|
|
6670
6862
|
const {
|
|
6671
|
-
view =
|
|
6863
|
+
view = defaultProps37.view,
|
|
6672
6864
|
color,
|
|
6673
6865
|
currentColor,
|
|
6674
6866
|
focus,
|
|
6675
6867
|
focusView,
|
|
6676
6868
|
dir,
|
|
6677
6869
|
group,
|
|
6678
|
-
palette =
|
|
6870
|
+
palette = defaultProps37.palette
|
|
6679
6871
|
} = props;
|
|
6680
|
-
return /* @__PURE__ */
|
|
6872
|
+
return /* @__PURE__ */ jsxs43("div", { className: classNames(
|
|
6681
6873
|
props.className,
|
|
6682
6874
|
"k-flatcolorpicker",
|
|
6683
6875
|
COLOREDITOR_CLASSNAME,
|
|
6684
6876
|
stateClassNames(COLOREDITOR_CLASSNAME, { focus })
|
|
6685
6877
|
), dir, children: [
|
|
6686
|
-
/* @__PURE__ */
|
|
6687
|
-
/* @__PURE__ */
|
|
6688
|
-
/* @__PURE__ */
|
|
6689
|
-
/* @__PURE__ */
|
|
6878
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-coloreditor-header k-hstack", children: [
|
|
6879
|
+
/* @__PURE__ */ jsx102("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ jsxs43(ButtonGroup, { fillMode: "flat", children: [
|
|
6880
|
+
/* @__PURE__ */ jsx102(Button, { className: "k-group-start", fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
|
|
6881
|
+
/* @__PURE__ */ jsx102(Button, { className: "k-group-end", fillMode: "flat", icon: "palette", selected: view === "palette" })
|
|
6690
6882
|
] }) }),
|
|
6691
|
-
/* @__PURE__ */
|
|
6692
|
-
/* @__PURE__ */
|
|
6693
|
-
/* @__PURE__ */
|
|
6694
|
-
/* @__PURE__ */
|
|
6695
|
-
/* @__PURE__ */
|
|
6696
|
-
/* @__PURE__ */
|
|
6883
|
+
/* @__PURE__ */ jsx102("div", { className: "k-spacer" }),
|
|
6884
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-coloreditor-header-actions k-hstack", children: [
|
|
6885
|
+
/* @__PURE__ */ jsx102(Button, { fillMode: "flat", icon: "droplet-slash" }),
|
|
6886
|
+
/* @__PURE__ */ jsxs43("div", { className: "k-coloreditor-preview k-vstack", children: [
|
|
6887
|
+
/* @__PURE__ */ jsx102(ColorPreview, { className: "k-coloreditor-preview-color", color }),
|
|
6888
|
+
/* @__PURE__ */ jsx102(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
|
|
6697
6889
|
] })
|
|
6698
6890
|
] })
|
|
6699
6891
|
] }),
|
|
6700
|
-
/* @__PURE__ */
|
|
6701
|
-
/* @__PURE__ */
|
|
6702
|
-
/* @__PURE__ */
|
|
6703
|
-
/* @__PURE__ */
|
|
6892
|
+
/* @__PURE__ */ jsx102("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ jsx102(ColorGradient, { focus: focusView }) : /* @__PURE__ */ jsx102(ColorPalette, { palette }) }),
|
|
6893
|
+
/* @__PURE__ */ jsxs43(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
|
|
6894
|
+
/* @__PURE__ */ jsx102(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
|
|
6895
|
+
/* @__PURE__ */ jsx102(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
|
|
6704
6896
|
] })
|
|
6705
6897
|
] });
|
|
6706
6898
|
};
|
|
6707
|
-
ColorEditor.states =
|
|
6708
|
-
ColorEditor.options =
|
|
6899
|
+
ColorEditor.states = states40;
|
|
6900
|
+
ColorEditor.options = options39;
|
|
6709
6901
|
ColorEditor.className = COLOREDITOR_CLASSNAME;
|
|
6710
|
-
ColorEditor.defaultProps =
|
|
6902
|
+
ColorEditor.defaultProps = defaultProps37;
|
|
6711
6903
|
|
|
6712
6904
|
// src/coloreditor/templates/coloreditor-normal.tsx
|
|
6713
|
-
import { jsx as
|
|
6905
|
+
import { jsx as jsx103 } from "react/jsx-runtime";
|
|
6714
6906
|
|
|
6715
6907
|
// src/coloreditor/templates/coloreditor-palette.tsx
|
|
6716
|
-
import { jsx as
|
|
6908
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
6717
6909
|
|
|
6718
6910
|
// src/coloreditor/templates/coloreditor-group.tsx
|
|
6719
|
-
import { jsx as
|
|
6911
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
6720
6912
|
|
|
6721
6913
|
// src/coloreditor/templates/coloreditor-palette-group.tsx
|
|
6722
|
-
import { jsx as
|
|
6914
|
+
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
6723
6915
|
|
|
6724
6916
|
// src/colorpicker/templates/colorpicker-popup-gradient.tsx
|
|
6725
|
-
import { jsx as
|
|
6917
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
6726
6918
|
|
|
6727
6919
|
// src/colorpicker/templates/colorpicker-popup-palette.tsx
|
|
6728
|
-
import { jsx as
|
|
6920
|
+
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
6729
6921
|
|
|
6730
6922
|
// src/action-sheet/action-sheet.spec.tsx
|
|
6731
|
-
import { Fragment as
|
|
6923
|
+
import { Fragment as Fragment36, jsx as jsx109, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
6732
6924
|
var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
|
|
6733
|
-
var
|
|
6734
|
-
var
|
|
6735
|
-
var
|
|
6925
|
+
var states41 = [];
|
|
6926
|
+
var options40 = {};
|
|
6927
|
+
var defaultProps38 = {
|
|
6736
6928
|
side: "bottom",
|
|
6737
6929
|
fullscreen: false,
|
|
6738
6930
|
adaptive: false,
|
|
@@ -6745,14 +6937,14 @@ var ActionSheet = (props) => {
|
|
|
6745
6937
|
header,
|
|
6746
6938
|
footer,
|
|
6747
6939
|
actions,
|
|
6748
|
-
side =
|
|
6749
|
-
fullscreen =
|
|
6750
|
-
adaptive =
|
|
6751
|
-
overlay =
|
|
6940
|
+
side = defaultProps38.side,
|
|
6941
|
+
fullscreen = defaultProps38.fullscreen,
|
|
6942
|
+
adaptive = defaultProps38.adaptive,
|
|
6943
|
+
overlay = defaultProps38.overlay,
|
|
6752
6944
|
...other
|
|
6753
6945
|
} = props;
|
|
6754
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
6755
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
6946
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ jsx109(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
|
|
6947
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ jsx109(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ jsx109(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
|
|
6756
6948
|
const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
|
|
6757
6949
|
switch (child.type) {
|
|
6758
6950
|
case ActionSheetHeader:
|
|
@@ -6762,10 +6954,10 @@ var ActionSheet = (props) => {
|
|
|
6762
6954
|
return true;
|
|
6763
6955
|
}
|
|
6764
6956
|
return true;
|
|
6765
|
-
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */
|
|
6766
|
-
return /* @__PURE__ */
|
|
6767
|
-
overlay && /* @__PURE__ */
|
|
6768
|
-
/* @__PURE__ */
|
|
6957
|
+
}) : children.type === ActionSheetItems ? children : /* @__PURE__ */ jsx109(Fragment36, {});
|
|
6958
|
+
return /* @__PURE__ */ jsxs44("div", { className: "k-actionsheet-container", children: [
|
|
6959
|
+
overlay && /* @__PURE__ */ jsx109("div", { className: "k-overlay" }),
|
|
6960
|
+
/* @__PURE__ */ jsx109(
|
|
6769
6961
|
AnimationContainer,
|
|
6770
6962
|
{
|
|
6771
6963
|
animationStyle: {
|
|
@@ -6775,7 +6967,7 @@ var ActionSheet = (props) => {
|
|
|
6775
6967
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
6776
6968
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
6777
6969
|
},
|
|
6778
|
-
children: /* @__PURE__ */
|
|
6970
|
+
children: /* @__PURE__ */ jsx109(
|
|
6779
6971
|
"div",
|
|
6780
6972
|
{
|
|
6781
6973
|
...other,
|
|
@@ -6788,9 +6980,9 @@ var ActionSheet = (props) => {
|
|
|
6788
6980
|
"k-adaptive-actionsheet": adaptive
|
|
6789
6981
|
}
|
|
6790
6982
|
),
|
|
6791
|
-
children: /* @__PURE__ */
|
|
6983
|
+
children: /* @__PURE__ */ jsxs44(Fragment36, { children: [
|
|
6792
6984
|
_ActionSheetHeader,
|
|
6793
|
-
/* @__PURE__ */
|
|
6985
|
+
/* @__PURE__ */ jsx109("div", { className: classNames(
|
|
6794
6986
|
"k-actionsheet-content",
|
|
6795
6987
|
{
|
|
6796
6988
|
"!k-overflow-hidden": adaptive
|
|
@@ -6804,13 +6996,13 @@ var ActionSheet = (props) => {
|
|
|
6804
6996
|
)
|
|
6805
6997
|
] });
|
|
6806
6998
|
};
|
|
6807
|
-
ActionSheet.states =
|
|
6808
|
-
ActionSheet.options =
|
|
6999
|
+
ActionSheet.states = states41;
|
|
7000
|
+
ActionSheet.options = options40;
|
|
6809
7001
|
ActionSheet.className = ACTIONSHEET_CLASSNAME;
|
|
6810
|
-
ActionSheet.defaultProps =
|
|
7002
|
+
ActionSheet.defaultProps = defaultProps38;
|
|
6811
7003
|
|
|
6812
7004
|
// src/action-sheet/actionsheet-header.tsx
|
|
6813
|
-
import { Fragment as
|
|
7005
|
+
import { Fragment as Fragment37, jsx as jsx110, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
6814
7006
|
var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
|
|
6815
7007
|
var ActionSheetHeader = (props) => {
|
|
6816
7008
|
const {
|
|
@@ -6820,7 +7012,7 @@ var ActionSheetHeader = (props) => {
|
|
|
6820
7012
|
filter,
|
|
6821
7013
|
...other
|
|
6822
7014
|
} = props;
|
|
6823
|
-
return /* @__PURE__ */
|
|
7015
|
+
return /* @__PURE__ */ jsx110(
|
|
6824
7016
|
"div",
|
|
6825
7017
|
{
|
|
6826
7018
|
...other,
|
|
@@ -6828,30 +7020,30 @@ var ActionSheetHeader = (props) => {
|
|
|
6828
7020
|
props.className,
|
|
6829
7021
|
ACTIONSHEETHEADER_CLASSNAME
|
|
6830
7022
|
),
|
|
6831
|
-
children: /* @__PURE__ */
|
|
6832
|
-
/* @__PURE__ */
|
|
6833
|
-
!props.children && (title || subTitle) && /* @__PURE__ */
|
|
6834
|
-
title !== "" && /* @__PURE__ */
|
|
6835
|
-
subTitle !== "" && /* @__PURE__ */
|
|
7023
|
+
children: /* @__PURE__ */ jsxs45(Fragment37, { children: [
|
|
7024
|
+
/* @__PURE__ */ jsxs45("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
|
|
7025
|
+
!props.children && (title || subTitle) && /* @__PURE__ */ jsx110(Fragment37, { children: /* @__PURE__ */ jsxs45("div", { className: "k-actionsheet-title", children: [
|
|
7026
|
+
title !== "" && /* @__PURE__ */ jsx110("div", { className: "k-text-center", children: title }),
|
|
7027
|
+
subTitle !== "" && /* @__PURE__ */ jsx110("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
|
|
6836
7028
|
] }) }),
|
|
6837
|
-
props.children && /* @__PURE__ */
|
|
6838
|
-
actions && /* @__PURE__ */
|
|
7029
|
+
props.children && /* @__PURE__ */ jsx110("div", { className: "k-actionsheet-title", children: props.children }),
|
|
7030
|
+
actions && /* @__PURE__ */ jsx110(Fragment37, { children: /* @__PURE__ */ jsx110("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ jsx110(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
|
|
6839
7031
|
] }),
|
|
6840
|
-
filter && /* @__PURE__ */
|
|
7032
|
+
filter && /* @__PURE__ */ jsx110(Fragment37, { children: /* @__PURE__ */ jsx110("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ jsx110(Searchbox, { placeholder: "Filter", size: "large" }) }) })
|
|
6841
7033
|
] })
|
|
6842
7034
|
}
|
|
6843
7035
|
);
|
|
6844
7036
|
};
|
|
6845
7037
|
|
|
6846
7038
|
// src/action-sheet/actionsheet-footer.tsx
|
|
6847
|
-
import { Fragment as
|
|
7039
|
+
import { Fragment as Fragment38, jsx as jsx111, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
6848
7040
|
var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
|
|
6849
7041
|
var ActionSheetFooter = (props) => {
|
|
6850
7042
|
const {
|
|
6851
7043
|
actions,
|
|
6852
7044
|
...other
|
|
6853
7045
|
} = props;
|
|
6854
|
-
return /* @__PURE__ */
|
|
7046
|
+
return /* @__PURE__ */ jsx111(
|
|
6855
7047
|
action_buttons_spec_default,
|
|
6856
7048
|
{
|
|
6857
7049
|
...other,
|
|
@@ -6860,17 +7052,17 @@ var ActionSheetFooter = (props) => {
|
|
|
6860
7052
|
ACTIONSHEETFOOTER_CLASSNAME
|
|
6861
7053
|
),
|
|
6862
7054
|
alignment: "stretched",
|
|
6863
|
-
children: /* @__PURE__ */
|
|
7055
|
+
children: /* @__PURE__ */ jsxs46(Fragment38, { children: [
|
|
6864
7056
|
actions && actions.map((action, index) => {
|
|
6865
7057
|
if (action === "|") {
|
|
6866
|
-
return /* @__PURE__ */
|
|
7058
|
+
return /* @__PURE__ */ jsx111("span", { className: "k-separator" }, index);
|
|
6867
7059
|
}
|
|
6868
7060
|
if (action === " ") {
|
|
6869
|
-
return /* @__PURE__ */
|
|
7061
|
+
return /* @__PURE__ */ jsx111("span", { className: "k-spacer" }, index);
|
|
6870
7062
|
}
|
|
6871
7063
|
const importantFlag = action.startsWith("!");
|
|
6872
7064
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
6873
|
-
return /* @__PURE__ */
|
|
7065
|
+
return /* @__PURE__ */ jsx111(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
|
|
6874
7066
|
}),
|
|
6875
7067
|
!actions && props.children
|
|
6876
7068
|
] })
|
|
@@ -6879,12 +7071,12 @@ var ActionSheetFooter = (props) => {
|
|
|
6879
7071
|
};
|
|
6880
7072
|
|
|
6881
7073
|
// src/action-sheet/actionsheet-items.tsx
|
|
6882
|
-
import { jsx as
|
|
7074
|
+
import { jsx as jsx112 } from "react/jsx-runtime";
|
|
6883
7075
|
var ActionSheetItems = (props) => {
|
|
6884
7076
|
const {
|
|
6885
7077
|
...other
|
|
6886
7078
|
} = props;
|
|
6887
|
-
return /* @__PURE__ */
|
|
7079
|
+
return /* @__PURE__ */ jsx112(
|
|
6888
7080
|
"div",
|
|
6889
7081
|
{
|
|
6890
7082
|
...other,
|
|
@@ -6898,8 +7090,8 @@ var ActionSheetItems = (props) => {
|
|
|
6898
7090
|
};
|
|
6899
7091
|
|
|
6900
7092
|
// src/action-sheet/actionsheet-item.tsx
|
|
6901
|
-
import { Fragment as
|
|
6902
|
-
var
|
|
7093
|
+
import { Fragment as Fragment39, jsx as jsx113, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
7094
|
+
var states42 = [
|
|
6903
7095
|
States.hover,
|
|
6904
7096
|
States.focus,
|
|
6905
7097
|
States.selected,
|
|
@@ -6907,9 +7099,9 @@ var states39 = [
|
|
|
6907
7099
|
];
|
|
6908
7100
|
|
|
6909
7101
|
// src/combobox/combobox.spec.tsx
|
|
6910
|
-
import { Fragment as
|
|
7102
|
+
import { Fragment as Fragment40, jsx as jsx114, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
6911
7103
|
var COMBOBOX_CLASSNAME = `k-combobox`;
|
|
6912
|
-
var
|
|
7104
|
+
var states43 = [
|
|
6913
7105
|
States.hover,
|
|
6914
7106
|
States.focus,
|
|
6915
7107
|
States.valid,
|
|
@@ -6919,13 +7111,13 @@ var states40 = [
|
|
|
6919
7111
|
States.disabled,
|
|
6920
7112
|
States.readonly
|
|
6921
7113
|
];
|
|
6922
|
-
var
|
|
7114
|
+
var defaultProps39 = {
|
|
6923
7115
|
size: Input.defaultProps.size,
|
|
6924
7116
|
rounded: Input.defaultProps.rounded,
|
|
6925
7117
|
fillMode: Input.defaultProps.fillMode,
|
|
6926
7118
|
separators: true
|
|
6927
7119
|
};
|
|
6928
|
-
var
|
|
7120
|
+
var options41 = {
|
|
6929
7121
|
size: [Size.small, Size.medium, Size.large],
|
|
6930
7122
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
6931
7123
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
|
|
@@ -6934,7 +7126,7 @@ var Combobox = (props) => {
|
|
|
6934
7126
|
const {
|
|
6935
7127
|
prefix,
|
|
6936
7128
|
suffix,
|
|
6937
|
-
separators =
|
|
7129
|
+
separators = defaultProps39.separators,
|
|
6938
7130
|
value,
|
|
6939
7131
|
placeholder,
|
|
6940
7132
|
size,
|
|
@@ -6954,8 +7146,8 @@ var Combobox = (props) => {
|
|
|
6954
7146
|
adaptiveSettings,
|
|
6955
7147
|
...other
|
|
6956
7148
|
} = props;
|
|
6957
|
-
return /* @__PURE__ */
|
|
6958
|
-
/* @__PURE__ */
|
|
7149
|
+
return /* @__PURE__ */ jsxs48(Fragment40, { children: [
|
|
7150
|
+
/* @__PURE__ */ jsxs48(
|
|
6959
7151
|
Input,
|
|
6960
7152
|
{
|
|
6961
7153
|
...other,
|
|
@@ -6972,12 +7164,12 @@ var Combobox = (props) => {
|
|
|
6972
7164
|
readonly,
|
|
6973
7165
|
className: classNames(props.className, COMBOBOX_CLASSNAME),
|
|
6974
7166
|
children: [
|
|
6975
|
-
prefix && /* @__PURE__ */
|
|
6976
|
-
/* @__PURE__ */
|
|
6977
|
-
separators && /* @__PURE__ */
|
|
7167
|
+
prefix && /* @__PURE__ */ jsxs48(Fragment40, { children: [
|
|
7168
|
+
/* @__PURE__ */ jsx114(InputPrefix, { children: prefix }),
|
|
7169
|
+
separators && /* @__PURE__ */ jsx114(InputSeparator, {})
|
|
6978
7170
|
] }),
|
|
6979
|
-
/* @__PURE__ */
|
|
6980
|
-
/* @__PURE__ */
|
|
7171
|
+
/* @__PURE__ */ jsx114(InputInnerInput, { placeholder, value }),
|
|
7172
|
+
/* @__PURE__ */ jsx114(
|
|
6981
7173
|
InputValidationIcon,
|
|
6982
7174
|
{
|
|
6983
7175
|
valid,
|
|
@@ -6986,14 +7178,14 @@ var Combobox = (props) => {
|
|
|
6986
7178
|
disabled
|
|
6987
7179
|
}
|
|
6988
7180
|
),
|
|
6989
|
-
/* @__PURE__ */
|
|
7181
|
+
/* @__PURE__ */ jsx114(
|
|
6990
7182
|
InputLoadingIcon,
|
|
6991
7183
|
{
|
|
6992
7184
|
loading,
|
|
6993
7185
|
disabled
|
|
6994
7186
|
}
|
|
6995
7187
|
),
|
|
6996
|
-
/* @__PURE__ */
|
|
7188
|
+
/* @__PURE__ */ jsx114(
|
|
6997
7189
|
InputClearValue,
|
|
6998
7190
|
{
|
|
6999
7191
|
loading,
|
|
@@ -7002,11 +7194,11 @@ var Combobox = (props) => {
|
|
|
7002
7194
|
value
|
|
7003
7195
|
}
|
|
7004
7196
|
),
|
|
7005
|
-
suffix && /* @__PURE__ */
|
|
7006
|
-
separators && /* @__PURE__ */
|
|
7007
|
-
/* @__PURE__ */
|
|
7197
|
+
suffix && /* @__PURE__ */ jsxs48(Fragment40, { children: [
|
|
7198
|
+
separators && /* @__PURE__ */ jsx114(InputSeparator, {}),
|
|
7199
|
+
/* @__PURE__ */ jsx114(InputSuffix, { children: suffix })
|
|
7008
7200
|
] }),
|
|
7009
|
-
/* @__PURE__ */
|
|
7201
|
+
/* @__PURE__ */ jsx114(
|
|
7010
7202
|
Button,
|
|
7011
7203
|
{
|
|
7012
7204
|
className: "k-input-button",
|
|
@@ -7019,9 +7211,9 @@ var Combobox = (props) => {
|
|
|
7019
7211
|
]
|
|
7020
7212
|
}
|
|
7021
7213
|
),
|
|
7022
|
-
opened && popup && /* @__PURE__ */
|
|
7023
|
-
adaptive && /* @__PURE__ */
|
|
7024
|
-
/* @__PURE__ */
|
|
7214
|
+
opened && popup && /* @__PURE__ */ jsx114(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
|
|
7215
|
+
adaptive && /* @__PURE__ */ jsxs48(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
|
|
7216
|
+
/* @__PURE__ */ jsx114(
|
|
7025
7217
|
ActionSheetHeader,
|
|
7026
7218
|
{
|
|
7027
7219
|
actions: ["x"],
|
|
@@ -7029,51 +7221,51 @@ var Combobox = (props) => {
|
|
|
7029
7221
|
title: "Select Item"
|
|
7030
7222
|
}
|
|
7031
7223
|
),
|
|
7032
|
-
/* @__PURE__ */
|
|
7033
|
-
/* @__PURE__ */
|
|
7034
|
-
/* @__PURE__ */
|
|
7035
|
-
/* @__PURE__ */
|
|
7224
|
+
/* @__PURE__ */ jsx114("div", { className: "k-list-container", children: /* @__PURE__ */ jsxs48(List, { size: "large", children: [
|
|
7225
|
+
/* @__PURE__ */ jsx114(ListItem, { text: "List item" }),
|
|
7226
|
+
/* @__PURE__ */ jsx114(ListItem, { text: "List item" }),
|
|
7227
|
+
/* @__PURE__ */ jsx114(ListItem, { text: "List item" })
|
|
7036
7228
|
] }) })
|
|
7037
7229
|
] })
|
|
7038
7230
|
] });
|
|
7039
7231
|
};
|
|
7040
|
-
Combobox.states =
|
|
7041
|
-
Combobox.options =
|
|
7232
|
+
Combobox.states = states43;
|
|
7233
|
+
Combobox.options = options41;
|
|
7042
7234
|
Combobox.className = COMBOBOX_CLASSNAME;
|
|
7043
|
-
Combobox.defaultProps =
|
|
7235
|
+
Combobox.defaultProps = defaultProps39;
|
|
7044
7236
|
|
|
7045
7237
|
// src/combobox/templates/combobox-normal.tsx
|
|
7046
|
-
import { jsx as
|
|
7238
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
7047
7239
|
|
|
7048
7240
|
// src/combobox/templates/combobox-popup.tsx
|
|
7049
|
-
import { jsx as
|
|
7241
|
+
import { jsx as jsx116, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
7050
7242
|
|
|
7051
7243
|
// src/combobox/templates/combobox-grouping.tsx
|
|
7052
|
-
import { jsx as
|
|
7244
|
+
import { jsx as jsx117, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
7053
7245
|
|
|
7054
7246
|
// src/combobox/templates/combobox-grouping-modern.tsx
|
|
7055
|
-
import { jsx as
|
|
7247
|
+
import { jsx as jsx118, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
7056
7248
|
|
|
7057
7249
|
// src/combobox/templates/combobox-adaptive.tsx
|
|
7058
|
-
import { jsx as
|
|
7250
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
7059
7251
|
|
|
7060
7252
|
// src/combobox/templates/combobox-prefix.tsx
|
|
7061
|
-
import { Fragment as
|
|
7253
|
+
import { Fragment as Fragment41, jsx as jsx120 } from "react/jsx-runtime";
|
|
7062
7254
|
|
|
7063
7255
|
// src/combobox/templates/combobox-suffix.tsx
|
|
7064
|
-
import { Fragment as
|
|
7256
|
+
import { Fragment as Fragment42, jsx as jsx121 } from "react/jsx-runtime";
|
|
7065
7257
|
|
|
7066
7258
|
// src/menu-button/menu-button.spec.tsx
|
|
7067
|
-
import { Fragment as
|
|
7259
|
+
import { Fragment as Fragment43, jsx as jsx122, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
7068
7260
|
var MENUBUTTON_CLASSNAME = `k-menu-button`;
|
|
7069
|
-
var
|
|
7261
|
+
var states44 = [
|
|
7070
7262
|
States.hover,
|
|
7071
7263
|
States.focus,
|
|
7072
7264
|
States.active,
|
|
7073
7265
|
States.selected,
|
|
7074
7266
|
States.disabled
|
|
7075
7267
|
];
|
|
7076
|
-
var
|
|
7268
|
+
var options42 = {
|
|
7077
7269
|
size: [Size.small, Size.medium, Size.large],
|
|
7078
7270
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7079
7271
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7091,7 +7283,7 @@ var options39 = {
|
|
|
7091
7283
|
ThemeColor.inverse
|
|
7092
7284
|
]
|
|
7093
7285
|
};
|
|
7094
|
-
var
|
|
7286
|
+
var defaultProps40 = {
|
|
7095
7287
|
size: Size.medium,
|
|
7096
7288
|
rounded: Roundness.medium,
|
|
7097
7289
|
fillMode: FillMode.solid,
|
|
@@ -7101,10 +7293,10 @@ var defaultProps38 = {
|
|
|
7101
7293
|
};
|
|
7102
7294
|
var MenuButton = (props) => {
|
|
7103
7295
|
const {
|
|
7104
|
-
size =
|
|
7105
|
-
rounded =
|
|
7106
|
-
fillMode =
|
|
7107
|
-
themeColor =
|
|
7296
|
+
size = defaultProps40.size,
|
|
7297
|
+
rounded = defaultProps40.rounded,
|
|
7298
|
+
fillMode = defaultProps40.fillMode,
|
|
7299
|
+
themeColor = defaultProps40.themeColor,
|
|
7108
7300
|
hover,
|
|
7109
7301
|
focus,
|
|
7110
7302
|
active,
|
|
@@ -7112,14 +7304,14 @@ var MenuButton = (props) => {
|
|
|
7112
7304
|
disabled,
|
|
7113
7305
|
icon,
|
|
7114
7306
|
text,
|
|
7115
|
-
showArrow =
|
|
7116
|
-
arrowIconName =
|
|
7307
|
+
showArrow = defaultProps40.showArrow,
|
|
7308
|
+
arrowIconName = defaultProps40.arrowIconName,
|
|
7117
7309
|
popup,
|
|
7118
7310
|
opened,
|
|
7119
7311
|
...other
|
|
7120
7312
|
} = props;
|
|
7121
|
-
return /* @__PURE__ */
|
|
7122
|
-
/* @__PURE__ */
|
|
7313
|
+
return /* @__PURE__ */ jsxs52(Fragment43, { children: [
|
|
7314
|
+
/* @__PURE__ */ jsx122(
|
|
7123
7315
|
Button,
|
|
7124
7316
|
{
|
|
7125
7317
|
...other,
|
|
@@ -7142,34 +7334,34 @@ var MenuButton = (props) => {
|
|
|
7142
7334
|
arrowIconName
|
|
7143
7335
|
}
|
|
7144
7336
|
),
|
|
7145
|
-
opened && popup && /* @__PURE__ */
|
|
7337
|
+
opened && popup && /* @__PURE__ */ jsx122(Popup, { className: "k-menu-popup", children: popup })
|
|
7146
7338
|
] });
|
|
7147
7339
|
};
|
|
7148
|
-
MenuButton.states =
|
|
7149
|
-
MenuButton.options =
|
|
7340
|
+
MenuButton.states = states44;
|
|
7341
|
+
MenuButton.options = options42;
|
|
7150
7342
|
MenuButton.className = MENUBUTTON_CLASSNAME;
|
|
7151
|
-
MenuButton.defaultProps =
|
|
7343
|
+
MenuButton.defaultProps = defaultProps40;
|
|
7152
7344
|
|
|
7153
7345
|
// src/menu-button/templates/icon-menu-button.tsx
|
|
7154
|
-
import { jsx as
|
|
7346
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
7155
7347
|
|
|
7156
7348
|
// src/menu-button/templates/icon-text-menu-button.tsx
|
|
7157
|
-
import { jsx as
|
|
7349
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
7158
7350
|
|
|
7159
7351
|
// src/menu-button/templates/text-menu-button.tsx
|
|
7160
|
-
import { jsx as
|
|
7352
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
7161
7353
|
|
|
7162
7354
|
// src/menu/menu-item.spec.tsx
|
|
7163
|
-
import { Fragment as
|
|
7355
|
+
import { Fragment as Fragment44, jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
7164
7356
|
var MENUITEM_CLASSNAME = `k-menu-item`;
|
|
7165
|
-
var
|
|
7357
|
+
var states45 = [
|
|
7166
7358
|
States.hover,
|
|
7167
7359
|
States.focus,
|
|
7168
7360
|
States.active,
|
|
7169
7361
|
States.disabled
|
|
7170
7362
|
];
|
|
7171
|
-
var
|
|
7172
|
-
var
|
|
7363
|
+
var options43 = {};
|
|
7364
|
+
var defaultProps41 = {
|
|
7173
7365
|
dir: "ltr"
|
|
7174
7366
|
};
|
|
7175
7367
|
var MenuItem = (props) => {
|
|
@@ -7184,12 +7376,12 @@ var MenuItem = (props) => {
|
|
|
7184
7376
|
last,
|
|
7185
7377
|
showArrow,
|
|
7186
7378
|
arrowIconName,
|
|
7187
|
-
dir =
|
|
7379
|
+
dir = defaultProps41.dir,
|
|
7188
7380
|
children,
|
|
7189
7381
|
popup,
|
|
7190
7382
|
...other
|
|
7191
7383
|
} = props;
|
|
7192
|
-
const contentTemplate = /* @__PURE__ */
|
|
7384
|
+
const contentTemplate = /* @__PURE__ */ jsx126(Fragment44, {});
|
|
7193
7385
|
if (children) {
|
|
7194
7386
|
children.forEach((child) => {
|
|
7195
7387
|
const component = child.type;
|
|
@@ -7203,7 +7395,7 @@ var MenuItem = (props) => {
|
|
|
7203
7395
|
if (!expandArrowName) {
|
|
7204
7396
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7205
7397
|
}
|
|
7206
|
-
return /* @__PURE__ */
|
|
7398
|
+
return /* @__PURE__ */ jsxs53(
|
|
7207
7399
|
"li",
|
|
7208
7400
|
{
|
|
7209
7401
|
...other,
|
|
@@ -7224,16 +7416,16 @@ var MenuItem = (props) => {
|
|
|
7224
7416
|
}
|
|
7225
7417
|
),
|
|
7226
7418
|
children: [
|
|
7227
|
-
/* @__PURE__ */
|
|
7419
|
+
/* @__PURE__ */ jsxs53(
|
|
7228
7420
|
"span",
|
|
7229
7421
|
{
|
|
7230
7422
|
className: classNames(
|
|
7231
7423
|
"k-link k-menu-link"
|
|
7232
7424
|
),
|
|
7233
7425
|
children: [
|
|
7234
|
-
icon && /* @__PURE__ */
|
|
7235
|
-
/* @__PURE__ */
|
|
7236
|
-
showArrow && /* @__PURE__ */
|
|
7426
|
+
icon && /* @__PURE__ */ jsx126(Icon, { className: "k-menu-link-icon", icon }),
|
|
7427
|
+
/* @__PURE__ */ jsx126("span", { className: "k-menu-link-text", children: text }),
|
|
7428
|
+
showArrow && /* @__PURE__ */ jsx126("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx126(Icon, { icon: expandArrowName }) })
|
|
7237
7429
|
]
|
|
7238
7430
|
}
|
|
7239
7431
|
),
|
|
@@ -7243,23 +7435,23 @@ var MenuItem = (props) => {
|
|
|
7243
7435
|
}
|
|
7244
7436
|
);
|
|
7245
7437
|
};
|
|
7246
|
-
MenuItem.states =
|
|
7247
|
-
MenuItem.options =
|
|
7438
|
+
MenuItem.states = states45;
|
|
7439
|
+
MenuItem.options = options43;
|
|
7248
7440
|
MenuItem.className = MENUITEM_CLASSNAME;
|
|
7249
|
-
MenuItem.defaultProps =
|
|
7441
|
+
MenuItem.defaultProps = defaultProps41;
|
|
7250
7442
|
|
|
7251
7443
|
// src/menu/menu-list-item.spec.tsx
|
|
7252
|
-
import { Fragment as
|
|
7444
|
+
import { Fragment as Fragment45, jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
7253
7445
|
var MENULISTITEM_CLASSNAME = `k-menu-item`;
|
|
7254
|
-
var
|
|
7446
|
+
var states46 = [
|
|
7255
7447
|
States.hover,
|
|
7256
7448
|
States.focus,
|
|
7257
7449
|
States.active,
|
|
7258
7450
|
States.selected,
|
|
7259
7451
|
States.disabled
|
|
7260
7452
|
];
|
|
7261
|
-
var
|
|
7262
|
-
var
|
|
7453
|
+
var options44 = {};
|
|
7454
|
+
var defaultProps42 = {
|
|
7263
7455
|
dir: "ltr"
|
|
7264
7456
|
};
|
|
7265
7457
|
var MenuListItem = (props) => {
|
|
@@ -7275,12 +7467,12 @@ var MenuListItem = (props) => {
|
|
|
7275
7467
|
last,
|
|
7276
7468
|
showArrow,
|
|
7277
7469
|
arrowIconName,
|
|
7278
|
-
dir =
|
|
7470
|
+
dir = defaultProps42.dir,
|
|
7279
7471
|
children,
|
|
7280
7472
|
popup,
|
|
7281
7473
|
...other
|
|
7282
7474
|
} = props;
|
|
7283
|
-
const contentTemplate = /* @__PURE__ */
|
|
7475
|
+
const contentTemplate = /* @__PURE__ */ jsx127(Fragment45, {});
|
|
7284
7476
|
if (children) {
|
|
7285
7477
|
children.forEach((child) => {
|
|
7286
7478
|
const component = child.type;
|
|
@@ -7294,7 +7486,7 @@ var MenuListItem = (props) => {
|
|
|
7294
7486
|
if (!expandArrowName) {
|
|
7295
7487
|
expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
|
|
7296
7488
|
}
|
|
7297
|
-
return /* @__PURE__ */
|
|
7489
|
+
return /* @__PURE__ */ jsxs54(
|
|
7298
7490
|
"li",
|
|
7299
7491
|
{
|
|
7300
7492
|
...other,
|
|
@@ -7313,7 +7505,7 @@ var MenuListItem = (props) => {
|
|
|
7313
7505
|
}
|
|
7314
7506
|
),
|
|
7315
7507
|
children: [
|
|
7316
|
-
/* @__PURE__ */
|
|
7508
|
+
/* @__PURE__ */ jsxs54(
|
|
7317
7509
|
"span",
|
|
7318
7510
|
{
|
|
7319
7511
|
className: classNames(
|
|
@@ -7326,9 +7518,9 @@ var MenuListItem = (props) => {
|
|
|
7326
7518
|
})
|
|
7327
7519
|
),
|
|
7328
7520
|
children: [
|
|
7329
|
-
icon && /* @__PURE__ */
|
|
7330
|
-
/* @__PURE__ */
|
|
7331
|
-
showArrow && /* @__PURE__ */
|
|
7521
|
+
icon && /* @__PURE__ */ jsx127(Icon, { className: "k-menu-link-icon", icon }),
|
|
7522
|
+
/* @__PURE__ */ jsx127("span", { className: "k-menu-link-text", children: text }),
|
|
7523
|
+
showArrow && /* @__PURE__ */ jsx127("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx127(Icon, { icon: expandArrowName }) })
|
|
7332
7524
|
]
|
|
7333
7525
|
}
|
|
7334
7526
|
),
|
|
@@ -7338,28 +7530,28 @@ var MenuListItem = (props) => {
|
|
|
7338
7530
|
}
|
|
7339
7531
|
);
|
|
7340
7532
|
};
|
|
7341
|
-
MenuListItem.states =
|
|
7342
|
-
MenuListItem.options =
|
|
7533
|
+
MenuListItem.states = states46;
|
|
7534
|
+
MenuListItem.options = options44;
|
|
7343
7535
|
MenuListItem.className = MENULISTITEM_CLASSNAME;
|
|
7344
|
-
MenuListItem.defaultProps =
|
|
7536
|
+
MenuListItem.defaultProps = defaultProps42;
|
|
7345
7537
|
|
|
7346
7538
|
// src/menu/menu.spec.tsx
|
|
7347
|
-
import { jsx as
|
|
7539
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
7348
7540
|
var MENU_CLASSNAME = `k-menu`;
|
|
7349
|
-
var
|
|
7350
|
-
var
|
|
7351
|
-
var
|
|
7541
|
+
var states47 = [];
|
|
7542
|
+
var options45 = {};
|
|
7543
|
+
var defaultProps43 = {
|
|
7352
7544
|
orientation: "horizontal",
|
|
7353
7545
|
header: true
|
|
7354
7546
|
};
|
|
7355
7547
|
var Menu = (props) => {
|
|
7356
7548
|
const {
|
|
7357
7549
|
children,
|
|
7358
|
-
orientation =
|
|
7359
|
-
header =
|
|
7550
|
+
orientation = defaultProps43.orientation,
|
|
7551
|
+
header = defaultProps43.header,
|
|
7360
7552
|
...other
|
|
7361
7553
|
} = props;
|
|
7362
|
-
return /* @__PURE__ */
|
|
7554
|
+
return /* @__PURE__ */ jsx128(
|
|
7363
7555
|
"ul",
|
|
7364
7556
|
{
|
|
7365
7557
|
id: "menu",
|
|
@@ -7377,23 +7569,23 @@ var Menu = (props) => {
|
|
|
7377
7569
|
}
|
|
7378
7570
|
);
|
|
7379
7571
|
};
|
|
7380
|
-
Menu.states =
|
|
7381
|
-
Menu.options =
|
|
7572
|
+
Menu.states = states47;
|
|
7573
|
+
Menu.options = options45;
|
|
7382
7574
|
Menu.className = MENU_CLASSNAME;
|
|
7383
|
-
Menu.defaultProps =
|
|
7575
|
+
Menu.defaultProps = defaultProps43;
|
|
7384
7576
|
|
|
7385
7577
|
// src/menu/menu-separator.spec.tsx
|
|
7386
|
-
import { jsx as
|
|
7578
|
+
import { jsx as jsx129 } from "react/jsx-runtime";
|
|
7387
7579
|
var SEPARATOR_CLASSNAME = `k-separator`;
|
|
7388
|
-
var
|
|
7580
|
+
var defaultProps44 = {
|
|
7389
7581
|
orientation: "horizontal"
|
|
7390
7582
|
};
|
|
7391
7583
|
var MenuSeparator = (props) => {
|
|
7392
7584
|
const {
|
|
7393
|
-
orientation =
|
|
7585
|
+
orientation = defaultProps44.orientation,
|
|
7394
7586
|
...other
|
|
7395
7587
|
} = props;
|
|
7396
|
-
return /* @__PURE__ */
|
|
7588
|
+
return /* @__PURE__ */ jsx129(
|
|
7397
7589
|
"li",
|
|
7398
7590
|
{
|
|
7399
7591
|
...other,
|
|
@@ -7410,25 +7602,25 @@ var MenuSeparator = (props) => {
|
|
|
7410
7602
|
};
|
|
7411
7603
|
|
|
7412
7604
|
// src/menu/menu-item-content.tsx
|
|
7413
|
-
import { Fragment as
|
|
7605
|
+
import { Fragment as Fragment46, jsx as jsx130 } from "react/jsx-runtime";
|
|
7414
7606
|
|
|
7415
7607
|
// src/menu/menu-list.spec.tsx
|
|
7416
|
-
import { jsx as
|
|
7608
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
7417
7609
|
import { createElement } from "react";
|
|
7418
7610
|
var MENULIST_CLASSNAME = `k-menu-group`;
|
|
7419
|
-
var
|
|
7420
|
-
var
|
|
7611
|
+
var states48 = [];
|
|
7612
|
+
var options46 = {
|
|
7421
7613
|
size: [Size.small, Size.medium, Size.large]
|
|
7422
7614
|
};
|
|
7423
|
-
var
|
|
7615
|
+
var defaultProps45 = {
|
|
7424
7616
|
size: Size.medium,
|
|
7425
7617
|
dir: "ltr"
|
|
7426
7618
|
};
|
|
7427
7619
|
var MenuList = (props) => {
|
|
7428
7620
|
const {
|
|
7429
7621
|
children,
|
|
7430
|
-
size =
|
|
7431
|
-
dir =
|
|
7622
|
+
size = defaultProps45.size,
|
|
7623
|
+
dir = defaultProps45.dir,
|
|
7432
7624
|
...other
|
|
7433
7625
|
} = props;
|
|
7434
7626
|
const listChildren = [];
|
|
@@ -7441,7 +7633,7 @@ var MenuList = (props) => {
|
|
|
7441
7633
|
);
|
|
7442
7634
|
} else if (child.type === MenuSeparator) {
|
|
7443
7635
|
listChildren.push(
|
|
7444
|
-
/* @__PURE__ */
|
|
7636
|
+
/* @__PURE__ */ jsx131(MenuSeparator, {})
|
|
7445
7637
|
);
|
|
7446
7638
|
} else {
|
|
7447
7639
|
listChildren.push(child);
|
|
@@ -7449,7 +7641,7 @@ var MenuList = (props) => {
|
|
|
7449
7641
|
});
|
|
7450
7642
|
}
|
|
7451
7643
|
}
|
|
7452
|
-
return /* @__PURE__ */
|
|
7644
|
+
return /* @__PURE__ */ jsx131(
|
|
7453
7645
|
"ul",
|
|
7454
7646
|
{
|
|
7455
7647
|
...other,
|
|
@@ -7464,25 +7656,25 @@ var MenuList = (props) => {
|
|
|
7464
7656
|
}
|
|
7465
7657
|
);
|
|
7466
7658
|
};
|
|
7467
|
-
MenuList.states =
|
|
7468
|
-
MenuList.options =
|
|
7659
|
+
MenuList.states = states48;
|
|
7660
|
+
MenuList.options = options46;
|
|
7469
7661
|
MenuList.className = MENULIST_CLASSNAME;
|
|
7470
|
-
MenuList.defaultProps =
|
|
7662
|
+
MenuList.defaultProps = defaultProps45;
|
|
7471
7663
|
|
|
7472
7664
|
// src/menu-button/templates/menu-button-popup.tsx
|
|
7473
|
-
import { jsx as
|
|
7665
|
+
import { jsx as jsx132, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7474
7666
|
|
|
7475
7667
|
// src/split-button/split-button.spec.tsx
|
|
7476
|
-
import { Fragment as
|
|
7668
|
+
import { Fragment as Fragment47, jsx as jsx133, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7477
7669
|
var SPLITBUTTON_CLASSNAME = `k-split-button`;
|
|
7478
|
-
var
|
|
7670
|
+
var states49 = [
|
|
7479
7671
|
States.hover,
|
|
7480
7672
|
States.focus,
|
|
7481
7673
|
States.active,
|
|
7482
7674
|
States.selected,
|
|
7483
7675
|
States.disabled
|
|
7484
7676
|
];
|
|
7485
|
-
var
|
|
7677
|
+
var options47 = {
|
|
7486
7678
|
size: [Size.small, Size.medium, Size.large],
|
|
7487
7679
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
7488
7680
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -7500,7 +7692,7 @@ var options44 = {
|
|
|
7500
7692
|
ThemeColor.inverse
|
|
7501
7693
|
]
|
|
7502
7694
|
};
|
|
7503
|
-
var
|
|
7695
|
+
var defaultProps46 = {
|
|
7504
7696
|
size: Size.medium,
|
|
7505
7697
|
rounded: Roundness.medium,
|
|
7506
7698
|
fillMode: FillMode.solid,
|
|
@@ -7509,10 +7701,10 @@ var defaultProps44 = {
|
|
|
7509
7701
|
};
|
|
7510
7702
|
var SplitButton = (props) => {
|
|
7511
7703
|
const {
|
|
7512
|
-
size =
|
|
7513
|
-
rounded =
|
|
7514
|
-
fillMode =
|
|
7515
|
-
themeColor =
|
|
7704
|
+
size = defaultProps46.size,
|
|
7705
|
+
rounded = defaultProps46.rounded,
|
|
7706
|
+
fillMode = defaultProps46.fillMode,
|
|
7707
|
+
themeColor = defaultProps46.themeColor,
|
|
7516
7708
|
hover,
|
|
7517
7709
|
focus,
|
|
7518
7710
|
active,
|
|
@@ -7520,13 +7712,13 @@ var SplitButton = (props) => {
|
|
|
7520
7712
|
disabled,
|
|
7521
7713
|
icon,
|
|
7522
7714
|
text,
|
|
7523
|
-
arrowIconName =
|
|
7715
|
+
arrowIconName = defaultProps46.arrowIconName,
|
|
7524
7716
|
popup,
|
|
7525
7717
|
opened,
|
|
7526
7718
|
...other
|
|
7527
7719
|
} = props;
|
|
7528
|
-
return /* @__PURE__ */
|
|
7529
|
-
/* @__PURE__ */
|
|
7720
|
+
return /* @__PURE__ */ jsxs56(Fragment47, { children: [
|
|
7721
|
+
/* @__PURE__ */ jsxs56(
|
|
7530
7722
|
"div",
|
|
7531
7723
|
{
|
|
7532
7724
|
...other,
|
|
@@ -7539,7 +7731,7 @@ var SplitButton = (props) => {
|
|
|
7539
7731
|
})
|
|
7540
7732
|
),
|
|
7541
7733
|
children: [
|
|
7542
|
-
/* @__PURE__ */
|
|
7734
|
+
/* @__PURE__ */ jsx133(
|
|
7543
7735
|
Button,
|
|
7544
7736
|
{
|
|
7545
7737
|
text,
|
|
@@ -7556,7 +7748,7 @@ var SplitButton = (props) => {
|
|
|
7556
7748
|
children: props.children
|
|
7557
7749
|
}
|
|
7558
7750
|
),
|
|
7559
|
-
/* @__PURE__ */
|
|
7751
|
+
/* @__PURE__ */ jsx133(
|
|
7560
7752
|
Button,
|
|
7561
7753
|
{
|
|
7562
7754
|
className: "k-split-button-arrow",
|
|
@@ -7570,30 +7762,30 @@ var SplitButton = (props) => {
|
|
|
7570
7762
|
]
|
|
7571
7763
|
}
|
|
7572
7764
|
),
|
|
7573
|
-
opened && popup && /* @__PURE__ */
|
|
7765
|
+
opened && popup && /* @__PURE__ */ jsx133(Popup, { className: "k-menu-popup", children: popup })
|
|
7574
7766
|
] });
|
|
7575
7767
|
};
|
|
7576
|
-
SplitButton.states =
|
|
7577
|
-
SplitButton.options =
|
|
7768
|
+
SplitButton.states = states49;
|
|
7769
|
+
SplitButton.options = options47;
|
|
7578
7770
|
SplitButton.className = SPLITBUTTON_CLASSNAME;
|
|
7579
|
-
SplitButton.defaultProps =
|
|
7771
|
+
SplitButton.defaultProps = defaultProps46;
|
|
7580
7772
|
var split_button_spec_default = SplitButton;
|
|
7581
7773
|
|
|
7582
7774
|
// src/toolbar/toolbar.spec.tsx
|
|
7583
|
-
import { jsx as
|
|
7775
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
7584
7776
|
var TOOLBAR_CLASSNAME = `k-toolbar`;
|
|
7585
|
-
var
|
|
7777
|
+
var states50 = [
|
|
7586
7778
|
States.focus
|
|
7587
7779
|
];
|
|
7588
|
-
var
|
|
7780
|
+
var options48 = {
|
|
7589
7781
|
size: [Size.small, Size.medium, Size.large]
|
|
7590
7782
|
};
|
|
7591
|
-
var
|
|
7783
|
+
var defaultProps47 = {
|
|
7592
7784
|
size: Size.medium
|
|
7593
7785
|
};
|
|
7594
7786
|
var Toolbar = (props) => {
|
|
7595
7787
|
const {
|
|
7596
|
-
size =
|
|
7788
|
+
size = defaultProps47.size,
|
|
7597
7789
|
focus,
|
|
7598
7790
|
resizable,
|
|
7599
7791
|
...other
|
|
@@ -7603,7 +7795,7 @@ var Toolbar = (props) => {
|
|
|
7603
7795
|
const tempToolbarChildren = [];
|
|
7604
7796
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7605
7797
|
tempToolbarChildren.push(
|
|
7606
|
-
/* @__PURE__ */
|
|
7798
|
+
/* @__PURE__ */ jsx134(
|
|
7607
7799
|
Button,
|
|
7608
7800
|
{
|
|
7609
7801
|
...child.props,
|
|
@@ -7614,7 +7806,7 @@ var Toolbar = (props) => {
|
|
|
7614
7806
|
);
|
|
7615
7807
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7616
7808
|
tempToolbarChildren.push(
|
|
7617
|
-
/* @__PURE__ */
|
|
7809
|
+
/* @__PURE__ */ jsx134(
|
|
7618
7810
|
Button,
|
|
7619
7811
|
{
|
|
7620
7812
|
...child.props,
|
|
@@ -7625,7 +7817,7 @@ var Toolbar = (props) => {
|
|
|
7625
7817
|
);
|
|
7626
7818
|
} else if (child.type === Button) {
|
|
7627
7819
|
tempToolbarChildren.push(
|
|
7628
|
-
/* @__PURE__ */
|
|
7820
|
+
/* @__PURE__ */ jsx134(
|
|
7629
7821
|
Button,
|
|
7630
7822
|
{
|
|
7631
7823
|
...child.props,
|
|
@@ -7636,7 +7828,7 @@ var Toolbar = (props) => {
|
|
|
7636
7828
|
);
|
|
7637
7829
|
} else if (child.type === MenuButton) {
|
|
7638
7830
|
tempToolbarChildren.push(
|
|
7639
|
-
/* @__PURE__ */
|
|
7831
|
+
/* @__PURE__ */ jsx134(
|
|
7640
7832
|
MenuButton,
|
|
7641
7833
|
{
|
|
7642
7834
|
...child.props,
|
|
@@ -7647,7 +7839,7 @@ var Toolbar = (props) => {
|
|
|
7647
7839
|
);
|
|
7648
7840
|
} else if (child.type === split_button_spec_default) {
|
|
7649
7841
|
tempToolbarChildren.push(
|
|
7650
|
-
/* @__PURE__ */
|
|
7842
|
+
/* @__PURE__ */ jsx134(
|
|
7651
7843
|
split_button_spec_default,
|
|
7652
7844
|
{
|
|
7653
7845
|
...child.props,
|
|
@@ -7661,7 +7853,7 @@ var Toolbar = (props) => {
|
|
|
7661
7853
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7662
7854
|
childrenArray.forEach((button, bindex) => {
|
|
7663
7855
|
buttonGroupItems.push(
|
|
7664
|
-
/* @__PURE__ */
|
|
7856
|
+
/* @__PURE__ */ jsx134(
|
|
7665
7857
|
Button,
|
|
7666
7858
|
{
|
|
7667
7859
|
...button.props,
|
|
@@ -7672,7 +7864,7 @@ var Toolbar = (props) => {
|
|
|
7672
7864
|
);
|
|
7673
7865
|
});
|
|
7674
7866
|
tempToolbarChildren.push(
|
|
7675
|
-
/* @__PURE__ */
|
|
7867
|
+
/* @__PURE__ */ jsx134(
|
|
7676
7868
|
ButtonGroup,
|
|
7677
7869
|
{
|
|
7678
7870
|
...child.props,
|
|
@@ -7684,7 +7876,7 @@ var Toolbar = (props) => {
|
|
|
7684
7876
|
);
|
|
7685
7877
|
} else if (child.type === Combobox) {
|
|
7686
7878
|
tempToolbarChildren.push(
|
|
7687
|
-
/* @__PURE__ */
|
|
7879
|
+
/* @__PURE__ */ jsx134(
|
|
7688
7880
|
Combobox,
|
|
7689
7881
|
{
|
|
7690
7882
|
...child.props,
|
|
@@ -7695,7 +7887,7 @@ var Toolbar = (props) => {
|
|
|
7695
7887
|
);
|
|
7696
7888
|
} else if (child.type === DropdownList) {
|
|
7697
7889
|
tempToolbarChildren.push(
|
|
7698
|
-
/* @__PURE__ */
|
|
7890
|
+
/* @__PURE__ */ jsx134(
|
|
7699
7891
|
DropdownList,
|
|
7700
7892
|
{
|
|
7701
7893
|
...child.props,
|
|
@@ -7706,7 +7898,7 @@ var Toolbar = (props) => {
|
|
|
7706
7898
|
);
|
|
7707
7899
|
} else if (child.type === ColorPicker) {
|
|
7708
7900
|
tempToolbarChildren.push(
|
|
7709
|
-
/* @__PURE__ */
|
|
7901
|
+
/* @__PURE__ */ jsx134(
|
|
7710
7902
|
ColorPicker,
|
|
7711
7903
|
{
|
|
7712
7904
|
...child.props,
|
|
@@ -7728,7 +7920,7 @@ var Toolbar = (props) => {
|
|
|
7728
7920
|
addUniqueToolClass(child, index);
|
|
7729
7921
|
});
|
|
7730
7922
|
}
|
|
7731
|
-
return /* @__PURE__ */
|
|
7923
|
+
return /* @__PURE__ */ jsx134(
|
|
7732
7924
|
"div",
|
|
7733
7925
|
{
|
|
7734
7926
|
...other,
|
|
@@ -7749,26 +7941,26 @@ var Toolbar = (props) => {
|
|
|
7749
7941
|
}
|
|
7750
7942
|
);
|
|
7751
7943
|
};
|
|
7752
|
-
Toolbar.states =
|
|
7753
|
-
Toolbar.options =
|
|
7944
|
+
Toolbar.states = states50;
|
|
7945
|
+
Toolbar.options = options48;
|
|
7754
7946
|
Toolbar.className = TOOLBAR_CLASSNAME;
|
|
7755
|
-
Toolbar.defaultProps =
|
|
7947
|
+
Toolbar.defaultProps = defaultProps47;
|
|
7756
7948
|
|
|
7757
7949
|
// src/toolbar/toolbar-angular.spec.tsx
|
|
7758
|
-
import { jsx as
|
|
7950
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
7759
7951
|
var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
|
|
7760
|
-
var
|
|
7952
|
+
var states51 = [
|
|
7761
7953
|
States.focus
|
|
7762
7954
|
];
|
|
7763
|
-
var
|
|
7955
|
+
var options49 = {
|
|
7764
7956
|
size: [Size.small, Size.medium, Size.large]
|
|
7765
7957
|
};
|
|
7766
|
-
var
|
|
7958
|
+
var defaultProps48 = {
|
|
7767
7959
|
size: Size.medium
|
|
7768
7960
|
};
|
|
7769
7961
|
var ToolbarAngular = (props) => {
|
|
7770
7962
|
const {
|
|
7771
|
-
size =
|
|
7963
|
+
size = defaultProps48.size,
|
|
7772
7964
|
focus,
|
|
7773
7965
|
resizable,
|
|
7774
7966
|
...other
|
|
@@ -7778,7 +7970,7 @@ var ToolbarAngular = (props) => {
|
|
|
7778
7970
|
const tempToolbarChildren = [];
|
|
7779
7971
|
if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
|
|
7780
7972
|
tempToolbarChildren.push(
|
|
7781
|
-
/* @__PURE__ */
|
|
7973
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7782
7974
|
Button,
|
|
7783
7975
|
{
|
|
7784
7976
|
...child.props,
|
|
@@ -7789,7 +7981,7 @@ var ToolbarAngular = (props) => {
|
|
|
7789
7981
|
);
|
|
7790
7982
|
} else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
|
|
7791
7983
|
tempToolbarChildren.push(
|
|
7792
|
-
/* @__PURE__ */
|
|
7984
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7793
7985
|
Button,
|
|
7794
7986
|
{
|
|
7795
7987
|
...child.props,
|
|
@@ -7800,7 +7992,7 @@ var ToolbarAngular = (props) => {
|
|
|
7800
7992
|
);
|
|
7801
7993
|
} else if (child.type === Button) {
|
|
7802
7994
|
tempToolbarChildren.push(
|
|
7803
|
-
/* @__PURE__ */
|
|
7995
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7804
7996
|
Button,
|
|
7805
7997
|
{
|
|
7806
7998
|
...child.props,
|
|
@@ -7811,7 +8003,7 @@ var ToolbarAngular = (props) => {
|
|
|
7811
8003
|
);
|
|
7812
8004
|
} else if (child.type === MenuButton) {
|
|
7813
8005
|
tempToolbarChildren.push(
|
|
7814
|
-
/* @__PURE__ */
|
|
8006
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7815
8007
|
MenuButton,
|
|
7816
8008
|
{
|
|
7817
8009
|
...child.props,
|
|
@@ -7822,7 +8014,7 @@ var ToolbarAngular = (props) => {
|
|
|
7822
8014
|
);
|
|
7823
8015
|
} else if (child.type === split_button_spec_default) {
|
|
7824
8016
|
tempToolbarChildren.push(
|
|
7825
|
-
/* @__PURE__ */
|
|
8017
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7826
8018
|
split_button_spec_default,
|
|
7827
8019
|
{
|
|
7828
8020
|
...child.props,
|
|
@@ -7836,7 +8028,7 @@ var ToolbarAngular = (props) => {
|
|
|
7836
8028
|
const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
|
|
7837
8029
|
childrenArray.forEach((button, bindex) => {
|
|
7838
8030
|
buttonGroupItems.push(
|
|
7839
|
-
/* @__PURE__ */
|
|
8031
|
+
/* @__PURE__ */ jsx135(
|
|
7840
8032
|
Button,
|
|
7841
8033
|
{
|
|
7842
8034
|
...button.props,
|
|
@@ -7847,7 +8039,7 @@ var ToolbarAngular = (props) => {
|
|
|
7847
8039
|
);
|
|
7848
8040
|
});
|
|
7849
8041
|
tempToolbarChildren.push(
|
|
7850
|
-
/* @__PURE__ */
|
|
8042
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7851
8043
|
ButtonGroup,
|
|
7852
8044
|
{
|
|
7853
8045
|
...child.props,
|
|
@@ -7859,7 +8051,7 @@ var ToolbarAngular = (props) => {
|
|
|
7859
8051
|
);
|
|
7860
8052
|
} else if (child.type === Combobox) {
|
|
7861
8053
|
tempToolbarChildren.push(
|
|
7862
|
-
/* @__PURE__ */
|
|
8054
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7863
8055
|
Combobox,
|
|
7864
8056
|
{
|
|
7865
8057
|
...child.props,
|
|
@@ -7870,7 +8062,7 @@ var ToolbarAngular = (props) => {
|
|
|
7870
8062
|
);
|
|
7871
8063
|
} else if (child.type === DropdownList) {
|
|
7872
8064
|
tempToolbarChildren.push(
|
|
7873
|
-
/* @__PURE__ */
|
|
8065
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7874
8066
|
DropdownList,
|
|
7875
8067
|
{
|
|
7876
8068
|
...child.props,
|
|
@@ -7881,7 +8073,7 @@ var ToolbarAngular = (props) => {
|
|
|
7881
8073
|
);
|
|
7882
8074
|
} else if (child.type === ColorPicker) {
|
|
7883
8075
|
tempToolbarChildren.push(
|
|
7884
|
-
/* @__PURE__ */
|
|
8076
|
+
/* @__PURE__ */ jsx135("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ jsx135(
|
|
7885
8077
|
ColorPicker,
|
|
7886
8078
|
{
|
|
7887
8079
|
...child.props,
|
|
@@ -7903,7 +8095,7 @@ var ToolbarAngular = (props) => {
|
|
|
7903
8095
|
addUniqueToolClass(child, index);
|
|
7904
8096
|
});
|
|
7905
8097
|
}
|
|
7906
|
-
return /* @__PURE__ */
|
|
8098
|
+
return /* @__PURE__ */ jsx135(
|
|
7907
8099
|
"div",
|
|
7908
8100
|
{
|
|
7909
8101
|
...other,
|
|
@@ -7924,28 +8116,28 @@ var ToolbarAngular = (props) => {
|
|
|
7924
8116
|
}
|
|
7925
8117
|
);
|
|
7926
8118
|
};
|
|
7927
|
-
ToolbarAngular.states =
|
|
7928
|
-
ToolbarAngular.options =
|
|
8119
|
+
ToolbarAngular.states = states51;
|
|
8120
|
+
ToolbarAngular.options = options49;
|
|
7929
8121
|
ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
|
|
7930
|
-
ToolbarAngular.defaultProps =
|
|
8122
|
+
ToolbarAngular.defaultProps = defaultProps48;
|
|
7931
8123
|
|
|
7932
8124
|
// src/toolbar/toolbar-separator.tsx
|
|
7933
|
-
import { jsx as
|
|
8125
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
7934
8126
|
|
|
7935
8127
|
// src/toolbar/toolbar-item.spec.tsx
|
|
7936
|
-
import { jsx as
|
|
8128
|
+
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
7937
8129
|
var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
|
|
7938
|
-
var
|
|
8130
|
+
var states52 = [
|
|
7939
8131
|
States.focus
|
|
7940
8132
|
];
|
|
7941
|
-
var
|
|
7942
|
-
var
|
|
8133
|
+
var options50 = {};
|
|
8134
|
+
var defaultProps49 = {};
|
|
7943
8135
|
var ToolbarItem = (props) => {
|
|
7944
8136
|
const {
|
|
7945
8137
|
focus,
|
|
7946
8138
|
...other
|
|
7947
8139
|
} = props;
|
|
7948
|
-
return /* @__PURE__ */
|
|
8140
|
+
return /* @__PURE__ */ jsx137(
|
|
7949
8141
|
"div",
|
|
7950
8142
|
{
|
|
7951
8143
|
...other,
|
|
@@ -7960,20 +8152,20 @@ var ToolbarItem = (props) => {
|
|
|
7960
8152
|
}
|
|
7961
8153
|
);
|
|
7962
8154
|
};
|
|
7963
|
-
ToolbarItem.states =
|
|
7964
|
-
ToolbarItem.options =
|
|
8155
|
+
ToolbarItem.states = states52;
|
|
8156
|
+
ToolbarItem.options = options50;
|
|
7965
8157
|
ToolbarItem.className = TOOLBARITEM_CLASSNAME;
|
|
7966
|
-
ToolbarItem.defaultProps =
|
|
8158
|
+
ToolbarItem.defaultProps = defaultProps49;
|
|
7967
8159
|
|
|
7968
8160
|
// src/toolbar/toolbar-popup.spec.tsx
|
|
7969
|
-
import { jsx as
|
|
8161
|
+
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
7970
8162
|
var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
|
|
7971
|
-
var
|
|
7972
|
-
var
|
|
7973
|
-
var
|
|
8163
|
+
var states53 = [];
|
|
8164
|
+
var options51 = {};
|
|
8165
|
+
var defaultProps50 = {};
|
|
7974
8166
|
var ToolbarPopup = (props) => {
|
|
7975
8167
|
const { ...other } = props;
|
|
7976
|
-
return /* @__PURE__ */
|
|
8168
|
+
return /* @__PURE__ */ jsx138(
|
|
7977
8169
|
Popup,
|
|
7978
8170
|
{
|
|
7979
8171
|
...other,
|
|
@@ -7985,385 +8177,448 @@ var ToolbarPopup = (props) => {
|
|
|
7985
8177
|
}
|
|
7986
8178
|
);
|
|
7987
8179
|
};
|
|
7988
|
-
ToolbarPopup.states =
|
|
7989
|
-
ToolbarPopup.options =
|
|
8180
|
+
ToolbarPopup.states = states53;
|
|
8181
|
+
ToolbarPopup.options = options51;
|
|
7990
8182
|
ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
|
|
7991
|
-
ToolbarPopup.defaultProps =
|
|
8183
|
+
ToolbarPopup.defaultProps = defaultProps50;
|
|
7992
8184
|
|
|
7993
8185
|
// src/split-button/templates/icon-split-button.tsx
|
|
7994
|
-
import { jsx as
|
|
8186
|
+
import { jsx as jsx139 } from "react/jsx-runtime";
|
|
7995
8187
|
|
|
7996
8188
|
// src/split-button/templates/icon-text-split-button.tsx
|
|
7997
|
-
import { jsx as
|
|
8189
|
+
import { jsx as jsx140 } from "react/jsx-runtime";
|
|
7998
8190
|
|
|
7999
8191
|
// src/split-button/templates/text-split-button.tsx
|
|
8000
|
-
import { jsx as
|
|
8192
|
+
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
8001
8193
|
|
|
8002
8194
|
// src/split-button/templates/split-button-popup.tsx
|
|
8003
|
-
import { jsx as
|
|
8195
|
+
import { jsx as jsx142, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
8004
8196
|
|
|
8005
8197
|
// src/toolbar/templates/toolbar-normal.tsx
|
|
8006
|
-
import { jsx as
|
|
8198
|
+
import { jsx as jsx143, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8007
8199
|
|
|
8008
8200
|
// src/toolbar/templates/toolbar-resizable.tsx
|
|
8009
|
-
import { jsx as
|
|
8201
|
+
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
8010
8202
|
|
|
8011
8203
|
// src/toolbar/templates/toolbar-angular-normal.tsx
|
|
8012
|
-
import { jsx as
|
|
8204
|
+
import { jsx as jsx145 } from "react/jsx-runtime";
|
|
8013
8205
|
|
|
8014
8206
|
// src/toolbar/templates/toolbar-angular-resizable.tsx
|
|
8015
|
-
import { jsx as
|
|
8207
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
8208
|
+
|
|
8209
|
+
// src/scheduler/scheduler-toolbar.spec.tsx
|
|
8210
|
+
import { Fragment as Fragment48, jsx as jsx147, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8211
|
+
var className19 = "k-scheduler-toolbar";
|
|
8212
|
+
var SchedulerToolbar = (props) => {
|
|
8213
|
+
const { footer, ...others } = props;
|
|
8214
|
+
return /* @__PURE__ */ jsx147(
|
|
8215
|
+
Toolbar,
|
|
8216
|
+
{
|
|
8217
|
+
...others,
|
|
8218
|
+
className: classNames(
|
|
8219
|
+
props.className,
|
|
8220
|
+
{
|
|
8221
|
+
[footer ? "k-scheduler-footer" : className19]: true
|
|
8222
|
+
}
|
|
8223
|
+
),
|
|
8224
|
+
children: props.children || /* @__PURE__ */ jsxs59(Fragment48, { children: [
|
|
8225
|
+
/* @__PURE__ */ jsxs59(ButtonGroup, { className: "k-scheduler-navigation", children: [
|
|
8226
|
+
/* @__PURE__ */ jsx147(Button, { className: "k-group-start", children: "Today" }),
|
|
8227
|
+
/* @__PURE__ */ jsx147(Button, { icon: "caret-alt-left" }),
|
|
8228
|
+
/* @__PURE__ */ jsx147(Button, { className: "k-group-end", icon: "caret-alt-right" })
|
|
8229
|
+
] }),
|
|
8230
|
+
/* @__PURE__ */ jsx147(Button, { icon: "calendar", className: "k-nav-current", fillMode: "flat", children: "Monday, June 13, 2022" }),
|
|
8231
|
+
/* @__PURE__ */ jsx147("span", { className: "k-spacer" }),
|
|
8232
|
+
/* @__PURE__ */ jsxs59(ButtonGroup, { className: "k-scheduler-views", children: [
|
|
8233
|
+
/* @__PURE__ */ jsx147(Button, { className: "k-group-start", selected: true, children: "Day" }),
|
|
8234
|
+
/* @__PURE__ */ jsx147(Button, { children: "Week" }),
|
|
8235
|
+
/* @__PURE__ */ jsx147(Button, { children: "Month" }),
|
|
8236
|
+
/* @__PURE__ */ jsx147(Button, { children: "Timeline" }),
|
|
8237
|
+
/* @__PURE__ */ jsx147(Button, { className: "k-group-end", children: "Agenda" })
|
|
8238
|
+
] })
|
|
8239
|
+
] })
|
|
8240
|
+
}
|
|
8241
|
+
);
|
|
8242
|
+
};
|
|
8016
8243
|
|
|
8017
|
-
// src/scheduler/
|
|
8018
|
-
import {
|
|
8019
|
-
var
|
|
8020
|
-
|
|
8021
|
-
|
|
8244
|
+
// src/scheduler/scheduler-body.spec.tsx
|
|
8245
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
8246
|
+
var className20 = "k-scheduler-body";
|
|
8247
|
+
var SchedulerBody = (props) => {
|
|
8248
|
+
const {
|
|
8249
|
+
as: Component = "div",
|
|
8250
|
+
...other
|
|
8251
|
+
} = props;
|
|
8252
|
+
return /* @__PURE__ */ jsx148(
|
|
8253
|
+
Component,
|
|
8254
|
+
{
|
|
8255
|
+
...other,
|
|
8256
|
+
className: classNames(
|
|
8257
|
+
className20,
|
|
8258
|
+
props.className
|
|
8259
|
+
),
|
|
8260
|
+
children: props.children
|
|
8022
8261
|
}
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8262
|
+
);
|
|
8263
|
+
};
|
|
8264
|
+
|
|
8265
|
+
// src/scheduler/scheduler-head.spec.tsx
|
|
8266
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
8267
|
+
var className21 = "k-scheduler-head";
|
|
8268
|
+
var SchedulerHead = (props) => {
|
|
8269
|
+
const {
|
|
8270
|
+
as: Component = "div",
|
|
8271
|
+
...other
|
|
8272
|
+
} = props;
|
|
8273
|
+
return /* @__PURE__ */ jsx149(
|
|
8274
|
+
Component,
|
|
8275
|
+
{
|
|
8276
|
+
...other,
|
|
8277
|
+
className: classNames(
|
|
8278
|
+
className21,
|
|
8279
|
+
props.className
|
|
8280
|
+
),
|
|
8281
|
+
children: props.children
|
|
8282
|
+
}
|
|
8283
|
+
);
|
|
8284
|
+
};
|
|
8285
|
+
|
|
8286
|
+
// src/scheduler/scheduler-group.spec.tsx
|
|
8287
|
+
import { jsx as jsx150 } from "react/jsx-runtime";
|
|
8288
|
+
var className22 = "k-scheduler-group";
|
|
8289
|
+
var states54 = [];
|
|
8290
|
+
var options52 = {};
|
|
8291
|
+
var defaultProps51 = {
|
|
8292
|
+
orientation: "horizontal"
|
|
8293
|
+
};
|
|
8294
|
+
var SchedulerGroup = (props) => {
|
|
8295
|
+
const {
|
|
8296
|
+
orientation = defaultProps51.orientation,
|
|
8297
|
+
...other
|
|
8298
|
+
} = props;
|
|
8299
|
+
return /* @__PURE__ */ jsx150(
|
|
8300
|
+
"div",
|
|
8301
|
+
{
|
|
8302
|
+
...other,
|
|
8303
|
+
className: classNames(
|
|
8304
|
+
className22,
|
|
8305
|
+
props.className,
|
|
8306
|
+
{
|
|
8307
|
+
"k-group-horizontal": orientation === "horizontal"
|
|
8308
|
+
}
|
|
8309
|
+
),
|
|
8310
|
+
children: props.children
|
|
8311
|
+
}
|
|
8312
|
+
);
|
|
8313
|
+
};
|
|
8314
|
+
SchedulerGroup.states = states54;
|
|
8315
|
+
SchedulerGroup.options = options52;
|
|
8316
|
+
SchedulerGroup.defaultProps = defaultProps51;
|
|
8317
|
+
SchedulerGroup.className = className22;
|
|
8318
|
+
|
|
8319
|
+
// src/scheduler/scheduler-event.spec.tsx
|
|
8320
|
+
import { Fragment as Fragment49, jsx as jsx151, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8321
|
+
var className23 = "k-event";
|
|
8322
|
+
var states55 = [
|
|
8323
|
+
States.hover,
|
|
8324
|
+
States.focus,
|
|
8325
|
+
States.selected
|
|
8326
|
+
];
|
|
8327
|
+
var options53 = {};
|
|
8328
|
+
var defaultProps52 = {
|
|
8329
|
+
resizable: "vertical",
|
|
8330
|
+
eventPrefix: /* @__PURE__ */ jsx151(Icon, { icon: "arrow-rotate-cw" }),
|
|
8331
|
+
eventSuffix: /* @__PURE__ */ jsx151(Fragment49, { children: /* @__PURE__ */ jsx151("a", { href: "#", className: "k-link k-event-delete", children: /* @__PURE__ */ jsx151(Icon, { icon: "x" }) }) })
|
|
8332
|
+
};
|
|
8333
|
+
var SchedulerEvent = (props) => {
|
|
8334
|
+
const {
|
|
8335
|
+
inverse,
|
|
8336
|
+
ongoing,
|
|
8337
|
+
multiDay,
|
|
8338
|
+
resizable = defaultProps52.resizable,
|
|
8339
|
+
hover,
|
|
8340
|
+
focus,
|
|
8341
|
+
selected,
|
|
8342
|
+
eventPrefix = defaultProps52.eventPrefix,
|
|
8343
|
+
eventSuffix = defaultProps52.eventSuffix,
|
|
8344
|
+
...others
|
|
8345
|
+
} = props;
|
|
8346
|
+
return /* @__PURE__ */ jsxs60(
|
|
8347
|
+
"div",
|
|
8348
|
+
{
|
|
8349
|
+
...others,
|
|
8350
|
+
className: classNames(
|
|
8351
|
+
className23,
|
|
8352
|
+
props.className,
|
|
8353
|
+
stateClassNames(className23, {
|
|
8354
|
+
hover,
|
|
8355
|
+
focus,
|
|
8356
|
+
selected
|
|
8357
|
+
}),
|
|
8358
|
+
{
|
|
8359
|
+
"k-event-inverse": inverse,
|
|
8360
|
+
"k-event-ongoing": ongoing
|
|
8361
|
+
}
|
|
8362
|
+
),
|
|
8363
|
+
children: [
|
|
8364
|
+
/* @__PURE__ */ jsx151("span", { className: "k-event-actions", children: eventPrefix }),
|
|
8365
|
+
/* @__PURE__ */ jsx151("div", { children: props.children }),
|
|
8366
|
+
/* @__PURE__ */ jsx151("span", { className: "k-event-actions", children: eventSuffix }),
|
|
8367
|
+
multiDay && /* @__PURE__ */ jsxs60(Fragment49, { children: [
|
|
8368
|
+
/* @__PURE__ */ jsx151("span", { className: "k-event-top-actions", children: /* @__PURE__ */ jsx151(Icon, { icon: "caret-alt-up" }) }),
|
|
8369
|
+
/* @__PURE__ */ jsx151("span", { className: "k-event-bottom-actions", children: /* @__PURE__ */ jsx151(Icon, { icon: "caret-alt-down" }) })
|
|
8033
8370
|
] }),
|
|
8034
|
-
/* @__PURE__ */
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8371
|
+
resizable === "vertical" ? /* @__PURE__ */ jsxs60(Fragment49, { children: [
|
|
8372
|
+
/* @__PURE__ */ jsx151("span", { className: "k-resize-handle k-resize-n" }),
|
|
8373
|
+
/* @__PURE__ */ jsx151("span", { className: "k-resize-handle k-resize-s" })
|
|
8374
|
+
] }) : resizable === "horizontal" && /* @__PURE__ */ jsxs60(Fragment49, { children: [
|
|
8375
|
+
/* @__PURE__ */ jsx151("span", { className: "k-resize-handle k-resize-w" }),
|
|
8376
|
+
/* @__PURE__ */ jsx151("span", { className: "k-resize-handle k-resize-e" })
|
|
8377
|
+
] })
|
|
8378
|
+
]
|
|
8379
|
+
}
|
|
8380
|
+
);
|
|
8381
|
+
};
|
|
8382
|
+
SchedulerEvent.states = states55;
|
|
8383
|
+
SchedulerEvent.options = options53;
|
|
8384
|
+
SchedulerEvent.defaultProps = defaultProps52;
|
|
8385
|
+
SchedulerEvent.className = className23;
|
|
8386
|
+
|
|
8387
|
+
// src/scheduler/scheduler-task.spec.tsx
|
|
8388
|
+
import { jsx as jsx152, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8389
|
+
var className24 = "k-task";
|
|
8390
|
+
var states56 = [];
|
|
8391
|
+
var options54 = {};
|
|
8392
|
+
var defaultProps53 = {
|
|
8393
|
+
markStyle: { backgroundColor: "gold" }
|
|
8394
|
+
};
|
|
8395
|
+
var SchedulerTask = (props) => {
|
|
8396
|
+
const {
|
|
8397
|
+
text,
|
|
8398
|
+
markStyle,
|
|
8399
|
+
recurring,
|
|
8400
|
+
closable,
|
|
8401
|
+
...other
|
|
8402
|
+
} = props;
|
|
8403
|
+
return /* @__PURE__ */ jsxs61(
|
|
8404
|
+
"div",
|
|
8405
|
+
{
|
|
8406
|
+
...other,
|
|
8407
|
+
className: classNames(
|
|
8408
|
+
className24,
|
|
8409
|
+
props.className
|
|
8410
|
+
),
|
|
8411
|
+
children: [
|
|
8412
|
+
/* @__PURE__ */ jsx152("span", { className: "k-scheduler-mark", style: markStyle }),
|
|
8413
|
+
recurring && /* @__PURE__ */ jsx152(icon_spec_default, { icon: "arrow-rotate-cw" }),
|
|
8414
|
+
/* @__PURE__ */ jsx152("span", { className: "k-scheduler-task text", children: text }),
|
|
8415
|
+
closable && /* @__PURE__ */ jsx152("a", { href: "#", className: "k-link k-event-delete", children: /* @__PURE__ */ jsx152(icon_spec_default, { icon: "x" }) })
|
|
8416
|
+
]
|
|
8417
|
+
}
|
|
8418
|
+
);
|
|
8419
|
+
};
|
|
8420
|
+
SchedulerTask.states = states56;
|
|
8421
|
+
SchedulerTask.options = options54;
|
|
8422
|
+
SchedulerTask.defaultProps = defaultProps53;
|
|
8423
|
+
SchedulerTask.className = className24;
|
|
8424
|
+
|
|
8425
|
+
// src/scheduler/templates/scheduler-week.tsx
|
|
8426
|
+
import { Fragment as Fragment50, jsx as jsx153, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8427
|
+
|
|
8428
|
+
// src/scheduler/templates/scheduler-month.tsx
|
|
8429
|
+
import { Fragment as Fragment51, jsx as jsx154, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8430
|
+
|
|
8431
|
+
// src/scheduler/templates/scheduler-timeline.tsx
|
|
8432
|
+
import { Fragment as Fragment52, jsx as jsx155, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8433
|
+
|
|
8434
|
+
// src/scheduler/templates/scheduler-agenda.tsx
|
|
8435
|
+
import { Fragment as Fragment53, jsx as jsx156, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8436
|
+
|
|
8437
|
+
// src/scheduler/templates/scheduler-flex-day.tsx
|
|
8438
|
+
import { Fragment as Fragment54, jsx as jsx157, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8439
|
+
|
|
8440
|
+
// src/scheduler/templates/scheduler-flex-week.tsx
|
|
8441
|
+
import { Fragment as Fragment55, jsx as jsx158, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8442
|
+
|
|
8443
|
+
// src/scheduler/templates/scheduler-flex-month.tsx
|
|
8444
|
+
import { Fragment as Fragment56, jsx as jsx159, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8445
|
+
|
|
8446
|
+
// src/scheduler/templates/scheduler-flex-timeline.tsx
|
|
8447
|
+
import { Fragment as Fragment57, jsx as jsx160, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
8448
|
+
|
|
8449
|
+
// src/scheduler/templates/scheduler-flex-agenda.tsx
|
|
8450
|
+
import { Fragment as Fragment58, jsx as jsx161, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
8451
|
+
|
|
8452
|
+
// src/scheduler/templates/scheduler-vertical-grouping.tsx
|
|
8453
|
+
import { Fragment as Fragment59, jsx as jsx162, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
8454
|
+
|
|
8455
|
+
// src/scheduler/templates/scheduler-flex-horizontal-grouping.tsx
|
|
8456
|
+
import { Fragment as Fragment60, jsx as jsx163, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8457
|
+
|
|
8458
|
+
// src/scheduler/templates/scheduler-flex-vertical-grouping.tsx
|
|
8459
|
+
import { Fragment as Fragment61, jsx as jsx164, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
8460
|
+
|
|
8461
|
+
// src/scheduler/templates/scheduler-horizontal-grouping.tsx
|
|
8462
|
+
import { Fragment as Fragment62, jsx as jsx165, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
8463
|
+
var SchedulerHorizontalGrouping = (...props) => /* @__PURE__ */ jsx165(
|
|
8464
|
+
Scheduler,
|
|
8465
|
+
{
|
|
8466
|
+
layout: "table",
|
|
8467
|
+
view: "day",
|
|
8468
|
+
toolbar: /* @__PURE__ */ jsx165(SchedulerToolbar, {}),
|
|
8469
|
+
footer: /* @__PURE__ */ jsx165(Fragment62, { children: /* @__PURE__ */ jsx165(SchedulerToolbar, { footer: true, children: /* @__PURE__ */ jsx165(Button, { icon: "clock", className: "k-scheduler-fullday", children: "Show business hours" }) }) }),
|
|
8470
|
+
children: /* @__PURE__ */ jsx165(Fragment62, { children: /* @__PURE__ */ jsxs74("tbody", { children: [
|
|
8471
|
+
/* @__PURE__ */ jsxs74(SchedulerHead, { as: "tr", children: [
|
|
8472
|
+
/* @__PURE__ */ jsx165("td", { children: /* @__PURE__ */ jsx165(SchedulerTimes, { children: /* @__PURE__ */ jsx165(SchedulerTable, { children: /* @__PURE__ */ jsxs74("tbody", { children: [
|
|
8473
|
+
/* @__PURE__ */ jsx165("tr", { style: { height: "37px" }, children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8474
|
+
/* @__PURE__ */ jsx165("tr", { style: { height: "37px" }, children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8475
|
+
/* @__PURE__ */ jsx165("tr", { style: { height: "36px" }, children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", allDay: true, children: "all day" }) })
|
|
8476
|
+
] }) }) }) }),
|
|
8477
|
+
/* @__PURE__ */ jsx165("td", { children: /* @__PURE__ */ jsxs74(SchedulerHeader, { children: [
|
|
8478
|
+
/* @__PURE__ */ jsx165(SchedulerTable, { children: /* @__PURE__ */ jsxs74("tbody", { children: [
|
|
8479
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8480
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "th", cellType: ["slot", "group"], children: "Meeting Room 101" }),
|
|
8481
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "th", cellType: ["slot", "group"], children: "Meeting Room 201" })
|
|
8482
|
+
] }),
|
|
8483
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-scheduler-date-group", children: [
|
|
8484
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "th", text: "Mon 6/13" }),
|
|
8485
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "th", text: "Mon 6/13" })
|
|
8075
8486
|
] })
|
|
8076
|
-
] })
|
|
8487
|
+
] }) }),
|
|
8488
|
+
/* @__PURE__ */ jsx165("div", { style: { position: "relative" }, children: /* @__PURE__ */ jsx165(SchedulerTable, { className: "k-scheduler-header-all-day", children: /* @__PURE__ */ jsx165("tbody", { children: /* @__PURE__ */ jsxs74("tr", { style: { height: "36px" }, children: [
|
|
8489
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td" }),
|
|
8490
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td" })
|
|
8491
|
+
] }) }) }) })
|
|
8077
8492
|
] }) })
|
|
8078
8493
|
] }),
|
|
8079
|
-
/* @__PURE__ */
|
|
8080
|
-
/* @__PURE__ */
|
|
8081
|
-
/* @__PURE__ */
|
|
8082
|
-
/* @__PURE__ */
|
|
8083
|
-
/* @__PURE__ */
|
|
8084
|
-
/* @__PURE__ */
|
|
8085
|
-
/* @__PURE__ */
|
|
8086
|
-
/* @__PURE__ */
|
|
8087
|
-
/* @__PURE__ */
|
|
8088
|
-
/* @__PURE__ */
|
|
8089
|
-
/* @__PURE__ */
|
|
8090
|
-
/* @__PURE__ */
|
|
8091
|
-
/* @__PURE__ */
|
|
8092
|
-
/* @__PURE__ */
|
|
8093
|
-
/* @__PURE__ */
|
|
8094
|
-
/* @__PURE__ */
|
|
8095
|
-
/* @__PURE__ */
|
|
8096
|
-
/* @__PURE__ */
|
|
8097
|
-
/* @__PURE__ */
|
|
8098
|
-
/* @__PURE__ */
|
|
8099
|
-
/* @__PURE__ */
|
|
8100
|
-
/* @__PURE__ */
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
/* @__PURE__ */
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
] }) }) }),
|
|
8108
|
-
/* @__PURE__ */ jsxs57("div", { className: "k-scheduler-content", style: { height: "405px" }, children: [
|
|
8109
|
-
/* @__PURE__ */ jsx137("table", { className: "k-scheduler-table", children: /* @__PURE__ */ jsxs57("tbody", { children: [
|
|
8110
|
-
/* @__PURE__ */ jsxs57("tr", { className: "k-middle-row", children: [
|
|
8111
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8112
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8113
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8114
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8115
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8116
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8117
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8118
|
-
] }),
|
|
8119
|
-
/* @__PURE__ */ jsxs57("tr", { children: [
|
|
8120
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8121
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8122
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8123
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8124
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8125
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8126
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8127
|
-
] }),
|
|
8128
|
-
/* @__PURE__ */ jsxs57("tr", { className: "k-middle-row", children: [
|
|
8129
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8130
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8131
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8132
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8133
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8134
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8135
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8136
|
-
] }),
|
|
8137
|
-
/* @__PURE__ */ jsxs57("tr", { children: [
|
|
8138
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8139
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8140
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8141
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8142
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8143
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8144
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8494
|
+
/* @__PURE__ */ jsxs74(SchedulerBody, { as: "tr", children: [
|
|
8495
|
+
/* @__PURE__ */ jsx165("td", { children: /* @__PURE__ */ jsx165(SchedulerTimes, { style: { height: "395px" }, children: /* @__PURE__ */ jsx165(SchedulerTable, { style: { height: "900px" }, children: /* @__PURE__ */ jsxs74("tbody", { children: [
|
|
8496
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "7:00 AM" }) }) }),
|
|
8497
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8498
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "8:00 AM" }) }) }),
|
|
8499
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8500
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "9:00 AM" }) }) }),
|
|
8501
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8502
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "10:00 AM" }) }) }),
|
|
8503
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8504
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "11:00 AM" }) }) }),
|
|
8505
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8506
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "12:00 PM" }) }) }),
|
|
8507
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8508
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "1:00 PM" }) }) }),
|
|
8509
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8510
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "2:00 PM" }) }) }),
|
|
8511
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8512
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "3:00 PM" }) }) }),
|
|
8513
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) }),
|
|
8514
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th", children: /* @__PURE__ */ jsx165("span", { children: "4:00 PM" }) }) }),
|
|
8515
|
+
/* @__PURE__ */ jsx165("tr", { children: /* @__PURE__ */ jsx165(SchedulerCell, { as: "th" }) })
|
|
8516
|
+
] }) }) }) }),
|
|
8517
|
+
/* @__PURE__ */ jsx165("td", { children: /* @__PURE__ */ jsxs74(SchedulerContent, { style: { height: "395px" }, children: [
|
|
8518
|
+
/* @__PURE__ */ jsx165(SchedulerTable, { children: /* @__PURE__ */ jsxs74("tbody", { children: [
|
|
8519
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8520
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", className: "k-nonwork-hour", children: "\xA0" }),
|
|
8521
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", className: "k-nonwork-hour", children: "\xA0" })
|
|
8145
8522
|
] }),
|
|
8146
|
-
/* @__PURE__ */
|
|
8147
|
-
/* @__PURE__ */
|
|
8148
|
-
/* @__PURE__ */
|
|
8149
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8150
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8151
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8152
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8153
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8523
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8524
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", className: "k-nonwork-hour", children: "\xA0" }),
|
|
8525
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", className: "k-nonwork-hour", children: "\xA0" })
|
|
8154
8526
|
] }),
|
|
8155
|
-
/* @__PURE__ */
|
|
8156
|
-
/* @__PURE__ */
|
|
8157
|
-
/* @__PURE__ */
|
|
8158
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8159
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8160
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8161
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8162
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8527
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8528
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8529
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8163
8530
|
] }),
|
|
8164
|
-
/* @__PURE__ */
|
|
8165
|
-
/* @__PURE__ */
|
|
8166
|
-
/* @__PURE__ */
|
|
8167
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8168
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8169
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8170
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8171
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8531
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8532
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8533
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8172
8534
|
] }),
|
|
8173
|
-
/* @__PURE__ */
|
|
8174
|
-
/* @__PURE__ */
|
|
8175
|
-
/* @__PURE__ */
|
|
8176
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8177
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8178
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8179
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8180
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8535
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8536
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8537
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8181
8538
|
] }),
|
|
8182
|
-
/* @__PURE__ */
|
|
8183
|
-
/* @__PURE__ */
|
|
8184
|
-
/* @__PURE__ */
|
|
8185
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8186
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8187
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8188
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8189
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8539
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8540
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8541
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8190
8542
|
] }),
|
|
8191
|
-
/* @__PURE__ */
|
|
8192
|
-
/* @__PURE__ */
|
|
8193
|
-
/* @__PURE__ */
|
|
8194
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8195
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8196
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8197
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8198
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8543
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8544
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8545
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8199
8546
|
] }),
|
|
8200
|
-
/* @__PURE__ */
|
|
8201
|
-
/* @__PURE__ */
|
|
8202
|
-
/* @__PURE__ */
|
|
8203
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8204
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8205
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8206
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8207
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8547
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8548
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8549
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8208
8550
|
] }),
|
|
8209
|
-
/* @__PURE__ */
|
|
8210
|
-
/* @__PURE__ */
|
|
8211
|
-
/* @__PURE__ */
|
|
8212
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8213
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8214
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8215
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8216
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8551
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8552
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8553
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8217
8554
|
] }),
|
|
8218
|
-
/* @__PURE__ */
|
|
8219
|
-
/* @__PURE__ */
|
|
8220
|
-
/* @__PURE__ */
|
|
8221
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8222
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8223
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8224
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8225
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8555
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8556
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8557
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8226
8558
|
] }),
|
|
8227
|
-
/* @__PURE__ */
|
|
8228
|
-
/* @__PURE__ */
|
|
8229
|
-
/* @__PURE__ */
|
|
8230
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8231
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8232
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8233
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8234
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8559
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8560
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8561
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8235
8562
|
] }),
|
|
8236
|
-
/* @__PURE__ */
|
|
8237
|
-
/* @__PURE__ */
|
|
8238
|
-
/* @__PURE__ */
|
|
8239
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8240
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8241
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8242
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8243
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8563
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8564
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8565
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8244
8566
|
] }),
|
|
8245
|
-
/* @__PURE__ */
|
|
8246
|
-
/* @__PURE__ */
|
|
8247
|
-
/* @__PURE__ */
|
|
8248
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8249
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8250
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8251
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8252
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8567
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8568
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8569
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8253
8570
|
] }),
|
|
8254
|
-
/* @__PURE__ */
|
|
8255
|
-
/* @__PURE__ */
|
|
8256
|
-
/* @__PURE__ */
|
|
8257
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8258
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8259
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8260
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8261
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8571
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8572
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8573
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8262
8574
|
] }),
|
|
8263
|
-
/* @__PURE__ */
|
|
8264
|
-
/* @__PURE__ */
|
|
8265
|
-
/* @__PURE__ */
|
|
8266
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8267
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8268
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8269
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8270
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8575
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8576
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8577
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8271
8578
|
] }),
|
|
8272
|
-
/* @__PURE__ */
|
|
8273
|
-
/* @__PURE__ */
|
|
8274
|
-
/* @__PURE__ */
|
|
8275
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8276
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8277
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8278
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8279
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8579
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8580
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8581
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8280
8582
|
] }),
|
|
8281
|
-
/* @__PURE__ */
|
|
8282
|
-
/* @__PURE__ */
|
|
8283
|
-
/* @__PURE__ */
|
|
8284
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8285
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8286
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8287
|
-
/* @__PURE__ */ jsx137("td", {}),
|
|
8288
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8583
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8584
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8585
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8289
8586
|
] }),
|
|
8290
|
-
/* @__PURE__ */
|
|
8291
|
-
/* @__PURE__ */
|
|
8292
|
-
/* @__PURE__ */
|
|
8293
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8294
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8295
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8296
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8297
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8587
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8588
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8589
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8298
8590
|
] }),
|
|
8299
|
-
/* @__PURE__ */
|
|
8300
|
-
/* @__PURE__ */
|
|
8301
|
-
/* @__PURE__ */
|
|
8302
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8303
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8304
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8305
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8306
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8591
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8592
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8593
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8307
8594
|
] }),
|
|
8308
|
-
/* @__PURE__ */
|
|
8309
|
-
/* @__PURE__ */
|
|
8310
|
-
/* @__PURE__ */
|
|
8311
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8312
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8313
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8314
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8315
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8595
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8596
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8597
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8316
8598
|
] }),
|
|
8317
|
-
/* @__PURE__ */
|
|
8318
|
-
/* @__PURE__ */
|
|
8319
|
-
/* @__PURE__ */
|
|
8320
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8321
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8322
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8323
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8324
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8599
|
+
/* @__PURE__ */ jsxs74("tr", { className: "k-middle-row", children: [
|
|
8600
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8601
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8325
8602
|
] }),
|
|
8326
|
-
/* @__PURE__ */
|
|
8327
|
-
/* @__PURE__ */
|
|
8328
|
-
/* @__PURE__ */
|
|
8329
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8330
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8331
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8332
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8333
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8334
|
-
] }),
|
|
8335
|
-
/* @__PURE__ */ jsxs57("tr", { children: [
|
|
8336
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8337
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8338
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8339
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8340
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8341
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" }),
|
|
8342
|
-
/* @__PURE__ */ jsx137("td", { className: "k-nonwork-hour" })
|
|
8603
|
+
/* @__PURE__ */ jsxs74("tr", { children: [
|
|
8604
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" }),
|
|
8605
|
+
/* @__PURE__ */ jsx165(SchedulerCell, { as: "td", children: "\xA0" })
|
|
8343
8606
|
] })
|
|
8344
8607
|
] }) }),
|
|
8345
|
-
/* @__PURE__ */
|
|
8346
|
-
/* @__PURE__ */
|
|
8347
|
-
/* @__PURE__ */
|
|
8348
|
-
/* @__PURE__ */ jsx137("div", { className: "k-event-template k-event-time", children: "7:00 AM - 8:00 AM" }),
|
|
8349
|
-
/* @__PURE__ */ jsx137("div", { className: "k-event-template", children: "HR Lecture" })
|
|
8350
|
-
] }),
|
|
8351
|
-
/* @__PURE__ */ jsx137("span", { className: "k-event-actions", children: /* @__PURE__ */ jsx137("a", { className: "k-link k-event-delete", children: /* @__PURE__ */ jsx137(Icon, { icon: "x" }) }) })
|
|
8608
|
+
/* @__PURE__ */ jsxs74(SchedulerEvent, { eventPrefix: null, style: { top: "148px", left: "445px", height: "590px", width: "120px" }, children: [
|
|
8609
|
+
/* @__PURE__ */ jsx165("div", { className: "k-event-template k-event-time", children: "9:00 AM - 4:00 PM" }),
|
|
8610
|
+
/* @__PURE__ */ jsx165("div", { className: "k-event-template", children: "Event 1 Title" })
|
|
8352
8611
|
] }),
|
|
8353
|
-
/* @__PURE__ */
|
|
8354
|
-
/* @__PURE__ */
|
|
8355
|
-
/* @__PURE__ */
|
|
8356
|
-
/* @__PURE__ */ jsx137("div", { className: "k-event-template k-event-time", children: "7:00 AM - 8:00 AM" }),
|
|
8357
|
-
/* @__PURE__ */ jsx137("div", { className: "k-event-template", children: "HR Lecture" })
|
|
8358
|
-
] }),
|
|
8359
|
-
/* @__PURE__ */ jsx137("span", { className: "k-event-actions", children: /* @__PURE__ */ jsx137("a", { className: "k-link k-event-delete", children: /* @__PURE__ */ jsx137(Icon, { icon: "x" }) }) })
|
|
8612
|
+
/* @__PURE__ */ jsxs74(SchedulerEvent, { style: { top: "298px", left: "567px", height: "72px", width: "120px" }, children: [
|
|
8613
|
+
/* @__PURE__ */ jsx165("div", { className: "k-event-template k-event-time", children: "10:00 AM - 11:00 AM" }),
|
|
8614
|
+
/* @__PURE__ */ jsx165("div", { className: "k-event-template", children: "Event 2 Title" })
|
|
8360
8615
|
] })
|
|
8361
|
-
] })
|
|
8616
|
+
] }) })
|
|
8362
8617
|
] })
|
|
8363
8618
|
] }) }),
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8619
|
+
...props
|
|
8620
|
+
}
|
|
8621
|
+
);
|
|
8367
8622
|
export {
|
|
8368
|
-
|
|
8623
|
+
SchedulerHorizontalGrouping
|
|
8369
8624
|
};
|