@ui5/webcomponents-ai 0.0.0-bf8366eb6 → 0.0.0-d473b9686
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/CHANGELOG.md +0 -12
- package/dist/Button.d.ts +0 -31
- package/dist/Button.js +0 -26
- package/dist/Button.js.map +1 -1
- package/dist/bundle.esm.js +0 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/custom-elements-internal.json +1 -125
- package/dist/custom-elements.json +1 -119
- package/dist/vscode.html-custom-data.json +1 -26
- package/package.json +6 -6
- package/dist/PromptInput.d.ts +0 -25
- package/dist/PromptInput.js +0 -47
- package/dist/PromptInput.js.map +0 -1
- package/dist/PromtInput.d.ts +0 -4
- package/dist/PromtInput.js +0 -28
- package/dist/PromtInput.js.map +0 -1
- package/dist/web-types.json +0 -62
package/CHANGELOG.md
CHANGED
@@ -1,14 +1,2 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
|
-
|
6
|
-
# [2.0.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2024-05-29)
|
7
|
-
|
8
|
-
**Note:** Version bump only for package @ui5/webcomponents-ai
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
# Change Log
|
package/dist/Button.d.ts
CHANGED
@@ -1,41 +1,10 @@
|
|
1
1
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
2
|
/**
|
3
3
|
* @class
|
4
|
-
*
|
5
|
-
* ### Overview
|
6
|
-
*
|
7
|
-
* The `ui5-ai-button` component represents a button used in AI-related scenarios.
|
8
|
-
* It enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing
|
9
|
-
* certain keyboard keys, such as Enter.
|
10
|
-
*
|
11
|
-
* ### Usage
|
12
|
-
*
|
13
|
-
* For the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.
|
14
|
-
* Each state have a key that identifies it and can have text, icon, end icon, next state and hasPopup type defined (in any combination) depending on the state purpose.
|
15
|
-
*
|
16
|
-
* You can choose from a set of predefined designs that offer different styling to correspond to the triggered action.
|
17
|
-
*
|
18
|
-
* You can set the `ui5-ai-button` as enabled or disabled. An enabled `ui5-ai-button` can be pressed by clicking or tapping it. On press `ui5-ai-button` changes its state to the next one (if defined).
|
19
|
-
* the mouse cursor. A disabled `ui5-ai-button` appears inactive and cannot be pressed.
|
20
|
-
*
|
21
|
-
* ### ES6 Module Import
|
22
|
-
*
|
23
|
-
* `import "@ui5/webcomponents-ai/dist/Button.js";`
|
24
|
-
*
|
25
4
|
* @constructor
|
26
5
|
* @extends UI5Element
|
27
|
-
* @since 2.0
|
28
|
-
* @public
|
29
6
|
*/
|
30
7
|
declare class Button extends UI5Element {
|
31
|
-
/**
|
32
|
-
* Defines whether the component is disabled.
|
33
|
-
* A disabled component can't be pressed or
|
34
|
-
* focused, and it is not in the tab chain.
|
35
|
-
* @default false
|
36
|
-
* @public
|
37
|
-
*/
|
38
|
-
disabled: boolean;
|
39
8
|
icon: string;
|
40
9
|
endIcon: string;
|
41
10
|
}
|
package/dist/Button.js
CHANGED
@@ -16,37 +16,11 @@ import template from "./generated/templates/ButtonTemplate.lit.js";
|
|
16
16
|
import styles from "./generated/themes/Button.css.js";
|
17
17
|
/**
|
18
18
|
* @class
|
19
|
-
*
|
20
|
-
* ### Overview
|
21
|
-
*
|
22
|
-
* The `ui5-ai-button` component represents a button used in AI-related scenarios.
|
23
|
-
* It enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing
|
24
|
-
* certain keyboard keys, such as Enter.
|
25
|
-
*
|
26
|
-
* ### Usage
|
27
|
-
*
|
28
|
-
* For the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.
|
29
|
-
* Each state have a key that identifies it and can have text, icon, end icon, next state and hasPopup type defined (in any combination) depending on the state purpose.
|
30
|
-
*
|
31
|
-
* You can choose from a set of predefined designs that offer different styling to correspond to the triggered action.
|
32
|
-
*
|
33
|
-
* You can set the `ui5-ai-button` as enabled or disabled. An enabled `ui5-ai-button` can be pressed by clicking or tapping it. On press `ui5-ai-button` changes its state to the next one (if defined).
|
34
|
-
* the mouse cursor. A disabled `ui5-ai-button` appears inactive and cannot be pressed.
|
35
|
-
*
|
36
|
-
* ### ES6 Module Import
|
37
|
-
*
|
38
|
-
* `import "@ui5/webcomponents-ai/dist/Button.js";`
|
39
|
-
*
|
40
19
|
* @constructor
|
41
20
|
* @extends UI5Element
|
42
|
-
* @since 2.0
|
43
|
-
* @public
|
44
21
|
*/
|
45
22
|
let Button = class Button extends UI5Element {
|
46
23
|
};
|
47
|
-
__decorate([
|
48
|
-
property({ type: Boolean })
|
49
|
-
], Button.prototype, "disabled", void 0);
|
50
24
|
__decorate([
|
51
25
|
property()
|
52
26
|
], Button.prototype, "icon", void 0);
|
package/dist/Button.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../src/Button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO;AACP,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAE3D,WAAW;AACX,OAAO,QAAQ,MAAM,6CAA6C,CAAC;AAEnE,SAAS;AACT,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAEtD
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../src/Button.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO;AACP,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAE3D,WAAW;AACX,OAAO,QAAQ,MAAM,6CAA6C,CAAC;AAEnE,SAAS;AACT,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAEtD;;;;GAIG;AAQH,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,UAAU;CAM9B,CAAA;AAJA;IADC,QAAQ,EAAE;oCACG;AAGd;IADC,QAAQ,EAAE;uCACM;AALZ,MAAM;IAPX,aAAa,CAAC;QACd,GAAG,EAAE,eAAe;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ;QACR,MAAM;QACN,YAAY,EAAE,CAAC,UAAU,CAAC;KAC1B,CAAC;GACI,MAAM,CAMX;AAED,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,eAAe,MAAM,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\n\n// Deps\nimport MainButton from \"@ui5/webcomponents/dist/Button.js\";\n\n// Template\nimport template from \"./generated/templates/ButtonTemplate.lit.js\";\n\n// Styles\nimport styles from \"./generated/themes/Button.css.js\";\n\n/**\n * @class\n * @constructor\n * @extends UI5Element\n */\n@customElement({\n\ttag: \"ui5-ai-button\",\n\trenderer: litRender,\n\ttemplate,\n\tstyles,\n\tdependencies: [MainButton],\n})\nclass Button extends UI5Element {\n\t@property()\n\ticon!: string;\n\n\t@property()\n\tendIcon!: string;\n}\n\nButton.define();\n\nexport default Button;\n"]}
|
package/dist/bundle.esm.js
CHANGED
package/dist/bundle.esm.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bundle.esm.js","sourceRoot":"","sources":["../src/bundle.esm.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAE/D,YAAY;AACZ,OAAO,aAAa,CAAC;AAErB,OAAmB,aAAa,CAAC;
|
1
|
+
{"version":3,"file":"bundle.esm.js","sourceRoot":"","sources":["../src/bundle.esm.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAE/D,YAAY;AACZ,OAAO,aAAa,CAAC;AAErB,OAAmB,aAAa,CAAC;AAEjC,eAAe,UAAU,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport testAssets from \"@ui5/webcomponents/dist/bundle.esm.js\";\n\n// AI assets\nimport \"./Assets.js\";\n\nimport Button from \"./Button.js\";\n\nexport default testAssets;\n"]}
|
@@ -11,46 +11,7 @@
|
|
11
11
|
{
|
12
12
|
"kind": "javascript-module",
|
13
13
|
"path": "dist/Button.js",
|
14
|
-
"declarations": [
|
15
|
-
{
|
16
|
-
"kind": "class",
|
17
|
-
"description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a key that identifies it and can have text, icon, end icon, next state and hasPopup type defined (in any combination) depending on the state purpose.\n\nYou can choose from a set of predefined designs that offer different styling to correspond to the triggered action.\n\nYou can set the `ui5-ai-button` as enabled or disabled. An enabled `ui5-ai-button` can be pressed by clicking or tapping it. On press `ui5-ai-button` changes its state to the next one (if defined).\nthe mouse cursor. A disabled `ui5-ai-button` appears inactive and cannot be pressed.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`",
|
18
|
-
"name": "Button",
|
19
|
-
"members": [
|
20
|
-
{
|
21
|
-
"kind": "field",
|
22
|
-
"name": "disabled",
|
23
|
-
"type": {
|
24
|
-
"text": "boolean"
|
25
|
-
},
|
26
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
27
|
-
"default": "false",
|
28
|
-
"privacy": "public",
|
29
|
-
"_ui5validator": "Boolean"
|
30
|
-
}
|
31
|
-
],
|
32
|
-
"attributes": [
|
33
|
-
{
|
34
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
35
|
-
"name": "disabled",
|
36
|
-
"default": "false",
|
37
|
-
"fieldName": "disabled",
|
38
|
-
"type": {
|
39
|
-
"text": "boolean"
|
40
|
-
}
|
41
|
-
}
|
42
|
-
],
|
43
|
-
"superclass": {
|
44
|
-
"name": "UI5Element",
|
45
|
-
"package": "@ui5/webcomponents-base",
|
46
|
-
"module": "dist/UI5Element.js"
|
47
|
-
},
|
48
|
-
"tagName": "ui5-ai-button",
|
49
|
-
"customElement": true,
|
50
|
-
"_ui5since": "2.0",
|
51
|
-
"_ui5privacy": "public"
|
52
|
-
}
|
53
|
-
],
|
14
|
+
"declarations": [],
|
54
15
|
"exports": [
|
55
16
|
{
|
56
17
|
"kind": "js",
|
@@ -59,91 +20,6 @@
|
|
59
20
|
"name": "Button",
|
60
21
|
"module": "dist/Button.js"
|
61
22
|
}
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"kind": "custom-element-definition",
|
65
|
-
"name": "ui5-ai-button",
|
66
|
-
"declaration": {
|
67
|
-
"name": "Button",
|
68
|
-
"module": "dist/Button.js"
|
69
|
-
}
|
70
|
-
}
|
71
|
-
]
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"kind": "javascript-module",
|
75
|
-
"path": "dist/PromptInput.js",
|
76
|
-
"declarations": [
|
77
|
-
{
|
78
|
-
"kind": "class",
|
79
|
-
"description": "### Overview\n\nThe PromptInput is an AI component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\";`",
|
80
|
-
"name": "PromptInput",
|
81
|
-
"members": [
|
82
|
-
{
|
83
|
-
"kind": "field",
|
84
|
-
"name": "value",
|
85
|
-
"type": {
|
86
|
-
"text": "string"
|
87
|
-
},
|
88
|
-
"description": "Defines the value of the PromptInput.",
|
89
|
-
"privacy": "public",
|
90
|
-
"default": "\"\"",
|
91
|
-
"_ui5validator": "String"
|
92
|
-
}
|
93
|
-
],
|
94
|
-
"attributes": [
|
95
|
-
{
|
96
|
-
"description": "Defines the value of the PromptInput.",
|
97
|
-
"name": "value",
|
98
|
-
"default": "\"\"",
|
99
|
-
"fieldName": "value",
|
100
|
-
"type": {
|
101
|
-
"text": "string"
|
102
|
-
}
|
103
|
-
}
|
104
|
-
],
|
105
|
-
"superclass": {
|
106
|
-
"name": "UI5Element",
|
107
|
-
"package": "@ui5/webcomponents-base",
|
108
|
-
"module": "dist/UI5Element.js"
|
109
|
-
},
|
110
|
-
"tagName": "ui5-ai-prompt-input",
|
111
|
-
"customElement": true,
|
112
|
-
"_ui5since": "2.0",
|
113
|
-
"_ui5privacy": "public"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
"exports": [
|
117
|
-
{
|
118
|
-
"kind": "js",
|
119
|
-
"name": "default",
|
120
|
-
"declaration": {
|
121
|
-
"name": "PromptInput",
|
122
|
-
"module": "dist/PromptInput.js"
|
123
|
-
}
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"kind": "custom-element-definition",
|
127
|
-
"name": "ui5-ai-prompt-input",
|
128
|
-
"declaration": {
|
129
|
-
"name": "PromptInput",
|
130
|
-
"module": "dist/PromptInput.js"
|
131
|
-
}
|
132
|
-
}
|
133
|
-
]
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"kind": "javascript-module",
|
137
|
-
"path": "dist/PromtInput.js",
|
138
|
-
"declarations": [],
|
139
|
-
"exports": [
|
140
|
-
{
|
141
|
-
"kind": "js",
|
142
|
-
"name": "default",
|
143
|
-
"declaration": {
|
144
|
-
"name": "PromptInput",
|
145
|
-
"module": "dist/PromtInput.js"
|
146
|
-
}
|
147
23
|
}
|
148
24
|
]
|
149
25
|
}
|
@@ -11,43 +11,7 @@
|
|
11
11
|
{
|
12
12
|
"kind": "javascript-module",
|
13
13
|
"path": "dist/Button.js",
|
14
|
-
"declarations": [
|
15
|
-
{
|
16
|
-
"kind": "class",
|
17
|
-
"description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a key that identifies it and can have text, icon, end icon, next state and hasPopup type defined (in any combination) depending on the state purpose.\n\nYou can choose from a set of predefined designs that offer different styling to correspond to the triggered action.\n\nYou can set the `ui5-ai-button` as enabled or disabled. An enabled `ui5-ai-button` can be pressed by clicking or tapping it. On press `ui5-ai-button` changes its state to the next one (if defined).\nthe mouse cursor. A disabled `ui5-ai-button` appears inactive and cannot be pressed.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`",
|
18
|
-
"name": "Button",
|
19
|
-
"members": [
|
20
|
-
{
|
21
|
-
"kind": "field",
|
22
|
-
"name": "disabled",
|
23
|
-
"type": {
|
24
|
-
"text": "boolean"
|
25
|
-
},
|
26
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
27
|
-
"default": "false",
|
28
|
-
"privacy": "public"
|
29
|
-
}
|
30
|
-
],
|
31
|
-
"attributes": [
|
32
|
-
{
|
33
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
34
|
-
"name": "disabled",
|
35
|
-
"default": "false",
|
36
|
-
"fieldName": "disabled",
|
37
|
-
"type": {
|
38
|
-
"text": "boolean"
|
39
|
-
}
|
40
|
-
}
|
41
|
-
],
|
42
|
-
"superclass": {
|
43
|
-
"name": "UI5Element",
|
44
|
-
"package": "@ui5/webcomponents-base",
|
45
|
-
"module": "dist/UI5Element.js"
|
46
|
-
},
|
47
|
-
"tagName": "ui5-ai-button",
|
48
|
-
"customElement": true
|
49
|
-
}
|
50
|
-
],
|
14
|
+
"declarations": [],
|
51
15
|
"exports": [
|
52
16
|
{
|
53
17
|
"kind": "js",
|
@@ -56,88 +20,6 @@
|
|
56
20
|
"name": "Button",
|
57
21
|
"module": "dist/Button.js"
|
58
22
|
}
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"kind": "custom-element-definition",
|
62
|
-
"name": "ui5-ai-button",
|
63
|
-
"declaration": {
|
64
|
-
"name": "Button",
|
65
|
-
"module": "dist/Button.js"
|
66
|
-
}
|
67
|
-
}
|
68
|
-
]
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"kind": "javascript-module",
|
72
|
-
"path": "dist/PromptInput.js",
|
73
|
-
"declarations": [
|
74
|
-
{
|
75
|
-
"kind": "class",
|
76
|
-
"description": "### Overview\n\nThe PromptInput is an AI component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\";`",
|
77
|
-
"name": "PromptInput",
|
78
|
-
"members": [
|
79
|
-
{
|
80
|
-
"kind": "field",
|
81
|
-
"name": "value",
|
82
|
-
"type": {
|
83
|
-
"text": "string"
|
84
|
-
},
|
85
|
-
"description": "Defines the value of the PromptInput.",
|
86
|
-
"privacy": "public",
|
87
|
-
"default": "\"\""
|
88
|
-
}
|
89
|
-
],
|
90
|
-
"attributes": [
|
91
|
-
{
|
92
|
-
"description": "Defines the value of the PromptInput.",
|
93
|
-
"name": "value",
|
94
|
-
"default": "\"\"",
|
95
|
-
"fieldName": "value",
|
96
|
-
"type": {
|
97
|
-
"text": "string"
|
98
|
-
}
|
99
|
-
}
|
100
|
-
],
|
101
|
-
"superclass": {
|
102
|
-
"name": "UI5Element",
|
103
|
-
"package": "@ui5/webcomponents-base",
|
104
|
-
"module": "dist/UI5Element.js"
|
105
|
-
},
|
106
|
-
"tagName": "ui5-ai-prompt-input",
|
107
|
-
"customElement": true
|
108
|
-
}
|
109
|
-
],
|
110
|
-
"exports": [
|
111
|
-
{
|
112
|
-
"kind": "js",
|
113
|
-
"name": "default",
|
114
|
-
"declaration": {
|
115
|
-
"name": "PromptInput",
|
116
|
-
"module": "dist/PromptInput.js"
|
117
|
-
}
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"kind": "custom-element-definition",
|
121
|
-
"name": "ui5-ai-prompt-input",
|
122
|
-
"declaration": {
|
123
|
-
"name": "PromptInput",
|
124
|
-
"module": "dist/PromptInput.js"
|
125
|
-
}
|
126
|
-
}
|
127
|
-
]
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"kind": "javascript-module",
|
131
|
-
"path": "dist/PromtInput.js",
|
132
|
-
"declarations": [],
|
133
|
-
"exports": [
|
134
|
-
{
|
135
|
-
"kind": "js",
|
136
|
-
"name": "default",
|
137
|
-
"declaration": {
|
138
|
-
"name": "PromptInput",
|
139
|
-
"module": "dist/PromtInput.js"
|
140
|
-
}
|
141
23
|
}
|
142
24
|
]
|
143
25
|
}
|
@@ -1,29 +1,4 @@
|
|
1
1
|
{
|
2
2
|
"version": 1.1,
|
3
|
-
"tags": [
|
4
|
-
{
|
5
|
-
"name": "ui5-ai-button",
|
6
|
-
"description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a key that identifies it and can have text, icon, end icon, next state and hasPopup type defined (in any combination) depending on the state purpose.\n\nYou can choose from a set of predefined designs that offer different styling to correspond to the triggered action.\n\nYou can set the `ui5-ai-button` as enabled or disabled. An enabled `ui5-ai-button` can be pressed by clicking or tapping it. On press `ui5-ai-button` changes its state to the next one (if defined).\nthe mouse cursor. A disabled `ui5-ai-button` appears inactive and cannot be pressed.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`\n\n\n---\n\n\n",
|
7
|
-
"attributes": [
|
8
|
-
{
|
9
|
-
"name": "disabled",
|
10
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
11
|
-
"values": []
|
12
|
-
}
|
13
|
-
],
|
14
|
-
"references": []
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"name": "ui5-ai-prompt-input",
|
18
|
-
"description": "### Overview\n\nThe PromptInput is an AI component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\";`\n\n\n---\n\n\n",
|
19
|
-
"attributes": [
|
20
|
-
{
|
21
|
-
"name": "value",
|
22
|
-
"description": "Defines the value of the PromptInput.",
|
23
|
-
"values": []
|
24
|
-
}
|
25
|
-
],
|
26
|
-
"references": []
|
27
|
-
}
|
28
|
-
]
|
3
|
+
"tags": []
|
29
4
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ui5/webcomponents-ai",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-d473b9686",
|
4
4
|
"description": "UI5 Web Components: webcomponents.ai",
|
5
5
|
"ui5": {
|
6
6
|
"webComponentsPackage": true
|
@@ -45,13 +45,13 @@
|
|
45
45
|
"directory": "packages/ai"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@ui5/webcomponents": "0.0.0-
|
49
|
-
"@ui5/webcomponents-base": "0.0.0-
|
50
|
-
"@ui5/webcomponents-icons": "0.0.0-
|
51
|
-
"@ui5/webcomponents-theming": "0.0.0-
|
48
|
+
"@ui5/webcomponents": "0.0.0-d473b9686",
|
49
|
+
"@ui5/webcomponents-base": "0.0.0-d473b9686",
|
50
|
+
"@ui5/webcomponents-icons": "0.0.0-d473b9686",
|
51
|
+
"@ui5/webcomponents-theming": "0.0.0-d473b9686"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
|
-
"@ui5/webcomponents-tools": "0.0.0-
|
54
|
+
"@ui5/webcomponents-tools": "0.0.0-d473b9686",
|
55
55
|
"chromedriver": "^125.0.0"
|
56
56
|
}
|
57
57
|
}
|
package/dist/PromptInput.d.ts
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
|
-
/**
|
3
|
-
* @class
|
4
|
-
*
|
5
|
-
* ### Overview
|
6
|
-
*
|
7
|
-
* The PromptInput is an AI component.
|
8
|
-
*
|
9
|
-
* ### ES6 Module Import
|
10
|
-
*
|
11
|
-
* `import "@ui5/webcomponents-ai/dist/PromptInput.js";`
|
12
|
-
* @constructor
|
13
|
-
* @extends UI5Element
|
14
|
-
* @since 2.0
|
15
|
-
* @public
|
16
|
-
*/
|
17
|
-
declare class PromptInput extends UI5Element {
|
18
|
-
/**
|
19
|
-
* Defines the value of the PromptInput.
|
20
|
-
* @public
|
21
|
-
* @default ""
|
22
|
-
*/
|
23
|
-
value: string;
|
24
|
-
}
|
25
|
-
export default PromptInput;
|
package/dist/PromptInput.js
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
6
|
-
};
|
7
|
-
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
8
|
-
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
|
9
|
-
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
10
|
-
import Label from "@ui5/webcomponents/dist/Label.js";
|
11
|
-
import Input from "@ui5/webcomponents/dist/Input.js";
|
12
|
-
import Button from "@ui5/webcomponents/dist/Button.js";
|
13
|
-
import property from "@ui5/webcomponents-base/dist/decorators/property.js";
|
14
|
-
/**
|
15
|
-
* @class
|
16
|
-
*
|
17
|
-
* ### Overview
|
18
|
-
*
|
19
|
-
* The PromptInput is an AI component.
|
20
|
-
*
|
21
|
-
* ### ES6 Module Import
|
22
|
-
*
|
23
|
-
* `import "@ui5/webcomponents-ai/dist/PromptInput.js";`
|
24
|
-
* @constructor
|
25
|
-
* @extends UI5Element
|
26
|
-
* @since 2.0
|
27
|
-
* @public
|
28
|
-
*/
|
29
|
-
let PromptInput = class PromptInput extends UI5Element {
|
30
|
-
};
|
31
|
-
__decorate([
|
32
|
-
property()
|
33
|
-
], PromptInput.prototype, "value", void 0);
|
34
|
-
PromptInput = __decorate([
|
35
|
-
customElement({
|
36
|
-
tag: "ui5-ai-prompt-input",
|
37
|
-
renderer: litRender,
|
38
|
-
dependencies: [
|
39
|
-
Input,
|
40
|
-
Label,
|
41
|
-
Button,
|
42
|
-
],
|
43
|
-
})
|
44
|
-
], PromptInput);
|
45
|
-
PromptInput.define();
|
46
|
-
export default PromptInput;
|
47
|
-
//# sourceMappingURL=PromptInput.js.map
|
package/dist/PromptInput.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PromptInput.js","sourceRoot":"","sources":["../src/PromptInput.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO,KAAK,MAAM,kCAAkC,CAAC;AACrD,OAAO,KAAK,MAAM,kCAAkC,CAAC;AACrD,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAE3E;;;;;;;;;;;;;;GAcG;AAUH,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;CAQnC,CAAA;AADA;IADC,QAAQ,EAAE;0CACI;AAPV,WAAW;IAThB,aAAa,CAAC;QACd,GAAG,EAAE,qBAAqB;QAC1B,QAAQ,EAAE,SAAS;QACnB,YAAY,EAAE;YACb,KAAK;YACL,KAAK;YACL,MAAM;SACN;KACD,CAAC;GACI,WAAW,CAQhB;AAED,WAAW,CAAC,MAAM,EAAE,CAAC;AAErB,eAAe,WAAW,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\n\nimport Label from \"@ui5/webcomponents/dist/Label.js\";\nimport Input from \"@ui5/webcomponents/dist/Input.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The PromptInput is an AI component.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents-ai/dist/PromptInput.js\";`\n * @constructor\n * @extends UI5Element\n * @since 2.0\n * @public\n */\n@customElement({\n\ttag: \"ui5-ai-prompt-input\",\n\trenderer: litRender,\n\tdependencies: [\n\t\tInput,\n\t\tLabel,\n\t\tButton,\n\t],\n})\nclass PromptInput extends UI5Element {\n\t/**\n\t * Defines the value of the PromptInput.\n\t * @public\n\t * @default \"\"\n\t */\n\t@property()\n\tvalue!: string;\n}\n\nPromptInput.define();\n\nexport default PromptInput;\n"]}
|
package/dist/PromtInput.d.ts
DELETED
package/dist/PromtInput.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
6
|
-
};
|
7
|
-
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
8
|
-
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js";
|
9
|
-
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
10
|
-
import Label from "@ui5/webcomponents/dist/Label.js";
|
11
|
-
import Input from "@ui5/webcomponents/dist/Input.js";
|
12
|
-
import Button from "@ui5/webcomponents/dist/Button.js";
|
13
|
-
let PromptInput = class PromptInput extends UI5Element {
|
14
|
-
};
|
15
|
-
PromptInput = __decorate([
|
16
|
-
customElement({
|
17
|
-
tag: "ui5-ai-prompt-input",
|
18
|
-
renderer: litRender,
|
19
|
-
dependencies: [
|
20
|
-
Input,
|
21
|
-
Label,
|
22
|
-
Button,
|
23
|
-
],
|
24
|
-
})
|
25
|
-
], PromptInput);
|
26
|
-
PromptInput.define();
|
27
|
-
export default PromptInput;
|
28
|
-
//# sourceMappingURL=PromtInput.js.map
|
package/dist/PromtInput.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PromtInput.js","sourceRoot":"","sources":["../src/PromtInput.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO,KAAK,MAAM,kCAAkC,CAAC;AACrD,OAAO,KAAK,MAAM,kCAAkC,CAAC;AACrD,OAAO,MAAM,MAAM,mCAAmC,CAAC;AAWvD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;CACnC,CAAA;AADK,WAAW;IAThB,aAAa,CAAC;QACd,GAAG,EAAE,qBAAqB;QAC1B,QAAQ,EAAE,SAAS;QACnB,YAAY,EAAE;YACb,KAAK;YACL,KAAK;YACL,MAAM;SACN;KACD,CAAC;GACI,WAAW,CAChB;AAED,WAAW,CAAC,MAAM,EAAE,CAAC;AAErB,eAAe,WAAW,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\n\nimport Label from \"@ui5/webcomponents/dist/Label.js\";\nimport Input from \"@ui5/webcomponents/dist/Input.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\n\n@customElement({\n\ttag: \"ui5-ai-prompt-input\",\n\trenderer: litRender,\n\tdependencies: [\n\t\tInput,\n\t\tLabel,\n\t\tButton,\n\t],\n})\nclass PromptInput extends UI5Element {\n}\n\nPromptInput.define();\n\nexport default PromptInput;\n"]}
|
package/dist/web-types.json
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
|
-
"name": "@ui5/webcomponents-ai",
|
4
|
-
"version": "2.0.0-rc.4",
|
5
|
-
"description-markup": "markdown",
|
6
|
-
"contributions": {
|
7
|
-
"html": {
|
8
|
-
"elements": [
|
9
|
-
{
|
10
|
-
"name": "ui5-ai-button",
|
11
|
-
"description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a key that identifies it and can have text, icon, end icon, next state and hasPopup type defined (in any combination) depending on the state purpose.\n\nYou can choose from a set of predefined designs that offer different styling to correspond to the triggered action.\n\nYou can set the `ui5-ai-button` as enabled or disabled. An enabled `ui5-ai-button` can be pressed by clicking or tapping it. On press `ui5-ai-button` changes its state to the next one (if defined).\nthe mouse cursor. A disabled `ui5-ai-button` appears inactive and cannot be pressed.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`\n---\n",
|
12
|
-
"doc-url": "",
|
13
|
-
"attributes": [
|
14
|
-
{
|
15
|
-
"name": "disabled",
|
16
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
17
|
-
"value": { "type": "boolean", "default": "false" }
|
18
|
-
}
|
19
|
-
],
|
20
|
-
"events": [],
|
21
|
-
"js": {
|
22
|
-
"properties": [
|
23
|
-
{
|
24
|
-
"name": "disabled",
|
25
|
-
"description": "Defines whether the component is disabled.\nA disabled component can't be pressed or\nfocused, and it is not in the tab chain.",
|
26
|
-
"value": { "type": "boolean" }
|
27
|
-
}
|
28
|
-
],
|
29
|
-
"events": []
|
30
|
-
}
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"name": "ui5-ai-prompt-input",
|
34
|
-
"description": "### Overview\n\nThe PromptInput is an AI component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\";`\n---\n",
|
35
|
-
"doc-url": "",
|
36
|
-
"attributes": [
|
37
|
-
{
|
38
|
-
"name": "value",
|
39
|
-
"description": "Defines the value of the PromptInput.",
|
40
|
-
"value": { "type": "string", "default": "\"\"" }
|
41
|
-
}
|
42
|
-
],
|
43
|
-
"events": [],
|
44
|
-
"js": {
|
45
|
-
"properties": [
|
46
|
-
{
|
47
|
-
"name": "value",
|
48
|
-
"description": "Defines the value of the PromptInput.",
|
49
|
-
"value": { "type": "string" }
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"events": []
|
53
|
-
}
|
54
|
-
}
|
55
|
-
]
|
56
|
-
},
|
57
|
-
"css": {
|
58
|
-
"properties": [],
|
59
|
-
"pseudo-elements": []
|
60
|
-
}
|
61
|
-
}
|
62
|
-
}
|