@cruglobal/godtools-shared 0.9.0-PR407-SNAPSHOT.1161 → 0.9.0-PR423-SNAPSHOT.1189
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/Napier-napier-js-ir.js +26 -26
- package/android-gto-support-gto-support-fluidsonic-locale.js +8 -15
- package/android-gto-support-gto-support-fluidsonic-locale.js.map +1 -1
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3013 -2951
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
- package/colormath-root-colormath-js-ir.js +473 -473
- package/fluid-locale-js-ir.js +125 -132
- package/fluid-locale-js-ir.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +97 -97
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +304 -11
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +647 -322
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-parser.js +2855 -1749
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +90 -90
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +244 -72
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -2
|
@@ -54,6 +54,111 @@ export declare namespace org.cru.godtools.shared.tool.parser {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
58
|
+
class AnalyticsEvent /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
59
|
+
private constructor();
|
|
60
|
+
get action(): string;
|
|
61
|
+
get delay(): number;
|
|
62
|
+
get systems(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System> */;
|
|
63
|
+
get attributes(): any/* kotlin.collections.Map<string, string> */;
|
|
64
|
+
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
|
+
isForSystem(system: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System): boolean;
|
|
66
|
+
shouldTrigger(state: org.cru.godtools.shared.tool.state.State): boolean;
|
|
67
|
+
recordTriggered(state: org.cru.godtools.shared.tool.state.State): void;
|
|
68
|
+
}
|
|
69
|
+
namespace AnalyticsEvent {
|
|
70
|
+
abstract class System {
|
|
71
|
+
private constructor();
|
|
72
|
+
static get ADOBE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
73
|
+
get name(): "ADOBE";
|
|
74
|
+
get ordinal(): 0;
|
|
75
|
+
};
|
|
76
|
+
static get APPSFLYER(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
77
|
+
get name(): "APPSFLYER";
|
|
78
|
+
get ordinal(): 1;
|
|
79
|
+
};
|
|
80
|
+
static get FACEBOOK(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
81
|
+
get name(): "FACEBOOK";
|
|
82
|
+
get ordinal(): 2;
|
|
83
|
+
};
|
|
84
|
+
static get FIREBASE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
85
|
+
get name(): "FIREBASE";
|
|
86
|
+
get ordinal(): 3;
|
|
87
|
+
};
|
|
88
|
+
static get SNOWPLOW(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
89
|
+
get name(): "SNOWPLOW";
|
|
90
|
+
get ordinal(): 4;
|
|
91
|
+
};
|
|
92
|
+
static get USER(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
93
|
+
get name(): "USER";
|
|
94
|
+
get ordinal(): 5;
|
|
95
|
+
};
|
|
96
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System>;
|
|
97
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System;
|
|
98
|
+
get name(): "ADOBE" | "APPSFLYER" | "FACEBOOK" | "FIREBASE" | "SNOWPLOW" | "USER";
|
|
99
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
100
|
+
}
|
|
101
|
+
abstract class Trigger {
|
|
102
|
+
private constructor();
|
|
103
|
+
static get SELECTED(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
104
|
+
get name(): "SELECTED";
|
|
105
|
+
get ordinal(): 0;
|
|
106
|
+
};
|
|
107
|
+
static get VISIBLE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
108
|
+
get name(): "VISIBLE";
|
|
109
|
+
get ordinal(): 1;
|
|
110
|
+
};
|
|
111
|
+
static get HIDDEN(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
112
|
+
get name(): "HIDDEN";
|
|
113
|
+
get ordinal(): 2;
|
|
114
|
+
};
|
|
115
|
+
static get CLICKED(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
116
|
+
get name(): "CLICKED";
|
|
117
|
+
get ordinal(): 3;
|
|
118
|
+
};
|
|
119
|
+
static get DEFAULT(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
120
|
+
get name(): "DEFAULT";
|
|
121
|
+
get ordinal(): 4;
|
|
122
|
+
};
|
|
123
|
+
static get UNKNOWN(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
124
|
+
get name(): "UNKNOWN";
|
|
125
|
+
get ordinal(): 5;
|
|
126
|
+
};
|
|
127
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger>;
|
|
128
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger;
|
|
129
|
+
get name(): "SELECTED" | "VISIBLE" | "HIDDEN" | "CLICKED" | "DEFAULT" | "UNKNOWN";
|
|
130
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
135
|
+
abstract class Content /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Visibility */ {
|
|
136
|
+
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
140
|
+
abstract class Dimension {
|
|
141
|
+
protected constructor();
|
|
142
|
+
}
|
|
143
|
+
namespace Dimension {
|
|
144
|
+
class Percent extends org.cru.godtools.shared.tool.parser.model.Dimension {
|
|
145
|
+
private constructor();
|
|
146
|
+
get value(): number;
|
|
147
|
+
copy(value?: number): org.cru.godtools.shared.tool.parser.model.Dimension.Percent;
|
|
148
|
+
toString(): string;
|
|
149
|
+
hashCode(): number;
|
|
150
|
+
equals(other: Nullable<any>): boolean;
|
|
151
|
+
}
|
|
152
|
+
class Pixels extends org.cru.godtools.shared.tool.parser.model.Dimension {
|
|
153
|
+
private constructor();
|
|
154
|
+
get value(): number;
|
|
155
|
+
copy(value?: number): org.cru.godtools.shared.tool.parser.model.Dimension.Pixels;
|
|
156
|
+
toString(): string;
|
|
157
|
+
hashCode(): number;
|
|
158
|
+
equals(other: Nullable<any>): boolean;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
57
162
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
58
163
|
class EventId {
|
|
59
164
|
private constructor();
|
|
@@ -68,11 +173,87 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
68
173
|
};
|
|
69
174
|
}
|
|
70
175
|
}
|
|
176
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
177
|
+
class Gravity {
|
|
178
|
+
constructor(horizontal: org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal, vertical: org.cru.godtools.shared.tool.parser.model.Gravity.Vertical);
|
|
179
|
+
get horizontal(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
180
|
+
get vertical(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical;
|
|
181
|
+
get isStart(): boolean;
|
|
182
|
+
get isEnd(): boolean;
|
|
183
|
+
get isCenterX(): boolean;
|
|
184
|
+
get isTop(): boolean;
|
|
185
|
+
get isBottom(): boolean;
|
|
186
|
+
get isCenterY(): boolean;
|
|
187
|
+
get isCenter(): boolean;
|
|
188
|
+
static get Companion(): {
|
|
189
|
+
get CENTER(): org.cru.godtools.shared.tool.parser.model.Gravity;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
namespace Gravity {
|
|
193
|
+
abstract class Horizontal {
|
|
194
|
+
private constructor();
|
|
195
|
+
static get START(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal & {
|
|
196
|
+
get name(): "START";
|
|
197
|
+
get ordinal(): 0;
|
|
198
|
+
};
|
|
199
|
+
static get CENTER(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal & {
|
|
200
|
+
get name(): "CENTER";
|
|
201
|
+
get ordinal(): 1;
|
|
202
|
+
};
|
|
203
|
+
static get END(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal & {
|
|
204
|
+
get name(): "END";
|
|
205
|
+
get ordinal(): 2;
|
|
206
|
+
};
|
|
207
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal>;
|
|
208
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
209
|
+
get name(): "START" | "CENTER" | "END";
|
|
210
|
+
get ordinal(): 0 | 1 | 2;
|
|
211
|
+
}
|
|
212
|
+
abstract class Vertical {
|
|
213
|
+
private constructor();
|
|
214
|
+
static get TOP(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical & {
|
|
215
|
+
get name(): "TOP";
|
|
216
|
+
get ordinal(): 0;
|
|
217
|
+
};
|
|
218
|
+
static get CENTER(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical & {
|
|
219
|
+
get name(): "CENTER";
|
|
220
|
+
get ordinal(): 1;
|
|
221
|
+
};
|
|
222
|
+
static get BOTTOM(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical & {
|
|
223
|
+
get name(): "BOTTOM";
|
|
224
|
+
get ordinal(): 2;
|
|
225
|
+
};
|
|
226
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Gravity.Vertical>;
|
|
227
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical;
|
|
228
|
+
get name(): "TOP" | "CENTER" | "BOTTOM";
|
|
229
|
+
get ordinal(): 0 | 1 | 2;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
234
|
+
interface HasAnalyticsEvents {
|
|
235
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
236
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
237
|
+
readonly __doNotUseOrImplementIt: {
|
|
238
|
+
readonly "org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents": unique symbol;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
243
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
244
|
+
class Image extends org.cru.godtools.shared.tool.parser.model.Content /* implements org.cru.godtools.shared.tool.parser.model.Clickable */ {
|
|
245
|
+
private constructor();
|
|
246
|
+
get resource(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
247
|
+
get gravity(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
248
|
+
get width(): org.cru.godtools.shared.tool.parser.model.Dimension;
|
|
249
|
+
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;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
71
252
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
72
253
|
class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
73
254
|
private constructor();
|
|
74
255
|
get code(): Nullable<string>;
|
|
75
|
-
get locale(): Nullable<
|
|
256
|
+
get locale(): Nullable<string>;
|
|
76
257
|
get type(): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
|
|
77
258
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
78
259
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
@@ -83,7 +264,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
83
264
|
set _pages(value: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */);
|
|
84
265
|
get shareables(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */;
|
|
85
266
|
get relatedFiles(): any/* kotlin.collections.Set<string> */;
|
|
86
|
-
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<
|
|
267
|
+
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;
|
|
87
268
|
get hasTips(): boolean;
|
|
88
269
|
findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
89
270
|
get pages(): Array<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
@@ -118,6 +299,15 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
118
299
|
}
|
|
119
300
|
}
|
|
120
301
|
}
|
|
302
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
303
|
+
interface Parent /* extends org.cru.godtools.shared.tool.parser.model.Base */ {
|
|
304
|
+
readonly _content: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
305
|
+
readonly content: Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
306
|
+
readonly __doNotUseOrImplementIt: {
|
|
307
|
+
readonly "org.cru.godtools.shared.tool.parser.model.Parent": unique symbol;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
}
|
|
121
311
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
122
312
|
class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
123
313
|
private constructor();
|
|
@@ -125,8 +315,62 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
125
315
|
get localName(): Nullable<string>;
|
|
126
316
|
}
|
|
127
317
|
}
|
|
318
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
319
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
320
|
+
class Text extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
321
|
+
private constructor();
|
|
322
|
+
get text(): Nullable<string>;
|
|
323
|
+
get textStyles(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */;
|
|
324
|
+
get minimumLines(): number;
|
|
325
|
+
get startImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
326
|
+
get startImageSize(): number;
|
|
327
|
+
get endImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
328
|
+
get endImageSize(): number;
|
|
329
|
+
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;
|
|
330
|
+
}
|
|
331
|
+
namespace Text {
|
|
332
|
+
abstract class Align {
|
|
333
|
+
private constructor();
|
|
334
|
+
static get START(): org.cru.godtools.shared.tool.parser.model.Text.Align & {
|
|
335
|
+
get name(): "START";
|
|
336
|
+
get ordinal(): 0;
|
|
337
|
+
};
|
|
338
|
+
static get CENTER(): org.cru.godtools.shared.tool.parser.model.Text.Align & {
|
|
339
|
+
get name(): "CENTER";
|
|
340
|
+
get ordinal(): 1;
|
|
341
|
+
};
|
|
342
|
+
static get END(): org.cru.godtools.shared.tool.parser.model.Text.Align & {
|
|
343
|
+
get name(): "END";
|
|
344
|
+
get ordinal(): 2;
|
|
345
|
+
};
|
|
346
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Text.Align>;
|
|
347
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Text.Align;
|
|
348
|
+
get name(): "START" | "CENTER" | "END";
|
|
349
|
+
get ordinal(): 0 | 1 | 2;
|
|
350
|
+
}
|
|
351
|
+
abstract class Style {
|
|
352
|
+
private constructor();
|
|
353
|
+
static get BOLD(): org.cru.godtools.shared.tool.parser.model.Text.Style & {
|
|
354
|
+
get name(): "BOLD";
|
|
355
|
+
get ordinal(): 0;
|
|
356
|
+
};
|
|
357
|
+
static get ITALIC(): org.cru.godtools.shared.tool.parser.model.Text.Style & {
|
|
358
|
+
get name(): "ITALIC";
|
|
359
|
+
get ordinal(): 1;
|
|
360
|
+
};
|
|
361
|
+
static get UNDERLINE(): org.cru.godtools.shared.tool.parser.model.Text.Style & {
|
|
362
|
+
get name(): "UNDERLINE";
|
|
363
|
+
get ordinal(): 2;
|
|
364
|
+
};
|
|
365
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Text.Style>;
|
|
366
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Text.Style;
|
|
367
|
+
get name(): "BOLD" | "ITALIC" | "UNDERLINE";
|
|
368
|
+
get ordinal(): 0 | 1 | 2;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
128
372
|
export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
129
|
-
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
373
|
+
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 */ {
|
|
130
374
|
get id(): string;
|
|
131
375
|
get position(): number;
|
|
132
376
|
get parentPage(): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
@@ -134,6 +378,50 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
|
134
378
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
135
379
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
136
380
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
381
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
382
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
383
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
387
|
+
class CallToAction /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
388
|
+
private constructor();
|
|
389
|
+
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
390
|
+
get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
391
|
+
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;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
395
|
+
class Header /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
396
|
+
private constructor();
|
|
397
|
+
get number(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
398
|
+
get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
399
|
+
get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
403
|
+
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 {
|
|
404
|
+
private constructor();
|
|
405
|
+
get heading(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
406
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
407
|
+
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;
|
|
408
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
409
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
410
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
411
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
415
|
+
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 */ {
|
|
416
|
+
private constructor();
|
|
417
|
+
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
418
|
+
get id(): string;
|
|
419
|
+
get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
420
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
421
|
+
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
422
|
+
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
423
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
424
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
137
425
|
}
|
|
138
426
|
}
|
|
139
427
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
@@ -141,18 +429,19 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
141
429
|
class TractPage extends org.cru.godtools.shared.tool.parser.model.page.Page {
|
|
142
430
|
private constructor();
|
|
143
431
|
get isLastPage(): boolean;
|
|
144
|
-
get header(): Nullable<
|
|
145
|
-
get hero(): Nullable<
|
|
432
|
+
get header(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header>;
|
|
433
|
+
get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
|
|
146
434
|
get modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
|
|
147
|
-
get callToAction():
|
|
148
|
-
static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<string>, backgroundImageGravity?:
|
|
149
|
-
findModal(id: Nullable<string>): Nullable<
|
|
435
|
+
get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
|
|
436
|
+
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;
|
|
437
|
+
findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
|
|
150
438
|
get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
151
439
|
get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
152
440
|
get cardTextColor(): string;
|
|
441
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
153
442
|
}
|
|
154
443
|
namespace TractPage {
|
|
155
|
-
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
444
|
+
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 */ {
|
|
156
445
|
private constructor();
|
|
157
446
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
158
447
|
get id(): string;
|
|
@@ -162,10 +451,14 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
162
451
|
get isHidden(): boolean;
|
|
163
452
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
164
453
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
165
|
-
get analyticsEvents(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
166
454
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
167
|
-
get label(): Nullable<
|
|
455
|
+
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
456
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
168
457
|
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
458
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
459
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
460
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
461
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
169
462
|
}
|
|
170
463
|
}
|
|
171
464
|
}
|