ngx-tethys 19.0.3 → 19.0.5

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 (167) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/calendar/calendar-header.component.d.ts +3 -2
  3. package/color-picker/color-picker.component.d.ts +15 -3
  4. package/date-picker/abstract-picker.component.d.ts +6 -1
  5. package/date-picker/base-picker.component.d.ts +1 -1
  6. package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
  7. package/date-picker/lib/calendar/calendar-table.component.d.ts +4 -3
  8. package/date-picker/lib/popups/date-popup.component.d.ts +2 -1
  9. package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
  10. package/date-picker/picker.component.d.ts +4 -3
  11. package/date-picker/picker.util.d.ts +5 -5
  12. package/fesm2022/ngx-tethys-action.mjs +11 -12
  13. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  14. package/fesm2022/ngx-tethys-affix.mjs +8 -9
  15. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  16. package/fesm2022/ngx-tethys-alert.mjs +11 -12
  17. package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
  18. package/fesm2022/ngx-tethys-anchor.mjs +10 -10
  19. package/fesm2022/ngx-tethys-arrow-switcher.mjs +7 -7
  20. package/fesm2022/ngx-tethys-autocomplete.mjs +17 -18
  21. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  22. package/fesm2022/ngx-tethys-avatar.mjs +25 -28
  23. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  24. package/fesm2022/ngx-tethys-back-top.mjs +7 -7
  25. package/fesm2022/ngx-tethys-badge.mjs +7 -7
  26. package/fesm2022/ngx-tethys-breadcrumb.mjs +10 -10
  27. package/fesm2022/ngx-tethys-button.mjs +14 -15
  28. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  29. package/fesm2022/ngx-tethys-calendar.mjs +18 -20
  30. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  31. package/fesm2022/ngx-tethys-card.mjs +15 -17
  32. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  33. package/fesm2022/ngx-tethys-carousel.mjs +14 -15
  34. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  35. package/fesm2022/ngx-tethys-cascader.mjs +16 -16
  36. package/fesm2022/ngx-tethys-checkbox.mjs +7 -7
  37. package/fesm2022/ngx-tethys-collapse.mjs +11 -12
  38. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  39. package/fesm2022/ngx-tethys-color-picker.mjs +34 -36
  40. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  41. package/fesm2022/ngx-tethys-comment.mjs +15 -17
  42. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  43. package/fesm2022/ngx-tethys-copy.mjs +8 -9
  44. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  45. package/fesm2022/ngx-tethys-core.mjs +21 -22
  46. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  47. package/fesm2022/ngx-tethys-date-picker.mjs +231 -247
  48. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  49. package/fesm2022/ngx-tethys-date-range.mjs +10 -10
  50. package/fesm2022/ngx-tethys-dialog.mjs +22 -23
  51. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  52. package/fesm2022/ngx-tethys-divider.mjs +7 -7
  53. package/fesm2022/ngx-tethys-dot.mjs +8 -9
  54. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  55. package/fesm2022/ngx-tethys-drag-drop.mjs +23 -27
  56. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  57. package/fesm2022/ngx-tethys-dropdown.mjs +58 -70
  58. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  59. package/fesm2022/ngx-tethys-empty.mjs +10 -10
  60. package/fesm2022/ngx-tethys-flexible-text.mjs +8 -8
  61. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  62. package/fesm2022/ngx-tethys-form.mjs +47 -54
  63. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  64. package/fesm2022/ngx-tethys-fullscreen.mjs +15 -16
  65. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  66. package/fesm2022/ngx-tethys-grid.mjs +35 -41
  67. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  68. package/fesm2022/ngx-tethys-guider.mjs +17 -18
  69. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  70. package/fesm2022/ngx-tethys-i18n.mjs +20 -8
  71. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  72. package/fesm2022/ngx-tethys-icon.mjs +11 -12
  73. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  74. package/fesm2022/ngx-tethys-image.mjs +18 -20
  75. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  76. package/fesm2022/ngx-tethys-input-number.mjs +7 -7
  77. package/fesm2022/ngx-tethys-input.mjs +21 -23
  78. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  79. package/fesm2022/ngx-tethys-layout.mjs +73 -88
  80. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  81. package/fesm2022/ngx-tethys-list.mjs +19 -22
  82. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  83. package/fesm2022/ngx-tethys-loading.mjs +7 -7
  84. package/fesm2022/ngx-tethys-mention.mjs +11 -12
  85. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  86. package/fesm2022/ngx-tethys-menu.mjs +30 -30
  87. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  88. package/fesm2022/ngx-tethys-message.mjs +22 -22
  89. package/fesm2022/ngx-tethys-nav.mjs +26 -29
  90. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  91. package/fesm2022/ngx-tethys-notify.mjs +16 -16
  92. package/fesm2022/ngx-tethys-pagination.mjs +15 -17
  93. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  94. package/fesm2022/ngx-tethys-popover.mjs +21 -23
  95. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  96. package/fesm2022/ngx-tethys-progress.mjs +13 -13
  97. package/fesm2022/ngx-tethys-property-operation.mjs +11 -11
  98. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  99. package/fesm2022/ngx-tethys-property.mjs +11 -11
  100. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  101. package/fesm2022/ngx-tethys-radio.mjs +15 -15
  102. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  103. package/fesm2022/ngx-tethys-rate.mjs +10 -10
  104. package/fesm2022/ngx-tethys-resizable.mjs +17 -18
  105. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  106. package/fesm2022/ngx-tethys-result.mjs +7 -7
  107. package/fesm2022/ngx-tethys-segment.mjs +10 -10
  108. package/fesm2022/ngx-tethys-select.mjs +10 -10
  109. package/fesm2022/ngx-tethys-shared.mjs +80 -93
  110. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  111. package/fesm2022/ngx-tethys-skeleton.mjs +23 -24
  112. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  113. package/fesm2022/ngx-tethys-slide.mjs +36 -41
  114. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  115. package/fesm2022/ngx-tethys-slider.mjs +7 -7
  116. package/fesm2022/ngx-tethys-space.mjs +11 -12
  117. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  118. package/fesm2022/ngx-tethys-statistic.mjs +7 -7
  119. package/fesm2022/ngx-tethys-stepper.mjs +22 -24
  120. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  121. package/fesm2022/ngx-tethys-strength.mjs +8 -8
  122. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  123. package/fesm2022/ngx-tethys-switch.mjs +7 -7
  124. package/fesm2022/ngx-tethys-table.mjs +22 -25
  125. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  126. package/fesm2022/ngx-tethys-tabs.mjs +14 -15
  127. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  128. package/fesm2022/ngx-tethys-tag.mjs +12 -13
  129. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  130. package/fesm2022/ngx-tethys-time-picker.mjs +58 -56
  131. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  132. package/fesm2022/ngx-tethys-timeline.mjs +13 -13
  133. package/fesm2022/ngx-tethys-tooltip.mjs +14 -15
  134. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  135. package/fesm2022/ngx-tethys-transfer.mjs +10 -10
  136. package/fesm2022/ngx-tethys-tree-select.mjs +10 -10
  137. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  138. package/fesm2022/ngx-tethys-tree.mjs +17 -18
  139. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  140. package/fesm2022/ngx-tethys-typography.mjs +15 -17
  141. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  142. package/fesm2022/ngx-tethys-upload.mjs +18 -19
  143. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  144. package/fesm2022/ngx-tethys-util.mjs +419 -391
  145. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  146. package/fesm2022/ngx-tethys-vote.mjs +7 -7
  147. package/fesm2022/ngx-tethys-watermark.mjs +8 -9
  148. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  149. package/fesm2022/ngx-tethys.mjs +1 -1
  150. package/fesm2022/ngx-tethys.mjs.map +1 -1
  151. package/i18n/locale.d.ts +7 -1
  152. package/icon/index.d.ts +1 -1
  153. package/layout/header.component.d.ts +6 -18
  154. package/package.json +2 -1
  155. package/popover/popover.directive.d.ts +6 -2
  156. package/resizable/resizable.directive.d.ts +21 -3
  157. package/schematics/version.d.ts +1 -1
  158. package/schematics/version.js +1 -1
  159. package/table/table-column.component.d.ts +5 -30
  160. package/tag/tag.component.d.ts +2 -4
  161. package/time-picker/inner/inner-time-picker.component.d.ts +3 -1
  162. package/time-picker/inner/inner-time-picker.store.d.ts +5 -5
  163. package/time-picker/time-picker.component.d.ts +2 -2
  164. package/time-picker/time-picker.utils.d.ts +5 -5
  165. package/tooltip/tooltip.directive.d.ts +2 -10
  166. package/tree-select/tree-select.component.d.ts +2 -2
  167. package/util/helpers/helpers.d.ts +1 -0
@@ -38,10 +38,10 @@ class OptionalDateRanges {
38
38
  };
39
39
  this.selectedDateRange(this.selectedDate);
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OptionalDateRanges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: OptionalDateRanges, isStandalone: true, selector: "date-range-optional", ngImport: i0, template: "@if (!hiddenMenu) {\n <thy-dropdown-menu thyImmediateRender class=\"thy-date-range-dropdown-menu-container\">\n @for (dateRange of optionalDateRanges; track $index) {\n <a thyDropdownMenuItem href=\"javascript:;\" (click)=\"_selectDateRange(dateRange)\">\n <span thyDropdownMenuItemName>{{ dateRange?.text }}</span>\n @if (dateRange.key === selectedDate?.key) {\n <span thyDropdownMenuItemExtendIcon>\n <thy-icon class=\"text-primary\" thyIconName=\"check\"></thy-icon>\n </span>\n }\n </a>\n }\n <a\n thyDropdownMenuItem\n href=\"javascript:;\"\n thyRangePicker\n [(ngModel)]=\"selectedDate\"\n [thyMinDate]=\"minDate\"\n [thyMaxDate]=\"maxDate\"\n [thyDisabledDate]=\"disabledDate\"\n (ngModelChange)=\"_selectedCustomDate($event)\"\n (thyOnCalendarChange)=\"calendarChange($event)\">\n <span thyDropdownMenuItemName>{{ customValue }}</span>\n @if (customKey === selectedDate?.key) {\n <span thyDropdownMenuItemExtendIcon>\n <thy-icon class=\"text-primary\" thyIconName=\"check\"></thy-icon>\n </span>\n }\n </a>\n </thy-dropdown-menu>\n}\n", dependencies: [{ kind: "component", type: ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth", "thyImmediateRender"] }, { kind: "directive", type: ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: ThyDropdownMenuItemExtendIconDirective, selector: "[thyDropdownMenuItemExtendIcon]" }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: ThyRangePickerDirective, selector: "[thyRangePicker]", exportAs: ["thyRangePicker"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: OptionalDateRanges, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: OptionalDateRanges, isStandalone: true, selector: "date-range-optional", ngImport: i0, template: "@if (!hiddenMenu) {\n <thy-dropdown-menu thyImmediateRender class=\"thy-date-range-dropdown-menu-container\">\n @for (dateRange of optionalDateRanges; track $index) {\n <a thyDropdownMenuItem href=\"javascript:;\" (click)=\"_selectDateRange(dateRange)\">\n <span thyDropdownMenuItemName>{{ dateRange?.text }}</span>\n @if (dateRange.key === selectedDate?.key) {\n <span thyDropdownMenuItemExtendIcon>\n <thy-icon class=\"text-primary\" thyIconName=\"check\"></thy-icon>\n </span>\n }\n </a>\n }\n <a\n thyDropdownMenuItem\n href=\"javascript:;\"\n thyRangePicker\n [(ngModel)]=\"selectedDate\"\n [thyMinDate]=\"minDate\"\n [thyMaxDate]=\"maxDate\"\n [thyDisabledDate]=\"disabledDate\"\n (ngModelChange)=\"_selectedCustomDate($event)\"\n (thyOnCalendarChange)=\"calendarChange($event)\">\n <span thyDropdownMenuItemName>{{ customValue }}</span>\n @if (customKey === selectedDate?.key) {\n <span thyDropdownMenuItemExtendIcon>\n <thy-icon class=\"text-primary\" thyIconName=\"check\"></thy-icon>\n </span>\n }\n </a>\n </thy-dropdown-menu>\n}\n", dependencies: [{ kind: "component", type: ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth", "thyImmediateRender"] }, { kind: "directive", type: ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: ThyDropdownMenuItemNameDirective, selector: "[thyDropdownMenuItemName]" }, { kind: "directive", type: ThyDropdownMenuItemExtendIconDirective, selector: "[thyDropdownMenuItemExtendIcon]" }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: ThyRangePickerDirective, selector: "[thyRangePicker]", exportAs: ["thyRangePicker"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: OptionalDateRanges, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: OptionalDateRanges, decorators: [{
45
45
  type: Component,
46
46
  args: [{ selector: 'date-range-optional', imports: [
47
47
  ThyDropdownMenuComponent,
@@ -276,10 +276,10 @@ class ThyDateRange {
276
276
  }
277
277
  });
278
278
  }
279
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDateRange, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
280
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: ThyDateRange, isStandalone: true, selector: "thy-date-range", inputs: { thyOptionalDateRanges: "thyOptionalDateRanges", thyHiddenMenu: ["thyHiddenMenu", "thyHiddenMenu", coerceBooleanProperty], thyDisabledSwitch: ["thyDisabledSwitch", "thyDisabledSwitch", coerceBooleanProperty], thyCustomTextValue: "thyCustomTextValue", thyMinDate: "thyMinDate", thyMaxDate: "thyMaxDate", thyCustomKey: "thyCustomKey", thyPickerFormat: "thyPickerFormat", thyDisabledDate: "thyDisabledDate", thySeparator: "thySeparator" }, outputs: { thyOnCalendarChange: "thyOnCalendarChange" }, providers: [INPUT_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<div class=\"thy-date-range-container\">\n @if (!thyDisabledSwitch) {\n <a thyAction thyIcon=\"angle-left\" href=\"javascript:;\" (click)=\"previous()\"></a>\n }\n <span\n href=\"javascript:;\"\n (click)=\"openOptionalDateRangesMenu($event)\"\n class=\"thy-date-range-text\"\n [ngClass]=\"{ 'thy-date-range-disabled': thyHiddenMenu }\">\n @if (selectedDate?.key === 'custom') {\n {{ selectedDate?.begin | thyDatePickerFormat }}{{ separator() }}{{ selectedDate?.end | thyDatePickerFormat }}\n }\n @if (selectedDate?.key === 'exception') {\n {{ selectedDate?.begin | thyDatePickerFormat: thyPickerFormat }}\n }\n @if (selectedDate?.key !== 'custom' && selectedDate?.key !== 'exception') {\n {{ selectedDate?.text }}\n }\n @if (!thyHiddenMenu) {\n <thy-icon class=\"thy-date-range-text-caret-down ml-2\" thyIconName=\"angle-down\"></thy-icon>\n }\n </span>\n @if (!thyDisabledSwitch) {\n <a thyAction thyIcon=\"angle-right\" href=\"javascript:;\" (click)=\"next()\"></a>\n }\n</div>\n", dependencies: [{ kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: ThyDatePickerFormatPipe, name: "thyDatePickerFormat" }] }); }
279
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDateRange, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
280
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: ThyDateRange, isStandalone: true, selector: "thy-date-range", inputs: { thyOptionalDateRanges: "thyOptionalDateRanges", thyHiddenMenu: ["thyHiddenMenu", "thyHiddenMenu", coerceBooleanProperty], thyDisabledSwitch: ["thyDisabledSwitch", "thyDisabledSwitch", coerceBooleanProperty], thyCustomTextValue: "thyCustomTextValue", thyMinDate: "thyMinDate", thyMaxDate: "thyMaxDate", thyCustomKey: "thyCustomKey", thyPickerFormat: "thyPickerFormat", thyDisabledDate: "thyDisabledDate", thySeparator: "thySeparator" }, outputs: { thyOnCalendarChange: "thyOnCalendarChange" }, providers: [INPUT_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<div class=\"thy-date-range-container\">\n @if (!thyDisabledSwitch) {\n <a thyAction thyIcon=\"angle-left\" href=\"javascript:;\" (click)=\"previous()\"></a>\n }\n <span\n href=\"javascript:;\"\n (click)=\"openOptionalDateRangesMenu($event)\"\n class=\"thy-date-range-text\"\n [ngClass]=\"{ 'thy-date-range-disabled': thyHiddenMenu }\">\n @if (selectedDate?.key === 'custom') {\n {{ selectedDate?.begin | thyDatePickerFormat }}{{ separator() }}{{ selectedDate?.end | thyDatePickerFormat }}\n }\n @if (selectedDate?.key === 'exception') {\n {{ selectedDate?.begin | thyDatePickerFormat: thyPickerFormat }}\n }\n @if (selectedDate?.key !== 'custom' && selectedDate?.key !== 'exception') {\n {{ selectedDate?.text }}\n }\n @if (!thyHiddenMenu) {\n <thy-icon class=\"thy-date-range-text-caret-down ml-2\" thyIconName=\"angle-down\"></thy-icon>\n }\n </span>\n @if (!thyDisabledSwitch) {\n <a thyAction thyIcon=\"angle-right\" href=\"javascript:;\" (click)=\"next()\"></a>\n }\n</div>\n", dependencies: [{ kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: ThyDatePickerFormatPipe, name: "thyDatePickerFormat" }] }); }
281
281
  }
282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDateRange, decorators: [{
282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDateRange, decorators: [{
283
283
  type: Component,
284
284
  args: [{ selector: 'thy-date-range', providers: [INPUT_CONTROL_VALUE_ACCESSOR], imports: [ThyAction, ThyIcon, NgClass, ThyDatePickerFormatPipe], template: "<div class=\"thy-date-range-container\">\n @if (!thyDisabledSwitch) {\n <a thyAction thyIcon=\"angle-left\" href=\"javascript:;\" (click)=\"previous()\"></a>\n }\n <span\n href=\"javascript:;\"\n (click)=\"openOptionalDateRangesMenu($event)\"\n class=\"thy-date-range-text\"\n [ngClass]=\"{ 'thy-date-range-disabled': thyHiddenMenu }\">\n @if (selectedDate?.key === 'custom') {\n {{ selectedDate?.begin | thyDatePickerFormat }}{{ separator() }}{{ selectedDate?.end | thyDatePickerFormat }}\n }\n @if (selectedDate?.key === 'exception') {\n {{ selectedDate?.begin | thyDatePickerFormat: thyPickerFormat }}\n }\n @if (selectedDate?.key !== 'custom' && selectedDate?.key !== 'exception') {\n {{ selectedDate?.text }}\n }\n @if (!thyHiddenMenu) {\n <thy-icon class=\"thy-date-range-text-caret-down ml-2\" thyIconName=\"angle-down\"></thy-icon>\n }\n </span>\n @if (!thyDisabledSwitch) {\n <a thyAction thyIcon=\"angle-right\" href=\"javascript:;\" (click)=\"next()\"></a>\n }\n</div>\n" }]
285
285
  }], propDecorators: { thyOptionalDateRanges: [{
@@ -309,8 +309,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
309
309
  }] } });
310
310
 
311
311
  class ThyDateRangeModule {
312
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
313
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: ThyDateRangeModule, imports: [CommonModule,
312
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
313
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ThyDateRangeModule, imports: [CommonModule,
314
314
  FormsModule,
315
315
  ThyDropdownModule,
316
316
  ThySharedModule,
@@ -319,7 +319,7 @@ class ThyDateRangeModule {
319
319
  ThyNavModule,
320
320
  ThyDateRange,
321
321
  OptionalDateRanges], exports: [ThyDateRange] }); }
322
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDateRangeModule, imports: [CommonModule,
322
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDateRangeModule, imports: [CommonModule,
323
323
  FormsModule,
324
324
  ThyDropdownModule,
325
325
  ThySharedModule,
@@ -329,7 +329,7 @@ class ThyDateRangeModule {
329
329
  ThyDateRange,
330
330
  OptionalDateRanges] }); }
331
331
  }
332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDateRangeModule, decorators: [{
332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDateRangeModule, decorators: [{
333
333
  type: NgModule,
334
334
  args: [{
335
335
  imports: [
@@ -231,10 +231,10 @@ class ThyDialogContainer extends ThyAbstractOverlayContainer {
231
231
  ngOnDestroy() {
232
232
  super.destroy();
233
233
  }
234
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
235
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: ThyDialogContainer, isStandalone: true, selector: "thy-dialog-container", host: { attributes: { "tabindex": "-1", "aria-modal": "true" }, listeners: { "@dialogContainer.start": "onAnimationStart($event)", "@dialogContainer.done": "onAnimationDone($event)" }, properties: { "attr.id": "this.id", "attr.role": "config.role", "attr.aria-labelledby": "config.ariaLabel ? null : ariaLabelledBy", "attr.aria-label": "config.ariaLabel", "attr.aria-describedby": "config.ariaDescribedBy || null", "@dialogContainer": "animationState" }, classAttribute: "thy-dialog-container" }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: ThyPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template thyPortalOutlet></ng-template> `, isInline: true, dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: ThyPortalOutlet, selector: "[thyPortalOutlet]", inputs: ["thyPortalOutlet"], exportAs: ["thyPortalOutlet"] }], animations: [thyDialogAnimations.dialogContainer], changeDetection: i0.ChangeDetectionStrategy.Default }); }
234
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
235
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ThyDialogContainer, isStandalone: true, selector: "thy-dialog-container", host: { attributes: { "tabindex": "-1", "aria-modal": "true" }, listeners: { "@dialogContainer.start": "onAnimationStart($event)", "@dialogContainer.done": "onAnimationDone($event)" }, properties: { "attr.id": "this.id", "attr.role": "config.role", "attr.aria-labelledby": "config.ariaLabel ? null : ariaLabelledBy", "attr.aria-label": "config.ariaLabel", "attr.aria-describedby": "config.ariaDescribedBy || null", "@dialogContainer": "animationState" }, classAttribute: "thy-dialog-container" }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: ThyPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template thyPortalOutlet></ng-template> `, isInline: true, dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: ThyPortalOutlet, selector: "[thyPortalOutlet]", inputs: ["thyPortalOutlet"], exportAs: ["thyPortalOutlet"] }], animations: [thyDialogAnimations.dialogContainer], changeDetection: i0.ChangeDetectionStrategy.Default }); }
236
236
  }
237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogContainer, decorators: [{
237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogContainer, decorators: [{
238
238
  type: Component,
239
239
  args: [{
240
240
  selector: 'thy-dialog-container',
@@ -424,10 +424,10 @@ class ThyDialog extends ThyAbstractOverlayService {
424
424
  ngOnDestroy() {
425
425
  this.dispose();
426
426
  }
427
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
428
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialog }); }
427
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
428
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialog }); }
429
429
  }
430
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialog, decorators: [{
430
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialog, decorators: [{
431
431
  type: Injectable
432
432
  }], ctorParameters: () => [] });
433
433
 
@@ -450,17 +450,16 @@ class ThyDialogBody {
450
450
  this.thyClearPaddingClassName = value;
451
451
  }
452
452
  ngOnInit() { }
453
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogBody, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
454
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.4", type: ThyDialogBody, isStandalone: true, selector: "thy-dialog-body", inputs: { thyClearPadding: ["thyClearPadding", "thyClearPadding", coerceBooleanProperty] }, host: { properties: { "class.dialog-body": "this._isDialogBody", "class.dialog-body-clear-padding": "this.thyClearPaddingClassName" } }, exportAs: ["thyDialogBody"], hostDirectives: [{ directive: i1.CdkScrollable }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
453
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogBody, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
454
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.6", type: ThyDialogBody, isStandalone: true, selector: "thy-dialog-body", inputs: { thyClearPadding: ["thyClearPadding", "thyClearPadding", coerceBooleanProperty] }, host: { properties: { "class.dialog-body": "this._isDialogBody", "class.dialog-body-clear-padding": "this.thyClearPaddingClassName" } }, exportAs: ["thyDialogBody"], hostDirectives: [{ directive: i1.CdkScrollable }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
455
455
  }
456
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogBody, decorators: [{
456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogBody, decorators: [{
457
457
  type: Component,
458
458
  args: [{
459
459
  selector: 'thy-dialog-body',
460
460
  template: '<ng-content></ng-content>',
461
461
  // changeDetection: ChangeDetectionStrategy.OnPush,
462
462
  exportAs: 'thyDialogBody',
463
- standalone: true,
464
463
  hostDirectives: [CdkScrollable]
465
464
  }]
466
465
  }], propDecorators: { _isDialogBody: [{
@@ -551,10 +550,10 @@ class ThyDialogHeader {
551
550
  this.dialog.close();
552
551
  }
553
552
  }
554
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
555
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: ThyDialogHeader, isStandalone: true, selector: "thy-dialog-header", inputs: { thyTitle: "thyTitle", thySize: "thySize", thyDivided: ["thyDivided", "thyDivided", coerceBooleanProperty], thyTitleTranslationKey: "thyTitleTranslationKey", thyIcon: "thyIcon" }, outputs: { thyOnClose: "thyOnClose" }, host: { properties: { "class.thy-dialog-header-lg": "thySize === 'lg'", "class.thy-dialog-header-divided": "thyDivided" }, classAttribute: "dialog-header thy-dialog-header" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["dialogHeader"], descendants: true }], exportAs: ["thyDialogHeader"], ngImport: i0, template: "@if (headerTemplate) {\n <template [ngTemplateOutlet]=\"headerTemplate\"></template>\n} @else {\n <h3 class=\"dialog-title\"><thy-icon [thyIconName]=\"thyIcon\"></thy-icon>{{ thyTitle }}</h3>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"close($event)\"></a>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] }); }
553
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
554
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: ThyDialogHeader, isStandalone: true, selector: "thy-dialog-header", inputs: { thyTitle: "thyTitle", thySize: "thySize", thyDivided: ["thyDivided", "thyDivided", coerceBooleanProperty], thyTitleTranslationKey: "thyTitleTranslationKey", thyIcon: "thyIcon" }, outputs: { thyOnClose: "thyOnClose" }, host: { properties: { "class.thy-dialog-header-lg": "thySize === 'lg'", "class.thy-dialog-header-divided": "thyDivided" }, classAttribute: "dialog-header thy-dialog-header" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["dialogHeader"], descendants: true }], exportAs: ["thyDialogHeader"], ngImport: i0, template: "@if (headerTemplate) {\n <template [ngTemplateOutlet]=\"headerTemplate\"></template>\n} @else {\n <h3 class=\"dialog-title\"><thy-icon [thyIconName]=\"thyIcon\"></thy-icon>{{ thyTitle }}</h3>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"close($event)\"></a>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] }); }
556
555
  }
557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogHeader, decorators: [{
556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogHeader, decorators: [{
558
557
  type: Component,
559
558
  args: [{ selector: 'thy-dialog-header', exportAs: 'thyDialogHeader', host: {
560
559
  class: 'dialog-header thy-dialog-header',
@@ -633,10 +632,10 @@ class ThyConfirm {
633
632
  this.dialogRef.close();
634
633
  }
635
634
  ngOnDestroy() { }
636
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyConfirm, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
637
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.4", type: ThyConfirm, isStandalone: true, selector: "thy-confirm-default", inputs: { options: "options" }, ngImport: i0, template: "<thy-dialog-header [thyTitle]=\"title || 'Install Angular'\" (thyOnClose)=\"close()\"> </thy-dialog-header>\n<thy-dialog-body class=\"thy-form\">\n <form thyForm name=\"thyConfirm\" thyLayout=\"vertical\">\n <div class=\"form-group\">\n <p [innerHTML]=\"content\"></p>\n </div>\n <thy-form-group-footer [thyAlign]=\"footerAlign\">\n <div class=\"thy-confirm-footer\" [ngClass]=\"'thy-confirm-footer-' + footerAlign\">\n <button [thyButton]=\"okType\" (click)=\"confirm()\" [thyLoading]=\"loading\" [thyLoadingText]=\"okLoadingText\">{{ okText }}</button>\n <button thyButton=\"link-secondary\" (click)=\"close()\" class=\"thy-confirm-cancel\">{{ cancelText }}</button>\n </div>\n </thy-form-group-footer>\n </form>\n</thy-dialog-body>\n", dependencies: [{ kind: "component", type: ThyDialogHeader, selector: "thy-dialog-header", inputs: ["thyTitle", "thySize", "thyDivided", "thyTitleTranslationKey", "thyIcon"], outputs: ["thyOnClose"], exportAs: ["thyDialogHeader"] }, { kind: "component", type: ThyDialogBody, selector: "thy-dialog-body", inputs: ["thyClearPadding"], exportAs: ["thyDialogBody"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: ThyFormDirective, selector: "[thyForm],[thy-form]", inputs: ["thyLayout", "thyEnterKeyMode", "thyFormValidatorConfig"], exportAs: ["thyForm"] }, { kind: "component", type: ThyFormGroupFooter, selector: "thy-form-group-footer", inputs: ["thyAlign"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ThyButton, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thyBlock"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
635
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyConfirm, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
636
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: ThyConfirm, isStandalone: true, selector: "thy-confirm-default", inputs: { options: "options" }, ngImport: i0, template: "<thy-dialog-header [thyTitle]=\"title || 'Install Angular'\" (thyOnClose)=\"close()\"> </thy-dialog-header>\n<thy-dialog-body class=\"thy-form\">\n <form thyForm name=\"thyConfirm\" thyLayout=\"vertical\">\n <div class=\"form-group\">\n <p [innerHTML]=\"content\"></p>\n </div>\n <thy-form-group-footer [thyAlign]=\"footerAlign\">\n <div class=\"thy-confirm-footer\" [ngClass]=\"'thy-confirm-footer-' + footerAlign\">\n <button [thyButton]=\"okType\" (click)=\"confirm()\" [thyLoading]=\"loading\" [thyLoadingText]=\"okLoadingText\">{{ okText }}</button>\n <button thyButton=\"link-secondary\" (click)=\"close()\" class=\"thy-confirm-cancel\">{{ cancelText }}</button>\n </div>\n </thy-form-group-footer>\n </form>\n</thy-dialog-body>\n", dependencies: [{ kind: "component", type: ThyDialogHeader, selector: "thy-dialog-header", inputs: ["thyTitle", "thySize", "thyDivided", "thyTitleTranslationKey", "thyIcon"], outputs: ["thyOnClose"], exportAs: ["thyDialogHeader"] }, { kind: "component", type: ThyDialogBody, selector: "thy-dialog-body", inputs: ["thyClearPadding"], exportAs: ["thyDialogBody"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: ThyFormDirective, selector: "[thyForm],[thy-form]", inputs: ["thyLayout", "thyEnterKeyMode", "thyFormValidatorConfig"], exportAs: ["thyForm"] }, { kind: "component", type: ThyFormGroupFooter, selector: "thy-form-group-footer", inputs: ["thyAlign"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ThyButton, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thyBlock"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
638
637
  }
639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyConfirm, decorators: [{
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyConfirm, decorators: [{
640
639
  type: Component,
641
640
  args: [{ selector: 'thy-confirm-default', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ThyDialogHeader, ThyDialogBody, FormsModule, ThyFormDirective, ThyFormGroupFooter, NgClass, ThyButton], template: "<thy-dialog-header [thyTitle]=\"title || 'Install Angular'\" (thyOnClose)=\"close()\"> </thy-dialog-header>\n<thy-dialog-body class=\"thy-form\">\n <form thyForm name=\"thyConfirm\" thyLayout=\"vertical\">\n <div class=\"form-group\">\n <p [innerHTML]=\"content\"></p>\n </div>\n <thy-form-group-footer [thyAlign]=\"footerAlign\">\n <div class=\"thy-confirm-footer\" [ngClass]=\"'thy-confirm-footer-' + footerAlign\">\n <button [thyButton]=\"okType\" (click)=\"confirm()\" [thyLoading]=\"loading\" [thyLoadingText]=\"okLoadingText\">{{ okText }}</button>\n <button thyButton=\"link-secondary\" (click)=\"close()\" class=\"thy-confirm-cancel\">{{ cancelText }}</button>\n </div>\n </thy-form-group-footer>\n </form>\n</thy-dialog-body>\n" }]
642
641
  }], ctorParameters: () => [], propDecorators: { options: [{
@@ -672,10 +671,10 @@ class ThyDialogFooter {
672
671
  'dialog-footer-border-top': this.divided
673
672
  });
674
673
  }
675
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogFooter, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
676
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: ThyDialogFooter, isStandalone: true, selector: "thy-dialog-footer", inputs: { thyDivided: ["thyDivided", "thyDivided", coerceBooleanProperty], thyAlign: "thyAlign" }, queries: [{ propertyName: "description", first: true, predicate: ["description"], descendants: true }], exportAs: ["thyDialogFooter"], ngImport: i0, template: "<div class=\"dialog-footer-actions btn-pair\">\n <ng-content></ng-content>\n</div>\n@if (description) {\n <div class=\"dialog-footer-description\">\n <ng-container [ngTemplateOutlet]=\"description\"></ng-container>\n </div>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
674
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogFooter, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
675
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: ThyDialogFooter, isStandalone: true, selector: "thy-dialog-footer", inputs: { thyDivided: ["thyDivided", "thyDivided", coerceBooleanProperty], thyAlign: "thyAlign" }, queries: [{ propertyName: "description", first: true, predicate: ["description"], descendants: true }], exportAs: ["thyDialogFooter"], ngImport: i0, template: "<div class=\"dialog-footer-actions btn-pair\">\n <ng-content></ng-content>\n</div>\n@if (description) {\n <div class=\"dialog-footer-description\">\n <ng-container [ngTemplateOutlet]=\"description\"></ng-container>\n </div>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
677
676
  }
678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogFooter, decorators: [{
677
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogFooter, decorators: [{
679
678
  type: Component,
680
679
  args: [{ selector: 'thy-dialog-footer', exportAs: 'thyDialogFooter', imports: [NgTemplateOutlet], template: "<div class=\"dialog-footer-actions btn-pair\">\n <ng-content></ng-content>\n</div>\n@if (description) {\n <div class=\"dialog-footer-description\">\n <ng-container [ngTemplateOutlet]=\"description\"></ng-container>\n </div>\n}\n" }]
681
680
  }], ctorParameters: () => [], propDecorators: { description: [{
@@ -689,8 +688,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
689
688
  }] } });
690
689
 
691
690
  class ThyDialogModule {
692
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
693
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogModule, imports: [CommonModule,
691
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
692
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogModule, imports: [CommonModule,
694
693
  ThySharedModule,
695
694
  PortalModule,
696
695
  OverlayModule,
@@ -704,7 +703,7 @@ class ThyDialogModule {
704
703
  ThyDialogBody,
705
704
  ThyDialogFooter,
706
705
  ThyConfirm], exports: [ThyDialogContainer, ThyDialogHeader, ThyDialogBody, ThyDialogFooter] }); }
707
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogModule, providers: [
706
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogModule, providers: [
708
707
  ThyDialog,
709
708
  THY_DIALOG_DEFAULT_OPTIONS_PROVIDER,
710
709
  THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER,
@@ -726,7 +725,7 @@ class ThyDialogModule {
726
725
  ThyDialogHeader,
727
726
  ThyConfirm] }); }
728
727
  }
729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDialogModule, decorators: [{
728
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDialogModule, decorators: [{
730
729
  type: NgModule,
731
730
  args: [{
732
731
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-dialog.mjs","sources":["../../../src/dialog/confirm/token.ts","../../../src/dialog/dialog-animations.ts","../../../src/dialog/dialog.config.ts","../../../src/dialog/dialog.options.ts","../../../src/dialog/dialog-container.component.ts","../../../src/dialog/dialog-ref.ts","../../../src/dialog/dialog.service.ts","../../../src/dialog/body/dialog-body.component.ts","../../../src/dialog/confirm.config.ts","../../../src/dialog/header/dialog-header.component.ts","../../../src/dialog/header/dialog-header.component.html","../../../src/dialog/confirm/confirm.component.ts","../../../src/dialog/confirm/confirm.component.html","../../../src/dialog/footer/dialog-footer.component.ts","../../../src/dialog/footer/dialog-footer.component.html","../../../src/dialog/dialog.module.ts","../../../src/dialog/ngx-tethys-dialog.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface ThyConfirmAbstractComponent {\n okText: string;\n okType: string;\n cancelText: string;\n okLoadingText: string;\n}\n\nexport const THY_CONFIRM_COMPONENT_TOKEN = new InjectionToken<ThyConfirmAbstractComponent>('thy-confirm-component-token');\n","import { animate, state, style, transition, trigger, AnimationTriggerMetadata } from '@angular/animations';\n\nconst animationBody = [\n // Note: The `enter` animation transitions to `transform: none`, because for some reason\n // specifying the transform explicitly, causes IE both to blur the dialog content and\n // decimate the animation performance. Leaving it as `none` solves both issues. translate(-300px,-100px)\n state('void, exit', style({ opacity: 0, transform: 'scale(0.1)' })),\n state('enter', style({ transform: 'none' })),\n transition('* => enter', animate('200ms cubic-bezier(0, 0, 0.57, 1)', style({ transform: 'none', opacity: 1 }))),\n transition('* => exit', animate('150ms cubic-bezier(0.24, 0.18, 0.96, 0.52)', style({ transform: 'scale(0.3)', opacity: 0 })))\n];\n\n/**\n * Animations used by MatDialog.\n * @docs-private\n */\nexport const thyDialogAnimations: {\n readonly dialogContainer: AnimationTriggerMetadata;\n} = {\n dialogContainer: trigger('dialogContainer', animationBody)\n};\n\n// export const setAnimationStart\n","import { ThyAbstractOverlayConfig, ThyAbstractOverlayPosition } from 'ngx-tethys/core';\n\nimport { ScrollStrategy } from '@angular/cdk/overlay';\nimport { InjectionToken } from '@angular/core';\n\n/** Valid ARIA roles for a dialog element. */\nexport type ThyDialogRole = 'dialog' | 'alertdialog';\n\nexport enum ThyDialogSizes {\n lg = 'lg',\n /**\n * 已废弃,命名错误,请使用 superLg\n * @deprecated\n */\n supperLg = 'supper-lg',\n superLg = 'super-lg',\n maxLg = 'max-lg',\n md = 'md',\n sm = 'sm',\n full = 'full'\n}\n\n/**\n * 通过ThyDialog服务端打开模态框的配置\n * @description.en-us Configuration for opening a modal dialog with the ThyDialog service.\n * @public\n * @order 20\n */\nexport class ThyDialogConfig<TData = unknown> extends ThyAbstractOverlayConfig<TData> {\n /**\n * 对话框元素的 ARIA 角色\n * @description.en-us The ARIA role of the dialog element.\n */\n role?: ThyDialogRole = 'dialog';\n\n /**\n * 定位模态框的弹出位置\n * @description.en-us Position overrides.\n */\n position?: ThyAbstractOverlayPosition;\n\n /**\n * 模态框的大小,ThyDialogSizes: sm (400)、md (660)、lg (800)、maxLg (980)、superLg (94vw)、full (全屏)\n * @default md\n * @description.en-us Dialog size md, lg, sm\n */\n size?: ThyDialogSizes;\n\n /**\n * 用于模态框的滚动策略\n * @description.en-us Scroll strategy to be used for the dialog.\n */\n scrollStrategy?: ScrollStrategy;\n}\n\n/** Injection token that can be used to specify default dialog options. */\nexport const THY_DIALOG_DEFAULT_OPTIONS = new InjectionToken<ThyDialogConfig>('thy-dialog-default-options');\n\nexport const THY_DIALOG_DEFAULT_OPTIONS_PROVIDER = {\n provide: THY_DIALOG_DEFAULT_OPTIONS,\n useValue: {\n role: 'dialog',\n hasBackdrop: true,\n backdropClass: '',\n panelClass: '',\n backdropClosable: true,\n closeOnNavigation: true,\n autoFocus: true,\n restoreFocus: true,\n restoreFocusOptions: {\n preventScroll: true\n },\n hostClass: 'thy-dialog-content'\n }\n};\n\nexport type ThyDialogFooterAlign = 'left' | 'right' | 'center';\n\nexport class ThyDialogLayoutConfig {\n footerAlign?: ThyDialogFooterAlign;\n footerDivided?: boolean;\n}\n\nexport const THY_DIALOG_LAYOUT_CONFIG = new InjectionToken<ThyDialogLayoutConfig>('thy-dialog-layout-config');\n\nexport const THY_DIALOG_LAYOUT_CONFIG_PROVIDER = {\n provide: THY_DIALOG_LAYOUT_CONFIG,\n useValue: {\n footerAlign: 'left',\n footerDivided: false\n }\n};\n","import { ThyAbstractOverlayOptions } from 'ngx-tethys/core';\n\nexport const dialogAbstractOverlayOptions: ThyAbstractOverlayOptions = {\n name: 'dialog',\n animationEnabled: true,\n disposeWhenClose: true\n};\n","import { reqAnimFrame, ThyAbstractOverlayContainer, ThyClickPositioner, ThyPortalOutlet } from 'ngx-tethys/core';\nimport { Observable } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport { AnimationEvent } from '@angular/animations';\nimport { FocusTrap, FocusTrapFactory } from '@angular/cdk/a11y';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { DOCUMENT } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n NgZone,\n OnDestroy,\n Renderer2,\n ViewChild,\n inject\n} from '@angular/core';\n\nimport { thyDialogAnimations } from './dialog-animations';\nimport { ThyDialogConfig } from './dialog.config';\nimport { dialogAbstractOverlayOptions } from './dialog.options';\n\n/**\n * @private\n */\n@Component({\n selector: 'thy-dialog-container',\n template: ` <ng-template thyPortalOutlet></ng-template> `,\n // Using OnPush for dialogs caused some sync issues, e.g. custom ngModel can't to detect changes\n // Disabled until we can track them down.\n changeDetection: ChangeDetectionStrategy.Default,\n animations: [thyDialogAnimations.dialogContainer],\n host: {\n class: 'thy-dialog-container',\n tabindex: '-1',\n 'aria-modal': 'true',\n '[attr.id]': 'id',\n '[attr.role]': 'config.role',\n '[attr.aria-labelledby]': 'config.ariaLabel ? null : ariaLabelledBy',\n '[attr.aria-label]': 'config.ariaLabel',\n '[attr.aria-describedby]': 'config.ariaDescribedBy || null',\n '[@dialogContainer]': 'animationState',\n '(@dialogContainer.start)': 'onAnimationStart($event)',\n '(@dialogContainer.done)': 'onAnimationDone($event)'\n },\n imports: [PortalModule, ThyPortalOutlet]\n})\nexport class ThyDialogContainer extends ThyAbstractOverlayContainer implements OnDestroy {\n private elementRef = inject(ElementRef);\n private document = inject(DOCUMENT);\n config = inject(ThyDialogConfig);\n private clickPositioner = inject(ThyClickPositioner);\n private focusTrapFactory = inject(FocusTrapFactory);\n private ngZone = inject(NgZone);\n private renderer = inject(Renderer2);\n\n animationOpeningDone: Observable<AnimationEvent>;\n animationClosingDone: Observable<AnimationEvent>;\n\n @ViewChild(ThyPortalOutlet, { static: true })\n portalOutlet: ThyPortalOutlet;\n\n @HostBinding(`attr.id`)\n id: string;\n\n /** State of the dialog animation. */\n animationState: 'void' | 'enter' | 'exit' = 'void';\n\n /** Emits when an animation state changes. */\n animationStateChanged = new EventEmitter<AnimationEvent>();\n\n /** ID of the element that should be considered as the dialog's label. */\n ariaLabelledBy: string | null = null;\n\n /** Element that was focused before the dialog was opened. Save this to restore upon close. */\n private elementFocusedBeforeDialogWasOpened: HTMLElement | null = null;\n\n /** The class that traps and manages focus within the dialog. */\n private focusTrap: FocusTrap;\n\n private savePreviouslyFocusedElement() {\n if (this.document) {\n this.elementFocusedBeforeDialogWasOpened = this.document.activeElement as HTMLElement;\n\n // Note that there is no focus method when rendering on the server.\n if (this.elementRef.nativeElement.focus) {\n // Note: this is being run outside of the Angular zone because `element.focus()` doesn't require\n // running change detection.\n this.ngZone.runOutsideAngular(() =>\n // Move focus onto the dialog immediately in order to prevent the user from accidentally\n // opening multiple dialogs at the same time. Needs to be async, because the element\n // may not be focusable immediately.\n\n // Note: `element.focus()` causes re-layout and this may lead to frame drop on slower devices.\n // https://gist.github.com/paulirish/5d52fb081b3570c81e3a#setting-focus\n // `setTimeout` is a macrotask and macrotasks are executed within the current rendering frame.\n // Animation tasks are executed within the next rendering frame.\n reqAnimFrame(() => this.elementRef.nativeElement.focus())\n );\n }\n }\n }\n\n /** Moves the focus inside the focus trap. */\n private trapFocus() {\n const element = this.elementRef.nativeElement;\n\n if (!this.focusTrap) {\n this.focusTrap = this.focusTrapFactory.create(element);\n }\n\n // If we were to attempt to focus immediately, then the content of the dialog would not yet be\n // ready in instances where change detection has to run first. To deal with this, we simply\n // wait for the microtask queue to be empty.\n if (this.config.autoFocus) {\n this.focusTrap.focusInitialElementWhenReady();\n } else {\n const activeElement = this.document.activeElement;\n\n // Otherwise ensure that focus is on the dialog container. It's possible that a different\n // component tried to move focus while the open animation was running. See:\n // https://github.com/angular/components/issues/16215. Note that we only want to do this\n // if the focus isn't inside the dialog already, because it's possible that the consumer\n // turned off `autoFocus` in order to move focus themselves.\n if (activeElement !== element && !element.contains(activeElement)) {\n element.focus();\n }\n }\n }\n\n private restoreFocus() {\n const toFocus = this.elementFocusedBeforeDialogWasOpened;\n\n // We need the extra check, because IE can set the `activeElement` to null in some cases.\n if (this.config.restoreFocus && toFocus && typeof toFocus.focus === 'function') {\n toFocus.focus(this.config.restoreFocusOptions);\n }\n\n if (this.focusTrap) {\n this.focusTrap.destroy();\n }\n }\n\n private setTransformOrigin() {\n this.clickPositioner.runTaskUseLastPosition(lastPosition => {\n if (lastPosition) {\n const containerElement: HTMLElement = this.elementRef.nativeElement;\n const transformOrigin = `${lastPosition.x - containerElement.offsetLeft}px ${\n lastPosition.y - containerElement.offsetTop\n }px 0px`;\n containerElement.style.transformOrigin = transformOrigin;\n // 手动修改动画状态为从 void 到 enter, 开启动画\n }\n this.animationState = 'enter';\n this.changeDetectorRef.markForCheck();\n });\n }\n\n constructor() {\n const changeDetectorRef = inject(ChangeDetectorRef);\n\n super(dialogAbstractOverlayOptions, changeDetectorRef);\n this.animationOpeningDone = this.animationStateChanged.pipe(\n filter((event: AnimationEvent) => {\n return event.phaseName === 'done' && event.toState === 'void';\n })\n );\n this.animationClosingDone = this.animationStateChanged.pipe(\n filter((event: AnimationEvent) => {\n return event.phaseName === 'done' && event.toState === 'exit';\n })\n );\n /* Prohibit operations on elements inside the container during animation execution */\n this.animationStateChanged\n .pipe(\n filter((event: AnimationEvent) => {\n return event.phaseName === 'start' && event.toState === 'exit';\n })\n )\n .subscribe(() => {\n this.renderer.setStyle(this.elementRef.nativeElement, 'pointer-events', 'none');\n });\n }\n\n beforeAttachPortal(): void {\n this.setTransformOrigin();\n this.savePreviouslyFocusedElement();\n }\n\n /** Callback, invoked whenever an animation on the host completes. */\n onAnimationDone(event: AnimationEvent) {\n if (event.toState === 'void') {\n this.trapFocus();\n } else if (event.toState === 'exit') {\n this.restoreFocus();\n }\n this.animationStateChanged.emit(event);\n }\n\n /** Callback, invoked when an animation on the host starts. */\n onAnimationStart(event: AnimationEvent) {\n this.animationStateChanged.emit(event);\n }\n\n ngOnDestroy() {\n super.destroy();\n }\n}\n","import { GlobalPositionStrategy, OverlayRef } from '@angular/cdk/overlay';\nimport { ThyAbstractInternalOverlayRef, ThyAbstractOverlayPosition, ThyAbstractOverlayRef } from 'ngx-tethys/core';\n\nimport { ThyDialogContainer } from './dialog-container.component';\nimport { ThyDialogConfig } from './dialog.config';\nimport { dialogAbstractOverlayOptions } from './dialog.options';\n\n/**\n * @publicApi\n * @order 30\n */\nexport interface ThyAbstractDialog {\n toTop(id: string): void;\n}\n\nexport abstract class ThyDialogRef<T, TResult = unknown> extends ThyAbstractOverlayRef<T, ThyDialogContainer, TResult> {}\n\nexport class ThyInternalDialogRef<T, TResult = unknown> extends ThyAbstractInternalOverlayRef<T, ThyDialogContainer, TResult> {\n thyDialog: ThyAbstractDialog;\n\n constructor(overlayRef: OverlayRef, containerInstance: ThyDialogContainer, config: ThyDialogConfig<T>, service: ThyAbstractDialog) {\n super(dialogAbstractOverlayOptions, overlayRef, containerInstance, config);\n this.thyDialog = service;\n }\n\n /**\n * Updates the dialog's position.\n * @param position New dialog position.\n */\n updatePosition(position?: ThyAbstractOverlayPosition): this {\n this.updateGlobalPosition(position);\n return this;\n }\n\n /**\n * Updates the dialog's width and height.\n * @param width New width of the dialog.\n * @param height New height of the dialog.\n */\n updateSizeAndPosition(width: string = '', height: string = '', position?: ThyAbstractOverlayPosition): this {\n (this.getPositionStrategy() as GlobalPositionStrategy).width(width).height(height);\n this.updatePosition(position);\n return this;\n }\n\n /**\n * Update dialog to top\n */\n toTop() {\n this.thyDialog.toTop(this.id);\n }\n}\n","import { ThyAbstractOverlayRef, ThyAbstractOverlayService, ThyClickPositioner } from 'ngx-tethys/core';\nimport { of } from 'rxjs';\n\nimport { Directionality } from '@angular/cdk/bidi';\nimport { Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { Injectable, Injector, OnDestroy, StaticProvider, TemplateRef, inject } from '@angular/core';\n\nimport { isString } from 'ngx-tethys/util';\nimport { ThyConfirmConfig } from './confirm.config';\nimport { THY_CONFIRM_COMPONENT_TOKEN, ThyConfirmAbstractComponent } from './confirm/token';\nimport { ThyDialogContainer } from './dialog-container.component';\nimport { ThyDialogRef, ThyInternalDialogRef } from './dialog-ref';\nimport { THY_DIALOG_DEFAULT_OPTIONS, ThyDialogConfig, ThyDialogSizes } from './dialog.config';\nimport { dialogAbstractOverlayOptions } from './dialog.options';\n\n/**\n * @public\n * @order 10\n */\n@Injectable()\nexport class ThyDialog extends ThyAbstractOverlayService<ThyDialogConfig, ThyDialogContainer> implements OnDestroy {\n private confirmComponentType = inject<ComponentType<ThyConfirmAbstractComponent>>(THY_CONFIRM_COMPONENT_TOKEN);\n\n private overlayKeyboardDispatcher = inject(OverlayKeyboardDispatcher);\n\n private overlayContainer = inject(OverlayContainer);\n\n protected buildOverlayConfig(config: ThyDialogConfig<any>): OverlayConfig {\n const size = config.size || ThyDialogSizes.md;\n const overlayConfig = this.buildBaseOverlayConfig(config, [`dialog-${size}`]);\n overlayConfig.positionStrategy = this.overlay.position().global();\n overlayConfig.scrollStrategy = config.scrollStrategy || this.overlay.scrollStrategies.block();\n return overlayConfig;\n }\n\n protected attachOverlayContainer(overlay: OverlayRef, config: ThyDialogConfig<any>): ThyDialogContainer {\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n const injector = Injector.create({\n parent: userInjector || this.injector,\n providers: [{ provide: ThyDialogConfig, useValue: config }]\n });\n const containerPortal = new ComponentPortal(ThyDialogContainer, config.viewContainerRef, injector);\n const containerRef = overlay.attach<ThyDialogContainer>(containerPortal);\n\n return containerRef.instance;\n }\n\n protected createAbstractOverlayRef<T, TResult>(\n overlayRef: OverlayRef,\n containerInstance: ThyDialogContainer,\n config: ThyDialogConfig<any>\n ): ThyAbstractOverlayRef<T, ThyDialogContainer, TResult> {\n return new ThyInternalDialogRef(overlayRef, containerInstance, config, this);\n }\n\n protected createInjector<T>(config: ThyDialogConfig, dialogRef: ThyDialogRef<T>, dialogContainer: ThyDialogContainer): Injector {\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n\n const injectionTokens: StaticProvider[] = [\n { provide: ThyDialogContainer, useValue: dialogContainer },\n {\n provide: ThyDialogRef,\n useValue: dialogRef\n }\n ];\n\n if (config.direction && (!userInjector || !userInjector.get<Directionality | null>(Directionality, null))) {\n injectionTokens.push({\n provide: Directionality,\n useValue: {\n value: config.direction,\n change: of()\n }\n });\n }\n\n return Injector.create({ parent: userInjector || this.injector, providers: injectionTokens });\n }\n\n constructor() {\n const overlay = inject(Overlay);\n const injector = inject(Injector);\n const defaultConfig = inject(THY_DIALOG_DEFAULT_OPTIONS, { optional: true })!;\n const clickPositioner = inject(ThyClickPositioner);\n\n super(dialogAbstractOverlayOptions, overlay, injector, defaultConfig);\n clickPositioner.initialize();\n }\n\n /**\n * 打开 Dialog\n */\n open<T, TData = unknown, TResult = unknown>(\n componentOrTemplateRef: ComponentType<T> | TemplateRef<T>,\n config?: ThyDialogConfig<TData>\n ): ThyDialogRef<T, TResult> {\n const dialogRef = this.openOverlay(componentOrTemplateRef, config);\n const dialogRefInternal = dialogRef as ThyInternalDialogRef<T, TResult>;\n dialogRefInternal.updateSizeAndPosition(\n dialogRef.containerInstance.config.width,\n dialogRef.containerInstance.config.height,\n dialogRef.containerInstance.config.position\n );\n return dialogRef as ThyDialogRef<T, TResult>;\n }\n\n /**\n * 打开 Confirm\n */\n confirm(options: ThyConfirmConfig) {\n return this.open(this.confirmComponentType, {\n initialState: {\n options: options\n }\n });\n }\n\n /**\n * 根据 id 获取 Dialog\n */\n getDialogById(id: string): ThyDialogRef<any> | undefined {\n return this.getAbstractOverlayById(id) as ThyDialogRef<any> | undefined;\n }\n\n /**\n * 获取所有打开的 Dialog\n */\n getOpenedDialogs(): ThyDialogRef<any>[] {\n return this.getAbstractOverlays();\n }\n\n /**\n * @description.en-us Finds the closest ThyDialogRef to an element by looking at the DOM.\n * @description 获取与指定元素最接近的 ThyDialogRef\n */\n getClosestDialog(element: HTMLElement): ThyDialogRef<any> | undefined {\n let parent: HTMLElement | null = element.parentElement;\n\n while (parent && !parent.classList.contains('thy-dialog-container')) {\n parent = parent.parentElement;\n }\n if (parent && parent.id) {\n return this.getDialogById(parent.id);\n }\n return null;\n }\n\n /**\n * Update dialog to top\n */\n toTop(idOrOverlayRef: string | ThyDialogRef<unknown, ThyDialogContainer>) {\n let dialogRef: ThyAbstractOverlayRef<unknown, ThyDialogContainer>;\n if (isString(idOrOverlayRef)) {\n dialogRef = this.openedOverlays.find(item => item.id === idOrOverlayRef);\n } else {\n dialogRef = idOrOverlayRef;\n }\n if (dialogRef) {\n const overlayRef = dialogRef.getOverlayRef();\n const containerElement = this.overlayContainer.getContainerElement();\n containerElement.appendChild(overlayRef.backdropElement);\n containerElement.appendChild(overlayRef.hostElement);\n this.overlayKeyboardDispatcher.remove(overlayRef);\n this.overlayKeyboardDispatcher.add(overlayRef);\n this.openedOverlays = [...(this.openedOverlays || []).filter(item => item.id !== dialogRef?.id), dialogRef];\n }\n }\n\n ngOnDestroy() {\n this.dispose();\n }\n}\n","import { Component, Input, OnInit, HostBinding, inject } from '@angular/core';\nimport { ThyDialog } from '../dialog.service';\nimport { CdkScrollable } from '@angular/cdk/scrolling';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 模态框的主体组件\n * @name thy-dialog-body\n * @order 50\n */\n@Component({\n selector: 'thy-dialog-body',\n template: '<ng-content></ng-content>',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'thyDialogBody',\n standalone: true,\n hostDirectives: [CdkScrollable]\n})\nexport class ThyDialogBody implements OnInit {\n private dialog = inject(ThyDialog);\n\n @HostBinding(`class.dialog-body`) _isDialogBody = true;\n\n @HostBinding(`class.dialog-body-clear-padding`)\n thyClearPaddingClassName = false;\n\n /**\n * 清除间距\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n set thyClearPadding(value: boolean) {\n this.thyClearPaddingClassName = value;\n }\n\n ngOnInit() {}\n}\n","import { InjectionToken } from '@angular/core';\nimport { ThyFormGroupFooterAlign } from 'ngx-tethys/form';\nimport { injectLocale, ThyI18nService } from 'ngx-tethys/i18n';\nimport { Observable } from 'rxjs';\n\n/**\n * 确认框配置\n * @public\n * @order 70\n */\nexport interface ThyConfirmConfig {\n /**\n * 标题\n */\n title?: string;\n\n /**\n * 提示内容\n */\n content: string;\n\n /**\n * 确认按钮的文案\n */\n okText?: string;\n\n /**\n * 确认按钮的类型,primary | danger\n */\n okType?: 'primary' | 'danger';\n\n /**\n * 确认按钮处于提交状态时的文案\n */\n okLoadingText?: string;\n\n /**\n * 底部对齐方式,left | center | right\n */\n footerAlign?: ThyFormGroupFooterAlign;\n\n /**\n * 确认后的回调事件\n */\n onOk?: () => Observable<boolean> | void;\n\n /**\n * 取消按钮的文案\n */\n cancelText?: string;\n\n /**\n * 取消后的回调事件\n */\n onCancel?: () => void;\n}\n\nexport const THY_CONFIRM_DEFAULT_OPTIONS = new InjectionToken<ThyConfirmConfig>('thy-confirm-default-options');\n\n/**\n * @deprecated\n */\nexport const THY_CONFIRM_DEFAULT_OPTIONS_VALUE = {\n title: '确认删除',\n okText: '确定',\n okType: 'danger',\n cancelText: '取消',\n footerAlign: 'left'\n};\n\nfunction useConfirmDefaultOptions() {\n const locale = injectLocale('dialog');\n return {\n title: locale().title,\n okText: locale().ok,\n okType: 'danger',\n cancelText: locale().cancel,\n footerAlign: 'left'\n };\n}\n\nexport const THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER = {\n provide: THY_CONFIRM_DEFAULT_OPTIONS,\n useFactory: useConfirmDefaultOptions,\n deps: [ThyI18nService]\n};\n","import { Component, Input, Output, EventEmitter, ContentChild, TemplateRef, OnInit, ElementRef, inject } from '@angular/core';\nimport { ThyDialog } from '../dialog.service';\nimport { ThyDialogContainer } from '../dialog-container.component';\nimport { ThyTranslate } from 'ngx-tethys/core';\nimport { ThyInternalDialogRef } from '../dialog-ref';\nimport { ThyAction } from 'ngx-tethys/action';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 模态框头部组件\n * @name thy-dialog-header\n * @order 40\n */\n@Component({\n selector: 'thy-dialog-header',\n templateUrl: './dialog-header.component.html',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'thyDialogHeader',\n host: {\n class: 'dialog-header thy-dialog-header',\n '[class.thy-dialog-header-lg]': `thySize === 'lg'`,\n '[class.thy-dialog-header-divided]': `thyDivided`\n },\n imports: [NgTemplateOutlet, ThyIcon, ThyAction]\n})\nexport class ThyDialogHeader implements OnInit {\n private elementRef = inject(ElementRef);\n private dialog = inject(ThyDialog);\n private translate = inject(ThyTranslate);\n private dialogContainer = inject(ThyDialogContainer, { optional: true })!;\n\n /**\n * 自定义头部模板\n */\n @ContentChild('dialogHeader')\n public headerTemplate: TemplateRef<any>;\n\n /**\n * 标题\n */\n @Input() thyTitle: string;\n\n /**\n * 大小,只有大的详情页场景会使用 lg,左右 padding 缩小至 20px\n * @type lg | md\n * @default md\n */\n @Input() thySize: 'lg' | 'md';\n\n /**\n * 是否显示分割线\n * @default false\n */\n @Input({ transform: coerceBooleanProperty }) thyDivided: boolean;\n\n /**\n * 标题的多语言 Key\n */\n @Input()\n set thyTitleTranslationKey(key: string) {\n if (key && !this.thyTitle) {\n this.thyTitle = this.translate.instant(key);\n }\n }\n\n /**\n * 头部图标\n */\n @Input() thyIcon: string;\n\n /**\n * 关闭事件\n */\n @Output() thyOnClose: EventEmitter<Event> = new EventEmitter<Event>();\n\n ngOnInit() {\n if (!this.dialogContainer) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the ThyDialogContainerComponent isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the ThyDialogContainerComponent by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n const dialogRef = this.dialog.getClosestDialog(this.elementRef.nativeElement) as ThyInternalDialogRef<any>;\n this.dialogContainer = dialogRef ? dialogRef.containerInstance : null;\n }\n\n // change in next microtask avoid throw ExpressionChangedAfterItHasBeenCheckedError\n // because sub component change parent's HostBinding property (ariaLabelledBy)\n Promise.resolve().then(() => {\n if (this.dialogContainer) {\n this.dialogContainer.ariaLabelledBy = this.thyTitle;\n }\n });\n }\n\n close(event?: Event) {\n if (this.thyOnClose.observers.length > 0) {\n this.thyOnClose.emit(event);\n } else {\n this.dialog.close();\n }\n }\n}\n","@if (headerTemplate) {\n <template [ngTemplateOutlet]=\"headerTemplate\"></template>\n} @else {\n <h3 class=\"dialog-title\"><thy-icon [thyIconName]=\"thyIcon\"></thy-icon>{{ thyTitle }}</h3>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"close($event)\"></a>\n}\n","import { ThyFormDirective, ThyFormGroupFooterAlign, ThyFormGroupFooter } from 'ngx-tethys/form';\nimport { finalize } from 'rxjs/operators';\n\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit, Signal, inject } from '@angular/core';\n\nimport { NgClass } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ThyButton } from 'ngx-tethys/button';\nimport { ThyDialogBody } from '../body/dialog-body.component';\nimport { ThyConfirmConfig, THY_CONFIRM_DEFAULT_OPTIONS } from '../confirm.config';\nimport { ThyDialogRef } from '../dialog-ref';\nimport { ThyDialogHeader } from '../header/dialog-header.component';\nimport { injectLocale, ThyDialogLocale } from 'ngx-tethys/i18n';\n\n/**\n * @private\n */\n@Component({\n selector: 'thy-confirm-default',\n templateUrl: './confirm.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ThyDialogHeader, ThyDialogBody, FormsModule, ThyFormDirective, ThyFormGroupFooter, NgClass, ThyButton]\n})\nexport class ThyConfirm implements OnInit, OnDestroy {\n private dialogRef = inject<ThyDialogRef<ThyConfirm>>(ThyDialogRef);\n private changeDetectorRef = inject(ChangeDetectorRef);\n private defaultConfig = inject(THY_CONFIRM_DEFAULT_OPTIONS);\n private locale: Signal<ThyDialogLocale> = injectLocale('dialog');\n\n loading: boolean;\n\n @Input() options: ThyConfirmConfig;\n\n public title: string;\n\n public content: string;\n\n public okText: string;\n\n public okType: string;\n\n public cancelText: string;\n\n public okLoadingText: string;\n\n public footerAlign: ThyFormGroupFooterAlign;\n\n constructor() {\n this.defaultConfig = {\n ...{\n title: this.locale().title,\n okText: this.locale().ok,\n okType: 'danger',\n cancelText: this.locale().cancel,\n footerAlign: 'left'\n },\n ...this.defaultConfig\n };\n }\n\n ngOnInit() {\n this.defaultConfig = { ...this.defaultConfig, ...this.options };\n this.title = this.defaultConfig.title;\n this.content = this.defaultConfig.content;\n this.okText = this.defaultConfig.okText;\n this.okType = this.defaultConfig.okType;\n this.cancelText = this.defaultConfig.cancelText;\n this.okLoadingText = this.defaultConfig.okLoadingText || this.okText;\n this.footerAlign = this.defaultConfig.footerAlign;\n }\n\n confirm() {\n this.loading = true;\n const result = this.options.onOk();\n if (result && result.subscribe) {\n result\n .pipe(\n finalize(() => {\n this.loading = false;\n this.changeDetectorRef.markForCheck();\n })\n )\n .subscribe(success => {\n if (success) {\n this.close();\n }\n });\n } else {\n this.close();\n }\n }\n\n close() {\n this.options?.onCancel?.();\n this.dialogRef.close();\n }\n\n ngOnDestroy() {}\n}\n","<thy-dialog-header [thyTitle]=\"title || 'Install Angular'\" (thyOnClose)=\"close()\"> </thy-dialog-header>\n<thy-dialog-body class=\"thy-form\">\n <form thyForm name=\"thyConfirm\" thyLayout=\"vertical\">\n <div class=\"form-group\">\n <p [innerHTML]=\"content\"></p>\n </div>\n <thy-form-group-footer [thyAlign]=\"footerAlign\">\n <div class=\"thy-confirm-footer\" [ngClass]=\"'thy-confirm-footer-' + footerAlign\">\n <button [thyButton]=\"okType\" (click)=\"confirm()\" [thyLoading]=\"loading\" [thyLoadingText]=\"okLoadingText\">{{ okText }}</button>\n <button thyButton=\"link-secondary\" (click)=\"close()\" class=\"thy-confirm-cancel\">{{ cancelText }}</button>\n </div>\n </thy-form-group-footer>\n </form>\n</thy-dialog-body>\n","import { useHostRenderer } from '@tethys/cdk/dom';\nimport { Component, ContentChild, Input, OnInit, TemplateRef, inject } from '@angular/core';\n\nimport { THY_DIALOG_LAYOUT_CONFIG, ThyDialogFooterAlign, ThyDialogLayoutConfig } from '../dialog.config';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 模态框底部组件\n * @name thy-dialog-footer\n * @order 60\n */\n@Component({\n selector: 'thy-dialog-footer',\n templateUrl: './dialog-footer.component.html',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'thyDialogFooter',\n imports: [NgTemplateOutlet]\n})\nexport class ThyDialogFooter implements OnInit {\n private dialogLayoutConfig = inject(THY_DIALOG_LAYOUT_CONFIG);\n\n /**\n * 自定义弹出框底部的描述模板\n * @type TemplateRef\n */\n @ContentChild('description') description: TemplateRef<any>;\n\n /**\n * 底部是否有分割线,可全局配置默认值\n * @type boolean\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n set thyDivided(value: boolean) {\n this.divided = value;\n }\n\n /**\n * 对齐方式,可全局配置默认值\n * @type left | right | center\n * @default left\n */\n @Input() thyAlign: ThyDialogFooterAlign;\n\n private divided: boolean;\n\n private hostRenderer = useHostRenderer();\n\n private get align() {\n return !!this.thyAlign ? this.thyAlign : this.dialogLayoutConfig.footerAlign;\n }\n\n constructor() {\n this.divided = this.dialogLayoutConfig.footerDivided;\n }\n\n ngOnInit() {\n this.hostRenderer.updateClassByMap({\n 'dialog-footer': true,\n [`dialog-footer-actions-align-${this.align}`]: true,\n 'dialog-footer-border-top': this.divided\n });\n }\n}\n","<div class=\"dialog-footer-actions btn-pair\">\n <ng-content></ng-content>\n</div>\n@if (description) {\n <div class=\"dialog-footer-description\">\n <ng-container [ngTemplateOutlet]=\"description\"></ng-container>\n </div>\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ThyActionModule } from 'ngx-tethys/action';\nimport { ThyButtonModule } from 'ngx-tethys/button';\nimport { ThyFormModule } from 'ngx-tethys/form';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyDialogBody } from './body/dialog-body.component';\nimport { THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER } from './confirm.config';\nimport { ThyConfirm } from './confirm/confirm.component';\nimport { THY_CONFIRM_COMPONENT_TOKEN } from './confirm/token';\nimport { ThyDialogContainer } from './dialog-container.component';\nimport { THY_DIALOG_DEFAULT_OPTIONS_PROVIDER, THY_DIALOG_LAYOUT_CONFIG_PROVIDER } from './dialog.config';\nimport { ThyDialog } from './dialog.service';\nimport { ThyDialogFooter } from './footer/dialog-footer.component';\nimport { ThyDialogHeader } from './header/dialog-header.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ThySharedModule,\n PortalModule,\n OverlayModule,\n ThyButtonModule,\n ThyIconModule,\n ThyFormModule,\n FormsModule,\n ThyActionModule,\n ThyDialogContainer,\n ThyDialogHeader,\n ThyDialogBody,\n ThyDialogFooter,\n ThyConfirm\n ],\n providers: [\n ThyDialog,\n THY_DIALOG_DEFAULT_OPTIONS_PROVIDER,\n THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER,\n THY_DIALOG_LAYOUT_CONFIG_PROVIDER,\n {\n provide: THY_CONFIRM_COMPONENT_TOKEN,\n useValue: ThyConfirm\n }\n ],\n exports: [ThyDialogContainer, ThyDialogHeader, ThyDialogBody, ThyDialogFooter]\n})\nexport class ThyDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AASO,MAAM,2BAA2B,GAAG,IAAI,cAAc,CAA8B,6BAA6B,CAAC;;ACPzH,MAAM,aAAa,GAAG;;;;AAIlB,IAAA,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC,CAAC;IACnE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5C,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,mCAAmC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAChH,UAAU,CAAC,WAAW,EAAE,OAAO,CAAC,4CAA4C,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;CAChI;AAED;;;AAGG;AACU,MAAA,mBAAmB,GAE5B;AACA,IAAA,eAAe,EAAE,OAAO,CAAC,iBAAiB,EAAE,aAAa;;AAG7D;;ICdY;AAAZ,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT;;;AAGG;AACH,IAAA,cAAA,CAAA,UAAA,CAAA,GAAA,WAAsB;AACtB,IAAA,cAAA,CAAA,SAAA,CAAA,GAAA,UAAoB;AACpB,IAAA,cAAA,CAAA,OAAA,CAAA,GAAA,QAAgB;AAChB,IAAA,cAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,cAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AAC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UAAU,CAAA,EAAA,CAAA,CAAA;;2FAcL,eAAe,EAAA,UAAA,EAAA,CAAA;kBA7B3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,eAAe;wBACf,YAAY;wBACZ,aAAa;wBACb,eAAe;wBACf,aAAa;wBACb,aAAa;wBACb,WAAW;wBACX,eAAe;wBACf,kBAAkB;wBAClB,eAAe;wBACf,aAAa;wBACb,eAAe;wBACf;AACH,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,SAAS;wBACT,mCAAmC;wBACnC,oCAAoC;wBACpC,iCAAiC;AACjC,wBAAA;AACI,4BAAA,OAAO,EAAE,2BAA2B;AACpC,4BAAA,QAAQ,EAAE;AACb;AACJ,qBAAA;oBACD,OAAO,EAAE,CAAC,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe;AAChF,iBAAA;;;AChDD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-dialog.mjs","sources":["../../../src/dialog/confirm/token.ts","../../../src/dialog/dialog-animations.ts","../../../src/dialog/dialog.config.ts","../../../src/dialog/dialog.options.ts","../../../src/dialog/dialog-container.component.ts","../../../src/dialog/dialog-ref.ts","../../../src/dialog/dialog.service.ts","../../../src/dialog/body/dialog-body.component.ts","../../../src/dialog/confirm.config.ts","../../../src/dialog/header/dialog-header.component.ts","../../../src/dialog/header/dialog-header.component.html","../../../src/dialog/confirm/confirm.component.ts","../../../src/dialog/confirm/confirm.component.html","../../../src/dialog/footer/dialog-footer.component.ts","../../../src/dialog/footer/dialog-footer.component.html","../../../src/dialog/dialog.module.ts","../../../src/dialog/ngx-tethys-dialog.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface ThyConfirmAbstractComponent {\n okText: string;\n okType: string;\n cancelText: string;\n okLoadingText: string;\n}\n\nexport const THY_CONFIRM_COMPONENT_TOKEN = new InjectionToken<ThyConfirmAbstractComponent>('thy-confirm-component-token');\n","import { animate, state, style, transition, trigger, AnimationTriggerMetadata } from '@angular/animations';\n\nconst animationBody = [\n // Note: The `enter` animation transitions to `transform: none`, because for some reason\n // specifying the transform explicitly, causes IE both to blur the dialog content and\n // decimate the animation performance. Leaving it as `none` solves both issues. translate(-300px,-100px)\n state('void, exit', style({ opacity: 0, transform: 'scale(0.1)' })),\n state('enter', style({ transform: 'none' })),\n transition('* => enter', animate('200ms cubic-bezier(0, 0, 0.57, 1)', style({ transform: 'none', opacity: 1 }))),\n transition('* => exit', animate('150ms cubic-bezier(0.24, 0.18, 0.96, 0.52)', style({ transform: 'scale(0.3)', opacity: 0 })))\n];\n\n/**\n * Animations used by MatDialog.\n * @docs-private\n */\nexport const thyDialogAnimations: {\n readonly dialogContainer: AnimationTriggerMetadata;\n} = {\n dialogContainer: trigger('dialogContainer', animationBody)\n};\n\n// export const setAnimationStart\n","import { ThyAbstractOverlayConfig, ThyAbstractOverlayPosition } from 'ngx-tethys/core';\n\nimport { ScrollStrategy } from '@angular/cdk/overlay';\nimport { InjectionToken } from '@angular/core';\n\n/** Valid ARIA roles for a dialog element. */\nexport type ThyDialogRole = 'dialog' | 'alertdialog';\n\nexport enum ThyDialogSizes {\n lg = 'lg',\n /**\n * 已废弃,命名错误,请使用 superLg\n * @deprecated\n */\n supperLg = 'supper-lg',\n superLg = 'super-lg',\n maxLg = 'max-lg',\n md = 'md',\n sm = 'sm',\n full = 'full'\n}\n\n/**\n * 通过ThyDialog服务端打开模态框的配置\n * @description.en-us Configuration for opening a modal dialog with the ThyDialog service.\n * @public\n * @order 20\n */\nexport class ThyDialogConfig<TData = unknown> extends ThyAbstractOverlayConfig<TData> {\n /**\n * 对话框元素的 ARIA 角色\n * @description.en-us The ARIA role of the dialog element.\n */\n role?: ThyDialogRole = 'dialog';\n\n /**\n * 定位模态框的弹出位置\n * @description.en-us Position overrides.\n */\n position?: ThyAbstractOverlayPosition;\n\n /**\n * 模态框的大小,ThyDialogSizes: sm (400)、md (660)、lg (800)、maxLg (980)、superLg (94vw)、full (全屏)\n * @default md\n * @description.en-us Dialog size md, lg, sm\n */\n size?: ThyDialogSizes;\n\n /**\n * 用于模态框的滚动策略\n * @description.en-us Scroll strategy to be used for the dialog.\n */\n scrollStrategy?: ScrollStrategy;\n}\n\n/** Injection token that can be used to specify default dialog options. */\nexport const THY_DIALOG_DEFAULT_OPTIONS = new InjectionToken<ThyDialogConfig>('thy-dialog-default-options');\n\nexport const THY_DIALOG_DEFAULT_OPTIONS_PROVIDER = {\n provide: THY_DIALOG_DEFAULT_OPTIONS,\n useValue: {\n role: 'dialog',\n hasBackdrop: true,\n backdropClass: '',\n panelClass: '',\n backdropClosable: true,\n closeOnNavigation: true,\n autoFocus: true,\n restoreFocus: true,\n restoreFocusOptions: {\n preventScroll: true\n },\n hostClass: 'thy-dialog-content'\n }\n};\n\nexport type ThyDialogFooterAlign = 'left' | 'right' | 'center';\n\nexport class ThyDialogLayoutConfig {\n footerAlign?: ThyDialogFooterAlign;\n footerDivided?: boolean;\n}\n\nexport const THY_DIALOG_LAYOUT_CONFIG = new InjectionToken<ThyDialogLayoutConfig>('thy-dialog-layout-config');\n\nexport const THY_DIALOG_LAYOUT_CONFIG_PROVIDER = {\n provide: THY_DIALOG_LAYOUT_CONFIG,\n useValue: {\n footerAlign: 'left',\n footerDivided: false\n }\n};\n","import { ThyAbstractOverlayOptions } from 'ngx-tethys/core';\n\nexport const dialogAbstractOverlayOptions: ThyAbstractOverlayOptions = {\n name: 'dialog',\n animationEnabled: true,\n disposeWhenClose: true\n};\n","import { reqAnimFrame, ThyAbstractOverlayContainer, ThyClickPositioner, ThyPortalOutlet } from 'ngx-tethys/core';\nimport { Observable } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\nimport { AnimationEvent } from '@angular/animations';\nimport { FocusTrap, FocusTrapFactory } from '@angular/cdk/a11y';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { DOCUMENT } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n NgZone,\n OnDestroy,\n Renderer2,\n ViewChild,\n inject\n} from '@angular/core';\n\nimport { thyDialogAnimations } from './dialog-animations';\nimport { ThyDialogConfig } from './dialog.config';\nimport { dialogAbstractOverlayOptions } from './dialog.options';\n\n/**\n * @private\n */\n@Component({\n selector: 'thy-dialog-container',\n template: ` <ng-template thyPortalOutlet></ng-template> `,\n // Using OnPush for dialogs caused some sync issues, e.g. custom ngModel can't to detect changes\n // Disabled until we can track them down.\n changeDetection: ChangeDetectionStrategy.Default,\n animations: [thyDialogAnimations.dialogContainer],\n host: {\n class: 'thy-dialog-container',\n tabindex: '-1',\n 'aria-modal': 'true',\n '[attr.id]': 'id',\n '[attr.role]': 'config.role',\n '[attr.aria-labelledby]': 'config.ariaLabel ? null : ariaLabelledBy',\n '[attr.aria-label]': 'config.ariaLabel',\n '[attr.aria-describedby]': 'config.ariaDescribedBy || null',\n '[@dialogContainer]': 'animationState',\n '(@dialogContainer.start)': 'onAnimationStart($event)',\n '(@dialogContainer.done)': 'onAnimationDone($event)'\n },\n imports: [PortalModule, ThyPortalOutlet]\n})\nexport class ThyDialogContainer extends ThyAbstractOverlayContainer implements OnDestroy {\n private elementRef = inject(ElementRef);\n private document = inject(DOCUMENT);\n config = inject(ThyDialogConfig);\n private clickPositioner = inject(ThyClickPositioner);\n private focusTrapFactory = inject(FocusTrapFactory);\n private ngZone = inject(NgZone);\n private renderer = inject(Renderer2);\n\n animationOpeningDone: Observable<AnimationEvent>;\n animationClosingDone: Observable<AnimationEvent>;\n\n @ViewChild(ThyPortalOutlet, { static: true })\n portalOutlet: ThyPortalOutlet;\n\n @HostBinding(`attr.id`)\n id: string;\n\n /** State of the dialog animation. */\n animationState: 'void' | 'enter' | 'exit' = 'void';\n\n /** Emits when an animation state changes. */\n animationStateChanged = new EventEmitter<AnimationEvent>();\n\n /** ID of the element that should be considered as the dialog's label. */\n ariaLabelledBy: string | null = null;\n\n /** Element that was focused before the dialog was opened. Save this to restore upon close. */\n private elementFocusedBeforeDialogWasOpened: HTMLElement | null = null;\n\n /** The class that traps and manages focus within the dialog. */\n private focusTrap: FocusTrap;\n\n private savePreviouslyFocusedElement() {\n if (this.document) {\n this.elementFocusedBeforeDialogWasOpened = this.document.activeElement as HTMLElement;\n\n // Note that there is no focus method when rendering on the server.\n if (this.elementRef.nativeElement.focus) {\n // Note: this is being run outside of the Angular zone because `element.focus()` doesn't require\n // running change detection.\n this.ngZone.runOutsideAngular(() =>\n // Move focus onto the dialog immediately in order to prevent the user from accidentally\n // opening multiple dialogs at the same time. Needs to be async, because the element\n // may not be focusable immediately.\n\n // Note: `element.focus()` causes re-layout and this may lead to frame drop on slower devices.\n // https://gist.github.com/paulirish/5d52fb081b3570c81e3a#setting-focus\n // `setTimeout` is a macrotask and macrotasks are executed within the current rendering frame.\n // Animation tasks are executed within the next rendering frame.\n reqAnimFrame(() => this.elementRef.nativeElement.focus())\n );\n }\n }\n }\n\n /** Moves the focus inside the focus trap. */\n private trapFocus() {\n const element = this.elementRef.nativeElement;\n\n if (!this.focusTrap) {\n this.focusTrap = this.focusTrapFactory.create(element);\n }\n\n // If we were to attempt to focus immediately, then the content of the dialog would not yet be\n // ready in instances where change detection has to run first. To deal with this, we simply\n // wait for the microtask queue to be empty.\n if (this.config.autoFocus) {\n this.focusTrap.focusInitialElementWhenReady();\n } else {\n const activeElement = this.document.activeElement;\n\n // Otherwise ensure that focus is on the dialog container. It's possible that a different\n // component tried to move focus while the open animation was running. See:\n // https://github.com/angular/components/issues/16215. Note that we only want to do this\n // if the focus isn't inside the dialog already, because it's possible that the consumer\n // turned off `autoFocus` in order to move focus themselves.\n if (activeElement !== element && !element.contains(activeElement)) {\n element.focus();\n }\n }\n }\n\n private restoreFocus() {\n const toFocus = this.elementFocusedBeforeDialogWasOpened;\n\n // We need the extra check, because IE can set the `activeElement` to null in some cases.\n if (this.config.restoreFocus && toFocus && typeof toFocus.focus === 'function') {\n toFocus.focus(this.config.restoreFocusOptions);\n }\n\n if (this.focusTrap) {\n this.focusTrap.destroy();\n }\n }\n\n private setTransformOrigin() {\n this.clickPositioner.runTaskUseLastPosition(lastPosition => {\n if (lastPosition) {\n const containerElement: HTMLElement = this.elementRef.nativeElement;\n const transformOrigin = `${lastPosition.x - containerElement.offsetLeft}px ${\n lastPosition.y - containerElement.offsetTop\n }px 0px`;\n containerElement.style.transformOrigin = transformOrigin;\n // 手动修改动画状态为从 void 到 enter, 开启动画\n }\n this.animationState = 'enter';\n this.changeDetectorRef.markForCheck();\n });\n }\n\n constructor() {\n const changeDetectorRef = inject(ChangeDetectorRef);\n\n super(dialogAbstractOverlayOptions, changeDetectorRef);\n this.animationOpeningDone = this.animationStateChanged.pipe(\n filter((event: AnimationEvent) => {\n return event.phaseName === 'done' && event.toState === 'void';\n })\n );\n this.animationClosingDone = this.animationStateChanged.pipe(\n filter((event: AnimationEvent) => {\n return event.phaseName === 'done' && event.toState === 'exit';\n })\n );\n /* Prohibit operations on elements inside the container during animation execution */\n this.animationStateChanged\n .pipe(\n filter((event: AnimationEvent) => {\n return event.phaseName === 'start' && event.toState === 'exit';\n })\n )\n .subscribe(() => {\n this.renderer.setStyle(this.elementRef.nativeElement, 'pointer-events', 'none');\n });\n }\n\n beforeAttachPortal(): void {\n this.setTransformOrigin();\n this.savePreviouslyFocusedElement();\n }\n\n /** Callback, invoked whenever an animation on the host completes. */\n onAnimationDone(event: AnimationEvent) {\n if (event.toState === 'void') {\n this.trapFocus();\n } else if (event.toState === 'exit') {\n this.restoreFocus();\n }\n this.animationStateChanged.emit(event);\n }\n\n /** Callback, invoked when an animation on the host starts. */\n onAnimationStart(event: AnimationEvent) {\n this.animationStateChanged.emit(event);\n }\n\n ngOnDestroy() {\n super.destroy();\n }\n}\n","import { GlobalPositionStrategy, OverlayRef } from '@angular/cdk/overlay';\nimport { ThyAbstractInternalOverlayRef, ThyAbstractOverlayPosition, ThyAbstractOverlayRef } from 'ngx-tethys/core';\n\nimport { ThyDialogContainer } from './dialog-container.component';\nimport { ThyDialogConfig } from './dialog.config';\nimport { dialogAbstractOverlayOptions } from './dialog.options';\n\n/**\n * @publicApi\n * @order 30\n */\nexport interface ThyAbstractDialog {\n toTop(id: string): void;\n}\n\nexport abstract class ThyDialogRef<T, TResult = unknown> extends ThyAbstractOverlayRef<T, ThyDialogContainer, TResult> {}\n\nexport class ThyInternalDialogRef<T, TResult = unknown> extends ThyAbstractInternalOverlayRef<T, ThyDialogContainer, TResult> {\n thyDialog: ThyAbstractDialog;\n\n constructor(overlayRef: OverlayRef, containerInstance: ThyDialogContainer, config: ThyDialogConfig<T>, service: ThyAbstractDialog) {\n super(dialogAbstractOverlayOptions, overlayRef, containerInstance, config);\n this.thyDialog = service;\n }\n\n /**\n * Updates the dialog's position.\n * @param position New dialog position.\n */\n updatePosition(position?: ThyAbstractOverlayPosition): this {\n this.updateGlobalPosition(position);\n return this;\n }\n\n /**\n * Updates the dialog's width and height.\n * @param width New width of the dialog.\n * @param height New height of the dialog.\n */\n updateSizeAndPosition(width: string = '', height: string = '', position?: ThyAbstractOverlayPosition): this {\n (this.getPositionStrategy() as GlobalPositionStrategy).width(width).height(height);\n this.updatePosition(position);\n return this;\n }\n\n /**\n * Update dialog to top\n */\n toTop() {\n this.thyDialog.toTop(this.id);\n }\n}\n","import { ThyAbstractOverlayRef, ThyAbstractOverlayService, ThyClickPositioner } from 'ngx-tethys/core';\nimport { of } from 'rxjs';\n\nimport { Directionality } from '@angular/cdk/bidi';\nimport { Overlay, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { Injectable, Injector, OnDestroy, StaticProvider, TemplateRef, inject } from '@angular/core';\n\nimport { isString } from 'ngx-tethys/util';\nimport { ThyConfirmConfig } from './confirm.config';\nimport { THY_CONFIRM_COMPONENT_TOKEN, ThyConfirmAbstractComponent } from './confirm/token';\nimport { ThyDialogContainer } from './dialog-container.component';\nimport { ThyDialogRef, ThyInternalDialogRef } from './dialog-ref';\nimport { THY_DIALOG_DEFAULT_OPTIONS, ThyDialogConfig, ThyDialogSizes } from './dialog.config';\nimport { dialogAbstractOverlayOptions } from './dialog.options';\n\n/**\n * @public\n * @order 10\n */\n@Injectable()\nexport class ThyDialog extends ThyAbstractOverlayService<ThyDialogConfig, ThyDialogContainer> implements OnDestroy {\n private confirmComponentType = inject<ComponentType<ThyConfirmAbstractComponent>>(THY_CONFIRM_COMPONENT_TOKEN);\n\n private overlayKeyboardDispatcher = inject(OverlayKeyboardDispatcher);\n\n private overlayContainer = inject(OverlayContainer);\n\n protected buildOverlayConfig(config: ThyDialogConfig<any>): OverlayConfig {\n const size = config.size || ThyDialogSizes.md;\n const overlayConfig = this.buildBaseOverlayConfig(config, [`dialog-${size}`]);\n overlayConfig.positionStrategy = this.overlay.position().global();\n overlayConfig.scrollStrategy = config.scrollStrategy || this.overlay.scrollStrategies.block();\n return overlayConfig;\n }\n\n protected attachOverlayContainer(overlay: OverlayRef, config: ThyDialogConfig<any>): ThyDialogContainer {\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n const injector = Injector.create({\n parent: userInjector || this.injector,\n providers: [{ provide: ThyDialogConfig, useValue: config }]\n });\n const containerPortal = new ComponentPortal(ThyDialogContainer, config.viewContainerRef, injector);\n const containerRef = overlay.attach<ThyDialogContainer>(containerPortal);\n\n return containerRef.instance;\n }\n\n protected createAbstractOverlayRef<T, TResult>(\n overlayRef: OverlayRef,\n containerInstance: ThyDialogContainer,\n config: ThyDialogConfig<any>\n ): ThyAbstractOverlayRef<T, ThyDialogContainer, TResult> {\n return new ThyInternalDialogRef(overlayRef, containerInstance, config, this);\n }\n\n protected createInjector<T>(config: ThyDialogConfig, dialogRef: ThyDialogRef<T>, dialogContainer: ThyDialogContainer): Injector {\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n\n const injectionTokens: StaticProvider[] = [\n { provide: ThyDialogContainer, useValue: dialogContainer },\n {\n provide: ThyDialogRef,\n useValue: dialogRef\n }\n ];\n\n if (config.direction && (!userInjector || !userInjector.get<Directionality | null>(Directionality, null))) {\n injectionTokens.push({\n provide: Directionality,\n useValue: {\n value: config.direction,\n change: of()\n }\n });\n }\n\n return Injector.create({ parent: userInjector || this.injector, providers: injectionTokens });\n }\n\n constructor() {\n const overlay = inject(Overlay);\n const injector = inject(Injector);\n const defaultConfig = inject(THY_DIALOG_DEFAULT_OPTIONS, { optional: true })!;\n const clickPositioner = inject(ThyClickPositioner);\n\n super(dialogAbstractOverlayOptions, overlay, injector, defaultConfig);\n clickPositioner.initialize();\n }\n\n /**\n * 打开 Dialog\n */\n open<T, TData = unknown, TResult = unknown>(\n componentOrTemplateRef: ComponentType<T> | TemplateRef<T>,\n config?: ThyDialogConfig<TData>\n ): ThyDialogRef<T, TResult> {\n const dialogRef = this.openOverlay(componentOrTemplateRef, config);\n const dialogRefInternal = dialogRef as ThyInternalDialogRef<T, TResult>;\n dialogRefInternal.updateSizeAndPosition(\n dialogRef.containerInstance.config.width,\n dialogRef.containerInstance.config.height,\n dialogRef.containerInstance.config.position\n );\n return dialogRef as ThyDialogRef<T, TResult>;\n }\n\n /**\n * 打开 Confirm\n */\n confirm(options: ThyConfirmConfig) {\n return this.open(this.confirmComponentType, {\n initialState: {\n options: options\n }\n });\n }\n\n /**\n * 根据 id 获取 Dialog\n */\n getDialogById(id: string): ThyDialogRef<any> | undefined {\n return this.getAbstractOverlayById(id) as ThyDialogRef<any> | undefined;\n }\n\n /**\n * 获取所有打开的 Dialog\n */\n getOpenedDialogs(): ThyDialogRef<any>[] {\n return this.getAbstractOverlays();\n }\n\n /**\n * @description.en-us Finds the closest ThyDialogRef to an element by looking at the DOM.\n * @description 获取与指定元素最接近的 ThyDialogRef\n */\n getClosestDialog(element: HTMLElement): ThyDialogRef<any> | undefined {\n let parent: HTMLElement | null = element.parentElement;\n\n while (parent && !parent.classList.contains('thy-dialog-container')) {\n parent = parent.parentElement;\n }\n if (parent && parent.id) {\n return this.getDialogById(parent.id);\n }\n return null;\n }\n\n /**\n * Update dialog to top\n */\n toTop(idOrOverlayRef: string | ThyDialogRef<unknown, ThyDialogContainer>) {\n let dialogRef: ThyAbstractOverlayRef<unknown, ThyDialogContainer>;\n if (isString(idOrOverlayRef)) {\n dialogRef = this.openedOverlays.find(item => item.id === idOrOverlayRef);\n } else {\n dialogRef = idOrOverlayRef;\n }\n if (dialogRef) {\n const overlayRef = dialogRef.getOverlayRef();\n const containerElement = this.overlayContainer.getContainerElement();\n containerElement.appendChild(overlayRef.backdropElement);\n containerElement.appendChild(overlayRef.hostElement);\n this.overlayKeyboardDispatcher.remove(overlayRef);\n this.overlayKeyboardDispatcher.add(overlayRef);\n this.openedOverlays = [...(this.openedOverlays || []).filter(item => item.id !== dialogRef?.id), dialogRef];\n }\n }\n\n ngOnDestroy() {\n this.dispose();\n }\n}\n","import { Component, Input, OnInit, HostBinding, inject } from '@angular/core';\nimport { ThyDialog } from '../dialog.service';\nimport { CdkScrollable } from '@angular/cdk/scrolling';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 模态框的主体组件\n * @name thy-dialog-body\n * @order 50\n */\n@Component({\n selector: 'thy-dialog-body',\n template: '<ng-content></ng-content>',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'thyDialogBody',\n hostDirectives: [CdkScrollable]\n})\nexport class ThyDialogBody implements OnInit {\n private dialog = inject(ThyDialog);\n\n @HostBinding(`class.dialog-body`) _isDialogBody = true;\n\n @HostBinding(`class.dialog-body-clear-padding`)\n thyClearPaddingClassName = false;\n\n /**\n * 清除间距\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n set thyClearPadding(value: boolean) {\n this.thyClearPaddingClassName = value;\n }\n\n ngOnInit() {}\n}\n","import { InjectionToken } from '@angular/core';\nimport { ThyFormGroupFooterAlign } from 'ngx-tethys/form';\nimport { injectLocale, ThyI18nService } from 'ngx-tethys/i18n';\nimport { Observable } from 'rxjs';\n\n/**\n * 确认框配置\n * @public\n * @order 70\n */\nexport interface ThyConfirmConfig {\n /**\n * 标题\n */\n title?: string;\n\n /**\n * 提示内容\n */\n content: string;\n\n /**\n * 确认按钮的文案\n */\n okText?: string;\n\n /**\n * 确认按钮的类型,primary | danger\n */\n okType?: 'primary' | 'danger';\n\n /**\n * 确认按钮处于提交状态时的文案\n */\n okLoadingText?: string;\n\n /**\n * 底部对齐方式,left | center | right\n */\n footerAlign?: ThyFormGroupFooterAlign;\n\n /**\n * 确认后的回调事件\n */\n onOk?: () => Observable<boolean> | void;\n\n /**\n * 取消按钮的文案\n */\n cancelText?: string;\n\n /**\n * 取消后的回调事件\n */\n onCancel?: () => void;\n}\n\nexport const THY_CONFIRM_DEFAULT_OPTIONS = new InjectionToken<ThyConfirmConfig>('thy-confirm-default-options');\n\n/**\n * @deprecated\n */\nexport const THY_CONFIRM_DEFAULT_OPTIONS_VALUE = {\n title: '确认删除',\n okText: '确定',\n okType: 'danger',\n cancelText: '取消',\n footerAlign: 'left'\n};\n\nfunction useConfirmDefaultOptions() {\n const locale = injectLocale('dialog');\n return {\n title: locale().title,\n okText: locale().ok,\n okType: 'danger',\n cancelText: locale().cancel,\n footerAlign: 'left'\n };\n}\n\nexport const THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER = {\n provide: THY_CONFIRM_DEFAULT_OPTIONS,\n useFactory: useConfirmDefaultOptions,\n deps: [ThyI18nService]\n};\n","import { Component, Input, Output, EventEmitter, ContentChild, TemplateRef, OnInit, ElementRef, inject } from '@angular/core';\nimport { ThyDialog } from '../dialog.service';\nimport { ThyDialogContainer } from '../dialog-container.component';\nimport { ThyTranslate } from 'ngx-tethys/core';\nimport { ThyInternalDialogRef } from '../dialog-ref';\nimport { ThyAction } from 'ngx-tethys/action';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 模态框头部组件\n * @name thy-dialog-header\n * @order 40\n */\n@Component({\n selector: 'thy-dialog-header',\n templateUrl: './dialog-header.component.html',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'thyDialogHeader',\n host: {\n class: 'dialog-header thy-dialog-header',\n '[class.thy-dialog-header-lg]': `thySize === 'lg'`,\n '[class.thy-dialog-header-divided]': `thyDivided`\n },\n imports: [NgTemplateOutlet, ThyIcon, ThyAction]\n})\nexport class ThyDialogHeader implements OnInit {\n private elementRef = inject(ElementRef);\n private dialog = inject(ThyDialog);\n private translate = inject(ThyTranslate);\n private dialogContainer = inject(ThyDialogContainer, { optional: true })!;\n\n /**\n * 自定义头部模板\n */\n @ContentChild('dialogHeader')\n public headerTemplate: TemplateRef<any>;\n\n /**\n * 标题\n */\n @Input() thyTitle: string;\n\n /**\n * 大小,只有大的详情页场景会使用 lg,左右 padding 缩小至 20px\n * @type lg | md\n * @default md\n */\n @Input() thySize: 'lg' | 'md';\n\n /**\n * 是否显示分割线\n * @default false\n */\n @Input({ transform: coerceBooleanProperty }) thyDivided: boolean;\n\n /**\n * 标题的多语言 Key\n */\n @Input()\n set thyTitleTranslationKey(key: string) {\n if (key && !this.thyTitle) {\n this.thyTitle = this.translate.instant(key);\n }\n }\n\n /**\n * 头部图标\n */\n @Input() thyIcon: string;\n\n /**\n * 关闭事件\n */\n @Output() thyOnClose: EventEmitter<Event> = new EventEmitter<Event>();\n\n ngOnInit() {\n if (!this.dialogContainer) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the ThyDialogContainerComponent isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the ThyDialogContainerComponent by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n const dialogRef = this.dialog.getClosestDialog(this.elementRef.nativeElement) as ThyInternalDialogRef<any>;\n this.dialogContainer = dialogRef ? dialogRef.containerInstance : null;\n }\n\n // change in next microtask avoid throw ExpressionChangedAfterItHasBeenCheckedError\n // because sub component change parent's HostBinding property (ariaLabelledBy)\n Promise.resolve().then(() => {\n if (this.dialogContainer) {\n this.dialogContainer.ariaLabelledBy = this.thyTitle;\n }\n });\n }\n\n close(event?: Event) {\n if (this.thyOnClose.observers.length > 0) {\n this.thyOnClose.emit(event);\n } else {\n this.dialog.close();\n }\n }\n}\n","@if (headerTemplate) {\n <template [ngTemplateOutlet]=\"headerTemplate\"></template>\n} @else {\n <h3 class=\"dialog-title\"><thy-icon [thyIconName]=\"thyIcon\"></thy-icon>{{ thyTitle }}</h3>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"close($event)\"></a>\n}\n","import { ThyFormDirective, ThyFormGroupFooterAlign, ThyFormGroupFooter } from 'ngx-tethys/form';\nimport { finalize } from 'rxjs/operators';\n\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit, Signal, inject } from '@angular/core';\n\nimport { NgClass } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ThyButton } from 'ngx-tethys/button';\nimport { ThyDialogBody } from '../body/dialog-body.component';\nimport { ThyConfirmConfig, THY_CONFIRM_DEFAULT_OPTIONS } from '../confirm.config';\nimport { ThyDialogRef } from '../dialog-ref';\nimport { ThyDialogHeader } from '../header/dialog-header.component';\nimport { injectLocale, ThyDialogLocale } from 'ngx-tethys/i18n';\n\n/**\n * @private\n */\n@Component({\n selector: 'thy-confirm-default',\n templateUrl: './confirm.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ThyDialogHeader, ThyDialogBody, FormsModule, ThyFormDirective, ThyFormGroupFooter, NgClass, ThyButton]\n})\nexport class ThyConfirm implements OnInit, OnDestroy {\n private dialogRef = inject<ThyDialogRef<ThyConfirm>>(ThyDialogRef);\n private changeDetectorRef = inject(ChangeDetectorRef);\n private defaultConfig = inject(THY_CONFIRM_DEFAULT_OPTIONS);\n private locale: Signal<ThyDialogLocale> = injectLocale('dialog');\n\n loading: boolean;\n\n @Input() options: ThyConfirmConfig;\n\n public title: string;\n\n public content: string;\n\n public okText: string;\n\n public okType: string;\n\n public cancelText: string;\n\n public okLoadingText: string;\n\n public footerAlign: ThyFormGroupFooterAlign;\n\n constructor() {\n this.defaultConfig = {\n ...{\n title: this.locale().title,\n okText: this.locale().ok,\n okType: 'danger',\n cancelText: this.locale().cancel,\n footerAlign: 'left'\n },\n ...this.defaultConfig\n };\n }\n\n ngOnInit() {\n this.defaultConfig = { ...this.defaultConfig, ...this.options };\n this.title = this.defaultConfig.title;\n this.content = this.defaultConfig.content;\n this.okText = this.defaultConfig.okText;\n this.okType = this.defaultConfig.okType;\n this.cancelText = this.defaultConfig.cancelText;\n this.okLoadingText = this.defaultConfig.okLoadingText || this.okText;\n this.footerAlign = this.defaultConfig.footerAlign;\n }\n\n confirm() {\n this.loading = true;\n const result = this.options.onOk();\n if (result && result.subscribe) {\n result\n .pipe(\n finalize(() => {\n this.loading = false;\n this.changeDetectorRef.markForCheck();\n })\n )\n .subscribe(success => {\n if (success) {\n this.close();\n }\n });\n } else {\n this.close();\n }\n }\n\n close() {\n this.options?.onCancel?.();\n this.dialogRef.close();\n }\n\n ngOnDestroy() {}\n}\n","<thy-dialog-header [thyTitle]=\"title || 'Install Angular'\" (thyOnClose)=\"close()\"> </thy-dialog-header>\n<thy-dialog-body class=\"thy-form\">\n <form thyForm name=\"thyConfirm\" thyLayout=\"vertical\">\n <div class=\"form-group\">\n <p [innerHTML]=\"content\"></p>\n </div>\n <thy-form-group-footer [thyAlign]=\"footerAlign\">\n <div class=\"thy-confirm-footer\" [ngClass]=\"'thy-confirm-footer-' + footerAlign\">\n <button [thyButton]=\"okType\" (click)=\"confirm()\" [thyLoading]=\"loading\" [thyLoadingText]=\"okLoadingText\">{{ okText }}</button>\n <button thyButton=\"link-secondary\" (click)=\"close()\" class=\"thy-confirm-cancel\">{{ cancelText }}</button>\n </div>\n </thy-form-group-footer>\n </form>\n</thy-dialog-body>\n","import { useHostRenderer } from '@tethys/cdk/dom';\nimport { Component, ContentChild, Input, OnInit, TemplateRef, inject } from '@angular/core';\n\nimport { THY_DIALOG_LAYOUT_CONFIG, ThyDialogFooterAlign, ThyDialogLayoutConfig } from '../dialog.config';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 模态框底部组件\n * @name thy-dialog-footer\n * @order 60\n */\n@Component({\n selector: 'thy-dialog-footer',\n templateUrl: './dialog-footer.component.html',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: 'thyDialogFooter',\n imports: [NgTemplateOutlet]\n})\nexport class ThyDialogFooter implements OnInit {\n private dialogLayoutConfig = inject(THY_DIALOG_LAYOUT_CONFIG);\n\n /**\n * 自定义弹出框底部的描述模板\n * @type TemplateRef\n */\n @ContentChild('description') description: TemplateRef<any>;\n\n /**\n * 底部是否有分割线,可全局配置默认值\n * @type boolean\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n set thyDivided(value: boolean) {\n this.divided = value;\n }\n\n /**\n * 对齐方式,可全局配置默认值\n * @type left | right | center\n * @default left\n */\n @Input() thyAlign: ThyDialogFooterAlign;\n\n private divided: boolean;\n\n private hostRenderer = useHostRenderer();\n\n private get align() {\n return !!this.thyAlign ? this.thyAlign : this.dialogLayoutConfig.footerAlign;\n }\n\n constructor() {\n this.divided = this.dialogLayoutConfig.footerDivided;\n }\n\n ngOnInit() {\n this.hostRenderer.updateClassByMap({\n 'dialog-footer': true,\n [`dialog-footer-actions-align-${this.align}`]: true,\n 'dialog-footer-border-top': this.divided\n });\n }\n}\n","<div class=\"dialog-footer-actions btn-pair\">\n <ng-content></ng-content>\n</div>\n@if (description) {\n <div class=\"dialog-footer-description\">\n <ng-container [ngTemplateOutlet]=\"description\"></ng-container>\n </div>\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ThyActionModule } from 'ngx-tethys/action';\nimport { ThyButtonModule } from 'ngx-tethys/button';\nimport { ThyFormModule } from 'ngx-tethys/form';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyDialogBody } from './body/dialog-body.component';\nimport { THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER } from './confirm.config';\nimport { ThyConfirm } from './confirm/confirm.component';\nimport { THY_CONFIRM_COMPONENT_TOKEN } from './confirm/token';\nimport { ThyDialogContainer } from './dialog-container.component';\nimport { THY_DIALOG_DEFAULT_OPTIONS_PROVIDER, THY_DIALOG_LAYOUT_CONFIG_PROVIDER } from './dialog.config';\nimport { ThyDialog } from './dialog.service';\nimport { ThyDialogFooter } from './footer/dialog-footer.component';\nimport { ThyDialogHeader } from './header/dialog-header.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ThySharedModule,\n PortalModule,\n OverlayModule,\n ThyButtonModule,\n ThyIconModule,\n ThyFormModule,\n FormsModule,\n ThyActionModule,\n ThyDialogContainer,\n ThyDialogHeader,\n ThyDialogBody,\n ThyDialogFooter,\n ThyConfirm\n ],\n providers: [\n ThyDialog,\n THY_DIALOG_DEFAULT_OPTIONS_PROVIDER,\n THY_CONFIRM_DEFAULT_OPTIONS_PROVIDER,\n THY_DIALOG_LAYOUT_CONFIG_PROVIDER,\n {\n provide: THY_CONFIRM_COMPONENT_TOKEN,\n useValue: ThyConfirm\n }\n ],\n exports: [ThyDialogContainer, ThyDialogHeader, ThyDialogBody, ThyDialogFooter]\n})\nexport class ThyDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AASO,MAAM,2BAA2B,GAAG,IAAI,cAAc,CAA8B,6BAA6B,CAAC;;ACPzH,MAAM,aAAa,GAAG;;;;AAIlB,IAAA,KAAK,CAAC,YAAY,EAAE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AmC;wBACnC,oCAAoC;wBACpC,iCAAiC;AACjC,wBAAA;AACI,4BAAA,OAAO,EAAE,2BAA2B;AACpC,4BAAA,QAAQ,EAAE;AACb;AACJ,qBAAA;oBACD,OAAO,EAAE,CAAC,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe;AAChF,iBAAA;;;AChDD;;AAEG;;;;"}
@@ -56,8 +56,8 @@ class ThyDivider {
56
56
  setColor(color) {
57
57
  this.hostRenderer.updateClass([`thy-divider-${color}`]);
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDivider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.4", type: ThyDivider, isStandalone: true, selector: "thy-divider", inputs: { thyVertical: ["thyVertical", "thyVertical", coerceBooleanProperty], thyStyle: "thyStyle", thyColor: "thyColor", thyText: "thyText", thyTextDirection: "thyTextDirection", thyDeeper: ["thyDeeper", "thyDeeper", coerceBooleanProperty] }, host: { properties: { "class.thy-divider": "true", "class.thy-divider-horizontal": "!thyVertical", "class.thy-divider-vertical": "thyVertical", "class.thy-divider-with-content": "textContent || templateContent", "class.thy-divider-with-content-left": "(textContent || templateContent) && thyTextDirection === 'left'", "class.thy-divider-with-content-right": "(textContent || templateContent) && thyTextDirection === 'right'", "class.thy-divider-with-content-center": "(textContent || templateContent) && thyTextDirection === 'center'", "class.thy-divider-solid": "thyStyle === 'solid'", "class.thy-divider-dashed": "thyStyle === 'dashed'", "class.thy-divider-deeper": "!!thyDeeper" } }, usesOnChanges: true, ngImport: i0, template: `
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDivider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: ThyDivider, isStandalone: true, selector: "thy-divider", inputs: { thyVertical: ["thyVertical", "thyVertical", coerceBooleanProperty], thyStyle: "thyStyle", thyColor: "thyColor", thyText: "thyText", thyTextDirection: "thyTextDirection", thyDeeper: ["thyDeeper", "thyDeeper", coerceBooleanProperty] }, host: { properties: { "class.thy-divider": "true", "class.thy-divider-horizontal": "!thyVertical", "class.thy-divider-vertical": "thyVertical", "class.thy-divider-with-content": "textContent || templateContent", "class.thy-divider-with-content-left": "(textContent || templateContent) && thyTextDirection === 'left'", "class.thy-divider-with-content-right": "(textContent || templateContent) && thyTextDirection === 'right'", "class.thy-divider-with-content-center": "(textContent || templateContent) && thyTextDirection === 'center'", "class.thy-divider-solid": "thyStyle === 'solid'", "class.thy-divider-dashed": "thyStyle === 'dashed'", "class.thy-divider-deeper": "!!thyDeeper" } }, usesOnChanges: true, ngImport: i0, template: `
61
61
  @if (templateContent) {
62
62
  <div class="thy-divider-inner-template">
63
63
  <ng-template *ngTemplateOutlet="templateContent"></ng-template>
@@ -69,7 +69,7 @@ class ThyDivider {
69
69
  }
70
70
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDivider, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDivider, decorators: [{
73
73
  type: Component,
74
74
  args: [{
75
75
  preserveWhitespaces: false,
@@ -118,11 +118,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImpor
118
118
  }] } });
119
119
 
120
120
  class ThyDividerModule {
121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
122
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: ThyDividerModule, imports: [CommonModule, ThySharedModule, ThyIconModule, ThyDivider], exports: [ThyDivider] }); }
123
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDividerModule, imports: [CommonModule, ThySharedModule, ThyIconModule] }); }
121
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
122
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ThyDividerModule, imports: [CommonModule, ThySharedModule, ThyIconModule, ThyDivider], exports: [ThyDivider] }); }
123
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDividerModule, imports: [CommonModule, ThySharedModule, ThyIconModule] }); }
124
124
  }
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: ThyDividerModule, decorators: [{
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ThyDividerModule, decorators: [{
126
126
  type: NgModule,
127
127
  args: [{
128
128
  imports: [CommonModule, ThySharedModule, ThyIconModule, ThyDivider],