@progress/kendo-themes-html 7.1.0-dev.0 → 7.1.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1930 -1409
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-size-rounded.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +4 -2
- package/dist/cjs/notification/tests/{notification-jquery-colors.js → notification-colors.js} +7 -7
- package/dist/cjs/notification/tests/{notification-angular.js → notification-group.js} +60 -24
- package/dist/cjs/notification/tests/{notification-jquery.js → notification.js} +7 -7
- package/dist/cjs/timeline/horizontal-timeline-event.spec.js +5044 -0
- package/dist/cjs/timeline/templates/timeline-horizontal.js +5163 -0
- package/dist/cjs/timeline/templates/timeline-normal-alternating.js +5056 -0
- package/dist/cjs/timeline/templates/timeline-normal-collapsible.js +5054 -0
- package/dist/cjs/timeline/templates/timeline-normal.js +5053 -0
- package/dist/cjs/timeline/tests/timeline-horizontal.js +653 -264
- package/dist/cjs/timeline/tests/timeline-vertical-alternating.js +550 -290
- package/dist/cjs/timeline/tests/timeline-vertical.js +563 -287
- package/dist/cjs/{notification/tests/notification-custom-angular.js → timeline/timeline-card-callout.js} +341 -152
- package/dist/cjs/{notification/tests/notification-angular-colors.js → timeline/timeline-card-title.js} +145 -76
- package/dist/cjs/timeline/timeline-card.spec.js +5043 -0
- package/dist/cjs/timeline/timeline-circle.spec.js +53 -0
- package/dist/cjs/timeline/timeline-date-wrap.spec.js +64 -0
- package/dist/cjs/timeline/timeline-event-list.spec.js +54 -0
- package/dist/cjs/timeline/timeline-flag-wrap.spec.js +88 -0
- package/dist/cjs/timeline/timeline-flag.spec.js +55 -0
- package/dist/cjs/timeline/timeline-track-item.spec.js +58 -0
- package/dist/cjs/timeline/timeline-track-wrap.spec.js +5082 -0
- package/dist/cjs/timeline/timeline-track.spec.js +54 -0
- package/dist/cjs/timeline/timeline.spec.js +71 -0
- package/dist/cjs/timeline/vertical-timeline-event.spec.js +5044 -0
- package/dist/esm/index.js +1832 -1311
- package/dist/esm/multiselecttree/multiselecttree.spec.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-size-rounded.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +4 -2
- package/dist/esm/notification/tests/{notification-jquery-colors.js → notification-colors.js} +3 -3
- package/dist/esm/notification/tests/{notification-angular.js → notification-group.js} +57 -21
- package/dist/esm/notification/tests/{notification-jquery.js → notification.js} +3 -3
- package/dist/esm/timeline/horizontal-timeline-event.spec.js +5028 -0
- package/dist/esm/timeline/templates/timeline-horizontal.js +5147 -0
- package/dist/esm/timeline/templates/timeline-normal-alternating.js +5040 -0
- package/dist/esm/timeline/templates/timeline-normal-collapsible.js +5038 -0
- package/dist/esm/timeline/templates/timeline-normal.js +5037 -0
- package/dist/esm/timeline/tests/timeline-horizontal.js +654 -265
- package/dist/esm/timeline/tests/timeline-vertical-alternating.js +551 -291
- package/dist/esm/timeline/tests/timeline-vertical.js +564 -288
- package/dist/esm/{notification/tests/notification-custom-angular.js → timeline/timeline-card-callout.js} +337 -148
- package/dist/esm/{notification/tests/notification-angular-colors.js → timeline/timeline-card-title.js} +142 -73
- package/dist/esm/timeline/timeline-card.spec.js +5027 -0
- package/dist/esm/timeline/timeline-circle.spec.js +31 -0
- package/dist/esm/timeline/timeline-date-wrap.spec.js +42 -0
- package/dist/esm/timeline/timeline-event-list.spec.js +32 -0
- package/dist/esm/timeline/timeline-flag-wrap.spec.js +66 -0
- package/dist/esm/timeline/timeline-flag.spec.js +33 -0
- package/dist/esm/timeline/timeline-track-item.spec.js +36 -0
- package/dist/esm/timeline/timeline-track-wrap.spec.js +5066 -0
- package/dist/esm/timeline/timeline-track.spec.js +32 -0
- package/dist/esm/timeline/timeline.spec.js +49 -0
- package/dist/esm/timeline/vertical-timeline-event.spec.js +5028 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/timeline/horizontal-timeline-event.spec.d.ts +19 -0
- package/dist/types/timeline/index.d.ts +18 -0
- package/dist/types/timeline/templates/timeline-horizontal.d.ts +1 -0
- package/dist/types/timeline/templates/timeline-normal-alternating.d.ts +1 -0
- package/dist/types/timeline/templates/timeline-normal-collapsible.d.ts +1 -0
- package/dist/types/timeline/templates/timeline-normal.d.ts +1 -0
- package/dist/types/timeline/timeline-card-callout.d.ts +9 -0
- package/dist/types/timeline/timeline-card-title.d.ts +11 -0
- package/dist/types/timeline/timeline-card.spec.d.ts +7 -0
- package/dist/types/timeline/timeline-circle.spec.d.ts +3 -0
- package/dist/types/timeline/timeline-date-wrap.spec.d.ts +14 -0
- package/dist/types/timeline/timeline-event-list.spec.d.ts +3 -0
- package/dist/types/timeline/timeline-flag-wrap.spec.d.ts +14 -0
- package/dist/types/timeline/timeline-flag.spec.d.ts +6 -0
- package/dist/types/timeline/timeline-track-item.spec.d.ts +8 -0
- package/dist/types/timeline/timeline-track-wrap.spec.d.ts +3 -0
- package/dist/types/timeline/timeline-track.spec.d.ts +3 -0
- package/dist/types/timeline/timeline.spec.d.ts +18 -0
- package/dist/types/timeline/vertical-timeline-event.spec.d.ts +25 -0
- package/package.json +2 -2
- package/src/card/card-title.tsx +1 -1
- package/src/index.ts +1 -1
- package/src/multiselecttree/multiselecttree.spec.tsx +9 -8
- package/src/notification/tests/{notification-jquery-colors.tsx → notification-colors.tsx} +1 -1
- package/src/notification/tests/notification-group.tsx +49 -0
- package/src/notification/tests/{notification-jquery.tsx → notification.tsx} +1 -1
- package/src/timeline/horizontal-timeline-event.spec.tsx +66 -0
- package/src/timeline/index.ts +18 -0
- package/src/timeline/templates/timeline-horizontal.tsx +35 -0
- package/src/timeline/templates/timeline-normal-alternating.tsx +18 -0
- package/src/timeline/templates/timeline-normal-collapsible.tsx +16 -0
- package/src/timeline/templates/timeline-normal.tsx +15 -0
- package/src/timeline/tests/timeline-horizontal.tsx +3 -62
- package/src/timeline/tests/timeline-vertical-alternating.tsx +4 -82
- package/src/timeline/tests/timeline-vertical.tsx +9 -80
- package/src/timeline/timeline-card-callout.tsx +35 -0
- package/src/timeline/timeline-card-title.tsx +42 -0
- package/src/timeline/timeline-card.spec.tsx +37 -0
- package/src/timeline/timeline-circle.spec.tsx +24 -0
- package/src/timeline/timeline-date-wrap.spec.tsx +44 -0
- package/src/timeline/timeline-event-list.spec.tsx +27 -0
- package/src/timeline/timeline-flag-wrap.spec.tsx +47 -0
- package/src/timeline/timeline-flag.spec.tsx +31 -0
- package/src/timeline/timeline-track-item.spec.tsx +33 -0
- package/src/timeline/timeline-track-wrap.spec.tsx +31 -0
- package/src/timeline/timeline-track.spec.tsx +27 -0
- package/src/timeline/timeline.spec.tsx +53 -0
- package/src/timeline/vertical-timeline-event.spec.tsx +79 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +0 -2
- package/dist/types/notification/tests/notification-jquery.d.ts +0 -2
- package/src/notification/tests/notification-angular-colors.tsx +0 -28
- package/src/notification/tests/notification-angular.tsx +0 -65
- package/src/notification/tests/notification-custom-angular.tsx +0 -77
- /package/dist/types/notification/tests/{notification-angular-colors.d.ts → notification-colors.d.ts} +0 -0
- /package/dist/types/notification/tests/{notification-angular.d.ts → notification-group.d.ts} +0 -0
- /package/dist/types/notification/tests/{notification-custom-angular.d.ts → notification.d.ts} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/timeline/timeline-circle.spec.tsx
|
|
20
|
+
var timeline_circle_spec_exports = {};
|
|
21
|
+
__export(timeline_circle_spec_exports, {
|
|
22
|
+
TIMELINECIRCLE_CLASSNAME: () => TIMELINECIRCLE_CLASSNAME,
|
|
23
|
+
TimelineCircle: () => TimelineCircle,
|
|
24
|
+
default: () => timeline_circle_spec_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(timeline_circle_spec_exports);
|
|
27
|
+
|
|
28
|
+
// src/misc/class-names.ts
|
|
29
|
+
var classNames = (...args) => {
|
|
30
|
+
return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
|
|
31
|
+
return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
|
|
32
|
+
}).filter((arg) => Boolean(arg)).join(" ");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/timeline/timeline-circle.spec.tsx
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var TIMELINECIRCLE_CLASSNAME = `k-timeline-circle`;
|
|
38
|
+
var TimelineCircle = (props) => {
|
|
39
|
+
const {
|
|
40
|
+
...other
|
|
41
|
+
} = props;
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
"span",
|
|
44
|
+
{
|
|
45
|
+
...other,
|
|
46
|
+
className: classNames(
|
|
47
|
+
props.className,
|
|
48
|
+
TIMELINECIRCLE_CLASSNAME
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
var timeline_circle_spec_default = TimelineCircle;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/timeline/timeline-date-wrap.spec.tsx
|
|
20
|
+
var timeline_date_wrap_spec_exports = {};
|
|
21
|
+
__export(timeline_date_wrap_spec_exports, {
|
|
22
|
+
TIMELINEDATEWRAP_CLASSNAME: () => TIMELINEDATEWRAP_CLASSNAME,
|
|
23
|
+
TimelineDateWrap: () => TimelineDateWrap,
|
|
24
|
+
default: () => timeline_date_wrap_spec_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(timeline_date_wrap_spec_exports);
|
|
27
|
+
|
|
28
|
+
// src/misc/class-names.ts
|
|
29
|
+
var classNames = (...args) => {
|
|
30
|
+
return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
|
|
31
|
+
return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
|
|
32
|
+
}).filter((arg) => Boolean(arg)).join(" ");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/timeline/timeline-date-wrap.spec.tsx
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var TIMELINEDATEWRAP_CLASSNAME = `k-timeline-date-wrap`;
|
|
38
|
+
var states = [];
|
|
39
|
+
var options = {};
|
|
40
|
+
var defaultProps = {
|
|
41
|
+
date: "May 25, 2008"
|
|
42
|
+
};
|
|
43
|
+
var TimelineDateWrap = (props) => {
|
|
44
|
+
const {
|
|
45
|
+
date = defaultProps.date,
|
|
46
|
+
...other
|
|
47
|
+
} = props;
|
|
48
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
...other,
|
|
52
|
+
className: classNames(
|
|
53
|
+
props.className,
|
|
54
|
+
TIMELINEDATEWRAP_CLASSNAME
|
|
55
|
+
),
|
|
56
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "k-timeline-date", children: date })
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
};
|
|
60
|
+
TimelineDateWrap.states = states;
|
|
61
|
+
TimelineDateWrap.options = options;
|
|
62
|
+
TimelineDateWrap.className = TIMELINEDATEWRAP_CLASSNAME;
|
|
63
|
+
TimelineDateWrap.defaultProps = defaultProps;
|
|
64
|
+
var timeline_date_wrap_spec_default = TimelineDateWrap;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/timeline/timeline-event-list.spec.tsx
|
|
20
|
+
var timeline_event_list_spec_exports = {};
|
|
21
|
+
__export(timeline_event_list_spec_exports, {
|
|
22
|
+
TIMELINEEVENTLIST_CLASSNAME: () => TIMELINEEVENTLIST_CLASSNAME,
|
|
23
|
+
TimelineEventList: () => TimelineEventList,
|
|
24
|
+
default: () => timeline_event_list_spec_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(timeline_event_list_spec_exports);
|
|
27
|
+
|
|
28
|
+
// src/misc/class-names.ts
|
|
29
|
+
var classNames = (...args) => {
|
|
30
|
+
return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
|
|
31
|
+
return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
|
|
32
|
+
}).filter((arg) => Boolean(arg)).join(" ");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/timeline/timeline-event-list.spec.tsx
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var TIMELINEEVENTLIST_CLASSNAME = `k-timeline-events-list`;
|
|
38
|
+
var TimelineEventList = (props) => {
|
|
39
|
+
const {
|
|
40
|
+
...other
|
|
41
|
+
} = props;
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
"div",
|
|
44
|
+
{
|
|
45
|
+
...other,
|
|
46
|
+
className: classNames(
|
|
47
|
+
props.className,
|
|
48
|
+
TIMELINEEVENTLIST_CLASSNAME
|
|
49
|
+
),
|
|
50
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { className: "k-timeline-scrollable-wrap", children: props.children })
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
var timeline_event_list_spec_default = TimelineEventList;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/timeline/timeline-flag-wrap.spec.tsx
|
|
20
|
+
var timeline_flag_wrap_spec_exports = {};
|
|
21
|
+
__export(timeline_flag_wrap_spec_exports, {
|
|
22
|
+
TIMELINEFLAGWRAP_CLASSNAME: () => TIMELINEFLAGWRAP_CLASSNAME,
|
|
23
|
+
TimelineFlagWrap: () => TimelineFlagWrap,
|
|
24
|
+
default: () => timeline_flag_wrap_spec_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(timeline_flag_wrap_spec_exports);
|
|
27
|
+
|
|
28
|
+
// src/misc/class-names.ts
|
|
29
|
+
var classNames = (...args) => {
|
|
30
|
+
return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
|
|
31
|
+
return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
|
|
32
|
+
}).filter((arg) => Boolean(arg)).join(" ");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/misc/theme.ts
|
|
36
|
+
var States = {
|
|
37
|
+
"open": "open",
|
|
38
|
+
"hover": "hover",
|
|
39
|
+
"focus": "focus",
|
|
40
|
+
"active": "active",
|
|
41
|
+
"selected": "selected",
|
|
42
|
+
"disabled": "disabled",
|
|
43
|
+
"valid": "valid",
|
|
44
|
+
"invalid": "invalid",
|
|
45
|
+
"loading": "loading",
|
|
46
|
+
"required": "required",
|
|
47
|
+
"empty": "empty",
|
|
48
|
+
"indeterminate": "indeterminate",
|
|
49
|
+
"checked": "checked",
|
|
50
|
+
"readonly": "readonly"
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
// src/timeline/timeline-flag-wrap.spec.tsx
|
|
54
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
55
|
+
var TIMELINEFLAGWRAP_CLASSNAME = `k-timeline-flag-wrap`;
|
|
56
|
+
var states = [
|
|
57
|
+
States.focus,
|
|
58
|
+
States.selected
|
|
59
|
+
];
|
|
60
|
+
var options = {};
|
|
61
|
+
var defaultProps = {
|
|
62
|
+
year: "2020"
|
|
63
|
+
};
|
|
64
|
+
var TimelineFlagWrap = (props) => {
|
|
65
|
+
const {
|
|
66
|
+
year,
|
|
67
|
+
...other
|
|
68
|
+
} = props;
|
|
69
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
70
|
+
"li",
|
|
71
|
+
{
|
|
72
|
+
...other,
|
|
73
|
+
className: classNames(
|
|
74
|
+
props.className,
|
|
75
|
+
TIMELINEFLAGWRAP_CLASSNAME
|
|
76
|
+
),
|
|
77
|
+
children: [
|
|
78
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "k-timeline-flag", children: year }),
|
|
79
|
+
props.children
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
};
|
|
84
|
+
TimelineFlagWrap.states = states;
|
|
85
|
+
TimelineFlagWrap.options = options;
|
|
86
|
+
TimelineFlagWrap.className = TIMELINEFLAGWRAP_CLASSNAME;
|
|
87
|
+
TimelineFlagWrap.defaultProps = defaultProps;
|
|
88
|
+
var timeline_flag_wrap_spec_default = TimelineFlagWrap;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/timeline/timeline-flag.spec.tsx
|
|
20
|
+
var timeline_flag_spec_exports = {};
|
|
21
|
+
__export(timeline_flag_spec_exports, {
|
|
22
|
+
TIMELINEFLAG_CLASSNAME: () => TIMELINEFLAG_CLASSNAME,
|
|
23
|
+
TimelineFlag: () => TimelineFlag,
|
|
24
|
+
default: () => timeline_flag_spec_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(timeline_flag_spec_exports);
|
|
27
|
+
|
|
28
|
+
// src/misc/class-names.ts
|
|
29
|
+
var classNames = (...args) => {
|
|
30
|
+
return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
|
|
31
|
+
return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
|
|
32
|
+
}).filter((arg) => Boolean(arg)).join(" ");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/timeline/timeline-flag.spec.tsx
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var TIMELINEFLAG_CLASSNAME = `k-timeline-flag`;
|
|
38
|
+
var TimelineFlag = (props) => {
|
|
39
|
+
const {
|
|
40
|
+
content,
|
|
41
|
+
...other
|
|
42
|
+
} = props;
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
44
|
+
"span",
|
|
45
|
+
{
|
|
46
|
+
...other,
|
|
47
|
+
className: classNames(
|
|
48
|
+
props.className,
|
|
49
|
+
TIMELINEFLAG_CLASSNAME
|
|
50
|
+
),
|
|
51
|
+
children: content
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
var timeline_flag_spec_default = TimelineFlag;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/timeline/timeline-track-item.spec.tsx
|
|
20
|
+
var timeline_track_item_spec_exports = {};
|
|
21
|
+
__export(timeline_track_item_spec_exports, {
|
|
22
|
+
TIMELINETRACKITEM_CLASSNAME: () => TIMELINETRACKITEM_CLASSNAME,
|
|
23
|
+
TimelineTrackItem: () => TimelineTrackItem,
|
|
24
|
+
default: () => timeline_track_item_spec_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(timeline_track_item_spec_exports);
|
|
27
|
+
|
|
28
|
+
// src/misc/class-names.ts
|
|
29
|
+
var classNames = (...args) => {
|
|
30
|
+
return args.filter((arg) => arg !== true && Boolean(arg)).map((arg) => {
|
|
31
|
+
return Array.isArray(arg) ? classNames(...arg) : typeof arg === "object" ? Object.keys(arg).map((key, idx) => arg[idx] || arg[key] && key || null).filter((el) => el !== null).join(" ") : arg;
|
|
32
|
+
}).filter((arg) => Boolean(arg)).join(" ");
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/timeline/timeline-track-item.spec.tsx
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var TIMELINETRACKITEM_CLASSNAME = `k-timeline-track-item`;
|
|
38
|
+
var TimelineTrackItem = (props) => {
|
|
39
|
+
const {
|
|
40
|
+
content,
|
|
41
|
+
...other
|
|
42
|
+
} = props;
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
44
|
+
"li",
|
|
45
|
+
{
|
|
46
|
+
...other,
|
|
47
|
+
className: classNames(
|
|
48
|
+
props.className,
|
|
49
|
+
TIMELINETRACKITEM_CLASSNAME
|
|
50
|
+
),
|
|
51
|
+
children: [
|
|
52
|
+
content,
|
|
53
|
+
props.children
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
var timeline_track_item_spec_default = TimelineTrackItem;
|