@cruglobal/godtools-shared 0.9.0-PR424-SNAPSHOT.1192 → 0.9.0-PR436-SNAPSHOT.1236
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.
- package/88b0986a7186d029-atomicfu-js-ir.js +6 -6
- package/Napier-napier-js-ir.js +26 -26
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +2946 -2946
- package/colormath-root-colormath-js-ir.js +470 -470
- package/fluid-locale-js-ir.js +125 -125
- package/kotlin-kotlin-stdlib-js-ir.js +281 -285
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +191 -74
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +398 -398
- package/kotlin-mpp-godtools-tool-parser-parser.js +2608 -2180
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +215 -215
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1798 -1798
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
|
@@ -42,7 +42,8 @@ export declare namespace org.cru.godtools.shared.tool.parser {
|
|
|
42
42
|
withParseRelated(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
43
43
|
withParsePages(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
44
44
|
withParseTips(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
45
|
-
|
|
45
|
+
withLegacyWebImageResources(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
46
|
+
copy(deviceType?: any/* org.cru.godtools.shared.tool.parser.model.DeviceType */, appVersion?: Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Version> */, supportedFeatures?: any/* kotlin.collections.Set<string> */, parsePages?: boolean, parseTips?: boolean, legacyWebImageResources?: boolean, parserDispatcher?: any/* kotlinx.coroutines.CoroutineDispatcher */): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
46
47
|
toString(): string;
|
|
47
48
|
hashCode(): number;
|
|
48
49
|
equals(other: Nullable<any>): boolean;
|
|
@@ -55,19 +56,16 @@ export declare namespace org.cru.godtools.shared.tool.parser {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
58
|
-
class AnalyticsEvent /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
59
|
+
class AnalyticsEvent /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
59
60
|
private constructor();
|
|
60
61
|
get action(): string;
|
|
61
62
|
get delay(): number;
|
|
62
63
|
get systems(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System> */;
|
|
63
64
|
get attributes(): any/* kotlin.collections.Map<string, string> */;
|
|
64
|
-
static createTestAnalyticsEvent(parent?: org.cru.godtools.shared.tool.parser.model.Base
|
|
65
|
+
static createTestAnalyticsEvent(parent?: any/* org.cru.godtools.shared.tool.parser.model.Base */, id?: Nullable<string>, action?: string, trigger?: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger, delay?: number, systems?: any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System> */, limit?: Nullable<number>, attributes?: any/* kotlin.collections.Map<string, string> */): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent;
|
|
65
66
|
isForSystem(system: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System): boolean;
|
|
66
67
|
shouldTrigger(state: org.cru.godtools.shared.tool.state.State): boolean;
|
|
67
68
|
recordTriggered(state: org.cru.godtools.shared.tool.state.State): void;
|
|
68
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
69
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
70
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
71
69
|
}
|
|
72
70
|
namespace AnalyticsEvent {
|
|
73
71
|
abstract class System {
|
|
@@ -135,20 +133,50 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
135
133
|
}
|
|
136
134
|
}
|
|
137
135
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
137
|
+
class Animation extends org.cru.godtools.shared.tool.parser.model.Content implements org.cru.godtools.shared.tool.parser.model.Clickable {
|
|
138
|
+
private constructor();
|
|
139
|
+
get resource(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
140
|
+
get loop(): boolean;
|
|
141
|
+
get autoPlay(): boolean;
|
|
142
|
+
get _playListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
143
|
+
get _stopListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
144
|
+
get _events(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
145
|
+
get url(): Nullable<string>;
|
|
146
|
+
get playListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
147
|
+
get stopListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
148
|
+
get isClickable(): boolean;
|
|
149
|
+
get events(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
150
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Clickable["__doNotUseOrImplementIt"];
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
154
|
+
class AspectRatio {
|
|
155
|
+
constructor(width: number, height: number);
|
|
156
|
+
get width(): number;
|
|
157
|
+
get height(): number;
|
|
158
|
+
get ratio(): number;
|
|
159
|
+
copy(width?: number, height?: number): org.cru.godtools.shared.tool.parser.model.AspectRatio;
|
|
160
|
+
toString(): string;
|
|
161
|
+
hashCode(): number;
|
|
162
|
+
equals(other: Nullable<any>): boolean;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
166
|
+
interface Clickable /* extends org.cru.godtools.shared.tool.parser.model.Base */ {
|
|
167
|
+
readonly isClickable: boolean;
|
|
168
|
+
readonly _events: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
169
|
+
readonly url: Nullable<string>;
|
|
170
|
+
readonly events: Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
141
171
|
readonly __doNotUseOrImplementIt: {
|
|
142
|
-
readonly "org.cru.godtools.shared.tool.parser.model.
|
|
172
|
+
readonly "org.cru.godtools.shared.tool.parser.model.Clickable": unique symbol;
|
|
143
173
|
};
|
|
144
174
|
}
|
|
145
175
|
}
|
|
146
176
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
147
|
-
abstract class Content /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
177
|
+
abstract class Content /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Visibility */ {
|
|
178
|
+
get contentType(): string;
|
|
148
179
|
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
149
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
150
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
151
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
152
180
|
}
|
|
153
181
|
}
|
|
154
182
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
@@ -188,6 +216,16 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
188
216
|
};
|
|
189
217
|
}
|
|
190
218
|
}
|
|
219
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
220
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
221
|
+
class Form extends org.cru.godtools.shared.tool.parser.model.Content implements org.cru.godtools.shared.tool.parser.model.Parent {
|
|
222
|
+
private constructor();
|
|
223
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
224
|
+
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
225
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
226
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
227
|
+
}
|
|
228
|
+
}
|
|
191
229
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
192
230
|
class Gravity {
|
|
193
231
|
constructor(horizontal: org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal, vertical: org.cru.godtools.shared.tool.parser.model.Gravity.Vertical);
|
|
@@ -256,41 +294,84 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
256
294
|
}
|
|
257
295
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
258
296
|
/* @ts-ignore: extends class with private primary constructor */
|
|
259
|
-
class Image extends org.cru.godtools.shared.tool.parser.model.Content implements org.cru.godtools.shared.tool.parser.model.
|
|
297
|
+
class Image extends org.cru.godtools.shared.tool.parser.model.Content implements org.cru.godtools.shared.tool.parser.model.Clickable {
|
|
260
298
|
private constructor();
|
|
299
|
+
get _events(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
300
|
+
get url(): Nullable<string>;
|
|
261
301
|
get resource(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
262
302
|
get gravity(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
263
303
|
get width(): org.cru.godtools.shared.tool.parser.model.Dimension;
|
|
264
|
-
static createTestImage(parent?: org.cru.godtools.shared.tool.parser.model.Base
|
|
265
|
-
get
|
|
266
|
-
get
|
|
267
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.
|
|
304
|
+
static createTestImage(parent?: any/* org.cru.godtools.shared.tool.parser.model.Base */, resource?: Nullable<string>, gravity?: org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal, width?: org.cru.godtools.shared.tool.parser.model.Dimension): org.cru.godtools.shared.tool.parser.model.Image;
|
|
305
|
+
get isClickable(): boolean;
|
|
306
|
+
get events(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
307
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Clickable["__doNotUseOrImplementIt"];
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
311
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
312
|
+
class Input extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
313
|
+
private constructor();
|
|
314
|
+
get type(): org.cru.godtools.shared.tool.parser.model.Input.Type;
|
|
315
|
+
get name(): Nullable<string>;
|
|
316
|
+
get value(): Nullable<string>;
|
|
317
|
+
get isRequired(): boolean;
|
|
318
|
+
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
319
|
+
get placeholder(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
320
|
+
validateValue(raw: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.Input.Error>;
|
|
321
|
+
}
|
|
322
|
+
namespace Input {
|
|
323
|
+
abstract class Error {
|
|
324
|
+
protected constructor();
|
|
325
|
+
static get Required(): {
|
|
326
|
+
} & org.cru.godtools.shared.tool.parser.model.Input.Error;
|
|
327
|
+
static get InvalidEmail(): {
|
|
328
|
+
} & org.cru.godtools.shared.tool.parser.model.Input.Error;
|
|
329
|
+
}
|
|
330
|
+
abstract class Type {
|
|
331
|
+
private constructor();
|
|
332
|
+
static get TEXT(): org.cru.godtools.shared.tool.parser.model.Input.Type & {
|
|
333
|
+
get name(): "TEXT";
|
|
334
|
+
get ordinal(): 0;
|
|
335
|
+
};
|
|
336
|
+
static get EMAIL(): org.cru.godtools.shared.tool.parser.model.Input.Type & {
|
|
337
|
+
get name(): "EMAIL";
|
|
338
|
+
get ordinal(): 1;
|
|
339
|
+
};
|
|
340
|
+
static get PHONE(): org.cru.godtools.shared.tool.parser.model.Input.Type & {
|
|
341
|
+
get name(): "PHONE";
|
|
342
|
+
get ordinal(): 2;
|
|
343
|
+
};
|
|
344
|
+
static get HIDDEN(): org.cru.godtools.shared.tool.parser.model.Input.Type & {
|
|
345
|
+
get name(): "HIDDEN";
|
|
346
|
+
get ordinal(): 3;
|
|
347
|
+
};
|
|
348
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Input.Type>;
|
|
349
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Input.Type;
|
|
350
|
+
get name(): "TEXT" | "EMAIL" | "PHONE" | "HIDDEN";
|
|
351
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
352
|
+
}
|
|
268
353
|
}
|
|
269
354
|
}
|
|
270
355
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
271
|
-
class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
356
|
+
class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
272
357
|
private constructor();
|
|
273
358
|
get code(): Nullable<string>;
|
|
274
359
|
get locale(): Nullable<string>;
|
|
275
360
|
get type(): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
|
|
276
|
-
get
|
|
361
|
+
get _dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
277
362
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
278
363
|
get title(): Nullable<string>;
|
|
279
364
|
get aemImports(): any/* kotlin.collections.List<string> */;
|
|
280
365
|
get categories(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Category> */;
|
|
281
366
|
get _pages(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */;
|
|
282
367
|
set _pages(value: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */);
|
|
283
|
-
get resources(): any/* kotlin.collections.Map<Nullable<string>, org.cru.godtools.shared.tool.parser.model.Resource> */;
|
|
284
368
|
get shareables(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */;
|
|
285
369
|
get relatedFiles(): any/* kotlin.collections.Set<string> */;
|
|
286
|
-
static createTestManifest(config?: org.cru.godtools.shared.tool.parser.ParserConfig, type?: org.cru.godtools.shared.tool.parser.model.Manifest.Type, code?: Nullable<string>, locale?: Nullable<string>, primaryColor?: string, primaryTextColor?: string, navBarColor?: Nullable<string>, navBarControlColor?: Nullable<string>, backgroundColor?: string, cardBackgroundColor?: Nullable<string>, categoryLabelColor?: Nullable<string>, pageControlColor?: string, multiselectOptionSelectedColor?: Nullable<string>, textColor?: string, textScale?: number, resources?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Resource> */>, shareables?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */>, tips?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */>, pages?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */>): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
287
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
370
|
+
static createTestManifest(config?: org.cru.godtools.shared.tool.parser.ParserConfig, type?: org.cru.godtools.shared.tool.parser.model.Manifest.Type, code?: Nullable<string>, locale?: Nullable<string>, primaryColor?: string, primaryTextColor?: string, navBarColor?: Nullable<string>, navBarControlColor?: Nullable<string>, backgroundColor?: string, cardBackgroundColor?: Nullable<string>, categoryLabelColor?: Nullable<string>, pageControlColor?: string, multiselectOptionBackgroundColor?: Nullable<string>, multiselectOptionSelectedColor?: Nullable<string>, textColor?: string, textScale?: number, resources?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Resource> */>, shareables?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */>, tips?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */>, pages?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */>): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
288
371
|
get hasTips(): boolean;
|
|
289
372
|
findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
373
|
+
get dismissListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
290
374
|
get pages(): Array<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
291
|
-
get jsResources(): Array<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
292
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
293
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
294
375
|
}
|
|
295
376
|
namespace Manifest {
|
|
296
377
|
abstract class Type {
|
|
@@ -323,24 +404,30 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
323
404
|
}
|
|
324
405
|
}
|
|
325
406
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
326
|
-
|
|
407
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
408
|
+
class Paragraph extends org.cru.godtools.shared.tool.parser.model.Content implements org.cru.godtools.shared.tool.parser.model.Parent {
|
|
409
|
+
private constructor();
|
|
410
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
411
|
+
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
412
|
+
static createTestParagraph(parent?: any/* org.cru.godtools.shared.tool.parser.model.Base */, content?: (p0: org.cru.godtools.shared.tool.parser.model.Paragraph) => any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */): org.cru.godtools.shared.tool.parser.model.Paragraph;
|
|
413
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
414
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
418
|
+
interface Parent /* extends org.cru.godtools.shared.tool.parser.model.Base */ {
|
|
327
419
|
readonly _content: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
328
420
|
readonly content: Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
329
|
-
readonly manifest: org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
330
|
-
readonly stylesParent: Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
331
421
|
readonly __doNotUseOrImplementIt: {
|
|
332
422
|
readonly "org.cru.godtools.shared.tool.parser.model.Parent": unique symbol;
|
|
333
|
-
}
|
|
423
|
+
};
|
|
334
424
|
}
|
|
335
425
|
}
|
|
336
426
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
337
|
-
class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
427
|
+
class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
338
428
|
private constructor();
|
|
339
429
|
get name(): Nullable<string>;
|
|
340
430
|
get localName(): Nullable<string>;
|
|
341
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
342
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
343
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
344
431
|
}
|
|
345
432
|
}
|
|
346
433
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
@@ -348,15 +435,17 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
348
435
|
class Text extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
349
436
|
private constructor();
|
|
350
437
|
get text(): Nullable<string>;
|
|
351
|
-
get
|
|
438
|
+
get textAlign(): org.cru.godtools.shared.tool.parser.model.Text.Align;
|
|
439
|
+
get textColor(): string;
|
|
440
|
+
get textScale(): number;
|
|
441
|
+
get _textStyles(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */;
|
|
352
442
|
get minimumLines(): number;
|
|
353
443
|
get startImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
354
444
|
get startImageSize(): number;
|
|
355
445
|
get endImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
356
446
|
get endImageSize(): number;
|
|
357
|
-
static createTestText(parent?: org.cru.godtools.shared.tool.parser.model.Base
|
|
358
|
-
get
|
|
359
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
447
|
+
static createTestText(parent?: any/* org.cru.godtools.shared.tool.parser.model.Base */, text?: Nullable<string>, textScale?: number, textColor?: Nullable<string>, textAlign?: Nullable<org.cru.godtools.shared.tool.parser.model.Text.Align>, textStyles?: any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */, startImage?: Nullable<string>, endImage?: Nullable<string>): org.cru.godtools.shared.tool.parser.model.Text;
|
|
448
|
+
get textStyles(): Array<org.cru.godtools.shared.tool.parser.model.Text.Style>;
|
|
360
449
|
}
|
|
361
450
|
namespace Text {
|
|
362
451
|
abstract class Align {
|
|
@@ -399,60 +488,90 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
399
488
|
}
|
|
400
489
|
}
|
|
401
490
|
}
|
|
491
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
492
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
493
|
+
class Video extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
494
|
+
private constructor();
|
|
495
|
+
get provider(): org.cru.godtools.shared.tool.parser.model.Video.Provider;
|
|
496
|
+
get videoId(): Nullable<string>;
|
|
497
|
+
get aspectRatio(): org.cru.godtools.shared.tool.parser.model.AspectRatio;
|
|
498
|
+
get gravity(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
499
|
+
get width(): org.cru.godtools.shared.tool.parser.model.Dimension;
|
|
500
|
+
}
|
|
501
|
+
namespace Video {
|
|
502
|
+
abstract class Provider {
|
|
503
|
+
private constructor();
|
|
504
|
+
static get YOUTUBE(): org.cru.godtools.shared.tool.parser.model.Video.Provider & {
|
|
505
|
+
get name(): "YOUTUBE";
|
|
506
|
+
get ordinal(): 0;
|
|
507
|
+
};
|
|
508
|
+
static get UNKNOWN(): org.cru.godtools.shared.tool.parser.model.Video.Provider & {
|
|
509
|
+
get name(): "UNKNOWN";
|
|
510
|
+
get ordinal(): 1;
|
|
511
|
+
};
|
|
512
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Video.Provider>;
|
|
513
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Video.Provider;
|
|
514
|
+
get name(): "YOUTUBE" | "UNKNOWN";
|
|
515
|
+
get ordinal(): 0 | 1;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
402
519
|
export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
403
|
-
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
520
|
+
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
404
521
|
get id(): string;
|
|
405
522
|
get position(): number;
|
|
406
523
|
get parentPage(): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
407
524
|
get isHidden(): boolean;
|
|
408
|
-
get
|
|
409
|
-
get
|
|
525
|
+
get _listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
526
|
+
get _dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
410
527
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
411
528
|
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
412
|
-
get
|
|
413
|
-
get
|
|
529
|
+
get dismissListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
530
|
+
get listeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
414
531
|
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
415
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.
|
|
532
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model.tips {
|
|
536
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
537
|
+
class InlineTip extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
538
|
+
private constructor();
|
|
539
|
+
get id(): Nullable<string>;
|
|
540
|
+
get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
541
|
+
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
542
|
+
static createTestInlineTip(parent: any/* org.cru.godtools.shared.tool.parser.model.Base */, id?: Nullable<string>): org.cru.godtools.shared.tool.parser.model.tips.InlineTip;
|
|
416
543
|
}
|
|
417
544
|
}
|
|
418
545
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
419
|
-
class CallToAction /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
546
|
+
class CallToAction /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
420
547
|
private constructor();
|
|
421
548
|
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
422
|
-
get tip(): Nullable<
|
|
549
|
+
get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
423
550
|
static createTestCallToAction(page?: org.cru.godtools.shared.tool.parser.model.tract.TractPage, label?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.CallToAction) => org.cru.godtools.shared.tool.parser.model.Text>, controlColor?: Nullable<string>, tip?: Nullable<string>): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
|
|
424
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
425
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
426
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
427
551
|
}
|
|
428
552
|
}
|
|
429
553
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
430
|
-
class Header /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
554
|
+
class Header /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
431
555
|
private constructor();
|
|
432
556
|
get number(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
433
557
|
get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
434
|
-
get tip(): Nullable<
|
|
435
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
436
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
437
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
558
|
+
get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
438
559
|
}
|
|
439
560
|
}
|
|
440
561
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
441
|
-
class Hero /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
562
|
+
class Hero /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents {
|
|
442
563
|
private constructor();
|
|
443
564
|
get heading(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
444
565
|
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
445
|
-
static createTestHero(page?: org.cru.godtools.shared.tool.parser.model.tract.TractPage, analyticsEvents?: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */, heading?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Base) => Nullable<org.cru.godtools.shared.tool.parser.model.Text>>): org.cru.godtools.shared.tool.parser.model.tract.Hero;
|
|
566
|
+
static createTestHero(page?: org.cru.godtools.shared.tool.parser.model.tract.TractPage, analyticsEvents?: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */, heading?: Nullable<(p0: any/* org.cru.godtools.shared.tool.parser.model.Base */) => Nullable<org.cru.godtools.shared.tool.parser.model.Text>>): org.cru.godtools.shared.tool.parser.model.tract.Hero;
|
|
446
567
|
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
447
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
448
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
449
568
|
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
450
569
|
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
451
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.
|
|
570
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
452
571
|
}
|
|
453
572
|
}
|
|
454
573
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
455
|
-
class Modal /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
574
|
+
class Modal /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Parent/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
456
575
|
private constructor();
|
|
457
576
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
458
577
|
get id(): string;
|
|
@@ -460,10 +579,8 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
460
579
|
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
461
580
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
462
581
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
463
|
-
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
464
|
-
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
465
582
|
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
466
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.
|
|
583
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
467
584
|
}
|
|
468
585
|
}
|
|
469
586
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
@@ -473,19 +590,19 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
473
590
|
get isLastPage(): boolean;
|
|
474
591
|
get header(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header>;
|
|
475
592
|
get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
|
|
476
|
-
get
|
|
593
|
+
get _modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
|
|
477
594
|
get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
|
|
478
595
|
static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<string>, backgroundImageGravity?: org.cru.godtools.shared.tool.parser.model.Gravity, backgroundImageScaleType?: any/* org.cru.godtools.shared.tool.parser.model.ImageScaleType */, textColor?: Nullable<string>, textScale?: number, cardBackgroundColor?: Nullable<string>, cardTextColor?: Nullable<string>, cards?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.TractPage) => Nullable<any>/* Nullable<kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card>> */>, callToAction?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.TractPage) => Nullable<org.cru.godtools.shared.tool.parser.model.tract.CallToAction>>): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
479
596
|
findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
|
|
480
|
-
get
|
|
597
|
+
get _cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
481
598
|
get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
482
599
|
get cardTextColor(): string;
|
|
483
|
-
get
|
|
484
|
-
get
|
|
600
|
+
get cards(): Array<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card>;
|
|
601
|
+
get modals(): Array<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
|
|
485
602
|
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
486
603
|
}
|
|
487
604
|
namespace TractPage {
|
|
488
|
-
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.
|
|
605
|
+
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
489
606
|
private constructor();
|
|
490
607
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
491
608
|
get id(): string;
|
|
@@ -493,18 +610,18 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
493
610
|
get visiblePosition(): Nullable<number>;
|
|
494
611
|
get isLastVisibleCard(): boolean;
|
|
495
612
|
get isHidden(): boolean;
|
|
496
|
-
get
|
|
497
|
-
get
|
|
613
|
+
get _listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
614
|
+
get _dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
498
615
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
499
616
|
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
500
617
|
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
501
618
|
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
502
619
|
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
503
|
-
get
|
|
504
|
-
get
|
|
620
|
+
get dismissListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
621
|
+
get listeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
|
|
505
622
|
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
506
623
|
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
507
|
-
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.
|
|
624
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
508
625
|
}
|
|
509
626
|
}
|
|
510
627
|
}
|