@otto-de/b2b-core-components 1.33.0 → 1.34.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/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/{p-28a06853.entry.js → p-04ac661d.entry.js} +1 -1
- package/dist/b2b-core-components/{p-57842105.entry.js → p-04f5748b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2d625559.entry.js → p-0648230f.entry.js} +1 -1
- package/dist/b2b-core-components/{p-0bd177d4.entry.js → p-0aa0c59a.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7df12ddf.entry.js → p-0ab41eb5.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e7590b6e.entry.js → p-13d37dec.entry.js} +1 -1
- package/dist/b2b-core-components/{p-bf9c8817.entry.js → p-17778cfc.entry.js} +1 -1
- package/dist/b2b-core-components/p-1af4d133.entry.js +1 -0
- package/dist/b2b-core-components/{p-fc431bbe.entry.js → p-2486830b.entry.js} +1 -1
- package/dist/b2b-core-components/p-2488ef54.entry.js +1 -0
- package/dist/b2b-core-components/{p-6abfdb73.entry.js → p-260dcc05.entry.js} +1 -1
- package/dist/b2b-core-components/{p-797c85c2.entry.js → p-371df3f8.entry.js} +1 -1
- package/dist/b2b-core-components/p-3c3edafd.entry.js +1 -0
- package/dist/b2b-core-components/p-3d8e14e6.entry.js +1 -0
- package/dist/b2b-core-components/{p-521303c4.entry.js → p-433a3f3e.entry.js} +1 -1
- package/dist/b2b-core-components/{p-fb0338a8.entry.js → p-4b27240b.entry.js} +1 -1
- package/dist/b2b-core-components/p-4e0ed246.entry.js +1 -0
- package/dist/b2b-core-components/p-5f3ba5e6.js +1 -0
- package/dist/b2b-core-components/{p-6749d668.entry.js → p-66c435c1.entry.js} +1 -1
- package/dist/b2b-core-components/{p-db92de92.entry.js → p-79a01d0d.entry.js} +1 -1
- package/dist/b2b-core-components/{p-092855b3.entry.js → p-81cffff6.entry.js} +1 -1
- package/dist/b2b-core-components/p-89e817e9.entry.js +1 -0
- package/dist/b2b-core-components/{p-26755654.entry.js → p-8aba659a.entry.js} +1 -1
- package/dist/b2b-core-components/{p-0322b052.entry.js → p-8ae9c2fe.entry.js} +1 -1
- package/dist/b2b-core-components/{p-16872771.entry.js → p-997a232e.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2daee203.entry.js → p-a46674a7.entry.js} +1 -1
- package/dist/b2b-core-components/{p-848e4af7.entry.js → p-a9c9552f.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1abe3f2f.entry.js → p-b175fb79.entry.js} +1 -1
- package/dist/b2b-core-components/{p-bade1cab.entry.js → p-b4310b58.entry.js} +1 -1
- package/dist/b2b-core-components/p-b481eb09.entry.js +1 -0
- package/dist/b2b-core-components/{p-40371f89.entry.js → p-b9a6ad5d.entry.js} +1 -1
- package/dist/b2b-core-components/{p-01f46118.entry.js → p-c086532b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-58e9953b.entry.js → p-c25832e1.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ff6a0874.entry.js → p-c43e067a.entry.js} +1 -1
- package/dist/b2b-core-components/{p-76573f9f.entry.js → p-c8b5c7e2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-190a7350.entry.js → p-c8cc1797.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ed5c6006.entry.js → p-d163d252.entry.js} +1 -1
- package/dist/b2b-core-components/{p-dcef84a5.entry.js → p-d2f4db88.entry.js} +1 -1
- package/dist/b2b-core-components/{p-fedefca2.entry.js → p-d62e615b.entry.js} +1 -1
- package/dist/b2b-core-components/p-d97a7119.entry.js +1 -0
- package/dist/b2b-core-components/p-dff37884.entry.js +1 -0
- package/dist/b2b-core-components/{p-b1191aa7.entry.js → p-e3877fc1.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e2518c43.entry.js → p-e512628d.entry.js} +1 -1
- package/dist/b2b-core-components/p-e8151556.entry.js +1 -0
- package/dist/b2b-core-components/p-e90d3aba.entry.js +1 -0
- package/dist/b2b-core-components/{p-3a088f2b.entry.js → p-f3c0fe56.entry.js} +1 -1
- package/dist/b2b-core-components/{p-840dd6cd.entry.js → p-f4f20944.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ef598009.entry.js → p-f9f9820a.entry.js} +1 -1
- package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/{b2b-date-picker-days_5.cjs.entry.js → b2b-date-picker-days-header_4.cjs.entry.js} +0 -174
- package/dist/cjs/b2b-date-picker-days.cjs.entry.js +180 -0
- package/dist/cjs/b2b-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/b2b-date-range-picker-days_2.cjs.entry.js +201 -0
- package/dist/cjs/b2b-date-range-picker.cjs.entry.js +159 -0
- package/dist/cjs/b2b-dropdown.cjs.entry.js +28 -24
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
- package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon-100.cjs.entry.js +0 -1
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
- package/dist/cjs/b2b-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-shimmer.cjs.entry.js +1 -1
- package/dist/cjs/b2b-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-table-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table.cjs.entry.js +2 -2
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
- package/dist/cjs/date-range-picker-utils-f4b4f5bf.js +135 -0
- package/dist/cjs/index-668808fd.js +14 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/date-picker/date-picker.css +1 -1
- package/dist/collection/components/date-picker/date-picker.js +2 -2
- package/dist/collection/components/date-range-picker/date-range-picker-days.css +280 -0
- package/dist/collection/components/date-range-picker/date-range-picker-days.e2e.js +19 -0
- package/dist/collection/components/date-range-picker/date-range-picker-days.js +349 -0
- package/dist/collection/components/date-range-picker/date-range-picker-utils.js +126 -0
- package/dist/collection/components/date-range-picker/date-range-picker-utils.spec.js +189 -0
- package/dist/collection/components/date-range-picker/date-range-picker.css +327 -0
- package/dist/collection/components/date-range-picker/date-range-picker.e2e.js +45 -0
- package/dist/collection/components/date-range-picker/date-range-picker.js +466 -0
- package/dist/collection/components/date-range-picker/date-range-picker.spec.js +18 -0
- package/dist/collection/components/date-range-picker/date-range-picker.stories.js +131 -0
- package/dist/collection/components/dropdown/dropdown.js +30 -25
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
- package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
- package/dist/collection/components/grid/column.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/grid/row.js +2 -2
- package/dist/collection/components/icon-100/icon-100.stories.js +1 -1
- package/dist/collection/components/icon-100/types.js +0 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/input-label/input-label.js +2 -2
- package/dist/collection/components/input-list/input-list-option.js +1 -1
- package/dist/collection/components/input-list/input-list.js +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +3 -3
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
- package/dist/collection/components/search/search.js +1 -1
- package/dist/collection/components/separator/separator.js +1 -1
- package/dist/collection/components/shimmer/shimmer.js +1 -1
- package/dist/collection/components/snackbar/snackbar.js +5 -5
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-group/tab-group.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.js +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +1 -1
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/toggle-switch/toggle-switch.stories.js +15 -9
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/wizard/wizard-step.js +2 -2
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/collection/docs/config/utils.js +10 -7
- package/dist/components/b2b-date-picker.js +1 -1
- package/dist/components/b2b-date-range-picker-days.d.ts +11 -0
- package/dist/components/b2b-date-range-picker-days.js +6 -0
- package/dist/components/b2b-date-range-picker.d.ts +11 -0
- package/dist/components/b2b-date-range-picker.js +246 -0
- package/dist/components/b2b-dropdown.js +29 -24
- package/dist/components/b2b-flyout-menu-option.js +1 -1
- package/dist/components/b2b-flyout-menu.js +3 -3
- package/dist/components/b2b-grid-col.js +1 -1
- package/dist/components/b2b-grid-row.js +2 -2
- package/dist/components/b2b-grid.js +1 -1
- package/dist/components/b2b-label.js +2 -2
- package/dist/components/b2b-modal.js +2 -2
- package/dist/components/b2b-multiselect-dropdown.js +3 -3
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +1 -51
- package/dist/components/b2b-progress-bar.js +3 -3
- package/dist/components/b2b-radio-button.js +2 -2
- package/dist/components/b2b-radio-group.js +2 -2
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +1 -1
- package/dist/components/b2b-shimmer.js +1 -1
- package/dist/components/b2b-snackbar.js +4 -4
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +2 -2
- package/dist/components/b2b-table-row.js +2 -2
- package/dist/components/b2b-table-rowgroup.js +2 -2
- package/dist/components/b2b-table.js +2 -2
- package/dist/components/b2b-textarea.js +2 -2
- package/dist/components/b2b-toggle-button.js +3 -3
- package/dist/components/b2b-toggle-chip.js +3 -3
- package/dist/components/b2b-toggle-group.js +2 -2
- package/dist/components/b2b-toggle-switch.js +5 -5
- package/dist/components/b2b-tooltip.js +3 -3
- package/dist/components/b2b-wizard-step.js +2 -2
- package/dist/components/b2b-wizard.js +1 -1
- package/dist/components/date-range-picker-days.js +316 -0
- package/dist/components/icon-100.js +0 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-label.js +2 -2
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +2 -2
- package/dist/components/input.js +4 -4
- package/dist/components/multiselect-option.js +2 -2
- package/dist/{cjs/b2b-paragraph.cjs.entry.js → components/paragraph.js} +31 -13
- package/dist/components/rounded-icon.js +4 -4
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +70 -0
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-chip-component_2.entry.js +2 -2
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/{b2b-date-picker-days_5.entry.js → b2b-date-picker-days-header_4.entry.js} +2 -175
- package/dist/esm/b2b-date-picker-days.entry.js +176 -0
- package/dist/esm/b2b-date-picker.entry.js +1 -1
- package/dist/esm/b2b-date-range-picker-days_2.entry.js +196 -0
- package/dist/esm/b2b-date-range-picker.entry.js +155 -0
- package/dist/esm/b2b-dropdown.entry.js +28 -24
- package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
- package/dist/esm/b2b-flyout-menu.entry.js +3 -3
- package/dist/esm/b2b-grid-col.entry.js +1 -1
- package/dist/esm/b2b-grid-row.entry.js +2 -2
- package/dist/esm/b2b-grid.entry.js +1 -1
- package/dist/esm/b2b-icon-100.entry.js +0 -1
- package/dist/esm/b2b-input-group_2.entry.js +3 -3
- package/dist/esm/b2b-input-label.entry.js +2 -2
- package/dist/esm/b2b-input_2.entry.js +5 -5
- package/dist/esm/b2b-label.entry.js +2 -2
- package/dist/esm/b2b-modal.entry.js +2 -2
- package/dist/esm/b2b-multiselect-dropdown.entry.js +3 -3
- package/dist/esm/b2b-pagination.entry.js +1 -1
- package/dist/esm/b2b-progress-bar.entry.js +3 -3
- package/dist/esm/b2b-radio-button.entry.js +2 -2
- package/dist/esm/b2b-radio-group.entry.js +2 -2
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +4 -4
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-shimmer.entry.js +1 -1
- package/dist/esm/b2b-snackbar.entry.js +4 -4
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-cell_2.entry.js +3 -3
- package/dist/esm/b2b-table-row.entry.js +2 -2
- package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
- package/dist/esm/b2b-table.entry.js +2 -2
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +3 -3
- package/dist/esm/b2b-toggle-chip.entry.js +3 -3
- package/dist/esm/b2b-toggle-group.entry.js +2 -2
- package/dist/esm/b2b-toggle-switch.entry.js +5 -5
- package/dist/esm/b2b-tooltip.entry.js +3 -3
- package/dist/esm/b2b-wizard-icon.entry.js +1 -1
- package/dist/esm/b2b-wizard-step.entry.js +2 -2
- package/dist/esm/b2b-wizard.entry.js +1 -1
- package/dist/esm/date-range-picker-utils-92a5fb50.js +128 -0
- package/dist/esm/index-ab9eb36d.js +14 -6
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/date-range-picker/date-range-picker-days.d.ts +57 -0
- package/dist/types/components/date-range-picker/date-range-picker-utils.d.ts +58 -0
- package/dist/types/components/date-range-picker/date-range-picker.d.ts +89 -0
- package/dist/types/components/date-range-picker/date-range-picker.stories.d.ts +23 -0
- package/dist/types/components/dropdown/dropdown.d.ts +2 -2
- package/dist/types/components/icon-100/types.d.ts +1 -1
- package/dist/types/components/snackbar/snackbar.d.ts +2 -2
- package/dist/types/components/toggle-switch/toggle-switch.stories.d.ts +16 -4
- package/dist/types/components.d.ts +214 -2
- package/dist/types/docs/config/utils.d.ts +14 -0
- package/dist/types/utils/interfaces/form.interface.d.ts +6 -2
- package/dist/web-types.json +206 -3
- package/package.json +2 -2
- package/dist/b2b-core-components/icons-100/b2b_icon-cosmetics.png +0 -0
- package/dist/b2b-core-components/p-15df2a47.entry.js +0 -1
- package/dist/b2b-core-components/p-1d6f73dd.entry.js +0 -1
- package/dist/b2b-core-components/p-3369f3c0.entry.js +0 -1
- package/dist/b2b-core-components/p-67484ecc.entry.js +0 -1
- package/dist/b2b-core-components/p-6d64a994.entry.js +0 -1
- package/dist/b2b-core-components/p-76bf79ec.entry.js +0 -1
- package/dist/b2b-core-components/p-82a2809e.entry.js +0 -1
- package/dist/b2b-core-components/p-917a7f00.entry.js +0 -1
- package/dist/b2b-core-components/p-d88113f5.entry.js +0 -1
- package/dist/collection/components/icon-100/icons-100/b2b_icon-cosmetics.png +0 -0
- package/dist/esm/b2b-paragraph.entry.js +0 -31
|
@@ -68,7 +68,7 @@ const B2bGridRowComponent = class {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '019e65e7db27c37305f49e396389c72fbcf82281', style: {
|
|
72
72
|
['justify-content']: `${this.justify}`,
|
|
73
73
|
['gap']: `${this.columnGap}px`,
|
|
74
74
|
['margin']: `${this.rowGap}px 0`,
|
|
@@ -76,7 +76,7 @@ const B2bGridRowComponent = class {
|
|
|
76
76
|
['display']: 'flex',
|
|
77
77
|
['flex-wrap']: 'wrap',
|
|
78
78
|
['box-sizing']: 'border-box',
|
|
79
|
-
} }, h("slot", { key: '
|
|
79
|
+
} }, h("slot", { key: 'e203c9bde0b21f923b356b6e330ab6e4227fd1a5' })));
|
|
80
80
|
}
|
|
81
81
|
get hostElement() { return getElement(this); }
|
|
82
82
|
};
|
|
@@ -9,7 +9,7 @@ const B2bGridComponent = class {
|
|
|
9
9
|
this.margin = 24;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '01c61abbb9d20b4479031e0545967f08782650dc', style: { ['padding']: `${this.margin}px` }, class: "b2b-grid" }, h("slot", { key: '64a173edfae1ff772091163fecc55bebdc2462b9' })));
|
|
13
13
|
}
|
|
14
14
|
get hostElement() { return getElement(this); }
|
|
15
15
|
};
|
|
@@ -54,7 +54,7 @@ const B2BInputGroup = class {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '30fc190f60b27b6f11fdcc7ed37cc95eee557e5e' }, h("div", { key: '054b44ad5994365e1ea8034a854e2d1b23c6d5e2', class: { 'b2b-input-wrapper': true } }, h("slot", { key: '73b19a2684e84873ada8ec3b2f5c4f465f1fb382', name: "start" }), h("slot", { key: 'f0d15628f49e1d7c83eafaa7a631bd71a673ff97' }), h("slot", { key: '00209dc3c6bf3b3e4418e79dcb6387effc0d8531', name: "end" })), (this.hint || (this.invalid && !this.disabled)) && (h("span", { class: {
|
|
58
58
|
'b2b-input-wrapper__hint': true,
|
|
59
59
|
'b2b-input-wrapper__hint--error': this.invalid && !this.disabled,
|
|
60
60
|
} }, this.invalid && !this.disabled ? this.error : this.hint))));
|
|
@@ -210,13 +210,13 @@ const InputListComponent = class {
|
|
|
210
210
|
*/
|
|
211
211
|
render() {
|
|
212
212
|
const groupOrderClass = this.getGroupOrderClassName() || '';
|
|
213
|
-
return (h(Host, { key: '
|
|
213
|
+
return (h(Host, { key: 'c22a6a73eca142a88eb7cc3f4c975b579df1d709', onBlur: this.setElementOnBlur, onFocus: this.setElementOnFocus }, h("div", { key: '3fb28f6a327c958fcf9d178c4d1814915a13ad3a', class: {
|
|
214
214
|
'b2b-input-list': true,
|
|
215
215
|
'b2b-input-list__options-on': this.hasOptionList &&
|
|
216
216
|
this.isElementFocused &&
|
|
217
217
|
Boolean(this.value),
|
|
218
218
|
[groupOrderClass]: true,
|
|
219
|
-
} }, h("b2b-input", { key: '
|
|
219
|
+
} }, h("b2b-input", { key: '2cd2ba2a073ca4b1980ac5621b60f0ee351e5cca', type: "text", label: this.label, value: this.value, disabled: this.disabled || this.groupDisabled, "onb2b-input": this.handleInput, placeholder: this.placeholder, required: this.required }, !(this.disabled || this.groupDisabled) && Boolean(this.value) && (h("b2b-icon-100", { icon: "b2b_icon-close", "aria-label": "reset", slot: "end", tabIndex: 0, onMouseDown: this.resetInput, onKeyDown: this.resetInput }))), this.isElementFocused && Boolean(this.value) ? (h("div", { class: "b2b-input-list__options-container" }, this.hasOptionList ? (h("div", { class: "b2b-input-list__options", role: "listbox" }, this.optionsList.map(option => (h("b2b-input-list-option", { option: option, tabIndex: -1, "onb2b-option-selected": this.onOptionSelected }))))) : (h("slot", null)))) : null)));
|
|
220
220
|
}
|
|
221
221
|
get hostElement() { return getElement(this); }
|
|
222
222
|
static get watchers() { return {
|
|
@@ -10,11 +10,11 @@ const InputLabelComponent = class {
|
|
|
10
10
|
this.disabled = false;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '87fe33e03bfe683d013e8d992bba9e3863834514' }, h("label", { key: 'e88216535eb3d9638fc75a638daffb81bcdf0bb1', class: {
|
|
14
14
|
'b2b-input-label': true,
|
|
15
15
|
'b2b-input-label--required': this.required,
|
|
16
16
|
'b2b-input-label--disabled': this.disabled,
|
|
17
|
-
} }, h("slot", { key: '
|
|
17
|
+
} }, h("slot", { key: 'cf1736baaf9fd224071f3e21122c263b9865c318' }))));
|
|
18
18
|
}
|
|
19
19
|
get hostElement() { return getElement(this); }
|
|
20
20
|
};
|
|
@@ -103,18 +103,18 @@ const InputComponent = class {
|
|
|
103
103
|
this.filterHintSlotContent();
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: 'b18e9dad8fdc84804b77049fd7b94c6b05541c3f', class: {
|
|
107
107
|
'b2b-input': true,
|
|
108
108
|
'b2b-input--error': this.invalid && !this.disabled,
|
|
109
|
-
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("div", { key: '
|
|
109
|
+
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("div", { key: '655f632484049add498904c26d766670eb3b9203', class: {
|
|
110
110
|
'b2b-input__wrapper': true,
|
|
111
111
|
'b2b-input__wrapper--focused': this.hasFocus,
|
|
112
112
|
'b2b-input__wrapper--disabled': this.disabled || this.groupDisabled,
|
|
113
|
-
} }, h("slot", { key: '
|
|
113
|
+
} }, h("slot", { key: '1d0650fa02aa56cf183a8c3c89e5791a53c54944', name: "start" }), this.hasTextPrefix && h("div", { class: "border" }), h("input", { key: '88e9aa5076bd6dd59eafac8491d6fafc9eec8b5e', class: {
|
|
114
114
|
'b2b-input__native-input': true,
|
|
115
115
|
['b2b-input__native-input--align-' + this.inputTextAlign]: true,
|
|
116
116
|
'b2b-input__native-input--disabled': this.disabled || this.groupDisabled,
|
|
117
|
-
}, "aria-labelledby": this.name, type: this.type, placeholder: this.placeholder, value: this.value, name: this.name, disabled: this.disabled || this.groupDisabled, autoFocus: this.focusOnLoad, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, ref: el => (this.focusableElement = el) }), this.hasTextSuffix && h("div", { class: "border" }), h("slot", { key: '
|
|
117
|
+
}, "aria-labelledby": this.name, type: this.type, placeholder: this.placeholder, value: this.value, name: this.name, disabled: this.disabled || this.groupDisabled, autoFocus: this.focusOnLoad, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, ref: el => (this.focusableElement = el) }), this.hasTextSuffix && h("div", { class: "border" }), h("slot", { key: 'c93445fb93de27a7e1d4681bc7a48d44bb8baa1a', name: "end" })), (this.hint !== undefined || this.hintSlot) &&
|
|
118
118
|
(!this.invalid || this.disabled || this.groupDisabled) ? (h("span", null, h("slot", { name: "hint" }, this.hint))) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
119
119
|
}
|
|
120
120
|
get hostElement() { return getElement(this); }
|
|
@@ -139,7 +139,7 @@ const InputListOptionComponent = class {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
render() {
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: '566b7cf1696550467c5b8c29cedccf5f8821dc6e', class: "b2b-input-list__option", onClick: this.handleClick, role: "option" }, this.option));
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
InputListOptionComponent.style = B2bInputListOptionStyle0;
|
|
@@ -9,10 +9,10 @@ const LabelComponent = class {
|
|
|
9
9
|
this.type = 'neutral';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("span", { key: '
|
|
12
|
+
return (h("span", { key: '8b3e3c895c71501e761b6a80843403df68190cca', class: {
|
|
13
13
|
'b2b-label': true,
|
|
14
14
|
[`b2b-label--${this.type}`]: true,
|
|
15
|
-
} }, h("slot", { key: '
|
|
15
|
+
} }, h("slot", { key: '737f1fff0fd98d426cc910a6af713786aa7bd1cc' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
LabelComponent.style = B2bLabelStyle0;
|
|
@@ -206,10 +206,10 @@ const ModalComponent = class {
|
|
|
206
206
|
this.attemptFocus(this.getFirstFocusableElement());
|
|
207
207
|
}
|
|
208
208
|
render() {
|
|
209
|
-
return (h(Host, { key: '
|
|
209
|
+
return (h(Host, { key: '1ae4da3d85c98d784c5aa3254eec819791538b75' }, h("div", { key: 'a504235885dd6d98d6f909d9cf3d67adf0f1f6c0', class: { 'b2b-modal': true, 'b2b-modal--open': this.opened } }, h("div", { key: 'fffccabe0df78b009dc23f7dac95f5bbf7ce07e4', "data-focus-trap-edge": true, onFocus: this.handleTopFocus, tabIndex: 0 }), h("div", { key: 'd4c09be02aa93046ad8835da3affb70c0d7685dc', class: {
|
|
210
210
|
'b2b-modal__dialog': true,
|
|
211
211
|
[`b2b-modal__dialog--${this.variant}`]: true,
|
|
212
|
-
} }, h("div", { key: '
|
|
212
|
+
} }, h("div", { key: '85add6446151ec3df71ba825bab64d100306bc10', class: "b2b-modal__dialog__header" }, h("div", { key: '3fc56d466fe2eb9e6ca594ff867c48fe05ffda09', class: "b2b-modal__dialog__header-left" }, h("b2b-headline", { key: 'cf348827107b36494427ddaac019a539c379364a', align: "center", size: "200", noMargin: true }, this.heading), h("slot", { key: '8df87ec03dcdb11bbf96c1c49c9ea9d81a84a558', name: "header-icon" })), h("div", { key: '80f6e9e7d7ad6e71c15525a7a12eb885c48c6c2a', class: "b2b-modal__dialog__header-right" }, h("button", { key: '7e2373011323d5abc38803862f30aa0b3ae394e6', type: "button", class: "b2b-modal__dialog__close", onMouseEnter: this.toggleIconHover, onMouseLeave: this.toggleIconHover, onClick: this.handleClickDismiss, ref: el => (this.closeButton = el) }, h("b2b-icon-100", { key: 'a4955d65f73cf81cd919e5dbcf63db3251cf7449', clickable: true, icon: "b2b_icon-close", color: this.iconHover ? 'primary' : 'secondary' })))), h("div", { key: '3147b6a75f66f90d45f1a404f9dfb140634a6a35', class: "b2b-modal__dialog__body" }, h("slot", { key: '7ad81c8b9e610720c3ed918d255017a32d4128d4' })), h("div", { key: '7e7b6105f3bc4b1ad06eb7b7c7f43c91eb310c51', class: "b2b-modal__dialog__footer" }, h("div", { key: 'd3abac0aade1244074f2bb038e736e981d67f5ae', class: "b2b-modal__dialog__footer-left" }, h("slot", { key: '61599dfd481e53897522fabc44915546ac3d0f59', name: "footer-left" })), h("div", { key: '07c6cfca3f4e1545644292e4c04c9f02149d37b8', class: "b2b-modal__dialog__footer-right" }, h("slot", { key: '7b161e0e61c4e36c0ae1a2930b95e39991d72879', name: "footer-right" })))), h("div", { key: 'd5ac30a02abfd2b89dce1d913971a417198cd155', "data-focus-trap-edge": true, onFocus: this.handleBottomFocus, tabIndex: 0 }), h("div", { key: '570e98eefabd147193cb04d9d493e46a08411e3f', class: "b2b-modal__backdrop", onClick: this.handleBackdropDismiss }))));
|
|
213
213
|
}
|
|
214
214
|
get hostElement() { return getElement(this); }
|
|
215
215
|
static get watchers() { return {
|
|
@@ -213,16 +213,16 @@ const B2bMultiSelectDropdown = class {
|
|
|
213
213
|
const hasError = this.invalid && !disabled;
|
|
214
214
|
const showHint = this.hint && !hasError;
|
|
215
215
|
const showError = this.errorMessage && hasError;
|
|
216
|
-
return (h(Host, { key: '
|
|
216
|
+
return (h(Host, { key: 'ce7c585a53dfb0dc39216bca8de421f5c6f6bb63', onFocus: this.setElementOnFocus, onBlur: this.setElementOnBlur, onClick: this.handleMouseDown, onKeyDown: this.handleKeyDown }, h("b2b-input-label", { key: '5f70368b3502a9e3f313f701e254d0efefae6fd8', required: this.required }, this.label), h("div", { key: '3bc73b137d9b53d54b8a692965b83c299a09faa1', class: {
|
|
217
217
|
'b2b-multiselect-dropdown': true,
|
|
218
218
|
'b2b-multiselect-dropdown--open': this.isOpen,
|
|
219
219
|
'b2b-multiselect-dropdown--error': hasError,
|
|
220
220
|
'b2b-multiselect-dropdown--disabled': disabled,
|
|
221
221
|
'b2b-multiselect-dropdown--focused': this.invalid && this.isElementFocused,
|
|
222
|
-
}, tabindex: 0, role: "combobox", onClick: () => (this.isOpen = !this.isOpen && !disabled), "aria-expanded": this.isElementFocused }, h("div", { key: '
|
|
222
|
+
}, tabindex: 0, role: "combobox", onClick: () => (this.isOpen = !this.isOpen && !disabled), "aria-expanded": this.isElementFocused }, h("div", { key: 'b4e95e6072ebe7a49f1ff092521758bef17c9443', class: "b2b-multiselect-dropdown__chip-container" }, this.currentSelectedValues.length === 0 ? (h("span", { class: "b2b-multiselect-dropdown__placeholder" }, this.placeholder)) : (this.renderChips())), h("b2b-icon-100", { key: 'a79e61c1e78be92e394772e4fe45ccaa840bb23c', icon: "b2b_icon-arrow-down" })), h("div", { key: 'f8b8c5d70b18c1ffc175b966e1568ec719fd5aa6', class: {
|
|
223
223
|
'b2b-multiselect-dropdown__options-container': true,
|
|
224
224
|
'b2b-multiselect-dropdown__options-container--visible': this.isOpen,
|
|
225
|
-
} }, h("div", { key: '
|
|
225
|
+
} }, h("div", { key: '94b799c83a30906027023ee78c9202afc152cb98', class: "b2b-multiselect-dropdown__options", role: "listbox", "aria-label": this.label, tabIndex: -1 }, h("div", { key: 'c844dc9be611cf2533549cf03bdc1fb5cf7e5755', class: "b2b-multiselect-dropdown__option__search" }, h("input", { key: 'ec3380739b47ae8ee490ed4bf9369a81045f2d3b', type: "text", onInput: this.handleInput, class: "b2b-multiselect-dropdown__option__search__input", placeholder: this.searchPlaceholder })), h("b2b-multiselect-option", { key: 'bf17215713121f4f359872c8c1f6ed4f1ec32e45', class: "b2b-multiselect-dropdown__option__select-all", option: this.selectAllLabel, id: "select-all", "onB2b-option-selected": this.handleSelectAll }), this.hasOptionList &&
|
|
226
226
|
this.currentList.map(option => (h("b2b-multiselect-option", { "onB2b-option-selected": this.handleSelectedChange, option: option.value, label: option.label }))))), showHint && (h("span", { class: "b2b-multiselect-dropdown__hint" }, this.hint)), showError && (h("span", { class: "b2b-multiselect-dropdown__error-message" }, this.errorMessage))));
|
|
227
227
|
}
|
|
228
228
|
get hostElement() { return getElement(this); }
|
|
@@ -97,7 +97,7 @@ const PaginationComponent = class {
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h("nav", { key: '
|
|
100
|
+
return (h("nav", { key: '6f43e77c9989aafe2f5ff9d7de619853f807ceb9' }, h("ol", { key: 'ebc029acf51035b9859ed5793a29fc689c536484', class: "b2b-pagination" }, this.activePage !== 1 && (h("li", { class: "b2b-pagination--previous" }, h("b2b-button", { onClick: this.selectPreviousPage, size: "50", variant: "secondary", "aria-label": this.ariaLabelPreviousPage }, "\u2039" /* PaginationConstants.BACK */))), this.navItems.map((navItem, index) => {
|
|
101
101
|
const isItemActive = this.activePage === navItem;
|
|
102
102
|
return (h("li", { class: this.getItemClass(navItem) }, h("b2b-button", { onClick: () => this.setSelectedPage(navItem, index), active: isItemActive, disabled: isItemActive, size: "50", variant: "secondary" }, navItem)));
|
|
103
103
|
}), this.activePage !== this.totalPages && (h("li", { class: "b2b-pagination--next" }, h("b2b-button", { onClick: this.selectNextPage, size: "50", variant: "secondary", "aria-label": this.ariaLabelNextPage }, "\u203A" /* PaginationConstants.NEXT */))))));
|
|
@@ -22,11 +22,11 @@ const ProgressBarComponent = class {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const labelExists = this.label !== undefined && this.label !== '';
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '4511acab06e497842a84eed7cfa9beb7d575dbe7' }, h("div", { key: '03b04648866fed3e0c276ca8218201639b23f6fc', class: {
|
|
26
26
|
[`b2b-progress-bar__${this.labelPosition}-${this.labelType}`]: true,
|
|
27
|
-
} }, h("div", { key: '
|
|
27
|
+
} }, h("div", { key: '8ddd2295fd43f56b8393178e38ea414e96f332ed', class: "b2b-progress-bar__wrapper" }, h("div", { key: 'e6ea32124f8df1b937dd8f62e1e06d306229cd75', class: "b2b-progress-bar__progress", style: {
|
|
28
28
|
width: `${this.getProgress()}%`,
|
|
29
|
-
} })), h("div", { key: '
|
|
29
|
+
} })), h("div", { key: '36a7f3c4c5229350ea3a37827fa0613db0ab33b7', class: {
|
|
30
30
|
'b2b-progress-bar__label': labelExists,
|
|
31
31
|
'b2b-progress-bar__label-none': !labelExists,
|
|
32
32
|
[`b2b-progress-bar__label__${this.labelPosition}-${this.labelType}`]: labelExists,
|
|
@@ -61,11 +61,11 @@ const B2bRadioButtonComponent = class {
|
|
|
61
61
|
return Array.from(document.querySelectorAll(`b2b-radio-button[name="${this.name}"]`)).filter((radio) => radio.value !== this.value);
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '5fbc72c2f038679ea04d1c99a6f687e4829d7d51', onClick: this.onClick }, h("div", { key: '895c751c5086b2f7d466635020a39a96d1c9f220', class: {
|
|
65
65
|
'b2b-radio': true,
|
|
66
66
|
'b2b-radio--error': this.invalid && !this.disabled,
|
|
67
67
|
'b2b-radio--disabled': this.disabled,
|
|
68
|
-
} }, h("div", { key: '
|
|
68
|
+
} }, h("div", { key: '0f6b79277a4ad8520b77054c79bf835e6e2a0a7c', class: "b2b-radio-items" }, h("input", { key: 'bd9d51857f574d9c37d482ae6b23bd25027369a5', class: "b2b-radio-input", "aria-labelledby": this.name, type: "radio", checked: this.checked, disabled: this.disabled, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, value: this.value }), h("b2b-input-label", { key: '8ab71684ff2f26fdbe119c852109ce3b44ed1c4f', id: this.name, required: this.required, disabled: this.disabled }, h("slot", { key: '474cc5a22301f4be53130579845152da0caa849b', name: "label" }, this.label))), (this.hint !== undefined && !this.invalid) ||
|
|
69
69
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
70
70
|
}
|
|
71
71
|
get host() { return getElement(this); }
|
|
@@ -73,11 +73,11 @@ const RadioButtonGroupComponent = class {
|
|
|
73
73
|
this.removeChildText();
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'c47db22cd7ab5484813e052db015d2b8d1405bb9' }, h("div", { key: '1e7fc6246f83ea53debd5ef7fc42772e3c41a936', class: {
|
|
77
77
|
'b2b-radio-group': true,
|
|
78
78
|
'b2b-radio-group--error': this.invalid && !this.disabled,
|
|
79
79
|
[`b2b-radio-group--${this.alignment}`]: true,
|
|
80
|
-
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("fieldset", { key: '
|
|
80
|
+
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("fieldset", { key: 'a406988d11f921c8eb16296820212da84d014e8c' }, h("div", { key: '2b6fb5ac504cdc65b354d8d30727b0fb6e725376', class: "b2b-radio-group-options" }, h("slot", { key: 'd7161d2da1c4241830815da13fe87067ecb55931' }))), (this.hint !== undefined && !this.invalid) ||
|
|
81
81
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
82
82
|
}
|
|
83
83
|
get host() { return getElement(this); }
|
|
@@ -9,7 +9,7 @@ const B2BRequiredSeparator = class {
|
|
|
9
9
|
this.label = 'Pflichtfeld';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'dbb1404fe0a21058185803fc23cbe4a53378d25f' }, h("div", { key: 'fa4568e39ddc882fde2a8ae6c667145e6b0ff71f', class: "b2b-required-separator__label" }, h("span", { key: 'cff2204e59e777da55f39e4fa4be2a376fd7645b', class: "b2b-required-separator__asterisk" }, "* "), h("span", { key: '8d57dbea0fe1841c2fd52e65e2268c60eea7ea60' }, this.label)), h("b2b-separator", { key: '653ca12e5bed8038775144314e7a0c424437c33f' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
B2BRequiredSeparator.style = B2bRequiredSeparatorStyle0;
|
|
@@ -11,16 +11,16 @@ const RoundedIconComponent = class {
|
|
|
11
11
|
this.contentColor = 'var(--b2b-color-copy-default)';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '1d7eea4ad65056f16127e2029811239e0540560b' }, h("div", { key: '153f0ace757daff8776fac4fbe1cc9a05e9c0dfa', style: {
|
|
15
15
|
['background-color']: this.color,
|
|
16
16
|
['border']: `1px solid ${this.borderColor || this.color}`,
|
|
17
17
|
}, class: {
|
|
18
18
|
'b2b-rounded-icon': true,
|
|
19
|
-
} }, h("div", { key: '
|
|
19
|
+
} }, h("div", { key: '7b28d41d6d5cb38c21aa4487cca0ce070663909a', style: {
|
|
20
20
|
['color']: this.contentColor,
|
|
21
|
-
} }, h("slot", { key: '
|
|
21
|
+
} }, h("slot", { key: '32e90de259f352aff82118dd1f9904475fc875e2', name: "icon" })), h("div", { key: '38f7a97f95191cd039a4bbbcf20a9b5ce1826a8e', style: {
|
|
22
22
|
['color']: this.contentColor,
|
|
23
|
-
} }, h("slot", { key: '
|
|
23
|
+
} }, h("slot", { key: 'e994e7fbd49f656c865ce8517833be0d6bbb852e', name: "text" })))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
RoundedIconComponent.style = B2bRoundedIconStyle0;
|
|
@@ -8,7 +8,7 @@ const ScrollableContainerComponent = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'c5c71924d38f1788a60b19e49ad09a3aa5d637f6' }, h("slot", { key: '4fa412e60d51aa58e9e6d40936bb4f4a4725dab5' })));
|
|
12
12
|
}
|
|
13
13
|
get host() { return getElement(this); }
|
|
14
14
|
};
|
|
@@ -25,7 +25,7 @@ const SearchComponent = class {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '65315a3718f55f1d9b63c2b3a437bd292a512eb3' }, h("b2b-input-group", { key: '7f1e64e2fe99e4b8ecca7f90547c7e08b0c2a8f3', disabled: this.disabled }, h("b2b-input-list", { key: '7a140c8635b7f193125597a4b6a1df62c81796f3', slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", { key: '2674546c9fc2e6347c42350f94dc91876357e336' })), h("b2b-button", { key: '75cdcd94bb0f25af3448bb76ed6f5103ceb6711c', slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon-100", { key: '0d846a636b31a4e8b67933611b2da76442ad7795', icon: "b2b_icon-search", clickable: true })))));
|
|
29
29
|
}
|
|
30
30
|
get hostElement() { return getElement(this); }
|
|
31
31
|
};
|
|
@@ -9,7 +9,7 @@ const B2bSeparatorComponent = class {
|
|
|
9
9
|
this.alignment = 'horizontal';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'f1ab4806be7ac4128d95a047421be58502b0cadf' }, h("div", { key: 'c478fc67a79c15a6d74af39eb6747d25d3d58922', class: {
|
|
13
13
|
[`b2b-separator--${this.alignment}`]: true,
|
|
14
14
|
} })));
|
|
15
15
|
}
|
|
@@ -15,7 +15,7 @@ const ShimmerComponent = class {
|
|
|
15
15
|
width: `${this.width}px`,
|
|
16
16
|
height: `${this.height}px`,
|
|
17
17
|
};
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '82fc3e95ff0f946ae6cfd5c59ab1a0e04df62ca5' }, this.loading ? (h("div", { class: "b2b-shimmer", style: shimmerStyle })) : (h("slot", null))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
ShimmerComponent.style = B2bShimmerStyle0;
|
|
@@ -93,17 +93,17 @@ const SnackbarComponent = class {
|
|
|
93
93
|
clearTimeout(this.timeoutId);
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: '55fbed7dd9fa44a54d25277ca6f1e75429ba1b37', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: 'dff92b0614f3e59e0c809b975310646814b8145e', class: {
|
|
97
97
|
'b2b-snackbar': true,
|
|
98
98
|
[`b2b-snackbar--${this.type}`]: true,
|
|
99
99
|
'b2b-snackbar--opened': this.opened,
|
|
100
|
-
}, style:
|
|
100
|
+
}, style: { width: this.width || 'auto' } }, h("div", { key: '1fc6e6367e35c1b1a05f43ea2660a905f22c9711', class: "b2b-snackbar__content" }, h("span", { key: 'c8e4bc8512f84f110f520f6678df3a1b140a0367', class: { [`b2b-snackbar--${this.type}__icon`]: true } }, this.chooseIcon()), h("p", { key: '746bbc4361665af9e7ca661a2961bf000f4e073d', class: "b2b-snackbar__content__description" }, this.description)), this.isActionPresent() && (h("div", { class: {
|
|
101
101
|
'b2b-snackbar__action': true,
|
|
102
102
|
[`b2b-snackbar__action--${this.type}`]: true,
|
|
103
|
-
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: '
|
|
103
|
+
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: 'c8384158b5bdec6af91cae1adc66763cbdf528d1', class: {
|
|
104
104
|
'b2b-snackbar__close-icon': true,
|
|
105
105
|
[`b2b-snackbar__close-icon--${this.type}`]: true,
|
|
106
|
-
}, onClick: this.close }, h("b2b-icon-100", { key: '
|
|
106
|
+
}, onClick: this.close }, h("b2b-icon-100", { key: '8315309a832f0767ecbbc40ef147b0005a66ce7a', clickable: true, size: 24, icon: "b2b_icon-close" })))));
|
|
107
107
|
}
|
|
108
108
|
static get watchers() { return {
|
|
109
109
|
"opened": ["onVisibleChange"]
|
|
@@ -124,7 +124,7 @@ const B2bTabGroupComponent = class {
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
|
-
return (h(Host, { key: '
|
|
127
|
+
return (h(Host, { key: 'a652623572354f06d1b773b9a98760a7c9ec9cf7' }, h("slot", { key: 'f80657d44b37339fb026e92873fb177b2393e841', name: "tab" }), h("b2b-separator", { key: 'e82a1891e3c509fab6f2b17e74f39796645bbdd2' }), h("slot", { key: 'e9ccf361a9bfa3424fc861b6ba8f685510ef39bd', name: "panel" })));
|
|
128
128
|
}
|
|
129
129
|
get hostElement() { return getElement(this); }
|
|
130
130
|
};
|
|
@@ -10,7 +10,7 @@ const B2bTabPanelComponent = class {
|
|
|
10
10
|
this.generatedId = i++;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '09b20e44ef0677b3ce5babd5da199ac5803e60c2', id: `b2b-tab-panel-${this.generatedId}`, role: "tabpanel" }, h("div", { key: '72ddbd132da8c1bcb7810397dd50530d722eb5ce', class: "b2b-tab-panel" }, h("slot", { key: '6318fea037462b2b43f33bde3bd0e6ee42c1dc18' }))));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
B2bTabPanelComponent.style = B2bTabPanelStyle0;
|
|
@@ -23,12 +23,12 @@ const B2bTabComponent = class {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '040969f8040c2e7f38641b054aa71dbce563bbcd', id: `b2b-tab-${this.generatedId}`, "aria-role": "tab", "aria-selected": this.selected, role: this.disabled ? false : 'tab', disabled: this.disabled, tabindex: this.disabled ? false : this.selected ? '0' : '-1' }, h("span", { key: '094d8312566c347cf529fb9f71b747f2ed1348f6', class: {
|
|
27
27
|
'b2b-tab': true,
|
|
28
28
|
'b2b-tab--selected': this.selected,
|
|
29
29
|
'b2b-tab--disabled': this.disabled,
|
|
30
30
|
'b2b-tab--error': this.invalid,
|
|
31
|
-
} }, h("slot", { key: '
|
|
31
|
+
} }, h("slot", { key: 'cd453ac793439c1572ff80f84a29d5d60b6e0517' }))));
|
|
32
32
|
}
|
|
33
33
|
get hostElement() { return getElement(this); }
|
|
34
34
|
static get watchers() { return {
|
|
@@ -40,14 +40,14 @@ const TableCellComponent = class {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '285cee3af71e3d05dd2916f771fe36e47e001998', onMouseEnter: this.addExpandStyles, onMouseLeave: this.removeExpandStyles, class: {
|
|
44
44
|
'b2b-table-cell': true,
|
|
45
45
|
['b2b-table-cell--colspan']: this.size === TableSizes.COLSPAN,
|
|
46
46
|
['b2b-table-cell--ellipsis']: this.useTextEllipsis,
|
|
47
47
|
['b2b-table-cell--' + this.align]: true,
|
|
48
48
|
['b2b-table-cell--divider']: this.divider,
|
|
49
49
|
[`b2b-table-cell-color-${this.color}`]: true,
|
|
50
|
-
}, role: "cell" }, h("slot", { key: '
|
|
50
|
+
}, role: "cell" }, h("slot", { key: 'd0812f47d90ee1b225110855df1c8918960505e7' })));
|
|
51
51
|
}
|
|
52
52
|
get host() { return getElement(this); }
|
|
53
53
|
};
|
|
@@ -127,7 +127,7 @@ const TableHeaderComponent = class {
|
|
|
127
127
|
this.setIconPlacement();
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '9b0df06a2325c4bac0e64f1a3b1dadec9150b14b', class: {
|
|
131
131
|
[`b2b-table-header--${this.sortDirection && this.iconAlign}`]: true,
|
|
132
132
|
'b2b-table-header--divider': this.divider,
|
|
133
133
|
[`b2b-table-header--${this.size}`]: true,
|
|
@@ -116,12 +116,12 @@ const TableRowComponent = class {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
render() {
|
|
119
|
-
return (h(Host, { key: '
|
|
119
|
+
return (h(Host, { key: 'b3c742ca195dec5c8037a589122e41d87afcee5d', class: {
|
|
120
120
|
'b2b-table-row': true,
|
|
121
121
|
['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
|
|
122
122
|
['b2b-table-row--highlight']: this.highlight,
|
|
123
123
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
124
|
-
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '
|
|
124
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'ae02badbe6847a68f2e5e1e08e676678f7144c1b' })));
|
|
125
125
|
}
|
|
126
126
|
get hostElement() { return getElement(this); }
|
|
127
127
|
};
|
|
@@ -118,11 +118,11 @@ const TableRowgroupComponent = class {
|
|
|
118
118
|
this.makeHeaderRowNotSelectable();
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '1fa1822d42bf6819b2fd6de382a0075a05715569', class: {
|
|
122
122
|
['b2b-table-rowgroup__' + this.type]: true,
|
|
123
123
|
'b2b-table-rowgroup--fixed': this.fixed,
|
|
124
124
|
'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
|
|
125
|
-
}, role: "rowgroup" }, h("slot", { key: '
|
|
125
|
+
}, role: "rowgroup" }, h("slot", { key: '6ffd528b4b6330a5f4c66b50b3c329853fd441a8' })));
|
|
126
126
|
}
|
|
127
127
|
get host() { return getElement(this); }
|
|
128
128
|
};
|
|
@@ -65,9 +65,9 @@ const TableComponent = class {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'b838cb824f9e59b01eb827642d130b8933bfa331', class: {
|
|
69
69
|
['b2b-table--' + this.size]: true,
|
|
70
|
-
}, role: "table" }, h("slot", { key: '
|
|
70
|
+
}, role: "table" }, h("slot", { key: 'a657fe4d62601fff6bf5ee6d640fbb8d8c351055' })));
|
|
71
71
|
}
|
|
72
72
|
get host() { return getElement(this); }
|
|
73
73
|
};
|
|
@@ -50,10 +50,10 @@ const B2BTextareaComponent = class {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'b5ecf98b41d74602941e9b3a5a22962e7c6c94d9', class: {
|
|
54
54
|
'b2b-textarea': true,
|
|
55
55
|
'b2b-textarea--error': this.invalid && !this.disabled,
|
|
56
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '
|
|
56
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '1cb84cd64595ee68ca04e62f5b587ef9eef3ff3e', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.focusOnLoad, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
|
|
57
57
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
58
58
|
}
|
|
59
59
|
get hostElement() { return getElement(this); }
|
|
@@ -37,13 +37,13 @@ const B2bToggleButtonComponent = class {
|
|
|
37
37
|
return Array.from(document.querySelectorAll(`b2b-toggle-button[name="${this.name}"]`)).filter((toggle) => toggle.value !== this.value);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'a6f1b65c7fc3b33b46d9f12f03c47d7abb14c345', onClick: this.onClick }, h("span", { key: '546d4e19b0f924c7ba6f3d86a917f9a6d56800e8', class: {
|
|
41
41
|
'b2b-toggle-button': true,
|
|
42
42
|
'b2b-toggle-button--disabled': this.disabled,
|
|
43
|
-
} }, h("input", { key: '
|
|
43
|
+
} }, h("input", { key: 'f80c968bb2b970b2fee8f028183786ee62cb46aa', tabindex: 0, class: {
|
|
44
44
|
'b2b-toggle-button__input': true,
|
|
45
45
|
'b2b-toggle-button__input--disabled': this.disabled,
|
|
46
|
-
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
46
|
+
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'dcf4bd01503bed93040bb788c5c8f501e900bdcc', id: this.name, tabindex: -1, class: {
|
|
47
47
|
'b2b-toggle-button__label': true,
|
|
48
48
|
'b2b-toggle-button__label--disabled': this.disabled,
|
|
49
49
|
'b2b-toggle-button__label--checked': this.checked && !this.disabled,
|
|
@@ -38,11 +38,11 @@ const B2BToggleChipComponent = class {
|
|
|
38
38
|
this.disabled = false;
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '70fad02b2046f9a929159944de8d1bcfb73e695b' }, h("span", { key: 'e0999281f64d4dcf7fadd9861e69c2ccd5242381', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
|
|
42
42
|
'b2b-toggle-chip': true,
|
|
43
|
-
} }, h("input", { key: '
|
|
43
|
+
} }, h("input", { key: '9a5adfa2b4b45fd86511167a879b2324ec1514aa', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
|
|
44
44
|
'b2b-toggle-chip__input': true,
|
|
45
|
-
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
45
|
+
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'b35900d6765c98d6a403384ae87ce666df7a391e', id: this.name, tabIndex: -1, class: {
|
|
46
46
|
'b2b-toggle-chip__label': true,
|
|
47
47
|
'b2b-toggle-chip__label--active': this.active && !this.disabled,
|
|
48
48
|
'b2b-toggle-chip__label--disabled': this.disabled,
|
|
@@ -51,10 +51,10 @@ const B2BToggleGroup = class {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '7226291d34975d1f924ef09c9b8d4d74bef97733' }, h("div", { key: 'e483cc453088f46d77e49c02fcc7ec81947cfbf5', class: {
|
|
55
55
|
'b2b-toggle-group': true,
|
|
56
56
|
'b2b-toggle-group--disabled': this.disabled,
|
|
57
|
-
} }, h("fieldset", { key: '
|
|
57
|
+
} }, h("fieldset", { key: '3bf9e738d0629438870a7618087c82b0b4841f4d' }, h("slot", { key: '648b2303ec2207e3c1069b313194de5abdef0518' })))));
|
|
58
58
|
}
|
|
59
59
|
get host() { return getElement(this); }
|
|
60
60
|
static get watchers() { return {
|