@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1181 → 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.
@@ -136,6 +136,29 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
136
136
  get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
137
137
  }
138
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
+ }
139
162
  export declare namespace org.cru.godtools.shared.tool.parser.model {
140
163
  class EventId {
141
164
  private constructor();
@@ -150,6 +173,63 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
150
173
  };
151
174
  }
152
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
+ }
153
233
  export declare namespace org.cru.godtools.shared.tool.parser.model {
154
234
  interface HasAnalyticsEvents {
155
235
  _getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
@@ -159,6 +239,16 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
159
239
  };
160
240
  }
161
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
+ }
162
252
  export declare namespace org.cru.godtools.shared.tool.parser.model {
163
253
  class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
164
254
  private constructor();
@@ -343,7 +433,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
343
433
  get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
344
434
  get modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
345
435
  get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
346
- static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<string>, backgroundImageGravity?: any/* 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;
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;
347
437
  findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
348
438
  get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
349
439
  get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;