@cruglobal/godtools-shared 1.2.0-PR799-SNAPSHOT.1767 → 1.2.0-PR799-SNAPSHOT.1768

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.
@@ -219,6 +219,8 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
219
219
  get iconGravity(): org.cru.godtools.shared.tool.parser.model.Gravity.Horizontal;
220
220
  get iconSize(): number;
221
221
  get text(): org.cru.godtools.shared.tool.parser.model.Text;
222
+ get buttonColor(): string;
223
+ get backgroundColor(): string;
222
224
  isInvisible(state: org.cru.godtools.shared.tool.state.State): boolean;
223
225
  isInvisibleFlow(state: org.cru.godtools.shared.tool.state.State): any/* kotlinx.coroutines.flow.Flow<boolean> */;
224
226
  isGone(state: org.cru.godtools.shared.tool.state.State): boolean;
@@ -257,7 +259,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
257
259
  /* @ts-ignore: extends class with private primary constructor */
258
260
  class Card extends org.cru.godtools.shared.tool.parser.model.Content implements org.cru.godtools.shared.tool.parser.model.Parent, org.cru.godtools.shared.tool.parser.model.Clickable {
259
261
  private constructor();
260
- get backgroundColor(): string;
262
+ get backgroundColor(): any/* com.github.ajalt.colormath.Color */;
261
263
  get url(): Nullable<string>;
262
264
  isInvisible(state: org.cru.godtools.shared.tool.state.State): boolean;
263
265
  isInvisibleFlow(state: org.cru.godtools.shared.tool.state.State): any/* kotlinx.coroutines.flow.Flow<boolean> */;
@@ -563,7 +565,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
563
565
  get categories(): kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.Category */>;
564
566
  get shareables(): kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.shareable.Shareable */>;
565
567
  get relatedFiles(): kotlin.collections.KtSet<string>;
566
- 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?: any/* com.github.ajalt.colormath.Color */, primaryTextColor?: any/* com.github.ajalt.colormath.Color */, navBarColor?: Nullable<string>, navBarControlColor?: Nullable<string>, backgroundColor?: string, cardBackgroundColor?: Nullable<string>, categoryLabelColor?: Nullable<string>, pageControlColor?: string, multiselectOptionBackgroundColor?: Nullable<string>, multiselectOptionSelectedColor?: Nullable<string>, textColor?: any/* com.github.ajalt.colormath.Color */, textScale?: number, resources?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.Resource>>, shareables?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.shareable.Shareable */>>, tips?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.tips.Tip */>>, pages?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.page.Page>>, pageXmlFiles?: kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.Manifest.XmlFile>): org.cru.godtools.shared.tool.parser.model.Manifest;
568
+ 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?: any/* com.github.ajalt.colormath.Color */, primaryTextColor?: any/* com.github.ajalt.colormath.Color */, navBarColor?: Nullable<string>, navBarControlColor?: Nullable<string>, backgroundColor?: string, cardBackgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, categoryLabelColor?: Nullable<string>, pageControlColor?: string, multiselectOptionBackgroundColor?: Nullable<string>, multiselectOptionSelectedColor?: Nullable<string>, textColor?: any/* com.github.ajalt.colormath.Color */, textScale?: number, resources?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.Resource>>, shareables?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.shareable.Shareable */>>, tips?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.tips.Tip */>>, pages?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.Manifest) => kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.page.Page>>, pageXmlFiles?: kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.Manifest.XmlFile>): org.cru.godtools.shared.tool.parser.model.Manifest;
567
569
  get hasTips(): boolean;
568
570
  get dismissListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
569
571
  findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
@@ -991,7 +993,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
991
993
  get header(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header>;
992
994
  get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
993
995
  get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
994
- static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, backgroundImageGravity?: org.cru.godtools.shared.tool.parser.model.Gravity, backgroundImageScaleType?: any/* org.cru.godtools.shared.tool.parser.model.ImageScaleType */, textColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, textScale?: number, cardBackgroundColor?: Nullable<string>, cardTextColor?: Nullable<string>, cards?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.TractPage) => Nullable<kotlin.collections.KtList<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;
996
+ static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: string, backgroundImage?: Nullable<string>, primaryColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, backgroundImageGravity?: org.cru.godtools.shared.tool.parser.model.Gravity, backgroundImageScaleType?: any/* org.cru.godtools.shared.tool.parser.model.ImageScaleType */, textColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, textScale?: number, cardBackgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, cardTextColor?: Nullable<string>, cards?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.TractPage) => Nullable<kotlin.collections.KtList<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;
995
997
  findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
996
998
  get visibleCards(): kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card>;
997
999
  get cardTextColor(): string;
@@ -1011,7 +1013,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
1011
1013
  get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
1012
1014
  get label(): Nullable<org.cru.godtools.shared.tool.parser.model.Text>;
1013
1015
  get tips(): kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.tips.Tip */>;
1014
- static createTestCard(page?: org.cru.godtools.shared.tool.parser.model.tract.TractPage, position?: number, backgroundColor?: Nullable<string>, backgroundImage?: Nullable<string>, backgroundImageGravity?: org.cru.godtools.shared.tool.parser.model.Gravity, backgroundImageScaleType?: any/* org.cru.godtools.shared.tool.parser.model.ImageScaleType */, isHidden?: boolean, analyticsEvents?: kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>, label?: Nullable<(p0: any/* org.cru.godtools.shared.tool.parser.model.Base */) => Nullable<org.cru.godtools.shared.tool.parser.model.Text>>, content?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card) => Nullable<kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.Content>>>): org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card;
1016
+ static createTestCard(page?: org.cru.godtools.shared.tool.parser.model.tract.TractPage, position?: number, backgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, backgroundImage?: Nullable<string>, backgroundImageGravity?: org.cru.godtools.shared.tool.parser.model.Gravity, backgroundImageScaleType?: any/* org.cru.godtools.shared.tool.parser.model.ImageScaleType */, isHidden?: boolean, analyticsEvents?: kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>, label?: Nullable<(p0: any/* org.cru.godtools.shared.tool.parser.model.Base */) => Nullable<org.cru.godtools.shared.tool.parser.model.Text>>, content?: Nullable<(p0: org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card) => Nullable<kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.Content>>>): org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card;
1015
1017
  get dismissListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
1016
1018
  get listeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
1017
1019
  get content(): Array<org.cru.godtools.shared.tool.parser.model.Content>;
@@ -205,11 +205,6 @@
205
205
  initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
206
206
  initMetadataForCoroutine($sendCOROUTINE$3, CoroutineImpl);
207
207
  initMetadataForCoroutine($receiveCatchingCOROUTINE$5, CoroutineImpl);
208
- function close$default(cause, $super) {
209
- cause = cause === VOID ? null : cause;
210
- return $super === VOID ? this.j11(cause) : $super.j11.call(this, cause);
211
- }
212
- initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
213
208
  function cancel$default_0(cause, $super) {
214
209
  cause = cause === VOID ? null : cause;
215
210
  var tmp;
@@ -222,7 +217,12 @@
222
217
  return tmp;
223
218
  }
224
219
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
225
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
220
+ function close$default(cause, $super) {
221
+ cause = cause === VOID ? null : cause;
222
+ return $super === VOID ? this.j11(cause) : $super.j11.call(this, cause);
223
+ }
224
+ initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
225
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
226
226
  initMetadataForClass(WaiterEB, 'WaiterEB');
227
227
  initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
228
228
  initMetadataForObject(Factory, 'Factory');
@@ -232,7 +232,7 @@
232
232
  initMetadataForClass(ChannelResult, 'ChannelResult');
233
233
  initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
234
234
  initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
235
- initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, SendChannel, ReceiveChannel], [1, 0]);
235
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
236
236
  initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
237
237
  initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
238
238
  initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ChannelCoroutine, ProducerScope], [1, 0]);
@@ -295,11 +295,11 @@
295
295
  initMetadataForClass(Symbol, 'Symbol');
296
296
  initMetadataForInterface(SelectInstance, 'SelectInstance');
297
297
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
298
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
298
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
299
299
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
300
300
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, VOID, [1]);
301
301
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
302
- initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [KtList, Collection]);
302
+ initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [Collection, KtList]);
303
303
  initMetadataForClass(ScheduledMessageQueue, 'ScheduledMessageQueue', VOID, MessageQueue);
304
304
  initMetadataForClass(WindowMessageQueue, 'WindowMessageQueue', VOID, MessageQueue);
305
305
  initMetadataForClass(UnconfinedEventLoop, 'UnconfinedEventLoop', UnconfinedEventLoop, EventLoop);