@cruglobal/godtools-shared 1.2.0-PR799-SNAPSHOT.1777 → 1.2.0-PR810-SNAPSHOT.1769

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.
@@ -28,6 +28,21 @@ export declare namespace kotlin.collections {
28
28
  fromJsMap<K, V>(map: ReadonlyMap<K, V>): kotlin.collections.KtMap<K, V>;
29
29
  };
30
30
  }
31
+ export declare namespace org.cru.godtools.shared.tool.parser.model {
32
+ class EventId {
33
+ constructor(namespace: Nullable<string> | undefined, name: string);
34
+ get namespace(): Nullable<string>;
35
+ get name(): string;
36
+ resolve(state: org.cru.godtools.shared.tool.state.State): kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.EventId>;
37
+ equals(other: Nullable<any>): boolean;
38
+ hashCode(): number;
39
+ toString(): string;
40
+ static get Companion(): {
41
+ get NAMESPACE_STATE(): string;
42
+ get FOLLOWUP(): org.cru.godtools.shared.tool.parser.model.EventId;
43
+ };
44
+ }
45
+ }
31
46
  export declare namespace org.cru.godtools.shared.tool.state {
32
47
  class State /* implements org.cru.godtools.shared.tool.state.internal.Parcelable */ {
33
48
  private constructor();
@@ -321,20 +336,6 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
321
336
  }
322
337
  }
323
338
  }
324
- export declare namespace org.cru.godtools.shared.tool.parser.model {
325
- class EventId {
326
- constructor(namespace: Nullable<string> | undefined, name: string);
327
- get namespace(): Nullable<string>;
328
- get name(): string;
329
- resolve(state: org.cru.godtools.shared.tool.state.State): kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.EventId>;
330
- equals(other: Nullable<any>): boolean;
331
- hashCode(): number;
332
- toString(): string;
333
- static get Companion(): {
334
- get FOLLOWUP(): org.cru.godtools.shared.tool.parser.model.EventId;
335
- };
336
- }
337
- }
338
339
  export declare namespace org.cru.godtools.shared.tool.parser.model {
339
340
  /* @ts-ignore: extends class with private primary constructor */
340
341
  class Flow extends org.cru.godtools.shared.tool.parser.model.Content {
@@ -557,7 +558,6 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
557
558
  class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ implements org.cru.godtools.shared.tool.parser.model.HasPages/*, org.cru.godtools.shared.tool.parser.model.Styles */ {
558
559
  private constructor();
559
560
  get code(): Nullable<string>;
560
- get locale(): Nullable<string>;
561
561
  get type(): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
562
562
  get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
563
563
  get title(): Nullable<string>;
@@ -565,7 +565,7 @@ export declare namespace org.cru.godtools.shared.tool.parser.model {
565
565
  get categories(): kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.Category */>;
566
566
  get shareables(): kotlin.collections.KtList<any/* org.cru.godtools.shared.tool.parser.model.shareable.Shareable */>;
567
567
  get relatedFiles(): kotlin.collections.KtSet<string>;
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<any>/* Nullable<com.github.ajalt.colormath.Color> */, navBarControlColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, backgroundColor?: any/* com.github.ajalt.colormath.Color */, cardBackgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, categoryLabelColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, pageControlColor?: any/* com.github.ajalt.colormath.Color */, multiselectOptionBackgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, multiselectOptionSelectedColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, 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<any>/* Nullable<io.fluidsonic.locale.Locale> */, primaryColor?: any/* com.github.ajalt.colormath.Color */, primaryTextColor?: any/* com.github.ajalt.colormath.Color */, navBarColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, navBarControlColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, backgroundColor?: any/* com.github.ajalt.colormath.Color */, cardBackgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, categoryLabelColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, pageControlColor?: any/* com.github.ajalt.colormath.Color */, multiselectOptionBackgroundColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, multiselectOptionSelectedColor?: Nullable<any>/* Nullable<com.github.ajalt.colormath.Color> */, 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;
569
569
  get hasTips(): boolean;
570
570
  get dismissListeners(): Array<org.cru.godtools.shared.tool.parser.model.EventId>;
571
571
  findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
@@ -993,10 +993,9 @@ export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
993
993
  get header(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header>;
994
994
  get hero(): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero>;
995
995
  get callToAction(): org.cru.godtools.shared.tool.parser.model.tract.CallToAction;
996
- static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: any/* com.github.ajalt.colormath.Color */, 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;
996
+ static createTestTractPage(manifest?: org.cru.godtools.shared.tool.parser.model.Manifest, fileName?: Nullable<string>, backgroundColor?: any/* com.github.ajalt.colormath.Color */, 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<any>/* Nullable<com.github.ajalt.colormath.Color> */, 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;
997
997
  findModal(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
998
998
  get visibleCards(): kotlin.collections.KtList<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card>;
999
- get cardTextColor(): string;
1000
999
  get cards(): Array<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card>;
1001
1000
  get modals(): Array<org.cru.godtools.shared.tool.parser.model.tract.Modal>;
1002
1001
  getAnalyticsEvents(type: org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Trigger): Array<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent>;
@@ -1,27 +1,27 @@
1
1
  (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib.js', './kotlin-mpp-godtools-tool-parser-module-state.js', './kotlin-mpp-godtools-tool-parser-module-parser.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './kotlin-mpp-godtools-tool-parser-module-parser-base.js', './kotlin-mpp-godtools-tool-parser-module-parser.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlin-mpp-godtools-tool-parser-module-state.js'), require('./kotlin-mpp-godtools-tool-parser-module-parser.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlin-mpp-godtools-tool-parser-module-parser-base.js'), require('./kotlin-mpp-godtools-tool-parser-module-parser.js'));
6
6
  else {
7
7
  if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
8
  throw new Error("Error loading module 'org.cru.godtools.kotlin:npm'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'org.cru.godtools.kotlin:npm'.");
9
9
  }
10
- if (typeof globalThis['kotlin-mpp-godtools-tool-parser-module-state'] === 'undefined') {
11
- throw new Error("Error loading module 'org.cru.godtools.kotlin:npm'. Its dependency 'kotlin-mpp-godtools-tool-parser-module-state' was not found. Please, check whether 'kotlin-mpp-godtools-tool-parser-module-state' is loaded prior to 'org.cru.godtools.kotlin:npm'.");
10
+ if (typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'] === 'undefined') {
11
+ throw new Error("Error loading module 'org.cru.godtools.kotlin:npm'. Its dependency 'kotlin-mpp-godtools-tool-parser-module-parser-base' was not found. Please, check whether 'kotlin-mpp-godtools-tool-parser-module-parser-base' is loaded prior to 'org.cru.godtools.kotlin:npm'.");
12
12
  }
13
13
  if (typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser'] === 'undefined') {
14
14
  throw new Error("Error loading module 'org.cru.godtools.kotlin:npm'. Its dependency 'kotlin-mpp-godtools-tool-parser-module-parser' was not found. Please, check whether 'kotlin-mpp-godtools-tool-parser-module-parser' is loaded prior to 'org.cru.godtools.kotlin:npm'.");
15
15
  }
16
- globalThis['org.cru.godtools.kotlin:npm'] = factory(typeof globalThis['org.cru.godtools.kotlin:npm'] === 'undefined' ? {} : globalThis['org.cru.godtools.kotlin:npm'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlin-mpp-godtools-tool-parser-module-state'], globalThis['kotlin-mpp-godtools-tool-parser-module-parser']);
16
+ globalThis['org.cru.godtools.kotlin:npm'] = factory(typeof globalThis['org.cru.godtools.kotlin:npm'] === 'undefined' ? {} : globalThis['org.cru.godtools.kotlin:npm'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'], globalThis['kotlin-mpp-godtools-tool-parser-module-parser']);
17
17
  }
18
- }(function (_, kotlin_kotlin, kotlin_org_cru_godtools_kotlin_state, kotlin_org_cru_godtools_kotlin_parser) {
18
+ }(function (_, kotlin_kotlin, kotlin_org_cru_godtools_kotlin_parser_base, kotlin_org_cru_godtools_kotlin_parser) {
19
19
  'use strict';
20
20
  //region block: pre-declaration
21
21
  //endregion
22
22
  //region block: exports
23
23
  kotlin_kotlin.$jsExportAll$(_);
24
- kotlin_org_cru_godtools_kotlin_state.$jsExportAll$(_);
24
+ kotlin_org_cru_godtools_kotlin_parser_base.$jsExportAll$(_);
25
25
  kotlin_org_cru_godtools_kotlin_parser.$jsExportAll$(_);
26
26
  //endregion
27
27
  return _;
@@ -12,12 +12,12 @@
12
12
  }(function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
- var protoOf = kotlin_kotlin.$_$.w6;
16
- var defineProp = kotlin_kotlin.$_$.z5;
17
- var initMetadataForClass = kotlin_kotlin.$_$.h6;
18
- var initMetadataForObject = kotlin_kotlin.$_$.m6;
15
+ var protoOf = kotlin_kotlin.$_$.t6;
16
+ var defineProp = kotlin_kotlin.$_$.w5;
17
+ var initMetadataForClass = kotlin_kotlin.$_$.e6;
18
+ var initMetadataForObject = kotlin_kotlin.$_$.j6;
19
19
  var VOID = kotlin_kotlin.$_$.d;
20
- var toString = kotlin_kotlin.$_$.ca;
20
+ var toString = kotlin_kotlin.$_$.s9;
21
21
  //endregion
22
22
  //region block: pre-declaration
23
23
  initMetadataForClass(atomicfu$AtomicRefArray$ref, 'AtomicArray');
@@ -37,13 +37,13 @@
37
37
  tmp_1[tmp_0] = atomic$ref$1(null);
38
38
  tmp_0 = tmp_0 + 1 | 0;
39
39
  }
40
- tmp.zj_1 = tmp_1;
40
+ tmp.oj_1 = tmp_1;
41
41
  }
42
- protoOf(atomicfu$AtomicRefArray$ref).ak = function () {
43
- return this.zj_1.length;
42
+ protoOf(atomicfu$AtomicRefArray$ref).pj = function () {
43
+ return this.oj_1.length;
44
44
  };
45
45
  protoOf(atomicfu$AtomicRefArray$ref).atomicfu$get = function (index) {
46
- return this.zj_1[index];
46
+ return this.oj_1[index];
47
47
  };
48
48
  function atomicfu$AtomicRefArray$ofNulls(size) {
49
49
  return new atomicfu$AtomicRefArray$ref(size);
@@ -71,10 +71,10 @@
71
71
  function AtomicRef(value) {
72
72
  this.kotlinx$atomicfu$value = value;
73
73
  }
74
- protoOf(AtomicRef).bk = function (_set____db54di) {
74
+ protoOf(AtomicRef).qj = function (_set____db54di) {
75
75
  this.kotlinx$atomicfu$value = _set____db54di;
76
76
  };
77
- protoOf(AtomicRef).ck = function () {
77
+ protoOf(AtomicRef).rj = function () {
78
78
  return this.kotlinx$atomicfu$value;
79
79
  };
80
80
  protoOf(AtomicRef).atomicfu$compareAndSet = function (expect, update) {
@@ -97,10 +97,10 @@
97
97
  function AtomicBoolean(value) {
98
98
  this.kotlinx$atomicfu$value = value;
99
99
  }
100
- protoOf(AtomicBoolean).dk = function (_set____db54di) {
100
+ protoOf(AtomicBoolean).sj = function (_set____db54di) {
101
101
  this.kotlinx$atomicfu$value = _set____db54di;
102
102
  };
103
- protoOf(AtomicBoolean).ck = function () {
103
+ protoOf(AtomicBoolean).rj = function () {
104
104
  return this.kotlinx$atomicfu$value;
105
105
  };
106
106
  protoOf(AtomicBoolean).atomicfu$compareAndSet = function (expect, update) {
@@ -123,10 +123,10 @@
123
123
  function AtomicLong(value) {
124
124
  this.kotlinx$atomicfu$value = value;
125
125
  }
126
- protoOf(AtomicLong).ek = function (_set____db54di) {
126
+ protoOf(AtomicLong).tj = function (_set____db54di) {
127
127
  this.kotlinx$atomicfu$value = _set____db54di;
128
128
  };
129
- protoOf(AtomicLong).ck = function () {
129
+ protoOf(AtomicLong).rj = function () {
130
130
  return this.kotlinx$atomicfu$value;
131
131
  };
132
132
  protoOf(AtomicLong).atomicfu$compareAndSet = function (expect, update) {
@@ -142,29 +142,29 @@
142
142
  };
143
143
  protoOf(AtomicLong).atomicfu$getAndIncrement$long = function () {
144
144
  var _unary__edvuaz = this.kotlinx$atomicfu$value;
145
- this.kotlinx$atomicfu$value = _unary__edvuaz.x2();
145
+ this.kotlinx$atomicfu$value = _unary__edvuaz.i2();
146
146
  return _unary__edvuaz;
147
147
  };
148
148
  protoOf(AtomicLong).atomicfu$getAndDecrement$long = function () {
149
149
  var _unary__edvuaz = this.kotlinx$atomicfu$value;
150
- this.kotlinx$atomicfu$value = _unary__edvuaz.y2();
150
+ this.kotlinx$atomicfu$value = _unary__edvuaz.j2();
151
151
  return _unary__edvuaz;
152
152
  };
153
153
  protoOf(AtomicLong).atomicfu$getAndAdd$long = function (delta) {
154
154
  var oldValue = this.kotlinx$atomicfu$value;
155
- this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.s2(delta);
155
+ this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.d2(delta);
156
156
  return oldValue;
157
157
  };
158
158
  protoOf(AtomicLong).atomicfu$addAndGet$long = function (delta) {
159
- this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.s2(delta);
159
+ this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.d2(delta);
160
160
  return this.kotlinx$atomicfu$value;
161
161
  };
162
162
  protoOf(AtomicLong).atomicfu$incrementAndGet$long = function () {
163
- this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.x2();
163
+ this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.i2();
164
164
  return this.kotlinx$atomicfu$value;
165
165
  };
166
166
  protoOf(AtomicLong).atomicfu$decrementAndGet$long = function () {
167
- this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.y2();
167
+ this.kotlinx$atomicfu$value = this.kotlinx$atomicfu$value.j2();
168
168
  return this.kotlinx$atomicfu$value;
169
169
  };
170
170
  protoOf(AtomicLong).toString = function () {
@@ -176,10 +176,10 @@
176
176
  function AtomicInt(value) {
177
177
  this.kotlinx$atomicfu$value = value;
178
178
  }
179
- protoOf(AtomicInt).fk = function (_set____db54di) {
179
+ protoOf(AtomicInt).uj = function (_set____db54di) {
180
180
  this.kotlinx$atomicfu$value = _set____db54di;
181
181
  };
182
- protoOf(AtomicInt).ck = function () {
182
+ protoOf(AtomicInt).rj = function () {
183
183
  return this.kotlinx$atomicfu$value;
184
184
  };
185
185
  protoOf(AtomicInt).atomicfu$compareAndSet = function (expect, update) {
@@ -243,7 +243,7 @@
243
243
  return new AtomicInt(initial);
244
244
  }
245
245
  //region block: post-declaration
246
- defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).ak);
246
+ defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).pj);
247
247
  //endregion
248
248
  //region block: exports
249
249
  _.$_$ = _.$_$ || {};