@ui5/webcomponents-ai 0.0.0-d473b9686 → 0.0.0-f6676abdd
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/.nyc_output/out.json +1 -0
- package/CHANGELOG.md +449 -0
- package/README.md +6 -7
- package/coverage/clover.xml +6 -0
- package/coverage/coverage-final.json +1 -0
- package/coverage/coverage-summary.json +2 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/generated/themes/Button.css.ts.html +109 -0
- package/coverage/lcov-report/src/generated/themes/index.html +116 -0
- package/coverage/lcov.info +0 -0
- package/cypress/specs/Button.cy.tsx +14 -0
- package/cypress/support/commands.ts +1 -0
- package/cypress/support/component.ts +3 -0
- package/cypress/tsconfig.json +44 -0
- package/cypress.config.js +10 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/Button.d.ts +119 -2
- package/dist/Button.js +241 -12
- package/dist/Button.js.map +1 -1
- package/dist/ButtonState.d.ts +67 -0
- package/dist/ButtonState.js +64 -0
- package/dist/ButtonState.js.map +1 -0
- package/dist/ButtonTemplate.d.ts +2 -0
- package/dist/ButtonTemplate.js +6 -0
- package/dist/ButtonTemplate.js.map +1 -0
- package/dist/PromptInput.d.ts +147 -0
- package/dist/PromptInput.js +225 -0
- package/dist/PromptInput.js.map +1 -0
- package/dist/PromptInputTemplate.d.ts +2 -0
- package/dist/PromptInputTemplate.js +12 -0
- package/dist/PromptInputTemplate.js.map +1 -0
- package/dist/bundle.esm.js +3 -1
- package/dist/bundle.esm.js.map +1 -1
- package/dist/bundle.scoped.config.d.ts +1 -0
- package/dist/bundle.scoped.config.js +3 -0
- package/dist/bundle.scoped.config.js.map +1 -0
- package/dist/bundle.scoped.esm.d.ts +2 -1
- package/dist/bundle.scoped.esm.js +2 -2
- package/dist/bundle.scoped.esm.js.map +1 -1
- package/dist/css/themes/Button.css +1 -0
- package/dist/css/themes/PromptInput.css +1 -0
- package/dist/custom-elements-internal.json +609 -1
- package/dist/custom-elements.json +536 -1
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +4 -1
- package/dist/generated/i18n/i18n-defaults.js +3 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/json-imports/Themes-fetch.d.ts +1 -0
- package/dist/generated/json-imports/Themes-fetch.js +21 -0
- package/dist/generated/json-imports/Themes-fetch.js.map +1 -0
- package/dist/generated/json-imports/Themes.js.map +1 -1
- package/dist/generated/json-imports/i18n-fetch.d.ts +1 -0
- package/dist/generated/json-imports/i18n-fetch.js +118 -0
- package/dist/generated/json-imports/i18n-fetch.js.map +1 -0
- package/dist/generated/json-imports/i18n.d.ts +1 -0
- package/dist/generated/json-imports/i18n.js +117 -1
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/themes/Button.css.d.ts +2 -3
- package/dist/generated/themes/Button.css.js +2 -2
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/PromptInput.css.d.ts +2 -0
- package/dist/generated/themes/PromptInput.css.js +8 -0
- package/dist/generated/themes/PromptInput.css.js.map +1 -0
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +2 -3
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -2
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +2 -3
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -2
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +2 -3
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -2
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +2 -3
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -2
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +131 -1
- package/dist/web-types.json +315 -0
- package/package.json +11 -8
- package/src/ButtonTemplate.tsx +26 -0
- package/src/PromptInputTemplate.tsx +49 -0
- package/src/i18n/messagebundle.properties +6 -0
- package/src/i18n/messagebundle_ar.properties +4 -0
- package/src/i18n/messagebundle_bg.properties +4 -0
- package/src/i18n/messagebundle_ca.properties +4 -0
- package/src/i18n/messagebundle_cnr.properties +4 -0
- package/src/i18n/messagebundle_cs.properties +4 -0
- package/src/i18n/messagebundle_cy.properties +4 -0
- package/src/i18n/messagebundle_da.properties +4 -0
- package/src/i18n/messagebundle_de.properties +4 -0
- package/src/i18n/messagebundle_el.properties +4 -0
- package/src/i18n/messagebundle_en.properties +4 -0
- package/src/i18n/messagebundle_en_GB.properties +4 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +4 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +4 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +4 -0
- package/src/i18n/messagebundle_es.properties +4 -0
- package/src/i18n/messagebundle_es_MX.properties +4 -0
- package/src/i18n/messagebundle_et.properties +4 -0
- package/src/i18n/messagebundle_fi.properties +4 -0
- package/src/i18n/messagebundle_fr.properties +4 -0
- package/src/i18n/messagebundle_fr_CA.properties +4 -0
- package/src/i18n/messagebundle_hi.properties +4 -0
- package/src/i18n/messagebundle_hr.properties +4 -0
- package/src/i18n/messagebundle_hu.properties +4 -0
- package/src/i18n/messagebundle_id.properties +4 -0
- package/src/i18n/messagebundle_it.properties +4 -0
- package/src/i18n/messagebundle_iw.properties +4 -0
- package/src/i18n/messagebundle_ja.properties +4 -0
- package/src/i18n/messagebundle_kk.properties +4 -0
- package/src/i18n/messagebundle_ko.properties +4 -0
- package/src/i18n/messagebundle_lt.properties +4 -0
- package/src/i18n/messagebundle_lv.properties +4 -0
- package/src/i18n/messagebundle_mk.properties +4 -0
- package/src/i18n/messagebundle_ms.properties +4 -0
- package/src/i18n/messagebundle_nl.properties +4 -0
- package/src/i18n/messagebundle_no.properties +4 -0
- package/src/i18n/messagebundle_pl.properties +4 -0
- package/src/i18n/messagebundle_pt.properties +4 -0
- package/src/i18n/messagebundle_pt_PT.properties +4 -0
- package/src/i18n/messagebundle_ro.properties +4 -0
- package/src/i18n/messagebundle_ru.properties +4 -0
- package/src/i18n/messagebundle_sh.properties +4 -0
- package/src/i18n/messagebundle_sk.properties +4 -0
- package/src/i18n/messagebundle_sl.properties +4 -0
- package/src/i18n/messagebundle_sr.properties +4 -0
- package/src/i18n/messagebundle_sv.properties +4 -0
- package/src/i18n/messagebundle_th.properties +4 -0
- package/src/i18n/messagebundle_tr.properties +4 -0
- package/src/i18n/messagebundle_uk.properties +4 -0
- package/src/i18n/messagebundle_vi.properties +4 -0
- package/src/i18n/messagebundle_zh_CN.properties +4 -0
- package/src/i18n/messagebundle_zh_TW.properties +4 -0
- package/src/themes/Button.css +142 -0
- package/src/themes/PromptInput.css +30 -0
- package/tsconfig.json +55 -26
- package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/ButtonTemplate.lit.js +0 -5
- package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
- package/src/Button.hbs +0 -3
@@ -1,2 +1,8 @@
|
|
1
1
|
#This is the resource bundle for the UI5 Web Components
|
2
2
|
#__ldi.translation.uuid=96bea51a-d5e3-46f0-b1d1-514d97be02ec
|
3
|
+
|
4
|
+
#XTXT: Text for characters left
|
5
|
+
PROMPT_INPUT_CHARACTERS_LEFT={0} characters remaining
|
6
|
+
|
7
|
+
#XTXT: Text for characters over
|
8
|
+
PROMPT_INPUT_CHARACTERS_EXCEEDED={0} characters over limit
|
package/src/themes/Button.css
CHANGED
@@ -0,0 +1,142 @@
|
|
1
|
+
:host {
|
2
|
+
display: inline-block;
|
3
|
+
}
|
4
|
+
|
5
|
+
:host([disabled]) {
|
6
|
+
pointer-events: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.ui5-ai-button-text {
|
10
|
+
display: inline-block;
|
11
|
+
}
|
12
|
+
|
13
|
+
:host([icon-only]) .ui5-ai-button-text {
|
14
|
+
min-width: 0;
|
15
|
+
margin-inline-start: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
.ui5-ai-button-hidden {
|
19
|
+
position: absolute;
|
20
|
+
top: -10000px;
|
21
|
+
left: -10000px;
|
22
|
+
visibility: hidden;
|
23
|
+
display: block;
|
24
|
+
width: fit-content;
|
25
|
+
}
|
26
|
+
|
27
|
+
:host .ui5-ai-button-inner {
|
28
|
+
width: 100%;
|
29
|
+
}
|
30
|
+
|
31
|
+
/* Animated parts */
|
32
|
+
|
33
|
+
:host {
|
34
|
+
width: auto;
|
35
|
+
position: relative;
|
36
|
+
transition: width 0.18s cubic-bezier(0.67, 1, 0.95, 1.3) 0.12s;
|
37
|
+
}
|
38
|
+
|
39
|
+
:host(.ui5-ai-button-menu-to-button) .ui5-ai-button-inner::part(button),
|
40
|
+
:host(.ui5-ai-button-fade-out:not([icon-only])) .ui5-ai-button-inner::part(button) {
|
41
|
+
justify-content: flex-start;
|
42
|
+
}
|
43
|
+
|
44
|
+
:host([icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(textButton),
|
45
|
+
:host(.ui5-ai-button-menu-to-button[icon-only]) .ui5-ai-button-inner::part(textButton) {
|
46
|
+
min-width: var(--_ui5_button_base_min_width) !important;
|
47
|
+
max-width: var(--_ui5_button_base_min_width) !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
:host(.ui5-ai-button-menu-to-button) .ui5-ai-button-inner::part(button),
|
51
|
+
:host(.ui5-ai-button-fade-out:not([icon-only])) .ui5-ai-button-inner::part(button) {
|
52
|
+
justify-content: flex-start;
|
53
|
+
}
|
54
|
+
|
55
|
+
:host([icon-only]) .ui5-ai-button-inner[_end-icon]:not([_end-icon=""])::part(button),
|
56
|
+
:host([icon-only]) .ui5-ai-button-inner[_hide-arrow-button]::part(button) {
|
57
|
+
justify-content: flex-start;
|
58
|
+
padding-inline-start: var(--_ui5_button_base_padding);
|
59
|
+
}
|
60
|
+
|
61
|
+
:host(.ui5-ai-button-fade-in[icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(button) {
|
62
|
+
max-width: var(--_ui5_button_base_min_width);
|
63
|
+
}
|
64
|
+
|
65
|
+
:host([icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(textButton),
|
66
|
+
:host(.ui5-ai-button-menu-to-button[icon-only]) .ui5-ai-button-inner::part(textButton) {
|
67
|
+
min-width: var(--_ui5_button_base_min_width);
|
68
|
+
max-width: var(--_ui5_button_base_min_width);
|
69
|
+
}
|
70
|
+
|
71
|
+
:host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) .ui5-ai-button-text,
|
72
|
+
:host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) ::part(endIcon),
|
73
|
+
:host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) ::part(arrowButton) {
|
74
|
+
opacity: 1;
|
75
|
+
transform: translateY(0);
|
76
|
+
}
|
77
|
+
|
78
|
+
:host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(endIcon),
|
79
|
+
:host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(arrowButton) {
|
80
|
+
display: none;
|
81
|
+
transform: translateY(0);
|
82
|
+
opacity: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
:host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(endIcon),
|
86
|
+
:host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(arrowButton) {
|
87
|
+
display: none;
|
88
|
+
transform: translateY(0);
|
89
|
+
opacity: 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Fade out phase */
|
93
|
+
|
94
|
+
:host(.ui5-ai-button-fade-out) .ui5-ai-button-text {
|
95
|
+
opacity: 0;
|
96
|
+
transform: translateY(-1rem);
|
97
|
+
transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
|
98
|
+
}
|
99
|
+
|
100
|
+
:host(.ui5-ai-button-fade-out) ::part(icon)
|
101
|
+
{
|
102
|
+
opacity: 0;
|
103
|
+
transform: translateY(-1rem);
|
104
|
+
transition: opacity 0.05s ease-in-out 0.025s, transform 0.10s ease-in-out 0s;
|
105
|
+
}
|
106
|
+
|
107
|
+
:host(.ui5-ai-button-fade-out) ::part(endIcon) {
|
108
|
+
opacity: 0;
|
109
|
+
transform: translateY(-1rem);
|
110
|
+
transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
|
111
|
+
}
|
112
|
+
|
113
|
+
/* Fade middle phase */
|
114
|
+
|
115
|
+
:host(.ui5-ai-button-fade-mid) .ui5-ai-button-text,
|
116
|
+
:host(.ui5-ai-button-fade-mid) ::part(icon),
|
117
|
+
:host(.ui5-ai-button-fade-mid) ::part(endIcon),
|
118
|
+
:host(.ui5-ai-button-fade-mid) ::part(arrowButton) {
|
119
|
+
opacity: 0;
|
120
|
+
transform: translateY(1rem);
|
121
|
+
transition: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
/* Fade in phase */
|
125
|
+
|
126
|
+
:host(.ui5-ai-button-fade-in) .ui5-ai-button-text {
|
127
|
+
opacity: 1;
|
128
|
+
transform: translateY(0);
|
129
|
+
transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
|
130
|
+
}
|
131
|
+
|
132
|
+
:host(.ui5-ai-button-fade-in) ::part(icon) {
|
133
|
+
opacity: 1;
|
134
|
+
transform: translateY(0);
|
135
|
+
transition: opacity 0.05s ease-in-out 0.025s, transform 0.10s ease-in-out 0s;
|
136
|
+
}
|
137
|
+
|
138
|
+
:host(.ui5-ai-button-fade-in) ::part(endIcon) {
|
139
|
+
opacity: 1;
|
140
|
+
transform: translateY(0);
|
141
|
+
transition: opacity 0.06s ease-in-out 0.12s, transform 0.08s ease-in-out 0.12s;
|
142
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.ai-prompt-input-button {
|
2
|
+
margin-left: .5rem;
|
3
|
+
margin-top: 3px;
|
4
|
+
}
|
5
|
+
|
6
|
+
.ai-prompt-input-wrapper {
|
7
|
+
display: flex;
|
8
|
+
flex-direction: column;
|
9
|
+
width: 270px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.ai-prompt-input-form-wrapper {
|
13
|
+
display: flex;
|
14
|
+
flex: 1;
|
15
|
+
}
|
16
|
+
|
17
|
+
.ai-prompt-input-counter {
|
18
|
+
font-size: .75rem;
|
19
|
+
align-self: flex-end;
|
20
|
+
}
|
21
|
+
|
22
|
+
#input {
|
23
|
+
width: 100%;
|
24
|
+
}
|
25
|
+
|
26
|
+
.ai-prompt-inner-input-wrapper {
|
27
|
+
display: flex;
|
28
|
+
flex-direction: column;
|
29
|
+
flex: 1;
|
30
|
+
}
|
package/tsconfig.json
CHANGED
@@ -1,28 +1,57 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
2
|
+
"extends": "@ui5/webcomponents-tools/tsconfig.json",
|
3
|
+
"include": [
|
4
|
+
"src/**/*",
|
5
|
+
"global.d.ts"
|
6
|
+
],
|
7
|
+
"compilerOptions": {
|
8
|
+
"outDir": "dist",
|
9
|
+
"experimentalDecorators": true,
|
10
|
+
"composite": true,
|
11
|
+
"rootDir": "src",
|
12
|
+
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
13
|
+
"module": "NodeNext",
|
14
|
+
"moduleResolution": "NodeNext",
|
15
|
+
"verbatimModuleSyntax": true,
|
16
|
+
"paths": {
|
17
|
+
"@ui5/webcomponents-base/dist/*": [
|
18
|
+
"../base/src/*"
|
19
|
+
],
|
20
|
+
"@ui5/webcomponents-localization/dist/*": [
|
21
|
+
"../localization/src/*"
|
22
|
+
],
|
23
|
+
"@ui5/webcomponents-theming/dist/*": [
|
24
|
+
"../theming/src/*"
|
25
|
+
],
|
26
|
+
"@ui5/webcomponents-icons/dist/*": [
|
27
|
+
"../icons/src/*"
|
28
|
+
],
|
29
|
+
"@ui5/webcomponents-icons-business-suite/dist/*": [
|
30
|
+
"../icons-business-suite/src/*"
|
31
|
+
],
|
32
|
+
"@ui5/webcomponents-icons-tnt/dist/*": [
|
33
|
+
"../icons-tnt/src/*"
|
34
|
+
]
|
35
|
+
},
|
36
|
+
},
|
37
|
+
"references": [
|
38
|
+
{
|
39
|
+
"path": "../base"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"path": "../localization"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"path": "../theming"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"path": "../icons"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"path": "../icons-business-suite"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"path": "../icons-tnt"
|
55
|
+
},
|
56
|
+
]
|
28
57
|
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import type UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
|
-
import type Button from "../../Button.js";
|
3
|
-
declare function block0(this: Button, context: UI5Element, tags: string[], suffix: string | undefined): import("lit-html").TemplateResult;
|
4
|
-
export default block0;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/* eslint no-unused-vars: 0 */
|
2
|
-
import { html, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
3
|
-
function block0(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-button", tags, suffix)} icon="${ifDefined(this.icon)}" end-icon="${ifDefined(this.endIcon)}"><slot></slot></${scopeTag("ui5-button", tags, suffix)}>` : html `<ui5-button icon="${ifDefined(this.icon)}" end-icon="${ifDefined(this.endIcon)}"><slot></slot></ui5-button>`; }
|
4
|
-
export default block0;
|
5
|
-
//# sourceMappingURL=ButtonTemplate.lit.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ButtonTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/ButtonTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAmC,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAgB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,UAAU,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,qBAAqB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAA,CAAC;AAGnZ,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type Button from \"../../Button.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Button, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} icon=\"${ifDefined(this.icon)}\" end-icon=\"${ifDefined(this.endIcon)}\"><slot></slot></${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button icon=\"${ifDefined(this.icon)}\" end-icon=\"${ifDefined(this.endIcon)}\"><slot></slot></ui5-button>`;}\n\n\nexport default block0;"]}
|
package/src/Button.hbs
DELETED