@lionweb/delta-protocol-test-cli 0.0.1-alpha.0
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/README.md +51 -0
- package/dist/cli-client.d.ts +2 -0
- package/dist/cli-client.d.ts.map +1 -0
- package/dist/cli-client.js +76 -0
- package/dist/cli-client.js.map +1 -0
- package/dist/cli-repository.d.ts +2 -0
- package/dist/cli-repository.d.ts.map +1 -0
- package/dist/cli-repository.js +43 -0
- package/dist/cli-repository.js.map +1 -0
- package/dist/common.d.ts +7 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/common.js +43 -0
- package/dist/common.js.map +1 -0
- package/dist/gen/Shapes.g.d.ts +314 -0
- package/dist/gen/Shapes.g.d.ts.map +1 -0
- package/dist/gen/Shapes.g.js +914 -0
- package/dist/gen/Shapes.g.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/tasks.d.ts +6 -0
- package/dist/tasks.d.ts.map +1 -0
- package/dist/tasks.js +193 -0
- package/dist/tasks.js.map +1 -0
- package/package.json +38 -0
- package/src/cli-client.ts +96 -0
- package/src/cli-repository.ts +50 -0
- package/src/common.ts +48 -0
- package/src/gen/Shapes.g.ts +1086 -0
- package/src/index.ts +19 -0
- package/src/tasks.ts +218 -0
- package/tsconfig.json +7 -0
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# The `delta-protocol-test-cli` package
|
|
2
|
+
|
|
3
|
+
[
|
|
4
|
+
](./LICENSE)
|
|
5
|
+
|
|
6
|
+
An NPM package that can be added to a Node.js/NPM codebase as follows:
|
|
7
|
+
|
|
8
|
+
```shell
|
|
9
|
+
$ npm add @lionweb/delta-protocol-test-cli
|
|
10
|
+
```
|
|
11
|
+
It contains CLI programs for a client and repository that implement the delta protocol (using the `delta-protocol-impl` package), and that can be used for testing purposes.
|
|
12
|
+
|
|
13
|
+
## CLI Repository
|
|
14
|
+
|
|
15
|
+
After installing the package, the CLI client can be started (as a Node.js program) as follows:
|
|
16
|
+
|
|
17
|
+
```shell
|
|
18
|
+
$ npx cli-repository <port>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The one (required) argument is `<port>`: the number of the WebSocket port where the LionWeb delta protocol repository is going to run.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## CLI client
|
|
25
|
+
|
|
26
|
+
After installing the package, the CLI client can be started (as a Node.js program) as follows:
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
$ npx cli-client <port> <clientID> <partitionConcept> [tasks]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
The arguments are as follows:
|
|
33
|
+
|
|
34
|
+
- `<port>`: The port of the WebSocket where the LionWeb delta protocol repository is running on `localhost`.
|
|
35
|
+
- `<clientID>`: The ID that the client identifies itself with at the repository.
|
|
36
|
+
- `<participationConcept>`: The name of a partition concept that gets instantiated as the model's primary partition.
|
|
37
|
+
Run `npx cli-cient` with less 3 arguments to have the help text shown with the recognized names of partition concepts.
|
|
38
|
+
- `[tasks]` (optional — the rest of the arguments are required): a comma-separated list of tasks.
|
|
39
|
+
Run `npx cli-cient` with less 4 arguments to have the help text shown with the recognized task names.
|
|
40
|
+
|
|
41
|
+
***Note*** that it's assumed that the initial (states of the models) on client(s) and repository are identical!
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
Build it from source as follows:
|
|
47
|
+
|
|
48
|
+
```shell
|
|
49
|
+
npm run build
|
|
50
|
+
```
|
|
51
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-client.d.ts","sourceRoot":"","sources":["../src/cli-client.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Copyright 2025 TRUMPF Laser SE and other contributors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
17
|
+
import { argv, exit } from "process";
|
|
18
|
+
import { LionWebClient, wsLocalhostUrl } from "@lionweb/delta-protocol-impl";
|
|
19
|
+
import { runAsApp, tryParseInteger } from "./common.js";
|
|
20
|
+
import { recognizedTasks, taskExecutor } from "./tasks.js";
|
|
21
|
+
import { clientInfo, withStylesApplied } from "@lionweb/delta-protocol-impl/dist/utils/ansi.js";
|
|
22
|
+
import { combine } from "@lionweb/delta-protocol-impl/dist/utils/procedure.js";
|
|
23
|
+
import { ShapesBase } from "./gen/Shapes.g.js";
|
|
24
|
+
import { TestLanguageBase } from "@lionweb/class-core-test/dist/gen/TestLanguage.g.js";
|
|
25
|
+
import { semanticConsoleLogger, semanticLogItemStorer } from "@lionweb/delta-protocol-impl/dist/semantic-logging.js";
|
|
26
|
+
const shapesLanguageBase = ShapesBase.INSTANCE;
|
|
27
|
+
const testLanguageBase = TestLanguageBase.INSTANCE;
|
|
28
|
+
const languageBases = [shapesLanguageBase, testLanguageBase];
|
|
29
|
+
const boldRedIf = (apply, text) => apply ? withStylesApplied("bold", "red")(text) : text;
|
|
30
|
+
const partitionConcepts = Object.fromEntries([testLanguageBase.DataTypeTestConcept, shapesLanguageBase.Geometry, testLanguageBase.LinkTestConcept]
|
|
31
|
+
.map((concept) => [concept.name, concept]));
|
|
32
|
+
if (argv.length < 5) { // $ node dist/cli-client.js <port> <clientID> <partitionConcept> [tasks]
|
|
33
|
+
console.log(`A Node.js-based app that implements a LionWeb delta protocol client.
|
|
34
|
+
|
|
35
|
+
Parameters (${boldRedIf(true, "bold red")} are missing):
|
|
36
|
+
- ${boldRedIf(argv.length < 3, `<port>: the port of the WebSocket where the LionWeb delta protocol repository is running on localhost`)}
|
|
37
|
+
- ${boldRedIf(argv.length < 4, `<clientID>: the ID that the client identifies itself with at the repository`)}
|
|
38
|
+
- ${boldRedIf(argv.length < 5, `<partitionConcept>: the name of a partition concept that gets instantiated as the model's primary partition — one of: ${Object.keys(partitionConcepts).join(", ")}`)}
|
|
39
|
+
- ${boldRedIf(argv.length < 6, `[tasks]: a comma-separated list of tasks — one of ${Object.keys(recognizedTasks).sort().join(", ")}`)}
|
|
40
|
+
|
|
41
|
+
ASSUMPTION: the initial (states of the models) on client(s) and repository are identical!
|
|
42
|
+
`);
|
|
43
|
+
exit(2);
|
|
44
|
+
}
|
|
45
|
+
const port = tryParseInteger(argv[2]);
|
|
46
|
+
const clientId = argv[3];
|
|
47
|
+
const partitionConcept = argv[4];
|
|
48
|
+
if (!(partitionConcept in partitionConcepts)) {
|
|
49
|
+
console.log(boldRedIf(true, `unknown partition concept specified: ${partitionConcept} — must be one of: ${Object.keys(partitionConcepts).join(", ")}`));
|
|
50
|
+
exit(2);
|
|
51
|
+
}
|
|
52
|
+
const tasks = argv[5]?.split(",") ?? []; // unknown tasks will be ignored
|
|
53
|
+
console.log(clientInfo(`tasks provided: ${tasks.length === 0 ? "none" : tasks.join(", ")}`));
|
|
54
|
+
await runAsApp(async () => {
|
|
55
|
+
const url = wsLocalhostUrl(port);
|
|
56
|
+
const [storingLogger, semanticLogItems] = semanticLogItemStorer();
|
|
57
|
+
const lionWebClient = await LionWebClient.create({
|
|
58
|
+
clientId,
|
|
59
|
+
url,
|
|
60
|
+
languageBases,
|
|
61
|
+
semanticLogger: combine(semanticConsoleLogger, storingLogger)
|
|
62
|
+
});
|
|
63
|
+
console.log(clientInfo(`LionWeb delta protocol client (with ID=${clientId}) connecting to repository on ${url} - press Ctrl+C to terminate`));
|
|
64
|
+
const partition = lionWebClient.factory(partitionConcepts[partitionConcept], "a");
|
|
65
|
+
lionWebClient.setModel([partition]);
|
|
66
|
+
const executeTask = taskExecutor(lionWebClient, partition, semanticLogItems);
|
|
67
|
+
let querySequenceNumber = 0;
|
|
68
|
+
const queryId = () => `query-${++querySequenceNumber}`;
|
|
69
|
+
for (const task of tasks) {
|
|
70
|
+
await executeTask(task, queryId());
|
|
71
|
+
}
|
|
72
|
+
return () => {
|
|
73
|
+
return lionWebClient.disconnect();
|
|
74
|
+
};
|
|
75
|
+
});
|
|
76
|
+
//# sourceMappingURL=cli-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-client.js","sourceRoot":"","sources":["../src/cli-client.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC5E,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAA;AAC/F,OAAO,EAAE,OAAO,EAAE,MAAM,sDAAsD,CAAA;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CA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C,CAAA;IAEF,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,0CAA0C,QAAQ,iCAAiC,GAAG,8BAA8B,CAAC,CAAC,CAAA;IAE7I,MAAM,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,GAAG,CAAC,CAAA;IACjF,aAAa,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;IAEnC,MAAM,WAAW,GAAG,YAAY,CAAC,aAAa,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAA;IAE5E,IAAI,mBAAmB,GAAG,CAAC,CAAA;IAC3B,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,SAAS,EAAE,mBAAmB,EAAE,CAAA;IAEtD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACvB,MAAM,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAA;IACtC,CAAC;IAED,OAAO,GAAG,EAAE;QACR,OAAO,aAAa,CAAC,UAAU,EAAE,CAAA;IACrC,CAAC,CAAA;AACL,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-repository.d.ts","sourceRoot":"","sources":["../src/cli-repository.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Copyright 2025 TRUMPF Laser SE and other contributors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
17
|
+
import { LionWebRepository } from "@lionweb/delta-protocol-impl";
|
|
18
|
+
import { argv, exit } from "process";
|
|
19
|
+
import { runAsApp, tryParseInteger } from "./common.js";
|
|
20
|
+
import { semanticConsoleLogger } from "@lionweb/delta-protocol-impl/dist/semantic-logging.js";
|
|
21
|
+
import { repositoryInfo } from "@lionweb/delta-protocol-impl/dist/utils/ansi.js";
|
|
22
|
+
if (argv.length < 3) { // $ node dist/cli-repository.js <port>
|
|
23
|
+
console.log(`A Node.js-based app that “implements” a LionWeb delta protocol repository
|
|
24
|
+
that just turns any incoming command into the “obvious” event, without validation, etc.
|
|
25
|
+
|
|
26
|
+
Parameter (missing):
|
|
27
|
+
- <port>: the number of the WebSocket port where the LionWeb delta protocol repository is going to run
|
|
28
|
+
|
|
29
|
+
`);
|
|
30
|
+
exit(2);
|
|
31
|
+
}
|
|
32
|
+
const port = tryParseInteger(argv[2]);
|
|
33
|
+
await runAsApp(async () => {
|
|
34
|
+
const lionWebRepository = await LionWebRepository.setUp({
|
|
35
|
+
port,
|
|
36
|
+
semanticLogger: semanticConsoleLogger
|
|
37
|
+
});
|
|
38
|
+
console.log(repositoryInfo(`LionWeb delta protocol repository running on port ${port} - press Ctrl+C to terminate`));
|
|
39
|
+
return () => {
|
|
40
|
+
return lionWebRepository.shutdown();
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=cli-repository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-repository.js","sourceRoot":"","sources":["../src/cli-repository.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAA;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAA;AAEhF,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAE,uCAAuC;IAC3D,OAAO,CAAC,GAAG,CACP;;;;;;CAMP,CAAC,CAAA;IACE,IAAI,CAAC,CAAC,CAAC,CAAA;AACX,CAAC;AAED,MAAM,IAAI,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;AAErC,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;IACtB,MAAM,iBAAiB,GAAG,MAAM,iBAAiB,CAAC,KAAK,CAAC;QACpD,IAAI;QACJ,cAAc,EAAE,qBAAqB;KACxC,CAAC,CAAA;IAEF,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,qDAAqD,IAAI,8BAA8B,CAAC,CAAC,CAAA;IAEpH,OAAO,GAAG,EAAE;QACR,OAAO,iBAAiB,CAAC,QAAQ,EAAE,CAAA;IACvC,CAAC,CAAA;AACL,CAAC,CAAC,CAAA"}
|
package/dist/common.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs the given asynchronous thunk as an application.
|
|
3
|
+
* @param startReturningShutdown an asynchronous thunk that returns an asynchronous function that shuts down the app.
|
|
4
|
+
*/
|
|
5
|
+
export declare const runAsApp: (startReturningShutdown: () => Promise<() => Promise<void>>) => Promise<void>;
|
|
6
|
+
export declare const tryParseInteger: (str: string, origin?: string) => number | never;
|
|
7
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,eAAO,MAAM,QAAQ,2BAAkC,MAAM,QAAQ,MAAM,QAAQ,IAAI,CAAC,CAAC,kBAaxF,CAAA;AAED,eAAO,MAAM,eAAe,QAAS,MAAM,WAAW,MAAM,KAAG,MAAM,GAAG,KAOvE,CAAA"}
|
package/dist/common.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Copyright 2025 TRUMPF Laser SE and other contributors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License")
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-FileCopyrightText: 2025 TRUMPF Laser SE and other contributors
|
|
16
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
17
|
+
import { clearInterval } from "timers";
|
|
18
|
+
import { exit } from "process";
|
|
19
|
+
/**
|
|
20
|
+
* Runs the given asynchronous thunk as an application.
|
|
21
|
+
* @param startReturningShutdown an asynchronous thunk that returns an asynchronous function that shuts down the app.
|
|
22
|
+
*/
|
|
23
|
+
export const runAsApp = async (startReturningShutdown) => {
|
|
24
|
+
const intervalID = setInterval(() => { }, 1 << 25); // =9h19m14s432ms
|
|
25
|
+
const shutDownHandler = async () => {
|
|
26
|
+
clearInterval(intervalID);
|
|
27
|
+
await shutdown();
|
|
28
|
+
exit(0);
|
|
29
|
+
};
|
|
30
|
+
const shutdown = await startReturningShutdown();
|
|
31
|
+
process.on("SIGTERM", shutDownHandler);
|
|
32
|
+
process.on("SIGINT", shutDownHandler);
|
|
33
|
+
};
|
|
34
|
+
export const tryParseInteger = (str, origin) => {
|
|
35
|
+
try {
|
|
36
|
+
return Number.parseInt(str, 10);
|
|
37
|
+
}
|
|
38
|
+
catch (_) {
|
|
39
|
+
console.error(`${origin === undefined ? `` : `${origin} is `}not an integer: ${str}`);
|
|
40
|
+
exit(2);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,iEAAiE;AACjE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,sEAAsE;AACtE,sCAAsC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,EAAE,sBAA0D,EAAE,EAAE;IACzF,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE,GAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAA,CAAG,iBAAiB;IAErE,MAAM,eAAe,GAAG,KAAK,IAAI,EAAE;QAC/B,aAAa,CAAC,UAAU,CAAC,CAAA;QACzB,MAAM,QAAQ,EAAE,CAAA;QAChB,IAAI,CAAC,CAAC,CAAC,CAAA;IACX,CAAC,CAAA;IAED,MAAM,QAAQ,GAAG,MAAM,sBAAsB,EAAE,CAAA;IAE/C,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;IACtC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,GAAW,EAAE,MAAe,EAAkB,EAAE;IAC5E,IAAI,CAAC;QACD,OAAO,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;IACnC,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,OAAO,CAAC,KAAK,CAAC,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC,CAAA;QACrF,IAAI,CAAC,CAAC,CAAC,CAAA;IACX,CAAC;AACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { Annotation, Classifier, Concept, Containment, Enumeration, EnumerationLiteral, Interface, Language, PrimitiveType, Property, Reference, SingleRef } from "@lionweb/core";
|
|
2
|
+
import { LionWebId } from "@lionweb/json";
|
|
3
|
+
import { ContainmentValueManager, DeltaHandler, ILanguageBase, INamed, INodeBase, NodeBase, NodeBaseFactory, Parentage, PropertyValueManager, ReferenceValueManager } from "@lionweb/class-core";
|
|
4
|
+
export declare class ShapesBase implements ILanguageBase {
|
|
5
|
+
private readonly _language;
|
|
6
|
+
get language(): Language;
|
|
7
|
+
readonly _Circle: Concept;
|
|
8
|
+
get Circle(): Concept;
|
|
9
|
+
private readonly _Circle_r;
|
|
10
|
+
get Circle_r(): Property;
|
|
11
|
+
private readonly _Circle_center;
|
|
12
|
+
get Circle_center(): Containment;
|
|
13
|
+
readonly _Coord: Concept;
|
|
14
|
+
get Coord(): Concept;
|
|
15
|
+
private readonly _Coord_x;
|
|
16
|
+
get Coord_x(): Property;
|
|
17
|
+
private readonly _Coord_y;
|
|
18
|
+
get Coord_y(): Property;
|
|
19
|
+
private readonly _Coord_z;
|
|
20
|
+
get Coord_z(): Property;
|
|
21
|
+
readonly _Geometry: Concept;
|
|
22
|
+
get Geometry(): Concept;
|
|
23
|
+
private readonly _Geometry_shapes;
|
|
24
|
+
get Geometry_shapes(): Containment;
|
|
25
|
+
private readonly _Geometry_documentation;
|
|
26
|
+
get Geometry_documentation(): Containment;
|
|
27
|
+
readonly _IShape: Interface;
|
|
28
|
+
get IShape(): Interface;
|
|
29
|
+
private readonly _IShape_uuid;
|
|
30
|
+
get IShape_uuid(): Property;
|
|
31
|
+
private readonly _IShape_fixpoints;
|
|
32
|
+
get IShape_fixpoints(): Containment;
|
|
33
|
+
readonly _Line: Concept;
|
|
34
|
+
get Line(): Concept;
|
|
35
|
+
private readonly _Line_start;
|
|
36
|
+
get Line_start(): Containment;
|
|
37
|
+
private readonly _Line_end;
|
|
38
|
+
get Line_end(): Containment;
|
|
39
|
+
readonly _OffsetDuplicate: Concept;
|
|
40
|
+
get OffsetDuplicate(): Concept;
|
|
41
|
+
private readonly _OffsetDuplicate_offset;
|
|
42
|
+
get OffsetDuplicate_offset(): Containment;
|
|
43
|
+
private readonly _OffsetDuplicate_source;
|
|
44
|
+
get OffsetDuplicate_source(): Reference;
|
|
45
|
+
private readonly _OffsetDuplicate_altSource;
|
|
46
|
+
get OffsetDuplicate_altSource(): Reference;
|
|
47
|
+
private readonly _OffsetDuplicate_docs;
|
|
48
|
+
get OffsetDuplicate_docs(): Containment;
|
|
49
|
+
private readonly _OffsetDuplicate_secretDocs;
|
|
50
|
+
get OffsetDuplicate_secretDocs(): Containment;
|
|
51
|
+
readonly _Shape: Concept;
|
|
52
|
+
get Shape(): Concept;
|
|
53
|
+
private readonly _Shape_shapeDocs;
|
|
54
|
+
get Shape_shapeDocs(): Containment;
|
|
55
|
+
readonly _CompositeShape: Concept;
|
|
56
|
+
get CompositeShape(): Concept;
|
|
57
|
+
private readonly _CompositeShape_parts;
|
|
58
|
+
get CompositeShape_parts(): Containment;
|
|
59
|
+
private readonly _CompositeShape_disabledParts;
|
|
60
|
+
get CompositeShape_disabledParts(): Containment;
|
|
61
|
+
private readonly _CompositeShape_evilPart;
|
|
62
|
+
get CompositeShape_evilPart(): Containment;
|
|
63
|
+
readonly _ReferenceGeometry: Concept;
|
|
64
|
+
get ReferenceGeometry(): Concept;
|
|
65
|
+
private readonly _ReferenceGeometry_shapes;
|
|
66
|
+
get ReferenceGeometry_shapes(): Reference;
|
|
67
|
+
readonly _Documentation: Annotation;
|
|
68
|
+
get Documentation(): Annotation;
|
|
69
|
+
private readonly _Documentation_text;
|
|
70
|
+
get Documentation_text(): Property;
|
|
71
|
+
private readonly _Documentation_technical;
|
|
72
|
+
get Documentation_technical(): Property;
|
|
73
|
+
readonly _BillOfMaterials: Annotation;
|
|
74
|
+
get BillOfMaterials(): Annotation;
|
|
75
|
+
private readonly _BillOfMaterials_materials;
|
|
76
|
+
get BillOfMaterials_materials(): Reference;
|
|
77
|
+
private readonly _BillOfMaterials_groups;
|
|
78
|
+
get BillOfMaterials_groups(): Containment;
|
|
79
|
+
private readonly _BillOfMaterials_altGroups;
|
|
80
|
+
get BillOfMaterials_altGroups(): Containment;
|
|
81
|
+
private readonly _BillOfMaterials_defaultGroup;
|
|
82
|
+
get BillOfMaterials_defaultGroup(): Containment;
|
|
83
|
+
readonly _MaterialGroup: Concept;
|
|
84
|
+
get MaterialGroup(): Concept;
|
|
85
|
+
private readonly _MaterialGroup_matterState;
|
|
86
|
+
get MaterialGroup_matterState(): Property;
|
|
87
|
+
private readonly _MaterialGroup_materials;
|
|
88
|
+
get MaterialGroup_materials(): Reference;
|
|
89
|
+
private readonly _MaterialGroup_defaultShape;
|
|
90
|
+
get MaterialGroup_defaultShape(): Containment;
|
|
91
|
+
readonly _MatterState: Enumeration;
|
|
92
|
+
get MatterState(): Enumeration;
|
|
93
|
+
private readonly _MatterState_solid;
|
|
94
|
+
get MatterState_solid(): EnumerationLiteral;
|
|
95
|
+
private readonly _MatterState_liquid;
|
|
96
|
+
get MatterState_liquid(): EnumerationLiteral;
|
|
97
|
+
private readonly _MatterState_gas;
|
|
98
|
+
get MatterState_gas(): EnumerationLiteral;
|
|
99
|
+
readonly _Time: PrimitiveType;
|
|
100
|
+
get Time(): PrimitiveType;
|
|
101
|
+
private _wiredUp;
|
|
102
|
+
private ensureWiredUp;
|
|
103
|
+
factory(handleDelta?: DeltaHandler): NodeBaseFactory;
|
|
104
|
+
enumLiteralFrom<EnumType>(enumerationLiteral: EnumerationLiteral): EnumType;
|
|
105
|
+
static readonly INSTANCE: ShapesBase;
|
|
106
|
+
}
|
|
107
|
+
export declare abstract class Shape extends NodeBase implements INamed, IShape {
|
|
108
|
+
private readonly _shapeDocs;
|
|
109
|
+
get shapeDocs(): Documentation | undefined;
|
|
110
|
+
set shapeDocs(newValue: Documentation | undefined);
|
|
111
|
+
replaceShapeDocsWith(newValue: Documentation): void;
|
|
112
|
+
private readonly _name;
|
|
113
|
+
get name(): string;
|
|
114
|
+
set name(newValue: string);
|
|
115
|
+
private readonly _uuid;
|
|
116
|
+
get uuid(): string;
|
|
117
|
+
set uuid(newValue: string);
|
|
118
|
+
private readonly _fixpoints;
|
|
119
|
+
get fixpoints(): Coord[];
|
|
120
|
+
addFixpoints(newValue: Coord): void;
|
|
121
|
+
removeFixpoints(valueToRemove: Coord): void;
|
|
122
|
+
addFixpointsAtIndex(newValue: Coord, index: number): void;
|
|
123
|
+
moveFixpoints(oldIndex: number, newIndex: number): void;
|
|
124
|
+
replaceFixpointsAtIndex(movedChild: Coord, newIndex: number): void;
|
|
125
|
+
protected constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
126
|
+
getPropertyValueManager(property: Property): PropertyValueManager<unknown>;
|
|
127
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
128
|
+
}
|
|
129
|
+
export declare class Circle extends Shape {
|
|
130
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): Circle;
|
|
131
|
+
private readonly _r;
|
|
132
|
+
get r(): number;
|
|
133
|
+
set r(newValue: number);
|
|
134
|
+
private readonly _center;
|
|
135
|
+
get center(): Coord;
|
|
136
|
+
set center(newValue: Coord);
|
|
137
|
+
replaceCenterWith(newValue: Coord): void;
|
|
138
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
139
|
+
getPropertyValueManager(property: Property): PropertyValueManager<unknown>;
|
|
140
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
141
|
+
}
|
|
142
|
+
export declare class Coord extends NodeBase {
|
|
143
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): Coord;
|
|
144
|
+
private readonly _x;
|
|
145
|
+
get x(): number;
|
|
146
|
+
set x(newValue: number);
|
|
147
|
+
private readonly _y;
|
|
148
|
+
get y(): number;
|
|
149
|
+
set y(newValue: number);
|
|
150
|
+
private readonly _z;
|
|
151
|
+
get z(): number;
|
|
152
|
+
set z(newValue: number);
|
|
153
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
154
|
+
getPropertyValueManager(property: Property): PropertyValueManager<unknown>;
|
|
155
|
+
}
|
|
156
|
+
export declare class Geometry extends NodeBase {
|
|
157
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): Geometry;
|
|
158
|
+
private readonly _shapes;
|
|
159
|
+
get shapes(): IShape[];
|
|
160
|
+
addShapes(newValue: IShape): void;
|
|
161
|
+
removeShapes(valueToRemove: IShape): void;
|
|
162
|
+
addShapesAtIndex(newValue: IShape, index: number): void;
|
|
163
|
+
moveShapes(oldIndex: number, newIndex: number): void;
|
|
164
|
+
replaceShapesAtIndex(movedChild: IShape, newIndex: number): void;
|
|
165
|
+
private readonly _documentation;
|
|
166
|
+
get documentation(): Documentation | undefined;
|
|
167
|
+
set documentation(newValue: Documentation | undefined);
|
|
168
|
+
replaceDocumentationWith(newValue: Documentation): void;
|
|
169
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
170
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
171
|
+
}
|
|
172
|
+
export interface IShape extends INodeBase {
|
|
173
|
+
uuid: string;
|
|
174
|
+
fixpoints: Coord[];
|
|
175
|
+
}
|
|
176
|
+
export declare class Line extends Shape implements INamed {
|
|
177
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): Line;
|
|
178
|
+
private readonly _start;
|
|
179
|
+
get start(): Coord;
|
|
180
|
+
set start(newValue: Coord);
|
|
181
|
+
replaceStartWith(newValue: Coord): void;
|
|
182
|
+
private readonly _end;
|
|
183
|
+
get end(): Coord;
|
|
184
|
+
set end(newValue: Coord);
|
|
185
|
+
replaceEndWith(newValue: Coord): void;
|
|
186
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
187
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
188
|
+
}
|
|
189
|
+
export declare class OffsetDuplicate extends Shape {
|
|
190
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): OffsetDuplicate;
|
|
191
|
+
private readonly _offset;
|
|
192
|
+
get offset(): Coord;
|
|
193
|
+
set offset(newValue: Coord);
|
|
194
|
+
replaceOffsetWith(newValue: Coord): void;
|
|
195
|
+
private readonly _source;
|
|
196
|
+
get source(): SingleRef<Shape>;
|
|
197
|
+
set source(newValue: SingleRef<Shape>);
|
|
198
|
+
private readonly _altSource;
|
|
199
|
+
get altSource(): SingleRef<Shape> | undefined;
|
|
200
|
+
set altSource(newValue: SingleRef<Shape> | undefined);
|
|
201
|
+
private readonly _docs;
|
|
202
|
+
get docs(): Documentation | undefined;
|
|
203
|
+
set docs(newValue: Documentation | undefined);
|
|
204
|
+
replaceDocsWith(newValue: Documentation): void;
|
|
205
|
+
private readonly _secretDocs;
|
|
206
|
+
get secretDocs(): Documentation | undefined;
|
|
207
|
+
set secretDocs(newValue: Documentation | undefined);
|
|
208
|
+
replaceSecretDocsWith(newValue: Documentation): void;
|
|
209
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
210
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
211
|
+
getReferenceValueManager(reference: Reference): ReferenceValueManager<INodeBase>;
|
|
212
|
+
}
|
|
213
|
+
export declare class CompositeShape extends Shape {
|
|
214
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): CompositeShape;
|
|
215
|
+
private readonly _parts;
|
|
216
|
+
get parts(): IShape[];
|
|
217
|
+
addParts(newValue: IShape): void;
|
|
218
|
+
removeParts(valueToRemove: IShape): void;
|
|
219
|
+
addPartsAtIndex(newValue: IShape, index: number): void;
|
|
220
|
+
moveParts(oldIndex: number, newIndex: number): void;
|
|
221
|
+
replacePartsAtIndex(movedChild: IShape, newIndex: number): void;
|
|
222
|
+
private readonly _disabledParts;
|
|
223
|
+
get disabledParts(): IShape[];
|
|
224
|
+
addDisabledParts(newValue: IShape): void;
|
|
225
|
+
removeDisabledParts(valueToRemove: IShape): void;
|
|
226
|
+
addDisabledPartsAtIndex(newValue: IShape, index: number): void;
|
|
227
|
+
moveDisabledParts(oldIndex: number, newIndex: number): void;
|
|
228
|
+
replaceDisabledPartsAtIndex(movedChild: IShape, newIndex: number): void;
|
|
229
|
+
private readonly _evilPart;
|
|
230
|
+
get evilPart(): IShape;
|
|
231
|
+
set evilPart(newValue: IShape);
|
|
232
|
+
replaceEvilPartWith(newValue: IShape): void;
|
|
233
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
234
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
235
|
+
}
|
|
236
|
+
export declare class ReferenceGeometry extends NodeBase {
|
|
237
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): ReferenceGeometry;
|
|
238
|
+
private readonly _shapes;
|
|
239
|
+
get shapes(): SingleRef<IShape>[];
|
|
240
|
+
addShapes(newValue: IShape): void;
|
|
241
|
+
removeShapes(valueToRemove: IShape): void;
|
|
242
|
+
addShapesAtIndex(newValue: IShape, index: number): void;
|
|
243
|
+
moveShapes(oldIndex: number, newIndex: number): void;
|
|
244
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
245
|
+
getReferenceValueManager(reference: Reference): ReferenceValueManager<INodeBase>;
|
|
246
|
+
}
|
|
247
|
+
export declare class Documentation extends NodeBase {
|
|
248
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): Documentation;
|
|
249
|
+
private readonly _text;
|
|
250
|
+
get text(): string | undefined;
|
|
251
|
+
set text(newValue: string | undefined);
|
|
252
|
+
private readonly _technical;
|
|
253
|
+
get technical(): boolean | undefined;
|
|
254
|
+
set technical(newValue: boolean | undefined);
|
|
255
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
256
|
+
getPropertyValueManager(property: Property): PropertyValueManager<unknown>;
|
|
257
|
+
}
|
|
258
|
+
export declare class BillOfMaterials extends NodeBase {
|
|
259
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): BillOfMaterials;
|
|
260
|
+
private readonly _materials;
|
|
261
|
+
get materials(): SingleRef<IShape>[];
|
|
262
|
+
addMaterials(newValue: IShape): void;
|
|
263
|
+
removeMaterials(valueToRemove: IShape): void;
|
|
264
|
+
addMaterialsAtIndex(newValue: IShape, index: number): void;
|
|
265
|
+
moveMaterials(oldIndex: number, newIndex: number): void;
|
|
266
|
+
private readonly _groups;
|
|
267
|
+
get groups(): MaterialGroup[];
|
|
268
|
+
addGroups(newValue: MaterialGroup): void;
|
|
269
|
+
removeGroups(valueToRemove: MaterialGroup): void;
|
|
270
|
+
addGroupsAtIndex(newValue: MaterialGroup, index: number): void;
|
|
271
|
+
moveGroups(oldIndex: number, newIndex: number): void;
|
|
272
|
+
replaceGroupsAtIndex(movedChild: MaterialGroup, newIndex: number): void;
|
|
273
|
+
private readonly _altGroups;
|
|
274
|
+
get altGroups(): MaterialGroup[];
|
|
275
|
+
addAltGroups(newValue: MaterialGroup): void;
|
|
276
|
+
removeAltGroups(valueToRemove: MaterialGroup): void;
|
|
277
|
+
addAltGroupsAtIndex(newValue: MaterialGroup, index: number): void;
|
|
278
|
+
moveAltGroups(oldIndex: number, newIndex: number): void;
|
|
279
|
+
replaceAltGroupsAtIndex(movedChild: MaterialGroup, newIndex: number): void;
|
|
280
|
+
private readonly _defaultGroup;
|
|
281
|
+
get defaultGroup(): MaterialGroup | undefined;
|
|
282
|
+
set defaultGroup(newValue: MaterialGroup | undefined);
|
|
283
|
+
replaceDefaultGroupWith(newValue: MaterialGroup): void;
|
|
284
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
285
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
286
|
+
getReferenceValueManager(reference: Reference): ReferenceValueManager<INodeBase>;
|
|
287
|
+
}
|
|
288
|
+
export declare class MaterialGroup extends NodeBase {
|
|
289
|
+
static create(id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage): MaterialGroup;
|
|
290
|
+
private readonly _matterState;
|
|
291
|
+
get matterState(): MatterState | undefined;
|
|
292
|
+
set matterState(newValue: MatterState | undefined);
|
|
293
|
+
private readonly _materials;
|
|
294
|
+
get materials(): SingleRef<IShape>[];
|
|
295
|
+
addMaterials(newValue: IShape): void;
|
|
296
|
+
removeMaterials(valueToRemove: IShape): void;
|
|
297
|
+
addMaterialsAtIndex(newValue: IShape, index: number): void;
|
|
298
|
+
moveMaterials(oldIndex: number, newIndex: number): void;
|
|
299
|
+
private readonly _defaultShape;
|
|
300
|
+
get defaultShape(): IShape | undefined;
|
|
301
|
+
set defaultShape(newValue: IShape | undefined);
|
|
302
|
+
replaceDefaultShapeWith(newValue: IShape): void;
|
|
303
|
+
constructor(classifier: Classifier, id: LionWebId, handleDelta?: DeltaHandler, parentInfo?: Parentage);
|
|
304
|
+
getPropertyValueManager(property: Property): PropertyValueManager<unknown>;
|
|
305
|
+
getContainmentValueManager(containment: Containment): ContainmentValueManager<INodeBase>;
|
|
306
|
+
getReferenceValueManager(reference: Reference): ReferenceValueManager<INodeBase>;
|
|
307
|
+
}
|
|
308
|
+
export declare enum MatterState {
|
|
309
|
+
solid = "key-solid",
|
|
310
|
+
liquid = "key-liquid",
|
|
311
|
+
gas = "key-gas"
|
|
312
|
+
}
|
|
313
|
+
export type Time = string;
|
|
314
|
+
//# sourceMappingURL=Shapes.g.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shapes.g.d.ts","sourceRoot":"","sources":["../../src/gen/Shapes.g.ts"],"names":[],"mappings":"AA6BA,OAAO,EACH,UAAU,EACV,UAAU,EACV,OAAO,EACP,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,SAAS,EACT,SAAS,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,SAAS,EACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,uBAAuB,EACvB,YAAY,EACZ,aAAa,EACb,MAAM,EACN,SAAS,EAET,QAAQ,EACR,eAAe,EAMf,SAAS,EACT,oBAAoB,EACpB,qBAAqB,EAMxB,MAAM,qBAAqB,CAAC;AAG7B,qBAAa,UAAW,YAAW,aAAa;IAE5C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoE;IAC9F,IAAI,QAAQ,IAAI,QAAQ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