novo-elements 13.1.0 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addons/ckeditor/index.d.ts +3 -1
- package/elements/agenda/common/AgendaDateChange.scss +3 -3
- package/elements/agenda/common/AgendaHoursLayout.scss +2 -2
- package/elements/agenda/day/AgendaDayView.scss +3 -3
- package/elements/agenda/month/AgendaMonthView.scss +8 -8
- package/elements/agenda/week/AgendaWeekView.scss +4 -4
- package/elements/aside/aside.component.scss +17 -2
- package/elements/aside/index.d.ts +16 -8
- package/elements/autocomplete/autocomplete.component.scss +4 -0
- package/elements/avatar/Avatar.scss +2 -2
- package/elements/breadcrumbs/Breadcrumb.scss +5 -0
- package/elements/breadcrumbs/breadcrumb-item/BreadcrumbItem.scss +3 -3
- package/elements/button/styles/button-dialogue.scss +6 -5
- package/elements/button/styles/button-fab.scss +1 -1
- package/elements/button/styles/button-icon.scss +5 -5
- package/elements/button/styles/button-other.scss +5 -5
- package/elements/button/styles/button-primary.scss +11 -9
- package/elements/button/styles/button-secondary.scss +9 -9
- package/elements/button/styles/button-standard.scss +2 -2
- package/elements/button/styles/button.scss +18 -12
- package/elements/calendar/calendar.component.scss +13 -13
- package/elements/calendar/month-select/month-select.component.scss +3 -3
- package/elements/calendar/month-view/month-view.component.scss +7 -7
- package/elements/calendar/year-select/year-select.component.scss +3 -3
- package/elements/card/Card.scss +47 -12
- package/elements/card/CardContent.scss +1 -1
- package/elements/card/CardFooter.scss +2 -2
- package/elements/card/CardHeader.scss +2 -2
- package/elements/category-dropdown/CategoryDropdown.scss +9 -9
- package/elements/checkbox/CheckList.scss +3 -3
- package/elements/checkbox/Checkbox.scss +3 -3
- package/elements/chips/Chip.scss +17 -17
- package/elements/chips/Chips.scss +9 -9
- package/elements/chips/RowChips.scss +2 -2
- package/elements/chips/index.d.ts +3 -1
- package/elements/color-picker/color-picker.component.scss +1 -1
- package/elements/common/index.d.ts +11 -3
- package/elements/common/option/option.component.scss +14 -19
- package/elements/common/selection/pseudo-checkbox/pseudo-checkbox.component.scss +2 -2
- package/elements/common/typography/text.mixins.scss +19 -19
- package/elements/data-table/data-table.component.scss +32 -23
- package/elements/data-table/index.d.ts +2 -1
- package/elements/data-table/pagination/data-table-pagination.component.scss +6 -6
- package/elements/date-picker/DatePicker.scss +23 -18
- package/elements/date-picker/DatePickerInput.scss +5 -5
- package/elements/date-picker/DateRangeInput.scss +1 -1
- package/elements/date-picker/MultiDateInput.scss +2 -2
- package/elements/date-time-picker/_DateTimePicker.scss +5 -5
- package/elements/divider/divider.component.scss +3 -3
- package/elements/dropdown/Dropdown.scss +4 -4
- package/elements/expansion/_expansion-theme.scss +1 -1
- package/elements/expansion/expansion-panel.scss +1 -0
- package/elements/field/error/error.scss +1 -1
- package/elements/field/field-fill.scss +4 -4
- package/elements/field/field-list.scss +4 -4
- package/elements/field/field-outline.scss +6 -6
- package/elements/field/field-standard.scss +3 -3
- package/elements/field/field.scss +14 -1
- package/elements/form/ControlGroup.scss +7 -7
- package/elements/form/Form.scss +40 -40
- package/elements/form/extras/address/Address.scss +6 -6
- package/elements/form/extras/file/FileInput.scss +4 -4
- package/elements/form/fieldset-header.scss +3 -3
- package/elements/form/index.d.ts +1 -1
- package/elements/header/Header.scss +17 -10
- package/elements/icon/Icon.scss +1 -1
- package/elements/layout/collapsible-nav/collapsible-nav.component.scss +20 -0
- package/elements/layout/index.d.ts +38 -5
- package/elements/list/list-item-content.scss +1 -1
- package/elements/list/list-item-header-avatar.scss +1 -1
- package/elements/list/list-item.scss +6 -6
- package/elements/loading/NovoSpinner.scss +1 -1
- package/elements/menu/menu-content.component.scss +7 -7
- package/elements/modal/modal.component.scss +16 -6
- package/elements/modal/notification.component.scss +26 -21
- package/elements/multi-picker/_MultiPicker.scss +2 -2
- package/elements/picker/Picker.scss +13 -13
- package/elements/picker/extras/grouped-multi-picker-results/GroupedMultiPickerResults.scss +14 -14
- package/elements/picker/extras/mixed-multi-picker-results/MixedMultiPickerResults.scss +17 -17
- package/elements/picker/extras/picker-results/PickerResult.scss +1 -1
- package/elements/picker/extras/picker-results/PickerResults.scss +25 -21
- package/elements/picker/extras/skills-picker-results/SkillsSpecialtyPickerResults.scss +3 -3
- package/elements/places/index.d.ts +24 -14
- package/elements/places/places.component.scss +3 -3
- package/elements/popover/PopOver.scss +2 -1
- package/elements/progress/Progress.scss +2 -2
- package/elements/progress/ProgressBar.scss +13 -3
- package/elements/query-builder/condition-builder/condition-builder.component.scss +1 -20
- package/elements/query-builder/index.d.ts +67 -35
- package/elements/radio/Radio.scss +8 -8
- package/elements/radio/radio-group.scss +2 -2
- package/elements/search/SearchBox.scss +8 -9
- package/elements/select/Select.scss +14 -14
- package/elements/select-search/select-search.component.scss +1 -1
- package/elements/simple-table/PaginationOld.scss +5 -5
- package/elements/simple-table/table.scss +15 -10
- package/elements/stepper/step-header.component.scss +9 -9
- package/elements/stepper/stepper.component.scss +25 -7
- package/elements/switch/Switch.scss +15 -7
- package/elements/tabbed-group-picker/TabbedGroupPicker.scss +17 -8
- package/elements/tabbed-group-picker/index.d.ts +27 -14
- package/elements/tabs/tab-nav.scss +3 -3
- package/elements/tabs/tab.scss +38 -5
- package/elements/tiles/Tiles.scss +10 -5
- package/elements/time-picker/TimePicker.scss +4 -4
- package/elements/time-picker/TimePickerInput.scss +1 -1
- package/elements/tip-well/TipWell.scss +5 -6
- package/elements/toast/Toast.scss +19 -18
- package/elements/toolbar/toolbar.component.scss +9 -6
- package/elements/tooltip/Tooltip.scss +6 -1
- package/elements/value/Value.scss +5 -4
- package/fesm2022/novo-elements-addons-ckeditor.mjs +22 -12
- package/fesm2022/novo-elements-addons-ckeditor.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-agenda.mjs +8 -8
- package/fesm2022/novo-elements-elements-agenda.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-aside.mjs +24 -9
- package/fesm2022/novo-elements-elements-aside.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-autocomplete.mjs +2 -2
- package/fesm2022/novo-elements-elements-autocomplete.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-avatar.mjs +4 -4
- package/fesm2022/novo-elements-elements-avatar.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-breadcrumbs.mjs +4 -4
- package/fesm2022/novo-elements-elements-breadcrumbs.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-button.mjs +2 -2
- package/fesm2022/novo-elements-elements-button.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-calendar.mjs +8 -8
- package/fesm2022/novo-elements-elements-calendar.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-card.mjs +8 -8
- package/fesm2022/novo-elements-elements-card.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-category-dropdown.mjs +2 -2
- package/fesm2022/novo-elements-elements-category-dropdown.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-checkbox.mjs +4 -4
- package/fesm2022/novo-elements-elements-checkbox.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-chips.mjs +12 -8
- package/fesm2022/novo-elements-elements-chips.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-color-picker.mjs +4 -4
- package/fesm2022/novo-elements-elements-color-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-common.mjs +61 -21
- package/fesm2022/novo-elements-elements-common.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-data-table.mjs +4 -4
- package/fesm2022/novo-elements-elements-data-table.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-date-picker.mjs +8 -8
- package/fesm2022/novo-elements-elements-date-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-date-time-picker.mjs +2 -2
- package/fesm2022/novo-elements-elements-date-time-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-divider.mjs +2 -2
- package/fesm2022/novo-elements-elements-divider.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-dropdown.mjs +2 -2
- package/fesm2022/novo-elements-elements-dropdown.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-expansion.mjs +2 -2
- package/fesm2022/novo-elements-elements-expansion.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-field.mjs +6 -6
- package/fesm2022/novo-elements-elements-field.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-form.mjs +17 -15
- package/fesm2022/novo-elements-elements-form.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-header.mjs +2 -2
- package/fesm2022/novo-elements-elements-header.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-icon.mjs +2 -2
- package/fesm2022/novo-elements-elements-icon.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-layout.mjs +90 -9
- package/fesm2022/novo-elements-elements-layout.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-list.mjs +10 -10
- package/fesm2022/novo-elements-elements-list.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-loading.mjs +2 -2
- package/fesm2022/novo-elements-elements-loading.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-menu.mjs +2 -2
- package/fesm2022/novo-elements-elements-menu.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-modal.mjs +4 -4
- package/fesm2022/novo-elements-elements-modal.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-multi-picker.mjs +2 -2
- package/fesm2022/novo-elements-elements-multi-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-picker.mjs +14 -14
- package/fesm2022/novo-elements-elements-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-places.mjs +195 -187
- package/fesm2022/novo-elements-elements-places.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-popover.mjs +2 -2
- package/fesm2022/novo-elements-elements-popover.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-progress.mjs +4 -4
- package/fesm2022/novo-elements-elements-progress.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-query-builder.mjs +67 -19
- package/fesm2022/novo-elements-elements-query-builder.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-radio.mjs +4 -4
- package/fesm2022/novo-elements-elements-radio.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-search.mjs +2 -2
- package/fesm2022/novo-elements-elements-search.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-select.mjs +2 -2
- package/fesm2022/novo-elements-elements-select.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-simple-table.mjs +6 -6
- package/fesm2022/novo-elements-elements-simple-table.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-stepper.mjs +8 -8
- package/fesm2022/novo-elements-elements-stepper.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-switch.mjs +2 -2
- package/fesm2022/novo-elements-elements-switch.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-tabbed-group-picker.mjs +70 -10
- package/fesm2022/novo-elements-elements-tabbed-group-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-tabs.mjs +6 -6
- package/fesm2022/novo-elements-elements-tabs.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-tiles.mjs +2 -2
- package/fesm2022/novo-elements-elements-tiles.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-time-picker.mjs +4 -4
- package/fesm2022/novo-elements-elements-time-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-tip-well.mjs +2 -2
- package/fesm2022/novo-elements-elements-tip-well.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-toast.mjs +2 -2
- package/fesm2022/novo-elements-elements-toast.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-toolbar.mjs +2 -2
- package/fesm2022/novo-elements-elements-toolbar.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-tooltip.mjs +2 -2
- package/fesm2022/novo-elements-elements-tooltip.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-value.mjs +2 -2
- package/fesm2022/novo-elements-elements-value.mjs.map +1 -1
- package/fesm2022/novo-elements-services.mjs +1 -0
- package/fesm2022/novo-elements-services.mjs.map +1 -1
- package/fesm2022/novo-elements.mjs +14 -0
- package/fesm2022/novo-elements.mjs.map +1 -1
- package/index.d.ts +14 -0
- package/novo-elements.scss +7 -7
- package/package.json +2 -2
- package/services/index.d.ts +1 -0
- package/styles/base.scss +1 -0
- package/styles/content/code.scss +2 -2
- package/styles/content/forms.scss +2 -2
- package/styles/content/misc.scss +3 -3
- package/styles/content/range.scss +3 -3
- package/styles/iconography.scss +3 -3
- package/styles/themes/bh2026.scss +106 -0
- package/styles/themes/dark.scss +6 -1
- package/styles/themes/light.scss +4 -0
- package/styles/typography.scss +3 -3
- package/styles/variables.scss +6 -6
|
@@ -128,7 +128,7 @@ class NovoRadioElement {
|
|
|
128
128
|
<ng-content></ng-content>
|
|
129
129
|
</div>
|
|
130
130
|
</label>
|
|
131
|
-
`, isInline: true, styles: [":host-context(novo-radio-group){margin:0}:host-context(novo-radio-group) novo-button{pointer-events:none;border-radius:0!important}:host-context(novo-radio-group) novo-button.unchecked{opacity:.6}:host-context(novo-radio-group) novo-button[theme=icon]{margin-right:0;border:1px solid #4a89dc}:host-context(novo-radio-group):first-child novo-button{border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}:host-context(novo-radio-group):first-child novo-button[theme=icon]{border-right-width:0px!important}:host-context(novo-radio-group):last-child novo-button{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important;border-right-width:1px!important;border-right-style:solid!important}:host-context(novo-radio-group):last-child novo-button[theme=icon]{border-left-width:0px!important}:host-context(novo-radio-group.novo-radio-group-appearance-horizontal) :host:not(:last-child) .novo-radio-button-label{margin-right:1rem}:host{margin-right:10px;position:relative}:host.vertical{display:block}:host>input{position:absolute;z-index:-1;opacity:0}:host>input:focus+label i.bhi-radio-empty,:host>input:focus+label i.bhi-radio-filled{color:#4a89dc}:host>label{cursor:pointer}:host>label .novo-radio-button-label{font-weight:400;color:inherit;font-size:var(--font-size-text);transition:color .2s ease-out,opacity .2s ease-out;vertical-align:middle;display:inline}:host>label .novo-radio-button-label.text-capitalize{text-transform:capitalize}:host>label .novo-radio-button-label.text-uppercase{text-transform:uppercase}:host>label .novo-radio-button-label.text-nowrap{white-space:nowrap}:host>label .novo-radio-button-label.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host>label .novo-radio-button-label.text-size-default{font-size:inherit}:host>label .novo-radio-button-label.text-size-body{font-size:1.3rem}:host>label .novo-radio-button-label.text-size-xs{font-size:1rem}:host>label .novo-radio-button-label.text-size-sm{font-size:1.2rem}:host>label .novo-radio-button-label.text-size-md{font-size:1.3rem}:host>label .novo-radio-button-label.text-size-lg{font-size:1.6rem}:host>label .novo-radio-button-label.text-size-xl{font-size:2rem}:host>label .novo-radio-button-label.text-size-2xl{font-size:2.6rem}:host>label .novo-radio-button-label.text-size-3xl{font-size:3.2rem}:host>label .novo-radio-button-label.text-size-smaller{font-size:.8em}:host>label .novo-radio-button-label.text-size-larger{font-size:1.2em}:host>label .novo-radio-button-label.text-color-black{color:#000}:host>label .novo-radio-button-label.text-color-white{color:#fff}:host>label .novo-radio-button-label.text-color-gray{color:#9e9e9e}:host>label .novo-radio-button-label.text-color-grey{color:#9e9e9e}:host>label .novo-radio-button-label.text-color-offWhite{color:#f7f7f7}:host>label .novo-radio-button-label.text-color-bright{color:#f7f7f7}:host>label .novo-radio-button-label.text-color-light{color:#dbdbdb}:host>label .novo-radio-button-label.text-color-neutral{color:#4f5361}:host>label .novo-radio-button-label.text-color-dark{color:#3d464d}:host>label .novo-radio-button-label.text-color-orange{color:#ff6900}:host>label .novo-radio-button-label.text-color-navigation{color:#202945}:host>label .novo-radio-button-label.text-color-skyBlue{color:#009bdf}:host>label .novo-radio-button-label.text-color-steel{color:#5b6770}:host>label .novo-radio-button-label.text-color-metal{color:#637893}:host>label .novo-radio-button-label.text-color-sand{color:#f4f4f4}:host>label .novo-radio-button-label.text-color-silver{color:#e2e2e2}:host>label .novo-radio-button-label.text-color-stone{color:#bebebe}:host>label .novo-radio-button-label.text-color-ash{color:#a0a0a0}:host>label .novo-radio-button-label.text-color-slate{color:#707070}:host>label .novo-radio-button-label.text-color-onyx{color:#526980}:host>label .novo-radio-button-label.text-color-charcoal{color:#282828}:host>label .novo-radio-button-label.text-color-moonlight{color:#1a242f}:host>label .novo-radio-button-label.text-color-midnight{color:#202945}:host>label .novo-radio-button-label.text-color-darkness{color:#161f27}:host>label .novo-radio-button-label.text-color-navy{color:#0d2d42}:host>label .novo-radio-button-label.text-color-aqua{color:#3bafda}:host>label .novo-radio-button-label.text-color-ocean{color:#4a89dc}:host>label .novo-radio-button-label.text-color-mint{color:#37bc9b}:host>label .novo-radio-button-label.text-color-grass{color:#8cc152}:host>label .novo-radio-button-label.text-color-sunflower{color:#f6b042}:host>label .novo-radio-button-label.text-color-bittersweet{color:#eb6845}:host>label .novo-radio-button-label.text-color-grapefruit{color:#da4453}:host>label .novo-radio-button-label.text-color-carnation{color:#d770ad}:host>label .novo-radio-button-label.text-color-lavender{color:#967adc}:host>label .novo-radio-button-label.text-color-mountain{color:#9678b6}:host>label .novo-radio-button-label.text-color-info{color:#4a89dc}:host>label .novo-radio-button-label.text-color-positive{color:#4a89dc}:host>label .novo-radio-button-label.text-color-success{color:#8cc152}:host>label .novo-radio-button-label.text-color-negative{color:#da4453}:host>label .novo-radio-button-label.text-color-danger{color:#da4453}:host>label .novo-radio-button-label.text-color-error{color:#da4453}:host>label .novo-radio-button-label.text-color-warning{color:#f6b042}:host>label .novo-radio-button-label.text-color-empty{color:#cccdcc}:host>label .novo-radio-button-label.text-color-disabled{color:#bebebe}:host>label .novo-radio-button-label.text-color-background{color:#f7f7f7}:host>label .novo-radio-button-label.text-color-backgroundDark{color:#e2e2e2}:host>label .novo-radio-button-label.text-color-presentation{color:#5b6770}:host>label .novo-radio-button-label.text-color-bullhorn{color:#ff6900}:host>label .novo-radio-button-label.text-color-pulse{color:#3bafda}:host>label .novo-radio-button-label.text-color-company{color:#39d}:host>label .novo-radio-button-label.text-color-candidate{color:#4b7}:host>label .novo-radio-button-label.text-color-lead{color:#a69}:host>label .novo-radio-button-label.text-color-contact{color:#fa4}:host>label .novo-radio-button-label.text-color-clientcontact{color:#fa4}:host>label .novo-radio-button-label.text-color-opportunity{color:#625}:host>label .novo-radio-button-label.text-color-job{color:#b56}:host>label .novo-radio-button-label.text-color-joborder{color:#b56}:host>label .novo-radio-button-label.text-color-submission{color:#a9adbb}:host>label .novo-radio-button-label.text-color-sendout{color:#747884}:host>label .novo-radio-button-label.text-color-placement{color:#0b344f}:host>label .novo-radio-button-label.text-color-note{color:#747884}:host>label .novo-radio-button-label.text-color-contract{color:#454ea0}:host>label .novo-radio-button-label.text-color-task{color:#4f5361}:host>label .novo-radio-button-label.text-color-jobCode{color:#696d79}:host>label .novo-radio-button-label.text-color-earnCode{color:#696d79}:host>label .novo-radio-button-label.text-color-invoiceStatement{color:#696d79}:host>label .novo-radio-button-label.text-color-billableCharge{color:#696d79}:host>label .novo-radio-button-label.text-color-payableCharge{color:#696d79}:host>label .novo-radio-button-label.text-color-user{color:#696d79}:host>label .novo-radio-button-label.text-color-corporateUser{color:#696d79}:host>label .novo-radio-button-label.text-color-distributionList{color:#696d79}:host>label .novo-radio-button-label.text-color-credential{color:#696d79}:host>label .novo-radio-button-label.text-color-person{color:#696d79}:host>label .novo-radio-button-label.margin-before{margin-top:.4rem}:host>label .novo-radio-button-label.margin-after{margin-bottom:.8rem}:host>label .novo-radio-button-label.text-length-small{max-width:40ch}:host>label .novo-radio-button-label.text-length-medium{max-width:55ch}:host>label .novo-radio-button-label.text-length-large{max-width:70ch}:host>label .novo-radio-button-label.text-weight-hairline{font-weight:100}:host>label .novo-radio-button-label.text-weight-thin{font-weight:200}:host>label .novo-radio-button-label.text-weight-light{font-weight:300}:host>label .novo-radio-button-label.text-weight-normal{font-weight:400}:host>label .novo-radio-button-label.text-weight-medium{font-weight:500}:host>label .novo-radio-button-label.text-weight-semibold{font-weight:600}:host>label .novo-radio-button-label.text-weight-bold{font-weight:700}:host>label .novo-radio-button-label.text-weight-extrabold{font-weight:800}:host>label .novo-radio-button-label.text-weight-heavy{font-weight:900}:host>label .novo-radio-button-label.text-weight-lighter{font-weight:lighter}:host>label .novo-radio-button-label.text-weight-bolder{font-weight:bolder}:host>label ::ng-deep i{margin-right:5px;transition:all .2s ease-in-out}:host>label ::ng-deep i.bhi-checkbox-empty,:host>label ::ng-deep i.bhi-radio-empty{color:#d2d2d2}:host>label ::ng-deep i.bhi-checkbox-filled,:host>label ::ng-deep i.bhi-radio-filled{color:#4a89dc}:host>label.disabled{pointer-events:auto;cursor:not-allowed;opacity:.4}:host>label.disabled button[theme].has-icon{opacity:.4}:host novo-button[theme].has-icon{transition:all .1s ease-in-out;color:#4a89dc;background:#fff;opacity:1}:host novo-button[theme].has-icon.checked{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=black]{color:#fff;background:#000}:host novo-button[theme].has-icon.checked[color=white]{color:#fff;background:#fff}:host novo-button[theme].has-icon.checked[color=gray]{color:#fff;background:#9e9e9e}:host novo-button[theme].has-icon.checked[color=grey]{color:#fff;background:#9e9e9e}:host novo-button[theme].has-icon.checked[color=offWhite]{color:#fff;background:#f7f7f7}:host novo-button[theme].has-icon.checked[color=bright]{color:#fff;background:#f7f7f7}:host novo-button[theme].has-icon.checked[color=light]{color:#fff;background:#dbdbdb}:host novo-button[theme].has-icon.checked[color=neutral]{color:#fff;background:#4f5361}:host novo-button[theme].has-icon.checked[color=dark]{color:#fff;background:#3d464d}:host novo-button[theme].has-icon.checked[color=orange]{color:#fff;background:#ff6900}:host novo-button[theme].has-icon.checked[color=navigation]{color:#fff;background:#202945}:host novo-button[theme].has-icon.checked[color=skyBlue]{color:#fff;background:#009bdf}:host novo-button[theme].has-icon.checked[color=steel]{color:#fff;background:#5b6770}:host novo-button[theme].has-icon.checked[color=metal]{color:#fff;background:#637893}:host novo-button[theme].has-icon.checked[color=sand]{color:#fff;background:#f4f4f4}:host novo-button[theme].has-icon.checked[color=silver]{color:#fff;background:#e2e2e2}:host novo-button[theme].has-icon.checked[color=stone]{color:#fff;background:#bebebe}:host novo-button[theme].has-icon.checked[color=ash]{color:#fff;background:#a0a0a0}:host novo-button[theme].has-icon.checked[color=slate]{color:#fff;background:#707070}:host novo-button[theme].has-icon.checked[color=onyx]{color:#fff;background:#526980}:host novo-button[theme].has-icon.checked[color=charcoal]{color:#fff;background:#282828}:host novo-button[theme].has-icon.checked[color=moonlight]{color:#fff;background:#1a242f}:host novo-button[theme].has-icon.checked[color=midnight]{color:#fff;background:#202945}:host novo-button[theme].has-icon.checked[color=darkness]{color:#fff;background:#161f27}:host novo-button[theme].has-icon.checked[color=navy]{color:#fff;background:#0d2d42}:host novo-button[theme].has-icon.checked[color=aqua]{color:#fff;background:#3bafda}:host novo-button[theme].has-icon.checked[color=ocean]{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=mint]{color:#fff;background:#37bc9b}:host novo-button[theme].has-icon.checked[color=grass]{color:#fff;background:#8cc152}:host novo-button[theme].has-icon.checked[color=sunflower]{color:#fff;background:#f6b042}:host novo-button[theme].has-icon.checked[color=bittersweet]{color:#fff;background:#eb6845}:host novo-button[theme].has-icon.checked[color=grapefruit]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=carnation]{color:#fff;background:#d770ad}:host novo-button[theme].has-icon.checked[color=lavender]{color:#fff;background:#967adc}:host novo-button[theme].has-icon.checked[color=mountain]{color:#fff;background:#9678b6}:host novo-button[theme].has-icon.checked[color=info]{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=positive]{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=success]{color:#fff;background:#8cc152}:host novo-button[theme].has-icon.checked[color=negative]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=danger]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=error]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=warning]{color:#fff;background:#f6b042}:host novo-button[theme].has-icon.checked[color=empty]{color:#fff;background:#cccdcc}:host novo-button[theme].has-icon.checked[color=disabled]{color:#fff;background:#bebebe}:host novo-button[theme].has-icon.checked[color=background]{color:#fff;background:#f7f7f7}:host novo-button[theme].has-icon.checked[color=backgroundDark]{color:#fff;background:#e2e2e2}:host novo-button[theme].has-icon.checked[color=presentation]{color:#fff;background:#5b6770}:host novo-button[theme].has-icon.checked[color=bullhorn]{color:#fff;background:#ff6900}:host novo-button[theme].has-icon.checked[color=pulse]{color:#fff;background:#3bafda}:host novo-button[theme].has-icon.checked[color=company]{color:#fff;background:#39d}:host novo-button[theme].has-icon.checked[color=candidate]{color:#fff;background:#4b7}:host novo-button[theme].has-icon.checked[color=lead]{color:#fff;background:#a69}:host novo-button[theme].has-icon.checked[color=contact]{color:#fff;background:#fa4}:host novo-button[theme].has-icon.checked[color=clientcontact]{color:#fff;background:#fa4}:host novo-button[theme].has-icon.checked[color=opportunity]{color:#fff;background:#625}:host novo-button[theme].has-icon.checked[color=job]{color:#fff;background:#b56}:host novo-button[theme].has-icon.checked[color=joborder]{color:#fff;background:#b56}:host novo-button[theme].has-icon.checked[color=submission]{color:#fff;background:#a9adbb}:host novo-button[theme].has-icon.checked[color=sendout]{color:#fff;background:#747884}:host novo-button[theme].has-icon.checked[color=placement]{color:#fff;background:#0b344f}:host novo-button[theme].has-icon.checked[color=note]{color:#fff;background:#747884}:host novo-button[theme].has-icon.checked[color=contract]{color:#fff;background:#454ea0}:host novo-button[theme].has-icon.checked[color=task]{color:#fff;background:#4f5361}:host novo-button[theme].has-icon.checked[color=jobCode]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=earnCode]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=invoiceStatement]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=billableCharge]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=payableCharge]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=user]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=corporateUser]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=distributionList]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=credential]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=person]{color:#fff;background:#696d79}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NovoButtonElement, selector: "novo-button,button[theme]", inputs: ["color", "side", "size", "theme", "loading", "icon", "secondIcon", "disabled"] }] }); }
|
|
131
|
+
`, isInline: true, styles: [":host-context(novo-radio-group){margin:0}:host-context(novo-radio-group) novo-button{pointer-events:none;border-radius:0!important}:host-context(novo-radio-group) novo-button.unchecked{opacity:.6}:host-context(novo-radio-group) novo-button[theme=icon]{margin-right:0;border:1px solid var(--color-positive)}:host-context(novo-radio-group):first-child novo-button{border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}:host-context(novo-radio-group):first-child novo-button[theme=icon]{border-right-width:0px!important}:host-context(novo-radio-group):last-child novo-button{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important;border-right-width:1px!important;border-right-style:solid!important}:host-context(novo-radio-group):last-child novo-button[theme=icon]{border-left-width:0px!important}:host-context(novo-radio-group.novo-radio-group-appearance-horizontal) :host:not(:last-child) .novo-radio-button-label{margin-right:var(--spacing-md)}:host{margin-right:10px;position:relative}:host.vertical{display:block}:host>input{position:absolute;z-index:-1;opacity:0}:host>input:focus+label i.bhi-radio-empty,:host>input:focus+label i.bhi-radio-filled{color:var(--color-positive)}:host>label{cursor:pointer}:host>label .novo-radio-button-label{font-weight:400;color:inherit;font-size:var(--font-size-text);transition:color .2s ease-out,opacity .2s ease-out;vertical-align:middle;display:inline}:host>label .novo-radio-button-label.text-capitalize{text-transform:capitalize}:host>label .novo-radio-button-label.text-uppercase{text-transform:uppercase}:host>label .novo-radio-button-label.text-nowrap{white-space:nowrap}:host>label .novo-radio-button-label.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host>label .novo-radio-button-label.text-size-default{font-size:inherit}:host>label .novo-radio-button-label.text-size-body{font-size:var(--font-size-body)}:host>label .novo-radio-button-label.text-size-xs{font-size:var(--font-size-xs)}:host>label .novo-radio-button-label.text-size-sm{font-size:var(--font-size-sm)}:host>label .novo-radio-button-label.text-size-md{font-size:var(--font-size-md)}:host>label .novo-radio-button-label.text-size-lg{font-size:var(--font-size-lg)}:host>label .novo-radio-button-label.text-size-xl{font-size:var(--font-size-xl)}:host>label .novo-radio-button-label.text-size-2xl{font-size:var(--font-size-2xl)}:host>label .novo-radio-button-label.text-size-3xl{font-size:var(--font-size-3xl)}:host>label .novo-radio-button-label.text-size-smaller{font-size:.8em}:host>label .novo-radio-button-label.text-size-larger{font-size:1.2em}:host>label .novo-radio-button-label.text-color-black{color:var(--color-black)}:host>label .novo-radio-button-label.text-color-white{color:var(--color-white)}:host>label .novo-radio-button-label.text-color-gray{color:var(--color-gray)}:host>label .novo-radio-button-label.text-color-grey{color:var(--color-grey)}:host>label .novo-radio-button-label.text-color-offWhite{color:var(--color-off-white)}:host>label .novo-radio-button-label.text-color-bright{color:var(--color-bright)}:host>label .novo-radio-button-label.text-color-light{color:var(--color-light)}:host>label .novo-radio-button-label.text-color-neutral{color:var(--color-neutral)}:host>label .novo-radio-button-label.text-color-dark{color:var(--color-dark)}:host>label .novo-radio-button-label.text-color-orange{color:var(--color-orange)}:host>label .novo-radio-button-label.text-color-navigation{color:var(--color-navigation)}:host>label .novo-radio-button-label.text-color-skyBlue{color:var(--color-sky-blue)}:host>label .novo-radio-button-label.text-color-steel{color:var(--color-steel)}:host>label .novo-radio-button-label.text-color-metal{color:var(--color-metal)}:host>label .novo-radio-button-label.text-color-sand{color:var(--color-sand)}:host>label .novo-radio-button-label.text-color-silver{color:var(--color-silver)}:host>label .novo-radio-button-label.text-color-stone{color:var(--color-stone)}:host>label .novo-radio-button-label.text-color-ash{color:var(--color-ash)}:host>label .novo-radio-button-label.text-color-anonymous{color:var(--color-anonymous)}:host>label .novo-radio-button-label.text-color-slate{color:var(--color-slate)}:host>label .novo-radio-button-label.text-color-onyx{color:var(--color-onyx)}:host>label .novo-radio-button-label.text-color-charcoal{color:var(--color-charcoal)}:host>label .novo-radio-button-label.text-color-moonlight{color:var(--color-moonlight)}:host>label .novo-radio-button-label.text-color-midnight{color:var(--color-midnight)}:host>label .novo-radio-button-label.text-color-darkness{color:var(--color-darkness)}:host>label .novo-radio-button-label.text-color-navy{color:var(--color-navy)}:host>label .novo-radio-button-label.text-color-aqua{color:var(--color-aqua)}:host>label .novo-radio-button-label.text-color-ocean{color:var(--color-ocean)}:host>label .novo-radio-button-label.text-color-mint{color:var(--color-mint)}:host>label .novo-radio-button-label.text-color-grass{color:var(--color-grass)}:host>label .novo-radio-button-label.text-color-sunflower{color:var(--color-sunflower)}:host>label .novo-radio-button-label.text-color-bittersweet{color:var(--color-bittersweet)}:host>label .novo-radio-button-label.text-color-grapefruit{color:var(--color-grapefruit)}:host>label .novo-radio-button-label.text-color-carnation{color:var(--color-carnation)}:host>label .novo-radio-button-label.text-color-lavender{color:var(--color-lavender)}:host>label .novo-radio-button-label.text-color-mountain{color:var(--color-mountain)}:host>label .novo-radio-button-label.text-color-info{color:var(--color-info)}:host>label .novo-radio-button-label.text-color-positive{color:var(--color-positive)}:host>label .novo-radio-button-label.text-color-success{color:var(--color-success)}:host>label .novo-radio-button-label.text-color-negative{color:var(--color-negative)}:host>label .novo-radio-button-label.text-color-danger{color:var(--color-danger)}:host>label .novo-radio-button-label.text-color-error{color:var(--color-error)}:host>label .novo-radio-button-label.text-color-warning{color:var(--color-warning)}:host>label .novo-radio-button-label.text-color-empty{color:var(--color-empty)}:host>label .novo-radio-button-label.text-color-disabled{color:var(--color-disabled)}:host>label .novo-radio-button-label.text-color-background{color:var(--color-background)}:host>label .novo-radio-button-label.text-color-backgroundDark{color:var(--color-background-dark)}:host>label .novo-radio-button-label.text-color-border{color:var(--color-border)}:host>label .novo-radio-button-label.text-color-border2{color:var(--color-border2)}:host>label .novo-radio-button-label.text-color-text{color:var(--color-text)}:host>label .novo-radio-button-label.text-color-presentation{color:var(--color-presentation)}:host>label .novo-radio-button-label.text-color-bullhorn{color:var(--color-bullhorn)}:host>label .novo-radio-button-label.text-color-pulse{color:var(--color-pulse)}:host>label .novo-radio-button-label.text-color-fastFind{color:var(--color-fast-find)}:host>label .novo-radio-button-label.text-color-toast{color:var(--color-toast)}:host>label .novo-radio-button-label.text-color-company{color:var(--color-company)}:host>label .novo-radio-button-label.text-color-candidate{color:var(--color-candidate)}:host>label .novo-radio-button-label.text-color-lead{color:var(--color-lead)}:host>label .novo-radio-button-label.text-color-contact{color:var(--color-contact)}:host>label .novo-radio-button-label.text-color-clientcontact{color:var(--color-clientcontact)}:host>label .novo-radio-button-label.text-color-opportunity{color:var(--color-opportunity)}:host>label .novo-radio-button-label.text-color-job{color:var(--color-job)}:host>label .novo-radio-button-label.text-color-joborder{color:var(--color-joborder)}:host>label .novo-radio-button-label.text-color-submission{color:var(--color-submission)}:host>label .novo-radio-button-label.text-color-sendout{color:var(--color-sendout)}:host>label .novo-radio-button-label.text-color-placement{color:var(--color-placement)}:host>label .novo-radio-button-label.text-color-note{color:var(--color-note)}:host>label .novo-radio-button-label.text-color-contract{color:var(--color-contract)}:host>label .novo-radio-button-label.text-color-task{color:var(--color-task)}:host>label .novo-radio-button-label.text-color-jobCode{color:var(--color-job-code)}:host>label .novo-radio-button-label.text-color-earnCode{color:var(--color-earn-code)}:host>label .novo-radio-button-label.text-color-invoiceStatement{color:var(--color-invoice-statement)}:host>label .novo-radio-button-label.text-color-billableCharge{color:var(--color-billable-charge)}:host>label .novo-radio-button-label.text-color-payableCharge{color:var(--color-payable-charge)}:host>label .novo-radio-button-label.text-color-user{color:var(--color-user)}:host>label .novo-radio-button-label.text-color-corporateUser{color:var(--color-corporate-user)}:host>label .novo-radio-button-label.text-color-distributionList{color:var(--color-distribution-list)}:host>label .novo-radio-button-label.text-color-credential{color:var(--color-credential)}:host>label .novo-radio-button-label.text-color-person{color:var(--color-person)}:host>label .novo-radio-button-label.margin-before{margin-top:.4rem}:host>label .novo-radio-button-label.margin-after{margin-bottom:.8rem}:host>label .novo-radio-button-label.text-length-small{max-width:40ch}:host>label .novo-radio-button-label.text-length-medium{max-width:55ch}:host>label .novo-radio-button-label.text-length-large{max-width:70ch}:host>label .novo-radio-button-label.text-weight-hairline{font-weight:var(--font-weight-hairline)}:host>label .novo-radio-button-label.text-weight-thin{font-weight:var(--font-weight-thin)}:host>label .novo-radio-button-label.text-weight-light{font-weight:var(--font-weight-light)}:host>label .novo-radio-button-label.text-weight-normal{font-weight:var(--font-weight-normal)}:host>label .novo-radio-button-label.text-weight-medium{font-weight:var(--font-weight-medium)}:host>label .novo-radio-button-label.text-weight-semibold{font-weight:var(--font-weight-semibold)}:host>label .novo-radio-button-label.text-weight-bold{font-weight:var(--font-weight-bold)}:host>label .novo-radio-button-label.text-weight-extrabold{font-weight:var(--font-weight-extrabold)}:host>label .novo-radio-button-label.text-weight-heavy{font-weight:var(--font-weight-heavy)}:host>label .novo-radio-button-label.text-weight-lighter{font-weight:lighter}:host>label .novo-radio-button-label.text-weight-bolder{font-weight:bolder}:host>label ::ng-deep i{margin-right:5px;transition:all .2s ease-in-out}:host>label ::ng-deep i.bhi-checkbox-empty,:host>label ::ng-deep i.bhi-radio-empty{color:#d2d2d2}:host>label ::ng-deep i.bhi-checkbox-filled,:host>label ::ng-deep i.bhi-radio-filled{color:var(--color-positive)}:host>label.disabled{pointer-events:auto;cursor:not-allowed;opacity:.4}:host>label.disabled button[theme].has-icon{opacity:.4}:host novo-button[theme].has-icon{transition:all .1s ease-in-out;color:var(--color-positive);background:#fff;opacity:1}:host novo-button[theme].has-icon.checked{color:#fff;background:var(--color-positive)}:host novo-button[theme].has-icon.checked[color=border-default]{color:#fff}:host novo-button[theme].has-icon.checked[color=black]{color:#fff;background:var(--color-black)}:host novo-button[theme].has-icon.checked[color=white]{color:#fff;background:var(--color-white)}:host novo-button[theme].has-icon.checked[color=gray]{color:#fff;background:var(--color-gray)}:host novo-button[theme].has-icon.checked[color=grey]{color:#fff;background:var(--color-grey)}:host novo-button[theme].has-icon.checked[color=offWhite]{color:#fff;background:var(--color-off-white)}:host novo-button[theme].has-icon.checked[color=bright]{color:#fff;background:var(--color-bright)}:host novo-button[theme].has-icon.checked[color=light]{color:#fff;background:var(--color-light)}:host novo-button[theme].has-icon.checked[color=neutral]{color:#fff;background:var(--color-neutral)}:host novo-button[theme].has-icon.checked[color=dark]{color:#fff;background:var(--color-dark)}:host novo-button[theme].has-icon.checked[color=orange]{color:#fff;background:var(--color-orange)}:host novo-button[theme].has-icon.checked[color=navigation]{color:#fff;background:var(--color-navigation)}:host novo-button[theme].has-icon.checked[color=skyBlue]{color:#fff;background:var(--color-sky-blue)}:host novo-button[theme].has-icon.checked[color=steel]{color:#fff;background:var(--color-steel)}:host novo-button[theme].has-icon.checked[color=metal]{color:#fff;background:var(--color-metal)}:host novo-button[theme].has-icon.checked[color=sand]{color:#fff;background:var(--color-sand)}:host novo-button[theme].has-icon.checked[color=silver]{color:#fff;background:var(--color-silver)}:host novo-button[theme].has-icon.checked[color=stone]{color:#fff;background:var(--color-stone)}:host novo-button[theme].has-icon.checked[color=ash]{color:#fff;background:var(--color-ash)}:host novo-button[theme].has-icon.checked[color=anonymous]{color:#fff;background:var(--color-anonymous)}:host novo-button[theme].has-icon.checked[color=slate]{color:#fff;background:var(--color-slate)}:host novo-button[theme].has-icon.checked[color=onyx]{color:#fff;background:var(--color-onyx)}:host novo-button[theme].has-icon.checked[color=charcoal]{color:#fff;background:var(--color-charcoal)}:host novo-button[theme].has-icon.checked[color=moonlight]{color:#fff;background:var(--color-moonlight)}:host novo-button[theme].has-icon.checked[color=midnight]{color:#fff;background:var(--color-midnight)}:host novo-button[theme].has-icon.checked[color=darkness]{color:#fff;background:var(--color-darkness)}:host novo-button[theme].has-icon.checked[color=navy]{color:#fff;background:var(--color-navy)}:host novo-button[theme].has-icon.checked[color=aqua]{color:#fff;background:var(--color-aqua)}:host novo-button[theme].has-icon.checked[color=ocean]{color:#fff;background:var(--color-ocean)}:host novo-button[theme].has-icon.checked[color=mint]{color:#fff;background:var(--color-mint)}:host novo-button[theme].has-icon.checked[color=grass]{color:#fff;background:var(--color-grass)}:host novo-button[theme].has-icon.checked[color=sunflower]{color:#fff;background:var(--color-sunflower)}:host novo-button[theme].has-icon.checked[color=bittersweet]{color:#fff;background:var(--color-bittersweet)}:host novo-button[theme].has-icon.checked[color=grapefruit]{color:#fff;background:var(--color-grapefruit)}:host novo-button[theme].has-icon.checked[color=carnation]{color:#fff;background:var(--color-carnation)}:host novo-button[theme].has-icon.checked[color=lavender]{color:#fff;background:var(--color-lavender)}:host novo-button[theme].has-icon.checked[color=mountain]{color:#fff;background:var(--color-mountain)}:host novo-button[theme].has-icon.checked[color=info]{color:#fff;background:var(--color-info)}:host novo-button[theme].has-icon.checked[color=positive]{color:#fff;background:var(--color-positive)}:host novo-button[theme].has-icon.checked[color=success]{color:#fff;background:var(--color-success)}:host novo-button[theme].has-icon.checked[color=negative]{color:#fff;background:var(--color-negative)}:host novo-button[theme].has-icon.checked[color=danger]{color:#fff;background:var(--color-danger)}:host novo-button[theme].has-icon.checked[color=error]{color:#fff;background:var(--color-error)}:host novo-button[theme].has-icon.checked[color=warning]{color:#fff;background:var(--color-warning)}:host novo-button[theme].has-icon.checked[color=empty]{color:#fff;background:var(--color-empty)}:host novo-button[theme].has-icon.checked[color=disabled]{color:#fff;background:var(--color-disabled)}:host novo-button[theme].has-icon.checked[color=background]{color:#fff;background:var(--color-background)}:host novo-button[theme].has-icon.checked[color=backgroundDark]{color:#fff;background:var(--color-background-dark)}:host novo-button[theme].has-icon.checked[color=border]{color:#fff;background:var(--color-border)}:host novo-button[theme].has-icon.checked[color=border2]{color:#fff;background:var(--color-border2)}:host novo-button[theme].has-icon.checked[color=text]{color:#fff;background:var(--color-text)}:host novo-button[theme].has-icon.checked[color=presentation]{color:#fff;background:var(--color-presentation)}:host novo-button[theme].has-icon.checked[color=bullhorn]{color:#fff;background:var(--color-bullhorn)}:host novo-button[theme].has-icon.checked[color=pulse]{color:#fff;background:var(--color-pulse)}:host novo-button[theme].has-icon.checked[color=fastFind]{color:#fff;background:var(--color-fast-find)}:host novo-button[theme].has-icon.checked[color=toast]{color:#fff;background:var(--color-toast)}:host novo-button[theme].has-icon.checked[color=company]{color:#fff;background:var(--color-company)}:host novo-button[theme].has-icon.checked[color=candidate]{color:#fff;background:var(--color-candidate)}:host novo-button[theme].has-icon.checked[color=lead]{color:#fff;background:var(--color-lead)}:host novo-button[theme].has-icon.checked[color=contact]{color:#fff;background:var(--color-contact)}:host novo-button[theme].has-icon.checked[color=clientcontact]{color:#fff;background:var(--color-clientcontact)}:host novo-button[theme].has-icon.checked[color=opportunity]{color:#fff;background:var(--color-opportunity)}:host novo-button[theme].has-icon.checked[color=job]{color:#fff;background:var(--color-job)}:host novo-button[theme].has-icon.checked[color=joborder]{color:#fff;background:var(--color-joborder)}:host novo-button[theme].has-icon.checked[color=submission]{color:#fff;background:var(--color-submission)}:host novo-button[theme].has-icon.checked[color=sendout]{color:#fff;background:var(--color-sendout)}:host novo-button[theme].has-icon.checked[color=placement]{color:#fff;background:var(--color-placement)}:host novo-button[theme].has-icon.checked[color=note]{color:#fff;background:var(--color-note)}:host novo-button[theme].has-icon.checked[color=contract]{color:#fff;background:var(--color-contract)}:host novo-button[theme].has-icon.checked[color=task]{color:#fff;background:var(--color-task)}:host novo-button[theme].has-icon.checked[color=jobCode]{color:#fff;background:var(--color-job-code)}:host novo-button[theme].has-icon.checked[color=earnCode]{color:#fff;background:var(--color-earn-code)}:host novo-button[theme].has-icon.checked[color=invoiceStatement]{color:#fff;background:var(--color-invoice-statement)}:host novo-button[theme].has-icon.checked[color=billableCharge]{color:#fff;background:var(--color-billable-charge)}:host novo-button[theme].has-icon.checked[color=payableCharge]{color:#fff;background:var(--color-payable-charge)}:host novo-button[theme].has-icon.checked[color=user]{color:#fff;background:var(--color-user)}:host novo-button[theme].has-icon.checked[color=corporateUser]{color:#fff;background:var(--color-corporate-user)}:host novo-button[theme].has-icon.checked[color=distributionList]{color:#fff;background:var(--color-distribution-list)}:host novo-button[theme].has-icon.checked[color=credential]{color:#fff;background:var(--color-credential)}:host novo-button[theme].has-icon.checked[color=person]{color:#fff;background:var(--color-person)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NovoButtonElement, selector: "novo-button,button[theme]", inputs: ["color", "side", "size", "theme", "loading", "icon", "secondIcon", "disabled"] }] }); }
|
|
132
132
|
}
|
|
133
133
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NovoRadioElement, decorators: [{
|
|
134
134
|
type: Component,
|
|
@@ -163,7 +163,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
163
163
|
</label>
|
|
164
164
|
`, host: {
|
|
165
165
|
'[class.vertical]': 'vertical',
|
|
166
|
-
}, standalone: false, styles: [":host-context(novo-radio-group){margin:0}:host-context(novo-radio-group) novo-button{pointer-events:none;border-radius:0!important}:host-context(novo-radio-group) novo-button.unchecked{opacity:.6}:host-context(novo-radio-group) novo-button[theme=icon]{margin-right:0;border:1px solid #4a89dc}:host-context(novo-radio-group):first-child novo-button{border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}:host-context(novo-radio-group):first-child novo-button[theme=icon]{border-right-width:0px!important}:host-context(novo-radio-group):last-child novo-button{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important;border-right-width:1px!important;border-right-style:solid!important}:host-context(novo-radio-group):last-child novo-button[theme=icon]{border-left-width:0px!important}:host-context(novo-radio-group.novo-radio-group-appearance-horizontal) :host:not(:last-child) .novo-radio-button-label{margin-right:1rem}:host{margin-right:10px;position:relative}:host.vertical{display:block}:host>input{position:absolute;z-index:-1;opacity:0}:host>input:focus+label i.bhi-radio-empty,:host>input:focus+label i.bhi-radio-filled{color:#4a89dc}:host>label{cursor:pointer}:host>label .novo-radio-button-label{font-weight:400;color:inherit;font-size:var(--font-size-text);transition:color .2s ease-out,opacity .2s ease-out;vertical-align:middle;display:inline}:host>label .novo-radio-button-label.text-capitalize{text-transform:capitalize}:host>label .novo-radio-button-label.text-uppercase{text-transform:uppercase}:host>label .novo-radio-button-label.text-nowrap{white-space:nowrap}:host>label .novo-radio-button-label.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host>label .novo-radio-button-label.text-size-default{font-size:inherit}:host>label .novo-radio-button-label.text-size-body{font-size:1.3rem}:host>label .novo-radio-button-label.text-size-xs{font-size:1rem}:host>label .novo-radio-button-label.text-size-sm{font-size:1.2rem}:host>label .novo-radio-button-label.text-size-md{font-size:1.3rem}:host>label .novo-radio-button-label.text-size-lg{font-size:1.6rem}:host>label .novo-radio-button-label.text-size-xl{font-size:2rem}:host>label .novo-radio-button-label.text-size-2xl{font-size:2.6rem}:host>label .novo-radio-button-label.text-size-3xl{font-size:3.2rem}:host>label .novo-radio-button-label.text-size-smaller{font-size:.8em}:host>label .novo-radio-button-label.text-size-larger{font-size:1.2em}:host>label .novo-radio-button-label.text-color-black{color:#000}:host>label .novo-radio-button-label.text-color-white{color:#fff}:host>label .novo-radio-button-label.text-color-gray{color:#9e9e9e}:host>label .novo-radio-button-label.text-color-grey{color:#9e9e9e}:host>label .novo-radio-button-label.text-color-offWhite{color:#f7f7f7}:host>label .novo-radio-button-label.text-color-bright{color:#f7f7f7}:host>label .novo-radio-button-label.text-color-light{color:#dbdbdb}:host>label .novo-radio-button-label.text-color-neutral{color:#4f5361}:host>label .novo-radio-button-label.text-color-dark{color:#3d464d}:host>label .novo-radio-button-label.text-color-orange{color:#ff6900}:host>label .novo-radio-button-label.text-color-navigation{color:#202945}:host>label .novo-radio-button-label.text-color-skyBlue{color:#009bdf}:host>label .novo-radio-button-label.text-color-steel{color:#5b6770}:host>label .novo-radio-button-label.text-color-metal{color:#637893}:host>label .novo-radio-button-label.text-color-sand{color:#f4f4f4}:host>label .novo-radio-button-label.text-color-silver{color:#e2e2e2}:host>label .novo-radio-button-label.text-color-stone{color:#bebebe}:host>label .novo-radio-button-label.text-color-ash{color:#a0a0a0}:host>label .novo-radio-button-label.text-color-slate{color:#707070}:host>label .novo-radio-button-label.text-color-onyx{color:#526980}:host>label .novo-radio-button-label.text-color-charcoal{color:#282828}:host>label .novo-radio-button-label.text-color-moonlight{color:#1a242f}:host>label .novo-radio-button-label.text-color-midnight{color:#202945}:host>label .novo-radio-button-label.text-color-darkness{color:#161f27}:host>label .novo-radio-button-label.text-color-navy{color:#0d2d42}:host>label .novo-radio-button-label.text-color-aqua{color:#3bafda}:host>label .novo-radio-button-label.text-color-ocean{color:#4a89dc}:host>label .novo-radio-button-label.text-color-mint{color:#37bc9b}:host>label .novo-radio-button-label.text-color-grass{color:#8cc152}:host>label .novo-radio-button-label.text-color-sunflower{color:#f6b042}:host>label .novo-radio-button-label.text-color-bittersweet{color:#eb6845}:host>label .novo-radio-button-label.text-color-grapefruit{color:#da4453}:host>label .novo-radio-button-label.text-color-carnation{color:#d770ad}:host>label .novo-radio-button-label.text-color-lavender{color:#967adc}:host>label .novo-radio-button-label.text-color-mountain{color:#9678b6}:host>label .novo-radio-button-label.text-color-info{color:#4a89dc}:host>label .novo-radio-button-label.text-color-positive{color:#4a89dc}:host>label .novo-radio-button-label.text-color-success{color:#8cc152}:host>label .novo-radio-button-label.text-color-negative{color:#da4453}:host>label .novo-radio-button-label.text-color-danger{color:#da4453}:host>label .novo-radio-button-label.text-color-error{color:#da4453}:host>label .novo-radio-button-label.text-color-warning{color:#f6b042}:host>label .novo-radio-button-label.text-color-empty{color:#cccdcc}:host>label .novo-radio-button-label.text-color-disabled{color:#bebebe}:host>label .novo-radio-button-label.text-color-background{color:#f7f7f7}:host>label .novo-radio-button-label.text-color-backgroundDark{color:#e2e2e2}:host>label .novo-radio-button-label.text-color-presentation{color:#5b6770}:host>label .novo-radio-button-label.text-color-bullhorn{color:#ff6900}:host>label .novo-radio-button-label.text-color-pulse{color:#3bafda}:host>label .novo-radio-button-label.text-color-company{color:#39d}:host>label .novo-radio-button-label.text-color-candidate{color:#4b7}:host>label .novo-radio-button-label.text-color-lead{color:#a69}:host>label .novo-radio-button-label.text-color-contact{color:#fa4}:host>label .novo-radio-button-label.text-color-clientcontact{color:#fa4}:host>label .novo-radio-button-label.text-color-opportunity{color:#625}:host>label .novo-radio-button-label.text-color-job{color:#b56}:host>label .novo-radio-button-label.text-color-joborder{color:#b56}:host>label .novo-radio-button-label.text-color-submission{color:#a9adbb}:host>label .novo-radio-button-label.text-color-sendout{color:#747884}:host>label .novo-radio-button-label.text-color-placement{color:#0b344f}:host>label .novo-radio-button-label.text-color-note{color:#747884}:host>label .novo-radio-button-label.text-color-contract{color:#454ea0}:host>label .novo-radio-button-label.text-color-task{color:#4f5361}:host>label .novo-radio-button-label.text-color-jobCode{color:#696d79}:host>label .novo-radio-button-label.text-color-earnCode{color:#696d79}:host>label .novo-radio-button-label.text-color-invoiceStatement{color:#696d79}:host>label .novo-radio-button-label.text-color-billableCharge{color:#696d79}:host>label .novo-radio-button-label.text-color-payableCharge{color:#696d79}:host>label .novo-radio-button-label.text-color-user{color:#696d79}:host>label .novo-radio-button-label.text-color-corporateUser{color:#696d79}:host>label .novo-radio-button-label.text-color-distributionList{color:#696d79}:host>label .novo-radio-button-label.text-color-credential{color:#696d79}:host>label .novo-radio-button-label.text-color-person{color:#696d79}:host>label .novo-radio-button-label.margin-before{margin-top:.4rem}:host>label .novo-radio-button-label.margin-after{margin-bottom:.8rem}:host>label .novo-radio-button-label.text-length-small{max-width:40ch}:host>label .novo-radio-button-label.text-length-medium{max-width:55ch}:host>label .novo-radio-button-label.text-length-large{max-width:70ch}:host>label .novo-radio-button-label.text-weight-hairline{font-weight:100}:host>label .novo-radio-button-label.text-weight-thin{font-weight:200}:host>label .novo-radio-button-label.text-weight-light{font-weight:300}:host>label .novo-radio-button-label.text-weight-normal{font-weight:400}:host>label .novo-radio-button-label.text-weight-medium{font-weight:500}:host>label .novo-radio-button-label.text-weight-semibold{font-weight:600}:host>label .novo-radio-button-label.text-weight-bold{font-weight:700}:host>label .novo-radio-button-label.text-weight-extrabold{font-weight:800}:host>label .novo-radio-button-label.text-weight-heavy{font-weight:900}:host>label .novo-radio-button-label.text-weight-lighter{font-weight:lighter}:host>label .novo-radio-button-label.text-weight-bolder{font-weight:bolder}:host>label ::ng-deep i{margin-right:5px;transition:all .2s ease-in-out}:host>label ::ng-deep i.bhi-checkbox-empty,:host>label ::ng-deep i.bhi-radio-empty{color:#d2d2d2}:host>label ::ng-deep i.bhi-checkbox-filled,:host>label ::ng-deep i.bhi-radio-filled{color:#4a89dc}:host>label.disabled{pointer-events:auto;cursor:not-allowed;opacity:.4}:host>label.disabled button[theme].has-icon{opacity:.4}:host novo-button[theme].has-icon{transition:all .1s ease-in-out;color:#4a89dc;background:#fff;opacity:1}:host novo-button[theme].has-icon.checked{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=black]{color:#fff;background:#000}:host novo-button[theme].has-icon.checked[color=white]{color:#fff;background:#fff}:host novo-button[theme].has-icon.checked[color=gray]{color:#fff;background:#9e9e9e}:host novo-button[theme].has-icon.checked[color=grey]{color:#fff;background:#9e9e9e}:host novo-button[theme].has-icon.checked[color=offWhite]{color:#fff;background:#f7f7f7}:host novo-button[theme].has-icon.checked[color=bright]{color:#fff;background:#f7f7f7}:host novo-button[theme].has-icon.checked[color=light]{color:#fff;background:#dbdbdb}:host novo-button[theme].has-icon.checked[color=neutral]{color:#fff;background:#4f5361}:host novo-button[theme].has-icon.checked[color=dark]{color:#fff;background:#3d464d}:host novo-button[theme].has-icon.checked[color=orange]{color:#fff;background:#ff6900}:host novo-button[theme].has-icon.checked[color=navigation]{color:#fff;background:#202945}:host novo-button[theme].has-icon.checked[color=skyBlue]{color:#fff;background:#009bdf}:host novo-button[theme].has-icon.checked[color=steel]{color:#fff;background:#5b6770}:host novo-button[theme].has-icon.checked[color=metal]{color:#fff;background:#637893}:host novo-button[theme].has-icon.checked[color=sand]{color:#fff;background:#f4f4f4}:host novo-button[theme].has-icon.checked[color=silver]{color:#fff;background:#e2e2e2}:host novo-button[theme].has-icon.checked[color=stone]{color:#fff;background:#bebebe}:host novo-button[theme].has-icon.checked[color=ash]{color:#fff;background:#a0a0a0}:host novo-button[theme].has-icon.checked[color=slate]{color:#fff;background:#707070}:host novo-button[theme].has-icon.checked[color=onyx]{color:#fff;background:#526980}:host novo-button[theme].has-icon.checked[color=charcoal]{color:#fff;background:#282828}:host novo-button[theme].has-icon.checked[color=moonlight]{color:#fff;background:#1a242f}:host novo-button[theme].has-icon.checked[color=midnight]{color:#fff;background:#202945}:host novo-button[theme].has-icon.checked[color=darkness]{color:#fff;background:#161f27}:host novo-button[theme].has-icon.checked[color=navy]{color:#fff;background:#0d2d42}:host novo-button[theme].has-icon.checked[color=aqua]{color:#fff;background:#3bafda}:host novo-button[theme].has-icon.checked[color=ocean]{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=mint]{color:#fff;background:#37bc9b}:host novo-button[theme].has-icon.checked[color=grass]{color:#fff;background:#8cc152}:host novo-button[theme].has-icon.checked[color=sunflower]{color:#fff;background:#f6b042}:host novo-button[theme].has-icon.checked[color=bittersweet]{color:#fff;background:#eb6845}:host novo-button[theme].has-icon.checked[color=grapefruit]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=carnation]{color:#fff;background:#d770ad}:host novo-button[theme].has-icon.checked[color=lavender]{color:#fff;background:#967adc}:host novo-button[theme].has-icon.checked[color=mountain]{color:#fff;background:#9678b6}:host novo-button[theme].has-icon.checked[color=info]{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=positive]{color:#fff;background:#4a89dc}:host novo-button[theme].has-icon.checked[color=success]{color:#fff;background:#8cc152}:host novo-button[theme].has-icon.checked[color=negative]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=danger]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=error]{color:#fff;background:#da4453}:host novo-button[theme].has-icon.checked[color=warning]{color:#fff;background:#f6b042}:host novo-button[theme].has-icon.checked[color=empty]{color:#fff;background:#cccdcc}:host novo-button[theme].has-icon.checked[color=disabled]{color:#fff;background:#bebebe}:host novo-button[theme].has-icon.checked[color=background]{color:#fff;background:#f7f7f7}:host novo-button[theme].has-icon.checked[color=backgroundDark]{color:#fff;background:#e2e2e2}:host novo-button[theme].has-icon.checked[color=presentation]{color:#fff;background:#5b6770}:host novo-button[theme].has-icon.checked[color=bullhorn]{color:#fff;background:#ff6900}:host novo-button[theme].has-icon.checked[color=pulse]{color:#fff;background:#3bafda}:host novo-button[theme].has-icon.checked[color=company]{color:#fff;background:#39d}:host novo-button[theme].has-icon.checked[color=candidate]{color:#fff;background:#4b7}:host novo-button[theme].has-icon.checked[color=lead]{color:#fff;background:#a69}:host novo-button[theme].has-icon.checked[color=contact]{color:#fff;background:#fa4}:host novo-button[theme].has-icon.checked[color=clientcontact]{color:#fff;background:#fa4}:host novo-button[theme].has-icon.checked[color=opportunity]{color:#fff;background:#625}:host novo-button[theme].has-icon.checked[color=job]{color:#fff;background:#b56}:host novo-button[theme].has-icon.checked[color=joborder]{color:#fff;background:#b56}:host novo-button[theme].has-icon.checked[color=submission]{color:#fff;background:#a9adbb}:host novo-button[theme].has-icon.checked[color=sendout]{color:#fff;background:#747884}:host novo-button[theme].has-icon.checked[color=placement]{color:#fff;background:#0b344f}:host novo-button[theme].has-icon.checked[color=note]{color:#fff;background:#747884}:host novo-button[theme].has-icon.checked[color=contract]{color:#fff;background:#454ea0}:host novo-button[theme].has-icon.checked[color=task]{color:#fff;background:#4f5361}:host novo-button[theme].has-icon.checked[color=jobCode]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=earnCode]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=invoiceStatement]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=billableCharge]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=payableCharge]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=user]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=corporateUser]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=distributionList]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=credential]{color:#fff;background:#696d79}:host novo-button[theme].has-icon.checked[color=person]{color:#fff;background:#696d79}\n"] }]
|
|
166
|
+
}, standalone: false, styles: [":host-context(novo-radio-group){margin:0}:host-context(novo-radio-group) novo-button{pointer-events:none;border-radius:0!important}:host-context(novo-radio-group) novo-button.unchecked{opacity:.6}:host-context(novo-radio-group) novo-button[theme=icon]{margin-right:0;border:1px solid var(--color-positive)}:host-context(novo-radio-group):first-child novo-button{border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}:host-context(novo-radio-group):first-child novo-button[theme=icon]{border-right-width:0px!important}:host-context(novo-radio-group):last-child novo-button{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important;border-right-width:1px!important;border-right-style:solid!important}:host-context(novo-radio-group):last-child novo-button[theme=icon]{border-left-width:0px!important}:host-context(novo-radio-group.novo-radio-group-appearance-horizontal) :host:not(:last-child) .novo-radio-button-label{margin-right:var(--spacing-md)}:host{margin-right:10px;position:relative}:host.vertical{display:block}:host>input{position:absolute;z-index:-1;opacity:0}:host>input:focus+label i.bhi-radio-empty,:host>input:focus+label i.bhi-radio-filled{color:var(--color-positive)}:host>label{cursor:pointer}:host>label .novo-radio-button-label{font-weight:400;color:inherit;font-size:var(--font-size-text);transition:color .2s ease-out,opacity .2s ease-out;vertical-align:middle;display:inline}:host>label .novo-radio-button-label.text-capitalize{text-transform:capitalize}:host>label .novo-radio-button-label.text-uppercase{text-transform:uppercase}:host>label .novo-radio-button-label.text-nowrap{white-space:nowrap}:host>label .novo-radio-button-label.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host>label .novo-radio-button-label.text-size-default{font-size:inherit}:host>label .novo-radio-button-label.text-size-body{font-size:var(--font-size-body)}:host>label .novo-radio-button-label.text-size-xs{font-size:var(--font-size-xs)}:host>label .novo-radio-button-label.text-size-sm{font-size:var(--font-size-sm)}:host>label .novo-radio-button-label.text-size-md{font-size:var(--font-size-md)}:host>label .novo-radio-button-label.text-size-lg{font-size:var(--font-size-lg)}:host>label .novo-radio-button-label.text-size-xl{font-size:var(--font-size-xl)}:host>label .novo-radio-button-label.text-size-2xl{font-size:var(--font-size-2xl)}:host>label .novo-radio-button-label.text-size-3xl{font-size:var(--font-size-3xl)}:host>label .novo-radio-button-label.text-size-smaller{font-size:.8em}:host>label .novo-radio-button-label.text-size-larger{font-size:1.2em}:host>label .novo-radio-button-label.text-color-black{color:var(--color-black)}:host>label .novo-radio-button-label.text-color-white{color:var(--color-white)}:host>label .novo-radio-button-label.text-color-gray{color:var(--color-gray)}:host>label .novo-radio-button-label.text-color-grey{color:var(--color-grey)}:host>label .novo-radio-button-label.text-color-offWhite{color:var(--color-off-white)}:host>label .novo-radio-button-label.text-color-bright{color:var(--color-bright)}:host>label .novo-radio-button-label.text-color-light{color:var(--color-light)}:host>label .novo-radio-button-label.text-color-neutral{color:var(--color-neutral)}:host>label .novo-radio-button-label.text-color-dark{color:var(--color-dark)}:host>label .novo-radio-button-label.text-color-orange{color:var(--color-orange)}:host>label .novo-radio-button-label.text-color-navigation{color:var(--color-navigation)}:host>label .novo-radio-button-label.text-color-skyBlue{color:var(--color-sky-blue)}:host>label .novo-radio-button-label.text-color-steel{color:var(--color-steel)}:host>label .novo-radio-button-label.text-color-metal{color:var(--color-metal)}:host>label .novo-radio-button-label.text-color-sand{color:var(--color-sand)}:host>label .novo-radio-button-label.text-color-silver{color:var(--color-silver)}:host>label .novo-radio-button-label.text-color-stone{color:var(--color-stone)}:host>label .novo-radio-button-label.text-color-ash{color:var(--color-ash)}:host>label .novo-radio-button-label.text-color-anonymous{color:var(--color-anonymous)}:host>label .novo-radio-button-label.text-color-slate{color:var(--color-slate)}:host>label .novo-radio-button-label.text-color-onyx{color:var(--color-onyx)}:host>label .novo-radio-button-label.text-color-charcoal{color:var(--color-charcoal)}:host>label .novo-radio-button-label.text-color-moonlight{color:var(--color-moonlight)}:host>label .novo-radio-button-label.text-color-midnight{color:var(--color-midnight)}:host>label .novo-radio-button-label.text-color-darkness{color:var(--color-darkness)}:host>label .novo-radio-button-label.text-color-navy{color:var(--color-navy)}:host>label .novo-radio-button-label.text-color-aqua{color:var(--color-aqua)}:host>label .novo-radio-button-label.text-color-ocean{color:var(--color-ocean)}:host>label .novo-radio-button-label.text-color-mint{color:var(--color-mint)}:host>label .novo-radio-button-label.text-color-grass{color:var(--color-grass)}:host>label .novo-radio-button-label.text-color-sunflower{color:var(--color-sunflower)}:host>label .novo-radio-button-label.text-color-bittersweet{color:var(--color-bittersweet)}:host>label .novo-radio-button-label.text-color-grapefruit{color:var(--color-grapefruit)}:host>label .novo-radio-button-label.text-color-carnation{color:var(--color-carnation)}:host>label .novo-radio-button-label.text-color-lavender{color:var(--color-lavender)}:host>label .novo-radio-button-label.text-color-mountain{color:var(--color-mountain)}:host>label .novo-radio-button-label.text-color-info{color:var(--color-info)}:host>label .novo-radio-button-label.text-color-positive{color:var(--color-positive)}:host>label .novo-radio-button-label.text-color-success{color:var(--color-success)}:host>label .novo-radio-button-label.text-color-negative{color:var(--color-negative)}:host>label .novo-radio-button-label.text-color-danger{color:var(--color-danger)}:host>label .novo-radio-button-label.text-color-error{color:var(--color-error)}:host>label .novo-radio-button-label.text-color-warning{color:var(--color-warning)}:host>label .novo-radio-button-label.text-color-empty{color:var(--color-empty)}:host>label .novo-radio-button-label.text-color-disabled{color:var(--color-disabled)}:host>label .novo-radio-button-label.text-color-background{color:var(--color-background)}:host>label .novo-radio-button-label.text-color-backgroundDark{color:var(--color-background-dark)}:host>label .novo-radio-button-label.text-color-border{color:var(--color-border)}:host>label .novo-radio-button-label.text-color-border2{color:var(--color-border2)}:host>label .novo-radio-button-label.text-color-text{color:var(--color-text)}:host>label .novo-radio-button-label.text-color-presentation{color:var(--color-presentation)}:host>label .novo-radio-button-label.text-color-bullhorn{color:var(--color-bullhorn)}:host>label .novo-radio-button-label.text-color-pulse{color:var(--color-pulse)}:host>label .novo-radio-button-label.text-color-fastFind{color:var(--color-fast-find)}:host>label .novo-radio-button-label.text-color-toast{color:var(--color-toast)}:host>label .novo-radio-button-label.text-color-company{color:var(--color-company)}:host>label .novo-radio-button-label.text-color-candidate{color:var(--color-candidate)}:host>label .novo-radio-button-label.text-color-lead{color:var(--color-lead)}:host>label .novo-radio-button-label.text-color-contact{color:var(--color-contact)}:host>label .novo-radio-button-label.text-color-clientcontact{color:var(--color-clientcontact)}:host>label .novo-radio-button-label.text-color-opportunity{color:var(--color-opportunity)}:host>label .novo-radio-button-label.text-color-job{color:var(--color-job)}:host>label .novo-radio-button-label.text-color-joborder{color:var(--color-joborder)}:host>label .novo-radio-button-label.text-color-submission{color:var(--color-submission)}:host>label .novo-radio-button-label.text-color-sendout{color:var(--color-sendout)}:host>label .novo-radio-button-label.text-color-placement{color:var(--color-placement)}:host>label .novo-radio-button-label.text-color-note{color:var(--color-note)}:host>label .novo-radio-button-label.text-color-contract{color:var(--color-contract)}:host>label .novo-radio-button-label.text-color-task{color:var(--color-task)}:host>label .novo-radio-button-label.text-color-jobCode{color:var(--color-job-code)}:host>label .novo-radio-button-label.text-color-earnCode{color:var(--color-earn-code)}:host>label .novo-radio-button-label.text-color-invoiceStatement{color:var(--color-invoice-statement)}:host>label .novo-radio-button-label.text-color-billableCharge{color:var(--color-billable-charge)}:host>label .novo-radio-button-label.text-color-payableCharge{color:var(--color-payable-charge)}:host>label .novo-radio-button-label.text-color-user{color:var(--color-user)}:host>label .novo-radio-button-label.text-color-corporateUser{color:var(--color-corporate-user)}:host>label .novo-radio-button-label.text-color-distributionList{color:var(--color-distribution-list)}:host>label .novo-radio-button-label.text-color-credential{color:var(--color-credential)}:host>label .novo-radio-button-label.text-color-person{color:var(--color-person)}:host>label .novo-radio-button-label.margin-before{margin-top:.4rem}:host>label .novo-radio-button-label.margin-after{margin-bottom:.8rem}:host>label .novo-radio-button-label.text-length-small{max-width:40ch}:host>label .novo-radio-button-label.text-length-medium{max-width:55ch}:host>label .novo-radio-button-label.text-length-large{max-width:70ch}:host>label .novo-radio-button-label.text-weight-hairline{font-weight:var(--font-weight-hairline)}:host>label .novo-radio-button-label.text-weight-thin{font-weight:var(--font-weight-thin)}:host>label .novo-radio-button-label.text-weight-light{font-weight:var(--font-weight-light)}:host>label .novo-radio-button-label.text-weight-normal{font-weight:var(--font-weight-normal)}:host>label .novo-radio-button-label.text-weight-medium{font-weight:var(--font-weight-medium)}:host>label .novo-radio-button-label.text-weight-semibold{font-weight:var(--font-weight-semibold)}:host>label .novo-radio-button-label.text-weight-bold{font-weight:var(--font-weight-bold)}:host>label .novo-radio-button-label.text-weight-extrabold{font-weight:var(--font-weight-extrabold)}:host>label .novo-radio-button-label.text-weight-heavy{font-weight:var(--font-weight-heavy)}:host>label .novo-radio-button-label.text-weight-lighter{font-weight:lighter}:host>label .novo-radio-button-label.text-weight-bolder{font-weight:bolder}:host>label ::ng-deep i{margin-right:5px;transition:all .2s ease-in-out}:host>label ::ng-deep i.bhi-checkbox-empty,:host>label ::ng-deep i.bhi-radio-empty{color:#d2d2d2}:host>label ::ng-deep i.bhi-checkbox-filled,:host>label ::ng-deep i.bhi-radio-filled{color:var(--color-positive)}:host>label.disabled{pointer-events:auto;cursor:not-allowed;opacity:.4}:host>label.disabled button[theme].has-icon{opacity:.4}:host novo-button[theme].has-icon{transition:all .1s ease-in-out;color:var(--color-positive);background:#fff;opacity:1}:host novo-button[theme].has-icon.checked{color:#fff;background:var(--color-positive)}:host novo-button[theme].has-icon.checked[color=border-default]{color:#fff}:host novo-button[theme].has-icon.checked[color=black]{color:#fff;background:var(--color-black)}:host novo-button[theme].has-icon.checked[color=white]{color:#fff;background:var(--color-white)}:host novo-button[theme].has-icon.checked[color=gray]{color:#fff;background:var(--color-gray)}:host novo-button[theme].has-icon.checked[color=grey]{color:#fff;background:var(--color-grey)}:host novo-button[theme].has-icon.checked[color=offWhite]{color:#fff;background:var(--color-off-white)}:host novo-button[theme].has-icon.checked[color=bright]{color:#fff;background:var(--color-bright)}:host novo-button[theme].has-icon.checked[color=light]{color:#fff;background:var(--color-light)}:host novo-button[theme].has-icon.checked[color=neutral]{color:#fff;background:var(--color-neutral)}:host novo-button[theme].has-icon.checked[color=dark]{color:#fff;background:var(--color-dark)}:host novo-button[theme].has-icon.checked[color=orange]{color:#fff;background:var(--color-orange)}:host novo-button[theme].has-icon.checked[color=navigation]{color:#fff;background:var(--color-navigation)}:host novo-button[theme].has-icon.checked[color=skyBlue]{color:#fff;background:var(--color-sky-blue)}:host novo-button[theme].has-icon.checked[color=steel]{color:#fff;background:var(--color-steel)}:host novo-button[theme].has-icon.checked[color=metal]{color:#fff;background:var(--color-metal)}:host novo-button[theme].has-icon.checked[color=sand]{color:#fff;background:var(--color-sand)}:host novo-button[theme].has-icon.checked[color=silver]{color:#fff;background:var(--color-silver)}:host novo-button[theme].has-icon.checked[color=stone]{color:#fff;background:var(--color-stone)}:host novo-button[theme].has-icon.checked[color=ash]{color:#fff;background:var(--color-ash)}:host novo-button[theme].has-icon.checked[color=anonymous]{color:#fff;background:var(--color-anonymous)}:host novo-button[theme].has-icon.checked[color=slate]{color:#fff;background:var(--color-slate)}:host novo-button[theme].has-icon.checked[color=onyx]{color:#fff;background:var(--color-onyx)}:host novo-button[theme].has-icon.checked[color=charcoal]{color:#fff;background:var(--color-charcoal)}:host novo-button[theme].has-icon.checked[color=moonlight]{color:#fff;background:var(--color-moonlight)}:host novo-button[theme].has-icon.checked[color=midnight]{color:#fff;background:var(--color-midnight)}:host novo-button[theme].has-icon.checked[color=darkness]{color:#fff;background:var(--color-darkness)}:host novo-button[theme].has-icon.checked[color=navy]{color:#fff;background:var(--color-navy)}:host novo-button[theme].has-icon.checked[color=aqua]{color:#fff;background:var(--color-aqua)}:host novo-button[theme].has-icon.checked[color=ocean]{color:#fff;background:var(--color-ocean)}:host novo-button[theme].has-icon.checked[color=mint]{color:#fff;background:var(--color-mint)}:host novo-button[theme].has-icon.checked[color=grass]{color:#fff;background:var(--color-grass)}:host novo-button[theme].has-icon.checked[color=sunflower]{color:#fff;background:var(--color-sunflower)}:host novo-button[theme].has-icon.checked[color=bittersweet]{color:#fff;background:var(--color-bittersweet)}:host novo-button[theme].has-icon.checked[color=grapefruit]{color:#fff;background:var(--color-grapefruit)}:host novo-button[theme].has-icon.checked[color=carnation]{color:#fff;background:var(--color-carnation)}:host novo-button[theme].has-icon.checked[color=lavender]{color:#fff;background:var(--color-lavender)}:host novo-button[theme].has-icon.checked[color=mountain]{color:#fff;background:var(--color-mountain)}:host novo-button[theme].has-icon.checked[color=info]{color:#fff;background:var(--color-info)}:host novo-button[theme].has-icon.checked[color=positive]{color:#fff;background:var(--color-positive)}:host novo-button[theme].has-icon.checked[color=success]{color:#fff;background:var(--color-success)}:host novo-button[theme].has-icon.checked[color=negative]{color:#fff;background:var(--color-negative)}:host novo-button[theme].has-icon.checked[color=danger]{color:#fff;background:var(--color-danger)}:host novo-button[theme].has-icon.checked[color=error]{color:#fff;background:var(--color-error)}:host novo-button[theme].has-icon.checked[color=warning]{color:#fff;background:var(--color-warning)}:host novo-button[theme].has-icon.checked[color=empty]{color:#fff;background:var(--color-empty)}:host novo-button[theme].has-icon.checked[color=disabled]{color:#fff;background:var(--color-disabled)}:host novo-button[theme].has-icon.checked[color=background]{color:#fff;background:var(--color-background)}:host novo-button[theme].has-icon.checked[color=backgroundDark]{color:#fff;background:var(--color-background-dark)}:host novo-button[theme].has-icon.checked[color=border]{color:#fff;background:var(--color-border)}:host novo-button[theme].has-icon.checked[color=border2]{color:#fff;background:var(--color-border2)}:host novo-button[theme].has-icon.checked[color=text]{color:#fff;background:var(--color-text)}:host novo-button[theme].has-icon.checked[color=presentation]{color:#fff;background:var(--color-presentation)}:host novo-button[theme].has-icon.checked[color=bullhorn]{color:#fff;background:var(--color-bullhorn)}:host novo-button[theme].has-icon.checked[color=pulse]{color:#fff;background:var(--color-pulse)}:host novo-button[theme].has-icon.checked[color=fastFind]{color:#fff;background:var(--color-fast-find)}:host novo-button[theme].has-icon.checked[color=toast]{color:#fff;background:var(--color-toast)}:host novo-button[theme].has-icon.checked[color=company]{color:#fff;background:var(--color-company)}:host novo-button[theme].has-icon.checked[color=candidate]{color:#fff;background:var(--color-candidate)}:host novo-button[theme].has-icon.checked[color=lead]{color:#fff;background:var(--color-lead)}:host novo-button[theme].has-icon.checked[color=contact]{color:#fff;background:var(--color-contact)}:host novo-button[theme].has-icon.checked[color=clientcontact]{color:#fff;background:var(--color-clientcontact)}:host novo-button[theme].has-icon.checked[color=opportunity]{color:#fff;background:var(--color-opportunity)}:host novo-button[theme].has-icon.checked[color=job]{color:#fff;background:var(--color-job)}:host novo-button[theme].has-icon.checked[color=joborder]{color:#fff;background:var(--color-joborder)}:host novo-button[theme].has-icon.checked[color=submission]{color:#fff;background:var(--color-submission)}:host novo-button[theme].has-icon.checked[color=sendout]{color:#fff;background:var(--color-sendout)}:host novo-button[theme].has-icon.checked[color=placement]{color:#fff;background:var(--color-placement)}:host novo-button[theme].has-icon.checked[color=note]{color:#fff;background:var(--color-note)}:host novo-button[theme].has-icon.checked[color=contract]{color:#fff;background:var(--color-contract)}:host novo-button[theme].has-icon.checked[color=task]{color:#fff;background:var(--color-task)}:host novo-button[theme].has-icon.checked[color=jobCode]{color:#fff;background:var(--color-job-code)}:host novo-button[theme].has-icon.checked[color=earnCode]{color:#fff;background:var(--color-earn-code)}:host novo-button[theme].has-icon.checked[color=invoiceStatement]{color:#fff;background:var(--color-invoice-statement)}:host novo-button[theme].has-icon.checked[color=billableCharge]{color:#fff;background:var(--color-billable-charge)}:host novo-button[theme].has-icon.checked[color=payableCharge]{color:#fff;background:var(--color-payable-charge)}:host novo-button[theme].has-icon.checked[color=user]{color:#fff;background:var(--color-user)}:host novo-button[theme].has-icon.checked[color=corporateUser]{color:#fff;background:var(--color-corporate-user)}:host novo-button[theme].has-icon.checked[color=distributionList]{color:#fff;background:var(--color-distribution-list)}:host novo-button[theme].has-icon.checked[color=credential]{color:#fff;background:var(--color-credential)}:host novo-button[theme].has-icon.checked[color=person]{color:#fff;background:var(--color-person)}\n"] }]
|
|
167
167
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
168
168
|
type: Inject,
|
|
169
169
|
args: [NOVO_RADIO_GROUP]
|
|
@@ -384,7 +384,7 @@ class NovoRadioGroup extends NovoRadioGroupMixins {
|
|
|
384
384
|
RADIOGROUP_VALUE_ACCESSOR,
|
|
385
385
|
{ provide: NOVO_RADIO_GROUP, useExisting: NovoRadioGroup },
|
|
386
386
|
{ provide: NovoFieldControl, useExisting: NovoRadioGroup },
|
|
387
|
-
], queries: [{ propertyName: "_radios", predicate: i0.forwardRef(() => NovoRadioElement), descendants: true }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:flex}:host.novo-radio-group-appearance-horizontal novo-radio:not(:last-child) .novo-radio-button-label{margin-right:
|
|
387
|
+
], queries: [{ propertyName: "_radios", predicate: i0.forwardRef(() => NovoRadioElement), descendants: true }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:flex}:host.novo-radio-group-appearance-horizontal novo-radio:not(:last-child) .novo-radio-button-label{margin-right:var(--spacing-md)}:host.novo-radio-group-appearance-vertical{flex-flow:column;gap:.2rem}:host>novo-radio{margin:0}:host>novo-radio novo-button{pointer-events:none;border-radius:0!important}:host>novo-radio novo-button.unchecked{opacity:.6}:host>novo-radio novo-button[theme=icon]{margin-right:0;border:1px solid var(--color-positive)}:host>novo-radio:first-child novo-button{border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}:host>novo-radio:first-child novo-button[theme=icon]{border-right-width:0px!important}:host>novo-radio:last-child novo-button{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important;border-right-width:1px!important;border-right-style:solid!important}:host>novo-radio:last-child novo-button[theme=icon]{border-left-width:0px!important}\n"] }); }
|
|
388
388
|
}
|
|
389
389
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NovoRadioGroup, decorators: [{
|
|
390
390
|
type: Component,
|
|
@@ -396,7 +396,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
396
396
|
class: 'novo-radio-group',
|
|
397
397
|
'[class.novo-radio-group-appearance-horizontal]': 'appearance=="horizontal"',
|
|
398
398
|
'[class.novo-radio-group-appearance-vertical]': 'appearance=="vertical"',
|
|
399
|
-
}, standalone: false, styles: [":host{display:flex}:host.novo-radio-group-appearance-horizontal novo-radio:not(:last-child) .novo-radio-button-label{margin-right:
|
|
399
|
+
}, standalone: false, styles: [":host{display:flex}:host.novo-radio-group-appearance-horizontal novo-radio:not(:last-child) .novo-radio-button-label{margin-right:var(--spacing-md)}:host.novo-radio-group-appearance-vertical{flex-flow:column;gap:.2rem}:host>novo-radio{margin:0}:host>novo-radio novo-button{pointer-events:none;border-radius:0!important}:host>novo-radio novo-button.unchecked{opacity:.6}:host>novo-radio novo-button[theme=icon]{margin-right:0;border:1px solid var(--color-positive)}:host>novo-radio:first-child novo-button{border-top-left-radius:3px!important;border-bottom-left-radius:3px!important}:host>novo-radio:first-child novo-button[theme=icon]{border-right-width:0px!important}:host>novo-radio:last-child novo-button{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important;border-right-width:1px!important;border-right-style:solid!important}:host>novo-radio:last-child novo-button[theme=icon]{border-left-width:0px!important}\n"] }]
|
|
400
400
|
}], propDecorators: { id: [{
|
|
401
401
|
type: Input
|
|
402
402
|
}], tabindex: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novo-elements-elements-radio.mjs","sources":["../../../projects/novo-elements/src/elements/radio/tokens.ts","../../../projects/novo-elements/src/elements/radio/Radio.ts","../../../projects/novo-elements/src/elements/radio/RadioGroup.ts","../../../projects/novo-elements/src/elements/radio/Radio.module.ts","../../../projects/novo-elements/src/elements/radio/novo-elements-elements-radio.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface RadioGroup<T = any> {\n name: string;\n value: T;\n disabled: boolean;\n appearance: 'vertical' | 'horizontal';\n}\n\nexport type ComponentType<T> = new (...args: any[]) => T;\n\nexport const NOVO_RADIO_GROUP = new InjectionToken<ComponentType<RadioGroup>>('RadioGroupComponent');\n","// NG2\nimport {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n OnInit,\n Optional,\n Output,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { NOVO_RADIO_GROUP, RadioGroup } from './tokens';\n\n// make radio-buttons ids unique\nlet nextId = 0;\n\n// Value accessor for the component (supports ngModel)\nconst RADIO_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NovoRadioElement),\n multi: true,\n};\n\n@Component({\n selector: 'novo-radio',\n providers: [RADIO_VALUE_ACCESSOR],\n template: `\n <input\n type=\"radio\"\n [id]=\"id\"\n [name]=\"name\"\n [checked]=\"_checked\"\n [tabIndex]=\"tabindex\"\n [disabled]=\"disabled\"\n (focus)=\"focus.emit($event)\"\n (blur)=\"blur.emit($event)\"\n (change)=\"_onInputChange($event)\"\n />\n <label [attr.for]=\"id\" [class.disabled]=\"disabled\">\n <novo-button\n *ngIf=\"button\"\n [ngClass]=\"{ unchecked: !_checked, checked: _checked, 'has-icon': !!icon }\"\n [theme]=\"theme\"\n [color]=\"_checked ? color : null\"\n [icon]=\"icon\"\n [size]=\"size\"\n >\n {{ label }}\n </novo-button>\n <div *ngIf=\"!button\" class=\"novo-radio-button-label\">\n <i [ngClass]=\"{ 'bhi-radio-empty': !_checked, 'bhi-radio-filled': _checked }\"></i>\n {{ label }}\n <ng-content></ng-content>\n </div>\n </label>\n `,\n styleUrls: ['./Radio.scss'],\n host: {\n '[class.vertical]': 'vertical',\n },\n standalone: false,\n})\nexport class NovoRadioElement implements ControlValueAccessor, OnInit {\n private _uniqueId: string = `novo-radio-${++nextId}`;\n private _value: boolean | string = false;\n _checked: boolean = false;\n\n @Input() id: string = this._uniqueId;\n @Input() name: string = this._uniqueId;\n @Input() tabindex: number = 0;\n @Input() vertical: boolean = false;\n @Input() label: string;\n @Input() button: boolean = false;\n @Input() theme: string = 'secondary';\n @Input() size: string;\n @Input() icon: string;\n @Input() color: string;\n @Input() disabled: boolean;\n\n @Output() change = new EventEmitter();\n @Output() blur = new EventEmitter();\n @Output() focus = new EventEmitter();\n\n @Input()\n get checked(): boolean {\n return this._checked;\n }\n set checked(value: boolean) {\n value = !!value;\n if (this._checked !== value) {\n this._checked = value;\n if (this._checked && this.radioGroup && this.radioGroup.value !== this.value) {\n this.radioGroup.value = this.value;\n }\n this.onChangeCallback(this._value);\n }\n }\n\n @Input()\n get value(): boolean | string {\n return this._value;\n }\n set value(value) {\n if (this.value !== value) {\n this._value = value;\n if (this.radioGroup) {\n this._checked = this.radioGroup.value === this.value;\n }\n this.onChangeCallback(this._value);\n }\n }\n\n constructor(@Inject(NOVO_RADIO_GROUP) @Optional() public radioGroup: RadioGroup, private ref: ChangeDetectorRef) {\n this.radioGroup = radioGroup;\n }\n\n ngOnInit() {\n if (this.radioGroup) {\n this.checked = this.radioGroup.value === this._value;\n this.vertical = this.radioGroup.appearance === 'vertical';\n this.name = this.radioGroup.name;\n this.disabled = this.disabled || this.radioGroup.disabled;\n }\n }\n\n _onInputChange(event: Event) {\n event.stopPropagation();\n this.change.emit(event);\n\n this.checked = true;\n\n if (this.radioGroup) {\n this.radioGroup.value = this.value;\n }\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.ref.markForCheck();\n }\n\n registerOnChange(fn: any): void {\n this.onChangeCallback = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouchedCallback = fn;\n }\n\n private onChangeCallback = (_: any) => {\n // placeholder\n };\n\n private onTouchedCallback = () => {\n // placeholder\n };\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n }\n}\n","// NG2\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n AfterContentInit,\n Component,\n ContentChildren,\n EventEmitter,\n forwardRef,\n HostBinding,\n Input,\n Output,\n QueryList,\n} from '@angular/core';\nimport { ControlValueAccessor, FormGroupDirective, NgControl, NgForm, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { CanUpdateErrorStateCtor, ErrorStateMatcher, mixinErrorState } from 'novo-elements/elements/common';\nimport { NovoFieldControl } from 'novo-elements/elements/field';\nimport { NovoRadioElement } from './Radio';\nimport { NOVO_RADIO_GROUP } from './tokens';\n\n// make radio-button-group ids unique\nlet nextId = 0;\n// Value accessor for the component (supports ngModel)\nconst RADIOGROUP_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NovoRadioGroup),\n multi: true,\n};\n\n// Boilerplate for applying mixins\nclass NovoRadioGroupBase {\n constructor(\n public _defaultErrorStateMatcher: ErrorStateMatcher,\n public _parentForm: NgForm,\n public _parentFormGroup: FormGroupDirective,\n public ngControl: NgControl,\n ) {}\n}\nconst NovoRadioGroupMixins: CanUpdateErrorStateCtor & typeof NovoRadioGroupBase = mixinErrorState(NovoRadioGroupBase);\n\n@Component({\n selector: 'novo-radio-group',\n providers: [\n RADIOGROUP_VALUE_ACCESSOR,\n { provide: NOVO_RADIO_GROUP, useExisting: NovoRadioGroup },\n { provide: NovoFieldControl, useExisting: NovoRadioGroup },\n ],\n template: '<ng-content></ng-content>',\n styleUrls: ['./radio-group.scss'],\n host: {\n class: 'novo-radio-group',\n '[class.novo-radio-group-appearance-horizontal]': 'appearance==\"horizontal\"',\n '[class.novo-radio-group-appearance-vertical]': 'appearance==\"vertical\"',\n },\n standalone: false,\n})\nexport class NovoRadioGroup extends NovoRadioGroupMixins implements NovoFieldControl<any>, ControlValueAccessor, AfterContentInit {\n private _uniqueId: string = `novo-radio-group-${++nextId}`;\n /** The aria-describedby attribute on the chip list for improved a11y. */\n _ariaDescribedby: string;\n /** Tab index for the chip list. */\n _tabIndex = 0;\n /** User defined tab index. */\n _userTabIndex: number | null = null;\n /** The FocusKeyManager which handles focus. */\n _keyManager: FocusKeyManager<NovoRadioElement>;\n\n readonly controlType: string = 'radio-group';\n /** @docs-private Implemented as part of NovoFieldControl. */\n lastKeyValue: string = null;\n /** @docs-private Implemented as part of NovoFieldControl.*/\n lastCaretPosition: number | null;\n\n @Input() id: string = this._uniqueId;\n @Input() tabindex: number = 0;\n /** An object used to control when error messages are shown. */\n @Input() errorStateMatcher: ErrorStateMatcher;\n\n @Output() change = new EventEmitter();\n @Output() blur = new EventEmitter();\n\n @ContentChildren(forwardRef(() => NovoRadioElement), { descendants: true })\n _radios: QueryList<NovoRadioElement>;\n\n @Input()\n get appearance(): any {\n return this._appearance;\n }\n\n set appearance(value) {\n if (this._appearance !== value) {\n this._appearance = value;\n this._updateRadioButtonAppearance();\n }\n }\n\n @Input() get value(): any {\n return this._value;\n }\n\n set value(value) {\n if (this._value !== value) {\n this._value = value;\n this._updateSelectedRadioFromValue();\n this.onChangeCallback(this._value);\n }\n }\n\n @Input()\n get name(): string {\n return this._name;\n }\n\n set name(value: string) {\n if (this._name !== value) {\n this._updateRadioButtonNames();\n }\n }\n\n @HostBinding('class.disabled')\n @Input()\n get disabled(): boolean {\n return this.ngControl ? !!this.ngControl.disabled : this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n this._updateRadioButtonDisabled();\n }\n\n /**\n * Implemented as part of NovoFieldControl.\n * @docs-private\n */\n @Input()\n get required(): boolean {\n return this._required;\n }\n set required(value: boolean) {\n this._required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n /** Implemented as part of NovoFieldControl. */\n @Input()\n get placeholder(): string {\n return this._placeholder;\n }\n set placeholder(value: string) {\n this._placeholder = value;\n }\n\n get selected(): NovoRadioElement {\n return this._selected;\n }\n\n protected _name: string = this._uniqueId;\n protected _value: boolean = false;\n protected _selected: NovoRadioElement;\n protected _required: boolean = false;\n protected _disabled: boolean = false;\n protected _placeholder: string;\n protected _appearance: 'horizontal' | 'vertical' = 'horizontal';\n\n ngAfterContentInit() {\n this._updateRadioButtonAppearance();\n this._updateRadioButtonNames();\n this._updateSelectedRadioFromValue();\n }\n\n writeValue(value: any): void {\n this.value = value;\n }\n\n registerOnChange(fn: any): void {\n this.onChangeCallback = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouchedCallback = fn;\n }\n\n private onChangeCallback = (_: any) => {\n // placeholder\n };\n\n private onTouchedCallback = () => {\n // placeholder\n };\n\n private _updateRadioButtonAppearance(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.vertical = this.appearance === 'vertical';\n });\n }\n }\n\n private _updateRadioButtonNames(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.name = this.name;\n });\n }\n }\n\n private _updateRadioButtonDisabled(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.disabled = this.disabled;\n });\n }\n }\n\n private _updateSelectedRadioFromValue(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.checked = this.value === radio.value;\n if (radio.checked) {\n this._selected = radio;\n }\n });\n }\n }\n\n /** Whether any radio buttons has focus. */\n get focused(): boolean {\n // todo: implement this.\n return false;\n }\n\n /** Implemented as part of NovoFieldControl. */\n get empty(): boolean {\n return this.value === null;\n }\n\n /** Implemented as part of NovoFieldControl. */\n get shouldLabelFloat(): boolean {\n return !this.empty || this.focused;\n }\n\n /** Implemented as part of NovoFieldControl. */\n setDescribedByIds(ids: string[]) {\n this._ariaDescribedby = ids.join(' ');\n }\n\n /** Implemented as part of NovoFieldControl. */\n onContainerClick(event: MouseEvent) {\n this.focus();\n }\n\n /**\n * Focuses the first non-disabled chip in this chip list, or the associated input when there\n * are no eligible chips.\n */\n focus(options?: FocusOptions): void {\n if (this.disabled) {\n return;\n }\n // TODO\n }\n}\n","// NG2\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n// APP\nimport { NovoButtonModule } from 'novo-elements/elements/button';\nimport { NovoRadioElement } from './Radio';\nimport { NovoRadioGroup } from './RadioGroup';\n\n@NgModule({\n imports: [CommonModule, NovoButtonModule],\n declarations: [NovoRadioElement, NovoRadioGroup],\n exports: [NovoRadioElement, NovoRadioGroup],\n})\nexport class NovoRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["nextId"],"mappings":";;;;;;;;;;;MAWa,gBAAgB,GAAG,IAAI,cAAc,CAA4B,qBAAqB;;ACXnG;AAeA;AACA,IAAIA,QAAM,GAAG,CAAC;AAEd;AACA,MAAM,oBAAoB,GAAG;AAC3B,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;CACZ;MAyCY,gBAAgB,CAAA;AAqB3B,IAAA,IACI,OAAO,GAAA;QACT,OAAO,IAAI,CAAC,QAAQ;IACtB;IACA,IAAI,OAAO,CAAC,KAAc,EAAA;AACxB,QAAA,KAAK,GAAG,CAAC,CAAC,KAAK;AACf,QAAA,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE;AAC3B,YAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,YAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,KAAK,IAAI,CAAC,KAA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KAAK,EAAE,kBAAkB;AACzB,wBAAA,gDAAgD,EAAE,0BAA0B;AAC5E,wBAAA,8CAA8C,EAAE,wBAAwB;AAC3E,qBAAA,EAAA,UAAA,EACW,KAAK,EAAA,MAAA,EAAA,CAAA,o5BAAA,CAAA,EAAA;;sBAmBlB;;sBACA;;sBAEA;;sBAEA;;sBACA;;sBAEA,eAAe;uBAAC,UAAU,CAAC,MAAM,gBAAgB,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;sBAGzE;;sBAYA;;sBAYA;;sBAWA,WAAW;uBAAC,gBAAgB;;sBAC5B;;sBAaA;;sBAUA;;;AC/IH;MAaa,eAAe,CAAA;+GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAf,eAAe,EAAA,YAAA,EAAA,CAHX,gBAAgB,EAAE,cAAc,CAAA,EAAA,OAAA,EAAA,CADrC,YAAY,EAAE,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAE9B,gBAAgB,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;gHAE/B,eAAe,EAAA,OAAA,EAAA,CAJhB,YAAY,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;;4FAI7B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;AACzC,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;AAChD,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;AAC5C,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"novo-elements-elements-radio.mjs","sources":["../../../projects/novo-elements/src/elements/radio/tokens.ts","../../../projects/novo-elements/src/elements/radio/Radio.ts","../../../projects/novo-elements/src/elements/radio/RadioGroup.ts","../../../projects/novo-elements/src/elements/radio/Radio.module.ts","../../../projects/novo-elements/src/elements/radio/novo-elements-elements-radio.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface RadioGroup<T = any> {\n name: string;\n value: T;\n disabled: boolean;\n appearance: 'vertical' | 'horizontal';\n}\n\nexport type ComponentType<T> = new (...args: any[]) => T;\n\nexport const NOVO_RADIO_GROUP = new InjectionToken<ComponentType<RadioGroup>>('RadioGroupComponent');\n","// NG2\nimport {\n ChangeDetectorRef,\n Component,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n OnInit,\n Optional,\n Output,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { NOVO_RADIO_GROUP, RadioGroup } from './tokens';\n\n// make radio-buttons ids unique\nlet nextId = 0;\n\n// Value accessor for the component (supports ngModel)\nconst RADIO_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NovoRadioElement),\n multi: true,\n};\n\n@Component({\n selector: 'novo-radio',\n providers: [RADIO_VALUE_ACCESSOR],\n template: `\n <input\n type=\"radio\"\n [id]=\"id\"\n [name]=\"name\"\n [checked]=\"_checked\"\n [tabIndex]=\"tabindex\"\n [disabled]=\"disabled\"\n (focus)=\"focus.emit($event)\"\n (blur)=\"blur.emit($event)\"\n (change)=\"_onInputChange($event)\"\n />\n <label [attr.for]=\"id\" [class.disabled]=\"disabled\">\n <novo-button\n *ngIf=\"button\"\n [ngClass]=\"{ unchecked: !_checked, checked: _checked, 'has-icon': !!icon }\"\n [theme]=\"theme\"\n [color]=\"_checked ? color : null\"\n [icon]=\"icon\"\n [size]=\"size\"\n >\n {{ label }}\n </novo-button>\n <div *ngIf=\"!button\" class=\"novo-radio-button-label\">\n <i [ngClass]=\"{ 'bhi-radio-empty': !_checked, 'bhi-radio-filled': _checked }\"></i>\n {{ label }}\n <ng-content></ng-content>\n </div>\n </label>\n `,\n styleUrls: ['./Radio.scss'],\n host: {\n '[class.vertical]': 'vertical',\n },\n standalone: false,\n})\nexport class NovoRadioElement implements ControlValueAccessor, OnInit {\n private _uniqueId: string = `novo-radio-${++nextId}`;\n private _value: boolean | string = false;\n _checked: boolean = false;\n\n @Input() id: string = this._uniqueId;\n @Input() name: string = this._uniqueId;\n @Input() tabindex: number = 0;\n @Input() vertical: boolean = false;\n @Input() label: string;\n @Input() button: boolean = false;\n @Input() theme: string = 'secondary';\n @Input() size: string;\n @Input() icon: string;\n @Input() color: string;\n @Input() disabled: boolean;\n\n @Output() change = new EventEmitter();\n @Output() blur = new EventEmitter();\n @Output() focus = new EventEmitter();\n\n @Input()\n get checked(): boolean {\n return this._checked;\n }\n set checked(value: boolean) {\n value = !!value;\n if (this._checked !== value) {\n this._checked = value;\n if (this._checked && this.radioGroup && this.radioGroup.value !== this.value) {\n this.radioGroup.value = this.value;\n }\n this.onChangeCallback(this._value);\n }\n }\n\n @Input()\n get value(): boolean | string {\n return this._value;\n }\n set value(value) {\n if (this.value !== value) {\n this._value = value;\n if (this.radioGroup) {\n this._checked = this.radioGroup.value === this.value;\n }\n this.onChangeCallback(this._value);\n }\n }\n\n constructor(@Inject(NOVO_RADIO_GROUP) @Optional() public radioGroup: RadioGroup, private ref: ChangeDetectorRef) {\n this.radioGroup = radioGroup;\n }\n\n ngOnInit() {\n if (this.radioGroup) {\n this.checked = this.radioGroup.value === this._value;\n this.vertical = this.radioGroup.appearance === 'vertical';\n this.name = this.radioGroup.name;\n this.disabled = this.disabled || this.radioGroup.disabled;\n }\n }\n\n _onInputChange(event: Event) {\n event.stopPropagation();\n this.change.emit(event);\n\n this.checked = true;\n\n if (this.radioGroup) {\n this.radioGroup.value = this.value;\n }\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.ref.markForCheck();\n }\n\n registerOnChange(fn: any): void {\n this.onChangeCallback = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouchedCallback = fn;\n }\n\n private onChangeCallback = (_: any) => {\n // placeholder\n };\n\n private onTouchedCallback = () => {\n // placeholder\n };\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n }\n}\n","// NG2\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport {\n AfterContentInit,\n Component,\n ContentChildren,\n EventEmitter,\n forwardRef,\n HostBinding,\n Input,\n Output,\n QueryList,\n} from '@angular/core';\nimport { ControlValueAccessor, FormGroupDirective, NgControl, NgForm, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { CanUpdateErrorStateCtor, ErrorStateMatcher, mixinErrorState } from 'novo-elements/elements/common';\nimport { NovoFieldControl } from 'novo-elements/elements/field';\nimport { NovoRadioElement } from './Radio';\nimport { NOVO_RADIO_GROUP } from './tokens';\n\n// make radio-button-group ids unique\nlet nextId = 0;\n// Value accessor for the component (supports ngModel)\nconst RADIOGROUP_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NovoRadioGroup),\n multi: true,\n};\n\n// Boilerplate for applying mixins\nclass NovoRadioGroupBase {\n constructor(\n public _defaultErrorStateMatcher: ErrorStateMatcher,\n public _parentForm: NgForm,\n public _parentFormGroup: FormGroupDirective,\n public ngControl: NgControl,\n ) {}\n}\nconst NovoRadioGroupMixins: CanUpdateErrorStateCtor & typeof NovoRadioGroupBase = mixinErrorState(NovoRadioGroupBase);\n\n@Component({\n selector: 'novo-radio-group',\n providers: [\n RADIOGROUP_VALUE_ACCESSOR,\n { provide: NOVO_RADIO_GROUP, useExisting: NovoRadioGroup },\n { provide: NovoFieldControl, useExisting: NovoRadioGroup },\n ],\n template: '<ng-content></ng-content>',\n styleUrls: ['./radio-group.scss'],\n host: {\n class: 'novo-radio-group',\n '[class.novo-radio-group-appearance-horizontal]': 'appearance==\"horizontal\"',\n '[class.novo-radio-group-appearance-vertical]': 'appearance==\"vertical\"',\n },\n standalone: false,\n})\nexport class NovoRadioGroup extends NovoRadioGroupMixins implements NovoFieldControl<any>, ControlValueAccessor, AfterContentInit {\n private _uniqueId: string = `novo-radio-group-${++nextId}`;\n /** The aria-describedby attribute on the chip list for improved a11y. */\n _ariaDescribedby: string;\n /** Tab index for the chip list. */\n _tabIndex = 0;\n /** User defined tab index. */\n _userTabIndex: number | null = null;\n /** The FocusKeyManager which handles focus. */\n _keyManager: FocusKeyManager<NovoRadioElement>;\n\n readonly controlType: string = 'radio-group';\n /** @docs-private Implemented as part of NovoFieldControl. */\n lastKeyValue: string = null;\n /** @docs-private Implemented as part of NovoFieldControl.*/\n lastCaretPosition: number | null;\n\n @Input() id: string = this._uniqueId;\n @Input() tabindex: number = 0;\n /** An object used to control when error messages are shown. */\n @Input() errorStateMatcher: ErrorStateMatcher;\n\n @Output() change = new EventEmitter();\n @Output() blur = new EventEmitter();\n\n @ContentChildren(forwardRef(() => NovoRadioElement), { descendants: true })\n _radios: QueryList<NovoRadioElement>;\n\n @Input()\n get appearance(): any {\n return this._appearance;\n }\n\n set appearance(value) {\n if (this._appearance !== value) {\n this._appearance = value;\n this._updateRadioButtonAppearance();\n }\n }\n\n @Input() get value(): any {\n return this._value;\n }\n\n set value(value) {\n if (this._value !== value) {\n this._value = value;\n this._updateSelectedRadioFromValue();\n this.onChangeCallback(this._value);\n }\n }\n\n @Input()\n get name(): string {\n return this._name;\n }\n\n set name(value: string) {\n if (this._name !== value) {\n this._updateRadioButtonNames();\n }\n }\n\n @HostBinding('class.disabled')\n @Input()\n get disabled(): boolean {\n return this.ngControl ? !!this.ngControl.disabled : this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n this._updateRadioButtonDisabled();\n }\n\n /**\n * Implemented as part of NovoFieldControl.\n * @docs-private\n */\n @Input()\n get required(): boolean {\n return this._required;\n }\n set required(value: boolean) {\n this._required = coerceBooleanProperty(value);\n this.stateChanges.next();\n }\n\n /** Implemented as part of NovoFieldControl. */\n @Input()\n get placeholder(): string {\n return this._placeholder;\n }\n set placeholder(value: string) {\n this._placeholder = value;\n }\n\n get selected(): NovoRadioElement {\n return this._selected;\n }\n\n protected _name: string = this._uniqueId;\n protected _value: boolean = false;\n protected _selected: NovoRadioElement;\n protected _required: boolean = false;\n protected _disabled: boolean = false;\n protected _placeholder: string;\n protected _appearance: 'horizontal' | 'vertical' = 'horizontal';\n\n ngAfterContentInit() {\n this._updateRadioButtonAppearance();\n this._updateRadioButtonNames();\n this._updateSelectedRadioFromValue();\n }\n\n writeValue(value: any): void {\n this.value = value;\n }\n\n registerOnChange(fn: any): void {\n this.onChangeCallback = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouchedCallback = fn;\n }\n\n private onChangeCallback = (_: any) => {\n // placeholder\n };\n\n private onTouchedCallback = () => {\n // placeholder\n };\n\n private _updateRadioButtonAppearance(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.vertical = this.appearance === 'vertical';\n });\n }\n }\n\n private _updateRadioButtonNames(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.name = this.name;\n });\n }\n }\n\n private _updateRadioButtonDisabled(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.disabled = this.disabled;\n });\n }\n }\n\n private _updateSelectedRadioFromValue(): void {\n if (this._radios) {\n this._radios.forEach((radio) => {\n radio.checked = this.value === radio.value;\n if (radio.checked) {\n this._selected = radio;\n }\n });\n }\n }\n\n /** Whether any radio buttons has focus. */\n get focused(): boolean {\n // todo: implement this.\n return false;\n }\n\n /** Implemented as part of NovoFieldControl. */\n get empty(): boolean {\n return this.value === null;\n }\n\n /** Implemented as part of NovoFieldControl. */\n get shouldLabelFloat(): boolean {\n return !this.empty || this.focused;\n }\n\n /** Implemented as part of NovoFieldControl. */\n setDescribedByIds(ids: string[]) {\n this._ariaDescribedby = ids.join(' ');\n }\n\n /** Implemented as part of NovoFieldControl. */\n onContainerClick(event: MouseEvent) {\n this.focus();\n }\n\n /**\n * Focuses the first non-disabled chip in this chip list, or the associated input when there\n * are no eligible chips.\n */\n focus(options?: FocusOptions): void {\n if (this.disabled) {\n return;\n }\n // TODO\n }\n}\n","// NG2\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n// APP\nimport { NovoButtonModule } from 'novo-elements/elements/button';\nimport { NovoRadioElement } from './Radio';\nimport { NovoRadioGroup } from './RadioGroup';\n\n@NgModule({\n imports: [CommonModule, NovoButtonModule],\n declarations: [NovoRadioElement, NovoRadioGroup],\n exports: [NovoRadioElement, NovoRadioGroup],\n})\nexport class NovoRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["nextId"],"mappings":";;;;;;;;;;;MAWa,gBAAgB,GAAG,IAAI,cAAc,CAA4B,qBAAqB;;ACXnG;AAeA;AACA,IAAIA,QAAM,GAAG,CAAC;AAEd;AACA,MAAM,oBAAoB,GAAG;AAC3B,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;CACZ;MAyCY,gBAAgB,CAAA;AAqB3B,IAAA,IACI,OAAO,GAAA;QACT,OAAO,IAAI,CAAC,QAAQ;IACtB;IACA,IAAI,OAAO,CAAC,KAAc,EAAA;AACxB,QAAA,KAAK,GAAG,CAAC,CAAC,KAAK;AACf,QAAA,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE;AAC3B,YAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,YAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,EAAE;gBAC5E,IAAI,CAAC,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK;YACpC;AACA,YAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC;QACpC;IACF;AAEA,IAAA,IACI,KAAK,GAAA;QACP,OAAO,IAAI,CA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sBAEA;;sBAEA;;sBACA;;sBAEA,eAAe;uBAAC,UAAU,CAAC,MAAM,gBAAgB,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;sBAGzE;;sBAYA;;sBAYA;;sBAWA,WAAW;uBAAC,gBAAgB;;sBAC5B;;sBAaA;;sBAUA;;;AC/IH;MAaa,eAAe,CAAA;+GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAf,eAAe,EAAA,YAAA,EAAA,CAHX,gBAAgB,EAAE,cAAc,CAAA,EAAA,OAAA,EAAA,CADrC,YAAY,EAAE,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAE9B,gBAAgB,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;gHAE/B,eAAe,EAAA,OAAA,EAAA,CAJhB,YAAY,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;;4FAI7B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;AACzC,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;AAChD,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;AAC5C,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -188,7 +188,7 @@ class NovoSearchBoxElement {
|
|
|
188
188
|
>
|
|
189
189
|
<ng-content></ng-content>
|
|
190
190
|
</novo-overlay-template>
|
|
191
|
-
`, isInline: true, styles: [":host{display:grid;grid-template-areas:\"icon input\";grid-template-columns:3.2rem 1fr;grid-template-rows:1fr;align-items:center;height:3.2rem;background
|
|
191
|
+
`, isInline: true, styles: [":host{display:grid;grid-template-areas:\"icon input\";grid-template-columns:3.2rem 1fr;grid-template-rows:1fr;align-items:center;height:3.2rem;background:var(--background-bright);border:1px solid var(--color-border-default);border-radius:var(--border-radius-sm);max-width:400px;min-width:100px;transition:all .25s ease-in-out}:host[size=small]{font-size:var(--font-size-xs);height:2.4rem;grid-template-columns:2.4rem 1fr}:host[size=large]{font-size:1.8rem;height:4rem;grid-template-columns:4rem 1fr}:host>button[theme][theme=fab]{width:2.8em;height:2.8em;min-height:2.8em}:host>input{height:100%;display:block;background:transparent;position:relative;color:var(--text-main);z-index:10;border:none;transition:all .25s;backface-visibility:hidden}:host>input:focus,:host>input:active{outline:none}:host novo-icon{color:var(--text-main)}:host.focused{border:1px solid var(--selection)}:host.focused>novo-icon{color:var(--selection)!important}:host.focused[color=border-default]>novo-icon{color:!important}:host.focused[color=black]>novo-icon{color:var(--color-black)!important}:host.focused[color=white]>novo-icon{color:var(--color-white)!important}:host.focused[color=gray]>novo-icon{color:var(--color-gray)!important}:host.focused[color=grey]>novo-icon{color:var(--color-grey)!important}:host.focused[color=offWhite]>novo-icon{color:var(--color-off-white)!important}:host.focused[color=bright]>novo-icon{color:var(--color-bright)!important}:host.focused[color=light]>novo-icon{color:var(--color-light)!important}:host.focused[color=neutral]>novo-icon{color:var(--color-neutral)!important}:host.focused[color=dark]>novo-icon{color:var(--color-dark)!important}:host.focused[color=orange]>novo-icon{color:var(--color-orange)!important}:host.focused[color=navigation]>novo-icon{color:var(--color-navigation)!important}:host.focused[color=skyBlue]>novo-icon{color:var(--color-sky-blue)!important}:host.focused[color=steel]>novo-icon{color:var(--color-steel)!important}:host.focused[color=metal]>novo-icon{color:var(--color-metal)!important}:host.focused[color=sand]>novo-icon{color:var(--color-sand)!important}:host.focused[color=silver]>novo-icon{color:var(--color-silver)!important}:host.focused[color=stone]>novo-icon{color:var(--color-stone)!important}:host.focused[color=ash]>novo-icon{color:var(--color-ash)!important}:host.focused[color=anonymous]>novo-icon{color:var(--color-anonymous)!important}:host.focused[color=slate]>novo-icon{color:var(--color-slate)!important}:host.focused[color=onyx]>novo-icon{color:var(--color-onyx)!important}:host.focused[color=charcoal]>novo-icon{color:var(--color-charcoal)!important}:host.focused[color=moonlight]>novo-icon{color:var(--color-moonlight)!important}:host.focused[color=midnight]>novo-icon{color:var(--color-midnight)!important}:host.focused[color=darkness]>novo-icon{color:var(--color-darkness)!important}:host.focused[color=navy]>novo-icon{color:var(--color-navy)!important}:host.focused[color=aqua]>novo-icon{color:var(--color-aqua)!important}:host.focused[color=ocean]>novo-icon{color:var(--color-ocean)!important}:host.focused[color=mint]>novo-icon{color:var(--color-mint)!important}:host.focused[color=grass]>novo-icon{color:var(--color-grass)!important}:host.focused[color=sunflower]>novo-icon{color:var(--color-sunflower)!important}:host.focused[color=bittersweet]>novo-icon{color:var(--color-bittersweet)!important}:host.focused[color=grapefruit]>novo-icon{color:var(--color-grapefruit)!important}:host.focused[color=carnation]>novo-icon{color:var(--color-carnation)!important}:host.focused[color=lavender]>novo-icon{color:var(--color-lavender)!important}:host.focused[color=mountain]>novo-icon{color:var(--color-mountain)!important}:host.focused[color=info]>novo-icon{color:var(--color-info)!important}:host.focused[color=positive]>novo-icon{color:var(--color-positive)!important}:host.focused[color=success]>novo-icon{color:var(--color-success)!important}:host.focused[color=negative]>novo-icon{color:var(--color-negative)!important}:host.focused[color=danger]>novo-icon{color:var(--color-danger)!important}:host.focused[color=error]>novo-icon{color:var(--color-error)!important}:host.focused[color=warning]>novo-icon{color:var(--color-warning)!important}:host.focused[color=empty]>novo-icon{color:var(--color-empty)!important}:host.focused[color=disabled]>novo-icon{color:var(--color-disabled)!important}:host.focused[color=background]>novo-icon{color:var(--color-background)!important}:host.focused[color=backgroundDark]>novo-icon{color:var(--color-background-dark)!important}:host.focused[color=border]>novo-icon{color:var(--color-border)!important}:host.focused[color=border2]>novo-icon{color:var(--color-border2)!important}:host.focused[color=text]>novo-icon{color:var(--color-text)!important}:host.focused[color=presentation]>novo-icon{color:var(--color-presentation)!important}:host.focused[color=bullhorn]>novo-icon{color:var(--color-bullhorn)!important}:host.focused[color=pulse]>novo-icon{color:var(--color-pulse)!important}:host.focused[color=fastFind]>novo-icon{color:var(--color-fast-find)!important}:host.focused[color=toast]>novo-icon{color:var(--color-toast)!important}:host.focused[color=company]>novo-icon{color:var(--color-company)!important}:host.focused[color=candidate]>novo-icon{color:var(--color-candidate)!important}:host.focused[color=lead]>novo-icon{color:var(--color-lead)!important}:host.focused[color=contact]>novo-icon{color:var(--color-contact)!important}:host.focused[color=clientcontact]>novo-icon{color:var(--color-clientcontact)!important}:host.focused[color=opportunity]>novo-icon{color:var(--color-opportunity)!important}:host.focused[color=job]>novo-icon{color:var(--color-job)!important}:host.focused[color=joborder]>novo-icon{color:var(--color-joborder)!important}:host.focused[color=submission]>novo-icon{color:var(--color-submission)!important}:host.focused[color=sendout]>novo-icon{color:var(--color-sendout)!important}:host.focused[color=placement]>novo-icon{color:var(--color-placement)!important}:host.focused[color=note]>novo-icon{color:var(--color-note)!important}:host.focused[color=contract]>novo-icon{color:var(--color-contract)!important}:host.focused[color=task]>novo-icon{color:var(--color-task)!important}:host.focused[color=jobCode]>novo-icon{color:var(--color-job-code)!important}:host.focused[color=earnCode]>novo-icon{color:var(--color-earn-code)!important}:host.focused[color=invoiceStatement]>novo-icon{color:var(--color-invoice-statement)!important}:host.focused[color=billableCharge]>novo-icon{color:var(--color-billable-charge)!important}:host.focused[color=payableCharge]>novo-icon{color:var(--color-payable-charge)!important}:host.focused[color=user]>novo-icon{color:var(--color-user)!important}:host.focused[color=corporateUser]>novo-icon{color:var(--color-corporate-user)!important}:host.focused[color=distributionList]>novo-icon{color:var(--color-distribution-list)!important}:host.focused[color=credential]>novo-icon{color:var(--color-credential)!important}:host.focused[color=person]>novo-icon{color:var(--color-person)!important}header novo-search.always-open:not(.focused) button{background:#ffffff40!important;color:rgb(from var(--color-positive) r g b/.25)!important}header novo-search.always-open:not(.focused) input{background-color:#ffffff40!important;border-color:#ffffff40!important;color:rgb(from var(--color-positive) r g b/.25)!important}header novo-search.always-open:not(.focused) input::placeholder{color:var(--color-empty)!important}\n"], dependencies: [{ kind: "component", type: i2.NovoIconComponent, selector: "novo-icon", inputs: ["raised", "theme", "shape", "color", "size", "smaller", "larger", "alt", "name"] }, { kind: "directive", type: i3.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML", "tooltipCloseOnClick", "tooltipOnOverflow", "tooltipActive"] }, { kind: "component", type: i4.NovoOverlayTemplateComponent, selector: "novo-overlay-template", inputs: ["position", "scrollStrategy", "width", "minWidth", "height", "closeOnSelect", "hasBackdrop", "parent"], outputs: ["select", "opening", "closing", "backDropClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
192
192
|
}
|
|
193
193
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NovoSearchBoxElement, decorators: [{
|
|
194
194
|
type: Component,
|
|
@@ -219,7 +219,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
219
219
|
>
|
|
220
220
|
<ng-content></ng-content>
|
|
221
221
|
</novo-overlay-template>
|
|
222
|
-
`, standalone: false, styles: [":host{display:grid;grid-template-areas:\"icon input\";grid-template-columns:3.2rem 1fr;grid-template-rows:1fr;align-items:center;height:3.2rem;background
|
|
222
|
+
`, standalone: false, styles: [":host{display:grid;grid-template-areas:\"icon input\";grid-template-columns:3.2rem 1fr;grid-template-rows:1fr;align-items:center;height:3.2rem;background:var(--background-bright);border:1px solid var(--color-border-default);border-radius:var(--border-radius-sm);max-width:400px;min-width:100px;transition:all .25s ease-in-out}:host[size=small]{font-size:var(--font-size-xs);height:2.4rem;grid-template-columns:2.4rem 1fr}:host[size=large]{font-size:1.8rem;height:4rem;grid-template-columns:4rem 1fr}:host>button[theme][theme=fab]{width:2.8em;height:2.8em;min-height:2.8em}:host>input{height:100%;display:block;background:transparent;position:relative;color:var(--text-main);z-index:10;border:none;transition:all .25s;backface-visibility:hidden}:host>input:focus,:host>input:active{outline:none}:host novo-icon{color:var(--text-main)}:host.focused{border:1px solid var(--selection)}:host.focused>novo-icon{color:var(--selection)!important}:host.focused[color=border-default]>novo-icon{color:!important}:host.focused[color=black]>novo-icon{color:var(--color-black)!important}:host.focused[color=white]>novo-icon{color:var(--color-white)!important}:host.focused[color=gray]>novo-icon{color:var(--color-gray)!important}:host.focused[color=grey]>novo-icon{color:var(--color-grey)!important}:host.focused[color=offWhite]>novo-icon{color:var(--color-off-white)!important}:host.focused[color=bright]>novo-icon{color:var(--color-bright)!important}:host.focused[color=light]>novo-icon{color:var(--color-light)!important}:host.focused[color=neutral]>novo-icon{color:var(--color-neutral)!important}:host.focused[color=dark]>novo-icon{color:var(--color-dark)!important}:host.focused[color=orange]>novo-icon{color:var(--color-orange)!important}:host.focused[color=navigation]>novo-icon{color:var(--color-navigation)!important}:host.focused[color=skyBlue]>novo-icon{color:var(--color-sky-blue)!important}:host.focused[color=steel]>novo-icon{color:var(--color-steel)!important}:host.focused[color=metal]>novo-icon{color:var(--color-metal)!important}:host.focused[color=sand]>novo-icon{color:var(--color-sand)!important}:host.focused[color=silver]>novo-icon{color:var(--color-silver)!important}:host.focused[color=stone]>novo-icon{color:var(--color-stone)!important}:host.focused[color=ash]>novo-icon{color:var(--color-ash)!important}:host.focused[color=anonymous]>novo-icon{color:var(--color-anonymous)!important}:host.focused[color=slate]>novo-icon{color:var(--color-slate)!important}:host.focused[color=onyx]>novo-icon{color:var(--color-onyx)!important}:host.focused[color=charcoal]>novo-icon{color:var(--color-charcoal)!important}:host.focused[color=moonlight]>novo-icon{color:var(--color-moonlight)!important}:host.focused[color=midnight]>novo-icon{color:var(--color-midnight)!important}:host.focused[color=darkness]>novo-icon{color:var(--color-darkness)!important}:host.focused[color=navy]>novo-icon{color:var(--color-navy)!important}:host.focused[color=aqua]>novo-icon{color:var(--color-aqua)!important}:host.focused[color=ocean]>novo-icon{color:var(--color-ocean)!important}:host.focused[color=mint]>novo-icon{color:var(--color-mint)!important}:host.focused[color=grass]>novo-icon{color:var(--color-grass)!important}:host.focused[color=sunflower]>novo-icon{color:var(--color-sunflower)!important}:host.focused[color=bittersweet]>novo-icon{color:var(--color-bittersweet)!important}:host.focused[color=grapefruit]>novo-icon{color:var(--color-grapefruit)!important}:host.focused[color=carnation]>novo-icon{color:var(--color-carnation)!important}:host.focused[color=lavender]>novo-icon{color:var(--color-lavender)!important}:host.focused[color=mountain]>novo-icon{color:var(--color-mountain)!important}:host.focused[color=info]>novo-icon{color:var(--color-info)!important}:host.focused[color=positive]>novo-icon{color:var(--color-positive)!important}:host.focused[color=success]>novo-icon{color:var(--color-success)!important}:host.focused[color=negative]>novo-icon{color:var(--color-negative)!important}:host.focused[color=danger]>novo-icon{color:var(--color-danger)!important}:host.focused[color=error]>novo-icon{color:var(--color-error)!important}:host.focused[color=warning]>novo-icon{color:var(--color-warning)!important}:host.focused[color=empty]>novo-icon{color:var(--color-empty)!important}:host.focused[color=disabled]>novo-icon{color:var(--color-disabled)!important}:host.focused[color=background]>novo-icon{color:var(--color-background)!important}:host.focused[color=backgroundDark]>novo-icon{color:var(--color-background-dark)!important}:host.focused[color=border]>novo-icon{color:var(--color-border)!important}:host.focused[color=border2]>novo-icon{color:var(--color-border2)!important}:host.focused[color=text]>novo-icon{color:var(--color-text)!important}:host.focused[color=presentation]>novo-icon{color:var(--color-presentation)!important}:host.focused[color=bullhorn]>novo-icon{color:var(--color-bullhorn)!important}:host.focused[color=pulse]>novo-icon{color:var(--color-pulse)!important}:host.focused[color=fastFind]>novo-icon{color:var(--color-fast-find)!important}:host.focused[color=toast]>novo-icon{color:var(--color-toast)!important}:host.focused[color=company]>novo-icon{color:var(--color-company)!important}:host.focused[color=candidate]>novo-icon{color:var(--color-candidate)!important}:host.focused[color=lead]>novo-icon{color:var(--color-lead)!important}:host.focused[color=contact]>novo-icon{color:var(--color-contact)!important}:host.focused[color=clientcontact]>novo-icon{color:var(--color-clientcontact)!important}:host.focused[color=opportunity]>novo-icon{color:var(--color-opportunity)!important}:host.focused[color=job]>novo-icon{color:var(--color-job)!important}:host.focused[color=joborder]>novo-icon{color:var(--color-joborder)!important}:host.focused[color=submission]>novo-icon{color:var(--color-submission)!important}:host.focused[color=sendout]>novo-icon{color:var(--color-sendout)!important}:host.focused[color=placement]>novo-icon{color:var(--color-placement)!important}:host.focused[color=note]>novo-icon{color:var(--color-note)!important}:host.focused[color=contract]>novo-icon{color:var(--color-contract)!important}:host.focused[color=task]>novo-icon{color:var(--color-task)!important}:host.focused[color=jobCode]>novo-icon{color:var(--color-job-code)!important}:host.focused[color=earnCode]>novo-icon{color:var(--color-earn-code)!important}:host.focused[color=invoiceStatement]>novo-icon{color:var(--color-invoice-statement)!important}:host.focused[color=billableCharge]>novo-icon{color:var(--color-billable-charge)!important}:host.focused[color=payableCharge]>novo-icon{color:var(--color-payable-charge)!important}:host.focused[color=user]>novo-icon{color:var(--color-user)!important}:host.focused[color=corporateUser]>novo-icon{color:var(--color-corporate-user)!important}:host.focused[color=distributionList]>novo-icon{color:var(--color-distribution-list)!important}:host.focused[color=credential]>novo-icon{color:var(--color-credential)!important}:host.focused[color=person]>novo-icon{color:var(--color-person)!important}header novo-search.always-open:not(.focused) button{background:#ffffff40!important;color:rgb(from var(--color-positive) r g b/.25)!important}header novo-search.always-open:not(.focused) input{background-color:#ffffff40!important;border-color:#ffffff40!important;color:rgb(from var(--color-positive) r g b/.25)!important}header novo-search.always-open:not(.focused) input::placeholder{color:var(--color-empty)!important}\n"] }]
|
|
223
223
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.NovoLabelService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { name: [{
|
|
224
224
|
type: Input
|
|
225
225
|
}], icon: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novo-elements-elements-search.mjs","sources":["../../../projects/novo-elements/src/elements/search/SearchBox.ts","../../../projects/novo-elements/src/elements/search/SearchBox.module.ts","../../../projects/novo-elements/src/elements/search/novo-elements-elements-search.ts"],"sourcesContent":["// NG2\nimport { ENTER } from '@angular/cdk/keycodes';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n Input,\n NgZone,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n// APP\nimport { NovoLabelService } from 'novo-elements/services';\nimport { Key } from 'novo-elements/utils';\nimport { NovoOverlayTemplateComponent } from 'novo-elements/elements/common';\n\n// Value accessor for the component (supports ngModel)\nconst SEARCH_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NovoSearchBoxElement),\n multi: true,\n};\n\n@Component({\n selector: 'novo-search',\n providers: [SEARCH_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <!-- SEARCH ICON -->\n <novo-icon (click)=\"showSearch($event)\" [tooltip]=\"hint\" tooltipPosition=\"bottom\">{{ icon }}</novo-icon>\n <!-- SEARCH INPUT -->\n <input\n type=\"text\"\n [attr.name]=\"name\"\n [attr.value]=\"displayValue\"\n [attr.placeholder]=\"placeholder\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keydown)=\"_handleKeydown($event)\"\n (input)=\"_handleInput($event)\"\n #input\n data-automation-id=\"novo-search-input\"\n />\n <!-- SEARCH OVERLAY -->\n <novo-overlay-template\n [parent]=\"element\"\n [closeOnSelect]=\"closeOnSelect\"\n [position]=\"position\"\n [hasBackdrop]=\"hasBackdrop\"\n (select)=\"onSelect()\"\n (closing)=\"onBlur()\"\n >\n <ng-content></ng-content>\n </novo-overlay-template>\n `,\n styleUrls: ['./SearchBox.scss'],\n standalone: false,\n})\nexport class NovoSearchBoxElement implements ControlValueAccessor, OnInit {\n @Input()\n public name: string;\n @Input()\n public icon: string = 'search';\n @Input()\n public position: string = 'bottom-left';\n @Input()\n public placeholder: string = 'Search...';\n @Input()\n @HostBinding('class.always-open')\n public alwaysOpen: boolean = false;\n @Input()\n public theme: string;\n @Input()\n public color: string = 'positive';\n @Input()\n public closeOnSelect: boolean = true;\n @Input()\n public displayField: string;\n @Input()\n public displayValue: string;\n @Input()\n public hint: string;\n @Input()\n public keepOpen: boolean = false;\n @Input()\n public hasBackdrop: boolean = false;\n @Input()\n public allowPropagation: boolean = false;\n @Input()\n public overrideElement: ElementRef;\n @Output()\n public searchChanged: EventEmitter<string> = new EventEmitter<string>();\n @Output()\n public applySearch: EventEmitter<KeyboardEvent> = new EventEmitter<KeyboardEvent>();\n @HostBinding('class.focused')\n focused: boolean = false;\n public value: any;\n\n /** View -> model callback called when value changes */\n _onChange: (value: any) => void = () => {};\n /** View -> model callback called when autocomplete has been touched */\n _onTouched = () => {};\n\n /** Element for the panel containing the autocomplete options. */\n @ViewChild(NovoOverlayTemplateComponent)\n overlay: any;\n @ViewChild('input', { static: true })\n input: any;\n\n private debounceSearchChange: any;\n\n constructor(\n public element: ElementRef,\n public labels: NovoLabelService,\n private _changeDetectorRef: ChangeDetectorRef,\n private _zone: NgZone,\n ) {}\n\n ngOnInit() {\n if (this.overrideElement) {\n this.element = this.overrideElement;\n }\n }\n\n /**\n * @name showFasterFind\n * @description This function shows the picker and adds the active class (for animation)\n */\n showSearch(event?: any, forceClose: boolean = false) {\n if (!this.panelOpen) {\n // Reset search\n // Set focus on search\n setTimeout(() => {\n const element = this.input.nativeElement;\n if (element) {\n element.focus();\n }\n }, 10);\n } else {\n this.closePanel();\n }\n }\n onFocus() {\n this._zone.run(() => {\n this.focused = true;\n this.openPanel();\n });\n }\n onBlur() {\n if (!this.keepOpen || !this.panelOpen) {\n this.focused = false;\n }\n }\n onSelect() {\n if (!this.keepOpen) {\n this.closePanel();\n }\n }\n /** BEGIN: Convenient Panel Methods. */\n openPanel(): void {\n this.overlay.openPanel();\n }\n closePanel(): void {\n setTimeout(() => this.overlay.closePanel());\n this.focused = false;\n }\n get panelOpen(): boolean {\n return this.overlay && this.overlay.panelOpen;\n }\n @HostBinding('class.active')\n get active(): boolean {\n return this.panelOpen || this.alwaysOpen;\n }\n /** END: Convenient Panel Methods. */\n\n _handleKeydown(event: KeyboardEvent): void {\n if ((event.key === Key.Escape || event.key === Key.Enter || event.key === Key.Tab) && this.panelOpen) {\n if (event.keyCode === ENTER) {\n this.applySearch.emit(event);\n }\n this.closePanel();\n if (!this.allowPropagation) {\n event.stopPropagation();\n }\n }\n }\n _handleInput(event: KeyboardEvent): void {\n if (document.activeElement === event.target) {\n this.value = (event.target as HTMLInputElement).value;\n this._onChange((event.target as HTMLInputElement).value);\n\n if (this.debounceSearchChange) {\n clearTimeout(this.debounceSearchChange);\n }\n this.debounceSearchChange = setTimeout(() => {\n this.searchChanged.emit((event.target as HTMLInputElement).value);\n }, 400);\n }\n }\n writeValue(value: any): void {\n this._setValue(value);\n }\n registerOnChange(fn: (value: any) => {}): void {\n this._onChange = fn;\n }\n registerOnTouched(fn: () => {}) {\n this._onTouched = fn;\n }\n private _setValue(value: any): void {\n this.value = value;\n let toDisplay = value;\n if (value && this.displayField) {\n toDisplay = value.hasOwnProperty(this.displayField) ? value[this.displayField] : value;\n }\n // Simply falling back to an empty string if the display value is falsy does not work properly.\n // The display value can also be the number zero and shouldn't fall back to an empty string.\n this.displayValue = toDisplay ? toDisplay : '';\n this.input.nativeElement.value = this.displayValue;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * This method closes the panel, and if a value is specified, also sets the associated\n * control to that value. It will also mark the control as dirty if this interaction\n * stemmed from the user.\n */\n public setValueAndClose(event: any | null): void {\n if (event && event.value) {\n this._setValue(event.value);\n this._onChange(event.value);\n }\n this.closePanel();\n }\n\n /**\n * Clear any previous selected option and emit a selection change event for this option\n */\n public clearValue(skip: any) {\n this.writeValue(null);\n this._onChange(null);\n }\n}\n","// NG2\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n// APP\nimport { NovoOverlayModule } from 'novo-elements/elements/common';\nimport { NovoIconModule } from 'novo-elements/elements/icon';\nimport { NovoPickerModule } from 'novo-elements/elements/picker';\nimport { NovoTooltipModule } from 'novo-elements/elements/tooltip';\nimport { NovoSearchBoxElement } from './SearchBox';\n@NgModule({\n imports: [CommonModule, NovoIconModule, NovoPickerModule, NovoTooltipModule, NovoOverlayModule],\n declarations: [NovoSearchBoxElement],\n exports: [NovoSearchBoxElement],\n})\nexport class NovoSearchBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;AAsBA;AACA,MAAM,qBAAqB,GAAG;AAC5B,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,oBAAoB,CAAC;AACnD,IAAA,KAAK,EAAE,IAAI;CACZ;MAqCY,oBAAoB,CAAA;AAqD/B,IAAA,WAAA,CACS,OAAmB,EACnB,MAAwB,EACvB,kBAAqC,EACrC,KAAa,EAAA;QAHd,IAAA,CAAA,OAAO,GAAP,OAAO;QACP,IAAA,CAAA,MAAM,GAAN,MAAM;QACL,IAAA,CAAA,kBAAkB,GAAlB,kBAAkB;QAClB,IAAA,CAAA,KAAK,GAAL,KAAK;QArDR,IAAA,CAAA,IAAI,GAAW,QAAQ;QAEvB,IAAA,CAAA,QAAQ,GAAW,aAAa;QAEhC,IAAA,CAAA,WAAW,GAAW,WAAW;QAGjC,IAAA,CAAA,UAAU,GAAY,KAAK;QAI3B,IAAA,CAAA,KAAK,GAAW,UAAU;QAE1B,IAAA,CAAA,aAAa,GAAY,IAAI;QAQ7B,IAAA,CAAA,QAAQ,GAAY,KAAK;QAEzB,IAAA,CAAA,WAAW,GAAY,KAAK;QAE5B,IAAA,CAAA,gBAAgB,GAAY,KAAK;AAIjC,QAAA,IAAA,CAAA,aAAa,GAAyB,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EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,CAHf,oBAAoB,CAAA,EAAA,OAAA,EAAA,CADzB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,aAEpF,oBAAoB,CAAA,EAAA,CAAA,CAAA;gHAEnB,mBAAmB,EAAA,OAAA,EAAA,CAJpB,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;;4FAInF,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;oBAC/F,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAChC,iBAAA;;;ACbD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"novo-elements-elements-search.mjs","sources":["../../../projects/novo-elements/src/elements/search/SearchBox.ts","../../../projects/novo-elements/src/elements/search/SearchBox.module.ts","../../../projects/novo-elements/src/elements/search/novo-elements-elements-search.ts"],"sourcesContent":["// NG2\nimport { ENTER } from '@angular/cdk/keycodes';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n Input,\n NgZone,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n// APP\nimport { NovoLabelService } from 'novo-elements/services';\nimport { Key } from 'novo-elements/utils';\nimport { NovoOverlayTemplateComponent } from 'novo-elements/elements/common';\n\n// Value accessor for the component (supports ngModel)\nconst SEARCH_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NovoSearchBoxElement),\n multi: true,\n};\n\n@Component({\n selector: 'novo-search',\n providers: [SEARCH_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <!-- SEARCH ICON -->\n <novo-icon (click)=\"showSearch($event)\" [tooltip]=\"hint\" tooltipPosition=\"bottom\">{{ icon }}</novo-icon>\n <!-- SEARCH INPUT -->\n <input\n type=\"text\"\n [attr.name]=\"name\"\n [attr.value]=\"displayValue\"\n [attr.placeholder]=\"placeholder\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n (keydown)=\"_handleKeydown($event)\"\n (input)=\"_handleInput($event)\"\n #input\n data-automation-id=\"novo-search-input\"\n />\n <!-- SEARCH OVERLAY -->\n <novo-overlay-template\n [parent]=\"element\"\n [closeOnSelect]=\"closeOnSelect\"\n [position]=\"position\"\n [hasBackdrop]=\"hasBackdrop\"\n (select)=\"onSelect()\"\n (closing)=\"onBlur()\"\n >\n <ng-content></ng-content>\n </novo-overlay-template>\n `,\n styleUrls: ['./SearchBox.scss'],\n standalone: false,\n})\nexport class NovoSearchBoxElement implements ControlValueAccessor, OnInit {\n @Input()\n public name: string;\n @Input()\n public icon: string = 'search';\n @Input()\n public position: string = 'bottom-left';\n @Input()\n public placeholder: string = 'Search...';\n @Input()\n @HostBinding('class.always-open')\n public alwaysOpen: boolean = false;\n @Input()\n public theme: string;\n @Input()\n public color: string = 'positive';\n @Input()\n public closeOnSelect: boolean = true;\n @Input()\n public displayField: string;\n @Input()\n public displayValue: string;\n @Input()\n public hint: string;\n @Input()\n public keepOpen: boolean = false;\n @Input()\n public hasBackdrop: boolean = false;\n @Input()\n public allowPropagation: boolean = false;\n @Input()\n public overrideElement: ElementRef;\n @Output()\n public searchChanged: EventEmitter<string> = new EventEmitter<string>();\n @Output()\n public applySearch: EventEmitter<KeyboardEvent> = new EventEmitter<KeyboardEvent>();\n @HostBinding('class.focused')\n focused: boolean = false;\n public value: any;\n\n /** View -> model callback called when value changes */\n _onChange: (value: any) => void = () => {};\n /** View -> model callback called when autocomplete has been touched */\n _onTouched = () => {};\n\n /** Element for the panel containing the autocomplete options. */\n @ViewChild(NovoOverlayTemplateComponent)\n overlay: any;\n @ViewChild('input', { static: true })\n input: any;\n\n private debounceSearchChange: any;\n\n constructor(\n public element: ElementRef,\n public labels: NovoLabelService,\n private _changeDetectorRef: ChangeDetectorRef,\n private _zone: NgZone,\n ) {}\n\n ngOnInit() {\n if (this.overrideElement) {\n this.element = this.overrideElement;\n }\n }\n\n /**\n * @name showFasterFind\n * @description This function shows the picker and adds the active class (for animation)\n */\n showSearch(event?: any, forceClose: boolean = false) {\n if (!this.panelOpen) {\n // Reset search\n // Set focus on search\n setTimeout(() => {\n const element = this.input.nativeElement;\n if (element) {\n element.focus();\n }\n }, 10);\n } else {\n this.closePanel();\n }\n }\n onFocus() {\n this._zone.run(() => {\n this.focused = true;\n this.openPanel();\n });\n }\n onBlur() {\n if (!this.keepOpen || !this.panelOpen) {\n this.focused = false;\n }\n }\n onSelect() {\n if (!this.keepOpen) {\n this.closePanel();\n }\n }\n /** BEGIN: Convenient Panel Methods. */\n openPanel(): void {\n this.overlay.openPanel();\n }\n closePanel(): void {\n setTimeout(() => this.overlay.closePanel());\n this.focused = false;\n }\n get panelOpen(): boolean {\n return this.overlay && this.overlay.panelOpen;\n }\n @HostBinding('class.active')\n get active(): boolean {\n return this.panelOpen || this.alwaysOpen;\n }\n /** END: Convenient Panel Methods. */\n\n _handleKeydown(event: KeyboardEvent): void {\n if ((event.key === Key.Escape || event.key === Key.Enter || event.key === Key.Tab) && this.panelOpen) {\n if (event.keyCode === ENTER) {\n this.applySearch.emit(event);\n }\n this.closePanel();\n if (!this.allowPropagation) {\n event.stopPropagation();\n }\n }\n }\n _handleInput(event: KeyboardEvent): void {\n if (document.activeElement === event.target) {\n this.value = (event.target as HTMLInputElement).value;\n this._onChange((event.target as HTMLInputElement).value);\n\n if (this.debounceSearchChange) {\n clearTimeout(this.debounceSearchChange);\n }\n this.debounceSearchChange = setTimeout(() => {\n this.searchChanged.emit((event.target as HTMLInputElement).value);\n }, 400);\n }\n }\n writeValue(value: any): void {\n this._setValue(value);\n }\n registerOnChange(fn: (value: any) => {}): void {\n this._onChange = fn;\n }\n registerOnTouched(fn: () => {}) {\n this._onTouched = fn;\n }\n private _setValue(value: any): void {\n this.value = value;\n let toDisplay = value;\n if (value && this.displayField) {\n toDisplay = value.hasOwnProperty(this.displayField) ? value[this.displayField] : value;\n }\n // Simply falling back to an empty string if the display value is falsy does not work properly.\n // The display value can also be the number zero and shouldn't fall back to an empty string.\n this.displayValue = toDisplay ? toDisplay : '';\n this.input.nativeElement.value = this.displayValue;\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * This method closes the panel, and if a value is specified, also sets the associated\n * control to that value. It will also mark the control as dirty if this interaction\n * stemmed from the user.\n */\n public setValueAndClose(event: any | null): void {\n if (event && event.value) {\n this._setValue(event.value);\n this._onChange(event.value);\n }\n this.closePanel();\n }\n\n /**\n * Clear any previous selected option and emit a selection change event for this option\n */\n public clearValue(skip: any) {\n this.writeValue(null);\n this._onChange(null);\n }\n}\n","// NG2\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n// APP\nimport { NovoOverlayModule } from 'novo-elements/elements/common';\nimport { NovoIconModule } from 'novo-elements/elements/icon';\nimport { NovoPickerModule } from 'novo-elements/elements/picker';\nimport { NovoTooltipModule } from 'novo-elements/elements/tooltip';\nimport { NovoSearchBoxElement } from './SearchBox';\n@NgModule({\n imports: [CommonModule, NovoIconModule, NovoPickerModule, NovoTooltipModule, NovoOverlayModule],\n declarations: [NovoSearchBoxElement],\n exports: [NovoSearch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