@cruglobal/godtools-shared 0.8.3-SNAPSHOT.1138 → 0.9.0-PR407-SNAPSHOT.1161
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.
- package/88b0986a7186d029-atomicfu-js-ir.js +12 -12
- package/Napier-napier-js-ir.js +37 -37
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +2977 -2977
- package/colormath-root-colormath-js-ir.js +495 -495
- package/colormath-root-colormath-js-ir.js.map +1 -1
- package/fluid-locale-js-ir.js +150 -150
- package/kotlin-kotlin-stdlib-js-ir.js +312 -296
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +118 -3
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +314 -314
- package/kotlin-mpp-godtools-tool-parser-parser.js +2868 -1658
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +229 -229
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1814 -1814
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +2 -1
|
@@ -17,8 +17,8 @@ export declare namespace org.cru.godtools.shared.tool.parser {
|
|
|
17
17
|
}
|
|
18
18
|
namespace ParserResult {
|
|
19
19
|
class Data extends org.cru.godtools.shared.tool.parser.ParserResult {
|
|
20
|
-
constructor(manifest:
|
|
21
|
-
get manifest():
|
|
20
|
+
constructor(manifest: org.cru.godtools.shared.tool.parser.model.Manifest);
|
|
21
|
+
get manifest(): org.cru.godtools.shared.tool.parser.model.Manifest;
|
|
22
22
|
}
|
|
23
23
|
class ParserError extends org.cru.godtools.shared.tool.parser.ParserResult {
|
|
24
24
|
constructor(error?: Nullable<Error>);
|
|
@@ -38,7 +38,7 @@ export declare namespace org.cru.godtools.shared.tool.parser {
|
|
|
38
38
|
class ParserConfig {
|
|
39
39
|
private constructor();
|
|
40
40
|
static createParserConfig(): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
41
|
-
withSupportedFeatures(
|
|
41
|
+
withSupportedFeatures(feature: Array<string>): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
42
42
|
withParseRelated(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
43
43
|
withParsePages(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
44
44
|
withParseTips(enabled: boolean): org.cru.godtools.shared.tool.parser.ParserConfig;
|
|
@@ -54,6 +54,121 @@ 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
|
+
}
|
|
71
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model {
|
|
72
|
+
class Manifest /* extends org.cru.godtools.shared.tool.parser.model.BaseModel */ /* implements org.cru.godtools.shared.tool.parser.model.Styles */ {
|
|
73
|
+
private constructor();
|
|
74
|
+
get code(): Nullable<string>;
|
|
75
|
+
get locale(): Nullable<Intl.Locale>;
|
|
76
|
+
get type(): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
|
|
77
|
+
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
78
|
+
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
79
|
+
get title(): Nullable<string>;
|
|
80
|
+
get aemImports(): any/* kotlin.collections.List<string> */;
|
|
81
|
+
get categories(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.Category> */;
|
|
82
|
+
get _pages(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */;
|
|
83
|
+
set _pages(value: any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.page.Page> */);
|
|
84
|
+
get shareables(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.shareable.Shareable> */;
|
|
85
|
+
get relatedFiles(): any/* kotlin.collections.Set<string> */;
|
|
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<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;
|
|
87
|
+
get hasTips(): boolean;
|
|
88
|
+
findPage(id: Nullable<string>): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
89
|
+
get pages(): Array<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
90
|
+
}
|
|
91
|
+
namespace Manifest {
|
|
92
|
+
abstract class Type {
|
|
93
|
+
private constructor();
|
|
94
|
+
static get ARTICLE(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
|
|
95
|
+
get name(): "ARTICLE";
|
|
96
|
+
get ordinal(): 0;
|
|
97
|
+
};
|
|
98
|
+
static get CYOA(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
|
|
99
|
+
get name(): "CYOA";
|
|
100
|
+
get ordinal(): 1;
|
|
101
|
+
};
|
|
102
|
+
static get LESSON(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
|
|
103
|
+
get name(): "LESSON";
|
|
104
|
+
get ordinal(): 2;
|
|
105
|
+
};
|
|
106
|
+
static get TRACT(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
|
|
107
|
+
get name(): "TRACT";
|
|
108
|
+
get ordinal(): 3;
|
|
109
|
+
};
|
|
110
|
+
static get UNKNOWN(): org.cru.godtools.shared.tool.parser.model.Manifest.Type & {
|
|
111
|
+
get name(): "UNKNOWN";
|
|
112
|
+
get ordinal(): 4;
|
|
113
|
+
};
|
|
114
|
+
static values(): Array<org.cru.godtools.shared.tool.parser.model.Manifest.Type>;
|
|
115
|
+
static valueOf(value: string): org.cru.godtools.shared.tool.parser.model.Manifest.Type;
|
|
116
|
+
get name(): "ARTICLE" | "CYOA" | "LESSON" | "TRACT" | "UNKNOWN";
|
|
117
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
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.page {
|
|
129
|
+
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 */ {
|
|
130
|
+
get id(): string;
|
|
131
|
+
get position(): number;
|
|
132
|
+
get parentPage(): Nullable<org.cru.godtools.shared.tool.parser.model.page.Page>;
|
|
133
|
+
get isHidden(): boolean;
|
|
134
|
+
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
135
|
+
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
136
|
+
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
export declare namespace org.cru.godtools.shared.tool.parser.model.tract {
|
|
140
|
+
/* @ts-ignore: extends class with private primary constructor */
|
|
141
|
+
class TractPage extends org.cru.godtools.shared.tool.parser.model.page.Page {
|
|
142
|
+
private constructor();
|
|
143
|
+
get isLastPage(): boolean;
|
|
144
|
+
get header(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.Header> */;
|
|
145
|
+
get hero(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.Hero> */;
|
|
146
|
+
get modals(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
|
|
147
|
+
get callToAction(): any/* org.cru.godtools.shared.tool.parser.model.tract.CallToAction */;
|
|
148
|
+
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;
|
|
149
|
+
findModal(id: Nullable<string>): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.tract.Modal> */;
|
|
150
|
+
get cards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
151
|
+
get visibleCards(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tract.TractPage.Card> */;
|
|
152
|
+
get cardTextColor(): string;
|
|
153
|
+
}
|
|
154
|
+
namespace TractPage {
|
|
155
|
+
class Card /* 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.Parent, org.cru.godtools.shared.tool.parser.model.HasAnalyticsEvents */ {
|
|
156
|
+
private constructor();
|
|
157
|
+
get page(): org.cru.godtools.shared.tool.parser.model.tract.TractPage;
|
|
158
|
+
get id(): string;
|
|
159
|
+
get position(): number;
|
|
160
|
+
get visiblePosition(): Nullable<number>;
|
|
161
|
+
get isLastVisibleCard(): boolean;
|
|
162
|
+
get isHidden(): boolean;
|
|
163
|
+
get listeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
164
|
+
get dismissListeners(): any/* kotlin.collections.Set<org.cru.godtools.shared.tool.parser.model.EventId> */;
|
|
165
|
+
get analyticsEvents(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.AnalyticsEvent> */;
|
|
166
|
+
get backgroundImage(): Nullable<org.cru.godtools.shared.tool.parser.model.Resource>;
|
|
167
|
+
get label(): Nullable<any>/* Nullable<org.cru.godtools.shared.tool.parser.model.Text> */;
|
|
168
|
+
get tips(): any/* kotlin.collections.List<org.cru.godtools.shared.tool.parser.model.tips.Tip> */;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
57
172
|
export declare namespace org.cru.godtools.shared.tool.parser.xml {
|
|
58
173
|
abstract class XmlPullParserFactory {
|
|
59
174
|
constructor();
|