@masmarino/gabarit 2.1.0 → 2.2.1
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/command-palette/README.md +65 -0
- package/fesm2022/masmarino-gabarit-accordion.mjs +6 -6
- package/fesm2022/masmarino-gabarit-alert.mjs +3 -3
- package/fesm2022/masmarino-gabarit-app-shell.mjs +8 -8
- package/fesm2022/masmarino-gabarit-app-shell.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-auth-activate.mjs +3 -3
- package/fesm2022/masmarino-gabarit-auth-login.mjs +3 -3
- package/fesm2022/masmarino-gabarit-auth-register.mjs +3 -3
- package/fesm2022/masmarino-gabarit-auth-reset-password.mjs +3 -3
- package/fesm2022/masmarino-gabarit-auth.mjs +12 -12
- package/fesm2022/masmarino-gabarit-autocomplete.mjs +10 -12
- package/fesm2022/masmarino-gabarit-autocomplete.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-avatar-group.mjs +8 -5
- package/fesm2022/masmarino-gabarit-avatar-group.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-avatar.mjs +3 -3
- package/fesm2022/masmarino-gabarit-badge.mjs +3 -3
- package/fesm2022/masmarino-gabarit-bar-chart.mjs +6 -6
- package/fesm2022/masmarino-gabarit-breadcrumb.mjs +3 -3
- package/fesm2022/masmarino-gabarit-button.mjs +3 -3
- package/fesm2022/masmarino-gabarit-card.mjs +9 -9
- package/fesm2022/masmarino-gabarit-chart.mjs +21 -21
- package/fesm2022/masmarino-gabarit-checkbox-group.mjs +3 -3
- package/fesm2022/masmarino-gabarit-checkbox.mjs +3 -3
- package/fesm2022/masmarino-gabarit-command-palette.mjs +649 -0
- package/fesm2022/masmarino-gabarit-command-palette.mjs.map +1 -0
- package/fesm2022/masmarino-gabarit-confirm-danger-modal.mjs +3 -3
- package/fesm2022/masmarino-gabarit-copy-button.mjs +3 -3
- package/fesm2022/masmarino-gabarit-copy-field.mjs +3 -3
- package/fesm2022/masmarino-gabarit-date-picker.mjs +15 -11
- package/fesm2022/masmarino-gabarit-date-picker.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-description-list.mjs +3 -3
- package/fesm2022/masmarino-gabarit-dimension-card.mjs +3 -3
- package/fesm2022/masmarino-gabarit-disclosure.mjs +3 -3
- package/fesm2022/masmarino-gabarit-divider.mjs +3 -3
- package/fesm2022/masmarino-gabarit-docs.mjs +26 -22
- package/fesm2022/masmarino-gabarit-docs.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-drawer.mjs +3 -3
- package/fesm2022/masmarino-gabarit-empty-state.mjs +3 -3
- package/fesm2022/masmarino-gabarit-file-upload.mjs +3 -3
- package/fesm2022/masmarino-gabarit-floating-panel.mjs +12 -1
- package/fesm2022/masmarino-gabarit-floating-panel.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-format.mjs +9 -9
- package/fesm2022/masmarino-gabarit-funnel-chart.mjs +3 -3
- package/fesm2022/masmarino-gabarit-gauge-bar.mjs +3 -3
- package/fesm2022/masmarino-gabarit-git-field.mjs +3 -3
- package/fesm2022/masmarino-gabarit-icon-marker.mjs +3 -3
- package/fesm2022/masmarino-gabarit-icon.mjs +6 -6
- package/fesm2022/masmarino-gabarit-input.mjs +3 -3
- package/fesm2022/masmarino-gabarit-job-graph.mjs +3 -3
- package/fesm2022/masmarino-gabarit-job-status.mjs +3 -3
- package/fesm2022/masmarino-gabarit-line-chart.mjs +6 -6
- package/fesm2022/masmarino-gabarit-list-card.mjs +3 -3
- package/fesm2022/masmarino-gabarit-list-row.mjs +3 -3
- package/fesm2022/masmarino-gabarit-list-toolbar.mjs +3 -3
- package/fesm2022/masmarino-gabarit-menu.mjs +14 -11
- package/fesm2022/masmarino-gabarit-menu.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-mfa-enrollment.mjs +9 -9
- package/fesm2022/masmarino-gabarit-mfa-settings.mjs +3 -3
- package/fesm2022/masmarino-gabarit-modal.mjs +3 -3
- package/fesm2022/masmarino-gabarit-nav-tabs.mjs +6 -6
- package/fesm2022/masmarino-gabarit-notification-dot.mjs +3 -3
- package/fesm2022/masmarino-gabarit-page-header.mjs +3 -3
- package/fesm2022/masmarino-gabarit-page-layout.mjs +3 -3
- package/fesm2022/masmarino-gabarit-pagination.mjs +3 -3
- package/fesm2022/masmarino-gabarit-panel.mjs +3 -3
- package/fesm2022/masmarino-gabarit-passkey-settings.mjs +3 -3
- package/fesm2022/masmarino-gabarit-pie-chart.mjs +3 -3
- package/fesm2022/masmarino-gabarit-popover.mjs +8 -5
- package/fesm2022/masmarino-gabarit-popover.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-radio-group.mjs +3 -3
- package/fesm2022/masmarino-gabarit-save-status.mjs +3 -3
- package/fesm2022/masmarino-gabarit-search-bar.mjs +3 -3
- package/fesm2022/masmarino-gabarit-secret-reveal.mjs +3 -3
- package/fesm2022/masmarino-gabarit-segmented-control.mjs +3 -3
- package/fesm2022/masmarino-gabarit-select.mjs +8 -6
- package/fesm2022/masmarino-gabarit-select.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-skeleton-list.mjs +3 -3
- package/fesm2022/masmarino-gabarit-skeleton.mjs +3 -3
- package/fesm2022/masmarino-gabarit-slider.mjs +3 -3
- package/fesm2022/masmarino-gabarit-sparkline.mjs +3 -3
- package/fesm2022/masmarino-gabarit-spinner.mjs +3 -3
- package/fesm2022/masmarino-gabarit-stat-grid.mjs +3 -3
- package/fesm2022/masmarino-gabarit-stat-tile.mjs +6 -6
- package/fesm2022/masmarino-gabarit-stepper.mjs +3 -3
- package/fesm2022/masmarino-gabarit-switch.mjs +3 -3
- package/fesm2022/masmarino-gabarit-table.mjs +3 -3
- package/fesm2022/masmarino-gabarit-tabs.mjs +6 -6
- package/fesm2022/masmarino-gabarit-tag-input.mjs +3 -3
- package/fesm2022/masmarino-gabarit-tag.mjs +3 -3
- package/fesm2022/masmarino-gabarit-textarea.mjs +3 -3
- package/fesm2022/masmarino-gabarit-timeline-chart.mjs +6 -6
- package/fesm2022/masmarino-gabarit-toaster.mjs +6 -6
- package/fesm2022/masmarino-gabarit-tooltip.mjs +8 -5
- package/fesm2022/masmarino-gabarit-tooltip.mjs.map +1 -1
- package/fesm2022/masmarino-gabarit-tree.mjs +3 -3
- package/fesm2022/masmarino-gabarit-user-chip.mjs +3 -3
- package/fesm2022/masmarino-gabarit.mjs +3 -2
- package/fesm2022/masmarino-gabarit.mjs.map +1 -1
- package/package.json +5 -1
- package/types/masmarino-gabarit-autocomplete.d.ts +1 -0
- package/types/masmarino-gabarit-avatar-group.d.ts +1 -0
- package/types/masmarino-gabarit-command-palette.d.ts +218 -0
- package/types/masmarino-gabarit-date-picker.d.ts +2 -0
- package/types/masmarino-gabarit-floating-panel.d.ts +8 -1
- package/types/masmarino-gabarit-menu.d.ts +1 -0
- package/types/masmarino-gabarit-popover.d.ts +1 -0
- package/types/masmarino-gabarit-select.d.ts +1 -0
- package/types/masmarino-gabarit-tooltip.d.ts +1 -0
- package/types/masmarino-gabarit.d.ts +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"masmarino-gabarit-select.mjs","names":[],"sources":["../../../projects/gabarit/select/select.ts","../../../projects/gabarit/select/select.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n signal,\n} from '@angular/core'\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'\nimport { Icon } from '@masmarino/gabarit/icon'\nimport { Tag } from '@masmarino/gabarit/tag'\nimport { floatingPanelAnchor } from '@masmarino/gabarit/floating-panel'\n\nexport interface SelectOption<T = string> {\n value: T\n label: string\n icon?: string\n color?: string\n}\n\nlet nextSelectId = 0\n\n@Component({\n selector: 'gbt-select',\n standalone: true,\n imports: [Icon, Tag],\n templateUrl: './select.html',\n styleUrl: './select.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(document:click)': 'handleClickOutside($event)',\n '(keydown)': 'onKeydown($event)',\n '(window:scroll)': 'updatePanelPosition()',\n '(window:resize)': 'updatePanelPosition()',\n '[class.gbt-select--sm]': \"size() === 'sm'\",\n '[class.gbt-select--full]': 'fullWidth()',\n },\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Select),\n multi: true,\n },\n ],\n})\nexport class Select<T = string> implements ControlValueAccessor {\n private readonly elementRef = inject(ElementRef)\n\n id = input<string>(`gbt-select-${++nextSelectId}`)\n label = input<string>('')\n size = input<'md' | 'sm'>('md')\n hint = input<string>('')\n hideLabel = input(false, { transform: booleanAttribute })\n fullWidth = input(false, { transform: booleanAttribute })\n options = input.required<SelectOption<T>[]>()\n multiple = input(false, { transform: booleanAttribute })\n chips = input(false, { transform: booleanAttribute })\n placeholder = input<string>('Select…')\n disabled = input(false, { transform: booleanAttribute })\n required = input(false, { transform: booleanAttribute })\n errorMessage = input<string | null>(null)\n selectedCountLabel = input<(count: number) => string>((count) => `${count} selected`)\n chipRemoveLabel = input<(label: string) => string>((label) => `Remove ${label}`)\n noOptionsMessage = input<string>('No options')\n\n protected readonly open = signal(false)\n protected readonly activeIndex = signal(-1)\n protected readonly selected = signal<T[]>([])\n protected readonly panelStyle = signal<{ top: string; left: string; width: string } | null>(null)\n private readonly formDisabled = signal(false)\n\n protected readonly labelId = computed(() => `${this.id()}-label`)\n protected readonly chipsId = computed(() => `${this.id()}-chips`)\n protected readonly hintId = computed(() => `${this.id()}-hint`)\n protected readonly showHint = computed(() => !!this.hint() && !this.errorMessage())\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled())\n\n private onChange: (value: T | T[] | null) => void = () => {}\n private onTouched: () => void = () => {}\n\n setDisabledState(isDisabled: boolean): void {\n this.formDisabled.set(isDisabled)\n }\n\n writeValue(value: T | T[] | null): void {\n if (this.multiple()) {\n this.selected.set(Array.isArray(value) ? (value as T[]) : [])\n } else {\n this.selected.set(value === null || value === undefined ? [] : [value as T])\n }\n }\n\n registerOnChange(fn: (value: T | T[] | null) => void): void {\n this.onChange = fn\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n protected readonly selectedOptions = computed(() => {\n const selected = this.selected()\n return this.options().filter((option) => selected.includes(option.value))\n })\n\n protected readonly triggerLabel = computed(() => {\n const opts = this.selectedOptions()\n if (opts.length === 0) {\n return this.placeholder()\n }\n if (this.chips() && this.multiple()) {\n return this.placeholder()\n }\n if (this.multiple() && opts.length > 1) {\n return this.selectedCountLabel()(opts.length)\n }\n return opts[0].label\n })\n\n protected readonly chipsVisible = computed(\n () => this.chips() && this.multiple() && this.selectedOptions().length > 0,\n )\n\n protected readonly describedBy = computed(() => {\n const ids: string[] = []\n if (this.chipsVisible()) {\n ids.push(this.chipsId())\n }\n if (this.errorMessage()) {\n ids.push(`${this.id()}-error`)\n } else if (this.showHint()) {\n ids.push(this.hintId())\n }\n return ids.length > 0 ? ids.join(' ') : null\n })\n\n protected readonly triggerIcon = computed(() => {\n const opts = this.selectedOptions()\n return opts.length === 1 ? opts[0].icon : undefined\n })\n\n protected readonly activeOptionId = computed(() =>\n this.open() && this.activeIndex() >= 0 ? `${this.id()}-option-${this.activeIndex()}` : null,\n )\n\n protected readonly hasNoOptions = computed(() => this.options().length === 0)\n\n protected isSelected(value: T): boolean {\n return this.selected().includes(value)\n }\n\n protected toggleOpen(): void {\n if (this.isDisabled()) {\n return\n }\n this.open.update((value) => !value)\n if (this.open()) {\n const options = this.options()\n this.activeIndex.set(\n options.length === 0\n ? -1\n : Math.max(\n 0,\n options.findIndex((o) => this.isSelected(o.value)),\n ),\n )\n this.updatePanelPosition()\n } else {\n this.onTouched()\n }\n }\n\n protected updatePanelPosition(): void {\n const trigger = this.elementRef.nativeElement.querySelector(\n '.gbt-select__trigger',\n ) as HTMLElement | null\n const anchor = floatingPanelAnchor(this.open(), trigger, (rect) => {\n const chipRow = this.elementRef.nativeElement.querySelector(\n '.gbt-select__chips',\n ) as HTMLElement | null\n return chipRow ? Math.max(rect.bottom, chipRow.getBoundingClientRect().bottom) : rect.bottom\n })\n if (anchor) {\n this.panelStyle.set({\n top: `${anchor.bottom}px`,\n left: `${anchor.left}px`,\n width: `${anchor.rect.width}px`,\n })\n }\n }\n\n protected removeChip(value: T, index: number): void {\n if (this.isDisabled()) {\n return\n }\n const host = this.elementRef.nativeElement as HTMLElement\n const removeButtons = Array.from(\n host.querySelectorAll<HTMLElement>('.gbt-select__chips .gbt-tag__remove'),\n )\n const nextFocus =\n removeButtons[index + 1] ??\n removeButtons[index - 1] ??\n host.querySelector<HTMLElement>('.gbt-select__trigger')\n this.selectOption(value)\n nextFocus?.focus()\n }\n\n protected selectOption(value: T): void {\n if (this.multiple()) {\n const current = this.selected()\n const next = current.includes(value)\n ? current.filter((v) => v !== value)\n : [...current, value]\n this.selected.set(next)\n this.onChange(next)\n this.onTouched()\n } else {\n this.selected.set([value])\n this.onChange(value)\n this.open.set(false)\n this.onTouched()\n }\n }\n\n protected handleClickOutside(event: MouseEvent): void {\n if (this.open() && !this.elementRef.nativeElement.contains(event.target)) {\n this.open.set(false)\n this.onTouched()\n }\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n if (this.isDisabled()) {\n return\n }\n if (!this.open()) {\n if (event.key === 'ArrowDown' || event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n this.toggleOpen()\n }\n return\n }\n const options = this.options()\n switch (event.key) {\n case 'Escape':\n event.preventDefault()\n event.stopPropagation()\n this.open.set(false)\n this.onTouched()\n break\n case 'ArrowDown':\n event.preventDefault()\n if (options.length > 0) {\n this.activeIndex.update((i) => Math.min(i + 1, options.length - 1))\n }\n break\n case 'ArrowUp':\n event.preventDefault()\n if (options.length > 0) {\n this.activeIndex.update((i) => Math.max(i - 1, 0))\n }\n break\n case 'Enter':\n case ' ': {\n event.preventDefault()\n const active = options[this.activeIndex()]\n if (active) {\n this.selectOption(active.value)\n }\n break\n }\n }\n }\n}\n","<div class=\"gbt-select\" [class.gbt-select--disabled]=\"isDisabled()\">\n @if (label()) {\n <label\n [id]=\"labelId()\"\n [for]=\"id()\"\n class=\"gbt-select__label\"\n [class.gbt-select__label--hidden]=\"hideLabel()\"\n >{{ label() }}{{ required() ? ' *' : '' }}</label\n >\n }\n\n <button\n type=\"button\"\n [id]=\"id()\"\n class=\"gbt-select__trigger\"\n [class.gbt-select__trigger--open]=\"open()\"\n [disabled]=\"isDisabled()\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? id() + '-listbox' : null\"\n [attr.aria-activedescendant]=\"activeOptionId()\"\n [attr.aria-labelledby]=\"label() ? labelId() + ' ' + id() : null\"\n [attr.aria-label]=\"label() ? null : placeholder() || null\"\n [attr.aria-required]=\"required() ? true : null\"\n [attr.aria-invalid]=\"errorMessage() ? true : null\"\n [attr.aria-describedby]=\"describedBy()\"\n (click)=\"toggleOpen()\"\n >\n @if (triggerIcon(); as icon) {\n <gbt-icon [name]=\"icon\" class=\"gbt-select__trigger-icon\" aria-hidden=\"true\" />\n }\n <span\n class=\"gbt-select__trigger-label\"\n [class.gbt-select__trigger-label--placeholder]=\"selectedOptions().length === 0\"\n >\n {{ triggerLabel() }}\n </span>\n <gbt-icon name=\"chevron-down\" class=\"gbt-select__chevron\" aria-hidden=\"true\" />\n </button>\n @if (chipsVisible()) {\n <div class=\"gbt-select__chips\" [id]=\"chipsId()\">\n @for (option of selectedOptions(); track option.value; let i = $index) {\n <gbt-tag\n [color]=\"option.color ?? '#6b7280'\"\n [removable]=\"!isDisabled()\"\n [disabled]=\"isDisabled()\"\n [removeLabel]=\"chipRemoveLabel()(option.label)\"\n (removed)=\"removeChip(option.value, i)\"\n >\n {{ option.label }}\n </gbt-tag>\n }\n </div>\n }\n @if (chips() && multiple()) {\n <div role=\"status\" aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\">\n {{ selectedCountLabel()(selectedOptions().length) }}\n </div>\n }\n @if (open() && panelStyle(); as style) {\n @if (hasNoOptions()) {\n <div\n [id]=\"id() + '-listbox'\"\n class=\"gbt-select__panel gbt-select__empty\"\n role=\"status\"\n [style.top]=\"style.top\"\n [style.left]=\"style.left\"\n [style.width]=\"style.width\"\n >\n {{ noOptionsMessage() }}\n </div>\n } @else {\n <ul\n [id]=\"id() + '-listbox'\"\n class=\"gbt-select__panel\"\n role=\"listbox\"\n [attr.aria-label]=\"label() || placeholder()\"\n [attr.aria-multiselectable]=\"multiple()\"\n [style.top]=\"style.top\"\n [style.left]=\"style.left\"\n [style.width]=\"style.width\"\n >\n @for (option of options(); track option.value; let i = $index) {\n <li role=\"presentation\">\n <button\n [id]=\"id() + '-option-' + i\"\n type=\"button\"\n role=\"option\"\n tabindex=\"-1\"\n class=\"gbt-select__option\"\n [class.gbt-select__option--selected]=\"isSelected(option.value)\"\n [class.gbt-select__option--active]=\"i === activeIndex()\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n (click)=\"selectOption(option.value)\"\n (mouseenter)=\"activeIndex.set(i)\"\n >\n @if (option.icon) {\n <gbt-icon [name]=\"option.icon\" class=\"gbt-select__option-icon\" aria-hidden=\"true\" />\n }\n <span class=\"gbt-select__option-label\">{{ option.label }}</span>\n @if (isSelected(option.value)) {\n <gbt-icon name=\"check\" class=\"gbt-select__option-check\" aria-hidden=\"true\" />\n }\n </button>\n </li>\n }\n </ul>\n }\n }\n @if (showHint()) {\n <p [id]=\"hintId()\" class=\"gbt-select__hint\">{{ hint() }}</p>\n }\n @if (errorMessage()) {\n <p [id]=\"id() + '-error'\" class=\"gbt-select__error\" role=\"alert\">{{ errorMessage() }}</p>\n }\n</div>\n"],"mappings":";;;;;;AAuBA,IAAI,eAAe;AAyBnB,IAAa,SAAb,MAAa,OAAM;CACA,aAAa,OAAO,UAAU;CAE/C,KAAK,MAAc,cAAc,EAAE,gBAAe,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAClD,QAAQ,MAAc,IAAG,GAAA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AAA,CAAA;GAAA,MAAA;GAAA,MDzFY;GAAI,UAAA;GAAA,QAAA,CAAA,MAAA;EAAA,GAAA;GAAA,MAAA;GAAA,MAAE;GAAG,UAAA;GAAA,QAAA;IAAA;IAAA;IAAA;IAAA;GAAA;GAAA,SAAA,CAAA,SAAA;EAAA,CAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAoBR,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAM,YAAA,CAAA;EAvBlB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAY,YACV;GAAI,SACP,CAAC,MAAM,GAAG;GAAC,iBAGH,wBAAwB;GAAM,MACzC;IACJ,oBAAoB;IACpB,aAAa;IACb,mBAAmB;IACnB,mBAAmB;IACnB,0BAA0B;IAC1B,4BAA4B;GAC7B;GAAA,WACU,CACT;IACE,SAAS;IACT,aAAa,iBAAgB,MAAO;IACpC,OAAO;GACR,CACF;GAAA,UAAA;GAAA,QAAA,CAAA,2kHAAA;EAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"masmarino-gabarit-select.mjs","names":[],"sources":["../../../projects/gabarit/select/select.ts","../../../projects/gabarit/select/select.html"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n signal,\n} from '@angular/core'\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'\nimport { Icon } from '@masmarino/gabarit/icon'\nimport { Tag } from '@masmarino/gabarit/tag'\nimport { floatingPanelAnchor, followPageScroll } from '@masmarino/gabarit/floating-panel'\n\nexport interface SelectOption<T = string> {\n value: T\n label: string\n icon?: string\n color?: string\n}\n\nlet nextSelectId = 0\n\n@Component({\n selector: 'gbt-select',\n standalone: true,\n imports: [Icon, Tag],\n templateUrl: './select.html',\n styleUrl: './select.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(document:click)': 'handleClickOutside($event)',\n '(keydown)': 'onKeydown($event)',\n '(window:resize)': 'updatePanelPosition()',\n '[class.gbt-select--sm]': \"size() === 'sm'\",\n '[class.gbt-select--full]': 'fullWidth()',\n },\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Select),\n multi: true,\n },\n ],\n})\nexport class Select<T = string> implements ControlValueAccessor {\n private readonly elementRef = inject(ElementRef)\n\n id = input<string>(`gbt-select-${++nextSelectId}`)\n label = input<string>('')\n size = input<'md' | 'sm'>('md')\n hint = input<string>('')\n hideLabel = input(false, { transform: booleanAttribute })\n fullWidth = input(false, { transform: booleanAttribute })\n options = input.required<SelectOption<T>[]>()\n multiple = input(false, { transform: booleanAttribute })\n chips = input(false, { transform: booleanAttribute })\n placeholder = input<string>('Select…')\n disabled = input(false, { transform: booleanAttribute })\n required = input(false, { transform: booleanAttribute })\n errorMessage = input<string | null>(null)\n selectedCountLabel = input<(count: number) => string>((count) => `${count} selected`)\n chipRemoveLabel = input<(label: string) => string>((label) => `Remove ${label}`)\n noOptionsMessage = input<string>('No options')\n\n protected readonly open = signal(false)\n protected readonly activeIndex = signal(-1)\n protected readonly selected = signal<T[]>([])\n protected readonly panelStyle = signal<{ top: string; left: string; width: string } | null>(null)\n private readonly formDisabled = signal(false)\n\n protected readonly labelId = computed(() => `${this.id()}-label`)\n protected readonly chipsId = computed(() => `${this.id()}-chips`)\n protected readonly hintId = computed(() => `${this.id()}-hint`)\n protected readonly showHint = computed(() => !!this.hint() && !this.errorMessage())\n protected readonly isDisabled = computed(() => this.disabled() || this.formDisabled())\n\n private onChange: (value: T | T[] | null) => void = () => {}\n private onTouched: () => void = () => {}\n\n setDisabledState(isDisabled: boolean): void {\n this.formDisabled.set(isDisabled)\n }\n\n writeValue(value: T | T[] | null): void {\n if (this.multiple()) {\n this.selected.set(Array.isArray(value) ? (value as T[]) : [])\n } else {\n this.selected.set(value === null || value === undefined ? [] : [value as T])\n }\n }\n\n registerOnChange(fn: (value: T | T[] | null) => void): void {\n this.onChange = fn\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n protected readonly selectedOptions = computed(() => {\n const selected = this.selected()\n return this.options().filter((option) => selected.includes(option.value))\n })\n\n protected readonly triggerLabel = computed(() => {\n const opts = this.selectedOptions()\n if (opts.length === 0) {\n return this.placeholder()\n }\n if (this.chips() && this.multiple()) {\n return this.placeholder()\n }\n if (this.multiple() && opts.length > 1) {\n return this.selectedCountLabel()(opts.length)\n }\n return opts[0].label\n })\n\n protected readonly chipsVisible = computed(\n () => this.chips() && this.multiple() && this.selectedOptions().length > 0,\n )\n\n protected readonly describedBy = computed(() => {\n const ids: string[] = []\n if (this.chipsVisible()) {\n ids.push(this.chipsId())\n }\n if (this.errorMessage()) {\n ids.push(`${this.id()}-error`)\n } else if (this.showHint()) {\n ids.push(this.hintId())\n }\n return ids.length > 0 ? ids.join(' ') : null\n })\n\n protected readonly triggerIcon = computed(() => {\n const opts = this.selectedOptions()\n return opts.length === 1 ? opts[0].icon : undefined\n })\n\n protected readonly activeOptionId = computed(() =>\n this.open() && this.activeIndex() >= 0 ? `${this.id()}-option-${this.activeIndex()}` : null,\n )\n\n protected readonly hasNoOptions = computed(() => this.options().length === 0)\n\n protected isSelected(value: T): boolean {\n return this.selected().includes(value)\n }\n\n protected toggleOpen(): void {\n if (this.isDisabled()) {\n return\n }\n this.open.update((value) => !value)\n if (this.open()) {\n const options = this.options()\n this.activeIndex.set(\n options.length === 0\n ? -1\n : Math.max(\n 0,\n options.findIndex((o) => this.isSelected(o.value)),\n ),\n )\n this.updatePanelPosition()\n } else {\n this.onTouched()\n }\n }\n\n constructor() {\n followPageScroll(() => this.updatePanelPosition())\n }\n\n protected updatePanelPosition(): void {\n const trigger = this.elementRef.nativeElement.querySelector(\n '.gbt-select__trigger',\n ) as HTMLElement | null\n const anchor = floatingPanelAnchor(this.open(), trigger, (rect) => {\n const chipRow = this.elementRef.nativeElement.querySelector(\n '.gbt-select__chips',\n ) as HTMLElement | null\n return chipRow ? Math.max(rect.bottom, chipRow.getBoundingClientRect().bottom) : rect.bottom\n })\n if (anchor) {\n this.panelStyle.set({\n top: `${anchor.bottom}px`,\n left: `${anchor.left}px`,\n width: `${anchor.rect.width}px`,\n })\n }\n }\n\n protected removeChip(value: T, index: number): void {\n if (this.isDisabled()) {\n return\n }\n const host = this.elementRef.nativeElement as HTMLElement\n const removeButtons = Array.from(\n host.querySelectorAll<HTMLElement>('.gbt-select__chips .gbt-tag__remove'),\n )\n const nextFocus =\n removeButtons[index + 1] ??\n removeButtons[index - 1] ??\n host.querySelector<HTMLElement>('.gbt-select__trigger')\n this.selectOption(value)\n nextFocus?.focus()\n }\n\n protected selectOption(value: T): void {\n if (this.multiple()) {\n const current = this.selected()\n const next = current.includes(value)\n ? current.filter((v) => v !== value)\n : [...current, value]\n this.selected.set(next)\n this.onChange(next)\n this.onTouched()\n } else {\n this.selected.set([value])\n this.onChange(value)\n this.open.set(false)\n this.onTouched()\n }\n }\n\n protected handleClickOutside(event: MouseEvent): void {\n if (this.open() && !this.elementRef.nativeElement.contains(event.target)) {\n this.open.set(false)\n this.onTouched()\n }\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n if (this.isDisabled()) {\n return\n }\n if (!this.open()) {\n if (event.key === 'ArrowDown' || event.key === 'Enter' || event.key === ' ') {\n event.preventDefault()\n this.toggleOpen()\n }\n return\n }\n const options = this.options()\n switch (event.key) {\n case 'Escape':\n event.preventDefault()\n event.stopPropagation()\n this.open.set(false)\n this.onTouched()\n break\n case 'ArrowDown':\n event.preventDefault()\n if (options.length > 0) {\n this.activeIndex.update((i) => Math.min(i + 1, options.length - 1))\n }\n break\n case 'ArrowUp':\n event.preventDefault()\n if (options.length > 0) {\n this.activeIndex.update((i) => Math.max(i - 1, 0))\n }\n break\n case 'Enter':\n case ' ': {\n event.preventDefault()\n const active = options[this.activeIndex()]\n if (active) {\n this.selectOption(active.value)\n }\n break\n }\n }\n }\n}\n","<div class=\"gbt-select\" [class.gbt-select--disabled]=\"isDisabled()\">\n @if (label()) {\n <label\n [id]=\"labelId()\"\n [for]=\"id()\"\n class=\"gbt-select__label\"\n [class.gbt-select__label--hidden]=\"hideLabel()\"\n >{{ label() }}{{ required() ? ' *' : '' }}</label\n >\n }\n\n <button\n type=\"button\"\n [id]=\"id()\"\n class=\"gbt-select__trigger\"\n [class.gbt-select__trigger--open]=\"open()\"\n [disabled]=\"isDisabled()\"\n role=\"combobox\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? id() + '-listbox' : null\"\n [attr.aria-activedescendant]=\"activeOptionId()\"\n [attr.aria-labelledby]=\"label() ? labelId() + ' ' + id() : null\"\n [attr.aria-label]=\"label() ? null : placeholder() || null\"\n [attr.aria-required]=\"required() ? true : null\"\n [attr.aria-invalid]=\"errorMessage() ? true : null\"\n [attr.aria-describedby]=\"describedBy()\"\n (click)=\"toggleOpen()\"\n >\n @if (triggerIcon(); as icon) {\n <gbt-icon [name]=\"icon\" class=\"gbt-select__trigger-icon\" aria-hidden=\"true\" />\n }\n <span\n class=\"gbt-select__trigger-label\"\n [class.gbt-select__trigger-label--placeholder]=\"selectedOptions().length === 0\"\n >\n {{ triggerLabel() }}\n </span>\n <gbt-icon name=\"chevron-down\" class=\"gbt-select__chevron\" aria-hidden=\"true\" />\n </button>\n @if (chipsVisible()) {\n <div class=\"gbt-select__chips\" [id]=\"chipsId()\">\n @for (option of selectedOptions(); track option.value; let i = $index) {\n <gbt-tag\n [color]=\"option.color ?? '#6b7280'\"\n [removable]=\"!isDisabled()\"\n [disabled]=\"isDisabled()\"\n [removeLabel]=\"chipRemoveLabel()(option.label)\"\n (removed)=\"removeChip(option.value, i)\"\n >\n {{ option.label }}\n </gbt-tag>\n }\n </div>\n }\n @if (chips() && multiple()) {\n <div role=\"status\" aria-live=\"polite\" aria-atomic=\"true\" class=\"sr-only\">\n {{ selectedCountLabel()(selectedOptions().length) }}\n </div>\n }\n @if (open() && panelStyle(); as style) {\n @if (hasNoOptions()) {\n <div\n [id]=\"id() + '-listbox'\"\n class=\"gbt-select__panel gbt-select__empty\"\n role=\"status\"\n [style.top]=\"style.top\"\n [style.left]=\"style.left\"\n [style.width]=\"style.width\"\n >\n {{ noOptionsMessage() }}\n </div>\n } @else {\n <ul\n [id]=\"id() + '-listbox'\"\n class=\"gbt-select__panel\"\n role=\"listbox\"\n [attr.aria-label]=\"label() || placeholder()\"\n [attr.aria-multiselectable]=\"multiple()\"\n [style.top]=\"style.top\"\n [style.left]=\"style.left\"\n [style.width]=\"style.width\"\n >\n @for (option of options(); track option.value; let i = $index) {\n <li role=\"presentation\">\n <button\n [id]=\"id() + '-option-' + i\"\n type=\"button\"\n role=\"option\"\n tabindex=\"-1\"\n class=\"gbt-select__option\"\n [class.gbt-select__option--selected]=\"isSelected(option.value)\"\n [class.gbt-select__option--active]=\"i === activeIndex()\"\n [attr.aria-selected]=\"isSelected(option.value)\"\n (click)=\"selectOption(option.value)\"\n (mouseenter)=\"activeIndex.set(i)\"\n >\n @if (option.icon) {\n <gbt-icon [name]=\"option.icon\" class=\"gbt-select__option-icon\" aria-hidden=\"true\" />\n }\n <span class=\"gbt-select__option-label\">{{ option.label }}</span>\n @if (isSelected(option.value)) {\n <gbt-icon name=\"check\" class=\"gbt-select__option-check\" aria-hidden=\"true\" />\n }\n </button>\n </li>\n }\n </ul>\n }\n }\n @if (showHint()) {\n <p [id]=\"hintId()\" class=\"gbt-select__hint\">{{ hint() }}</p>\n }\n @if (errorMessage()) {\n <p [id]=\"id() + '-error'\" class=\"gbt-select__error\" role=\"alert\">{{ errorMessage() }}</p>\n }\n</div>\n"],"mappings":";;;;;;AAuBA,IAAI,eAAe;AAwBnB,IAAa,SAAb,MAAa,OAAM;CACA,aAAa,OAAO,UAAU;CAE/C,KAAK,MAAc,cAAc,EAAE,gBAAe,GAAA,YAAA,CAAA,EAAA,WAAA,KAAA,CAAA,+BAAA,CAAA,CAAA;CAClD,QAA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AAA,UAAA;EAAA,UC7CH;EAqHA,QAAA,CAAA,2kHAAA;EAAA,cAAA,CAAA;GAAA,MAAA;GAAA,MDzFY;GAAI,UAAA;GAAA,QAAA,CAAA,MAAA;EAAA,GAAA;GAAA,MAAA;GAAA,MAAE;GAAG,UAAA;GAAA,QAAA;IAAA;IAAA;IAAA;IAAA;GAAA;GAAA,SAAA,CAAA,SAAA;EAAA,CAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAmBR,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAM,YAAA,CAAA;EAtBlB,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAY,YACV;GAAI,SACP,CAAC,MAAM,GAAG;GAAC,iBAGH,wBAAwB;GAAM,MACzC;IACJ,oBAAoB;IACpB,aAAa;IACb,mBAAmB;IACnB,0BAA0B;IAC1B,4BAA4B;GAC7B;GAAA,WACU,CACT;IACE,SAAS;IACT,aAAa,iBAAgB,MAAO;IACpC,OAAO;GACR,CACF;GAAA,UAAA;GAAA,QAAA,CAAA,2kHAAA;EAAA,CAAA"}
|
|
@@ -30,7 +30,7 @@ var SkeletonList = class SkeletonList {
|
|
|
30
30
|
})), ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
31
31
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
32
32
|
minVersion: "12.0.0",
|
|
33
|
-
version: "22.2.
|
|
33
|
+
version: "22.2.1",
|
|
34
34
|
ngImport: i0,
|
|
35
35
|
type: SkeletonList,
|
|
36
36
|
deps: [],
|
|
@@ -38,7 +38,7 @@ var SkeletonList = class SkeletonList {
|
|
|
38
38
|
});
|
|
39
39
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
40
40
|
minVersion: "17.0.0",
|
|
41
|
-
version: "22.2.
|
|
41
|
+
version: "22.2.1",
|
|
42
42
|
type: SkeletonList,
|
|
43
43
|
isStandalone: true,
|
|
44
44
|
selector: "gbt-skeleton-list",
|
|
@@ -111,7 +111,7 @@ var SkeletonList = class SkeletonList {
|
|
|
111
111
|
};
|
|
112
112
|
i0.ɵɵngDeclareClassMetadata({
|
|
113
113
|
minVersion: "12.0.0",
|
|
114
|
-
version: "22.2.
|
|
114
|
+
version: "22.2.1",
|
|
115
115
|
ngImport: i0,
|
|
116
116
|
type: SkeletonList,
|
|
117
117
|
decorators: [{
|
|
@@ -6,7 +6,7 @@ var Skeleton = class Skeleton {
|
|
|
6
6
|
height = input(null, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
7
7
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
8
8
|
minVersion: "12.0.0",
|
|
9
|
-
version: "22.2.
|
|
9
|
+
version: "22.2.1",
|
|
10
10
|
ngImport: i0,
|
|
11
11
|
type: Skeleton,
|
|
12
12
|
deps: [],
|
|
@@ -14,7 +14,7 @@ var Skeleton = class Skeleton {
|
|
|
14
14
|
});
|
|
15
15
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
16
16
|
minVersion: "17.1.0",
|
|
17
|
-
version: "22.2.
|
|
17
|
+
version: "22.2.1",
|
|
18
18
|
type: Skeleton,
|
|
19
19
|
isStandalone: true,
|
|
20
20
|
selector: "gbt-skeleton",
|
|
@@ -58,7 +58,7 @@ var Skeleton = class Skeleton {
|
|
|
58
58
|
};
|
|
59
59
|
i0.ɵɵngDeclareClassMetadata({
|
|
60
60
|
minVersion: "12.0.0",
|
|
61
|
-
version: "22.2.
|
|
61
|
+
version: "22.2.1",
|
|
62
62
|
ngImport: i0,
|
|
63
63
|
type: Skeleton,
|
|
64
64
|
decorators: [{
|
|
@@ -50,7 +50,7 @@ var Slider = class Slider {
|
|
|
50
50
|
}
|
|
51
51
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
52
52
|
minVersion: "12.0.0",
|
|
53
|
-
version: "22.2.
|
|
53
|
+
version: "22.2.1",
|
|
54
54
|
ngImport: i0,
|
|
55
55
|
type: Slider,
|
|
56
56
|
deps: [],
|
|
@@ -58,7 +58,7 @@ var Slider = class Slider {
|
|
|
58
58
|
});
|
|
59
59
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
60
60
|
minVersion: "17.0.0",
|
|
61
|
-
version: "22.2.
|
|
61
|
+
version: "22.2.1",
|
|
62
62
|
type: Slider,
|
|
63
63
|
isStandalone: true,
|
|
64
64
|
selector: "gbt-slider",
|
|
@@ -140,7 +140,7 @@ var Slider = class Slider {
|
|
|
140
140
|
};
|
|
141
141
|
i0.ɵɵngDeclareClassMetadata({
|
|
142
142
|
minVersion: "12.0.0",
|
|
143
|
-
version: "22.2.
|
|
143
|
+
version: "22.2.1",
|
|
144
144
|
ngImport: i0,
|
|
145
145
|
type: Slider,
|
|
146
146
|
decorators: [{
|
|
@@ -96,7 +96,7 @@ var Sparkline = class Sparkline {
|
|
|
96
96
|
}
|
|
97
97
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
98
98
|
minVersion: "12.0.0",
|
|
99
|
-
version: "22.2.
|
|
99
|
+
version: "22.2.1",
|
|
100
100
|
ngImport: i0,
|
|
101
101
|
type: Sparkline,
|
|
102
102
|
deps: [],
|
|
@@ -104,7 +104,7 @@ var Sparkline = class Sparkline {
|
|
|
104
104
|
});
|
|
105
105
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
106
106
|
minVersion: "17.0.0",
|
|
107
|
-
version: "22.2.
|
|
107
|
+
version: "22.2.1",
|
|
108
108
|
type: Sparkline,
|
|
109
109
|
isStandalone: true,
|
|
110
110
|
selector: "gbt-sparkline",
|
|
@@ -190,7 +190,7 @@ var Sparkline = class Sparkline {
|
|
|
190
190
|
};
|
|
191
191
|
i0.ɵɵngDeclareClassMetadata({
|
|
192
192
|
minVersion: "12.0.0",
|
|
193
|
-
version: "22.2.
|
|
193
|
+
version: "22.2.1",
|
|
194
194
|
ngImport: i0,
|
|
195
195
|
type: Sparkline,
|
|
196
196
|
decorators: [{
|
|
@@ -5,7 +5,7 @@ var Spinner = class Spinner {
|
|
|
5
5
|
label = input("Loading…", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
6
6
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7
7
|
minVersion: "12.0.0",
|
|
8
|
-
version: "22.2.
|
|
8
|
+
version: "22.2.1",
|
|
9
9
|
ngImport: i0,
|
|
10
10
|
type: Spinner,
|
|
11
11
|
deps: [],
|
|
@@ -13,7 +13,7 @@ var Spinner = class Spinner {
|
|
|
13
13
|
});
|
|
14
14
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
15
15
|
minVersion: "17.1.0",
|
|
16
|
-
version: "22.2.
|
|
16
|
+
version: "22.2.1",
|
|
17
17
|
type: Spinner,
|
|
18
18
|
isStandalone: true,
|
|
19
19
|
selector: "gbt-spinner",
|
|
@@ -45,7 +45,7 @@ var Spinner = class Spinner {
|
|
|
45
45
|
};
|
|
46
46
|
i0.ɵɵngDeclareClassMetadata({
|
|
47
47
|
minVersion: "12.0.0",
|
|
48
|
-
version: "22.2.
|
|
48
|
+
version: "22.2.1",
|
|
49
49
|
ngImport: i0,
|
|
50
50
|
type: Spinner,
|
|
51
51
|
decorators: [{
|
|
@@ -10,7 +10,7 @@ var StatGrid = class StatGrid {
|
|
|
10
10
|
placeholders = computed(() => Array.from({ length: Math.max(0, Math.round(this.loadingCount())) }, (_, i) => i), ...ngDevMode ? [{ debugName: "placeholders" }] : /* istanbul ignore next */ []);
|
|
11
11
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
12
|
minVersion: "12.0.0",
|
|
13
|
-
version: "22.2.
|
|
13
|
+
version: "22.2.1",
|
|
14
14
|
ngImport: i0,
|
|
15
15
|
type: StatGrid,
|
|
16
16
|
deps: [],
|
|
@@ -18,7 +18,7 @@ var StatGrid = class StatGrid {
|
|
|
18
18
|
});
|
|
19
19
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20
20
|
minVersion: "17.0.0",
|
|
21
|
-
version: "22.2.
|
|
21
|
+
version: "22.2.1",
|
|
22
22
|
type: StatGrid,
|
|
23
23
|
isStandalone: true,
|
|
24
24
|
selector: "gbt-stat-grid",
|
|
@@ -77,7 +77,7 @@ var StatGrid = class StatGrid {
|
|
|
77
77
|
};
|
|
78
78
|
i0.ɵɵngDeclareClassMetadata({
|
|
79
79
|
minVersion: "12.0.0",
|
|
80
|
-
version: "22.2.
|
|
80
|
+
version: "22.2.1",
|
|
81
81
|
ngImport: i0,
|
|
82
82
|
type: StatGrid,
|
|
83
83
|
decorators: [{
|
|
@@ -6,7 +6,7 @@ import { StatGrid } from "@masmarino/gabarit/stat-grid";
|
|
|
6
6
|
var StatTileLink = class StatTileLink {
|
|
7
7
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
8
8
|
minVersion: "12.0.0",
|
|
9
|
-
version: "22.2.
|
|
9
|
+
version: "22.2.1",
|
|
10
10
|
ngImport: i0,
|
|
11
11
|
type: StatTileLink,
|
|
12
12
|
deps: [],
|
|
@@ -14,7 +14,7 @@ var StatTileLink = class StatTileLink {
|
|
|
14
14
|
});
|
|
15
15
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
16
16
|
minVersion: "14.0.0",
|
|
17
|
-
version: "22.2.
|
|
17
|
+
version: "22.2.1",
|
|
18
18
|
type: StatTileLink,
|
|
19
19
|
isStandalone: true,
|
|
20
20
|
selector: "a[gbtStatTileLink]",
|
|
@@ -28,7 +28,7 @@ var StatTileLink = class StatTileLink {
|
|
|
28
28
|
};
|
|
29
29
|
i0.ɵɵngDeclareClassMetadata({
|
|
30
30
|
minVersion: "12.0.0",
|
|
31
|
-
version: "22.2.
|
|
31
|
+
version: "22.2.1",
|
|
32
32
|
ngImport: i0,
|
|
33
33
|
type: StatTileLink,
|
|
34
34
|
decorators: [{
|
|
@@ -67,7 +67,7 @@ var StatTile = class StatTile {
|
|
|
67
67
|
}
|
|
68
68
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
69
69
|
minVersion: "12.0.0",
|
|
70
|
-
version: "22.2.
|
|
70
|
+
version: "22.2.1",
|
|
71
71
|
ngImport: i0,
|
|
72
72
|
type: StatTile,
|
|
73
73
|
deps: [],
|
|
@@ -75,7 +75,7 @@ var StatTile = class StatTile {
|
|
|
75
75
|
});
|
|
76
76
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
77
77
|
minVersion: "17.0.0",
|
|
78
|
-
version: "22.2.
|
|
78
|
+
version: "22.2.1",
|
|
79
79
|
type: StatTile,
|
|
80
80
|
isStandalone: true,
|
|
81
81
|
selector: "gbt-stat-tile",
|
|
@@ -197,7 +197,7 @@ var StatTile = class StatTile {
|
|
|
197
197
|
};
|
|
198
198
|
i0.ɵɵngDeclareClassMetadata({
|
|
199
199
|
minVersion: "12.0.0",
|
|
200
|
-
version: "22.2.
|
|
200
|
+
version: "22.2.1",
|
|
201
201
|
ngImport: i0,
|
|
202
202
|
type: StatTile,
|
|
203
203
|
decorators: [{
|
|
@@ -30,7 +30,7 @@ var Stepper = class Stepper {
|
|
|
30
30
|
}
|
|
31
31
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
32
32
|
minVersion: "12.0.0",
|
|
33
|
-
version: "22.2.
|
|
33
|
+
version: "22.2.1",
|
|
34
34
|
ngImport: i0,
|
|
35
35
|
type: Stepper,
|
|
36
36
|
deps: [],
|
|
@@ -38,7 +38,7 @@ var Stepper = class Stepper {
|
|
|
38
38
|
});
|
|
39
39
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
40
40
|
minVersion: "17.0.0",
|
|
41
|
-
version: "22.2.
|
|
41
|
+
version: "22.2.1",
|
|
42
42
|
type: Stepper,
|
|
43
43
|
isStandalone: true,
|
|
44
44
|
selector: "gbt-stepper",
|
|
@@ -127,7 +127,7 @@ var Stepper = class Stepper {
|
|
|
127
127
|
};
|
|
128
128
|
i0.ɵɵngDeclareClassMetadata({
|
|
129
129
|
minVersion: "12.0.0",
|
|
130
|
-
version: "22.2.
|
|
130
|
+
version: "22.2.1",
|
|
131
131
|
ngImport: i0,
|
|
132
132
|
type: Stepper,
|
|
133
133
|
decorators: [{
|
|
@@ -36,7 +36,7 @@ var Switch = class Switch {
|
|
|
36
36
|
}
|
|
37
37
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
38
38
|
minVersion: "12.0.0",
|
|
39
|
-
version: "22.2.
|
|
39
|
+
version: "22.2.1",
|
|
40
40
|
ngImport: i0,
|
|
41
41
|
type: Switch,
|
|
42
42
|
deps: [],
|
|
@@ -44,7 +44,7 @@ var Switch = class Switch {
|
|
|
44
44
|
});
|
|
45
45
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
46
46
|
minVersion: "17.0.0",
|
|
47
|
-
version: "22.2.
|
|
47
|
+
version: "22.2.1",
|
|
48
48
|
type: Switch,
|
|
49
49
|
isStandalone: true,
|
|
50
50
|
selector: "gbt-switch",
|
|
@@ -92,7 +92,7 @@ var Switch = class Switch {
|
|
|
92
92
|
};
|
|
93
93
|
i0.ɵɵngDeclareClassMetadata({
|
|
94
94
|
minVersion: "12.0.0",
|
|
95
|
-
version: "22.2.
|
|
95
|
+
version: "22.2.1",
|
|
96
96
|
ngImport: i0,
|
|
97
97
|
type: Switch,
|
|
98
98
|
decorators: [{
|
|
@@ -57,7 +57,7 @@ var Table = class Table {
|
|
|
57
57
|
}
|
|
58
58
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
59
59
|
minVersion: "12.0.0",
|
|
60
|
-
version: "22.2.
|
|
60
|
+
version: "22.2.1",
|
|
61
61
|
ngImport: i0,
|
|
62
62
|
type: Table,
|
|
63
63
|
deps: [],
|
|
@@ -65,7 +65,7 @@ var Table = class Table {
|
|
|
65
65
|
});
|
|
66
66
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
67
67
|
minVersion: "17.0.0",
|
|
68
|
-
version: "22.2.
|
|
68
|
+
version: "22.2.1",
|
|
69
69
|
type: Table,
|
|
70
70
|
isStandalone: true,
|
|
71
71
|
selector: "gbt-table",
|
|
@@ -132,7 +132,7 @@ var Table = class Table {
|
|
|
132
132
|
};
|
|
133
133
|
i0.ɵɵngDeclareClassMetadata({
|
|
134
134
|
minVersion: "12.0.0",
|
|
135
|
-
version: "22.2.
|
|
135
|
+
version: "22.2.1",
|
|
136
136
|
ngImport: i0,
|
|
137
137
|
type: Table,
|
|
138
138
|
decorators: [{
|
|
@@ -12,7 +12,7 @@ var Tab = class Tab {
|
|
|
12
12
|
}
|
|
13
13
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14
14
|
minVersion: "12.0.0",
|
|
15
|
-
version: "22.2.
|
|
15
|
+
version: "22.2.1",
|
|
16
16
|
ngImport: i0,
|
|
17
17
|
type: Tab,
|
|
18
18
|
deps: [],
|
|
@@ -20,7 +20,7 @@ var Tab = class Tab {
|
|
|
20
20
|
});
|
|
21
21
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22
22
|
minVersion: "17.1.0",
|
|
23
|
-
version: "22.2.
|
|
23
|
+
version: "22.2.1",
|
|
24
24
|
type: Tab,
|
|
25
25
|
isStandalone: true,
|
|
26
26
|
selector: "gbt-tab",
|
|
@@ -47,7 +47,7 @@ var Tab = class Tab {
|
|
|
47
47
|
};
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({
|
|
49
49
|
minVersion: "12.0.0",
|
|
50
|
-
version: "22.2.
|
|
50
|
+
version: "22.2.1",
|
|
51
51
|
ngImport: i0,
|
|
52
52
|
type: Tab,
|
|
53
53
|
decorators: [{
|
|
@@ -112,7 +112,7 @@ var Tabs = class Tabs {
|
|
|
112
112
|
}
|
|
113
113
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
114
114
|
minVersion: "12.0.0",
|
|
115
|
-
version: "22.2.
|
|
115
|
+
version: "22.2.1",
|
|
116
116
|
ngImport: i0,
|
|
117
117
|
type: Tabs,
|
|
118
118
|
deps: [],
|
|
@@ -120,7 +120,7 @@ var Tabs = class Tabs {
|
|
|
120
120
|
});
|
|
121
121
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
122
122
|
minVersion: "17.0.0",
|
|
123
|
-
version: "22.2.
|
|
123
|
+
version: "22.2.1",
|
|
124
124
|
type: Tabs,
|
|
125
125
|
isStandalone: true,
|
|
126
126
|
selector: "gbt-tabs",
|
|
@@ -160,7 +160,7 @@ var Tabs = class Tabs {
|
|
|
160
160
|
};
|
|
161
161
|
i0.ɵɵngDeclareClassMetadata({
|
|
162
162
|
minVersion: "12.0.0",
|
|
163
|
-
version: "22.2.
|
|
163
|
+
version: "22.2.1",
|
|
164
164
|
ngImport: i0,
|
|
165
165
|
type: Tabs,
|
|
166
166
|
decorators: [{
|
|
@@ -76,7 +76,7 @@ var TagInput = class TagInput {
|
|
|
76
76
|
}
|
|
77
77
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
78
78
|
minVersion: "12.0.0",
|
|
79
|
-
version: "22.2.
|
|
79
|
+
version: "22.2.1",
|
|
80
80
|
ngImport: i0,
|
|
81
81
|
type: TagInput,
|
|
82
82
|
deps: [],
|
|
@@ -84,7 +84,7 @@ var TagInput = class TagInput {
|
|
|
84
84
|
});
|
|
85
85
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
86
86
|
minVersion: "17.0.0",
|
|
87
|
-
version: "22.2.
|
|
87
|
+
version: "22.2.1",
|
|
88
88
|
type: TagInput,
|
|
89
89
|
isStandalone: true,
|
|
90
90
|
selector: "gbt-tag-input",
|
|
@@ -185,7 +185,7 @@ var TagInput = class TagInput {
|
|
|
185
185
|
};
|
|
186
186
|
i0.ɵɵngDeclareClassMetadata({
|
|
187
187
|
minVersion: "12.0.0",
|
|
188
|
-
version: "22.2.
|
|
188
|
+
version: "22.2.1",
|
|
189
189
|
ngImport: i0,
|
|
190
190
|
type: TagInput,
|
|
191
191
|
decorators: [{
|
|
@@ -40,7 +40,7 @@ var Tag = class Tag {
|
|
|
40
40
|
}
|
|
41
41
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
42
42
|
minVersion: "12.0.0",
|
|
43
|
-
version: "22.2.
|
|
43
|
+
version: "22.2.1",
|
|
44
44
|
ngImport: i0,
|
|
45
45
|
type: Tag,
|
|
46
46
|
deps: [],
|
|
@@ -48,7 +48,7 @@ var Tag = class Tag {
|
|
|
48
48
|
});
|
|
49
49
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
50
50
|
minVersion: "17.0.0",
|
|
51
|
-
version: "22.2.
|
|
51
|
+
version: "22.2.1",
|
|
52
52
|
type: Tag,
|
|
53
53
|
isStandalone: true,
|
|
54
54
|
selector: "gbt-tag",
|
|
@@ -97,7 +97,7 @@ var Tag = class Tag {
|
|
|
97
97
|
};
|
|
98
98
|
i0.ɵɵngDeclareClassMetadata({
|
|
99
99
|
minVersion: "12.0.0",
|
|
100
|
-
version: "22.2.
|
|
100
|
+
version: "22.2.1",
|
|
101
101
|
ngImport: i0,
|
|
102
102
|
type: Tag,
|
|
103
103
|
decorators: [{
|
|
@@ -103,7 +103,7 @@ var Textarea = class Textarea {
|
|
|
103
103
|
}
|
|
104
104
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
105
105
|
minVersion: "12.0.0",
|
|
106
|
-
version: "22.2.
|
|
106
|
+
version: "22.2.1",
|
|
107
107
|
ngImport: i0,
|
|
108
108
|
type: Textarea,
|
|
109
109
|
deps: [],
|
|
@@ -111,7 +111,7 @@ var Textarea = class Textarea {
|
|
|
111
111
|
});
|
|
112
112
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
113
113
|
minVersion: "17.0.0",
|
|
114
|
-
version: "22.2.
|
|
114
|
+
version: "22.2.1",
|
|
115
115
|
type: Textarea,
|
|
116
116
|
isStandalone: true,
|
|
117
117
|
selector: "gbt-textarea",
|
|
@@ -229,7 +229,7 @@ var Textarea = class Textarea {
|
|
|
229
229
|
};
|
|
230
230
|
i0.ɵɵngDeclareClassMetadata({
|
|
231
231
|
minVersion: "12.0.0",
|
|
232
|
-
version: "22.2.
|
|
232
|
+
version: "22.2.1",
|
|
233
233
|
ngImport: i0,
|
|
234
234
|
type: Textarea,
|
|
235
235
|
decorators: [{
|
|
@@ -56,7 +56,7 @@ var TimelineSeries = class TimelineSeries {
|
|
|
56
56
|
}, ...ngDevMode ? [{ debugName: "bands" }] : /* istanbul ignore next */ []);
|
|
57
57
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
58
58
|
minVersion: "12.0.0",
|
|
59
|
-
version: "22.2.
|
|
59
|
+
version: "22.2.1",
|
|
60
60
|
ngImport: i0,
|
|
61
61
|
type: TimelineSeries,
|
|
62
62
|
deps: [],
|
|
@@ -64,7 +64,7 @@ var TimelineSeries = class TimelineSeries {
|
|
|
64
64
|
});
|
|
65
65
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
66
66
|
minVersion: "17.0.0",
|
|
67
|
-
version: "22.2.
|
|
67
|
+
version: "22.2.1",
|
|
68
68
|
type: TimelineSeries,
|
|
69
69
|
isStandalone: true,
|
|
70
70
|
selector: "g[gbtTimelineSeries]",
|
|
@@ -93,7 +93,7 @@ var TimelineSeries = class TimelineSeries {
|
|
|
93
93
|
};
|
|
94
94
|
i0.ɵɵngDeclareClassMetadata({
|
|
95
95
|
minVersion: "12.0.0",
|
|
96
|
-
version: "22.2.
|
|
96
|
+
version: "22.2.1",
|
|
97
97
|
ngImport: i0,
|
|
98
98
|
type: TimelineSeries,
|
|
99
99
|
decorators: [{
|
|
@@ -184,7 +184,7 @@ var TimelineChart = class TimelineChart {
|
|
|
184
184
|
}
|
|
185
185
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
186
186
|
minVersion: "12.0.0",
|
|
187
|
-
version: "22.2.
|
|
187
|
+
version: "22.2.1",
|
|
188
188
|
ngImport: i0,
|
|
189
189
|
type: TimelineChart,
|
|
190
190
|
deps: [],
|
|
@@ -192,7 +192,7 @@ var TimelineChart = class TimelineChart {
|
|
|
192
192
|
});
|
|
193
193
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
194
194
|
minVersion: "17.0.0",
|
|
195
|
-
version: "22.2.
|
|
195
|
+
version: "22.2.1",
|
|
196
196
|
type: TimelineChart,
|
|
197
197
|
isStandalone: true,
|
|
198
198
|
selector: "gbt-timeline-chart",
|
|
@@ -372,7 +372,7 @@ var TimelineChart = class TimelineChart {
|
|
|
372
372
|
};
|
|
373
373
|
i0.ɵɵngDeclareClassMetadata({
|
|
374
374
|
minVersion: "12.0.0",
|
|
375
|
-
version: "22.2.
|
|
375
|
+
version: "22.2.1",
|
|
376
376
|
ngImport: i0,
|
|
377
377
|
type: TimelineChart,
|
|
378
378
|
decorators: [{
|
|
@@ -43,7 +43,7 @@ var GbtToastService = class GbtToastService {
|
|
|
43
43
|
}
|
|
44
44
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
45
45
|
minVersion: "12.0.0",
|
|
46
|
-
version: "22.2.
|
|
46
|
+
version: "22.2.1",
|
|
47
47
|
ngImport: i0,
|
|
48
48
|
type: GbtToastService,
|
|
49
49
|
deps: [],
|
|
@@ -51,7 +51,7 @@ var GbtToastService = class GbtToastService {
|
|
|
51
51
|
});
|
|
52
52
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
53
53
|
minVersion: "12.0.0",
|
|
54
|
-
version: "22.2.
|
|
54
|
+
version: "22.2.1",
|
|
55
55
|
ngImport: i0,
|
|
56
56
|
type: GbtToastService,
|
|
57
57
|
providedIn: "root"
|
|
@@ -59,7 +59,7 @@ var GbtToastService = class GbtToastService {
|
|
|
59
59
|
};
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({
|
|
61
61
|
minVersion: "12.0.0",
|
|
62
|
-
version: "22.2.
|
|
62
|
+
version: "22.2.1",
|
|
63
63
|
ngImport: i0,
|
|
64
64
|
type: GbtToastService,
|
|
65
65
|
decorators: [{
|
|
@@ -119,7 +119,7 @@ var Toaster = class Toaster {
|
|
|
119
119
|
}
|
|
120
120
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
121
121
|
minVersion: "12.0.0",
|
|
122
|
-
version: "22.2.
|
|
122
|
+
version: "22.2.1",
|
|
123
123
|
ngImport: i0,
|
|
124
124
|
type: Toaster,
|
|
125
125
|
deps: [],
|
|
@@ -127,7 +127,7 @@ var Toaster = class Toaster {
|
|
|
127
127
|
});
|
|
128
128
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
129
129
|
minVersion: "17.0.0",
|
|
130
|
-
version: "22.2.
|
|
130
|
+
version: "22.2.1",
|
|
131
131
|
type: Toaster,
|
|
132
132
|
isStandalone: true,
|
|
133
133
|
selector: "gbt-toaster",
|
|
@@ -169,7 +169,7 @@ var Toaster = class Toaster {
|
|
|
169
169
|
};
|
|
170
170
|
i0.ɵɵngDeclareClassMetadata({
|
|
171
171
|
minVersion: "12.0.0",
|
|
172
|
-
version: "22.2.
|
|
172
|
+
version: "22.2.1",
|
|
173
173
|
ngImport: i0,
|
|
174
174
|
type: Toaster,
|
|
175
175
|
decorators: [{
|