wcs-core 2.5.1 → 2.6.0
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 +28 -0
- package/README.md +1 -1
- package/dist/cjs/component-fc28ed16.js +1074 -0
- package/dist/cjs/helpers-d9aaa8c4.js +81 -0
- package/dist/cjs/{index-e05c3e1f.js → index-3cb9d725.js} +165 -87
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/{esm/wcs-action-bar_47.entry.js → cjs/lodash-776d6f03.js} +12499 -22628
- package/dist/cjs/select-arrow-76ccf86d.js +36 -0
- package/dist/cjs/wcs-action-bar.cjs.entry.js +24 -0
- package/dist/cjs/wcs-app.cjs.entry.js +2 -2
- package/dist/cjs/wcs-badge.cjs.entry.js +27 -0
- package/dist/cjs/wcs-button.cjs.entry.js +86 -0
- package/dist/cjs/wcs-card-body.cjs.entry.js +19 -0
- package/dist/cjs/wcs-card.cjs.entry.js +20 -0
- package/dist/cjs/wcs-checkbox.cjs.entry.js +43 -0
- package/dist/cjs/wcs-com-nav-category.cjs.entry.js +63 -0
- package/dist/cjs/wcs-com-nav-submenu.cjs.entry.js +69 -0
- package/dist/cjs/wcs-com-nav.cjs.entry.js +19 -0
- package/dist/cjs/wcs-divider.cjs.entry.js +19 -0
- package/dist/cjs/wcs-dropdown-item.cjs.entry.js +23 -0
- package/dist/cjs/wcs-dropdown.cjs.entry.js +57 -0
- package/dist/cjs/wcs-editable-field.cjs.entry.js +225 -0
- package/dist/cjs/wcs-error_2.cjs.entry.js +137 -0
- package/dist/cjs/wcs-field-content.cjs.entry.js +16 -0
- package/dist/cjs/wcs-field-label.cjs.entry.js +16 -0
- package/dist/cjs/wcs-field.cjs.entry.js +19 -0
- package/dist/cjs/wcs-footer.cjs.entry.js +19 -0
- package/dist/cjs/wcs-galactic-menu.cjs.entry.js +1785 -0
- package/dist/cjs/wcs-galactic.cjs.entry.js +41 -0
- package/dist/cjs/wcs-grid-column.cjs.entry.js +73 -0
- package/dist/cjs/wcs-grid-custom-cell.cjs.entry.js +16 -0
- package/dist/cjs/wcs-grid-pagination.cjs.entry.js +4 -4
- package/dist/cjs/wcs-grid.cjs.entry.js +309 -0
- package/dist/cjs/wcs-header.cjs.entry.js +25 -0
- package/dist/cjs/wcs-hint.cjs.entry.js +20 -0
- package/dist/cjs/wcs-horizontal-stepper.cjs.entry.js +114 -0
- package/dist/cjs/wcs-icon.cjs.entry.js +2 -2
- package/dist/cjs/wcs-input.cjs.entry.js +228 -0
- package/dist/cjs/wcs-label.cjs.entry.js +20 -0
- package/dist/cjs/wcs-list-item-properties.cjs.entry.js +19 -0
- package/dist/cjs/wcs-list-item-property.cjs.entry.js +19 -0
- package/dist/cjs/wcs-list-item.cjs.entry.js +23 -0
- package/dist/cjs/wcs-mat-icon.cjs.entry.js +73 -0
- package/dist/cjs/wcs-modal.cjs.entry.js +45 -0
- package/dist/cjs/wcs-nav-item.cjs.entry.js +23 -0
- package/dist/cjs/wcs-nav.cjs.entry.js +19 -0
- package/dist/cjs/wcs-progress-bar.cjs.entry.js +47 -0
- package/dist/cjs/wcs-progress-radial.cjs.entry.js +30 -0
- package/dist/cjs/wcs-radio-group.cjs.entry.js +65 -0
- package/dist/cjs/wcs-radio.cjs.entry.js +49 -0
- package/dist/cjs/wcs-select_2.cjs.entry.js +4916 -0
- package/dist/cjs/wcs-spinner.cjs.entry.js +21 -0
- package/dist/cjs/wcs-switch.cjs.entry.js +34 -0
- package/dist/cjs/wcs-tab.cjs.entry.js +20 -0
- package/dist/cjs/wcs-tabs.cjs.entry.js +159 -0
- package/dist/cjs/wcs-textarea.cjs.entry.js +224 -0
- package/dist/cjs/wcs-tooltip.cjs.entry.js +129 -0
- package/dist/cjs/wcs.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/button/button.css +79 -75
- package/dist/collection/components/button/button.js +23 -11
- package/dist/collection/components/com-nav/com-nav.css +1 -2
- package/dist/collection/components/com-nav-category/com-nav-category.css +5 -6
- package/dist/collection/components/com-nav-category/com-nav-category.js +31 -1
- package/dist/collection/components/com-nav-submenu/com-nav-submenu.css +1 -2
- package/dist/collection/components/com-nav-submenu/com-nav-submenu.js +21 -1
- package/dist/collection/components/footer/footer.css +1 -1
- package/dist/collection/components/grid/grid.js +47 -8
- package/dist/collection/components/grid-column/grid-column.css +5 -0
- package/dist/collection/components/grid-column/grid-column.js +62 -2
- package/dist/collection/components/grid-custom-cell/grid-custom-cell.js +45 -0
- package/dist/collection/components/grid-pagination/grid-pagination.js +4 -4
- package/dist/collection/components/header/header.css +1 -1
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/select/select.css +81 -77
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-option/select-option.css +79 -75
- package/dist/collection/components/select-option/select-option.js +6 -7
- package/dist/collection/components/tab/tab.js +4 -4
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/esm/component-6b4d470f.js +1072 -0
- package/dist/esm/helpers-50436c51.js +73 -0
- package/dist/esm/{index-c619b1fa.js → index-b982604a.js} +165 -88
- package/dist/esm/loader.js +3 -3
- package/dist/{cjs/wcs-action-bar_47.cjs.entry.js → esm/lodash-d6d9d079.js} +12610 -22791
- package/dist/esm/select-arrow-73ac4016.js +34 -0
- package/dist/esm/wcs-action-bar.entry.js +20 -0
- package/dist/esm/wcs-app.entry.js +2 -2
- package/dist/esm/wcs-badge.entry.js +23 -0
- package/dist/esm/wcs-button.entry.js +82 -0
- package/dist/esm/wcs-card-body.entry.js +15 -0
- package/dist/esm/wcs-card.entry.js +16 -0
- package/dist/esm/wcs-checkbox.entry.js +39 -0
- package/dist/esm/wcs-com-nav-category.entry.js +59 -0
- package/dist/esm/wcs-com-nav-submenu.entry.js +65 -0
- package/dist/esm/wcs-com-nav.entry.js +15 -0
- package/dist/esm/wcs-divider.entry.js +15 -0
- package/dist/esm/wcs-dropdown-item.entry.js +19 -0
- package/dist/esm/wcs-dropdown.entry.js +53 -0
- package/dist/esm/wcs-editable-field.entry.js +221 -0
- package/dist/esm/wcs-error_2.entry.js +132 -0
- package/dist/esm/wcs-field-content.entry.js +12 -0
- package/dist/esm/wcs-field-label.entry.js +12 -0
- package/dist/esm/wcs-field.entry.js +15 -0
- package/dist/esm/wcs-footer.entry.js +15 -0
- package/dist/esm/wcs-galactic-menu.entry.js +1781 -0
- package/dist/esm/wcs-galactic.entry.js +37 -0
- package/dist/esm/wcs-grid-column.entry.js +69 -0
- package/dist/esm/wcs-grid-custom-cell.entry.js +12 -0
- package/dist/esm/wcs-grid-pagination.entry.js +4 -4
- package/dist/esm/wcs-grid.entry.js +305 -0
- package/dist/esm/wcs-header.entry.js +21 -0
- package/dist/esm/wcs-hint.entry.js +16 -0
- package/dist/esm/wcs-horizontal-stepper.entry.js +110 -0
- package/dist/esm/wcs-icon.entry.js +2 -2
- package/dist/esm/wcs-input.entry.js +224 -0
- package/dist/esm/wcs-label.entry.js +16 -0
- package/dist/esm/wcs-list-item-properties.entry.js +15 -0
- package/dist/esm/wcs-list-item-property.entry.js +15 -0
- package/dist/esm/wcs-list-item.entry.js +19 -0
- package/dist/esm/wcs-mat-icon.entry.js +69 -0
- package/dist/esm/wcs-modal.entry.js +41 -0
- package/dist/esm/wcs-nav-item.entry.js +19 -0
- package/dist/esm/wcs-nav.entry.js +15 -0
- package/dist/esm/wcs-progress-bar.entry.js +43 -0
- package/dist/esm/wcs-progress-radial.entry.js +26 -0
- package/dist/esm/wcs-radio-group.entry.js +61 -0
- package/dist/esm/wcs-radio.entry.js +45 -0
- package/dist/esm/wcs-select_2.entry.js +4911 -0
- package/dist/esm/wcs-spinner.entry.js +17 -0
- package/dist/esm/wcs-switch.entry.js +30 -0
- package/dist/esm/wcs-tab.entry.js +16 -0
- package/dist/esm/wcs-tabs.entry.js +155 -0
- package/dist/esm/wcs-textarea.entry.js +220 -0
- package/dist/esm/wcs-tooltip.entry.js +125 -0
- package/dist/esm/wcs.js +3 -3
- package/dist/types/components/button/button.d.ts +7 -3
- package/dist/types/components/com-nav-category/com-nav-category.d.ts +7 -0
- package/dist/types/components/com-nav-submenu/com-nav-submenu.d.ts +7 -0
- package/dist/types/components/grid/grid.d.ts +7 -0
- package/dist/types/components/grid-column/grid-column.d.ts +4 -0
- package/dist/types/components/grid-custom-cell/grid-custom-cell.d.ts +12 -0
- package/dist/types/components/select-option/select-option.d.ts +2 -0
- package/dist/types/components.d.ts +43 -0
- package/dist/types/stencil-public-runtime.d.ts +183 -182
- package/dist/wcs/p-03b2e238.entry.js +1 -0
- package/dist/wcs/p-0fbe574e.entry.js +1 -0
- package/dist/wcs/p-15008e35.entry.js +1 -0
- package/dist/wcs/p-16dfbae8.js +127 -0
- package/dist/wcs/p-17c6db7f.entry.js +1 -0
- package/dist/wcs/p-1dce7e63.entry.js +1 -0
- package/dist/wcs/p-1f5aed36.entry.js +1 -0
- package/dist/wcs/p-214236db.entry.js +1 -0
- package/dist/wcs/p-26b5c0a3.entry.js +1 -0
- package/dist/wcs/p-2e6265dc.entry.js +1 -0
- package/dist/wcs/p-356a8e3b.entry.js +1 -0
- package/dist/wcs/p-3d10b02a.entry.js +15 -0
- package/dist/wcs/p-4338f140.entry.js +1 -0
- package/dist/wcs/p-474d6601.entry.js +1 -0
- package/dist/wcs/p-55fdc284.entry.js +1 -0
- package/dist/wcs/p-5b35b232.entry.js +1 -0
- package/dist/wcs/p-600a9cc0.entry.js +1 -0
- package/dist/wcs/p-60b51967.entry.js +1 -0
- package/dist/wcs/p-62f7ab6d.entry.js +1 -0
- package/dist/wcs/p-64523291.entry.js +1 -0
- package/dist/wcs/p-65c5ccc5.entry.js +1 -0
- package/dist/wcs/p-688fea65.entry.js +1 -0
- package/dist/wcs/p-716d5921.entry.js +1 -0
- package/dist/wcs/p-7219c04b.js +1 -0
- package/dist/wcs/p-8137f075.entry.js +1 -0
- package/dist/wcs/p-83f1ad32.js +1 -0
- package/dist/wcs/p-8864a491.entry.js +1 -0
- package/dist/wcs/p-8f0f9868.entry.js +1 -0
- package/dist/wcs/p-91a2de07.entry.js +1 -0
- package/dist/wcs/p-94a31f64.entry.js +1 -0
- package/dist/wcs/p-979dfd78.entry.js +1 -0
- package/dist/wcs/p-9ba52bc4.entry.js +1 -0
- package/dist/wcs/p-a1ee1551.entry.js +1 -0
- package/dist/wcs/p-a5a1b27c.entry.js +1 -0
- package/dist/wcs/p-adef7aaf.js +1 -0
- package/dist/wcs/p-af1a5e52.entry.js +1 -0
- package/dist/wcs/p-b7184d59.entry.js +1 -0
- package/dist/wcs/p-bef44630.entry.js +1 -0
- package/dist/wcs/p-d59b4495.entry.js +1 -0
- package/dist/wcs/p-db68379f.entry.js +1 -0
- package/dist/wcs/p-dbbc3f58.entry.js +1 -0
- package/dist/wcs/p-dc817204.entry.js +1 -0
- package/dist/wcs/p-dd300dea.entry.js +1 -0
- package/dist/wcs/p-e0163de8.entry.js +1 -0
- package/dist/wcs/p-e4236d32.entry.js +1 -0
- package/dist/wcs/p-e43358e4.entry.js +1 -0
- package/dist/wcs/p-e486647c.entry.js +1 -0
- package/dist/wcs/p-e9ce507c.entry.js +1 -0
- package/dist/wcs/p-ed6e8541.entry.js +1 -0
- package/dist/wcs/p-f46e6c3c.js +1 -0
- package/dist/wcs/p-f9944bde.entry.js +1 -0
- package/dist/wcs/p-fa173947.entry.js +1 -0
- package/dist/wcs/p-fb1577b5.entry.js +1 -0
- package/dist/wcs/p-febe9ccc.entry.js +1 -0
- package/dist/wcs/wcs.esm.js +1 -1
- package/loader/index.d.ts +0 -1
- package/package.json +22 -20
- package/dist/wcs/p-16dca526.entry.js +0 -1
- package/dist/wcs/p-4f228fcb.entry.js +0 -134
- package/dist/wcs/p-66520e5a.entry.js +0 -1
- package/dist/wcs/p-d31287c6.entry.js +0 -1
- package/dist/wcs/p-f73f235b.js +0 -1
- package/schematics/.gitignore +0 -18
- package/schematics/.npmignore +0 -4
- package/schematics/collection.json +0 -9
- package/schematics/src/ng-add/files/fonts/avenir-black.woff +0 -0
- package/schematics/src/ng-add/files/fonts/avenir-book.woff +0 -0
- package/schematics/src/ng-add/files/fonts/avenir-lighter.woff +0 -0
- package/schematics/src/ng-add/files/fonts/avenir-medium.woff +0 -0
- package/schematics/src/ng-add/files/sncf-logo.png +0 -0
- package/schematics/src/ng-add/index.d.ts +0 -3
- package/schematics/src/ng-add/index.js +0 -119
- package/schematics/src/ng-add/index.js.map +0 -1
- package/schematics/src/ng-add/schema.json +0 -5
|
@@ -679,6 +679,7 @@ export declare namespace JSXBase {
|
|
|
679
679
|
media?: string;
|
|
680
680
|
rel?: string;
|
|
681
681
|
target?: string;
|
|
682
|
+
referrerPolicy?: ReferrerPolicy;
|
|
682
683
|
}
|
|
683
684
|
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
684
685
|
}
|
|
@@ -1166,87 +1167,87 @@ export declare namespace JSXBase {
|
|
|
1166
1167
|
unselectable?: boolean;
|
|
1167
1168
|
}
|
|
1168
1169
|
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
1169
|
-
|
|
1170
|
+
class?: string | {
|
|
1170
1171
|
[className: string]: boolean;
|
|
1171
1172
|
};
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1173
|
+
color?: string;
|
|
1174
|
+
height?: number | string;
|
|
1175
|
+
id?: string;
|
|
1176
|
+
lang?: string;
|
|
1177
|
+
max?: number | string;
|
|
1178
|
+
media?: string;
|
|
1179
|
+
method?: string;
|
|
1180
|
+
min?: number | string;
|
|
1181
|
+
name?: string;
|
|
1182
|
+
style?: {
|
|
1182
1183
|
[key: string]: string | undefined;
|
|
1183
1184
|
};
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1185
|
+
target?: string;
|
|
1186
|
+
type?: string;
|
|
1187
|
+
width?: number | string;
|
|
1188
|
+
role?: string;
|
|
1189
|
+
tabindex?: number;
|
|
1189
1190
|
'accent-height'?: number | string;
|
|
1190
|
-
|
|
1191
|
-
|
|
1191
|
+
accumulate?: 'none' | 'sum';
|
|
1192
|
+
additive?: 'replace' | 'sum';
|
|
1192
1193
|
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1194
|
+
allowReorder?: 'no' | 'yes';
|
|
1195
|
+
alphabetic?: number | string;
|
|
1196
|
+
amplitude?: number | string;
|
|
1196
1197
|
'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1198
|
+
ascent?: number | string;
|
|
1199
|
+
attributeName?: string;
|
|
1200
|
+
attributeType?: string;
|
|
1201
|
+
autoReverse?: number | string;
|
|
1202
|
+
azimuth?: number | string;
|
|
1203
|
+
baseFrequency?: number | string;
|
|
1203
1204
|
'baseline-shift'?: number | string;
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1205
|
+
baseProfile?: number | string;
|
|
1206
|
+
bbox?: number | string;
|
|
1207
|
+
begin?: number | string;
|
|
1208
|
+
bias?: number | string;
|
|
1209
|
+
by?: number | string;
|
|
1210
|
+
calcMode?: number | string;
|
|
1210
1211
|
'cap-height'?: number | string;
|
|
1211
|
-
|
|
1212
|
+
clip?: number | string;
|
|
1212
1213
|
'clip-path'?: string;
|
|
1213
|
-
|
|
1214
|
+
clipPathUnits?: number | string;
|
|
1214
1215
|
'clip-rule'?: number | string;
|
|
1215
1216
|
'color-interpolation'?: number | string;
|
|
1216
1217
|
'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
|
|
1217
1218
|
'color-profile'?: number | string;
|
|
1218
1219
|
'color-rendering'?: number | string;
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1220
|
+
contentScriptType?: number | string;
|
|
1221
|
+
contentStyleType?: number | string;
|
|
1222
|
+
cursor?: number | string;
|
|
1223
|
+
cx?: number | string;
|
|
1224
|
+
cy?: number | string;
|
|
1225
|
+
d?: string;
|
|
1226
|
+
decelerate?: number | string;
|
|
1227
|
+
descent?: number | string;
|
|
1228
|
+
diffuseConstant?: number | string;
|
|
1229
|
+
direction?: number | string;
|
|
1230
|
+
display?: number | string;
|
|
1231
|
+
divisor?: number | string;
|
|
1231
1232
|
'dominant-baseline'?: number | string;
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1233
|
+
dur?: number | string;
|
|
1234
|
+
dx?: number | string;
|
|
1235
|
+
dy?: number | string;
|
|
1235
1236
|
'edge-mode'?: number | string;
|
|
1236
|
-
|
|
1237
|
+
elevation?: number | string;
|
|
1237
1238
|
'enable-background'?: number | string;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1239
|
+
end?: number | string;
|
|
1240
|
+
exponent?: number | string;
|
|
1241
|
+
externalResourcesRequired?: number | string;
|
|
1242
|
+
fill?: string;
|
|
1242
1243
|
'fill-opacity'?: number | string;
|
|
1243
1244
|
'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1245
|
+
filter?: string;
|
|
1246
|
+
filterRes?: number | string;
|
|
1247
|
+
filterUnits?: number | string;
|
|
1247
1248
|
'flood-color'?: number | string;
|
|
1248
1249
|
'flood-opacity'?: number | string;
|
|
1249
|
-
|
|
1250
|
+
focusable?: number | string;
|
|
1250
1251
|
'font-family'?: string;
|
|
1251
1252
|
'font-size'?: number | string;
|
|
1252
1253
|
'font-size-adjust'?: number | string;
|
|
@@ -1254,113 +1255,113 @@ export declare namespace JSXBase {
|
|
|
1254
1255
|
'font-style'?: number | string;
|
|
1255
1256
|
'font-variant'?: number | string;
|
|
1256
1257
|
'font-weight'?: number | string;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1258
|
+
format?: number | string;
|
|
1259
|
+
from?: number | string;
|
|
1260
|
+
fx?: number | string;
|
|
1261
|
+
fy?: number | string;
|
|
1262
|
+
g1?: number | string;
|
|
1263
|
+
g2?: number | string;
|
|
1263
1264
|
'glyph-name'?: number | string;
|
|
1264
1265
|
'glyph-orientation-horizontal'?: number | string;
|
|
1265
1266
|
'glyph-orientation-vertical'?: number | string;
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1267
|
+
glyphRef?: number | string;
|
|
1268
|
+
gradientTransform?: string;
|
|
1269
|
+
gradientUnits?: string;
|
|
1270
|
+
hanging?: number | string;
|
|
1270
1271
|
'horiz-adv-x'?: number | string;
|
|
1271
1272
|
'horiz-origin-x'?: number | string;
|
|
1272
|
-
|
|
1273
|
-
|
|
1273
|
+
href?: string;
|
|
1274
|
+
ideographic?: number | string;
|
|
1274
1275
|
'image-rendering'?: number | string;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1276
|
+
in2?: number | string;
|
|
1277
|
+
in?: string;
|
|
1278
|
+
intercept?: number | string;
|
|
1279
|
+
k1?: number | string;
|
|
1280
|
+
k2?: number | string;
|
|
1281
|
+
k3?: number | string;
|
|
1282
|
+
k4?: number | string;
|
|
1283
|
+
k?: number | string;
|
|
1284
|
+
kernelMatrix?: number | string;
|
|
1285
|
+
kernelUnitLength?: number | string;
|
|
1286
|
+
kerning?: number | string;
|
|
1287
|
+
keyPoints?: number | string;
|
|
1288
|
+
keySplines?: number | string;
|
|
1289
|
+
keyTimes?: number | string;
|
|
1290
|
+
lengthAdjust?: number | string;
|
|
1290
1291
|
'letter-spacing'?: number | string;
|
|
1291
1292
|
'lighting-color'?: number | string;
|
|
1292
|
-
|
|
1293
|
-
|
|
1293
|
+
limitingConeAngle?: number | string;
|
|
1294
|
+
local?: number | string;
|
|
1294
1295
|
'marker-end'?: string;
|
|
1295
|
-
|
|
1296
|
+
markerHeight?: number | string;
|
|
1296
1297
|
'marker-mid'?: string;
|
|
1297
1298
|
'marker-start'?: string;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1299
|
+
markerUnits?: number | string;
|
|
1300
|
+
markerWidth?: number | string;
|
|
1301
|
+
mask?: string;
|
|
1302
|
+
maskContentUnits?: number | string;
|
|
1303
|
+
maskUnits?: number | string;
|
|
1304
|
+
mathematical?: number | string;
|
|
1305
|
+
mode?: number | string;
|
|
1306
|
+
numOctaves?: number | string;
|
|
1307
|
+
offset?: number | string;
|
|
1308
|
+
opacity?: number | string;
|
|
1309
|
+
operator?: number | string;
|
|
1310
|
+
order?: number | string;
|
|
1311
|
+
orient?: number | string;
|
|
1312
|
+
orientation?: number | string;
|
|
1313
|
+
origin?: number | string;
|
|
1314
|
+
overflow?: number | string;
|
|
1314
1315
|
'overline-position'?: number | string;
|
|
1315
1316
|
'overline-thickness'?: number | string;
|
|
1316
1317
|
'paint-order'?: number | string;
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1318
|
+
panose1?: number | string;
|
|
1319
|
+
pathLength?: number | string;
|
|
1320
|
+
patternContentUnits?: string;
|
|
1321
|
+
patternTransform?: number | string;
|
|
1322
|
+
patternUnits?: string;
|
|
1322
1323
|
'pointer-events'?: number | string;
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1324
|
+
points?: string;
|
|
1325
|
+
pointsAtX?: number | string;
|
|
1326
|
+
pointsAtY?: number | string;
|
|
1327
|
+
pointsAtZ?: number | string;
|
|
1328
|
+
preserveAlpha?: number | string;
|
|
1329
|
+
preserveAspectRatio?: string;
|
|
1330
|
+
primitiveUnits?: number | string;
|
|
1331
|
+
r?: number | string;
|
|
1332
|
+
radius?: number | string;
|
|
1333
|
+
refX?: number | string;
|
|
1334
|
+
refY?: number | string;
|
|
1334
1335
|
'rendering-intent'?: number | string;
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1336
|
+
repeatCount?: number | string;
|
|
1337
|
+
repeatDur?: number | string;
|
|
1338
|
+
requiredextensions?: number | string;
|
|
1339
|
+
requiredFeatures?: number | string;
|
|
1340
|
+
restart?: number | string;
|
|
1341
|
+
result?: string;
|
|
1342
|
+
rotate?: number | string;
|
|
1343
|
+
rx?: number | string;
|
|
1344
|
+
ry?: number | string;
|
|
1345
|
+
scale?: number | string;
|
|
1346
|
+
seed?: number | string;
|
|
1346
1347
|
'shape-rendering'?: number | string;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1348
|
+
slope?: number | string;
|
|
1349
|
+
spacing?: number | string;
|
|
1350
|
+
specularConstant?: number | string;
|
|
1351
|
+
specularExponent?: number | string;
|
|
1352
|
+
speed?: number | string;
|
|
1353
|
+
spreadMethod?: string;
|
|
1354
|
+
startOffset?: number | string;
|
|
1355
|
+
stdDeviation?: number | string;
|
|
1356
|
+
stemh?: number | string;
|
|
1357
|
+
stemv?: number | string;
|
|
1358
|
+
stitchTiles?: number | string;
|
|
1358
1359
|
'stop-color'?: string;
|
|
1359
1360
|
'stop-opacity'?: number | string;
|
|
1360
1361
|
'strikethrough-position'?: number | string;
|
|
1361
1362
|
'strikethrough-thickness'?: number | string;
|
|
1362
|
-
|
|
1363
|
-
|
|
1363
|
+
string?: number | string;
|
|
1364
|
+
stroke?: string;
|
|
1364
1365
|
'stroke-dasharray'?: string | number;
|
|
1365
1366
|
'stroke-dashoffset'?: string | number;
|
|
1366
1367
|
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
|
|
@@ -1368,63 +1369,63 @@ export declare namespace JSXBase {
|
|
|
1368
1369
|
'stroke-miterlimit'?: string;
|
|
1369
1370
|
'stroke-opacity'?: number | string;
|
|
1370
1371
|
'stroke-width'?: number | string;
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1372
|
+
surfaceScale?: number | string;
|
|
1373
|
+
systemLanguage?: number | string;
|
|
1374
|
+
tableValues?: number | string;
|
|
1375
|
+
targetX?: number | string;
|
|
1376
|
+
targetY?: number | string;
|
|
1376
1377
|
'text-anchor'?: string;
|
|
1377
1378
|
'text-decoration'?: number | string;
|
|
1378
|
-
|
|
1379
|
+
textLength?: number | string;
|
|
1379
1380
|
'text-rendering'?: number | string;
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1381
|
+
to?: number | string;
|
|
1382
|
+
transform?: string;
|
|
1383
|
+
u1?: number | string;
|
|
1384
|
+
u2?: number | string;
|
|
1384
1385
|
'underline-position'?: number | string;
|
|
1385
1386
|
'underline-thickness'?: number | string;
|
|
1386
|
-
|
|
1387
|
+
unicode?: number | string;
|
|
1387
1388
|
'unicode-bidi'?: number | string;
|
|
1388
1389
|
'unicode-range'?: number | string;
|
|
1389
1390
|
'units-per-em'?: number | string;
|
|
1390
1391
|
'v-alphabetic'?: number | string;
|
|
1391
|
-
|
|
1392
|
+
values?: string;
|
|
1392
1393
|
'vector-effect'?: number | string;
|
|
1393
|
-
|
|
1394
|
+
version?: string;
|
|
1394
1395
|
'vert-adv-y'?: number | string;
|
|
1395
1396
|
'vert-origin-x'?: number | string;
|
|
1396
1397
|
'vert-origin-y'?: number | string;
|
|
1397
1398
|
'v-hanging'?: number | string;
|
|
1398
1399
|
'v-ideographic'?: number | string;
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1400
|
+
viewBox?: string;
|
|
1401
|
+
viewTarget?: number | string;
|
|
1402
|
+
visibility?: number | string;
|
|
1402
1403
|
'v-mathematical'?: number | string;
|
|
1403
|
-
|
|
1404
|
+
widths?: number | string;
|
|
1404
1405
|
'word-spacing'?: number | string;
|
|
1405
1406
|
'writing-mode'?: number | string;
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1407
|
+
x1?: number | string;
|
|
1408
|
+
x2?: number | string;
|
|
1409
|
+
x?: number | string;
|
|
1409
1410
|
'x-channel-selector'?: string;
|
|
1410
1411
|
'x-height'?: number | string;
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1412
|
+
xlinkActuate?: string;
|
|
1413
|
+
xlinkArcrole?: string;
|
|
1414
|
+
xlinkHref?: string;
|
|
1415
|
+
xlinkRole?: string;
|
|
1416
|
+
xlinkShow?: string;
|
|
1417
|
+
xlinkTitle?: string;
|
|
1418
|
+
xlinkType?: string;
|
|
1419
|
+
xmlBase?: string;
|
|
1420
|
+
xmlLang?: string;
|
|
1421
|
+
xmlns?: string;
|
|
1422
|
+
xmlSpace?: string;
|
|
1423
|
+
y1?: number | string;
|
|
1424
|
+
y2?: number | string;
|
|
1425
|
+
y?: number | string;
|
|
1426
|
+
yChannelSelector?: string;
|
|
1427
|
+
z?: number | string;
|
|
1428
|
+
zoomAndPan?: string;
|
|
1428
1429
|
}
|
|
1429
1430
|
interface DOMAttributes<T = Element> {
|
|
1430
1431
|
key?: string | number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as a,g as i}from"./p-f46e6c3c.js";let h=class{constructor(e){t(this,e),this.tabChange=s(this,"tabChange",7),this.align="start",this.selectedIndex=0,this.headersOnly=!1,this.headers=[],this.currentActiveTabIndex=0}selectedIndexChanged(t){this.currentActiveTabIndex=t}selectedTabkeyChanged(t){this.updateCurrentActiveIndexByTabKey(t)}emitActiveTabChange(){this.tabChange.emit({tabName:this.headers[this.currentActiveTabIndex],tabIndex:this.currentActiveTabIndex,selectedKey:this.tabs[this.currentActiveTabIndex].itemKey})}updateCurrentActiveIndexByTabKey(t){for(let s=0;s<this.tabs.length;s++)this.tabs[s].itemKey===t&&(this.currentActiveTabIndex=s)}onTabLoaded(){this.refreshHeaders()}componentDidLoad(){this.putTabsInCorrectDivIfTheyAreNot(),this.refreshHeaders(),this.selectedIndex&&(this.currentActiveTabIndex=this.selectedIndex),this.selectedKey&&this.updateCurrentActiveIndexByTabKey(this.selectedKey)}putTabsInCorrectDivIfTheyAreNot(){const t=this.el.shadowRoot.querySelector(".wcs-tabs");null===t.querySelector("slot")&&Array.from(this.el.querySelectorAll("wcs-tab")).filter((s=>s.parentNode!==t)).forEach((s=>{s.parentElement.isEqualNode(this.el)&&(this.el.removeChild(s),t.appendChild(s))}))}handleKeyDown(t,s){const e=t.target;switch(t.key){case" ":case"Enter":this.currentActiveTabIndex=s,this.emitActiveTabChange(),t.preventDefault();break;case"ArrowLeft":e.previousElementSibling&&e.previousElementSibling.classList.contains("wcs-tab-header")&&(e.previousElementSibling.focus(),t.preventDefault());break;case"ArrowRight":e.nextElementSibling&&e.nextElementSibling.classList.contains("wcs-tab-header")&&(e.nextElementSibling.focus(),t.preventDefault())}}refreshHeaders(){this.headers=[],this.tabs.forEach((t=>{this.headers.push(t.getAttribute("header"))}))}get tabs(){const t=this.el.shadowRoot.querySelector(".wcs-tabs"),s=this.el.shadowRoot.querySelectorAll(".wcs-tabs > wcs-tab");return 0!==s.length?s:t.querySelector("slot")?t.querySelector("slot").assignedElements():[]}selectTabAndEmitChangeEvent(t){this.currentActiveTabIndex=t,this.emitActiveTabChange()}componentWillUpdate(){this.headersOnly?this.hideAllTabsContent():this.updateTabVisibility()}updateTabVisibility(){this.tabs.forEach(((t,s)=>{t.setAttribute("style",s!==this.currentActiveTabIndex?"display: none;":"display: block;")}))}hideAllTabsContent(){this.tabs.forEach((t=>t.setAttribute("style","display: none;")))}render(){return e(a,null,e("div",{class:"wcs-tabs-headers"},this.headers.map(((t,s)=>e("div",{class:"wcs-tab-header "+(this.currentActiveTabIndex===s?"active":""),onClick:()=>this.selectTabAndEmitChangeEvent(s),onKeyDown:t=>this.handleKeyDown(t,s),tabIndex:s},e("span",null,t))))),e("div",{class:"wcs-tabs"},e("slot",{name:"wcs-tab"})))}get el(){return i(this)}static get watchers(){return{selectedIndex:["selectedIndexChanged"],selectedKey:["selectedTabkeyChanged"]}}};h.style=':host{--wcs-tabs-padding-bottom:16px}:host([align=start]) .wcs-tabs-headers{justify-content:start}:host([align=end]) .wcs-tabs-headers{justify-content:end}:host([align=center]) .wcs-tabs-headers{justify-content:center}.wcs-tabs-headers{padding-top:4px;overflow-x:auto;display:flex;position:relative}:host([gutter]) .wcs-tabs-headers{border-bottom:var(--wcs-tabs-headers-border-bottom)}.wcs-tab-header{padding:8px 24px 16px 0;display:flex;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;outline:none}.wcs-tab-header span{text-align:center;color:var(--wcs-text-disabled);font-size:1rem;font-weight:400}.wcs-tab-header:focus span,.wcs-tab-header:hover span{color:var(--wcs-primary)}.active span{font-weight:500;color:var(--wcs-primary);position:relative}.active span::after{position:absolute;bottom:calc(var(--wcs-tabs-padding-bottom) * -1);left:0;width:100%;height:0.3125rem;content:"";background-color:#0088ce;border-radius:3px}';export{h as wcs_tabs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t,H as r,g as e}from"./p-f46e6c3c.js";import{S as s}from"./p-7219c04b.js";let i=class{constructor(t){o(this,t),this.mode="stroked",this.shape="normal",this.disabled=!1,this.expanded=!1}componentDidLoad(){const o=this.el.shadowRoot.querySelector("wcs-button").shadowRoot.querySelector("button"),t=window.getComputedStyle(o).color;this.el.shadowRoot.querySelector(".arrow").style.fill=t,this.fixForFirefoxBelow63()}fixForFirefoxBelow63(){const o=this.el.querySelectorAll("wcs-dropdown-item"),t=this.el.querySelector(".container");o.length>0&&t&&o.forEach((o=>{this.el.removeChild(o),t.appendChild(o)}))}onButtonClick(o){o.stopPropagation(),this.expanded=!this.expanded}onWindowClickEvent(o){const t=o.target instanceof Node&&this.el.contains(o.target);this.expanded&&!t&&(this.expanded=!1)}dropdownItemClick(o){this.expanded=!1}render(){return t(r,null,t("wcs-button",{mode:this.mode,shape:this.shape,onClick:o=>this.onButtonClick(o)},t("div",{class:"wcs-button-content-wrapper"},t("slot",{name:"placeholder"}),t(s,{up:this.expanded}))),t("div",{class:(this.expanded?"show ":"")+"popover"},t("div",{class:"container"},t("slot",{name:"item"}))))}get el(){return e(this)}};i.style=':host{display:inline-flex;flex-direction:row;position:relative;flex-flow:row-reverse}wcs-button{--wcs-button-padding:8px 10px 8px 16px !important}:host([shape=small]) .show{top:48px !important}:host([shape=small]) wcs-button{--wcs-button-padding:2px 10px 2px 16px !important}.wcs-button-content-wrapper{display:flex}.popover{display:none;border:1px solid #d7d7d7;border-radius:var(--wcs-border-radius);white-space:nowrap}.popover::before,.popover::after{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:solid transparent;z-index:1000}.popover::before{border-color:rgba(216, 216, 216, 0);border-width:0.625rem;right:1.0625rem;margin-left:-0.625rem;bottom:100%;border-bottom-color:#d7d7d7}.popover::after{border-color:rgba(255, 255, 255, 0);border-width:9px;right:1.125rem;margin-left:-0.5625rem;bottom:100%;border-bottom-color:#fff}.show{z-index:1000;display:block;flex-direction:column;position:absolute;background-color:var(--wcs-white);top:58px}.container{border-radius:inherit;overflow:hidden}';export{i as wcs_dropdown}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as t,h as s,H as i,g as e}from"./p-f46e6c3c.js";let a=class{constructor(s){o(this,s),this.wcsChange=t(this,"wcsChange",7),this.mode="radio"}onValueChangeHandler(o){this.updateOptionsState(o,!0)}componentDidLoad(){if(this.value&&this.updateOptionsState(this.value,!0),"option"===this.mode)for(const o of this.options)o.mode="option"}get options(){const o=this.el.querySelectorAll("wcs-radio"),t=this.el.querySelector("slot");return 0!==o.length?o:null!==t?t.assignedElements():[]}selectedOptionChanged(o){this.updateOptionsState(o.detail.value,!1),this.wcsChange.emit({value:o.detail.value})}updateOptionsState(o,t){for(const s of this.options)s.value!==o?s.removeAttribute("checked"):t&&s.setAttribute("checked","")}render(){return s(i,null,s("slot",{name:"option"}))}get el(){return e(this)}static get watchers(){return{value:["onValueChangeHandler"]}}};a.style=":host{display:flex}:host([mode=radio]){flex-direction:column}:host([mode=radio]) ::slotted([slot=option]:first-child){margin-top:0}:host([mode=radio]) ::slotted([slot=option]:last-child){margin-bottom:0}:host([mode=radio]) ::slotted([slot=options]){margin-top:calc(var(--wcs-base-margin) / 2);margin-bottom:calc(var(--wcs-base-margin) / 2)}:host([mode=option]){display:inline-flex;flex-direction:row;padding:calc(var(--wcs-base-margin) / 2);background-color:#4d4f53;border-radius:0.6875rem}";export{a as wcs_radio_group}
|