novo-elements 13.3.0 → 13.4.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/CKEditor.scss +8 -0
- package/elements/agenda/week/AgendaWeekView.scss +1 -1
- package/elements/button/styles/button.scss +1 -1
- package/elements/card/Card.scss +1 -1
- package/elements/chips/Chip.scss +44 -0
- package/elements/chips/Chips.scss +9 -0
- package/elements/common/typography/text.mixins.scss +1 -1
- package/elements/date-picker/DatePickerInput.scss +5 -0
- package/elements/field/field.scss +1 -1
- package/elements/form/Form.scss +221 -8
- package/elements/form/extras/address/Address.scss +77 -0
- package/elements/form/fieldset-header.scss +32 -0
- package/elements/form/index.d.ts +14 -4
- package/elements/header/Header.scss +1 -1
- package/elements/layout/index.d.ts +20 -4
- package/elements/picker/Picker.scss +26 -5
- package/elements/picker/extras/picker-results/PickerResults.scss +2 -1
- package/elements/select/Select.scss +0 -1
- package/elements/tabs/tab.scss +36 -0
- package/elements/time-picker/TimePickerInput.scss +7 -2
- package/elements/toolbar/toolbar.component.scss +1 -1
- package/elements/tooltip/Tooltip.scss +19 -17
- package/elements/tooltip/index.d.ts +2 -1
- package/fesm2022/novo-elements-addons-ckeditor.mjs +2 -2
- package/fesm2022/novo-elements-addons-ckeditor.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-agenda.mjs +2 -2
- package/fesm2022/novo-elements-elements-button.mjs +2 -2
- package/fesm2022/novo-elements-elements-card.mjs +2 -2
- package/fesm2022/novo-elements-elements-card.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-chips.mjs +6 -6
- package/fesm2022/novo-elements-elements-chips.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-common.mjs +4 -4
- package/fesm2022/novo-elements-elements-date-picker.mjs +2 -2
- package/fesm2022/novo-elements-elements-date-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-form.mjs +132 -75
- 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-layout.mjs +49 -6
- package/fesm2022/novo-elements-elements-layout.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 +6 -6
- package/fesm2022/novo-elements-elements-picker.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-tabs.mjs +4 -4
- package/fesm2022/novo-elements-elements-tabs.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-time-picker.mjs +2 -2
- package/fesm2022/novo-elements-elements-time-picker.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 +8 -4
- package/fesm2022/novo-elements-elements-tooltip.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/themes/bh2026.scss +3 -3
- package/styles/typography.scss +6 -0
- package/styles/variables.scss +2 -0
|
@@ -195,7 +195,7 @@ class CardElement {
|
|
|
195
195
|
*ngIf="!(loading || config.loading) && !(message || config.message)"
|
|
196
196
|
select="footer,novo-card-footer,[novo-card-footer],[novoCardFooter]"
|
|
197
197
|
></ng-content>
|
|
198
|
-
`, isInline: true, styles: [":host{display:flex;flex-flow:column;background-color:var(--background-bright, #fff);box-shadow:0 -1px 3px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:var(--border-radius-round);position:relative;overflow-x:hidden}:root[data-theme=bh2026] :host{--spacing-md: var(--spacing-padding-md)}:host.loading{min-height:200px}:host div.card-loading-container{position:absolute;inset:43px 0 0;border-radius:var(--border-radius-round);background-color:var(--background-bright, #fff);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:1}:host header{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;padding:.5em}:host header .title{display:flex;align-items:center;min-width:0;flex:1}:host header .title ::ng-deep i.bhi-move{color:var(--font-color-secondary);margin-right:.3em;cursor:pointer}:host header .title h1,:host header .title h2,:host header .title h3{font-size:var(--font-size-lg);font-weight:500;line-height:1.5;color:var(--text-main, #3d464d);width:100%;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host header .title h1 i,:host header .title h2 i,:host header .title h3 i{font-size:1.2em}:root:not([data-theme=bh2026]) :host header .title i.bhi-info{color:#dbdbdb}:host header .actions{color:hsl(from var(--color-dark) h s calc(l + 15));white-space:nowrap}:host p.card-message{padding:20px 0;max-width:inherit;text-align:center;line-height:25px;color:hsl(from var(--color-grey) h s calc(l + 10))}:host p.card-message i{display:block;font-size:24px;margin:0 0 .5em;color:hsl(from var(--color-grey) h s calc(l + 20))}:host footer{display:flex;justify-content:center}:host.novo-card-inline{display:inline-flex;justify-self:start;align-self:start}:host.novo-card-inset-none{padding:0}:host.novo-card-inset-small{padding:var(--spacing-sm)}:host.novo-card-inset-medium{padding:var(--spacing-md)}:host.novo-card-inset-large{padding:var(--spacing-lg)}:host ::ng-deep .novo-card-header+.novo-card-content.condensed,:host ::ng-deep .novo-card-header+:not(.novo-card-content){margin-top:var(--spacing-sm)}:host ::ng-deep [novo-card-image]{width:100%;margin:var(--spacing-md) 0}:host-context([data-theme=bh2026]){border-radius:var(--border-radius-md);border:1px solid var(--color-border-default);box-shadow:0 1px 2px var(--color-transparency-black-10)}:host-context([data-theme=bh2026]) div.card-loading-container{border-radius:var(--border-radius-md)}:host-context([data-theme=bh2026]) header{padding:var(--spacing-padding-md) var(--spacing-padding-lg) var(--spacing-padding-md) 0;border-bottom:1px solid var(--color-border-default)}:host-context([data-theme=bh2026]) header .title{padding-inline:var(--spacing-gutter)}:host-context([data-theme=bh2026]) header .title h1,:host-context([data-theme=bh2026]) header .title h2,:host-context([data-theme=bh2026]) header .title h3{font-size:var(--typography-card-header-font-size, var(--typography-font-size-18));font-weight:var(--typography-card-header-font-weight, var(--typography-font-weight-500))}:host-context([data-theme=bh2026]) header .title h1 ::ng-deep .card-flag-icon,:host-context([data-theme=bh2026]) header .title h2 ::ng-deep .card-flag-icon,:host-context([data-theme=bh2026]) header .title h3 ::ng-deep .card-flag-icon{font-size:var(--font-size-lg);vertical-align:10%}:host-context([data-theme=bh2026]) header .title ::ng-deep i{margin:0}:host-context([data-theme=bh2026]) header .card-move-handle{position:absolute;left:var(--spacing-padding-xxsm);color:var(--color-content-icon, #89909A)}:host-context([data-theme=bh2026]) header .actions{display:flex;align-items:center;gap:var(--spacing-gap-sm)}:host-context([data-theme=bh2026]) header novo-button{color:var(--color-text-subtle)}:host-context([data-theme=bh2026]) header ::ng-deep .novo-card-header-text{padding-inline-start:var(--spacing-padding-sm)}:host-context([data-theme=bh2026]) :host ::ng-deep .card-flag-icon{color:var(--color-content-subtle, #5d7798)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon{color:var(--page-entity-color, var(--color-content-subtle, #5d7798))}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-star{color:var(--color-entity-star)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-person{color:var(--color-entity-contact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-company{color:var(--color-entity-company)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-candidate{color:var(--color-entity-candidate)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-navigation{color:var(--color-entity-navigation)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-lead{color:var(--color-entity-lead)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-contact{color:var(--color-entity-contact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-clientcontact{color:var(--color-entity-clientcontact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-opportunity{color:var(--color-entity-opportunity)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-job{color:var(--color-entity-job)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-joborder{color:var(--color-entity-joborder)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-submission{color:var(--color-entity-submission)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-sendout{color:var(--color-entity-sendout)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-placement{color:var(--color-entity-placement)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-note{color:var(--color-entity-note)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-task{color:var(--color-entity-task)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-distributionList{color:var(--color-entity-distributionList)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-credential{color:var(--color-entity-credential)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-user{color:var(--color-entity-user)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-corporateuser{color:var(--color-entity-corporateuser)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-contract{color:var(--color-entity-contract)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-jobCode{color:var(--color-entity-jobCode)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-earnCode{color:var(--color-entity-earnCode)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-billableCharge{color:var(--color-entity-billableCharge)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-payableCharge{color:var(--color-entity-payableCharge)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-complianceManager{color:var(--color-entity-complianceManager)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-invoiceStatement{color:var(--color-entity-invoiceStatement)}:host-context([data-theme=bh2026]) :host.icon-color-parent ::ng-deep .card-flag-icon{color:var(--page-entity-color)}:host-context([data-theme=bh2026]) :host .novo-card-header{padding-inline-start:var(--spacing-gutter)}:host-context([data-theme=bh2026]) :host ::ng-deep .card-move-handle{position:absolute;left:var(--spacing-padding-xxsm);color:var(--color-content-icon, #89909A);transition:color .3s ease-in-out}:host-context([data-theme=bh2026]) :host header ::ng-deep:not(:hover) .card-move-handle,:host-context([data-theme=bh2026]) :host ::ng-deep .novo-card-header:not(:hover) .card-move-handle{color:transparent}:host-context([data-theme=bh2026]) :host header ::ng-deep .novo-icon.card-move-handle i,:host-context([data-theme=bh2026]) :host ::ng-deep .novo-card-header .novo-icon.card-move-handle i{color:inherit}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NovoIconComponent, selector: "novo-icon", inputs: ["raised", "theme", "shape", "color", "size", "smaller", "larger", "alt", "name"] }, { kind: "component", type: i4.NovoButtonElement, selector: "novo-button,button[theme]", inputs: ["color", "side", "size", "theme", "loading", "icon", "secondIcon", "disabled"] }, { kind: "component", type: i5.NovoLoadingElement, selector: "novo-loading", inputs: ["theme", "color", "size"] }, { kind: "directive", type: i6.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML", "tooltipCloseOnClick", "tooltipOnOverflow", "tooltipActive"] }, { kind: "directive", type: i7.ThemeColorDirective, selector: "[theme]", inputs: ["theme"] }, { kind: "pipe", type: i7.If2026ThemePipe, name: "ifBh2026Theme" }] }); }
|
|
198
|
+
`, isInline: true, styles: [":host{display:flex;flex-flow:column;background-color:var(--background-bright, #fff);box-shadow:0 -1px 3px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:var(--border-radius-round);position:relative;overflow-x:hidden}:root[data-theme=bh2026] :host{--spacing-md: var(--spacing-padding-md)}:host.loading{min-height:200px}:host div.card-loading-container{position:absolute;inset:43px 0 0;border-radius:var(--border-radius-round);background-color:var(--background-bright, #fff);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:1}:host header{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;padding:.5em}:host header .title{display:flex;align-items:center;min-width:0;flex:1}:host header .title ::ng-deep i.bhi-move{color:var(--font-color-secondary);margin-right:.3em;cursor:pointer}:host header .title h1,:host header .title h2,:host header .title h3{font-size:var(--font-size-lg);font-weight:500;line-height:1.5;color:var(--text-main, #3d464d);width:100%;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host header .title h1 i,:host header .title h2 i,:host header .title h3 i{font-size:1.2em}:root:not([data-theme=bh2026]) :host header .title i.bhi-info{color:#dbdbdb}:host header .actions{color:hsl(from var(--color-dark) h s calc(l + 15));white-space:nowrap}:host p.card-message{padding:20px 0;max-width:inherit;text-align:center;line-height:25px;color:hsl(from var(--color-grey) h s calc(l + 10))}:host p.card-message i{display:block;font-size:24px;margin:0 0 .5em;color:hsl(from var(--color-grey) h s calc(l + 20))}:host footer{display:flex;justify-content:center}:host.novo-card-inline{display:inline-flex;justify-self:start;align-self:start}:host.novo-card-inset-none{padding:0}:host.novo-card-inset-small{padding:var(--spacing-sm)}:host.novo-card-inset-medium{padding:var(--spacing-md)}:host.novo-card-inset-large{padding:var(--spacing-lg)}:host ::ng-deep .novo-card-header+.novo-card-content.condensed,:host ::ng-deep .novo-card-header+:not(.novo-card-content){margin-top:var(--spacing-sm)}:host ::ng-deep [novo-card-image]{width:100%;margin:var(--spacing-md) 0}:host-context([data-theme=bh2026]){border-radius:var(--border-radius-md);border:1px solid var(--color-border-default);box-shadow:0 1px 2px var(--color-transparency-charcoal-08)}:host-context([data-theme=bh2026]) div.card-loading-container{border-radius:var(--border-radius-md)}:host-context([data-theme=bh2026]) header{padding:var(--spacing-padding-md) var(--spacing-padding-lg) var(--spacing-padding-md) 0;border-bottom:1px solid var(--color-border-default)}:host-context([data-theme=bh2026]) header .title{padding-inline:var(--spacing-gutter)}:host-context([data-theme=bh2026]) header .title h1,:host-context([data-theme=bh2026]) header .title h2,:host-context([data-theme=bh2026]) header .title h3{font-size:var(--typography-card-header-font-size, var(--typography-font-size-18));font-weight:var(--typography-card-header-font-weight, var(--typography-font-weight-500))}:host-context([data-theme=bh2026]) header .title h1 ::ng-deep .card-flag-icon,:host-context([data-theme=bh2026]) header .title h2 ::ng-deep .card-flag-icon,:host-context([data-theme=bh2026]) header .title h3 ::ng-deep .card-flag-icon{font-size:var(--font-size-lg);vertical-align:10%}:host-context([data-theme=bh2026]) header .title ::ng-deep i{margin:0}:host-context([data-theme=bh2026]) header .card-move-handle{position:absolute;left:var(--spacing-padding-xxsm);color:var(--color-content-icon, #89909A)}:host-context([data-theme=bh2026]) header .actions{display:flex;align-items:center;gap:var(--spacing-gap-sm)}:host-context([data-theme=bh2026]) header novo-button{color:var(--color-text-subtle)}:host-context([data-theme=bh2026]) header ::ng-deep .novo-card-header-text{padding-inline-start:var(--spacing-padding-sm)}:host-context([data-theme=bh2026]) :host ::ng-deep .card-flag-icon{color:var(--color-content-subtle, #5d7798)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon{color:var(--page-entity-color, var(--color-content-subtle, #5d7798))}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-appointment{color:var(--color-entity-appointment)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-star{color:var(--color-entity-star)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-person{color:var(--color-entity-contact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-company{color:var(--color-entity-company)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-candidate{color:var(--color-entity-candidate)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-navigation{color:var(--color-entity-navigation)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-lead{color:var(--color-entity-lead)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-contact{color:var(--color-entity-contact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-clientcontact{color:var(--color-entity-clientcontact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-opportunity{color:var(--color-entity-opportunity)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-job{color:var(--color-entity-job)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-joborder{color:var(--color-entity-joborder)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-submission{color:var(--color-entity-submission)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-sendout{color:var(--color-entity-sendout)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-placement{color:var(--color-entity-placement)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-note{color:var(--color-entity-note)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-task{color:var(--color-entity-task)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-distributionList{color:var(--color-entity-distributionList)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-credential{color:var(--color-entity-credential)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-user{color:var(--color-entity-user)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-corporateuser{color:var(--color-entity-corporateuser)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-neutral{color:var(--color-entity-neutral)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-contract{color:var(--color-entity-contract)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-jobCode{color:var(--color-entity-jobCode)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-earnCode{color:var(--color-entity-earnCode)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-billableCharge{color:var(--color-entity-billableCharge)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-payableCharge{color:var(--color-entity-payableCharge)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-complianceManager{color:var(--color-entity-complianceManager)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-invoiceStatement{color:var(--color-entity-invoiceStatement)}:host-context([data-theme=bh2026]) :host.icon-color-parent ::ng-deep .card-flag-icon{color:var(--page-entity-color)}:host-context([data-theme=bh2026]) :host .novo-card-header{padding-inline-start:var(--spacing-gutter)}:host-context([data-theme=bh2026]) :host ::ng-deep .card-move-handle{position:absolute;left:var(--spacing-padding-xxsm);color:var(--color-content-icon, #89909A);transition:color .3s ease-in-out}:host-context([data-theme=bh2026]) :host header ::ng-deep:not(:hover) .card-move-handle,:host-context([data-theme=bh2026]) :host ::ng-deep .novo-card-header:not(:hover) .card-move-handle{color:transparent}:host-context([data-theme=bh2026]) :host header ::ng-deep .novo-icon.card-move-handle i,:host-context([data-theme=bh2026]) :host ::ng-deep .novo-card-header .novo-icon.card-move-handle i{color:inherit}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.NovoIconComponent, selector: "novo-icon", inputs: ["raised", "theme", "shape", "color", "size", "smaller", "larger", "alt", "name"] }, { kind: "component", type: i4.NovoButtonElement, selector: "novo-button,button[theme]", inputs: ["color", "side", "size", "theme", "loading", "icon", "secondIcon", "disabled"] }, { kind: "component", type: i5.NovoLoadingElement, selector: "novo-loading", inputs: ["theme", "color", "size"] }, { kind: "directive", type: i6.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltipPosition", "tooltipType", "tooltipSize", "tooltipBounce", "tooltipNoAnimate", "tooltipRounded", "tooltipAlways", "tooltipPreline", "removeTooltipArrow", "tooltipAutoPosition", "tooltipIsHTML", "tooltipCloseOnClick", "tooltipOnOverflow", "tooltipActive"] }, { kind: "directive", type: i7.ThemeColorDirective, selector: "[theme]", inputs: ["theme"] }, { kind: "pipe", type: i7.If2026ThemePipe, name: "ifBh2026Theme" }] }); }
|
|
199
199
|
}
|
|
200
200
|
__decorate([
|
|
201
201
|
BooleanInput(),
|
|
@@ -269,7 +269,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
|
|
|
269
269
|
*ngIf="!(loading || config.loading) && !(message || config.message)"
|
|
270
270
|
select="footer,novo-card-footer,[novo-card-footer],[novoCardFooter]"
|
|
271
271
|
></ng-content>
|
|
272
|
-
`, standalone: false, styles: [":host{display:flex;flex-flow:column;background-color:var(--background-bright, #fff);box-shadow:0 -1px 3px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:var(--border-radius-round);position:relative;overflow-x:hidden}:root[data-theme=bh2026] :host{--spacing-md: var(--spacing-padding-md)}:host.loading{min-height:200px}:host div.card-loading-container{position:absolute;inset:43px 0 0;border-radius:var(--border-radius-round);background-color:var(--background-bright, #fff);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:1}:host header{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;padding:.5em}:host header .title{display:flex;align-items:center;min-width:0;flex:1}:host header .title ::ng-deep i.bhi-move{color:var(--font-color-secondary);margin-right:.3em;cursor:pointer}:host header .title h1,:host header .title h2,:host header .title h3{font-size:var(--font-size-lg);font-weight:500;line-height:1.5;color:var(--text-main, #3d464d);width:100%;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host header .title h1 i,:host header .title h2 i,:host header .title h3 i{font-size:1.2em}:root:not([data-theme=bh2026]) :host header .title i.bhi-info{color:#dbdbdb}:host header .actions{color:hsl(from var(--color-dark) h s calc(l + 15));white-space:nowrap}:host p.card-message{padding:20px 0;max-width:inherit;text-align:center;line-height:25px;color:hsl(from var(--color-grey) h s calc(l + 10))}:host p.card-message i{display:block;font-size:24px;margin:0 0 .5em;color:hsl(from var(--color-grey) h s calc(l + 20))}:host footer{display:flex;justify-content:center}:host.novo-card-inline{display:inline-flex;justify-self:start;align-self:start}:host.novo-card-inset-none{padding:0}:host.novo-card-inset-small{padding:var(--spacing-sm)}:host.novo-card-inset-medium{padding:var(--spacing-md)}:host.novo-card-inset-large{padding:var(--spacing-lg)}:host ::ng-deep .novo-card-header+.novo-card-content.condensed,:host ::ng-deep .novo-card-header+:not(.novo-card-content){margin-top:var(--spacing-sm)}:host ::ng-deep [novo-card-image]{width:100%;margin:var(--spacing-md) 0}:host-context([data-theme=bh2026]){border-radius:var(--border-radius-md);border:1px solid var(--color-border-default);box-shadow:0 1px 2px var(--color-transparency-
|
|
272
|
+
`, standalone: false, styles: [":host{display:flex;flex-flow:column;background-color:var(--background-bright, #fff);box-shadow:0 -1px 3px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:var(--border-radius-round);position:relative;overflow-x:hidden}:root[data-theme=bh2026] :host{--spacing-md: var(--spacing-padding-md)}:host.loading{min-height:200px}:host div.card-loading-container{position:absolute;inset:43px 0 0;border-radius:var(--border-radius-round);background-color:var(--background-bright, #fff);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:1}:host header{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;padding:.5em}:host header .title{display:flex;align-items:center;min-width:0;flex:1}:host header .title ::ng-deep i.bhi-move{color:var(--font-color-secondary);margin-right:.3em;cursor:pointer}:host header .title h1,:host header .title h2,:host header .title h3{font-size:var(--font-size-lg);font-weight:500;line-height:1.5;color:var(--text-main, #3d464d);width:100%;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host header .title h1 i,:host header .title h2 i,:host header .title h3 i{font-size:1.2em}:root:not([data-theme=bh2026]) :host header .title i.bhi-info{color:#dbdbdb}:host header .actions{color:hsl(from var(--color-dark) h s calc(l + 15));white-space:nowrap}:host p.card-message{padding:20px 0;max-width:inherit;text-align:center;line-height:25px;color:hsl(from var(--color-grey) h s calc(l + 10))}:host p.card-message i{display:block;font-size:24px;margin:0 0 .5em;color:hsl(from var(--color-grey) h s calc(l + 20))}:host footer{display:flex;justify-content:center}:host.novo-card-inline{display:inline-flex;justify-self:start;align-self:start}:host.novo-card-inset-none{padding:0}:host.novo-card-inset-small{padding:var(--spacing-sm)}:host.novo-card-inset-medium{padding:var(--spacing-md)}:host.novo-card-inset-large{padding:var(--spacing-lg)}:host ::ng-deep .novo-card-header+.novo-card-content.condensed,:host ::ng-deep .novo-card-header+:not(.novo-card-content){margin-top:var(--spacing-sm)}:host ::ng-deep [novo-card-image]{width:100%;margin:var(--spacing-md) 0}:host-context([data-theme=bh2026]){border-radius:var(--border-radius-md);border:1px solid var(--color-border-default);box-shadow:0 1px 2px var(--color-transparency-charcoal-08)}:host-context([data-theme=bh2026]) div.card-loading-container{border-radius:var(--border-radius-md)}:host-context([data-theme=bh2026]) header{padding:var(--spacing-padding-md) var(--spacing-padding-lg) var(--spacing-padding-md) 0;border-bottom:1px solid var(--color-border-default)}:host-context([data-theme=bh2026]) header .title{padding-inline:var(--spacing-gutter)}:host-context([data-theme=bh2026]) header .title h1,:host-context([data-theme=bh2026]) header .title h2,:host-context([data-theme=bh2026]) header .title h3{font-size:var(--typography-card-header-font-size, var(--typography-font-size-18));font-weight:var(--typography-card-header-font-weight, var(--typography-font-weight-500))}:host-context([data-theme=bh2026]) header .title h1 ::ng-deep .card-flag-icon,:host-context([data-theme=bh2026]) header .title h2 ::ng-deep .card-flag-icon,:host-context([data-theme=bh2026]) header .title h3 ::ng-deep .card-flag-icon{font-size:var(--font-size-lg);vertical-align:10%}:host-context([data-theme=bh2026]) header .title ::ng-deep i{margin:0}:host-context([data-theme=bh2026]) header .card-move-handle{position:absolute;left:var(--spacing-padding-xxsm);color:var(--color-content-icon, #89909A)}:host-context([data-theme=bh2026]) header .actions{display:flex;align-items:center;gap:var(--spacing-gap-sm)}:host-context([data-theme=bh2026]) header novo-button{color:var(--color-text-subtle)}:host-context([data-theme=bh2026]) header ::ng-deep .novo-card-header-text{padding-inline-start:var(--spacing-padding-sm)}:host-context([data-theme=bh2026]) :host ::ng-deep .card-flag-icon{color:var(--color-content-subtle, #5d7798)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon{color:var(--page-entity-color, var(--color-content-subtle, #5d7798))}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-appointment{color:var(--color-entity-appointment)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-star{color:var(--color-entity-star)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-person{color:var(--color-entity-contact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-company{color:var(--color-entity-company)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-candidate{color:var(--color-entity-candidate)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-navigation{color:var(--color-entity-navigation)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-lead{color:var(--color-entity-lead)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-contact{color:var(--color-entity-contact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-clientcontact{color:var(--color-entity-clientcontact)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-opportunity{color:var(--color-entity-opportunity)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-job{color:var(--color-entity-job)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-joborder{color:var(--color-entity-joborder)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-submission{color:var(--color-entity-submission)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-sendout{color:var(--color-entity-sendout)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-placement{color:var(--color-entity-placement)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-note{color:var(--color-entity-note)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-task{color:var(--color-entity-task)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-distributionList{color:var(--color-entity-distributionList)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-credential{color:var(--color-entity-credential)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-user{color:var(--color-entity-user)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-corporateuser{color:var(--color-entity-corporateuser)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-neutral{color:var(--color-entity-neutral)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-contract{color:var(--color-entity-contract)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-jobCode{color:var(--color-entity-jobCode)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-earnCode{color:var(--color-entity-earnCode)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-billableCharge{color:var(--color-entity-billableCharge)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-payableCharge{color:var(--color-entity-payableCharge)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-complianceManager{color:var(--color-entity-complianceManager)}:host-context([data-theme=bh2026]) :host.icon-color-auto header .title ::ng-deep .card-flag-icon.bhi-invoiceStatement{color:var(--color-entity-invoiceStatement)}:host-context([data-theme=bh2026]) :host.icon-color-parent ::ng-deep .card-flag-icon{color:var(--page-entity-color)}:host-context([data-theme=bh2026]) :host .novo-card-header{padding-inline-start:var(--spacing-gutter)}:host-context([data-theme=bh2026]) :host ::ng-deep .card-move-handle{position:absolute;left:var(--spacing-padding-xxsm);color:var(--color-content-icon, #89909A);transition:color .3s ease-in-out}:host-context([data-theme=bh2026]) :host header ::ng-deep:not(:hover) .card-move-handle,:host-context([data-theme=bh2026]) :host ::ng-deep .novo-card-header:not(:hover) .card-move-handle{color:transparent}:host-context([data-theme=bh2026]) :host header ::ng-deep .novo-icon.card-move-handle i,:host-context([data-theme=bh2026]) :host ::ng-deep .novo-card-header .novo-icon.card-move-handle i{color:inherit}\n"] }]
|
|
273
273
|
}], ctorParameters: () => [{ type: i1.NovoLabelService }], propDecorators: { padding: [{
|
|
274
274
|
type: Input
|
|
275
275
|
}], config: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"novo-elements-elements-card.mjs","sources":["../../../projects/novo-elements/src/elements/card/Card.ts","../../../projects/novo-elements/src/elements/card/Card.module.ts","../../../projects/novo-elements/src/elements/card/novo-elements-elements-card.ts"],"sourcesContent":["// NG2\nimport { Component, EventEmitter, HostBinding, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\n// APP\nimport { NovoLabelService } from 'novo-elements/services';\nimport { BooleanInput } from 'novo-elements/utils';\n\n@Component({\n selector: 'novo-card-actions',\n template: '<ng-content></ng-content>',\n standalone: false,\n})\nexport class CardActionsElement {}\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n */\n@Component({\n selector: 'novo-card-content, [novo-card-content], [novoCardContent]',\n host: { class: 'novo-card-content', '[class.condensed]': 'condensed' },\n template: '<ng-content></ng-content>',\n styleUrls: ['./CardContent.scss'],\n standalone: false,\n})\nexport class CardContentElement {\n @Input() @BooleanInput() condensed: boolean = false;\n}\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n */\n@Component({\n selector: 'novo-card-header, [novo-card-header], [novoCardHeader]',\n host: { class: 'novo-card-header' },\n template: `\n <ng-content select=\"novo-avatar, [novo-avatar], novo-icon\"></ng-content>\n <div class=\"novo-card-header-text\">\n <ng-content select=\"novo-title, [novo-title], novo-text, novo-label, novo-caption\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"novo-card-header-actions\">\n <ng-content select=\"novo-action\"></ng-content>\n </div>\n `,\n styleUrls: ['./CardHeader.scss'],\n standalone: false,\n})\nexport class CardHeaderElement {}\n\n@Component({\n selector: 'novo-card-footer, [novo-card-footer], [novoCardFooter]',\n host: { class: 'novo-card-footer' },\n template: '<ng-content></ng-content>',\n styleUrls: ['./CardFooter.scss'],\n standalone: false,\n})\nexport class CardFooterElement {}\n\n@Component({\n selector: 'novo-card',\n host: {\n class: 'novo-card',\n '[attr.data-automation-id]': 'cardAutomationId',\n '[class.loading]': 'loading || config.loading',\n },\n template: `\n <!--Loading-->\n <div class=\"card-loading-container\" *ngIf=\"loading || config.loading\">\n <novo-loading theme=\"line\" [attr.data-automation-id]=\"cardAutomationId + '-loading'\"></novo-loading>\n </div>\n <!--Card Header-->\n <header *ngIf=\"title || config.title\">\n <div class=\"title\">\n <!--Grabber Icon-->\n <novo-icon\n *ngIf=\"move || config.move\"\n tooltip=\"{{ labels.move }}\"\n tooltipPosition=\"bottom-right\"\n class=\"card-move-handle\"\n [attr.data-automation-id]=\"cardAutomationId + '-move'\"\n >move</novo-icon\n >\n <!--Card Title-->\n <h3 [attr.data-automation-id]=\"cardAutomationId + '-title'\">\n <span [tooltip]=\"iconTooltip\" tooltipPosition=\"right\"><i *ngIf=\"iconClass\" class=\"card-flag-icon\" [ngClass]=\"iconClass\"></i></span><!--\n --><span class=\"novo-card-header-text\">{{ title || config.title }}</span>\n </h3>\n </div>\n <!--Card Actions-->\n <div class=\"actions\" [attr.data-automation-id]=\"cardAutomationId + '-actions'\">\n <ng-content select=\"novo-card-actions\"></ng-content>\n <novo-button\n theme=\"icon\"\n [icon]=\"'refresh-o' | ifBh2026Theme : 'refresh'\"\n (click)=\"toggleRefresh()\"\n *ngIf=\"refresh || config.refresh\"\n [attr.data-automation-id]=\"cardAutomationId + '-refresh'\"\n tooltip=\"{{ labels.refresh }}\"\n tooltipPosition=\"bottom-left\"\n ></novo-button>\n\n <novo-button\n theme=\"icon\"\n [icon]=\"'x' | ifBh2026Theme : 'close-o'\"\n (click)=\"toggleClose()\"\n *ngIf=\"close || config.close\"\n [attr.data-automation-id]=\"cardAutomationId + '-close'\"\n tooltip=\"{{ labels.close }}\"\n tooltipPosition=\"bottom-left\"\n ></novo-button>\n </div>\n </header>\n <!--Content (transcluded)-->\n <ng-content *ngIf=\"!(loading || config.loading) && !(message || config.message)\"></ng-content>\n <!--Error/Empty Message-->\n <p\n class=\"card-message\"\n *ngIf=\"!(loading || config.loading) && (message || config.message)\"\n [attr.data-automation-id]=\"cardAutomationId + '-message'\"\n >\n <i *ngIf=\"messageIconClass\" [ngClass]=\"messageIconClass\"></i> <span [innerHtml]=\"message || config.message\"></span>\n </p>\n <!--Card Footer-->\n <ng-content\n *ngIf=\"!(loading || config.loading) && !(message || config.message)\"\n select=\"footer,novo-card-footer,[novo-card-footer],[novoCardFooter]\"\n ></ng-content>\n `,\n styleUrls: ['./Card.scss'],\n standalone: false,\n})\nexport class CardElement implements OnChanges, OnInit {\n @Input()\n padding: boolean = true;\n @Input()\n config: any = {};\n @Input()\n title: string;\n @Input()\n message: string;\n @Input()\n messageIcon: string;\n @Input()\n icon: string;\n // A feature for the 2026 styles that lets a card icon match either the icon default color (auto) or the --page-entity-color css variable\n @Input()\n iconColorClass: 'icon-color-auto' | 'icon-color-parent' | undefined;\n @Input()\n iconTooltip: string;\n @Input()\n refresh: boolean;\n @Input()\n close: boolean;\n @Input()\n move: boolean;\n @Input()\n loading: boolean;\n\n @Input()\n @BooleanInput()\n @HostBinding('class.novo-card-inline')\n inline: boolean;\n\n @Input()\n inset: string = 'none';\n\n @HostBinding('class')\n get cardClass() {\n return `${this.iconColorClass || ''} novo-card-inset-${this.inset}`;\n }\n\n @Output()\n onClose: EventEmitter<void> = new EventEmitter();\n @Output()\n onRefresh: EventEmitter<void> = new EventEmitter();\n\n cardAutomationId: string;\n labels: NovoLabelService;\n iconClass: string | null;\n messageIconClass: string;\n\n constructor(labels: NovoLabelService) {\n this.labels = labels;\n }\n\n ngOnInit() {\n this.config = this.config || {};\n }\n\n ngOnChanges(changes?: SimpleChanges) {\n this.config = this.config || {};\n this.cardAutomationId = `${(this.title || this.config.title || 'no-title').trim().toLowerCase().replace(/\\s/g, '-')}-card`;\n\n const newIcon: string = this.icon || this.config.icon;\n const newMessageIcon: string = this.messageIcon || this.config.messageIcon;\n this.iconClass = newIcon ? `bhi-${newIcon}` : null;\n this.messageIconClass = newMessageIcon ? `bhi-${newMessageIcon}` : null;\n }\n\n toggleClose() {\n if (!this.config.onClose) {\n this.onClose.next();\n } else {\n this.config.onClose();\n }\n }\n\n toggleRefresh() {\n if (!this.config.onRefresh) {\n this.onRefresh.next();\n } else {\n this.config.onRefresh();\n }\n }\n}\n","// NG2\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n// APP\nimport { NovoButtonModule } from 'novo-elements/elements/button';\nimport { NovoIconModule } from 'novo-elements/elements/icon';\nimport { NovoLoadingModule } from 'novo-elements/elements/loading';\nimport { NovoTooltipModule } from 'novo-elements/elements/tooltip';\nimport { NovoCommonModule } from 'novo-elements/elements/common';\nimport { CardActionsElement, CardContentElement, CardElement, CardFooterElement, CardHeaderElement } from './Card';\n\n@NgModule({\n imports: [CommonModule, NovoIconModule, NovoButtonModule, NovoLoadingModule, NovoTooltipModule, NovoCommonModule],\n declarations: [CardElement, CardActionsElement, CardContentElement, CardHeaderElement, CardFooterElement],\n exports: [CardElement, CardActionsElement, CardContentElement, CardHeaderElement, CardFooterElement],\n})\nexport class NovoCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;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AAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;oBACjH,YAAY,EAAE,CAAC,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;oBACzG,OAAO,EAAE,CAAC,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC;AACrG,iBAAA;;;ACfD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"novo-elements-elements-card.mjs","sources":["../../../projects/novo-elements/src/elements/card/Card.ts","../../../projects/novo-elements/src/elements/card/Card.module.ts","../../../projects/novo-elements/src/elements/card/novo-elements-elements-card.ts"],"sourcesContent":["// NG2\nimport { Component, EventEmitter, HostBinding, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\n// APP\nimport { NovoLabelService } from 'novo-elements/services';\nimport { BooleanInput } from 'novo-elements/utils';\n\n@Component({\n selector: 'novo-card-actions',\n template: '<ng-content></ng-content>',\n standalone: false,\n})\nexport class CardActionsElement {}\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n */\n@Component({\n selector: 'novo-card-content, [novo-card-content], [novoCardContent]',\n host: { class: 'novo-card-content', '[class.condensed]': 'condensed' },\n template: '<ng-content></ng-content>',\n styleUrls: ['./CardContent.scss'],\n standalone: false,\n})\nexport class CardContentElement {\n @Input() @BooleanInput() condensed: boolean = false;\n}\n\n/**\n * Content of a card, needed as it's used as a selector in the API.\n */\n@Component({\n selector: 'novo-card-header, [novo-card-header], [novoCardHeader]',\n host: { class: 'novo-card-header' },\n template: `\n <ng-content select=\"novo-avatar, [novo-avatar], novo-icon\"></ng-content>\n <div class=\"novo-card-header-text\">\n <ng-content select=\"novo-title, [novo-title], novo-text, novo-label, novo-caption\"></ng-content>\n </div>\n <ng-content></ng-content>\n <div class=\"novo-card-header-actions\">\n <ng-content select=\"novo-action\"></ng-content>\n </div>\n `,\n styleUrls: ['./CardHeader.scss'],\n standalone: false,\n})\nexport class CardHeaderElement {}\n\n@Component({\n selector: 'novo-card-footer, [novo-card-footer], [novoCardFooter]',\n host: { class: 'novo-card-footer' },\n template: '<ng-content></ng-content>',\n styleUrls: ['./CardFooter.scss'],\n standalone: false,\n})\nexport class CardFooterElement {}\n\n@Component({\n selector: 'novo-card',\n host: {\n class: 'novo-card',\n '[attr.data-automation-id]': 'cardAutomationId',\n '[class.loading]': 'loading || config.loading',\n },\n template: `\n <!--Loading-->\n <div class=\"card-loading-container\" *ngIf=\"loading || config.loading\">\n <novo-loading theme=\"line\" [attr.data-automation-id]=\"cardAutomationId + '-loading'\"></novo-loading>\n </div>\n <!--Card Header-->\n <header *ngIf=\"title || config.title\">\n <div class=\"title\">\n <!--Grabber Icon-->\n <novo-icon\n *ngIf=\"move || config.move\"\n tooltip=\"{{ labels.move }}\"\n tooltipPosition=\"bottom-right\"\n class=\"card-move-handle\"\n [attr.data-automation-id]=\"cardAutomationId + '-move'\"\n >move</novo-icon\n >\n <!--Card Title-->\n <h3 [attr.data-automation-id]=\"cardAutomationId + '-title'\">\n <span [tooltip]=\"iconTooltip\" tooltipPosition=\"right\"><i *ngIf=\"iconClass\" class=\"card-flag-icon\" [ngClass]=\"iconClass\"></i></span><!--\n --><span class=\"novo-card-header-text\">{{ title || config.title }}</span>\n </h3>\n </div>\n <!--Card Actions-->\n <div class=\"actions\" [attr.data-automation-id]=\"cardAutomationId + '-actions'\">\n <ng-content select=\"novo-card-actions\"></ng-content>\n <novo-button\n theme=\"icon\"\n [icon]=\"'refresh-o' | ifBh2026Theme : 'refresh'\"\n (click)=\"toggleRefresh()\"\n *ngIf=\"refresh || config.refresh\"\n [attr.data-automation-id]=\"cardAutomationId + '-refresh'\"\n tooltip=\"{{ labels.refresh }}\"\n tooltipPosition=\"bottom-left\"\n ></novo-button>\n\n <novo-button\n theme=\"icon\"\n [icon]=\"'x' | ifBh2026Theme : 'close-o'\"\n (click)=\"toggleClose()\"\n *ngIf=\"close || config.close\"\n [attr.data-automation-id]=\"cardAutomationId + '-close'\"\n tooltip=\"{{ labels.close }}\"\n tooltipPosition=\"bottom-left\"\n ></novo-button>\n </div>\n </header>\n <!--Content (transcluded)-->\n <ng-content *ngIf=\"!(loading || config.loading) && !(message || config.message)\"></ng-content>\n <!--Error/Empty Message-->\n <p\n class=\"card-message\"\n *ngIf=\"!(loading || config.loading) && (message || config.message)\"\n [attr.data-automation-id]=\"cardAutomationId + '-message'\"\n >\n <i *ngIf=\"messageIconClass\" [ngClass]=\"messageIconClass\"></i> <span [innerHtml]=\"message || config.message\"></span>\n </p>\n <!--Card Footer-->\n <ng-content\n *ngIf=\"!(loading || config.loading) && !(message || config.message)\"\n select=\"footer,novo-card-footer,[novo-card-footer],[novoCardFooter]\"\n ></ng-content>\n `,\n styleUrls: ['./Card.scss'],\n standalone: false,\n})\nexport class CardElement implements OnChanges, OnInit {\n @Input()\n padding: boolean = true;\n @Input()\n config: any = {};\n @Input()\n title: string;\n @Input()\n message: string;\n @Input()\n messageIcon: string;\n @Input()\n icon: string;\n // A feature for the 2026 styles that lets a card icon match either the icon default color (auto) or the --page-entity-color css variable\n @Input()\n iconColorClass: 'icon-color-auto' | 'icon-color-parent' | undefined;\n @Input()\n iconTooltip: string;\n @Input()\n refresh: boolean;\n @Input()\n close: boolean;\n @Input()\n move: boolean;\n @Input()\n loading: boolean;\n\n @Input()\n @BooleanInput()\n @HostBinding('class.novo-card-inline')\n inline: boolean;\n\n @Input()\n inset: string = 'none';\n\n @HostBinding('class')\n get cardClass() {\n return `${this.iconColorClass || ''} novo-card-inset-${this.inset}`;\n }\n\n @Output()\n onClose: EventEmitter<void> = new EventEmitter();\n @Output()\n onRefresh: EventEmitter<void> = new EventEmitter();\n\n cardAutomationId: string;\n labels: NovoLabelService;\n iconClass: string | null;\n messageIconClass: string;\n\n constructor(labels: NovoLabelService) {\n this.labels = labels;\n }\n\n ngOnInit() {\n this.config = this.config || {};\n }\n\n ngOnChanges(changes?: SimpleChanges) {\n this.config = this.config || {};\n this.cardAutomationId = `${(this.title || this.config.title || 'no-title').trim().toLowerCase().replace(/\\s/g, '-')}-card`;\n\n const newIcon: string = this.icon || this.config.icon;\n const newMessageIcon: string = this.messageIcon || this.config.messageIcon;\n this.iconClass = newIcon ? `bhi-${newIcon}` : null;\n this.messageIconClass = newMessageIcon ? `bhi-${newMessageIcon}` : null;\n }\n\n toggleClose() {\n if (!this.config.onClose) {\n this.onClose.next();\n } else {\n this.config.onClose();\n }\n }\n\n toggleRefresh() {\n if (!this.config.onRefresh) {\n this.onRefresh.next();\n } else {\n this.config.onRefresh();\n }\n }\n}\n","// NG2\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n// APP\nimport { NovoButtonModule } from 'novo-elements/elements/button';\nimport { NovoIconModule } from 'novo-elements/elements/icon';\nimport { NovoLoadingModule } from 'novo-elements/elements/loading';\nimport { NovoTooltipModule } from 'novo-elements/elements/tooltip';\nimport { NovoCommonModule } from 'novo-elements/elements/common';\nimport { CardActionsElement, CardContentElement, CardElement, CardFooterElement, CardHeaderElement } from './Card';\n\n@NgModule({\n imports: [CommonModule, NovoIconModule, NovoButtonModule, NovoLoadingModule, NovoTooltipModule, NovoCommonModule],\n declarations: [CardElement, CardActionsElement, CardContentElement, CardHeaderElement, CardFooterElement],\n exports: [CardElement, CardActionsElement, CardContentElement, CardHeaderElement, CardFooterElement],\n})\nexport class NovoCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAWa,kBAAkB,CAAA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,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