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