@gettrx/core-components-angular 1.0.68 → 1.1.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.
Files changed (84) hide show
  1. package/esm2022/lib/atoms/badge/gtr-badge.component.mjs +3 -3
  2. package/esm2022/lib/atoms/button/gtr-button.component.mjs +3 -3
  3. package/esm2022/lib/atoms/button-directive/gtr-button-close.directive.mjs +3 -3
  4. package/esm2022/lib/atoms/button-directive/gtr-button.directive.mjs +3 -3
  5. package/esm2022/lib/atoms/display-value/gtr-display-value.component.mjs +3 -3
  6. package/esm2022/lib/atoms/icon/gtr-icon.component.mjs +3 -3
  7. package/esm2022/lib/atoms/input/gtr-input.component.mjs +3 -3
  8. package/esm2022/lib/atoms/popover/gtr-popover.component.mjs +3 -3
  9. package/esm2022/lib/atoms/radio-button/gtr-radio-button.component.mjs +3 -3
  10. package/esm2022/lib/atoms/skeleton/gtr-skeleton.component.mjs +3 -3
  11. package/esm2022/lib/atoms/skeleton/utils/gtr-skeleton.directive.mjs +3 -3
  12. package/esm2022/lib/atoms/switch/gtr-switch.component.mjs +3 -3
  13. package/esm2022/lib/atoms/textarea/gtr-textarea.component.mjs +3 -3
  14. package/esm2022/lib/atoms/toaster/gtr-toaster.component.mjs +3 -3
  15. package/esm2022/lib/atoms/toaster/services/gtr-toaster.service.mjs +3 -3
  16. package/esm2022/lib/atoms/tooltip/gtr-tooltip.component.mjs +3 -3
  17. package/esm2022/lib/directives/autosize/autosize.directive.mjs +3 -3
  18. package/esm2022/lib/molecules/accordion/accordion/gtr-accordion.component.mjs +3 -3
  19. package/esm2022/lib/molecules/accordion/accordion-wrapper/gtr-accordion-wrapper.component.mjs +3 -3
  20. package/esm2022/lib/molecules/calendar/calendar/gtr-calendar-class-view.pipe.mjs +3 -3
  21. package/esm2022/lib/molecules/calendar/calendar/gtr-calendar.component.mjs +3 -3
  22. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-day.pipe.mjs +3 -3
  23. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-month.pipe.mjs +3 -3
  24. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-class-year.pipe.mjs +3 -3
  25. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day-title.pipe.mjs +3 -3
  26. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.directive.mjs +3 -3
  27. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-day.pipe.mjs +3 -3
  28. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month-title.pipe.mjs +3 -3
  29. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.component.mjs +3 -3
  30. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-month.pipe.mjs +3 -3
  31. package/esm2022/lib/molecules/calendar/calendar-month/gtr-calendar-weekday.pipe.mjs +3 -3
  32. package/esm2022/lib/molecules/calendar/calendar-navigation/gtr-calendar-navigation.component.mjs +3 -3
  33. package/esm2022/lib/molecules/calendar/gtr-calendar.service.mjs +3 -3
  34. package/esm2022/lib/molecules/checkbox/checkbox/gtr-checkbox.component.mjs +3 -3
  35. package/esm2022/lib/molecules/date-picker/gtr-date-picker.component.mjs +3 -3
  36. package/esm2022/lib/molecules/date-range-picker/date-range-picker/gtr-custom-range-key.pipe.mjs +3 -3
  37. package/esm2022/lib/molecules/date-range-picker/date-range-picker/gtr-date-range-picker.component.mjs +3 -3
  38. package/esm2022/lib/molecules/dropdown/dropdown/gtr-dropdown.component.mjs +6 -6
  39. package/esm2022/lib/molecules/dropdown/dropdown-close/gtr-dropdown-close.directive.mjs +3 -3
  40. package/esm2022/lib/molecules/dropdown/dropdown-divider/gtr-dropdown-divider.directive.mjs +3 -3
  41. package/esm2022/lib/molecules/dropdown/dropdown-header/gtr-dropdown-header.directive.mjs +3 -3
  42. package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item-plain.directive.mjs +3 -3
  43. package/esm2022/lib/molecules/dropdown/dropdown-item/gtr-dropdown-item.directive.mjs +3 -3
  44. package/esm2022/lib/molecules/dropdown/dropdown-menu/gtr-dropdown-menu.directive.mjs +3 -3
  45. package/esm2022/lib/molecules/dropdown/gtr-dropdown.service.mjs +3 -3
  46. package/esm2022/lib/molecules/file-input/file-input/gtr-file-input.component.mjs +3 -3
  47. package/esm2022/lib/molecules/form/form/gtr-form.directive.mjs +3 -3
  48. package/esm2022/lib/molecules/form/form-check/gtr-form-check-input.directive.mjs +3 -3
  49. package/esm2022/lib/molecules/form/form-check/gtr-form-check-label.directive.mjs +3 -3
  50. package/esm2022/lib/molecules/form/form-check/gtr-form-check.component.mjs +3 -3
  51. package/esm2022/lib/molecules/form/form-control/gtr-form-control.directive.mjs +3 -3
  52. package/esm2022/lib/molecules/form/form-feedback/gtr-form-feedback.component.mjs +3 -3
  53. package/esm2022/lib/molecules/form/form-floating/gtr-form-floating.directive.mjs +3 -3
  54. package/esm2022/lib/molecules/form/form-label/gtr-form-label.directive.mjs +3 -3
  55. package/esm2022/lib/molecules/form/form-select/gtr-form-select.directive.mjs +3 -3
  56. package/esm2022/lib/molecules/form/form-text/gtr-form-text.directive.mjs +3 -3
  57. package/esm2022/lib/molecules/form/input-group/gtr-input-group.component.mjs +3 -3
  58. package/esm2022/lib/molecules/form/input-group-text/gtr-input-group-text.directive.mjs +3 -3
  59. package/esm2022/lib/molecules/input-color/gtr-input-color.component.mjs +3 -3
  60. package/esm2022/lib/molecules/modal/gtr-modal.component.mjs +3 -3
  61. package/esm2022/lib/molecules/numeric-counter/numeric-counter/gtr-numeric-counter.component.mjs +3 -3
  62. package/esm2022/lib/molecules/pagination/helpers/pipes/validate-page/gtr-validate-page.pipe.mjs +3 -3
  63. package/esm2022/lib/molecules/pagination/pagination/gtr-pagination.component.mjs +3 -3
  64. package/esm2022/lib/molecules/select/helpers/pipes/format-selected-value/gtr-format-selected-value.pipe.mjs +3 -3
  65. package/esm2022/lib/molecules/select/helpers/pipes/trim-text/gtr-trim-text.pipe.mjs +3 -3
  66. package/esm2022/lib/molecules/select/select/gtr-select.component.mjs +3 -3
  67. package/esm2022/lib/molecules/shared/gtr-html-attr.directive.mjs +3 -3
  68. package/esm2022/lib/molecules/shared/gtr-template-id.directive.mjs +3 -3
  69. package/esm2022/lib/molecules/stat-card/gtr-stat-card.component.mjs +3 -3
  70. package/esm2022/lib/molecules/table/dynamic-component.directive.mjs +3 -3
  71. package/esm2022/lib/molecules/table/dynamic-host.directive.mjs +3 -3
  72. package/esm2022/lib/molecules/table/gtr-create-component.pipe.mjs +3 -3
  73. package/esm2022/lib/molecules/table/gtr-fetch-attribute.pipe.mjs +3 -3
  74. package/esm2022/lib/molecules/table/gtr-table.component.mjs +3 -3
  75. package/esm2022/lib/molecules/table/table-main/gtr-table-main.component.mjs +3 -3
  76. package/esm2022/lib/molecules/table/table-responsive/gtr-table-responsive.component.mjs +3 -3
  77. package/esm2022/lib/molecules/tabs/tab/gtr-tab.component.mjs +3 -3
  78. package/esm2022/lib/molecules/tabs/tabs-wrapper/gtr-tabs-wrapper.component.mjs +3 -3
  79. package/esm2022/lib/molecules/time-picker/gtr-time-picker.component.mjs +3 -3
  80. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-am-pm.component.mjs +6 -6
  81. package/esm2022/lib/molecules/time-picker/time-picker-roll-col/gtr-time-picker-roll-col.component.mjs +6 -6
  82. package/fesm2022/gettrx-core-components-angular.mjs +252 -252
  83. package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
  84. package/package.json +3 -3
@@ -80,10 +80,10 @@ export class GtrStatCardComponent {
80
80
  this.dateSelectedChange.emit(date);
81
81
  this.closeDateSelect();
82
82
  }
83
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrStatCardComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
84
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrStatCardComponent, isStandalone: true, selector: "gtr-stat-card", inputs: { showSkeletonLoading: "showSkeletonLoading", title: "title", displayValue: "displayValue", value: "value", iconName: "iconName", isDangerCard: ["isDangerCard", "isDangerCard", booleanAttribute], enabledPercentage: ["enabledPercentage", "enabledPercentage", booleanAttribute], percentage: "percentage", isPercentageTrendUp: ["isPercentageTrendUp", "isPercentageTrendUp", booleanAttribute], statsCardId: "statsCardId", dataTransactionName: "dataTransactionName", enabledDateSelect: ["enabledDateSelect", "enabledDateSelect", booleanAttribute], dateOptions: "dateOptions", dateSelected: "dateSelected" }, outputs: { dateSelectedChange: "dateSelectedChange" }, viewQueries: [{ propertyName: "iconContainer", first: true, predicate: ["iconContainer"], descendants: true }, { propertyName: "labelContainer", first: true, predicate: ["labelContainer"], descendants: true }, { propertyName: "dateSelectWrapper", first: true, predicate: ["dateSelectWrapper"], descendants: true }, { propertyName: "dateSelectOptions", first: true, predicate: ["DateSelectOptions"], descendants: true }], ngImport: i0, template: "<div class=\"gtr-stats-card\" [id]=\"statsCardId\" [attr.data-testid]=\"statsCardId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card'\">\n <div class=\"gtr-stats-card-header\">\n <div class=\"gtr-stats-card-title-wrapper\">\n <h3 class=\"gtr-stats-card-title\" [id]=\"statsCardId+'-title'\"\n [attr.data-testid]=\"statsCardId+'-title'\">{{ title }}</h3>\n </div>\n </div>\n\n <div class=\"gtr-stats-card-content\">\n <div [id]=\"statsCardId+'-content-icon'\" [attr.data-testid]=\"statsCardId+'-content-icon'\"\n class=\"gtr-stats-card-icon-wrapper gtr-stats-card-icon-{{isDangerCard ? 'danger' : 'success'}}\">\n <gtr-icon [name]=\"iconName\" [size]=\"18\">\n </gtr-icon>\n </div>\n <div class=\"gtr-stats-card-value\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '20px'; width: '100px'\">\n <h2 class=\"gtr-stats-card-value-label\">\n <span [title]=\"displayValue\" [id]=\"statsCardId+'-content-label'\"\n [attr.data-testid]=\"statsCardId+'-content-label'\">{{ value }}</span>\n </h2>\n </ng-container>\n </div>\n </div>\n @if (enabledPercentage || enabledDateSelect) {\n <div class=\"gtr-stats-card-footer\" [class.content-right]=\"!enabledDateSelect && enabledPercentage\">\n @if (enabledDateSelect) {\n <div class=\"gtr-stats-card-date\" [id]=\"statsCardId+'-date'\" [attr.data-testid]=\"statsCardId+'-date'\">\n\n <div class=\"gtr-stats-card-date-select\" #dateSelectWrapper [id]=\"statsCardId+'-date-select'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-select'\"\n [attr.data-testid]=\"statsCardId+'-date-select'\" (click)=\"openDateSelect()\">\n <span class=\"gtr-stats-card-date-select-label\" [id]=\"statsCardId+'-date-select-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option-label'\"\n [attr.data-testid]=\"statsCardId+'-date-select-label'\" #labelContainer>{{ dateSelected }}</span>\n <gtr-icon #iconContainer class=\"gtr-stats-card-date-select-icon\" name=\"chevron-down\" [size]=\"12\"></gtr-icon>\n </div>\n\n <div class=\"gtr-stats-card-date-options-wrapper\" [id]=\"statsCardId+'-date-options-wrapper'\"\n [attr.data-testid]=\"statsCardId+'-date-options-wrapper'\" tabindex=\"0\" #DateSelectOptions>\n @for (date of dateOptions; track date) {\n <span class=\"gtr-stats-card-date-options-value\" [id]=\"statsCardId+'-date-options-value'\"\n [attr.data-testid]=\"statsCardId+'-date-options-value'\" (click)=\"dateSelectedChangeEvent(date)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option'\"\n [class.active]=\"dateSelected === date\">{{ date }}\n </span>\n }\n </div>\n\n </div>\n }\n\n @if (enabledPercentage) {\n <span class=\"gtr-stats-card-percentage\" [id]=\"statsCardId+'-percentage'\"\n [attr.data-testid]=\"statsCardId+'-percentage'\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '14px'; width: '48px'\">\n <span class=\"gtr-stats-card-percentage-label\" [id]=\"statsCardId+'-percentage-label'\"\n [attr.data-testid]=\"statsCardId+'-percentage-label'\">\n {{ percentage }}%\n </span>\n <gtr-icon [id]=\"statsCardId+'-percentage-icon'\" [attr.data-testid]=\"statsCardId+'-percentage-icon'\"\n [name]=\"isPercentageTrendUp ?\n 'trending-up' :\n 'trending-down'\" [color]=\"isPercentageTrendUp ?\n 'var(--gtr-color-base-success-base)' :\n 'var(--gtr-color-base-danger-base)'\" [size]=\"14\"></gtr-icon>\n </ng-container>\n </span>\n }\n </div>\n }\n</div>\n", styles: [":root{--gray-shades-10: rgba(0, 0, 0, .1);--gtr-color-base-black-20: rgba(0, 0, 0, .2)}.gtr-stats-card{border-radius:6px;border:1px solid var(--gray-shades-10, rgba(0, 0, 0, .1));border-bottom:2px solid var(--secondary-color);background:#fff;padding:16px;height:100%;position:relative;display:flex;flex-direction:column;gap:14px}.gtr-stats-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.gtr-stats-card-title{color:#6e6b7b;font-size:13px;font-style:normal;font-weight:400;line-height:18px;margin:0}.gtr-stats-card-date{position:relative}.gtr-stats-card-date-select{cursor:pointer;display:flex;gap:4px}.gtr-stats-card-date-select-label{color:var(--gtr-color-base-primary-100);font-size:11px;font-style:normal;font-weight:600;line-height:11px}.gtr-stats-card-date-select-icon{color:var(--light-typography-color-muted-text, #4B465C)}.gtr-stats-card-date-options-wrapper{position:absolute;right:0;z-index:99;border-radius:6px;background:var(--light-solid-color-extra-card-background, #FFF);box-shadow:0 10px 20px #a5a3ae66;padding:8px;width:220px;display:none;flex-direction:column;gap:4px}.gtr-stats-card-date-options-wrapper.open{display:flex}.gtr-stats-card-date-options-value{color:var(--light-typography-color-heading-text, #4B465C);font-size:15px;font-style:normal;font-weight:400;line-height:22px;border-radius:6px;cursor:pointer;display:block;padding:8px 16px;transition:all ease-in-out .2s}.gtr-stats-card-date-options-value:hover{background:var(--gtr-color-base-primary-5);color:var(--gtr-color-base-primary-base)}.gtr-stats-card-date-options-value.active{background-color:var(--gtr-color-base-primary-base);color:#fff}.gtr-stats-card-content{display:flex;gap:16px;align-items:center}.gtr-stats-card-icon-wrapper{width:48px;height:48px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center}.gtr-stats-card-icon-success{background-color:var(--gtr-color-base-success-10);color:var(--gtr-color-base-success-base)}.gtr-stats-card-icon-danger{background-color:#0000000d;color:#4c465d80}.gtr-stats-card-value-label{color:var(--gray-shades-80, rgba(0, 0, 0, .8));font-size:24px;font-style:normal;font-weight:600;line-height:normal;margin:0}.gtr-stats-card-footer{width:100%;display:flex;gap:16px;justify-content:space-between;align-items:center}.gtr-stats-card-footer.content-right{justify-content:flex-end}.gtr-stats-card-percentage{display:inline-flex;align-items:center;gap:4px}.gtr-stats-card-percentage-label{color:var(-gtr-color-base-primary-100);font-size:14px;font-style:normal;font-weight:600;line-height:12px}@media screen and (max-width: 980px){.gtr-stats-card-value-label{font-size:14px}}\n"], dependencies: [{ kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }] }); }
83
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrStatCardComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
84
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrStatCardComponent, isStandalone: true, selector: "gtr-stat-card", inputs: { showSkeletonLoading: "showSkeletonLoading", title: "title", displayValue: "displayValue", value: "value", iconName: "iconName", isDangerCard: ["isDangerCard", "isDangerCard", booleanAttribute], enabledPercentage: ["enabledPercentage", "enabledPercentage", booleanAttribute], percentage: "percentage", isPercentageTrendUp: ["isPercentageTrendUp", "isPercentageTrendUp", booleanAttribute], statsCardId: "statsCardId", dataTransactionName: "dataTransactionName", enabledDateSelect: ["enabledDateSelect", "enabledDateSelect", booleanAttribute], dateOptions: "dateOptions", dateSelected: "dateSelected" }, outputs: { dateSelectedChange: "dateSelectedChange" }, viewQueries: [{ propertyName: "iconContainer", first: true, predicate: ["iconContainer"], descendants: true }, { propertyName: "labelContainer", first: true, predicate: ["labelContainer"], descendants: true }, { propertyName: "dateSelectWrapper", first: true, predicate: ["dateSelectWrapper"], descendants: true }, { propertyName: "dateSelectOptions", first: true, predicate: ["DateSelectOptions"], descendants: true }], ngImport: i0, template: "<div class=\"gtr-stats-card\" [id]=\"statsCardId\" [attr.data-testid]=\"statsCardId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card'\">\n <div class=\"gtr-stats-card-header\">\n <div class=\"gtr-stats-card-title-wrapper\">\n <h3 class=\"gtr-stats-card-title\" [id]=\"statsCardId+'-title'\"\n [attr.data-testid]=\"statsCardId+'-title'\">{{ title }}</h3>\n </div>\n </div>\n\n <div class=\"gtr-stats-card-content\">\n <div [id]=\"statsCardId+'-content-icon'\" [attr.data-testid]=\"statsCardId+'-content-icon'\"\n class=\"gtr-stats-card-icon-wrapper gtr-stats-card-icon-{{isDangerCard ? 'danger' : 'success'}}\">\n <gtr-icon [name]=\"iconName\" [size]=\"18\">\n </gtr-icon>\n </div>\n <div class=\"gtr-stats-card-value\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '20px'; width: '100px'\">\n <h2 class=\"gtr-stats-card-value-label\">\n <span [title]=\"displayValue\" [id]=\"statsCardId+'-content-label'\"\n [attr.data-testid]=\"statsCardId+'-content-label'\">{{ value }}</span>\n </h2>\n </ng-container>\n </div>\n </div>\n @if (enabledPercentage || enabledDateSelect) {\n <div class=\"gtr-stats-card-footer\" [class.content-right]=\"!enabledDateSelect && enabledPercentage\">\n @if (enabledDateSelect) {\n <div class=\"gtr-stats-card-date\" [id]=\"statsCardId+'-date'\" [attr.data-testid]=\"statsCardId+'-date'\">\n\n <div class=\"gtr-stats-card-date-select\" #dateSelectWrapper [id]=\"statsCardId+'-date-select'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-select'\"\n [attr.data-testid]=\"statsCardId+'-date-select'\" (click)=\"openDateSelect()\">\n <span class=\"gtr-stats-card-date-select-label\" [id]=\"statsCardId+'-date-select-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option-label'\"\n [attr.data-testid]=\"statsCardId+'-date-select-label'\" #labelContainer>{{ dateSelected }}</span>\n <gtr-icon #iconContainer class=\"gtr-stats-card-date-select-icon\" name=\"chevron-down\" [size]=\"12\"></gtr-icon>\n </div>\n\n <div class=\"gtr-stats-card-date-options-wrapper\" [id]=\"statsCardId+'-date-options-wrapper'\"\n [attr.data-testid]=\"statsCardId+'-date-options-wrapper'\" tabindex=\"0\" #DateSelectOptions>\n @for (date of dateOptions; track date) {\n <span class=\"gtr-stats-card-date-options-value\" [id]=\"statsCardId+'-date-options-value'\"\n [attr.data-testid]=\"statsCardId+'-date-options-value'\" (click)=\"dateSelectedChangeEvent(date)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option'\"\n [class.active]=\"dateSelected === date\">{{ date }}\n </span>\n }\n </div>\n\n </div>\n }\n\n @if (enabledPercentage) {\n <span class=\"gtr-stats-card-percentage\" [id]=\"statsCardId+'-percentage'\"\n [attr.data-testid]=\"statsCardId+'-percentage'\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '14px'; width: '48px'\">\n <span class=\"gtr-stats-card-percentage-label\" [id]=\"statsCardId+'-percentage-label'\"\n [attr.data-testid]=\"statsCardId+'-percentage-label'\">\n {{ percentage }}%\n </span>\n <gtr-icon [id]=\"statsCardId+'-percentage-icon'\" [attr.data-testid]=\"statsCardId+'-percentage-icon'\"\n [name]=\"isPercentageTrendUp ?\n 'trending-up' :\n 'trending-down'\" [color]=\"isPercentageTrendUp ?\n 'var(--gtr-color-base-success-base)' :\n 'var(--gtr-color-base-danger-base)'\" [size]=\"14\"></gtr-icon>\n </ng-container>\n </span>\n }\n </div>\n }\n</div>\n", styles: [":root{--gray-shades-10: rgba(0, 0, 0, .1);--gtr-color-base-black-20: rgba(0, 0, 0, .2)}.gtr-stats-card{border-radius:6px;border:1px solid var(--gray-shades-10, rgba(0, 0, 0, .1));border-bottom:2px solid var(--secondary-color);background:#fff;padding:16px;height:100%;position:relative;display:flex;flex-direction:column;gap:14px}.gtr-stats-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.gtr-stats-card-title{color:#6e6b7b;font-size:13px;font-style:normal;font-weight:400;line-height:18px;margin:0}.gtr-stats-card-date{position:relative}.gtr-stats-card-date-select{cursor:pointer;display:flex;gap:4px}.gtr-stats-card-date-select-label{color:var(--gtr-color-base-primary-100);font-size:11px;font-style:normal;font-weight:600;line-height:11px}.gtr-stats-card-date-select-icon{color:var(--light-typography-color-muted-text, #4B465C)}.gtr-stats-card-date-options-wrapper{position:absolute;right:0;z-index:99;border-radius:6px;background:var(--light-solid-color-extra-card-background, #FFF);box-shadow:0 10px 20px #a5a3ae66;padding:8px;width:220px;display:none;flex-direction:column;gap:4px}.gtr-stats-card-date-options-wrapper.open{display:flex}.gtr-stats-card-date-options-value{color:var(--light-typography-color-heading-text, #4B465C);font-size:15px;font-style:normal;font-weight:400;line-height:22px;border-radius:6px;cursor:pointer;display:block;padding:8px 16px;transition:all ease-in-out .2s}.gtr-stats-card-date-options-value:hover{background:var(--gtr-color-base-primary-5);color:var(--gtr-color-base-primary-base)}.gtr-stats-card-date-options-value.active{background-color:var(--gtr-color-base-primary-base);color:#fff}.gtr-stats-card-content{display:flex;gap:16px;align-items:center}.gtr-stats-card-icon-wrapper{width:48px;height:48px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center}.gtr-stats-card-icon-success{background-color:var(--gtr-color-base-success-10);color:var(--gtr-color-base-success-base)}.gtr-stats-card-icon-danger{background-color:#0000000d;color:#4c465d80}.gtr-stats-card-value-label{color:var(--gray-shades-80, rgba(0, 0, 0, .8));font-size:24px;font-style:normal;font-weight:600;line-height:normal;margin:0}.gtr-stats-card-footer{width:100%;display:flex;gap:16px;justify-content:space-between;align-items:center}.gtr-stats-card-footer.content-right{justify-content:flex-end}.gtr-stats-card-percentage{display:inline-flex;align-items:center;gap:4px}.gtr-stats-card-percentage-label{color:var(-gtr-color-base-primary-100);font-size:14px;font-style:normal;font-weight:600;line-height:12px}@media screen and (max-width: 980px){.gtr-stats-card-value-label{font-size:14px}}\n"], dependencies: [{ kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }] }); }
85
85
  }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrStatCardComponent, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrStatCardComponent, decorators: [{
87
87
  type: Component,
88
88
  args: [{ standalone: true, selector: 'gtr-stat-card', imports: [GtrIconComponent, GtrSkeletonDirective], template: "<div class=\"gtr-stats-card\" [id]=\"statsCardId\" [attr.data-testid]=\"statsCardId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card'\">\n <div class=\"gtr-stats-card-header\">\n <div class=\"gtr-stats-card-title-wrapper\">\n <h3 class=\"gtr-stats-card-title\" [id]=\"statsCardId+'-title'\"\n [attr.data-testid]=\"statsCardId+'-title'\">{{ title }}</h3>\n </div>\n </div>\n\n <div class=\"gtr-stats-card-content\">\n <div [id]=\"statsCardId+'-content-icon'\" [attr.data-testid]=\"statsCardId+'-content-icon'\"\n class=\"gtr-stats-card-icon-wrapper gtr-stats-card-icon-{{isDangerCard ? 'danger' : 'success'}}\">\n <gtr-icon [name]=\"iconName\" [size]=\"18\">\n </gtr-icon>\n </div>\n <div class=\"gtr-stats-card-value\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '20px'; width: '100px'\">\n <h2 class=\"gtr-stats-card-value-label\">\n <span [title]=\"displayValue\" [id]=\"statsCardId+'-content-label'\"\n [attr.data-testid]=\"statsCardId+'-content-label'\">{{ value }}</span>\n </h2>\n </ng-container>\n </div>\n </div>\n @if (enabledPercentage || enabledDateSelect) {\n <div class=\"gtr-stats-card-footer\" [class.content-right]=\"!enabledDateSelect && enabledPercentage\">\n @if (enabledDateSelect) {\n <div class=\"gtr-stats-card-date\" [id]=\"statsCardId+'-date'\" [attr.data-testid]=\"statsCardId+'-date'\">\n\n <div class=\"gtr-stats-card-date-select\" #dateSelectWrapper [id]=\"statsCardId+'-date-select'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-select'\"\n [attr.data-testid]=\"statsCardId+'-date-select'\" (click)=\"openDateSelect()\">\n <span class=\"gtr-stats-card-date-select-label\" [id]=\"statsCardId+'-date-select-label'\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option-label'\"\n [attr.data-testid]=\"statsCardId+'-date-select-label'\" #labelContainer>{{ dateSelected }}</span>\n <gtr-icon #iconContainer class=\"gtr-stats-card-date-select-icon\" name=\"chevron-down\" [size]=\"12\"></gtr-icon>\n </div>\n\n <div class=\"gtr-stats-card-date-options-wrapper\" [id]=\"statsCardId+'-date-options-wrapper'\"\n [attr.data-testid]=\"statsCardId+'-date-options-wrapper'\" tabindex=\"0\" #DateSelectOptions>\n @for (date of dateOptions; track date) {\n <span class=\"gtr-stats-card-date-options-value\" [id]=\"statsCardId+'-date-options-value'\"\n [attr.data-testid]=\"statsCardId+'-date-options-value'\" (click)=\"dateSelectedChangeEvent(date)\"\n [attr.data-transaction-name]=\"dataTransactionName + '-stat-card-date-option'\"\n [class.active]=\"dateSelected === date\">{{ date }}\n </span>\n }\n </div>\n\n </div>\n }\n\n @if (enabledPercentage) {\n <span class=\"gtr-stats-card-percentage\" [id]=\"statsCardId+'-percentage'\"\n [attr.data-testid]=\"statsCardId+'-percentage'\">\n <ng-container *skeleton=\"showSkeletonLoading; repeat: 1; height: '14px'; width: '48px'\">\n <span class=\"gtr-stats-card-percentage-label\" [id]=\"statsCardId+'-percentage-label'\"\n [attr.data-testid]=\"statsCardId+'-percentage-label'\">\n {{ percentage }}%\n </span>\n <gtr-icon [id]=\"statsCardId+'-percentage-icon'\" [attr.data-testid]=\"statsCardId+'-percentage-icon'\"\n [name]=\"isPercentageTrendUp ?\n 'trending-up' :\n 'trending-down'\" [color]=\"isPercentageTrendUp ?\n 'var(--gtr-color-base-success-base)' :\n 'var(--gtr-color-base-danger-base)'\" [size]=\"14\"></gtr-icon>\n </ng-container>\n </span>\n }\n </div>\n }\n</div>\n", styles: [":root{--gray-shades-10: rgba(0, 0, 0, .1);--gtr-color-base-black-20: rgba(0, 0, 0, .2)}.gtr-stats-card{border-radius:6px;border:1px solid var(--gray-shades-10, rgba(0, 0, 0, .1));border-bottom:2px solid var(--secondary-color);background:#fff;padding:16px;height:100%;position:relative;display:flex;flex-direction:column;gap:14px}.gtr-stats-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.gtr-stats-card-title{color:#6e6b7b;font-size:13px;font-style:normal;font-weight:400;line-height:18px;margin:0}.gtr-stats-card-date{position:relative}.gtr-stats-card-date-select{cursor:pointer;display:flex;gap:4px}.gtr-stats-card-date-select-label{color:var(--gtr-color-base-primary-100);font-size:11px;font-style:normal;font-weight:600;line-height:11px}.gtr-stats-card-date-select-icon{color:var(--light-typography-color-muted-text, #4B465C)}.gtr-stats-card-date-options-wrapper{position:absolute;right:0;z-index:99;border-radius:6px;background:var(--light-solid-color-extra-card-background, #FFF);box-shadow:0 10px 20px #a5a3ae66;padding:8px;width:220px;display:none;flex-direction:column;gap:4px}.gtr-stats-card-date-options-wrapper.open{display:flex}.gtr-stats-card-date-options-value{color:var(--light-typography-color-heading-text, #4B465C);font-size:15px;font-style:normal;font-weight:400;line-height:22px;border-radius:6px;cursor:pointer;display:block;padding:8px 16px;transition:all ease-in-out .2s}.gtr-stats-card-date-options-value:hover{background:var(--gtr-color-base-primary-5);color:var(--gtr-color-base-primary-base)}.gtr-stats-card-date-options-value.active{background-color:var(--gtr-color-base-primary-base);color:#fff}.gtr-stats-card-content{display:flex;gap:16px;align-items:center}.gtr-stats-card-icon-wrapper{width:48px;height:48px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center}.gtr-stats-card-icon-success{background-color:var(--gtr-color-base-success-10);color:var(--gtr-color-base-success-base)}.gtr-stats-card-icon-danger{background-color:#0000000d;color:#4c465d80}.gtr-stats-card-value-label{color:var(--gray-shades-80, rgba(0, 0, 0, .8));font-size:24px;font-style:normal;font-weight:600;line-height:normal;margin:0}.gtr-stats-card-footer{width:100%;display:flex;gap:16px;justify-content:space-between;align-items:center}.gtr-stats-card-footer.content-right{justify-content:flex-end}.gtr-stats-card-percentage{display:inline-flex;align-items:center;gap:4px}.gtr-stats-card-percentage-label{color:var(-gtr-color-base-primary-100);font-size:14px;font-style:normal;font-weight:600;line-height:12px}@media screen and (max-width: 980px){.gtr-stats-card-value-label{font-size:14px}}\n"] }]
89
89
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { iconContainer: [{
@@ -84,10 +84,10 @@ export class DynamicComponentDirective {
84
84
  this.closed$.next(''); // <-- close open subscriptions
85
85
  this.componentRef.destroy();
86
86
  }
87
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DynamicComponentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
88
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: DynamicComponentDirective, isStandalone: true, selector: "[appDynamicComponent]", inputs: { component: ["appDynamicComponent", "component"], isDestroy: "isDestroy" }, outputs: { eventEmitter: "eventEmitter" }, usesOnChanges: true, ngImport: i0 }); }
87
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicComponentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
88
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DynamicComponentDirective, isStandalone: true, selector: "[appDynamicComponent]", inputs: { component: ["appDynamicComponent", "component"], isDestroy: "isDestroy" }, outputs: { eventEmitter: "eventEmitter" }, usesOnChanges: true, ngImport: i0 }); }
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DynamicComponentDirective, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicComponentDirective, decorators: [{
91
91
  type: Directive,
92
92
  args: [{
93
93
  selector: '[appDynamicComponent]',
@@ -4,10 +4,10 @@ export class DynamicHostDirective {
4
4
  constructor(viewContainerRef) {
5
5
  this.viewContainerRef = viewContainerRef;
6
6
  }
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DynamicHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
8
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: DynamicHostDirective, isStandalone: true, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"], ngImport: i0 }); }
7
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
8
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: DynamicHostDirective, isStandalone: true, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"], ngImport: i0 }); }
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: DynamicHostDirective, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DynamicHostDirective, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  selector: '[appDynamicHost]',
@@ -78,10 +78,10 @@ export class GtrCreateComponentPipe {
78
78
  this.closed$.next(''); // <-- close open subscriptions
79
79
  this.componentRef?.destroy();
80
80
  }
81
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrCreateComponentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
82
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: GtrCreateComponentPipe, isStandalone: true, name: "gtrCreateComponent" }); }
81
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCreateComponentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
82
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrCreateComponentPipe, isStandalone: true, name: "gtrCreateComponent" }); }
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrCreateComponentPipe, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrCreateComponentPipe, decorators: [{
85
85
  type: Pipe,
86
86
  args: [{ name: 'gtrCreateComponent', standalone: true }]
87
87
  }], ctorParameters: () => [] });
@@ -11,10 +11,10 @@ export class GtrFetchAttributePipe {
11
11
  }
12
12
  return '';
13
13
  }
14
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrFetchAttributePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
- /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: GtrFetchAttributePipe, isStandalone: true, name: "gtrFetchAttribute" }); }
14
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFetchAttributePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
+ /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: GtrFetchAttributePipe, isStandalone: true, name: "gtrFetchAttribute" }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrFetchAttributePipe, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrFetchAttributePipe, decorators: [{
18
18
  type: Pipe,
19
19
  args: [{ name: 'gtrFetchAttribute', standalone: true }]
20
20
  }], ctorParameters: () => [] });
@@ -92,8 +92,8 @@ export class GtrTableComponent {
92
92
  this.onSort.emit(ev);
93
93
  }
94
94
  ngOnDestroy() { }
95
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
96
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTableComponent, isStandalone: true, selector: "gtr-table", inputs: { dataTransactionName: "dataTransactionName", isResponsive: "isResponsive", loading: "loading", enableSelection: "enableSelection", tableMainId: "tableMainId", tableResponsiveId: "tableResponsiveId", columns: "columns", data: "data" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
95
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
96
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTableComponent, isStandalone: true, selector: "gtr-table", inputs: { dataTransactionName: "dataTransactionName", isResponsive: "isResponsive", loading: "loading", enableSelection: "enableSelection", tableMainId: "tableMainId", tableResponsiveId: "tableResponsiveId", columns: "columns", data: "data" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
97
97
  {
98
98
  provide: NG_VALUE_ACCESSOR,
99
99
  useExisting: forwardRef((() => GtrTableComponent)),
@@ -101,7 +101,7 @@ export class GtrTableComponent {
101
101
  },
102
102
  ], exportAs: ["gtrTable"], ngImport: i0, template: "@if (switchState) {\n<gtr-table-responsive [id]=\"tableResponsiveId\" [attr.data-testid]=\"tableResponsiveId\" [isLoading]=\"loading\"\n (handleEvent)=\"fetchEvent($event)\" (onSelection)=\"this.selectionChange($event)\" (onAction)=\"this.actionDone($event)\"\n [data]=\"this.data\" [columns]=\"this.columns\" [enableSelection]=\"this.enableSelection\"\n [dataTransactionName]=\"dataTransactionName + '-table'\" />\n}\n@if (!switchState) {\n<gtr-table-main [id]=\"tableMainId\" [attr.data-testid]=\"tableMainId\" [isLoading]=\"loading\"\n (handleEvent)=\"fetchEvent($event)\" (onSelection)=\"this.selectionChange($event)\" (onAction)=\"this.actionDone($event)\"\n (onSort)=\"this.sorting($event)\" [data]=\"this.data\" [columns]=\"this.columns\"\n [dataTransactionName]=\"dataTransactionName + '-table'\" [enableSelection]=\"this.enableSelection\" />\n}\n", styles: [":host{background:#fff;padding:10px;display:block;overflow:auto;overflow-y:auto}:host::-webkit-scrollbar{height:7px;background-color:transparent!important;border-radius:15px!important}:host::-webkit-scrollbar-track{-webkit-box-shadow:none;border-radius:15px}:host::-webkit-scrollbar-thumb{border-radius:15px;-webkit-box-shadow:none;background:#eee}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: GtrTableResponsiveComponent, selector: "gtr-table-responsive", inputs: ["isLoading", "enableSelection", "columns", "data", "tableResponsiveId", "dataTransactionName"], outputs: ["onSelection", "onAction", "handleEvent", "onSort"], exportAs: ["gtrTableResponsive"] }, { kind: "component", type: GtrTableMainComponent, selector: "gtr-table-main", inputs: ["dataTransactionName", "enableSelection", "isLoading", "columns", "tableMainId", "data"], outputs: ["onSelection", "onAction", "handleEvent", "onSort"], exportAs: ["gtrTableMain"] }] }); }
103
103
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTableComponent, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableComponent, decorators: [{
105
105
  type: Component,
106
106
  args: [{ selector: 'gtr-table', exportAs: 'gtrTable', standalone: true, imports: [ReactiveFormsModule, GtrTableResponsiveComponent, GtrTableMainComponent], providers: [
107
107
  {
@@ -98,8 +98,8 @@ export class GtrTableMainComponent {
98
98
  this.onSelection.emit(dataToEmit);
99
99
  }
100
100
  ngOnDestroy() { }
101
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTableMainComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
102
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTableMainComponent, isStandalone: true, selector: "gtr-table-main", inputs: { dataTransactionName: "dataTransactionName", enableSelection: "enableSelection", isLoading: "isLoading", columns: "columns", tableMainId: "tableMainId", data: "data" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, providers: [
101
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableMainComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
102
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTableMainComponent, isStandalone: true, selector: "gtr-table-main", inputs: { dataTransactionName: "dataTransactionName", enableSelection: "enableSelection", isLoading: "isLoading", columns: "columns", tableMainId: "tableMainId", data: "data" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, providers: [
103
103
  GtrSkeletonDirective,
104
104
  {
105
105
  provide: NG_VALUE_ACCESSOR,
@@ -108,7 +108,7 @@ export class GtrTableMainComponent {
108
108
  },
109
109
  ], viewQueries: [{ propertyName: "dynamicHosts", predicate: DynamicHostDirective, descendants: true }, { propertyName: "templateRef", predicate: ["template"], descendants: true, read: ViewContainerRef }, { propertyName: "childRowRef", predicate: ["childRows"], descendants: true, read: ViewContainerRef }], exportAs: ["gtrTableMain"], ngImport: i0, template: "@if (data.length) {\n<table class='gtr-table' [id]=\"tableMainId\" [attr.data-testid]=\"tableMainId\"\n [attr.data-transaction-name]=\"dataTransactionName\">\n <thead [attr.data-transaction-name]=\"dataTransactionName+'--thead'\">\n @if (enableSelection) {\n <th>\n <gtr-checkbox [id]=\"tableMainId+'-row-select-all'\" [attr.data-testid]=\"tableMainId+'-row-select-all'\"\n [checked]=\"fectchSelection()\" [attr.data-transaction-name]=\"dataTransactionName+'--row-select-all'\"\n (selectionChanged)=\"this.selectAll($event)\" />\n </th>\n }\n\n @for (column of this.columns; track column; let colIndex = $index) {\n <th class={{column.align}} [class.hide]=\"column.hide\" [style.min-width]=\"column.styles?.min\"\n [attr.data-transaction-name]=\"dataTransactionName+'--column'\" [style.max-width]=\"column.styles?.max\">\n <div [class.gtr-header-label]='column.sorting.hasSorting' [class.split-heading]=\"column.wrap === 'SPLITHEADING'\">\n @switch (column | gtrFetchAttribute : 'headingType' : colIndex : columns) {\n @case ('innerHTML') {\n <span [innerHTML]=\"column.label\"></span>\n }\n @default {\n {{ column.label }}\n }\n }\n </div>\n @if (column.sorting.hasSorting) {\n <span class=\"gtr-header-sorting-wrapper\" [attr.data-transaction-name]=\"dataTransactionName+'--col-sort'\">\n <a class=\"gtr-sorting-arrow-up\" [id]=\"tableMainId+'-col-sort-up-'+ colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-sort-up-'+ colIndex\" [class.active]=\"column.sorting.sort===1\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-sort-up'+ colIndex\"\n (click)=\"onSorting(1, column)\"></a>\n <a class=\"gtr-sorting-arrow-down\" [id]=\"tableMainId+'-col-sort-down-'+ colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-sort-down-'+ colIndex\" [class.active]=\"column.sorting.sort=== -1\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-sort-down'+ colIndex\"\n (click)=\"this.onSorting(-1, column)\"></a>\n </span>\n }\n </th>\n }\n </thead>\n <tbody [attr.data-transaction-name]=\"dataTransactionName+'--tbody'\">\n @for (row of data; track row; let rowIndex = $index) {\n <tr [attr.data-transaction-name]=\"dataTransactionName+'--row-' + rowIndex\">\n @if (enableSelection) {\n <td [attr.data-transaction-name]=\"dataTransactionName+'--column-selection'\" class=\"col-selectionSS\">\n <ng-container *skeleton=\"isLoading;\n repeat: 1;\n className: '';\n height: '20px';\n width: '20px'\">\n <ng-container [ngTemplateOutletContext]=\"{row: row}\" [ngTemplateOutlet]=\"gtrCheckbox\"></ng-container>\n </ng-container>\n </td>\n }\n @for (column of row.columnsData; track column; let colIndex = $index) {\n <td [attr.data-transaction-name]=\"dataTransactionName+'--column-' + colIndex\" [class.hide]=\"column.hide\"\n [class]=\"column | gtrFetchAttribute : 'align' : colIndex : columns\"\n [style.color]=\"column | gtrFetchAttribute : 'color' : colIndex : columns\">\n <div [class.gtr-data-label]=\"this.columns[colIndex].sorting.hasSorting\">\n @switch (column | gtrFetchAttribute : 'type' : colIndex : columns) {\n @case ('status') {\n <div [id]=\"tableMainId+'-col-status-'+rowIndex+'-'+colIndex\" class=\"col-status\"\n [attr.data-testid]=\"tableMainId+'-col-status-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"statusColumn\"\n [ngTemplateOutletContext]=\"{columnAttributes: column, index: colIndex, data: column.value}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('innerHTML') {\n <div [id]=\"tableMainId+'-col-innerHTML-'+rowIndex+'-'+colIndex\" class=\"col-innerHtml\"\n [attr.data-testid]=\"tableMainId+'-col-innerHTML-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"innerHTMLColumn\"\n [ngTemplateOutletContext]=\"{data: column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('link') {\n <div class=\"col-link\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"linkColumn\"\n [ngTemplateOutletContext]=\"{data: column, index: colIndex, row: row}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('component') {\n <div class=\"col-component\" [id]=\"tableMainId+'-col-component-'+rowIndex+'-'+colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-component-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-template [appDynamicHost] #vc=\"appDynamicHost\"></ng-template>\n <ng-container [appDynamicComponent]=\"{componentData: column.value, hosts: dynamicHosts}\"\n (eventEmitter)=\"fetchEvent($event, row['id'])\"></ng-container>\n </ng-container>\n </div>\n }\n @case ('actions') {\n <div class=\"overflow-auto\" class=\"col-actions\" [id]=\"tableMainId+'-col-actions-'+rowIndex+'-'+colIndex\"\n [attr.data-testid]=\"tableMainId+'-col-actions-'+rowIndex+'-'+colIndex\"\n [attr.data-transaction-name]=\"dataTransactionName+'-col-actions-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"actionMenu\"\n [ngTemplateOutletContext]=\"{row: row, column: column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @default {\n <div [id]=\"tableMainId+'-col-string-'+rowIndex+'-'+colIndex\" class=\"col-default\"\n [attr.data-testid]=\"tableMainId+'-col-string-'+rowIndex+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"stringColumn\"\n [ngTemplateOutletContext]=\"{column: column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n }\n </div>\n </td>\n }\n </tr>\n }\n </tbody>\n</table>\n} @else {\n<ng-container *ngTemplateOutlet=\"other\"></ng-container>\n}\n<ng-template #childRows></ng-template>\n\n<ng-template #other>\n <div class=\"gtr-no-data-found mt-26\">\n <img src=\"./assets/images/no-data.svg\">\n </div>\n <div class=\"gtr-no-data-found\">\n No Records Found\n </div>\n</ng-template>\n\n<ng-template #stringColumn let-column=\"column\" let-i=\"index\">\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value}}>\n {{ column?.value?.length > 30 ? (column?.value?.slice(0, 30) + '....') : column?.value }}\n </div>\n }\n @case ('WRAP') {\n <div>\n <span title={{column?.value}} class=\"wrap\"> {{ column?.value }} </span>\n </div>\n }\n @default {\n <div>{{ column?.value }}</div>\n }\n }\n</ng-template>\n\n<ng-template #linkColumn let-column=\"data\" let-i=\"index\" let-row=\"row\">\n @switch (column.value?.type) {\n @case ('external') {\n <div title={{column?.value?.text}}>\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column?.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{\n column?.value?.text?.length > 30\n ? (column?.value?.text?.slice(0, 30) + '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\" [href]=\"column.value?.link\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" class=\"link wrap\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n }\n </div>\n }\n @case ('custom') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link-custom'\"\n (click)=\"this.onColumnClick(row['id'], column)\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column?.value?.link\">{{\n column?.value?.text?.length > 30 ? (column?.value?.text?.slice(0, 30) +\n '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column.value?.link\"\n class=\"link wrap\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" routerLink=\"{{column.value?.link}}\">{{\n column?.value?.text }}</a>\n </div>\n }\n }\n\n }\n }\n</ng-template>\n\n<ng-template #actionMenu let-row=\"row\" let-column=\"column\" let-i=\"index\">\n <div [class]=\"(column | gtrFetchAttribute : 'align' : i : columns) + ' action-menu'\">\n @for (action of column.actions; track action; let actionIndex = $index) {\n <span class=\"gtr-data-label\">\n @if (!action.hide) {\n @switch (action.type) {\n @case ('button') {\n <ng-container [ngTemplateOutlet]=\"gtrButton\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('icon') {\n <ng-container [ngTemplateOutlet]=\"gtrIcon\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('dropdown') {\n <ng-container [ngTemplateOutlet]=\"gtrDropdown\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('input') {\n <ng-container [ngTemplateOutlet]=\"gtrInput\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('textarea') {\n <ng-container [ngTemplateOutlet]=\"gtrTextarea\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @case ('toggle') {\n <ng-container [ngTemplateOutlet]=\"gtrTextarea\"\n [ngTemplateOutletContext]=\"{row:row, action: action, index: actionIndex}\">\n </ng-container>\n }\n @default {\n <div [id]=\"tableMainId+'-col-action-default-'+i\"\n [attr.data-testid]=\"tableMainId+'-col-action-default-'+actionIndex\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-default-'+actionIndex\"\n (click)=\"this.actionDone($event, row['id'], action)\">{{ action.name }}</div>\n }\n }\n }\n </span>\n }\n </div>\n</ng-template>\n\n<ng-template #statusColumn let-columnAttributes=\"columnAttributes\" let-i=\"index\" let-data=\"data\">\n <gtr-badge type=\"pill\" [positionProperty]=\"{ 'align': (columnAttributes | gtrFetchAttribute : 'align' : i : columns)}\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-status-badge-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-status-badge-'+i\"\n [color]=\"columnAttributes | gtrFetchAttribute : 'color' : i : columns\">{{ data }}\n </gtr-badge>\n</ng-template>\n\n<ng-template #innerHTMLColumn let-data=\"data\" let-i=\"index\">\n @switch (data | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div [title]=\"data?.value\">\n <div [innerHTML]=\"data?.value\"></div>\n </div>\n }\n @case ('WRAP') {\n <div [title]=\"data?.value\">\n <div [innerHTML]=\"data?.value\"></div>\n </div>\n }\n @case ('INNERHTMLWRAP') {\n <div [title]=\"data?.value\">\n <div class=\"wrap-content\" [innerHTML]=\"data?.value\"></div>\n </div>\n }\n @default {\n <div [innerHTML]=\"data?.value\"></div>\n }\n }\n</ng-template>\n\n<ng-template #gtrButton let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <div class='gtr-table-buttons'>\n <gtr-button [id]=\"tableMainId+'-col-action-btn-'+i\" [attr.data-testid]=\"tableMainId+'-col-action-btn-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-btn-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-action-btn-'+i\"\n (click)=\"this.actionDone($event, row['id'], action)\">{{ action.name }}\n </gtr-button>\n </div>\n</ng-template>\n\n<ng-template #gtrIcon let-row=\"row\" let-action=\"action\" let-i=\"index\">\n @if (action.link) {\n <a [href]=\"action.link\" (click)=\"this.actionDone($event, row['id'], action); $event.preventDefault();\">\n <gtr-icon [id]=\"tableMainId+'-col-action-icon-'+i\" [attr.data-testid]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-icon-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-action-icon-'+i\" [size]=\"action.size\" [name]=\"action.icon\"\n [color]=\"action.color\"></gtr-icon>\n </a>\n } @else {\n <gtr-icon [id]=\"tableMainId+'-col-action-icon-'+i\" (click)=\"this.actionDone($event, row['id'], action);\"\n [attr.data-testid]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-icon-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-action-icon-'+i\" [size]=\"action.size\" [name]=\"action.icon\"\n [color]=\"action.color\"></gtr-icon>\n }\n</ng-template>\n\n<ng-template #gtrInput let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <a class=\"table-action-link\" [id]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-testid]=\"tableMainId+'-col-action-icon-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-icon-'+i\" [href]=\"action.link\"\n (click)=\"this.actionDone($event, row['id'], action); $event.preventDefault();\">\n <gtr-icon [dataTransactionName]=\"dataTransactionName+'--col-action-icon-'+i\" [size]=\"action.size\"\n [name]=\"action.icon\" [color]=\"action.color\"></gtr-icon>\n </a>\n</ng-template>\n\n<ng-template #gtrTextarea let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <textarea [placeholder]=\"action.name\" [id]=\"tableMainId+'-col-action-textarea-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-textarea-'+i\"\n [attr.data-testid]=\"tableMainId+'-col-action-textarea-'+i\"\n (input)=\"this.actionDone($event, row['id'], action)\"></textarea>\n</ng-template>\n\n<ng-template #gtrDropdown let-row=\"row\" let-action=\"action\" let-i=\"index\">\n <select [id]=\"tableMainId+'-col-action-select-'+i\" [attr.data-testid]=\"tableMainId+'-col-action-select-'+i\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-action-select-'+i\"\n (change)=\"this.actionDone($event, row['id'], action)\">\n <option value=''>Select</option>\n <option value='1'>Yes</option>\n <option value='2'>No</option>\n </select>\n</ng-template>\n\n<ng-template #gtrCheckbox let-row=\"row\">\n <gtr-checkbox [checked]=\"!!row?.isSelected\" [id]=\"tableMainId+'-col-selection'\"\n [dataTransactionName]=\"dataTransactionName + '--col-selection'\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-selection'\"\n [attr.data-testid]=\"tableMainId+'-col-selection'\" (selectionChanged)=\"selectionDone($event, row)\"></gtr-checkbox>\n</ng-template>\n", styles: [":root{--gtr-color-base-white-100: #ffffff;--gtr-color-base-black-20: rgba(0, 0, 0, .2);--gtr-color-base-black-10: rgba(0, 0, 0, .1);--gray-shades-80: rgba(0, 0, 0, .8);--gtr-table-component-table-hover-bg: rgba(0, 96, 194, .05);--gtr-table-component-table-hover-color: #000000;--gray-shades-20: rgba(0, 0, 0, .2);--gray-shades-10: rgba(0, 0, 0, .1);display:block;width:100%;--gtr-disabled-60: rgba(0, 0, 0, .6)}.gtr-no-data-found{display:flex;gap:10px;align-items:center;justify-content:center}.gtr-no-data-found img{width:60px}.gtr-table .mt-26{margin-top:26px}.gtr-table td .link,.gtr-table td .link:hover{color:#00599ccc!important;text-decoration:underline!important}.gtr-table td .link.disabled,.gtr-table td .disabled{pointer-events:none;color:var(--gtr-disabled-60)!important;cursor:not-allowed;text-decoration:none!important}.gtr-table{width:100%}.gtr-table .hide{display:none!important}.gtr-table .gtr-header-label{padding:0 10px;white-space:pre}.gtr-table .gtr-data-label{padding:0 10px 0 14px}.gtr-table .gtr-header-sorting-wrapper{position:absolute;right:0;top:50%;transform:translateY(-50%)}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-up:after{display:block;content:\"\";background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A');background-repeat:no-repeat;width:15px;height:12px;padding:6px;cursor:pointer;background-position:center;transform:rotate(0)}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-up.active:after{background-position:center;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%235D596D\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A')}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-down:after{display:block;content:\"\";background-image:url('data:image/svg+xml,<svg width=\"19\" height=\"18\" viewBox=\"0 0 19 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M14 11.25L9.5 6.75L5 11.25\" stroke=\"white\" stroke-opacity=\"0.5\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A');background-position:center;background-repeat:no-repeat;width:15px;height:12px;padding:6px;cursor:pointer;transform:rotate(180deg)}.gtr-table .gtr-header-sorting-wrapper .gtr-sorting-arrow-down.active:after{background-position:center;background-image:url('data:image/svg+xml,<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%234B465C\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A<path d=\"M13.5 11.25L9 6.75L4.5 11.25\" stroke=\"%235D596D\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>%0A</svg>%0A')}.gtr-table table{font-family:arial,sans-serif;border-collapse:collapse;width:100%}.gtr-table td,.gtr-table th{text-align:left;padding:10px;position:relative;white-space:pre;min-width:100px;max-width:700px}.gtr-table td :has(.WRAP){max-width:300px}.gtr-table th :has(.WRAP){max-width:300px}.gtr-table .split-heading{word-break:break-word;white-space:normal;width:100%;display:inline-block}.gtr-table .wrap-content{display:inline-block;min-width:200px;white-space:normal}.gtr-table .wrap{word-break:break-word;white-space:normal}.gtr-table th:has(gtr-checkbox){min-width:auto!important}.gtr-table td:has(gtr-checkbox){min-width:auto!important}.gtr-table .overflow-auto{overflow:auto}.gtr-table th{border-top:solid 1px var(--gtr-color-base-black-20)!important;border-bottom:solid 1px var(--gtr-color-base-black-20)!important;color:var(--primary-color);font-weight:600;font-size:13px;text-transform:uppercase}.gtr-table tr{border-bottom:solid 1px var(--gtr-color-base-black-20)!important}.gtr-table tr:hover{background-color:var(--gtr-table-component-table-hover-bg);color:var(--gtr-table-component-table-hover-color);cursor:pointer}.gtr-table tr:last-child{border-bottom:none!important}.gtr-table td{font-size:15px}.gtr-table .word-wrap{word-break:break-word;overflow:auto;white-space:initial}.gtr-table th.left,.gtr-table td.left{text-align:left}.gtr-table th.right,.gtr-table td.right{text-align:right}.gtr-table th.center,.gtr-table td.center{text-align:center}.gtr-table .action-menu>*{margin:10px 10px 10px 0;vertical-align:middle;cursor:pointer}.gtr-table .action-menu .table-action-link{color:var(--icon-color);text-decoration:none}.gtr-table .action-menu .gtr-data-label{display:inline-flex;align-items:center;gap:10px}.gtr-table .action-menu>*:last-child{margin:10px 0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GtrFetchAttributePipe, name: "gtrFetchAttribute" }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["name", "dataTransactionName", "shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }, { kind: "component", type: GtrIconComponent, selector: "gtr-icon", inputs: ["dataTransactionName", "name", "weight", "color", "size", "iconId"] }, { kind: "component", type: GtrCheckboxComponent, selector: "gtr-checkbox", inputs: ["name", "dataTransactionName", "identifier", "value", "label", "checked", "disabled", "readonly"], outputs: ["selectionChanged"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrButtonComponent, selector: "gtr-button", inputs: ["type", "btnId", "name", "dataTransactionName", "color", "isLoading", "variant", "disabled"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: DynamicComponentDirective, selector: "[appDynamicComponent]", inputs: ["appDynamicComponent", "isDestroy"], outputs: ["eventEmitter"] }, { kind: "directive", type: DynamicHostDirective, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"] }], encapsulation: i0.ViewEncapsulation.None }); }
110
110
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTableMainComponent, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableMainComponent, decorators: [{
112
112
  type: Component,
113
113
  args: [{ selector: 'gtr-table-main', exportAs: 'gtrTableMain', standalone: true, encapsulation: ViewEncapsulation.None, imports: [
114
114
  NgClass,
@@ -134,8 +134,8 @@ export class GtrTableResponsiveComponent {
134
134
  }
135
135
  }
136
136
  ngOnDestroy() { }
137
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTableResponsiveComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.GtrFetchAttributePipe }], target: i0.ɵɵFactoryTarget.Component }); }
138
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTableResponsiveComponent, isStandalone: true, selector: "gtr-table-responsive", inputs: { isLoading: "isLoading", enableSelection: "enableSelection", columns: "columns", data: "data", tableResponsiveId: "tableResponsiveId", dataTransactionName: "dataTransactionName" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
137
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableResponsiveComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.GtrFetchAttributePipe }], target: i0.ɵɵFactoryTarget.Component }); }
138
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTableResponsiveComponent, isStandalone: true, selector: "gtr-table-responsive", inputs: { isLoading: "isLoading", enableSelection: "enableSelection", columns: "columns", data: "data", tableResponsiveId: "tableResponsiveId", dataTransactionName: "dataTransactionName" }, outputs: { onSelection: "onSelection", onAction: "onAction", handleEvent: "handleEvent", onSort: "onSort" }, host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
139
139
  GtrFetchAttributePipe,
140
140
  GtrSkeletonDirective,
141
141
  {
@@ -145,7 +145,7 @@ export class GtrTableResponsiveComponent {
145
145
  },
146
146
  ], viewQueries: [{ propertyName: "dynamicHosts", predicate: DynamicHostDirective, descendants: true }], exportAs: ["gtrTableResponsive"], ngImport: i0, template: "@if (data.length) {\n<div class='table-responsive-wrapper' [id]=\"tableResponsiveId\" [attr.data-testid]=\"tableResponsiveId\"\n [attr.data-transaction-name]=\"dataTransactionName\">\n\n @if (enableSelection) {\n <div class='table-selection'>\n <gtr-checkbox label=\"Select All\" [id]=\"tableResponsiveId+'-row-select-all'\"\n [attr.data-transaction-name]=\"dataTransactionName+'-row-select-all'\"\n [attr.data-testid]=\"tableResponsiveId+'-row-select-all'\" [checked]=\"fetchSelection()\"\n (selectionChanged)=\"this.selectAll($event)\" />\n </div>\n }\n @for (row of data; track row; let rowIndex = $index) {\n <div class='table-responsive-wrapper-container'>\n <div class='table-responsive-menu'>\n\n @if (enableSelection) {\n <div class='table-responsive-menu-item'>\n <ng-container *skeleton=\"isLoading;\n repeat: 1;\n className: '';\n height: '20px';\n width: '20px'\">\n <ng-container [ngTemplateOutletContext]=\"{row: row, index: rowIndex}\"\n [ngTemplateOutlet]=\"gtrCheckbox\"></ng-container>\n </ng-container>\n </div>\n }\n\n @if (getActions(row?.columnsData)?.actions) {\n <div class=\"table-responsive-menu-item\" [class.full-width]=\"!enableSelection\">\n <ng-container [ngTemplateOutletContext]=\"{row: row, index: rowIndex}\"\n [ngTemplateOutlet]=\"popover\"></ng-container>\n </div>\n }\n </div>\n\n <ng-container [ngTemplateOutlet]=\"renderRow\" [ngTemplateOutletContext]=\"{row:row, index: rowIndex}\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"expandIcon\" [ngTemplateOutletContext]=\"{expandAttributes: row}\"></ng-container>\n </div>\n }\n</div>\n} @else {\n<ng-container *ngTemplateOutlet=\"other\"></ng-container>\n}\n<ng-template #renderRow let-row=\"row\" let-i=\"index\">\n @for (column of row.columnsData; track column; let colIndex = $index) {\n @if ((column | gtrFetchAttribute : 'type' : colIndex : columns) !== 'actions' && checkRowHiddenState(row, column,\n row.expand, colIndex)) {\n <div class='table-responsive-container'>\n\n <div class='table-responsive-item table-label' [class.hide]=\"column.hide\">\n @switch (column | gtrFetchAttribute : 'headingType' : colIndex : columns) {\n @case ('innerHTML') {\n <span [innerHTML]=\"columns[colIndex].label\"></span>\n }\n @default {\n {{ columns[colIndex].label }}\n }\n }\n </div>\n\n <div class='table-responsive-item' [class.hide]=\"column.hide\">\n @switch (column | gtrFetchAttribute : 'type' : colIndex : columns) {\n @case ('status') {\n <div [id]=\"tableResponsiveId+'-col-status-'+i+'-'+colIndex\" class=\"col-status col-sm-status\"\n [attr.data-testid]=\"tableResponsiveId+'-col-status-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"statusColumn\" [ngTemplateOutletContext]=\"{column:column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('innerHTML') {\n <div [id]=\"tableResponsiveId+'-col-innerHTML-'+i+'-'+colIndex\" class=\"col-innerHtml col-sm-innerHtml\"\n [attr.data-testid]=\"tableResponsiveId+'-col-innerHTML-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"innerHTMLColumn\" [ngTemplateOutletContext]=\"{data: column.value}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('link') {\n <div class=\"col-link col-sm-link\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).mainTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"linkColumn\"\n [ngTemplateOutletContext]=\"{data: column, index: colIndex, row: row}\">\n </ng-container>\n </ng-container>\n </div>\n }\n @case ('component') {\n <div [id]=\"tableResponsiveId+'-col-component-'+i+'-'+colIndex\" class=\"col-component col-sm-component\"\n [attr.data-testid]=\"tableResponsiveId+'-col-component-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-template [appDynamicHost] #vc=\"appDynamicHost\"></ng-template>\n <ng-container [appDynamicComponent]=\"{componentData: column.value, hosts: dynamicHosts}\"\n (eventEmitter)=\"fetchEvent($event, row['id'])\"></ng-container>\n </ng-container>\n </div>\n }\n @default {\n <div [id]=\"tableResponsiveId+'-col-string-'+i+'-'+colIndex\" class=\"col-default col-sm-default\"\n [attr.data-testid]=\"tableResponsiveId+'-col-string-'+i+'-'+colIndex\">\n <ng-container\n *skeleton=\"isLoading;\n repeat:(((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.repeat) || 1);\n className: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.className) || 'skeleton-margin-bottom');\n height: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.height) || '20px');\n width: (((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns) && ((column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable) && (column | gtrFetchAttribute : 'skeletonConfigs' : colIndex : columns).responsiveTable.width) || '100%')\">\n <ng-container [ngTemplateOutlet]=\"stringColumn\" [ngTemplateOutletContext]=\"{column:column, index: colIndex}\">\n </ng-container>\n </ng-container>\n </div>\n }\n }\n </div>\n </div>\n }\n }\n</ng-template>\n\n<ng-template #stringColumn let-column=\"column\" let-i=\"index\">\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value}}>\n {{ column.value?.length > 30 ? (column.value?.slice(0, 30) + '....') : column?.value }}\n </div>\n }\n @case ('WRAP') {\n <div>\n <span class='word-wrap' title={{column?.value}}> {{ column?.value }} </span>\n </div>\n }\n @default {\n <div>{{ column?.value }}</div>\n }\n }\n</ng-template>\n\n<ng-template #linkColumn let-column=\"data\" let-i=\"index\" let-row=\"row\">\n @switch (column.value?.type) {\n @case ('external') {\n <div title={{column?.value?.text}}>\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column?.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{\n column?.value?.text?.length > 30\n ? (column?.value?.text?.slice(0, 30) + '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\" [href]=\"column.value?.link\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" class=\"link wrap\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [href]=\"column.value?.link\"\n [target]=\"column?.value?.target || '_blank'\">{{ column?.value?.text }}</a>\n </div>\n }\n }\n </div>\n }\n @case ('custom') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" (click)=\"this.onColumnClick(row['id'], column)\">{{\n column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n @switch (column | gtrFetchAttribute : 'wrap' : i : columns) {\n @case ('TRUNCATE') {\n <div title={{column?.value?.text}}>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column?.value?.link\">{{\n column?.value?.text?.length > 30 ? (column?.value?.text?.slice(0, 30) +\n '....') : column?.value?.text\n }}</a>\n </div>\n }\n @case ('WRAP') {\n <div>\n <a [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" [routerLink]=\"column.value?.link\"\n class=\"link wrap\">{{ column?.value?.text }}</a>\n </div>\n }\n @default {\n <div>\n <a class=\"link\" [style.color]=\"column.value?.color\" [class.disabled]=\"column.value?.disabled\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-link'\" routerLink=\"{{column.value?.link}}\">{{\n column?.value?.text }}</a>\n </div>\n }\n }\n </div>\n }\n }\n</ng-template>\n\n<ng-template #statusColumn let-column=\"column\" let-i=\"index\">\n <gtr-badge type=\"pill\" [color]=\"column | gtrFetchAttribute : 'color' : i : columns\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-status-badge-'+i\"\n [dataTransactionName]=\"dataTransactionName+'--col-status-badge-'+i\">{{ column?.value }}\n </gtr-badge>\n</ng-template>\n\n<ng-template #innerHTMLColumn let-data=\"data\">\n <div class=\"wrap\" [innerHTML]=\"data\"></div>\n</ng-template>\n\n<ng-template #expandIcon let-expandAttributes=\"expandAttributes\">\n @if (expandAttributes && expandAttributes.expand) {\n <div class=\"expanded-arrow-icon\" [attr.data-transaction-name]=\"dataTransactionName+'-expand'\"\n [class.expanded]=\"expandAttributes.expand.isExpanded\" (click)=\"this.expandRow(expandAttributes)\">\n <img src=\"assets/images/arrow-down-navigate.svg\">\n </div>\n }\n</ng-template>\n\n<ng-template #popover let-row=\"row\" let-rowIndex=\"index\">\n <ng-container *skeleton=\"isLoading;\n repeat: 1;\n className: 'sk-float-right-mr-10';\n height: '20px';\n width: '5px'\">\n <gtr-popover [position]=\"'left'\" [showPositionIndicator]=\"false\" [padding]=\"10\" [moveX]=\"5\" [moveY]=\"-25\">\n <span slot=\"gtr-popover-trigger\">\n <svg width=\"25\" height=\"22\" viewBox=\"0 0 25 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <ellipse cx=\"12.6466\" cy=\"11.0002\" rx=\"1.02451\" ry=\"0.916667\" fill=\"black\" fill-opacity=\"0.4\" stroke=\"#00599C\"\n stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <ellipse cx=\"12.6466\" cy=\"17.4167\" rx=\"1.02451\" ry=\"0.916667\" fill=\"#00599C\" stroke=\"#00599C\"\n stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <ellipse cx=\"12.6466\" cy=\"4.58317\" rx=\"1.02451\" ry=\"0.916667\" fill=\"#00599C\" stroke=\"#00599C\"\n stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n </span>\n <div slot=\"gtr-popover-content\">\n <div class=\"gtr-popover-content\">\n <ul>\n @for (action of getActions(row?.columnsData)?.actions; track action; let actionIndex = $index) {\n <li [class.hide]=\"action.hide\"\n [attr.data-transaction-name]=\"dataTransactionName+'-col-action-icon-'+rowIndex+'-'+actionIndex\">\n <a [id]=\"tableResponsiveId+'-col-action-icon-'+rowIndex+'-'+actionIndex\"\n [attr.data-testid]=\"tableResponsiveId+'-col-action-icon-'+rowIndex+'-'+actionIndex\"\n [attr.data-transaction-name]=\"dataTransactionName+'-col-action-icon-'+rowIndex+'-'+actionIndex\"\n (click)=\"actionDone('', row, action)\" class=\"d-flex\">{{ action.name }}</a>\n </li>\n }\n </ul>\n </div>\n </div>\n </gtr-popover>\n </ng-container>\n</ng-template>\n\n<ng-template #other>\n <div class=\"gtr-table-responsive-no-data-found mt-26\">\n <img src=\"./assets/images/no-data.svg\">\n </div>\n <div class=\"gtr-table-responsive-no-data-found\">\n No Records Found\n </div>\n</ng-template>\n\n<ng-template #gtrCheckbox let-row=\"row\" let-colIndex=\"index\">\n <gtr-checkbox [checked]=\"!!row?.isSelected\" [id]=\"tableResponsiveId+'-col-selection-'+colIndex\"\n [attr.data-testid]=\"tableResponsiveId+'-col-selection-'+colIndex\"\n [dataTransactionName]=\"dataTransactionName + '--col-selection'\"\n [attr.data-transaction-name]=\"dataTransactionName+'--col-selection'\"\n (selectionChanged)=\"selectionDone($event, row)\"></gtr-checkbox>\n</ng-template>\n", styles: [":root{display:block;--gtr-table-component-table-border: rgba(0, 0, 0, .2);--gray-shades-80: rgba(0, 0, 0, .8);width:100%;--gtr-disabled-60: rgba(0, 0, 0, .6)}.mt-26{margin-top:26px}.gtr-table-responsive-no-data-found{display:flex;gap:10px;align-items:center;justify-content:center}.gtr-table-responsive-no-data-found img{width:60px}.table-responsive-wrapper-container .hide{display:none!important}.table-responsive-wrapper{width:100%}.table-responsive-wrapper-container .overflow-auto{overflow:auto}.table-responsive-wrapper .table-selection{padding:20px 0}.table-responsive-wrapper-container{width:100%;border-bottom:1px solid rgba(0,0,0,.2)}.table-responsive-wrapper-container .expanded-arrow-icon{transition:all .5s ease-out}.table-responsive-wrapper-container .table-responsive-menu{width:100%;margin:10px 0;display:block}.table-responsive-wrapper-container .table-responsive-menu-item{display:inline-block;width:50%;text-align:right;vertical-align:top}.table-responsive-wrapper-container .table-responsive-menu-item.full-width{width:100%}.table-responsive-wrapper-container .table-responsive-container{padding:10px;width:100%;display:table}.table-responsive-wrapper-container .table-responsive-container .table-responsive-item:first-child{width:40%;max-width:40%}.table-responsive-wrapper-container .text-right{text-align:right}.table-responsive-wrapper-container .table-responsive-container .table-responsive-item{display:table-cell;padding:0 .5em 0 0;vertical-align:top;text-align:left;width:60%;max-width:60%;word-wrap:break-word;overflow:hidden;word-break:break-word;font-size:14px}.table-responsive-wrapper-container .table-label{color:var(--primary-color)!important;font-size:14px;text-transform:capitalize}.table-responsive-wrapper-container .link{color:#00599ccc!important;text-decoration:underline!important}.table-responsive-wrapper-container .link.disabled,.table-responsive-wrapper-container .disabled{pointer-events:none;color:var(--gtr-disabled-60)!important;cursor:not-allowed;text-decoration:none!important}.table-responsive-wrapper-container .link:hover{color:#00599ccc!important;text-decoration:underline!important}.table-responsive-wrapper-container ul{list-style:none;margin:5px;padding:0}.table-responsive-wrapper-container li{color:var(--gray-shades-80, rgba(0, 0, 0, .8));text-align:left;font-size:14px;font-family:Roboto;list-style:none;font-style:normal;font-weight:400;line-height:20px;margin-bottom:6px;padding:5px 10px}.table-responsive-wrapper-container li:last-child{margin-bottom:0}.table-responsive-wrapper-container li:hover{background-color:#00599c0d}.table-responsive-wrapper-container .wrap{word-break:break-word;white-space:initial}.table-responsive-wrapper-container span.approved{color:#009e47;font-weight:700;font-size:15px;text-transform:capitalize}.table-responsive-wrapper-container span.declined{color:#4b465c;font-weight:700;font-size:15px;text-transform:capitalize}.table-responsive-wrapper-container span.withdrawn{color:#00000080;font-weight:700;font-size:15px;text-transform:capitalize}.table-responsive-wrapper-container .expanded-arrow-icon{width:100%;text-align:center;margin-top:10px;margin-bottom:10px}.table-responsive-wrapper-container .expanded-arrow-icon.expanded{transform:rotate(180deg)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: GtrFetchAttributePipe, name: "gtrFetchAttribute" }, { kind: "component", type: GtrBadgeComponent, selector: "gtr-badge", inputs: ["name", "dataTransactionName", "shape", "type", "color", "aria-label", "hidden", "position", "id", "testid", "positionProperty", "background-color", "icon-name"] }, { kind: "directive", type: GtrSkeletonDirective, selector: "[skeleton]", inputs: ["skeleton", "skeletonRepeat", "skeletonWidth", "skeletonHeight", "skeletonClassName"] }, { kind: "component", type: GtrCheckboxComponent, selector: "gtr-checkbox", inputs: ["name", "dataTransactionName", "identifier", "value", "label", "checked", "disabled", "readonly"], outputs: ["selectionChanged"] }, { kind: "component", type: GtrPopoverComponent, selector: "gtr-popover", inputs: ["position", "isOpened", "showPositionIndicator", "moveX", "moveY", "padding", "marginTop", "marginBottom", "marginLeft", "marginRight", "closeOnClickOutside", "dataTransactionName", "id", "testId"], outputs: ["stateChanged"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: DynamicComponentDirective, selector: "[appDynamicComponent]", inputs: ["appDynamicComponent", "isDestroy"], outputs: ["eventEmitter"] }, { kind: "directive", type: DynamicHostDirective, selector: "[appDynamicHost]", exportAs: ["appDynamicHost"] }], encapsulation: i0.ViewEncapsulation.None }); }
147
147
  }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTableResponsiveComponent, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTableResponsiveComponent, decorators: [{
149
149
  type: Component,
150
150
  args: [{ selector: 'gtr-table-responsive', exportAs: 'gtrTableResponsive', standalone: true, encapsulation: ViewEncapsulation.None, imports: [
151
151
  NgClass,
@@ -16,10 +16,10 @@ export class GtrTabComponent {
16
16
  this._activeTab.index = activeTab?.index;
17
17
  this.tabChange.emit(this._activeTab);
18
18
  }
19
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTabComponent, isStandalone: true, selector: "gtr-tab", inputs: { label: "label", active: "active", dataTransactionName: "dataTransactionName", disabled: "disabled" }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: "@if (active) {\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tab'\">\n <ng-content></ng-content>\n </div>\n}\n", styles: [""] }); }
19
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTabComponent, isStandalone: true, selector: "gtr-tab", inputs: { label: "label", active: "active", dataTransactionName: "dataTransactionName", disabled: "disabled" }, outputs: { tabChange: "tabChange" }, ngImport: i0, template: "@if (active) {\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tab'\">\n <ng-content></ng-content>\n </div>\n}\n", styles: [""] }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTabComponent, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabComponent, decorators: [{
23
23
  type: Component,
24
24
  args: [{ standalone: true, selector: 'gtr-tab', template: "@if (active) {\n <div class=\"gtr-active-tab-content\" [class.active]=\"active\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tab'\">\n <ng-content></ng-content>\n </div>\n}\n" }]
25
25
  }], ctorParameters: () => [], propDecorators: { label: [{
@@ -65,10 +65,10 @@ export class GtrTabsWrapperComponent {
65
65
  const hasHorizontalScroll = element?.scrollWidth > element?.clientWidth;
66
66
  return hasHorizontalScroll;
67
67
  }
68
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTabsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTabsWrapperComponent, isStandalone: true, selector: "gtr-tabs-wrapper", inputs: { position: "position", dataTransactionName: "dataTransactionName", id: "id", testId: "testId" }, outputs: { tabChanges: "tabChanges" }, queries: [{ propertyName: "tabs", predicate: GtrTabComponent }], viewQueries: [{ propertyName: "tabScrollContainerRef", first: true, predicate: ["tabScrollContainerRef"], descendants: true, static: true }, { propertyName: "tabScrollListRef", first: true, predicate: ["tabScrollListRef"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n >\n <div [class]=\"tabsWrapperClass\">\n @for (tab of tabs; track tab) {\n <div #tabButton\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-button'\"\n >\n {{ tab.label }}\n </div>\n }\n </div>\n </div>\n</div>\n@if (tabListLength > 0) {\n <div class=\"gtr-tab-content-wrapper\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content-wrapper'\">\n <div class=\"gtr-tab-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content'\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative;height:40px;margin-bottom:16px}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{position:relative;line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"] }); }
68
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTabsWrapperComponent, isStandalone: true, selector: "gtr-tabs-wrapper", inputs: { position: "position", dataTransactionName: "dataTransactionName", id: "id", testId: "testId" }, outputs: { tabChanges: "tabChanges" }, queries: [{ propertyName: "tabs", predicate: GtrTabComponent }], viewQueries: [{ propertyName: "tabScrollContainerRef", first: true, predicate: ["tabScrollContainerRef"], descendants: true, static: true }, { propertyName: "tabScrollListRef", first: true, predicate: ["tabScrollListRef"], descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n >\n <div [class]=\"tabsWrapperClass\">\n @for (tab of tabs; track tab) {\n <div #tabButton\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-button'\"\n >\n {{ tab.label }}\n </div>\n }\n </div>\n </div>\n</div>\n@if (tabListLength > 0) {\n <div class=\"gtr-tab-content-wrapper\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content-wrapper'\">\n <div class=\"gtr-tab-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content'\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative;height:40px;margin-bottom:16px}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{position:relative;line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"] }); }
70
70
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTabsWrapperComponent, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTabsWrapperComponent, decorators: [{
72
72
  type: Component,
73
73
  args: [{ standalone: true, selector: 'gtr-tabs-wrapper', template: "<div\n class=\"gtr-tabs-list-container\"\n #tabScrollContainerRef\n [id]=\"id\"\n [attr.data-test-id]=\"testId\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n>\n <div\n [class]=\"tabsContainerClass\"\n (scroll)=\"onTabListScroll()\"\n #tabScrollListRef\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper'\"\n >\n <div [class]=\"tabsWrapperClass\">\n @for (tab of tabs; track tab) {\n <div #tabButton\n class=\"gtr-tab-button tab\"\n [class.w-100]=\"position === 'fill'\"\n [class.active]=\"tab.active\"\n [class.disabled]=\"tab.disabled\"\n (click)=\"selectTab(tab)\"\n (keyup.enter)=\"selectTab(tab)\"\n role=\"tab\"\n [tabindex]=\"tab.disabled ? -1 : 0\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-button'\"\n >\n {{ tab.label }}\n </div>\n }\n </div>\n </div>\n</div>\n@if (tabListLength > 0) {\n <div class=\"gtr-tab-content-wrapper\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content-wrapper'\">\n <div class=\"gtr-tab-content\"\n [attr.data-transaction-name]=\"dataTransactionName + '-tabs-wrapper-content'\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [":host{display:block;box-sizing:border-box;--gtr-component-font-family-base: Roboto;font-family:var(--gtr-component-font-family-base);margin:0;--gtr-border-radius-6: 6px;--gtr-padding-24: 24px;--gtr-background-transparent: transparent;--gtr-box-shadow-30: 0px 2px 4px 0px rgba(165, 163, 174, .3);--gtr-default-active-light-shade: #f8f9fa;--gtr-tab-color: #4b465c;--gtr-padding-12: 12px;--gtr-color-base-black-60: rgba(0, 0, 0, .6);--gtr-color-base-black-05: rgba(0, 0, 0, .05);--gtr-color-base-white-100: #ffffff}*{box-sizing:border-box}.gtr-tabs-list-container{position:relative;height:40px;margin-bottom:16px}.gtr-tabs-container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;width:100%;overflow-x:scroll;overflow-y:hidden}.gtr-tabs-wrapper{width:100%;display:flex;justify-content:flex-start;align-items:center;scroll-snap-align:center;touch-action:auto;-webkit-overflow-scrolling:touch}.gtr-tab-button{font-style:normal;font-weight:400;font-size:15px;line-height:22px;padding:8px 20px;border-radius:var(--gtr-border-radius-6);color:var(--gtr-tab-color);display:grid;place-items:center;place-content:center;cursor:pointer;white-space:nowrap;word-wrap:none}.gtr-tab-button:focus{background:var(--gtr-color-base-black-05)}.gtr-tab-button.disabled{opacity:.6;font-size:15px;line-height:22px;cursor:default;pointer-events:none}.gtr-tab-button.active{background:var(--gtr-color-base-primary-100);color:var(--gtr-default-active-light-shade);border-radius:var(--gtr-border-radius-6);box-shadow:var(--gtr-box-shadow-30)}.gtr-tab-content-wrapper{height:100%}.gtr-tab-content{position:relative;line-height:22px;font-size:15px;padding:var(--gtr-padding-24);box-shadow:0 4px 18px #4b465c1a;background:var(--gtr-color-base-white-100);border-radius:var(--gtr-border-radius-6);color:var(--gtr-color-base-black-60)}.gtr-tabs-container.fade-left:before{content:\"\";position:absolute;top:0;right:0;width:120px;height:40px;background:linear-gradient(to right,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.fade-right:after{content:\"\";position:absolute;top:0;left:0;width:120px;height:40px;background:linear-gradient(to left,#fff0,#fffc);pointer-events:none;z-index:1}.gtr-tabs-container.center,.gtr-tabs-wrapper.center{display:flex;justify-content:center;align-items:flex-start}.gtr-tabs-container.end,.gtr-tabs-wrapper.end{display:flex;justify-content:flex-end;align-items:flex-start}.gtr-tabs-container{background:var(--gtr-background-transparent)}.gtr-tabs-container::-webkit-scrollbar{background:var(--gtr-background-transparent)}::-webkit-scrollbar{width:10px;background:var(--gtr-background-transparent)}::-webkit-scrollbar-thumb{background:var(--gtr-background-transparent)}\n"] }]
74
74
  }], propDecorators: { tabs: [{
@@ -432,8 +432,8 @@ export class GtrTimePickerComponent {
432
432
  }
433
433
  this.dropdownRef?.nativeElement?.classList.add('show');
434
434
  }
435
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
436
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTimePickerComponent, isStandalone: true, selector: "gtr-time-picker", inputs: { cleaner: "cleaner", dateTimeFormatOptions: "dateTimeFormatOptions", disabled: "disabled", filterHours: "filterHours", filterMinutes: "filterMinutes", filterSeconds: "filterSeconds", indicator: "indicator", inputReadOnly: "inputReadOnly", locale: "locale", placeholder: "placeholder", seconds: "seconds", size: "size", time: "time", variant: "variant", valid: "valid", visible: "visible" }, outputs: { timeChange: "timeChange" }, host: { listeners: { "blur": "onBlur()" } }, providers: [
435
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
436
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTimePickerComponent, isStandalone: true, selector: "gtr-time-picker", inputs: { cleaner: "cleaner", dateTimeFormatOptions: "dateTimeFormatOptions", disabled: "disabled", filterHours: "filterHours", filterMinutes: "filterMinutes", filterSeconds: "filterSeconds", indicator: "indicator", inputReadOnly: "inputReadOnly", locale: "locale", placeholder: "placeholder", seconds: "seconds", size: "size", time: "time", variant: "variant", valid: "valid", visible: "visible" }, outputs: { timeChange: "timeChange" }, host: { listeners: { "blur": "onBlur()" } }, providers: [
437
437
  {
438
438
  provide: NG_VALUE_ACCESSOR,
439
439
  useExisting: forwardRef((() => GtrTimePickerComponent)),
@@ -441,7 +441,7 @@ export class GtrTimePickerComponent {
441
441
  },
442
442
  ], queries: [{ propertyName: "contentTemplates", predicate: GtrTemplateIdDirective, descendants: true }], viewQueries: [{ propertyName: "dropdownRef", first: true, predicate: GtrDropdownComponent, descendants: true, read: ElementRef }], exportAs: ["gtrTimePicker"], usesOnChanges: true, ngImport: i0, template: "@if (variant === 'select') {\n <div class=\"date-picker-timepickers\">\n <div class=\"picker time-picker\">\n <div [formGroup]=\"selectTime\" class=\"time-picker-body\" [ngClass]=\"timePickerClasses\">\n <span class=\"time-picker-inline-icon\"></span>\n <select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectHours\"\n (ngModelChange)=\"handleSelectHoursChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (hour of listOfHours12; track trackByHour; let i = $index) {\n <option [ngValue]=\"hour.value\"\n [attr.disabled]=\"hour.disabled || null\">{{ hour.label }}\n </option>\n }\n </select>\n {{ ' :' }}<select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectMinutes\"\n (ngModelChange)=\"handleSelectMinutesChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (minute of listOfMinutes; track minute) {\n <option [ngValue]=\"minute.value\"\n [attr.disabled]=\"minute.disabled || null\">{{ minute.label }}\n </option>\n }\n </select>\n @if (seconds) {\n {{ ' :' }}<select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectSeconds\"\n (ngModelChange)=\"handleSelectSecondsChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (second of listOfSeconds; track second) {\n <option [ngValue]=\"second.value\"\n [attr.disabled]=\"second.disabled || null\">{{ second.label }}\n </option>\n }\n </select>\n }\n @if (hour12) {\n <select [attr.disabled]=\"disabled || null\" gtrSelect class=\"ms-0\" formControlName=\"selectDayPeriod\"\n (ngModelChange)=\"handleSelectDayPeriodChange($event)\" (blur)=\"onBlur()\" [sizing]=\"size ?? ''\">\n @for (dayPeriod of dayPeriods; track dayPeriod) {\n <option [ngValue]=\"dayPeriod.value\"\n class=\"time-picker-roll-cell\">{{ dayPeriod.label }}\n </option>\n }\n </select>\n }\n </div>\n </div>\n </div>\n}\n\n@if (variant === 'roll') {\n <gtr-dropdown #dropdown=\"gtrDropdown\" [autoClose]=\"'outside'\" class=\"time-picker picker\" [ngClass]=\"timePickerClasses\"\n [visible]=\"visible\">\n <gtr-input-group [caret]=\"false\"\n [disabled]=\"disabled ?? dropdown.visible\"\n [sizing]=\"size ?? ''\"\n gtrDropdownToggle\n class=\"picker-input-group\">\n <input (blur)=\"handleBlur($event);\"\n (change)=\"handleTimeInputChange($event)\"\n (focus)=\"handleFocus($event)\"\n [formControl]=\"timeInput\"\n [placeholder]=\"placeholder\"\n gtrFormControl\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.disabled]=\"disabled ? '' : null\"\n [attr.pattern]=\"hour12 ? '(((0[1-9])|(1[0-2])):([0-5])([0-9])\\\\\\\\s(A|P)M)' : '([01]?[0-9]|2[0-3]):[0-5][0-9]'\"\n [readonly]=\"inputReadOnly ?? null\"\n [valid]=\"valid\"\n >\n @if (indicator || cleaner) {\n <span gtrInputGroupText>\n @if (indicator) {\n <span class=\"picker-input-group-indicator\">\n <span class=\"picker-input-group-icon time-picker-input-icon\"></span>\n </span>\n }\n @if (cleaner && time && !disabled) {\n <span (click)=\"!disabled && handleClear($event)\"\n class=\"picker-input-group-cleaner\" role=\"button\">\n <span class=\"picker-input-group-icon time-picker-cleaner-icon\"></span>\n </span>\n }\n </span>\n }\n\n </gtr-input-group>\n <div gtrDropdownMenu #dropdownMenu=\"gtrDropdownMenu\">\n <div class=\"time-picker-body time-picker-roll\" style=\"position: relative;\">\n <gtr-time-picker-roll-col\n [elements]=\"listOfHours12\"\n [selected]=\"hour\"\n (selectedChange)=\"handleSelectHoursChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-col>\n <gtr-time-picker-roll-col\n [elements]=\"listOfMinutes\"\n [selected]=\"minute\"\n (selectedChange)=\"handleSelectMinutesChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-col>\n\n @if (seconds) {\n <gtr-time-picker-roll-col\n [elements]=\"listOfSeconds\"\n [selected]=\"second\"\n (selectedChange)=\"handleSelectSecondsChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-col>\n }\n\n @if (hour12) {\n <gtr-time-picker-roll-am-pm\n [elements]=\"dayPeriods\"\n [selected]=\"dayPeriod\"\n (selectedChange)=\"handleSelectDayPeriodChange($event)\"\n [disabled]=\"disabled\"\n [refresh]=\"dropdownMenu.visible\"\n role=\"listbox\"\n >\n </gtr-time-picker-roll-am-pm>\n }\n </div>\n @if (templates?.timePickerFooter) {\n <div class=\"picker-footer\">\n <ng-container *ngTemplateOutlet=\"templates?.timePickerFooter; context: {$implicit: dropdown}\"></ng-container>\n </div>\n }\n </div>\n </gtr-dropdown>\n}\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: GtrDropdownComponent, selector: "gtr-dropdown", inputs: ["alignment", "autoClose", "dark", "direction", "placement", "popper", "popperOptions", "variant", "visible"], outputs: ["visibleChange"], exportAs: ["gtrDropdown"] }, { kind: "directive", type: GtrDropdownToggleDirective, selector: "[gtrDropdownToggle]", inputs: ["dropdownComponent", "disabled", "caret", "split"], exportAs: ["gtrDropdownToggle"] }, { kind: "directive", type: GtrDropdownMenuDirective, selector: "[gtrDropdownMenu]", inputs: ["alignment", "visible", "dark"], exportAs: ["gtrDropdownMenu"] }, { kind: "directive", type: GtrFormControlDirective, selector: "input[gtrFormControl], textarea[gtrFormControl]", inputs: ["sizing", "valid", "type", "plaintext"] }, { kind: "directive", type: GtrFormSelectDirective, selector: "select[gtrSelect]", inputs: ["sizing", "valid"] }, { kind: "component", type: GtrInputGroupComponent, selector: "gtr-input-group", inputs: ["sizing", "invalid"] }, { kind: "directive", type: GtrInputGroupTextDirective, selector: "[gtrInputGroupText]" }, { kind: "component", type: GtrTimePickerRollColComponent, selector: "gtr-time-picker-roll-col", inputs: ["disabled", "elements", "onClick", "selected", "refresh"], outputs: ["selectedChange"], exportAs: ["gtrTimePickerRollCol"] }, { kind: "component", type: GtrTimePickerRollAmPmComponent, selector: "gtr-time-picker-roll-am-pm", inputs: ["disabled", "elements", "onClick", "selected", "refresh"], outputs: ["selectedChange"] }] }); }
443
443
  }
444
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimePickerComponent, decorators: [{
444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerComponent, decorators: [{
445
445
  type: Component,
446
446
  args: [{ selector: 'gtr-time-picker', exportAs: 'gtrTimePicker', standalone: true, imports: [
447
447
  NgClass,
@@ -5,10 +5,10 @@ export class GtrDayPeriodElementDirective {
5
5
  constructor(elementRef) {
6
6
  this.elementRef = elementRef;
7
7
  }
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrDayPeriodElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
9
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: GtrDayPeriodElementDirective, isStandalone: true, selector: "[gtrDayPeriodElement]", inputs: { gtrDayPeriodElement: "gtrDayPeriodElement" }, exportAs: ["gtrDayPeriodElement"], ngImport: i0 }); }
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDayPeriodElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
9
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrDayPeriodElementDirective, isStandalone: true, selector: "[gtrDayPeriodElement]", inputs: { gtrDayPeriodElement: "gtrDayPeriodElement" }, exportAs: ["gtrDayPeriodElement"], ngImport: i0 }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrDayPeriodElementDirective, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrDayPeriodElementDirective, decorators: [{
12
12
  type: Directive,
13
13
  args: [{
14
14
  selector: '[gtrDayPeriodElement]',
@@ -77,10 +77,10 @@ export class GtrTimePickerRollAmPmComponent {
77
77
  trackByElement(index, element) {
78
78
  return element.value;
79
79
  }
80
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimePickerRollAmPmComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
81
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTimePickerRollAmPmComponent, isStandalone: true, selector: "gtr-time-picker-roll-am-pm", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "dayPeriodElements", predicate: GtrDayPeriodElementDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrDayPeriodElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\">\n {{ element.label }}\n </div>\n}\n\n", dependencies: [{ kind: "directive", type: GtrDayPeriodElementDirective, selector: "[gtrDayPeriodElement]", inputs: ["gtrDayPeriodElement"], exportAs: ["gtrDayPeriodElement"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
80
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollAmPmComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
81
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTimePickerRollAmPmComponent, isStandalone: true, selector: "gtr-time-picker-roll-am-pm", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "dayPeriodElements", predicate: GtrDayPeriodElementDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrDayPeriodElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\">\n {{ element.label }}\n </div>\n}\n\n", dependencies: [{ kind: "directive", type: GtrDayPeriodElementDirective, selector: "[gtrDayPeriodElement]", inputs: ["gtrDayPeriodElement"], exportAs: ["gtrDayPeriodElement"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimePickerRollAmPmComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollAmPmComponent, decorators: [{
84
84
  type: Component,
85
85
  args: [{ selector: 'gtr-time-picker-roll-am-pm', standalone: true, imports: [GtrDayPeriodElementDirective, NgClass, NgStyle], template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrDayPeriodElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\">\n {{ element.label }}\n </div>\n}\n\n" }]
86
86
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { disabled: [{
@@ -5,10 +5,10 @@ export class GtrTimeElementDirective {
5
5
  constructor(elementRef) {
6
6
  this.elementRef = elementRef;
7
7
  }
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimeElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
9
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.11", type: GtrTimeElementDirective, isStandalone: true, selector: "[gtrTimeElement]", inputs: { gtrTimeElement: "gtrTimeElement" }, exportAs: ["gtrTimeElement"], ngImport: i0 }); }
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimeElementDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
9
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: GtrTimeElementDirective, isStandalone: true, selector: "[gtrTimeElement]", inputs: { gtrTimeElement: "gtrTimeElement" }, exportAs: ["gtrTimeElement"], ngImport: i0 }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimeElementDirective, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimeElementDirective, decorators: [{
12
12
  type: Directive,
13
13
  args: [{
14
14
  selector: '[gtrTimeElement]',
@@ -78,10 +78,10 @@ export class GtrTimePickerRollColComponent {
78
78
  trackByElement(index, element) {
79
79
  return element.value;
80
80
  }
81
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimePickerRollColComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
82
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.11", type: GtrTimePickerRollColComponent, isStandalone: true, selector: "gtr-time-picker-roll-col", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "timeElements", predicate: GtrTimeElementDirective, descendants: true }], exportAs: ["gtrTimePickerRollCol"], usesOnChanges: true, ngImport: i0, template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n}\n", dependencies: [{ kind: "directive", type: GtrTimeElementDirective, selector: "[gtrTimeElement]", inputs: ["gtrTimeElement"], exportAs: ["gtrTimeElement"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
81
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollColComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
82
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: GtrTimePickerRollColComponent, isStandalone: true, selector: "gtr-time-picker-roll-col", inputs: { disabled: "disabled", elements: "elements", onClick: "onClick", selected: "selected", refresh: "refresh" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class": "this.hostClasses" } }, viewQueries: [{ propertyName: "timeElements", predicate: GtrTimeElementDirective, descendants: true }], exportAs: ["gtrTimePickerRollCol"], usesOnChanges: true, ngImport: i0, template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n}\n", dependencies: [{ kind: "directive", type: GtrTimeElementDirective, selector: "[gtrTimeElement]", inputs: ["gtrTimeElement"], exportAs: ["gtrTimeElement"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GtrTimePickerRollColComponent, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: GtrTimePickerRollColComponent, decorators: [{
85
85
  type: Component,
86
86
  args: [{ selector: 'gtr-time-picker-roll-col', exportAs: 'gtrTimePickerRollCol', standalone: true, imports: [GtrTimeElementDirective, NgClass, NgStyle], template: "@for (element of elements; track trackByElement; let i = $index) {\n <div (click)=\"handleElementClick($event, element)\"\n [attr.disabled]=\"element.disabled || null\"\n [gtrTimeElement]=\"element\"\n [ngClass]=\"{'time-picker-roll-cell': true, selected: element.value === selected, disabled: element.disabled}\"\n [ngStyle]=\"{'width': 'fit-content'}\"\n role=\"button\"\n>\n {{element.label}}\n</div>\n}\n" }]
87
87
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { disabled: [{