valtech-components 2.0.62 → 2.0.63
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/esm2022/lib/components/atoms/avatar/avatar.component.mjs +31 -0
- package/esm2022/lib/components/atoms/avatar/types.mjs +2 -0
- package/esm2022/lib/components/atoms/box/box.component.mjs +52 -0
- package/esm2022/lib/components/atoms/box/types.mjs +2 -0
- package/esm2022/lib/components/atoms/button/button.component.mjs +70 -0
- package/esm2022/lib/components/atoms/button/factory.mjs +217 -0
- package/esm2022/lib/components/atoms/display/display.component.mjs +28 -0
- package/esm2022/lib/components/atoms/display/types.mjs +2 -0
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +17 -0
- package/esm2022/lib/components/atoms/divider/types.mjs +2 -0
- package/esm2022/lib/components/atoms/href/href.component.mjs +51 -0
- package/esm2022/lib/components/atoms/href/types.mjs +2 -0
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +19 -0
- package/esm2022/lib/components/atoms/icon/types.mjs +2 -0
- package/esm2022/lib/components/atoms/image/image.component.mjs +50 -0
- package/esm2022/lib/components/atoms/image/types.mjs +2 -0
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +36 -0
- package/esm2022/lib/components/atoms/progress-bar/types.mjs +2 -0
- package/esm2022/lib/components/atoms/text/text.component.mjs +24 -0
- package/esm2022/lib/components/atoms/text/types.mjs +2 -0
- package/esm2022/lib/components/atoms/title/title.component.mjs +31 -0
- package/esm2022/lib/components/atoms/title/types.mjs +2 -0
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +32 -0
- package/esm2022/lib/components/molecules/alert-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +49 -0
- package/esm2022/lib/components/molecules/button-group/types.mjs +2 -0
- package/esm2022/lib/components/molecules/card/card.component.mjs +365 -0
- package/esm2022/lib/components/molecules/card/types.mjs +16 -0
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +15 -0
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +23 -0
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +32 -0
- package/esm2022/lib/components/molecules/content-loader/types.mjs +2 -0
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +73 -0
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +19 -0
- package/esm2022/lib/components/molecules/expandable-text/expandable-text.component.mjs +58 -0
- package/esm2022/lib/components/molecules/expandable-text/types.mjs +2 -0
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +69 -0
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +52 -0
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +18 -0
- package/esm2022/lib/components/molecules/link/link.component.mjs +53 -0
- package/esm2022/lib/components/molecules/link/types.mjs +2 -0
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +37 -0
- package/esm2022/lib/components/molecules/links-cake/types.mjs +2 -0
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +33 -0
- package/esm2022/lib/components/molecules/notes-box/types.mjs +2 -0
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +18 -0
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +44 -0
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +45 -0
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +94 -0
- package/esm2022/lib/components/molecules/progress-status/types.mjs +2 -0
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +84 -0
- package/esm2022/lib/components/molecules/prompter/types.mjs +2 -0
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +33 -0
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +61 -0
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +18 -0
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +77 -0
- package/esm2022/lib/components/molecules/title-block/types.mjs +2 -0
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +75 -0
- package/esm2022/lib/components/organisms/banner/types.mjs +2 -0
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +50 -0
- package/esm2022/lib/components/organisms/footer/types.mjs +2 -0
- package/esm2022/lib/components/organisms/form/factory.mjs +8 -0
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +76 -0
- package/esm2022/lib/components/organisms/form/form.component.mjs +230 -0
- package/esm2022/lib/components/organisms/header/header.component.mjs +32 -0
- package/esm2022/lib/components/organisms/header/types.mjs +2 -0
- package/esm2022/lib/components/organisms/item-list/item-list.component.mjs +358 -0
- package/esm2022/lib/components/organisms/item-list/types.mjs +2 -0
- package/esm2022/lib/components/organisms/no-content/no-content.component.mjs +44 -0
- package/esm2022/lib/components/organisms/no-content/types.mjs +2 -0
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +171 -0
- package/esm2022/lib/components/organisms/toolbar/types.mjs +2 -0
- package/esm2022/lib/components/organisms/wizard/types.mjs +7 -0
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +107 -0
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +103 -0
- package/esm2022/lib/components/templates/layout/layout.component.mjs +19 -0
- package/esm2022/lib/components/templates/simple/simple.component.mjs +102 -0
- package/esm2022/lib/components/templates/simple/types.mjs +2 -0
- package/esm2022/lib/components/types.mjs +36 -0
- package/esm2022/lib/services/download.service.mjs +63 -0
- package/esm2022/lib/services/icons.service.mjs +32 -0
- package/esm2022/lib/services/in-app-browser.service.mjs +24 -0
- package/esm2022/lib/services/lang-provider/components/lang-settings.mjs +13 -0
- package/esm2022/lib/services/lang-provider/components/theme-settings.mjs +15 -0
- package/esm2022/lib/services/lang-provider/content.mjs +8 -0
- package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +39 -0
- package/esm2022/lib/services/lang-provider/types.mjs +14 -0
- package/esm2022/lib/services/local-storage.service.mjs +16 -0
- package/esm2022/lib/services/navigation.service.mjs +39 -0
- package/esm2022/lib/services/theme.service.mjs +97 -0
- package/esm2022/lib/services/types.mjs +3 -0
- package/esm2022/lib/shared/constants/storage.mjs +3 -0
- package/esm2022/lib/shared/utils/dom.mjs +17 -0
- package/esm2022/lib/shared/utils/styles.mjs +25 -0
- package/esm2022/public-api.mjs +95 -0
- package/esm2022/valtech-components.mjs +5 -0
- package/fesm2022/valtech-components.mjs +3558 -0
- package/fesm2022/valtech-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/atoms/avatar/avatar.component.d.ts +12 -0
- package/lib/components/atoms/avatar/types.d.ts +6 -0
- package/lib/components/atoms/box/box.component.d.ts +13 -0
- package/lib/components/atoms/box/types.d.ts +7 -0
- package/lib/components/atoms/button/button.component.d.ts +21 -0
- package/lib/components/atoms/button/factory.d.ts +71 -0
- package/lib/components/atoms/display/display.component.d.ts +10 -0
- package/lib/components/atoms/display/types.d.ts +6 -0
- package/lib/components/atoms/divider/divider.component.d.ts +10 -0
- package/lib/components/atoms/divider/types.d.ts +5 -0
- package/lib/components/atoms/href/href.component.d.ts +15 -0
- package/lib/components/atoms/href/types.d.ts +9 -0
- package/lib/components/atoms/icon/icon.component.d.ts +11 -0
- package/lib/components/atoms/icon/types.d.ts +6 -0
- package/lib/components/atoms/image/image.component.d.ts +12 -0
- package/lib/components/atoms/image/types.d.ts +11 -0
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +10 -0
- package/lib/components/atoms/progress-bar/types.d.ts +9 -0
- package/lib/components/atoms/text/text.component.d.ts +10 -0
- package/lib/components/atoms/text/types.d.ts +7 -0
- package/lib/components/atoms/title/title.component.d.ts +10 -0
- package/lib/components/atoms/title/types.d.ts +7 -0
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +10 -0
- package/{src/lib/components/molecules/alert-box/types.ts → lib/components/molecules/alert-box/types.d.ts} +3 -4
- package/lib/components/molecules/button-group/button-group.component.d.ts +13 -0
- package/lib/components/molecules/button-group/types.d.ts +6 -0
- package/lib/components/molecules/card/card.component.d.ts +16 -0
- package/lib/components/molecules/card/types.d.ts +32 -0
- package/lib/components/molecules/check-input/check-input.component.d.ts +8 -0
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +10 -0
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +10 -0
- package/lib/components/molecules/content-loader/types.d.ts +7 -0
- package/lib/components/molecules/date-input/date-input.component.d.ts +10 -0
- package/lib/components/molecules/email-input/email-input.component.d.ts +10 -0
- package/lib/components/molecules/expandable-text/expandable-text.component.d.ts +13 -0
- package/lib/components/molecules/expandable-text/types.d.ts +6 -0
- package/lib/components/molecules/file-input/file-input.component.d.ts +15 -0
- package/lib/components/molecules/hint/hint.component.d.ts +11 -0
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +10 -0
- package/lib/components/molecules/link/link.component.d.ts +14 -0
- package/lib/components/molecules/link/types.d.ts +9 -0
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +10 -0
- package/{src/lib/components/molecules/links-cake/types.ts → lib/components/molecules/links-cake/types.d.ts} +3 -4
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +10 -0
- package/lib/components/molecules/notes-box/types.d.ts +8 -0
- package/lib/components/molecules/number-input/number-input.component.d.ts +10 -0
- package/lib/components/molecules/password-input/password-input.component.d.ts +11 -0
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +15 -0
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +14 -0
- package/lib/components/molecules/progress-status/types.d.ts +10 -0
- package/lib/components/molecules/prompter/prompter.component.d.ts +12 -0
- package/{src/lib/components/molecules/prompter/types.ts → lib/components/molecules/prompter/types.d.ts} +6 -7
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +10 -0
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +14 -0
- package/lib/components/molecules/text-input/text-input.component.d.ts +10 -0
- package/lib/components/molecules/title-block/title-block.component.d.ts +10 -0
- package/lib/components/molecules/title-block/types.d.ts +12 -0
- package/lib/components/organisms/banner/banner.component.d.ts +14 -0
- package/lib/components/organisms/banner/types.d.ts +12 -0
- package/lib/components/organisms/footer/footer.component.d.ts +12 -0
- package/{src/lib/components/organisms/footer/types.ts → lib/components/organisms/footer/types.d.ts} +3 -4
- package/lib/components/organisms/form/factory.d.ts +5 -0
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +15 -0
- package/lib/components/organisms/form/form.component.d.ts +23 -0
- package/lib/components/organisms/header/header.component.d.ts +12 -0
- package/{src/lib/components/organisms/header/types.ts → lib/components/organisms/header/types.d.ts} +3 -4
- package/lib/components/organisms/item-list/item-list.component.d.ts +23 -0
- package/lib/components/organisms/item-list/types.d.ts +38 -0
- package/lib/components/organisms/no-content/no-content.component.d.ts +12 -0
- package/{src/lib/components/organisms/no-content/types.ts → lib/components/organisms/no-content/types.d.ts} +3 -4
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +21 -0
- package/lib/components/organisms/toolbar/types.d.ts +11 -0
- package/lib/components/organisms/wizard/types.d.ts +20 -0
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +21 -0
- package/lib/components/organisms/wizard/wizard.component.d.ts +22 -0
- package/lib/components/templates/layout/layout.component.d.ts +5 -0
- package/lib/components/templates/simple/simple.component.d.ts +10 -0
- package/{src/lib/components/templates/simple/types.ts → lib/components/templates/simple/types.d.ts} +5 -6
- package/lib/components/types.d.ts +113 -0
- package/lib/services/download.service.d.ts +8 -0
- package/lib/services/icons.service.d.ts +6 -0
- package/lib/services/in-app-browser.service.d.ts +9 -0
- package/lib/services/lang-provider/components/lang-settings.d.ts +3 -0
- package/lib/services/lang-provider/components/theme-settings.d.ts +3 -0
- package/lib/services/lang-provider/content.d.ts +6 -0
- package/lib/services/lang-provider/lang-provider.service.d.ts +17 -0
- package/lib/services/lang-provider/types.d.ts +15 -0
- package/lib/services/local-storage.service.d.ts +6 -0
- package/lib/services/navigation.service.d.ts +15 -0
- package/lib/services/theme.service.d.ts +27 -0
- package/{src/lib/services/types.ts → lib/services/types.d.ts} +2 -4
- package/lib/shared/constants/storage.d.ts +2 -0
- package/lib/shared/utils/dom.d.ts +3 -0
- package/lib/shared/utils/styles.d.ts +1 -0
- package/package.json +13 -15
- package/{src/public-api.ts → public-api.d.ts} +0 -13
- package/ng-package.json +0 -10
- package/release.sh +0 -76
- package/src/lib/components/atoms/avatar/avatar.component.scss +0 -20
- package/src/lib/components/atoms/avatar/avatar.component.ts +0 -29
- package/src/lib/components/atoms/avatar/types.ts +0 -6
- package/src/lib/components/atoms/box/box.component.scss +0 -57
- package/src/lib/components/atoms/box/box.component.ts +0 -41
- package/src/lib/components/atoms/box/types.ts +0 -8
- package/src/lib/components/atoms/button/button.component.scss +0 -6
- package/src/lib/components/atoms/button/button.component.ts +0 -54
- package/src/lib/components/atoms/button/factory.ts +0 -444
- package/src/lib/components/atoms/display/display.component.scss +0 -17
- package/src/lib/components/atoms/display/display.component.ts +0 -25
- package/src/lib/components/atoms/display/types.ts +0 -7
- package/src/lib/components/atoms/divider/divider.component.scss +0 -62
- package/src/lib/components/atoms/divider/divider.component.ts +0 -18
- package/src/lib/components/atoms/divider/types.ts +0 -5
- package/src/lib/components/atoms/href/href.component.scss +0 -25
- package/src/lib/components/atoms/href/href.component.ts +0 -43
- package/src/lib/components/atoms/href/types.ts +0 -10
- package/src/lib/components/atoms/icon/icon.component.scss +0 -33
- package/src/lib/components/atoms/icon/icon.component.ts +0 -21
- package/src/lib/components/atoms/icon/types.ts +0 -7
- package/src/lib/components/atoms/image/image.component.scss +0 -70
- package/src/lib/components/atoms/image/image.component.ts +0 -40
- package/src/lib/components/atoms/image/types.ts +0 -11
- package/src/lib/components/atoms/progress-bar/progress-bar.component.scss +0 -22
- package/src/lib/components/atoms/progress-bar/progress-bar.component.ts +0 -29
- package/src/lib/components/atoms/progress-bar/types.ts +0 -10
- package/src/lib/components/atoms/text/text.component.scss +0 -33
- package/src/lib/components/atoms/text/text.component.ts +0 -23
- package/src/lib/components/atoms/text/types.ts +0 -8
- package/src/lib/components/atoms/title/title.component.scss +0 -17
- package/src/lib/components/atoms/title/title.component.ts +0 -27
- package/src/lib/components/atoms/title/types.ts +0 -8
- package/src/lib/components/molecules/alert-box/alert-box.component.scss +0 -10
- package/src/lib/components/molecules/alert-box/alert-box.component.ts +0 -28
- package/src/lib/components/molecules/button-group/button-group.component.scss +0 -31
- package/src/lib/components/molecules/button-group/button-group.component.ts +0 -44
- package/src/lib/components/molecules/button-group/types.ts +0 -7
- package/src/lib/components/molecules/card/card.component.scss +0 -46
- package/src/lib/components/molecules/card/card.component.ts +0 -218
- package/src/lib/components/molecules/card/types.ts +0 -36
- package/src/lib/components/molecules/check-input/check-input.component.scss +0 -0
- package/src/lib/components/molecules/check-input/check-input.component.ts +0 -16
- package/src/lib/components/molecules/comment-input/comment-input.component.scss +0 -0
- package/src/lib/components/molecules/comment-input/comment-input.component.ts +0 -22
- package/src/lib/components/molecules/content-loader/content-loader.component.scss +0 -42
- package/src/lib/components/molecules/content-loader/content-loader.component.ts +0 -27
- package/src/lib/components/molecules/content-loader/types.ts +0 -8
- package/src/lib/components/molecules/date-input/date-input.component.scss +0 -11
- package/src/lib/components/molecules/date-input/date-input.component.ts +0 -47
- package/src/lib/components/molecules/email-input/email-input.component.scss +0 -0
- package/src/lib/components/molecules/email-input/email-input.component.ts +0 -20
- package/src/lib/components/molecules/expandable-text/expandable-text.component.ts +0 -89
- package/src/lib/components/molecules/expandable-text/types.ts +0 -6
- package/src/lib/components/molecules/file-input/file-input.component.scss +0 -11
- package/src/lib/components/molecules/file-input/file-input.component.ts +0 -56
- package/src/lib/components/molecules/hint/hint.component.scss +0 -5
- package/src/lib/components/molecules/hint/hint.component.ts +0 -42
- package/src/lib/components/molecules/hour-input/hour-input.component.scss +0 -0
- package/src/lib/components/molecules/hour-input/hour-input.component.ts +0 -19
- package/src/lib/components/molecules/link/link.component.scss +0 -5
- package/src/lib/components/molecules/link/link.component.ts +0 -52
- package/src/lib/components/molecules/link/types.ts +0 -10
- package/src/lib/components/molecules/links-cake/links-cake.component.scss +0 -9
- package/src/lib/components/molecules/links-cake/links-cake.component.ts +0 -30
- package/src/lib/components/molecules/notes-box/notes-box.component.scss +0 -5
- package/src/lib/components/molecules/notes-box/notes-box.component.ts +0 -28
- package/src/lib/components/molecules/notes-box/types.ts +0 -9
- package/src/lib/components/molecules/number-input/number-input.component.scss +0 -0
- package/src/lib/components/molecules/number-input/number-input.component.ts +0 -19
- package/src/lib/components/molecules/password-input/password-input.component.scss +0 -7
- package/src/lib/components/molecules/password-input/password-input.component.ts +0 -33
- package/src/lib/components/molecules/pin-input/pin-input.component.scss +0 -13
- package/src/lib/components/molecules/pin-input/pin-input.component.ts +0 -42
- package/src/lib/components/molecules/progress-status/progress-status.component.scss +0 -41
- package/src/lib/components/molecules/progress-status/progress-status.component.ts +0 -70
- package/src/lib/components/molecules/progress-status/types.ts +0 -11
- package/src/lib/components/molecules/prompter/prompter.component.scss +0 -34
- package/src/lib/components/molecules/prompter/prompter.component.ts +0 -58
- package/src/lib/components/molecules/radio-input/radio-input.component.scss +0 -0
- package/src/lib/components/molecules/radio-input/radio-input.component.ts +0 -27
- package/src/lib/components/molecules/searchbar/searchbar.component.scss +0 -9
- package/src/lib/components/molecules/searchbar/searchbar.component.ts +0 -47
- package/src/lib/components/molecules/text-input/text-input.component.scss +0 -1
- package/src/lib/components/molecules/text-input/text-input.component.ts +0 -19
- package/src/lib/components/molecules/title-block/title-block.component.scss +0 -36
- package/src/lib/components/molecules/title-block/title-block.component.ts +0 -50
- package/src/lib/components/molecules/title-block/types.ts +0 -14
- package/src/lib/components/organisms/banner/banner.component.scss +0 -45
- package/src/lib/components/organisms/banner/banner.component.ts +0 -57
- package/src/lib/components/organisms/banner/types.ts +0 -13
- package/src/lib/components/organisms/footer/footer.component.scss +0 -3
- package/src/lib/components/organisms/footer/footer.component.ts +0 -40
- package/src/lib/components/organisms/form/factory.ts +0 -11
- package/src/lib/components/organisms/form/form-footer/form-footer.component.scss +0 -0
- package/src/lib/components/organisms/form/form-footer/form-footer.component.ts +0 -63
- package/src/lib/components/organisms/form/form.component.scss +0 -16
- package/src/lib/components/organisms/form/form.component.ts +0 -183
- package/src/lib/components/organisms/header/header.component.scss +0 -5
- package/src/lib/components/organisms/header/header.component.ts +0 -31
- package/src/lib/components/organisms/item-list/item-list.component.scss +0 -41
- package/src/lib/components/organisms/item-list/item-list.component.ts +0 -221
- package/src/lib/components/organisms/item-list/types.ts +0 -42
- package/src/lib/components/organisms/no-content/no-content.component.scss +0 -11
- package/src/lib/components/organisms/no-content/no-content.component.ts +0 -37
- package/src/lib/components/organisms/toolbar/toolbar.component.scss +0 -13
- package/src/lib/components/organisms/toolbar/toolbar.component.ts +0 -123
- package/src/lib/components/organisms/toolbar/types.ts +0 -12
- package/src/lib/components/organisms/wizard/types.ts +0 -24
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.scss +0 -0
- package/src/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.ts +0 -90
- package/src/lib/components/organisms/wizard/wizard.component.scss +0 -15
- package/src/lib/components/organisms/wizard/wizard.component.ts +0 -99
- package/src/lib/components/templates/layout/layout.component.scss +0 -24
- package/src/lib/components/templates/layout/layout.component.ts +0 -14
- package/src/lib/components/templates/simple/simple.component.ts +0 -75
- package/src/lib/components/types.ts +0 -122
- package/src/lib/services/download.service.ts +0 -58
- package/src/lib/services/icons.service.ts +0 -40
- package/src/lib/services/in-app-browser.service.ts +0 -19
- package/src/lib/services/lang-provider/components/lang-settings.ts +0 -14
- package/src/lib/services/lang-provider/components/theme-settings.ts +0 -16
- package/src/lib/services/lang-provider/content.ts +0 -14
- package/src/lib/services/lang-provider/lang-provider.service.ts +0 -38
- package/src/lib/services/lang-provider/types.ts +0 -25
- package/src/lib/services/local-storage.service.ts +0 -18
- package/src/lib/services/navigation.service.ts +0 -39
- package/src/lib/services/theme.service.ts +0 -102
- package/src/lib/shared/constants/storage.ts +0 -2
- package/src/lib/shared/utils/dom.ts +0 -19
- package/src/lib/shared/utils/styles.ts +0 -27
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
import { NgClass, NgStyle } from '@angular/common';
|
|
2
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
|
+
import { RouterLink } from '@angular/router';
|
|
4
|
+
import { IonAvatar, IonButton, IonIcon, IonItem, IonLabel, IonList, IonListHeader, IonNote, IonSpinner, } from '@ionic/angular/standalone';
|
|
5
|
+
import { resolveColor } from '../../../shared/utils/styles';
|
|
6
|
+
import { ComponentStates } from '../../types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../../services/icons.service";
|
|
9
|
+
export class ItemListComponent {
|
|
10
|
+
constructor(icon) {
|
|
11
|
+
this.states = ComponentStates;
|
|
12
|
+
this.defaultColor = 'primary';
|
|
13
|
+
this.onClick = new EventEmitter();
|
|
14
|
+
this.onActionClick = new EventEmitter();
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() { }
|
|
17
|
+
clickHandler(token) {
|
|
18
|
+
this.onClick.emit(token);
|
|
19
|
+
}
|
|
20
|
+
onActionClickHandler(token) {
|
|
21
|
+
this.onActionClick.emit(token);
|
|
22
|
+
}
|
|
23
|
+
color() {
|
|
24
|
+
return resolveColor(this.props.color || this.defaultColor);
|
|
25
|
+
}
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemListComponent, deps: [{ token: i1.IconService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ItemListComponent, isStandalone: true, selector: "val-item-list", inputs: { props: "props" }, outputs: { onClick: "onClick", onActionClick: "onActionClick" }, ngImport: i0, template: `
|
|
28
|
+
<ion-list
|
|
29
|
+
[inset]="props.rounded"
|
|
30
|
+
[class.shadowed]="props.shadowed"
|
|
31
|
+
[class.bordered]="props.bordered"
|
|
32
|
+
[style.borderColor]="this.color()"
|
|
33
|
+
>
|
|
34
|
+
@if (props.title) {
|
|
35
|
+
<ion-list-header>
|
|
36
|
+
<ion-label>{{ props.title }}</ion-label>
|
|
37
|
+
</ion-list-header>
|
|
38
|
+
}
|
|
39
|
+
@for (item of props.items; track item.text) {
|
|
40
|
+
@if (item.mode == 'justext') {
|
|
41
|
+
<ion-item
|
|
42
|
+
[lines]="item.lines"
|
|
43
|
+
[button]="item.clickable"
|
|
44
|
+
[disabled]="item.disabled"
|
|
45
|
+
(click)="clickHandler(item.token)"
|
|
46
|
+
>
|
|
47
|
+
@if (item.unreadIndicator) {
|
|
48
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
49
|
+
<div class="unread-indicator"></div>
|
|
50
|
+
</div>
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
54
|
+
<h2>{{ item.text }}</h2>
|
|
55
|
+
|
|
56
|
+
@if (item.comments) {
|
|
57
|
+
<ion-note color="medium"> {{ item.comments }} </ion-note>
|
|
58
|
+
}
|
|
59
|
+
</ion-label>
|
|
60
|
+
|
|
61
|
+
@if (item.endNote) {
|
|
62
|
+
<ion-note slot="end">{{ item.endNote }}</ion-note>
|
|
63
|
+
}
|
|
64
|
+
</ion-item>
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@if (item.mode == 'actionable') {
|
|
68
|
+
<ion-item [lines]="item.lines" [button]="item.clickable" [disabled]="item.disabled">
|
|
69
|
+
@if (item.unreadIndicator) {
|
|
70
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
71
|
+
<div class="unread-indicator"></div>
|
|
72
|
+
</div>
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
76
|
+
<h2>{{ item.text }}</h2>
|
|
77
|
+
|
|
78
|
+
@if (item.comments) {
|
|
79
|
+
<ion-note color="medium"> {{ item.comments }} </ion-note>
|
|
80
|
+
}
|
|
81
|
+
</ion-label>
|
|
82
|
+
|
|
83
|
+
@if (item.actions) {
|
|
84
|
+
@for (action of item.actions; track action.token) {
|
|
85
|
+
<ion-button
|
|
86
|
+
fill="outline"
|
|
87
|
+
color="dark"
|
|
88
|
+
slot="end"
|
|
89
|
+
[disabled]="action.state === states.WORKING"
|
|
90
|
+
(click)="onActionClickHandler(action.token)"
|
|
91
|
+
>
|
|
92
|
+
@if (action.state !== states.WORKING) {
|
|
93
|
+
@if (action.icon) {
|
|
94
|
+
<ion-icon aria-hidden="true" [name]="action.icon" size="medium" slot="start"></ion-icon>
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
{{ action.description }}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@if (action.state === states.WORKING) {
|
|
101
|
+
<ion-spinner class="action-spinner" name="circular"></ion-spinner>
|
|
102
|
+
}
|
|
103
|
+
</ion-button>
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
</ion-item>
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@if (item.mode == 'route') {
|
|
110
|
+
<ion-item
|
|
111
|
+
[lines]="item.lines"
|
|
112
|
+
[button]="item.clickable"
|
|
113
|
+
[disabled]="item.disabled"
|
|
114
|
+
(click)="clickHandler(item.token)"
|
|
115
|
+
[routerLink]="item.routerLink"
|
|
116
|
+
>
|
|
117
|
+
@if (item.unreadIndicator) {
|
|
118
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
119
|
+
<div class="unread-indicator"></div>
|
|
120
|
+
</div>
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
124
|
+
<h2>{{ item.text }}</h2>
|
|
125
|
+
|
|
126
|
+
@if (item.comments) {
|
|
127
|
+
<ion-note color="medium"> {{ item.comments }} </ion-note>
|
|
128
|
+
}
|
|
129
|
+
</ion-label>
|
|
130
|
+
</ion-item>
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@if (item.mode == 'subtitule') {
|
|
134
|
+
<ion-item
|
|
135
|
+
[lines]="item.lines"
|
|
136
|
+
[button]="item.clickable"
|
|
137
|
+
[disabled]="item.disabled"
|
|
138
|
+
(click)="clickHandler(item.token)"
|
|
139
|
+
>
|
|
140
|
+
@if (item.unreadIndicator) {
|
|
141
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
142
|
+
<div class="unread-indicator"></div>
|
|
143
|
+
</div>
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
147
|
+
<h1>{{ item.text }}</h1>
|
|
148
|
+
<p>{{ item.subtitle }}</p>
|
|
149
|
+
</ion-label>
|
|
150
|
+
</ion-item>
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@if (item.mode == 'avatar') {
|
|
154
|
+
<ion-item
|
|
155
|
+
[lines]="item.lines"
|
|
156
|
+
[button]="item.clickable"
|
|
157
|
+
[disabled]="item.disabled"
|
|
158
|
+
(click)="clickHandler(item.token)"
|
|
159
|
+
>
|
|
160
|
+
<ion-avatar aria-hidden="true" slot="start">
|
|
161
|
+
<img alt="" [src]="item.image" />
|
|
162
|
+
</ion-avatar>
|
|
163
|
+
<ion-label>{{ item.text }}</ion-label>
|
|
164
|
+
</ion-item>
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@if (item.mode == 'icon') {
|
|
168
|
+
<ion-item
|
|
169
|
+
[lines]="item.lines"
|
|
170
|
+
[button]="item.clickable"
|
|
171
|
+
[disabled]="item.disabled"
|
|
172
|
+
(click)="clickHandler(item.token)"
|
|
173
|
+
>
|
|
174
|
+
<ion-icon aria-hidden="true" [name]="item.icon" size="medium" slot="start"></ion-icon>
|
|
175
|
+
<ion-label>{{ item.text }}</ion-label>
|
|
176
|
+
</ion-item>
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
</ion-list>
|
|
180
|
+
`, isInline: true, styles: ["ion-label{font-family:var(--ion-default-font),Arial,sans-serif}ion-note{font-family:var(--ion-default-font),Arial,sans-serif;font-weight:400}ion-button{font-family:var(--ion-default-font),Arial,sans-serif}.shadowed{box-shadow:.1875rem .625rem .5rem #1219541a}.bordered{border:1px solid}.unread-indicator{background:var(--ion-color-primary);width:.625rem;height:.625rem;border-radius:100%;position:absolute;inset-inline-start:.75rem;top:.75rem}.action-spinner{width:3.125rem;height:1rem}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: IonListHeader, selector: "ion-list-header", inputs: ["color", "lines", "mode"] }, { kind: "component", type: IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: IonNote, selector: "ion-note", inputs: ["color", "mode"] }, { kind: "component", type: IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: IonAvatar, selector: "ion-avatar" }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }] }); }
|
|
181
|
+
}
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ItemListComponent, decorators: [{
|
|
183
|
+
type: Component,
|
|
184
|
+
args: [{ selector: 'val-item-list', standalone: true, imports: [
|
|
185
|
+
RouterLink,
|
|
186
|
+
NgStyle,
|
|
187
|
+
NgClass,
|
|
188
|
+
IonList,
|
|
189
|
+
IonListHeader,
|
|
190
|
+
IonLabel,
|
|
191
|
+
IonNote,
|
|
192
|
+
IonItem,
|
|
193
|
+
IonAvatar,
|
|
194
|
+
IonIcon,
|
|
195
|
+
IonButton,
|
|
196
|
+
IonSpinner,
|
|
197
|
+
], template: `
|
|
198
|
+
<ion-list
|
|
199
|
+
[inset]="props.rounded"
|
|
200
|
+
[class.shadowed]="props.shadowed"
|
|
201
|
+
[class.bordered]="props.bordered"
|
|
202
|
+
[style.borderColor]="this.color()"
|
|
203
|
+
>
|
|
204
|
+
@if (props.title) {
|
|
205
|
+
<ion-list-header>
|
|
206
|
+
<ion-label>{{ props.title }}</ion-label>
|
|
207
|
+
</ion-list-header>
|
|
208
|
+
}
|
|
209
|
+
@for (item of props.items; track item.text) {
|
|
210
|
+
@if (item.mode == 'justext') {
|
|
211
|
+
<ion-item
|
|
212
|
+
[lines]="item.lines"
|
|
213
|
+
[button]="item.clickable"
|
|
214
|
+
[disabled]="item.disabled"
|
|
215
|
+
(click)="clickHandler(item.token)"
|
|
216
|
+
>
|
|
217
|
+
@if (item.unreadIndicator) {
|
|
218
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
219
|
+
<div class="unread-indicator"></div>
|
|
220
|
+
</div>
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
224
|
+
<h2>{{ item.text }}</h2>
|
|
225
|
+
|
|
226
|
+
@if (item.comments) {
|
|
227
|
+
<ion-note color="medium"> {{ item.comments }} </ion-note>
|
|
228
|
+
}
|
|
229
|
+
</ion-label>
|
|
230
|
+
|
|
231
|
+
@if (item.endNote) {
|
|
232
|
+
<ion-note slot="end">{{ item.endNote }}</ion-note>
|
|
233
|
+
}
|
|
234
|
+
</ion-item>
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@if (item.mode == 'actionable') {
|
|
238
|
+
<ion-item [lines]="item.lines" [button]="item.clickable" [disabled]="item.disabled">
|
|
239
|
+
@if (item.unreadIndicator) {
|
|
240
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
241
|
+
<div class="unread-indicator"></div>
|
|
242
|
+
</div>
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
246
|
+
<h2>{{ item.text }}</h2>
|
|
247
|
+
|
|
248
|
+
@if (item.comments) {
|
|
249
|
+
<ion-note color="medium"> {{ item.comments }} </ion-note>
|
|
250
|
+
}
|
|
251
|
+
</ion-label>
|
|
252
|
+
|
|
253
|
+
@if (item.actions) {
|
|
254
|
+
@for (action of item.actions; track action.token) {
|
|
255
|
+
<ion-button
|
|
256
|
+
fill="outline"
|
|
257
|
+
color="dark"
|
|
258
|
+
slot="end"
|
|
259
|
+
[disabled]="action.state === states.WORKING"
|
|
260
|
+
(click)="onActionClickHandler(action.token)"
|
|
261
|
+
>
|
|
262
|
+
@if (action.state !== states.WORKING) {
|
|
263
|
+
@if (action.icon) {
|
|
264
|
+
<ion-icon aria-hidden="true" [name]="action.icon" size="medium" slot="start"></ion-icon>
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
{{ action.description }}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@if (action.state === states.WORKING) {
|
|
271
|
+
<ion-spinner class="action-spinner" name="circular"></ion-spinner>
|
|
272
|
+
}
|
|
273
|
+
</ion-button>
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
</ion-item>
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@if (item.mode == 'route') {
|
|
280
|
+
<ion-item
|
|
281
|
+
[lines]="item.lines"
|
|
282
|
+
[button]="item.clickable"
|
|
283
|
+
[disabled]="item.disabled"
|
|
284
|
+
(click)="clickHandler(item.token)"
|
|
285
|
+
[routerLink]="item.routerLink"
|
|
286
|
+
>
|
|
287
|
+
@if (item.unreadIndicator) {
|
|
288
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
289
|
+
<div class="unread-indicator"></div>
|
|
290
|
+
</div>
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
294
|
+
<h2>{{ item.text }}</h2>
|
|
295
|
+
|
|
296
|
+
@if (item.comments) {
|
|
297
|
+
<ion-note color="medium"> {{ item.comments }} </ion-note>
|
|
298
|
+
}
|
|
299
|
+
</ion-label>
|
|
300
|
+
</ion-item>
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@if (item.mode == 'subtitule') {
|
|
304
|
+
<ion-item
|
|
305
|
+
[lines]="item.lines"
|
|
306
|
+
[button]="item.clickable"
|
|
307
|
+
[disabled]="item.disabled"
|
|
308
|
+
(click)="clickHandler(item.token)"
|
|
309
|
+
>
|
|
310
|
+
@if (item.unreadIndicator) {
|
|
311
|
+
<div class="unread-indicator-wrapper" slot="start">
|
|
312
|
+
<div class="unread-indicator"></div>
|
|
313
|
+
</div>
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
<ion-label [ngClass]="{ 'ion-text-nowrap': item.ellipsis }">
|
|
317
|
+
<h1>{{ item.text }}</h1>
|
|
318
|
+
<p>{{ item.subtitle }}</p>
|
|
319
|
+
</ion-label>
|
|
320
|
+
</ion-item>
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
@if (item.mode == 'avatar') {
|
|
324
|
+
<ion-item
|
|
325
|
+
[lines]="item.lines"
|
|
326
|
+
[button]="item.clickable"
|
|
327
|
+
[disabled]="item.disabled"
|
|
328
|
+
(click)="clickHandler(item.token)"
|
|
329
|
+
>
|
|
330
|
+
<ion-avatar aria-hidden="true" slot="start">
|
|
331
|
+
<img alt="" [src]="item.image" />
|
|
332
|
+
</ion-avatar>
|
|
333
|
+
<ion-label>{{ item.text }}</ion-label>
|
|
334
|
+
</ion-item>
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
@if (item.mode == 'icon') {
|
|
338
|
+
<ion-item
|
|
339
|
+
[lines]="item.lines"
|
|
340
|
+
[button]="item.clickable"
|
|
341
|
+
[disabled]="item.disabled"
|
|
342
|
+
(click)="clickHandler(item.token)"
|
|
343
|
+
>
|
|
344
|
+
<ion-icon aria-hidden="true" [name]="item.icon" size="medium" slot="start"></ion-icon>
|
|
345
|
+
<ion-label>{{ item.text }}</ion-label>
|
|
346
|
+
</ion-item>
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
</ion-list>
|
|
350
|
+
`, styles: ["ion-label{font-family:var(--ion-default-font),Arial,sans-serif}ion-note{font-family:var(--ion-default-font),Arial,sans-serif;font-weight:400}ion-button{font-family:var(--ion-default-font),Arial,sans-serif}.shadowed{box-shadow:.1875rem .625rem .5rem #1219541a}.bordered{border:1px solid}.unread-indicator{background:var(--ion-color-primary);width:.625rem;height:.625rem;border-radius:100%;position:absolute;inset-inline-start:.75rem;top:.75rem}.action-spinner{width:3.125rem;height:1rem}\n"] }]
|
|
351
|
+
}], ctorParameters: () => [{ type: i1.IconService }], propDecorators: { props: [{
|
|
352
|
+
type: Input
|
|
353
|
+
}], onClick: [{
|
|
354
|
+
type: Output
|
|
355
|
+
}], onActionClick: [{
|
|
356
|
+
type: Output
|
|
357
|
+
}] } });
|
|
358
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRlY2gtY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvb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gIDxkaXYgY2xhc3M9XCJ1bnJlYWQtaW5kaWNhdG9yLXdyYXBwZXJcIiBzbG90PVwic3RhcnRcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidW5yZWFkLWluZGljYXRvclwiPjwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgPGlvbi1sYWJlbCBbbmdDbGFzc109XCJ7ICdpb24tdGV4dC1ub3dyYXAnOiBpdGVtLmVsbGlwc2lzIH1cIj5cbiAgICAgICAgICAgICAgPGgyPnt7IGl0ZW0udGV4dCB9fTwvaDI+XG5cbiAgICAgICAgICAgICAgQGlmIChpdGVtLmNvbW1lbnRzKSB7XG4gICAgICAgICAgICAgICAgPGlvbi1ub3RlIGNvbG9yPVwibWVkaXVtXCI+IHt7IGl0ZW0uY29tbWVudHMgfX0gPC9pb24tbm90ZT5cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9pb24tbGFiZWw+XG5cbiAgICAgICAgICAgIEBpZiAoaXRlbS5hY3Rpb25zKSB7XG4gICAgICAgICAgICAgIEBmb3IgKGFjdGlvbiBvZiBpdGVtLmFjdGlvbnM7IHRyYWNrIGFjdGlvbi50b2tlbikge1xuICAgICAgICAgICAgICAgIDxpb24tYnV0dG9uXG4gICAgICAgICAgICAgICAgICBmaWxsPVwib3V0bGluZVwiXG4gICAgICAgICAgICAgICAgICBjb2xvcj1cImRhcmtcIlxuICAgICAgICAgICAgICAgICAgc2xvdD1cImVuZFwiXG4gICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiYWN0aW9uLnN0YXRlID09PSBzdGF0ZXMuV09SS0lOR1wiXG4gICAgICAgICAgICAgICAgICAoY2xpY2spPVwib25BY3Rpb25DbGlja0hhbmRsZXIoYWN0aW9uLnRva2VuKVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgQGlmIChhY3Rpb24uc3RhdGUgIT09IHN0YXRlcy5XT1JLSU5HKSB7XG4gICAgICAgICAgICAgICAgICAgIEBpZiAoYWN0aW9uLmljb24pIHtcbiAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gYXJpYS1oaWRkZW49XCJ0cnVlXCIgW25hbWVdPVwiYWN0aW9uLmljb25cIiBzaXplPVwibWVkaXVtXCIgc2xvdD1cInN0YXJ0XCI+PC9pb24taWNvbj5cbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIHt7IGFjdGlvbi5kZXNjcmlwdGlvbiB9fVxuICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICBAaWYgKGFjdGlvbi5zdGF0ZSA9PT0gc3RhdGVzLldPUktJTkcpIHtcbiAgICAgICAgICAgICAgICAgICAgPGlvbi1zcGlubmVyIGNsYXNzPVwiYWN0aW9uLXNwaW5uZXJcIiBuYW1lPVwiY2lyY3VsYXJcIj48L2lvbi1zcGlubmVyPlxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvaW9uLWJ1dHRvbj5cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgIDwvaW9uLWl0ZW0+XG4gICAgICAgIH1cblxuICAgICAgICBAaWYgKGl0ZW0ubW9kZSA9PSAncm91dGUnKSB7XG4gICAgICAgICAgPGlvbi1pdGVtXG4gICAgICAgICAgICBbbGluZXNdPVwiaXRlbS5saW5lc1wiXG4gICAgICAgICAgICBbYnV0dG9uXT1cIml0ZW0uY2xpY2thYmxlXCJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJpdGVtLmRpc2FibGVkXCJcbiAgICAgICAgICAgIChjbGljayk9XCJjbGlja0hhbmRsZXIoaXRlbS50b2tlbilcIlxuICAgICAgICAgICAgW3JvdXRlckxpbmtdPVwiaXRlbS5yb3V0ZXJMaW5rXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICBAaWYgKGl0ZW0udW5yZWFkSW5kaWNhdG9yKSB7XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ1bnJlYWQtaW5kaWNhdG9yLXdyYXBwZXJcIiBzbG90PVwic3RhcnRcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidW5yZWFkLWluZGljYXRvclwiPjwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgPGlvbi1sYWJlbCBbbmdDbGFzc109XCJ7ICdpb24tdGV4dC1ub3dyYXAnOiBpdGVtLmVsbGlwc2lzIH1cIj5cbiAgICAgICAgICAgICAgPGgyPnt7IGl0ZW0udGV4dCB9fTwvaDI+XG5cbiAgICAgICAgICAgICAgQGlmIChpdGVtLmNvbW1lbnRzKSB7XG4gICAgICAgICAgICAgICAgPGlvbi1ub3RlIGNvbG9yPVwibWVkaXVtXCI+IHt7IGl0ZW0uY29tbWVudHMgfX0gPC9pb24tbm90ZT5cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9pb24tbGFiZWw+XG4gICAgICAgICAgPC9pb24taXRlbT5cbiAgICAgICAgfVxuXG4gICAgICAgIEBpZiAoaXRlbS5tb2RlID09ICdzdWJ0aXR1bGUnKSB7XG4gICAgICAgICAgPGlvbi1pdGVtXG4gICAgICAgICAgICBbbGluZXNdPVwiaXRlbS5saW5lc1wiXG4gICAgICAgICAgICBbYnV0dG9uXT1cIml0ZW0uY2xpY2thYmxlXCJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJpdGVtLmRpc2FibGVkXCJcbiAgICAgICAgICAgIChjbGljayk9XCJjbGlja0hhbmRsZXIoaXRlbS50b2tlbilcIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIEBpZiAoaXRlbS51bnJlYWRJbmRpY2F0b3IpIHtcbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInVucmVhZC1pbmRpY2F0b3Itd3JhcHBlclwiIHNsb3Q9XCJzdGFydFwiPlxuICAgIC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IGltYWdlPzogc3RyaW5nO1xuICBpY29uPzogc3RyaW5nO1xuICBjb21tZW50cz86IHN0cmluZztcbiAgc3VidGl0bGU/OiBzdHJpbmc7XG4gIGVuZE5vdGU/OiBzdHJpbmc7XG4gIGFjdGlvbnM/OiBJdGVtQWN0aW9uW107XG5cbiAgY29sb3I/OiBzdHJpbmc7XG4gIGxpbmVzPzogJ2Z1bGwnIHwgJ2luc2V0JyB8ICdub25lJztcbiAgYnV0dG9uPzogYm9vbGVhbjtcbiAgZGV0YWlsPzogYm9vbGVhbjtcbiAgY2xpY2thYmxlPzogYm9vbGVhbjtcbiAgZGV0YWlsSWNvbj86IHN0cmluZztcbiAgZGlzYWJsZWQ/OiBib29sZWFuO1xuICBlbGxpcHNpcz86IGJvb2xlYW47XG4gIGhyZWY/OiBzdHJpbmc7XG4gIHJvdXRlckxpbms/OiBzdHJpbmcgfCBhbnlbXTtcbiAgdW5yZWFkSW5kaWNhdG9yPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBMaXN0TWV0YWRhdGEge1xuICBjb2xvcjogQ29sb3I7XG4gIGJvcmRlcmVkOiBib29sZWFuO1xuICByb3VuZGVkOiBib29sZWFuO1xuICBzaGFkb3dlZDogYm9vbGVhbjtcbiAgdGl0bGU6IHN0cmluZztcbiAgaXRlbXM6IEl0ZW1NZXRhZGF0YVtdO1xufVxuIl19
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { ImageComponent } from '../../atoms/image/image.component';
|
|
3
|
+
import { BannerComponent } from '../banner/banner.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class NoContentComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.onClick = new EventEmitter();
|
|
8
|
+
}
|
|
9
|
+
ngOnInit() { }
|
|
10
|
+
onClickHandler(token) {
|
|
11
|
+
this.onClick.emit(token);
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NoContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NoContentComponent, isStandalone: true, selector: "val-no-content", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: `
|
|
15
|
+
@if (props.topContent) {
|
|
16
|
+
<div>
|
|
17
|
+
<val-banner [props]="props.topContent" (onClick)="onClickHandler($event)"></val-banner>
|
|
18
|
+
</div>
|
|
19
|
+
}
|
|
20
|
+
<val-image class="image-container" [props]="props.image"></val-image>
|
|
21
|
+
<div>
|
|
22
|
+
<val-banner [props]="props.bottomContent" (onClick)="onClickHandler($event)"></val-banner>
|
|
23
|
+
</div>
|
|
24
|
+
`, isInline: true, styles: [".image-container{display:flex;justify-content:center;margin-bottom:1rem}val-image .image{margin:0 auto}\n"], dependencies: [{ kind: "component", type: ImageComponent, selector: "val-image", inputs: ["props"] }, { kind: "component", type: BannerComponent, selector: "val-banner", inputs: ["props"], outputs: ["onClick", "onClose"] }] }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NoContentComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: 'val-no-content', standalone: true, imports: [ImageComponent, BannerComponent], template: `
|
|
29
|
+
@if (props.topContent) {
|
|
30
|
+
<div>
|
|
31
|
+
<val-banner [props]="props.topContent" (onClick)="onClickHandler($event)"></val-banner>
|
|
32
|
+
</div>
|
|
33
|
+
}
|
|
34
|
+
<val-image class="image-container" [props]="props.image"></val-image>
|
|
35
|
+
<div>
|
|
36
|
+
<val-banner [props]="props.bottomContent" (onClick)="onClickHandler($event)"></val-banner>
|
|
37
|
+
</div>
|
|
38
|
+
`, styles: [".image-container{display:flex;justify-content:center;margin-bottom:1rem}val-image .image{margin:0 auto}\n"] }]
|
|
39
|
+
}], ctorParameters: () => [], propDecorators: { props: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], onClick: [{
|
|
42
|
+
type: Output
|
|
43
|
+
}] } });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL29yZ2FuaXNtcy9uby1jb250ZW50L25vLWNvbnRlbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQ25FLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7QUFvQjdELE1BQU0sT0FBTyxrQkFBa0I7SUFPN0I7UUFGQSxZQUFPLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztJQUV0QixDQUFDO0lBRWhCLFFBQVEsS0FBSSxDQUFDO0lBRWIsY0FBYyxDQUFDLEtBQWE7UUFDMUIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDM0IsQ0FBQzsrR0FiVSxrQkFBa0I7bUdBQWxCLGtCQUFrQix1SUFibkI7Ozs7Ozs7Ozs7R0FVVCxtTEFYUyxjQUFjLHlFQUFFLGVBQWU7OzRGQWM5QixrQkFBa0I7a0JBakI5QixTQUFTOytCQUNFLGdCQUFnQixjQUNkLElBQUks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FkYXRhO1xuICB0b3BDb250ZW50PzogQmFubmVyTWV0YWRhdGE7XG4gIGJvdHRvbUNvbnRlbnQ6IEJhbm5lck1ldGFkYXRhO1xufTtcbiJdfQ==
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
|
+
import { IonButton, IonButtons, IonIcon, IonText, IonTitle, IonToolbar } from '@ionic/angular/standalone';
|
|
4
|
+
import { addIcons } from 'ionicons';
|
|
5
|
+
import { chevronBackOutline } from 'ionicons/icons';
|
|
6
|
+
import { AvatarComponent } from '../../atoms/avatar/avatar.component';
|
|
7
|
+
import { ImageComponent } from '../../atoms/image/image.component';
|
|
8
|
+
import { ToolbarActionType } from '../../types';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@ionic/angular";
|
|
11
|
+
import * as i2 from "@angular/common";
|
|
12
|
+
export class ToolbarComponent {
|
|
13
|
+
constructor(navCtrl) {
|
|
14
|
+
this.navCtrl = navCtrl;
|
|
15
|
+
this.onClick = new EventEmitter();
|
|
16
|
+
this.actionTypes = ToolbarActionType;
|
|
17
|
+
addIcons({ chevronBackOutline });
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() { }
|
|
20
|
+
goBack() {
|
|
21
|
+
this.navCtrl.back();
|
|
22
|
+
}
|
|
23
|
+
rightActions() {
|
|
24
|
+
return this.props.actions.filter(x => x.position === 'right');
|
|
25
|
+
}
|
|
26
|
+
leftActions() {
|
|
27
|
+
return this.props.actions.filter(x => x.position === 'left');
|
|
28
|
+
}
|
|
29
|
+
someInRight() {
|
|
30
|
+
return !!this.props.actions.find(x => x.position === 'right');
|
|
31
|
+
}
|
|
32
|
+
someInLeft() {
|
|
33
|
+
return !!this.props.actions.find(x => x.position === 'left');
|
|
34
|
+
}
|
|
35
|
+
clickHandler(token) {
|
|
36
|
+
this.onClick.emit(token);
|
|
37
|
+
}
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.NavController }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ToolbarComponent, isStandalone: true, selector: "val-toolbar", inputs: { props: "props" }, outputs: { onClick: "onClick" }, ngImport: i0, template: `
|
|
40
|
+
<ion-toolbar [color]="props.color" [class.background]="props.color === 'background'">
|
|
41
|
+
<ng-container *ngIf="props.withBack">
|
|
42
|
+
<ion-buttons class="left-buttons" slot="start" *ngIf="props.withBack">
|
|
43
|
+
<ion-button fill="clear" (click)="goBack()" [color]="props.textColor">
|
|
44
|
+
<ion-icon name="chevron-back-outline" [slot]="props.backText ? 'start' : 'icon-only'"></ion-icon>
|
|
45
|
+
<ion-text *ngIf="props.backText">{{ props.backText }}</ion-text>
|
|
46
|
+
</ion-button>
|
|
47
|
+
</ion-buttons>
|
|
48
|
+
</ng-container>
|
|
49
|
+
<ng-container *ngIf="props.withActions">
|
|
50
|
+
<ion-buttons slot="end" *ngIf="someInRight()">
|
|
51
|
+
<ng-container *ngFor="let action of rightActions()">
|
|
52
|
+
<ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
|
|
53
|
+
<ion-icon slot="icon-only" [name]="action.description" color="dark"></ion-icon>
|
|
54
|
+
</ion-button>
|
|
55
|
+
<val-avatar
|
|
56
|
+
*ngIf="action.type === actionTypes.AVATAR"
|
|
57
|
+
[props]="{ size: 'small', image: action.description, default: '' }"
|
|
58
|
+
(onClick)="clickHandler(action.token)"
|
|
59
|
+
></val-avatar>
|
|
60
|
+
<val-image
|
|
61
|
+
*ngIf="action.type === actionTypes.IMAGE"
|
|
62
|
+
[props]="action.image"
|
|
63
|
+
(click)="clickHandler(action.token)"
|
|
64
|
+
></val-image>
|
|
65
|
+
<ion-button *ngIf="action.type === actionTypes.BUTTON" (click)="clickHandler(action.token)">{{
|
|
66
|
+
action.description
|
|
67
|
+
}}</ion-button>
|
|
68
|
+
</ng-container>
|
|
69
|
+
</ion-buttons>
|
|
70
|
+
<ion-buttons slot="start" *ngIf="someInLeft()">
|
|
71
|
+
<ng-container *ngFor="let action of leftActions()">
|
|
72
|
+
<ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
|
|
73
|
+
<ion-icon slot="icon-only" [name]="action.description" color="dark"></ion-icon>
|
|
74
|
+
</ion-button>
|
|
75
|
+
<val-avatar
|
|
76
|
+
*ngIf="action.type === actionTypes.AVATAR"
|
|
77
|
+
[props]="{ size: 'small', image: action.description, default: '' }"
|
|
78
|
+
(onClick)="clickHandler(action.token)"
|
|
79
|
+
></val-avatar>
|
|
80
|
+
<val-image
|
|
81
|
+
*ngIf="action.type === actionTypes.IMAGE"
|
|
82
|
+
[props]="action.image"
|
|
83
|
+
(click)="clickHandler(action.token)"
|
|
84
|
+
></val-image>
|
|
85
|
+
<ion-button *ngIf="action.type === actionTypes.BUTTON" (click)="clickHandler(action.token)">{{
|
|
86
|
+
action.description
|
|
87
|
+
}}</ion-button>
|
|
88
|
+
</ng-container>
|
|
89
|
+
</ion-buttons>
|
|
90
|
+
</ng-container>
|
|
91
|
+
<ion-title *ngIf="props.title" [color]="props.textColor">{{ props.title }}</ion-title>
|
|
92
|
+
<!-- experimental -->
|
|
93
|
+
<ng-content select="[toolbar-bottom]"></ng-content>
|
|
94
|
+
</ion-toolbar>
|
|
95
|
+
`, isInline: true, styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}.left-buttons{margin-left:-1rem}.background{background:var(--ion-background-color)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: AvatarComponent, selector: "val-avatar", inputs: ["props"], outputs: ["onClick"] }, { kind: "component", type: ImageComponent, selector: "val-image", inputs: ["props"] }] }); }
|
|
96
|
+
}
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
98
|
+
type: Component,
|
|
99
|
+
args: [{ selector: 'val-toolbar', standalone: true, imports: [
|
|
100
|
+
CommonModule,
|
|
101
|
+
IonToolbar,
|
|
102
|
+
IonButtons,
|
|
103
|
+
IonButton,
|
|
104
|
+
IonIcon,
|
|
105
|
+
IonText,
|
|
106
|
+
IonTitle,
|
|
107
|
+
AvatarComponent,
|
|
108
|
+
ImageComponent,
|
|
109
|
+
], template: `
|
|
110
|
+
<ion-toolbar [color]="props.color" [class.background]="props.color === 'background'">
|
|
111
|
+
<ng-container *ngIf="props.withBack">
|
|
112
|
+
<ion-buttons class="left-buttons" slot="start" *ngIf="props.withBack">
|
|
113
|
+
<ion-button fill="clear" (click)="goBack()" [color]="props.textColor">
|
|
114
|
+
<ion-icon name="chevron-back-outline" [slot]="props.backText ? 'start' : 'icon-only'"></ion-icon>
|
|
115
|
+
<ion-text *ngIf="props.backText">{{ props.backText }}</ion-text>
|
|
116
|
+
</ion-button>
|
|
117
|
+
</ion-buttons>
|
|
118
|
+
</ng-container>
|
|
119
|
+
<ng-container *ngIf="props.withActions">
|
|
120
|
+
<ion-buttons slot="end" *ngIf="someInRight()">
|
|
121
|
+
<ng-container *ngFor="let action of rightActions()">
|
|
122
|
+
<ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
|
|
123
|
+
<ion-icon slot="icon-only" [name]="action.description" color="dark"></ion-icon>
|
|
124
|
+
</ion-button>
|
|
125
|
+
<val-avatar
|
|
126
|
+
*ngIf="action.type === actionTypes.AVATAR"
|
|
127
|
+
[props]="{ size: 'small', image: action.description, default: '' }"
|
|
128
|
+
(onClick)="clickHandler(action.token)"
|
|
129
|
+
></val-avatar>
|
|
130
|
+
<val-image
|
|
131
|
+
*ngIf="action.type === actionTypes.IMAGE"
|
|
132
|
+
[props]="action.image"
|
|
133
|
+
(click)="clickHandler(action.token)"
|
|
134
|
+
></val-image>
|
|
135
|
+
<ion-button *ngIf="action.type === actionTypes.BUTTON" (click)="clickHandler(action.token)">{{
|
|
136
|
+
action.description
|
|
137
|
+
}}</ion-button>
|
|
138
|
+
</ng-container>
|
|
139
|
+
</ion-buttons>
|
|
140
|
+
<ion-buttons slot="start" *ngIf="someInLeft()">
|
|
141
|
+
<ng-container *ngFor="let action of leftActions()">
|
|
142
|
+
<ion-button *ngIf="action.type === actionTypes.ICON" (click)="clickHandler(action.token)">
|
|
143
|
+
<ion-icon slot="icon-only" [name]="action.description" color="dark"></ion-icon>
|
|
144
|
+
</ion-button>
|
|
145
|
+
<val-avatar
|
|
146
|
+
*ngIf="action.type === actionTypes.AVATAR"
|
|
147
|
+
[props]="{ size: 'small', image: action.description, default: '' }"
|
|
148
|
+
(onClick)="clickHandler(action.token)"
|
|
149
|
+
></val-avatar>
|
|
150
|
+
<val-image
|
|
151
|
+
*ngIf="action.type === actionTypes.IMAGE"
|
|
152
|
+
[props]="action.image"
|
|
153
|
+
(click)="clickHandler(action.token)"
|
|
154
|
+
></val-image>
|
|
155
|
+
<ion-button *ngIf="action.type === actionTypes.BUTTON" (click)="clickHandler(action.token)">{{
|
|
156
|
+
action.description
|
|
157
|
+
}}</ion-button>
|
|
158
|
+
</ng-container>
|
|
159
|
+
</ion-buttons>
|
|
160
|
+
</ng-container>
|
|
161
|
+
<ion-title *ngIf="props.title" [color]="props.textColor">{{ props.title }}</ion-title>
|
|
162
|
+
<!-- experimental -->
|
|
163
|
+
<ng-content select="[toolbar-bottom]"></ng-content>
|
|
164
|
+
</ion-toolbar>
|
|
165
|
+
`, styles: ["ion-button{font-family:var(--ion-default-font),Arial,sans-serif}.left-buttons{margin-left:-1rem}.background{background:var(--ion-background-color)}\n"] }]
|
|
166
|
+
}], ctorParameters: () => [{ type: i1.NavController }], propDecorators: { props: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], onClick: [{
|
|
169
|
+
type: Output
|
|
170
|
+
}] } });
|
|
171
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0ZWNoLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL29yZ2FuaXNtcy90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRS9FLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE9BQU8sRUFBRSxPQUFPLEVBQUUsUUFBUSxFQUFFLFVBQVUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzFHLE9B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gICAgICAgICAgICBhY3Rpb24uZGVzY3JpcHRpb25cbiAgICAgICAgICAgIH19PC9pb24tYnV0dG9uPlxuICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L2lvbi1idXR0b25zPlxuICAgICAgICA8aW9uLWJ1dHRvbnMgc2xvdD1cInN0YXJ0XCIgKm5nSWY9XCJzb21lSW5MZWZ0KClcIj5cbiAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBhY3Rpb24gb2YgbGVmdEFjdGlvbnMoKVwiPlxuICAgICAgICAgICAgPGlvbi1idXR0b24gKm5nSWY9XCJhY3Rpb24udHlwZSA9PT0gYWN0aW9uVHlwZXMuSUNPTlwiIChjbGljayk9XCJjbGlja0hhbmRsZXIoYWN0aW9uLnRva2VuKVwiPlxuICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cImljb24tb25seVwiIFtuYW1lXT1cImFjdGlvbi5kZXNjcmlwdGlvblwiIGNvbG9yPVwiZGFya1wiPjwvaW9uLWljb24+XG4gICAgICAgICAgICA8L2lvbi1idXR0b24+XG4gICAgICAgICAgICA8dmFsLWF2YXRhclxuICAgICAgICAgICAgICAqbmdJZj1cImFjdGlvbi50eXBlID09PSBhY3Rpb25UeXBlcy5BVkFUQVJcIlxuICAgICAgICAgICAgICBbcHJvcHNdPVwieyBzaXplOiAnc21hbGwnLCBpbWFnZTogYWN0aW9uLmRlc2NyaXB0aW9uLCBkZWZhdWx0OiAnJyB9XCJcbiAgICAgICAgICAgICAgKG9uQ2xpY2spPVwiY2xpY2tIYW5kbGVyKGFjdGlvbi50b2tlbilcIlxuICAgICAgICAgICAgPjwvdmFsLWF2YXRhcj5cbiAgICAgICAgICAgIDx2YWwtaW1hZ2VcbiAgICAgICAgICAgICAgKm5nSWY9XCJhY3Rpb24udHlwZSA9PT0gYWN0aW9uVHlwZXMuSU1BR0VcIlxuICAgICAgICAgICAgICBbcHJvcHNdPVwiYWN0aW9uLmltYWdlXCJcbiA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