@star-ng/ui 0.0.0-placeholder.0 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +147 -3
  3. package/fesm2022/star-ng-ui-accordion.mjs +376 -0
  4. package/fesm2022/star-ng-ui-accordion.mjs.map +1 -0
  5. package/fesm2022/star-ng-ui-autocomplete.mjs +782 -0
  6. package/fesm2022/star-ng-ui-autocomplete.mjs.map +1 -0
  7. package/fesm2022/star-ng-ui-avatar.mjs +154 -0
  8. package/fesm2022/star-ng-ui-avatar.mjs.map +1 -0
  9. package/fesm2022/star-ng-ui-badge.mjs +153 -0
  10. package/fesm2022/star-ng-ui-badge.mjs.map +1 -0
  11. package/fesm2022/star-ng-ui-breadcrumb.mjs +199 -0
  12. package/fesm2022/star-ng-ui-breadcrumb.mjs.map +1 -0
  13. package/fesm2022/star-ng-ui-button.mjs +282 -0
  14. package/fesm2022/star-ng-ui-button.mjs.map +1 -0
  15. package/fesm2022/star-ng-ui-card.mjs +112 -0
  16. package/fesm2022/star-ng-ui-card.mjs.map +1 -0
  17. package/fesm2022/star-ng-ui-chart.mjs +1904 -0
  18. package/fesm2022/star-ng-ui-chart.mjs.map +1 -0
  19. package/fesm2022/star-ng-ui-checkbox.mjs +345 -0
  20. package/fesm2022/star-ng-ui-checkbox.mjs.map +1 -0
  21. package/fesm2022/star-ng-ui-core.mjs +392 -0
  22. package/fesm2022/star-ng-ui-core.mjs.map +1 -0
  23. package/fesm2022/star-ng-ui-data-display.mjs +1556 -0
  24. package/fesm2022/star-ng-ui-data-display.mjs.map +1 -0
  25. package/fesm2022/star-ng-ui-date-picker.mjs +2786 -0
  26. package/fesm2022/star-ng-ui-date-picker.mjs.map +1 -0
  27. package/fesm2022/star-ng-ui-dialog.mjs +948 -0
  28. package/fesm2022/star-ng-ui-dialog.mjs.map +1 -0
  29. package/fesm2022/star-ng-ui-drawer.mjs +158 -0
  30. package/fesm2022/star-ng-ui-drawer.mjs.map +1 -0
  31. package/fesm2022/star-ng-ui-editor.mjs +416 -0
  32. package/fesm2022/star-ng-ui-editor.mjs.map +1 -0
  33. package/fesm2022/star-ng-ui-field.mjs +378 -0
  34. package/fesm2022/star-ng-ui-field.mjs.map +1 -0
  35. package/fesm2022/star-ng-ui-file-upload.mjs +762 -0
  36. package/fesm2022/star-ng-ui-file-upload.mjs.map +1 -0
  37. package/fesm2022/star-ng-ui-i18n-de.mjs +179 -0
  38. package/fesm2022/star-ng-ui-i18n-de.mjs.map +1 -0
  39. package/fesm2022/star-ng-ui-i18n-es.mjs +179 -0
  40. package/fesm2022/star-ng-ui-i18n-es.mjs.map +1 -0
  41. package/fesm2022/star-ng-ui-input-group.mjs +188 -0
  42. package/fesm2022/star-ng-ui-input-group.mjs.map +1 -0
  43. package/fesm2022/star-ng-ui-input-mask.mjs +434 -0
  44. package/fesm2022/star-ng-ui-input-mask.mjs.map +1 -0
  45. package/fesm2022/star-ng-ui-input-number.mjs +691 -0
  46. package/fesm2022/star-ng-ui-input-number.mjs.map +1 -0
  47. package/fesm2022/star-ng-ui-input-otp.mjs +343 -0
  48. package/fesm2022/star-ng-ui-input-otp.mjs.map +1 -0
  49. package/fesm2022/star-ng-ui-input-tags.mjs +616 -0
  50. package/fesm2022/star-ng-ui-input-tags.mjs.map +1 -0
  51. package/fesm2022/star-ng-ui-knob.mjs +514 -0
  52. package/fesm2022/star-ng-ui-knob.mjs.map +1 -0
  53. package/fesm2022/star-ng-ui-layout.mjs +608 -0
  54. package/fesm2022/star-ng-ui-layout.mjs.map +1 -0
  55. package/fesm2022/star-ng-ui-listbox.mjs +978 -0
  56. package/fesm2022/star-ng-ui-listbox.mjs.map +1 -0
  57. package/fesm2022/star-ng-ui-media.mjs +833 -0
  58. package/fesm2022/star-ng-ui-media.mjs.map +1 -0
  59. package/fesm2022/star-ng-ui-menu.mjs +1840 -0
  60. package/fesm2022/star-ng-ui-menu.mjs.map +1 -0
  61. package/fesm2022/star-ng-ui-message.mjs +191 -0
  62. package/fesm2022/star-ng-ui-message.mjs.map +1 -0
  63. package/fesm2022/star-ng-ui-paginator.mjs +387 -0
  64. package/fesm2022/star-ng-ui-paginator.mjs.map +1 -0
  65. package/fesm2022/star-ng-ui-panel.mjs +324 -0
  66. package/fesm2022/star-ng-ui-panel.mjs.map +1 -0
  67. package/fesm2022/star-ng-ui-password.mjs +517 -0
  68. package/fesm2022/star-ng-ui-password.mjs.map +1 -0
  69. package/fesm2022/star-ng-ui-popover.mjs +241 -0
  70. package/fesm2022/star-ng-ui-popover.mjs.map +1 -0
  71. package/fesm2022/star-ng-ui-progress-bar.mjs +183 -0
  72. package/fesm2022/star-ng-ui-progress-bar.mjs.map +1 -0
  73. package/fesm2022/star-ng-ui-radio.mjs +411 -0
  74. package/fesm2022/star-ng-ui-radio.mjs.map +1 -0
  75. package/fesm2022/star-ng-ui-rating.mjs +211 -0
  76. package/fesm2022/star-ng-ui-rating.mjs.map +1 -0
  77. package/fesm2022/star-ng-ui-select-button.mjs +613 -0
  78. package/fesm2022/star-ng-ui-select-button.mjs.map +1 -0
  79. package/fesm2022/star-ng-ui-select.mjs +2523 -0
  80. package/fesm2022/star-ng-ui-select.mjs.map +1 -0
  81. package/fesm2022/star-ng-ui-skeleton.mjs +160 -0
  82. package/fesm2022/star-ng-ui-skeleton.mjs.map +1 -0
  83. package/fesm2022/star-ng-ui-slider.mjs +552 -0
  84. package/fesm2022/star-ng-ui-slider.mjs.map +1 -0
  85. package/fesm2022/star-ng-ui-spinner.mjs +148 -0
  86. package/fesm2022/star-ng-ui-spinner.mjs.map +1 -0
  87. package/fesm2022/star-ng-ui-stepper.mjs +360 -0
  88. package/fesm2022/star-ng-ui-stepper.mjs.map +1 -0
  89. package/fesm2022/star-ng-ui-table.mjs +3477 -0
  90. package/fesm2022/star-ng-ui-table.mjs.map +1 -0
  91. package/fesm2022/star-ng-ui-tabs.mjs +464 -0
  92. package/fesm2022/star-ng-ui-tabs.mjs.map +1 -0
  93. package/fesm2022/star-ng-ui-tag.mjs +129 -0
  94. package/fesm2022/star-ng-ui-tag.mjs.map +1 -0
  95. package/fesm2022/star-ng-ui-theme-switch.mjs +105 -0
  96. package/fesm2022/star-ng-ui-theme-switch.mjs.map +1 -0
  97. package/fesm2022/star-ng-ui-theme.mjs +98 -0
  98. package/fesm2022/star-ng-ui-theme.mjs.map +1 -0
  99. package/fesm2022/star-ng-ui-toast.mjs +298 -0
  100. package/fesm2022/star-ng-ui-toast.mjs.map +1 -0
  101. package/fesm2022/star-ng-ui-toggle-switch.mjs +316 -0
  102. package/fesm2022/star-ng-ui-toggle-switch.mjs.map +1 -0
  103. package/fesm2022/star-ng-ui-tooltip.mjs +297 -0
  104. package/fesm2022/star-ng-ui-tooltip.mjs.map +1 -0
  105. package/fesm2022/star-ng-ui-transloco.mjs +40 -0
  106. package/fesm2022/star-ng-ui-transloco.mjs.map +1 -0
  107. package/fesm2022/star-ng-ui-tree.mjs +1446 -0
  108. package/fesm2022/star-ng-ui-tree.mjs.map +1 -0
  109. package/fesm2022/star-ng-ui-utility.mjs +2134 -0
  110. package/fesm2022/star-ng-ui-utility.mjs.map +1 -0
  111. package/fesm2022/star-ng-ui.mjs +51 -0
  112. package/package.json +281 -5
  113. package/styles/_base.scss +70 -0
  114. package/styles/_shared.scss +2 -0
  115. package/styles/_tokens.scss +190 -0
  116. package/styles/controls/_accordion.scss +75 -0
  117. package/styles/controls/_autocomplete.scss +44 -0
  118. package/styles/controls/_avatar.scss +39 -0
  119. package/styles/controls/_breadcrumb.scss +45 -0
  120. package/styles/controls/_button.scss +137 -0
  121. package/styles/controls/_card.scss +38 -0
  122. package/styles/controls/_chart.scss +214 -0
  123. package/styles/controls/_chip.scss +51 -0
  124. package/styles/controls/_choice.scss +153 -0
  125. package/styles/controls/_data-display.scss +118 -0
  126. package/styles/controls/_date-picker.scss +300 -0
  127. package/styles/controls/_dialog.scss +123 -0
  128. package/styles/controls/_drawer.scss +118 -0
  129. package/styles/controls/_editor.scss +74 -0
  130. package/styles/controls/_field.scss +92 -0
  131. package/styles/controls/_file-upload.scss +136 -0
  132. package/styles/controls/_input-group.scss +104 -0
  133. package/styles/controls/_input-mask.scss +46 -0
  134. package/styles/controls/_input-number.scss +125 -0
  135. package/styles/controls/_knob.scss +76 -0
  136. package/styles/controls/_layout.scss +182 -0
  137. package/styles/controls/_listbox.scss +38 -0
  138. package/styles/controls/_media.scss +222 -0
  139. package/styles/controls/_menu.scss +254 -0
  140. package/styles/controls/_message.scss +48 -0
  141. package/styles/controls/_org-chart.scss +128 -0
  142. package/styles/controls/_paginator.scss +59 -0
  143. package/styles/controls/_panel.scss +83 -0
  144. package/styles/controls/_popover.scss +40 -0
  145. package/styles/controls/_progress-bar.scss +74 -0
  146. package/styles/controls/_select-button.scss +61 -0
  147. package/styles/controls/_select.scss +216 -0
  148. package/styles/controls/_skeleton.scss +43 -0
  149. package/styles/controls/_slider.scss +163 -0
  150. package/styles/controls/_spinner.scss +34 -0
  151. package/styles/controls/_stepper.scss +109 -0
  152. package/styles/controls/_table.scss +523 -0
  153. package/styles/controls/_tabs.scss +93 -0
  154. package/styles/controls/_tag.scss +84 -0
  155. package/styles/controls/_toast.scss +141 -0
  156. package/styles/controls/_tooltip.scss +14 -0
  157. package/styles/controls/_tree.scss +113 -0
  158. package/styles/controls/_utility.scss +654 -0
  159. package/styles/star-ng.css +5803 -0
  160. package/styles/star-ng.min.css +1 -0
  161. package/styles/star-ng.scss +50 -0
  162. package/theme/star-theme-first-paint.js +1 -0
  163. package/types/star-ng-ui-accordion.d.ts +82 -0
  164. package/types/star-ng-ui-autocomplete.d.ts +171 -0
  165. package/types/star-ng-ui-avatar.d.ts +43 -0
  166. package/types/star-ng-ui-badge.d.ts +46 -0
  167. package/types/star-ng-ui-breadcrumb.d.ts +39 -0
  168. package/types/star-ng-ui-button.d.ts +79 -0
  169. package/types/star-ng-ui-card.d.ts +29 -0
  170. package/types/star-ng-ui-chart.d.ts +337 -0
  171. package/types/star-ng-ui-checkbox.d.ts +92 -0
  172. package/types/star-ng-ui-core.d.ts +310 -0
  173. package/types/star-ng-ui-data-display.d.ts +339 -0
  174. package/types/star-ng-ui-date-picker.d.ts +701 -0
  175. package/types/star-ng-ui-dialog.d.ts +254 -0
  176. package/types/star-ng-ui-drawer.d.ts +29 -0
  177. package/types/star-ng-ui-editor.d.ts +96 -0
  178. package/types/star-ng-ui-field.d.ts +146 -0
  179. package/types/star-ng-ui-file-upload.d.ts +192 -0
  180. package/types/star-ng-ui-i18n-de.d.ts +7 -0
  181. package/types/star-ng-ui-i18n-es.d.ts +7 -0
  182. package/types/star-ng-ui-input-group.d.ts +58 -0
  183. package/types/star-ng-ui-input-mask.d.ts +126 -0
  184. package/types/star-ng-ui-input-number.d.ts +193 -0
  185. package/types/star-ng-ui-input-otp.d.ts +86 -0
  186. package/types/star-ng-ui-input-tags.d.ts +159 -0
  187. package/types/star-ng-ui-knob.d.ts +121 -0
  188. package/types/star-ng-ui-layout.d.ts +154 -0
  189. package/types/star-ng-ui-listbox.d.ts +197 -0
  190. package/types/star-ng-ui-media.d.ts +161 -0
  191. package/types/star-ng-ui-menu.d.ts +332 -0
  192. package/types/star-ng-ui-message.d.ts +52 -0
  193. package/types/star-ng-ui-paginator.d.ts +85 -0
  194. package/types/star-ng-ui-panel.d.ts +65 -0
  195. package/types/star-ng-ui-password.d.ts +129 -0
  196. package/types/star-ng-ui-popover.d.ts +57 -0
  197. package/types/star-ng-ui-progress-bar.d.ts +49 -0
  198. package/types/star-ng-ui-radio.d.ts +116 -0
  199. package/types/star-ng-ui-rating.d.ts +52 -0
  200. package/types/star-ng-ui-select-button.d.ts +169 -0
  201. package/types/star-ng-ui-select.d.ts +540 -0
  202. package/types/star-ng-ui-skeleton.d.ts +47 -0
  203. package/types/star-ng-ui-slider.d.ts +145 -0
  204. package/types/star-ng-ui-spinner.d.ts +29 -0
  205. package/types/star-ng-ui-stepper.d.ts +89 -0
  206. package/types/star-ng-ui-table.d.ts +829 -0
  207. package/types/star-ng-ui-tabs.d.ts +109 -0
  208. package/types/star-ng-ui-tag.d.ts +35 -0
  209. package/types/star-ng-ui-theme-switch.d.ts +36 -0
  210. package/types/star-ng-ui-theme.d.ts +95 -0
  211. package/types/star-ng-ui-toast.d.ts +84 -0
  212. package/types/star-ng-ui-toggle-switch.d.ts +81 -0
  213. package/types/star-ng-ui-tooltip.d.ts +66 -0
  214. package/types/star-ng-ui-transloco.d.ts +14 -0
  215. package/types/star-ng-ui-tree.d.ts +310 -0
  216. package/types/star-ng-ui-utility.d.ts +533 -0
  217. package/types/star-ng-ui.d.ts +51 -0
@@ -0,0 +1,948 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ApplicationRef, ChangeDetectionStrategy, Component, EnvironmentInjector, InjectionToken, Injector, Service, afterRenderEffect, booleanAttribute, computed, createComponent, inject, input, model, output, signal, viewChild } from "@angular/core";
3
+ import { StarButton } from "@star-ng/ui/button";
4
+ import { STAR_UI_TEXT } from "@star-ng/ui/core";
5
+ import { StarPopover } from "@star-ng/ui/popover";
6
+ import { _IdGenerator } from "@angular/cdk/a11y";
7
+ import { NgComponentOutlet } from "@angular/common";
8
+ const FOCUSABLE = "button:not([disabled]), [href], input:not([disabled]), select, textarea, [tabindex]:not([tabindex=\"-1\"])";
9
+ var StarDialog = class StarDialog {
10
+ text = inject(STAR_UI_TEXT);
11
+ visible = model(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
12
+ header = input("", ...ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []);
13
+ size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
14
+ width = input(null, ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
15
+ modal = input(true, {
16
+ ...ngDevMode ? { debugName: "modal" } : /* istanbul ignore next */ {},
17
+ transform: booleanAttribute
18
+ });
19
+ closable = input(true, {
20
+ ...ngDevMode ? { debugName: "closable" } : /* istanbul ignore next */ {},
21
+ transform: booleanAttribute
22
+ });
23
+ closeOnEscape = input(true, {
24
+ ...ngDevMode ? { debugName: "closeOnEscape" } : /* istanbul ignore next */ {},
25
+ transform: booleanAttribute
26
+ });
27
+ dismissableMask = input(false, {
28
+ ...ngDevMode ? { debugName: "dismissableMask" } : /* istanbul ignore next */ {},
29
+ transform: booleanAttribute
30
+ });
31
+ showHeader = input(true, {
32
+ ...ngDevMode ? { debugName: "showHeader" } : /* istanbul ignore next */ {},
33
+ transform: booleanAttribute
34
+ });
35
+ role = input("dialog", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
36
+ ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
37
+ shown = output();
38
+ hidden = output();
39
+ headerId = inject(_IdGenerator).getId("star-dialog-title-");
40
+ dialog = viewChild.required("dialog", ...ngDevMode ? [{ debugName: "dialog" }] : /* istanbul ignore next */ []);
41
+ isOpen = false;
42
+ constructor() {
43
+ afterRenderEffect({ write: () => {
44
+ const element = this.dialog().nativeElement;
45
+ const visible = this.visible();
46
+ if (visible && !element.open) {
47
+ if (this.modal()) element.showModal?.();
48
+ else element.show?.();
49
+ this.isOpen = true;
50
+ this.focusInitial(element);
51
+ this.shown.emit();
52
+ } else if (!visible && element.open) {
53
+ element.close();
54
+ this.markHidden();
55
+ }
56
+ } });
57
+ }
58
+ close() {
59
+ this.visible.set(false);
60
+ }
61
+ focusInitial(element) {
62
+ const marked = element.querySelector("[data-autofocus]");
63
+ if (!marked) return;
64
+ (marked.matches(FOCUSABLE) ? marked : marked.querySelector(FOCUSABLE))?.focus();
65
+ }
66
+ onCancel(event) {
67
+ event.preventDefault();
68
+ if (this.closeOnEscape() && this.closable()) this.close();
69
+ }
70
+ onNativeClose() {
71
+ if (this.visible()) this.visible.set(false);
72
+ this.markHidden();
73
+ }
74
+ markHidden() {
75
+ if (!this.isOpen) return;
76
+ this.isOpen = false;
77
+ this.hidden.emit();
78
+ }
79
+ onDialogClick(event) {
80
+ if (event.target === this.dialog().nativeElement && this.dismissableMask() && this.modal()) this.close();
81
+ }
82
+ static ɵfac = i0.ɵɵngDeclareFactory({
83
+ minVersion: "12.0.0",
84
+ version: "22.2.6",
85
+ ngImport: i0,
86
+ type: StarDialog,
87
+ deps: [],
88
+ target: i0.ɵɵFactoryTarget.Component
89
+ });
90
+ static ɵcmp = i0.ɵɵngDeclareComponent({
91
+ minVersion: "17.0.0",
92
+ version: "22.2.6",
93
+ type: StarDialog,
94
+ isStandalone: true,
95
+ selector: "star-dialog",
96
+ inputs: {
97
+ visible: {
98
+ classPropertyName: "visible",
99
+ publicName: "visible",
100
+ isSignal: true,
101
+ isRequired: false,
102
+ transformFunction: null
103
+ },
104
+ header: {
105
+ classPropertyName: "header",
106
+ publicName: "header",
107
+ isSignal: true,
108
+ isRequired: false,
109
+ transformFunction: null
110
+ },
111
+ size: {
112
+ classPropertyName: "size",
113
+ publicName: "size",
114
+ isSignal: true,
115
+ isRequired: false,
116
+ transformFunction: null
117
+ },
118
+ width: {
119
+ classPropertyName: "width",
120
+ publicName: "width",
121
+ isSignal: true,
122
+ isRequired: false,
123
+ transformFunction: null
124
+ },
125
+ modal: {
126
+ classPropertyName: "modal",
127
+ publicName: "modal",
128
+ isSignal: true,
129
+ isRequired: false,
130
+ transformFunction: null
131
+ },
132
+ closable: {
133
+ classPropertyName: "closable",
134
+ publicName: "closable",
135
+ isSignal: true,
136
+ isRequired: false,
137
+ transformFunction: null
138
+ },
139
+ closeOnEscape: {
140
+ classPropertyName: "closeOnEscape",
141
+ publicName: "closeOnEscape",
142
+ isSignal: true,
143
+ isRequired: false,
144
+ transformFunction: null
145
+ },
146
+ dismissableMask: {
147
+ classPropertyName: "dismissableMask",
148
+ publicName: "dismissableMask",
149
+ isSignal: true,
150
+ isRequired: false,
151
+ transformFunction: null
152
+ },
153
+ showHeader: {
154
+ classPropertyName: "showHeader",
155
+ publicName: "showHeader",
156
+ isSignal: true,
157
+ isRequired: false,
158
+ transformFunction: null
159
+ },
160
+ role: {
161
+ classPropertyName: "role",
162
+ publicName: "role",
163
+ isSignal: true,
164
+ isRequired: false,
165
+ transformFunction: null
166
+ },
167
+ ariaLabel: {
168
+ classPropertyName: "ariaLabel",
169
+ publicName: "ariaLabel",
170
+ isSignal: true,
171
+ isRequired: false,
172
+ transformFunction: null
173
+ }
174
+ },
175
+ outputs: {
176
+ visible: "visibleChange",
177
+ shown: "shown",
178
+ hidden: "hidden"
179
+ },
180
+ viewQueries: [{
181
+ propertyName: "dialog",
182
+ first: true,
183
+ predicate: ["dialog"],
184
+ descendants: true,
185
+ isSignal: true
186
+ }],
187
+ ngImport: i0,
188
+ template: `
189
+ <!-- Backdrop click only; keyboard users close with Escape (native cancel event). -->
190
+ <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->
191
+ <dialog
192
+ #dialog
193
+ class="star-dialog"
194
+ [class]="'star-dialog--' + size()"
195
+ [class.star-dialog--modal]="modal()"
196
+ [style.width]="width()"
197
+ [attr.aria-labelledby]="header() ? headerId : null"
198
+ [attr.aria-label]="header() ? null : ariaLabel()"
199
+ [attr.role]="role()"
200
+ (cancel)="onCancel($event)"
201
+ (close)="onNativeClose()"
202
+ (click)="onDialogClick($event)"
203
+ >
204
+ <div class="star-dialog__surface">
205
+ @if (showHeader()) {
206
+ <header class="star-dialog__header">
207
+ <div class="star-dialog__heading">
208
+ @if (header()) {
209
+ <h2 class="star-dialog__title" [id]="headerId">{{ header() }}</h2>
210
+ }
211
+ <ng-content select="[starDialogHeader]" />
212
+ </div>
213
+ @if (closable()) {
214
+ <button
215
+ type="button"
216
+ class="star-btn star-btn--ghost star-btn--icon star-dialog__close"
217
+ [attr.aria-label]="text.close"
218
+ (click)="close()"
219
+ >
220
+ <i class="ph-bold ph-x" aria-hidden="true"></i>
221
+ </button>
222
+ }
223
+ </header>
224
+ }
225
+ <div class="star-dialog__body"><ng-content /></div>
226
+ <ng-content select="[starDialogFooter]" />
227
+ </div>
228
+ </dialog>
229
+ `,
230
+ isInline: true,
231
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
232
+ });
233
+ };
234
+ i0.ɵɵngDeclareClassMetadata({
235
+ minVersion: "12.0.0",
236
+ version: "22.2.6",
237
+ ngImport: i0,
238
+ type: StarDialog,
239
+ decorators: [{
240
+ type: Component,
241
+ args: [{
242
+ selector: "star-dialog",
243
+ changeDetection: ChangeDetectionStrategy.OnPush,
244
+ template: `
245
+ <!-- Backdrop click only; keyboard users close with Escape (native cancel event). -->
246
+ <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->
247
+ <dialog
248
+ #dialog
249
+ class="star-dialog"
250
+ [class]="'star-dialog--' + size()"
251
+ [class.star-dialog--modal]="modal()"
252
+ [style.width]="width()"
253
+ [attr.aria-labelledby]="header() ? headerId : null"
254
+ [attr.aria-label]="header() ? null : ariaLabel()"
255
+ [attr.role]="role()"
256
+ (cancel)="onCancel($event)"
257
+ (close)="onNativeClose()"
258
+ (click)="onDialogClick($event)"
259
+ >
260
+ <div class="star-dialog__surface">
261
+ @if (showHeader()) {
262
+ <header class="star-dialog__header">
263
+ <div class="star-dialog__heading">
264
+ @if (header()) {
265
+ <h2 class="star-dialog__title" [id]="headerId">{{ header() }}</h2>
266
+ }
267
+ <ng-content select="[starDialogHeader]" />
268
+ </div>
269
+ @if (closable()) {
270
+ <button
271
+ type="button"
272
+ class="star-btn star-btn--ghost star-btn--icon star-dialog__close"
273
+ [attr.aria-label]="text.close"
274
+ (click)="close()"
275
+ >
276
+ <i class="ph-bold ph-x" aria-hidden="true"></i>
277
+ </button>
278
+ }
279
+ </header>
280
+ }
281
+ <div class="star-dialog__body"><ng-content /></div>
282
+ <ng-content select="[starDialogFooter]" />
283
+ </div>
284
+ </dialog>
285
+ `
286
+ }]
287
+ }],
288
+ ctorParameters: () => [],
289
+ propDecorators: {
290
+ visible: [{
291
+ type: i0.Input,
292
+ args: [{
293
+ isSignal: true,
294
+ alias: "visible",
295
+ required: false
296
+ }]
297
+ }, {
298
+ type: i0.Output,
299
+ args: ["visibleChange"]
300
+ }],
301
+ header: [{
302
+ type: i0.Input,
303
+ args: [{
304
+ isSignal: true,
305
+ alias: "header",
306
+ required: false
307
+ }]
308
+ }],
309
+ size: [{
310
+ type: i0.Input,
311
+ args: [{
312
+ isSignal: true,
313
+ alias: "size",
314
+ required: false
315
+ }]
316
+ }],
317
+ width: [{
318
+ type: i0.Input,
319
+ args: [{
320
+ isSignal: true,
321
+ alias: "width",
322
+ required: false
323
+ }]
324
+ }],
325
+ modal: [{
326
+ type: i0.Input,
327
+ args: [{
328
+ isSignal: true,
329
+ alias: "modal",
330
+ required: false
331
+ }]
332
+ }],
333
+ closable: [{
334
+ type: i0.Input,
335
+ args: [{
336
+ isSignal: true,
337
+ alias: "closable",
338
+ required: false
339
+ }]
340
+ }],
341
+ closeOnEscape: [{
342
+ type: i0.Input,
343
+ args: [{
344
+ isSignal: true,
345
+ alias: "closeOnEscape",
346
+ required: false
347
+ }]
348
+ }],
349
+ dismissableMask: [{
350
+ type: i0.Input,
351
+ args: [{
352
+ isSignal: true,
353
+ alias: "dismissableMask",
354
+ required: false
355
+ }]
356
+ }],
357
+ showHeader: [{
358
+ type: i0.Input,
359
+ args: [{
360
+ isSignal: true,
361
+ alias: "showHeader",
362
+ required: false
363
+ }]
364
+ }],
365
+ role: [{
366
+ type: i0.Input,
367
+ args: [{
368
+ isSignal: true,
369
+ alias: "role",
370
+ required: false
371
+ }]
372
+ }],
373
+ ariaLabel: [{
374
+ type: i0.Input,
375
+ args: [{
376
+ isSignal: true,
377
+ alias: "ariaLabel",
378
+ required: false
379
+ }]
380
+ }],
381
+ shown: [{
382
+ type: i0.Output,
383
+ args: ["shown"]
384
+ }],
385
+ hidden: [{
386
+ type: i0.Output,
387
+ args: ["hidden"]
388
+ }],
389
+ dialog: [{
390
+ type: i0.ViewChild,
391
+ args: ["dialog", { isSignal: true }]
392
+ }]
393
+ }
394
+ });
395
+ var StarConfirmService = class StarConfirmService {
396
+ queue = signal([], ...ngDevMode ? [{ debugName: "queue" }] : /* istanbul ignore next */ []);
397
+ current = computed(() => this.queue()[0] ?? null, ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
398
+ ask(options) {
399
+ return new Promise((resolve) => this.queue.update((queue) => [...queue, {
400
+ ...options,
401
+ resolve
402
+ }]));
403
+ }
404
+ settle(accepted) {
405
+ const current = this.current();
406
+ if (!current) return;
407
+ this.queue.update((queue) => queue.slice(1));
408
+ current.resolve(accepted);
409
+ }
410
+ static ɵfac = i0.ɵɵngDeclareFactory({
411
+ minVersion: "12.0.0",
412
+ version: "22.2.6",
413
+ ngImport: i0,
414
+ type: StarConfirmService,
415
+ deps: [],
416
+ target: i0.ɵɵFactoryTarget.Service
417
+ });
418
+ static ɵprov = i0.ɵɵngDeclareService({
419
+ minVersion: "22.0.0",
420
+ version: "22.2.6",
421
+ ngImport: i0,
422
+ type: StarConfirmService
423
+ });
424
+ };
425
+ i0.ɵɵngDeclareClassMetadata({
426
+ minVersion: "12.0.0",
427
+ version: "22.2.6",
428
+ ngImport: i0,
429
+ type: StarConfirmService,
430
+ decorators: [{ type: Service }]
431
+ });
432
+ var StarConfirmHost = class StarConfirmHost {
433
+ confirm = inject(StarConfirmService);
434
+ text = inject(STAR_UI_TEXT);
435
+ popover = viewChild.required(StarPopover, ...ngDevMode ? [{ debugName: "popover" }] : /* istanbul ignore next */ []);
436
+ dialogRequest = computed(() => {
437
+ const current = this.confirm.current();
438
+ return current && !current.target ? current : null;
439
+ }, ...ngDevMode ? [{ debugName: "dialogRequest" }] : /* istanbul ignore next */ []);
440
+ popupRequest = computed(() => {
441
+ const current = this.confirm.current();
442
+ return current?.target ? current : null;
443
+ }, ...ngDevMode ? [{ debugName: "popupRequest" }] : /* istanbul ignore next */ []);
444
+ shownPopup = null;
445
+ constructor() {
446
+ afterRenderEffect({ write: () => {
447
+ const request = this.popupRequest();
448
+ const popover = this.popover();
449
+ if (request?.target && request !== this.shownPopup) {
450
+ this.shownPopup = request;
451
+ popover.show(request.target);
452
+ } else if (!request && this.shownPopup) {
453
+ this.shownPopup = null;
454
+ popover.hide();
455
+ }
456
+ } });
457
+ }
458
+ onPopupHidden() {
459
+ if (this.shownPopup && this.confirm.current() === this.shownPopup) {
460
+ this.shownPopup = null;
461
+ this.confirm.settle(false);
462
+ }
463
+ }
464
+ static ɵfac = i0.ɵɵngDeclareFactory({
465
+ minVersion: "12.0.0",
466
+ version: "22.2.6",
467
+ ngImport: i0,
468
+ type: StarConfirmHost,
469
+ deps: [],
470
+ target: i0.ɵɵFactoryTarget.Component
471
+ });
472
+ static ɵcmp = i0.ɵɵngDeclareComponent({
473
+ minVersion: "17.0.0",
474
+ version: "22.2.6",
475
+ type: StarConfirmHost,
476
+ isStandalone: true,
477
+ selector: "star-confirm-host",
478
+ viewQueries: [{
479
+ propertyName: "popover",
480
+ first: true,
481
+ predicate: StarPopover,
482
+ descendants: true,
483
+ isSignal: true
484
+ }],
485
+ ngImport: i0,
486
+ template: `
487
+ @let request = dialogRequest();
488
+ @let popup = popupRequest();
489
+ <star-popover #popover [ariaLabel]="popup?.header ?? null" (hidden)="onPopupHidden()">
490
+ @if (popup) {
491
+ <div
492
+ class="star-confirm star-confirm--popup"
493
+ role="alertdialog"
494
+ [attr.aria-label]="popup.header"
495
+ >
496
+ @if (popup.icon) {
497
+ <span class="star-confirm__icon" aria-hidden="true"><i [class]="popup.icon"></i></span>
498
+ }
499
+ <p class="star-confirm__message">{{ popup.message }}</p>
500
+ </div>
501
+ <div class="star-confirm__actions">
502
+ @if (popup.rejectVisible !== false) {
503
+ <star-button size="sm" variant="ghost" (pressed)="confirm.settle(false)">
504
+ {{ popup.rejectLabel ?? text.reject }}
505
+ </star-button>
506
+ }
507
+ <star-button
508
+ size="sm"
509
+ [variant]="popup.acceptVariant ?? 'primary'"
510
+ (pressed)="confirm.settle(true)"
511
+ >
512
+ {{ popup.acceptLabel ?? text.accept }}
513
+ </star-button>
514
+ </div>
515
+ }
516
+ </star-popover>
517
+ <star-dialog
518
+ [role]="'alertdialog'"
519
+ size="sm"
520
+ [visible]="!!request"
521
+ [header]="request ? request.header : ''"
522
+ (visibleChange)="!$event && confirm.settle(false)"
523
+ >
524
+ @if (request) {
525
+ <div class="star-confirm">
526
+ @if (request.icon) {
527
+ <span class="star-confirm__icon" aria-hidden="true"
528
+ ><i [class]="request.icon"></i
529
+ ></span>
530
+ }
531
+ <p class="star-confirm__message">{{ request.message }}</p>
532
+ </div>
533
+ }
534
+ @if (request) {
535
+ <div starDialogFooter class="star-dialog__footer">
536
+ @if (request.rejectVisible !== false) {
537
+ <star-button
538
+ variant="ghost"
539
+ [attr.data-autofocus]="request.defaultFocus !== 'accept' ? '' : null"
540
+ (pressed)="confirm.settle(false)"
541
+ >
542
+ {{ request.rejectLabel ?? text.reject }}
543
+ </star-button>
544
+ }
545
+ <star-button
546
+ [variant]="request.acceptVariant ?? 'primary'"
547
+ [attr.data-autofocus]="request.defaultFocus === 'accept' ? '' : null"
548
+ (pressed)="confirm.settle(true)"
549
+ >
550
+ {{ request.acceptLabel ?? text.accept }}
551
+ </star-button>
552
+ </div>
553
+ }
554
+ </star-dialog>
555
+ `,
556
+ isInline: true,
557
+ dependencies: [
558
+ {
559
+ kind: "component",
560
+ type: StarDialog,
561
+ selector: "star-dialog",
562
+ inputs: [
563
+ "visible",
564
+ "header",
565
+ "size",
566
+ "width",
567
+ "modal",
568
+ "closable",
569
+ "closeOnEscape",
570
+ "dismissableMask",
571
+ "showHeader",
572
+ "role",
573
+ "ariaLabel"
574
+ ],
575
+ outputs: [
576
+ "visibleChange",
577
+ "shown",
578
+ "hidden"
579
+ ]
580
+ },
581
+ {
582
+ kind: "component",
583
+ type: StarButton,
584
+ selector: "star-button",
585
+ inputs: [
586
+ "variant",
587
+ "size",
588
+ "type",
589
+ "disabled",
590
+ "loading",
591
+ "leadingIcon",
592
+ "trailingIcon",
593
+ "iconOnly",
594
+ "fullWidth",
595
+ "ariaLabel"
596
+ ],
597
+ outputs: ["pressed"]
598
+ },
599
+ {
600
+ kind: "component",
601
+ type: StarPopover,
602
+ selector: "star-popover",
603
+ inputs: [
604
+ "ariaLabel",
605
+ "focusOnShow",
606
+ "dismissable"
607
+ ],
608
+ outputs: ["shown", "hidden"]
609
+ }
610
+ ],
611
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
612
+ });
613
+ };
614
+ i0.ɵɵngDeclareClassMetadata({
615
+ minVersion: "12.0.0",
616
+ version: "22.2.6",
617
+ ngImport: i0,
618
+ type: StarConfirmHost,
619
+ decorators: [{
620
+ type: Component,
621
+ args: [{
622
+ selector: "star-confirm-host",
623
+ imports: [
624
+ StarDialog,
625
+ StarButton,
626
+ StarPopover
627
+ ],
628
+ changeDetection: ChangeDetectionStrategy.OnPush,
629
+ template: `
630
+ @let request = dialogRequest();
631
+ @let popup = popupRequest();
632
+ <star-popover #popover [ariaLabel]="popup?.header ?? null" (hidden)="onPopupHidden()">
633
+ @if (popup) {
634
+ <div
635
+ class="star-confirm star-confirm--popup"
636
+ role="alertdialog"
637
+ [attr.aria-label]="popup.header"
638
+ >
639
+ @if (popup.icon) {
640
+ <span class="star-confirm__icon" aria-hidden="true"><i [class]="popup.icon"></i></span>
641
+ }
642
+ <p class="star-confirm__message">{{ popup.message }}</p>
643
+ </div>
644
+ <div class="star-confirm__actions">
645
+ @if (popup.rejectVisible !== false) {
646
+ <star-button size="sm" variant="ghost" (pressed)="confirm.settle(false)">
647
+ {{ popup.rejectLabel ?? text.reject }}
648
+ </star-button>
649
+ }
650
+ <star-button
651
+ size="sm"
652
+ [variant]="popup.acceptVariant ?? 'primary'"
653
+ (pressed)="confirm.settle(true)"
654
+ >
655
+ {{ popup.acceptLabel ?? text.accept }}
656
+ </star-button>
657
+ </div>
658
+ }
659
+ </star-popover>
660
+ <star-dialog
661
+ [role]="'alertdialog'"
662
+ size="sm"
663
+ [visible]="!!request"
664
+ [header]="request ? request.header : ''"
665
+ (visibleChange)="!$event && confirm.settle(false)"
666
+ >
667
+ @if (request) {
668
+ <div class="star-confirm">
669
+ @if (request.icon) {
670
+ <span class="star-confirm__icon" aria-hidden="true"
671
+ ><i [class]="request.icon"></i
672
+ ></span>
673
+ }
674
+ <p class="star-confirm__message">{{ request.message }}</p>
675
+ </div>
676
+ }
677
+ @if (request) {
678
+ <div starDialogFooter class="star-dialog__footer">
679
+ @if (request.rejectVisible !== false) {
680
+ <star-button
681
+ variant="ghost"
682
+ [attr.data-autofocus]="request.defaultFocus !== 'accept' ? '' : null"
683
+ (pressed)="confirm.settle(false)"
684
+ >
685
+ {{ request.rejectLabel ?? text.reject }}
686
+ </star-button>
687
+ }
688
+ <star-button
689
+ [variant]="request.acceptVariant ?? 'primary'"
690
+ [attr.data-autofocus]="request.defaultFocus === 'accept' ? '' : null"
691
+ (pressed)="confirm.settle(true)"
692
+ >
693
+ {{ request.acceptLabel ?? text.accept }}
694
+ </star-button>
695
+ </div>
696
+ }
697
+ </star-dialog>
698
+ `
699
+ }]
700
+ }],
701
+ ctorParameters: () => [],
702
+ propDecorators: { popover: [{
703
+ type: i0.ViewChild,
704
+ args: [i0.forwardRef(() => StarPopover), { isSignal: true }]
705
+ }] }
706
+ });
707
+ const STAR_DIALOG_DATA = new InjectionToken("STAR_DIALOG_DATA");
708
+ var StarDialogRef = class {
709
+ hide;
710
+ resolve;
711
+ closed = new Promise((resolve) => this.resolve = resolve);
712
+ result;
713
+ done = false;
714
+ constructor(hide) {
715
+ this.hide = hide;
716
+ }
717
+ close(result) {
718
+ if (this.done) return;
719
+ this.result = result;
720
+ this.hide();
721
+ }
722
+ settle() {
723
+ if (this.done) return;
724
+ this.done = true;
725
+ this.resolve(this.result);
726
+ }
727
+ };
728
+ var StarDialogContainer = class StarDialogContainer {
729
+ component = input.required(...ngDevMode ? [{ debugName: "component" }] : /* istanbul ignore next */ []);
730
+ config = input.required(...ngDevMode ? [{ debugName: "config" }] : /* istanbul ignore next */ []);
731
+ contentInjector = input.required(...ngDevMode ? [{ debugName: "contentInjector" }] : /* istanbul ignore next */ []);
732
+ visible = signal(true, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
733
+ hidden = () => void 0;
734
+ static ɵfac = i0.ɵɵngDeclareFactory({
735
+ minVersion: "12.0.0",
736
+ version: "22.2.6",
737
+ ngImport: i0,
738
+ type: StarDialogContainer,
739
+ deps: [],
740
+ target: i0.ɵɵFactoryTarget.Component
741
+ });
742
+ static ɵcmp = i0.ɵɵngDeclareComponent({
743
+ minVersion: "17.1.0",
744
+ version: "22.2.6",
745
+ type: StarDialogContainer,
746
+ isStandalone: true,
747
+ selector: "star-dialog-container",
748
+ inputs: {
749
+ component: {
750
+ classPropertyName: "component",
751
+ publicName: "component",
752
+ isSignal: true,
753
+ isRequired: true,
754
+ transformFunction: null
755
+ },
756
+ config: {
757
+ classPropertyName: "config",
758
+ publicName: "config",
759
+ isSignal: true,
760
+ isRequired: true,
761
+ transformFunction: null
762
+ },
763
+ contentInjector: {
764
+ classPropertyName: "contentInjector",
765
+ publicName: "contentInjector",
766
+ isSignal: true,
767
+ isRequired: true,
768
+ transformFunction: null
769
+ }
770
+ },
771
+ ngImport: i0,
772
+ template: `
773
+ @let c = config();
774
+ <star-dialog
775
+ [(visible)]="visible"
776
+ [header]="c.header ?? ''"
777
+ [size]="c.size ?? 'md'"
778
+ [width]="c.width ?? null"
779
+ [closable]="c.closable ?? true"
780
+ [closeOnEscape]="c.closeOnEscape ?? true"
781
+ [dismissableMask]="c.dismissableMask ?? false"
782
+ [role]="c.role ?? 'dialog'"
783
+ [ariaLabel]="c.ariaLabel ?? null"
784
+ (hidden)="hidden()"
785
+ >
786
+ <ng-container *ngComponentOutlet="component(); injector: contentInjector()" />
787
+ </star-dialog>
788
+ `,
789
+ isInline: true,
790
+ dependencies: [{
791
+ kind: "component",
792
+ type: StarDialog,
793
+ selector: "star-dialog",
794
+ inputs: [
795
+ "visible",
796
+ "header",
797
+ "size",
798
+ "width",
799
+ "modal",
800
+ "closable",
801
+ "closeOnEscape",
802
+ "dismissableMask",
803
+ "showHeader",
804
+ "role",
805
+ "ariaLabel"
806
+ ],
807
+ outputs: [
808
+ "visibleChange",
809
+ "shown",
810
+ "hidden"
811
+ ]
812
+ }, {
813
+ kind: "directive",
814
+ type: NgComponentOutlet,
815
+ selector: "[ngComponentOutlet]",
816
+ inputs: [
817
+ "ngComponentOutlet",
818
+ "ngComponentOutletInputs",
819
+ "ngComponentOutletInjector",
820
+ "ngComponentOutletEnvironmentInjector",
821
+ "ngComponentOutletContent",
822
+ "ngComponentOutletNgModule"
823
+ ],
824
+ exportAs: ["ngComponentOutlet"]
825
+ }],
826
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
827
+ });
828
+ };
829
+ i0.ɵɵngDeclareClassMetadata({
830
+ minVersion: "12.0.0",
831
+ version: "22.2.6",
832
+ ngImport: i0,
833
+ type: StarDialogContainer,
834
+ decorators: [{
835
+ type: Component,
836
+ args: [{
837
+ selector: "star-dialog-container",
838
+ imports: [StarDialog, NgComponentOutlet],
839
+ changeDetection: ChangeDetectionStrategy.OnPush,
840
+ template: `
841
+ @let c = config();
842
+ <star-dialog
843
+ [(visible)]="visible"
844
+ [header]="c.header ?? ''"
845
+ [size]="c.size ?? 'md'"
846
+ [width]="c.width ?? null"
847
+ [closable]="c.closable ?? true"
848
+ [closeOnEscape]="c.closeOnEscape ?? true"
849
+ [dismissableMask]="c.dismissableMask ?? false"
850
+ [role]="c.role ?? 'dialog'"
851
+ [ariaLabel]="c.ariaLabel ?? null"
852
+ (hidden)="hidden()"
853
+ >
854
+ <ng-container *ngComponentOutlet="component(); injector: contentInjector()" />
855
+ </star-dialog>
856
+ `
857
+ }]
858
+ }],
859
+ propDecorators: {
860
+ component: [{
861
+ type: i0.Input,
862
+ args: [{
863
+ isSignal: true,
864
+ alias: "component",
865
+ required: true
866
+ }]
867
+ }],
868
+ config: [{
869
+ type: i0.Input,
870
+ args: [{
871
+ isSignal: true,
872
+ alias: "config",
873
+ required: true
874
+ }]
875
+ }],
876
+ contentInjector: [{
877
+ type: i0.Input,
878
+ args: [{
879
+ isSignal: true,
880
+ alias: "contentInjector",
881
+ required: true
882
+ }]
883
+ }]
884
+ }
885
+ });
886
+ var StarDialogService = class StarDialogService {
887
+ appRef = inject(ApplicationRef);
888
+ environment = inject(EnvironmentInjector);
889
+ openRefs = /* @__PURE__ */ new Set();
890
+ open(component, config = {}, injector = this.environment) {
891
+ let host = null;
892
+ const ref = new StarDialogRef(() => host?.instance.visible.set(false));
893
+ const contentInjector = Injector.create({
894
+ parent: injector,
895
+ providers: [{
896
+ provide: STAR_DIALOG_DATA,
897
+ useValue: config.data
898
+ }, {
899
+ provide: StarDialogRef,
900
+ useValue: ref
901
+ }]
902
+ });
903
+ host = createComponent(StarDialogContainer, { environmentInjector: this.environment });
904
+ host.setInput("component", component);
905
+ host.setInput("config", config);
906
+ host.setInput("contentInjector", contentInjector);
907
+ host.instance.hidden = () => {
908
+ ref.settle();
909
+ this.destroy(host);
910
+ };
911
+ document.body.appendChild(host.location.nativeElement);
912
+ this.appRef.attachView(host.hostView);
913
+ this.openRefs.add(host);
914
+ return ref;
915
+ }
916
+ closeAll() {
917
+ for (const host of this.openRefs) host.instance.visible.set(false);
918
+ }
919
+ destroy(host) {
920
+ if (!this.openRefs.delete(host)) return;
921
+ this.appRef.detachView(host.hostView);
922
+ host.destroy();
923
+ }
924
+ static ɵfac = i0.ɵɵngDeclareFactory({
925
+ minVersion: "12.0.0",
926
+ version: "22.2.6",
927
+ ngImport: i0,
928
+ type: StarDialogService,
929
+ deps: [],
930
+ target: i0.ɵɵFactoryTarget.Service
931
+ });
932
+ static ɵprov = i0.ɵɵngDeclareService({
933
+ minVersion: "22.0.0",
934
+ version: "22.2.6",
935
+ ngImport: i0,
936
+ type: StarDialogService
937
+ });
938
+ };
939
+ i0.ɵɵngDeclareClassMetadata({
940
+ minVersion: "12.0.0",
941
+ version: "22.2.6",
942
+ ngImport: i0,
943
+ type: StarDialogService,
944
+ decorators: [{ type: Service }]
945
+ });
946
+ export { STAR_DIALOG_DATA, StarConfirmHost, StarConfirmService, StarDialog, StarDialogContainer, StarDialogRef, StarDialogService };
947
+
948
+ //# sourceMappingURL=star-ng-ui-dialog.mjs.map