@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,32 +7892,32 @@ 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
|
var PROMPTFOOTER_CLASSNAME = `k-prompt-footer`;
|
|
7896
7916
|
var PromptFooter = (props) => {
|
|
7897
7917
|
const {
|
|
7898
7918
|
...other
|
|
7899
7919
|
} = props;
|
|
7900
|
-
return /* @__PURE__ */
|
|
7920
|
+
return /* @__PURE__ */ jsx130(
|
|
7901
7921
|
"div",
|
|
7902
7922
|
{
|
|
7903
7923
|
...other,
|
|
@@ -7911,13 +7931,13 @@ var PromptFooter = (props) => {
|
|
|
7911
7931
|
};
|
|
7912
7932
|
|
|
7913
7933
|
// src/prompt/prompt-suggestion.tsx
|
|
7914
|
-
import { jsx as
|
|
7934
|
+
import { jsx as jsx131 } from "react/jsx-runtime";
|
|
7915
7935
|
var PROMPTSUGGESTION_CLASSNAME = `k-prompt-suggestion`;
|
|
7916
7936
|
var PromptSuggestion = (props) => {
|
|
7917
7937
|
const {
|
|
7918
7938
|
...other
|
|
7919
7939
|
} = props;
|
|
7920
|
-
return /* @__PURE__ */
|
|
7940
|
+
return /* @__PURE__ */ jsx131(
|
|
7921
7941
|
"div",
|
|
7922
7942
|
{
|
|
7923
7943
|
...other,
|
|
@@ -7931,16 +7951,16 @@ var PromptSuggestion = (props) => {
|
|
|
7931
7951
|
};
|
|
7932
7952
|
|
|
7933
7953
|
// src/prompt/prompt-setting.tsx
|
|
7934
|
-
import { jsx as
|
|
7954
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
7935
7955
|
|
|
7936
7956
|
// src/prompt/templates/prompt-normal.tsx
|
|
7937
|
-
import { jsx as
|
|
7957
|
+
import { jsx as jsx133, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
7938
7958
|
|
|
7939
7959
|
// src/chip/chip-action.tsx
|
|
7940
|
-
import { jsx as
|
|
7960
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
7941
7961
|
|
|
7942
7962
|
// src/avatar/avatar.spec.tsx
|
|
7943
|
-
import { jsx as
|
|
7963
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
7944
7964
|
var AVATAR_CLASSNAME = `k-avatar`;
|
|
7945
7965
|
var states51 = [
|
|
7946
7966
|
States.hover,
|
|
@@ -7985,7 +8005,7 @@ var Avatar = (props) => {
|
|
|
7985
8005
|
border = defaultProps46.border,
|
|
7986
8006
|
...other
|
|
7987
8007
|
} = props;
|
|
7988
|
-
return /* @__PURE__ */
|
|
8008
|
+
return /* @__PURE__ */ jsx135(
|
|
7989
8009
|
"div",
|
|
7990
8010
|
{
|
|
7991
8011
|
...other,
|
|
@@ -8002,7 +8022,7 @@ var Avatar = (props) => {
|
|
|
8002
8022
|
[`${AVATAR_CLASSNAME}-bordered`]: border
|
|
8003
8023
|
}
|
|
8004
8024
|
),
|
|
8005
|
-
children: /* @__PURE__ */
|
|
8025
|
+
children: /* @__PURE__ */ jsx135("span", { className: `${AVATAR_CLASSNAME}-${type}`, children: props.children })
|
|
8006
8026
|
}
|
|
8007
8027
|
);
|
|
8008
8028
|
};
|
|
@@ -8012,16 +8032,16 @@ Avatar.className = AVATAR_CLASSNAME;
|
|
|
8012
8032
|
Avatar.defaultProps = defaultProps46;
|
|
8013
8033
|
|
|
8014
8034
|
// src/avatar/templates/avatar-icon.tsx
|
|
8015
|
-
import { jsx as
|
|
8035
|
+
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
8016
8036
|
|
|
8017
8037
|
// src/avatar/templates/avatar-text.tsx
|
|
8018
|
-
import { jsx as
|
|
8038
|
+
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
8019
8039
|
|
|
8020
8040
|
// src/avatar/templates/avatar-image.tsx
|
|
8021
|
-
import { jsx as
|
|
8041
|
+
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
8022
8042
|
|
|
8023
8043
|
// src/chip/chip.spec.tsx
|
|
8024
|
-
import { jsx as
|
|
8044
|
+
import { jsx as jsx139, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
8025
8045
|
var CHIP_CLASSNAME = `k-chip`;
|
|
8026
8046
|
var states52 = [
|
|
8027
8047
|
States.hover,
|
|
@@ -8087,10 +8107,10 @@ var Chip = (props) => {
|
|
|
8087
8107
|
})
|
|
8088
8108
|
),
|
|
8089
8109
|
children: [
|
|
8090
|
-
icon && /* @__PURE__ */
|
|
8091
|
-
showAvatar && /* @__PURE__ */
|
|
8092
|
-
/* @__PURE__ */
|
|
8093
|
-
actions && /* @__PURE__ */
|
|
8110
|
+
icon && /* @__PURE__ */ jsx139(Icon, { className: "k-chip-icon", icon, size: "small" }),
|
|
8111
|
+
showAvatar && /* @__PURE__ */ jsx139(Avatar, { className: "k-chip-avatar", type: "image", children: /* @__PURE__ */ jsx139("img", { src: "/packages/html/assets/avatar.jpg" }) }),
|
|
8112
|
+
/* @__PURE__ */ jsx139("span", { className: "k-chip-content", children: props.children ? props.children : text && /* @__PURE__ */ jsx139("span", { className: "k-chip-label k-text-ellipsis", children: text }) }),
|
|
8113
|
+
actions && /* @__PURE__ */ jsx139("span", { className: "k-chip-actions", children: actions })
|
|
8094
8114
|
]
|
|
8095
8115
|
}
|
|
8096
8116
|
);
|
|
@@ -8101,7 +8121,7 @@ Chip.className = CHIP_CLASSNAME;
|
|
|
8101
8121
|
Chip.defaultProps = defaultProps47;
|
|
8102
8122
|
|
|
8103
8123
|
// src/chip/chip-list.spec.tsx
|
|
8104
|
-
import { jsx as
|
|
8124
|
+
import { jsx as jsx140 } from "react/jsx-runtime";
|
|
8105
8125
|
var CHIPLIST_CLASSNAME = `k-chip-list`;
|
|
8106
8126
|
var states53 = [];
|
|
8107
8127
|
var options51 = {
|
|
@@ -8115,7 +8135,7 @@ var ChipList = (props) => {
|
|
|
8115
8135
|
size = defaultProps48.size,
|
|
8116
8136
|
...other
|
|
8117
8137
|
} = props;
|
|
8118
|
-
return /* @__PURE__ */
|
|
8138
|
+
return /* @__PURE__ */ jsx140(
|
|
8119
8139
|
"div",
|
|
8120
8140
|
{
|
|
8121
8141
|
...other,
|
|
@@ -8136,29 +8156,29 @@ ChipList.className = CHIPLIST_CLASSNAME;
|
|
|
8136
8156
|
ChipList.defaultProps = defaultProps48;
|
|
8137
8157
|
|
|
8138
8158
|
// src/chip/templates/chip-avatar.tsx
|
|
8139
|
-
import { jsx as
|
|
8159
|
+
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
8140
8160
|
|
|
8141
8161
|
// src/chip/templates/chip-icon.tsx
|
|
8142
|
-
import { jsx as
|
|
8162
|
+
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
8143
8163
|
|
|
8144
8164
|
// src/chip/templates/chip-normal.tsx
|
|
8145
|
-
import { jsx as
|
|
8165
|
+
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
8146
8166
|
|
|
8147
8167
|
// src/chip/templates/chip-removable.tsx
|
|
8148
|
-
import { jsx as
|
|
8168
|
+
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
8149
8169
|
|
|
8150
8170
|
// src/prompt/templates/prompt-settings.tsx
|
|
8151
|
-
import { Fragment as
|
|
8171
|
+
import { Fragment as Fragment39, jsx as jsx145, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
8152
8172
|
|
|
8153
8173
|
// src/card/card-callout.tsx
|
|
8154
|
-
import { jsx as
|
|
8174
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
8155
8175
|
var CARDCALLOUT_CLASSNAME = `k-card-callout`;
|
|
8156
8176
|
var CardCallout = (props) => {
|
|
8157
8177
|
const {
|
|
8158
8178
|
callout,
|
|
8159
8179
|
...other
|
|
8160
8180
|
} = props;
|
|
8161
|
-
return /* @__PURE__ */
|
|
8181
|
+
return /* @__PURE__ */ jsx146(
|
|
8162
8182
|
"span",
|
|
8163
8183
|
{
|
|
8164
8184
|
...other,
|
|
@@ -8174,7 +8194,7 @@ var CardCallout = (props) => {
|
|
|
8174
8194
|
};
|
|
8175
8195
|
|
|
8176
8196
|
// src/card/card.spec.tsx
|
|
8177
|
-
import { Fragment as
|
|
8197
|
+
import { Fragment as Fragment40, jsx as jsx147, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
8178
8198
|
var CARD_CLASSNAME = `k-card`;
|
|
8179
8199
|
var states54 = [
|
|
8180
8200
|
States.hover,
|
|
@@ -8225,8 +8245,8 @@ var Card = (props) => {
|
|
|
8225
8245
|
}
|
|
8226
8246
|
),
|
|
8227
8247
|
children: [
|
|
8228
|
-
callout && callout !== "true" && /* @__PURE__ */
|
|
8229
|
-
/* @__PURE__ */
|
|
8248
|
+
callout && callout !== "true" && /* @__PURE__ */ jsx147(CardCallout, { callout }),
|
|
8249
|
+
/* @__PURE__ */ jsx147(Fragment40, { children: props.children })
|
|
8230
8250
|
]
|
|
8231
8251
|
}
|
|
8232
8252
|
);
|
|
@@ -8237,65 +8257,65 @@ Card.className = CARD_CLASSNAME;
|
|
|
8237
8257
|
Card.defaultProps = defaultProps49;
|
|
8238
8258
|
|
|
8239
8259
|
// src/card/card-title.tsx
|
|
8240
|
-
import { jsx as
|
|
8260
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
8241
8261
|
var states55 = [
|
|
8242
8262
|
States.hover,
|
|
8243
8263
|
States.focus
|
|
8244
8264
|
];
|
|
8245
8265
|
|
|
8246
8266
|
// src/card/card-subtitle.tsx
|
|
8247
|
-
import { jsx as
|
|
8267
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
8248
8268
|
|
|
8249
8269
|
// src/card/card-media.tsx
|
|
8250
|
-
import { Fragment as
|
|
8270
|
+
import { Fragment as Fragment41, jsx as jsx150 } from "react/jsx-runtime";
|
|
8251
8271
|
|
|
8252
8272
|
// src/card/card-header.tsx
|
|
8253
|
-
import { Fragment as
|
|
8273
|
+
import { Fragment as Fragment42, jsx as jsx151, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
8254
8274
|
|
|
8255
8275
|
// src/card/card-footer.tsx
|
|
8256
|
-
import { jsx as
|
|
8276
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
8257
8277
|
|
|
8258
8278
|
// src/card/card-body.tsx
|
|
8259
|
-
import { Fragment as
|
|
8279
|
+
import { Fragment as Fragment43, jsx as jsx153, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
8260
8280
|
|
|
8261
8281
|
// src/card/card-deck.tsx
|
|
8262
|
-
import { jsx as
|
|
8282
|
+
import { jsx as jsx154 } from "react/jsx-runtime";
|
|
8263
8283
|
|
|
8264
8284
|
// src/card/templates/card-normal.tsx
|
|
8265
|
-
import { Fragment as
|
|
8285
|
+
import { Fragment as Fragment44, jsx as jsx155, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
8266
8286
|
|
|
8267
8287
|
// src/card/templates/card-horizontal.tsx
|
|
8268
|
-
import { Fragment as
|
|
8288
|
+
import { Fragment as Fragment45, jsx as jsx156, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
8269
8289
|
|
|
8270
8290
|
// src/prompt/templates/prompt-output.tsx
|
|
8271
|
-
import { jsx as
|
|
8291
|
+
import { jsx as jsx157, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
8272
8292
|
|
|
8273
8293
|
// src/prompt/templates/prompt-more-actions.tsx
|
|
8274
|
-
import { jsx as
|
|
8294
|
+
import { jsx as jsx158, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
8275
8295
|
|
|
8276
8296
|
// src/prompt/templates/prompt-popup.tsx
|
|
8277
|
-
import { jsx as
|
|
8297
|
+
import { jsx as jsx159, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
8278
8298
|
|
|
8279
8299
|
// src/prompt/templates/prompt-suggestions.tsx
|
|
8280
|
-
import { Fragment as
|
|
8300
|
+
import { Fragment as Fragment46, jsx as jsx160, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
8281
8301
|
var PromptSuggestions = (props) => /* @__PURE__ */ jsxs67(Prompt, { ...props, children: [
|
|
8282
|
-
/* @__PURE__ */
|
|
8283
|
-
/* @__PURE__ */
|
|
8284
|
-
/* @__PURE__ */
|
|
8285
|
-
/* @__PURE__ */
|
|
8302
|
+
/* @__PURE__ */ jsx160(PromptHeader, { children: /* @__PURE__ */ jsxs67(Toolbar, { className: "k-toolbar-flat", children: [
|
|
8303
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "sparkles", rounded: "full", selected: true, children: "Ask AI" }),
|
|
8304
|
+
/* @__PURE__ */ jsx160(IconTextButton, { fillMode: "flat", themeColor: "primary", icon: "comment", rounded: "full", children: "Output" }),
|
|
8305
|
+
/* @__PURE__ */ jsx160(IconButton, { fillMode: "flat", themeColor: "primary", icon: "more-horizontal", rounded: "full" })
|
|
8286
8306
|
] }) }),
|
|
8287
|
-
/* @__PURE__ */
|
|
8288
|
-
|
|
8307
|
+
/* @__PURE__ */ jsx160(PromptContent, { children: /* @__PURE__ */ jsx160(
|
|
8308
|
+
PromptView,
|
|
8289
8309
|
{
|
|
8290
8310
|
showSearch: true,
|
|
8291
|
-
suggestions: /* @__PURE__ */ jsxs67(
|
|
8292
|
-
/* @__PURE__ */
|
|
8293
|
-
/* @__PURE__ */
|
|
8294
|
-
/* @__PURE__ */
|
|
8311
|
+
suggestions: /* @__PURE__ */ jsxs67(Fragment46, { children: [
|
|
8312
|
+
/* @__PURE__ */ jsx160(PromptSuggestion, { children: "Suggestion 1" }),
|
|
8313
|
+
/* @__PURE__ */ jsx160(PromptSuggestion, { children: "Suggestion 2" }),
|
|
8314
|
+
/* @__PURE__ */ jsx160(PromptSuggestion, { children: "Suggestion 3" })
|
|
8295
8315
|
] })
|
|
8296
8316
|
}
|
|
8297
|
-
),
|
|
8298
|
-
/* @__PURE__ */
|
|
8317
|
+
) }),
|
|
8318
|
+
/* @__PURE__ */ jsx160(PromptFooter, { children: /* @__PURE__ */ jsx160(ActionButtons, { className: "k-prompt-actions", alignment: "start", children: /* @__PURE__ */ jsx160(IconTextButton, { icon: "sparkles", themeColor: "primary", rounded: "full", children: "Generate" }) }) })
|
|
8299
8319
|
] });
|
|
8300
8320
|
export {
|
|
8301
8321
|
PromptSuggestions
|