@ticketlayer/elements 0.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 (195) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +55 -0
  3. package/dist/cjs/index-DfzcrE9-.js +3598 -0
  4. package/dist/cjs/index.cjs.js +16 -0
  5. package/dist/cjs/loader.cjs.js +12 -0
  6. package/dist/cjs/order-summary-ZMkJ5bez.js +116 -0
  7. package/dist/cjs/sdk-connector-ClDF3013.js +108 -0
  8. package/dist/cjs/ticketlayer-elements.cjs.js +24 -0
  9. package/dist/cjs/tl-buy-modal.cjs.entry.js +127 -0
  10. package/dist/cjs/tl-buy-tickets-button.cjs.entry.js +131 -0
  11. package/dist/cjs/tl-buy-tickets-wrapper.cjs.entry.js +58 -0
  12. package/dist/cjs/tl-cart-badge.cjs.entry.js +109 -0
  13. package/dist/cjs/tl-cart-drawer.cjs.entry.js +67 -0
  14. package/dist/cjs/tl-cart.cjs.entry.js +148 -0
  15. package/dist/cjs/tl-checkout-wrapper.cjs.entry.js +57 -0
  16. package/dist/cjs/tl-event-card.cjs.entry.js +140 -0
  17. package/dist/cjs/tl-event-list.cjs.entry.js +80 -0
  18. package/dist/cjs/tl-login.cjs.entry.js +184 -0
  19. package/dist/cjs/tl-my-orders.cjs.entry.js +123 -0
  20. package/dist/cjs/tl-occurrence-selector_2.cjs.entry.js +754 -0
  21. package/dist/cjs/tl-order-confirmation.cjs.entry.js +146 -0
  22. package/dist/cjs/tl-order-tickets_2.cjs.entry.js +3198 -0
  23. package/dist/cjs/tl-promo-code.cjs.entry.js +75 -0
  24. package/dist/cjs/tl-seat-map.cjs.entry.js +147 -0
  25. package/dist/collection/collection-manifest.json +29 -0
  26. package/dist/collection/components/tl-buy-modal/tl-buy-modal.css +264 -0
  27. package/dist/collection/components/tl-buy-modal/tl-buy-modal.js +249 -0
  28. package/dist/collection/components/tl-buy-tickets-button/tl-buy-tickets-button.css +120 -0
  29. package/dist/collection/components/tl-buy-tickets-button/tl-buy-tickets-button.js +412 -0
  30. package/dist/collection/components/tl-buy-tickets-wrapper/tl-buy-tickets-wrapper.css +23 -0
  31. package/dist/collection/components/tl-buy-tickets-wrapper/tl-buy-tickets-wrapper.js +192 -0
  32. package/dist/collection/components/tl-cart/tl-cart.css +251 -0
  33. package/dist/collection/components/tl-cart/tl-cart.js +314 -0
  34. package/dist/collection/components/tl-cart-badge/tl-cart-badge.css +138 -0
  35. package/dist/collection/components/tl-cart-badge/tl-cart-badge.js +217 -0
  36. package/dist/collection/components/tl-cart-drawer/tl-cart-drawer.css +98 -0
  37. package/dist/collection/components/tl-cart-drawer/tl-cart-drawer.js +185 -0
  38. package/dist/collection/components/tl-checkout-wrapper/tl-checkout-wrapper.css +23 -0
  39. package/dist/collection/components/tl-checkout-wrapper/tl-checkout-wrapper.js +148 -0
  40. package/dist/collection/components/tl-event-card/event-card-adapter.js +23 -0
  41. package/dist/collection/components/tl-event-card/tl-event-card.css +175 -0
  42. package/dist/collection/components/tl-event-card/tl-event-card.js +205 -0
  43. package/dist/collection/components/tl-event-list/tl-event-list.css +134 -0
  44. package/dist/collection/components/tl-event-list/tl-event-list.js +171 -0
  45. package/dist/collection/components/tl-login/tl-login.css +133 -0
  46. package/dist/collection/components/tl-login/tl-login.js +309 -0
  47. package/dist/collection/components/tl-my-orders/tl-my-orders.css +204 -0
  48. package/dist/collection/components/tl-my-orders/tl-my-orders.js +221 -0
  49. package/dist/collection/components/tl-occurrence-selector/tl-occurrence-selector.css +658 -0
  50. package/dist/collection/components/tl-occurrence-selector/tl-occurrence-selector.js +707 -0
  51. package/dist/collection/components/tl-order-confirmation/tl-order-confirmation.css +176 -0
  52. package/dist/collection/components/tl-order-confirmation/tl-order-confirmation.js +298 -0
  53. package/dist/collection/components/tl-order-tickets/tl-order-tickets.css +30 -0
  54. package/dist/collection/components/tl-order-tickets/tl-order-tickets.js +122 -0
  55. package/dist/collection/components/tl-promo-code/tl-promo-code.css +106 -0
  56. package/dist/collection/components/tl-promo-code/tl-promo-code.js +181 -0
  57. package/dist/collection/components/tl-seat-map/tl-seat-map.css +85 -0
  58. package/dist/collection/components/tl-seat-map/tl-seat-map.js +366 -0
  59. package/dist/collection/components/tl-ticket/tl-ticket.css +90 -0
  60. package/dist/collection/components/tl-ticket/tl-ticket.js +129 -0
  61. package/dist/collection/components/tl-ticket-selector/tl-ticket-selector.css +205 -0
  62. package/dist/collection/components/tl-ticket-selector/tl-ticket-selector.js +332 -0
  63. package/dist/collection/index.js +10 -0
  64. package/dist/collection/utils/order-summary.js +101 -0
  65. package/dist/collection/utils/sdk-connector.js +100 -0
  66. package/dist/collection/utils/testing/mock-sdk.js +95 -0
  67. package/dist/components/index.d.ts +35 -0
  68. package/dist/components/index.js +1 -0
  69. package/dist/components/order-summary.js +1 -0
  70. package/dist/components/sdk-connector.js +1 -0
  71. package/dist/components/tl-buy-modal.d.ts +11 -0
  72. package/dist/components/tl-buy-modal.js +1 -0
  73. package/dist/components/tl-buy-tickets-button.d.ts +11 -0
  74. package/dist/components/tl-buy-tickets-button.js +1 -0
  75. package/dist/components/tl-buy-tickets-wrapper.d.ts +11 -0
  76. package/dist/components/tl-buy-tickets-wrapper.js +1 -0
  77. package/dist/components/tl-buy-tickets-wrapper2.js +1 -0
  78. package/dist/components/tl-cart-badge.d.ts +11 -0
  79. package/dist/components/tl-cart-badge.js +1 -0
  80. package/dist/components/tl-cart-drawer.d.ts +11 -0
  81. package/dist/components/tl-cart-drawer.js +1 -0
  82. package/dist/components/tl-cart.d.ts +11 -0
  83. package/dist/components/tl-cart.js +1 -0
  84. package/dist/components/tl-cart2.js +1 -0
  85. package/dist/components/tl-checkout-wrapper.d.ts +11 -0
  86. package/dist/components/tl-checkout-wrapper.js +1 -0
  87. package/dist/components/tl-checkout-wrapper2.js +1 -0
  88. package/dist/components/tl-event-card.d.ts +11 -0
  89. package/dist/components/tl-event-card.js +1 -0
  90. package/dist/components/tl-event-card2.js +1 -0
  91. package/dist/components/tl-event-list.d.ts +11 -0
  92. package/dist/components/tl-event-list.js +1 -0
  93. package/dist/components/tl-login.d.ts +11 -0
  94. package/dist/components/tl-login.js +1 -0
  95. package/dist/components/tl-login2.js +1 -0
  96. package/dist/components/tl-my-orders.d.ts +11 -0
  97. package/dist/components/tl-my-orders.js +1 -0
  98. package/dist/components/tl-occurrence-selector.d.ts +11 -0
  99. package/dist/components/tl-occurrence-selector.js +1 -0
  100. package/dist/components/tl-occurrence-selector2.js +1 -0
  101. package/dist/components/tl-order-confirmation.d.ts +11 -0
  102. package/dist/components/tl-order-confirmation.js +1 -0
  103. package/dist/components/tl-order-tickets.d.ts +11 -0
  104. package/dist/components/tl-order-tickets.js +1 -0
  105. package/dist/components/tl-order-tickets2.js +1 -0
  106. package/dist/components/tl-promo-code.d.ts +11 -0
  107. package/dist/components/tl-promo-code.js +1 -0
  108. package/dist/components/tl-seat-map.d.ts +11 -0
  109. package/dist/components/tl-seat-map.js +1 -0
  110. package/dist/components/tl-ticket-selector.d.ts +11 -0
  111. package/dist/components/tl-ticket-selector.js +1 -0
  112. package/dist/components/tl-ticket-selector2.js +1 -0
  113. package/dist/components/tl-ticket.d.ts +11 -0
  114. package/dist/components/tl-ticket.js +1 -0
  115. package/dist/components/tl-ticket2.js +1 -0
  116. package/dist/elements.docs.d.ts +454 -0
  117. package/dist/elements.docs.json +3008 -0
  118. package/dist/esm/index-Ba-RZTFI.js +3588 -0
  119. package/dist/esm/index.js +4 -0
  120. package/dist/esm/loader.js +10 -0
  121. package/dist/esm/order-summary-BGekdjN9.js +103 -0
  122. package/dist/esm/sdk-connector-CqhvfyKV.js +102 -0
  123. package/dist/esm/ticketlayer-elements.js +20 -0
  124. package/dist/esm/tl-buy-modal.entry.js +125 -0
  125. package/dist/esm/tl-buy-tickets-button.entry.js +129 -0
  126. package/dist/esm/tl-buy-tickets-wrapper.entry.js +56 -0
  127. package/dist/esm/tl-cart-badge.entry.js +107 -0
  128. package/dist/esm/tl-cart-drawer.entry.js +65 -0
  129. package/dist/esm/tl-cart.entry.js +146 -0
  130. package/dist/esm/tl-checkout-wrapper.entry.js +55 -0
  131. package/dist/esm/tl-event-card.entry.js +138 -0
  132. package/dist/esm/tl-event-list.entry.js +78 -0
  133. package/dist/esm/tl-login.entry.js +182 -0
  134. package/dist/esm/tl-my-orders.entry.js +121 -0
  135. package/dist/esm/tl-occurrence-selector_2.entry.js +751 -0
  136. package/dist/esm/tl-order-confirmation.entry.js +144 -0
  137. package/dist/esm/tl-order-tickets_2.entry.js +3195 -0
  138. package/dist/esm/tl-promo-code.entry.js +73 -0
  139. package/dist/esm/tl-seat-map.entry.js +145 -0
  140. package/dist/index.cjs.js +1 -0
  141. package/dist/index.js +1 -0
  142. package/dist/ticketlayer-elements/index.esm.js +1 -0
  143. package/dist/ticketlayer-elements/p-0291df4c.entry.js +1 -0
  144. package/dist/ticketlayer-elements/p-10f01a1f.entry.js +1 -0
  145. package/dist/ticketlayer-elements/p-11273f8f.entry.js +1 -0
  146. package/dist/ticketlayer-elements/p-340ab4f5.entry.js +1 -0
  147. package/dist/ticketlayer-elements/p-41d22d7c.entry.js +1 -0
  148. package/dist/ticketlayer-elements/p-82752e3b.entry.js +1 -0
  149. package/dist/ticketlayer-elements/p-976770f3.entry.js +1 -0
  150. package/dist/ticketlayer-elements/p-9a903ff6.entry.js +1 -0
  151. package/dist/ticketlayer-elements/p-9c9072c8.entry.js +1 -0
  152. package/dist/ticketlayer-elements/p-9d8163d6.entry.js +1 -0
  153. package/dist/ticketlayer-elements/p-BGekdjN9.js +1 -0
  154. package/dist/ticketlayer-elements/p-Ba-RZTFI.js +2 -0
  155. package/dist/ticketlayer-elements/p-CqhvfyKV.js +1 -0
  156. package/dist/ticketlayer-elements/p-a5c90b68.entry.js +1 -0
  157. package/dist/ticketlayer-elements/p-b6d479ad.entry.js +1 -0
  158. package/dist/ticketlayer-elements/p-dd43f015.entry.js +1 -0
  159. package/dist/ticketlayer-elements/p-eb640760.entry.js +1 -0
  160. package/dist/ticketlayer-elements/p-ee3aa227.entry.js +1 -0
  161. package/dist/ticketlayer-elements/p-fb9444c4.entry.js +1 -0
  162. package/dist/ticketlayer-elements/ticketlayer-elements.css +1 -0
  163. package/dist/ticketlayer-elements/ticketlayer-elements.esm.js +1 -0
  164. package/dist/types/components/tl-buy-modal/tl-buy-modal.d.ts +54 -0
  165. package/dist/types/components/tl-buy-tickets-button/tl-buy-tickets-button.d.ts +61 -0
  166. package/dist/types/components/tl-buy-tickets-wrapper/tl-buy-tickets-wrapper.d.ts +52 -0
  167. package/dist/types/components/tl-cart/tl-cart.d.ts +80 -0
  168. package/dist/types/components/tl-cart-badge/tl-cart-badge.d.ts +36 -0
  169. package/dist/types/components/tl-cart-drawer/tl-cart-drawer.d.ts +35 -0
  170. package/dist/types/components/tl-checkout-wrapper/tl-checkout-wrapper.d.ts +39 -0
  171. package/dist/types/components/tl-event-card/event-card-adapter.d.ts +23 -0
  172. package/dist/types/components/tl-event-card/tl-event-card.d.ts +55 -0
  173. package/dist/types/components/tl-event-list/tl-event-list.d.ts +30 -0
  174. package/dist/types/components/tl-login/tl-login.d.ts +59 -0
  175. package/dist/types/components/tl-my-orders/tl-my-orders.d.ts +39 -0
  176. package/dist/types/components/tl-occurrence-selector/tl-occurrence-selector.d.ts +208 -0
  177. package/dist/types/components/tl-order-confirmation/tl-order-confirmation.d.ts +54 -0
  178. package/dist/types/components/tl-order-tickets/tl-order-tickets.d.ts +21 -0
  179. package/dist/types/components/tl-promo-code/tl-promo-code.d.ts +39 -0
  180. package/dist/types/components/tl-seat-map/tl-seat-map.d.ts +68 -0
  181. package/dist/types/components/tl-ticket/tl-ticket.d.ts +28 -0
  182. package/dist/types/components/tl-ticket-selector/tl-ticket-selector.d.ts +78 -0
  183. package/dist/types/components.d.ts +1629 -0
  184. package/dist/types/index.d.ts +14 -0
  185. package/dist/types/stencil-public-runtime.d.ts +1839 -0
  186. package/dist/types/utils/order-summary.d.ts +67 -0
  187. package/dist/types/utils/sdk-connector.d.ts +113 -0
  188. package/dist/types/utils/testing/mock-sdk.d.ts +36 -0
  189. package/elements.catalogue.json +968 -0
  190. package/loader/cdn.js +1 -0
  191. package/loader/index.cjs.js +1 -0
  192. package/loader/index.d.ts +24 -0
  193. package/loader/index.es2017.js +1 -0
  194. package/loader/index.js +2 -0
  195. package/package.json +101 -0
@@ -0,0 +1,454 @@
1
+
2
+ /**
3
+ * This is an autogenerated file created by the Stencil compiler.
4
+ * DO NOT MODIFY IT MANUALLY
5
+ */
6
+ interface ComponentCompilerPropertyComplexType {
7
+ /**
8
+ * The string of the original type annotation in the Stencil source code
9
+ */
10
+ original: string;
11
+ /**
12
+ * A 'resolved' type, where e.g. imported types have been resolved and inlined
13
+ *
14
+ * For instance, an annotation like `(foo: Foo) => string;` will be
15
+ * converted to `(foo: { foo: string }) => string;`.
16
+ */
17
+ resolved: string;
18
+ /**
19
+ * A record of the types which were referenced in the assorted type
20
+ * annotation in the original source file.
21
+ */
22
+ references: ComponentCompilerTypeReferences;
23
+ }
24
+ type ComponentCompilerTypeReferences = Record<string, ComponentCompilerTypeReference>;
25
+ interface ComponentCompilerTypeReference {
26
+ /**
27
+ * A type may be defined:
28
+ * - locally (in the same file as the component that uses it)
29
+ * - globally
30
+ * - by importing it into a file (and is defined elsewhere)
31
+ */
32
+ location: "local" | "global" | "import";
33
+ /**
34
+ * The path to the type reference, if applicable (global types should not need a path associated with them)
35
+ */
36
+ path?: string;
37
+ /**
38
+ * An ID for this type which is unique within a Stencil project.
39
+ */
40
+ id: string;
41
+ /**
42
+ * Whether this type was imported as a default import (e.g., `import MyEnum from './my-enum'`)
43
+ * vs a named import (e.g., `import { MyType } from './my-type'`)
44
+ */
45
+ isDefault?: boolean;
46
+ /**
47
+ * The name used in the import statement (before any user-defined alias).
48
+ * For `import { XAxisOption as moo }`, this would be "XAxisOption".
49
+ * This is the name exported by the source module.
50
+ */
51
+ referenceLocation?: string;
52
+ }
53
+ interface ComponentCompilerReferencedType {
54
+ /**
55
+ * The path to the module where the type is declared.
56
+ */
57
+ path: string;
58
+ /**
59
+ * The string of the original type annotation in the Stencil source code
60
+ */
61
+ declaration: string;
62
+ /**
63
+ * An extracted docstring
64
+ */
65
+ docstring: string;
66
+ }
67
+ interface ComponentCompilerEventComplexType {
68
+ original: string;
69
+ resolved: string;
70
+ references: ComponentCompilerTypeReferences;
71
+ }
72
+ interface ComponentCompilerMethodComplexType {
73
+ signature: string;
74
+ parameters: JsonDocMethodParameter[];
75
+ references: ComponentCompilerTypeReferences;
76
+ return: string;
77
+ }
78
+ /**
79
+ * The Type Library holds information about the types which are used in a
80
+ * Stencil project. During compilation, Stencil gathers information about the
81
+ * types which form part of a component's public API, such as properties
82
+ * decorated with `@Prop`, `@Event`, `@Watch`, etc. This type information is
83
+ * then added to the Type Library, where it can be accessed later on for
84
+ * generating documentation.
85
+ *
86
+ * This information is included in the file written by the `docs-json` output
87
+ * target (see {@link JsonDocs.typeLibrary}).
88
+ */
89
+ export type JsonDocsTypeLibrary = Record<string, ComponentCompilerReferencedType>;
90
+ /**
91
+ * A container for JSDoc metadata for a project
92
+ */
93
+ export interface JsonDocs {
94
+ /**
95
+ * The metadata for the JSDocs for each component in a Stencil project
96
+ */
97
+ components: JsonDocsComponent[];
98
+ /**
99
+ * The timestamp at which the metadata was generated, in the format YYYY-MM-DDThh:mm:ss
100
+ */
101
+ timestamp: string;
102
+ compiler: {
103
+ /**
104
+ * The name of the compiler that generated the metadata
105
+ */
106
+ name: string;
107
+ /**
108
+ * The version of the Stencil compiler that generated the metadata
109
+ */
110
+ version: string;
111
+ /**
112
+ * The version of TypeScript that was used to generate the metadata
113
+ */
114
+ typescriptVersion: string;
115
+ };
116
+ typeLibrary: JsonDocsTypeLibrary;
117
+ }
118
+ /**
119
+ * Container for JSDoc metadata for a single Stencil component
120
+ */
121
+ export interface JsonDocsComponent {
122
+ /**
123
+ * The directory containing the Stencil component, minus the file name.
124
+ *
125
+ * @example /workspaces/stencil-project/src/components/my-component
126
+ */
127
+ dirPath?: string;
128
+ /**
129
+ * The name of the file containing the Stencil component, with no path
130
+ *
131
+ * @example my-component.tsx
132
+ */
133
+ fileName?: string;
134
+ /**
135
+ * The full path of the file containing the Stencil component
136
+ *
137
+ * @example /workspaces/stencil-project/src/components/my-component/my-component.tsx
138
+ */
139
+ filePath?: string;
140
+ /**
141
+ * The path to the component's `readme.md` file, including the filename
142
+ *
143
+ * @example /workspaces/stencil-project/src/components/my-component/readme.md
144
+ */
145
+ readmePath?: string;
146
+ /**
147
+ * The path to the component's `usage` directory
148
+ *
149
+ * @example /workspaces/stencil-project/src/components/my-component/usage/
150
+ */
151
+ usagesDir?: string;
152
+ /**
153
+ * The encapsulation strategy for a component
154
+ */
155
+ encapsulation: "shadow" | "scoped" | "none";
156
+ /**
157
+ * The tag name for the component, for use in HTML
158
+ */
159
+ tag: string;
160
+ /**
161
+ * The contents of a component's `readme.md` that are user generated.
162
+ *
163
+ * Auto-generated contents are not stored in this reference.
164
+ */
165
+ readme: string;
166
+ /**
167
+ * The description of a Stencil component, found in the JSDoc that sits above the component's declaration
168
+ */
169
+ docs: string;
170
+ /**
171
+ * JSDoc tags found in the JSDoc comment written atop a component's declaration
172
+ */
173
+ docsTags: JsonDocsTag[];
174
+ /**
175
+ * The text from the class-level JSDoc for a Stencil component, if present.
176
+ */
177
+ overview?: string;
178
+ /**
179
+ * A mapping of usage example file names to their contents for the component.
180
+ */
181
+ usage: JsonDocsUsage;
182
+ /**
183
+ * Array of metadata for a component's `@Prop`s
184
+ */
185
+ props: JsonDocsProp[];
186
+ /**
187
+ * Array of metadata for a component's `@Method`s
188
+ */
189
+ methods: JsonDocsMethod[];
190
+ /**
191
+ * Array of metadata for a component's `@Event`s
192
+ */
193
+ events: JsonDocsEvent[];
194
+ /**
195
+ * Array of metadata for a component's `@Listen` handlers
196
+ */
197
+ listeners: JsonDocsListener[];
198
+ /**
199
+ * Array of metadata for a component's CSS styling information
200
+ */
201
+ styles: JsonDocsStyle[];
202
+ /**
203
+ * Array of component Slot information, generated from `@slot` tags
204
+ */
205
+ slots: JsonDocsSlot[];
206
+ /**
207
+ * Array of component Parts information, generate from `@part` tags
208
+ */
209
+ parts: JsonDocsPart[];
210
+ /**
211
+ * Array of metadata describing where the current component is used
212
+ */
213
+ dependents: string[];
214
+ /**
215
+ * Array of metadata listing the components which are used in current component
216
+ */
217
+ dependencies: string[];
218
+ /**
219
+ * Describes a tree of components coupling
220
+ */
221
+ dependencyGraph: JsonDocsDependencyGraph;
222
+ /**
223
+ * A deprecation reason/description found following a `@deprecated` tag
224
+ */
225
+ deprecation?: string;
226
+ }
227
+ export interface JsonDocsDependencyGraph {
228
+ [tagName: string]: string[];
229
+ }
230
+ /**
231
+ * A descriptor for a single JSDoc tag found in a block comment
232
+ */
233
+ export interface JsonDocsTag {
234
+ /**
235
+ * The tag name (immediately following the '@')
236
+ */
237
+ name: string;
238
+ /**
239
+ * The description that immediately follows the tag name
240
+ */
241
+ text?: string;
242
+ }
243
+ export interface JsonDocsValue {
244
+ value?: string;
245
+ type: string;
246
+ }
247
+ /**
248
+ * A mapping of file names to their contents.
249
+ *
250
+ * This type is meant to be used when reading one or more usage markdown files associated with a component. For the
251
+ * given directory structure:
252
+ * ```
253
+ * src/components/my-component
254
+ * ├── my-component.tsx
255
+ * └── usage
256
+ * ├── bar.md
257
+ * └── foo.md
258
+ * ```
259
+ * an instance of this type would include the name of the markdown file, mapped to its contents:
260
+ * ```ts
261
+ * {
262
+ * 'bar': STRING_CONTENTS_OF_BAR.MD
263
+ * 'foo': STRING_CONTENTS_OF_FOO.MD
264
+ * }
265
+ * ```
266
+ */
267
+ export interface JsonDocsUsage {
268
+ [key: string]: string;
269
+ }
270
+ /**
271
+ * An intermediate representation of a `@Prop` decorated member's JSDoc
272
+ */
273
+ export interface JsonDocsProp {
274
+ /**
275
+ * the name of the prop
276
+ */
277
+ name: string;
278
+ complexType?: ComponentCompilerPropertyComplexType;
279
+ /**
280
+ * the type of the prop, in terms of the TypeScript type system (as opposed to JavaScript's or HTML's)
281
+ */
282
+ type: string;
283
+ /**
284
+ * `true` if the prop was configured as "mutable" where it was declared, `false` otherwise
285
+ */
286
+ mutable: boolean;
287
+ /**
288
+ * The name of the attribute that is exposed to configure a compiled web component
289
+ */
290
+ attr?: string;
291
+ /**
292
+ * `true` if the prop was configured to "reflect" back to HTML where it (the prop) was declared, `false` otherwise
293
+ */
294
+ reflectToAttr: boolean;
295
+ /**
296
+ * the JSDoc description text associated with the prop
297
+ */
298
+ docs: string;
299
+ /**
300
+ * JSDoc tags associated with the prop
301
+ */
302
+ docsTags: JsonDocsTag[];
303
+ /**
304
+ * The default value of the prop
305
+ */
306
+ default?: string;
307
+ /**
308
+ * Deprecation text associated with the prop. This is the text that immediately follows a `@deprecated` tag
309
+ */
310
+ deprecation?: string;
311
+ values: JsonDocsValue[];
312
+ /**
313
+ * `true` if a component is declared with a '?', `false` otherwise
314
+ *
315
+ * @example
316
+ * ```tsx
317
+ * @Prop() componentProps?: any;
318
+ * ```
319
+ */
320
+ optional: boolean;
321
+ /**
322
+ * `true` if a component is declared with a '!', `false` otherwise
323
+ *
324
+ * @example
325
+ * ```tsx
326
+ * @Prop() componentProps!: any;
327
+ * ```
328
+ */
329
+ required: boolean;
330
+ /**
331
+ * `true` if the prop has a `get()`. `false` otherwise
332
+ */
333
+ getter: boolean;
334
+ /**
335
+ * `true` if the prop has a `set()`. `false` otherwise
336
+ */
337
+ setter: boolean;
338
+ }
339
+ export interface JsonDocsMethod {
340
+ name: string;
341
+ docs: string;
342
+ docsTags: JsonDocsTag[];
343
+ deprecation?: string;
344
+ signature: string;
345
+ returns: JsonDocsMethodReturn;
346
+ parameters: JsonDocMethodParameter[];
347
+ complexType: ComponentCompilerMethodComplexType;
348
+ }
349
+ export interface JsonDocsMethodReturn {
350
+ type: string;
351
+ docs: string;
352
+ }
353
+ export interface JsonDocMethodParameter {
354
+ name: string;
355
+ type: string;
356
+ docs: string;
357
+ }
358
+ export interface JsonDocsEvent {
359
+ event: string;
360
+ bubbles: boolean;
361
+ cancelable: boolean;
362
+ composed: boolean;
363
+ complexType: ComponentCompilerEventComplexType;
364
+ docs: string;
365
+ docsTags: JsonDocsTag[];
366
+ deprecation?: string;
367
+ detail: string;
368
+ }
369
+ /**
370
+ * Type describing a CSS Style, as described by a JSDoc-style comment
371
+ */
372
+ export interface JsonDocsStyle {
373
+ /**
374
+ * The name of the style
375
+ */
376
+ name: string;
377
+ /**
378
+ * The type/description associated with the style
379
+ */
380
+ docs: string;
381
+ /**
382
+ * The annotation used in the JSDoc of the style (e.g. `@prop`)
383
+ */
384
+ annotation: string;
385
+ /**
386
+ * The mode associated with the style
387
+ */
388
+ mode: string | undefined;
389
+ }
390
+ export interface JsonDocsListener {
391
+ event: string;
392
+ target?: string;
393
+ capture: boolean;
394
+ passive: boolean;
395
+ }
396
+ /**
397
+ * A descriptor for a slot
398
+ *
399
+ * Objects of this type are translated from the JSDoc tag, `@slot`
400
+ */
401
+ export interface JsonDocsSlot {
402
+ /**
403
+ * The name of the slot. Defaults to an empty string for an unnamed slot.
404
+ */
405
+ name: string;
406
+ /**
407
+ * A textual description of the slot.
408
+ */
409
+ docs: string;
410
+ }
411
+ /**
412
+ * A descriptor of a CSS Shadow Part
413
+ *
414
+ * Objects of this type are translated from the JSDoc tag, `@part`, or the 'part'
415
+ * attribute on a component in TSX
416
+ */
417
+ export interface JsonDocsPart {
418
+ /**
419
+ * The name of the Shadow part
420
+ */
421
+ name: string;
422
+ /**
423
+ * A textual description of the Shadow part.
424
+ */
425
+ docs: string;
426
+ }
427
+ /**
428
+ * Represents a parsed block comment in a CSS, Sass, etc. file for a custom property.
429
+ */
430
+ export interface StyleDoc {
431
+ /**
432
+ * The name of the CSS property
433
+ */
434
+ name: string;
435
+ /**
436
+ * The user-defined description of the CSS property
437
+ */
438
+ docs: string;
439
+ /**
440
+ * The JSDoc-style annotation (e.g. `@prop`) that was used in the block comment to detect the comment.
441
+ * Used to inform Stencil where the start of a new property's description starts (and where the previous description
442
+ * ends).
443
+ */
444
+ annotation: "prop";
445
+ /**
446
+ * The Stencil style-mode that is associated with this property.
447
+ */
448
+ mode: string | undefined;
449
+ }
450
+
451
+ export {};
452
+
453
+ declare const _default: JsonDocs;
454
+ export default _default;