@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1179 → 0.9.0-SNAPSHOT.1186
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.
|
@@ -131,6 +131,34 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
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
|
+
}
|
|
134
162
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
135
163
|
class EventId {
|
|
136
164
|
private constructor();
|
|
@@ -145,6 +173,63 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
145
173
|
};
|
|
146
174
|
}
|
|
147
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
|
+
}
|
|
148
233
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
149
234
|
interface HasAnalyticsEvents {
|
|
150
235
|
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
@@ -154,6 +239,16 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
154
239
|
};
|
|
155
240
|
}
|
|
156
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
|
+
}
|
|
157
252
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
158
253
|
class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
159
254
|
private constructor();
|
|
@@ -207,7 +302,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
207
302
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
208
303
|
interface Parent /* extends org.cru.godtools.shared.tool.parser.model.Base */ {
|
|
209
304
|
readonly _content: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
210
|
-
readonly content: Array<
|
|
305
|
+
readonly content: Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
211
306
|
readonly __doNotUseOrImplementIt: {
|
|
212
307
|
readonly "org.cru.godtools.shared.tool.parser.model.Parent": unique symbol;
|
|
213
308
|
};
|
|
@@ -221,7 +316,8 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
|
221
316
|
}
|
|
222
317
|
}
|
|
223
318
|
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
224
|
-
class
|
|
319
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
320
|
+
class Text extends org.cru.godtools.shared.tool.parser.model.Content {
|
|
225
321
|
private constructor();
|
|
226
322
|
get text(): Nullable<string>;
|
|
227
323
|
get textStyles(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */;
|
|
@@ -310,7 +406,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
310
406
|
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
311
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;
|
|
312
408
|
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
313
|
-
get content(): Array<
|
|
409
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
314
410
|
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
315
411
|
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
316
412
|
}
|
|
@@ -324,7 +420,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
324
420
|
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
325
421
|
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
326
422
|
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
327
|
-
get content(): Array<
|
|
423
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
328
424
|
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"];
|
|
329
425
|
}
|
|
330
426
|
}
|
|
@@ -337,7 +433,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
337
433
|
get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
|
|
338
434
|
get modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
|
|
339
435
|
get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
|
|
340
|
-
static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<string>, backgroundImageGravity?:
|
|
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;
|
|
341
437
|
findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
|
|
342
438
|
get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
343
439
|
get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
@@ -360,7 +456,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
|
360
456
|
get _content(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Content> */;
|
|
361
457
|
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
362
458
|
_getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
363
|
-
get content(): Array<
|
|
459
|
+
get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
|
|
364
460
|
getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
|
|
365
461
|
readonly __doNotUseOrImplementIt: org.cru.godtools.shared.tool.parser.model.Parent["__doNotUseOrImplementIt"] & org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents["__doNotUseOrImplementIt"];
|
|
366
462
|
}
|