@epa-wg/custom-element-dist 0.0.33 → 0.0.35
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/.claude/settings.local.json +18 -0
- package/.gitattributes +4 -0
- package/.github/workflows/deploy.yml +59 -0
- package/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/custom-element-dist.iml +2 -0
- package/.storybook/main.ts +20 -17
- package/.storybook/preview.ts +23 -23
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/README.md +6 -4
- package/coverage/block-navigation.js +1 -1
- package/coverage/coverage-final.json +4 -3
- package/coverage/index.html +34 -19
- package/coverage/sorter.js +21 -7
- package/coverage/src/custom-element/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js.html +448 -391
- package/coverage/src/custom-element/http-request.js/coverage.svg +1 -1
- package/coverage/src/custom-element/http-request.js.html +38 -17
- package/coverage/src/custom-element/index.html +26 -26
- package/coverage/src/custom-element/local-storage.js.html +1 -1
- package/coverage/src/custom-element/location-element.js.html +1 -1
- package/coverage/src/custom-element/module-url.js.html +1 -1
- package/coverage/src/index.html +1 -1
- package/coverage/src/material/theme/colors.js/coverage.svg +10 -0
- package/coverage/src/material/theme/colors.js.html +217 -0
- package/coverage/src/material/theme/coverage.svg +10 -0
- package/coverage/src/material/theme/index.html +116 -0
- package/coverage/src/mocks/handlers.ts.html +1 -1
- package/coverage/src/mocks/index.html +1 -1
- package/coverage/src/stories/frame.canvas.ts.html +1 -1
- package/coverage/src/stories/http-request.stories.ts.html +1 -1
- package/coverage/src/stories/index.html +1 -1
- package/coverage/src/stories/testStoryBook.ts.html +12 -12
- package/coverage/src/sum.ts.html +1 -1
- package/dist/custom-element-Bssk9jRy.cjs +97 -0
- package/dist/{custom-element-WnOqmEOe.js → custom-element-BzDjIYMe.js} +193 -183
- package/dist/custom-element-bundle.cjs +1 -1
- package/dist/custom-element-bundle.js +3 -3
- package/dist/demo/a.html +10 -3
- package/dist/demo/a.svg +26 -26
- package/dist/demo/html-template.html +4 -3
- package/dist/demo/s.xml +1 -75
- package/dist/demo/s.xslt +351 -72
- package/dist/demo/s1.xml +3706 -0
- package/dist/http-request-DSaowcG1.cjs +1 -0
- package/dist/{http-request-BOvP4KTl.js → http-request-DTCzZ1gc.js} +15 -9
- package/dist/mockServiceWorker.js +105 -63
- package/package.json +5 -4
- package/public/demo/a.html +10 -3
- package/public/demo/a.svg +26 -26
- package/public/demo/html-template.html +4 -3
- package/public/demo/s.xml +1 -75
- package/public/demo/s.xslt +351 -72
- package/public/demo/s1.xml +3706 -0
- package/public/mockServiceWorker.js +105 -63
- package/src/custom-element/custom-element.js +28 -9
- package/src/custom-element/demo/a.html +10 -3
- package/src/custom-element/demo/a.svg +26 -26
- package/src/custom-element/demo/html-template.html +4 -3
- package/src/custom-element/demo/s.xml +1 -75
- package/src/custom-element/demo/s.xslt +351 -72
- package/src/custom-element/demo/s1.xml +3706 -0
- package/src/custom-element/http-request.js +7 -0
- package/src/custom-element/ide/customData-dce.json +123 -0
- package/src/custom-element/ide/web-types-dce.json +128 -1
- package/src/custom-element/ide/web-types-xsl.json +1 -1
- package/src/material/angular.css +987 -987
- package/src/material/components/action.html +262 -0
- package/src/material/components/autocomplete.html +167 -239
- package/src/material/components/badge.html +238 -239
- package/src/material/components/dropdown.html +0 -1
- package/src/material/components/icon-link.html +160 -161
- package/src/material/components/icon.html +251 -252
- package/src/material/components/input.html +569 -570
- package/src/material/components/menu.html +235 -236
- package/src/material/components.html +157 -158
- package/src/material/demo.css +36 -36
- package/src/material/index.html +109 -110
- package/src/material/material.css +356 -356
- package/src/material/theme/Base-Principles.md +339 -0
- package/src/material/theme/README.md +298 -18
- package/src/material/theme/UI Domain Model in web applications.svg +1 -0
- package/src/material/theme/User Semantic Theme tokens.svg +1 -0
- package/src/material/theme/action-pending-poc.html +62 -0
- package/src/material/theme/actions-color.html +141 -0
- package/src/material/theme/colors-light.html +631 -0
- package/src/material/theme/colors-native.html +51 -0
- package/src/material/theme/colors-poc.html +66 -0
- package/src/material/theme/colors.html +297 -0
- package/src/material/theme/colors.js +44 -0
- package/src/material/theme/consumer-theme.css +745 -0
- package/src/material/theme/semantic.css +132 -132
- package/src/material/theme/style-bug.html +123 -0
- package/src/material/theme/theme-data.css +43 -0
- package/src/material/theme/theme-data.xhtml +2926 -0
- package/src/material/theme/todo.md +274 -0
- package/src/material/theme/tokens/action-colors.png +0 -0
- package/src/material/theme/tokens/cem-article-illustration-4x1-letterbox-2000x500.png +0 -0
- package/src/material/theme/tokens/cem-breakpoints.md +519 -0
- package/src/material/theme/tokens/cem-colors.md +715 -0
- package/src/material/theme/tokens/cem-consumerflow-typography-matrix.svg +198 -0
- package/src/material/theme/tokens/cem-coupling.md +372 -0
- package/src/material/theme/tokens/cem-data-vs-reading-numerals.svg +164 -0
- package/src/material/theme/tokens/cem-dimension.md +625 -0
- package/src/material/theme/tokens/cem-layering.md +562 -0
- package/src/material/theme/tokens/cem-m3-parity.md +343 -0
- package/src/material/theme/tokens/cem-responsive.md +238 -0
- package/src/material/theme/tokens/cem-shape.md +691 -0
- package/src/material/theme/tokens/cem-stroke-density-illustration-4to1-v3.svg +102 -0
- package/src/material/theme/tokens/cem-stroke.md +480 -0
- package/src/material/theme/tokens/cem-timing.md +198 -0
- package/src/material/theme/tokens/cem-typography-model-stack.svg +64 -0
- package/src/material/theme/tokens/cem-voice-fonts-typography.md +718 -0
- package/src/material/theme/tokens/cem-voice-ladder.svg +91 -0
- package/src/material/theme/tokens/chips.png +0 -0
- package/src/material/theme/tokens/columns-page.png +0 -0
- package/src/material/theme/tokens/initials.png +0 -0
- package/src/material/theme/tokens/nav-buttons.png +0 -0
- package/src/material/theme/tokens/script.png +0 -0
- package/src/material/theme/tokens/sufler.png +0 -0
- package/src/material/theme/tokens/typography-icons.png +0 -0
- package/src/mocks/versions.mock.ts +1 -1
- package/src/stories/__screenshots__/dom-merge.test.stories.ts/dom-merge-dom-merge-OrderPreservingOn2ndTransform-1.png +0 -0
- package/src/stories/__screenshots__/xslt-conditionals.test.stories.ts/xslt-conditionals-xslt-conditionals-MultipleIfOrderingWorkaround-1.png +0 -0
- package/src/stories/dom-merge.test.stories.ts +25 -1
- package/src/stories/xslt-conditionals.test.stories.ts +492 -0
- package/src/stories/xslt-for-each.test.stories.ts +336 -0
- package/src/stories/xslt-if.test.stories.ts +89 -0
- package/storybook-static/assets/{Color-F6OSRLHC-Cbp293x2.js → Color-F6OSRLHC-DeDlDLjU.js} +1 -1
- package/storybook-static/assets/{Configure-BrFr4SLE.js → Configure-CH_tIP5N.js} +1 -1
- package/storybook-static/assets/{DocsRenderer-CFRXHY34-DhHzJiIO.js → DocsRenderer-CFRXHY34-Bc9EPsUI.js} +2 -2
- package/storybook-static/assets/{attributes.test.stories-Gg9LQTEK.js → attributes.test.stories-BtamFQkF.js} +1 -1
- package/storybook-static/assets/{css.test.stories-B_3ltOrx.js → css.test.stories-BfNxLgwr.js} +1 -1
- package/storybook-static/assets/{custom-element-CPnvJnn8.js → custom-element-CnmjNo0g.js} +6 -6
- package/storybook-static/assets/{dom-merge.test.stories-nQxcgLoM.js → dom-merge.test.stories-DxnitrLK.js} +47 -6
- package/storybook-static/assets/entry-preview-BNCt9WBs.js +26 -0
- package/storybook-static/assets/{entry-preview-docs-Dwczwtsc.js → entry-preview-docs-CbF8-81D.js} +2 -2
- package/storybook-static/assets/{external-template.test.stories-DZ-rjnfd.js → external-template.test.stories-BTsww7B0.js} +1 -1
- package/storybook-static/assets/{form.test.stories-DQhPYtMj.js → form.test.stories-DNJFtPJb.js} +1 -1
- package/storybook-static/assets/{frame.canvas-ClTqYyMN.js → frame.canvas-E5n9h6j1.js} +1 -1
- package/storybook-static/assets/{handlers-CLkps6Nz.js → handlers-Dvg8CAeR.js} +1 -1
- package/storybook-static/assets/http-request-BWeEEBkP.js +1 -0
- package/storybook-static/assets/{http-request.stories-jo0f73nw.js → http-request.stories-DgrBNle8.js} +1 -1
- package/storybook-static/assets/{iframe-CZwRpnn9.js → iframe-DiVWehoI.js} +11 -11
- package/storybook-static/assets/{index-Dr4PwNfd.js → index-CGuyH0k-.js} +87 -87
- package/storybook-static/assets/{index-CJQtnF9V.js → index-CdEbhcV9.js} +1 -1
- package/storybook-static/assets/index-DO1nmyvI.js +11 -0
- package/storybook-static/assets/{index-B68YUdzy.js → index-w6iX3YlR.js} +3 -3
- package/storybook-static/assets/{local-storage.test.stories-uA5EKRPf.js → local-storage.test.stories-Hwq80yUr.js} +1 -1
- package/storybook-static/assets/{location-element.test.stories-Cu-6Elcg.js → location-element.test.stories-mEhZzm7x.js} +1 -1
- package/storybook-static/assets/{module-url.test.stories-CD_wusXQ.js → module-url.test.stories-Bj46iT0V.js} +1 -1
- package/storybook-static/assets/{preview-CuCH40jj.js → preview-BjbXcJci.js} +2 -2
- package/storybook-static/assets/{preview-BFlNN3Wj.js → preview-Bn8igYMp.js} +1 -1
- package/storybook-static/assets/{preview-Cm4PPhHS.js → preview-CfuT8gak.js} +1 -1
- package/storybook-static/assets/{set-url.test.stories-CY7B9BVZ.js → set-url.test.stories-hzxLcqmm.js} +1 -1
- package/storybook-static/assets/{slice-events.test.stories-BVnPXm6e.js → slice-events.test.stories-DVyXFRU1.js} +1 -1
- package/storybook-static/assets/{slots.test.stories-Dxsa9KdA.js → slots.test.stories-CS544nS4.js} +1 -1
- package/storybook-static/assets/{version-select.test.stories-Buga1PAa.js → version-select.test.stories-D36nfYBq.js} +1 -1
- package/storybook-static/assets/xslt-conditionals.test.stories-BS1PTIHe.js +633 -0
- package/storybook-static/assets/xslt-for-each.test.stories-CtPS20RK.js +329 -0
- package/storybook-static/assets/xslt-if.test.stories-DcHrAMSY.js +71 -0
- package/storybook-static/demo/a.html +10 -3
- package/storybook-static/demo/a.svg +26 -26
- package/storybook-static/demo/html-template.html +4 -3
- package/storybook-static/demo/s.xml +1 -75
- package/storybook-static/demo/s.xslt +351 -72
- package/storybook-static/demo/s1.xml +3706 -0
- package/storybook-static/iframe.html +2 -2
- package/storybook-static/index.json +1 -1
- package/storybook-static/mockServiceWorker.js +105 -63
- package/storybook-static/project.json +1 -1
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +69 -66
- package/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js +62 -59
- package/dist/custom-element-6slVaFEs.cjs +0 -97
- package/dist/http-request-DPrY7mGh.cjs +0 -1
- package/storybook-static/assets/attributes.test.stories-CzWkKw0e.js +0 -1
- package/storybook-static/assets/entry-preview-DHVXbf3x.js +0 -26
- package/storybook-static/assets/external-template.test.stories-BivZqBTp.js +0 -1
- package/storybook-static/assets/http-request-DNq59pnj.js +0 -1
- package/storybook-static/assets/index-BwkS7JH_.js +0 -8
- package/storybook-static/assets/module-url.test.stories-CTjUAk3J.js +0 -1
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import{w as r,e,f as s}from"./index-CGuyH0k-.js";import"./custom-element-CnmjNo0g.js";function m(d){const{title:t,tag:a,template:n,payload:i}=d;return`
|
|
2
|
+
<fieldset>
|
|
3
|
+
<legend>${t}</legend>
|
|
4
|
+
<custom-element tag="${a}" hidden>
|
|
5
|
+
<template>
|
|
6
|
+
${n}
|
|
7
|
+
</template>
|
|
8
|
+
</custom-element>
|
|
9
|
+
${i}
|
|
10
|
+
</fieldset>
|
|
11
|
+
`}const u={title:"xslt/for-each",render:m},l=`
|
|
12
|
+
<h6 id="cem-color-hue-variant" tabindex="-1">cem-color-hue-variant</h6>
|
|
13
|
+
<table>
|
|
14
|
+
<thead>
|
|
15
|
+
<tr>
|
|
16
|
+
<th>Token</th>
|
|
17
|
+
<th>Hue</th>
|
|
18
|
+
<th>Variant</th>
|
|
19
|
+
<th>Hex</th>
|
|
20
|
+
<th>Label</th>
|
|
21
|
+
<th>Intended use</th>
|
|
22
|
+
</tr>
|
|
23
|
+
</thead>
|
|
24
|
+
<tbody>
|
|
25
|
+
<tr>
|
|
26
|
+
<td><code>--cem-color-blue-xl</code></td>
|
|
27
|
+
<td>blue</td>
|
|
28
|
+
<td>xl</td>
|
|
29
|
+
<td><code>#faf9fd</code></td>
|
|
30
|
+
<td>Lightest blue</td>
|
|
31
|
+
<td>Comfort/trust emotion (light scene)</td>
|
|
32
|
+
</tr>
|
|
33
|
+
<tr>
|
|
34
|
+
<td><code>--cem-color-blue-l</code></td>
|
|
35
|
+
<td>blue</td>
|
|
36
|
+
<td>l</td>
|
|
37
|
+
<td><code>#d7e3ff</code></td>
|
|
38
|
+
<td>Light blue</td>
|
|
39
|
+
<td>Trust palette, attention semantic</td>
|
|
40
|
+
</tr>
|
|
41
|
+
<tr>
|
|
42
|
+
<td><code>--cem-color-blue-d</code></td>
|
|
43
|
+
<td>blue</td>
|
|
44
|
+
<td>d</td>
|
|
45
|
+
<td><code>#002f65</code></td>
|
|
46
|
+
<td>Dark blue</td>
|
|
47
|
+
<td>Trust palette (dark theme)</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<tr>
|
|
50
|
+
<td><code>--cem-color-blue-xd</code></td>
|
|
51
|
+
<td>blue</td>
|
|
52
|
+
<td>xd</td>
|
|
53
|
+
<td><code>#1a1b1f</code></td>
|
|
54
|
+
<td>Darkest blue</td>
|
|
55
|
+
<td>Comfort/trust emotion (dark scene)</td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td><code>--cem-color-brown-xl</code></td>
|
|
59
|
+
<td>brown</td>
|
|
60
|
+
<td>xl</td>
|
|
61
|
+
<td><code>#d7ccc8</code></td>
|
|
62
|
+
<td>Extra light brown</td>
|
|
63
|
+
<td>Conservative palette (light theme)</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<td><code>--cem-color-brown-l</code></td>
|
|
67
|
+
<td>brown</td>
|
|
68
|
+
<td>l</td>
|
|
69
|
+
<td><code>#a1887f</code></td>
|
|
70
|
+
<td>Light brown</td>
|
|
71
|
+
<td>Conservative emotion, brand-3</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<td><code>--cem-color-brown-d</code></td>
|
|
75
|
+
<td>brown</td>
|
|
76
|
+
<td>d</td>
|
|
77
|
+
<td><code>#4e342e</code></td>
|
|
78
|
+
<td>Dark brown</td>
|
|
79
|
+
<td>Conservative palette (dark theme)</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td><code>--cem-color-brown-xd</code></td>
|
|
83
|
+
<td>brown</td>
|
|
84
|
+
<td>xd</td>
|
|
85
|
+
<td><code>#3e2723</code></td>
|
|
86
|
+
<td>Extra dark brown</td>
|
|
87
|
+
<td>Conservative palette (dark theme, extreme)</td>
|
|
88
|
+
</tr>
|
|
89
|
+
<tr>
|
|
90
|
+
<td><code>--cem-color-cyan-xl</code></td>
|
|
91
|
+
<td>cyan</td>
|
|
92
|
+
<td>xl</td>
|
|
93
|
+
<td><code>#f1fefe</code></td>
|
|
94
|
+
<td>Extra light cyan</td>
|
|
95
|
+
<td>Used for comfort palette (light scenes)</td>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<td><code>--cem-color-cyan-l</code></td>
|
|
99
|
+
<td>cyan</td>
|
|
100
|
+
<td>l</td>
|
|
101
|
+
<td><code>#00fbfb</code></td>
|
|
102
|
+
<td>Light cyan</td>
|
|
103
|
+
<td>Calm palette, creativity accent</td>
|
|
104
|
+
</tr>
|
|
105
|
+
<tr>
|
|
106
|
+
<td><code>--cem-color-cyan-d</code></td>
|
|
107
|
+
<td>cyan</td>
|
|
108
|
+
<td>d</td>
|
|
109
|
+
<td><code>#006a6a</code></td>
|
|
110
|
+
<td>Dark cyan</td>
|
|
111
|
+
<td>Calm palette (dark theme)</td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr>
|
|
114
|
+
<td><code>--cem-color-cyan-xd</code></td>
|
|
115
|
+
<td>cyan</td>
|
|
116
|
+
<td>xd</td>
|
|
117
|
+
<td><code>#001010</code></td>
|
|
118
|
+
<td>Extra dark cyan</td>
|
|
119
|
+
<td>Used for comfort palette (dark scenes)</td>
|
|
120
|
+
</tr>
|
|
121
|
+
<tr>
|
|
122
|
+
<td><code>--cem-color-grey-l</code></td>
|
|
123
|
+
<td>grey</td>
|
|
124
|
+
<td>l</td>
|
|
125
|
+
<td><code>#f1f1eb</code></td>
|
|
126
|
+
<td>Light grey</td>
|
|
127
|
+
<td>Conservative palette, neutral backgrounds</td>
|
|
128
|
+
</tr>
|
|
129
|
+
<tr>
|
|
130
|
+
<td><code>--cem-color-grey-d</code></td>
|
|
131
|
+
<td>grey</td>
|
|
132
|
+
<td>d</td>
|
|
133
|
+
<td><code>#1a1c18</code></td>
|
|
134
|
+
<td>Dark grey</td>
|
|
135
|
+
<td>Conservative palette (dark theme)</td>
|
|
136
|
+
</tr>
|
|
137
|
+
<tr>
|
|
138
|
+
<td><code>--cem-color-orange-xl</code></td>
|
|
139
|
+
<td>orange</td>
|
|
140
|
+
<td>xl</td>
|
|
141
|
+
<td><code>#f0f070</code></td>
|
|
142
|
+
<td>Extra light yellow</td>
|
|
143
|
+
<td>Enthusiasm palette (light theme)</td>
|
|
144
|
+
</tr>
|
|
145
|
+
<tr>
|
|
146
|
+
<td><code>--cem-color-orange-l</code></td>
|
|
147
|
+
<td>orange</td>
|
|
148
|
+
<td>l</td>
|
|
149
|
+
<td><code>#ffe082</code></td>
|
|
150
|
+
<td>Light orange</td>
|
|
151
|
+
<td>Enthusiasm emotion, brand-2</td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr>
|
|
154
|
+
<td><code>--cem-color-orange-d</code></td>
|
|
155
|
+
<td>orange</td>
|
|
156
|
+
<td>d</td>
|
|
157
|
+
<td><code>#723600</code></td>
|
|
158
|
+
<td>Dark orange</td>
|
|
159
|
+
<td>Enthusiasm hype (dark theme)</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr>
|
|
162
|
+
<td><code>--cem-color-orange-xd</code></td>
|
|
163
|
+
<td>orange</td>
|
|
164
|
+
<td>xd</td>
|
|
165
|
+
<td><code>#502400</code></td>
|
|
166
|
+
<td>Extra dark orange</td>
|
|
167
|
+
<td>Enthusiasm palette (dark theme, extreme)</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<td><code>--cem-color-purple-xl</code></td>
|
|
171
|
+
<td>purple</td>
|
|
172
|
+
<td>xl</td>
|
|
173
|
+
<td><code>#f3e5f5</code></td>
|
|
174
|
+
<td>Extra light purple</td>
|
|
175
|
+
<td>Creativity palette (light theme)</td>
|
|
176
|
+
</tr>
|
|
177
|
+
<tr>
|
|
178
|
+
<td><code>--cem-color-purple-l</code></td>
|
|
179
|
+
<td>purple</td>
|
|
180
|
+
<td>l</td>
|
|
181
|
+
<td><code>#e1bee7</code></td>
|
|
182
|
+
<td>Light purple</td>
|
|
183
|
+
<td>Creativity emotion, brand-1</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<td><code>--cem-color-purple-d</code></td>
|
|
187
|
+
<td>purple</td>
|
|
188
|
+
<td>d</td>
|
|
189
|
+
<td><code>#6a1b9a</code></td>
|
|
190
|
+
<td>Dark purple</td>
|
|
191
|
+
<td>Creativity palette (dark theme)</td>
|
|
192
|
+
</tr>
|
|
193
|
+
<tr>
|
|
194
|
+
<td><code>--cem-color-purple-xd</code></td>
|
|
195
|
+
<td>purple</td>
|
|
196
|
+
<td>xd</td>
|
|
197
|
+
<td><code>#4a148c</code></td>
|
|
198
|
+
<td>Extra dark purple</td>
|
|
199
|
+
<td>Creativity palette (dark theme, extreme)</td>
|
|
200
|
+
</tr>
|
|
201
|
+
<tr>
|
|
202
|
+
<td><code>--cem-color-red-xl</code></td>
|
|
203
|
+
<td>red</td>
|
|
204
|
+
<td>xl</td>
|
|
205
|
+
<td><code>#ffb4ab</code></td>
|
|
206
|
+
<td>Extra light red</td>
|
|
207
|
+
<td>Danger palette (light theme)</td>
|
|
208
|
+
</tr>
|
|
209
|
+
<tr>
|
|
210
|
+
<td><code>--cem-color-red-l</code></td>
|
|
211
|
+
<td>red</td>
|
|
212
|
+
<td>l</td>
|
|
213
|
+
<td><code>#ba1a1a</code></td>
|
|
214
|
+
<td>Light red</td>
|
|
215
|
+
<td>Danger emotion, alert semantic</td>
|
|
216
|
+
</tr>
|
|
217
|
+
<tr>
|
|
218
|
+
<td><code>--cem-color-red-d</code></td>
|
|
219
|
+
<td>red</td>
|
|
220
|
+
<td>d</td>
|
|
221
|
+
<td><code>#690005</code></td>
|
|
222
|
+
<td>Dark red</td>
|
|
223
|
+
<td>Danger palette (dark theme)</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td><code>--cem-color-red-xd</code></td>
|
|
227
|
+
<td>red</td>
|
|
228
|
+
<td>xd</td>
|
|
229
|
+
<td><code>#410002</code></td>
|
|
230
|
+
<td>Extra dark red</td>
|
|
231
|
+
<td>Danger palette (dark theme, extreme)</td>
|
|
232
|
+
</tr>
|
|
233
|
+
</tbody>
|
|
234
|
+
</table>`,o={args:{title:"KNOWN ISSUE: Multiple IF blocks - out of order",tag:"multi-for-each",template:`
|
|
235
|
+
<div data-testid="whole-text">
|
|
236
|
+
<xsl:variable name="test-data">${l}</xsl:variable>
|
|
237
|
+
<hr/>
|
|
238
|
+
<variable name="cem-color-hue-variant" select="exsl:node-set($test-data)//*[@id='cem-color-hue-variant']/following-sibling::table[1]/tbody"></variable>
|
|
239
|
+
<for-each select="$cem-color-hue-variant/*">
|
|
240
|
+
|
|
241
|
+
<div data-testid="color-{position()}"> {./*[1]}</div>
|
|
242
|
+
</for-each>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
`,payload:`
|
|
246
|
+
<multi-for-each></multi-for-each>
|
|
247
|
+
`},play:async({canvasElement:d})=>{const t=r(d);e(await await t.findByTestId("color-1")).toBeInTheDocument(),e(await await t.findByText("--cem-color-blue-l")).toBeInTheDocument(),e(await await t.findByTestId("color-26")).toBeInTheDocument(),e(await await t.findByText("--cem-color-red-xd")).toBeInTheDocument()}},c={args:{title:"initially none, on check - all items in order 0 to N. N should be in the end",tag:"for-each-0-to-n",template:`
|
|
248
|
+
<div data-testid="whole-text">
|
|
249
|
+
<xsl:variable name="test-data">${l}</xsl:variable>
|
|
250
|
+
<label><input type="checkbox" data-testid="toggle-all" slice="show-all" value="ALL" /> ALL </label>
|
|
251
|
+
<variable name="cem-color-hue-variant" select="exsl:node-set($test-data)//*[@id='cem-color-hue-variant']/following-sibling::table[1]/tbody"></variable>
|
|
252
|
+
<variable name="show-all" select="//show-all = 'ALL'"></variable>
|
|
253
|
+
<hr/>
|
|
254
|
+
0
|
|
255
|
+
<for-each select="$cem-color-hue-variant/*[ $show-all ]">
|
|
256
|
+
|
|
257
|
+
<div data-testid="color-{position()}"> {position()} {./*[1]}</div>
|
|
258
|
+
</for-each>
|
|
259
|
+
N
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
`,payload:`
|
|
263
|
+
<for-each-0-to-n></for-each-0-to-n>
|
|
264
|
+
`},play:async({canvasElement:d})=>{const t=r(d),a=await t.findByTestId("whole-text");await e(a.textContent).toMatch(/0\s+N/),await s.click(await t.findByTestId("toggle-all")),await t.findByText("1--cem-color-blue-xl"),await e(await t.findByText("1--cem-color-blue-xl")).toBeInTheDocument(),await e(a.textContent).toMatch(/0\s+1--cem-color-blue-xl[\s\S]*26--cem-color-red-xd\s+N/)}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
|
|
265
|
+
args: {
|
|
266
|
+
title: 'KNOWN ISSUE: Multiple IF blocks - out of order',
|
|
267
|
+
tag: 'multi-for-each',
|
|
268
|
+
template: \`
|
|
269
|
+
<div data-testid="whole-text">
|
|
270
|
+
<xsl:variable name="test-data">\${Head6Table}</xsl:variable>
|
|
271
|
+
<hr/>
|
|
272
|
+
<variable name="cem-color-hue-variant" select="exsl:node-set($test-data)//*[@id='cem-color-hue-variant']/following-sibling::table[1]/tbody"></variable>
|
|
273
|
+
<for-each select="$cem-color-hue-variant/*">
|
|
274
|
+
|
|
275
|
+
<div data-testid="color-{position()}"> {./*[1]}</div>
|
|
276
|
+
</for-each>
|
|
277
|
+
</div>
|
|
278
|
+
|
|
279
|
+
\`,
|
|
280
|
+
payload: \`
|
|
281
|
+
<multi-for-each></multi-for-each>
|
|
282
|
+
\`
|
|
283
|
+
},
|
|
284
|
+
play: async ({
|
|
285
|
+
canvasElement
|
|
286
|
+
}) => {
|
|
287
|
+
const canvas = within(canvasElement);
|
|
288
|
+
expect(await await canvas.findByTestId('color-1')).toBeInTheDocument();
|
|
289
|
+
expect(await await canvas.findByText('--cem-color-blue-l')).toBeInTheDocument();
|
|
290
|
+
expect(await await canvas.findByTestId('color-26')).toBeInTheDocument();
|
|
291
|
+
expect(await await canvas.findByText('--cem-color-red-xd')).toBeInTheDocument();
|
|
292
|
+
}
|
|
293
|
+
}`,...o.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
|
|
294
|
+
args: {
|
|
295
|
+
title: 'initially none, on check - all items in order 0 to N. N should be in the end',
|
|
296
|
+
tag: 'for-each-0-to-n',
|
|
297
|
+
template: \`
|
|
298
|
+
<div data-testid="whole-text">
|
|
299
|
+
<xsl:variable name="test-data">\${Head6Table}</xsl:variable>
|
|
300
|
+
<label><input type="checkbox" data-testid="toggle-all" slice="show-all" value="ALL" /> ALL </label>
|
|
301
|
+
<variable name="cem-color-hue-variant" select="exsl:node-set($test-data)//*[@id='cem-color-hue-variant']/following-sibling::table[1]/tbody"></variable>
|
|
302
|
+
<variable name="show-all" select="//show-all = 'ALL'"></variable>
|
|
303
|
+
<hr/>
|
|
304
|
+
0
|
|
305
|
+
<for-each select="$cem-color-hue-variant/*[ $show-all ]">
|
|
306
|
+
|
|
307
|
+
<div data-testid="color-{position()}"> {position()} {./*[1]}</div>
|
|
308
|
+
</for-each>
|
|
309
|
+
N
|
|
310
|
+
</div>
|
|
311
|
+
|
|
312
|
+
\`,
|
|
313
|
+
payload: \`
|
|
314
|
+
<for-each-0-to-n></for-each-0-to-n>
|
|
315
|
+
\`
|
|
316
|
+
},
|
|
317
|
+
play: async ({
|
|
318
|
+
canvasElement
|
|
319
|
+
}) => {
|
|
320
|
+
const canvas = within(canvasElement);
|
|
321
|
+
const container = await canvas.findByTestId('whole-text');
|
|
322
|
+
await expect(container.textContent).toMatch(/0\\s+N/);
|
|
323
|
+
await fireEvent.click(await canvas.findByTestId('toggle-all'));
|
|
324
|
+
await canvas.findByText('1--cem-color-blue-xl');
|
|
325
|
+
await expect(await canvas.findByText('1--cem-color-blue-xl')).toBeInTheDocument();
|
|
326
|
+
// should start with 0 and end with N
|
|
327
|
+
await expect(container.textContent).toMatch(/0\\s+1--cem-color-blue-xl[\\s\\S]*26--cem-color-red-xd\\s+N/);
|
|
328
|
+
}
|
|
329
|
+
}`,...c.parameters?.docs?.source}}};const x=["ForEach","ForEach_0_2_N"];export{o as ForEach,c as ForEach_0_2_N,x as __namedExportsOrder,u as default};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import{w as l,e as a,u as c}from"./index-CGuyH0k-.js";import"./custom-element-CnmjNo0g.js";function d(i){const{title:e,tag:t,template:s,payload:n}=i;return`
|
|
2
|
+
<fieldset>
|
|
3
|
+
<legend>${e}</legend>
|
|
4
|
+
<custom-element tag="${t}" hidden>
|
|
5
|
+
<template>
|
|
6
|
+
${s}
|
|
7
|
+
</template>
|
|
8
|
+
</custom-element>
|
|
9
|
+
${n}
|
|
10
|
+
</fieldset>
|
|
11
|
+
`}const f={title:"xslt/if",render:d},o={args:{title:"KNOWN ISSUE: Multiple IF blocks - out of order",tag:"multi-if-order-issue",template:`
|
|
12
|
+
<div data-testid="whole-text">
|
|
13
|
+
<label><input type="checkbox" data-testid="toggle-a" slice="show-a" value="AA" /> A</label>
|
|
14
|
+
|
|
15
|
+
<hr/>
|
|
16
|
+
▶
|
|
17
|
+
<if test="//show-a = 'AA'">
|
|
18
|
+
!A
|
|
19
|
+
</if>
|
|
20
|
+
◀
|
|
21
|
+
</div>
|
|
22
|
+
<if test="//show-a = 'AA'">
|
|
23
|
+
<div data-testid="t-1">T1</div>
|
|
24
|
+
</if>
|
|
25
|
+
`,payload:`
|
|
26
|
+
<multi-if-order-issue></multi-if-order-issue>
|
|
27
|
+
`},play:async({canvasElement:i})=>{const e=l(i),t=await e.findByTestId("whole-text");a(t.textContent).to.toMatch(/▶\s+◀/);const s=await e.findByTestId("toggle-a");debugger;await c.click(s),a(await await e.findByTestId("t-1")).toBeInTheDocument(),a(t.textContent).to.toMatch(/\!A/),a(t.textContent).to.toMatch(/▶\s+\!A/),a(t.textContent).to.toMatch(/\!A\s+◀/)}};o.parameters={...o.parameters,docs:{...o.parameters?.docs,source:{originalSource:`{
|
|
28
|
+
args: {
|
|
29
|
+
title: 'KNOWN ISSUE: Multiple IF blocks - out of order',
|
|
30
|
+
tag: 'multi-if-order-issue',
|
|
31
|
+
template: \`
|
|
32
|
+
<div data-testid="whole-text">
|
|
33
|
+
<label><input type="checkbox" data-testid="toggle-a" slice="show-a" value="AA" /> A</label>
|
|
34
|
+
|
|
35
|
+
<hr/>
|
|
36
|
+
▶
|
|
37
|
+
<if test="//show-a = 'AA'">
|
|
38
|
+
!A
|
|
39
|
+
</if>
|
|
40
|
+
◀
|
|
41
|
+
</div>
|
|
42
|
+
<if test="//show-a = 'AA'">
|
|
43
|
+
<div data-testid="t-1">T1</div>
|
|
44
|
+
</if>
|
|
45
|
+
\`,
|
|
46
|
+
payload: \`
|
|
47
|
+
<multi-if-order-issue></multi-if-order-issue>
|
|
48
|
+
\`
|
|
49
|
+
},
|
|
50
|
+
play: async ({
|
|
51
|
+
canvasElement
|
|
52
|
+
}) => {
|
|
53
|
+
const canvas = within(canvasElement);
|
|
54
|
+
|
|
55
|
+
// Initially ▶\\s+◀ should be visible, !A should not
|
|
56
|
+
const container = await canvas.findByTestId('whole-text');
|
|
57
|
+
expect(container.textContent).to.toMatch(/▶\\s+◀/);
|
|
58
|
+
|
|
59
|
+
// check A - show !A
|
|
60
|
+
const toggleA = await canvas.findByTestId('toggle-a');
|
|
61
|
+
debugger;
|
|
62
|
+
await userEvent.click(toggleA);
|
|
63
|
+
expect(await await canvas.findByTestId('t-1')).toBeInTheDocument();
|
|
64
|
+
// !A is rendered
|
|
65
|
+
expect(container.textContent).to.toMatch(/\\!A/);
|
|
66
|
+
// !A afer ▶
|
|
67
|
+
expect(container.textContent).to.toMatch(/▶\\s+\\!A/);
|
|
68
|
+
// !A before ◀
|
|
69
|
+
expect(container.textContent).to.toMatch(/\\!A\\s+◀/);
|
|
70
|
+
}
|
|
71
|
+
}`,...o.parameters?.docs?.source}}};const p=["MultipleIfOrderingIssue"];export{o as MultipleIfOrderingIssue,p as __namedExportsOrder,f as default};
|
|
@@ -63,11 +63,18 @@
|
|
|
63
63
|
<body>
|
|
64
64
|
|
|
65
65
|
|
|
66
|
+
<custom-element tag="dce-link2" >
|
|
67
|
+
<template>
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
<template><i>loading SVG from templates file ...</i></template>
|
|
69
|
-
</custom-element>
|
|
69
|
+
<attribute name="p3" select="//attributes/p3 ?? 'def_P3' "></attribute>
|
|
70
70
|
|
|
71
|
+
p3: <code data-testid="t3">{$p3}</code>
|
|
72
|
+
</template>
|
|
73
|
+
</custom-element>
|
|
74
|
+
<section>
|
|
75
|
+
<dce-link2 id="dce2" p1="123" p2="override ignored as select is defined"></dce-link2>
|
|
76
|
+
|
|
77
|
+
</section>
|
|
71
78
|
|
|
72
79
|
</body>
|
|
73
80
|
</html>
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<svg id="dwc-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 216 209.18" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
2
|
-
<defs>
|
|
3
|
-
|
|
4
|
-
</defs>
|
|
5
|
-
<polygon class="cls-3" points="0 82.47 0 126.71 34.84 146.83 34.84 187.06 73.16 209.18 108 189.07 142.84 209.18 181.16 187.06 181.16 146.83 216 126.71 216 82.47 181.16 62.35 181.16 22.12 142.84 0 108 20.12 73.16 0 34.84 22.12 34.84 62.35 0 82.47"/>
|
|
6
|
-
<path class="cls-2" d="m114.33,56.69l20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0Z"/>
|
|
7
|
-
<path class="cls-2" d="m98.19,62.71h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
8
|
-
<path class="cls-1" d="m48.12,66.01l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97Z"/>
|
|
9
|
-
<path class="cls-2" d="m46.18,24.66l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0s20.64-11.92,20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06Z"/>
|
|
10
|
-
<path class="cls-2" d="m115.87,24.66l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0s20.64-11.92,20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06Z"/>
|
|
11
|
-
<path class="cls-2" d="m152.65,42.59c-4.44,2.56-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0v-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92h0Z"/>
|
|
12
|
-
<path class="cls-2" d="m77.55,158.4l20.65-11.92h0c4.44-2.57,6.33-5.84,6.33-10.97v-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92c-4.44,2.57-6.33,5.84-6.33,10.97h0s0,23.84,0,23.84c0,.54.45.8.92.54Z"/>
|
|
13
|
-
<path class="cls-4" d="m146.31,134.03v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0s0-23.84,0-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97Z"/>
|
|
14
|
-
<path class="cls-4" d="m63.35,123.06h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
15
|
-
<path class="cls-4" d="m103.61,151.37l-20.64,11.92c-4.44,2.57-6.33,5.84-6.33,10.97h0s0,23.84,0,23.84c0,.54.45.8.92.54l20.65-11.92h0c4.44-2.57,6.33-5.84,6.33-10.97v-23.84c0-.54-.45-.8-.92-.53Z"/>
|
|
16
|
-
<path class="cls-4" d="m63.35,163.29h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
17
|
-
<path class="cls-4" d="m28.51,102.94h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
18
|
-
<path class="cls-4" d="m133.04,163.29l-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84c0,5.13,1.89,8.4,6.33,10.97h0s20.65,11.92,20.65,11.92c.47.27.92,0,.92-.54v-23.84s0,0,0,0c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
19
|
-
<path class="cls-4" d="m173.29,151.37l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0s0-23.84,0-23.84c0-.54-.45-.8-.92-.53Z"/>
|
|
20
|
-
<path class="cls-4" d="m209.06,91.55c0-.54-.45-.8-.92-.53l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0v-23.84Z"/>
|
|
21
|
-
<path class="cls-2" d="m149.18,117.04l20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0Z"/>
|
|
22
|
-
<path class="cls-1" d="m112.39,98.05l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0v-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54Z"/>
|
|
23
|
-
<path class="cls-1" d="m100.13,105.12c.47-.27.47-.79,0-1.06l-20.65-11.92c-4.44-2.57-8.22-2.57-12.67,0h0s-20.65,11.92-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92h0c4.44,2.57,8.22,2.57,12.67,0l20.64-11.92Z"/>
|
|
24
|
-
<path class="cls-2" d="m65.29,85.01c.47-.27.47-.79,0-1.06l-20.65-11.92c-4.44-2.57-8.22-2.57-12.67,0h0s-20.65,11.92-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92h0c4.44,2.57,8.22,2.57,12.67,0l20.64-11.92Z"/>
|
|
25
|
-
<path class="cls-1" d="m133.04,123.06l-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84c0,5.13,1.89,8.4,6.33,10.97h0s20.65,11.92,20.65,11.92c.47.27.92,0,.92-.54v-23.84s0,0,0,0c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
26
|
-
<path class="cls-1" d="m184.02,96.93l20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0Z"/>
|
|
1
|
+
<svg id="dwc-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 216 209.18" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
2
|
+
<defs>
|
|
3
|
+
|
|
4
|
+
</defs>
|
|
5
|
+
<polygon class="cls-3" points="0 82.47 0 126.71 34.84 146.83 34.84 187.06 73.16 209.18 108 189.07 142.84 209.18 181.16 187.06 181.16 146.83 216 126.71 216 82.47 181.16 62.35 181.16 22.12 142.84 0 108 20.12 73.16 0 34.84 22.12 34.84 62.35 0 82.47"/>
|
|
6
|
+
<path class="cls-2" d="m114.33,56.69l20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0Z"/>
|
|
7
|
+
<path class="cls-2" d="m98.19,62.71h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
8
|
+
<path class="cls-1" d="m48.12,66.01l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97Z"/>
|
|
9
|
+
<path class="cls-2" d="m46.18,24.66l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0s20.64-11.92,20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06Z"/>
|
|
10
|
+
<path class="cls-2" d="m115.87,24.66l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0s20.64-11.92,20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06Z"/>
|
|
11
|
+
<path class="cls-2" d="m152.65,42.59c-4.44,2.56-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0v-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92h0Z"/>
|
|
12
|
+
<path class="cls-2" d="m77.55,158.4l20.65-11.92h0c4.44-2.57,6.33-5.84,6.33-10.97v-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92c-4.44,2.57-6.33,5.84-6.33,10.97h0s0,23.84,0,23.84c0,.54.45.8.92.54Z"/>
|
|
13
|
+
<path class="cls-4" d="m146.31,134.03v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0s0-23.84,0-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97Z"/>
|
|
14
|
+
<path class="cls-4" d="m63.35,123.06h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
15
|
+
<path class="cls-4" d="m103.61,151.37l-20.64,11.92c-4.44,2.57-6.33,5.84-6.33,10.97h0s0,23.84,0,23.84c0,.54.45.8.92.54l20.65-11.92h0c4.44-2.57,6.33-5.84,6.33-10.97v-23.84c0-.54-.45-.8-.92-.53Z"/>
|
|
16
|
+
<path class="cls-4" d="m63.35,163.29h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
17
|
+
<path class="cls-4" d="m28.51,102.94h0s-20.64-11.92-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84s0,0,0,0c0,5.13,1.89,8.4,6.33,10.97l20.65,11.92c.47.27.92,0,.92-.54v-23.84c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
18
|
+
<path class="cls-4" d="m133.04,163.29l-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84c0,5.13,1.89,8.4,6.33,10.97h0s20.65,11.92,20.65,11.92c.47.27.92,0,.92-.54v-23.84s0,0,0,0c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
19
|
+
<path class="cls-4" d="m173.29,151.37l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0s0-23.84,0-23.84c0-.54-.45-.8-.92-.53Z"/>
|
|
20
|
+
<path class="cls-4" d="m209.06,91.55c0-.54-.45-.8-.92-.53l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0v-23.84Z"/>
|
|
21
|
+
<path class="cls-2" d="m149.18,117.04l20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0Z"/>
|
|
22
|
+
<path class="cls-1" d="m112.39,98.05l20.65-11.92c4.44-2.57,6.33-5.84,6.33-10.97h0v-23.84c0-.54-.45-.8-.92-.53l-20.64,11.92h0c-4.44,2.57-6.33,5.84-6.33,10.97v23.84c0,.54.45.8.92.54Z"/>
|
|
23
|
+
<path class="cls-1" d="m100.13,105.12c.47-.27.47-.79,0-1.06l-20.65-11.92c-4.44-2.57-8.22-2.57-12.67,0h0s-20.65,11.92-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92h0c4.44,2.57,8.22,2.57,12.67,0l20.64-11.92Z"/>
|
|
24
|
+
<path class="cls-2" d="m65.29,85.01c.47-.27.47-.79,0-1.06l-20.65-11.92c-4.44-2.57-8.22-2.57-12.67,0h0s-20.65,11.92-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92h0c4.44,2.57,8.22,2.57,12.67,0l20.64-11.92Z"/>
|
|
25
|
+
<path class="cls-1" d="m133.04,123.06l-20.64-11.92c-.47-.27-.92-.01-.92.53v23.84c0,5.13,1.89,8.4,6.33,10.97h0s20.65,11.92,20.65,11.92c.47.27.92,0,.92-.54v-23.84s0,0,0,0c0-5.13-1.89-8.4-6.33-10.97Z"/>
|
|
26
|
+
<path class="cls-1" d="m184.02,96.93l20.64-11.92c.47-.27.47-.79,0-1.06l-20.65-11.92h0c-4.44-2.57-8.22-2.57-12.67,0l-20.65,11.92c-.47.27-.47.79,0,1.06l20.64,11.92c4.44,2.57,8.22,2.57,12.67,0h0Z"/>
|
|
27
27
|
</svg>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
3
3
|
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
4
5
|
<title>template based on HTML file</title>
|
|
5
6
|
<style>svg {
|
|
6
7
|
width: 4rem;
|
|
@@ -8,9 +9,9 @@
|
|
|
8
9
|
</head>
|
|
9
10
|
<body>
|
|
10
11
|
<script>console.error('Stranger danger!')</script>
|
|
11
|
-
<b id="wave">👋</b>
|
|
12
|
-
<b id="ok">👌</b>
|
|
13
|
-
<svg id="dwc-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 216 209.18">
|
|
12
|
+
<b id="wave" data-testid="wave" >👋</b>
|
|
13
|
+
<b id="ok" data-testid="ok" >👌</b>
|
|
14
|
+
<svg id="dwc-logo" data-testid="dwc-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 216 209.18">
|
|
14
15
|
<defs>
|
|
15
16
|
<style>.cls-1 {
|
|
16
17
|
fill: #c2e6f1;
|
|
@@ -1,75 +1 @@
|
|
|
1
|
-
|
|
2
|
-
<datadom>
|
|
3
|
-
<payload xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
|
4
|
-
<div xmlns="http://www.w3.org/1999/xhtml" slot="leading" data-dce-id="4">
|
|
5
|
-
<cem-icon image="history_edu" class="input-focused" data-dce-id="5">
|
|
6
|
-
<dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
7
|
-
xmlns:dce="urn:schemas-epa-wg:dce" data-dce-id="1">
|
|
8
|
-
<span xmlns="" class="icon material-icons" data-dce-id="5">history_edu</span>
|
|
9
|
-
</dce-root>
|
|
10
|
-
</cem-icon>
|
|
11
|
-
<cem-icon image="edit" class="input-unfocused" data-dce-id="6">
|
|
12
|
-
<dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
13
|
-
xmlns:dce="urn:schemas-epa-wg:dce" data-dce-id="1">
|
|
14
|
-
<span xmlns="" class="icon material-icons" data-dce-id="5">edit</span>
|
|
15
|
-
</dce-root>
|
|
16
|
-
</cem-icon>
|
|
17
|
-
</div>
|
|
18
|
-
<div xmlns="http://www.w3.org/1999/xhtml" slot="trailing" data-dce-id="7">
|
|
19
|
-
<label class="eye-contailer" for="visible-cb" data-dce-id="8">
|
|
20
|
-
<cem-icon image="visibility" class="visible-ico" tabindex="0" data-dce-id="9">
|
|
21
|
-
<dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
22
|
-
xmlns:dce="urn:schemas-epa-wg:dce" data-dce-id="1">
|
|
23
|
-
<span xmlns="" class="icon material-icons" data-dce-id="5">visibility</span>
|
|
24
|
-
</dce-root>
|
|
25
|
-
</cem-icon>
|
|
26
|
-
<cem-icon image="visibility_off" class="invisible-ico" tabindex="0" data-dce-id="10">
|
|
27
|
-
<dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
28
|
-
xmlns:dce="urn:schemas-epa-wg:dce" data-dce-id="1">
|
|
29
|
-
<span xmlns="" class="icon material-icons" data-dce-id="5">visibility_off</span>
|
|
30
|
-
</dce-root>
|
|
31
|
-
</cem-icon>
|
|
32
|
-
</label>
|
|
33
|
-
<cem-icon image="close" class="clear" tabindex="0" slice="password" slice-event="click" slice-value="''"
|
|
34
|
-
data-dce-id="11">
|
|
35
|
-
<dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
|
36
|
-
xmlns:dce="urn:schemas-epa-wg:dce" data-dce-id="1">
|
|
37
|
-
<span xmlns="" class="icon material-icons" data-dce-id="5">close</span>
|
|
38
|
-
</dce-root>
|
|
39
|
-
</cem-icon>
|
|
40
|
-
<dce-text data-dce-id="12">️
|
|
41
|
-
</dce-text>
|
|
42
|
-
</div>
|
|
43
|
-
</payload>
|
|
44
|
-
<attributes xmlns="" label="password sample" value="secret word" slice="password" data-dce-id="3" type="">
|
|
45
|
-
<xmlns/>
|
|
46
|
-
<label>password sample</label>
|
|
47
|
-
<value>secret word</value>
|
|
48
|
-
<slice>password</slice>
|
|
49
|
-
<data-dce-id>3</data-dce-id>
|
|
50
|
-
<type></type>
|
|
51
|
-
</attributes>
|
|
52
|
-
<dataset>
|
|
53
|
-
<dceId>3</dceId>
|
|
54
|
-
</dataset>
|
|
55
|
-
<slice>
|
|
56
|
-
<selected/>
|
|
57
|
-
<password image="close" class="clear" tabindex="0" slice="password" slice-event="click" slice-value="''"
|
|
58
|
-
data-dce-id="11">
|
|
59
|
-
<event isTrusted="true" sliceProcessed="1" pointerId="1" width="1" height="1" pressure="0" tiltX="0"
|
|
60
|
-
tiltY="0" azimuthAngle="0" altitudeAngle="1.5707963267948966" tangentialPressure="0" twist="0"
|
|
61
|
-
pointerType="mouse" isPrimary="false" persistentDeviceId="0" screenX="345" screenY="682"
|
|
62
|
-
clientX="345" clientY="595" ctrlKey="false" shiftKey="false" altKey="false" metaKey="false"
|
|
63
|
-
button="0" buttons="0" pageX="345" pageY="4354" x="345" y="595" offsetX="14" offsetY="15"
|
|
64
|
-
movementX="0" movementY="0" layerX="248" layerY="27" detail="1" which="1" type="click" eventPhase="3"
|
|
65
|
-
bubbles="true" cancelable="true" defaultPrevented="false" composed="true"
|
|
66
|
-
timeStamp="1974517.2999999523" returnValue="true" cancelBubble="false" NONE="0" CAPTURING_PHASE="1"
|
|
67
|
-
AT_TARGET="2" BUBBLING_PHASE="3">
|
|
68
|
-
<relatedTarget/>
|
|
69
|
-
<fromElement/>
|
|
70
|
-
<toElement/>
|
|
71
|
-
<sourceCapabilities firesTouchEvents="false"/>
|
|
72
|
-
</event>
|
|
73
|
-
</password>
|
|
74
|
-
</slice>
|
|
75
|
-
</datadom>
|
|
1
|
+
<datadom><payload xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><attributes/><dataset/><slice><show-all/></slice></datadom>
|