@cruglobal/godtools-shared 0.9.0-PR412-SNAPSHOT.1180 → 0.9.0-PR424-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/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 +266 -14
- package/kotlin-mpp-godtools-tool-parser-parser.js +2202 -1316
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/package.json +1 -1
|
@@ -54,6 +54,126 @@ 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 */ implements org.cru.godtools.shared.tool.parser.model.Base {
|
|
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?: 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
|
+
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
|
+
}
|
|
72
|
+
namespace AnalyticsEvent {
|
|
73
|
+
abstract class System {
|
|
74
|
+
private constructor();
|
|
75
|
+
static get ADOBE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
76
|
+
get name(): "ADOBE";
|
|
77
|
+
get ordinal(): 0;
|
|
78
|
+
};
|
|
79
|
+
static get APPSFLYER(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
80
|
+
get name(): "APPSFLYER";
|
|
81
|
+
get ordinal(): 1;
|
|
82
|
+
};
|
|
83
|
+
static get FACEBOOK(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
84
|
+
get name(): "FACEBOOK";
|
|
85
|
+
get ordinal(): 2;
|
|
86
|
+
};
|
|
87
|
+
static get FIREBASE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
88
|
+
get name(): "FIREBASE";
|
|
89
|
+
get ordinal(): 3;
|
|
90
|
+
};
|
|
91
|
+
static get SNOWPLOW(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
92
|
+
get name(): "SNOWPLOW";
|
|
93
|
+
get ordinal(): 4;
|
|
94
|
+
};
|
|
95
|
+
static get USER(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System & {
|
|
96
|
+
get name(): "USER";
|
|
97
|
+
get ordinal(): 5;
|
|
98
|
+
};
|
|
99
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System>;
|
|
100
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.System;
|
|
101
|
+
get name(): "ADOBE" | "APPSFLYER" | "FACEBOOK" | "FIREBASE" | "SNOWPLOW" | "USER";
|
|
102
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
103
|
+
}
|
|
104
|
+
abstract class Trigger {
|
|
105
|
+
private constructor();
|
|
106
|
+
static get SELECTED(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
107
|
+
get name(): "SELECTED";
|
|
108
|
+
get ordinal(): 0;
|
|
109
|
+
};
|
|
110
|
+
static get VISIBLE(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
111
|
+
get name(): "VISIBLE";
|
|
112
|
+
get ordinal(): 1;
|
|
113
|
+
};
|
|
114
|
+
static get HIDDEN(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
115
|
+
get name(): "HIDDEN";
|
|
116
|
+
get ordinal(): 2;
|
|
117
|
+
};
|
|
118
|
+
static get CLICKED(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
119
|
+
get name(): "CLICKED";
|
|
120
|
+
get ordinal(): 3;
|
|
121
|
+
};
|
|
122
|
+
static get DEFAULT(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
123
|
+
get name(): "DEFAULT";
|
|
124
|
+
get ordinal(): 4;
|
|
125
|
+
};
|
|
126
|
+
static get UNKNOWN(): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger & {
|
|
127
|
+
get name(): "UNKNOWN";
|
|
128
|
+
get ordinal(): 5;
|
|
129
|
+
};
|
|
130
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger>;
|
|
131
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger;
|
|
132
|
+
get name(): "SELECTED" | "VISIBLE" | "HIDDEN" | "CLICKED" | "DEFAULT" | "UNKNOWN";
|
|
133
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
138
|
+
interface Base {
|
|
139
|
+
readonly manifest: org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
140
|
+
readonly stylesParent: Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
141
|
+
readonly __doNotUseOrImplementIt: {
|
|
142
|
+
readonly "org.cru.godtools.shared.tool.parser.model.Base": unique symbol;
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
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.Base/*, org.cru.godtools.shared.tool.parser.model.Visibility */ {
|
|
148
|
+
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
|
+
}
|
|
153
|
+
}
|
|
154
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
155
|
+
abstract class Dimension {
|
|
156
|
+
protected constructor();
|
|
157
|
+
}
|
|
158
|
+
namespace Dimension {
|
|
159
|
+
class Percent extends org.cru.godtools.shared.tool.parser.model.Dimension {
|
|
160
|
+
private constructor();
|
|
161
|
+
get value(): number;
|
|
162
|
+
copy(value?: number): org.cru.godtools.shared.tool.parser.model.Dimension.Percent;
|
|
163
|
+
toString(): string;
|
|
164
|
+
hashCode(): number;
|
|
165
|
+
equals(other: Nullable<any>): boolean;
|
|
166
|
+
}
|
|
167
|
+
class Pixels extends org.cru.godtools.shared.tool.parser.model.Dimension {
|
|
168
|
+
private constructor();
|
|
169
|
+
get value(): number;
|
|
170
|
+
copy(value?: number): org.cru.godtools.shared.tool.parser.model.Dimension.Pixels;
|
|
171
|
+
toString(): string;
|
|
172
|
+
hashCode(): number;
|
|
173
|
+
equals(other: Nullable<any>): boolean;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
57
177
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
58
178
|
class EventId {
|
|
59
179
|
private constructor();
|
|
@@ -69,7 +189,86 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
69
189
|
}
|
|
70
190
|
}
|
|
71
191
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
72
|
-
class
|
|
192
|
+
class Gravity {
|
|
193
|
+
constructor(horizontal: org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal, vertical: org.cru.godtools.shared.tool.parser.model.Gravity.Vertical);
|
|
194
|
+
get horizontal(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
195
|
+
get vertical(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical;
|
|
196
|
+
get isStart(): boolean;
|
|
197
|
+
get isEnd(): boolean;
|
|
198
|
+
get isCenterX(): boolean;
|
|
199
|
+
get isTop(): boolean;
|
|
200
|
+
get isBottom(): boolean;
|
|
201
|
+
get isCenterY(): boolean;
|
|
202
|
+
get isCenter(): boolean;
|
|
203
|
+
static get Companion(): {
|
|
204
|
+
get CENTER(): org.cru.godtools.shared.tool.parser.model.Gravity;
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
namespace Gravity {
|
|
208
|
+
abstract class Horizontal {
|
|
209
|
+
private constructor();
|
|
210
|
+
static get START(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal & {
|
|
211
|
+
get name(): "START";
|
|
212
|
+
get ordinal(): 0;
|
|
213
|
+
};
|
|
214
|
+
static get CENTER(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal & {
|
|
215
|
+
get name(): "CENTER";
|
|
216
|
+
get ordinal(): 1;
|
|
217
|
+
};
|
|
218
|
+
static get END(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal & {
|
|
219
|
+
get name(): "END";
|
|
220
|
+
get ordinal(): 2;
|
|
221
|
+
};
|
|
222
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal>;
|
|
223
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
224
|
+
get name(): "START" | "CENTER" | "END";
|
|
225
|
+
get ordinal(): 0 | 1 | 2;
|
|
226
|
+
}
|
|
227
|
+
abstract class Vertical {
|
|
228
|
+
private constructor();
|
|
229
|
+
static get TOP(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical & {
|
|
230
|
+
get name(): "TOP";
|
|
231
|
+
get ordinal(): 0;
|
|
232
|
+
};
|
|
233
|
+
static get CENTER(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical & {
|
|
234
|
+
get name(): "CENTER";
|
|
235
|
+
get ordinal(): 1;
|
|
236
|
+
};
|
|
237
|
+
static get BOTTOM(): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical & {
|
|
238
|
+
get name(): "BOTTOM";
|
|
239
|
+
get ordinal(): 2;
|
|
240
|
+
};
|
|
241
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Gravity.Vertical>;
|
|
242
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Gravity.Vertical;
|
|
243
|
+
get name(): "TOP" | "CENTER" | "BOTTOM";
|
|
244
|
+
get ordinal(): 0 | 1 | 2;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
249
|
+
interface HasAnalyticsEvents {
|
|
250
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
251
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
252
|
+
readonly __doNotUseOrImplementIt: {
|
|
253
|
+
readonly "org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents": unique symbol;
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
258
|
+
/* @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.Base/*, org.cru.godtools.shared.tool.parser.model.Clickable */ {
|
|
260
|
+
private constructor();
|
|
261
|
+
get resource(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
262
|
+
get gravity(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
|
|
263
|
+
get width(): org.cru.godtools.shared.tool.parser.model.Dimension;
|
|
264
|
+
static createTestImage(parent?: 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;
|
|
265
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
266
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
267
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
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.Base/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
73
272
|
private constructor();
|
|
74
273
|
get code(): Nullable<string>;
|
|
75
274
|
get locale(): Nullable<string>;
|
|
@@ -84,9 +283,12 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
84
283
|
get shareables(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */;
|
|
85
284
|
get relatedFiles(): any/* kotlin.collections.Set<string> */;
|
|
86
285
|
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;
|
|
286
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
87
287
|
get hasTips(): boolean;
|
|
88
288
|
findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
89
289
|
get pages(): Array<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
290
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
291
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
90
292
|
}
|
|
91
293
|
namespace Manifest {
|
|
92
294
|
abstract class Type {
|
|
@@ -119,14 +321,29 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
119
321
|
}
|
|
120
322
|
}
|
|
121
323
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
122
|
-
|
|
324
|
+
interface Parent extends org.cru.godtools.shared.tool.parser.model.Base {
|
|
325
|
+
readonly _content: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
326
|
+
readonly content: Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
327
|
+
readonly manifest: org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
328
|
+
readonly stylesParent: Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
329
|
+
readonly __doNotUseOrImplementIt: {
|
|
330
|
+
readonly "org.cru.godtools.shared.tool.parser.model.Parent": unique symbol;
|
|
331
|
+
} & org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
335
|
+
class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base {
|
|
123
336
|
private constructor();
|
|
124
337
|
get name(): Nullable<string>;
|
|
125
338
|
get localName(): Nullable<string>;
|
|
339
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
340
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
341
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
126
342
|
}
|
|
127
343
|
}
|
|
128
344
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
129
|
-
class
|
|
345
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
346
|
+
class Text extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
130
347
|
private constructor();
|
|
131
348
|
get text(): Nullable<string>;
|
|
132
349
|
get textStyles(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */;
|
|
@@ -135,7 +352,9 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
135
352
|
get startImageSize(): number;
|
|
136
353
|
get endImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
137
354
|
get endImageSize(): number;
|
|
138
|
-
static createTestText(parent?:
|
|
355
|
+
static createTestText(parent?: 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;
|
|
356
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
357
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
139
358
|
}
|
|
140
359
|
namespace Text {
|
|
141
360
|
abstract class Align {
|
|
@@ -179,7 +398,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
179
398
|
}
|
|
180
399
|
}
|
|
181
400
|
export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
182
|
-
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
401
|
+
abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
183
402
|
get id(): string;
|
|
184
403
|
get position(): number;
|
|
185
404
|
get parentPage(): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
@@ -187,39 +406,62 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.page {
|
|
|
187
406
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
188
407
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
189
408
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
409
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
410
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
411
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
412
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
413
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
190
414
|
}
|
|
191
415
|
}
|
|
192
416
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
193
|
-
class CallToAction /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
|
|
417
|
+
class CallToAction /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base {
|
|
194
418
|
private constructor();
|
|
195
419
|
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
196
|
-
get tip(): Nullable<
|
|
420
|
+
get tip(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
197
421
|
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;
|
|
422
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
423
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
424
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
198
425
|
}
|
|
199
426
|
}
|
|
200
427
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
201
|
-
class Header /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
428
|
+
class Header /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
202
429
|
private constructor();
|
|
203
430
|
get number(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
204
431
|
get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
205
|
-
get tip(): Nullable<
|
|
432
|
+
get tip(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
433
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
434
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
435
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"];
|
|
206
436
|
}
|
|
207
437
|
}
|
|
208
438
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
209
|
-
class Hero /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
439
|
+
class Hero /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base, org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents {
|
|
210
440
|
private constructor();
|
|
211
441
|
get heading(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
212
|
-
|
|
442
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
443
|
+
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;
|
|
444
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
445
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
446
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
447
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
448
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
449
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
213
450
|
}
|
|
214
451
|
}
|
|
215
452
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
216
|
-
class Modal /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
453
|
+
class Modal /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base, org.cru.godtools.shared.tool.parser.model.Parent/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
217
454
|
private constructor();
|
|
218
455
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
219
456
|
get id(): string;
|
|
220
457
|
get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
458
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
221
459
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
222
460
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
461
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
462
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
463
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
464
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
223
465
|
}
|
|
224
466
|
}
|
|
225
467
|
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
@@ -231,14 +473,17 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
231
473
|
get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
|
|
232
474
|
get modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
|
|
233
475
|
get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
|
|
234
|
-
static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<string>, backgroundImageGravity?:
|
|
476
|
+
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;
|
|
235
477
|
findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
|
|
236
478
|
get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
237
479
|
get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
238
480
|
get cardTextColor(): string;
|
|
481
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
482
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
483
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
239
484
|
}
|
|
240
485
|
namespace TractPage {
|
|
241
|
-
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */
|
|
486
|
+
class Card /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.Base, org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
242
487
|
private constructor();
|
|
243
488
|
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
244
489
|
get id(): string;
|
|
@@ -250,7 +495,14 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
250
495
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
251
496
|
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
252
497
|
get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
|
|
498
|
+
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
253
499
|
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
500
|
+
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
501
|
+
get stylesParent(): Nullable<org.cru.godtools.shared.tool.parser.model.Base>/* Nullable<org.cru.godtools.shared.tool.parser.model.Styles> */;
|
|
502
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
503
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
504
|
+
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
505
|
+
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Base["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
254
506
|
}
|
|
255
507
|
}
|
|
256
508
|
}
|