@progress/kendo-themes-html 7.1.0-dev.0 → 7.1.0-dev.2
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/gantt/tests/gantt.js +1 -1
- 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/gantt/tests/gantt.js +1 -1
- 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/gantt/tests/gantt.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
|
@@ -142,19 +142,19 @@ var kendoThemeMaps = {
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
// src/
|
|
145
|
+
// src/timeline/timeline.spec.tsx
|
|
146
146
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
147
|
-
var
|
|
147
|
+
var TIMELINE_CLASSNAME = `k-timeline`;
|
|
148
148
|
var states = [];
|
|
149
149
|
var options = {};
|
|
150
150
|
var defaultProps = {
|
|
151
|
-
|
|
152
|
-
orientation: "horizontal"
|
|
151
|
+
orientation: "vertical"
|
|
153
152
|
};
|
|
154
|
-
var
|
|
153
|
+
var Timeline = (props) => {
|
|
155
154
|
const {
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
orientation,
|
|
156
|
+
collapsibleEvents,
|
|
157
|
+
alternatingMode,
|
|
158
158
|
...other
|
|
159
159
|
} = props;
|
|
160
160
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -162,27 +162,167 @@ var ActionButtons = (props) => {
|
|
|
162
162
|
{
|
|
163
163
|
...other,
|
|
164
164
|
className: classNames(
|
|
165
|
-
|
|
165
|
+
props.className,
|
|
166
|
+
TIMELINE_CLASSNAME,
|
|
166
167
|
{
|
|
167
|
-
[`${
|
|
168
|
-
[`${
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
[`${TIMELINE_CLASSNAME}-${orientation}`]: orientation,
|
|
169
|
+
[`${TIMELINE_CLASSNAME}-alternating`]: alternatingMode,
|
|
170
|
+
[`${TIMELINE_CLASSNAME}-collapsible`]: collapsibleEvents
|
|
171
|
+
}
|
|
172
|
+
),
|
|
173
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: props.children })
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
};
|
|
177
|
+
Timeline.states = states;
|
|
178
|
+
Timeline.options = options;
|
|
179
|
+
Timeline.className = TIMELINE_CLASSNAME;
|
|
180
|
+
Timeline.defaultProps = defaultProps;
|
|
181
|
+
|
|
182
|
+
// src/card/card-callout.tsx
|
|
183
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
184
|
+
var CARDCALLOUT_CLASSNAME = `k-card-callout`;
|
|
185
|
+
var CardCallout = (props) => {
|
|
186
|
+
const {
|
|
187
|
+
callout,
|
|
188
|
+
...other
|
|
189
|
+
} = props;
|
|
190
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
191
|
+
"span",
|
|
192
|
+
{
|
|
193
|
+
...other,
|
|
194
|
+
className: classNames(
|
|
195
|
+
props.className,
|
|
196
|
+
CARDCALLOUT_CLASSNAME,
|
|
197
|
+
{
|
|
198
|
+
[`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
|
|
199
|
+
}
|
|
200
|
+
)
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
// src/card/card.spec.tsx
|
|
206
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
207
|
+
var CARD_CLASSNAME = `k-card`;
|
|
208
|
+
var states2 = [
|
|
209
|
+
States.hover,
|
|
210
|
+
States.focus,
|
|
211
|
+
States.selected,
|
|
212
|
+
States.disabled
|
|
213
|
+
];
|
|
214
|
+
var options2 = {
|
|
215
|
+
themeColor: [
|
|
216
|
+
ThemeColor.primary,
|
|
217
|
+
ThemeColor.success,
|
|
218
|
+
ThemeColor.warning,
|
|
219
|
+
ThemeColor.error,
|
|
220
|
+
ThemeColor.info
|
|
221
|
+
]
|
|
222
|
+
};
|
|
223
|
+
var defaultProps2 = {};
|
|
224
|
+
var Card = (props) => {
|
|
225
|
+
const {
|
|
226
|
+
orientation,
|
|
227
|
+
themeColor,
|
|
228
|
+
callout,
|
|
229
|
+
hover,
|
|
230
|
+
focus,
|
|
231
|
+
selected,
|
|
232
|
+
disabled,
|
|
233
|
+
...other
|
|
234
|
+
} = props;
|
|
235
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
236
|
+
"div",
|
|
237
|
+
{
|
|
238
|
+
...other,
|
|
239
|
+
className: classNames(
|
|
240
|
+
props.className,
|
|
241
|
+
CARD_CLASSNAME,
|
|
242
|
+
optionClassNames(CARD_CLASSNAME, {
|
|
243
|
+
themeColor
|
|
244
|
+
}),
|
|
245
|
+
stateClassNames(CARD_CLASSNAME, {
|
|
246
|
+
hover,
|
|
247
|
+
focus,
|
|
248
|
+
disabled,
|
|
249
|
+
selected
|
|
250
|
+
}),
|
|
251
|
+
{
|
|
252
|
+
[`k-card-${orientation}`]: orientation,
|
|
253
|
+
"k-card-with-callout": callout
|
|
254
|
+
}
|
|
255
|
+
),
|
|
256
|
+
children: [
|
|
257
|
+
callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(CardCallout, { callout }),
|
|
258
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: props.children })
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
);
|
|
262
|
+
};
|
|
263
|
+
Card.states = states2;
|
|
264
|
+
Card.options = options2;
|
|
265
|
+
Card.className = CARD_CLASSNAME;
|
|
266
|
+
Card.defaultProps = defaultProps2;
|
|
267
|
+
|
|
268
|
+
// src/card/card-title.tsx
|
|
269
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
270
|
+
var CARDTITLE_CLASSNAME = `k-card-title`;
|
|
271
|
+
var states3 = [
|
|
272
|
+
States.hover,
|
|
273
|
+
States.focus
|
|
274
|
+
];
|
|
275
|
+
var CardTitle = (props) => {
|
|
276
|
+
const {
|
|
277
|
+
hover,
|
|
278
|
+
focus,
|
|
279
|
+
...other
|
|
280
|
+
} = props;
|
|
281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
282
|
+
"div",
|
|
283
|
+
{
|
|
284
|
+
...other,
|
|
285
|
+
className: classNames(
|
|
286
|
+
props.className,
|
|
287
|
+
CARDTITLE_CLASSNAME,
|
|
288
|
+
stateClassNames(CARDTITLE_CLASSNAME, {
|
|
289
|
+
hover,
|
|
290
|
+
focus
|
|
291
|
+
})
|
|
171
292
|
),
|
|
172
293
|
children: props.children
|
|
173
294
|
}
|
|
174
295
|
);
|
|
175
296
|
};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
297
|
+
|
|
298
|
+
// src/card/card-subtitle.tsx
|
|
299
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
300
|
+
var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
|
|
301
|
+
var CardSubtitle = (props) => {
|
|
302
|
+
const {
|
|
303
|
+
...other
|
|
304
|
+
} = props;
|
|
305
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
306
|
+
"div",
|
|
307
|
+
{
|
|
308
|
+
...other,
|
|
309
|
+
className: classNames(
|
|
310
|
+
props.className,
|
|
311
|
+
CARDSUBTITLE_CLASSNAME
|
|
312
|
+
),
|
|
313
|
+
children: props.children
|
|
314
|
+
}
|
|
315
|
+
);
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
// src/card/card-media.tsx
|
|
319
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
180
320
|
|
|
181
321
|
// src/icon/font-icon.spec.tsx
|
|
182
|
-
var
|
|
322
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
183
323
|
var FONTICON_CLASSNAME = `k-icon k-font-icon`;
|
|
184
|
-
var
|
|
185
|
-
var
|
|
324
|
+
var states4 = [];
|
|
325
|
+
var options3 = {
|
|
186
326
|
size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
|
|
187
327
|
themeColor: [
|
|
188
328
|
ThemeColor.base,
|
|
@@ -197,7 +337,7 @@ var options2 = {
|
|
|
197
337
|
ThemeColor.dark
|
|
198
338
|
]
|
|
199
339
|
};
|
|
200
|
-
var
|
|
340
|
+
var defaultProps3 = {};
|
|
201
341
|
var FontIcon = (props) => {
|
|
202
342
|
const {
|
|
203
343
|
size,
|
|
@@ -208,9 +348,9 @@ var FontIcon = (props) => {
|
|
|
208
348
|
...other
|
|
209
349
|
} = props;
|
|
210
350
|
if (!icon) {
|
|
211
|
-
return /* @__PURE__ */ (0,
|
|
351
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
|
|
212
352
|
}
|
|
213
|
-
return /* @__PURE__ */ (0,
|
|
353
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
214
354
|
"span",
|
|
215
355
|
{
|
|
216
356
|
...other,
|
|
@@ -231,17 +371,17 @@ var FontIcon = (props) => {
|
|
|
231
371
|
}
|
|
232
372
|
);
|
|
233
373
|
};
|
|
234
|
-
FontIcon.states =
|
|
235
|
-
FontIcon.options =
|
|
374
|
+
FontIcon.states = states4;
|
|
375
|
+
FontIcon.options = options3;
|
|
236
376
|
FontIcon.className = FONTICON_CLASSNAME;
|
|
237
|
-
FontIcon.defaultProps =
|
|
377
|
+
FontIcon.defaultProps = defaultProps3;
|
|
238
378
|
var font_icon_spec_default = FontIcon;
|
|
239
379
|
|
|
240
380
|
// src/icon/svg-icon.spec.tsx
|
|
241
|
-
var
|
|
381
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
242
382
|
var SVGICON_CLASSNAME = `k-icon k-svg-icon`;
|
|
243
|
-
var
|
|
244
|
-
var
|
|
383
|
+
var states5 = [];
|
|
384
|
+
var options4 = {
|
|
245
385
|
size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
|
|
246
386
|
themeColor: [
|
|
247
387
|
ThemeColor.base,
|
|
@@ -256,7 +396,7 @@ var options3 = {
|
|
|
256
396
|
ThemeColor.dark
|
|
257
397
|
]
|
|
258
398
|
};
|
|
259
|
-
var
|
|
399
|
+
var defaultProps4 = {
|
|
260
400
|
viewBox: "0 0 24 24"
|
|
261
401
|
};
|
|
262
402
|
var SvgIcon = (props) => {
|
|
@@ -265,15 +405,15 @@ var SvgIcon = (props) => {
|
|
|
265
405
|
themeColor,
|
|
266
406
|
rotate,
|
|
267
407
|
flip,
|
|
268
|
-
viewBox =
|
|
408
|
+
viewBox = defaultProps4.viewBox,
|
|
269
409
|
icon,
|
|
270
410
|
...other
|
|
271
411
|
} = props;
|
|
272
412
|
if (!icon) {
|
|
273
|
-
return /* @__PURE__ */ (0,
|
|
413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {});
|
|
274
414
|
}
|
|
275
415
|
if (icon === "none") {
|
|
276
|
-
/* @__PURE__ */ (0,
|
|
416
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
277
417
|
"span",
|
|
278
418
|
{
|
|
279
419
|
...other,
|
|
@@ -286,7 +426,7 @@ var SvgIcon = (props) => {
|
|
|
286
426
|
);
|
|
287
427
|
}
|
|
288
428
|
const name = typeof icon === "object" && icon.name && icon.name;
|
|
289
|
-
return /* @__PURE__ */ (0,
|
|
429
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
290
430
|
"span",
|
|
291
431
|
{
|
|
292
432
|
...other,
|
|
@@ -304,7 +444,7 @@ var SvgIcon = (props) => {
|
|
|
304
444
|
"k-flip-v": flip === "v" || flip === "both"
|
|
305
445
|
}
|
|
306
446
|
),
|
|
307
|
-
children: /* @__PURE__ */ (0,
|
|
447
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
308
448
|
"svg",
|
|
309
449
|
{
|
|
310
450
|
"aria-hidden": true,
|
|
@@ -318,10 +458,10 @@ var SvgIcon = (props) => {
|
|
|
318
458
|
}
|
|
319
459
|
);
|
|
320
460
|
};
|
|
321
|
-
SvgIcon.states =
|
|
322
|
-
SvgIcon.options =
|
|
461
|
+
SvgIcon.states = states5;
|
|
462
|
+
SvgIcon.options = options4;
|
|
323
463
|
SvgIcon.className = SVGICON_CLASSNAME;
|
|
324
|
-
SvgIcon.defaultProps =
|
|
464
|
+
SvgIcon.defaultProps = defaultProps4;
|
|
325
465
|
var svg_icon_spec_default = SvgIcon;
|
|
326
466
|
|
|
327
467
|
// ../../node_modules/@progress/kendo-svg-icons/dist/index.es.js
|
|
@@ -4320,13 +4460,13 @@ var chartChoroplethIcon = {
|
|
|
4320
4460
|
};
|
|
4321
4461
|
|
|
4322
4462
|
// src/icon/icon.spec.tsx
|
|
4323
|
-
var
|
|
4463
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
4324
4464
|
var snakeToCamel = (str) => str.toLowerCase().replace(
|
|
4325
4465
|
/([-_][a-z])/g,
|
|
4326
4466
|
(group) => group.toUpperCase().replace("-", "").replace("_", "")
|
|
4327
4467
|
);
|
|
4328
|
-
var
|
|
4329
|
-
var
|
|
4468
|
+
var states6 = [];
|
|
4469
|
+
var options5 = {
|
|
4330
4470
|
size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
|
|
4331
4471
|
themeColor: [
|
|
4332
4472
|
ThemeColor.base,
|
|
@@ -4341,7 +4481,7 @@ var options4 = {
|
|
|
4341
4481
|
ThemeColor.dark
|
|
4342
4482
|
]
|
|
4343
4483
|
};
|
|
4344
|
-
var
|
|
4484
|
+
var defaultProps5 = {
|
|
4345
4485
|
viewBox: "0 0 24 24",
|
|
4346
4486
|
type: "svg"
|
|
4347
4487
|
};
|
|
@@ -4350,42 +4490,42 @@ var Icon = (props) => {
|
|
|
4350
4490
|
size,
|
|
4351
4491
|
themeColor,
|
|
4352
4492
|
icon,
|
|
4353
|
-
type =
|
|
4493
|
+
type = defaultProps5.type,
|
|
4354
4494
|
rotate,
|
|
4355
4495
|
flip,
|
|
4356
|
-
viewBox =
|
|
4496
|
+
viewBox = defaultProps5.viewBox,
|
|
4357
4497
|
...other
|
|
4358
4498
|
} = props;
|
|
4359
4499
|
if (!icon) {
|
|
4360
|
-
return /* @__PURE__ */ (0,
|
|
4500
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {});
|
|
4361
4501
|
}
|
|
4362
4502
|
if (type === "svg") {
|
|
4363
4503
|
if (icon === "none") {
|
|
4364
|
-
return /* @__PURE__ */ (0,
|
|
4504
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(svg_icon_spec_default, { ...other, icon, size });
|
|
4365
4505
|
}
|
|
4366
4506
|
const iconSVG = snakeToCamel(`${icon}-icon`);
|
|
4367
4507
|
if (!index_es_exports[iconSVG]) {
|
|
4368
|
-
return /* @__PURE__ */ (0,
|
|
4508
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_jsx_runtime9.Fragment, {});
|
|
4369
4509
|
}
|
|
4370
|
-
return /* @__PURE__ */ (0,
|
|
4510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
|
|
4371
4511
|
}
|
|
4372
|
-
return /* @__PURE__ */ (0,
|
|
4512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
|
|
4373
4513
|
};
|
|
4374
|
-
Icon.states =
|
|
4375
|
-
Icon.options =
|
|
4376
|
-
Icon.defaultProps =
|
|
4514
|
+
Icon.states = states6;
|
|
4515
|
+
Icon.options = options5;
|
|
4516
|
+
Icon.defaultProps = defaultProps5;
|
|
4377
4517
|
|
|
4378
4518
|
// src/button/button.spec.tsx
|
|
4379
|
-
var
|
|
4519
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4380
4520
|
var BUTTON_CLASSNAME = `k-button`;
|
|
4381
|
-
var
|
|
4521
|
+
var states7 = [
|
|
4382
4522
|
States.hover,
|
|
4383
4523
|
States.focus,
|
|
4384
4524
|
States.active,
|
|
4385
4525
|
States.selected,
|
|
4386
4526
|
States.disabled
|
|
4387
4527
|
];
|
|
4388
|
-
var
|
|
4528
|
+
var options6 = {
|
|
4389
4529
|
size: [Size.small, Size.medium, Size.large],
|
|
4390
4530
|
rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
|
|
4391
4531
|
fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
|
|
@@ -4403,7 +4543,7 @@ var options5 = {
|
|
|
4403
4543
|
ThemeColor.inverse
|
|
4404
4544
|
]
|
|
4405
4545
|
};
|
|
4406
|
-
var
|
|
4546
|
+
var defaultProps6 = {
|
|
4407
4547
|
size: Size.medium,
|
|
4408
4548
|
rounded: Roundness.medium,
|
|
4409
4549
|
fillMode: FillMode.solid,
|
|
@@ -4413,10 +4553,10 @@ var defaultProps5 = {
|
|
|
4413
4553
|
};
|
|
4414
4554
|
var Button = (props) => {
|
|
4415
4555
|
const {
|
|
4416
|
-
size =
|
|
4417
|
-
rounded =
|
|
4418
|
-
fillMode =
|
|
4419
|
-
themeColor =
|
|
4556
|
+
size = defaultProps6.size,
|
|
4557
|
+
rounded = defaultProps6.rounded,
|
|
4558
|
+
fillMode = defaultProps6.fillMode,
|
|
4559
|
+
themeColor = defaultProps6.themeColor,
|
|
4420
4560
|
hover,
|
|
4421
4561
|
focus,
|
|
4422
4562
|
active,
|
|
@@ -4425,13 +4565,13 @@ var Button = (props) => {
|
|
|
4425
4565
|
icon,
|
|
4426
4566
|
text,
|
|
4427
4567
|
iconClassName,
|
|
4428
|
-
showArrow =
|
|
4429
|
-
arrowIconName =
|
|
4568
|
+
showArrow = defaultProps6.showArrow,
|
|
4569
|
+
arrowIconName = defaultProps6.arrowIconName,
|
|
4430
4570
|
...other
|
|
4431
4571
|
} = props;
|
|
4432
4572
|
const hasIcon = icon !== void 0;
|
|
4433
4573
|
const hasChildren = props.children !== void 0;
|
|
4434
|
-
return /* @__PURE__ */ (0,
|
|
4574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
4435
4575
|
"button",
|
|
4436
4576
|
{
|
|
4437
4577
|
...other,
|
|
@@ -4456,293 +4596,574 @@ var Button = (props) => {
|
|
|
4456
4596
|
}
|
|
4457
4597
|
),
|
|
4458
4598
|
children: [
|
|
4459
|
-
icon && /* @__PURE__ */ (0,
|
|
4599
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4460
4600
|
Icon,
|
|
4461
4601
|
{
|
|
4462
4602
|
className: classNames(iconClassName, "k-button-icon"),
|
|
4463
4603
|
icon
|
|
4464
4604
|
}
|
|
4465
4605
|
),
|
|
4466
|
-
text ? /* @__PURE__ */ (0,
|
|
4467
|
-
text && /* @__PURE__ */ (0,
|
|
4606
|
+
text ? /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
4607
|
+
text && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "k-button-text", children: text }),
|
|
4468
4608
|
props.children
|
|
4469
|
-
] }) : props.children && /* @__PURE__ */ (0,
|
|
4470
|
-
showArrow && /* @__PURE__ */ (0,
|
|
4609
|
+
] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "k-button-text", children: props.children }),
|
|
4610
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon, { icon: arrowIconName }) })
|
|
4471
4611
|
]
|
|
4472
4612
|
}
|
|
4473
4613
|
);
|
|
4474
4614
|
};
|
|
4475
|
-
Button.states =
|
|
4476
|
-
Button.options =
|
|
4615
|
+
Button.states = states7;
|
|
4616
|
+
Button.options = options6;
|
|
4477
4617
|
Button.className = BUTTON_CLASSNAME;
|
|
4478
|
-
Button.defaultProps =
|
|
4618
|
+
Button.defaultProps = defaultProps6;
|
|
4479
4619
|
|
|
4480
4620
|
// src/button/templates/icon-button.tsx
|
|
4481
|
-
var
|
|
4621
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
4622
|
+
var IconButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { icon: "folder", ...props, children: void 0 });
|
|
4482
4623
|
|
|
4483
4624
|
// src/button/templates/icon-text-button.tsx
|
|
4484
|
-
var
|
|
4625
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
4485
4626
|
|
|
4486
4627
|
// src/button/templates/text-button.tsx
|
|
4487
|
-
var
|
|
4628
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
4488
4629
|
|
|
4489
|
-
// src/card/card-
|
|
4490
|
-
var
|
|
4491
|
-
var
|
|
4492
|
-
var
|
|
4630
|
+
// src/card/card-header.tsx
|
|
4631
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
4632
|
+
var CARDHEADER_CLASSNAME = `k-card-header`;
|
|
4633
|
+
var CardHeader = (props) => {
|
|
4493
4634
|
const {
|
|
4494
|
-
|
|
4635
|
+
title,
|
|
4636
|
+
subtitle,
|
|
4637
|
+
details,
|
|
4495
4638
|
...other
|
|
4496
4639
|
} = props;
|
|
4497
|
-
return /* @__PURE__ */ (0,
|
|
4498
|
-
"
|
|
4640
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
4641
|
+
"div",
|
|
4499
4642
|
{
|
|
4500
4643
|
...other,
|
|
4501
4644
|
className: classNames(
|
|
4502
4645
|
props.className,
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
}
|
|
4507
|
-
|
|
4646
|
+
CARDHEADER_CLASSNAME
|
|
4647
|
+
),
|
|
4648
|
+
children: [
|
|
4649
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CardTitle, { children: title }),
|
|
4650
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CardSubtitle, { children: subtitle }),
|
|
4651
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: props.children }),
|
|
4652
|
+
details && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4653
|
+
Button,
|
|
4654
|
+
{
|
|
4655
|
+
className: "k-card-details",
|
|
4656
|
+
icon: "more-vertical",
|
|
4657
|
+
rounded: "medium",
|
|
4658
|
+
size: "medium",
|
|
4659
|
+
fillMode: "flat",
|
|
4660
|
+
themeColor: "base"
|
|
4661
|
+
}
|
|
4662
|
+
) })
|
|
4663
|
+
]
|
|
4508
4664
|
}
|
|
4509
4665
|
);
|
|
4510
4666
|
};
|
|
4511
4667
|
|
|
4512
|
-
// src/card/card.
|
|
4513
|
-
var
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
States.disabled
|
|
4520
|
-
];
|
|
4521
|
-
var options6 = {
|
|
4522
|
-
themeColor: [
|
|
4523
|
-
ThemeColor.primary,
|
|
4524
|
-
ThemeColor.success,
|
|
4525
|
-
ThemeColor.warning,
|
|
4526
|
-
ThemeColor.error,
|
|
4527
|
-
ThemeColor.info
|
|
4528
|
-
]
|
|
4529
|
-
};
|
|
4530
|
-
var defaultProps6 = {};
|
|
4531
|
-
var Card = (props) => {
|
|
4668
|
+
// src/card/card-footer.tsx
|
|
4669
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
4670
|
+
|
|
4671
|
+
// src/card/card-body.tsx
|
|
4672
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4673
|
+
var CARDBODY_CLASSNAME = `k-card-body`;
|
|
4674
|
+
var CardBody = (props) => {
|
|
4532
4675
|
const {
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
hover,
|
|
4537
|
-
focus,
|
|
4538
|
-
selected,
|
|
4539
|
-
disabled,
|
|
4676
|
+
title,
|
|
4677
|
+
subtitle,
|
|
4678
|
+
details,
|
|
4540
4679
|
...other
|
|
4541
4680
|
} = props;
|
|
4542
|
-
return /* @__PURE__ */ (0,
|
|
4681
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
4543
4682
|
"div",
|
|
4544
4683
|
{
|
|
4545
4684
|
...other,
|
|
4546
4685
|
className: classNames(
|
|
4547
4686
|
props.className,
|
|
4548
|
-
|
|
4549
|
-
optionClassNames(CARD_CLASSNAME, {
|
|
4550
|
-
themeColor
|
|
4551
|
-
}),
|
|
4552
|
-
stateClassNames(CARD_CLASSNAME, {
|
|
4553
|
-
hover,
|
|
4554
|
-
focus,
|
|
4555
|
-
disabled,
|
|
4556
|
-
selected
|
|
4557
|
-
}),
|
|
4558
|
-
{
|
|
4559
|
-
[`k-card-${orientation}`]: orientation,
|
|
4560
|
-
"k-card-with-callout": callout
|
|
4561
|
-
}
|
|
4687
|
+
CARDBODY_CLASSNAME
|
|
4562
4688
|
),
|
|
4563
4689
|
children: [
|
|
4564
|
-
|
|
4565
|
-
/* @__PURE__ */ (0,
|
|
4690
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CardTitle, { children: title }),
|
|
4691
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CardSubtitle, { children: subtitle }),
|
|
4692
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, { children: props.children }),
|
|
4693
|
+
details && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4694
|
+
Button,
|
|
4695
|
+
{
|
|
4696
|
+
className: "k-card-details",
|
|
4697
|
+
icon: "more-vertical",
|
|
4698
|
+
rounded: "medium",
|
|
4699
|
+
size: "medium",
|
|
4700
|
+
fillMode: "flat",
|
|
4701
|
+
themeColor: "base"
|
|
4702
|
+
}
|
|
4703
|
+
) })
|
|
4566
4704
|
]
|
|
4567
4705
|
}
|
|
4568
4706
|
);
|
|
4569
4707
|
};
|
|
4570
|
-
Card.states = states6;
|
|
4571
|
-
Card.options = options6;
|
|
4572
|
-
Card.className = CARD_CLASSNAME;
|
|
4573
|
-
Card.defaultProps = defaultProps6;
|
|
4574
4708
|
|
|
4575
|
-
// src/card/card-
|
|
4576
|
-
var
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
];
|
|
4582
|
-
var
|
|
4709
|
+
// src/card/card-deck.tsx
|
|
4710
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
4711
|
+
|
|
4712
|
+
// src/action-buttons/action-buttons.spec.tsx
|
|
4713
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
4714
|
+
var ACTIONBUTTONS_CLASSNAME = `k-actions`;
|
|
4715
|
+
var states8 = [];
|
|
4716
|
+
var options7 = {};
|
|
4717
|
+
var defaultProps7 = {
|
|
4718
|
+
alignment: "start",
|
|
4719
|
+
orientation: "horizontal"
|
|
4720
|
+
};
|
|
4721
|
+
var ActionButtons = (props) => {
|
|
4583
4722
|
const {
|
|
4584
|
-
|
|
4585
|
-
|
|
4723
|
+
alignment = defaultProps7.alignment,
|
|
4724
|
+
orientation = defaultProps7.orientation,
|
|
4586
4725
|
...other
|
|
4587
4726
|
} = props;
|
|
4588
|
-
return /* @__PURE__ */ (0,
|
|
4727
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
4589
4728
|
"div",
|
|
4590
4729
|
{
|
|
4591
4730
|
...other,
|
|
4592
4731
|
className: classNames(
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4732
|
+
ACTIONBUTTONS_CLASSNAME,
|
|
4733
|
+
{
|
|
4734
|
+
[`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
|
|
4735
|
+
[`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
|
|
4736
|
+
},
|
|
4737
|
+
props.className
|
|
4599
4738
|
),
|
|
4600
4739
|
children: props.children
|
|
4601
4740
|
}
|
|
4602
4741
|
);
|
|
4603
4742
|
};
|
|
4743
|
+
ActionButtons.states = states8;
|
|
4744
|
+
ActionButtons.options = options7;
|
|
4745
|
+
ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
|
|
4746
|
+
ActionButtons.defaultProps = defaultProps7;
|
|
4604
4747
|
|
|
4605
|
-
// src/card/card-
|
|
4606
|
-
var
|
|
4607
|
-
|
|
4608
|
-
|
|
4748
|
+
// src/card/templates/card-normal.tsx
|
|
4749
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
4750
|
+
|
|
4751
|
+
// src/card/templates/card-horizontal.tsx
|
|
4752
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4753
|
+
|
|
4754
|
+
// src/timeline/vertical-timeline-event.spec.tsx
|
|
4755
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4756
|
+
var TIMELINEVERTICALEVENT_CLASSNAME = `k-timeline-event`;
|
|
4757
|
+
var states9 = [];
|
|
4758
|
+
var options8 = {};
|
|
4759
|
+
var defaultProps8 = {
|
|
4760
|
+
collapsed: false,
|
|
4761
|
+
reverse: false,
|
|
4762
|
+
title: "Event title",
|
|
4763
|
+
subtitle: "Event subtitle",
|
|
4764
|
+
content: "Event content"
|
|
4765
|
+
};
|
|
4766
|
+
var VerticalTimelineEvent = (props) => {
|
|
4767
|
+
const {
|
|
4768
|
+
date,
|
|
4769
|
+
content = defaultProps8.content,
|
|
4770
|
+
collapsed = defaultProps8.collapsed,
|
|
4771
|
+
reverse = defaultProps8.reverse,
|
|
4772
|
+
title = defaultProps8.title,
|
|
4773
|
+
subtitle = defaultProps8.subtitle,
|
|
4774
|
+
showCollapseButton,
|
|
4775
|
+
...other
|
|
4776
|
+
} = props;
|
|
4777
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
4778
|
+
"li",
|
|
4779
|
+
{
|
|
4780
|
+
...other,
|
|
4781
|
+
className: classNames(
|
|
4782
|
+
props.className,
|
|
4783
|
+
TIMELINEVERTICALEVENT_CLASSNAME,
|
|
4784
|
+
{ "k-reverse": reverse }
|
|
4785
|
+
),
|
|
4786
|
+
children: [
|
|
4787
|
+
date && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "k-timeline-date", children: date }) }),
|
|
4788
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TimelineCircle, {}),
|
|
4789
|
+
content && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: classNames("k-timeline-card", { "k-collapsed": collapsed }), children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TimelineCard, { ...reverse ? { callout: "right" } : { callout: "left" }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "k-card-inner", children: [
|
|
4790
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(CardHeader, { children: [
|
|
4791
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TimelineCardTitle, { collapsible: showCollapseButton, children: title }),
|
|
4792
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(CardSubtitle, { children: subtitle })
|
|
4793
|
+
] }),
|
|
4794
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "k-card-description", children: content }) })
|
|
4795
|
+
] }) }) }),
|
|
4796
|
+
props.children
|
|
4797
|
+
]
|
|
4798
|
+
}
|
|
4799
|
+
);
|
|
4800
|
+
};
|
|
4801
|
+
VerticalTimelineEvent.states = states9;
|
|
4802
|
+
VerticalTimelineEvent.options = options8;
|
|
4803
|
+
VerticalTimelineEvent.className = TIMELINEVERTICALEVENT_CLASSNAME;
|
|
4804
|
+
VerticalTimelineEvent.defaultProps = defaultProps8;
|
|
4805
|
+
|
|
4806
|
+
// src/timeline/horizontal-timeline-event.spec.tsx
|
|
4807
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4808
|
+
var TIMELINEHORIZONTALEVENT_CLASSNAME = `k-timeline-event`;
|
|
4809
|
+
var states10 = [];
|
|
4810
|
+
var options9 = {};
|
|
4811
|
+
var defaultProps9 = {
|
|
4812
|
+
title: "Event title",
|
|
4813
|
+
subtitle: "Event subtitle",
|
|
4814
|
+
content: "Event content"
|
|
4815
|
+
};
|
|
4816
|
+
var HorizontalTimelineEvent = (props) => {
|
|
4817
|
+
const {
|
|
4818
|
+
content = defaultProps9.content,
|
|
4819
|
+
title = defaultProps9.title,
|
|
4820
|
+
subtitle = defaultProps9.subtitle,
|
|
4821
|
+
...other
|
|
4822
|
+
} = props;
|
|
4823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
4824
|
+
"li",
|
|
4825
|
+
{
|
|
4826
|
+
...other,
|
|
4827
|
+
className: classNames(
|
|
4828
|
+
props.className,
|
|
4829
|
+
TIMELINEHORIZONTALEVENT_CLASSNAME
|
|
4830
|
+
),
|
|
4831
|
+
children: [
|
|
4832
|
+
content && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: classNames("k-timeline-card"), children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(TimelineCard, { orientation: "vertical", callout: "top", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "k-card-inner", children: [
|
|
4833
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(CardHeader, { children: [
|
|
4834
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(TimelineCardTitle, { children: title }),
|
|
4835
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(CardSubtitle, { children: subtitle })
|
|
4836
|
+
] }),
|
|
4837
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "k-card-description", children: content }) })
|
|
4838
|
+
] }) }) }),
|
|
4839
|
+
props.children
|
|
4840
|
+
]
|
|
4841
|
+
}
|
|
4842
|
+
);
|
|
4843
|
+
};
|
|
4844
|
+
HorizontalTimelineEvent.states = states10;
|
|
4845
|
+
HorizontalTimelineEvent.options = options9;
|
|
4846
|
+
HorizontalTimelineEvent.className = TIMELINEHORIZONTALEVENT_CLASSNAME;
|
|
4847
|
+
HorizontalTimelineEvent.defaultProps = defaultProps9;
|
|
4848
|
+
|
|
4849
|
+
// src/timeline/timeline-event-list.spec.tsx
|
|
4850
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4851
|
+
var TIMELINEEVENTLIST_CLASSNAME = `k-timeline-events-list`;
|
|
4852
|
+
var TimelineEventList = (props) => {
|
|
4609
4853
|
const {
|
|
4610
4854
|
...other
|
|
4611
4855
|
} = props;
|
|
4612
|
-
return /* @__PURE__ */ (0,
|
|
4856
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
4613
4857
|
"div",
|
|
4614
4858
|
{
|
|
4615
4859
|
...other,
|
|
4616
4860
|
className: classNames(
|
|
4617
4861
|
props.className,
|
|
4618
|
-
|
|
4862
|
+
TIMELINEEVENTLIST_CLASSNAME
|
|
4619
4863
|
),
|
|
4620
|
-
children: props.children
|
|
4864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("ul", { className: "k-timeline-scrollable-wrap", children: props.children })
|
|
4621
4865
|
}
|
|
4622
4866
|
);
|
|
4623
4867
|
};
|
|
4624
4868
|
|
|
4625
|
-
// src/
|
|
4626
|
-
var
|
|
4627
|
-
var
|
|
4628
|
-
var
|
|
4869
|
+
// src/timeline/timeline-flag-wrap.spec.tsx
|
|
4870
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4871
|
+
var TIMELINEFLAGWRAP_CLASSNAME = `k-timeline-flag-wrap`;
|
|
4872
|
+
var states11 = [
|
|
4873
|
+
States.focus,
|
|
4874
|
+
States.selected
|
|
4875
|
+
];
|
|
4876
|
+
var options10 = {};
|
|
4877
|
+
var defaultProps10 = {
|
|
4878
|
+
year: "2020"
|
|
4879
|
+
};
|
|
4880
|
+
var TimelineFlagWrap = (props) => {
|
|
4629
4881
|
const {
|
|
4630
|
-
|
|
4882
|
+
year,
|
|
4631
4883
|
...other
|
|
4632
4884
|
} = props;
|
|
4633
|
-
return /* @__PURE__ */ (0,
|
|
4634
|
-
"
|
|
4885
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
4886
|
+
"li",
|
|
4635
4887
|
{
|
|
4636
4888
|
...other,
|
|
4637
4889
|
className: classNames(
|
|
4638
4890
|
props.className,
|
|
4639
|
-
|
|
4891
|
+
TIMELINEFLAGWRAP_CLASSNAME
|
|
4640
4892
|
),
|
|
4641
|
-
|
|
4893
|
+
children: [
|
|
4894
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "k-timeline-flag", children: year }),
|
|
4895
|
+
props.children
|
|
4896
|
+
]
|
|
4897
|
+
}
|
|
4898
|
+
);
|
|
4899
|
+
};
|
|
4900
|
+
TimelineFlagWrap.states = states11;
|
|
4901
|
+
TimelineFlagWrap.options = options10;
|
|
4902
|
+
TimelineFlagWrap.className = TIMELINEFLAGWRAP_CLASSNAME;
|
|
4903
|
+
TimelineFlagWrap.defaultProps = defaultProps10;
|
|
4904
|
+
|
|
4905
|
+
// src/timeline/timeline-circle.spec.tsx
|
|
4906
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4907
|
+
var TIMELINECIRCLE_CLASSNAME = `k-timeline-circle`;
|
|
4908
|
+
var TimelineCircle = (props) => {
|
|
4909
|
+
const {
|
|
4910
|
+
...other
|
|
4911
|
+
} = props;
|
|
4912
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
4913
|
+
"span",
|
|
4914
|
+
{
|
|
4915
|
+
...other,
|
|
4916
|
+
className: classNames(
|
|
4917
|
+
props.className,
|
|
4918
|
+
TIMELINECIRCLE_CLASSNAME
|
|
4919
|
+
)
|
|
4642
4920
|
}
|
|
4643
|
-
)
|
|
4921
|
+
);
|
|
4922
|
+
};
|
|
4923
|
+
|
|
4924
|
+
// src/timeline/timeline-flag.spec.tsx
|
|
4925
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4926
|
+
var TIMELINEFLAG_CLASSNAME = `k-timeline-flag`;
|
|
4927
|
+
var TimelineFlag = (props) => {
|
|
4928
|
+
const {
|
|
4929
|
+
content,
|
|
4930
|
+
...other
|
|
4931
|
+
} = props;
|
|
4932
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4644
4933
|
"span",
|
|
4645
4934
|
{
|
|
4646
4935
|
...other,
|
|
4647
4936
|
className: classNames(
|
|
4648
4937
|
props.className,
|
|
4649
|
-
|
|
4938
|
+
TIMELINEFLAG_CLASSNAME
|
|
4650
4939
|
),
|
|
4651
|
-
children:
|
|
4940
|
+
children: content
|
|
4652
4941
|
}
|
|
4653
|
-
)
|
|
4942
|
+
);
|
|
4654
4943
|
};
|
|
4655
4944
|
|
|
4656
|
-
// src/
|
|
4657
|
-
var
|
|
4658
|
-
var
|
|
4659
|
-
var
|
|
4945
|
+
// src/timeline/timeline-card.spec.tsx
|
|
4946
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4947
|
+
var states12 = [];
|
|
4948
|
+
var defaultProps11 = {};
|
|
4949
|
+
var TimelineCard = (props) => {
|
|
4660
4950
|
const {
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
details,
|
|
4951
|
+
callout,
|
|
4952
|
+
children,
|
|
4664
4953
|
...other
|
|
4665
4954
|
} = props;
|
|
4666
|
-
return /* @__PURE__ */ (0,
|
|
4667
|
-
|
|
4955
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
4956
|
+
Card,
|
|
4668
4957
|
{
|
|
4958
|
+
className: classNames(
|
|
4959
|
+
props.className
|
|
4960
|
+
),
|
|
4961
|
+
orientation: "vertical",
|
|
4669
4962
|
...other,
|
|
4963
|
+
children: [
|
|
4964
|
+
callout && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TimelineCardCallout, { callout }),
|
|
4965
|
+
children
|
|
4966
|
+
]
|
|
4967
|
+
}
|
|
4968
|
+
);
|
|
4969
|
+
};
|
|
4970
|
+
TimelineCard.states = states12;
|
|
4971
|
+
TimelineCard.defaultProps = defaultProps11;
|
|
4972
|
+
|
|
4973
|
+
// src/timeline/timeline-card-title.tsx
|
|
4974
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
4975
|
+
var TIMELINECARDTITLE_CLASSNAME = `k-card-title`;
|
|
4976
|
+
var states13 = [];
|
|
4977
|
+
var defaultProps12 = {};
|
|
4978
|
+
var TimelineCardTitle = (props) => {
|
|
4979
|
+
const {
|
|
4980
|
+
collapsible,
|
|
4981
|
+
children,
|
|
4982
|
+
...other
|
|
4983
|
+
} = props;
|
|
4984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
4985
|
+
"div",
|
|
4986
|
+
{
|
|
4670
4987
|
className: classNames(
|
|
4671
4988
|
props.className,
|
|
4672
|
-
|
|
4989
|
+
TIMELINECARDTITLE_CLASSNAME
|
|
4673
4990
|
),
|
|
4991
|
+
...other,
|
|
4674
4992
|
children: [
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_jsx_runtime14.Fragment, { children: props.children }),
|
|
4678
|
-
details && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
4679
|
-
Button,
|
|
4680
|
-
{
|
|
4681
|
-
className: "k-card-details",
|
|
4682
|
-
icon: "more-vertical",
|
|
4683
|
-
rounded: "medium",
|
|
4684
|
-
size: "medium",
|
|
4685
|
-
fillMode: "flat",
|
|
4686
|
-
themeColor: "base"
|
|
4687
|
-
}
|
|
4688
|
-
) })
|
|
4993
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "k-event-title", children }),
|
|
4994
|
+
collapsible && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(IconButton, { fillMode: "flat", icon: "chevron-right", className: "k-event-collapse" })
|
|
4689
4995
|
]
|
|
4690
4996
|
}
|
|
4691
4997
|
);
|
|
4692
4998
|
};
|
|
4999
|
+
TimelineCardTitle.states = states13;
|
|
5000
|
+
TimelineCardTitle.className = TIMELINECARDTITLE_CLASSNAME;
|
|
5001
|
+
TimelineCardTitle.defaultProps = defaultProps12;
|
|
4693
5002
|
|
|
4694
|
-
// src/
|
|
4695
|
-
var
|
|
5003
|
+
// src/timeline/timeline-card-callout.tsx
|
|
5004
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
5005
|
+
var TIMELINECARDCALLOUT_CLASSNAME = `k-timeline-card-callout`;
|
|
5006
|
+
var states14 = [];
|
|
5007
|
+
var defaultProps13 = {};
|
|
5008
|
+
var TimelineCardCallout = (props) => {
|
|
5009
|
+
const {
|
|
5010
|
+
...other
|
|
5011
|
+
} = props;
|
|
5012
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
5013
|
+
CardCallout,
|
|
5014
|
+
{
|
|
5015
|
+
className: classNames(
|
|
5016
|
+
props.className,
|
|
5017
|
+
TIMELINECARDCALLOUT_CLASSNAME
|
|
5018
|
+
),
|
|
5019
|
+
...other
|
|
5020
|
+
}
|
|
5021
|
+
);
|
|
5022
|
+
};
|
|
5023
|
+
TimelineCardCallout.states = states14;
|
|
5024
|
+
TimelineCardCallout.className = TIMELINECARDCALLOUT_CLASSNAME;
|
|
5025
|
+
TimelineCardCallout.defaultProps = defaultProps13;
|
|
4696
5026
|
|
|
4697
|
-
// src/
|
|
4698
|
-
var
|
|
4699
|
-
var
|
|
4700
|
-
var
|
|
5027
|
+
// src/timeline/timeline-date-wrap.spec.tsx
|
|
5028
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
5029
|
+
var TIMELINEDATEWRAP_CLASSNAME = `k-timeline-date-wrap`;
|
|
5030
|
+
var states15 = [];
|
|
5031
|
+
var options11 = {};
|
|
5032
|
+
var defaultProps14 = {
|
|
5033
|
+
date: "May 25, 2008"
|
|
5034
|
+
};
|
|
5035
|
+
var TimelineDateWrap = (props) => {
|
|
4701
5036
|
const {
|
|
4702
|
-
|
|
4703
|
-
subtitle,
|
|
4704
|
-
details,
|
|
5037
|
+
date = defaultProps14.date,
|
|
4705
5038
|
...other
|
|
4706
5039
|
} = props;
|
|
4707
|
-
return /* @__PURE__ */ (0,
|
|
5040
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
4708
5041
|
"div",
|
|
4709
5042
|
{
|
|
4710
5043
|
...other,
|
|
4711
5044
|
className: classNames(
|
|
4712
5045
|
props.className,
|
|
4713
|
-
|
|
5046
|
+
TIMELINEDATEWRAP_CLASSNAME
|
|
5047
|
+
),
|
|
5048
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "k-timeline-date", children: date })
|
|
5049
|
+
}
|
|
5050
|
+
);
|
|
5051
|
+
};
|
|
5052
|
+
TimelineDateWrap.states = states15;
|
|
5053
|
+
TimelineDateWrap.options = options11;
|
|
5054
|
+
TimelineDateWrap.className = TIMELINEDATEWRAP_CLASSNAME;
|
|
5055
|
+
TimelineDateWrap.defaultProps = defaultProps14;
|
|
5056
|
+
|
|
5057
|
+
// src/timeline/timeline-track-wrap.spec.tsx
|
|
5058
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
5059
|
+
var TIMELINETRACKWRAP_CLASSNAME = `k-timeline-track-wrap`;
|
|
5060
|
+
var TimelineTrackWrap = (props) => {
|
|
5061
|
+
const {
|
|
5062
|
+
...other
|
|
5063
|
+
} = props;
|
|
5064
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
5065
|
+
"div",
|
|
5066
|
+
{
|
|
5067
|
+
...other,
|
|
5068
|
+
className: classNames(
|
|
5069
|
+
props.className,
|
|
5070
|
+
TIMELINETRACKWRAP_CLASSNAME
|
|
4714
5071
|
),
|
|
4715
5072
|
children: [
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
/* @__PURE__ */ (0,
|
|
4719
|
-
details && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "k-card-header-actions", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4720
|
-
Button,
|
|
4721
|
-
{
|
|
4722
|
-
className: "k-card-details",
|
|
4723
|
-
icon: "more-vertical",
|
|
4724
|
-
rounded: "medium",
|
|
4725
|
-
size: "medium",
|
|
4726
|
-
fillMode: "flat",
|
|
4727
|
-
themeColor: "base"
|
|
4728
|
-
}
|
|
4729
|
-
) })
|
|
5073
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { className: "k-timeline-arrow k-timeline-arrow-left", rounded: "full", icon: "caret-alt-left" }),
|
|
5074
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { className: "k-timeline-arrow k-timeline-arrow-right", rounded: "full", icon: "caret-alt-right" }),
|
|
5075
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TimelineTrack, { children: props.children })
|
|
4730
5076
|
]
|
|
4731
5077
|
}
|
|
4732
5078
|
);
|
|
4733
5079
|
};
|
|
4734
5080
|
|
|
4735
|
-
// src/
|
|
4736
|
-
var
|
|
5081
|
+
// src/timeline/timeline-track.spec.tsx
|
|
5082
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5083
|
+
var TIMELINETRACK_CLASSNAME = `k-timeline-track`;
|
|
5084
|
+
var TimelineTrack = (props) => {
|
|
5085
|
+
const {
|
|
5086
|
+
...other
|
|
5087
|
+
} = props;
|
|
5088
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
5089
|
+
"div",
|
|
5090
|
+
{
|
|
5091
|
+
...other,
|
|
5092
|
+
className: classNames(
|
|
5093
|
+
props.className,
|
|
5094
|
+
TIMELINETRACK_CLASSNAME
|
|
5095
|
+
),
|
|
5096
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("ul", { className: "k-timeline-scrollable-wrap", children: props.children })
|
|
5097
|
+
}
|
|
5098
|
+
);
|
|
5099
|
+
};
|
|
4737
5100
|
|
|
4738
|
-
// src/
|
|
4739
|
-
var
|
|
5101
|
+
// src/timeline/timeline-track-item.spec.tsx
|
|
5102
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
5103
|
+
var TIMELINETRACKITEM_CLASSNAME = `k-timeline-track-item`;
|
|
5104
|
+
var TimelineTrackItem = (props) => {
|
|
5105
|
+
const {
|
|
5106
|
+
content,
|
|
5107
|
+
...other
|
|
5108
|
+
} = props;
|
|
5109
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
5110
|
+
"li",
|
|
5111
|
+
{
|
|
5112
|
+
...other,
|
|
5113
|
+
className: classNames(
|
|
5114
|
+
props.className,
|
|
5115
|
+
TIMELINETRACKITEM_CLASSNAME
|
|
5116
|
+
),
|
|
5117
|
+
children: [
|
|
5118
|
+
content,
|
|
5119
|
+
props.children
|
|
5120
|
+
]
|
|
5121
|
+
}
|
|
5122
|
+
);
|
|
5123
|
+
};
|
|
4740
5124
|
|
|
4741
|
-
// src/
|
|
4742
|
-
var
|
|
5125
|
+
// src/timeline/templates/timeline-normal.tsx
|
|
5126
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
5127
|
+
|
|
5128
|
+
// src/timeline/templates/timeline-normal-collapsible.tsx
|
|
5129
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5130
|
+
|
|
5131
|
+
// src/timeline/templates/timeline-normal-alternating.tsx
|
|
5132
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
5133
|
+
|
|
5134
|
+
// src/timeline/templates/timeline-horizontal.tsx
|
|
5135
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
5136
|
+
var TimelineHorizontal = (props) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
5137
|
+
Timeline,
|
|
5138
|
+
{
|
|
5139
|
+
orientation: "horizontal",
|
|
5140
|
+
children: [
|
|
5141
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
|
|
5142
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(TimelineTrackWrap, { children: [
|
|
5143
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineTrackItem, { className: "k-timeline-flag-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineFlag, { content: "2015" }) }),
|
|
5144
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(TimelineTrackItem, { children: [
|
|
5145
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineDateWrap, { date: "Jan 14, 2015" }),
|
|
5146
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineCircle, {})
|
|
5147
|
+
] }),
|
|
5148
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(TimelineTrackItem, { children: [
|
|
5149
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineDateWrap, { date: "Jun 1, 2015" }),
|
|
5150
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineCircle, {})
|
|
5151
|
+
] }),
|
|
5152
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(TimelineTrackItem, { children: [
|
|
5153
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineDateWrap, { date: "Sep 29, 2015" }),
|
|
5154
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineCircle, {})
|
|
5155
|
+
] }),
|
|
5156
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineTrackItem, { className: "k-timeline-flag-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineFlag, { content: "2016" }) })
|
|
5157
|
+
] }),
|
|
5158
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(TimelineEventList, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(HorizontalTimelineEvent, {}) })
|
|
5159
|
+
] })
|
|
5160
|
+
],
|
|
5161
|
+
...props
|
|
5162
|
+
}
|
|
5163
|
+
);
|
|
4743
5164
|
|
|
4744
5165
|
// src/timeline/tests/timeline-horizontal.tsx
|
|
4745
|
-
var
|
|
5166
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
4746
5167
|
var style = `
|
|
4747
5168
|
.k-card-media {
|
|
4748
5169
|
display: block;
|
|
@@ -4751,42 +5172,10 @@ var style = `
|
|
|
4751
5172
|
background: #cccccc;
|
|
4752
5173
|
}
|
|
4753
5174
|
`;
|
|
4754
|
-
var timeline_horizontal_default = () => /* @__PURE__ */ (0,
|
|
4755
|
-
/* @__PURE__ */ (0,
|
|
4756
|
-
/* @__PURE__ */ (0,
|
|
4757
|
-
/* @__PURE__ */ (0,
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "k-timeline-track", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("ul", { className: "k-timeline-scrollable-wrap", children: [
|
|
4761
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { className: "k-timeline-track-item", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "k-timeline-flag", children: "2015" }) }),
|
|
4762
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("li", { className: "k-timeline-track-item", children: [
|
|
4763
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "k-timeline-date", children: "Jan 14, 2015" }) }),
|
|
4764
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("a", { className: "k-timeline-circle", href: "#" })
|
|
4765
|
-
] }),
|
|
4766
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("li", { className: "k-timeline-track-item k-focus", children: [
|
|
4767
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "k-timeline-date", children: "Jun 1, 2015" }) }),
|
|
4768
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("a", { className: "k-timeline-circle", href: "#" })
|
|
4769
|
-
] }),
|
|
4770
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("li", { className: "k-timeline-track-item", children: [
|
|
4771
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "k-timeline-date", children: "Sep 29, 2015" }) }),
|
|
4772
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("a", { className: "k-timeline-circle", href: "#" })
|
|
4773
|
-
] }),
|
|
4774
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { className: "k-timeline-track-item", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "k-timeline-flag", children: "2016" }) })
|
|
4775
|
-
] }) })
|
|
4776
|
-
] }),
|
|
4777
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "k-timeline-events-list", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("ul", { className: "k-timeline-scrollable-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("li", { className: "k-timeline-event", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "k-timeline-card", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Card, { orientation: "vertical", callout: "true", children: [
|
|
4778
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CardCallout, { className: "k-timeline-card-callout", callout: "top" }),
|
|
4779
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "k-card-inner", children: [
|
|
4780
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CardHeader, { title: "Title", subtitle: "Subtitle" }),
|
|
4781
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "k-card-description", children: [
|
|
4782
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { children: "Card Description Here" }),
|
|
4783
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CardMedia, {})
|
|
4784
|
-
] }) }),
|
|
4785
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(ActionButtons, { alignment: "start", className: "k-card-actions", children: [
|
|
4786
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { fillMode: "flat", themeColor: "primary", children: "Action 1" }),
|
|
4787
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Button, { fillMode: "flat", themeColor: "primary", children: "Action 2" })
|
|
4788
|
-
] })
|
|
4789
|
-
] })
|
|
4790
|
-
] }) }) }) }) })
|
|
4791
|
-
] }) })
|
|
5175
|
+
var timeline_horizontal_default = () => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
|
|
5176
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("style", { children: style }),
|
|
5177
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { id: "test-area", children: [
|
|
5178
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: "Horizontal Timeline" }),
|
|
5179
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(TimelineHorizontal, {})
|
|
5180
|
+
] })
|
|
4792
5181
|
] });
|