@cruglobal/godtools-shared 0.9.0-PR398-SNAPSHOT.1155 → 0.9.0-PR412-SNAPSHOT.1180

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.
@@ -54,14 +54,28 @@ 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 EventId {
59
+ private constructor();
60
+ get namespace(): Nullable<string>;
61
+ get name(): string;
62
+ resolve(state: org.cru.godtools.shared.tool.state.State): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.EventId> */;
63
+ equals(other: Nullable<any>): boolean;
64
+ hashCode(): number;
65
+ toString(): string;
66
+ static get Companion(): {
67
+ get FOLLOWUP(): org.cru.godtools.shared.tool.parser.model.EventId;
68
+ };
69
+ }
70
+ }
57
71
  export declare namespace org.cru.godtools.shared.tool.parser.model {
58
72
  class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
59
73
  private constructor();
60
74
  get code(): Nullable<string>;
61
- get locale(): Nullable<Intl.Locale>;
75
+ get locale(): Nullable<string>;
62
76
  get type(): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
63
77
  get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
64
- get backgroundImage(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Resource> */;
78
+ get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
65
79
  get title(): Nullable<string>;
66
80
  get aemImports(): any/* kotlin.collections.List<string> */;
67
81
  get categories(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Category> */;
@@ -69,7 +83,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
69
83
  set _pages(value: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */);
70
84
  get shareables(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */;
71
85
  get relatedFiles(): any/* kotlin.collections.Set<string> */;
72
- 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<Intl.Locale>, 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;
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<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;
73
87
  get hasTips(): boolean;
74
88
  findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
75
89
  get pages(): Array<org.cru.godtools.shared.tool.parser.model.page.Page>;
@@ -104,6 +118,66 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
104
118
  }
105
119
  }
106
120
  }
121
+ export declare namespace org.cru.godtools.shared.tool.parser.model {
122
+ class Resource /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
123
+ private constructor();
124
+ get name(): Nullable<string>;
125
+ get localName(): Nullable<string>;
126
+ }
127
+ }
128
+ export declare namespace org.cru.godtools.shared.tool.parser.model {
129
+ class Text /* extends org.cru.godtools.shared.tool.parser.model.Content */ {
130
+ private constructor();
131
+ get text(): Nullable<string>;
132
+ get textStyles(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.Text.Style> */;
133
+ get minimumLines(): number;
134
+ get startImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
135
+ get startImageSize(): number;
136
+ get endImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
137
+ get endImageSize(): number;
138
+ 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;
139
+ }
140
+ namespace Text {
141
+ abstract class Align {
142
+ private constructor();
143
+ static get START(): org.cru.godtools.shared.tool.parser.model.Text.Align & {
144
+ get name(): "START";
145
+ get ordinal(): 0;
146
+ };
147
+ static get CENTER(): org.cru.godtools.shared.tool.parser.model.Text.Align & {
148
+ get name(): "CENTER";
149
+ get ordinal(): 1;
150
+ };
151
+ static get END(): org.cru.godtools.shared.tool.parser.model.Text.Align & {
152
+ get name(): "END";
153
+ get ordinal(): 2;
154
+ };
155
+ static values(): Array<org.cru.godtools.shared.tool.parser.model.Text.Align>;
156
+ static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Text.Align;
157
+ get name(): "START" | "CENTER" | "END";
158
+ get ordinal(): 0 | 1 | 2;
159
+ }
160
+ abstract class Style {
161
+ private constructor();
162
+ static get BOLD(): org.cru.godtools.shared.tool.parser.model.Text.Style & {
163
+ get name(): "BOLD";
164
+ get ordinal(): 0;
165
+ };
166
+ static get ITALIC(): org.cru.godtools.shared.tool.parser.model.Text.Style & {
167
+ get name(): "ITALIC";
168
+ get ordinal(): 1;
169
+ };
170
+ static get UNDERLINE(): org.cru.godtools.shared.tool.parser.model.Text.Style & {
171
+ get name(): "UNDERLINE";
172
+ get ordinal(): 2;
173
+ };
174
+ static values(): Array<org.cru.godtools.shared.tool.parser.model.Text.Style>;
175
+ static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Text.Style;
176
+ get name(): "BOLD" | "ITALIC" | "UNDERLINE";
177
+ get ordinal(): 0 | 1 | 2;
178
+ }
179
+ }
180
+ }
107
181
  export declare namespace org.cru.godtools.shared.tool.parser.model.page {
108
182
  abstract class Page /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents */ {
109
183
  get id(): string;
@@ -112,7 +186,40 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.page {
112
186
  get isHidden(): boolean;
113
187
  get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
114
188
  get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
115
- get backgroundImage(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Resource> */;
189
+ get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
190
+ }
191
+ }
192
+ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
193
+ class CallToAction /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ {
194
+ private constructor();
195
+ get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
196
+ get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
197
+ 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;
198
+ }
199
+ }
200
+ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
201
+ class Header /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
202
+ private constructor();
203
+ get number(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
204
+ get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
205
+ get tip(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
206
+ }
207
+ }
208
+ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
209
+ 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 */ {
210
+ private constructor();
211
+ get heading(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
212
+ 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;
213
+ }
214
+ }
215
+ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
216
+ 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 */ {
217
+ private constructor();
218
+ get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
219
+ get id(): string;
220
+ get title(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
221
+ get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
222
+ get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
116
223
  }
117
224
  }
118
225
  export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
@@ -120,12 +227,12 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
120
227
  class TractPage extends org.cru.godtools.shared.tool.parser.model.page.Page {
121
228
  private constructor();
122
229
  get isLastPage(): boolean;
123
- get header(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header> */;
124
- get hero(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero> */;
230
+ get header(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header>;
231
+ get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
125
232
  get modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
126
- get callToAction(): any/* org.cru.godtools.shared.tool.parser.model.tract.CallToAction */;
127
- 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<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.CallToAction> */>): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
128
- findModal(id: Nullable<string>): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
233
+ 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?: 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;
235
+ findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
129
236
  get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
130
237
  get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
131
238
  get cardTextColor(): string;
@@ -141,9 +248,8 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
141
248
  get isHidden(): boolean;
142
249
  get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
143
250
  get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
144
- get analyticsEvents(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
145
- get backgroundImage(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Resource> */;
146
- get label(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Text> */;
251
+ get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
252
+ get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
147
253
  get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
148
254
  }
149
255
  }