@mintplayer/web-components 1.0.0 → 1.2.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 (237) hide show
  1. package/a11y/index.mjs +2 -56
  2. package/calendar/index.mjs +2 -363
  3. package/checkbox/index.mjs +4 -0
  4. package/checkbox/src/components/index.d.ts +2 -0
  5. package/checkbox/src/components/mp-checkbox.d.ts +69 -0
  6. package/checkbox/src/index.d.ts +2 -0
  7. package/chunks/color-C4VT0EL7.mjs +847 -0
  8. package/chunks/form-check.styles-jBlHetYX.mjs +151 -0
  9. package/chunks/live-announcer-CZDTKulf.mjs +58 -0
  10. package/chunks/mp-calendar.element-UC68iDbi.mjs +365 -0
  11. package/chunks/mp-checkbox-BokLL7BS.mjs +211 -0
  12. package/chunks/mp-datatable-Con0yQue.mjs +1125 -0
  13. package/chunks/mp-pagination-BGxsawFL.mjs +326 -0
  14. package/chunks/mp-select-BDS1-YGn.mjs +254 -0
  15. package/chunks/mp-splitter-C8cGCmac.mjs +633 -0
  16. package/chunks/mp-tab-page-D1b4x-y2.mjs +414 -0
  17. package/chunks/mp-timepicker.element-BwEiwX92.mjs +428 -0
  18. package/chunks/mp-toggle-button-dLZNDUVz.mjs +534 -0
  19. package/chunks/mp-treeview-Bfq4_IVW.mjs +474 -0
  20. package/code-snippet/index.mjs +16 -13
  21. package/datatable/index.mjs +7 -0
  22. package/datatable/src/components/index.d.ts +2 -0
  23. package/datatable/src/components/mp-datatable.d.ts +260 -0
  24. package/datatable/src/index.d.ts +6 -0
  25. package/datatable/src/sort/compute-next-sort.d.ts +18 -0
  26. package/datatable/src/sort/index.d.ts +3 -0
  27. package/datatable/src/sort/sort-rows.d.ts +6 -0
  28. package/datatable/src/styles/datatable.styles.d.ts +2 -0
  29. package/datatable/src/styles/index.d.ts +1 -0
  30. package/datatable/src/types/column-def.d.ts +41 -0
  31. package/datatable/src/types/index.d.ts +2 -0
  32. package/datatable/src/types/tree.d.ts +42 -0
  33. package/datepicker/index.mjs +240 -0
  34. package/datepicker/src/index.d.ts +1 -0
  35. package/datepicker/src/mp-datepicker.element.d.ts +94 -0
  36. package/datepicker/src/mp-datepicker.element.template.d.ts +2 -0
  37. package/datetime-picker/index.mjs +427 -0
  38. package/datetime-picker/src/index.d.ts +1 -0
  39. package/datetime-picker/src/mp-datetime-picker.element.d.ts +174 -0
  40. package/datetime-picker/src/mp-datetime-picker.element.template.d.ts +2 -0
  41. package/dock/index.mjs +2402 -0
  42. package/dock/src/components/index.d.ts +1 -0
  43. package/dock/src/components/mint-dock-manager.element.d.ts +313 -0
  44. package/dock/src/components/mint-dock-manager.element.template.d.ts +2 -0
  45. package/dock/src/index.d.ts +2 -0
  46. package/dock/src/types/dock-layout.d.ts +65 -0
  47. package/dock/src/types/index.d.ts +1 -0
  48. package/file-manager/index.mjs +1263 -0
  49. package/file-manager/src/components/index.d.ts +2 -0
  50. package/file-manager/src/components/mp-file-manager.d.ts +320 -0
  51. package/file-manager/src/index.d.ts +5 -0
  52. package/file-manager/src/styles/file-manager.styles.d.ts +2 -0
  53. package/file-manager/src/styles/index.d.ts +1 -0
  54. package/file-manager/src/types/file-system-node.d.ts +24 -0
  55. package/file-manager/src/types/index.d.ts +3 -0
  56. package/file-manager/src/types/messages.d.ts +43 -0
  57. package/multi-range/index.mjs +407 -0
  58. package/multi-range/src/index.d.ts +2 -0
  59. package/multi-range/src/mint-multi-range.element.d.ts +124 -0
  60. package/multi-range/src/mint-multi-range.element.template.d.ts +2 -0
  61. package/multi-range/src/types/multi-range-orientation.d.ts +1 -0
  62. package/otp-input/index.mjs +362 -0
  63. package/otp-input/src/index.d.ts +4 -0
  64. package/otp-input/src/mint-otp-input.element.d.ts +134 -0
  65. package/otp-input/src/mint-otp-input.element.template.d.ts +2 -0
  66. package/otp-input/src/types/otp-input-case.d.ts +1 -0
  67. package/otp-input/src/types/otp-input-size.d.ts +1 -0
  68. package/otp-input/src/types/otp-input-type.d.ts +1 -0
  69. package/overlay/index.mjs +260 -0
  70. package/overlay/src/index.d.ts +2 -0
  71. package/overlay/src/overlay-controller.d.ts +205 -0
  72. package/package.json +1 -1
  73. package/pagination/index.mjs +5 -0
  74. package/pagination/src/components/index.d.ts +2 -0
  75. package/pagination/src/components/mp-pagination.d.ts +95 -0
  76. package/pagination/src/index.d.ts +2 -0
  77. package/pagination/src/styles/index.d.ts +1 -0
  78. package/pagination/src/styles/pagination.styles.d.ts +2 -0
  79. package/query-builder/index.mjs +3720 -0
  80. package/query-builder/src/context.d.ts +14 -0
  81. package/query-builder/src/dnd/drag-controller.d.ts +69 -0
  82. package/query-builder/src/index.d.ts +23 -0
  83. package/query-builder/src/model/default-tree.d.ts +7 -0
  84. package/query-builder/src/model/editor.d.ts +15 -0
  85. package/query-builder/src/model/errors.d.ts +6 -0
  86. package/query-builder/src/model/expression.d.ts +22 -0
  87. package/query-builder/src/model/field-def.d.ts +17 -0
  88. package/query-builder/src/model/messages.d.ts +17 -0
  89. package/query-builder/src/model/operator-overrides.d.ts +21 -0
  90. package/query-builder/src/model/operators.d.ts +8 -0
  91. package/query-builder/src/model/saved-query.d.ts +6 -0
  92. package/query-builder/src/model/sort.d.ts +9 -0
  93. package/query-builder/src/model/tree-ops.d.ts +56 -0
  94. package/query-builder/src/mp-query-builder.element.d.ts +158 -0
  95. package/query-builder/src/mp-query-builder.element.template.d.ts +2 -0
  96. package/query-builder/src/mp-query-condition.element.d.ts +44 -0
  97. package/query-builder/src/mp-query-condition.element.template.d.ts +2 -0
  98. package/query-builder/src/mp-query-group.element.d.ts +52 -0
  99. package/query-builder/src/mp-query-group.element.template.d.ts +2 -0
  100. package/query-builder/src/mp-query-subquery.element.d.ts +37 -0
  101. package/query-builder/src/mp-query-subquery.element.template.d.ts +2 -0
  102. package/query-builder/src/preview/render-expression.d.ts +23 -0
  103. package/query-builder/src/value-editors/builtin-editors.d.ts +6 -0
  104. package/query-builder/src/visitor/visit-tree.d.ts +29 -0
  105. package/query-builder/src/visitor/visitor-types.d.ts +15 -0
  106. package/radio/index.mjs +162 -0
  107. package/radio/src/components/index.d.ts +2 -0
  108. package/radio/src/components/mp-radio.d.ts +63 -0
  109. package/radio/src/index.d.ts +2 -0
  110. package/ribbon/index.mjs +3151 -0
  111. package/ribbon/src/index.d.ts +10 -0
  112. package/ribbon/src/items/index.d.ts +15 -0
  113. package/ribbon/src/items/mp-ribbon-button.element.d.ts +10 -0
  114. package/ribbon/src/items/mp-ribbon-checkbox.element.d.ts +11 -0
  115. package/ribbon/src/items/mp-ribbon-color-picker.element.d.ts +12 -0
  116. package/ribbon/src/items/mp-ribbon-combobox.element.d.ts +19 -0
  117. package/ribbon/src/items/mp-ribbon-dropdown-button.element.d.ts +16 -0
  118. package/ribbon/src/items/mp-ribbon-gallery-item.element.d.ts +15 -0
  119. package/ribbon/src/items/mp-ribbon-gallery.element.d.ts +11 -0
  120. package/ribbon/src/items/mp-ribbon-group-button.element.d.ts +18 -0
  121. package/ribbon/src/items/mp-ribbon-item-base.d.ts +68 -0
  122. package/ribbon/src/items/mp-ribbon-menu-item.element.d.ts +13 -0
  123. package/ribbon/src/items/mp-ribbon-menu-separator.element.d.ts +6 -0
  124. package/ribbon/src/items/mp-ribbon-split-button.element.d.ts +23 -0
  125. package/ribbon/src/items/mp-ribbon-template-item.element.d.ts +12 -0
  126. package/ribbon/src/items/mp-ribbon-toggle-button.element.d.ts +12 -0
  127. package/ribbon/src/mp-quick-access-toolbar.element.d.ts +35 -0
  128. package/ribbon/src/mp-ribbon-contextual-tab-set.element.d.ts +18 -0
  129. package/ribbon/src/mp-ribbon-group.element.d.ts +59 -0
  130. package/ribbon/src/mp-ribbon-tab.element.d.ts +72 -0
  131. package/ribbon/src/mp-ribbon.element.d.ts +211 -0
  132. package/ribbon/src/types/ribbon.types.d.ts +4 -0
  133. package/scheduler/index.mjs +3567 -0
  134. package/scheduler/src/components/mp-scheduler.d.ts +238 -0
  135. package/scheduler/src/drag/drag-manager.d.ts +90 -0
  136. package/scheduler/src/drag/drag-preview.d.ts +42 -0
  137. package/scheduler/src/drag/drag-state-machine.d.ts +102 -0
  138. package/scheduler/src/drag/drag-types.d.ts +104 -0
  139. package/scheduler/src/drag/index.d.ts +4 -0
  140. package/scheduler/src/events/event-types.d.ts +58 -0
  141. package/scheduler/src/events/index.d.ts +2 -0
  142. package/scheduler/src/events/scheduler-event-emitter.d.ts +52 -0
  143. package/scheduler/src/index.d.ts +6 -0
  144. package/scheduler/src/input/index.d.ts +2 -0
  145. package/scheduler/src/input/input-handler.d.ts +105 -0
  146. package/scheduler/src/input/pointer-event.d.ts +39 -0
  147. package/scheduler/src/state/scheduler-state.d.ts +189 -0
  148. package/scheduler/src/styles/scheduler.styles.d.ts +2 -0
  149. package/scheduler/src/views/base-view.d.ts +87 -0
  150. package/scheduler/src/views/day-view.d.ts +25 -0
  151. package/scheduler/src/views/index.d.ts +6 -0
  152. package/scheduler/src/views/month-view.d.ts +27 -0
  153. package/scheduler/src/views/timeline-view.d.ts +23 -0
  154. package/scheduler/src/views/week-view.d.ts +28 -0
  155. package/scheduler/src/views/year-view.d.ts +25 -0
  156. package/scheduler-core/index.mjs +174 -0
  157. package/scheduler-core/src/index.d.ts +3 -0
  158. package/scheduler-core/src/models/drag-state.d.ts +43 -0
  159. package/scheduler-core/src/models/event.d.ts +111 -0
  160. package/scheduler-core/src/models/events.d.ts +108 -0
  161. package/scheduler-core/src/models/index.d.ts +7 -0
  162. package/scheduler-core/src/models/options.d.ts +88 -0
  163. package/scheduler-core/src/models/resource.d.ts +58 -0
  164. package/scheduler-core/src/models/time-slot.d.ts +31 -0
  165. package/scheduler-core/src/models/types.d.ts +20 -0
  166. package/scheduler-core/src/services/date.service.d.ts +140 -0
  167. package/scheduler-core/src/services/index.d.ts +4 -0
  168. package/scheduler-core/src/services/position.service.d.ts +35 -0
  169. package/scheduler-core/src/services/resource.service.d.ts +83 -0
  170. package/scheduler-core/src/services/timeline.service.d.ts +103 -0
  171. package/scheduler-core/src/utils/color.d.ts +24 -0
  172. package/scheduler-core/src/utils/dom.d.ts +54 -0
  173. package/scheduler-core/src/utils/id.d.ts +16 -0
  174. package/scheduler-core/src/utils/index.d.ts +3 -0
  175. package/select/index.mjs +4 -0
  176. package/select/src/components/index.d.ts +2 -0
  177. package/select/src/components/mp-select.d.ts +82 -0
  178. package/select/src/index.d.ts +2 -0
  179. package/splitter/index.mjs +10 -0
  180. package/splitter/src/components/index.d.ts +2 -0
  181. package/splitter/src/components/mp-splitter.d.ts +109 -0
  182. package/splitter/src/index.d.ts +11 -0
  183. package/splitter/src/input/index.d.ts +4 -0
  184. package/splitter/src/input/input-handler.d.ts +36 -0
  185. package/splitter/src/input/pointer-event.d.ts +9 -0
  186. package/splitter/src/managers/index.d.ts +2 -0
  187. package/splitter/src/managers/resize-manager.d.ts +13 -0
  188. package/splitter/src/state/index.d.ts +2 -0
  189. package/splitter/src/state/splitter-state.d.ts +24 -0
  190. package/splitter/src/styles/index.d.ts +1 -0
  191. package/splitter/src/styles/splitter.styles.d.ts +2 -0
  192. package/splitter/src/types/direction.d.ts +1 -0
  193. package/splitter/src/types/index.d.ts +5 -0
  194. package/splitter/src/types/panel-info.d.ts +6 -0
  195. package/splitter/src/types/point.d.ts +4 -0
  196. package/splitter/src/types/resize-operation.d.ts +13 -0
  197. package/tab-control/index.mjs +6 -0
  198. package/tab-control/src/components/index.d.ts +3 -0
  199. package/tab-control/src/components/mp-tab-control.d.ts +50 -0
  200. package/tab-control/src/components/mp-tab-page.d.ts +35 -0
  201. package/tab-control/src/index.d.ts +4 -0
  202. package/tab-control/src/styles/index.d.ts +1 -0
  203. package/tab-control/src/styles/tab-control.styles.d.ts +2 -0
  204. package/tab-control/src/types/index.d.ts +1 -0
  205. package/tab-control/src/types/tabs-position.d.ts +1 -0
  206. package/tile-manager/index.mjs +867 -0
  207. package/tile-manager/src/components/index.d.ts +2 -0
  208. package/tile-manager/src/components/mint-tile-manager.element.d.ts +204 -0
  209. package/tile-manager/src/components/mint-tile-manager.element.template.d.ts +2 -0
  210. package/tile-manager/src/index.d.ts +4 -0
  211. package/tile-manager/src/types/grid-rect.d.ts +12 -0
  212. package/tile-manager/src/types/index.d.ts +3 -0
  213. package/tile-manager/src/types/tile-layout-snapshot.d.ts +15 -0
  214. package/tile-manager/src/types/tile-position.d.ts +10 -0
  215. package/tile-manager/src/utils/index.d.ts +1 -0
  216. package/tile-manager/src/utils/pack.d.ts +24 -0
  217. package/timepicker/index.mjs +5 -0
  218. package/timepicker/src/index.d.ts +2 -0
  219. package/timepicker/src/mp-time-list.element.d.ts +76 -0
  220. package/timepicker/src/mp-time-list.element.template.d.ts +2 -0
  221. package/timepicker/src/mp-timepicker.element.d.ts +87 -0
  222. package/timepicker/src/mp-timepicker.element.template.d.ts +2 -0
  223. package/toggle-button/index.mjs +5 -0
  224. package/toggle-button/src/components/index.d.ts +2 -0
  225. package/toggle-button/src/components/mp-toggle-button.d.ts +50 -0
  226. package/toggle-button/src/index.d.ts +3 -0
  227. package/toggle-button/src/styles/index.d.ts +1 -0
  228. package/toggle-button/src/styles/toggle-button.styles.d.ts +2 -0
  229. package/treeview/index.mjs +5 -0
  230. package/treeview/src/components/index.d.ts +2 -0
  231. package/treeview/src/components/mp-treeview.d.ts +113 -0
  232. package/treeview/src/index.d.ts +4 -0
  233. package/treeview/src/styles/index.d.ts +1 -0
  234. package/treeview/src/styles/treeview.styles.d.ts +2 -0
  235. package/treeview/src/types/index.d.ts +1 -0
  236. package/treeview/src/types/tree-node.d.ts +14 -0
  237. package/custom-elements.json +0 -1774
@@ -1,1774 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "calendar/src/mp-calendar.element.ts",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "mp-calendar — Bootstrap-styled month grid primitive.\n\nStandalone Lit element, framework-agnostic. The Angular wrapper\n(`bs-calendar`) is a thin shell that forwards inputs/outputs.\n\nAPG Date Picker keyboard model: arrows ±1 day / ±1 week, Home/End to week\nedges, PageUp/Down ±1 month, Ctrl+PageUp/Down ±1 year, Enter/Space selects.\n\nEvents:\n - `selected-date-change` fires on click + Enter/Space.\n - `current-month-change` fires on chevron clicks + month-crossing keys.\n\nBoth bubble and compose so light-DOM Angular hosts pick them up.",
12
- "name": "MpCalendarElement",
13
- "members": [
14
- {
15
- "kind": "field",
16
- "name": "selectedDate",
17
- "privacy": "public",
18
- "type": {
19
- "text": "Date | null"
20
- },
21
- "default": "null"
22
- },
23
- {
24
- "kind": "field",
25
- "name": "currentMonth",
26
- "privacy": "public",
27
- "type": {
28
- "text": "Date | null"
29
- },
30
- "default": "null"
31
- },
32
- {
33
- "kind": "field",
34
- "name": "disableDateFn",
35
- "privacy": "public",
36
- "type": {
37
- "text": "((date: Date) => boolean) | null"
38
- },
39
- "default": "null"
40
- },
41
- {
42
- "kind": "field",
43
- "name": "min",
44
- "privacy": "public",
45
- "type": {
46
- "text": "Date | null"
47
- },
48
- "default": "null"
49
- },
50
- {
51
- "kind": "field",
52
- "name": "max",
53
- "privacy": "public",
54
- "type": {
55
- "text": "Date | null"
56
- },
57
- "default": "null"
58
- },
59
- {
60
- "kind": "field",
61
- "name": "firstDayOfWeek",
62
- "privacy": "public",
63
- "type": {
64
- "text": "FirstDayOfWeek"
65
- },
66
- "default": "1",
67
- "attribute": "first-day-of-week",
68
- "reflects": true
69
- },
70
- {
71
- "kind": "field",
72
- "name": "locale",
73
- "privacy": "public",
74
- "type": {
75
- "text": "string | undefined"
76
- },
77
- "default": "undefined",
78
- "attribute": "locale",
79
- "reflects": true
80
- },
81
- {
82
- "kind": "field",
83
- "name": "_focusedDate",
84
- "privacy": "private",
85
- "type": {
86
- "text": "Date | null"
87
- },
88
- "default": "null",
89
- "attribute": "_focusedDate"
90
- },
91
- {
92
- "kind": "field",
93
- "name": "pendingFocusMove",
94
- "type": {
95
- "text": "boolean"
96
- },
97
- "privacy": "private",
98
- "default": "false"
99
- },
100
- {
101
- "kind": "field",
102
- "name": "instanceId",
103
- "privacy": "private",
104
- "readonly": true,
105
- "default": "`mp-cal-${++instanceCounter}`"
106
- },
107
- {
108
- "kind": "field",
109
- "name": "monthLabelId",
110
- "privacy": "private",
111
- "readonly": true,
112
- "default": "`${this.instanceId}-month`"
113
- },
114
- {
115
- "kind": "method",
116
- "name": "cellId",
117
- "return": {
118
- "type": {
119
- "text": "string"
120
- }
121
- },
122
- "parameters": [
123
- {
124
- "name": "date",
125
- "type": {
126
- "text": "Date"
127
- }
128
- }
129
- ]
130
- },
131
- {
132
- "kind": "method",
133
- "name": "isSameDate",
134
- "return": {
135
- "type": {
136
- "text": "boolean"
137
- }
138
- },
139
- "parameters": [
140
- {
141
- "name": "a",
142
- "type": {
143
- "text": "Date | null"
144
- }
145
- },
146
- {
147
- "name": "b",
148
- "type": {
149
- "text": "Date | null"
150
- }
151
- }
152
- ]
153
- },
154
- {
155
- "kind": "method",
156
- "name": "isToday",
157
- "privacy": "private",
158
- "return": {
159
- "type": {
160
- "text": "boolean"
161
- }
162
- },
163
- "parameters": [
164
- {
165
- "name": "date",
166
- "type": {
167
- "text": "Date"
168
- }
169
- }
170
- ]
171
- },
172
- {
173
- "kind": "method",
174
- "name": "isDisabled",
175
- "privacy": "private",
176
- "return": {
177
- "type": {
178
- "text": "boolean"
179
- }
180
- },
181
- "parameters": [
182
- {
183
- "name": "date",
184
- "type": {
185
- "text": "Date"
186
- }
187
- }
188
- ],
189
- "description": "Disabled if out of [min, max] (date-only) or rejected by disableDateFn."
190
- },
191
- {
192
- "kind": "method",
193
- "name": "dateOnly",
194
- "privacy": "private",
195
- "return": {
196
- "type": {
197
- "text": "number"
198
- }
199
- },
200
- "parameters": [
201
- {
202
- "name": "d",
203
- "type": {
204
- "text": "Date"
205
- }
206
- }
207
- ]
208
- },
209
- {
210
- "kind": "method",
211
- "name": "getWeeks",
212
- "privacy": "private",
213
- "return": {
214
- "type": {
215
- "text": "CalendarWeek[]"
216
- }
217
- },
218
- "parameters": [
219
- {
220
- "name": "month",
221
- "type": {
222
- "text": "Date"
223
- }
224
- }
225
- ],
226
- "description": "Compute the weeks rendered for the current month, honoring firstDayOfWeek."
227
- },
228
- {
229
- "kind": "method",
230
- "name": "startOfWeek",
231
- "privacy": "private",
232
- "return": {
233
- "type": {
234
- "text": "Date"
235
- }
236
- },
237
- "parameters": [
238
- {
239
- "name": "date",
240
- "type": {
241
- "text": "Date"
242
- }
243
- }
244
- ],
245
- "description": "First day of the visible grid — Monday-on-top by default."
246
- },
247
- {
248
- "kind": "method",
249
- "name": "endOfWeek",
250
- "privacy": "private",
251
- "return": {
252
- "type": {
253
- "text": "Date"
254
- }
255
- },
256
- "parameters": [
257
- {
258
- "name": "date",
259
- "type": {
260
- "text": "Date"
261
- }
262
- }
263
- ]
264
- },
265
- {
266
- "kind": "method",
267
- "name": "daysBetween",
268
- "privacy": "private",
269
- "return": {
270
- "type": {
271
- "text": "number"
272
- }
273
- },
274
- "parameters": [
275
- {
276
- "name": "a",
277
- "type": {
278
- "text": "Date"
279
- }
280
- },
281
- {
282
- "name": "b",
283
- "type": {
284
- "text": "Date"
285
- }
286
- }
287
- ]
288
- },
289
- {
290
- "kind": "method",
291
- "name": "weekOfYear",
292
- "privacy": "private",
293
- "return": {
294
- "type": {
295
- "text": "number"
296
- }
297
- },
298
- "parameters": [
299
- {
300
- "name": "date",
301
- "type": {
302
- "text": "Date"
303
- }
304
- }
305
- ],
306
- "description": "ISO-8601 week-of-year."
307
- },
308
- {
309
- "kind": "method",
310
- "name": "weekdayNames",
311
- "privacy": "private",
312
- "return": {
313
- "type": {
314
- "text": "{ short: string; long: string }[]"
315
- }
316
- },
317
- "description": "Localized weekday short + long names, in the order driven by firstDayOfWeek."
318
- },
319
- {
320
- "kind": "method",
321
- "name": "monthLabel",
322
- "privacy": "private",
323
- "return": {
324
- "type": {
325
- "text": "string"
326
- }
327
- },
328
- "parameters": [
329
- {
330
- "name": "month",
331
- "type": {
332
- "text": "Date"
333
- }
334
- }
335
- ]
336
- },
337
- {
338
- "kind": "method",
339
- "name": "focusableDate",
340
- "privacy": "private",
341
- "return": {
342
- "type": {
343
- "text": "Date | null"
344
- }
345
- },
346
- "description": "The cell that should carry tabindex=\"0\". One per month — focused, else\nselected, else today, else first enabled day. Mirrors APG convention."
347
- },
348
- {
349
- "kind": "method",
350
- "name": "previousMonth",
351
- "return": {
352
- "type": {
353
- "text": "void"
354
- }
355
- }
356
- },
357
- {
358
- "kind": "method",
359
- "name": "nextMonth",
360
- "return": {
361
- "type": {
362
- "text": "void"
363
- }
364
- }
365
- },
366
- {
367
- "kind": "method",
368
- "name": "goto",
369
- "return": {
370
- "type": {
371
- "text": "void"
372
- }
373
- },
374
- "parameters": [
375
- {
376
- "name": "day",
377
- "type": {
378
- "text": "CalendarDay | null"
379
- }
380
- }
381
- ]
382
- },
383
- {
384
- "kind": "method",
385
- "name": "setCurrentMonth",
386
- "privacy": "private",
387
- "return": {
388
- "type": {
389
- "text": "void"
390
- }
391
- },
392
- "parameters": [
393
- {
394
- "name": "next",
395
- "type": {
396
- "text": "Date"
397
- }
398
- }
399
- ]
400
- },
401
- {
402
- "kind": "method",
403
- "name": "setSelectedDate",
404
- "privacy": "private",
405
- "return": {
406
- "type": {
407
- "text": "void"
408
- }
409
- },
410
- "parameters": [
411
- {
412
- "name": "next",
413
- "type": {
414
- "text": "Date"
415
- }
416
- }
417
- ]
418
- },
419
- {
420
- "kind": "method",
421
- "name": "isSameYearMonth",
422
- "privacy": "private",
423
- "return": {
424
- "type": {
425
- "text": "boolean"
426
- }
427
- },
428
- "parameters": [
429
- {
430
- "name": "a",
431
- "type": {
432
- "text": "Date"
433
- }
434
- },
435
- {
436
- "name": "b",
437
- "type": {
438
- "text": "Date"
439
- }
440
- }
441
- ]
442
- },
443
- {
444
- "kind": "method",
445
- "name": "onCellKeyDown",
446
- "privacy": "private",
447
- "return": {
448
- "type": {
449
- "text": "void"
450
- }
451
- },
452
- "parameters": [
453
- {
454
- "name": "event",
455
- "type": {
456
- "text": "KeyboardEvent"
457
- }
458
- },
459
- {
460
- "name": "day",
461
- "type": {
462
- "text": "CalendarDay | null"
463
- }
464
- }
465
- ]
466
- },
467
- {
468
- "kind": "method",
469
- "name": "moveFocusTo",
470
- "privacy": "private",
471
- "return": {
472
- "type": {
473
- "text": "void"
474
- }
475
- },
476
- "parameters": [
477
- {
478
- "name": "target",
479
- "type": {
480
- "text": "Date"
481
- }
482
- }
483
- ]
484
- },
485
- {
486
- "kind": "method",
487
- "name": "renderCell",
488
- "privacy": "private",
489
- "return": {
490
- "type": {
491
- "text": "TemplateResult"
492
- }
493
- },
494
- "parameters": [
495
- {
496
- "name": "day",
497
- "type": {
498
- "text": "CalendarDay | null"
499
- }
500
- },
501
- {
502
- "name": "focusable",
503
- "type": {
504
- "text": "Date | null"
505
- }
506
- }
507
- ]
508
- }
509
- ],
510
- "events": [
511
- {
512
- "name": "current-month-change",
513
- "type": {
514
- "text": "CustomEvent"
515
- }
516
- },
517
- {
518
- "name": "selected-date-change",
519
- "type": {
520
- "text": "CustomEvent"
521
- }
522
- }
523
- ],
524
- "attributes": [
525
- {
526
- "name": "first-day-of-week",
527
- "type": {
528
- "text": "FirstDayOfWeek"
529
- },
530
- "default": "1",
531
- "fieldName": "firstDayOfWeek"
532
- },
533
- {
534
- "name": "locale",
535
- "type": {
536
- "text": "string | undefined"
537
- },
538
- "default": "undefined",
539
- "fieldName": "locale"
540
- },
541
- {
542
- "name": "_focusedDate",
543
- "type": {
544
- "text": "Date | null"
545
- },
546
- "default": "null",
547
- "fieldName": "_focusedDate"
548
- }
549
- ],
550
- "superclass": {
551
- "name": "LitElement",
552
- "package": "lit"
553
- },
554
- "tagName": "mp-calendar",
555
- "customElement": true
556
- }
557
- ],
558
- "exports": [
559
- {
560
- "kind": "js",
561
- "name": "MpCalendarElement",
562
- "declaration": {
563
- "name": "MpCalendarElement",
564
- "module": "calendar/src/mp-calendar.element.ts"
565
- }
566
- },
567
- {
568
- "kind": "custom-element-definition",
569
- "name": "mp-calendar",
570
- "declaration": {
571
- "name": "MpCalendarElement",
572
- "module": "calendar/src/mp-calendar.element.ts"
573
- }
574
- }
575
- ]
576
- },
577
- {
578
- "kind": "javascript-module",
579
- "path": "card/src/mp-card-body.element.ts",
580
- "declarations": [
581
- {
582
- "kind": "class",
583
- "description": "Card body. Pure structural wrapper — adds `card-body` to itself so\nBootstrap's body padding / flex layout apply.",
584
- "name": "MpCardBodyElement",
585
- "superclass": {
586
- "name": "HTMLElement"
587
- },
588
- "tagName": "mp-card-body",
589
- "customElement": true
590
- }
591
- ],
592
- "exports": [
593
- {
594
- "kind": "js",
595
- "name": "MpCardBodyElement",
596
- "declaration": {
597
- "name": "MpCardBodyElement",
598
- "module": "card/src/mp-card-body.element.ts"
599
- }
600
- },
601
- {
602
- "kind": "custom-element-definition",
603
- "name": "mp-card-body",
604
- "declaration": {
605
- "name": "MpCardBodyElement",
606
- "module": "card/src/mp-card-body.element.ts"
607
- }
608
- }
609
- ]
610
- },
611
- {
612
- "kind": "javascript-module",
613
- "path": "card/src/mp-card-footer.element.ts",
614
- "declarations": [
615
- {
616
- "kind": "class",
617
- "description": "Card footer. Mirrors `mp-card-header`'s colour handling; no nav-style\nvariant exists at this position upstream in Bootstrap.",
618
- "name": "MpCardFooterElement",
619
- "attributes": [
620
- {
621
- "name": "color"
622
- }
623
- ],
624
- "superclass": {
625
- "name": "HTMLElement"
626
- },
627
- "tagName": "mp-card-footer",
628
- "customElement": true
629
- }
630
- ],
631
- "exports": [
632
- {
633
- "kind": "js",
634
- "name": "MpCardFooterElement",
635
- "declaration": {
636
- "name": "MpCardFooterElement",
637
- "module": "card/src/mp-card-footer.element.ts"
638
- }
639
- },
640
- {
641
- "kind": "custom-element-definition",
642
- "name": "mp-card-footer",
643
- "declaration": {
644
- "name": "MpCardFooterElement",
645
- "module": "card/src/mp-card-footer.element.ts"
646
- }
647
- }
648
- ]
649
- },
650
- {
651
- "kind": "javascript-module",
652
- "path": "card/src/mp-card-group.element.ts",
653
- "declarations": [
654
- {
655
- "kind": "class",
656
- "description": "Card group — Bootstrap's connected-card layout primitive.",
657
- "name": "MpCardGroupElement",
658
- "superclass": {
659
- "name": "HTMLElement"
660
- },
661
- "tagName": "mp-card-group",
662
- "customElement": true
663
- }
664
- ],
665
- "exports": [
666
- {
667
- "kind": "js",
668
- "name": "MpCardGroupElement",
669
- "declaration": {
670
- "name": "MpCardGroupElement",
671
- "module": "card/src/mp-card-group.element.ts"
672
- }
673
- },
674
- {
675
- "kind": "custom-element-definition",
676
- "name": "mp-card-group",
677
- "declaration": {
678
- "name": "MpCardGroupElement",
679
- "module": "card/src/mp-card-group.element.ts"
680
- }
681
- }
682
- ]
683
- },
684
- {
685
- "kind": "javascript-module",
686
- "path": "card/src/mp-card-header.element.ts",
687
- "declarations": [
688
- {
689
- "kind": "class",
690
- "description": "Card header. Slotted content stays in light DOM; this element only adds\nBootstrap classes to itself and (when `nav-style` is set) to a nested\n`nav` or `ul` so `card-header-tabs` / `card-header-pills` styling applies.\n\nAttributes:\n - `color` — Bootstrap colour name, maps to `text-bg-<name>`.\n - `nav-style` — `'tabs'` or `'pills'`. Adds the matching `card-header-*`\n class to the first slotted `nav` / `ul`.",
691
- "name": "MpCardHeaderElement",
692
- "members": [
693
- {
694
- "kind": "field",
695
- "name": "mutationObserver",
696
- "type": {
697
- "text": "MutationObserver | null"
698
- },
699
- "privacy": "private",
700
- "default": "null"
701
- },
702
- {
703
- "kind": "method",
704
- "name": "applyColor",
705
- "privacy": "private",
706
- "return": {
707
- "type": {
708
- "text": "void"
709
- }
710
- }
711
- },
712
- {
713
- "kind": "method",
714
- "name": "applyNavStyle",
715
- "privacy": "private",
716
- "return": {
717
- "type": {
718
- "text": "void"
719
- }
720
- }
721
- }
722
- ],
723
- "attributes": [
724
- {
725
- "name": "color"
726
- },
727
- {
728
- "name": "nav-style"
729
- }
730
- ],
731
- "superclass": {
732
- "name": "HTMLElement"
733
- },
734
- "tagName": "mp-card-header",
735
- "customElement": true
736
- }
737
- ],
738
- "exports": [
739
- {
740
- "kind": "js",
741
- "name": "MpCardHeaderElement",
742
- "declaration": {
743
- "name": "MpCardHeaderElement",
744
- "module": "card/src/mp-card-header.element.ts"
745
- }
746
- },
747
- {
748
- "kind": "custom-element-definition",
749
- "name": "mp-card-header",
750
- "declaration": {
751
- "name": "MpCardHeaderElement",
752
- "module": "card/src/mp-card-header.element.ts"
753
- }
754
- }
755
- ]
756
- },
757
- {
758
- "kind": "javascript-module",
759
- "path": "card/src/mp-card-img.element.ts",
760
- "declarations": [
761
- {
762
- "kind": "class",
763
- "description": "Card image. Switches between three Bootstrap positions:\n - `position=\"top\"` → host gets `card-img-top`, inner `<img>` too\n - `position=\"bottom\"` → host gets `card-img-bottom`, inner `<img>` too\n - `position=\"overlay\"` → host gets `card-img`, inner `<img>` too, AND\n slotted children get wrapped in `<div class=\"card-img-overlay\">`\n\nThe class is duplicated on both host and inner img so that Bootstrap's\n`.card-group > .card > .card-img-top` corner-rounding selector matches\n(host is the direct child of `.card`) AND `.card-img-top { width: 100% }`\nsizes the actual `<img>` element. Pair with `overflow: hidden` on the\nhost in `mp-card.element.scss` so the host's border-radius clips the img.\n\nPosition is read once on connection — changes after first render are not\nsupported. `src` and `alt` are reactive.",
764
- "name": "MpCardImgElement",
765
- "members": [
766
- {
767
- "kind": "field",
768
- "name": "imgEl",
769
- "type": {
770
- "text": "HTMLImageElement | null"
771
- },
772
- "privacy": "private",
773
- "default": "null"
774
- },
775
- {
776
- "kind": "method",
777
- "name": "applyImgAttrs",
778
- "privacy": "private",
779
- "return": {
780
- "type": {
781
- "text": "void"
782
- }
783
- },
784
- "parameters": [
785
- {
786
- "name": "img",
787
- "type": {
788
- "text": "HTMLImageElement"
789
- }
790
- }
791
- ]
792
- }
793
- ],
794
- "attributes": [
795
- {
796
- "name": "src"
797
- },
798
- {
799
- "name": "alt"
800
- },
801
- {
802
- "name": "position"
803
- }
804
- ],
805
- "superclass": {
806
- "name": "HTMLElement"
807
- },
808
- "tagName": "mp-card-img",
809
- "customElement": true
810
- }
811
- ],
812
- "exports": [
813
- {
814
- "kind": "js",
815
- "name": "MpCardImgElement",
816
- "declaration": {
817
- "name": "MpCardImgElement",
818
- "module": "card/src/mp-card-img.element.ts"
819
- }
820
- },
821
- {
822
- "kind": "custom-element-definition",
823
- "name": "mp-card-img",
824
- "declaration": {
825
- "name": "MpCardImgElement",
826
- "module": "card/src/mp-card-img.element.ts"
827
- }
828
- }
829
- ]
830
- },
831
- {
832
- "kind": "javascript-module",
833
- "path": "card/src/mp-card-link.element.ts",
834
- "declarations": [
835
- {
836
- "kind": "class",
837
- "description": "Card link — wraps slotted text content in an `<a class=\"card-link\">`.\n\nThe actual `<a>` is the styled element (Bootstrap targets `.card-link`).\nBootstrap's adjacency rule `.card-link + .card-link { margin-left: ... }`\ndoes not match across wrapper boundaries; we compensate with a sibling\nselector on `mp-card-link + mp-card-link > .card-link` in\n`mp-card.element.scss`.\n\nAttributes:\n - `href` — forwarded to the inner `<a>`.",
838
- "name": "MpCardLinkElement",
839
- "members": [
840
- {
841
- "kind": "field",
842
- "name": "anchor",
843
- "type": {
844
- "text": "HTMLAnchorElement | null"
845
- },
846
- "privacy": "private",
847
- "default": "null"
848
- },
849
- {
850
- "kind": "method",
851
- "name": "applyHref",
852
- "privacy": "private",
853
- "return": {
854
- "type": {
855
- "text": "void"
856
- }
857
- }
858
- }
859
- ],
860
- "attributes": [
861
- {
862
- "name": "href"
863
- }
864
- ],
865
- "superclass": {
866
- "name": "HTMLElement"
867
- },
868
- "tagName": "mp-card-link",
869
- "customElement": true
870
- }
871
- ],
872
- "exports": [
873
- {
874
- "kind": "js",
875
- "name": "MpCardLinkElement",
876
- "declaration": {
877
- "name": "MpCardLinkElement",
878
- "module": "card/src/mp-card-link.element.ts"
879
- }
880
- },
881
- {
882
- "kind": "custom-element-definition",
883
- "name": "mp-card-link",
884
- "declaration": {
885
- "name": "MpCardLinkElement",
886
- "module": "card/src/mp-card-link.element.ts"
887
- }
888
- }
889
- ]
890
- },
891
- {
892
- "kind": "javascript-module",
893
- "path": "card/src/mp-card-subtitle.element.ts",
894
- "declarations": [
895
- {
896
- "kind": "class",
897
- "description": "Card subtitle — adds `card-subtitle`.",
898
- "name": "MpCardSubtitleElement",
899
- "superclass": {
900
- "name": "HTMLElement"
901
- },
902
- "tagName": "mp-card-subtitle",
903
- "customElement": true
904
- }
905
- ],
906
- "exports": [
907
- {
908
- "kind": "js",
909
- "name": "MpCardSubtitleElement",
910
- "declaration": {
911
- "name": "MpCardSubtitleElement",
912
- "module": "card/src/mp-card-subtitle.element.ts"
913
- }
914
- },
915
- {
916
- "kind": "custom-element-definition",
917
- "name": "mp-card-subtitle",
918
- "declaration": {
919
- "name": "MpCardSubtitleElement",
920
- "module": "card/src/mp-card-subtitle.element.ts"
921
- }
922
- }
923
- ]
924
- },
925
- {
926
- "kind": "javascript-module",
927
- "path": "card/src/mp-card-text.element.ts",
928
- "declarations": [
929
- {
930
- "kind": "class",
931
- "description": "Card text — adds `card-text` for Bootstrap's last-child margin reset.",
932
- "name": "MpCardTextElement",
933
- "superclass": {
934
- "name": "HTMLElement"
935
- },
936
- "tagName": "mp-card-text",
937
- "customElement": true
938
- }
939
- ],
940
- "exports": [
941
- {
942
- "kind": "js",
943
- "name": "MpCardTextElement",
944
- "declaration": {
945
- "name": "MpCardTextElement",
946
- "module": "card/src/mp-card-text.element.ts"
947
- }
948
- },
949
- {
950
- "kind": "custom-element-definition",
951
- "name": "mp-card-text",
952
- "declaration": {
953
- "name": "MpCardTextElement",
954
- "module": "card/src/mp-card-text.element.ts"
955
- }
956
- }
957
- ]
958
- },
959
- {
960
- "kind": "javascript-module",
961
- "path": "card/src/mp-card-title.element.ts",
962
- "declarations": [
963
- {
964
- "kind": "class",
965
- "description": "Card title — adds `card-title` for Bootstrap's title spacing/colour vars.\nRender as a heading in the consuming app if heading semantics matter; the\nWC stays element-agnostic to avoid forcing an h-level.",
966
- "name": "MpCardTitleElement",
967
- "superclass": {
968
- "name": "HTMLElement"
969
- },
970
- "tagName": "mp-card-title",
971
- "customElement": true
972
- }
973
- ],
974
- "exports": [
975
- {
976
- "kind": "js",
977
- "name": "MpCardTitleElement",
978
- "declaration": {
979
- "name": "MpCardTitleElement",
980
- "module": "card/src/mp-card-title.element.ts"
981
- }
982
- },
983
- {
984
- "kind": "custom-element-definition",
985
- "name": "mp-card-title",
986
- "declaration": {
987
- "name": "MpCardTitleElement",
988
- "module": "card/src/mp-card-title.element.ts"
989
- }
990
- }
991
- ]
992
- },
993
- {
994
- "kind": "javascript-module",
995
- "path": "card/src/mp-card.element.ts",
996
- "declarations": [
997
- {
998
- "kind": "class",
999
- "description": "Root of the Bootstrap card family.\n\nLight-DOM rendering: this element does NOT use shadow DOM. Bootstrap's\n`_card.scss` relies on parent-child selectors (`.card > .card-header`,\n`.card > .list-group + .card-footer`) which cannot pierce shadow roots, so\nthe entire `mp-card*` family stays in light DOM. The compiled card slice\nis injected into `document.head` exactly once on the first connection of\nany `<mp-card>` instance.\n\nAttributes:\n - `color` — one of the Bootstrap colour names; maps to `text-bg-<name>`.\n - `outline` — boolean (presence = true); flips to `border border-<name>`\n plus a transparent background, instead of the filled variant.",
1000
- "name": "MpCardElement",
1001
- "members": [
1002
- {
1003
- "kind": "method",
1004
- "name": "applyColor",
1005
- "privacy": "private",
1006
- "return": {
1007
- "type": {
1008
- "text": "void"
1009
- }
1010
- }
1011
- }
1012
- ],
1013
- "attributes": [
1014
- {
1015
- "name": "color"
1016
- },
1017
- {
1018
- "name": "outline"
1019
- }
1020
- ],
1021
- "superclass": {
1022
- "name": "HTMLElement"
1023
- },
1024
- "tagName": "mp-card",
1025
- "customElement": true
1026
- },
1027
- {
1028
- "kind": "function",
1029
- "name": "ensureCardStylesInjected",
1030
- "return": {
1031
- "type": {
1032
- "text": "void"
1033
- }
1034
- },
1035
- "description": "Inject the compiled Bootstrap-card SCSS into `document.head` exactly once\nper page. Called from `MpCardElement.connectedCallback()` and also exported\nfor the Angular wrapper (`BsCardComponent`) which doesn't instantiate\n`<mp-card>` itself but needs the same global cascade."
1036
- }
1037
- ],
1038
- "exports": [
1039
- {
1040
- "kind": "js",
1041
- "name": "MpCardElement",
1042
- "declaration": {
1043
- "name": "MpCardElement",
1044
- "module": "card/src/mp-card.element.ts"
1045
- }
1046
- },
1047
- {
1048
- "kind": "js",
1049
- "name": "ensureCardStylesInjected",
1050
- "declaration": {
1051
- "name": "ensureCardStylesInjected",
1052
- "module": "card/src/mp-card.element.ts"
1053
- }
1054
- },
1055
- {
1056
- "kind": "custom-element-definition",
1057
- "name": "mp-card",
1058
- "declaration": {
1059
- "name": "MpCardElement",
1060
- "module": "card/src/mp-card.element.ts"
1061
- }
1062
- }
1063
- ]
1064
- },
1065
- {
1066
- "kind": "javascript-module",
1067
- "path": "code-snippet/src/mp-code-snippet.element.ts",
1068
- "declarations": [
1069
- {
1070
- "kind": "variable",
1071
- "name": "TAG_NAME",
1072
- "type": {
1073
- "text": "string"
1074
- },
1075
- "default": "'mp-code-snippet'"
1076
- },
1077
- {
1078
- "kind": "class",
1079
- "description": "`<mp-code-snippet>` — code block with syntax highlighting + copy-to-clipboard.\n\nReplaces the Angular-only `bs-code-snippet`. All three demo apps\n(Angular / React / Vue) render their per-page source snippets through\nthis WC for visual consistency.\n\nAttributes / properties:\n- `language` (optional): force a specific highlight.js language. If\n omitted, the highlighter auto-detects.\n- `code` (property): the source to render. Setting via attribute also\n works but the property form is preferred for multi-line content.\n\nEvents:\n- `language-detected` — fires after each highlight pass with\n `detail.language` containing the resolved language id (e.g. `\"typescript\"`).\n\na11y: the copy button announces success via an `aria-live=\"polite\"`\nregion inside the shadow root.\n\nSource content can ALSO be projected via the default slot — useful for\nstatic HTML pages where attribute serialization of newlines is awkward.\nSlot content is read once on first render and on `slotchange`.",
1080
- "name": "MpCodeSnippet",
1081
- "members": [
1082
- {
1083
- "kind": "field",
1084
- "name": "language",
1085
- "type": {
1086
- "text": "string"
1087
- },
1088
- "default": "''",
1089
- "attribute": "language"
1090
- },
1091
- {
1092
- "kind": "field",
1093
- "name": "code",
1094
- "type": {
1095
- "text": "string"
1096
- },
1097
- "default": "''",
1098
- "attribute": "code"
1099
- },
1100
- {
1101
- "kind": "field",
1102
- "name": "detectedLanguage",
1103
- "type": {
1104
- "text": "string"
1105
- },
1106
- "privacy": "private",
1107
- "default": "'code'"
1108
- },
1109
- {
1110
- "kind": "field",
1111
- "name": "highlighted",
1112
- "type": {
1113
- "text": "string"
1114
- },
1115
- "privacy": "private",
1116
- "default": "''"
1117
- },
1118
- {
1119
- "kind": "field",
1120
- "name": "toastVisible",
1121
- "type": {
1122
- "text": "boolean"
1123
- },
1124
- "privacy": "private",
1125
- "default": "false"
1126
- },
1127
- {
1128
- "kind": "field",
1129
- "name": "toastTimer",
1130
- "type": {
1131
- "text": "ReturnType<typeof setTimeout> | null"
1132
- },
1133
- "privacy": "private",
1134
- "default": "null"
1135
- },
1136
- {
1137
- "kind": "method",
1138
- "name": "runHighlight",
1139
- "privacy": "private",
1140
- "return": {
1141
- "type": {
1142
- "text": "void"
1143
- }
1144
- }
1145
- },
1146
- {
1147
- "kind": "method",
1148
- "name": "handleCopy",
1149
- "privacy": "private",
1150
- "return": {
1151
- "type": {
1152
- "text": "Promise<void>"
1153
- }
1154
- }
1155
- },
1156
- {
1157
- "kind": "method",
1158
- "name": "showToast",
1159
- "privacy": "private",
1160
- "return": {
1161
- "type": {
1162
- "text": "void"
1163
- }
1164
- }
1165
- },
1166
- {
1167
- "kind": "method",
1168
- "name": "onSlotChange",
1169
- "privacy": "private",
1170
- "return": {
1171
- "type": {
1172
- "text": "void"
1173
- }
1174
- },
1175
- "parameters": [
1176
- {
1177
- "name": "e",
1178
- "type": {
1179
- "text": "Event"
1180
- }
1181
- }
1182
- ]
1183
- }
1184
- ],
1185
- "events": [
1186
- {
1187
- "name": "language-detected",
1188
- "type": {
1189
- "text": "CustomEvent"
1190
- }
1191
- }
1192
- ],
1193
- "attributes": [
1194
- {
1195
- "name": "language",
1196
- "type": {
1197
- "text": "string"
1198
- },
1199
- "default": "''",
1200
- "fieldName": "language"
1201
- },
1202
- {
1203
- "name": "code",
1204
- "type": {
1205
- "text": "string"
1206
- },
1207
- "default": "''",
1208
- "fieldName": "code"
1209
- }
1210
- ],
1211
- "superclass": {
1212
- "name": "LitElement",
1213
- "package": "lit"
1214
- },
1215
- "tagName": "TAG_NAME",
1216
- "customElement": true
1217
- }
1218
- ],
1219
- "exports": [
1220
- {
1221
- "kind": "js",
1222
- "name": "MpCodeSnippet",
1223
- "declaration": {
1224
- "name": "MpCodeSnippet",
1225
- "module": "code-snippet/src/mp-code-snippet.element.ts"
1226
- }
1227
- },
1228
- {
1229
- "kind": "custom-element-definition",
1230
- "name": "TAG_NAME",
1231
- "declaration": {
1232
- "name": "MpCodeSnippet",
1233
- "module": "code-snippet/src/mp-code-snippet.element.ts"
1234
- }
1235
- }
1236
- ]
1237
- },
1238
- {
1239
- "kind": "javascript-module",
1240
- "path": "a11y/src/index.ts",
1241
- "declarations": [],
1242
- "exports": [
1243
- {
1244
- "kind": "js",
1245
- "name": "LiveAnnouncerController",
1246
- "declaration": {
1247
- "name": "LiveAnnouncerController",
1248
- "module": "./live-announcer"
1249
- }
1250
- },
1251
- {
1252
- "kind": "js",
1253
- "name": "LiveAnnouncerOptions",
1254
- "declaration": {
1255
- "name": "LiveAnnouncerOptions",
1256
- "module": "./live-announcer"
1257
- }
1258
- }
1259
- ]
1260
- },
1261
- {
1262
- "kind": "javascript-module",
1263
- "path": "a11y/src/live-announcer.ts",
1264
- "declarations": [
1265
- {
1266
- "kind": "class",
1267
- "description": "Lit reactive controller that owns a visually-hidden live region for a Lit\nweb component. Call announce() to push a message; call template() once\ninside the host's render() to drop the live region into the shadow tree.\n\nWrites go directly to the rendered region's textContent (via a Lit `ref`).\nThat keeps announce() safe to call from inside the host's `updated()`\nlifecycle hook — it never schedules a follow-up update, so it can't\ntrigger Lit's \"change-in-update\" warning.\n\nWhy a controller and not a free-floating div appended to the shadow root:\nLit's render owns its render root; appending children outside the rendered\nsubtree is fragile across re-renders. Going through the template keeps the\nregion inside Lit's managed DOM and avoids \"where did my element go\" bugs.",
1268
- "name": "LiveAnnouncerController",
1269
- "members": [
1270
- {
1271
- "kind": "field",
1272
- "name": "host",
1273
- "type": {
1274
- "text": "ReactiveControllerHost"
1275
- },
1276
- "privacy": "private",
1277
- "default": "host"
1278
- },
1279
- {
1280
- "kind": "field",
1281
- "name": "clearTimer",
1282
- "type": {
1283
- "text": "ReturnType<typeof setTimeout> | null"
1284
- },
1285
- "privacy": "private",
1286
- "default": "null"
1287
- },
1288
- {
1289
- "kind": "field",
1290
- "name": "pendingMessage",
1291
- "type": {
1292
- "text": "string | null"
1293
- },
1294
- "privacy": "private",
1295
- "default": "null"
1296
- },
1297
- {
1298
- "kind": "field",
1299
- "name": "politeness",
1300
- "type": {
1301
- "text": "'polite' | 'assertive'"
1302
- },
1303
- "privacy": "private",
1304
- "readonly": true
1305
- },
1306
- {
1307
- "kind": "field",
1308
- "name": "clearAfterMs",
1309
- "type": {
1310
- "text": "number"
1311
- },
1312
- "privacy": "private",
1313
- "readonly": true
1314
- },
1315
- {
1316
- "kind": "field",
1317
- "name": "regionRef",
1318
- "type": {
1319
- "text": "Ref<HTMLDivElement>"
1320
- },
1321
- "privacy": "private",
1322
- "readonly": true
1323
- },
1324
- {
1325
- "kind": "method",
1326
- "name": "hostUpdated",
1327
- "return": {
1328
- "type": {
1329
- "text": "void"
1330
- }
1331
- }
1332
- },
1333
- {
1334
- "kind": "method",
1335
- "name": "hostDisconnected",
1336
- "return": {
1337
- "type": {
1338
- "text": "void"
1339
- }
1340
- }
1341
- },
1342
- {
1343
- "kind": "method",
1344
- "name": "announce",
1345
- "return": {
1346
- "type": {
1347
- "text": "void"
1348
- }
1349
- },
1350
- "parameters": [
1351
- {
1352
- "name": "message",
1353
- "type": {
1354
- "text": "string"
1355
- }
1356
- }
1357
- ]
1358
- },
1359
- {
1360
- "kind": "method",
1361
- "name": "template",
1362
- "return": {
1363
- "type": {
1364
- "text": "TemplateResult"
1365
- }
1366
- },
1367
- "description": "Returns the live-region template fragment. Call once inside the host's render()."
1368
- },
1369
- {
1370
- "kind": "method",
1371
- "name": "writeMessage",
1372
- "privacy": "private",
1373
- "return": {
1374
- "type": {
1375
- "text": "void"
1376
- }
1377
- },
1378
- "parameters": [
1379
- {
1380
- "name": "message",
1381
- "type": {
1382
- "text": "string"
1383
- }
1384
- }
1385
- ]
1386
- },
1387
- {
1388
- "kind": "method",
1389
- "name": "scheduleClear",
1390
- "privacy": "private",
1391
- "return": {
1392
- "type": {
1393
- "text": "void"
1394
- }
1395
- }
1396
- }
1397
- ]
1398
- }
1399
- ],
1400
- "exports": [
1401
- {
1402
- "kind": "js",
1403
- "name": "LiveAnnouncerController",
1404
- "declaration": {
1405
- "name": "LiveAnnouncerController",
1406
- "module": "a11y/src/live-announcer.ts"
1407
- }
1408
- }
1409
- ]
1410
- },
1411
- {
1412
- "kind": "javascript-module",
1413
- "path": "calendar/src/index.ts",
1414
- "declarations": [],
1415
- "exports": [
1416
- {
1417
- "kind": "js",
1418
- "name": "*",
1419
- "declaration": {
1420
- "name": "*",
1421
- "module": "calendar/src/mp-calendar.element"
1422
- }
1423
- }
1424
- ]
1425
- },
1426
- {
1427
- "kind": "javascript-module",
1428
- "path": "card/src/card-classes.ts",
1429
- "declarations": [
1430
- {
1431
- "kind": "variable",
1432
- "name": "COLOR_NAMES",
1433
- "type": {
1434
- "text": "[\n 'primary',\n 'secondary',\n 'success',\n 'danger',\n 'warning',\n 'info',\n 'light',\n 'dark',\n 'body',\n 'white',\n 'transparent',\n]"
1435
- },
1436
- "default": "[ 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark', 'body', 'white', 'transparent', ]"
1437
- },
1438
- {
1439
- "kind": "function",
1440
- "name": "isCardColorName",
1441
- "return": {
1442
- "type": {
1443
- "text": "value is CardColorName"
1444
- }
1445
- },
1446
- "parameters": [
1447
- {
1448
- "name": "value",
1449
- "type": {
1450
- "text": "string | null | undefined"
1451
- }
1452
- }
1453
- ]
1454
- },
1455
- {
1456
- "kind": "function",
1457
- "name": "clearPrefixedClasses",
1458
- "return": {
1459
- "type": {
1460
- "text": "void"
1461
- }
1462
- },
1463
- "parameters": [
1464
- {
1465
- "name": "el",
1466
- "type": {
1467
- "text": "HTMLElement"
1468
- }
1469
- },
1470
- {
1471
- "name": "prefix",
1472
- "type": {
1473
- "text": "string"
1474
- }
1475
- }
1476
- ],
1477
- "description": "Remove every class on `el` whose name starts with `prefix` (e.g.\n`text-bg-`, `border-`). Used to clear a previous colour selection before\napplying the new one."
1478
- },
1479
- {
1480
- "kind": "function",
1481
- "name": "applyCardColorClasses",
1482
- "return": {
1483
- "type": {
1484
- "text": "void"
1485
- }
1486
- },
1487
- "parameters": [
1488
- {
1489
- "name": "el",
1490
- "type": {
1491
- "text": "HTMLElement"
1492
- }
1493
- },
1494
- {
1495
- "name": "color",
1496
- "type": {
1497
- "text": "string | null"
1498
- }
1499
- },
1500
- {
1501
- "name": "outline",
1502
- "type": {
1503
- "text": "boolean"
1504
- }
1505
- }
1506
- ],
1507
- "description": "Apply the card root's colour contract to an element: `text-bg-<name>` for\nthe filled variant, or `border border-<name> bg-transparent` for outline.\nUsed by both `mp-card` and the Angular `bs-card` wrapper so both layers\nstay byte-identical without each duplicating the bootstrap-utility logic."
1508
- },
1509
- {
1510
- "kind": "function",
1511
- "name": "applyTextBgClass",
1512
- "return": {
1513
- "type": {
1514
- "text": "void"
1515
- }
1516
- },
1517
- "parameters": [
1518
- {
1519
- "name": "el",
1520
- "type": {
1521
- "text": "HTMLElement"
1522
- }
1523
- },
1524
- {
1525
- "name": "color",
1526
- "type": {
1527
- "text": "string | null"
1528
- }
1529
- }
1530
- ],
1531
- "description": "Apply the `text-bg-<name>` background to `el`, clearing any prior value.\nUsed by the header / footer Bootstrap-classed regions, which don't have an\noutline mode upstream."
1532
- },
1533
- {
1534
- "kind": "function",
1535
- "name": "applyHeaderNavStyle",
1536
- "return": {
1537
- "type": {
1538
- "text": "void"
1539
- }
1540
- },
1541
- "parameters": [
1542
- {
1543
- "name": "host",
1544
- "type": {
1545
- "text": "HTMLElement"
1546
- }
1547
- },
1548
- {
1549
- "name": "style",
1550
- "type": {
1551
- "text": "'tabs' | 'pills' | null"
1552
- }
1553
- }
1554
- ],
1555
- "description": "Apply `card-header-tabs` or `card-header-pills` to the first slotted\n`nav` / `ul` / `.nav` inside `host`. The header element observes child\nchanges and re-invokes this on mutation, so a nav inserted lazily (e.g.\nvia an Angular `@if`) still receives the right class.\n\nThe `.nav` selector covers Bootstrap's `<div class=\"nav\">` and\n`<span class=\"nav\">` forms, where the tag is incidental and the `nav`\nclass carries the semantics."
1556
- },
1557
- {
1558
- "kind": "function",
1559
- "name": "isNavTargetNode",
1560
- "return": {
1561
- "type": {
1562
- "text": "boolean"
1563
- }
1564
- },
1565
- "parameters": [
1566
- {
1567
- "name": "node",
1568
- "type": {
1569
- "text": "Node"
1570
- }
1571
- }
1572
- ],
1573
- "description": "True if any of `nodes` is an Element that would qualify as a slotted\nnav target (`nav` / `ul` tag, or anything carrying the `nav` class).\nUsed by the header's MutationObserver to skip the full re-walk when the\nmutation only touches non-nav content."
1574
- }
1575
- ],
1576
- "exports": [
1577
- {
1578
- "kind": "js",
1579
- "name": "COLOR_NAMES",
1580
- "declaration": {
1581
- "name": "COLOR_NAMES",
1582
- "module": "card/src/card-classes.ts"
1583
- }
1584
- },
1585
- {
1586
- "kind": "js",
1587
- "name": "isCardColorName",
1588
- "declaration": {
1589
- "name": "isCardColorName",
1590
- "module": "card/src/card-classes.ts"
1591
- }
1592
- },
1593
- {
1594
- "kind": "js",
1595
- "name": "clearPrefixedClasses",
1596
- "declaration": {
1597
- "name": "clearPrefixedClasses",
1598
- "module": "card/src/card-classes.ts"
1599
- }
1600
- },
1601
- {
1602
- "kind": "js",
1603
- "name": "applyCardColorClasses",
1604
- "declaration": {
1605
- "name": "applyCardColorClasses",
1606
- "module": "card/src/card-classes.ts"
1607
- }
1608
- },
1609
- {
1610
- "kind": "js",
1611
- "name": "applyTextBgClass",
1612
- "declaration": {
1613
- "name": "applyTextBgClass",
1614
- "module": "card/src/card-classes.ts"
1615
- }
1616
- },
1617
- {
1618
- "kind": "js",
1619
- "name": "applyHeaderNavStyle",
1620
- "declaration": {
1621
- "name": "applyHeaderNavStyle",
1622
- "module": "card/src/card-classes.ts"
1623
- }
1624
- },
1625
- {
1626
- "kind": "js",
1627
- "name": "isNavTargetNode",
1628
- "declaration": {
1629
- "name": "isNavTargetNode",
1630
- "module": "card/src/card-classes.ts"
1631
- }
1632
- }
1633
- ]
1634
- },
1635
- {
1636
- "kind": "javascript-module",
1637
- "path": "card/src/index.ts",
1638
- "declarations": [],
1639
- "exports": [
1640
- {
1641
- "kind": "js",
1642
- "name": "*",
1643
- "declaration": {
1644
- "name": "*",
1645
- "module": "card/src/mp-card.element"
1646
- }
1647
- },
1648
- {
1649
- "kind": "js",
1650
- "name": "*",
1651
- "declaration": {
1652
- "name": "*",
1653
- "module": "card/src/mp-card-body.element"
1654
- }
1655
- },
1656
- {
1657
- "kind": "js",
1658
- "name": "*",
1659
- "declaration": {
1660
- "name": "*",
1661
- "module": "card/src/mp-card-footer.element"
1662
- }
1663
- },
1664
- {
1665
- "kind": "js",
1666
- "name": "*",
1667
- "declaration": {
1668
- "name": "*",
1669
- "module": "card/src/mp-card-group.element"
1670
- }
1671
- },
1672
- {
1673
- "kind": "js",
1674
- "name": "*",
1675
- "declaration": {
1676
- "name": "*",
1677
- "module": "card/src/mp-card-header.element"
1678
- }
1679
- },
1680
- {
1681
- "kind": "js",
1682
- "name": "*",
1683
- "declaration": {
1684
- "name": "*",
1685
- "module": "card/src/mp-card-img.element"
1686
- }
1687
- },
1688
- {
1689
- "kind": "js",
1690
- "name": "*",
1691
- "declaration": {
1692
- "name": "*",
1693
- "module": "card/src/mp-card-link.element"
1694
- }
1695
- },
1696
- {
1697
- "kind": "js",
1698
- "name": "*",
1699
- "declaration": {
1700
- "name": "*",
1701
- "module": "card/src/mp-card-subtitle.element"
1702
- }
1703
- },
1704
- {
1705
- "kind": "js",
1706
- "name": "*",
1707
- "declaration": {
1708
- "name": "*",
1709
- "module": "card/src/mp-card-text.element"
1710
- }
1711
- },
1712
- {
1713
- "kind": "js",
1714
- "name": "*",
1715
- "declaration": {
1716
- "name": "*",
1717
- "module": "card/src/mp-card-title.element"
1718
- }
1719
- },
1720
- {
1721
- "kind": "js",
1722
- "name": "*",
1723
- "declaration": {
1724
- "name": "*",
1725
- "module": "card/src/card-classes"
1726
- }
1727
- },
1728
- {
1729
- "kind": "js",
1730
- "name": "*",
1731
- "declaration": {
1732
- "name": "*",
1733
- "module": "card/src/types/card-image-position"
1734
- }
1735
- },
1736
- {
1737
- "kind": "js",
1738
- "name": "*",
1739
- "declaration": {
1740
- "name": "*",
1741
- "module": "card/src/types/card-header-nav-style"
1742
- }
1743
- }
1744
- ]
1745
- },
1746
- {
1747
- "kind": "javascript-module",
1748
- "path": "code-snippet/src/index.ts",
1749
- "declarations": [],
1750
- "exports": [
1751
- {
1752
- "kind": "js",
1753
- "name": "*",
1754
- "declaration": {
1755
- "name": "*",
1756
- "module": "code-snippet/src/mp-code-snippet.element"
1757
- }
1758
- }
1759
- ]
1760
- },
1761
- {
1762
- "kind": "javascript-module",
1763
- "path": "card/src/types/card-header-nav-style.ts",
1764
- "declarations": [],
1765
- "exports": []
1766
- },
1767
- {
1768
- "kind": "javascript-module",
1769
- "path": "card/src/types/card-image-position.ts",
1770
- "declarations": [],
1771
- "exports": []
1772
- }
1773
- ]
1774
- }