@edm-sdui/sdui 1.0.68 → 1.0.70
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/edm-sdui-sdui-1.0.70.tgz +0 -0
- package/fesm2022/edm-sdui-sdui.mjs +1360 -516
- package/fesm2022/edm-sdui-sdui.mjs.map +1 -1
- package/package.json +6 -7
- package/types/edm-sdui-sdui.d.ts +1560 -0
- package/types/edm-sdui-sdui.d.ts.map +1 -0
- package/edm-sdui-sdui-1.0.68.tgz +0 -0
- package/edm-sdui-sdui.d.ts.map +0 -1
- package/esm2022/edm-sdui-sdui.mjs +0 -5
- package/esm2022/lib/components/navigation-controls/navigation-controls.component.mjs +0 -27
- package/esm2022/lib/components/uicomponent/button/button.component.mjs +0 -56
- package/esm2022/lib/components/uicomponent/column/column.component.mjs +0 -27
- package/esm2022/lib/components/uicomponent/image/image.component.mjs +0 -61
- package/esm2022/lib/components/uicomponent/image/ranking-svg.mjs +0 -186
- package/esm2022/lib/components/uicomponent/label/label.component.mjs +0 -97
- package/esm2022/lib/components/uicomponent/media-type/media-type.component.mjs +0 -71
- package/esm2022/lib/components/uicomponent/modal/modal.component.mjs +0 -30
- package/esm2022/lib/components/uicomponent/picker/picker.component.mjs +0 -56
- package/esm2022/lib/components/uicomponent/picker-item/picker-item.component.mjs +0 -34
- package/esm2022/lib/components/uicomponent/profile-button/profile-button.component.mjs +0 -115
- package/esm2022/lib/components/uicomponent/progress-bar/progress-bar.component.mjs +0 -42
- package/esm2022/lib/components/uicomponent/row/row.component.mjs +0 -22
- package/esm2022/lib/components/uicomponent/row-divisor/row-divisor.component.mjs +0 -22
- package/esm2022/lib/components/uicomponent/scrollable-column/scrollable-column.component.mjs +0 -33
- package/esm2022/lib/components/uicomponent/scrollable-row/scrollable-row.component.mjs +0 -131
- package/esm2022/lib/components/uicomponent/search-bar/search-bar.component.mjs +0 -102
- package/esm2022/lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.mjs +0 -139
- package/esm2022/lib/components/uicomponent/space/space.component.mjs +0 -20
- package/esm2022/lib/components/uicomponent/tag/tag.component.mjs +0 -59
- package/esm2022/lib/components/uicomponent/tags-row/tag/tag.component.mjs +0 -282
- package/esm2022/lib/components/uicomponent/tags-row/tags-row.component.mjs +0 -178
- package/esm2022/lib/components/uicomponent/uicomponent.component.mjs +0 -52
- package/esm2022/lib/components/uicomponent/zstack/zstack.component.mjs +0 -23
- package/esm2022/lib/components/uilayout/centered-content-layout/centered-content-layout.component.mjs +0 -24
- package/esm2022/lib/components/uilayout/fab/fab.component.mjs +0 -42
- package/esm2022/lib/components/uilayout/single-column-layout/single-column-layout.component.mjs +0 -22
- package/esm2022/lib/components/uilayout/uinavigation/uinavigation.component.mjs +0 -15
- package/esm2022/lib/components/uiscreen/uiscreen.component.mjs +0 -31
- package/esm2022/lib/core/services/font-size-mapping.service.mjs +0 -30
- package/esm2022/lib/core/services/modal.service.mjs +0 -30
- package/esm2022/lib/core/services/scroll-spy.service.mjs +0 -102
- package/esm2022/lib/core/services/translation.service.mjs +0 -53
- package/esm2022/lib/core/services/ui-action-handlers.service.mjs +0 -17
- package/esm2022/lib/core/services/ui-action.service.mjs +0 -112
- package/esm2022/lib/core/services/uiscreen.service.mjs +0 -205
- package/esm2022/lib/core/tokens/sdui-config.token.mjs +0 -4
- package/esm2022/lib/core/uicomposition/enums/uicomponent-type.mjs +0 -36
- package/esm2022/lib/core/uicomposition/enums/uiplatform-type.mjs +0 -7
- package/esm2022/lib/core/uicomposition/enums/uiscene.mjs +0 -5
- package/esm2022/lib/core/uicomposition/enums/uiscreen-container-type.mjs +0 -6
- package/esm2022/lib/core/uicomposition/enums/uiscreen-identifier.mjs +0 -6
- package/esm2022/lib/core/uicomposition/mapping/component-mapping.mjs +0 -36
- package/esm2022/lib/core/uicomposition/models/uicentered-content-layout.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uicomponent.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uielement.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uilayout.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uinavigation.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uiscreen-config.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uiscreen.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uisingle-column-layout.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uitag.mjs +0 -2
- package/esm2022/lib/core/uicomposition/models/uiview.mjs +0 -2
- package/esm2022/lib/core/uitheme/enums/uiaction-type.mjs +0 -17
- package/esm2022/lib/core/uitheme/enums/uialignment-type.mjs +0 -7
- package/esm2022/lib/core/uitheme/enums/uiaspect-type.mjs +0 -6
- package/esm2022/lib/core/uitheme/enums/uiasset.mjs +0 -437
- package/esm2022/lib/core/uitheme/enums/uicolor.mjs +0 -157
- package/esm2022/lib/core/uitheme/enums/uicontent-type.mjs +0 -11
- package/esm2022/lib/core/uitheme/enums/uidimension.mjs +0 -49
- package/esm2022/lib/core/uitheme/enums/uijustify.mjs +0 -9
- package/esm2022/lib/core/uitheme/enums/uipadding-level.mjs +0 -12
- package/esm2022/lib/core/uitheme/enums/uipresentation-style.mjs +0 -7
- package/esm2022/lib/core/uitheme/enums/uiradius-level.mjs +0 -10
- package/esm2022/lib/core/uitheme/enums/uishadow-blur-radius.mjs +0 -5
- package/esm2022/lib/core/uitheme/enums/uishadow-offset.mjs +0 -5
- package/esm2022/lib/core/uitheme/enums/uisize.mjs +0 -22
- package/esm2022/lib/core/uitheme/enums/uispacing-level.mjs +0 -10
- package/esm2022/lib/core/uitheme/enums/uitext-style.mjs +0 -15
- package/esm2022/lib/core/uitheme/mapping/alignment-mapping.mjs +0 -7
- package/esm2022/lib/core/uitheme/mapping/aspect-mapping.mjs +0 -6
- package/esm2022/lib/core/uitheme/mapping/asset-mapping.mjs +0 -437
- package/esm2022/lib/core/uitheme/mapping/color-mapping.mjs +0 -157
- package/esm2022/lib/core/uitheme/mapping/dimension-mapping.mjs +0 -51
- package/esm2022/lib/core/uitheme/mapping/justify-mapping.mjs +0 -9
- package/esm2022/lib/core/uitheme/mapping/pad-mapping.mjs +0 -12
- package/esm2022/lib/core/uitheme/mapping/radius-mapping.mjs +0 -10
- package/esm2022/lib/core/uitheme/mapping/shadow-mapping.mjs +0 -9
- package/esm2022/lib/core/uitheme/mapping/size-mapping.mjs +0 -26
- package/esm2022/lib/core/uitheme/mapping/space-mapping.mjs +0 -10
- package/esm2022/lib/core/uitheme/mapping/text-style-mapping.mjs +0 -33
- package/esm2022/lib/core/uitheme/models/uiaction.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uialignment.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uibackground.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uicontent-inset.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uihover.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uipadding.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uiradius.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uishadow.mjs +0 -2
- package/esm2022/lib/core/uitheme/models/uispacing.mjs +0 -2
- package/esm2022/lib/core/utils/url-parser.util.mjs +0 -26
- package/esm2022/lib/core/view-models/uiscreen.viewmodel.mjs +0 -106
- package/esm2022/lib/directives/uiview.directive.mjs +0 -401
- package/esm2022/lib/sdui-routing.module.mjs +0 -28
- package/esm2022/lib/sdui.component.mjs +0 -51
- package/esm2022/lib/sdui.module.mjs +0 -139
- package/esm2022/public-api.mjs +0 -13
- package/index.d.ts +0 -6
- package/lib/components/navigation-controls/navigation-controls.component.d.ts +0 -12
- package/lib/components/navigation-controls/navigation-controls.component.d.ts.map +0 -1
- package/lib/components/uicomponent/button/button.component.d.ts +0 -19
- package/lib/components/uicomponent/button/button.component.d.ts.map +0 -1
- package/lib/components/uicomponent/column/column.component.d.ts +0 -12
- package/lib/components/uicomponent/column/column.component.d.ts.map +0 -1
- package/lib/components/uicomponent/image/image.component.d.ts +0 -18
- package/lib/components/uicomponent/image/image.component.d.ts.map +0 -1
- package/lib/components/uicomponent/image/ranking-svg.d.ts +0 -2
- package/lib/components/uicomponent/image/ranking-svg.d.ts.map +0 -1
- package/lib/components/uicomponent/label/label.component.d.ts +0 -18
- package/lib/components/uicomponent/label/label.component.d.ts.map +0 -1
- package/lib/components/uicomponent/media-type/media-type.component.d.ts +0 -24
- package/lib/components/uicomponent/media-type/media-type.component.d.ts.map +0 -1
- package/lib/components/uicomponent/modal/modal.component.d.ts +0 -15
- package/lib/components/uicomponent/modal/modal.component.d.ts.map +0 -1
- package/lib/components/uicomponent/picker/picker.component.d.ts +0 -22
- package/lib/components/uicomponent/picker/picker.component.d.ts.map +0 -1
- package/lib/components/uicomponent/picker-item/picker-item.component.d.ts +0 -16
- package/lib/components/uicomponent/picker-item/picker-item.component.d.ts.map +0 -1
- package/lib/components/uicomponent/profile-button/profile-button.component.d.ts +0 -22
- package/lib/components/uicomponent/profile-button/profile-button.component.d.ts.map +0 -1
- package/lib/components/uicomponent/progress-bar/progress-bar.component.d.ts +0 -15
- package/lib/components/uicomponent/progress-bar/progress-bar.component.d.ts.map +0 -1
- package/lib/components/uicomponent/row/row.component.d.ts +0 -11
- package/lib/components/uicomponent/row/row.component.d.ts.map +0 -1
- package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts +0 -11
- package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts.map +0 -1
- package/lib/components/uicomponent/scrollable-column/scrollable-column.component.d.ts +0 -15
- package/lib/components/uicomponent/scrollable-column/scrollable-column.component.d.ts.map +0 -1
- package/lib/components/uicomponent/scrollable-row/scrollable-row.component.d.ts +0 -29
- package/lib/components/uicomponent/scrollable-row/scrollable-row.component.d.ts.map +0 -1
- package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +0 -19
- package/lib/components/uicomponent/search-bar/search-bar.component.d.ts.map +0 -1
- package/lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.d.ts +0 -22
- package/lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.d.ts.map +0 -1
- package/lib/components/uicomponent/space/space.component.d.ts +0 -11
- package/lib/components/uicomponent/space/space.component.d.ts.map +0 -1
- package/lib/components/uicomponent/tag/tag.component.d.ts +0 -19
- package/lib/components/uicomponent/tag/tag.component.d.ts.map +0 -1
- package/lib/components/uicomponent/tags-row/tag/tag.component.d.ts +0 -39
- package/lib/components/uicomponent/tags-row/tag/tag.component.d.ts.map +0 -1
- package/lib/components/uicomponent/tags-row/tags-row.component.d.ts +0 -37
- package/lib/components/uicomponent/tags-row/tags-row.component.d.ts.map +0 -1
- package/lib/components/uicomponent/uicomponent.component.d.ts +0 -18
- package/lib/components/uicomponent/uicomponent.component.d.ts.map +0 -1
- package/lib/components/uicomponent/zstack/zstack.component.d.ts +0 -11
- package/lib/components/uicomponent/zstack/zstack.component.d.ts.map +0 -1
- package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts +0 -11
- package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts.map +0 -1
- package/lib/components/uilayout/fab/fab.component.d.ts +0 -17
- package/lib/components/uilayout/fab/fab.component.d.ts.map +0 -1
- package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts +0 -10
- package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts.map +0 -1
- package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts +0 -8
- package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts.map +0 -1
- package/lib/components/uiscreen/uiscreen.component.d.ts +0 -13
- package/lib/components/uiscreen/uiscreen.component.d.ts.map +0 -1
- package/lib/core/services/font-size-mapping.service.d.ts +0 -10
- package/lib/core/services/font-size-mapping.service.d.ts.map +0 -1
- package/lib/core/services/modal.service.d.ts +0 -11
- package/lib/core/services/modal.service.d.ts.map +0 -1
- package/lib/core/services/scroll-spy.service.d.ts +0 -31
- package/lib/core/services/scroll-spy.service.d.ts.map +0 -1
- package/lib/core/services/translation.service.d.ts +0 -13
- package/lib/core/services/translation.service.d.ts.map +0 -1
- package/lib/core/services/ui-action-handlers.service.d.ts +0 -9
- package/lib/core/services/ui-action-handlers.service.d.ts.map +0 -1
- package/lib/core/services/ui-action.service.d.ts +0 -17
- package/lib/core/services/ui-action.service.d.ts.map +0 -1
- package/lib/core/services/uiscreen.service.d.ts +0 -26
- package/lib/core/services/uiscreen.service.d.ts.map +0 -1
- package/lib/core/tokens/sdui-config.token.d.ts +0 -4
- package/lib/core/tokens/sdui-config.token.d.ts.map +0 -1
- package/lib/core/uicomposition/enums/uicomponent-type.d.ts +0 -26
- package/lib/core/uicomposition/enums/uicomponent-type.d.ts.map +0 -1
- package/lib/core/uicomposition/enums/uiplatform-type.d.ts +0 -6
- package/lib/core/uicomposition/enums/uiplatform-type.d.ts.map +0 -1
- package/lib/core/uicomposition/enums/uiscene.d.ts +0 -4
- package/lib/core/uicomposition/enums/uiscene.d.ts.map +0 -1
- package/lib/core/uicomposition/enums/uiscreen-container-type.d.ts +0 -5
- package/lib/core/uicomposition/enums/uiscreen-container-type.d.ts.map +0 -1
- package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts +0 -5
- package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts.map +0 -1
- package/lib/core/uicomposition/mapping/component-mapping.d.ts +0 -4
- package/lib/core/uicomposition/mapping/component-mapping.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uicentered-content-layout.d.ts +0 -11
- package/lib/core/uicomposition/models/uicentered-content-layout.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uicomponent.d.ts +0 -12
- package/lib/core/uicomposition/models/uicomponent.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uielement.d.ts +0 -28
- package/lib/core/uicomposition/models/uielement.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uilayout.d.ts +0 -4
- package/lib/core/uicomposition/models/uilayout.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uinavigation.d.ts +0 -6
- package/lib/core/uicomposition/models/uinavigation.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uiscreen-config.d.ts +0 -6
- package/lib/core/uicomposition/models/uiscreen-config.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uiscreen.d.ts +0 -20
- package/lib/core/uicomposition/models/uiscreen.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uisingle-column-layout.d.ts +0 -12
- package/lib/core/uicomposition/models/uisingle-column-layout.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uitag.d.ts +0 -6
- package/lib/core/uicomposition/models/uitag.d.ts.map +0 -1
- package/lib/core/uicomposition/models/uiview.d.ts +0 -33
- package/lib/core/uicomposition/models/uiview.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uiaction-type.d.ts +0 -13
- package/lib/core/uitheme/enums/uiaction-type.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uialignment-type.d.ts +0 -6
- package/lib/core/uitheme/enums/uialignment-type.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uiaspect-type.d.ts +0 -5
- package/lib/core/uitheme/enums/uiaspect-type.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uiasset.d.ts +0 -436
- package/lib/core/uitheme/enums/uiasset.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uicolor.d.ts +0 -156
- package/lib/core/uitheme/enums/uicolor.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uicontent-type.d.ts +0 -10
- package/lib/core/uitheme/enums/uicontent-type.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uidimension.d.ts +0 -48
- package/lib/core/uitheme/enums/uidimension.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uijustify.d.ts +0 -8
- package/lib/core/uitheme/enums/uijustify.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uipadding-level.d.ts +0 -11
- package/lib/core/uitheme/enums/uipadding-level.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uipresentation-style.d.ts +0 -6
- package/lib/core/uitheme/enums/uipresentation-style.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uiradius-level.d.ts +0 -9
- package/lib/core/uitheme/enums/uiradius-level.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts +0 -4
- package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uishadow-offset.d.ts +0 -4
- package/lib/core/uitheme/enums/uishadow-offset.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uisize.d.ts +0 -21
- package/lib/core/uitheme/enums/uisize.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uispacing-level.d.ts +0 -9
- package/lib/core/uitheme/enums/uispacing-level.d.ts.map +0 -1
- package/lib/core/uitheme/enums/uitext-style.d.ts +0 -14
- package/lib/core/uitheme/enums/uitext-style.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/alignment-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/alignment-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/aspect-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/aspect-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/asset-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/asset-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/color-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/color-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/dimension-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/dimension-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/justify-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/justify-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/pad-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/pad-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/radius-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/radius-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/shadow-mapping.d.ts +0 -5
- package/lib/core/uitheme/mapping/shadow-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/size-mapping.d.ts +0 -12
- package/lib/core/uitheme/mapping/size-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/space-mapping.d.ts +0 -3
- package/lib/core/uitheme/mapping/space-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/mapping/text-style-mapping.d.ts +0 -5
- package/lib/core/uitheme/mapping/text-style-mapping.d.ts.map +0 -1
- package/lib/core/uitheme/models/uiaction.d.ts +0 -10
- package/lib/core/uitheme/models/uiaction.d.ts.map +0 -1
- package/lib/core/uitheme/models/uialignment.d.ts +0 -5
- package/lib/core/uitheme/models/uialignment.d.ts.map +0 -1
- package/lib/core/uitheme/models/uibackground.d.ts +0 -7
- package/lib/core/uitheme/models/uibackground.d.ts.map +0 -1
- package/lib/core/uitheme/models/uicontent-inset.d.ts +0 -8
- package/lib/core/uitheme/models/uicontent-inset.d.ts.map +0 -1
- package/lib/core/uitheme/models/uihover.d.ts +0 -4
- package/lib/core/uitheme/models/uihover.d.ts.map +0 -1
- package/lib/core/uitheme/models/uipadding.d.ts +0 -8
- package/lib/core/uitheme/models/uipadding.d.ts.map +0 -1
- package/lib/core/uitheme/models/uiradius.d.ts +0 -8
- package/lib/core/uitheme/models/uiradius.d.ts.map +0 -1
- package/lib/core/uitheme/models/uishadow.d.ts +0 -11
- package/lib/core/uitheme/models/uishadow.d.ts.map +0 -1
- package/lib/core/uitheme/models/uispacing.d.ts +0 -5
- package/lib/core/uitheme/models/uispacing.d.ts.map +0 -1
- package/lib/core/utils/url-parser.util.d.ts +0 -3
- package/lib/core/utils/url-parser.util.d.ts.map +0 -1
- package/lib/core/view-models/uiscreen.viewmodel.d.ts +0 -39
- package/lib/core/view-models/uiscreen.viewmodel.d.ts.map +0 -1
- package/lib/directives/uiview.directive.d.ts +0 -54
- package/lib/directives/uiview.directive.d.ts.map +0 -1
- package/lib/sdui-routing.module.d.ts +0 -10
- package/lib/sdui-routing.module.d.ts.map +0 -1
- package/lib/sdui.component.d.ts +0 -17
- package/lib/sdui.component.d.ts.map +0 -1
- package/lib/sdui.module.d.ts +0 -47
- package/lib/sdui.module.d.ts.map +0 -1
- package/public-api.d.ts +0 -7
- package/public-api.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Optional, Inject,
|
|
2
|
+
import { InjectionToken, Injectable, Optional, Inject, Injector, Component, Input, EventEmitter, Output, createComponent, Directive, HostListener, ViewChild, inject, NgModule, ChangeDetectionStrategy, HostBinding } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1$3 from '@angular/router';
|
|
@@ -266,20 +266,20 @@ class UIScreenService {
|
|
|
266
266
|
: null,
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
|
-
static { this.ɵfac =
|
|
270
|
-
static { this.ɵprov = i0.ɵɵ
|
|
269
|
+
static { this.ɵfac = function UIScreenService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIScreenService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(SDUI_BASE_URL, 8)); }; }
|
|
270
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UIScreenService, factory: UIScreenService.ɵfac, providedIn: 'root' }); }
|
|
271
271
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
272
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIScreenService, [{
|
|
273
|
+
type: Injectable,
|
|
274
|
+
args: [{
|
|
275
|
+
providedIn: 'root',
|
|
276
|
+
}]
|
|
277
|
+
}], () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
278
|
+
type: Optional
|
|
279
|
+
}, {
|
|
280
|
+
type: Inject,
|
|
281
|
+
args: [SDUI_BASE_URL]
|
|
282
|
+
}] }], null); })();
|
|
283
283
|
|
|
284
284
|
const SDUI_URL_PARAM = 'sduiUrl';
|
|
285
285
|
class UIScreenViewModel {
|
|
@@ -369,15 +369,15 @@ class UIScreenViewModel {
|
|
|
369
369
|
canGoBack() {
|
|
370
370
|
return this.navigationHistorySubject.getValue().length > 1;
|
|
371
371
|
}
|
|
372
|
-
static { this.ɵfac =
|
|
373
|
-
static { this.ɵprov = i0.ɵɵ
|
|
372
|
+
static { this.ɵfac = function UIScreenViewModel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIScreenViewModel)(i0.ɵɵinject(UIScreenService), i0.ɵɵinject(i1$1.Location)); }; }
|
|
373
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UIScreenViewModel, factory: UIScreenViewModel.ɵfac, providedIn: 'root' }); }
|
|
374
374
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
375
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIScreenViewModel, [{
|
|
376
|
+
type: Injectable,
|
|
377
|
+
args: [{
|
|
378
|
+
providedIn: 'root',
|
|
379
|
+
}]
|
|
380
|
+
}], () => [{ type: UIScreenService }, { type: i1$1.Location }], null); })();
|
|
381
381
|
|
|
382
382
|
const componentMapping = {
|
|
383
383
|
// com filhos
|
|
@@ -421,6 +421,18 @@ var UIPlatformType;
|
|
|
421
421
|
UIPlatformType["Web"] = "Web";
|
|
422
422
|
})(UIPlatformType || (UIPlatformType = {}));
|
|
423
423
|
|
|
424
|
+
function UIComponentComponent_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
425
|
+
i0.ɵɵelementContainer(0);
|
|
426
|
+
} }
|
|
427
|
+
function UIComponentComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
428
|
+
i0.ɵɵelementContainerStart(0);
|
|
429
|
+
i0.ɵɵtemplate(1, UIComponentComponent_ng_container_0_ng_container_1_Template, 1, 0, "ng-container", 1);
|
|
430
|
+
i0.ɵɵelementContainerEnd();
|
|
431
|
+
} if (rf & 2) {
|
|
432
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
433
|
+
i0.ɵɵadvance();
|
|
434
|
+
i0.ɵɵproperty("ngComponentOutlet", ctx_r0.componentToRender)("ngComponentOutletInjector", ctx_r0.componentInjector);
|
|
435
|
+
} }
|
|
424
436
|
class UIComponentComponent {
|
|
425
437
|
constructor(injector, cdr) {
|
|
426
438
|
this.injector = injector;
|
|
@@ -456,28 +468,64 @@ class UIComponentComponent {
|
|
|
456
468
|
parent: this.injector,
|
|
457
469
|
});
|
|
458
470
|
}
|
|
459
|
-
static { this.ɵfac =
|
|
460
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
471
|
+
static { this.ɵfac = function UIComponentComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIComponentComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
472
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UIComponentComponent, selectors: [["edm-sdui-component"]], inputs: { uiComponent: "uiComponent", translateLabel: "translateLabel" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [4, "ngComponentOutlet", "ngComponentOutletInjector"]], template: function UIComponentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
473
|
+
i0.ɵɵtemplate(0, UIComponentComponent_ng_container_0_Template, 2, 2, "ng-container", 0);
|
|
474
|
+
} if (rf & 2) {
|
|
475
|
+
i0.ɵɵproperty("ngIf", ctx.componentToRender);
|
|
476
|
+
} }, dependencies: [i1$1.NgComponentOutlet, i1$1.NgIf], styles: ["[_nghost-%COMP%]{display:contents}"] }); }
|
|
461
477
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
478
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIComponentComponent, [{
|
|
479
|
+
type: Component,
|
|
480
|
+
args: [{ selector: 'edm-sdui-component', standalone: false, template: "<ng-container *ngIf=\"componentToRender\">\n <ng-container\n *ngComponentOutlet=\"componentToRender; injector: componentInjector\"\n ></ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"] }]
|
|
481
|
+
}], () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], { uiComponent: [{
|
|
482
|
+
type: Input
|
|
483
|
+
}], translateLabel: [{
|
|
484
|
+
type: Input
|
|
485
|
+
}] }); })();
|
|
486
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UIComponentComponent, { className: "UIComponentComponent", filePath: "lib/components/uicomponent/uicomponent.component.ts", lineNumber: 22 }); })();
|
|
470
487
|
|
|
488
|
+
function UINavigationComponent_div_0_h2_1_Template(rf, ctx) { if (rf & 1) {
|
|
489
|
+
i0.ɵɵelementStart(0, "h2");
|
|
490
|
+
i0.ɵɵtext(1);
|
|
491
|
+
i0.ɵɵelementEnd();
|
|
492
|
+
} if (rf & 2) {
|
|
493
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
494
|
+
i0.ɵɵadvance();
|
|
495
|
+
i0.ɵɵtextInterpolate(ctx_r0.uiNavigation.title);
|
|
496
|
+
} }
|
|
497
|
+
function UINavigationComponent_div_0_edm_sdui_component_2_Template(rf, ctx) { if (rf & 1) {
|
|
498
|
+
i0.ɵɵelement(0, "edm-sdui-component", 4);
|
|
499
|
+
} if (rf & 2) {
|
|
500
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
501
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiNavigation.titleComponent);
|
|
502
|
+
} }
|
|
503
|
+
function UINavigationComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
504
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
505
|
+
i0.ɵɵtemplate(1, UINavigationComponent_div_0_h2_1_Template, 2, 1, "h2", 2)(2, UINavigationComponent_div_0_edm_sdui_component_2_Template, 1, 1, "edm-sdui-component", 3);
|
|
506
|
+
i0.ɵɵelementEnd();
|
|
507
|
+
} if (rf & 2) {
|
|
508
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
509
|
+
i0.ɵɵadvance();
|
|
510
|
+
i0.ɵɵproperty("ngIf", ctx_r0.uiNavigation.title);
|
|
511
|
+
i0.ɵɵadvance();
|
|
512
|
+
i0.ɵɵproperty("ngIf", ctx_r0.uiNavigation.titleComponent);
|
|
513
|
+
} }
|
|
471
514
|
class UINavigationComponent {
|
|
472
|
-
static { this.ɵfac =
|
|
473
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
515
|
+
static { this.ɵfac = function UINavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UINavigationComponent)(); }; }
|
|
516
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UINavigationComponent, selectors: [["edm-sdui-navigation"]], inputs: { uiNavigation: "uiNavigation" }, standalone: false, decls: 1, vars: 1, consts: [["class", "nav-main", 4, "ngIf"], [1, "nav-main"], [4, "ngIf"], [3, "uiComponent", 4, "ngIf"], [3, "uiComponent"]], template: function UINavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
517
|
+
i0.ɵɵtemplate(0, UINavigationComponent_div_0_Template, 3, 2, "div", 0);
|
|
518
|
+
} if (rf & 2) {
|
|
519
|
+
i0.ɵɵproperty("ngIf", ctx.uiNavigation);
|
|
520
|
+
} }, dependencies: [i1$1.NgIf, UIComponentComponent], styles: ["[_nghost-%COMP%]{display:contents}.nav-main[_ngcontent-%COMP%]{position:sticky;top:0}.nav-main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}"] }); }
|
|
474
521
|
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
522
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UINavigationComponent, [{
|
|
523
|
+
type: Component,
|
|
524
|
+
args: [{ selector: 'edm-sdui-navigation', standalone: false, template: "<div class=\"nav-main\" *ngIf=\"uiNavigation\">\n <h2 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h2>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.nav-main{position:sticky;top:0}.nav-main h2{text-align:center}\n"] }]
|
|
525
|
+
}], null, { uiNavigation: [{
|
|
526
|
+
type: Input
|
|
527
|
+
}] }); })();
|
|
528
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UINavigationComponent, { className: "UINavigationComponent", filePath: "lib/components/uilayout/uinavigation/uinavigation.component.ts", lineNumber: 10 }); })();
|
|
481
529
|
|
|
482
530
|
var UIActionType;
|
|
483
531
|
(function (UIActionType) {
|
|
@@ -503,13 +551,13 @@ class UIActionHandlersService {
|
|
|
503
551
|
handleInternalNavigation(url) {
|
|
504
552
|
this.internalNavigationHandler?.(url);
|
|
505
553
|
}
|
|
506
|
-
static { this.ɵfac =
|
|
507
|
-
static { this.ɵprov = i0.ɵɵ
|
|
554
|
+
static { this.ɵfac = function UIActionHandlersService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIActionHandlersService)(); }; }
|
|
555
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UIActionHandlersService, factory: UIActionHandlersService.ɵfac, providedIn: 'root' }); }
|
|
508
556
|
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
557
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIActionHandlersService, [{
|
|
558
|
+
type: Injectable,
|
|
559
|
+
args: [{ providedIn: 'root' }]
|
|
560
|
+
}], null, null); })();
|
|
513
561
|
|
|
514
562
|
class ModalComponent {
|
|
515
563
|
constructor(sanitizer) {
|
|
@@ -523,19 +571,37 @@ class ModalComponent {
|
|
|
523
571
|
close() {
|
|
524
572
|
this.closed.emit();
|
|
525
573
|
}
|
|
526
|
-
static { this.ɵfac =
|
|
527
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
574
|
+
static { this.ɵfac = function ModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalComponent)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer)); }; }
|
|
575
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalComponent, selectors: [["edm-modal"]], inputs: { url: "url", title: "title" }, outputs: { closed: "closed" }, decls: 8, vars: 2, consts: [[1, "edm-modal-backdrop"], [1, "edm-modal-content", 3, "click"], [1, "edm-modal-header"], [1, "edm-modal-title"], [1, "edm-modal-close-btn", 3, "click"], ["src", "/assets/images/bt-close.svg", "width", "28px", "height", "28px"], ["frameborder", "0", 3, "src"]], template: function ModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
576
|
+
i0.ɵɵdomElementStart(0, "div", 0)(1, "div", 1);
|
|
577
|
+
i0.ɵɵdomListener("click", function ModalComponent_Template_div_click_1_listener($event) { return $event.stopPropagation(); });
|
|
578
|
+
i0.ɵɵdomElementStart(2, "div", 2)(3, "span", 3);
|
|
579
|
+
i0.ɵɵtext(4);
|
|
580
|
+
i0.ɵɵdomElementEnd();
|
|
581
|
+
i0.ɵɵdomElementStart(5, "button", 4);
|
|
582
|
+
i0.ɵɵdomListener("click", function ModalComponent_Template_button_click_5_listener() { return ctx.close(); });
|
|
583
|
+
i0.ɵɵdomElement(6, "img", 5);
|
|
584
|
+
i0.ɵɵdomElementEnd()();
|
|
585
|
+
i0.ɵɵdomElement(7, "iframe", 6);
|
|
586
|
+
i0.ɵɵdomElementEnd()();
|
|
587
|
+
} if (rf & 2) {
|
|
588
|
+
i0.ɵɵadvance(4);
|
|
589
|
+
i0.ɵɵtextInterpolate(ctx.title);
|
|
590
|
+
i0.ɵɵadvance(3);
|
|
591
|
+
i0.ɵɵdomProperty("src", ctx.safeUrl, i0.ɵɵsanitizeResourceUrl);
|
|
592
|
+
} }, styles: [".edm-modal-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:999999}.edm-modal-backdrop[_ngcontent-%COMP%]:before{content:\"\";opacity:.8;background-color:var(--bg);z-index:-1;position:absolute;inset:0}.edm-modal-content[_ngcontent-%COMP%]{min-width:50vw;max-width:90vw;height:80vh;box-shadow:0 0 16px #ffffff1a;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;position:relative}.edm-modal-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--bg);color:var(--main-1);font-size:1rem;font-weight:600;border-bottom:1px solid var(--aux)}.edm-modal-title[_ngcontent-%COMP%]{flex:1}.edm-modal-close-btn[_ngcontent-%COMP%]{background:var(--bg-module);border:none;cursor:pointer}iframe[_ngcontent-%COMP%]{flex:1;padding-top:16px;width:100%;border:none}@media screen and (max-width:768px){.edm-modal-content[_ngcontent-%COMP%]{min-width:90vw;max-width:100vw;height:90vh}.edm-modal-header[_ngcontent-%COMP%]{padding:.5rem 1rem;font-size:.875rem}.edm-modal-title[_ngcontent-%COMP%]{font-size:1rem}.edm-modal-close-btn[_ngcontent-%COMP%]{padding:.25rem;font-size:.875rem}}"] }); }
|
|
528
593
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
594
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalComponent, [{
|
|
595
|
+
type: Component,
|
|
596
|
+
args: [{ selector: 'edm-modal', standalone: true, template: "<div class=\"edm-modal-backdrop\">\n <div class=\"edm-modal-content\" (click)=\"$event.stopPropagation()\">\n\n <div class=\"edm-modal-header\">\n <span class=\"edm-modal-title\">{{ title }}</span>\n <button class=\"edm-modal-close-btn\" (click)=\"close()\">\n <img src=\"/assets/images/bt-close.svg\" width=\"28px\" height=\"28px\" />\n </button>\n </div>\n\n <iframe [src]=\"safeUrl\" frameborder=\"0\"></iframe>\n\n </div>\n</div>\n", styles: [".edm-modal-backdrop{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:999999}.edm-modal-backdrop:before{content:\"\";opacity:.8;background-color:var(--bg);z-index:-1;position:absolute;inset:0}.edm-modal-content{min-width:50vw;max-width:90vw;height:80vh;box-shadow:0 0 16px #ffffff1a;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;position:relative}.edm-modal-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--bg);color:var(--main-1);font-size:1rem;font-weight:600;border-bottom:1px solid var(--aux)}.edm-modal-title{flex:1}.edm-modal-close-btn{background:var(--bg-module);border:none;cursor:pointer}iframe{flex:1;padding-top:16px;width:100%;border:none}@media screen and (max-width:768px){.edm-modal-content{min-width:90vw;max-width:100vw;height:90vh}.edm-modal-header{padding:.5rem 1rem;font-size:.875rem}.edm-modal-title{font-size:1rem}.edm-modal-close-btn{padding:.25rem;font-size:.875rem}}\n"] }]
|
|
597
|
+
}], () => [{ type: i1$2.DomSanitizer }], { url: [{
|
|
598
|
+
type: Input
|
|
599
|
+
}], title: [{
|
|
600
|
+
type: Input
|
|
601
|
+
}], closed: [{
|
|
602
|
+
type: Output
|
|
603
|
+
}] }); })();
|
|
604
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalComponent, { className: "ModalComponent", filePath: "lib/components/uicomponent/modal/modal.component.ts", lineNumber: 10 }); })();
|
|
539
605
|
|
|
540
606
|
class ModalService {
|
|
541
607
|
constructor(appRef, envInjector) {
|
|
@@ -556,13 +622,13 @@ class ModalService {
|
|
|
556
622
|
const domElem = componentRef.hostView.rootNodes[0];
|
|
557
623
|
document.body.appendChild(domElem);
|
|
558
624
|
}
|
|
559
|
-
static { this.ɵfac =
|
|
560
|
-
static { this.ɵprov = i0.ɵɵ
|
|
625
|
+
static { this.ɵfac = function ModalService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ModalService)(i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.EnvironmentInjector)); }; }
|
|
626
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ModalService, factory: ModalService.ɵfac, providedIn: 'root' }); }
|
|
561
627
|
}
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
628
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalService, [{
|
|
629
|
+
type: Injectable,
|
|
630
|
+
args: [{ providedIn: 'root' }]
|
|
631
|
+
}], () => [{ type: i0.ApplicationRef }, { type: i0.EnvironmentInjector }], null); })();
|
|
566
632
|
|
|
567
633
|
class UIActionService {
|
|
568
634
|
constructor(router, modalService, actionHandlers) {
|
|
@@ -657,13 +723,13 @@ class UIActionService {
|
|
|
657
723
|
}
|
|
658
724
|
return document.scrollingElement || document.documentElement;
|
|
659
725
|
}
|
|
660
|
-
static { this.ɵfac =
|
|
661
|
-
static { this.ɵprov = i0.ɵɵ
|
|
726
|
+
static { this.ɵfac = function UIActionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIActionService)(i0.ɵɵinject(i1$3.Router), i0.ɵɵinject(ModalService), i0.ɵɵinject(UIActionHandlersService)); }; }
|
|
727
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UIActionService, factory: UIActionService.ɵfac, providedIn: 'root' }); }
|
|
662
728
|
}
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
729
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIActionService, [{
|
|
730
|
+
type: Injectable,
|
|
731
|
+
args: [{ providedIn: 'root' }]
|
|
732
|
+
}], () => [{ type: i1$3.Router }, { type: ModalService }, { type: UIActionHandlersService }], null); })();
|
|
667
733
|
|
|
668
734
|
var UIAsset;
|
|
669
735
|
(function (UIAsset) {
|
|
@@ -712,7 +778,6 @@ var UIAsset;
|
|
|
712
778
|
UIAsset["BT_CLOSE_TAGS"] = "bt_close_tags";
|
|
713
779
|
UIAsset["BT_COMMENT_OFF"] = "bt_comment_off";
|
|
714
780
|
UIAsset["BT_COMMENT_ON"] = "bt_comment_on";
|
|
715
|
-
UIAsset["BT_COMUNIDADE_HEADER"] = "bt_comunidade_header";
|
|
716
781
|
UIAsset["BT_COMUNIDADE_TAB"] = "bt_comunidade_tab";
|
|
717
782
|
UIAsset["BT_COMUNIDADE_TAB_ON"] = "bt_comunidade_tab_on";
|
|
718
783
|
UIAsset["BT_CONFIG_NAVBAR"] = "bt_config_navbar";
|
|
@@ -737,8 +802,6 @@ var UIAsset;
|
|
|
737
802
|
UIAsset["BT_FILE"] = "bt_file";
|
|
738
803
|
UIAsset["BT_FULL_SCREEN_PLAYER"] = "bt_full_screen_player";
|
|
739
804
|
UIAsset["BT_GALLERY"] = "bt_gallery";
|
|
740
|
-
UIAsset["BT_GO_ATTACHMENT"] = "bt_go_attachment";
|
|
741
|
-
UIAsset["BT_HOME_HEADER"] = "bt_home_header";
|
|
742
805
|
UIAsset["BT_INFO"] = "bt_info";
|
|
743
806
|
UIAsset["BT_LIKE_COMMENT"] = "bt_like_comment";
|
|
744
807
|
UIAsset["BT_LIKE_COMMENT_ON"] = "bt_like_comment_on";
|
|
@@ -792,7 +855,6 @@ var UIAsset;
|
|
|
792
855
|
UIAsset["BT_SAVE_POST_OFF"] = "bt_save_post_off";
|
|
793
856
|
UIAsset["BT_SAVE_POST_ON"] = "bt_save_post_on";
|
|
794
857
|
UIAsset["BT_SEARCH"] = "bt_search";
|
|
795
|
-
UIAsset["BT_SEARCH_HEADER"] = "bt_search_header";
|
|
796
858
|
UIAsset["BT_SEEK"] = "bt_seek";
|
|
797
859
|
UIAsset["BT_SELFIE"] = "bt_selfie";
|
|
798
860
|
UIAsset["BT_SEND_OFF"] = "bt_send_off";
|
|
@@ -1148,7 +1210,6 @@ const assetMapping = {
|
|
|
1148
1210
|
[UIAsset.BT_CLOSE_TAGS]: 'assets/images/bt-close-tags.svg',
|
|
1149
1211
|
[UIAsset.BT_COMMENT_OFF]: 'assets/images/bt-comment-off.svg',
|
|
1150
1212
|
[UIAsset.BT_COMMENT_ON]: 'assets/images/bt-comment-on.svg',
|
|
1151
|
-
[UIAsset.BT_COMUNIDADE_HEADER]: 'assets/images/bt-comunidade-header.svg',
|
|
1152
1213
|
[UIAsset.BT_COMUNIDADE_TAB]: 'assets/images/bt-comunidade-tab.svg',
|
|
1153
1214
|
[UIAsset.BT_COMUNIDADE_TAB_ON]: 'assets/images/bt-comunidade-tab-on.svg',
|
|
1154
1215
|
[UIAsset.BT_CONFIG_NAVBAR]: 'assets/images/bt-config-navbar.svg',
|
|
@@ -1491,15 +1552,12 @@ const assetMapping = {
|
|
|
1491
1552
|
[UIAsset.IC_EXPLORER_EMPTY]: 'assets/images/ic-explorer-empty.svg',
|
|
1492
1553
|
[UIAsset.BT_EXPLORER_TAB]: 'assets/images/bt-explorer-tab.svg',
|
|
1493
1554
|
[UIAsset.BT_EXPLORER_TAB_ON]: 'assets/images/bt-explorer-tab-on.svg',
|
|
1494
|
-
[UIAsset.BT_GO_ATTACHMENT]: 'assets/images/bt-go-attachment.svg',
|
|
1495
|
-
[UIAsset.BT_HOME_HEADER]: 'assets/images/bt-home-header.svg',
|
|
1496
1555
|
[UIAsset.BT_NEXT_CAROUSEL]: 'assets/images/bt-next-carousel.svg',
|
|
1497
1556
|
[UIAsset.BT_PERFIL_TAB_ON]: 'assets/images/bt-perfil-tab-on.svg',
|
|
1498
1557
|
[UIAsset.BT_PLAY_TV]: 'assets/images/bt-play-tv.svg',
|
|
1499
1558
|
[UIAsset.BT_PREV]: 'assets/images/bt-prev.svg',
|
|
1500
1559
|
[UIAsset.BT_SAVE_POST_OFF]: 'assets/images/bt-save-post-off.svg',
|
|
1501
1560
|
[UIAsset.BT_SAVE_POST_ON]: 'assets/images/bt-save-post-on.svg',
|
|
1502
|
-
[UIAsset.BT_SEARCH_HEADER]: 'assets/images/bt-search-header.svg',
|
|
1503
1561
|
[UIAsset.BT_SEND_ON_IA]: 'assets/images/bt-send-on-ia.svg',
|
|
1504
1562
|
[UIAsset.BT_SHARE_ACTION_OFF]: 'assets/images/bt-share-action-off.svg',
|
|
1505
1563
|
[UIAsset.BT_TIME_24_STORY]: 'assets/images/bt-time-24-story.svg',
|
|
@@ -2465,29 +2523,35 @@ class UIViewDirective {
|
|
|
2465
2523
|
}
|
|
2466
2524
|
return null;
|
|
2467
2525
|
}
|
|
2468
|
-
static { this.ɵfac =
|
|
2469
|
-
static { this.ɵdir = i0.ɵɵ
|
|
2526
|
+
static { this.ɵfac = function UIViewDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIViewDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i1$3.Router), i0.ɵɵdirectiveInject(UIActionService), i0.ɵɵdirectiveInject(UIScreenViewModel, 8)); }; }
|
|
2527
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: UIViewDirective, selectors: [["", "edmSduiView", ""]], hostBindings: function UIViewDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2528
|
+
i0.ɵɵlistener("resize", function UIViewDirective_resize_HostBindingHandler() { return ctx.onWindowResize(); }, i0.ɵɵresolveWindow)("click", function UIViewDirective_click_HostBindingHandler($event) { return ctx.onClick($event); });
|
|
2529
|
+
} }, inputs: { edmSduiView: "edmSduiView", disableClick: "disableClick" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature] }); }
|
|
2470
2530
|
}
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2531
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIViewDirective, [{
|
|
2532
|
+
type: Directive,
|
|
2533
|
+
args: [{
|
|
2534
|
+
selector: '[edmSduiView]',
|
|
2535
|
+
standalone: false,
|
|
2536
|
+
}]
|
|
2537
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$3.Router }, { type: UIActionService }, { type: UIScreenViewModel, decorators: [{
|
|
2538
|
+
type: Optional
|
|
2539
|
+
}] }], { edmSduiView: [{
|
|
2540
|
+
type: Input
|
|
2541
|
+
}], disableClick: [{
|
|
2542
|
+
type: Input
|
|
2543
|
+
}], onWindowResize: [{
|
|
2544
|
+
type: HostListener,
|
|
2545
|
+
args: ['window:resize']
|
|
2546
|
+
}], onClick: [{
|
|
2547
|
+
type: HostListener,
|
|
2548
|
+
args: ['click', ['$event']]
|
|
2549
|
+
}] }); })();
|
|
2490
2550
|
|
|
2551
|
+
const _c0$d = ["imgElement"];
|
|
2552
|
+
function FabComponent_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
2553
|
+
i0.ɵɵelement(0, "img", 3, 0);
|
|
2554
|
+
} }
|
|
2491
2555
|
class FabComponent {
|
|
2492
2556
|
constructor(actionService, render2) {
|
|
2493
2557
|
this.actionService = actionService;
|
|
@@ -2509,36 +2573,160 @@ class FabComponent {
|
|
|
2509
2573
|
this.actionService.execute(this.element.action);
|
|
2510
2574
|
}
|
|
2511
2575
|
}
|
|
2512
|
-
static { this.ɵfac =
|
|
2513
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2576
|
+
static { this.ɵfac = function FabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FabComponent)(i0.ɵɵdirectiveInject(UIActionService), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
2577
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FabComponent, selectors: [["sdui-fab"]], viewQuery: function FabComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2578
|
+
i0.ɵɵviewQuery(_c0$d, 5);
|
|
2579
|
+
} if (rf & 2) {
|
|
2580
|
+
let _t;
|
|
2581
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.imgElement = _t.first);
|
|
2582
|
+
} }, inputs: { element: "element" }, standalone: false, decls: 2, vars: 2, consts: [["imgElement", ""], [1, "edm-fab", 3, "click", "edmSduiView"], ["class", "fab-icon", 4, "ngIf"], [1, "fab-icon"]], template: function FabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2583
|
+
i0.ɵɵelementStart(0, "button", 1);
|
|
2584
|
+
i0.ɵɵlistener("click", function FabComponent_Template_button_click_0_listener() { return ctx.onClick(); });
|
|
2585
|
+
i0.ɵɵtemplate(1, FabComponent_img_1_Template, 2, 0, "img", 2);
|
|
2586
|
+
i0.ɵɵelementEnd();
|
|
2587
|
+
} if (rf & 2) {
|
|
2588
|
+
i0.ɵɵproperty("edmSduiView", ctx.element);
|
|
2589
|
+
i0.ɵɵadvance();
|
|
2590
|
+
i0.ɵɵproperty("ngIf", ctx.element == null ? null : ctx.element.asset);
|
|
2591
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.edm-fab[_ngcontent-%COMP%]{width:64px;height:64px;min-width:64px;min-height:64px;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;box-shadow:0 6px 20px #00000040;transition:all .2s ease-in-out;z-index:9999999;background:none}.edm-fab[_ngcontent-%COMP%]:hover{transform:scale(1.05);box-shadow:0 8px 24px #00000059}"] }); }
|
|
2514
2592
|
}
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2593
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FabComponent, [{
|
|
2594
|
+
type: Component,
|
|
2595
|
+
args: [{ selector: 'sdui-fab', standalone: false, template: "<button\n class=\"edm-fab\"\n (click)=\"onClick()\"\n [edmSduiView]=\"element\"\n>\n <img\n #imgElement\n *ngIf=\"element?.asset\"\n class=\"fab-icon\"\n />\n\n</button>\n", styles: [":host{display:contents}.edm-fab{width:64px;height:64px;min-width:64px;min-height:64px;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;box-shadow:0 6px 20px #00000040;transition:all .2s ease-in-out;z-index:9999999;background:none}.edm-fab:hover{transform:scale(1.05);box-shadow:0 8px 24px #00000059}\n"] }]
|
|
2596
|
+
}], () => [{ type: UIActionService }, { type: i0.Renderer2 }], { element: [{
|
|
2597
|
+
type: Input,
|
|
2598
|
+
args: [{ required: true }]
|
|
2599
|
+
}], imgElement: [{
|
|
2600
|
+
type: ViewChild,
|
|
2601
|
+
args: ['imgElement']
|
|
2602
|
+
}] }); })();
|
|
2603
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FabComponent, { className: "FabComponent", filePath: "lib/components/uilayout/fab/fab.component.ts", lineNumber: 12 }); })();
|
|
2525
2604
|
|
|
2605
|
+
function SingleColumnLayoutComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
2606
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
2607
|
+
i0.ɵɵelement(1, "edm-sdui-component", 8);
|
|
2608
|
+
i0.ɵɵelementEnd();
|
|
2609
|
+
} if (rf & 2) {
|
|
2610
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2611
|
+
i0.ɵɵadvance();
|
|
2612
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiLayout.header);
|
|
2613
|
+
} }
|
|
2614
|
+
function SingleColumnLayoutComponent_div_0_div_3_edm_sdui_component_2_Template(rf, ctx) { if (rf & 1) {
|
|
2615
|
+
i0.ɵɵelement(0, "edm-sdui-component", 8);
|
|
2616
|
+
} if (rf & 2) {
|
|
2617
|
+
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
2618
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiLayout.main);
|
|
2619
|
+
} }
|
|
2620
|
+
function SingleColumnLayoutComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
2621
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 10);
|
|
2622
|
+
i0.ɵɵtemplate(2, SingleColumnLayoutComponent_div_0_div_3_edm_sdui_component_2_Template, 1, 1, "edm-sdui-component", 11);
|
|
2623
|
+
i0.ɵɵelementEnd()();
|
|
2624
|
+
} if (rf & 2) {
|
|
2625
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2626
|
+
i0.ɵɵadvance(2);
|
|
2627
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.main));
|
|
2628
|
+
} }
|
|
2629
|
+
function SingleColumnLayoutComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
2630
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
2631
|
+
i0.ɵɵelement(1, "sdui-fab", 13);
|
|
2632
|
+
i0.ɵɵelementEnd();
|
|
2633
|
+
} if (rf & 2) {
|
|
2634
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2635
|
+
i0.ɵɵadvance();
|
|
2636
|
+
i0.ɵɵproperty("element", ctx_r0.uiLayout.fab);
|
|
2637
|
+
} }
|
|
2638
|
+
function SingleColumnLayoutComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
2639
|
+
i0.ɵɵelementStart(0, "div", 14);
|
|
2640
|
+
i0.ɵɵelement(1, "edm-sdui-component", 8);
|
|
2641
|
+
i0.ɵɵelementEnd();
|
|
2642
|
+
} if (rf & 2) {
|
|
2643
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2644
|
+
i0.ɵɵadvance();
|
|
2645
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiLayout.footer);
|
|
2646
|
+
} }
|
|
2647
|
+
function SingleColumnLayoutComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
2648
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
2649
|
+
i0.ɵɵelement(1, "edm-sdui-navigation", 2);
|
|
2650
|
+
i0.ɵɵtemplate(2, SingleColumnLayoutComponent_div_0_div_2_Template, 2, 1, "div", 3)(3, SingleColumnLayoutComponent_div_0_div_3_Template, 3, 1, "div", 4)(4, SingleColumnLayoutComponent_div_0_div_4_Template, 2, 1, "div", 5)(5, SingleColumnLayoutComponent_div_0_div_5_Template, 2, 1, "div", 6);
|
|
2651
|
+
i0.ɵɵelementEnd();
|
|
2652
|
+
} if (rf & 2) {
|
|
2653
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
2654
|
+
i0.ɵɵadvance();
|
|
2655
|
+
i0.ɵɵproperty("uiNavigation", ctx_r0.uiLayout.nav);
|
|
2656
|
+
i0.ɵɵadvance();
|
|
2657
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.header));
|
|
2658
|
+
i0.ɵɵadvance();
|
|
2659
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.main));
|
|
2660
|
+
i0.ɵɵadvance();
|
|
2661
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.fab));
|
|
2662
|
+
i0.ɵɵadvance();
|
|
2663
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.footer));
|
|
2664
|
+
} }
|
|
2526
2665
|
class SingleColumnLayoutComponent {
|
|
2527
2666
|
ngOnChanges(changes) {
|
|
2528
2667
|
if (changes['uiLayout']) {
|
|
2529
2668
|
console.debug('[SingleColumnLayout] Novo layout recebido:', changes['uiLayout'].currentValue);
|
|
2530
2669
|
}
|
|
2531
2670
|
}
|
|
2532
|
-
static { this.ɵfac =
|
|
2533
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2671
|
+
static { this.ɵfac = function SingleColumnLayoutComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SingleColumnLayoutComponent)(); }; }
|
|
2672
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleColumnLayoutComponent, selectors: [["edm-sdui-single-column-layout"]], inputs: { uiLayout: "uiLayout" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "single-column-layout", 4, "ngIf"], [1, "single-column-layout"], [3, "uiNavigation"], ["class", "header", 4, "ngIf"], ["class", "scrollview", 4, "ngIf"], ["class", "fab", 4, "ngIf"], ["class", "footer", 4, "ngIf"], [1, "header"], [3, "uiComponent"], [1, "scrollview"], [1, "main"], [3, "uiComponent", 4, "ngIf"], [1, "fab"], [3, "element"], [1, "footer"]], template: function SingleColumnLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2673
|
+
i0.ɵɵtemplate(0, SingleColumnLayoutComponent_div_0_Template, 6, 5, "div", 0);
|
|
2674
|
+
} if (rf & 2) {
|
|
2675
|
+
i0.ɵɵproperty("ngIf", !!ctx.uiLayout);
|
|
2676
|
+
} }, dependencies: [i1$1.NgIf, UINavigationComponent, FabComponent, UIComponentComponent], styles: ["[_nghost-%COMP%]{display:contents}.single-column-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;min-height:100vh;position:relative}.single-column-layout[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{width:100%;z-index:100}.single-column-layout[_ngcontent-%COMP%] .scrollview[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center}.single-column-layout[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;width:100%;z-index:100}.single-column-layout[_ngcontent-%COMP%] .fab[_ngcontent-%COMP%]{position:fixed;bottom:94px;right:24px;width:64px;z-index:10000}"] }); }
|
|
2534
2677
|
}
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2678
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SingleColumnLayoutComponent, [{
|
|
2679
|
+
type: Component,
|
|
2680
|
+
args: [{ selector: 'edm-sdui-single-column-layout', standalone: false, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n <div class=\"fab\" *ngIf=\"!!uiLayout?.fab\">\n <sdui-fab [element]=\"uiLayout.fab\"></sdui-fab>\n </div>\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100%;min-height:100vh;position:relative}.single-column-layout .header{width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}.single-column-layout .fab{position:fixed;bottom:94px;right:24px;width:64px;z-index:10000}\n"] }]
|
|
2681
|
+
}], null, { uiLayout: [{
|
|
2682
|
+
type: Input
|
|
2683
|
+
}] }); })();
|
|
2684
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SingleColumnLayoutComponent, { className: "SingleColumnLayoutComponent", filePath: "lib/components/uilayout/single-column-layout/single-column-layout.component.ts", lineNumber: 16 }); })();
|
|
2541
2685
|
|
|
2686
|
+
function CenteredContentLayoutComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
2687
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
2688
|
+
i0.ɵɵelement(1, "edm-sdui-component", 8);
|
|
2689
|
+
i0.ɵɵelementEnd();
|
|
2690
|
+
} if (rf & 2) {
|
|
2691
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2692
|
+
i0.ɵɵadvance();
|
|
2693
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiLayout.header);
|
|
2694
|
+
} }
|
|
2695
|
+
function CenteredContentLayoutComponent_div_0_edm_sdui_component_4_Template(rf, ctx) { if (rf & 1) {
|
|
2696
|
+
i0.ɵɵelement(0, "edm-sdui-component", 8);
|
|
2697
|
+
} if (rf & 2) {
|
|
2698
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2699
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiLayout.centered);
|
|
2700
|
+
} }
|
|
2701
|
+
function CenteredContentLayoutComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
2702
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
2703
|
+
i0.ɵɵelement(1, "edm-sdui-component", 8);
|
|
2704
|
+
i0.ɵɵelementEnd();
|
|
2705
|
+
} if (rf & 2) {
|
|
2706
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2707
|
+
i0.ɵɵadvance();
|
|
2708
|
+
i0.ɵɵproperty("uiComponent", ctx_r0.uiLayout.footer);
|
|
2709
|
+
} }
|
|
2710
|
+
function CenteredContentLayoutComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
2711
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
2712
|
+
i0.ɵɵelement(1, "edm-sdui-navigation", 2);
|
|
2713
|
+
i0.ɵɵtemplate(2, CenteredContentLayoutComponent_div_0_div_2_Template, 2, 1, "div", 3);
|
|
2714
|
+
i0.ɵɵelementStart(3, "div", 4);
|
|
2715
|
+
i0.ɵɵtemplate(4, CenteredContentLayoutComponent_div_0_edm_sdui_component_4_Template, 1, 1, "edm-sdui-component", 5);
|
|
2716
|
+
i0.ɵɵelementEnd();
|
|
2717
|
+
i0.ɵɵtemplate(5, CenteredContentLayoutComponent_div_0_div_5_Template, 2, 1, "div", 6);
|
|
2718
|
+
i0.ɵɵelementEnd();
|
|
2719
|
+
} if (rf & 2) {
|
|
2720
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
2721
|
+
i0.ɵɵadvance();
|
|
2722
|
+
i0.ɵɵproperty("uiNavigation", ctx_r0.uiLayout.nav);
|
|
2723
|
+
i0.ɵɵadvance();
|
|
2724
|
+
i0.ɵɵproperty("ngIf", ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.header);
|
|
2725
|
+
i0.ɵɵadvance(2);
|
|
2726
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.centered));
|
|
2727
|
+
i0.ɵɵadvance();
|
|
2728
|
+
i0.ɵɵproperty("ngIf", !!(ctx_r0.uiLayout == null ? null : ctx_r0.uiLayout.footer));
|
|
2729
|
+
} }
|
|
2542
2730
|
class CenteredContentLayoutComponent {
|
|
2543
2731
|
ngOnInit() {
|
|
2544
2732
|
console.log(this.uiLayout);
|
|
@@ -2548,16 +2736,33 @@ class CenteredContentLayoutComponent {
|
|
|
2548
2736
|
console.debug('[CenteredContentLayoutComponent] Novo layout recebido:', changes['uiLayout'].currentValue);
|
|
2549
2737
|
}
|
|
2550
2738
|
}
|
|
2551
|
-
static { this.ɵfac =
|
|
2552
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2739
|
+
static { this.ɵfac = function CenteredContentLayoutComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CenteredContentLayoutComponent)(); }; }
|
|
2740
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CenteredContentLayoutComponent, selectors: [["edm-sdui-centered-content-layout"]], inputs: { uiLayout: "uiLayout" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "centered-content-layout", 4, "ngIf"], [1, "centered-content-layout"], [3, "uiNavigation"], ["class", "header", 4, "ngIf"], [1, "centered"], [3, "uiComponent", 4, "ngIf"], ["class", "footer", 4, "ngIf"], [1, "header"], [3, "uiComponent"], [1, "footer"]], template: function CenteredContentLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2741
|
+
i0.ɵɵtemplate(0, CenteredContentLayoutComponent_div_0_Template, 6, 4, "div", 0);
|
|
2742
|
+
} if (rf & 2) {
|
|
2743
|
+
i0.ɵɵproperty("ngIf", !!ctx.uiLayout);
|
|
2744
|
+
} }, dependencies: [i1$1.NgIf, UINavigationComponent, UIComponentComponent], styles: ["[_nghost-%COMP%]{display:contents}.centered-content-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.centered-content-layout[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{width:100%;z-index:100}.centered-content-layout[_ngcontent-%COMP%] .centered[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center}.centered-content-layout[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;width:100%;z-index:100}"] }); }
|
|
2553
2745
|
}
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2746
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CenteredContentLayoutComponent, [{
|
|
2747
|
+
type: Component,
|
|
2748
|
+
args: [{ selector: 'edm-sdui-centered-content-layout', standalone: false, template: "<div class=\"centered-content-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"centered\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.centered\"\n [uiComponent]=\"uiLayout.centered\"\n ></edm-sdui-component>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.centered-content-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.centered-content-layout .header{width:100%;z-index:100}.centered-content-layout .centered{flex:1;display:flex;align-items:center;justify-content:center}.centered-content-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"] }]
|
|
2749
|
+
}], null, { uiLayout: [{
|
|
2750
|
+
type: Input
|
|
2751
|
+
}] }); })();
|
|
2752
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CenteredContentLayoutComponent, { className: "CenteredContentLayoutComponent", filePath: "lib/components/uilayout/centered-content-layout/centered-content-layout.component.ts", lineNumber: 10 }); })();
|
|
2560
2753
|
|
|
2754
|
+
function NavigationControlsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
2755
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2756
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "button", 2);
|
|
2757
|
+
i0.ɵɵpipe(2, "async");
|
|
2758
|
+
i0.ɵɵlistener("click", function NavigationControlsComponent_div_0_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.goBack()); });
|
|
2759
|
+
i0.ɵɵelement(3, "img", 3);
|
|
2760
|
+
i0.ɵɵelementEnd()();
|
|
2761
|
+
} if (rf & 2) {
|
|
2762
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
2763
|
+
i0.ɵɵadvance();
|
|
2764
|
+
i0.ɵɵproperty("disabled", !i0.ɵɵpipeBind1(2, 1, ctx_r1.viewModel.canGoBack$));
|
|
2765
|
+
} }
|
|
2561
2766
|
class NavigationControlsComponent {
|
|
2562
2767
|
constructor(viewModel) {
|
|
2563
2768
|
this.viewModel = viewModel;
|
|
@@ -2572,14 +2777,87 @@ class NavigationControlsComponent {
|
|
|
2572
2777
|
console.debug('[NavigationControls] Botão de voltar clicado');
|
|
2573
2778
|
this.viewModel.goBack();
|
|
2574
2779
|
}
|
|
2575
|
-
static { this.ɵfac =
|
|
2576
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2780
|
+
static { this.ɵfac = function NavigationControlsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationControlsComponent)(i0.ɵɵdirectiveInject(UIScreenViewModel)); }; }
|
|
2781
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationControlsComponent, selectors: [["edm-sdui-navigation-controls"]], standalone: false, decls: 1, vars: 1, consts: [["class", "navigation-controls", 4, "ngIf"], [1, "navigation-controls"], [1, "back-button", 3, "click", "disabled"], ["src", "assets/images/bt-back.svg", "width", "100%", "height", "40px"]], template: function NavigationControlsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2782
|
+
i0.ɵɵtemplate(0, NavigationControlsComponent_div_0_Template, 4, 3, "div", 0);
|
|
2783
|
+
} if (rf & 2) {
|
|
2784
|
+
i0.ɵɵproperty("ngIf", false);
|
|
2785
|
+
} }, dependencies: [i1$1.NgIf, i1$1.AsyncPipe], styles: ["[_nghost-%COMP%]{display:contents}.navigation-controls[_ngcontent-%COMP%]{display:flex;gap:8px}.navigation-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0;border-radius:4px;cursor:pointer;transition:all .2s ease}.navigation-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}"] }); }
|
|
2577
2786
|
}
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2787
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationControlsComponent, [{
|
|
2788
|
+
type: Component,
|
|
2789
|
+
args: [{ selector: 'edm-sdui-navigation-controls', standalone: false, template: "<div class=\"navigation-controls\" *ngIf=\"false\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <img src=\"assets/images/bt-back.svg\" width=\"100%\" height=\"40px\"/>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:0;border-radius:4px;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}\n"] }]
|
|
2790
|
+
}], () => [{ type: UIScreenViewModel }], null); })();
|
|
2791
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NavigationControlsComponent, { className: "NavigationControlsComponent", filePath: "lib/components/navigation-controls/navigation-controls.component.ts", lineNumber: 10 }); })();
|
|
2582
2792
|
|
|
2793
|
+
function UIScreenComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
2794
|
+
i0.ɵɵelementContainerStart(0);
|
|
2795
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
2796
|
+
i0.ɵɵelement(2, "div", 4);
|
|
2797
|
+
i0.ɵɵelementEnd();
|
|
2798
|
+
i0.ɵɵelementContainerEnd();
|
|
2799
|
+
} }
|
|
2800
|
+
function UIScreenComponent_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
2801
|
+
i0.ɵɵelementContainerStart(0);
|
|
2802
|
+
i0.ɵɵelementStart(1, "div", 5);
|
|
2803
|
+
i0.ɵɵtext(2, " Erro ao carregar a tela: ");
|
|
2804
|
+
i0.ɵɵelementStart(3, "pre");
|
|
2805
|
+
i0.ɵɵtext(4);
|
|
2806
|
+
i0.ɵɵelementEnd()();
|
|
2807
|
+
i0.ɵɵelementContainerEnd();
|
|
2808
|
+
} if (rf & 2) {
|
|
2809
|
+
const errorMessage_r1 = ctx.ngIf;
|
|
2810
|
+
i0.ɵɵadvance(4);
|
|
2811
|
+
i0.ɵɵtextInterpolate(errorMessage_r1);
|
|
2812
|
+
} }
|
|
2813
|
+
function UIScreenComponent_ng_template_2_ng_template_2_div_0_edm_sdui_single_column_layout_3_Template(rf, ctx) { if (rf & 1) {
|
|
2814
|
+
i0.ɵɵelement(0, "edm-sdui-single-column-layout", 11);
|
|
2815
|
+
} if (rf & 2) {
|
|
2816
|
+
const uiScreen_r2 = i0.ɵɵnextContext().ngIf;
|
|
2817
|
+
i0.ɵɵproperty("uiLayout", uiScreen_r2.content);
|
|
2818
|
+
} }
|
|
2819
|
+
function UIScreenComponent_ng_template_2_ng_template_2_div_0_edm_sdui_centered_content_layout_4_Template(rf, ctx) { if (rf & 1) {
|
|
2820
|
+
i0.ɵɵelement(0, "edm-sdui-centered-content-layout", 11);
|
|
2821
|
+
} if (rf & 2) {
|
|
2822
|
+
const uiScreen_r2 = i0.ɵɵnextContext().ngIf;
|
|
2823
|
+
i0.ɵɵproperty("uiLayout", uiScreen_r2.content);
|
|
2824
|
+
} }
|
|
2825
|
+
function UIScreenComponent_ng_template_2_ng_template_2_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
2826
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
2827
|
+
i0.ɵɵelement(1, "edm-sdui-navigation-controls", 8);
|
|
2828
|
+
i0.ɵɵelementContainerStart(2, 9);
|
|
2829
|
+
i0.ɵɵtemplate(3, UIScreenComponent_ng_template_2_ng_template_2_div_0_edm_sdui_single_column_layout_3_Template, 1, 1, "edm-sdui-single-column-layout", 10)(4, UIScreenComponent_ng_template_2_ng_template_2_div_0_edm_sdui_centered_content_layout_4_Template, 1, 1, "edm-sdui-centered-content-layout", 10);
|
|
2830
|
+
i0.ɵɵelementContainerEnd();
|
|
2831
|
+
i0.ɵɵelementEnd();
|
|
2832
|
+
} if (rf & 2) {
|
|
2833
|
+
const uiScreen_r2 = ctx.ngIf;
|
|
2834
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
2835
|
+
i0.ɵɵproperty("ngClass", ctx_r2.containerClass(uiScreen_r2.config))("edmSduiView", uiScreen_r2);
|
|
2836
|
+
i0.ɵɵadvance();
|
|
2837
|
+
i0.ɵɵproperty("edmSduiView", uiScreen_r2);
|
|
2838
|
+
i0.ɵɵadvance();
|
|
2839
|
+
i0.ɵɵproperty("ngSwitch", uiScreen_r2.identifier);
|
|
2840
|
+
i0.ɵɵadvance();
|
|
2841
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.UIScreenIdentifier.SINGLE_COLUMN);
|
|
2842
|
+
i0.ɵɵadvance();
|
|
2843
|
+
i0.ɵɵproperty("ngSwitchCase", ctx_r2.UIScreenIdentifier.CENTERED_CONTENT);
|
|
2844
|
+
} }
|
|
2845
|
+
function UIScreenComponent_ng_template_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2846
|
+
i0.ɵɵtemplate(0, UIScreenComponent_ng_template_2_ng_template_2_div_0_Template, 5, 6, "div", 6);
|
|
2847
|
+
i0.ɵɵpipe(1, "async");
|
|
2848
|
+
} if (rf & 2) {
|
|
2849
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
2850
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx_r2.viewModel.uiScreen$));
|
|
2851
|
+
} }
|
|
2852
|
+
function UIScreenComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2853
|
+
i0.ɵɵtemplate(0, UIScreenComponent_ng_template_2_ng_container_0_Template, 5, 1, "ng-container", 2);
|
|
2854
|
+
i0.ɵɵpipe(1, "async");
|
|
2855
|
+
i0.ɵɵtemplate(2, UIScreenComponent_ng_template_2_ng_template_2_Template, 2, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
2856
|
+
} if (rf & 2) {
|
|
2857
|
+
const renderScreen_r4 = i0.ɵɵreference(3);
|
|
2858
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2859
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx_r2.viewModel.error$))("ngIfElse", renderScreen_r4);
|
|
2860
|
+
} }
|
|
2583
2861
|
class UIScreenComponent {
|
|
2584
2862
|
constructor(viewModel) {
|
|
2585
2863
|
this.viewModel = viewModel;
|
|
@@ -2593,36 +2871,83 @@ class UIScreenComponent {
|
|
|
2593
2871
|
? 'ui-screen--contained'
|
|
2594
2872
|
: 'ui-screen--fluid';
|
|
2595
2873
|
}
|
|
2596
|
-
static { this.ɵfac =
|
|
2597
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2874
|
+
static { this.ɵfac = function UIScreenComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UIScreenComponent)(i0.ɵɵdirectiveInject(UIScreenViewModel)); }; }
|
|
2875
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UIScreenComponent, selectors: [["edm-sdui-uiscreen"]], standalone: false, decls: 4, vars: 4, consts: [["loaded", ""], ["renderScreen", ""], [4, "ngIf", "ngIfElse"], [1, "loading-spinner"], [1, "spinner"], [1, "error-label"], ["class", "ui-screen", 3, "ngClass", "edmSduiView", 4, "ngIf"], [1, "ui-screen", 3, "ngClass", "edmSduiView"], [3, "edmSduiView"], [3, "ngSwitch"], [3, "uiLayout", 4, "ngSwitchCase"], [3, "uiLayout"]], template: function UIScreenComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2876
|
+
i0.ɵɵtemplate(0, UIScreenComponent_ng_container_0_Template, 3, 0, "ng-container", 2);
|
|
2877
|
+
i0.ɵɵpipe(1, "async");
|
|
2878
|
+
i0.ɵɵtemplate(2, UIScreenComponent_ng_template_2_Template, 4, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
2879
|
+
} if (rf & 2) {
|
|
2880
|
+
const loaded_r5 = i0.ɵɵreference(3);
|
|
2881
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 2, ctx.viewModel.isLoading$))("ngIfElse", loaded_r5);
|
|
2882
|
+
} }, dependencies: [i1$1.NgClass, i1$1.NgIf, i1$1.NgSwitch, i1$1.NgSwitchCase, SingleColumnLayoutComponent, CenteredContentLayoutComponent, UIViewDirective, NavigationControlsComponent, i1$1.AsyncPipe], styles: ["[_nghost-%COMP%]{display:contents}.ui-screen[_ngcontent-%COMP%]{width:100%;min-height:100vh}.ui-screen--fluid[_ngcontent-%COMP%]{width:100vw}.ui-screen--contained[_ngcontent-%COMP%]{width:100%;max-width:1200px;margin:0 auto;padding:16px;box-sizing:border-box}.error-label[_ngcontent-%COMP%]{color:var(--input-error)}.loading-spinner[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw;box-sizing:border-box;position:relative}.spinner[_ngcontent-%COMP%]{width:48px;height:48px;border:5px solid var(--actindcolor);border-top-color:#333;border-radius:50%;animation:_ngcontent-%COMP%_spin 1s linear infinite;top:50%;left:50%}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}"] }); }
|
|
2598
2883
|
}
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2884
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UIScreenComponent, [{
|
|
2885
|
+
type: Component,
|
|
2886
|
+
args: [{ selector: 'edm-sdui-uiscreen', standalone: false, template: "<ng-container *ngIf=\"viewModel.isLoading$ | async; else loaded\">\n <div class=\"loading-spinner\">\n <div class=\"spinner\"></div>\n </div>\n</ng-container>\n\n<ng-template #loaded>\n <ng-container\n *ngIf=\"viewModel.error$ | async as errorMessage; else renderScreen\"\n >\n <div class=\"error-label\">\n Erro ao carregar a tela:\n <pre>{{ errorMessage }}</pre>\n </div>\n </ng-container>\n\n <ng-template #renderScreen>\n <div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [ngClass]=\"containerClass(uiScreen.config)\"\n [edmSduiView]=\"uiScreen\"\n >\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n ></edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n ></edm-sdui-centered-content-layout>\n </ng-container>\n </div>\n </ng-template>\n</ng-template>\n", styles: [":host{display:contents}.ui-screen{width:100%;min-height:100vh}.ui-screen--fluid{width:100vw}.ui-screen--contained{width:100%;max-width:1200px;margin:0 auto;padding:16px;box-sizing:border-box}.error-label{color:var(--input-error)}.loading-spinner{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw;box-sizing:border-box;position:relative}.spinner{width:48px;height:48px;border:5px solid var(--actindcolor);border-top-color:#333;border-radius:50%;animation:spin 1s linear infinite;top:50%;left:50%}@keyframes spin{to{transform:rotate(360deg)}}\n"] }]
|
|
2887
|
+
}], () => [{ type: UIScreenViewModel }], null); })();
|
|
2888
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UIScreenComponent, { className: "UIScreenComponent", filePath: "lib/components/uiscreen/uiscreen.component.ts", lineNumber: 12 }); })();
|
|
2603
2889
|
|
|
2890
|
+
function RowComponent_div_0_edm_sdui_component_1_Template(rf, ctx) { if (rf & 1) {
|
|
2891
|
+
i0.ɵɵelement(0, "edm-sdui-component", 3);
|
|
2892
|
+
} if (rf & 2) {
|
|
2893
|
+
const component_r1 = ctx.$implicit;
|
|
2894
|
+
i0.ɵɵproperty("uiComponent", component_r1);
|
|
2895
|
+
} }
|
|
2896
|
+
function RowComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
2897
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
2898
|
+
i0.ɵɵtemplate(1, RowComponent_div_0_edm_sdui_component_1_Template, 1, 1, "edm-sdui-component", 2);
|
|
2899
|
+
i0.ɵɵelementEnd();
|
|
2900
|
+
} if (rf & 2) {
|
|
2901
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
2902
|
+
i0.ɵɵclassProp("row-fixed", ctx_r1.uiComponent.element == null ? null : ctx_r1.uiComponent.element.size);
|
|
2903
|
+
i0.ɵɵproperty("edmSduiView", ctx_r1.uiComponent.element);
|
|
2904
|
+
i0.ɵɵadvance();
|
|
2905
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uiComponent.components);
|
|
2906
|
+
} }
|
|
2604
2907
|
class RowComponent {
|
|
2605
2908
|
constructor(uiComponent) {
|
|
2606
2909
|
this.uiComponent = uiComponent;
|
|
2607
2910
|
}
|
|
2608
2911
|
ngOnInit() {
|
|
2609
2912
|
}
|
|
2610
|
-
static { this.ɵfac =
|
|
2611
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2913
|
+
static { this.ɵfac = function RowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RowComponent)(i0.ɵɵdirectiveInject('uiComponent')); }; }
|
|
2914
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RowComponent, selectors: [["edm-sdui-row"]], standalone: false, decls: 1, vars: 1, consts: [["class", "row-1", 3, "edmSduiView", "row-fixed", 4, "ngIf"], [1, "row-1", 3, "edmSduiView"], [3, "uiComponent", 4, "ngFor", "ngForOf"], [3, "uiComponent"]], template: function RowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2915
|
+
i0.ɵɵtemplate(0, RowComponent_div_0_Template, 2, 4, "div", 0);
|
|
2916
|
+
} if (rf & 2) {
|
|
2917
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
2918
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, UIComponentComponent, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.row-1[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.row-fixed[_ngcontent-%COMP%]{flex:0 0 auto;max-width:100%;box-sizing:border-box}@media(max-width:565px){.row-fixed[_ngcontent-%COMP%]{max-width:none;width:auto}.row-fixed[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0;min-width:100%}}"] }); }
|
|
2612
2919
|
}
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2920
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RowComponent, [{
|
|
2921
|
+
type: Component,
|
|
2922
|
+
args: [{ selector: 'edm-sdui-row', standalone: false, template: "<div\n class=\"row-1\"\n *ngIf=\"uiComponent\"\n [edmSduiView]=\"uiComponent.element\"\n [class.row-fixed]=\"\n uiComponent.element?.size\"\n>\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row-1{display:flex;flex-direction:row;align-items:center}.row-fixed{flex:0 0 auto;max-width:100%;box-sizing:border-box}@media(max-width:565px){.row-fixed{max-width:none;width:auto}.row-fixed>*{flex-shrink:0;min-width:100%}}\n"] }]
|
|
2923
|
+
}], () => [{ type: undefined, decorators: [{
|
|
2924
|
+
type: Inject,
|
|
2925
|
+
args: ['uiComponent']
|
|
2926
|
+
}] }], null); })();
|
|
2927
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RowComponent, { className: "RowComponent", filePath: "lib/components/uicomponent/row/row.component.ts", lineNumber: 10 }); })();
|
|
2620
2928
|
|
|
2621
2929
|
var row_component = /*#__PURE__*/Object.freeze({
|
|
2622
2930
|
__proto__: null,
|
|
2623
2931
|
RowComponent: RowComponent
|
|
2624
2932
|
});
|
|
2625
2933
|
|
|
2934
|
+
function ColumnComponent_div_0_edm_sdui_component_1_Template(rf, ctx) { if (rf & 1) {
|
|
2935
|
+
i0.ɵɵelement(0, "edm-sdui-component", 3);
|
|
2936
|
+
} if (rf & 2) {
|
|
2937
|
+
const child_r1 = ctx.$implicit;
|
|
2938
|
+
i0.ɵɵproperty("uiComponent", child_r1);
|
|
2939
|
+
} }
|
|
2940
|
+
function ColumnComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
2941
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
2942
|
+
i0.ɵɵtemplate(1, ColumnComponent_div_0_edm_sdui_component_1_Template, 1, 1, "edm-sdui-component", 2);
|
|
2943
|
+
i0.ɵɵelementEnd();
|
|
2944
|
+
} if (rf & 2) {
|
|
2945
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
2946
|
+
i0.ɵɵclassProp("fill", ctx_r1.shouldFill());
|
|
2947
|
+
i0.ɵɵproperty("edmSduiView", ctx_r1.uiComponent.element);
|
|
2948
|
+
i0.ɵɵadvance();
|
|
2949
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uiComponent.components);
|
|
2950
|
+
} }
|
|
2626
2951
|
class ColumnComponent {
|
|
2627
2952
|
constructor(uiComponent) {
|
|
2628
2953
|
this.uiComponent = uiComponent;
|
|
@@ -2634,16 +2959,21 @@ class ColumnComponent {
|
|
|
2634
2959
|
const comps = this.uiComponent?.components ?? [];
|
|
2635
2960
|
return comps.some(c => c.type === 'SPACE' && (c.element?.grow ?? 0) > 0);
|
|
2636
2961
|
}
|
|
2637
|
-
static { this.ɵfac =
|
|
2638
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
2962
|
+
static { this.ɵfac = function ColumnComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ColumnComponent)(i0.ɵɵdirectiveInject('uiComponent')); }; }
|
|
2963
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ColumnComponent, selectors: [["edm-sdui-column"]], standalone: false, decls: 1, vars: 1, consts: [["class", "column", 3, "edmSduiView", "fill", 4, "ngIf"], [1, "column", 3, "edmSduiView"], [3, "uiComponent", 4, "ngFor", "ngForOf"], [3, "uiComponent"]], template: function ColumnComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2964
|
+
i0.ɵɵtemplate(0, ColumnComponent_div_0_Template, 2, 4, "div", 0);
|
|
2965
|
+
} if (rf & 2) {
|
|
2966
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
2967
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, UIComponentComponent, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.column[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow:clip;flex:0 0 auto}.row-fixed [_nghost-%COMP%] .column[_ngcontent-%COMP%], .row-fixed[_nghost-%COMP%] .column[_ngcontent-%COMP%], .row-fixed [_nghost-%COMP%] .column[_ngcontent-%COMP%]{flex:1 1 0%;min-width:0}.column.fill[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0}@media(max-width:565px){.row-fixed [_nghost-%COMP%] .column[_ngcontent-%COMP%], .row-fixed[_nghost-%COMP%] .column[_ngcontent-%COMP%], .row-fixed [_nghost-%COMP%] .column[_ngcontent-%COMP%]{flex:1 1 0%;min-width:0;width:100%;max-width:100%}}"] }); }
|
|
2639
2968
|
}
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2969
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ColumnComponent, [{
|
|
2970
|
+
type: Component,
|
|
2971
|
+
args: [{ selector: 'edm-sdui-column', standalone: false, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\" [class.fill]=\"shouldFill()\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column;overflow:clip;flex:0 0 auto}.row-fixed :host .column,:host-context(.row-fixed) .column{flex:1 1 0%;min-width:0}.column.fill{flex:1 1 auto;min-height:0}@media(max-width:565px){.row-fixed :host .column,:host-context(.row-fixed) .column{flex:1 1 0%;min-width:0;width:100%;max-width:100%}}\n"] }]
|
|
2972
|
+
}], () => [{ type: undefined, decorators: [{
|
|
2973
|
+
type: Inject,
|
|
2974
|
+
args: ['uiComponent']
|
|
2975
|
+
}] }], null); })();
|
|
2976
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ColumnComponent, { className: "ColumnComponent", filePath: "lib/components/uicomponent/column/column.component.ts", lineNumber: 10 }); })();
|
|
2647
2977
|
|
|
2648
2978
|
var column_component = /*#__PURE__*/Object.freeze({
|
|
2649
2979
|
__proto__: null,
|
|
@@ -2684,13 +3014,13 @@ class FontSizeMappingService {
|
|
|
2684
3014
|
getMapping() {
|
|
2685
3015
|
return this.mapping;
|
|
2686
3016
|
}
|
|
2687
|
-
static { this.ɵfac =
|
|
2688
|
-
static { this.ɵprov = i0.ɵɵ
|
|
3017
|
+
static { this.ɵfac = function FontSizeMappingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FontSizeMappingService)(); }; }
|
|
3018
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FontSizeMappingService, factory: FontSizeMappingService.ɵfac, providedIn: 'root' }); }
|
|
2689
3019
|
}
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
3020
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FontSizeMappingService, [{
|
|
3021
|
+
type: Injectable,
|
|
3022
|
+
args: [{ providedIn: 'root' }]
|
|
3023
|
+
}], () => [], null); })();
|
|
2694
3024
|
|
|
2695
3025
|
function getTextStyleMappingFontSize() {
|
|
2696
3026
|
return inject(FontSizeMappingService).getMapping();
|
|
@@ -2722,6 +3052,17 @@ const textStyleMappingLineHeight = {
|
|
|
2722
3052
|
[UITextStyle.FOOTNOTE]: '14px',
|
|
2723
3053
|
};
|
|
2724
3054
|
|
|
3055
|
+
const _c0$c = ["spanElement"];
|
|
3056
|
+
function LabelComponent_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
3057
|
+
i0.ɵɵelementStart(0, "span", 2, 0);
|
|
3058
|
+
i0.ɵɵtext(2);
|
|
3059
|
+
i0.ɵɵelementEnd();
|
|
3060
|
+
} if (rf & 2) {
|
|
3061
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3062
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
3063
|
+
i0.ɵɵadvance(2);
|
|
3064
|
+
i0.ɵɵtextInterpolate((ctx_r0.uiComponent.element == null ? null : ctx_r0.uiComponent.element.label) ?? "");
|
|
3065
|
+
} }
|
|
2725
3066
|
class LabelComponent {
|
|
2726
3067
|
constructor(uiComponent, renderer, fontSizeMappingService) {
|
|
2727
3068
|
this.uiComponent = uiComponent;
|
|
@@ -2796,19 +3137,29 @@ class LabelComponent {
|
|
|
2796
3137
|
}
|
|
2797
3138
|
return `calc(${lineHeight} * ${lines})`;
|
|
2798
3139
|
}
|
|
2799
|
-
static { this.ɵfac =
|
|
2800
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3140
|
+
static { this.ɵfac = function LabelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LabelComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
3141
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LabelComponent, selectors: [["edm-sdui-label"]], viewQuery: function LabelComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3142
|
+
i0.ɵɵviewQuery(_c0$c, 5);
|
|
3143
|
+
} if (rf & 2) {
|
|
3144
|
+
let _t;
|
|
3145
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.spanElementRef = _t.first);
|
|
3146
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["spanElement", ""], [3, "edmSduiView", 4, "ngIf"], [3, "edmSduiView"]], template: function LabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3147
|
+
i0.ɵɵtemplate(0, LabelComponent_span_0_Template, 3, 2, "span", 1);
|
|
3148
|
+
} if (rf & 2) {
|
|
3149
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
3150
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}"] }); }
|
|
2801
3151
|
}
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
3152
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LabelComponent, [{
|
|
3153
|
+
type: Component,
|
|
3154
|
+
args: [{ selector: 'edm-sdui-label', standalone: false, template: "<span #spanElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">{{\n uiComponent.element?.label ?? \"\"\n}}</span>\n", styles: [":host{display:contents}\n"] }]
|
|
3155
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3156
|
+
type: Inject,
|
|
3157
|
+
args: ['uiComponent']
|
|
3158
|
+
}] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], { spanElementRef: [{
|
|
3159
|
+
type: ViewChild,
|
|
3160
|
+
args: ['spanElement']
|
|
3161
|
+
}] }); })();
|
|
3162
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LabelComponent, { className: "LabelComponent", filePath: "lib/components/uicomponent/label/label.component.ts", lineNumber: 16 }); })();
|
|
2812
3163
|
|
|
2813
3164
|
var label_component = /*#__PURE__*/Object.freeze({
|
|
2814
3165
|
__proto__: null,
|
|
@@ -2822,22 +3173,46 @@ class SpaceComponent {
|
|
|
2822
3173
|
ngOnInit() {
|
|
2823
3174
|
// console.debug('space.uiComponent: ', this.uiComponent);
|
|
2824
3175
|
}
|
|
2825
|
-
static { this.ɵfac =
|
|
2826
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3176
|
+
static { this.ɵfac = function SpaceComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SpaceComponent)(i0.ɵɵdirectiveInject('uiComponent')); }; }
|
|
3177
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SpaceComponent, selectors: [["edm-sdui-space"]], standalone: false, decls: 1, vars: 0, consts: [[1, "space"]], template: function SpaceComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3178
|
+
i0.ɵɵelement(0, "div", 0);
|
|
3179
|
+
} }, styles: ["[_nghost-%COMP%]{display:contents}.space[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-height:1px;min-width:1px}"] }); }
|
|
2827
3180
|
}
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
3181
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SpaceComponent, [{
|
|
3182
|
+
type: Component,
|
|
3183
|
+
args: [{ selector: 'edm-sdui-space', standalone: false, template: "<div class=\"space\"></div>\n", styles: [":host{display:contents}.space{flex-grow:1;flex-shrink:1;min-height:1px;min-width:1px}\n"] }]
|
|
3184
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3185
|
+
type: Inject,
|
|
3186
|
+
args: ['uiComponent']
|
|
3187
|
+
}] }], null); })();
|
|
3188
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SpaceComponent, { className: "SpaceComponent", filePath: "lib/components/uicomponent/space/space.component.ts", lineNumber: 10 }); })();
|
|
2835
3189
|
|
|
2836
3190
|
var space_component = /*#__PURE__*/Object.freeze({
|
|
2837
3191
|
__proto__: null,
|
|
2838
3192
|
SpaceComponent: SpaceComponent
|
|
2839
3193
|
});
|
|
2840
3194
|
|
|
3195
|
+
function ZStackComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
3196
|
+
i0.ɵɵelementContainerStart(0);
|
|
3197
|
+
i0.ɵɵelementStart(1, "div", 4);
|
|
3198
|
+
i0.ɵɵelement(2, "edm-sdui-component", 5);
|
|
3199
|
+
i0.ɵɵelementEnd();
|
|
3200
|
+
i0.ɵɵelementContainerEnd();
|
|
3201
|
+
} if (rf & 2) {
|
|
3202
|
+
const child_r1 = ctx.$implicit;
|
|
3203
|
+
i0.ɵɵadvance(2);
|
|
3204
|
+
i0.ɵɵproperty("uiComponent", child_r1);
|
|
3205
|
+
} }
|
|
3206
|
+
function ZStackComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3207
|
+
i0.ɵɵelementStart(0, "div", 2, 0);
|
|
3208
|
+
i0.ɵɵtemplate(2, ZStackComponent_div_0_ng_container_2_Template, 3, 1, "ng-container", 3);
|
|
3209
|
+
i0.ɵɵelementEnd();
|
|
3210
|
+
} if (rf & 2) {
|
|
3211
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
3212
|
+
i0.ɵɵproperty("edmSduiView", ctx_r1.uiComponent.element);
|
|
3213
|
+
i0.ɵɵadvance(2);
|
|
3214
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uiComponent.components);
|
|
3215
|
+
} }
|
|
2841
3216
|
class ZStackComponent {
|
|
2842
3217
|
constructor(uiComponent) {
|
|
2843
3218
|
this.uiComponent = uiComponent;
|
|
@@ -2845,22 +3220,33 @@ class ZStackComponent {
|
|
|
2845
3220
|
ngOnInit() {
|
|
2846
3221
|
// console.debug('zstack.uiComponent: ', this.uiComponent);
|
|
2847
3222
|
}
|
|
2848
|
-
static { this.ɵfac =
|
|
2849
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3223
|
+
static { this.ɵfac = function ZStackComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ZStackComponent)(i0.ɵɵdirectiveInject('uiComponent')); }; }
|
|
3224
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ZStackComponent, selectors: [["edm-sdui-zstack"]], standalone: false, decls: 1, vars: 1, consts: [["zstackElementRef", ""], ["class", "zstack", 3, "edmSduiView", 4, "ngIf"], [1, "zstack", 3, "edmSduiView"], [4, "ngFor", "ngForOf"], [1, "zstack-child"], [3, "uiComponent"]], template: function ZStackComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3225
|
+
i0.ɵɵtemplate(0, ZStackComponent_div_0_Template, 3, 2, "div", 1);
|
|
3226
|
+
} if (rf & 2) {
|
|
3227
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
3228
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, UIComponentComponent, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.zstack[_ngcontent-%COMP%]{display:grid;overflow:clip;flex:0 0 auto}.zstack-child[_ngcontent-%COMP%]{grid-area:1/1;display:flex;align-items:center}"] }); }
|
|
2850
3229
|
}
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
3230
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ZStackComponent, [{
|
|
3231
|
+
type: Component,
|
|
3232
|
+
args: [{ selector: 'edm-sdui-zstack', standalone: false, template: "<div #zstackElementRef class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <ng-container *ngFor=\"let child of uiComponent.components\">\n <div class=\"zstack-child\">\n <edm-sdui-component [uiComponent]=\"child\"></edm-sdui-component>\n </div>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid;overflow:clip;flex:0 0 auto}.zstack-child{grid-area:1/1;display:flex;align-items:center}\n"] }]
|
|
3233
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3234
|
+
type: Inject,
|
|
3235
|
+
args: ['uiComponent']
|
|
3236
|
+
}] }], null); })();
|
|
3237
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ZStackComponent, { className: "ZStackComponent", filePath: "lib/components/uicomponent/zstack/zstack.component.ts", lineNumber: 10 }); })();
|
|
2858
3238
|
|
|
2859
3239
|
var zstack_component = /*#__PURE__*/Object.freeze({
|
|
2860
3240
|
__proto__: null,
|
|
2861
3241
|
ZStackComponent: ZStackComponent
|
|
2862
3242
|
});
|
|
2863
3243
|
|
|
3244
|
+
function RowDivisorComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3245
|
+
i0.ɵɵelement(0, "div", 1);
|
|
3246
|
+
} if (rf & 2) {
|
|
3247
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3248
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
3249
|
+
} }
|
|
2864
3250
|
class RowDivisorComponent {
|
|
2865
3251
|
constructor(uiComponent) {
|
|
2866
3252
|
this.uiComponent = uiComponent;
|
|
@@ -2868,22 +3254,47 @@ class RowDivisorComponent {
|
|
|
2868
3254
|
ngOnInit() {
|
|
2869
3255
|
// console.debug('rowDivisor.uiComponent: ', this.uiComponent);
|
|
2870
3256
|
}
|
|
2871
|
-
static { this.ɵfac =
|
|
2872
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3257
|
+
static { this.ɵfac = function RowDivisorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RowDivisorComponent)(i0.ɵɵdirectiveInject('uiComponent')); }; }
|
|
3258
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RowDivisorComponent, selectors: [["edm-sdui-row-divisor"]], standalone: false, decls: 1, vars: 1, consts: [["class", "row-divisor", 3, "edmSduiView", 4, "ngIf"], [1, "row-divisor", 3, "edmSduiView"]], template: function RowDivisorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3259
|
+
i0.ɵɵtemplate(0, RowDivisorComponent_div_0_Template, 1, 1, "div", 0);
|
|
3260
|
+
} if (rf & 2) {
|
|
3261
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
3262
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.row-divisor[_ngcontent-%COMP%]{height:1px}"] }); }
|
|
2873
3263
|
}
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
3264
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RowDivisorComponent, [{
|
|
3265
|
+
type: Component,
|
|
3266
|
+
args: [{ selector: 'edm-sdui-row-divisor', standalone: false, template: "<div\n class=\"row-divisor\"\n *ngIf=\"uiComponent\"\n [edmSduiView]=\"uiComponent.element\"\n></div>\n", styles: [":host{display:contents}.row-divisor{height:1px}\n"] }]
|
|
3267
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3268
|
+
type: Inject,
|
|
3269
|
+
args: ['uiComponent']
|
|
3270
|
+
}] }], null); })();
|
|
3271
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RowDivisorComponent, { className: "RowDivisorComponent", filePath: "lib/components/uicomponent/row-divisor/row-divisor.component.ts", lineNumber: 10 }); })();
|
|
2881
3272
|
|
|
2882
3273
|
var rowDivisor_component = /*#__PURE__*/Object.freeze({
|
|
2883
3274
|
__proto__: null,
|
|
2884
3275
|
RowDivisorComponent: RowDivisorComponent
|
|
2885
3276
|
});
|
|
2886
3277
|
|
|
3278
|
+
const _c0$b = ["buttonElement"];
|
|
3279
|
+
function ButtonComponent_button_0_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
3280
|
+
i0.ɵɵelement(0, "img", 4);
|
|
3281
|
+
} if (rf & 2) {
|
|
3282
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3283
|
+
i0.ɵɵproperty("src", ctx_r0.getAssetPath(ctx_r0.uiComponent.element.asset), i0.ɵɵsanitizeUrl);
|
|
3284
|
+
} }
|
|
3285
|
+
function ButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
3286
|
+
i0.ɵɵelementStart(0, "button", 2, 0);
|
|
3287
|
+
i0.ɵɵtemplate(2, ButtonComponent_button_0_img_2_Template, 1, 1, "img", 3);
|
|
3288
|
+
i0.ɵɵtext(3);
|
|
3289
|
+
i0.ɵɵelementEnd();
|
|
3290
|
+
} if (rf & 2) {
|
|
3291
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3292
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
3293
|
+
i0.ɵɵadvance(2);
|
|
3294
|
+
i0.ɵɵproperty("ngIf", ctx_r0.uiComponent.element.asset);
|
|
3295
|
+
i0.ɵɵadvance();
|
|
3296
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.uiComponent.element.label, "\n");
|
|
3297
|
+
} }
|
|
2887
3298
|
class ButtonComponent {
|
|
2888
3299
|
constructor(uiComponent, renderer, fontSizeMappingService) {
|
|
2889
3300
|
this.uiComponent = uiComponent;
|
|
@@ -2917,19 +3328,29 @@ class ButtonComponent {
|
|
|
2917
3328
|
getAssetPath(asset) {
|
|
2918
3329
|
return assetMapping[asset];
|
|
2919
3330
|
}
|
|
2920
|
-
static { this.ɵfac =
|
|
2921
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3331
|
+
static { this.ɵfac = function ButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ButtonComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
3332
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["edm-sdui-button"]], viewQuery: function ButtonComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3333
|
+
i0.ɵɵviewQuery(_c0$b, 5);
|
|
3334
|
+
} if (rf & 2) {
|
|
3335
|
+
let _t;
|
|
3336
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonElementRef = _t.first);
|
|
3337
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["buttonElement", ""], [3, "edmSduiView", 4, "ngIf"], [3, "edmSduiView"], ["alt", "", 3, "src", 4, "ngIf"], ["alt", "", 3, "src"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3338
|
+
i0.ɵɵtemplate(0, ButtonComponent_button_0_Template, 4, 3, "button", 1);
|
|
3339
|
+
} if (rf & 2) {
|
|
3340
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
3341
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}button[_ngcontent-%COMP%]{border:none;white-space:nowrap;background-color:unset;width:fit-content}"] }); }
|
|
2922
3342
|
}
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
3343
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
3344
|
+
type: Component,
|
|
3345
|
+
args: [{ selector: 'edm-sdui-button', standalone: false, template: "<button #buttonElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">\n <img *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"\">\n {{ uiComponent.element.label }}\n</button>\n", styles: [":host{display:contents}button{border:none;white-space:nowrap;background-color:unset;width:fit-content}\n"] }]
|
|
3346
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3347
|
+
type: Inject,
|
|
3348
|
+
args: ['uiComponent']
|
|
3349
|
+
}] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], { buttonElementRef: [{
|
|
3350
|
+
type: ViewChild,
|
|
3351
|
+
args: ['buttonElement']
|
|
3352
|
+
}] }); })();
|
|
3353
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "lib/components/uicomponent/button/button.component.ts", lineNumber: 28 }); })();
|
|
2933
3354
|
|
|
2934
3355
|
var button_component = /*#__PURE__*/Object.freeze({
|
|
2935
3356
|
__proto__: null,
|
|
@@ -3132,6 +3553,25 @@ const rankingSvgMap = {
|
|
|
3132
3553
|
[UIAsset.IMG_EXPLORER_RANKING_N_10]: ranking10Svg,
|
|
3133
3554
|
};
|
|
3134
3555
|
|
|
3556
|
+
const _c0$a = ["imgElement"];
|
|
3557
|
+
function ImageComponent_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
3558
|
+
i0.ɵɵelement(0, "span", 3);
|
|
3559
|
+
} if (rf & 2) {
|
|
3560
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3561
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element)("innerHTML", ctx_r0.svgContent, i0.ɵɵsanitizeHtml);
|
|
3562
|
+
} }
|
|
3563
|
+
function ImageComponent_ng_template_1_img_0_Template(rf, ctx) { if (rf & 1) {
|
|
3564
|
+
i0.ɵɵelement(0, "img", 5, 1);
|
|
3565
|
+
} if (rf & 2) {
|
|
3566
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3567
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
3568
|
+
} }
|
|
3569
|
+
function ImageComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
3570
|
+
i0.ɵɵtemplate(0, ImageComponent_ng_template_1_img_0_Template, 2, 1, "img", 4);
|
|
3571
|
+
} if (rf & 2) {
|
|
3572
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3573
|
+
i0.ɵɵproperty("ngIf", ctx_r0.uiComponent);
|
|
3574
|
+
} }
|
|
3135
3575
|
class ImageComponent {
|
|
3136
3576
|
constructor(uiComponent, renderer, sanitizer) {
|
|
3137
3577
|
this.uiComponent = uiComponent;
|
|
@@ -3141,8 +3581,9 @@ class ImageComponent {
|
|
|
3141
3581
|
}
|
|
3142
3582
|
ngOnInit() { }
|
|
3143
3583
|
ngAfterViewInit() {
|
|
3144
|
-
|
|
3145
|
-
|
|
3584
|
+
const element = this.uiComponent?.element;
|
|
3585
|
+
if (element) {
|
|
3586
|
+
Promise.resolve().then(() => this.applyElement(element));
|
|
3146
3587
|
}
|
|
3147
3588
|
}
|
|
3148
3589
|
applyElement(element) {
|
|
@@ -3170,25 +3611,39 @@ class ImageComponent {
|
|
|
3170
3611
|
}
|
|
3171
3612
|
}
|
|
3172
3613
|
}
|
|
3173
|
-
static { this.ɵfac =
|
|
3174
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3614
|
+
static { this.ɵfac = function ImageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ImageComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i1$2.DomSanitizer)); }; }
|
|
3615
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ImageComponent, selectors: [["edm-sdui-image"]], viewQuery: function ImageComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3616
|
+
i0.ɵɵviewQuery(_c0$a, 5);
|
|
3617
|
+
} if (rf & 2) {
|
|
3618
|
+
let _t;
|
|
3619
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.imgElementRef = _t.first);
|
|
3620
|
+
} }, standalone: false, decls: 3, vars: 2, consts: [["imageElement", ""], ["imgElement", ""], ["class", "sdui-image-svg", 3, "edmSduiView", "innerHTML", 4, "ngIf", "ngIfElse"], [1, "sdui-image-svg", 3, "edmSduiView", "innerHTML"], [3, "edmSduiView", 4, "ngIf"], [3, "edmSduiView"]], template: function ImageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3621
|
+
i0.ɵɵtemplate(0, ImageComponent_span_0_Template, 1, 2, "span", 2)(1, ImageComponent_ng_template_1_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
3622
|
+
} if (rf & 2) {
|
|
3623
|
+
const imageElement_r2 = i0.ɵɵreference(2);
|
|
3624
|
+
i0.ɵɵproperty("ngIf", ctx.svgContent)("ngIfElse", imageElement_r2);
|
|
3625
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.sdui-image-svg[_ngcontent-%COMP%]{display:inline-block;line-height:0}.sdui-image-svg[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:block;width:100%;height:100%}"] }); }
|
|
3175
3626
|
}
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3627
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ImageComponent, [{
|
|
3628
|
+
type: Component,
|
|
3629
|
+
args: [{ selector: 'edm-sdui-image', standalone: false, template: "<span\n *ngIf=\"svgContent; else imageElement\"\n class=\"sdui-image-svg\"\n [edmSduiView]=\"uiComponent.element\"\n [innerHTML]=\"svgContent\"\n></span>\n<ng-template #imageElement>\n <img #imgElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\" />\n</ng-template>\n", styles: [":host{display:contents}.sdui-image-svg{display:inline-block;line-height:0}.sdui-image-svg svg{display:block;width:100%;height:100%}\n"] }]
|
|
3630
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3631
|
+
type: Inject,
|
|
3632
|
+
args: ['uiComponent']
|
|
3633
|
+
}] }, { type: i0.Renderer2 }, { type: i1$2.DomSanitizer }], { imgElementRef: [{
|
|
3634
|
+
type: ViewChild,
|
|
3635
|
+
args: ['imgElement']
|
|
3636
|
+
}] }); })();
|
|
3637
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ImageComponent, { className: "ImageComponent", filePath: "lib/components/uicomponent/image/image.component.ts", lineNumber: 23 }); })();
|
|
3186
3638
|
|
|
3187
3639
|
var image_component = /*#__PURE__*/Object.freeze({
|
|
3188
3640
|
__proto__: null,
|
|
3189
3641
|
ImageComponent: ImageComponent
|
|
3190
3642
|
});
|
|
3191
3643
|
|
|
3644
|
+
function SduiComponent_edm_sdui_uiscreen_1_Template(rf, ctx) { if (rf & 1) {
|
|
3645
|
+
i0.ɵɵelement(0, "edm-sdui-uiscreen");
|
|
3646
|
+
} }
|
|
3192
3647
|
class SduiComponent {
|
|
3193
3648
|
constructor(route, viewModel) {
|
|
3194
3649
|
this.route = route;
|
|
@@ -3215,22 +3670,31 @@ class SduiComponent {
|
|
|
3215
3670
|
if (!hasValidParam &&
|
|
3216
3671
|
this.initialUrl &&
|
|
3217
3672
|
this.currentSduiUrl !== this.initialUrl) {
|
|
3218
|
-
|
|
3219
|
-
|
|
3673
|
+
const urlToLoad = this.initialUrl;
|
|
3674
|
+
console.debug('[SduiComponent] carregando initialUrl:', urlToLoad);
|
|
3675
|
+
Promise.resolve().then(() => this.viewModel.loadUIScreen(urlToLoad));
|
|
3220
3676
|
}
|
|
3221
3677
|
}
|
|
3222
3678
|
validateParam(paramValue) {
|
|
3223
3679
|
return !!paramValue && paramValue.trim() !== '';
|
|
3224
3680
|
}
|
|
3225
|
-
static { this.ɵfac =
|
|
3226
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3681
|
+
static { this.ɵfac = function SduiComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SduiComponent)(i0.ɵɵdirectiveInject(i1$3.ActivatedRoute), i0.ɵɵdirectiveInject(UIScreenViewModel)); }; }
|
|
3682
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SduiComponent, selectors: [["edm-sdui"]], inputs: { initialUrl: "initialUrl" }, standalone: false, decls: 2, vars: 1, consts: [[1, "sdui-container"], [4, "ngIf"]], template: function SduiComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3683
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
3684
|
+
i0.ɵɵtemplate(1, SduiComponent_edm_sdui_uiscreen_1_Template, 1, 0, "edm-sdui-uiscreen", 1);
|
|
3685
|
+
i0.ɵɵelementEnd();
|
|
3686
|
+
} if (rf & 2) {
|
|
3687
|
+
i0.ɵɵadvance();
|
|
3688
|
+
i0.ɵɵproperty("ngIf", ctx.currentSduiUrl);
|
|
3689
|
+
} }, dependencies: [i1$1.NgIf, UIScreenComponent], styles: ["[_nghost-%COMP%]{display:contents}.sdui-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}"] }); }
|
|
3227
3690
|
}
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3691
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SduiComponent, [{
|
|
3692
|
+
type: Component,
|
|
3693
|
+
args: [{ selector: 'edm-sdui', standalone: false, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"] }]
|
|
3694
|
+
}], () => [{ type: i1$3.ActivatedRoute }, { type: UIScreenViewModel }], { initialUrl: [{
|
|
3695
|
+
type: Input
|
|
3696
|
+
}] }); })();
|
|
3697
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SduiComponent, { className: "SduiComponent", filePath: "lib/sdui.component.ts", lineNumber: 14 }); })();
|
|
3234
3698
|
|
|
3235
3699
|
const defaultRoutes = [{ path: 'sdui', component: SduiComponent }];
|
|
3236
3700
|
class SduiRoutingModule {
|
|
@@ -3243,18 +3707,31 @@ class SduiRoutingModule {
|
|
|
3243
3707
|
providers: [],
|
|
3244
3708
|
};
|
|
3245
3709
|
}
|
|
3246
|
-
static { this.ɵfac =
|
|
3247
|
-
static { this.ɵmod = i0.ɵɵ
|
|
3248
|
-
static { this.ɵinj = i0.ɵɵ
|
|
3710
|
+
static { this.ɵfac = function SduiRoutingModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SduiRoutingModule)(); }; }
|
|
3711
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SduiRoutingModule }); }
|
|
3712
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [RouterModule.forChild(defaultRoutes), RouterModule] }); }
|
|
3249
3713
|
}
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3714
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SduiRoutingModule, [{
|
|
3715
|
+
type: NgModule,
|
|
3716
|
+
args: [{
|
|
3717
|
+
imports: [RouterModule.forChild(defaultRoutes)],
|
|
3718
|
+
exports: [RouterModule],
|
|
3719
|
+
}]
|
|
3720
|
+
}], null, null); })();
|
|
3721
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SduiRoutingModule, { imports: [i1$3.RouterModule], exports: [RouterModule] }); })();
|
|
3257
3722
|
|
|
3723
|
+
const _c0$9 = ["tagElement"];
|
|
3724
|
+
const _c1$3 = ["tagNameElement"];
|
|
3725
|
+
function TagComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3726
|
+
i0.ɵɵelementStart(0, "div", 3, 0)(2, "span", 4, 1);
|
|
3727
|
+
i0.ɵɵtext(4);
|
|
3728
|
+
i0.ɵɵelementEnd()();
|
|
3729
|
+
} if (rf & 2) {
|
|
3730
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3731
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
3732
|
+
i0.ɵɵadvance(4);
|
|
3733
|
+
i0.ɵɵtextInterpolate((ctx_r0.uiComponent.element == null ? null : ctx_r0.uiComponent.element.label) ?? "");
|
|
3734
|
+
} }
|
|
3258
3735
|
class TagComponent {
|
|
3259
3736
|
constructor(uiComponent, renderer, fontSizeMappingService) {
|
|
3260
3737
|
this.uiComponent = uiComponent;
|
|
@@ -3287,22 +3764,33 @@ class TagComponent {
|
|
|
3287
3764
|
}
|
|
3288
3765
|
this.renderer.setStyle(this.tagElementRef.nativeElement, 'height', sizeMappingHeight[UISize.ASSET_8]);
|
|
3289
3766
|
}
|
|
3290
|
-
static { this.ɵfac =
|
|
3291
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
3767
|
+
static { this.ɵfac = function TagComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TagComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
3768
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TagComponent, selectors: [["edm-sdui-tag"]], viewQuery: function TagComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3769
|
+
i0.ɵɵviewQuery(_c0$9, 5)(_c1$3, 5);
|
|
3770
|
+
} if (rf & 2) {
|
|
3771
|
+
let _t;
|
|
3772
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagElementRef = _t.first);
|
|
3773
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagNameElementRef = _t.first);
|
|
3774
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["tagElement", ""], ["tagNameElement", ""], ["class", "tag", 3, "edmSduiView", 4, "ngIf"], [1, "tag", 3, "edmSduiView"], [1, "tag-name"]], template: function TagComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3775
|
+
i0.ɵɵtemplate(0, TagComponent_div_0_Template, 5, 2, "div", 2);
|
|
3776
|
+
} if (rf & 2) {
|
|
3777
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
3778
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.tag[_ngcontent-%COMP%]{padding:4px 8px;display:flex;align-items:center}"] }); }
|
|
3292
3779
|
}
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3780
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TagComponent, [{
|
|
3781
|
+
type: Component,
|
|
3782
|
+
args: [{ standalone: false, selector: 'edm-sdui-tag', template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px;display:flex;align-items:center}\n"] }]
|
|
3783
|
+
}], () => [{ type: undefined, decorators: [{
|
|
3784
|
+
type: Inject,
|
|
3785
|
+
args: ['uiComponent']
|
|
3786
|
+
}] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], { tagElementRef: [{
|
|
3787
|
+
type: ViewChild,
|
|
3788
|
+
args: ['tagElement']
|
|
3789
|
+
}], tagNameElementRef: [{
|
|
3790
|
+
type: ViewChild,
|
|
3791
|
+
args: ['tagNameElement']
|
|
3792
|
+
}] }); })();
|
|
3793
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TagComponent, { className: "TagComponent", filePath: "lib/components/uicomponent/tag/tag.component.ts", lineNumber: 16 }); })();
|
|
3306
3794
|
|
|
3307
3795
|
var tag_component$1 = /*#__PURE__*/Object.freeze({
|
|
3308
3796
|
__proto__: null,
|
|
@@ -3399,14 +3887,29 @@ class ScrollSpyService {
|
|
|
3399
3887
|
}
|
|
3400
3888
|
return found;
|
|
3401
3889
|
}
|
|
3402
|
-
static { this.ɵfac =
|
|
3403
|
-
static { this.ɵprov = i0.ɵɵ
|
|
3890
|
+
static { this.ɵfac = function ScrollSpyService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ScrollSpyService)(); }; }
|
|
3891
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ScrollSpyService, factory: ScrollSpyService.ɵfac, providedIn: 'root' }); }
|
|
3404
3892
|
}
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3893
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollSpyService, [{
|
|
3894
|
+
type: Injectable,
|
|
3895
|
+
args: [{ providedIn: 'root' }]
|
|
3896
|
+
}], null, null); })();
|
|
3409
3897
|
|
|
3898
|
+
const _c0$8 = ["tagElement"];
|
|
3899
|
+
const _c1$2 = ["tagNameElement"];
|
|
3900
|
+
function TagsRowTagComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3901
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
3902
|
+
i0.ɵɵelementStart(0, "div", 3, 0);
|
|
3903
|
+
i0.ɵɵlistener("click", function TagsRowTagComponent_div_0_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTagClick()); });
|
|
3904
|
+
i0.ɵɵelementStart(2, "span", 4, 1);
|
|
3905
|
+
i0.ɵɵtext(4);
|
|
3906
|
+
i0.ɵɵelementEnd()();
|
|
3907
|
+
} if (rf & 2) {
|
|
3908
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
3909
|
+
i0.ɵɵproperty("edmSduiView", ctx_r1.uiComponent.element);
|
|
3910
|
+
i0.ɵɵadvance(4);
|
|
3911
|
+
i0.ɵɵtextInterpolate((ctx_r1.uiComponent.element == null ? null : ctx_r1.uiComponent.element.label) ?? "");
|
|
3912
|
+
} }
|
|
3410
3913
|
class TagsRowTagComponent {
|
|
3411
3914
|
static { this.scrollSpyInitialized = false; }
|
|
3412
3915
|
static { this.scrollSpy$ = null; }
|
|
@@ -3661,28 +4164,52 @@ class TagsRowTagComponent {
|
|
|
3661
4164
|
TagsRowTagComponent.scrollSpyContainer = null;
|
|
3662
4165
|
}
|
|
3663
4166
|
}
|
|
3664
|
-
static { this.ɵfac =
|
|
3665
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4167
|
+
static { this.ɵfac = function TagsRowTagComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TagsRowTagComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FontSizeMappingService), i0.ɵɵdirectiveInject(ScrollSpyService)); }; }
|
|
4168
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TagsRowTagComponent, selectors: [["edm-sdui-tags-row-tag"]], viewQuery: function TagsRowTagComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4169
|
+
i0.ɵɵviewQuery(_c0$8, 5)(_c1$2, 5);
|
|
4170
|
+
} if (rf & 2) {
|
|
4171
|
+
let _t;
|
|
4172
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagElementRef = _t.first);
|
|
4173
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagNameElementRef = _t.first);
|
|
4174
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["tagElement", ""], ["tagNameElement", ""], ["class", "row-tag", 3, "edmSduiView", "click", 4, "ngIf"], [1, "row-tag", 3, "click", "edmSduiView"], [1, "tag-name"]], template: function TagsRowTagComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4175
|
+
i0.ɵɵtemplate(0, TagsRowTagComponent_div_0_Template, 5, 2, "div", 2);
|
|
4176
|
+
} if (rf & 2) {
|
|
4177
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
4178
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.row-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid var(--tag-explorer-aux);cursor:pointer;font-size:16px;flex-shrink:0}.row-tag[_ngcontent-%COMP%]:hover{background-color:var(--bt-tag-explorer-on)}.row-tag--selected[_ngcontent-%COMP%]{border-color:var(--tag-explorer-highlight);background-color:var(--bt-tag-explorer-on);background-origin:border-box}.tag-name[_ngcontent-%COMP%]{font-weight:600;color:var(--font-bt-tag-explorer-on);font-size:15px;line-height:17.25px}"] }); }
|
|
3666
4179
|
}
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
4180
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TagsRowTagComponent, [{
|
|
4181
|
+
type: Component,
|
|
4182
|
+
args: [{ standalone: false, selector: 'edm-sdui-tags-row-tag', template: "<div class=\"row-tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\" (click)=\"onTagClick()\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>\n", styles: [":host{display:contents}.row-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px solid var(--tag-explorer-aux);cursor:pointer;font-size:16px;flex-shrink:0}.row-tag:hover{background-color:var(--bt-tag-explorer-on)}.row-tag--selected{border-color:var(--tag-explorer-highlight);background-color:var(--bt-tag-explorer-on);background-origin:border-box}.tag-name{font-weight:600;color:var(--font-bt-tag-explorer-on);font-size:15px;line-height:17.25px}\n"] }]
|
|
4183
|
+
}], () => [{ type: undefined, decorators: [{
|
|
4184
|
+
type: Inject,
|
|
4185
|
+
args: ['uiComponent']
|
|
4186
|
+
}] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }, { type: ScrollSpyService }], { tagElementRef: [{
|
|
4187
|
+
type: ViewChild,
|
|
4188
|
+
args: ['tagElement']
|
|
4189
|
+
}], tagNameElementRef: [{
|
|
4190
|
+
type: ViewChild,
|
|
4191
|
+
args: ['tagNameElement']
|
|
4192
|
+
}] }); })();
|
|
4193
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TagsRowTagComponent, { className: "TagsRowTagComponent", filePath: "lib/components/uicomponent/tags-row/tag/tag.component.ts", lineNumber: 18 }); })();
|
|
3680
4194
|
|
|
3681
4195
|
var tag_component = /*#__PURE__*/Object.freeze({
|
|
3682
4196
|
__proto__: null,
|
|
3683
4197
|
TagsRowTagComponent: TagsRowTagComponent
|
|
3684
4198
|
});
|
|
3685
4199
|
|
|
4200
|
+
const _c0$7 = ["inputElement"];
|
|
4201
|
+
function SearchBarComponent_input_2_Template(rf, ctx) { if (rf & 1) {
|
|
4202
|
+
i0.ɵɵelement(0, "input", 6, 1);
|
|
4203
|
+
} if (rf & 2) {
|
|
4204
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4205
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element)("disableClick", true);
|
|
4206
|
+
} }
|
|
4207
|
+
function SearchBarComponent_img_3_Template(rf, ctx) { if (rf & 1) {
|
|
4208
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
4209
|
+
i0.ɵɵelementStart(0, "img", 7, 2);
|
|
4210
|
+
i0.ɵɵlistener("click", function SearchBarComponent_img_3_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.inputElementRef == null ? null : ctx_r0.inputElementRef.nativeElement.value = ""); });
|
|
4211
|
+
i0.ɵɵelementEnd();
|
|
4212
|
+
} }
|
|
3686
4213
|
class SearchBarComponent {
|
|
3687
4214
|
constructor(actionService, uiComponent, renderer, fontSizeMappingService) {
|
|
3688
4215
|
this.actionService = actionService;
|
|
@@ -3762,25 +4289,46 @@ class SearchBarComponent {
|
|
|
3762
4289
|
this.renderer.appendChild(document.head, styleEl);
|
|
3763
4290
|
}
|
|
3764
4291
|
}
|
|
3765
|
-
static { this.ɵfac =
|
|
3766
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4292
|
+
static { this.ɵfac = function SearchBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchBarComponent)(i0.ɵɵdirectiveInject(UIActionService), i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
4293
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchBarComponent, selectors: [["edm-sdui-search-bar"]], viewQuery: function SearchBarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4294
|
+
i0.ɵɵviewQuery(_c0$7, 5);
|
|
4295
|
+
} if (rf & 2) {
|
|
4296
|
+
let _t;
|
|
4297
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElementRef = _t.first);
|
|
4298
|
+
} }, standalone: false, decls: 4, vars: 2, consts: [["icSearchElement", ""], ["inputElement", ""], ["btCloseElement", ""], ["src", "assets/images/ic-search.svg", 1, "search-bar-icon"], ["class", "search-bar", 3, "edmSduiView", "disableClick", 4, "ngIf"], ["class", "search-bar-close-icon", "src", "assets/images/bt-close-comment.svg", 3, "click", 4, "ngIf"], [1, "search-bar", 3, "edmSduiView", "disableClick"], ["src", "assets/images/bt-close-comment.svg", 1, "search-bar-close-icon", 3, "click"]], template: function SearchBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4299
|
+
i0.ɵɵelement(0, "img", 3, 0);
|
|
4300
|
+
i0.ɵɵtemplate(2, SearchBarComponent_input_2_Template, 2, 2, "input", 4)(3, SearchBarComponent_img_3_Template, 2, 0, "img", 5);
|
|
4301
|
+
} if (rf & 2) {
|
|
4302
|
+
i0.ɵɵadvance(2);
|
|
4303
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
4304
|
+
i0.ɵɵadvance();
|
|
4305
|
+
i0.ɵɵproperty("ngIf", ctx.inputElementRef == null ? null : ctx.inputElementRef.nativeElement == null ? null : ctx.inputElementRef.nativeElement.value.trim());
|
|
4306
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: [".search-bar[_ngcontent-%COMP%]{width:100%;line-height:1.5rem;background-color:var(--bg-search)}"] }); }
|
|
3767
4307
|
}
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
4308
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchBarComponent, [{
|
|
4309
|
+
type: Component,
|
|
4310
|
+
args: [{ standalone: false, selector: 'edm-sdui-search-bar', template: "<img\n #icSearchElement\n class=\"search-bar-icon\"\n src=\"assets/images/ic-search.svg\"\n>\n<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n<img\n #btCloseElement\n *ngIf=\"this.inputElementRef?.nativeElement?.value.trim()\"\n (click)=\"this.inputElementRef?.nativeElement.value = ''\"\n class=\"search-bar-close-icon\"\n src=\"assets/images/bt-close-comment.svg\"\n\n>\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search)}\n"] }]
|
|
4311
|
+
}], () => [{ type: UIActionService }, { type: undefined, decorators: [{
|
|
4312
|
+
type: Inject,
|
|
4313
|
+
args: ['uiComponent']
|
|
4314
|
+
}] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], { inputElementRef: [{
|
|
4315
|
+
type: ViewChild,
|
|
4316
|
+
args: ['inputElement']
|
|
4317
|
+
}] }); })();
|
|
4318
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchBarComponent, { className: "SearchBarComponent", filePath: "lib/components/uicomponent/search-bar/search-bar.component.ts", lineNumber: 23 }); })();
|
|
3778
4319
|
|
|
3779
4320
|
var searchBar_component = /*#__PURE__*/Object.freeze({
|
|
3780
4321
|
__proto__: null,
|
|
3781
4322
|
SearchBarComponent: SearchBarComponent
|
|
3782
4323
|
});
|
|
3783
4324
|
|
|
4325
|
+
const _c0$6 = ["inputElement"];
|
|
4326
|
+
function SearchBarDismissComponent_input_2_Template(rf, ctx) { if (rf & 1) {
|
|
4327
|
+
i0.ɵɵelement(0, "input", 5, 0);
|
|
4328
|
+
} if (rf & 2) {
|
|
4329
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4330
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element)("disableClick", true);
|
|
4331
|
+
} }
|
|
3784
4332
|
class SearchBarDismissComponent {
|
|
3785
4333
|
constructor(actionService, uiComponent, renderer, router, fontSizeMappingService) {
|
|
3786
4334
|
this.actionService = actionService;
|
|
@@ -3895,19 +4443,35 @@ class SearchBarDismissComponent {
|
|
|
3895
4443
|
this.router.navigate(['/']); // fallback
|
|
3896
4444
|
}
|
|
3897
4445
|
}
|
|
3898
|
-
static { this.ɵfac =
|
|
3899
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4446
|
+
static { this.ɵfac = function SearchBarDismissComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchBarDismissComponent)(i0.ɵɵdirectiveInject(UIActionService), i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i1$3.Router), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
4447
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchBarDismissComponent, selectors: [["edm-sdui-search-bar-dismiss"]], viewQuery: function SearchBarDismissComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4448
|
+
i0.ɵɵviewQuery(_c0$6, 5);
|
|
4449
|
+
} if (rf & 2) {
|
|
4450
|
+
let _t;
|
|
4451
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElementRef = _t.first);
|
|
4452
|
+
} }, standalone: false, decls: 4, vars: 1, consts: [["inputElement", ""], [1, "flex", "w-100", 3, "click"], ["src", "assets/images/ic-search.svg", 1, "search-bar-icon"], ["class", "search-bar", 3, "edmSduiView", "disableClick", 4, "ngIf"], ["src", "assets/images/bt-close-comment.svg", 1, "search-bar-close-icon", "cursor-pointer"], [1, "search-bar", 3, "edmSduiView", "disableClick"]], template: function SearchBarDismissComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4453
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
4454
|
+
i0.ɵɵlistener("click", function SearchBarDismissComponent_Template_div_click_0_listener() { return ctx.clearInput(); });
|
|
4455
|
+
i0.ɵɵelement(1, "img", 2);
|
|
4456
|
+
i0.ɵɵtemplate(2, SearchBarDismissComponent_input_2_Template, 2, 2, "input", 3);
|
|
4457
|
+
i0.ɵɵelement(3, "img", 4);
|
|
4458
|
+
i0.ɵɵelementEnd();
|
|
4459
|
+
} if (rf & 2) {
|
|
4460
|
+
i0.ɵɵadvance(2);
|
|
4461
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
4462
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: [".search-bar[_ngcontent-%COMP%]{width:100%;line-height:1.5rem;background-color:var(--bg-search);cursor:pointer}"] }); }
|
|
3900
4463
|
}
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
4464
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchBarDismissComponent, [{
|
|
4465
|
+
type: Component,
|
|
4466
|
+
args: [{ standalone: false, selector: 'edm-sdui-search-bar-dismiss', template: "<div class=\"flex w-100\" (click)=\"clearInput()\">\n <img\n class=\"search-bar-icon\"\n src=\"assets/images/ic-search.svg\"\n>\n<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n<img\n class=\"search-bar-close-icon cursor-pointer\"\n src=\"assets/images/bt-close-comment.svg\"\n>\n</div>\n\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search);cursor:pointer}\n"] }]
|
|
4467
|
+
}], () => [{ type: UIActionService }, { type: undefined, decorators: [{
|
|
4468
|
+
type: Inject,
|
|
4469
|
+
args: ['uiComponent']
|
|
4470
|
+
}] }, { type: i0.Renderer2 }, { type: i1$3.Router }, { type: FontSizeMappingService }], { inputElementRef: [{
|
|
4471
|
+
type: ViewChild,
|
|
4472
|
+
args: ['inputElement']
|
|
4473
|
+
}] }); })();
|
|
4474
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchBarDismissComponent, { className: "SearchBarDismissComponent", filePath: "lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.ts", lineNumber: 25 }); })();
|
|
3911
4475
|
|
|
3912
4476
|
var searchBarDismiss_component = /*#__PURE__*/Object.freeze({
|
|
3913
4477
|
__proto__: null,
|
|
@@ -3957,13 +4521,13 @@ class SduiTranslationService {
|
|
|
3957
4521
|
this.translations['pt']?.[context]?.[key] ??
|
|
3958
4522
|
key);
|
|
3959
4523
|
}
|
|
3960
|
-
static { this.ɵfac =
|
|
3961
|
-
static { this.ɵprov = i0.ɵɵ
|
|
4524
|
+
static { this.ɵfac = function SduiTranslationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SduiTranslationService)(); }; }
|
|
4525
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SduiTranslationService, factory: SduiTranslationService.ɵfac, providedIn: 'root' }); }
|
|
3962
4526
|
}
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
4527
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SduiTranslationService, [{
|
|
4528
|
+
type: Injectable,
|
|
4529
|
+
args: [{ providedIn: 'root' }]
|
|
4530
|
+
}], () => [], null); })();
|
|
3967
4531
|
|
|
3968
4532
|
var UIContentType;
|
|
3969
4533
|
(function (UIContentType) {
|
|
@@ -3976,6 +4540,27 @@ var UIContentType;
|
|
|
3976
4540
|
UIContentType["HTML"] = "html";
|
|
3977
4541
|
})(UIContentType || (UIContentType = {}));
|
|
3978
4542
|
|
|
4543
|
+
const _c0$5 = ["iconElementRef"];
|
|
4544
|
+
const _c1$1 = ["labelElementRef"];
|
|
4545
|
+
const _c2$1 = ["containerElementRef"];
|
|
4546
|
+
function MediaTypeComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
4547
|
+
i0.ɵɵelement(0, "img", 4, 2);
|
|
4548
|
+
} }
|
|
4549
|
+
function MediaTypeComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
4550
|
+
i0.ɵɵelement(0, "img", 5, 2);
|
|
4551
|
+
} }
|
|
4552
|
+
function MediaTypeComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
4553
|
+
i0.ɵɵelement(0, "img", 6, 2);
|
|
4554
|
+
} }
|
|
4555
|
+
function MediaTypeComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
4556
|
+
i0.ɵɵelement(0, "img", 7, 2);
|
|
4557
|
+
} }
|
|
4558
|
+
function MediaTypeComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
4559
|
+
i0.ɵɵelement(0, "img", 8, 2);
|
|
4560
|
+
} }
|
|
4561
|
+
function MediaTypeComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
4562
|
+
i0.ɵɵelement(0, "img", 8, 2);
|
|
4563
|
+
} }
|
|
3979
4564
|
class MediaTypeComponent {
|
|
3980
4565
|
constructor(uiComponent, renderer, translator, fontSizeMappingService) {
|
|
3981
4566
|
this.uiComponent = uiComponent;
|
|
@@ -4013,25 +4598,59 @@ class MediaTypeComponent {
|
|
|
4013
4598
|
const lineHeight = textStyleMappingLineHeight[UITextStyle.CAPTION_2];
|
|
4014
4599
|
this.renderer.setStyle(labelEl, 'line-height', lineHeight);
|
|
4015
4600
|
}
|
|
4016
|
-
static { this.ɵfac =
|
|
4017
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4601
|
+
static { this.ɵfac = function MediaTypeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MediaTypeComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(SduiTranslationService), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
4602
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MediaTypeComponent, selectors: [["edm-sdui-media-type"]], viewQuery: function MediaTypeComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4603
|
+
i0.ɵɵviewQuery(_c0$5, 5)(_c1$1, 5)(_c2$1, 5);
|
|
4604
|
+
} if (rf & 2) {
|
|
4605
|
+
let _t;
|
|
4606
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconElementRef = _t.first);
|
|
4607
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelElementRef = _t.first);
|
|
4608
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerElementRef = _t.first);
|
|
4609
|
+
} }, standalone: false, decls: 11, vars: 7, consts: [["containerElementRef", ""], ["labelElementRef", ""], ["iconElementRef", ""], [1, "media-container"], ["src", "/assets/images/ic-play-list.svg", 1, "icons-svg-list"], ["src", "/assets/images/ic-text-list.svg", 1, "icons-svg-list"], ["src", "/assets/images/ic-audio-list.svg", 1, "icons-svg-list"], ["src", "/assets/images/ic-file.svg", 1, "icons-svg-list"], ["src", "/assets/images/ic-quiz-list.svg", 1, "icons-svg-list"]], template: function MediaTypeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4610
|
+
i0.ɵɵelementStart(0, "div", 3, 0);
|
|
4611
|
+
i0.ɵɵconditionalCreate(2, MediaTypeComponent_Conditional_2_Template, 2, 0, "img", 4);
|
|
4612
|
+
i0.ɵɵconditionalCreate(3, MediaTypeComponent_Conditional_3_Template, 2, 0, "img", 5);
|
|
4613
|
+
i0.ɵɵconditionalCreate(4, MediaTypeComponent_Conditional_4_Template, 2, 0, "img", 6);
|
|
4614
|
+
i0.ɵɵconditionalCreate(5, MediaTypeComponent_Conditional_5_Template, 2, 0, "img", 7);
|
|
4615
|
+
i0.ɵɵconditionalCreate(6, MediaTypeComponent_Conditional_6_Template, 2, 0, "img", 8);
|
|
4616
|
+
i0.ɵɵconditionalCreate(7, MediaTypeComponent_Conditional_7_Template, 2, 0, "img", 8);
|
|
4617
|
+
i0.ɵɵelementStart(8, "span", null, 1);
|
|
4618
|
+
i0.ɵɵtext(10);
|
|
4619
|
+
i0.ɵɵelementEnd()();
|
|
4620
|
+
} if (rf & 2) {
|
|
4621
|
+
i0.ɵɵadvance(2);
|
|
4622
|
+
i0.ɵɵconditional((ctx.uiComponent.element == null ? null : ctx.uiComponent.element.contentType) === ctx.contetType.VIDEO ? 2 : -1);
|
|
4623
|
+
i0.ɵɵadvance();
|
|
4624
|
+
i0.ɵɵconditional((ctx.uiComponent.element == null ? null : ctx.uiComponent.element.contentType) === ctx.contetType.HTML ? 3 : -1);
|
|
4625
|
+
i0.ɵɵadvance();
|
|
4626
|
+
i0.ɵɵconditional((ctx.uiComponent.element == null ? null : ctx.uiComponent.element.contentType) === ctx.contetType.AUDIO ? 4 : -1);
|
|
4627
|
+
i0.ɵɵadvance();
|
|
4628
|
+
i0.ɵɵconditional((ctx.uiComponent.element == null ? null : ctx.uiComponent.element.contentType) === ctx.contetType.FILE ? 5 : -1);
|
|
4629
|
+
i0.ɵɵadvance();
|
|
4630
|
+
i0.ɵɵconditional((ctx.uiComponent.element == null ? null : ctx.uiComponent.element.contentType) === ctx.contetType.QUIZ ? 6 : -1);
|
|
4631
|
+
i0.ɵɵadvance();
|
|
4632
|
+
i0.ɵɵconditional((ctx.uiComponent.element == null ? null : ctx.uiComponent.element.contentType) === ctx.contetType.POLL ? 7 : -1);
|
|
4633
|
+
i0.ɵɵadvance(3);
|
|
4634
|
+
i0.ɵɵtextInterpolate(ctx.label);
|
|
4635
|
+
} }, styles: ["[_nghost-%COMP%]{display:contents}.media-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"] }); }
|
|
4018
4636
|
}
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4637
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MediaTypeComponent, [{
|
|
4638
|
+
type: Component,
|
|
4639
|
+
args: [{ standalone: false, selector: 'edm-sdui-media-type', template: "<div #containerElementRef class=\"media-container\">\n @if(this.uiComponent.element?.contentType === contetType.VIDEO)\n {\n <img #iconElementRef src=\"/assets/images/ic-play-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.HTML)\n {\n <img #iconElementRef src=\"/assets/images/ic-text-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.AUDIO)\n {\n <img #iconElementRef src=\"/assets/images/ic-audio-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.FILE)\n {\n <img #iconElementRef src=\"/assets/images/ic-file.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.QUIZ)\n {\n <img #iconElementRef src=\"/assets/images/ic-quiz-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.POLL)\n {\n <img #iconElementRef src=\"/assets/images/ic-quiz-list.svg\" class=\"icons-svg-list\">\n }\n <span #labelElementRef>{{ label }}</span>\n</div>\n\n", styles: [":host{display:contents}.media-container{display:flex;justify-content:center;align-items:center}\n"] }]
|
|
4640
|
+
}], () => [{ type: undefined, decorators: [{
|
|
4641
|
+
type: Inject,
|
|
4642
|
+
args: ['uiComponent']
|
|
4643
|
+
}] }, { type: i0.Renderer2 }, { type: SduiTranslationService }, { type: FontSizeMappingService }], { iconElementRef: [{
|
|
4644
|
+
type: ViewChild,
|
|
4645
|
+
args: ['iconElementRef']
|
|
4646
|
+
}], labelElementRef: [{
|
|
4647
|
+
type: ViewChild,
|
|
4648
|
+
args: ['labelElementRef']
|
|
4649
|
+
}], containerElementRef: [{
|
|
4650
|
+
type: ViewChild,
|
|
4651
|
+
args: ['containerElementRef']
|
|
4652
|
+
}] }); })();
|
|
4653
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MediaTypeComponent, { className: "MediaTypeComponent", filePath: "lib/components/uicomponent/media-type/media-type.component.ts", lineNumber: 22 }); })();
|
|
4035
4654
|
|
|
4036
4655
|
var mediaType_component = /*#__PURE__*/Object.freeze({
|
|
4037
4656
|
__proto__: null,
|
|
@@ -4055,24 +4674,55 @@ class PickerItemComponent {
|
|
|
4055
4674
|
}
|
|
4056
4675
|
this.selected.emit(this.label);
|
|
4057
4676
|
}
|
|
4058
|
-
static { this.ɵfac =
|
|
4059
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4677
|
+
static { this.ɵfac = function PickerItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PickerItemComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(UIActionService)); }; }
|
|
4678
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PickerItemComponent, selectors: [["edm-sdui-picker-item"]], outputs: { selected: "selected" }, standalone: false, decls: 2, vars: 1, consts: [[1, "picker-item", 3, "click"]], template: function PickerItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4679
|
+
i0.ɵɵelementStart(0, "button", 0);
|
|
4680
|
+
i0.ɵɵlistener("click", function PickerItemComponent_Template_button_click_0_listener() { return ctx.onClick(); });
|
|
4681
|
+
i0.ɵɵtext(1);
|
|
4682
|
+
i0.ɵɵelementEnd();
|
|
4683
|
+
} if (rf & 2) {
|
|
4684
|
+
i0.ɵɵadvance();
|
|
4685
|
+
i0.ɵɵtextInterpolate1(" ", ctx.label, "\n");
|
|
4686
|
+
} }, styles: [".picker-item[_ngcontent-%COMP%]{background:none;border:none;padding:.5rem 1rem;width:100%;text-align:left;font-size:1rem;cursor:pointer;color:var(--main-1)}.picker-item[_ngcontent-%COMP%]:hover{background-color:var(--bt-tag-on);color:var(--font-bt-tag-on)}"], changeDetection: 0 }); }
|
|
4060
4687
|
}
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4688
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickerItemComponent, [{
|
|
4689
|
+
type: Component,
|
|
4690
|
+
args: [{ standalone: false, selector: 'edm-sdui-picker-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"picker-item\" (click)=\"onClick()\">\n {{ label }}\n</button>\n", styles: [".picker-item{background:none;border:none;padding:.5rem 1rem;width:100%;text-align:left;font-size:1rem;cursor:pointer;color:var(--main-1)}.picker-item:hover{background-color:var(--bt-tag-on);color:var(--font-bt-tag-on)}\n"] }]
|
|
4691
|
+
}], () => [{ type: undefined, decorators: [{
|
|
4692
|
+
type: Inject,
|
|
4693
|
+
args: ['uiComponent']
|
|
4694
|
+
}] }, { type: UIActionService }], { selected: [{
|
|
4695
|
+
type: Output
|
|
4696
|
+
}] }); })();
|
|
4697
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PickerItemComponent, { className: "PickerItemComponent", filePath: "lib/components/uicomponent/picker-item/picker-item.component.ts", lineNumber: 12 }); })();
|
|
4070
4698
|
|
|
4071
4699
|
var pickerItem_component = /*#__PURE__*/Object.freeze({
|
|
4072
4700
|
__proto__: null,
|
|
4073
4701
|
PickerItemComponent: PickerItemComponent
|
|
4074
4702
|
});
|
|
4075
4703
|
|
|
4704
|
+
function PickerComponent_ul_5_li_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4705
|
+
i0.ɵɵelementContainer(0);
|
|
4706
|
+
} }
|
|
4707
|
+
function PickerComponent_ul_5_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
4708
|
+
i0.ɵɵelementStart(0, "li");
|
|
4709
|
+
i0.ɵɵtemplate(1, PickerComponent_ul_5_li_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4710
|
+
i0.ɵɵelementEnd();
|
|
4711
|
+
} if (rf & 2) {
|
|
4712
|
+
const item_r1 = ctx.$implicit;
|
|
4713
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4714
|
+
i0.ɵɵadvance();
|
|
4715
|
+
i0.ɵɵproperty("ngComponentOutlet", ctx_r1.pickerItemComponent)("ngComponentOutletInjector", ctx_r1.createInjector(item_r1));
|
|
4716
|
+
} }
|
|
4717
|
+
function PickerComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
|
|
4718
|
+
i0.ɵɵelementStart(0, "ul");
|
|
4719
|
+
i0.ɵɵtemplate(1, PickerComponent_ul_5_li_1_Template, 2, 2, "li", 4);
|
|
4720
|
+
i0.ɵɵelementEnd();
|
|
4721
|
+
} if (rf & 2) {
|
|
4722
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4723
|
+
i0.ɵɵadvance();
|
|
4724
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uiComponent.components)("ngForTrackBy", ctx_r1.trackByFn);
|
|
4725
|
+
} }
|
|
4076
4726
|
class PickerComponent {
|
|
4077
4727
|
constructor(uiComponent, injector, elementRef) {
|
|
4078
4728
|
this.uiComponent = uiComponent;
|
|
@@ -4111,25 +4761,85 @@ class PickerComponent {
|
|
|
4111
4761
|
this.open = false;
|
|
4112
4762
|
}
|
|
4113
4763
|
}
|
|
4114
|
-
static { this.ɵfac =
|
|
4115
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4764
|
+
static { this.ɵfac = function PickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PickerComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
4765
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PickerComponent, selectors: [["edm-sdui-picker"]], hostBindings: function PickerComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
4766
|
+
i0.ɵɵlistener("click", function PickerComponent_click_HostBindingHandler($event) { return ctx.onDocumentClick($event); }, i0.ɵɵresolveDocument);
|
|
4767
|
+
} }, standalone: false, decls: 6, vars: 3, consts: [[1, "picker"], [3, "click"], [1, "material-symbols-outlined"], [4, "ngIf"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [4, "ngComponentOutlet", "ngComponentOutletInjector"]], template: function PickerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4768
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
|
|
4769
|
+
i0.ɵɵlistener("click", function PickerComponent_Template_button_click_1_listener() { return ctx.open = !ctx.open; });
|
|
4770
|
+
i0.ɵɵtext(2);
|
|
4771
|
+
i0.ɵɵelementStart(3, "span", 2);
|
|
4772
|
+
i0.ɵɵtext(4);
|
|
4773
|
+
i0.ɵɵelementEnd()();
|
|
4774
|
+
i0.ɵɵtemplate(5, PickerComponent_ul_5_Template, 2, 2, "ul", 3);
|
|
4775
|
+
i0.ɵɵelementEnd();
|
|
4776
|
+
} if (rf & 2) {
|
|
4777
|
+
i0.ɵɵadvance(2);
|
|
4778
|
+
i0.ɵɵtextInterpolate1("", ctx.selectedLabel, " ");
|
|
4779
|
+
i0.ɵɵadvance(2);
|
|
4780
|
+
i0.ɵɵtextInterpolate1(" ", ctx.open ? "keyboard_arrow_up" : "keyboard_arrow_down", " ");
|
|
4781
|
+
i0.ɵɵadvance();
|
|
4782
|
+
i0.ɵɵproperty("ngIf", ctx.open);
|
|
4783
|
+
} }, dependencies: [i1$1.NgComponentOutlet, i1$1.NgForOf, i1$1.NgIf], styles: [".picker[_ngcontent-%COMP%]{position:relative;display:inline-block}.picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:none;border:none;padding:.5rem 0;min-width:160px;text-align:left;cursor:pointer;color:var(--main-1);font-weight:700;display:flex;align-items:center}.picker[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:8px}.picker[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;z-index:10;background:var(--bg);border:1px solid var(--bg);border-radius:4px;width:100%;margin:0;padding:0;list-style:none;box-shadow:0 4px 8px #0000001a;max-height:250px;overflow-y:auto}.picker[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:contents;padding:0}"], changeDetection: 0 }); }
|
|
4116
4784
|
}
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4785
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickerComponent, [{
|
|
4786
|
+
type: Component,
|
|
4787
|
+
args: [{ standalone: false, selector: 'edm-sdui-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"picker\">\n <button (click)=\"open = !open\">{{ selectedLabel }} <span class=\"material-symbols-outlined\">\n {{open ? 'keyboard_arrow_up' : 'keyboard_arrow_down'}}\n </span></button>\n <ul *ngIf=\"open\">\n <li *ngFor=\"let item of uiComponent.components; trackBy: trackByFn\">\n <ng-container *ngComponentOutlet=\"pickerItemComponent; injector: createInjector(item)\"></ng-container>\n </li>\n </ul>\n</div>\n", styles: [".picker{position:relative;display:inline-block}.picker button{background:none;border:none;padding:.5rem 0;min-width:160px;text-align:left;cursor:pointer;color:var(--main-1);font-weight:700;display:flex;align-items:center}.picker button span{margin-left:8px}.picker ul{position:absolute;top:100%;left:0;z-index:10;background:var(--bg);border:1px solid var(--bg);border-radius:4px;width:100%;margin:0;padding:0;list-style:none;box-shadow:0 4px 8px #0000001a;max-height:250px;overflow-y:auto}.picker li{display:contents;padding:0}\n"] }]
|
|
4788
|
+
}], () => [{ type: undefined, decorators: [{
|
|
4789
|
+
type: Inject,
|
|
4790
|
+
args: ['uiComponent']
|
|
4791
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }], { onDocumentClick: [{
|
|
4792
|
+
type: HostListener,
|
|
4793
|
+
args: ['document:click', ['$event']]
|
|
4794
|
+
}] }); })();
|
|
4795
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PickerComponent, { className: "PickerComponent", filePath: "lib/components/uicomponent/picker/picker.component.ts", lineNumber: 12 }); })();
|
|
4127
4796
|
|
|
4128
4797
|
var picker_component = /*#__PURE__*/Object.freeze({
|
|
4129
4798
|
__proto__: null,
|
|
4130
4799
|
PickerComponent: PickerComponent
|
|
4131
4800
|
});
|
|
4132
4801
|
|
|
4802
|
+
const _c0$4 = ["scrollableRowElement"];
|
|
4803
|
+
function ScrollableRowComponent_div_0_edm_sdui_component_3_Template(rf, ctx) { if (rf & 1) {
|
|
4804
|
+
i0.ɵɵelement(0, "edm-sdui-component", 7);
|
|
4805
|
+
} if (rf & 2) {
|
|
4806
|
+
const component_r3 = ctx.$implicit;
|
|
4807
|
+
i0.ɵɵproperty("uiComponent", component_r3);
|
|
4808
|
+
} }
|
|
4809
|
+
function ScrollableRowComponent_div_0_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
4810
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
4811
|
+
i0.ɵɵelementStart(0, "button", 8);
|
|
4812
|
+
i0.ɵɵlistener("click", function ScrollableRowComponent_div_0_button_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.prev()); });
|
|
4813
|
+
i0.ɵɵtext(1, " \u2190 ");
|
|
4814
|
+
i0.ɵɵelementEnd();
|
|
4815
|
+
} }
|
|
4816
|
+
function ScrollableRowComponent_div_0_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
4817
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
4818
|
+
i0.ɵɵelementStart(0, "button", 9);
|
|
4819
|
+
i0.ɵɵlistener("click", function ScrollableRowComponent_div_0_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.next()); });
|
|
4820
|
+
i0.ɵɵtext(1, " \u2192 ");
|
|
4821
|
+
i0.ɵɵelementEnd();
|
|
4822
|
+
} }
|
|
4823
|
+
function ScrollableRowComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4824
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
4825
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3, 0);
|
|
4826
|
+
i0.ɵɵlistener("scroll", function ScrollableRowComponent_div_0_Template_div_scroll_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTrackScroll()); });
|
|
4827
|
+
i0.ɵɵtemplate(3, ScrollableRowComponent_div_0_edm_sdui_component_3_Template, 1, 1, "edm-sdui-component", 4);
|
|
4828
|
+
i0.ɵɵelementEnd();
|
|
4829
|
+
i0.ɵɵtemplate(4, ScrollableRowComponent_div_0_button_4_Template, 2, 0, "button", 5)(5, ScrollableRowComponent_div_0_button_5_Template, 2, 0, "button", 6);
|
|
4830
|
+
i0.ɵɵelementEnd();
|
|
4831
|
+
} if (rf & 2) {
|
|
4832
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4833
|
+
i0.ɵɵclassProp("can-scroll", ctx_r1.canScroll)("track-scrolled", ctx_r1.canPrev)("track-at-end", ctx_r1.canScroll && !ctx_r1.canNext);
|
|
4834
|
+
i0.ɵɵadvance();
|
|
4835
|
+
i0.ɵɵproperty("edmSduiView", ctx_r1.uiComponent.element);
|
|
4836
|
+
i0.ɵɵadvance(2);
|
|
4837
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uiComponent.components);
|
|
4838
|
+
i0.ɵɵadvance();
|
|
4839
|
+
i0.ɵɵproperty("ngIf", ctx_r1.canScroll && ctx_r1.canPrev);
|
|
4840
|
+
i0.ɵɵadvance();
|
|
4841
|
+
i0.ɵɵproperty("ngIf", ctx_r1.canScroll && ctx_r1.canNext);
|
|
4842
|
+
} }
|
|
4133
4843
|
class ScrollableRowComponent {
|
|
4134
4844
|
constructor(uiComponent, renderer, zone) {
|
|
4135
4845
|
this.uiComponent = uiComponent;
|
|
@@ -4242,25 +4952,52 @@ class ScrollableRowComponent {
|
|
|
4242
4952
|
scrollContainer.scrollLeft = scrollLeft - walk;
|
|
4243
4953
|
});
|
|
4244
4954
|
}
|
|
4245
|
-
static { this.ɵfac =
|
|
4246
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
4955
|
+
static { this.ɵfac = function ScrollableRowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ScrollableRowComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
4956
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ScrollableRowComponent, selectors: [["edm-sdui-scrollable-row"]], viewQuery: function ScrollableRowComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4957
|
+
i0.ɵɵviewQuery(_c0$4, 5);
|
|
4958
|
+
} if (rf & 2) {
|
|
4959
|
+
let _t;
|
|
4960
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollableRowElementRef = _t.first);
|
|
4961
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["scrollableRowElement", ""], ["class", "scrollable-row-shell", 3, "can-scroll", "track-scrolled", "track-at-end", 4, "ngIf"], [1, "scrollable-row-shell"], [1, "scrollable-row", 3, "scroll", "edmSduiView"], [3, "uiComponent", 4, "ngFor", "ngForOf"], ["type", "button", "class", "scrollable-row-nav scrollable-row-nav--prev", "aria-label", "Anterior", 3, "click", 4, "ngIf"], ["type", "button", "class", "scrollable-row-nav scrollable-row-nav--next", "aria-label", "Pr\u00F3ximo", 3, "click", 4, "ngIf"], [3, "uiComponent"], ["type", "button", "aria-label", "Anterior", 1, "scrollable-row-nav", "scrollable-row-nav--prev", 3, "click"], ["type", "button", "aria-label", "Pr\u00F3ximo", 1, "scrollable-row-nav", "scrollable-row-nav--next", 3, "click"]], template: function ScrollableRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4962
|
+
i0.ɵɵtemplate(0, ScrollableRowComponent_div_0_Template, 6, 10, "div", 1);
|
|
4963
|
+
} if (rf & 2) {
|
|
4964
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
4965
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, UIComponentComponent, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.scrollable-row-shell[_ngcontent-%COMP%]{position:relative;width:100%}.scrollable-row-shell[_ngcontent-%COMP%]:before, .scrollable-row-shell[_ngcontent-%COMP%]:after{content:\"\";position:absolute;top:0;bottom:0;width:clamp(1.5rem,4vw,2.625rem);pointer-events:none;z-index:4;opacity:0;transition:opacity .2s ease}.scrollable-row-shell[_ngcontent-%COMP%]:before{left:0;background:linear-gradient(90deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell[_ngcontent-%COMP%]:after{right:0;background:linear-gradient(270deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell.can-scroll[_ngcontent-%COMP%]:after{opacity:1}.scrollable-row-shell.track-scrolled[_ngcontent-%COMP%]:before{opacity:1}.scrollable-row-shell.track-at-end[_ngcontent-%COMP%]:after{opacity:0}.scrollable-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;white-space:nowrap;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:pointer;scroll-behavior:smooth;scroll-padding-left:var(--sdui-content-inset-left, 0px);scroll-padding-right:var(--sdui-content-inset-right, 0px)}.scrollable-row[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.scrollable-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0}.scrollable-row-nav[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid rgba(255,255,255,.34);border-radius:9999px;background:#070a10c7;color:#f4f6fb;font-size:1.4rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:5;transition:opacity .18s ease,background-color .2s ease,border-color .2s ease}.scrollable-row-nav[_ngcontent-%COMP%]:hover, .scrollable-row-nav[_ngcontent-%COMP%]:focus{background:#121622e6;border-color:#ffffff8a;outline:none}.scrollable-row-nav--prev[_ngcontent-%COMP%]{left:-.75rem}.scrollable-row-nav--next[_ngcontent-%COMP%]{right:-.75rem} .column:has(.scrollable-row-shell){overflow:visible}@media(max-width:767px){.scrollable-row-nav[_ngcontent-%COMP%]{display:none}}"] }); }
|
|
4247
4966
|
}
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4967
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollableRowComponent, [{
|
|
4968
|
+
type: Component,
|
|
4969
|
+
args: [{ selector: 'edm-sdui-scrollable-row', standalone: false, template: "<div\n class=\"scrollable-row-shell\"\n [class.can-scroll]=\"canScroll\"\n [class.track-scrolled]=\"canPrev\"\n [class.track-at-end]=\"canScroll && !canNext\"\n *ngIf=\"uiComponent\"\n>\n <div\n #scrollableRowElement\n [edmSduiView]=\"uiComponent.element\"\n class=\"scrollable-row\"\n (scroll)=\"onTrackScroll()\"\n >\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n </div>\n\n <button\n *ngIf=\"canScroll && canPrev\"\n type=\"button\"\n class=\"scrollable-row-nav scrollable-row-nav--prev\"\n (click)=\"prev()\"\n aria-label=\"Anterior\"\n >\n ←\n </button>\n <button\n *ngIf=\"canScroll && canNext\"\n type=\"button\"\n class=\"scrollable-row-nav scrollable-row-nav--next\"\n (click)=\"next()\"\n aria-label=\"Pr\u00F3ximo\"\n >\n →\n </button>\n</div>\n", styles: [":host{display:contents}.scrollable-row-shell{position:relative;width:100%}.scrollable-row-shell:before,.scrollable-row-shell:after{content:\"\";position:absolute;top:0;bottom:0;width:clamp(1.5rem,4vw,2.625rem);pointer-events:none;z-index:4;opacity:0;transition:opacity .2s ease}.scrollable-row-shell:before{left:0;background:linear-gradient(90deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell:after{right:0;background:linear-gradient(270deg,var(--bg) 0%,transparent 100%)}.scrollable-row-shell.can-scroll:after{opacity:1}.scrollable-row-shell.track-scrolled:before{opacity:1}.scrollable-row-shell.track-at-end:after{opacity:0}.scrollable-row{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;white-space:nowrap;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none;cursor:pointer;scroll-behavior:smooth;scroll-padding-left:var(--sdui-content-inset-left, 0px);scroll-padding-right:var(--sdui-content-inset-right, 0px)}.scrollable-row::-webkit-scrollbar{display:none}.scrollable-row>*{flex-shrink:0}.scrollable-row-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid rgba(255,255,255,.34);border-radius:9999px;background:#070a10c7;color:#f4f6fb;font-size:1.4rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:5;transition:opacity .18s ease,background-color .2s ease,border-color .2s ease}.scrollable-row-nav:hover,.scrollable-row-nav:focus{background:#121622e6;border-color:#ffffff8a;outline:none}.scrollable-row-nav--prev{left:-.75rem}.scrollable-row-nav--next{right:-.75rem}::ng-deep .column:has(.scrollable-row-shell){overflow:visible}@media(max-width:767px){.scrollable-row-nav{display:none}}\n"] }]
|
|
4970
|
+
}], () => [{ type: undefined, decorators: [{
|
|
4971
|
+
type: Inject,
|
|
4972
|
+
args: ['uiComponent']
|
|
4973
|
+
}] }, { type: i0.Renderer2 }, { type: i0.NgZone }], { scrollableRowElementRef: [{
|
|
4974
|
+
type: ViewChild,
|
|
4975
|
+
args: ['scrollableRowElement']
|
|
4976
|
+
}] }); })();
|
|
4977
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ScrollableRowComponent, { className: "ScrollableRowComponent", filePath: "lib/components/uicomponent/scrollable-row/scrollable-row.component.ts", lineNumber: 21 }); })();
|
|
4258
4978
|
|
|
4259
4979
|
var scrollableRow_component = /*#__PURE__*/Object.freeze({
|
|
4260
4980
|
__proto__: null,
|
|
4261
4981
|
ScrollableRowComponent: ScrollableRowComponent
|
|
4262
4982
|
});
|
|
4263
4983
|
|
|
4984
|
+
const _c0$3 = ["scrollableColumnElement"];
|
|
4985
|
+
function ScrollableColumnComponent_div_0_edm_sdui_component_2_Template(rf, ctx) { if (rf & 1) {
|
|
4986
|
+
i0.ɵɵelement(0, "edm-sdui-component", 4);
|
|
4987
|
+
} if (rf & 2) {
|
|
4988
|
+
const component_r1 = ctx.$implicit;
|
|
4989
|
+
i0.ɵɵproperty("uiComponent", component_r1);
|
|
4990
|
+
} }
|
|
4991
|
+
function ScrollableColumnComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4992
|
+
i0.ɵɵelementStart(0, "div", 2, 0);
|
|
4993
|
+
i0.ɵɵtemplate(2, ScrollableColumnComponent_div_0_edm_sdui_component_2_Template, 1, 1, "edm-sdui-component", 3);
|
|
4994
|
+
i0.ɵɵelementEnd();
|
|
4995
|
+
} if (rf & 2) {
|
|
4996
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4997
|
+
i0.ɵɵproperty("edmSduiView", ctx_r1.uiComponent.element);
|
|
4998
|
+
i0.ɵɵadvance(2);
|
|
4999
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.uiComponent.components);
|
|
5000
|
+
} }
|
|
4264
5001
|
class ScrollableColumnComponent {
|
|
4265
5002
|
constructor(uiComponent, renderer) {
|
|
4266
5003
|
this.uiComponent = uiComponent;
|
|
@@ -4275,25 +5012,58 @@ class ScrollableColumnComponent {
|
|
|
4275
5012
|
}
|
|
4276
5013
|
applyElement(element) {
|
|
4277
5014
|
}
|
|
4278
|
-
static { this.ɵfac =
|
|
4279
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
5015
|
+
static { this.ɵfac = function ScrollableColumnComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ScrollableColumnComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
5016
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ScrollableColumnComponent, selectors: [["edm-sdui-scrollable-column"]], viewQuery: function ScrollableColumnComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5017
|
+
i0.ɵɵviewQuery(_c0$3, 5);
|
|
5018
|
+
} if (rf & 2) {
|
|
5019
|
+
let _t;
|
|
5020
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollableColumnElementRef = _t.first);
|
|
5021
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["scrollableColumnElement", ""], ["class", "scrollable-column", 3, "edmSduiView", 4, "ngIf"], [1, "scrollable-column", 3, "edmSduiView"], [3, "uiComponent", 4, "ngFor", "ngForOf"], [3, "uiComponent"]], template: function ScrollableColumnComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5022
|
+
i0.ɵɵtemplate(0, ScrollableColumnComponent_div_0_Template, 3, 2, "div", 1);
|
|
5023
|
+
} if (rf & 2) {
|
|
5024
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
5025
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, UIComponentComponent, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.scrollable-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:100%;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding-top:var(--sdui-content-inset-top, 0px);scroll-padding-bottom:var(--sdui-content-inset-bottom, 0px)}.scrollable-column[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.scrollable-column[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex-shrink:0}"] }); }
|
|
4280
5026
|
}
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
5027
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollableColumnComponent, [{
|
|
5028
|
+
type: Component,
|
|
5029
|
+
args: [{ selector: 'edm-sdui-scrollable-column', standalone: false, template: "<div\n #scrollableColumnElement\n [edmSduiView]=\"uiComponent.element\"\n class=\"scrollable-column\"\n *ngIf=\"uiComponent\"\n>\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.scrollable-column{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;height:100%;width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding-top:var(--sdui-content-inset-top, 0px);scroll-padding-bottom:var(--sdui-content-inset-bottom, 0px)}.scrollable-column::-webkit-scrollbar{display:none}.scrollable-column>*{flex-shrink:0}\n"] }]
|
|
5030
|
+
}], () => [{ type: undefined, decorators: [{
|
|
5031
|
+
type: Inject,
|
|
5032
|
+
args: ['uiComponent']
|
|
5033
|
+
}] }, { type: i0.Renderer2 }], { scrollableColumnElementRef: [{
|
|
5034
|
+
type: ViewChild,
|
|
5035
|
+
args: ['scrollableColumnElement']
|
|
5036
|
+
}] }); })();
|
|
5037
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ScrollableColumnComponent, { className: "ScrollableColumnComponent", filePath: "lib/components/uicomponent/scrollable-column/scrollable-column.component.ts", lineNumber: 23 }); })();
|
|
4291
5038
|
|
|
4292
5039
|
var scrollableColumn_component = /*#__PURE__*/Object.freeze({
|
|
4293
5040
|
__proto__: null,
|
|
4294
5041
|
ScrollableColumnComponent: ScrollableColumnComponent
|
|
4295
5042
|
});
|
|
4296
5043
|
|
|
5044
|
+
const _c0$2 = ["profileButtonElement"];
|
|
5045
|
+
const _c1 = ["profileButtonLabelElement"];
|
|
5046
|
+
const _c2 = ["profileButtonImageElement"];
|
|
5047
|
+
function ProfileButtonComponent_button_0_img_2_Template(rf, ctx) { if (rf & 1) {
|
|
5048
|
+
i0.ɵɵelement(0, "img", 7, 2);
|
|
5049
|
+
} if (rf & 2) {
|
|
5050
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
5051
|
+
i0.ɵɵproperty("src", ctx_r0.getAssetPath(ctx_r0.uiComponent.element.asset), i0.ɵɵsanitizeUrl);
|
|
5052
|
+
} }
|
|
5053
|
+
function ProfileButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
5054
|
+
i0.ɵɵelementStart(0, "button", 4, 0);
|
|
5055
|
+
i0.ɵɵtemplate(2, ProfileButtonComponent_button_0_img_2_Template, 2, 1, "img", 5);
|
|
5056
|
+
i0.ɵɵelementStart(3, "span", 6, 1);
|
|
5057
|
+
i0.ɵɵtext(5);
|
|
5058
|
+
i0.ɵɵelementEnd()();
|
|
5059
|
+
} if (rf & 2) {
|
|
5060
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
5061
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
5062
|
+
i0.ɵɵadvance(2);
|
|
5063
|
+
i0.ɵɵproperty("ngIf", ctx_r0.uiComponent.element.asset);
|
|
5064
|
+
i0.ɵɵadvance(3);
|
|
5065
|
+
i0.ɵɵtextInterpolate(ctx_r0.uiComponent.element.label);
|
|
5066
|
+
} }
|
|
4297
5067
|
class ProfileButtonComponent {
|
|
4298
5068
|
constructor(uiComponent, renderer, fontSizeMappingService) {
|
|
4299
5069
|
this.uiComponent = uiComponent;
|
|
@@ -4379,31 +5149,52 @@ class ProfileButtonComponent {
|
|
|
4379
5149
|
getAssetPath(asset) {
|
|
4380
5150
|
return assetMapping[asset];
|
|
4381
5151
|
}
|
|
4382
|
-
static { this.ɵfac =
|
|
4383
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
5152
|
+
static { this.ɵfac = function ProfileButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileButtonComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(FontSizeMappingService)); }; }
|
|
5153
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProfileButtonComponent, selectors: [["edm-sdui-profile-button"]], viewQuery: function ProfileButtonComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5154
|
+
i0.ɵɵviewQuery(_c0$2, 5)(_c1, 5)(_c2, 5);
|
|
5155
|
+
} if (rf & 2) {
|
|
5156
|
+
let _t;
|
|
5157
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.profileButtonElementRef = _t.first);
|
|
5158
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.profileButtonLabelElementRef = _t.first);
|
|
5159
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.profileButtonImageElementRef = _t.first);
|
|
5160
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["profileButtonElement", ""], ["profileButtonLabelElement", ""], ["profileButtonImageElement", ""], ["class", "profile-button", 3, "edmSduiView", 4, "ngIf"], [1, "profile-button", 3, "edmSduiView"], ["alt", "Profile", "class", "profile-image", 3, "src", 4, "ngIf"], [1, "profile-label"], ["alt", "Profile", 1, "profile-image", 3, "src"]], template: function ProfileButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5161
|
+
i0.ɵɵtemplate(0, ProfileButtonComponent_button_0_Template, 6, 3, "button", 3);
|
|
5162
|
+
} if (rf & 2) {
|
|
5163
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
5164
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.profile-button[_ngcontent-%COMP%]{display:flex;padding:16px 16px 0;border-radius:20px;background-color:var(--bt-profile);border:none;cursor:pointer;flex-direction:column;height:108px;width:108px;align-items:start;justify-content:start;gap:24px}.profile-button[_ngcontent-%COMP%]:hover{background-color:#0000000d;cursor:pointer}.profile-button[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{width:24px;height:24px}.profile-button[_ngcontent-%COMP%] .profile-label[_ngcontent-%COMP%]{max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:normal;text-align:left;overflow:hidden;display:block}.profile-button[_ngcontent-%COMP%] .profile-label.truncate[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis}"] }); }
|
|
4384
5165
|
}
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
5166
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileButtonComponent, [{
|
|
5167
|
+
type: Component,
|
|
5168
|
+
args: [{ selector: 'edm-sdui-profile-button', standalone: false, template: "<button #profileButtonElement [edmSduiView]=\"uiComponent.element\" class=\"profile-button\" *ngIf=\"uiComponent\">\n <img #profileButtonImageElement *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"Profile\" class=\"profile-image\">\n <span #profileButtonLabelElement class=\"profile-label\">{{ uiComponent.element.label }}</span>\n</button>\n", styles: [":host{display:contents}.profile-button{display:flex;padding:16px 16px 0;border-radius:20px;background-color:var(--bt-profile);border:none;cursor:pointer;flex-direction:column;height:108px;width:108px;align-items:start;justify-content:start;gap:24px}.profile-button:hover{background-color:#0000000d;cursor:pointer}.profile-button .profile-image{width:24px;height:24px}.profile-button .profile-label{max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:normal;text-align:left;overflow:hidden;display:block}.profile-button .profile-label.truncate{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis}\n"] }]
|
|
5169
|
+
}], () => [{ type: undefined, decorators: [{
|
|
5170
|
+
type: Inject,
|
|
5171
|
+
args: ['uiComponent']
|
|
5172
|
+
}] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], { profileButtonElementRef: [{
|
|
5173
|
+
type: ViewChild,
|
|
5174
|
+
args: ['profileButtonElement']
|
|
5175
|
+
}], profileButtonLabelElementRef: [{
|
|
5176
|
+
type: ViewChild,
|
|
5177
|
+
args: ['profileButtonLabelElement']
|
|
5178
|
+
}], profileButtonImageElementRef: [{
|
|
5179
|
+
type: ViewChild,
|
|
5180
|
+
args: ['profileButtonImageElement']
|
|
5181
|
+
}] }); })();
|
|
5182
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProfileButtonComponent, { className: "ProfileButtonComponent", filePath: "lib/components/uicomponent/profile-button/profile-button.component.ts", lineNumber: 25 }); })();
|
|
4401
5183
|
|
|
4402
5184
|
var profileButton_component = /*#__PURE__*/Object.freeze({
|
|
4403
5185
|
__proto__: null,
|
|
4404
5186
|
ProfileButtonComponent: ProfileButtonComponent
|
|
4405
5187
|
});
|
|
4406
5188
|
|
|
5189
|
+
const _c0$1 = ["progressFillElement"];
|
|
5190
|
+
function ProgressBarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5191
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
5192
|
+
i0.ɵɵelement(1, "div", 3, 0);
|
|
5193
|
+
i0.ɵɵelementEnd();
|
|
5194
|
+
} if (rf & 2) {
|
|
5195
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
5196
|
+
i0.ɵɵproperty("edmSduiView", ctx_r0.uiComponent.element);
|
|
5197
|
+
} }
|
|
4407
5198
|
class ProgressBarComponent {
|
|
4408
5199
|
constructor(uiComponent, renderer) {
|
|
4409
5200
|
this.uiComponent = uiComponent;
|
|
@@ -4427,25 +5218,62 @@ class ProgressBarComponent {
|
|
|
4427
5218
|
this.renderer.setStyle(this.progressFillElementRef.nativeElement, 'background-color', color);
|
|
4428
5219
|
}
|
|
4429
5220
|
}
|
|
4430
|
-
static { this.ɵfac =
|
|
4431
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
5221
|
+
static { this.ɵfac = function ProgressBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProgressBarComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
5222
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProgressBarComponent, selectors: [["edm-sdui-progress-bar"]], viewQuery: function ProgressBarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5223
|
+
i0.ɵɵviewQuery(_c0$1, 5);
|
|
5224
|
+
} if (rf & 2) {
|
|
5225
|
+
let _t;
|
|
5226
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.progressFillElementRef = _t.first);
|
|
5227
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["progressFillElement", ""], ["class", "progress-bar-container", 3, "edmSduiView", 4, "ngIf"], [1, "progress-bar-container", 3, "edmSduiView"], [1, "progress-bar-fill"]], template: function ProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5228
|
+
i0.ɵɵtemplate(0, ProgressBarComponent_div_0_Template, 3, 1, "div", 1);
|
|
5229
|
+
} if (rf & 2) {
|
|
5230
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
5231
|
+
} }, dependencies: [i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:contents}.progress-bar-container[_ngcontent-%COMP%]{position:relative;width:100%;height:5px;background-color:#e0e0e0;border-radius:4px;overflow:clip}.progress-bar-container[_ngcontent-%COMP%] .progress-bar-fill[_ngcontent-%COMP%]{height:100%;width:0;background-color:#2196f3;transition:width .3s ease}.progress-bar-container[_ngcontent-%COMP%] .progress-bar-label[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;width:100%;text-align:center;font-size:12px;margin-top:4px}"] }); }
|
|
4432
5232
|
}
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
5233
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressBarComponent, [{
|
|
5234
|
+
type: Component,
|
|
5235
|
+
args: [{ selector: 'edm-sdui-progress-bar', standalone: false, template: "<div [edmSduiView]=\"uiComponent.element\" class=\"progress-bar-container\" *ngIf=\"uiComponent\">\n <div #progressFillElement class=\"progress-bar-fill\"></div>\n</div>\n", styles: [":host{display:contents}.progress-bar-container{position:relative;width:100%;height:5px;background-color:#e0e0e0;border-radius:4px;overflow:clip}.progress-bar-container .progress-bar-fill{height:100%;width:0;background-color:#2196f3;transition:width .3s ease}.progress-bar-container .progress-bar-label{position:absolute;top:100%;left:0;width:100%;text-align:center;font-size:12px;margin-top:4px}\n"] }]
|
|
5236
|
+
}], () => [{ type: undefined, decorators: [{
|
|
5237
|
+
type: Inject,
|
|
5238
|
+
args: ['uiComponent']
|
|
5239
|
+
}] }, { type: i0.Renderer2 }], { progressFillElementRef: [{
|
|
5240
|
+
type: ViewChild,
|
|
5241
|
+
args: ['progressFillElement']
|
|
5242
|
+
}] }); })();
|
|
5243
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProgressBarComponent, { className: "ProgressBarComponent", filePath: "lib/components/uicomponent/progress-bar/progress-bar.component.ts", lineNumber: 23 }); })();
|
|
4443
5244
|
|
|
4444
5245
|
var progressBar_component = /*#__PURE__*/Object.freeze({
|
|
4445
5246
|
__proto__: null,
|
|
4446
5247
|
ProgressBarComponent: ProgressBarComponent
|
|
4447
5248
|
});
|
|
4448
5249
|
|
|
5250
|
+
const _c0 = ["tagsRowElement"];
|
|
5251
|
+
function TagsRowComponent_div_0_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
5252
|
+
i0.ɵɵelementContainer(0);
|
|
5253
|
+
} }
|
|
5254
|
+
function TagsRowComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
5255
|
+
i0.ɵɵelementContainerStart(0);
|
|
5256
|
+
i0.ɵɵtemplate(1, TagsRowComponent_div_0_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
5257
|
+
i0.ɵɵelementContainerEnd();
|
|
5258
|
+
} if (rf & 2) {
|
|
5259
|
+
const tag_r1 = ctx.$implicit;
|
|
5260
|
+
const i_r2 = ctx.index;
|
|
5261
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
5262
|
+
i0.ɵɵadvance();
|
|
5263
|
+
i0.ɵɵproperty("ngComponentOutlet", ctx_r2.tagComponent)("ngComponentOutletInjector", ctx_r2.createInjector(tag_r1, i_r2));
|
|
5264
|
+
} }
|
|
5265
|
+
function TagsRowComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5266
|
+
i0.ɵɵelementStart(0, "div", 2, 0);
|
|
5267
|
+
i0.ɵɵtemplate(2, TagsRowComponent_div_0_ng_container_2_Template, 2, 2, "ng-container", 3);
|
|
5268
|
+
i0.ɵɵelement(3, "span", 4);
|
|
5269
|
+
i0.ɵɵelementEnd();
|
|
5270
|
+
} if (rf & 2) {
|
|
5271
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
5272
|
+
i0.ɵɵclassProp("tags-row-fixed", ctx_r2.isFixed);
|
|
5273
|
+
i0.ɵɵproperty("edmSduiView", ctx_r2.uiComponent.element);
|
|
5274
|
+
i0.ɵɵadvance(2);
|
|
5275
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.tags)("ngForTrackBy", ctx_r2.trackByLabel);
|
|
5276
|
+
} }
|
|
4449
5277
|
class TagsRowComponent {
|
|
4450
5278
|
constructor(uiComponent, injector, hostRef, cdr, renderer) {
|
|
4451
5279
|
this.uiComponent = uiComponent;
|
|
@@ -4592,31 +5420,46 @@ class TagsRowComponent {
|
|
|
4592
5420
|
const height = el.getBoundingClientRect().height;
|
|
4593
5421
|
this.hostRef.nativeElement.style.setProperty('--tags-row-bottom', `${value + height}px`);
|
|
4594
5422
|
}
|
|
4595
|
-
static { this.ɵfac =
|
|
4596
|
-
static { this.ɵcmp = i0.ɵɵ
|
|
5423
|
+
static { this.ɵfac = function TagsRowComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TagsRowComponent)(i0.ɵɵdirectiveInject('uiComponent'), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
5424
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TagsRowComponent, selectors: [["edm-sdui-tags-row"]], viewQuery: function TagsRowComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5425
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
5426
|
+
} if (rf & 2) {
|
|
5427
|
+
let _t;
|
|
5428
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagsRowRef = _t.first);
|
|
5429
|
+
} }, hostVars: 6, hostBindings: function TagsRowComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
5430
|
+
i0.ɵɵlistener("scroll", function TagsRowComponent_scroll_HostBindingHandler() { return ctx.onWindowScroll(); }, i0.ɵɵresolveWindow);
|
|
5431
|
+
} if (rf & 2) {
|
|
5432
|
+
i0.ɵɵstyleProp("min-height", ctx.hostMinHeight, "px");
|
|
5433
|
+
i0.ɵɵclassProp("tags-row--fixed", ctx.isFixed)("tags-row--can-fix", ctx.canFix);
|
|
5434
|
+
} }, standalone: false, decls: 1, vars: 1, consts: [["tagsRowElement", ""], ["class", "tags-row", 3, "tags-row-fixed", "edmSduiView", 4, "ngIf"], [1, "tags-row", 3, "edmSduiView"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["aria-hidden", "true", 1, "tags-row-spacer"], [4, "ngComponentOutlet", "ngComponentOutletInjector"]], template: function TagsRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5435
|
+
i0.ɵɵtemplate(0, TagsRowComponent_div_0_Template, 4, 5, "div", 1);
|
|
5436
|
+
} if (rf & 2) {
|
|
5437
|
+
i0.ɵɵproperty("ngIf", ctx.uiComponent);
|
|
5438
|
+
} }, dependencies: [i1$1.NgComponentOutlet, i1$1.NgForOf, i1$1.NgIf, UIViewDirective], styles: ["[_nghost-%COMP%]{display:block;width:100%;box-sizing:border-box;margin-top:var(--sdui-header-margin-top, 12px)}.tags-row[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:6px 0;padding-left:var(--sdui-tags-row-padding-x, 16px);background-color:inherit;justify-content:flex-start;box-sizing:border-box;width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-padding-left:var(--sdui-tags-row-padding-x, 16px);scroll-padding-right:var(--sdui-tags-row-padding-x, 16px);scrollbar-width:none;padding-bottom:8px!important}[_nghost-%COMP%] .tags-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 0 auto}.tags-row-spacer[_ngcontent-%COMP%]{flex:0 0 var(--sdui-tags-row-padding-x, 16px);min-width:var(--sdui-tags-row-padding-x, 16px);height:1px;pointer-events:none}.tags-row--fixed[_nghost-%COMP%]{box-sizing:border-box}.tags-row--fixed[_nghost-%COMP%] .tags-row[_ngcontent-%COMP%]{position:fixed;top:var(--sdui-tags-row-top, 78px);left:var(--sdui-tags-row-left, 32px);right:0;z-index:120;transition:top .16s ease;will-change:top;padding:6px 0;padding-left:var(--sdui-tags-row-padding-x, 16px);padding-right:var(--sdui-tags-row-padding-x, 32px)}@media(max-width:565px){.tags-row--fixed[_nghost-%COMP%] .tags-row[_ngcontent-%COMP%]{left:var(--sdui-tags-row-left-mobile, 0);top:var(--sdui-tags-row-top-mobile, var(--sdui-tags-row-top, 78px));padding-left:var(--sdui-tags-row-padding-x, 16px);padding-right:var(--sdui-tags-row-padding-x, 32px)}}.tags-row--can-fix[_nghost-%COMP%]:before{content:\"\";position:fixed;top:0;left:0;right:0;height:var(--tags-row-bottom, 120px);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);background-color:color-mix(in srgb,var(--bg) 60%,transparent);pointer-events:none;z-index:119}"] }); }
|
|
4597
5439
|
}
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
5440
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TagsRowComponent, [{
|
|
5441
|
+
type: Component,
|
|
5442
|
+
args: [{ selector: 'edm-sdui-tags-row', standalone: false, template: "<div class=\"tags-row\" #tagsRowElement [class.tags-row-fixed]=\"isFixed\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <ng-container *ngFor=\"let tag of tags; let i = index; trackBy: trackByLabel\">\n <ng-container\n *ngComponentOutlet=\"tagComponent; injector: createInjector(tag, i)\"\n ></ng-container>\n </ng-container>\n <span class=\"tags-row-spacer\" aria-hidden=\"true\"></span>\n</div>\n", styles: [":host{display:block;width:100%;box-sizing:border-box;margin-top:var(--sdui-header-margin-top, 12px)}.tags-row{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:6px 0;padding-left:var(--sdui-tags-row-padding-x, 16px);background-color:inherit;justify-content:flex-start;box-sizing:border-box;width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-padding-left:var(--sdui-tags-row-padding-x, 16px);scroll-padding-right:var(--sdui-tags-row-padding-x, 16px);scrollbar-width:none;padding-bottom:8px!important}:host .tags-row>*{flex:0 0 auto}.tags-row-spacer{flex:0 0 var(--sdui-tags-row-padding-x, 16px);min-width:var(--sdui-tags-row-padding-x, 16px);height:1px;pointer-events:none}:host.tags-row--fixed{box-sizing:border-box}:host.tags-row--fixed .tags-row{position:fixed;top:var(--sdui-tags-row-top, 78px);left:var(--sdui-tags-row-left, 32px);right:0;z-index:120;transition:top .16s ease;will-change:top;padding:6px 0;padding-left:var(--sdui-tags-row-padding-x, 16px);padding-right:var(--sdui-tags-row-padding-x, 32px)}@media(max-width:565px){:host.tags-row--fixed .tags-row{left:var(--sdui-tags-row-left-mobile, 0);top:var(--sdui-tags-row-top-mobile, var(--sdui-tags-row-top, 78px));padding-left:var(--sdui-tags-row-padding-x, 16px);padding-right:var(--sdui-tags-row-padding-x, 32px)}}:host.tags-row--can-fix:before{content:\"\";position:fixed;top:0;left:0;right:0;height:var(--tags-row-bottom, 120px);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);background-color:color-mix(in srgb,var(--bg) 60%,transparent);pointer-events:none;z-index:119}\n"] }]
|
|
5443
|
+
}], () => [{ type: undefined, decorators: [{
|
|
5444
|
+
type: Inject,
|
|
5445
|
+
args: ['uiComponent']
|
|
5446
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], { isFixed: [{
|
|
5447
|
+
type: HostBinding,
|
|
5448
|
+
args: ['class.tags-row--fixed']
|
|
5449
|
+
}], canFix: [{
|
|
5450
|
+
type: HostBinding,
|
|
5451
|
+
args: ['class.tags-row--can-fix']
|
|
5452
|
+
}], hostMinHeight: [{
|
|
5453
|
+
type: HostBinding,
|
|
5454
|
+
args: ['style.min-height.px']
|
|
5455
|
+
}], tagsRowRef: [{
|
|
5456
|
+
type: ViewChild,
|
|
5457
|
+
args: ['tagsRowElement']
|
|
5458
|
+
}], onWindowScroll: [{
|
|
5459
|
+
type: HostListener,
|
|
5460
|
+
args: ['window:scroll']
|
|
5461
|
+
}] }); })();
|
|
5462
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TagsRowComponent, { className: "TagsRowComponent", filePath: "lib/components/uicomponent/tags-row/tags-row.component.ts", lineNumber: 25 }); })();
|
|
4620
5463
|
|
|
4621
5464
|
var tagsRow_component = /*#__PURE__*/Object.freeze({
|
|
4622
5465
|
__proto__: null,
|
|
@@ -4642,90 +5485,91 @@ class SduiModule {
|
|
|
4642
5485
|
static forRouting(config) {
|
|
4643
5486
|
return SduiRoutingModule.forChild(config?.routePath);
|
|
4644
5487
|
}
|
|
4645
|
-
static { this.ɵfac =
|
|
4646
|
-
static { this.ɵmod = i0.ɵɵ
|
|
4647
|
-
|
|
4648
|
-
UIScreenComponent,
|
|
4649
|
-
UINavigationComponent,
|
|
4650
|
-
FabComponent,
|
|
4651
|
-
// Layout
|
|
4652
|
-
SingleColumnLayoutComponent,
|
|
4653
|
-
CenteredContentLayoutComponent,
|
|
4654
|
-
// UIComponents
|
|
4655
|
-
UIComponentComponent,
|
|
4656
|
-
RowComponent,
|
|
4657
|
-
RowDivisorComponent,
|
|
4658
|
-
ColumnComponent,
|
|
4659
|
-
ZStackComponent,
|
|
4660
|
-
LabelComponent,
|
|
4661
|
-
SpaceComponent,
|
|
4662
|
-
ButtonComponent,
|
|
4663
|
-
ImageComponent,
|
|
4664
|
-
TagComponent,
|
|
4665
|
-
TagsRowTagComponent,
|
|
4666
|
-
TagsRowComponent,
|
|
4667
|
-
SearchBarComponent,
|
|
4668
|
-
SearchBarDismissComponent,
|
|
4669
|
-
MediaTypeComponent,
|
|
4670
|
-
PickerComponent,
|
|
4671
|
-
PickerItemComponent,
|
|
4672
|
-
ScrollableRowComponent,
|
|
4673
|
-
ScrollableColumnComponent,
|
|
4674
|
-
ProfileButtonComponent,
|
|
4675
|
-
ProgressBarComponent,
|
|
4676
|
-
// diretivas
|
|
4677
|
-
UIViewDirective,
|
|
4678
|
-
// navegação
|
|
4679
|
-
NavigationControlsComponent,
|
|
4680
|
-
// componente base da lib
|
|
4681
|
-
SduiComponent], imports: [CommonModule, RouterModule], exports: [SduiComponent] }); }
|
|
4682
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SduiModule, imports: [CommonModule, RouterModule] }); }
|
|
5488
|
+
static { this.ɵfac = function SduiModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SduiModule)(); }; }
|
|
5489
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SduiModule }); }
|
|
5490
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, RouterModule] }); }
|
|
4683
5491
|
}
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
5492
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SduiModule, [{
|
|
5493
|
+
type: NgModule,
|
|
5494
|
+
args: [{
|
|
5495
|
+
declarations: [
|
|
5496
|
+
// UIComposite
|
|
5497
|
+
UIScreenComponent,
|
|
5498
|
+
UINavigationComponent,
|
|
5499
|
+
FabComponent,
|
|
5500
|
+
// Layout
|
|
5501
|
+
SingleColumnLayoutComponent,
|
|
5502
|
+
CenteredContentLayoutComponent,
|
|
5503
|
+
// UIComponents
|
|
5504
|
+
UIComponentComponent,
|
|
5505
|
+
RowComponent,
|
|
5506
|
+
RowDivisorComponent,
|
|
5507
|
+
ColumnComponent,
|
|
5508
|
+
ZStackComponent,
|
|
5509
|
+
LabelComponent,
|
|
5510
|
+
SpaceComponent,
|
|
5511
|
+
ButtonComponent,
|
|
5512
|
+
ImageComponent,
|
|
5513
|
+
TagComponent,
|
|
5514
|
+
TagsRowTagComponent,
|
|
5515
|
+
TagsRowComponent,
|
|
5516
|
+
SearchBarComponent,
|
|
5517
|
+
SearchBarDismissComponent,
|
|
5518
|
+
MediaTypeComponent,
|
|
5519
|
+
PickerComponent,
|
|
5520
|
+
PickerItemComponent,
|
|
5521
|
+
ScrollableRowComponent,
|
|
5522
|
+
ScrollableColumnComponent,
|
|
5523
|
+
ProfileButtonComponent,
|
|
5524
|
+
ProgressBarComponent,
|
|
5525
|
+
// diretivas
|
|
5526
|
+
UIViewDirective,
|
|
5527
|
+
// navegação
|
|
5528
|
+
NavigationControlsComponent,
|
|
5529
|
+
// componente base da lib
|
|
5530
|
+
SduiComponent,
|
|
5531
|
+
],
|
|
5532
|
+
imports: [CommonModule, RouterModule],
|
|
5533
|
+
exports: [SduiComponent],
|
|
5534
|
+
providers: [],
|
|
5535
|
+
}]
|
|
5536
|
+
}], null, null); })();
|
|
5537
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SduiModule, { declarations: [
|
|
5538
|
+
// UIComposite
|
|
5539
|
+
UIScreenComponent,
|
|
5540
|
+
UINavigationComponent,
|
|
5541
|
+
FabComponent,
|
|
5542
|
+
// Layout
|
|
5543
|
+
SingleColumnLayoutComponent,
|
|
5544
|
+
CenteredContentLayoutComponent,
|
|
5545
|
+
// UIComponents
|
|
5546
|
+
UIComponentComponent,
|
|
5547
|
+
RowComponent,
|
|
5548
|
+
RowDivisorComponent,
|
|
5549
|
+
ColumnComponent,
|
|
5550
|
+
ZStackComponent,
|
|
5551
|
+
LabelComponent,
|
|
5552
|
+
SpaceComponent,
|
|
5553
|
+
ButtonComponent,
|
|
5554
|
+
ImageComponent,
|
|
5555
|
+
TagComponent,
|
|
5556
|
+
TagsRowTagComponent,
|
|
5557
|
+
TagsRowComponent,
|
|
5558
|
+
SearchBarComponent,
|
|
5559
|
+
SearchBarDismissComponent,
|
|
5560
|
+
MediaTypeComponent,
|
|
5561
|
+
PickerComponent,
|
|
5562
|
+
PickerItemComponent,
|
|
5563
|
+
ScrollableRowComponent,
|
|
5564
|
+
ScrollableColumnComponent,
|
|
5565
|
+
ProfileButtonComponent,
|
|
5566
|
+
ProgressBarComponent,
|
|
5567
|
+
// diretivas
|
|
5568
|
+
UIViewDirective,
|
|
5569
|
+
// navegação
|
|
5570
|
+
NavigationControlsComponent,
|
|
5571
|
+
// componente base da lib
|
|
5572
|
+
SduiComponent], imports: [CommonModule, RouterModule], exports: [SduiComponent] }); })();
|
|
4729
5573
|
|
|
4730
5574
|
/*
|
|
4731
5575
|
* Public API Surface of sdui
|