@progress/kendo-themes-html 7.1.0-dev.3 → 7.1.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/index.js +1269 -1247
- package/dist/cjs/prompt/prompt-content.js +3 -4813
- package/dist/cjs/prompt/prompt-view.js +4862 -0
- package/dist/cjs/prompt/templates/prompt-more-actions.js +92 -72
- package/dist/cjs/prompt/templates/prompt-normal.js +89 -69
- package/dist/cjs/prompt/templates/prompt-output.js +120 -100
- package/dist/cjs/prompt/templates/prompt-popup.js +91 -71
- package/dist/cjs/prompt/templates/prompt-settings.js +86 -66
- package/dist/cjs/prompt/templates/prompt-suggestions.js +96 -76
- package/dist/cjs/prompt/tests/prompt-more-actions.js +98 -78
- package/dist/cjs/prompt/tests/prompt-normal.js +136 -116
- package/dist/cjs/prompt/tests/prompt-output.js +126 -106
- package/dist/cjs/timeline/horizontal-timeline-event.spec.js +1 -2
- package/dist/cjs/timeline/templates/timeline-horizontal.js +1 -2
- package/dist/cjs/timeline/templates/timeline-normal-alternating.js +1 -2
- package/dist/cjs/timeline/templates/timeline-normal-collapsible.js +1 -2
- package/dist/cjs/timeline/templates/timeline-normal.js +1 -2
- package/dist/cjs/timeline/tests/timeline-horizontal.js +1 -2
- package/dist/cjs/timeline/tests/timeline-vertical-alternating.js +1 -2
- package/dist/cjs/timeline/tests/timeline-vertical.js +1 -2
- package/dist/cjs/timeline/timeline-card-title.js +8 -165
- package/dist/cjs/timeline/timeline-card.spec.js +1 -2
- package/dist/cjs/timeline/timeline-track-wrap.spec.js +1 -2
- package/dist/cjs/timeline/vertical-timeline-event.spec.js +1 -2
- package/dist/esm/index.js +1095 -1073
- package/dist/esm/prompt/prompt-content.js +4 -4820
- package/dist/esm/prompt/prompt-view.js +4846 -0
- package/dist/esm/prompt/templates/prompt-more-actions.js +84 -64
- package/dist/esm/prompt/templates/prompt-normal.js +83 -63
- package/dist/esm/prompt/templates/prompt-output.js +108 -88
- package/dist/esm/prompt/templates/prompt-popup.js +86 -66
- package/dist/esm/prompt/templates/prompt-settings.js +77 -57
- package/dist/esm/prompt/templates/prompt-suggestions.js +90 -70
- package/dist/esm/prompt/tests/prompt-more-actions.js +89 -69
- package/dist/esm/prompt/tests/prompt-normal.js +123 -103
- package/dist/esm/prompt/tests/prompt-output.js +113 -93
- package/dist/esm/timeline/horizontal-timeline-event.spec.js +1 -2
- package/dist/esm/timeline/templates/timeline-horizontal.js +1 -2
- package/dist/esm/timeline/templates/timeline-normal-alternating.js +1 -2
- package/dist/esm/timeline/templates/timeline-normal-collapsible.js +1 -2
- package/dist/esm/timeline/templates/timeline-normal.js +1 -2
- package/dist/esm/timeline/tests/timeline-horizontal.js +1 -2
- package/dist/esm/timeline/tests/timeline-vertical-alternating.js +1 -2
- package/dist/esm/timeline/tests/timeline-vertical.js +1 -2
- package/dist/esm/timeline/timeline-card-title.js +8 -165
- package/dist/esm/timeline/timeline-card.spec.js +1 -2
- package/dist/esm/timeline/timeline-track-wrap.spec.js +1 -2
- package/dist/esm/timeline/vertical-timeline-event.spec.js +1 -2
- package/dist/types/prompt/index.d.ts +1 -0
- package/dist/types/prompt/prompt-content.d.ts +1 -7
- package/dist/types/prompt/prompt-view.d.ts +8 -0
- package/package.json +2 -2
- package/src/prompt/index.ts +1 -0
- package/src/prompt/prompt-content.tsx +1 -30
- package/src/prompt/prompt-view.tsx +51 -0
- package/src/prompt/templates/prompt-more-actions.tsx +11 -9
- package/src/prompt/templates/prompt-normal.tsx +4 -2
- package/src/prompt/templates/prompt-output.tsx +33 -31
- package/src/prompt/templates/prompt-popup.tsx +4 -2
- package/src/prompt/templates/prompt-settings.tsx +25 -23
- package/src/prompt/templates/prompt-suggestions.tsx +12 -10
- package/src/timeline/timeline-card-title.tsx +2 -2
|
@@ -7783,8 +7783,28 @@ var PromptHeader = (props) => {
|
|
|
7783
7783
|
);
|
|
7784
7784
|
};
|
|
7785
7785
|
|
|
7786
|
+
// src/prompt/prompt-content.tsx
|
|
7787
|
+
import { Fragment as Fragment37, jsx as jsx126 } from "react/jsx-runtime";
|
|
7788
|
+
var PROMPTCONTENT_CLASSNAME = `k-prompt-content`;
|
|
7789
|
+
var PromptContent = (props) => {
|
|
7790
|
+
const {
|
|
7791
|
+
...other
|
|
7792
|
+
} = props;
|
|
7793
|
+
return /* @__PURE__ */ jsx126(
|
|
7794
|
+
"div",
|
|
7795
|
+
{
|
|
7796
|
+
...other,
|
|
7797
|
+
className: classNames(
|
|
7798
|
+
props.className,
|
|
7799
|
+
PROMPTCONTENT_CLASSNAME
|
|
7800
|
+
),
|
|
7801
|
+
children: /* @__PURE__ */ jsx126(Fragment37, { children: props.children })
|
|
7802
|
+
}
|
|
7803
|
+
);
|
|
7804
|
+
};
|
|
7805
|
+
|
|
7786
7806
|
// src/textarea/textarea.spec.tsx
|
|
7787
|
-
import { jsx as
|
|
7807
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
7788
7808
|
var TEXTAREA_CLASSNAME = `k-textarea`;
|
|
7789
7809
|
var states50 = [
|
|
7790
7810
|
States.hover,
|
|
@@ -7820,7 +7840,7 @@ var Textarea = (props) => {
|
|
|
7820
7840
|
disabled,
|
|
7821
7841
|
...other
|
|
7822
7842
|
} = props;
|
|
7823
|
-
return /* @__PURE__ */
|
|
7843
|
+
return /* @__PURE__ */ jsx127(
|
|
7824
7844
|
Input,
|
|
7825
7845
|
{
|
|
7826
7846
|
...other,
|
|
@@ -7834,7 +7854,7 @@ var Textarea = (props) => {
|
|
|
7834
7854
|
required,
|
|
7835
7855
|
disabled,
|
|
7836
7856
|
className: classNames(props.className, TEXTAREA_CLASSNAME),
|
|
7837
|
-
children: /* @__PURE__ */
|
|
7857
|
+
children: /* @__PURE__ */ jsx127(
|
|
7838
7858
|
InputInnerTextarea,
|
|
7839
7859
|
{
|
|
7840
7860
|
className: classNames(
|
|
@@ -7854,12 +7874,12 @@ Textarea.className = TEXTAREA_CLASSNAME;
|
|
|
7854
7874
|
Textarea.defaultProps = defaultProps45;
|
|
7855
7875
|
|
|
7856
7876
|
// src/textarea/templates/textarea-normal.tsx
|
|
7857
|
-
import { jsx as
|
|
7877
|
+
import { jsx as jsx128 } from "react/jsx-runtime";
|
|
7858
7878
|
|
|
7859
|
-
// src/prompt/prompt-
|
|
7860
|
-
import { Fragment as
|
|
7861
|
-
var
|
|
7862
|
-
var
|
|
7879
|
+
// src/prompt/prompt-view.tsx
|
|
7880
|
+
import { Fragment as Fragment38, jsx as jsx129, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
7881
|
+
var PROMPTVIEW_CLASSNAME = `k-prompt-view`;
|
|
7882
|
+
var PromptView = (props) => {
|
|
7863
7883
|
const {
|
|
7864
7884
|
showSearch,
|
|
7865
7885
|
suggestions,
|
|
@@ -7872,44 +7892,44 @@ var PromptContent = (props) => {
|
|
|
7872
7892
|
...other,
|
|
7873
7893
|
className: classNames(
|
|
7874
7894
|
props.className,
|
|
7875
|
-
|
|
7895
|
+
PROMPTVIEW_CLASSNAME
|
|
7876
7896
|
),
|
|
7877
7897
|
children: [
|
|
7878
|
-
showSearch && /* @__PURE__ */
|
|
7898
|
+
showSearch && /* @__PURE__ */ jsx129(Textarea, { rows: 1, placeholder: "Ask or generate content with AI" }),
|
|
7879
7899
|
suggestions && /* @__PURE__ */ jsxs55("div", { className: "k-prompt-expander", children: [
|
|
7880
|
-
/* @__PURE__ */
|
|
7881
|
-
/* @__PURE__ */
|
|
7900
|
+
/* @__PURE__ */ jsx129(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Prompt Suggestions" }),
|
|
7901
|
+
/* @__PURE__ */ jsx129("div", { className: "k-prompt-expander-content", children: /* @__PURE__ */ jsx129(Fragment38, { children: suggestions }) })
|
|
7882
7902
|
] }),
|
|
7883
7903
|
settings && /* @__PURE__ */ jsxs55("div", { className: "k-prompt-expander", children: [
|
|
7884
|
-
/* @__PURE__ */
|
|
7885
|
-
/* @__PURE__ */
|
|
7904
|
+
/* @__PURE__ */ jsx129(IconTextButton, { fillMode: "flat", icon: "chevron-down", children: "Settings" }),
|
|
7905
|
+
/* @__PURE__ */ jsx129("div", { className: "k-prompt-expander-content", children: settings })
|
|
7886
7906
|
] }),
|
|
7887
|
-
|
|
7907
|
+
props.children
|
|
7888
7908
|
]
|
|
7889
7909
|
}
|
|
7890
7910
|
);
|
|
7891
7911
|
};
|
|
7892
7912
|
|
|
7893
7913
|
// src/prompt/prompt-footer.tsx
|
|
7894
|
-
import { jsx as
|
|
7914
|
+
import { jsx as jsx130 } from "react/jsx-runtime";
|
|
7895
7915
|
|
|
7896
7916
|
// src/prompt/prompt-suggestion.tsx
|
|
7897
|
-
import { jsx as
|
|
7917
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
7898
7918
|
|
|
7899
7919
|
// src/prompt/prompt-setting.tsx
|
|
7900
|
-
import { jsx as
|
|
7920
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
7901
7921
|
|
|
7902
7922
|
// src/prompt/templates/prompt-normal.tsx
|
|
7903
|
-
import { jsx as
|
|
7923
|
+
import { jsx as jsx133, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7904
7924
|
|
|
7905
7925
|
// src/prompt/templates/prompt-suggestions.tsx
|
|
7906
|
-
import { Fragment as
|
|
7926
|
+
import { Fragment as Fragment39, jsx as jsx134, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7907
7927
|
|
|
7908
7928
|
// src/chip/chip-action.tsx
|
|
7909
|
-
import { jsx as
|
|
7929
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
7910
7930
|
|
|
7911
7931
|
// src/avatar/avatar.spec.tsx
|
|
7912
|
-
import { jsx as
|
|
7932
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
7913
7933
|
var AVATAR_CLASSNAME = `k-avatar`;
|
|
7914
7934
|
var states51 = [
|
|
7915
7935
|
States.hover,
|
|
@@ -7954,7 +7974,7 @@ var Avatar = (props) => {
|
|
|
7954
7974
|
border = defaultProps46.border,
|
|
7955
7975
|
...other
|
|
7956
7976
|
} = props;
|
|
7957
|
-
return /* @__PURE__ */
|
|
7977
|
+
return /* @__PURE__ */ jsx136(
|
|
7958
7978
|
"div",
|
|
7959
7979
|
{
|
|
7960
7980
|
...other,
|
|
@@ -7971,7 +7991,7 @@ var Avatar = (props) => {
|
|
|
7971
7991
|
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
7972
7992
|
}
|
|
7973
7993
|
),
|
|
7974
|
-
children: /* @__PURE__ */
|
|
7994
|
+
children: /* @__PURE__ */ jsx136("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
7975
7995
|
}
|
|
7976
7996
|
);
|
|
7977
7997
|
};
|
|
@@ -7981,16 +8001,16 @@ Avatar.className = AVATAR_CLASSNAME;
|
|
|
7981
8001
|
Avatar.defaultProps = defaultProps46;
|
|
7982
8002
|
|
|
7983
8003
|
// src/avatar/templates/avatar-icon.tsx
|
|
7984
|
-
import { jsx as
|
|
8004
|
+
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
7985
8005
|
|
|
7986
8006
|
// src/avatar/templates/avatar-text.tsx
|
|
7987
|
-
import { jsx as
|
|
8007
|
+
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
7988
8008
|
|
|
7989
8009
|
// src/avatar/templates/avatar-image.tsx
|
|
7990
|
-
import { jsx as
|
|
8010
|
+
import { jsx as jsx139 } from "react/jsx-runtime";
|
|
7991
8011
|
|
|
7992
8012
|
// src/chip/chip.spec.tsx
|
|
7993
|
-
import { jsx as
|
|
8013
|
+
import { jsx as jsx140, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
7994
8014
|
var CHIP_CLASSNAME = `k-chip`;
|
|
7995
8015
|
var states52 = [
|
|
7996
8016
|
States.hover,
|
|
@@ -8056,10 +8076,10 @@ var Chip = (props) => {
|
|
|
8056
8076
|
})
|
|
8057
8077
|
),
|
|
8058
8078
|
children: [
|
|
8059
|
-
icon && /* @__PURE__ */
|
|
8060
|
-
showAvatar && /* @__PURE__ */
|
|
8061
|
-
/* @__PURE__ */
|
|
8062
|
-
actions && /* @__PURE__ */
|
|
8079
|
+
icon && /* @__PURE__ */ jsx140(Icon, { className: "k-chip-icon", icon, size: "small" }),
|
|
8080
|
+
showAvatar && /* @__PURE__ */ jsx140(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ jsx140("img", { src: "/packages/html/assets/avatar.jpg" }) }),
|
|
8081
|
+
/* @__PURE__ */ jsx140("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ jsx140("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
|
|
8082
|
+
actions && /* @__PURE__ */ jsx140("span", { className: "k-chip-actions", children: actions })
|
|
8063
8083
|
]
|
|
8064
8084
|
}
|
|
8065
8085
|
);
|
|
@@ -8070,7 +8090,7 @@ Chip.className = CHIP_CLASSNAME;
|
|
|
8070
8090
|
Chip.defaultProps = defaultProps47;
|
|
8071
8091
|
|
|
8072
8092
|
// src/chip/chip-list.spec.tsx
|
|
8073
|
-
import { jsx as
|
|
8093
|
+
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
8074
8094
|
var CHIPLIST_CLASSNAME = `k-chip-list`;
|
|
8075
8095
|
var states53 = [];
|
|
8076
8096
|
var options51 = {
|
|
@@ -8084,7 +8104,7 @@ var ChipList = (props) => {
|
|
|
8084
8104
|
size = defaultProps48.size,
|
|
8085
8105
|
...other
|
|
8086
8106
|
} = props;
|
|
8087
|
-
return /* @__PURE__ */
|
|
8107
|
+
return /* @__PURE__ */ jsx141(
|
|
8088
8108
|
"div",
|
|
8089
8109
|
{
|
|
8090
8110
|
...other,
|
|
@@ -8105,35 +8125,35 @@ ChipList.className = CHIPLIST_CLASSNAME;
|
|
|
8105
8125
|
ChipList.defaultProps = defaultProps48;
|
|
8106
8126
|
|
|
8107
8127
|
// src/chip/templates/chip-avatar.tsx
|
|
8108
|
-
import { jsx as
|
|
8128
|
+
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
8109
8129
|
|
|
8110
8130
|
// src/chip/templates/chip-icon.tsx
|
|
8111
|
-
import { jsx as
|
|
8131
|
+
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
8112
8132
|
|
|
8113
8133
|
// src/chip/templates/chip-normal.tsx
|
|
8114
|
-
import { jsx as
|
|
8134
|
+
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
8115
8135
|
|
|
8116
8136
|
// src/chip/templates/chip-removable.tsx
|
|
8117
|
-
import { jsx as
|
|
8137
|
+
import { jsx as jsx145 } from "react/jsx-runtime";
|
|
8118
8138
|
|
|
8119
8139
|
// src/prompt/templates/prompt-settings.tsx
|
|
8120
|
-
import { Fragment as
|
|
8140
|
+
import { Fragment as Fragment40, jsx as jsx146, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8121
8141
|
|
|
8122
8142
|
// src/prompt/templates/prompt-more-actions.tsx
|
|
8123
|
-
import { jsx as
|
|
8143
|
+
import { jsx as jsx147, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8124
8144
|
|
|
8125
8145
|
// src/prompt/templates/prompt-popup.tsx
|
|
8126
|
-
import { jsx as
|
|
8146
|
+
import { jsx as jsx148, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8127
8147
|
|
|
8128
8148
|
// src/card/card-callout.tsx
|
|
8129
|
-
import { jsx as
|
|
8149
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
8130
8150
|
var CARDCALLOUT_CLASSNAME = `k-card-callout`;
|
|
8131
8151
|
var CardCallout = (props) => {
|
|
8132
8152
|
const {
|
|
8133
8153
|
callout,
|
|
8134
8154
|
...other
|
|
8135
8155
|
} = props;
|
|
8136
|
-
return /* @__PURE__ */
|
|
8156
|
+
return /* @__PURE__ */ jsx149(
|
|
8137
8157
|
"span",
|
|
8138
8158
|
{
|
|
8139
8159
|
...other,
|
|
@@ -8149,7 +8169,7 @@ var CardCallout = (props) => {
|
|
|
8149
8169
|
};
|
|
8150
8170
|
|
|
8151
8171
|
// src/card/card.spec.tsx
|
|
8152
|
-
import { Fragment as
|
|
8172
|
+
import { Fragment as Fragment41, jsx as jsx150, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8153
8173
|
var CARD_CLASSNAME = `k-card`;
|
|
8154
8174
|
var states54 = [
|
|
8155
8175
|
States.hover,
|
|
@@ -8200,8 +8220,8 @@ var Card = (props) => {
|
|
|
8200
8220
|
}
|
|
8201
8221
|
),
|
|
8202
8222
|
children: [
|
|
8203
|
-
callout && callout !== "true" && /* @__PURE__ */
|
|
8204
|
-
/* @__PURE__ */
|
|
8223
|
+
callout && callout !== "true" && /* @__PURE__ */ jsx150(CardCallout, { callout }),
|
|
8224
|
+
/* @__PURE__ */ jsx150(Fragment41, { children: props.children })
|
|
8205
8225
|
]
|
|
8206
8226
|
}
|
|
8207
8227
|
);
|
|
@@ -8212,7 +8232,7 @@ Card.className = CARD_CLASSNAME;
|
|
|
8212
8232
|
Card.defaultProps = defaultProps49;
|
|
8213
8233
|
|
|
8214
8234
|
// src/card/card-title.tsx
|
|
8215
|
-
import { jsx as
|
|
8235
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
8216
8236
|
var CARDTITLE_CLASSNAME = `k-card-title`;
|
|
8217
8237
|
var states55 = [
|
|
8218
8238
|
States.hover,
|
|
@@ -8224,7 +8244,7 @@ var CardTitle = (props) => {
|
|
|
8224
8244
|
focus,
|
|
8225
8245
|
...other
|
|
8226
8246
|
} = props;
|
|
8227
|
-
return /* @__PURE__ */
|
|
8247
|
+
return /* @__PURE__ */ jsx151(
|
|
8228
8248
|
"div",
|
|
8229
8249
|
{
|
|
8230
8250
|
...other,
|
|
@@ -8242,13 +8262,13 @@ var CardTitle = (props) => {
|
|
|
8242
8262
|
};
|
|
8243
8263
|
|
|
8244
8264
|
// src/card/card-subtitle.tsx
|
|
8245
|
-
import { jsx as
|
|
8265
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
8246
8266
|
var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
|
|
8247
8267
|
var CardSubtitle = (props) => {
|
|
8248
8268
|
const {
|
|
8249
8269
|
...other
|
|
8250
8270
|
} = props;
|
|
8251
|
-
return /* @__PURE__ */
|
|
8271
|
+
return /* @__PURE__ */ jsx152(
|
|
8252
8272
|
"div",
|
|
8253
8273
|
{
|
|
8254
8274
|
...other,
|
|
@@ -8262,10 +8282,10 @@ var CardSubtitle = (props) => {
|
|
|
8262
8282
|
};
|
|
8263
8283
|
|
|
8264
8284
|
// src/card/card-media.tsx
|
|
8265
|
-
import { Fragment as
|
|
8285
|
+
import { Fragment as Fragment42, jsx as jsx153 } from "react/jsx-runtime";
|
|
8266
8286
|
|
|
8267
8287
|
// src/card/card-header.tsx
|
|
8268
|
-
import { Fragment as
|
|
8288
|
+
import { Fragment as Fragment43, jsx as jsx154, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8269
8289
|
var CARDHEADER_CLASSNAME = `k-card-header`;
|
|
8270
8290
|
var CardHeader = (props) => {
|
|
8271
8291
|
const {
|
|
@@ -8283,10 +8303,10 @@ var CardHeader = (props) => {
|
|
|
8283
8303
|
CARDHEADER_CLASSNAME
|
|
8284
8304
|
),
|
|
8285
8305
|
children: [
|
|
8286
|
-
title && /* @__PURE__ */
|
|
8287
|
-
subtitle && /* @__PURE__ */
|
|
8288
|
-
/* @__PURE__ */
|
|
8289
|
-
details && /* @__PURE__ */
|
|
8306
|
+
title && /* @__PURE__ */ jsx154(CardTitle, { children: title }),
|
|
8307
|
+
subtitle && /* @__PURE__ */ jsx154(CardSubtitle, { children: subtitle }),
|
|
8308
|
+
/* @__PURE__ */ jsx154(Fragment43, { children: props.children }),
|
|
8309
|
+
details && /* @__PURE__ */ jsx154("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx154(
|
|
8290
8310
|
Button,
|
|
8291
8311
|
{
|
|
8292
8312
|
className: "k-card-details",
|
|
@@ -8303,10 +8323,10 @@ var CardHeader = (props) => {
|
|
|
8303
8323
|
};
|
|
8304
8324
|
|
|
8305
8325
|
// src/card/card-footer.tsx
|
|
8306
|
-
import { jsx as
|
|
8326
|
+
import { jsx as jsx155 } from "react/jsx-runtime";
|
|
8307
8327
|
|
|
8308
8328
|
// src/card/card-body.tsx
|
|
8309
|
-
import { Fragment as
|
|
8329
|
+
import { Fragment as Fragment44, jsx as jsx156, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8310
8330
|
var CARDBODY_CLASSNAME = `k-card-body`;
|
|
8311
8331
|
var CardBody = (props) => {
|
|
8312
8332
|
const {
|
|
@@ -8324,10 +8344,10 @@ var CardBody = (props) => {
|
|
|
8324
8344
|
CARDBODY_CLASSNAME
|
|
8325
8345
|
),
|
|
8326
8346
|
children: [
|
|
8327
|
-
title && /* @__PURE__ */
|
|
8328
|
-
subtitle && /* @__PURE__ */
|
|
8329
|
-
/* @__PURE__ */
|
|
8330
|
-
details && /* @__PURE__ */
|
|
8347
|
+
title && /* @__PURE__ */ jsx156(CardTitle, { children: title }),
|
|
8348
|
+
subtitle && /* @__PURE__ */ jsx156(CardSubtitle, { children: subtitle }),
|
|
8349
|
+
/* @__PURE__ */ jsx156(Fragment44, { children: props.children }),
|
|
8350
|
+
details && /* @__PURE__ */ jsx156("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx156(
|
|
8331
8351
|
Button,
|
|
8332
8352
|
{
|
|
8333
8353
|
className: "k-card-details",
|
|
@@ -8344,52 +8364,52 @@ var CardBody = (props) => {
|
|
|
8344
8364
|
};
|
|
8345
8365
|
|
|
8346
8366
|
// src/card/card-deck.tsx
|
|
8347
|
-
import { jsx as
|
|
8367
|
+
import { jsx as jsx157 } from "react/jsx-runtime";
|
|
8348
8368
|
|
|
8349
8369
|
// src/card/templates/card-normal.tsx
|
|
8350
|
-
import { Fragment as
|
|
8370
|
+
import { Fragment as Fragment45, jsx as jsx158, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8351
8371
|
|
|
8352
8372
|
// src/card/templates/card-horizontal.tsx
|
|
8353
|
-
import { Fragment as
|
|
8373
|
+
import { Fragment as Fragment46, jsx as jsx159, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8354
8374
|
|
|
8355
8375
|
// src/prompt/templates/prompt-output.tsx
|
|
8356
|
-
import { jsx as
|
|
8376
|
+
import { jsx as jsx160, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8357
8377
|
var PromptOutput = (props) => /* @__PURE__ */ jsxs67(
|
|
8358
8378
|
Prompt,
|
|
8359
8379
|
{
|
|
8360
8380
|
...props,
|
|
8361
8381
|
children: [
|
|
8362
|
-
/* @__PURE__ */
|
|
8363
|
-
/* @__PURE__ */
|
|
8364
|
-
/* @__PURE__ */
|
|
8365
|
-
/* @__PURE__ */
|
|
8382
|
+
/* @__PURE__ */ jsx160(PromptHeader, { children: /* @__PURE__ */ jsxs67(Toolbar, { className: "k-toolbar-flat", children: [
|
|
8383
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", children: "Ask AI" }),
|
|
8384
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", selected: true, children: "Output" }),
|
|
8385
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
|
|
8366
8386
|
] }) }),
|
|
8367
|
-
/* @__PURE__ */
|
|
8387
|
+
/* @__PURE__ */ jsx160(PromptContent, { children: /* @__PURE__ */ jsx160(PromptView, { children: /* @__PURE__ */ jsxs67("div", { className: "k-card-list", children: [
|
|
8368
8388
|
/* @__PURE__ */ jsxs67(Card, { children: [
|
|
8369
|
-
/* @__PURE__ */
|
|
8370
|
-
/* @__PURE__ */
|
|
8389
|
+
/* @__PURE__ */ jsx160(CardHeader, { title: "Card Title", subtitle: "Card Subtitle" }),
|
|
8390
|
+
/* @__PURE__ */ jsx160(CardBody, { children: /* @__PURE__ */ jsx160("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." }) }),
|
|
8371
8391
|
/* @__PURE__ */ jsxs67(ActionButtons, { className: "k-card-actions", alignment: "start", children: [
|
|
8372
|
-
/* @__PURE__ */
|
|
8373
|
-
/* @__PURE__ */
|
|
8374
|
-
/* @__PURE__ */
|
|
8375
|
-
/* @__PURE__ */
|
|
8376
|
-
/* @__PURE__ */
|
|
8377
|
-
/* @__PURE__ */
|
|
8392
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "copy", children: "Copy" }),
|
|
8393
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "base", icon: "arrow-rotate-cw", children: "Retry" }),
|
|
8394
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal" }),
|
|
8395
|
+
/* @__PURE__ */ jsx160("span", { className: "k-spacer" }),
|
|
8396
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-up-outline" }),
|
|
8397
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-down-outline" })
|
|
8378
8398
|
] })
|
|
8379
8399
|
] }),
|
|
8380
8400
|
/* @__PURE__ */ jsxs67(Card, { children: [
|
|
8381
|
-
/* @__PURE__ */
|
|
8382
|
-
/* @__PURE__ */
|
|
8401
|
+
/* @__PURE__ */ jsx160(CardHeader, { title: "Card Title", subtitle: "Card Subtitle" }),
|
|
8402
|
+
/* @__PURE__ */ jsx160(CardBody, { children: /* @__PURE__ */ jsx160("p", { children: "Some quick example text to build on the card title and make up the bulk of the card's content." }) }),
|
|
8383
8403
|
/* @__PURE__ */ jsxs67(ActionButtons, { className: "k-card-actions", alignment: "start", children: [
|
|
8384
|
-
/* @__PURE__ */
|
|
8385
|
-
/* @__PURE__ */
|
|
8386
|
-
/* @__PURE__ */
|
|
8387
|
-
/* @__PURE__ */
|
|
8388
|
-
/* @__PURE__ */
|
|
8389
|
-
/* @__PURE__ */
|
|
8404
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "copy", children: "Copy" }),
|
|
8405
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "base", icon: "arrow-rotate-cw", children: "Retry" }),
|
|
8406
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal" }),
|
|
8407
|
+
/* @__PURE__ */ jsx160("span", { className: "k-spacer" }),
|
|
8408
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-up-outline" }),
|
|
8409
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "base", icon: "thumb-down-outline" })
|
|
8390
8410
|
] })
|
|
8391
8411
|
] })
|
|
8392
|
-
] }) })
|
|
8412
|
+
] }) }) })
|
|
8393
8413
|
]
|
|
8394
8414
|
}
|
|
8395
8415
|
);
|